asiaint-lowcode 3.0.7 → 3.0.9

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 (28) hide show
  1. package/dist/asiaint-lowcode.js +1 -1
  2. package/dist/asiaint-lowcode.umd.cjs +131 -131
  3. package/dist/index.d.ts +3 -0
  4. package/dist/lazy/{Card-BICyqkcl.js → Card-Bj0RWlWy.js} +1 -1
  5. package/dist/lazy/{Cascader-BZL8MhiH.js → Cascader-C3YIoayj.js} +1 -1
  6. package/dist/lazy/{Checkbox-BAT6NqSY.js → Checkbox-VxTFoLwe.js} +2 -2
  7. package/dist/lazy/{Collapse-BewyvIUk.js → Collapse-e95tbLOS.js} +1 -1
  8. package/dist/lazy/{Component-Bx5jW_vw.js → Component-CT8NJNoF.js} +1 -1
  9. package/dist/lazy/{Component-B7sDX0op.js → Component-CYeePvw8.js} +1 -1
  10. package/dist/lazy/{Component-DREsTAii.js → Component-DZU5Tc8q.js} +1 -1
  11. package/dist/lazy/{Component-BZnQOmUv.js → Component-VYcbK0Fh.js} +17 -17
  12. package/dist/lazy/{Component-DTV7H-bM.js → Component-qqxfTdQt.js} +1 -1
  13. package/dist/lazy/{Custom-BhPEMv39.js → Custom-ZPXrBrOZ.js} +1 -1
  14. package/dist/lazy/{DatePicker-DPsaKvWF.js → DatePicker-CD_MrFaf.js} +1 -1
  15. package/dist/lazy/{FormList-BGlH8gig.js → FormList-BEEUxzb6.js} +1 -1
  16. package/dist/lazy/{Grid-CVd3BMAR.js → Grid-0wGt7PXZ.js} +1 -1
  17. package/dist/lazy/{Inline-KJq-Auig.js → Inline-Dt8LHzI3.js} +1 -1
  18. package/dist/lazy/{JsonEdit-C5NAnHPv.js → JsonEdit-OhxofJUR.js} +1 -1
  19. package/dist/lazy/{ObjGroup-DTbSx77l.js → ObjGroup-BFJ6BQWf.js} +1 -1
  20. package/dist/lazy/{Radio-BRY5I1l1.js → Radio-CfhCI1u-.js} +2 -2
  21. package/dist/lazy/{SearchSelect-DAo4_Xhq.js → SearchSelect-B5rWst4K.js} +2 -2
  22. package/dist/lazy/{Select-_fEGDALy.js → Select-20SJEwGY.js} +2 -2
  23. package/dist/lazy/{Tabs-C46mp1GR.js → Tabs-s-asBRtU.js} +1 -1
  24. package/dist/lazy/{TextArea-TsgAVKuR.js → TextArea-DhjKa9qr.js} +1 -1
  25. package/dist/lazy/{index-CPKMl9aN.js → index-DxvwPTEb.js} +3434 -3420
  26. package/dist/lazy/{useSelect-beVhTinV.js → useSelect-DPAj6FVz.js} +1 -1
  27. package/dist/style.css +2 -2
  28. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -339,6 +339,7 @@ export declare type Options = {
339
339
  formItemProps: SelectProps;
340
340
  formSchema: DeepReadonly<FormInstance['schema']>;
341
341
  }) => Promise<any>;
342
+ translateFn?: (key: string, dataSource: Record<string, any>) => any;
342
343
  };
343
344
 
344
345
  export declare type PageMethods = {
@@ -518,11 +519,13 @@ declare type TabsSchema = {
518
519
  onMounted?: string;
519
520
  onActivated?: string;
520
521
  tabProps?: TabsProps;
522
+ hidden?: boolean;
521
523
  content: {
522
524
  label: string;
523
525
  url: string;
524
526
  disabled?: boolean;
525
527
  closable?: boolean;
528
+ pageParams?: any;
526
529
  }[];
527
530
  btns: Array<{
528
531
  key: string;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as y, ref as M, inject as i, resolveComponent as c, openBlock as l, createBlock as d, normalizeProps as g, guardReactiveProps as w, withCtx as n, createElementVNode as r, unref as p, normalizeClass as $, createCommentVNode as u, toDisplayString as _, createElementBlock as m, Fragment as h, renderList as B, createTextVNode as E, createVNode as v, Transition as V, withDirectives as N, vShow as z } from "vue";
2
- import { _ as D, a as P, b as S } from "./index-CPKMl9aN.js";
2
+ import { _ as D, a as P, b as S } from "./index-DxvwPTEb.js";
3
3
  import "element-plus";
4
4
  const T = { class: "card-header" }, j = { class: "card-btns" }, x = /* @__PURE__ */ y({
5
5
  __name: "Card",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as f, mergeModels as g, useModel as v, inject as d, resolveComponent as M, openBlock as C, createBlock as h, mergeProps as y, unref as s } from "vue";
2
2
  import "element-plus";
3
- import { u as V } from "./useSelect-beVhTinV.js";
3
+ import { u as V } from "./useSelect-DPAj6FVz.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-CPKMl9aN.js";
4
- import { u as E } from "./useSelect-beVhTinV.js";
3
+ import { u as j } from "./index-DxvwPTEb.js";
4
+ import { u as E } from "./useSelect-DPAj6FVz.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-CPKMl9aN.js";
2
+ import { a as y } from "./index-DxvwPTEb.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-CPKMl9aN.js";
2
+ import { u as V } from "./index-DxvwPTEb.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-CPKMl9aN.js";
3
+ import { _ as f } from "./index-DxvwPTEb.js";
4
4
  const $ = {
5
5
  key: 0,
6
6
  style: { "min-width": "300px" }
@@ -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-CPKMl9aN.js";
2
+ import { b as H, u as K, c as Q } from "./index-DxvwPTEb.js";
3
3
  import "element-plus";
4
4
  const Z = $({
5
5
  props: {
@@ -1,57 +1,57 @@
1
- import { defineComponent as M, inject as p, resolveComponent as m, openBlock as a, createBlock as u, mergeProps as g, withCtx as _, createElementVNode as s, toDisplayString as k, createElementBlock as C, Fragment as h, renderList as L, createTextVNode as x, createCommentVNode as B } from "vue";
2
- import { b as V } from "./index-CPKMl9aN.js";
3
- const E = { class: "custom-tree-node" }, $ = /* @__PURE__ */ M({
1
+ import { defineComponent as g, inject as p, resolveComponent as m, openBlock as d, createBlock as u, mergeProps as L, withCtx as _, createElementVNode as s, toDisplayString as k, createElementBlock as C, Fragment as f, renderList as b, withModifiers as x, createTextVNode as B, createCommentVNode as V } from "vue";
2
+ import { b as w } from "./index-DxvwPTEb.js";
3
+ const E = { class: "custom-tree-node" }, $ = /* @__PURE__ */ g({
4
4
  __name: "Component",
5
5
  props: {
6
6
  onNodeClick: {},
7
7
  onLoad: {},
8
8
  btns: {}
9
9
  },
10
- setup(f) {
11
- const l = f, t = p("ruleModule", void 0), d = p("pageMethodMap", {}), y = (e, n, o) => {
10
+ setup(h) {
11
+ const l = h, t = p("ruleModule", void 0), a = p("pageMethodMap", {}), y = (e, n, o) => {
12
12
  if (t)
13
13
  try {
14
- t[e](d, { node: n, data: o });
14
+ t[e](a, { node: n, data: o });
15
15
  } catch (c) {
16
16
  console.error(c);
17
17
  }
18
18
  }, N = (e, n) => {
19
19
  if (l.onNodeClick && t)
20
20
  try {
21
- t[l.onNodeClick](d, { node: e, data: n });
21
+ t[l.onNodeClick](a, { node: e, data: n });
22
22
  } catch (o) {
23
23
  console.error(o);
24
24
  }
25
- }, b = (e, n, o) => {
25
+ }, M = (e, n, o) => {
26
26
  if (l.onLoad && t)
27
27
  try {
28
- t[l.onLoad](d, { node: e, resolve: n, reject: o });
28
+ t[l.onLoad](a, { node: e, resolve: n, reject: o });
29
29
  } catch (c) {
30
30
  console.error(c);
31
31
  }
32
32
  };
33
33
  return (e, n) => {
34
34
  const o = m("el-button"), c = m("el-tree");
35
- return a(), u(c, g(e.$attrs, {
35
+ return d(), u(c, L(e.$attrs, {
36
36
  onNodeClick: N,
37
- load: b
37
+ load: M
38
38
  }), {
39
39
  default: _(({ node: i, data: v }) => [
40
40
  s("div", E, [
41
41
  s("span", null, k(i.label), 1),
42
42
  s("div", null, [
43
- (a(!0), C(h, null, L(e.btns, (r) => (a(), C(h, {
43
+ (d(!0), C(f, null, b(e.btns, (r) => (d(), C(f, {
44
44
  key: r.key
45
45
  }, [
46
- r.hidden ? B("", !0) : (a(), u(o, {
46
+ r.hidden ? V("", !0) : (d(), u(o, {
47
47
  key: 0,
48
48
  link: "",
49
- onClick: (j) => y(r.onClick, i, v),
49
+ onClick: x((j) => y(r.onClick, i, v), ["stop"]),
50
50
  disabled: r.disabled,
51
51
  type: r.type
52
52
  }, {
53
53
  default: _(() => [
54
- x(k(r.text), 1)
54
+ B(k(r.text), 1)
55
55
  ]),
56
56
  _: 2
57
57
  }, 1032, ["onClick", "disabled", "type"]))
@@ -63,7 +63,7 @@ const E = { class: "custom-tree-node" }, $ = /* @__PURE__ */ M({
63
63
  }, 16);
64
64
  };
65
65
  }
66
- }), D = /* @__PURE__ */ V($, [["__scopeId", "data-v-a0b3221b"]]);
66
+ }), F = /* @__PURE__ */ w($, [["__scopeId", "data-v-c6986e9f"]]);
67
67
  export {
68
- D as default
68
+ F as default
69
69
  };
@@ -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-CPKMl9aN.js";
5
+ import { u as b, b as x } from "./index-DxvwPTEb.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 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-CPKMl9aN.js";
2
+ import { b as i } from "./index-DxvwPTEb.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-CPKMl9aN.js";
2
+ import { b as s } from "./index-DxvwPTEb.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-CPKMl9aN.js";
2
+ import { u as U, l as w, d as W, e as V, _ as L, f as X } from "./index-DxvwPTEb.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-CPKMl9aN.js";
2
+ import { a as i } from "./index-DxvwPTEb.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-CPKMl9aN.js";
2
+ import { a as c, b as f } from "./index-DxvwPTEb.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-CPKMl9aN.js";
2
+ import { b as xt, g as Nt } from "./index-DxvwPTEb.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-CPKMl9aN.js";
2
+ import { u as j, d as h, e as k } from "./index-DxvwPTEb.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 B, 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-CPKMl9aN.js";
3
- import { u as j } from "./useSelect-beVhTinV.js";
2
+ import { u as $ } from "./index-DxvwPTEb.js";
3
+ import { u as j } from "./useSelect-DPAj6FVz.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 b, resolveDirective as I, unref as d, openBlock as o, createElementBlock as u, toDisplayString as v, withDirectives as N, createBlock as k, mergeProps as j, withCtx as y, 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-CPKMl9aN.js";
3
- import { u as U } from "./useSelect-beVhTinV.js";
2
+ import { u as L, _ as O, b as T } from "./index-DxvwPTEb.js";
3
+ import { u as U } from "./useSelect-DPAj6FVz.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 C, mergeModels as V, useModel as _, inject as m, resolveComponent as f, resolveDirective as D, openBlock as r, createBlock as v, mergeProps as k, withCtx as y, withDirectives as B, createElementBlock as b, Fragment as S, renderList as A, unref as g, createTextVNode as F, toDisplayString as w } from "vue";
2
- import { u as I } from "./index-CPKMl9aN.js";
3
- import { u as N } from "./useSelect-beVhTinV.js";
2
+ import { u as I } from "./index-DxvwPTEb.js";
3
+ import { u as N } from "./useSelect-DPAj6FVz.js";
4
4
  const P = { style: { "min-height": "32px" } }, O = /* @__PURE__ */ C({
5
5
  __name: "Select",
6
6
  props: /* @__PURE__ */ V({
@@ -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-CPKMl9aN.js";
2
+ import { a as V } from "./index-DxvwPTEb.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-CPKMl9aN.js";
2
+ import { u as v } from "./index-DxvwPTEb.js";
3
3
  import "element-plus";
4
4
  const V = { key: 0 }, B = /* @__PURE__ */ u({
5
5
  __name: "TextArea",