@dile/crud 2.5.4 → 2.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -219,6 +219,9 @@ export class DileCrudActions extends DileI18nMixin(LitElement) {
|
|
|
219
219
|
|
|
220
220
|
doErrorAction(e) {
|
|
221
221
|
this.loading = false;
|
|
222
|
+
if (this.confirmElement) {
|
|
223
|
+
this.confirmElement.resetProcessing();
|
|
224
|
+
}
|
|
222
225
|
this.responseAdapter.setResponse(e.detail);
|
|
223
226
|
this.selectedActionForm.showErrors(e.detail.errors);
|
|
224
227
|
this.dispatchEvent(new CustomEvent('crud-action-error', {
|
|
@@ -238,6 +241,9 @@ export class DileCrudActions extends DileI18nMixin(LitElement) {
|
|
|
238
241
|
|
|
239
242
|
cancelAction() {
|
|
240
243
|
this.loading = false;
|
|
244
|
+
if (this.confirmElement) {
|
|
245
|
+
this.confirmElement.resetProcessing();
|
|
246
|
+
}
|
|
241
247
|
this.selectedActionForm.clearErrors();
|
|
242
248
|
this.selectedActionForm.resetData();
|
|
243
249
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dile/crud",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.5",
|
|
4
4
|
"description": "Components to create a generic crud system based on Web Components and Lit",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
},
|
|
26
26
|
"homepage": "https://dile-components.com/",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@dile/ui": "^3.6.
|
|
28
|
+
"@dile/ui": "^3.6.6",
|
|
29
29
|
"axios": "^1.19.0",
|
|
30
30
|
"lit": "^2.7.0 || ^3.0.0"
|
|
31
31
|
},
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "3bc0a2459a5ced3e7105ce061f93f07a9c798759"
|
|
36
36
|
}
|