asiaint-lowcode 3.0.75 → 3.1.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.
Files changed (37) hide show
  1. package/dist/asiaint-lowcode.js +3 -3
  2. package/dist/asiaint-lowcode.umd.cjs +141 -141
  3. package/dist/index.d.ts +139 -22
  4. package/dist/lazy/{Card-BL132uF0.js → Card-6y3b8xK9.js} +1 -1
  5. package/dist/lazy/{Cascader-BNajnGXt.js → Cascader-1XEBAirk.js} +2 -1
  6. package/dist/lazy/{Checkbox-CB78q85K.js → Checkbox-DY7Ufmrz.js} +8 -7
  7. package/dist/lazy/{Collapse-BT3Z_TeL.js → Collapse-BT7RNNg6.js} +1 -1
  8. package/dist/lazy/{Component-CVbGsSj6.js → Component-AYxGCLAH.js} +10 -10
  9. package/dist/lazy/{Component-OAYlB5bp.js → Component-BYlYtzWb.js} +1 -1
  10. package/dist/lazy/{Component-Cwe8AZcy.js → Component-CF4m_685.js} +1 -1
  11. package/dist/lazy/{Component-Dl3PXGm5.js → Component-CkSnYtMh.js} +1 -1
  12. package/dist/lazy/{Component-DdZRdqp7.js → Component-DITfSg2v.js} +1 -1
  13. package/dist/lazy/{Component-BNOSHXwG.js → Component-DZMCcrpa.js} +1 -1
  14. package/dist/lazy/{CurdCard-BrBulKvO.js → CurdCard-BXOxRtCA.js} +50 -44
  15. package/dist/lazy/{Custom-BliwSKbp.js → Custom-Df5H1QJV.js} +1 -1
  16. package/dist/lazy/{DragList-Buw-1bQc.js → DragList-BH1VY62B.js} +35 -34
  17. package/dist/lazy/{FormList-DTdAAtrD.js → FormList-BMk_lCx8.js} +1 -1
  18. package/dist/lazy/{Grid-DUAIHsOo.js → Grid-SVpxXRzO.js} +1 -1
  19. package/dist/lazy/{Inline-BkAIXUU0.js → Inline-CE2A9Of4.js} +1 -1
  20. package/dist/lazy/{JsonEdit-Bx4jK-K8.js → JsonEdit-C_CUvw5t.js} +1 -1
  21. package/dist/lazy/{LogList-DHk7eKeC.js → LogList-COeBYixP.js} +1 -1
  22. package/dist/lazy/{ObjGroup-DXJerzS2.js → ObjGroup-BB2eQigf.js} +1 -1
  23. package/dist/lazy/{OfferDetails-Fs5y40J0.js → OfferDetails-BEyNKQsf.js} +29 -28
  24. package/dist/lazy/{Progress-pRaKkFkw.js → Progress-CYBbCXFh.js} +1 -1
  25. package/dist/lazy/{Radio-C9Z-5npS.js → Radio-qI1r_rWj.js} +8 -7
  26. package/dist/lazy/{SearchSelect-BU-_DOLr.js → SearchSelect-ZmOPM_QH.js} +15 -14
  27. package/dist/lazy/{Select-DJ6Ky5mO.js → Select-CxtVmfLu.js} +10 -9
  28. package/dist/lazy/Table-YeT82lnr.js +438 -0
  29. package/dist/lazy/{Tabs-meM_0XCE.js → Tabs-DFvfP_nb.js} +1 -1
  30. package/dist/lazy/Wrapper-DAFSrkAr.js +87 -0
  31. package/dist/lazy/{index-2Lph8ou3.js → index-DQ889qV3.js} +9667 -9397
  32. package/dist/lazy/useSelect-EfaZqc6a.js +77 -0
  33. package/dist/style.css +2 -2
  34. package/package.json +1 -1
  35. package/dist/lazy/Table-BlBWSnrv.js +0 -351
  36. package/dist/lazy/Wrapper-DlG2aZRe.js +0 -36
  37. package/dist/lazy/useSelect-CmUZu1rN.js +0 -76
package/dist/index.d.ts CHANGED
@@ -32,9 +32,6 @@ type: PropType<boolean>;
32
32
  footer: {
33
33
  type: PropType<boolean>;
34
34
  };
35
- read: {
36
- type: PropType<boolean>;
37
- };
38
35
  pageRulePath: {
39
36
  type: PropType<string>;
40
37
  };
@@ -65,13 +62,13 @@ setFieldValue: (key: string, realValue: any, value?: any) => void;
65
62
  getFieldValue: (key: string) => any;
66
63
  refreshDynamicListBox: (key: string) => void;
67
64
  setHidden: (value: boolean) => void;
65
+ clearValidate: (name: string | string[]) => void;
68
66
  rootRef: unknown;
69
67
  type: "form";
70
68
  schema: FormSchema;
71
69
  schemaContext: Record<string, any>;
72
70
  design: boolean;
73
71
  footer: boolean;
74
- read: boolean;
75
72
  pageRulePath: string;
76
73
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
77
74
  reset: () => void;
@@ -94,9 +91,6 @@ type: PropType<boolean>;
94
91
  footer: {
95
92
  type: PropType<boolean>;
96
93
  };
97
- read: {
98
- type: PropType<boolean>;
99
- };
100
94
  pageRulePath: {
101
95
  type: PropType<string>;
102
96
  };
@@ -117,10 +111,17 @@ pageParams?: any;
117
111
  }>>, {
118
112
  findRef: <T extends keyof FindRefTypeMap>(key: string) => FindRefType<T>;
119
113
  setFormDisabled: (key: string, disabled: boolean) => void;
114
+ clearValidate: (key: string, names: string | string[]) => void;
120
115
  validate: (keys: string[] | string) => Promise<boolean | undefined>;
121
116
  getData: (keys?: string[] | string) => any;
122
117
  resetFields: (keys?: string[] | string) => void;
123
- emit: (event: "done" | "refresh", ...args: any[]) => void;
118
+ emit: {
119
+ (e: "done", data: any): void;
120
+ (e: "refresh"): void;
121
+ (e: "changeTab", tabKey: string, params?: any): void;
122
+ (e: "changeMixMode", tabKey: string, mode: boolean): void;
123
+ (e: "addPageParams", data: any): void;
124
+ };
124
125
  setData: (key: string, dataModel: any, isAssign?: boolean) => void;
125
126
  getItemByName: (formKey: string, itemKey: string) => FormItemType | null | undefined;
126
127
  getPageParams: () => any;
@@ -135,15 +136,21 @@ getGlobalParams: () => any;
135
136
  setBtnState: setBtnStateFn;
136
137
  setReadMode: (key: string, readMode: boolean) => void;
137
138
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
138
- done: (...args: any[]) => void;
139
- refresh: (...args: any[]) => void;
139
+ done: (data: any) => void;
140
+ refresh: () => void;
141
+ changeTab: (tabKey: string, params?: any) => void;
142
+ changeMixMode: (tabKey: string, mode: boolean) => void;
143
+ addPageParams: (data: any) => void;
140
144
  }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
141
145
  ruleMap: Record<string, any>;
142
146
  pageUrl?: string;
143
147
  pageParams?: any;
144
148
  }>>> & Readonly<{
145
- onDone?: ((...args: any[]) => any) | undefined;
146
- onRefresh?: ((...args: any[]) => any) | undefined;
149
+ onDone?: ((data: any) => any) | undefined;
150
+ onRefresh?: (() => any) | undefined;
151
+ onChangeMixMode?: ((tabKey: string, mode: boolean) => any) | undefined;
152
+ onAddPageParams?: ((data: any) => any) | undefined;
153
+ onChangeTab?: ((tabKey: string, params?: any) => any) | undefined;
147
154
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
148
155
 
149
156
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -177,9 +184,22 @@ declare type __VLS_WithTemplateSlots_2<T, S> = T & {
177
184
  };
178
185
  };
179
186
 
180
- declare type BtnType = {
181
- isGroup?: boolean;
182
- children?: BtnType[];
187
+ declare type AlertSchema = {
188
+ description: string;
189
+ values?: {
190
+ text: string | number;
191
+ onClick?: string;
192
+ }[];
193
+ type?: 'primary' | 'success' | 'warning' | 'info' | 'error';
194
+ key: string;
195
+ rulePath?: string;
196
+ hidden?: boolean;
197
+ mixMode?: boolean;
198
+ onClose?: string;
199
+ top?: number;
200
+ };
201
+
202
+ declare type BtnItemType = {
183
203
  tooltip?: string;
184
204
  key: string;
185
205
  text?: string;
@@ -197,14 +217,36 @@ declare type BtnType = {
197
217
  color?: string;
198
218
  };
199
219
  label?: string;
220
+ size?: 'default' | 'small' | 'large';
221
+ style?: any;
200
222
  };
201
223
 
224
+ declare type BtnType = ({
225
+ component: 'Popover';
226
+ props: {
227
+ trigger: 'hover' | 'click' | 'focus';
228
+ hoverStyle: any;
229
+ ostyle: any;
230
+ width?: number;
231
+ size?: 'small' | 'normal' | 'large';
232
+ hoverColor?: string;
233
+ };
234
+ children: FormItemType[];
235
+ } & BtnItemType) | ({
236
+ component: 'BtnGroup';
237
+ children: BtnItemType[];
238
+ } & BtnItemType) | ({
239
+ component?: never;
240
+ children?: never;
241
+ } & BtnItemType);
242
+
202
243
  declare type ComponentType = {
203
244
  form: typeof FormRender;
204
245
  table: typeof TableRender;
205
246
  tabs: typeof _default_2;
206
247
  infocard: typeof _default_3;
207
248
  navbar: typeof _default_4;
249
+ alert: typeof _default_5;
208
250
  };
209
251
 
210
252
  declare const _default: {
@@ -263,9 +305,11 @@ readonly hidden: boolean;
263
305
  };
264
306
  rootRef: Readonly<unknown>;
265
307
  findRef: (url: string) => PageMethods;
266
- changeActiveTab: (url: string) => void;
308
+ changeActiveTab: (url: string, params?: any) => void;
267
309
  type: string;
268
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
310
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
311
+ addPageParams: (...args: any[]) => void;
312
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
269
313
  schema: {
270
314
  required: true;
271
315
  type: PropType<TabsSchema>;
@@ -277,7 +321,9 @@ required: true;
277
321
  pageParams: {
278
322
  type: PropType<any>;
279
323
  };
280
- }>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
324
+ }>> & Readonly<{
325
+ onAddPageParams?: ((...args: any[]) => any) | undefined;
326
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
281
327
 
282
328
  declare const _default_3: DefineComponent<ExtractPropTypes< {
283
329
  schema: {
@@ -334,6 +380,45 @@ required: true;
334
380
  }>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
335
381
 
336
382
  declare const _default_5: DefineComponent<ExtractPropTypes< {
383
+ schema: {
384
+ required: true;
385
+ type: PropType<AlertSchema>;
386
+ };
387
+ pageRulePath: {
388
+ type: PropType<string>;
389
+ required: true;
390
+ };
391
+ pageUrl: {
392
+ type: PropType<string>;
393
+ required: true;
394
+ };
395
+ pageEmit: {
396
+ type: PropType<(e: "changeMixMode", tabKey: string, mode: boolean) => void>;
397
+ required: true;
398
+ };
399
+ }>, {
400
+ type: "alert";
401
+ schema: ModelRef<AlertSchema, string, AlertSchema, AlertSchema>;
402
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
403
+ schema: {
404
+ required: true;
405
+ type: PropType<AlertSchema>;
406
+ };
407
+ pageRulePath: {
408
+ type: PropType<string>;
409
+ required: true;
410
+ };
411
+ pageUrl: {
412
+ type: PropType<string>;
413
+ required: true;
414
+ };
415
+ pageEmit: {
416
+ type: PropType<(e: "changeMixMode", tabKey: string, mode: boolean) => void>;
417
+ required: true;
418
+ };
419
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
420
+
421
+ declare const _default_6: DefineComponent<ExtractPropTypes< {
337
422
  gridlayout: {
338
423
  required: true;
339
424
  type: PropType< {
@@ -358,6 +443,10 @@ type: PropType<number>;
358
443
  maxRows: {
359
444
  type: PropType<number>;
360
445
  };
446
+ isDraggable: {
447
+ type: PropType<boolean>;
448
+ required: true;
449
+ };
361
450
  name: {
362
451
  type: PropType<string>;
363
452
  required: true;
@@ -406,6 +495,10 @@ type: PropType<number>;
406
495
  maxRows: {
407
496
  type: PropType<number>;
408
497
  };
498
+ isDraggable: {
499
+ type: PropType<boolean>;
500
+ required: true;
501
+ };
409
502
  name: {
410
503
  type: PropType<string>;
411
504
  required: true;
@@ -415,6 +508,10 @@ required: true;
415
508
  declare type DropdownType = {
416
509
  key: string;
417
510
  text: string;
511
+ icon?: {
512
+ name: string;
513
+ color?: string;
514
+ };
418
515
  onClick: string;
419
516
  disabled: boolean;
420
517
  hidden: boolean;
@@ -432,7 +529,7 @@ declare type DropdownType = {
432
529
  * @returns 组件实例
433
530
  */
434
531
  declare type ExtraRefTypeMap = {
435
- draglist: InstanceType<typeof _default_5> & ComponentPublicInstance;
532
+ draglist: InstanceType<typeof _default_6> & ComponentPublicInstance;
436
533
  };
437
534
 
438
535
  declare type FindRefType<T extends keyof FindRefTypeMap> = FindRefTypeMap[T];
@@ -523,6 +620,10 @@ export declare interface FormItemType {
523
620
  props?: Record<string, any>;
524
621
  initialValue?: any;
525
622
  help?: string;
623
+ labelSuffix?: {
624
+ component: 'Popover';
625
+ props: any;
626
+ };
526
627
  children?: FormItemType[];
527
628
  hidden?: boolean | string;
528
629
  hideLabel?: boolean;
@@ -542,7 +643,6 @@ declare interface FormRenderProps {
542
643
  schemaContext?: Record<string, any>;
543
644
  design?: boolean;
544
645
  footer?: boolean;
545
- read?: boolean;
546
646
  pageRulePath?: string;
547
647
  }
548
648
 
@@ -557,7 +657,6 @@ declare type FormRule = {
557
657
  export declare type FormSchema = {
558
658
  labelWidth?: number;
559
659
  labelPosition?: 'top' | 'left' | 'right';
560
- labelSuffix?: string;
561
660
  size?: 'default' | 'small' | 'large';
562
661
  disabled?: boolean;
563
662
  hideRequiredAsterisk?: boolean;
@@ -572,6 +671,7 @@ export declare type FormSchema = {
572
671
  rulePath?: string;
573
672
  hidden?: boolean;
574
673
  dataModel?: string;
674
+ read?: boolean;
575
675
  };
576
676
 
577
677
  declare type getArrayType<T> = T extends Array<infer U> ? U : never;
@@ -591,18 +691,32 @@ declare type InfoCardSchema = {
591
691
  value: string;
592
692
  color?: string;
593
693
  }[];
694
+ bottomRightDetail?: {
695
+ label: string;
696
+ value: string;
697
+ };
594
698
  header: {
595
699
  title: string;
596
700
  titleColor?: string;
597
701
  titleIcon?: string;
702
+ titleClick?: string;
703
+ subTitlePrefix?: string;
598
704
  subTitle: string;
599
705
  avatar: string;
600
- avatarBgColor?: string;
601
706
  avatarIconColor?: string;
707
+ subTitleIcons?: {
708
+ icon: {
709
+ name: string;
710
+ color?: string;
711
+ };
712
+ onClick?: string;
713
+ }[];
714
+ avatarBgColor?: string;
602
715
  titleIcons?: {
603
716
  icon: string;
604
717
  onClick?: string;
605
718
  }[];
719
+ btns: BtnType[];
606
720
  };
607
721
  };
608
722
 
@@ -733,6 +847,7 @@ declare type RouteLocationRaw = string | number | {
733
847
 
734
848
  declare interface SelectProps {
735
849
  options?: Record<string, any>[];
850
+ defaultOptions?: Record<string, any>[];
736
851
  multiple?: boolean;
737
852
  mode?: string;
738
853
  labelKey?: string;
@@ -776,6 +891,7 @@ declare interface TableColumn {
776
891
  hidden?: boolean;
777
892
  type?: string;
778
893
  onClick?: string;
894
+ getIconInfo?: string;
779
895
  encrypted?: boolean;
780
896
  }
781
897
 
@@ -877,6 +993,7 @@ declare type TableSchema = {
877
993
  hidden?: boolean;
878
994
  hiddenPagination?: boolean;
879
995
  handleCurrentChange?: string;
996
+ selectable?: string;
880
997
  pageSizes?: any;
881
998
  pagerCount?: number;
882
999
  defaultPageSize?: number;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as B, ref as g, inject as h, resolveComponent as d, openBlock as s, createBlock as i, mergeProps as M, withCtx as c, createElementVNode as o, createElementBlock as n, createVNode as t, unref as p, normalizeClass as $, createCommentVNode as I, toDisplayString as v, Fragment as u, renderList as C, withDirectives as E, vShow as V } from "vue";
2
- import { _ as D, I as k, B as F, a as N, b as S } from "./index-2Lph8ou3.js";
2
+ import { _ as D, I as k, B as F, a as N, b as S } from "./index-DQ889qV3.js";
3
3
  import "element-plus";
4
4
  const j = { class: "card-header" }, H = { class: "card-btns" }, L = { class: "card-sub-header" }, P = /* @__PURE__ */ B({
5
5
  __name: "Card",
@@ -1,10 +1,11 @@
1
1
  import { defineComponent as f, mergeModels as g, useModel as v, inject as r, resolveComponent as y, openBlock as M, createBlock as h, mergeProps as C, unref as s } from "vue";
2
2
  import "element-plus";
3
- import { u as b } from "./useSelect-CmUZu1rN.js";
3
+ import { u as b } from "./useSelect-EfaZqc6a.js";
4
4
  const k = /* @__PURE__ */ f({
5
5
  __name: "Cascader",
6
6
  props: /* @__PURE__ */ g({
7
7
  options: { default: () => [] },
8
+ defaultOptions: {},
8
9
  multiple: { type: Boolean, default: !1 },
9
10
  mode: { default: "static" },
10
11
  labelKey: { default: "label" },
@@ -1,11 +1,12 @@
1
- import { defineComponent as w, mergeModels as z, useModel as F, watch as D, resolveComponent as t, resolveDirective as M, unref as a, openBlock as l, createElementBlock as s, toDisplayString as I, withDirectives as P, createBlock as r, mergeProps as S, withCtx as y, Fragment as b, renderList as f, createCommentVNode as v } from "vue";
1
+ import { defineComponent as w, mergeModels as z, useModel as F, watch as D, resolveComponent as t, resolveDirective as M, unref as a, openBlock as l, createElementBlock as s, toDisplayString as I, withDirectives as O, createBlock as r, mergeProps as P, withCtx as y, Fragment as b, renderList as f, createCommentVNode as v } from "vue";
2
2
  import "element-plus";
3
- import { u as j } from "./index-2Lph8ou3.js";
4
- import { u as E } from "./useSelect-CmUZu1rN.js";
5
- const L = { key: 0 }, q = /* @__PURE__ */ w({
3
+ import { u as S } from "./index-DQ889qV3.js";
4
+ import { u as j } from "./useSelect-EfaZqc6a.js";
5
+ const E = { key: 0 }, q = /* @__PURE__ */ w({
6
6
  __name: "Checkbox",
7
7
  props: /* @__PURE__ */ z({
8
8
  options: { default: () => [] },
9
+ defaultOptions: {},
9
10
  mode: { default: "static" },
10
11
  labelKey: { default: "label" },
11
12
  valueKey: { default: "value" },
@@ -28,14 +29,14 @@ const L = { key: 0 }, q = /* @__PURE__ */ w({
28
29
  }),
29
30
  emits: ["update:modelValue"],
30
31
  setup(d) {
31
- const h = d, n = F(d, "modelValue"), k = j(), { currentOptions: u, selectChange: p, loading: g } = E(h);
32
+ const h = d, n = F(d, "modelValue"), k = S(), { currentOptions: u, selectChange: p, loading: g } = j(h);
32
33
  return D(n, p), (e, i) => {
33
34
  var c;
34
35
  const K = t("el-checkbox"), C = t("el-checkbox-button"), V = t("el-space"), _ = t("el-checkbox-group"), B = M("loading");
35
- return a(k).read ? (l(), s("div", L, I((c = n.value) == null ? void 0 : c.map((o) => {
36
+ return a(k).read ? (l(), s("div", E, I((c = n.value) == null ? void 0 : c.map((o) => {
36
37
  var m;
37
38
  return (m = a(u).find((T) => T[e.valueKey] === o)) == null ? void 0 : m[e.labelKey];
38
- }).join("、")), 1)) : P((l(), r(_, S({ key: 1 }, e.$attrs, {
39
+ }).join("、")), 1)) : O((l(), r(_, P({ key: 1 }, e.$attrs, {
39
40
  modelValue: n.value,
40
41
  "onUpdate:modelValue": i[0] || (i[0] = (o) => n.value = o),
41
42
  onChange: a(p)
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as u, ref as f, onMounted as _, watch as h, resolveComponent as c, openBlock as o, createBlock as i, mergeProps as C, withCtx as r, createElementBlock as E, Fragment as k, renderList as v, createVNode as m, unref as V } from "vue";
2
- import { a as y } from "./index-2Lph8ou3.js";
2
+ import { a as y } from "./index-DQ889qV3.js";
3
3
  import "element-plus";
4
4
  import { _ as B } from "./Title.vue_vue_type_script_setup_true_lang-Ceco_9-w.js";
5
5
  const x = /* @__PURE__ */ u({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as w, inject as C, ref as v, watch as $, resolveComponent as m, openBlock as d, createBlock as y, mergeProps as A, withCtx as f, createElementVNode as c, toDisplayString as B, createElementBlock as k, createCommentVNode as _, Fragment as N, renderList as E, unref as I, withModifiers as P, createVNode as V } from "vue";
2
- import { f as F, I as j, b as D } from "./index-2Lph8ou3.js";
2
+ import { f as F, I as j, b as D } from "./index-DQ889qV3.js";
3
3
  import "element-plus";
4
4
  const R = { class: "custom-tree-node" }, S = { class: "tree-node-text" }, q = { class: "tree-node-label" }, z = {
5
5
  key: 0,
@@ -18,20 +18,20 @@ const R = { class: "custom-tree-node" }, S = { class: "tree-node-text" }, q = {
18
18
  const o = g, a = C("ruleModule", void 0), l = C("pageMethodMap", {}), i = v(), K = (e, t) => {
19
19
  i.value = e[o.nodeKey];
20
20
  }, M = (e, t, r) => {
21
- if (a)
21
+ if (e && a)
22
22
  try {
23
23
  a[e](l, { node: t, data: r });
24
24
  } catch (s) {
25
25
  console.error(s);
26
26
  }
27
- }, b = (e, t) => {
27
+ }, x = (e, t) => {
28
28
  if (o.onNodeClick && a)
29
29
  try {
30
30
  a[o.onNodeClick](l, { node: e, data: t });
31
31
  } catch (r) {
32
32
  console.error(r);
33
33
  }
34
- }, x = (e, t, r) => {
34
+ }, L = (e, t, r) => {
35
35
  if (o.onLoad && a)
36
36
  try {
37
37
  a[o.onLoad](l, { node: e, resolve: t, reject: r });
@@ -52,10 +52,10 @@ const R = { class: "custom-tree-node" }, S = { class: "tree-node-text" }, q = {
52
52
  immediate: !0
53
53
  }
54
54
  ), (e, t) => {
55
- const r = m("el-tooltip"), s = m("el-button"), L = m("el-tree");
56
- return d(), y(L, A(e.$attrs, {
57
- onNodeClick: b,
58
- load: x,
55
+ const r = m("el-tooltip"), s = m("el-button"), b = m("el-tree");
56
+ return d(), y(b, A(e.$attrs, {
57
+ onNodeClick: x,
58
+ load: L,
59
59
  ref: "treeRef",
60
60
  class: "crm-tree",
61
61
  indent: 32,
@@ -79,7 +79,7 @@ const R = { class: "custom-tree-node" }, S = { class: "tree-node-text" }, q = {
79
79
  I(F)(n.hidden, { $node: p, $data: u }) ? _("", !0) : (d(), y(s, {
80
80
  key: 0,
81
81
  link: "",
82
- onClick: P((H) => M(n.onClick, p, u), ["stop"]),
82
+ onClick: P((H) => M(n.onClick || "", p, u), ["stop"]),
83
83
  disabled: n.disabled,
84
84
  type: n.type
85
85
  }, {
@@ -112,7 +112,7 @@ const R = { class: "custom-tree-node" }, S = { class: "tree-node-text" }, q = {
112
112
  }, 16, ["current-node-key", "node-key", "props", "data", "default-expanded-keys"]);
113
113
  };
114
114
  }
115
- }), T = /* @__PURE__ */ D(G, [["__scopeId", "data-v-c5b14347"]]);
115
+ }), T = /* @__PURE__ */ D(G, [["__scopeId", "data-v-5dc31a78"]]);
116
116
  export {
117
117
  T as default
118
118
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as $, ref as v, computed as N, watch as L, onMounted as x, onBeforeUnmount as F, openBlock as T, createElementBlock as E, mergeModels as J, useModel as A, resolveComponent as G, unref as W, createElementVNode as P, createBlock as X, withCtx as D, createTextVNode as I, createCommentVNode as Y, createVNode as R } from "vue";
2
- import { b as H, u as K, c as Q } from "./index-2Lph8ou3.js";
2
+ import { b as H, u as K, c as Q } from "./index-DQ889qV3.js";
3
3
  import "element-plus";
4
4
  const Z = $({
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as s, mergeModels as p, useModel as u, resolveComponent as i, openBlock as t, createElementBlock as d, toDisplayString as c, createBlock as y, mergeProps as f } from "vue";
2
- import { u as v } from "./index-2Lph8ou3.js";
2
+ import { u as v } from "./index-DQ889qV3.js";
3
3
  import "element-plus";
4
4
  const k = { key: 0 }, K = /* @__PURE__ */ s({
5
5
  __name: "Component",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as d, mergeModels as m, useModel as r, resolveComponent as u, openBlock as p, createBlock as i, mergeProps as c, unref as f } from "vue";
2
- import { u as V } from "./index-2Lph8ou3.js";
2
+ import { u as V } from "./index-DQ889qV3.js";
3
3
  import "element-plus";
4
4
  const B = /* @__PURE__ */ d({
5
5
  __name: "Component",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as b, mergeModels as V, useModel as B, resolveComponent as d, openBlock as l, createBlock as n, createSlots as C, withCtx as a, createElementBlock as m, Fragment as w, createVNode as E, unref as r, createElementVNode as o, createTextVNode as i, toDisplayString as p, createCommentVNode as u } from "vue";
2
2
  import { ElMessage as M, ElMessageBox as N } from "element-plus";
3
- import { _ as f } from "./index-2Lph8ou3.js";
3
+ import { _ as f } from "./index-DQ889qV3.js";
4
4
  const $ = {
5
5
  key: 0,
6
6
  style: { "min-width": "300px" }
@@ -2,7 +2,7 @@ var u = Object.defineProperty;
2
2
  var m = (o, e, t) => e in o ? u(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
3
3
  var a = (o, e, t) => m(o, typeof e != "symbol" ? e + "" : e, t);
4
4
  import { defineComponent as g, mergeModels as v, useModel as I, ref as c, onMounted as w, resolveComponent as C, openBlock as y, createElementBlock as _, createVNode as V, createElementVNode as M } from "vue";
5
- import { u as b, b as x } from "./index-2Lph8ou3.js";
5
+ import { u as b, b as x } from "./index-DQ889qV3.js";
6
6
  import "element-plus";
7
7
  function S() {
8
8
  return "a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z".split(",");