asiaint-lowcode 3.0.12 → 3.0.14

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 (30) hide show
  1. package/dist/asiaint-lowcode.js +1 -1
  2. package/dist/asiaint-lowcode.umd.cjs +75 -75
  3. package/dist/index.d.ts +11 -5
  4. package/dist/lazy/{Card-6MsMPTSV.js → Card-CaWqhmgk.js} +2 -2
  5. package/dist/lazy/{Cascader-C8ueDUHB.js → Cascader-CdcNT10v.js} +1 -1
  6. package/dist/lazy/{Checkbox-BuRyLn_9.js → Checkbox-CJK0zpkP.js} +2 -2
  7. package/dist/lazy/{Collapse-BUdNI3yd.js → Collapse-R3V_-9Qy.js} +1 -1
  8. package/dist/lazy/{Component-BTAMGZ8a.js → Component-BUukjBGQ.js} +1 -1
  9. package/dist/lazy/{Component-BJt0lTk4.js → Component-BZ3Z_bac.js} +1 -1
  10. package/dist/lazy/{Component-B1qOuGSl.js → Component-C4dBecYq.js} +1 -1
  11. package/dist/lazy/Component-CiXpJ5wI.js +70 -0
  12. package/dist/lazy/{Component-Cyt9K0wn.js → Component-CnZjiCoz.js} +1 -1
  13. package/dist/lazy/{Component-B8g5gqfw.js → Component-DbJnyH6w.js} +1 -1
  14. package/dist/lazy/{Custom-CC1af4kC.js → Custom-DY63ABbq.js} +1 -1
  15. package/dist/lazy/{DatePicker-BEJnPpZs.js → DatePicker-gDYjpGax.js} +1 -1
  16. package/dist/lazy/{FormList-DrLrnS7Y.js → FormList-Df9RL7s7.js} +1 -1
  17. package/dist/lazy/{Grid-i9wF_hCg.js → Grid-08EF9A-O.js} +1 -1
  18. package/dist/lazy/{Inline-ChQorF7z.js → Inline-CdWL3Eo6.js} +1 -1
  19. package/dist/lazy/{JsonEdit-dh2v21Iv.js → JsonEdit-RsSvMWDj.js} +1 -1
  20. package/dist/lazy/{ObjGroup-Dm8jtwpT.js → ObjGroup-BG6jqGua.js} +1 -1
  21. package/dist/lazy/{Radio-CeVNB5Va.js → Radio-BIji-gnQ.js} +2 -2
  22. package/dist/lazy/{SearchSelect-DAtW8SDD.js → SearchSelect-CYLY81h9.js} +2 -2
  23. package/dist/lazy/{Select-Bpl0yJDv.js → Select-C1vTDJWg.js} +2 -2
  24. package/dist/lazy/{Tabs-CZFXM0-7.js → Tabs-B7G8h04a.js} +1 -1
  25. package/dist/lazy/{TextArea-C-W-Jf8q.js → TextArea-C0PEa3Es.js} +1 -1
  26. package/dist/lazy/{index-_Vc4Ooaw.js → index-6mpfROTy.js} +1942 -1916
  27. package/dist/lazy/{useSelect-Ri3Qh2Pn.js → useSelect-C3fi7G2S.js} +1 -1
  28. package/dist/style.css +2 -2
  29. package/package.json +1 -1
  30. package/dist/lazy/Component-DyV9sTkB.js +0 -69
package/dist/index.d.ts CHANGED
@@ -129,7 +129,7 @@ setBtnDisabled: (key: string, disabled: boolean) => void;
129
129
  addPageParams: (params: any) => void;
130
130
  setPageParams: (params: any) => void;
131
131
  setGlobalParams: (params: any) => void;
132
- getGlobalParams: () => {};
132
+ getGlobalParams: () => any;
133
133
  setBtnState: setBtnStateFn;
134
134
  };
135
135
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -232,6 +232,7 @@ readonly tabPosition: EpPropMergeType<StringConstructor, "right" | "top" | "left
232
232
  readonly beforeLeave: (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>;
233
233
  readonly modelValue?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
234
234
  } | undefined;
235
+ readonly mixMode?: boolean | undefined;
235
236
  readonly hidden?: boolean | undefined;
236
237
  readonly content: readonly {
237
238
  readonly label: string;
@@ -453,7 +454,6 @@ export declare type FormSchema = {
453
454
  declare type getArrayType<T> = T extends Array<infer U> ? U : never;
454
455
 
455
456
  declare type InfoCardSchema = {
456
- title: string;
457
457
  hidden?: boolean;
458
458
  copiable: boolean;
459
459
  btns: BtnType[];
@@ -462,10 +462,12 @@ declare type InfoCardSchema = {
462
462
  detail: {
463
463
  label: string;
464
464
  value: string;
465
+ color?: string;
465
466
  }[];
466
467
  customerInfo: {
467
468
  name: string;
468
- status: string;
469
+ id: string;
470
+ avatar: string;
469
471
  };
470
472
  };
471
473
 
@@ -508,6 +510,7 @@ declare type NavBarSchema = {
508
510
  title: string;
509
511
  back?: boolean;
510
512
  btns: BtnType[];
513
+ mixMode?: boolean;
511
514
  hidden?: boolean;
512
515
  key: string;
513
516
  rulePath?: string;
@@ -654,7 +657,7 @@ isChange: boolean;
654
657
  setTopBtnHidden: (btnKey: string, hidden: boolean) => void;
655
658
  setColVisible: (colKey: string, visible: boolean) => void;
656
659
  setColumn: <K extends keyof TableColumn>(key: string, keyName: K, keyValue: TableColumn[K]) => void;
657
- setRowBtnHidden: (btnKey: string, hidden: boolean) => void;
660
+ setRowsBtnHidden: (btnKey: string, hidden: boolean) => void;
658
661
  rootRef: Readonly<unknown>;
659
662
  type: string;
660
663
  design: boolean;
@@ -692,7 +695,9 @@ declare type TableSchema = {
692
695
  sizeChange?: string;
693
696
  pageChange?: string;
694
697
  topBtns?: BtnType[];
695
- rowBtns?: BtnType[];
698
+ rowBtns?: (Omit<BtnType, 'hidden'> & {
699
+ condition?: string | boolean;
700
+ })[];
696
701
  columns: TableColumn[];
697
702
  form?: FormSchema;
698
703
  hidden?: boolean;
@@ -708,6 +713,7 @@ declare type TabsSchema = {
708
713
  onMounted?: string;
709
714
  onActivated?: string;
710
715
  tabProps?: TabsProps;
716
+ mixMode?: boolean;
711
717
  hidden?: boolean;
712
718
  content: {
713
719
  label: string;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as w, ref as y, inject as i, resolveComponent as p, openBlock as l, createBlock as u, mergeProps as M, withCtx as t, createElementVNode as s, createElementBlock as d, createVNode as c, unref as m, normalizeClass as g, createCommentVNode as _, toDisplayString as h, Fragment as v, renderList as $, createTextVNode as B, Transition as E, withDirectives as V, vShow as N } from "vue";
2
- import { _ as D, a as S, b as T } from "./index-_Vc4Ooaw.js";
2
+ import { _ as D, a as S, b as T } from "./index-6mpfROTy.js";
3
3
  import "element-plus";
4
4
  const j = { class: "card-header" }, x = { class: "card-btns" }, z = /* @__PURE__ */ w({
5
5
  __name: "Card",
@@ -71,7 +71,7 @@ const j = { class: "card-header" }, x = { class: "card-btns" }, z = /* @__PURE__
71
71
  }, 16);
72
72
  };
73
73
  }
74
- }), A = /* @__PURE__ */ T(z, [["__scopeId", "data-v-9d198016"]]);
74
+ }), A = /* @__PURE__ */ T(z, [["__scopeId", "data-v-de881994"]]);
75
75
  export {
76
76
  A as default
77
77
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as f, mergeModels as g, useModel as v, inject as d, resolveComponent as M, openBlock as y, createBlock as C, mergeProps as h, unref as r } from "vue";
2
2
  import "element-plus";
3
- import { u as V } from "./useSelect-Ri3Qh2Pn.js";
3
+ import { u as V } from "./useSelect-C3fi7G2S.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 w, mergeModels as B, 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-_Vc4Ooaw.js";
4
- import { u as E } from "./useSelect-Ri3Qh2Pn.js";
3
+ import { u as j } from "./index-6mpfROTy.js";
4
+ import { u as E } from "./useSelect-C3fi7G2S.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-_Vc4Ooaw.js";
2
+ import { a as y } from "./index-6mpfROTy.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 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-_Vc4Ooaw.js";
2
+ import { u as V } from "./index-6mpfROTy.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-_Vc4Ooaw.js";
2
+ import { b as H, u as K, c as Q } from "./index-6mpfROTy.js";
3
3
  import "element-plus";
4
4
  const Z = $({
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as u, mergeModels as d, useModel as p, resolveComponent as i, unref as c, openBlock as t, createElementBlock as f, toDisplayString as y, createBlock as v, mergeProps as _ } from "vue";
2
- import { u as k } from "./index-_Vc4Ooaw.js";
2
+ import { u as k } from "./index-6mpfROTy.js";
3
3
  import "element-plus";
4
4
  const V = { key: 0 }, h = /* @__PURE__ */ u({
5
5
  __name: "Component",
@@ -0,0 +1,70 @@
1
+ import { defineComponent as g, inject as m, resolveComponent as u, openBlock as a, createBlock as _, mergeProps as L, withCtx as k, createElementVNode as i, toDisplayString as C, createElementBlock as f, Fragment as h, renderList as b, unref as x, withModifiers as $, createTextVNode as B, createCommentVNode as V } from "vue";
2
+ import { f as w, b as E } from "./index-6mpfROTy.js";
3
+ import "element-plus";
4
+ const P = { class: "custom-tree-node" }, j = /* @__PURE__ */ g({
5
+ __name: "Component",
6
+ props: {
7
+ onNodeClick: {},
8
+ onLoad: {},
9
+ btns: {}
10
+ },
11
+ setup(y) {
12
+ const l = y, t = m("ruleModule", void 0), d = m("pageMethodMap", {}), N = (e, n, o) => {
13
+ if (t)
14
+ try {
15
+ t[e](d, { node: n, data: o });
16
+ } catch (c) {
17
+ console.error(c);
18
+ }
19
+ }, M = (e, n) => {
20
+ if (l.onNodeClick && t)
21
+ try {
22
+ t[l.onNodeClick](d, { node: e, data: n });
23
+ } catch (o) {
24
+ console.error(o);
25
+ }
26
+ }, v = (e, n, o) => {
27
+ if (l.onLoad && t)
28
+ try {
29
+ t[l.onLoad](d, { node: e, resolve: n, reject: o });
30
+ } catch (c) {
31
+ console.error(c);
32
+ }
33
+ };
34
+ return (e, n) => {
35
+ const o = u("el-button"), c = u("el-tree");
36
+ return a(), _(c, L(e.$attrs, {
37
+ onNodeClick: M,
38
+ load: v
39
+ }), {
40
+ default: k(({ node: s, data: p }) => [
41
+ i("div", P, [
42
+ i("span", null, C(s.label), 1),
43
+ i("div", null, [
44
+ (a(!0), f(h, null, b(e.btns, (r) => (a(), f(h, {
45
+ key: r.key
46
+ }, [
47
+ x(w)(r.hidden, { $node: s, $data: p }) ? V("", !0) : (a(), _(o, {
48
+ key: 0,
49
+ link: "",
50
+ onClick: $((A) => N(r.onClick, s, p), ["stop"]),
51
+ disabled: r.disabled,
52
+ type: r.type
53
+ }, {
54
+ default: k(() => [
55
+ B(C(r.text), 1)
56
+ ]),
57
+ _: 2
58
+ }, 1032, ["onClick", "disabled", "type"]))
59
+ ], 64))), 128))
60
+ ])
61
+ ])
62
+ ]),
63
+ _: 1
64
+ }, 16);
65
+ };
66
+ }
67
+ }), S = /* @__PURE__ */ E(j, [["__scopeId", "data-v-6203e322"]]);
68
+ export {
69
+ S as default
70
+ };
@@ -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-_Vc4Ooaw.js";
5
+ import { u as b, b as x } from "./index-6mpfROTy.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,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-_Vc4Ooaw.js";
3
+ import { _ as f } from "./index-6mpfROTy.js";
4
4
  const $ = {
5
5
  key: 0,
6
6
  style: { "min-width": "300px" }
@@ -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-_Vc4Ooaw.js";
2
+ import { b as i } from "./index-6mpfROTy.js";
3
3
  const f = {
4
4
  key: 0,
5
5
  class: "empty"
@@ -1,5 +1,5 @@
1
1
  import { resolveComponent as t, openBlock as o, createBlock as c, mergeProps as n } from "vue";
2
- import { b as s } from "./index-_Vc4Ooaw.js";
2
+ import { b as s } from "./index-6mpfROTy.js";
3
3
  const _ = {};
4
4
  function a(e, p) {
5
5
  const r = t("el-date-picker");
@@ -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-_Vc4Ooaw.js";
2
+ import { u as U, l as w, d as W, e as V, _ as L, f as X } from "./index-6mpfROTy.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 t, computed as n, openBlock as a, createBlock as m, unref as p, normalizeStyle as s } from "vue";
2
- import { a as i } from "./index-_Vc4Ooaw.js";
2
+ import { a as i } from "./index-6mpfROTy.js";
3
3
  import "element-plus";
4
4
  const g = /* @__PURE__ */ t({
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-_Vc4Ooaw.js";
2
+ import { a as c, b as f } from "./index-6mpfROTy.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-_Vc4Ooaw.js";
2
+ import { b as xt, g as Nt } from "./index-6mpfROTy.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-_Vc4Ooaw.js";
2
+ import { u as j, d as h, e as k } from "./index-6mpfROTy.js";
3
3
  import "element-plus";
4
4
  const v = { class: "vfc-ObjGroup" }, B = {
5
5
  key: 1,
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as z, mergeModels as S, useModel as T, inject as K, resolveComponent as p, resolveDirective as w, unref as l, openBlock as a, createElementBlock as d, toDisplayString as F, Fragment as y, createCommentVNode as N, withDirectives as I, createBlock as f, mergeProps as k, withCtx as C, createVNode as P, renderList as M } from "vue";
2
- import { u as $ } from "./index-_Vc4Ooaw.js";
3
- import { u as j } from "./useSelect-Ri3Qh2Pn.js";
2
+ import { u as $ } from "./index-6mpfROTy.js";
3
+ import { u as j } from "./useSelect-C3fi7G2S.js";
4
4
  const E = { key: 0 }, L = {
5
5
  key: 0,
6
6
  style: { "font-size": "12px" }
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as w, mergeModels as A, useModel as F, inject as S, resolveComponent as y, resolveDirective as I, unref as d, openBlock as o, createElementBlock as u, toDisplayString as b, withDirectives as N, createBlock as k, mergeProps as j, withCtx as v, Fragment as P, renderList as $, createTextVNode as E, createVNode as C } from "vue";
2
- import { u as L, _ as O, b as T } from "./index-_Vc4Ooaw.js";
3
- import { u as U } from "./useSelect-Ri3Qh2Pn.js";
2
+ import { u as L, _ as O, b as T } from "./index-6mpfROTy.js";
3
+ import { u as U } from "./useSelect-C3fi7G2S.js";
4
4
  const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
5
5
  key: 1,
6
6
  class: "search-select-wrapper"
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as _, mergeModels as k, useModel as B, inject as y, computed as D, resolveComponent as v, resolveDirective as S, openBlock as r, createElementBlock as i, Fragment as b, unref as c, toDisplayString as g, createCommentVNode as N, createVNode as A, mergeProps as F, withCtx as h, withDirectives as j, renderList as w, createBlock as I, createTextVNode as P } from "vue";
2
- import { u as E } from "./index-_Vc4Ooaw.js";
3
- import { u as L } from "./useSelect-Ri3Qh2Pn.js";
2
+ import { u as E } from "./index-6mpfROTy.js";
3
+ import { u as L } from "./useSelect-C3fi7G2S.js";
4
4
  const O = { key: 0 }, T = { style: { "min-height": "32px" } }, z = /* @__PURE__ */ _({
5
5
  __name: "Select",
6
6
  props: /* @__PURE__ */ k({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, ref as m, watch as _, onMounted as h, resolveComponent as a, openBlock as l, createBlock as c, mergeProps as u, withCtx as d, createElementBlock as b, Fragment as v, renderList as y, createVNode as k, unref as K } from "vue";
2
- import { a as V } from "./index-_Vc4Ooaw.js";
2
+ import { a as V } from "./index-6mpfROTy.js";
3
3
  import "element-plus";
4
4
  const w = /* @__PURE__ */ i({
5
5
  __name: "Tabs",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as u, useModel as s, resolveComponent as p, unref as d, openBlock as t, createElementBlock as i, toDisplayString as c, createBlock as f, mergeProps as _ } from "vue";
2
- import { u as v } from "./index-_Vc4Ooaw.js";
2
+ import { u as v } from "./index-6mpfROTy.js";
3
3
  import "element-plus";
4
4
  const V = { key: 0 }, B = /* @__PURE__ */ u({
5
5
  __name: "TextArea",