@web-utils/form-ui 1.0.0-beta31 → 1.0.0-beta33

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.
Files changed (106) hide show
  1. package/chunks/{Cc3EJjbV.mjs → 1cDNhlSV.mjs} +2 -2
  2. package/chunks/{C4bM8miy.mjs → A3sHIRQ_.mjs} +2 -3
  3. package/chunks/{Ci1XxmdE.mjs → BLRY0zkF.mjs} +3 -3
  4. package/chunks/{Cby3mvvZ.mjs → BLWwTutr.mjs} +2 -2
  5. package/chunks/{BgDYHgyH.mjs → BTS_zTkz.mjs} +1 -1
  6. package/chunks/BX-cVxlK.mjs +102 -0
  7. package/chunks/BYAy19s4.mjs +113 -0
  8. package/chunks/BmacSnUz.mjs +657 -0
  9. package/chunks/BvsmTC3G.mjs +229 -0
  10. package/chunks/{Dt6gY213.mjs → BwdWZEjT.mjs} +5 -5
  11. package/chunks/{bnRb5PUB.mjs → CGJkMYZ4.mjs} +5 -5
  12. package/chunks/CLn0r4lV.mjs +177 -0
  13. package/chunks/{Cgl-hCE5.mjs → CNskrN5I.mjs} +2 -2
  14. package/chunks/{D1G2MMMx.mjs → CWfUPCtS.mjs} +4 -4
  15. package/chunks/{4ZuVpQf6.mjs → CnAEuI_c.mjs} +1 -1
  16. package/chunks/{Cy-4nmyC.mjs → Cr1vBYne.mjs} +4 -4
  17. package/chunks/{BV_P9a8o.mjs → D5_ctQqL.mjs} +2 -2
  18. package/chunks/{CsfgUCe9.mjs → D7hD-ppq.mjs} +1 -1
  19. package/chunks/DFsI7Y6h.mjs +197 -0
  20. package/chunks/{B99alfW4.mjs → DJKE5P39.mjs} +2 -2
  21. package/chunks/DQKi5eEl.mjs +166 -0
  22. package/chunks/{BmZieBZW.mjs → DQxPzCsy.mjs} +2 -2
  23. package/chunks/DcbnHU8K.mjs +145 -0
  24. package/chunks/{DazglPJZ.mjs → Dgyjc3LT.mjs} +1 -1
  25. package/chunks/{JhyiXnbd.mjs → DistOy_O.mjs} +8 -4
  26. package/chunks/{C44-CFi-.mjs → ZXCLnZFa.mjs} +4 -4
  27. package/chunks/{D1EOkWJ7.mjs → _dm2lLNL.mjs} +2 -2
  28. package/chunks/{CugRu2Ka.mjs → axr9InkL.mjs} +3 -3
  29. package/chunks/{C3a15Ful.mjs → iWQD3xvX.mjs} +2 -2
  30. package/chunks/uYaz9cwr.mjs +336 -0
  31. package/editable-tree/index.d.ts +254 -0
  32. package/editable-tree/index.mjs +2 -0
  33. package/editable-tree/style.css +1 -0
  34. package/element-dialog/index.d.ts +6 -6
  35. package/element-dialog/index.mjs +1 -1
  36. package/form-cascader/index.d.ts +5 -5
  37. package/form-cascader/index.mjs +1 -1
  38. package/form-check-box-group/index.d.ts +78 -7
  39. package/form-check-box-group/index.mjs +1 -1
  40. package/form-check-box-group/style.css +1 -0
  41. package/form-checkbox/index.d.ts +4 -2
  42. package/form-checkbox/index.mjs +1 -1
  43. package/form-date-picker/index.d.ts +63 -11
  44. package/form-date-picker/index.mjs +1 -1
  45. package/form-holder/index.mjs +1 -1
  46. package/form-image/index.mjs +1 -1
  47. package/form-input/index.d.ts +3 -3
  48. package/form-input/index.mjs +1 -1
  49. package/form-input-cron-expression/index.mjs +1 -1
  50. package/form-input-email/index.d.ts +3 -3
  51. package/form-input-email/index.mjs +1 -1
  52. package/form-input-id-card/index.d.ts +3 -3
  53. package/form-input-id-card/index.mjs +1 -1
  54. package/form-input-number/index.d.ts +5 -3
  55. package/form-input-number/index.mjs +1 -1
  56. package/form-input-phone-number/index.d.ts +3 -3
  57. package/form-input-phone-number/index.mjs +1 -1
  58. package/form-item-group/index.d.ts +0 -2
  59. package/form-item-group/index.mjs +1 -1
  60. package/form-item-group/style.css +1 -1
  61. package/form-item-x/index.mjs +1 -1
  62. package/form-item-x/style.css +1 -1
  63. package/form-radio-group/index.d.ts +91 -4
  64. package/form-radio-group/index.mjs +1 -1
  65. package/form-rate/index.mjs +1 -1
  66. package/form-row/index.mjs +1 -1
  67. package/form-select/index.d.ts +82 -10
  68. package/form-select/index.mjs +1 -1
  69. package/form-slider/index.d.ts +2 -2
  70. package/form-slider/index.mjs +1 -1
  71. package/form-switch/index.d.ts +4 -4
  72. package/form-switch/index.mjs +1 -1
  73. package/form-text/index.mjs +1 -1
  74. package/helper/dictionary.mjs +7 -7
  75. package/iframe-window/index.mjs +1 -1
  76. package/index.d.ts +2 -1
  77. package/index.mjs +47 -46
  78. package/month-calendar/index.d.ts +1 -1
  79. package/package.json +1 -1
  80. package/pageable-table/index.d.ts +4 -4
  81. package/pageable-table/index.mjs +1 -1
  82. package/resize-observer/index.mjs +2 -2
  83. package/table-column/index.d.ts +4 -4
  84. package/table-column/index.mjs +1 -1
  85. package/table-column-def/index.mjs +1 -1
  86. package/table-view/index.d.ts +340 -1
  87. package/table-view/index.mjs +452 -6
  88. package/table-view/style.css +1 -0
  89. package/toolbar/index.mjs +1 -1
  90. package/toolbar-button/index.d.ts +136 -24
  91. package/toolbar-button/index.mjs +1 -1
  92. package/vue-cron/index.mjs +1 -1
  93. package/web-types.json +1 -1
  94. package/x-input-tag/index.mjs +1 -1
  95. package/year-calendar/index.mjs +1 -1
  96. package/chunks/BQ77eAb3.mjs +0 -71
  97. package/chunks/Br4i8stg.mjs +0 -222
  98. package/chunks/DO8dVGef.mjs +0 -98
  99. package/chunks/DtAYXPvz.mjs +0 -108
  100. package/chunks/S64sNmuR.mjs +0 -226
  101. package/chunks/dM-icPM8.mjs +0 -107
  102. package/chunks/pxFLMMUm.mjs +0 -110
  103. package/chunks/q1SlJP1y.mjs +0 -171
  104. /package/chunks/{CkFapoKt.mjs → B1MSrc6f.mjs} +0 -0
  105. /package/chunks/{C9J3j0PX.mjs → BW6iY7Q7.mjs} +0 -0
  106. /package/chunks/{BV_N8p9t.mjs → DiE4GJtU.mjs} +0 -0
@@ -0,0 +1,336 @@
1
+ import { i as e, n as t } from "./BvsmTC3G.mjs";
2
+ import { n } from "./D7hD-ppq.mjs";
3
+ import { useDictionary as r } from "../hook/useDictionary.mjs";
4
+ import { isNumber as i, isPlainObject as a, isString as o } from "@web-utils/core";
5
+ import { computed as s, createVNode as c, mergeProps as l, ref as u, watchEffect as d } from "vue";
6
+ import { ElOption as f, ElSelect as p } from "element-plus/es";
7
+ //#region src/components/form/props/select.ts
8
+ var m = {
9
+ ...n,
10
+ modelValue: [
11
+ String,
12
+ Number,
13
+ Boolean,
14
+ Object,
15
+ Array
16
+ ],
17
+ multiple: {
18
+ type: Boolean,
19
+ default: !1
20
+ },
21
+ options: {
22
+ type: Array,
23
+ default: () => []
24
+ },
25
+ props: {
26
+ type: Object,
27
+ default: () => ({
28
+ label: "label",
29
+ value: "value"
30
+ })
31
+ },
32
+ valueKey: {
33
+ type: String,
34
+ default: "value"
35
+ },
36
+ size: String,
37
+ clearable: {
38
+ type: Boolean,
39
+ default: !0
40
+ },
41
+ collapseTags: {
42
+ type: Boolean,
43
+ default: !1
44
+ },
45
+ collapseTagsTooltip: {
46
+ type: Boolean,
47
+ default: !1
48
+ },
49
+ tagTooltip: {
50
+ type: Object,
51
+ default: () => ({})
52
+ },
53
+ multipleLimit: {
54
+ type: Number,
55
+ default: 0
56
+ },
57
+ id: String,
58
+ name: String,
59
+ effect: {
60
+ type: String,
61
+ default: "light"
62
+ },
63
+ autocomplete: {
64
+ type: String,
65
+ default: "off"
66
+ },
67
+ placeholder: String,
68
+ filterable: {
69
+ type: Boolean,
70
+ default: !1
71
+ },
72
+ allowCreate: {
73
+ type: Boolean,
74
+ default: !1
75
+ },
76
+ filterMethod: Function,
77
+ remote: {
78
+ type: Boolean,
79
+ default: !1
80
+ },
81
+ debounce: {
82
+ type: Number,
83
+ default: 300
84
+ },
85
+ remoteMethod: Function,
86
+ remoteShowSuffix: {
87
+ type: Boolean,
88
+ default: !1
89
+ },
90
+ loading: {
91
+ type: Boolean,
92
+ default: !1
93
+ },
94
+ loadingText: String,
95
+ noMatchText: String,
96
+ noDataText: String,
97
+ popperClass: {
98
+ type: String,
99
+ default: ""
100
+ },
101
+ popperStyle: [String, Object],
102
+ reserveKeyword: {
103
+ type: Boolean,
104
+ default: !0
105
+ },
106
+ defaultFirstOption: {
107
+ type: Boolean,
108
+ default: !1
109
+ },
110
+ teleported: {
111
+ type: Boolean,
112
+ default: !0
113
+ },
114
+ appendTo: [String, Object],
115
+ persistent: {
116
+ type: Boolean,
117
+ default: !0
118
+ },
119
+ automaticDropdown: {
120
+ type: Boolean,
121
+ default: !1
122
+ },
123
+ clearIcon: [String, Object],
124
+ fitInputWidth: {
125
+ type: Boolean,
126
+ default: !1
127
+ },
128
+ suffixIcon: [String, Object],
129
+ tagType: {
130
+ type: String,
131
+ default: "info"
132
+ },
133
+ tagEffect: {
134
+ type: String,
135
+ default: "light"
136
+ },
137
+ validateEvent: {
138
+ type: Boolean,
139
+ default: !0
140
+ },
141
+ dropDownOffset: {
142
+ type: Number,
143
+ default: 12
144
+ },
145
+ showArrow: {
146
+ type: Boolean,
147
+ default: !0
148
+ },
149
+ placement: {
150
+ type: String,
151
+ default: "bottom-start"
152
+ },
153
+ fallbackPlacements: {
154
+ type: Array,
155
+ default: () => [
156
+ "bottom-start",
157
+ "top-start",
158
+ "right",
159
+ "left"
160
+ ]
161
+ },
162
+ maxCollapseTags: {
163
+ type: Number,
164
+ default: 1
165
+ },
166
+ popperOptions: {
167
+ type: Object,
168
+ default: () => ({})
169
+ },
170
+ ariaLabel: String,
171
+ emptyValues: Array,
172
+ valueOnClear: [
173
+ String,
174
+ Number,
175
+ Boolean,
176
+ Function
177
+ ],
178
+ suffixTransition: {
179
+ type: Boolean,
180
+ default: !0
181
+ },
182
+ tabindex: [String, Number],
183
+ dictType: String,
184
+ gender: Boolean,
185
+ year: [Boolean, Number],
186
+ all: Boolean,
187
+ confirm: Boolean,
188
+ start: Number,
189
+ end: Number,
190
+ optionLabel: [String, Number],
191
+ emitLabel: Boolean,
192
+ english: Boolean,
193
+ chinese: Boolean,
194
+ typing: Boolean,
195
+ multipleStringMode: Boolean,
196
+ multipleStringSeparator: {
197
+ type: String,
198
+ default: ","
199
+ }
200
+ }, h = {
201
+ modelValue: !0,
202
+ emptyValues: !0,
203
+ dropDownOffset: !0,
204
+ valueOnClear: !0,
205
+ options: !0,
206
+ dictType: !0,
207
+ gender: !0,
208
+ year: !0,
209
+ all: !0,
210
+ confirm: !0,
211
+ start: !0,
212
+ end: !0,
213
+ optionLabel: !0,
214
+ emitLabel: !0,
215
+ english: !0,
216
+ chinese: !0,
217
+ typing: !0,
218
+ multipleStringMode: !0,
219
+ multipleStringSeparator: !0
220
+ }, g = [
221
+ "change",
222
+ "visible-change",
223
+ "remove-tag",
224
+ "clear",
225
+ "blur",
226
+ "focus",
227
+ "popup-scroll"
228
+ ], _ = (e) => n[e] === void 0 && h[e] !== !0, v = {
229
+ name: "FormSelect",
230
+ inheritAttrs: !1,
231
+ props: { ...m },
232
+ emits: {
233
+ ...t,
234
+ change: null,
235
+ "visible-change": null,
236
+ "remove-tag": null,
237
+ clear: null,
238
+ blur: null,
239
+ focus: null,
240
+ "popup-scroll": null
241
+ },
242
+ setup(t, { emit: n, slots: m, attrs: h }) {
243
+ let { emitInput: v, render: y, placeholder: b, disabled: x, autoBind: S } = e(t, {
244
+ emit: n,
245
+ slots: m,
246
+ attrs: h,
247
+ events: g,
248
+ predicate: _,
249
+ messagePrefix: "请选择"
250
+ }), C = u(null), w = u(!1);
251
+ d(() => {
252
+ if (t.multiple && t.multipleStringMode) {
253
+ var e;
254
+ C.value = (e = t.modelValue) == null ? void 0 : e.split(",").filter((e) => e);
255
+ } else C.value = t.modelValue;
256
+ });
257
+ let T = (e) => {
258
+ if (t.multiple && t.multipleStringMode ? v(e.join(t.multipleStringSeparator)) : v(e), t.emitLabel) {
259
+ let r = O.value.find((n) => n[t.props.value] === e), i = r == null ? void 0 : r[t.props.label];
260
+ i !== t.optionLabel && n("update:optionLabel", i);
261
+ }
262
+ }, { dictItems: E } = r(t), D = u([]), O = s(() => {
263
+ if (t.dictType) return E.value;
264
+ if (t.remote) return D.value;
265
+ if (t.gender) return [{
266
+ [t.props.label]: "男",
267
+ [t.props.value]: t.chinese ? "男" : t.typing ? 1 : "1"
268
+ }, {
269
+ [t.props.label]: "女",
270
+ [t.props.value]: t.chinese ? "女" : t.typing ? 2 : "2"
271
+ }];
272
+ if (t.confirm) return [{
273
+ [t.props.label]: "是",
274
+ [t.props.value]: t.chinese ? "是" : t.english ? "Y" : t.typing ? 1 : "1"
275
+ }, {
276
+ [t.props.label]: "否",
277
+ [t.props.value]: t.chinese ? "否" : t.english ? "N" : t.typing ? 0 : "0"
278
+ }];
279
+ if (t.all) return [{
280
+ [t.props.value]: "",
281
+ [t.props.label]: "全部"
282
+ }, ...t.options];
283
+ if (t.start && t.end) return Array(t.end - t.start + 1).fill(1).map((e, n) => ({
284
+ [t.props.label]: t.start + n,
285
+ [t.props.value]: t.start + n
286
+ }));
287
+ if (t.year) {
288
+ let e = (/* @__PURE__ */ new Date()).getFullYear(), n = [], r = 10;
289
+ i(t.year) && (r = t.year);
290
+ for (let i = -r; i <= r; i++) {
291
+ let r = e + i;
292
+ n.push({
293
+ [t.props.label]: r,
294
+ [t.props.value]: r
295
+ });
296
+ }
297
+ return n;
298
+ }
299
+ return t.options ? t.options.map((e) => (e[t.props.value] = e[t.props.value] ?? e[t.props.label], e)) : [];
300
+ });
301
+ d(() => {
302
+ t.remote && k();
303
+ });
304
+ let k = async (e) => {
305
+ try {
306
+ var n;
307
+ w.value = !0;
308
+ let r = await t.remoteMethod(e, t.prop);
309
+ ((n = r.data.data) == null ? void 0 : n.length) >= 0 ? o(r.data.data[0]) ? D.value = r.data.data.map((e) => ({
310
+ [t.props.value]: e,
311
+ [t.props.label]: e
312
+ })) : a(r.data.data[0]) && (D.value = r.data.data) : D.value = [];
313
+ } catch {}
314
+ w.value = !1;
315
+ };
316
+ return () => y({ vNodes: c(p, l(S.value, {
317
+ offset: t.dropDownOffset,
318
+ "model-value": C.value,
319
+ "onUpdate:modelValue": T,
320
+ disabled: x.value,
321
+ placeholder: b.value
322
+ }), {
323
+ ...m,
324
+ default: m.default || (() => {
325
+ var e;
326
+ return (e = O.value) == null ? void 0 : e.map(({ value: e, label: t }) => c(f, {
327
+ key: e,
328
+ label: t,
329
+ value: e
330
+ }, null));
331
+ })
332
+ }) });
333
+ }
334
+ };
335
+ //#endregion
336
+ export { v as t };
@@ -0,0 +1,254 @@
1
+ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
+ label: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ addRootNodeLabel: StringConstructor;
7
+ defaultExpandedKeys: {
8
+ type: ArrayConstructor;
9
+ default: () => never[];
10
+ };
11
+ newNodeBuilder: {
12
+ type: FunctionConstructor;
13
+ default: (name: string, parent: {
14
+ id: string | number;
15
+ [key: string]: any;
16
+ }) => {
17
+ name: string;
18
+ parentId: string | number;
19
+ };
20
+ };
21
+ contextMenu: BooleanConstructor;
22
+ lazy: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ expandFirstNode: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ readonly: BooleanConstructor;
31
+ saveApi: FunctionConstructor;
32
+ updateApi: FunctionConstructor;
33
+ deleteApi: FunctionConstructor;
34
+ fetchApi: FunctionConstructor;
35
+ customRootNode: (ObjectConstructor | FunctionConstructor)[];
36
+ rootNode: ObjectConstructor;
37
+ contextMenuIcon: BooleanConstructor;
38
+ contextMenuInline: BooleanConstructor;
39
+ treeProps: {
40
+ type: ObjectConstructor;
41
+ default: () => {
42
+ children: string;
43
+ label: string;
44
+ isLeaf: (data: any) => boolean;
45
+ };
46
+ };
47
+ menuLabel: {
48
+ type: ObjectConstructor;
49
+ default: () => {
50
+ appendPeer: string;
51
+ appendChild: string;
52
+ removeNode: string;
53
+ editNode: string;
54
+ };
55
+ };
56
+ icon: {
57
+ type: (BooleanConstructor | FunctionConstructor)[];
58
+ default: (data: any, node: any) => string;
59
+ };
60
+ confirmButton: {
61
+ type: BooleanConstructor;
62
+ default: boolean;
63
+ };
64
+ addRootNodeButtonStyle: {
65
+ type: StringConstructor;
66
+ default: string;
67
+ };
68
+ reserveExpandKey: BooleanConstructor;
69
+ nodeKey: {
70
+ type: StringConstructor;
71
+ default: string;
72
+ };
73
+ defaultExpandAll: BooleanConstructor;
74
+ }>, {
75
+ autoBind: globalThis.ComputedRef<Record<string, any>>;
76
+ listeners: globalThis.ComputedRef<Record<string, any>>;
77
+ }, {
78
+ loading: boolean;
79
+ showMenu: boolean;
80
+ empty: boolean;
81
+ expandedKeys: unknown[];
82
+ treeData: never[];
83
+ curNode: {};
84
+ curData: {};
85
+ position: {};
86
+ text: string;
87
+ right: number;
88
+ treeKey: number;
89
+ }, {
90
+ defaultOptions(): {
91
+ confirmButtonText: string;
92
+ cancelButtonText: string;
93
+ closeOnClickModal: boolean;
94
+ modal: boolean;
95
+ inputErrorMessage: string;
96
+ inputPlaceholder: string;
97
+ inputValidator: (value: any) => boolean;
98
+ };
99
+ innerTreeData(): {};
100
+ }, {
101
+ addExpandKey(data: any): void;
102
+ removeExpandKey(data: any): void;
103
+ resize(): void;
104
+ showContextMenu(event: any, data: any, node: any): Promise<void>;
105
+ hideContextMenu(): void;
106
+ tryFetch(): Promise<void>;
107
+ loadNode(node: any, resolve: any): Promise<any>;
108
+ clear(): void;
109
+ clearChecked(): void;
110
+ removeNewNode(): void;
111
+ cancelEdit(): void;
112
+ editNode(node: any, data: any): Promise<void>;
113
+ appendRootNode(): Promise<void>;
114
+ appendChildNode(node: any): void;
115
+ appendChildNodeWithData(node: any, parentId: any, label: any): void;
116
+ appendPeerNode(node: any): void;
117
+ addRootNode(data: any): Promise<void>;
118
+ addChildNode(data: any): Promise<void>;
119
+ addPeerNode(data: any): Promise<void>;
120
+ updateNode(data: any): void;
121
+ setCurrentKey(key: any): void;
122
+ createNewChild(parentId: any): void;
123
+ removeNodeModal(node: any): Promise<void>;
124
+ removeNode(node: any): Promise<void>;
125
+ onConfirm(node: any, data: any): Promise<void>;
126
+ onCancel(node: any, data: any): void;
127
+ nodeClick(data: any, node: any, tree: any): void;
128
+ getCurrentNode(): any;
129
+ locateView(): Promise<void>;
130
+ scrollIntoView(expanded: any): Promise<void>;
131
+ inputKeyup(event: any, node: any, data: any): void;
132
+ inputBlur(event: any, node: any, data: any): void;
133
+ getCheckedKeys(): any;
134
+ setCheckedKeys(keys: any): void;
135
+ getCheckedNodes(): any;
136
+ setCheckedNodes(nodes: any): void;
137
+ getNode(data: any): any;
138
+ getRootNode(): any;
139
+ findTreeNode(data: any): import('@web-utils/core').TreeNode[];
140
+ registerNode(node: any): void;
141
+ reloadTree(): Promise<void>;
142
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
143
+ 'remove-new-node': null;
144
+ 'node-loaded': null;
145
+ 'root-node-loaded': null;
146
+ 'node-deleted': null;
147
+ 'node-updated': null;
148
+ 'node-added': null;
149
+ 'on-node-click': null;
150
+ 'add-root-node': null;
151
+ 'create-new-node': null;
152
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
153
+ label: {
154
+ type: StringConstructor;
155
+ default: string;
156
+ };
157
+ addRootNodeLabel: StringConstructor;
158
+ defaultExpandedKeys: {
159
+ type: ArrayConstructor;
160
+ default: () => never[];
161
+ };
162
+ newNodeBuilder: {
163
+ type: FunctionConstructor;
164
+ default: (name: string, parent: {
165
+ id: string | number;
166
+ [key: string]: any;
167
+ }) => {
168
+ name: string;
169
+ parentId: string | number;
170
+ };
171
+ };
172
+ contextMenu: BooleanConstructor;
173
+ lazy: {
174
+ type: BooleanConstructor;
175
+ default: boolean;
176
+ };
177
+ expandFirstNode: {
178
+ type: BooleanConstructor;
179
+ default: boolean;
180
+ };
181
+ readonly: BooleanConstructor;
182
+ saveApi: FunctionConstructor;
183
+ updateApi: FunctionConstructor;
184
+ deleteApi: FunctionConstructor;
185
+ fetchApi: FunctionConstructor;
186
+ customRootNode: (ObjectConstructor | FunctionConstructor)[];
187
+ rootNode: ObjectConstructor;
188
+ contextMenuIcon: BooleanConstructor;
189
+ contextMenuInline: BooleanConstructor;
190
+ treeProps: {
191
+ type: ObjectConstructor;
192
+ default: () => {
193
+ children: string;
194
+ label: string;
195
+ isLeaf: (data: any) => boolean;
196
+ };
197
+ };
198
+ menuLabel: {
199
+ type: ObjectConstructor;
200
+ default: () => {
201
+ appendPeer: string;
202
+ appendChild: string;
203
+ removeNode: string;
204
+ editNode: string;
205
+ };
206
+ };
207
+ icon: {
208
+ type: (BooleanConstructor | FunctionConstructor)[];
209
+ default: (data: any, node: any) => string;
210
+ };
211
+ confirmButton: {
212
+ type: BooleanConstructor;
213
+ default: boolean;
214
+ };
215
+ addRootNodeButtonStyle: {
216
+ type: StringConstructor;
217
+ default: string;
218
+ };
219
+ reserveExpandKey: BooleanConstructor;
220
+ nodeKey: {
221
+ type: StringConstructor;
222
+ default: string;
223
+ };
224
+ defaultExpandAll: BooleanConstructor;
225
+ }>> & Readonly<{
226
+ "onRemove-new-node"?: ((...args: any[]) => any) | undefined;
227
+ "onNode-loaded"?: ((...args: any[]) => any) | undefined;
228
+ "onRoot-node-loaded"?: ((...args: any[]) => any) | undefined;
229
+ "onNode-deleted"?: ((...args: any[]) => any) | undefined;
230
+ "onNode-updated"?: ((...args: any[]) => any) | undefined;
231
+ "onNode-added"?: ((...args: any[]) => any) | undefined;
232
+ "onOn-node-click"?: ((...args: any[]) => any) | undefined;
233
+ "onAdd-root-node"?: ((...args: any[]) => any) | undefined;
234
+ "onCreate-new-node"?: ((...args: any[]) => any) | undefined;
235
+ }>, {
236
+ icon: boolean | Function;
237
+ label: string;
238
+ defaultExpandedKeys: unknown[];
239
+ newNodeBuilder: Function;
240
+ contextMenu: boolean;
241
+ lazy: boolean;
242
+ expandFirstNode: boolean;
243
+ readonly: boolean;
244
+ contextMenuIcon: boolean;
245
+ contextMenuInline: boolean;
246
+ treeProps: Record<string, any>;
247
+ menuLabel: Record<string, any>;
248
+ confirmButton: boolean;
249
+ addRootNodeButtonStyle: string;
250
+ reserveExpandKey: boolean;
251
+ nodeKey: string;
252
+ defaultExpandAll: boolean;
253
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
254
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import { t as e } from "../chunks/BmacSnUz.mjs";
2
+ export { e as default };
@@ -0,0 +1 @@
1
+ .editable-tree{position:relative}.editable-tree.et-tree-label-overflow-visible .et-tree-label{position:static}.et-tree-wrapper{text-align:left;flex-direction:column;width:100%;display:flex;overflow:auto}.et-tree-wrapper .el-tree{width:100%;display:table;overflow:visible}.et-tree-wrapper .el-button+.el-button{margin-left:8px!important}.et-tree-wrapper .el-input__inner{padding:0 4px}.et-tree-wrapper .custom-tree-node{align-items:center;width:100%;padding-right:8px;font-size:14px;display:flex}.et-tree-wrapper .custom-tree-node:hover .handle-actions{display:block}.et-tree-wrapper .custom-tree-node .handle-actions{align-self:flex-end;display:none}.et-tree-wrapper .custom-tree-node .node-icon{margin-top:2px;margin-right:4px}.et-tree-wrapper .node-label{align-items:center}.et-tree-wrapper .node-input{min-width:140px;margin-right:10px}.et-tree-wrapper .menu{z-index:3;background:#fff;border-radius:4px;padding:0;position:fixed;box-shadow:0 5px 10px #bebebe}.et-tree-wrapper .menu-item{color:#242f42;white-space:nowrap;cursor:pointer;-webkit-user-select:none;user-select:none;padding:8px 20px 8px 8px;font:11px/100% tahoma,arial,sans-serif;display:block}.et-tree-wrapper .menu .menu-item:hover{color:#66b1ff;background-color:#ecf5ff}.et-tree-wrapper .menu-item-icon{margin-right:4px;font-size:1.3em;font-weight:700}
@@ -11,11 +11,11 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
11
11
  title: string;
12
12
  fullscreen: boolean;
13
13
  customClass: string;
14
+ top: string;
15
+ showClose: boolean;
14
16
  showFullscreen: boolean;
15
17
  showFullScreen: boolean;
16
- showClose: boolean;
17
18
  modelValue: boolean;
18
- top: string;
19
19
  modal: boolean;
20
20
  modalPenetrable: boolean;
21
21
  appendToBody: boolean;
@@ -31,9 +31,9 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
31
31
  destroyOnClose: boolean;
32
32
  headerAriaLevel: string;
33
33
  beforeClose?: Function | undefined;
34
- height?: string | undefined;
35
34
  zIndex?: number | undefined;
36
35
  appendTo?: string | Record<string, any> | undefined;
36
+ height?: string | undefined;
37
37
  width?: string | number | undefined;
38
38
  modalClass?: string | undefined;
39
39
  headerClass?: string | undefined;
@@ -46,11 +46,11 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
46
46
  readonly title?: string | undefined;
47
47
  readonly fullscreen?: boolean | undefined;
48
48
  readonly customClass?: string | undefined;
49
+ readonly top?: string | undefined;
50
+ readonly showClose?: boolean | undefined;
49
51
  readonly showFullscreen?: boolean | undefined;
50
52
  readonly showFullScreen?: boolean | undefined;
51
- readonly showClose?: boolean | undefined;
52
53
  readonly modelValue?: boolean | undefined;
53
- readonly top?: string | undefined;
54
54
  readonly modal?: boolean | undefined;
55
55
  readonly modalPenetrable?: boolean | undefined;
56
56
  readonly appendToBody?: boolean | undefined;
@@ -66,9 +66,9 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
66
66
  readonly destroyOnClose?: boolean | undefined;
67
67
  readonly headerAriaLevel?: string | undefined;
68
68
  readonly beforeClose?: Function | undefined;
69
- readonly height?: string | undefined;
70
69
  readonly zIndex?: number | undefined;
71
70
  readonly appendTo?: string | Record<string, any> | undefined;
71
+ readonly height?: string | undefined;
72
72
  readonly width?: string | number | undefined;
73
73
  readonly modalClass?: string | undefined;
74
74
  readonly headerClass?: string | undefined;
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/DazglPJZ.mjs";
1
+ import { t as e } from "../chunks/Dgyjc3LT.mjs";
2
2
  export { e as default };
@@ -1,5 +1,5 @@
1
1
  declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
- modelValue: (StringConstructor | NumberConstructor | ArrayConstructor)[];
2
+ modelValue: (StringConstructor | ArrayConstructor | NumberConstructor)[];
3
3
  options: ArrayConstructor;
4
4
  props: ObjectConstructor;
5
5
  size: StringConstructor;
@@ -70,7 +70,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
70
70
  default: number;
71
71
  };
72
72
  emptyValues: ArrayConstructor;
73
- valueOnClear: (StringConstructor | BooleanConstructor | NumberConstructor | FunctionConstructor)[];
73
+ valueOnClear: (StringConstructor | BooleanConstructor | FunctionConstructor | NumberConstructor)[];
74
74
  persistent: {
75
75
  type: BooleanConstructor;
76
76
  default: boolean;
@@ -218,7 +218,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
218
218
  'remove-tag': null;
219
219
  "update:modelValue": null;
220
220
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
221
- modelValue: (StringConstructor | NumberConstructor | ArrayConstructor)[];
221
+ modelValue: (StringConstructor | ArrayConstructor | NumberConstructor)[];
222
222
  options: ArrayConstructor;
223
223
  props: ObjectConstructor;
224
224
  size: StringConstructor;
@@ -289,7 +289,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
289
289
  default: number;
290
290
  };
291
291
  emptyValues: ArrayConstructor;
292
- valueOnClear: (StringConstructor | BooleanConstructor | NumberConstructor | FunctionConstructor)[];
292
+ valueOnClear: (StringConstructor | BooleanConstructor | FunctionConstructor | NumberConstructor)[];
293
293
  persistent: {
294
294
  type: BooleanConstructor;
295
295
  default: boolean;
@@ -443,6 +443,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
443
443
  tag: string;
444
444
  offset: number;
445
445
  placement: string;
446
+ readonly: boolean;
446
447
  required: boolean;
447
448
  wrapCol: boolean;
448
449
  block: boolean;
@@ -455,7 +456,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
455
456
  inlineMessage: boolean;
456
457
  pull: number;
457
458
  wrapFormItem: boolean;
458
- readonly: boolean;
459
459
  treeDict: boolean;
460
460
  idAsValue: boolean;
461
461
  labelAsValue: boolean;
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/Cby3mvvZ.mjs";
1
+ import { t as e } from "../chunks/BLWwTutr.mjs";
2
2
  export { e as default };