@das-fed/ui 6.4.0-dev.66 → 6.4.0-dev.67
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@das-fed/ui",
|
|
3
|
-
"version": "6.4.0-dev.
|
|
3
|
+
"version": "6.4.0-dev.67",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@antv/x6-plugin-snapline": "^2.1.7",
|
|
27
27
|
"@antv/x6-plugin-transform": "^2.1.8",
|
|
28
28
|
"@antv/x6-vue-shape": "^2.1.2",
|
|
29
|
-
"@das-fed/cli": "6.4.0-dev.
|
|
29
|
+
"@das-fed/cli": "6.4.0-dev.67",
|
|
30
30
|
"@element-plus/icons-vue": "^2.3.1",
|
|
31
31
|
"@types/lodash": "^4.14.194",
|
|
32
32
|
"@types/lodash-es": "^4.17.9",
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
"vue-tsc": "^2.0.29"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@das-fed/ui": "6.4.0-dev.
|
|
60
|
-
"@das-fed/utils": "6.4.0-dev.
|
|
61
|
-
"@das-fed/web": "6.4.0-dev.
|
|
59
|
+
"@das-fed/ui": "6.4.0-dev.67",
|
|
60
|
+
"@das-fed/utils": "6.4.0-dev.67",
|
|
61
|
+
"@das-fed/web": "6.4.0-dev.67",
|
|
62
62
|
"@wangeditor/editor": "^5.1.23",
|
|
63
63
|
"@wangeditor/editor-for-vue": "^5.1.12",
|
|
64
64
|
"@wangeditor/plugin-upload-attachment": "^1.1.0",
|
|
@@ -807,17 +807,17 @@ const Ul = (e, t, r, a, l, f, c, y, v) => {
|
|
|
807
807
|
let L = 0;
|
|
808
808
|
const E = async (o, u) => {
|
|
809
809
|
var p;
|
|
810
|
-
if ((p = b.value) == null || p.click(), je(o, u)
|
|
810
|
+
if ((p = b.value) == null || p.click(), je(o, u)) return;
|
|
811
811
|
let i = !0;
|
|
812
812
|
e.changeNodeConfirm && (i = await e.changeNodeConfirm(o)), i && (L++, pe(o, u));
|
|
813
813
|
}, pe = Bl((...o) => {
|
|
814
814
|
const [u, i] = o;
|
|
815
815
|
L > 1 ? Y(u, i) : H(u, i), L = 0;
|
|
816
816
|
}, 200), Y = (o, u) => {
|
|
817
|
-
t("node-db-click", o, u);
|
|
817
|
+
e.showCheckbox ? t("check-node-db-click", o, u) : t("node-db-click", o, u);
|
|
818
818
|
}, H = (o, u) => {
|
|
819
819
|
var i;
|
|
820
|
-
S.value = !0, l.value = o[e.nodeKey], (i = r.value) == null || i.setCurrentKey(l.value), o.path && (a.value = o.path), t("change", o[e.nodeKey]), t("node-click", o, u), t("node-change", o);
|
|
820
|
+
e.showCheckbox ? t("check-node-click", o, u) : (S.value = !0, l.value = o[e.nodeKey], (i = r.value) == null || i.setCurrentKey(l.value), o.path && (a.value = o.path), t("change", o[e.nodeKey]), t("node-click", o, u), t("node-change", o));
|
|
821
821
|
}, me = async (o, u) => {
|
|
822
822
|
if (await Le(), f.value && !e.showCheckbox) {
|
|
823
823
|
if (l.value && o[e.nodeKey] !== l.value) return;
|
|
@@ -1808,7 +1808,7 @@ const vt = /* @__PURE__ */ zl($g), _g = (e, t, r, a, l, f, c, y, v, b, O, S, C,
|
|
|
1808
1808
|
notAutoresetLazyLoad: { type: Boolean },
|
|
1809
1809
|
changeNodeConfirm: {}
|
|
1810
1810
|
},
|
|
1811
|
-
emits: ["update:filterValue", "update:modelValue", "update:path", "change", "handleOperation", "filter-value-change", "filter-node-click", "node-change", "node-click", "node-
|
|
1811
|
+
emits: ["update:filterValue", "update:modelValue", "update:path", "change", "handleOperation", "filter-value-change", "filter-node-click", "node-change", "check-node-change", "node-click", "check-node-click", "node-db-click", "check-node-db-click", "current-change"],
|
|
1812
1812
|
setup(e, { expose: t, emit: r }) {
|
|
1813
1813
|
const a = e, l = r;
|
|
1814
1814
|
Fn({
|
|
Binary file
|
|
@@ -202,18 +202,21 @@ export interface Emits {
|
|
|
202
202
|
|
|
203
203
|
|
|
204
204
|
(e: 'node-change', item: any): void
|
|
205
|
+
|
|
206
|
+
(e: 'check-node-change', checkVal: any[], item: any, isCheck: boolean): void
|
|
205
207
|
|
|
206
208
|
|
|
207
209
|
(e: 'node-click', item: any, node: any): void
|
|
210
|
+
|
|
211
|
+
(e: 'check-node-click', item: any, node: any): void
|
|
208
212
|
|
|
209
213
|
|
|
210
214
|
(e: 'node-db-click', item: any, node: any): void
|
|
211
|
-
|
|
212
215
|
|
|
213
|
-
(e: '
|
|
216
|
+
(e: 'check-node-db-click', item: any, node: any): void
|
|
214
217
|
|
|
215
218
|
|
|
216
|
-
(e: '
|
|
219
|
+
(e: 'current-change', item: any, node: any): void
|
|
217
220
|
}
|
|
218
221
|
|
|
219
222
|
export type Exposes = {
|