Skip to content

Commit 7d262a6

Browse files
authored
Merge pull request #26010 from abpframework/maliming/datepicker-cleanup
Vendor patched copies of bootstrap-datepicker and daterangepicker files
2 parents 296ff53 + 9416a0d commit 7d262a6

8 files changed

Lines changed: 2465 additions & 6 deletions

File tree

framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/BootstrapDatepicker/BootstrapDatepickerScriptContributor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class BootstrapDatepickerScriptContributor : BundleContributor
1414

1515
public override void ConfigureBundle(BundleConfigurationContext context)
1616
{
17-
context.Files.AddIfNotContains("/libs/bootstrap-datepicker/bootstrap-datepicker.min.js");
17+
context.Files.AddIfNotContains("/libs/bootstrap-datepicker/bootstrap-datepicker.js");
1818
}
1919

2020
public override void ConfigureDynamicResources(BundleConfigurationContext context)

npm/packs/bootstrap-datepicker/abp.resourcemapping.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = {
22
mappings: {
3-
"@node_modules/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js": "@libs/bootstrap-datepicker/",
3+
"@node_modules/@abp/bootstrap-datepicker/src/bootstrap-datepicker.js": "@libs/bootstrap-datepicker/",
44
"@node_modules/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css": "@libs/bootstrap-datepicker/",
55
"@node_modules/bootstrap-datepicker/dist/css/bootstrap-datepicker.css.map": "@libs/bootstrap-datepicker/",
66
"@node_modules/bootstrap-datepicker/dist/locales/*.*": "@libs/bootstrap-datepicker/locales/"

npm/packs/bootstrap-datepicker/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"access": "public"
1111
},
1212
"dependencies": {
13-
"bootstrap-datepicker": "^1.10.1"
13+
"bootstrap-datepicker": "1.10.1"
1414
},
1515
"gitHead": "bb4ea17d5996f01889134c138d00b6c8f858a431",
1616
"homepage": "https://abp.io",

0 commit comments

Comments
 (0)