asiaint-lowcode 3.0.17 → 3.0.19

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 (36) hide show
  1. package/dist/asiaint-lowcode.js +5 -5
  2. package/dist/asiaint-lowcode.umd.cjs +129 -129
  3. package/dist/index.d.ts +11 -81
  4. package/dist/lazy/Card-C0svyzWN.js +92 -0
  5. package/dist/lazy/{Cascader-CYH5Fi7i.js → Cascader-h0uYEaTX.js} +1 -1
  6. package/dist/lazy/{Checkbox-D53Paz5b.js → Checkbox-BT1pOO9x.js} +2 -2
  7. package/dist/lazy/{Collapse-Cmx5or4b.js → Collapse-DaskcZsh.js} +1 -1
  8. package/dist/lazy/{Component-DF8iAcIj.js → Component-BieMFR_R.js} +1 -1
  9. package/dist/lazy/{Component-CGdDOPOy.js → Component-C1PK1e1O.js} +1 -1
  10. package/dist/lazy/{Component-gsuTGjd3.js → Component-CJm4wK8L.js} +1 -1
  11. package/dist/lazy/{Component-D0dwgR6z.js → Component-CU5Vt5h_.js} +11 -11
  12. package/dist/lazy/{Component-CU23NOb2.js → Component-CfJuhpMD.js} +1 -1
  13. package/dist/lazy/{Component-Cj1LHwcP.js → Component-Db_jMv7Z.js} +1 -1
  14. package/dist/lazy/CurdCard-Bahfe6Nn.js +136 -0
  15. package/dist/lazy/{Custom-_TKg63Y-.js → Custom-CsypsOGf.js} +1 -1
  16. package/dist/lazy/{FormList-BpRr23C5.js → FormList-CxxcaDK2.js} +1 -1
  17. package/dist/lazy/{Grid-uJbOswN2.js → Grid-CUBLaDE3.js} +1 -1
  18. package/dist/lazy/{Inline-JPrJPoID.js → Inline-zKXaEqwJ.js} +1 -1
  19. package/dist/lazy/{JsonEdit-BZR2tMmu.js → JsonEdit-p2Pd0nJU.js} +1 -1
  20. package/dist/lazy/{ObjGroup-BFLXonc_.js → ObjGroup-CVJTWWxL.js} +1 -1
  21. package/dist/lazy/{OfferDetails-wBzkM5UY.js → OfferDetails-CZqb_xlB.js} +43 -43
  22. package/dist/lazy/{Radio-DY3h8hvk.js → Radio-BD6Irvdg.js} +2 -2
  23. package/dist/lazy/{SearchSelect-BA6DwHFz.js → SearchSelect-DmazBOwK.js} +2 -2
  24. package/dist/lazy/{Select-B5xgS3RP.js → Select-CoOQpaeQ.js} +2 -2
  25. package/dist/lazy/Table-DNsWnP_g.js +294 -0
  26. package/dist/lazy/{Tabs-DvbrjYdV.js → Tabs-Dx0cy5Ll.js} +1 -1
  27. package/dist/lazy/{Wrapper-DOKiemVa.js → Wrapper-Cs9R2uf3.js} +1 -1
  28. package/dist/lazy/{index-KOkHm1wc.js → index-txSDEbhu.js} +6988 -6724
  29. package/dist/lazy/{useSelect-DnnrbcQO.js → useSelect-DHP6UE_X.js} +1 -1
  30. package/dist/style.css +2 -2
  31. package/package.json +1 -1
  32. package/dist/lazy/Card-C5_msSt_.js +0 -59
  33. package/dist/lazy/CardList-MgVKIygB.js +0 -108
  34. package/dist/lazy/CardListItem-CKntC7cg.js +0 -85
  35. package/dist/lazy/CurdCard-B837mmwu.js +0 -108
  36. package/dist/lazy/Table-lhInsLy-.js +0 -280
package/dist/index.d.ts CHANGED
@@ -8,6 +8,7 @@ import { DeepReadonly } from 'vue';
8
8
  import { DefineComponent } from 'vue';
9
9
  import { EpPropMergeType } from 'element-plus/es/utils/index.mjs';
10
10
  import { ExtractPropTypes } from 'vue';
11
+ import { FormInstance as FormInstance_2 } from 'packages/types';
11
12
  import { FormValidationResult } from 'element-plus';
12
13
  import { InjectionKey } from 'vue';
13
14
  import { ModelRef } from 'vue';
@@ -397,6 +398,7 @@ export declare interface FormInstance extends FormRenderProps {
397
398
  updateVCodePass: (value: boolean) => void;
398
399
  validate: () => FormValidationResult | undefined;
399
400
  resetFields: (names?: string[]) => void;
401
+ findItemByName: (items: FormItemType[], name: string) => FormItemType | null;
400
402
  submit: () => void;
401
403
  }
402
404
 
@@ -448,6 +450,7 @@ export declare type FormSchema = {
448
450
  hideRequiredAsterisk?: boolean;
449
451
  labelBold?: boolean;
450
452
  scrollToError?: boolean;
453
+ onMounted?: string;
451
454
  initialValues?: Record<string, any>;
452
455
  key?: string;
453
456
  items: FormItemType[];
@@ -517,6 +520,8 @@ declare type NavBarSchema = {
517
520
  back?: boolean;
518
521
  btns: BtnType[];
519
522
  mixMode?: boolean;
523
+ simple?: boolean;
524
+ secondary?: boolean;
520
525
  hidden?: boolean;
521
526
  key: string;
522
527
  rulePath?: string;
@@ -535,6 +540,7 @@ declare type NavBarSchema = {
535
540
  hidden?: boolean;
536
541
  }[];
537
542
  footerBtns?: BtnType[];
543
+ top?: number;
538
544
  };
539
545
 
540
546
  export declare type Options = {
@@ -569,6 +575,7 @@ declare type PageSchema = {
569
575
  schema: TabsSchema;
570
576
  }>;
571
577
  btns: Array<BtnType>;
578
+ btnPosition?: 'center' | 'space-around' | 'space-between' | 'space-evenly' | 'end' | 'start';
572
579
  };
573
580
 
574
581
  declare type RefType<T extends keyof RefTypeMap> = RefTypeMap[T] & ComponentPublicInstance;
@@ -712,6 +719,9 @@ declare type TableSchema = {
712
719
  handleCurrentChange?: string;
713
720
  pageSizes?: any;
714
721
  defaultPageSize?: number;
722
+ typeSwitch?: boolean;
723
+ displayType?: 'card' | 'table';
724
+ onMounted?: string;
715
725
  };
716
726
 
717
727
  declare type TabsSchema = {
@@ -746,86 +756,6 @@ export declare type TemplateData = {
746
756
  id?: string;
747
757
  }[];
748
758
 
749
- export declare const useFormInstance: () => {
750
- readonly formValues: {
751
- readonly [x: string]: any;
752
- };
753
- readonly selectData: {
754
- readonly [x: string]: {
755
- readonly [x: string]: any;
756
- };
757
- };
758
- readonly initialValues: {
759
- readonly [x: string]: {
760
- readonly [x: string]: any;
761
- };
762
- };
763
- readonly context: {
764
- readonly [x: string]: any;
765
- };
766
- readonly vCodePass: boolean;
767
- readonly updateFormValues: (values: Record<string, any>, isAssign?: boolean) => void;
768
- readonly updateSelectData: (key: string, value: Record<string, any>) => void;
769
- readonly updateInitialValues: (values: Record<string, any>) => void;
770
- readonly updateVCodePass: (value: boolean) => void;
771
- readonly validate: () => FormValidationResult | undefined;
772
- readonly resetFields: (names?: string[]) => void;
773
- readonly submit: () => void;
774
- readonly schema: {
775
- readonly labelWidth?: number | undefined;
776
- readonly labelPosition?: ("top" | "left" | "right") | undefined;
777
- readonly labelSuffix?: string | undefined;
778
- readonly size?: ("default" | "small" | "large") | undefined;
779
- readonly disabled?: boolean | undefined;
780
- readonly hideRequiredAsterisk?: boolean | undefined;
781
- readonly labelBold?: boolean | undefined;
782
- readonly scrollToError?: boolean | undefined;
783
- readonly initialValues?: {
784
- readonly [x: string]: any;
785
- } | undefined;
786
- readonly key?: string | undefined;
787
- readonly items: readonly {
788
- readonly label?: string | undefined;
789
- readonly name: string;
790
- readonly component: string;
791
- readonly required?: boolean | undefined;
792
- readonly props?: {
793
- readonly [x: string]: any;
794
- } | undefined;
795
- readonly initialValue?: any;
796
- readonly help?: string | undefined;
797
- readonly children?: readonly any[] | undefined;
798
- readonly hidden?: (boolean | string) | undefined;
799
- readonly hideLabel?: boolean | undefined;
800
- readonly designKey?: string | undefined;
801
- readonly rules?: readonly {
802
- readonly type: "email" | "url" | "custom" | string;
803
- readonly customReg?: string | undefined;
804
- readonly templateExp?: any;
805
- readonly message?: string | undefined;
806
- readonly trigger: readonly string[];
807
- }[] | undefined;
808
- readonly class?: any;
809
- readonly style?: any;
810
- readonly change?: readonly {
811
- readonly target: string;
812
- readonly value?: any;
813
- readonly condition?: any;
814
- }[] | undefined;
815
- readonly dialog?: boolean | undefined;
816
- readonly width?: number | undefined;
817
- }[];
818
- readonly rulePath?: string | undefined;
819
- readonly hidden?: boolean | undefined;
820
- readonly dataModel?: string | undefined;
821
- };
822
- readonly schemaContext?: {
823
- readonly [x: string]: any;
824
- } | undefined;
825
- readonly design?: boolean | undefined;
826
- readonly footer?: boolean | undefined;
827
- readonly read?: boolean | undefined;
828
- readonly pageRulePath?: string | undefined;
829
- };
759
+ export declare const useFormInstance: () => FormInstance_2;
830
760
 
831
761
  export { }
@@ -0,0 +1,92 @@
1
+ import { defineComponent as w, ref as y, inject as u, resolveComponent as _, openBlock as l, createBlock as c, mergeProps as g, withCtx as s, createElementVNode as r, createElementBlock as d, createVNode as a, unref as i, normalizeClass as B, createCommentVNode as M, toDisplayString as $, Fragment as v, renderList as I, Transition as E, withDirectives as V, vShow as x } from "vue";
2
+ import { _ as D, I as C, B as F, a as N, b as S } from "./index-txSDEbhu.js";
3
+ import "element-plus";
4
+ const j = { class: "card-header" }, z = { class: "card-btns" }, L = /* @__PURE__ */ w({
5
+ __name: "Card",
6
+ props: {
7
+ children: {},
8
+ collapsible: { type: Boolean },
9
+ header: {},
10
+ btns: {},
11
+ extraIcons: {}
12
+ },
13
+ setup(P) {
14
+ const n = y(!1), p = u("ruleModule", void 0), f = u("pageMethodMap", {}), m = (o) => {
15
+ if (o && p)
16
+ try {
17
+ p[o](f);
18
+ } catch (t) {
19
+ console.error(t);
20
+ }
21
+ };
22
+ return (o, t) => {
23
+ const h = _("el-tooltip"), k = _("ElCard");
24
+ return l(), c(k, g(o.$attrs, {
25
+ class: ["crm-card", { collapsed: n.value }],
26
+ shadow: "never"
27
+ }), {
28
+ header: s(() => [
29
+ r("div", j, [
30
+ o.collapsible ? (l(), d("div", {
31
+ key: 0,
32
+ class: "icon-wrapper",
33
+ onClick: t[0] || (t[0] = (e) => n.value = !n.value)
34
+ }, [
35
+ a(i(D), {
36
+ name: "dropdown",
37
+ class: B(["dropdown-icon", { "is-collapsed": n.value }])
38
+ }, null, 8, ["class"])
39
+ ])) : M("", !0),
40
+ r("span", null, $(o.header), 1),
41
+ (l(!0), d(v, null, I(o.extraIcons, (e) => (l(), d(v, {
42
+ key: e.name
43
+ }, [
44
+ e.tips ? (l(), c(h, {
45
+ key: 0,
46
+ content: e.tips,
47
+ placement: "right"
48
+ }, {
49
+ default: s(() => [
50
+ a(C, {
51
+ class: "extra-icon",
52
+ name: e.name,
53
+ color: e.color,
54
+ onClick: (b) => m(e.onClick)
55
+ }, null, 8, ["name", "color", "onClick"])
56
+ ]),
57
+ _: 2
58
+ }, 1032, ["content"])) : (l(), c(C, {
59
+ key: 1,
60
+ class: "extra-icon",
61
+ name: e.name,
62
+ color: e.color,
63
+ onClick: (b) => m(e.onClick)
64
+ }, null, 8, ["name", "color", "onClick"]))
65
+ ], 64))), 128)),
66
+ r("div", z, [
67
+ a(i(F), {
68
+ btns: o.btns || []
69
+ }, null, 8, ["btns"])
70
+ ])
71
+ ])
72
+ ]),
73
+ default: s(() => [
74
+ a(E, { name: "collapse" }, {
75
+ default: s(() => [
76
+ V(r("div", null, [
77
+ a(i(N), { list: o.children }, null, 8, ["list"])
78
+ ], 512), [
79
+ [x, !n.value]
80
+ ])
81
+ ]),
82
+ _: 1
83
+ })
84
+ ]),
85
+ _: 1
86
+ }, 16, ["class"]);
87
+ };
88
+ }
89
+ }), A = /* @__PURE__ */ S(L, [["__scopeId", "data-v-3f46c22f"]]);
90
+ export {
91
+ A as default
92
+ };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as f, mergeModels as g, useModel as v, inject as d, resolveComponent as y, openBlock as M, createBlock as C, mergeProps as h, unref as r } from "vue";
2
2
  import "element-plus";
3
- import { u as b } from "./useSelect-DnnrbcQO.js";
3
+ import { u as b } from "./useSelect-DHP6UE_X.js";
4
4
  const k = /* @__PURE__ */ f({
5
5
  __name: "Cascader",
6
6
  props: /* @__PURE__ */ g({
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as T, mergeModels as w, useModel as D, watch as F, resolveComponent as u, resolveDirective as M, unref as a, openBlock as l, createElementBlock as n, toDisplayString as I, Fragment as d, createCommentVNode as i, withDirectives as P, createBlock as s, mergeProps as S, withCtx as f, renderList as h } from "vue";
2
2
  import "element-plus";
3
- import { u as j } from "./index-KOkHm1wc.js";
4
- import { u as E } from "./useSelect-DnnrbcQO.js";
3
+ import { u as j } from "./index-txSDEbhu.js";
4
+ import { u as E } from "./useSelect-DHP6UE_X.js";
5
5
  const L = { key: 0 }, N = {
6
6
  key: 0,
7
7
  style: { "font-size": "12px" }
@@ -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-KOkHm1wc.js";
2
+ import { a as y } from "./index-txSDEbhu.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({
@@ -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-KOkHm1wc.js";
5
+ import { u as b, b as x } from "./index-txSDEbhu.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(",");
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as s, mergeModels as u, useModel as p, resolveComponent as d, openBlock as t, createElementBlock as i, toDisplayString as c, createBlock as y, mergeProps as f } from "vue";
2
- import { u as v } from "./index-KOkHm1wc.js";
2
+ import { u as v } from "./index-txSDEbhu.js";
3
3
  import "element-plus";
4
4
  const _ = { key: 0 }, K = /* @__PURE__ */ s({
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-KOkHm1wc.js";
3
+ import { _ as f } from "./index-txSDEbhu.js";
4
4
  const $ = {
5
5
  key: 0,
6
6
  style: { "min-width": "300px" }
@@ -1,5 +1,5 @@
1
- import { defineComponent as $, inject as h, ref as b, resolveComponent as C, openBlock as c, createBlock as m, mergeProps as B, withCtx as f, createElementVNode as a, toDisplayString as y, createElementBlock as _, createCommentVNode as k, Fragment as v, renderList as I, unref as P, withModifiers as V, createTextVNode as w } from "vue";
2
- import { f as E, I as F, b as j } from "./index-KOkHm1wc.js";
1
+ import { defineComponent as $, inject as h, ref as b, resolveComponent as C, openBlock as c, createBlock as m, mergeProps as B, withCtx as f, createElementVNode as d, toDisplayString as y, createElementBlock as _, createCommentVNode as k, Fragment as v, renderList as I, unref as P, withModifiers as V, createTextVNode as w } from "vue";
2
+ import { f as E, I as F, b as j } from "./index-txSDEbhu.js";
3
3
  import "element-plus";
4
4
  const A = { class: "custom-tree-node" }, D = { class: "tree-node-text" }, K = { class: "tree-node-label" }, R = {
5
5
  key: 0,
@@ -12,26 +12,26 @@ const A = { class: "custom-tree-node" }, D = { class: "tree-node-text" }, K = {
12
12
  btns: {}
13
13
  },
14
14
  setup(N) {
15
- const l = N, r = h("ruleModule", void 0), d = h("pageMethodMap", {}), i = b(), g = (e, t) => {
15
+ const l = N, r = h("ruleModule", void 0), a = h("pageMethodMap", {}), i = b(), g = (e, t) => {
16
16
  i.value = e.id;
17
17
  }, M = (e, t, n) => {
18
18
  if (r)
19
19
  try {
20
- r[e](d, { node: t, data: n });
20
+ r[e](a, { node: t, data: n });
21
21
  } catch (s) {
22
22
  console.error(s);
23
23
  }
24
24
  }, x = (e, t) => {
25
25
  if (l.onNodeClick && r)
26
26
  try {
27
- r[l.onNodeClick](d, { node: e, data: t });
27
+ r[l.onNodeClick](a, { node: e, data: t });
28
28
  } catch (n) {
29
29
  console.error(n);
30
30
  }
31
31
  }, L = (e, t, n) => {
32
32
  if (l.onLoad && r)
33
33
  try {
34
- r[l.onLoad](d, { node: e, resolve: t, reject: n });
34
+ r[l.onLoad](a, { node: e, resolve: t, reject: n });
35
35
  } catch (s) {
36
36
  console.error(s);
37
37
  }
@@ -48,12 +48,12 @@ const A = { class: "custom-tree-node" }, D = { class: "tree-node-text" }, K = {
48
48
  onCurrentChange: g
49
49
  }), {
50
50
  default: f(({ node: p, data: u }) => [
51
- a("div", A, [
52
- a("div", D, [
53
- a("span", K, y(p.label), 1),
51
+ d("div", A, [
52
+ d("div", D, [
53
+ d("span", K, y(p.label), 1),
54
54
  u.id === i.value ? (c(), _("div", R, "Present")) : k("", !0)
55
55
  ]),
56
- a("div", null, [
56
+ d("div", null, [
57
57
  (c(!0), _(v, null, I(e.btns, (o) => (c(), _(v, {
58
58
  key: o.key
59
59
  }, [
@@ -83,7 +83,7 @@ const A = { class: "custom-tree-node" }, D = { class: "tree-node-text" }, K = {
83
83
  }, 16, ["current-node-key"]);
84
84
  };
85
85
  }
86
- }), H = /* @__PURE__ */ j(S, [["__scopeId", "data-v-ec89a37a"]]);
86
+ }), H = /* @__PURE__ */ j(S, [["__scopeId", "data-v-d08d9a81"]]);
87
87
  export {
88
88
  H as default
89
89
  };
@@ -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-KOkHm1wc.js";
2
+ import { u as V } from "./index-txSDEbhu.js";
3
3
  import "element-plus";
4
4
  const B = /* @__PURE__ */ d({
5
5
  __name: "Component",
@@ -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-KOkHm1wc.js";
2
+ import { b as H, u as K, c as Q } from "./index-txSDEbhu.js";
3
3
  import "element-plus";
4
4
  const Z = $({
5
5
  props: {
@@ -0,0 +1,136 @@
1
+ import { defineComponent as S, inject as I, ref as w, resolveComponent as E, openBlock as o, createElementBlock as r, createElementVNode as t, normalizeClass as u, createBlock as p, createCommentVNode as C, toDisplayString as F, Fragment as g, renderList as N, withCtx as _, createVNode as s, unref as f, Transition as V, withDirectives as z, vShow as D } from "vue";
2
+ import { u as j, I as i, B as L, a as B, i as R, b as q } from "./index-txSDEbhu.js";
3
+ import "element-plus";
4
+ const A = { class: "crm-curd-card" }, G = { class: "left-part" }, H = { class: "title" }, J = { class: "right-part" }, K = {
5
+ key: 0,
6
+ class: "switch-panel"
7
+ }, O = /* @__PURE__ */ S({
8
+ __name: "CurdCard",
9
+ props: {
10
+ name: {},
11
+ children: {},
12
+ collapsible: { type: Boolean },
13
+ onCollapsed: {},
14
+ typeSwitch: { type: Boolean },
15
+ title: {},
16
+ btns: {},
17
+ type: {},
18
+ mainIcon: {},
19
+ extraIcons: {}
20
+ },
21
+ setup(T) {
22
+ const d = I("ruleModule", void 0), k = I("pageMethodMap", {}), y = (e) => {
23
+ if (e && d)
24
+ try {
25
+ d[e](k);
26
+ } catch (n) {
27
+ console.error(n);
28
+ }
29
+ }, M = () => {
30
+ c.value = !c.value, v.onCollapsed && d && d[v.onCollapsed](k, c.value);
31
+ }, c = w(!1), h = w("table"), $ = j(), b = (e) => {
32
+ h.value = e;
33
+ const n = R($.schema.items, v.name), m = (l) => {
34
+ l.forEach((a) => {
35
+ a.component === "Table" && a.props && (a.props.displayType = e), a.children && a.children.length > 0 && m(a.children);
36
+ });
37
+ };
38
+ n && n.children && m(n.children);
39
+ }, v = T;
40
+ return (e, n) => {
41
+ const m = E("el-tooltip");
42
+ return o(), r("div", A, [
43
+ t("div", {
44
+ class: u(["card-header", {
45
+ inline: e.type === "inline",
46
+ mix: e.type === "mix",
47
+ default: e.type === "default"
48
+ }])
49
+ }, [
50
+ t("div", G, [
51
+ e.mainIcon ? (o(), p(i, {
52
+ key: 0,
53
+ class: "title-icon",
54
+ size: "large",
55
+ name: e.mainIcon.name,
56
+ color: e.mainIcon.color
57
+ }, null, 8, ["name", "color"])) : C("", !0),
58
+ t("span", H, F(e.title), 1),
59
+ (o(!0), r(g, null, N(e.extraIcons, (l) => (o(), r(g, {
60
+ key: l.name
61
+ }, [
62
+ l.tips ? (o(), p(m, {
63
+ key: 0,
64
+ content: l.tips,
65
+ placement: "right"
66
+ }, {
67
+ default: _(() => [
68
+ s(i, {
69
+ class: "extra-icon",
70
+ name: l.name,
71
+ color: l.color,
72
+ onClick: (a) => y(l.onClick)
73
+ }, null, 8, ["name", "color", "onClick"])
74
+ ]),
75
+ _: 2
76
+ }, 1032, ["content"])) : (o(), p(i, {
77
+ key: 1,
78
+ class: "extra-icon",
79
+ name: l.name,
80
+ color: l.color,
81
+ onClick: (a) => y(l.onClick)
82
+ }, null, 8, ["name", "color", "onClick"]))
83
+ ], 64))), 128))
84
+ ]),
85
+ t("div", J, [
86
+ e.typeSwitch ? (o(), r("div", K, [
87
+ t("div", {
88
+ class: u(["switch-icon-wrapper", { active: h.value === "card" }]),
89
+ onClick: n[0] || (n[0] = (l) => b("card"))
90
+ }, [
91
+ s(i, { name: "icon-kapian" })
92
+ ], 2),
93
+ t("div", {
94
+ class: u(["switch-icon-wrapper", { active: h.value === "table" }]),
95
+ onClick: n[1] || (n[1] = (l) => b("table"))
96
+ }, [
97
+ s(i, { name: "icon-biaoge" })
98
+ ], 2)
99
+ ])) : C("", !0),
100
+ e.collapsible ? (o(), r("div", {
101
+ key: 1,
102
+ class: u(["collapse-icon-wrapper", { collapsed: c.value }]),
103
+ onClick: M
104
+ }, [
105
+ s(i, { name: "icon-shaixuan" })
106
+ ], 2)) : C("", !0),
107
+ t("div", null, [
108
+ s(f(L), {
109
+ btns: e.btns || []
110
+ }, null, 8, ["btns"])
111
+ ])
112
+ ])
113
+ ], 2),
114
+ e.onCollapsed ? (o(), p(f(B), {
115
+ key: 1,
116
+ list: e.children
117
+ }, null, 8, ["list"])) : (o(), p(V, {
118
+ key: 0,
119
+ name: "collapse"
120
+ }, {
121
+ default: _(() => [
122
+ z(t("div", null, [
123
+ s(f(B), { list: e.children }, null, 8, ["list"])
124
+ ], 512), [
125
+ [D, !c.value]
126
+ ])
127
+ ]),
128
+ _: 1
129
+ }))
130
+ ]);
131
+ };
132
+ }
133
+ }), W = /* @__PURE__ */ q(O, [["__scopeId", "data-v-093f2c5b"]]);
134
+ export {
135
+ W as default
136
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as n, mergeModels as s, useModel as p, openBlock as t, createElementBlock as r, createBlock as u, resolveDynamicComponent as d, mergeProps as c } from "vue";
2
- import { b as i } from "./index-KOkHm1wc.js";
2
+ import { b as i } from "./index-txSDEbhu.js";
3
3
  const f = {
4
4
  key: 0,
5
5
  class: "empty"
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as S, mergeModels as j, useModel as G, ref as T, computed as M, watch as H, onMounted as J, provide as K, resolveComponent as b, openBlock as l, createElementBlock as _, unref as m, createBlock as s, Fragment as $, renderList as g, withCtx as r, createElementVNode as C, createVNode as v, mergeProps as R, createCommentVNode as y, toDisplayString as F, createTextVNode as O, h as Q } from "vue";
2
- import { u as U, l as w, d as W, e as V, _ as L, f as X } from "./index-KOkHm1wc.js";
2
+ import { u as U, l as w, d as W, e as V, _ as L, f as X } from "./index-txSDEbhu.js";
3
3
  import "element-plus";
4
4
  const Y = { class: "vfc-formList" }, Z = { key: 1 }, x = { class: "list-item-content" }, ee = { class: "card-header" }, le = { style: { "margin-top": "5px" } }, oe = /* @__PURE__ */ S({
5
5
  __name: "FormList",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as o, computed as a, openBlock as d, createBlock as e, unref as r, normalizeStyle as l } from "vue";
2
- import { a as m } from "./index-KOkHm1wc.js";
2
+ import { a as m } from "./index-txSDEbhu.js";
3
3
  import "element-plus";
4
4
  const f = /* @__PURE__ */ o({
5
5
  __name: "Grid",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as a, computed as l, openBlock as p, createBlock as r, unref as i, normalizeStyle as s } from "vue";
2
- import { a as c, b as f } from "./index-KOkHm1wc.js";
2
+ import { a as c, b as f } from "./index-txSDEbhu.js";
3
3
  import "element-plus";
4
4
  const m = /* @__PURE__ */ a({
5
5
  __name: "Inline",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as At, openBlock as mt, createElementBlock as wt, mergeProps as St, createElementVNode as pt, renderSlot as It, normalizeClass as bt, mergeModels as Tt, useModel as Et, createBlock as Rt, unref as $t, withCtx as _t, createVNode as Lt } from "vue";
2
- import { b as xt, g as Nt } from "./index-KOkHm1wc.js";
2
+ import { b as xt, g as Nt } from "./index-txSDEbhu.js";
3
3
  import "element-plus";
4
4
  const Mt = /* @__PURE__ */ At({
5
5
  __name: "Disabled",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, inject as i, provide as d, ref as f, openBlock as e, createElementBlock as o, unref as n, createBlock as m, Fragment as _, renderList as $, mergeProps as b } from "vue";
2
- import { u as j, d as h, e as k } from "./index-KOkHm1wc.js";
2
+ import { u as j, d as h, e as k } from "./index-txSDEbhu.js";
3
3
  import "element-plus";
4
4
  const v = { class: "vfc-ObjGroup" }, B = {
5
5
  key: 1,