From 88f12a800c3a3bf8d0acbad1fbd0365da0862ad9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Tue, 1 May 2018 15:21:17 +0300 Subject: [PATCH] Add sweetalert and toastr dependency to aspnetcore.mvc.ui.theme.shared package. --- .../abp.resourcemapping.js | 8 ++++++- .../package.json | 4 +++- .../aspnetcore.mvc.ui.theme.shared/yarn.lock | 23 ++++++++++++++++++- 3 files changed, 32 insertions(+), 3 deletions(-) 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 a299b25be2..4e04d873d0 100644 --- a/npm/packs/aspnetcore.mvc.ui.theme.shared/abp.resourcemapping.js +++ b/npm/packs/aspnetcore.mvc.ui.theme.shared/abp.resourcemapping.js @@ -24,6 +24,12 @@ //Datatables "@node_modules/datatables.net/js/jquery.dataTables.js": "@libs/datatables.net/js/", "@node_modules/datatables.net-bs4/css/dataTables.bootstrap4.css": "@libs/datatables.net-bs4/css/", - "@node_modules/datatables.net-bs4/js/dataTables.bootstrap4.js": "@libs/datatables.net-bs4/js/" + "@node_modules/datatables.net-bs4/js/dataTables.bootstrap4.js": "@libs/datatables.net-bs4/js/", + + //Sweetalert + "@node_modules/sweetalert/dist/*.*": "@libs/sweetalert/", + + //Toastr + "@node_modules/toastr/build/*.*": "@libs/toastr/" } } \ No newline at end of file diff --git a/npm/packs/aspnetcore.mvc.ui.theme.shared/package.json b/npm/packs/aspnetcore.mvc.ui.theme.shared/package.json index bf8ed8a829..5a224be9a5 100644 --- a/npm/packs/aspnetcore.mvc.ui.theme.shared/package.json +++ b/npm/packs/aspnetcore.mvc.ui.theme.shared/package.json @@ -13,6 +13,8 @@ "font-awesome": "^4.7.0", "jquery-form": "^4.2.2", "jquery-validation": "^1.17.0", - "jquery-validation-unobtrusive": "^3.2.9" + "jquery-validation-unobtrusive": "^3.2.9", + "sweetalert": "^2.1.0", + "toastr": "^2.1.4" } } diff --git a/npm/packs/aspnetcore.mvc.ui.theme.shared/yarn.lock b/npm/packs/aspnetcore.mvc.ui.theme.shared/yarn.lock index 1a29abb1e5..9423a2d80e 100644 --- a/npm/packs/aspnetcore.mvc.ui.theme.shared/yarn.lock +++ b/npm/packs/aspnetcore.mvc.ui.theme.shared/yarn.lock @@ -19,6 +19,10 @@ datatables.net@1.10.16, datatables.net@^1.10.16: dependencies: jquery ">=1.7" +es6-object-assign@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/es6-object-assign/-/es6-object-assign-1.1.0.tgz#c2c3582656247c39ea107cb1e6652b6f9f24523c" + font-awesome@^4.7.0: version "4.7.0" resolved "https://registry.yarnpkg.com/font-awesome/-/font-awesome-4.7.0.tgz#8fa8cf0411a1a31afd07b06d2902bb9fc815a133" @@ -42,6 +46,23 @@ jquery-validation@>=1.16, jquery-validation@^1.17.0: dependencies: jquery "^1.7 || ^2.0 || ^3.1" -jquery@>=1.7, jquery@>=1.7.2, jquery@>=1.8, "jquery@^1.7 || ^2.0 || ^3.1": +jquery@>=1.12.0, jquery@>=1.7, jquery@>=1.7.2, jquery@>=1.8, "jquery@^1.7 || ^2.0 || ^3.1": version "3.3.1" resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.3.1.tgz#958ce29e81c9790f31be7792df5d4d95fc57fbca" + +promise-polyfill@^6.0.2: + version "6.1.0" + resolved "https://registry.yarnpkg.com/promise-polyfill/-/promise-polyfill-6.1.0.tgz#dfa96943ea9c121fca4de9b5868cb39d3472e057" + +sweetalert@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/sweetalert/-/sweetalert-2.1.0.tgz#d605dec840058fa8ad4a1f7c2c8c194bc72c27fa" + dependencies: + es6-object-assign "^1.1.0" + promise-polyfill "^6.0.2" + +toastr@^2.1.4: + version "2.1.4" + resolved "https://registry.yarnpkg.com/toastr/-/toastr-2.1.4.tgz#8b43be64fb9d0c414871446f2db8e8ca4e95f181" + dependencies: + jquery ">=1.12.0"