asiaint-lowcode 3.0.13 → 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 +17 -17
  3. package/dist/index.d.ts +6 -3
  4. package/dist/lazy/{Card-CjX8_mKy.js → Card-CaWqhmgk.js} +2 -2
  5. package/dist/lazy/{Cascader-DCWDKi7q.js → Cascader-CdcNT10v.js} +1 -1
  6. package/dist/lazy/{Checkbox-CnhRZ5Ty.js → Checkbox-CJK0zpkP.js} +2 -2
  7. package/dist/lazy/{Collapse-DUbWBy5G.js → Collapse-R3V_-9Qy.js} +1 -1
  8. package/dist/lazy/{Component-CIGtleDL.js → Component-BUukjBGQ.js} +1 -1
  9. package/dist/lazy/{Component-C_d8I5r2.js → Component-BZ3Z_bac.js} +1 -1
  10. package/dist/lazy/{Component-QZv__Q9t.js → Component-C4dBecYq.js} +1 -1
  11. package/dist/lazy/Component-CiXpJ5wI.js +70 -0
  12. package/dist/lazy/{Component-EKFwCS1y.js → Component-CnZjiCoz.js} +1 -1
  13. package/dist/lazy/{Component-S8PFkiFo.js → Component-DbJnyH6w.js} +1 -1
  14. package/dist/lazy/{Custom-DjX1AHSc.js → Custom-DY63ABbq.js} +1 -1
  15. package/dist/lazy/{DatePicker-0davNDiD.js → DatePicker-gDYjpGax.js} +1 -1
  16. package/dist/lazy/{FormList-DQnn5D4X.js → FormList-Df9RL7s7.js} +1 -1
  17. package/dist/lazy/{Grid-B1UrKyOW.js → Grid-08EF9A-O.js} +1 -1
  18. package/dist/lazy/{Inline-BACBvlxk.js → Inline-CdWL3Eo6.js} +1 -1
  19. package/dist/lazy/{JsonEdit-CmX4WTNO.js → JsonEdit-RsSvMWDj.js} +1 -1
  20. package/dist/lazy/{ObjGroup-NEH1WDaP.js → ObjGroup-BG6jqGua.js} +1 -1
  21. package/dist/lazy/{Radio-u2R1Inz-.js → Radio-BIji-gnQ.js} +2 -2
  22. package/dist/lazy/{SearchSelect-COfz9JkE.js → SearchSelect-CYLY81h9.js} +2 -2
  23. package/dist/lazy/{Select-DZYDY9zB.js → Select-C1vTDJWg.js} +2 -2
  24. package/dist/lazy/{Tabs-CEVepHIu.js → Tabs-B7G8h04a.js} +1 -1
  25. package/dist/lazy/{TextArea-C1EmgMap.js → TextArea-C0PEa3Es.js} +1 -1
  26. package/dist/lazy/{index-CU_26EZJ.js → index-6mpfROTy.js} +433 -428
  27. package/dist/lazy/{useSelect-BeQ_42pn.js → useSelect-C3fi7G2S.js} +1 -1
  28. package/dist/style.css +2 -2
  29. package/package.json +1 -1
  30. package/dist/lazy/Component-BgZ5rdea.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, {
@@ -462,6 +462,7 @@ 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;
@@ -656,7 +657,7 @@ isChange: boolean;
656
657
  setTopBtnHidden: (btnKey: string, hidden: boolean) => void;
657
658
  setColVisible: (colKey: string, visible: boolean) => void;
658
659
  setColumn: <K extends keyof TableColumn>(key: string, keyName: K, keyValue: TableColumn[K]) => void;
659
- setRowBtnHidden: (btnKey: string, hidden: boolean) => void;
660
+ setRowsBtnHidden: (btnKey: string, hidden: boolean) => void;
660
661
  rootRef: Readonly<unknown>;
661
662
  type: string;
662
663
  design: boolean;
@@ -694,7 +695,9 @@ declare type TableSchema = {
694
695
  sizeChange?: string;
695
696
  pageChange?: string;
696
697
  topBtns?: BtnType[];
697
- rowBtns?: BtnType[];
698
+ rowBtns?: (Omit<BtnType, 'hidden'> & {
699
+ condition?: string | boolean;
700
+ })[];
698
701
  columns: TableColumn[];
699
702
  form?: FormSchema;
700
703
  hidden?: boolean;
@@ -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-CU_26EZJ.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-8dc7b1ec"]]);
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-BeQ_42pn.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-CU_26EZJ.js";
4
- import { u as E } from "./useSelect-BeQ_42pn.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-CU_26EZJ.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-CU_26EZJ.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-CU_26EZJ.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-CU_26EZJ.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-CU_26EZJ.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-CU_26EZJ.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-CU_26EZJ.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-CU_26EZJ.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-CU_26EZJ.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-CU_26EZJ.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-CU_26EZJ.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-CU_26EZJ.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-CU_26EZJ.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-CU_26EZJ.js";
3
- import { u as j } from "./useSelect-BeQ_42pn.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-CU_26EZJ.js";
3
- import { u as U } from "./useSelect-BeQ_42pn.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-CU_26EZJ.js";
3
- import { u as L } from "./useSelect-BeQ_42pn.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-CU_26EZJ.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-CU_26EZJ.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",