lkt-item-crud 2.0.38 → 2.0.39
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.
- package/dist/build.d.ts +5 -5
- package/dist/build.js +404 -427
- package/dist/lib-components/LktItemCrud.vue.d.ts +18 -18
- package/package.json +1 -1
- package/src/lib-components/LktItemCrud.vue +0 -34
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ButtonConfig, FormUiConfig, ItemCrudButtonNavPosition, ItemCrudConfig, ItemCrudMode, ItemCrudView, LktObject, ModalConfig, ModificationView, NotificationType } from 'lkt-vue-kernel';
|
|
2
2
|
declare var __VLS_17: {
|
|
3
|
-
canUpdate:
|
|
4
|
-
canDrop:
|
|
5
|
-
perms:
|
|
3
|
+
canUpdate: any;
|
|
4
|
+
canDrop: any;
|
|
5
|
+
perms: any;
|
|
6
6
|
}, __VLS_19: {
|
|
7
|
-
canUpdate:
|
|
8
|
-
canDrop:
|
|
9
|
-
perms:
|
|
7
|
+
canUpdate: any;
|
|
8
|
+
canDrop: any;
|
|
9
|
+
perms: any;
|
|
10
10
|
}, __VLS_25: {
|
|
11
11
|
item: LktObject;
|
|
12
12
|
loading: boolean;
|
|
@@ -14,21 +14,21 @@ declare var __VLS_17: {
|
|
|
14
14
|
item: LktObject;
|
|
15
15
|
loading: boolean;
|
|
16
16
|
}, __VLS_40: {
|
|
17
|
-
canUpdate:
|
|
18
|
-
canDrop:
|
|
19
|
-
perms:
|
|
17
|
+
canUpdate: any;
|
|
18
|
+
canDrop: any;
|
|
19
|
+
perms: any;
|
|
20
20
|
}, __VLS_42: {
|
|
21
|
-
canUpdate:
|
|
22
|
-
canDrop:
|
|
23
|
-
perms:
|
|
21
|
+
canUpdate: any;
|
|
22
|
+
canDrop: any;
|
|
23
|
+
perms: any;
|
|
24
24
|
}, __VLS_55: {
|
|
25
|
-
canUpdate:
|
|
26
|
-
canDrop:
|
|
27
|
-
perms:
|
|
25
|
+
canUpdate: any;
|
|
26
|
+
canDrop: any;
|
|
27
|
+
perms: any;
|
|
28
28
|
}, __VLS_57: {
|
|
29
|
-
canUpdate:
|
|
30
|
-
canDrop:
|
|
31
|
-
perms:
|
|
29
|
+
canUpdate: any;
|
|
30
|
+
canDrop: any;
|
|
31
|
+
perms: any;
|
|
32
32
|
}, __VLS_74: string, __VLS_75: {}, __VLS_77: {
|
|
33
33
|
item: LktObject;
|
|
34
34
|
loading: false;
|
package/package.json
CHANGED
|
@@ -153,15 +153,6 @@
|
|
|
153
153
|
try {
|
|
154
154
|
const r: HTTPResponse = await httpCall(props.readResource, props.readData);
|
|
155
155
|
|
|
156
|
-
r.notifications?.forEach(notification => {
|
|
157
|
-
if (notification.category === 'toast'){
|
|
158
|
-
openToast(<ToastConfig>{
|
|
159
|
-
positionX: ToastPositionX.Right,
|
|
160
|
-
...notification.payload,
|
|
161
|
-
});
|
|
162
|
-
}
|
|
163
|
-
})
|
|
164
|
-
|
|
165
156
|
debug('fetchItem -> response', r);
|
|
166
157
|
isLoading.value = false;
|
|
167
158
|
httpStatus.value = r.httpStatus;
|
|
@@ -329,14 +320,6 @@
|
|
|
329
320
|
},
|
|
330
321
|
onCreate = ($event: PointerEvent, r: HTTPResponse) => {
|
|
331
322
|
debug('onCreate');
|
|
332
|
-
r.notifications?.forEach(notification => {
|
|
333
|
-
if (notification.category === 'toast'){
|
|
334
|
-
openToast(<ToastConfig>{
|
|
335
|
-
positionX: ToastPositionX.Right,
|
|
336
|
-
...notification.payload,
|
|
337
|
-
});
|
|
338
|
-
}
|
|
339
|
-
})
|
|
340
323
|
|
|
341
324
|
if (!ensureValidResourceSave(r, safeCreateButton.value.resource)) {
|
|
342
325
|
if (props.notificationType === NotificationType.Toast) {
|
|
@@ -370,15 +353,6 @@
|
|
|
370
353
|
onUpdate = ($event: PointerEvent, r: HTTPResponse) => {
|
|
371
354
|
debug('onUpdate');
|
|
372
355
|
|
|
373
|
-
r.notifications?.forEach(notification => {
|
|
374
|
-
if (notification.category === 'toast'){
|
|
375
|
-
openToast(<ToastConfig>{
|
|
376
|
-
positionX: ToastPositionX.Right,
|
|
377
|
-
...notification.payload,
|
|
378
|
-
});
|
|
379
|
-
}
|
|
380
|
-
})
|
|
381
|
-
|
|
382
356
|
if (!ensureValidResourceSave(r, safeUpdateButton.value.resource)) {
|
|
383
357
|
if (props.notificationType === NotificationType.Toast) {
|
|
384
358
|
openToast(<ToastConfig>{
|
|
@@ -408,14 +382,6 @@
|
|
|
408
382
|
},
|
|
409
383
|
onDrop = ($event: PointerEvent, r: HTTPResponse) => {
|
|
410
384
|
debug('onDrop');
|
|
411
|
-
r.notifications?.forEach(notification => {
|
|
412
|
-
if (notification.category === 'toast'){
|
|
413
|
-
openToast(<ToastConfig>{
|
|
414
|
-
positionX: ToastPositionX.Right,
|
|
415
|
-
...notification.payload,
|
|
416
|
-
});
|
|
417
|
-
}
|
|
418
|
-
})
|
|
419
385
|
|
|
420
386
|
if (!ensureValidResourceSave(r, safeDropButton.value.resource)) {
|
|
421
387
|
if (props.notificationType === NotificationType.Toast) {
|