asiaint-lowcode 3.0.48 → 3.0.49

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 (33) hide show
  1. package/dist/asiaint-lowcode.js +1 -1
  2. package/dist/asiaint-lowcode.umd.cjs +116 -116
  3. package/dist/index.d.ts +1 -0
  4. package/dist/lazy/{Card-CXT24hFY.js → Card-DMjUpAIj.js} +1 -1
  5. package/dist/lazy/{Cascader-Pokg08yK.js → Cascader-BT35dY5a.js} +1 -1
  6. package/dist/lazy/{Checkbox-Bfi1igXe.js → Checkbox-Ci68WFSK.js} +2 -2
  7. package/dist/lazy/{Collapse-Cq3Z5LUb.js → Collapse-2gI86A_7.js} +1 -1
  8. package/dist/lazy/{Component-C-fNXd9T.js → Component-Bb4MX577.js} +1 -1
  9. package/dist/lazy/{Component-Brf8Tpla.js → Component-BshKf2fx.js} +1 -1
  10. package/dist/lazy/{Component-BRpV8m6X.js → Component-CQ_IOd1F.js} +1 -1
  11. package/dist/lazy/{Component-Ae6iIDeb.js → Component-CupeeD39.js} +1 -1
  12. package/dist/lazy/{Component-BjWBsfKW.js → Component-DLYq9LM0.js} +1 -1
  13. package/dist/lazy/{Component-9AnEsQDK.js → Component-DtA_b93M.js} +1 -1
  14. package/dist/lazy/CurdCard-CKXu74a9.js +160 -0
  15. package/dist/lazy/{Custom-hWu0Q6FZ.js → Custom-DjuGXd6F.js} +1 -1
  16. package/dist/lazy/{FormList-BCBAuCnO.js → FormList-Bj4lHerF.js} +1 -1
  17. package/dist/lazy/{Grid-DHoPAE4o.js → Grid-Mk8mub7Q.js} +1 -1
  18. package/dist/lazy/{Inline-52tfJp9S.js → Inline-DSqJRCsx.js} +1 -1
  19. package/dist/lazy/{JsonEdit-Diiqc8Fx.js → JsonEdit-DicMSM8-.js} +1 -1
  20. package/dist/lazy/{ObjGroup-DmkpIILA.js → ObjGroup-Cg4dRbsJ.js} +1 -1
  21. package/dist/lazy/{OfferDetails-DbYK4sOF.js → OfferDetails-DB_EzEAA.js} +1 -1
  22. package/dist/lazy/{OrderProgress-BTlnVLjv.js → OrderProgress-CZpGdfnW.js} +1 -1
  23. package/dist/lazy/{Radio-CvbLZ4LB.js → Radio-BX5Zmp8e.js} +2 -2
  24. package/dist/lazy/{SearchSelect-WSzBaNyX.js → SearchSelect-kvSJSKSC.js} +2 -2
  25. package/dist/lazy/{Select-CBG0Q_KL.js → Select-BIPa0tLx.js} +2 -2
  26. package/dist/lazy/{Table-D4kpXus2.js → Table-BbjU_j_p.js} +1 -1
  27. package/dist/lazy/{Tabs-Dt9V-WE7.js → Tabs-GI54UFjX.js} +1 -1
  28. package/dist/lazy/{Wrapper-T-of6mnW.js → Wrapper-DvJMU1UR.js} +1 -1
  29. package/dist/lazy/{index-BkLDpr2h.js → index-DSejQqUN.js} +2104 -2081
  30. package/dist/lazy/{useSelect-BY8D93iV.js → useSelect-Cqr1eRPd.js} +1 -1
  31. package/dist/style.css +2 -2
  32. package/package.json +1 -1
  33. package/dist/lazy/CurdCard-DBLv0WYy.js +0 -135
package/dist/index.d.ts CHANGED
@@ -472,6 +472,7 @@ declare type InfoCardSchema = {
472
472
  key: string;
473
473
  rulePath?: string;
474
474
  onMounted?: string;
475
+ onActivated?: string;
475
476
  detail: {
476
477
  label: string;
477
478
  value: string;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as g, ref as M, inject as h, resolveComponent as d, openBlock as o, createBlock as i, mergeProps as $, withCtx as c, createElementVNode as s, createElementBlock as n, createVNode as t, unref as p, normalizeClass as I, createCommentVNode as E, toDisplayString as v, Fragment as u, renderList as C, withDirectives as V, vShow as D } from "vue";
2
- import { _ as F, I as k, B as N, a as S, b as j } from "./index-BkLDpr2h.js";
2
+ import { _ as F, I as k, B as N, a as S, b as j } from "./index-DSejQqUN.js";
3
3
  import "element-plus";
4
4
  const z = { class: "card-header" }, H = { class: "card-btns" }, L = { class: "card-sub-header" }, P = /* @__PURE__ */ g({
5
5
  __name: "Card",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as f, mergeModels as g, useModel as v, inject as r, resolveComponent as y, openBlock as M, createBlock as C, mergeProps as h, unref as d } from "vue";
2
2
  import "element-plus";
3
- import { u as b } from "./useSelect-BY8D93iV.js";
3
+ import { u as b } from "./useSelect-Cqr1eRPd.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 z, useModel as D, watch as F, 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 b, Fragment as y, renderList as v, createCommentVNode as f } from "vue";
2
2
  import "element-plus";
3
- import { u as j } from "./index-BkLDpr2h.js";
4
- import { u as E } from "./useSelect-BY8D93iV.js";
3
+ import { u as j } from "./index-DSejQqUN.js";
4
+ import { u as E } from "./useSelect-Cqr1eRPd.js";
5
5
  const L = { key: 0 }, q = /* @__PURE__ */ w({
6
6
  __name: "Checkbox",
7
7
  props: /* @__PURE__ */ z({
@@ -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-BkLDpr2h.js";
2
+ import { a as y } from "./index-DSejQqUN.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 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-BkLDpr2h.js";
2
+ import { u as v } from "./index-DSejQqUN.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 b, 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-BkLDpr2h.js";
2
+ import { f as F, I as j, b as D } from "./index-DSejQqUN.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,
@@ -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-BkLDpr2h.js";
5
+ import { u as b, b as x } from "./index-DSejQqUN.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 $, 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-BkLDpr2h.js";
2
+ import { b as H, u as K, c as Q } from "./index-DSejQqUN.js";
3
3
  import "element-plus";
4
4
  const Z = $({
5
5
  props: {
@@ -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-BkLDpr2h.js";
2
+ import { u as V } from "./index-DSejQqUN.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-BkLDpr2h.js";
3
+ import { _ as f } from "./index-DSejQqUN.js";
4
4
  const $ = {
5
5
  key: 0,
6
6
  style: { "min-width": "300px" }
@@ -0,0 +1,160 @@
1
+ import { defineComponent as D, inject as V, ref as I, resolveComponent as C, openBlock as n, createElementBlock as s, createElementVNode as i, normalizeClass as y, createBlock as r, createCommentVNode as m, toDisplayString as M, withCtx as f, Fragment as w, renderList as $, createTextVNode as j, createVNode as p, unref as T, withDirectives as P, vShow as U } from "vue";
2
+ import { u as q, I as u, B as A, a as R, h as G, b as H } from "./index-DSejQqUN.js";
3
+ import "element-plus";
4
+ const J = { class: "crm-curd-card" }, K = { class: "left-part" }, O = { class: "title" }, Q = { class: "right-part" }, W = {
5
+ key: 0,
6
+ class: "switch-panel"
7
+ }, X = { key: 2 }, Y = /* @__PURE__ */ D({
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
+ displayType: {},
21
+ radioList: {},
22
+ onRadioChange: {}
23
+ },
24
+ setup(S) {
25
+ const c = V("ruleModule", void 0), k = V("pageMethodMap", {}), t = S, g = I("1"), B = (e) => {
26
+ if (e && c)
27
+ try {
28
+ c[e](k);
29
+ } catch (o) {
30
+ console.error(o);
31
+ }
32
+ }, L = (e) => {
33
+ t.onRadioChange && c && c[t.onRadioChange](k, e);
34
+ }, N = () => {
35
+ d.value = !d.value, t.onCollapsed && c && c[t.onCollapsed](k, d.value);
36
+ }, d = I(!1), v = I(t.displayType || (t.typeSwitch ? "card" : "table")), z = q(), b = (e) => {
37
+ v.value = e;
38
+ const o = G(z.schema.items, t.name), h = (_) => {
39
+ _.forEach((a) => {
40
+ a.component === "Table" && a.props && (a.props.displayType = e), a.children && a.children.length > 0 && h(a.children);
41
+ });
42
+ };
43
+ o && o.children && h(o.children);
44
+ };
45
+ return b(v.value), (e, o) => {
46
+ const h = C("el-radio"), _ = C("el-radio-group"), a = C("el-tooltip"), E = C("el-collapse-transition");
47
+ return n(), s("div", J, [
48
+ i("div", {
49
+ class: y(["card-header", {
50
+ inline: e.type === "inline",
51
+ mix: e.type === "mix",
52
+ default: e.type === "default",
53
+ collapsedPadding: d.value && e.onCollapsed
54
+ }])
55
+ }, [
56
+ i("div", K, [
57
+ e.mainIcon ? (n(), r(u, {
58
+ key: 0,
59
+ class: "title-icon",
60
+ size: "large",
61
+ name: e.mainIcon.name,
62
+ color: e.mainIcon.color
63
+ }, null, 8, ["name", "color"])) : m("", !0),
64
+ i("span", O, M(e.title), 1),
65
+ e.radioList ? (n(), r(_, {
66
+ key: 1,
67
+ class: "ml-9",
68
+ modelValue: g.value,
69
+ "onUpdate:modelValue": o[0] || (o[0] = (l) => g.value = l),
70
+ onChange: o[1] || (o[1] = (l) => L(g.value))
71
+ }, {
72
+ default: f(() => [
73
+ (n(!0), s(w, null, $(e.radioList, (l) => (n(), r(h, {
74
+ value: l.value,
75
+ size: "large",
76
+ key: l.value
77
+ }, {
78
+ default: f(() => [
79
+ j(M(l.label), 1)
80
+ ]),
81
+ _: 2
82
+ }, 1032, ["value"]))), 128))
83
+ ]),
84
+ _: 1
85
+ }, 8, ["modelValue"])) : m("", !0),
86
+ (n(!0), s(w, null, $(e.extraIcons, (l) => (n(), s(w, {
87
+ key: l.name
88
+ }, [
89
+ l.tips ? (n(), r(a, {
90
+ key: 0,
91
+ content: l.tips,
92
+ placement: "right"
93
+ }, {
94
+ default: f(() => [
95
+ p(u, {
96
+ class: "extra-icon",
97
+ name: l.name,
98
+ color: l.color,
99
+ onClick: (F) => B(l.onClick)
100
+ }, null, 8, ["name", "color", "onClick"])
101
+ ]),
102
+ _: 2
103
+ }, 1032, ["content"])) : (n(), r(u, {
104
+ key: 1,
105
+ class: "extra-icon",
106
+ name: l.name,
107
+ color: l.color,
108
+ onClick: (F) => B(l.onClick)
109
+ }, null, 8, ["name", "color", "onClick"]))
110
+ ], 64))), 128))
111
+ ]),
112
+ i("div", Q, [
113
+ e.typeSwitch ? (n(), s("div", W, [
114
+ i("div", {
115
+ class: y(["switch-icon-wrapper", { active: v.value === "card" }]),
116
+ onClick: o[2] || (o[2] = (l) => b("card"))
117
+ }, [
118
+ p(u, { name: "icon-kapian" })
119
+ ], 2),
120
+ i("div", {
121
+ class: y(["switch-icon-wrapper", { active: v.value === "table" }]),
122
+ onClick: o[3] || (o[3] = (l) => b("table"))
123
+ }, [
124
+ p(u, { name: "icon-biaoge" })
125
+ ], 2)
126
+ ])) : m("", !0),
127
+ e.collapsible ? (n(), s("div", {
128
+ key: 1,
129
+ class: y(["collapse-icon-wrapper", { collapsed: d.value }]),
130
+ onClick: N
131
+ }, [
132
+ p(u, { name: "icon-shaixuan" })
133
+ ], 2)) : m("", !0),
134
+ e.btns && e.btns.length > 0 ? (n(), s("div", X, [
135
+ p(T(A), {
136
+ btns: e.btns || []
137
+ }, null, 8, ["btns"])
138
+ ])) : m("", !0)
139
+ ])
140
+ ], 2),
141
+ e.onCollapsed ? (n(), r(T(R), {
142
+ key: 1,
143
+ list: e.children
144
+ }, null, 8, ["list"])) : (n(), r(E, { key: 0 }, {
145
+ default: f(() => [
146
+ P(i("div", null, [
147
+ p(T(R), { list: e.children }, null, 8, ["list"])
148
+ ], 512), [
149
+ [U, !d.value]
150
+ ])
151
+ ]),
152
+ _: 1
153
+ }))
154
+ ]);
155
+ };
156
+ }
157
+ }), le = /* @__PURE__ */ H(Y, [["__scopeId", "data-v-0cea9e00"]]);
158
+ export {
159
+ le as default
160
+ };
@@ -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-BkLDpr2h.js";
2
+ import { b as i } from "./index-DSejQqUN.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-BkLDpr2h.js";
2
+ import { u as U, l as w, d as W, e as V, _ as L, f as X } from "./index-DSejQqUN.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-BkLDpr2h.js";
2
+ import { a as m } from "./index-DSejQqUN.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-BkLDpr2h.js";
2
+ import { a as c, b as f } from "./index-DSejQqUN.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-BkLDpr2h.js";
2
+ import { b as xt, g as Nt } from "./index-DSejQqUN.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-BkLDpr2h.js";
2
+ import { u as j, d as h, e as k } from "./index-DSejQqUN.js";
3
3
  import "element-plus";
4
4
  const v = { class: "vfc-ObjGroup" }, B = {
5
5
  key: 1,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as D, resolveComponent as B, openBlock as l, createBlock as O, withCtx as E, createVNode as g, createElementVNode as i, createElementBlock as r, Fragment as f, renderList as b, toDisplayString as y, createCommentVNode as w, ref as I, inject as N, watchEffect as A, onMounted as R, normalizeStyle as S } from "vue";
2
- import { j as $, $ as U, b as z } from "./index-BkLDpr2h.js";
2
+ import { j as $, $ as U, b as z } from "./index-DSejQqUN.js";
3
3
  const F = { class: "content" }, j = { class: "product-list" }, x = { class: "attribute-list" }, K = {
4
4
  key: 0,
5
5
  class: "attribute-list-item"