Skip to content

Commit 2b96067

Browse files
authored
Merge pull request #26002 from abpframework/maliming/remove-jquery-form-toastr-packs
Remove orphan jquery-form and toastr npm packages
2 parents d88e104 + 0ed69b5 commit 2b96067

10 files changed

Lines changed: 6 additions & 364 deletions

File tree

docs/en/framework/ui/mvc-razor-pages/bundling-minification.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The simplest way of creating a bundle is to use `abp-script-bundle` or `abp-styl
3535
<abp-style-bundle name="MyGlobalBundle">
3636
<abp-style src="/libs/bootstrap/css/bootstrap.css" />
3737
<abp-style src="/libs/font-awesome/css/font-awesome.css" />
38-
<abp-style src="/libs/toastr/toastr.css" />
38+
<abp-style src="/libs/datatables.net-bs5/css/dataTables.bootstrap5.css" />
3939
<abp-style src="/styles/my-global-style.css" />
4040
</abp-style-bundle>
4141
````
@@ -65,7 +65,7 @@ The `name` is **optional** for the razor bundle tag helpers. If you don't define
6565
<abp-style-bundle>
6666
<abp-style src="/libs/bootstrap/css/bootstrap.css" />
6767
<abp-style src="/libs/font-awesome/css/font-awesome.css" />
68-
<abp-style src="/libs/toastr/toastr.css" />
68+
<abp-style src="/libs/datatables.net-bs5/css/dataTables.bootstrap5.css" />
6969
@if (ViewBag.IncludeCustomStyles != false)
7070
{
7171
<abp-style src="/styles/my-global-style.css" />
@@ -115,7 +115,7 @@ public class MyWebModule : AbpModule
115115
bundle.AddFiles(
116116
"/libs/jquery/jquery.js",
117117
"/libs/bootstrap/js/bootstrap.js",
118-
"/libs/toastr/toastr.min.js",
118+
"/libs/lodash/lodash.min.js",
119119
"/scripts/my-global-scripts.js"
120120
);
121121
});
@@ -220,7 +220,7 @@ Contributors can also be used in the bundle tag helpers. Example:
220220
<abp-style-bundle>
221221
<abp-style type="@typeof(BootstrapStyleContributor)" />
222222
<abp-style src="/libs/font-awesome/css/font-awesome.css" />
223-
<abp-style src="/libs/toastr/toastr.css" />
223+
<abp-style src="/libs/datatables.net-bs5/css/dataTables.bootstrap5.css" />
224224
</abp-style-bundle>
225225
````
226226

docs/en/framework/ui/mvc-razor-pages/overall.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,8 @@ There are a set of standard JavaScript/CSS libraries that comes pre-installed an
5757
- [JQuery Validation](https://jqueryvalidation.org/) for client side & [unobtrusive](https://github.com/aspnet/jquery-validation-unobtrusive) validation
5858
- [FontAwesome](https://fontawesome.com/) as the fundamental CSS font library.
5959
- [SweetAlert](https://sweetalert.js.org/) to show fancy alert message and confirmation dialogs.
60-
- [Toastr](https://github.com/CodeSeven/toastr) to show toast notifications.
6160
- [Lodash](https://lodash.com/) as a utility library.
6261
- [Luxon](https://moment.github.io/luxon/) for date/time operations.
63-
- [JQuery Form](https://github.com/jquery-form/form) for AJAX forms.
6462
- [bootstrap-datepicker](https://github.com/uxsolutions/bootstrap-datepicker) to show date pickers.
6563
- [Select2](https://select2.org/) for better select/combo boxes.
6664
- [timeago.js](https://timeago.org/) to show automatically updating fuzzy timestamps.
@@ -139,7 +137,7 @@ ABP provides a flexible and modular Bundling & Minification system to create bun
139137
<abp-style-bundle>
140138
<abp-style src="/libs/bootstrap/css/bootstrap.css" />
141139
<abp-style src="/libs/font-awesome/css/font-awesome.css" />
142-
<abp-style src="/libs/toastr/toastr.css" />
140+
<abp-style src="/libs/datatables.net-bs5/css/dataTables.bootstrap5.css" />
143141
<abp-style src="/styles/my-global-style.css" />
144142
</abp-style-bundle>
145143
```

docs/en/framework/ui/mvc-razor-pages/theming.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,8 @@ All the themes must depend on the [@abp/aspnetcore.mvc.ui.theme.shared](https://
4444
* [JQuery Validation](https://github.com/jquery-validation/jquery-validation) for client side & [unobtrusive](https://github.com/aspnet/jquery-validation-unobtrusive) validation
4545
* [FontAwesome](https://fontawesome.com/) as the fundamental CSS font library.
4646
* [SweetAlert](https://sweetalert.js.org/) to show fancy alert message and confirmation dialogs.
47-
* [Toastr](https://github.com/CodeSeven/toastr) to show toast notifications.
4847
* [Lodash](https://lodash.com/) as a utility library.
4948
* [Luxon](https://moment.github.io/luxon/) for date/time operations.
50-
* [JQuery Form](https://github.com/jquery-form/form) for AJAX forms.
5149
* [bootstrap-datepicker](https://github.com/uxsolutions/bootstrap-datepicker) to show date pickers.
5250
* [Select2](https://select2.org/) for better select/combo boxes.
5351
* [timeago.js](https://timeago.org/) to show automatically updating fuzzy timestamps.
@@ -59,7 +57,7 @@ These libraries are selected as the base libraries and available to the applicat
5957
There are some abstractions in the ABP to make your code independent from some of these libraries too. Examples;
6058

6159
* [Tag Helpers](tag-helpers) makes it easy to generate the Bootstrap UIs.
62-
* JavaScript [Message](javascript-api/message.md) and [Notification](javascript-api/notify.md) APIs provides abstractions to use the Sweetalert and Toastr.
60+
* JavaScript [Message](javascript-api/message.md) and [Notification](javascript-api/notify.md) APIs provides abstractions to use the Sweetalert and the built-in toast implementation.
6361
* [Forms & Validation](forms-validation.md) system automatically handles the validation, so you mostly don't directly type any validation code.
6462

6563
### The Standard Layouts

npm/packs/jquery-form/README.md

Lines changed: 0 additions & 129 deletions
This file was deleted.

npm/packs/jquery-form/abp.resourcemapping.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

npm/packs/jquery-form/package.json

Lines changed: 0 additions & 32 deletions
This file was deleted.

npm/packs/jquery-form/src/jquery.form.min.js

Lines changed: 0 additions & 22 deletions
This file was deleted.

npm/packs/toastr/README.md

Lines changed: 0 additions & 129 deletions
This file was deleted.

npm/packs/toastr/abp.resourcemapping.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)