Browse Source

Rename sweetalert to sweetalert2

pull/9607/head
liangshiwei 5 years ago
parent
commit
18c2f6cb0c
  1. 4
      framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/SweetAlert2/Sweetalert2ScriptContributor.cs
  2. 8
      framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/Bundling/SharedThemeGlobalScriptContributor.cs
  3. 0
      framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/sweetalert2/abp-sweetalert2.js
  4. 2
      npm/packs/aspnetcore.mvc.ui.theme.shared/package.json
  5. 0
      npm/packs/sweetalert2/abp.resourcemapping.js
  6. 2
      npm/packs/sweetalert2/package.json

4
framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/SweetAlert/SweetalertScriptContributor.cs → framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/SweetAlert2/Sweetalert2ScriptContributor.cs

@ -3,10 +3,10 @@ using Volo.Abp.AspNetCore.Mvc.UI.Bundling;
using Volo.Abp.AspNetCore.Mvc.UI.Packages.Core;
using Volo.Abp.Modularity;
namespace Volo.Abp.AspNetCore.Mvc.UI.Packages.SweetAlert
namespace Volo.Abp.AspNetCore.Mvc.UI.Packages.SweetAlert2
{
[DependsOn(typeof(CoreScriptContributor))]
public class SweetalertScriptContributor : BundleContributor
public class Sweetalert2ScriptContributor : BundleContributor
{
public override void ConfigureBundle(BundleConfigurationContext context)
{

8
framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/Bundling/SharedThemeGlobalScriptContributor.cs

@ -9,7 +9,7 @@ using Volo.Abp.AspNetCore.Mvc.UI.Packages.Lodash;
using Volo.Abp.AspNetCore.Mvc.UI.Packages.Luxon;
using Volo.Abp.AspNetCore.Mvc.UI.Packages.MalihuCustomScrollbar;
using Volo.Abp.AspNetCore.Mvc.UI.Packages.Select2;
using Volo.Abp.AspNetCore.Mvc.UI.Packages.SweetAlert;
using Volo.Abp.AspNetCore.Mvc.UI.Packages.SweetAlert2;
using Volo.Abp.AspNetCore.Mvc.UI.Packages.Timeago;
using Volo.Abp.AspNetCore.Mvc.UI.Packages.Toastr;
using Volo.Abp.Modularity;
@ -24,7 +24,7 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.Bundling
typeof(JQueryFormScriptContributor),
typeof(Select2ScriptContributor),
typeof(DatatablesNetBs4ScriptContributor),
typeof(SweetalertScriptContributor),
typeof(Sweetalert2ScriptContributor),
typeof(ToastrScriptBundleContributor),
typeof(MalihuCustomScrollbarPluginScriptBundleContributor),
typeof(LuxonScriptContributor),
@ -44,9 +44,9 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.Bundling
"/libs/abp/aspnetcore-mvc-ui-theme-shared/bootstrap/dom-event-handlers.js",
"/libs/abp/aspnetcore-mvc-ui-theme-shared/bootstrap/modal-manager.js",
"/libs/abp/aspnetcore-mvc-ui-theme-shared/datatables/datatables-extensions.js",
"/libs/abp/aspnetcore-mvc-ui-theme-shared/sweetalert/abp-sweetalert.js",
"/libs/abp/aspnetcore-mvc-ui-theme-shared/sweetalert2/abp-sweetalert2.js",
"/libs/abp/aspnetcore-mvc-ui-theme-shared/toastr/abp-toastr.js"
});
}
}
}
}

0
framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/sweetalert/abp-sweetalert.js → framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/sweetalert2/abp-sweetalert2.js

2
npm/packs/aspnetcore.mvc.ui.theme.shared/package.json

@ -16,7 +16,7 @@
"@abp/luxon": "~4.4.0-rc.2",
"@abp/malihu-custom-scrollbar-plugin": "~4.4.0-rc.2",
"@abp/select2": "~4.4.0-rc.2",
"@abp/sweetalert": "~4.4.0-rc.2",
"@abp/sweetalert2": "~4.4.0-rc.2",
"@abp/timeago": "~4.4.0-rc.2",
"@abp/toastr": "~4.4.0-rc.2"
},

0
npm/packs/sweetalert/abp.resourcemapping.js → npm/packs/sweetalert2/abp.resourcemapping.js

2
npm/packs/sweetalert/package.json → npm/packs/sweetalert2/package.json

@ -1,6 +1,6 @@
{
"version": "4.4.0-rc.2",
"name": "@abp/sweetalert",
"name": "@abp/sweetalert2",
"publishConfig": {
"access": "public"
},
Loading…
Cancel
Save