diff --git a/npm/packs/aspnetcore.mvc.ui.theme.shared/abp.resourcemapping.js b/npm/packs/aspnetcore.mvc.ui.theme.shared/abp.resourcemapping.js index fc0513f723..b65f3668d6 100644 --- a/npm/packs/aspnetcore.mvc.ui.theme.shared/abp.resourcemapping.js +++ b/npm/packs/aspnetcore.mvc.ui.theme.shared/abp.resourcemapping.js @@ -3,12 +3,10 @@ "../jquery/abp.resourcemapping.js", "../bootstrap/abp.resourcemapping.js", "../font-awesome/abp.resourcemapping.js", + "../jquery-form/abp.resourcemapping.js", "../datatables.net-bs4/abp.resourcemapping.js" ], mappings: { - //jQuery-Form - "@node_modules/jquery-form/dist/jquery.form.min.js": "@libs/jquery-form/", - //jQuery-Validation "@node_modules/jquery-validation/dist/jquery.validate.js": "@libs/jquery-validation/", "@node_modules/jquery-validation/dist/localization/*.*": "@libs/jquery-validation/localization/", diff --git a/npm/packs/aspnetcore.mvc.ui.theme.shared/package.json b/npm/packs/aspnetcore.mvc.ui.theme.shared/package.json index d0567fec5d..11eed63327 100644 --- a/npm/packs/aspnetcore.mvc.ui.theme.shared/package.json +++ b/npm/packs/aspnetcore.mvc.ui.theme.shared/package.json @@ -10,7 +10,7 @@ "@abp/bootstrap": "^0.2.3", "@abp/datatables.net-bs4": "^0.2.3", "@abp/font-awesome": "^0.2.3", - "jquery-form": "^4.2.2", + "@abp/jquery-form": "^0.2.3", "jquery-validation-unobtrusive": "^3.2.9", "sweetalert": "^2.1.0", "toastr": "^2.1.4" diff --git a/npm/packs/jquery-form/abp.resourcemapping.js b/npm/packs/jquery-form/abp.resourcemapping.js new file mode 100644 index 0000000000..85e0508cdf --- /dev/null +++ b/npm/packs/jquery-form/abp.resourcemapping.js @@ -0,0 +1,9 @@ +module.exports = { + imports: [ + "../jquery/abp.resourcemapping.js" + ], + mappings: { + //jQuery-Form + "@node_modules/jquery-form/dist/jquery.form.min.js": "@libs/jquery-form/" + } +} \ No newline at end of file diff --git a/npm/packs/jquery-form/package.json b/npm/packs/jquery-form/package.json new file mode 100644 index 0000000000..8280cff2b7 --- /dev/null +++ b/npm/packs/jquery-form/package.json @@ -0,0 +1,11 @@ +{ + "version": "0.2.3", + "name": "@abp/jquery-form", + "publishConfig": { + "access": "public" + }, + "dependencies": { + "@abp/jquery": "^0.2.3", + "jquery-form": "^4.2.2" + } +}