lkt-item-crud 2.0.37 → 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.css CHANGED
@@ -1 +1 @@
1
- .lkt-item-crud{display:var(--lkt-item-crud--display);flex-direction:var(--lkt-item-crud--flex-direction);gap:var(--lkt-item-crud--gap);text-align:var(--lkt-item-crud--text-align)}.lkt-item-crud_content{display:var(--lkt-item-crud--content--display);flex-direction:var(--lkt-item-crud--content--flex-direction);gap:var(--lkt-item-crud--content--gap)}.lkt-item-crud-buttons{position:var(--lkt-item-crud--buttons--position);top:calc(-1 * var(--lkt-item-crud--gap));display:var(--lkt-item-crud--buttons--display);align-items:var(--lkt-item-crud--buttons--align-items);gap:var(--lkt-item-crud--buttons--gap);transition:var(--lkt-item-crud--buttons--transition);background:var(--lkt-item-crud--buttons--background);z-index:var(--lkt-item-crud--buttons--z-index)}.lkt-item-crud-buttons .lkt-item-crud--switch-mode-button,.lkt-item-crud-buttons .lkt-item-crud--modifications-button{margin-left:auto}.lkt-item-crud-buttons .lkt-item-crud--modifications-button+.lkt-item-crud--switch-mode-button{margin-left:initial}.lkt-item-crud-buttons>.lkt-item-crud-buttons{padding:0}
1
+ .lkt-item-crud{display:var(--lkt-item-crud--display);flex-direction:var(--lkt-item-crud--flex-direction);gap:var(--lkt-item-crud--gap);text-align:var(--lkt-item-crud--text-align)}.lkt-item-crud_content{display:var(--lkt-item-crud--content--display);flex-direction:var(--lkt-item-crud--content--flex-direction);gap:var(--lkt-item-crud--content--gap)}.lkt-item-crud-buttons{position:var(--lkt-item-crud--buttons--position);top:calc(-1 * var(--lkt-item-crud--gap));display:var(--lkt-item-crud--buttons--display);align-items:var(--lkt-item-crud--buttons--align-items);justify-content:var(--lkt-item-crud--buttons--justify-content);gap:var(--lkt-item-crud--buttons--gap);transition:var(--lkt-item-crud--buttons--transition);background:var(--lkt-item-crud--buttons--background);z-index:var(--lkt-item-crud--buttons--z-index)}.lkt-item-crud-buttons .lkt-item-crud--switch-mode-button,.lkt-item-crud-buttons .lkt-item-crud--modifications-button{margin-left:auto}.lkt-item-crud-buttons .lkt-item-crud--modifications-button+.lkt-item-crud--switch-mode-button{margin-left:initial}.lkt-item-crud-buttons>.lkt-item-crud-buttons{padding:0}
@@ -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: boolean | undefined;
4
- canDrop: boolean | undefined;
5
- perms: string[] | undefined;
3
+ canUpdate: any;
4
+ canDrop: any;
5
+ perms: any;
6
6
  }, __VLS_19: {
7
- canUpdate: boolean | undefined;
8
- canDrop: boolean | undefined;
9
- perms: string[] | undefined;
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: boolean | undefined;
18
- canDrop: boolean | undefined;
19
- perms: string[] | undefined;
17
+ canUpdate: any;
18
+ canDrop: any;
19
+ perms: any;
20
20
  }, __VLS_42: {
21
- canUpdate: boolean | undefined;
22
- canDrop: boolean | undefined;
23
- perms: string[] | undefined;
21
+ canUpdate: any;
22
+ canDrop: any;
23
+ perms: any;
24
24
  }, __VLS_55: {
25
- canUpdate: boolean | undefined;
26
- canDrop: boolean | undefined;
27
- perms: string[] | undefined;
25
+ canUpdate: any;
26
+ canDrop: any;
27
+ perms: any;
28
28
  }, __VLS_57: {
29
- canUpdate: boolean | undefined;
30
- canDrop: boolean | undefined;
31
- perms: string[] | undefined;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lkt-item-crud",
3
- "version": "2.0.37",
3
+ "version": "2.0.39",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "module": "./dist/build.js",
@@ -152,6 +152,7 @@
152
152
 
153
153
  try {
154
154
  const r: HTTPResponse = await httpCall(props.readResource, props.readData);
155
+
155
156
  debug('fetchItem -> response', r);
156
157
  isLoading.value = false;
157
158
  httpStatus.value = r.httpStatus;
@@ -319,6 +320,7 @@
319
320
  },
320
321
  onCreate = ($event: PointerEvent, r: HTTPResponse) => {
321
322
  debug('onCreate');
323
+
322
324
  if (!ensureValidResourceSave(r, safeCreateButton.value.resource)) {
323
325
  if (props.notificationType === NotificationType.Toast) {
324
326
  openToast(<ToastConfig>{
@@ -350,6 +352,7 @@
350
352
  },
351
353
  onUpdate = ($event: PointerEvent, r: HTTPResponse) => {
352
354
  debug('onUpdate');
355
+
353
356
  if (!ensureValidResourceSave(r, safeUpdateButton.value.resource)) {
354
357
  if (props.notificationType === NotificationType.Toast) {
355
358
  openToast(<ToastConfig>{
@@ -379,6 +382,7 @@
379
382
  },
380
383
  onDrop = ($event: PointerEvent, r: HTTPResponse) => {
381
384
  debug('onDrop');
385
+
382
386
  if (!ensureValidResourceSave(r, safeDropButton.value.resource)) {
383
387
  if (props.notificationType === NotificationType.Toast) {
384
388
  openToast(<ToastConfig>{