lkt-item-crud 1.2.6 → 1.3.0

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.js CHANGED
@@ -321,7 +321,7 @@ const Ae = { class: "lkt-item-crud" }, ze = {
321
321
  hasModifiedData: () => a.value.changed()
322
322
  });
323
323
  const me = v(() => a.value.changed() ? e.editedCloseConfirm : ""), be = (t) => {
324
- if (typeof e.beforeClose == "function")
324
+ if (console.log("crudBeforeClose: ", t), typeof e.beforeClose == "function")
325
325
  return e.beforeClose({
326
326
  ...t,
327
327
  itemCreated: te.value
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lkt-item-crud",
3
- "version": "1.2.6",
3
+ "version": "1.3.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "module": "./dist/build.js",
@@ -45,9 +45,10 @@
45
45
  "lkt-http-info": "^1.0.2",
46
46
  "lkt-i18n": "^1.0.4",
47
47
  "lkt-loader": "^1.0.2",
48
- "lkt-modal": "^1.1.1",
48
+ "lkt-modal": "^1.2.1",
49
49
  "lkt-string-tools": "^1.0.2",
50
50
  "lkt-ts-interfaces": "^1.0.2",
51
+ "lkt-vue-kernel": "^1.0.7",
51
52
  "path": "^0.12.7"
52
53
  }
53
54
  }
@@ -4,8 +4,8 @@
4
4
  import { DataState } from 'lkt-data-state';
5
5
  import { debug } from '../functions/debug';
6
6
  import { LktObject } from 'lkt-ts-interfaces';
7
- import { ModalCallbackConfig } from '../types/ModalCallbackConfig';
8
- import { runModalCallback } from '../functions/modalCallbacks';
7
+ import { ModalCallbackConfig } from 'lkt-vue-kernel';
8
+ import { runModalCallback } from 'lkt-modal';
9
9
  import { __ } from 'lkt-i18n';
10
10
  import { Settings } from '../settings/Settings';
11
11
  import ButtonNav from '../components/ButtonNav.vue';