asiaint-lowcode 3.1.69 → 3.1.70

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 (41) hide show
  1. package/dist/asiaint-lowcode.js +1 -1
  2. package/dist/asiaint-lowcode.umd.cjs +124 -123
  3. package/dist/index.d.ts +2 -0
  4. package/dist/lazy/{Card-MJNRlbmb.js → Card-CsyOMym1.js} +1 -1
  5. package/dist/lazy/{Cascader-CIo49La7.js → Cascader-B4hAhDgE.js} +1 -1
  6. package/dist/lazy/{Checkbox-B5NoTEYq.js → Checkbox-BFJ5LePR.js} +2 -2
  7. package/dist/lazy/{Collapse-C029C6PT.js → Collapse-C_4KYRbX.js} +1 -1
  8. package/dist/lazy/{Component-i5qaGCqo.js → Component-BivW5egv.js} +1 -1
  9. package/dist/lazy/{Component-BVuNhWVb.js → Component-Cwo8jj-S.js} +1 -1
  10. package/dist/lazy/{Component-CwFaym4X.js → Component-CyMAtvdX.js} +1 -1
  11. package/dist/lazy/{Component-465yKvk1.js → Component-DEmQ4V67.js} +1 -1
  12. package/dist/lazy/{Component-C-1CiZIF.js → Component-DyJy9PYh.js} +1 -1
  13. package/dist/lazy/Component-Dyinr6lK.js +161 -0
  14. package/dist/lazy/{CurdCard-CEXC-SHc.js → CurdCard-B7Ia_jHc.js} +1 -1
  15. package/dist/lazy/{Custom-CZp7HqOb.js → Custom-JI8V09YD.js} +1 -1
  16. package/dist/lazy/{DatePicker-TMvM2NU0.js → DatePicker-DQuUQhWb.js} +1 -1
  17. package/dist/lazy/{DragList-Yo8cVHQN.js → DragList-CuAfRFuQ.js} +1 -1
  18. package/dist/lazy/{FilterSearch-CbnqMNP0.js → FilterSearch-BpJfBhcE.js} +1 -1
  19. package/dist/lazy/{FloatCurd-Bp9DCjoX.js → FloatCurd-DUMejxJa.js} +1 -1
  20. package/dist/lazy/{FormList-DrfFBIsW.js → FormList-xsBrCvvu.js} +1 -1
  21. package/dist/lazy/{Grid-DcXAZCjq.js → Grid-D0Zv5iSy.js} +1 -1
  22. package/dist/lazy/{InfiniteScroll-BROn8Jmb.js → InfiniteScroll-GrqKUWNg.js} +1 -1
  23. package/dist/lazy/{Inline-CpO01eat.js → Inline-BZ8e83jr.js} +1 -1
  24. package/dist/lazy/{JsonEdit-Cq0fPWe7.js → JsonEdit-CchewQwM.js} +1 -1
  25. package/dist/lazy/{LogList-_flMPfUC.js → LogList-Ca-6Espa.js} +1 -1
  26. package/dist/lazy/{ObjGroup-Cq2dMHhS.js → ObjGroup-5XPHM88s.js} +1 -1
  27. package/dist/lazy/{OfferDetails-DWwFL_DD.js → OfferDetails-CWg-EuM3.js} +1 -1
  28. package/dist/lazy/{Pagination-KqPvPQB1.js → Pagination-DdfH9_ex.js} +1 -1
  29. package/dist/lazy/{Progress-KUBgLX9Q.js → Progress-CEooFhH4.js} +1 -1
  30. package/dist/lazy/{Radio-DIqU_Ld4.js → Radio-Dy59Ycsh.js} +2 -2
  31. package/dist/lazy/{SearchSelect-Dp03l8Zr.js → SearchSelect-Xx2SkrOz.js} +2 -2
  32. package/dist/lazy/{Select-v5W6XbYs.js → Select-DdZQPpZZ.js} +2 -2
  33. package/dist/lazy/{Table-CtgptAGs.js → Table-DECbm9ro.js} +1 -1
  34. package/dist/lazy/{Tabs-BCHGE0zO.js → Tabs-7oQ7y-T2.js} +1 -1
  35. package/dist/lazy/{TextArea-QEY9tb7h.js → TextArea-CtwrVwIU.js} +1 -1
  36. package/dist/lazy/{Wrapper-38XuaxGl.js → Wrapper-C8-YPMBw.js} +1 -1
  37. package/dist/lazy/{index-CQ54psBg.js → index-BOlX4x7v.js} +33 -33
  38. package/dist/lazy/{useSelect-ZnOr3jxO.js → useSelect-CrlW7Igo.js} +1 -1
  39. package/dist/style.css +1 -1
  40. package/package.json +1 -1
  41. package/dist/lazy/Component-BmuukX5H.js +0 -143
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asiaint-lowcode",
3
- "version": "3.1.69",
3
+ "version": "3.1.70",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -1,143 +0,0 @@
1
- import { defineComponent as B, inject as v, ref as g, watch as E, useTemplateRef as I, readonly as P, onUnmounted as V, resolveComponent as m, openBlock as d, createBlock as y, mergeProps as j, withCtx as k, createElementVNode as p, normalizeClass as K, toDisplayString as x, createElementBlock as f, createCommentVNode as C, Fragment as L, renderList as F, unref as z, withModifiers as D, createVNode as S } from "vue";
2
- import { j as U, h as q, I as G, _ as H } from "./index-CQ54psBg.js";
3
- import "element-plus";
4
- const J = { class: "tree-node-text" }, O = ["title"], Q = {
5
- key: 0,
6
- class: "tree-node-present"
7
- }, W = /* @__PURE__ */ B({
8
- __name: "Component",
9
- props: {
10
- onNodeClick: {},
11
- onCheckChange: {},
12
- onLoad: {},
13
- btns: {},
14
- data: {},
15
- props: {},
16
- nodeKey: {},
17
- styleType: {},
18
- name: {}
19
- },
20
- setup(M, { expose: $ }) {
21
- const o = M, r = v("ruleModule", void 0), u = v("pageMethodMap", {}), s = g(), R = (e, t) => {
22
- s.value = e[o.nodeKey];
23
- }, T = (e, t, a) => {
24
- if (e && r)
25
- try {
26
- r[e](u, { node: t, data: a });
27
- } catch (l) {
28
- console.error(l + `
29
- onNodeClick: ${o.onNodeClick}`);
30
- }
31
- }, b = (e, t) => {
32
- if (o.onNodeClick && r)
33
- try {
34
- r[o.onNodeClick](u, { node: e, data: t });
35
- } catch (a) {
36
- console.error(a + `
37
- onNodeClick: ${o.onNodeClick}`);
38
- }
39
- }, w = (e, t, a) => {
40
- if (o.onLoad && r)
41
- try {
42
- r[o.onLoad](u, { node: e, resolve: t, reject: a });
43
- } catch (l) {
44
- console.error(l + `
45
- onLoad: ${o.onLoad}`);
46
- }
47
- }, h = g([]);
48
- E(
49
- //默认展开根节点
50
- () => o.data,
51
- () => {
52
- if (!o.data || !Array.isArray(o.data) || o.data.length === 0)
53
- return;
54
- const t = [o.data[0][o.nodeKey]];
55
- h.value = t;
56
- },
57
- {
58
- immediate: !0
59
- }
60
- );
61
- const _ = I("treeRef"), N = P({
62
- getCheckedNodes: () => {
63
- var e;
64
- return (e = _.value) == null ? void 0 : e.getCheckedNodes();
65
- },
66
- type: "tree"
67
- });
68
- if (o.name) {
69
- const e = U(o.name, N);
70
- V(() => {
71
- e();
72
- });
73
- }
74
- return $(N), (e, t) => {
75
- const a = m("el-tooltip"), l = m("el-button"), A = m("el-tree");
76
- return d(), y(A, j(e.$attrs, {
77
- onNodeClick: b,
78
- load: w,
79
- ref_key: "treeRef",
80
- ref: _,
81
- class: ["crm-tree", { "modal-tree": e.styleType === "modal" }],
82
- indent: 32,
83
- "current-node-key": s.value,
84
- onCurrentChange: R,
85
- "node-key": e.nodeKey,
86
- props: o.props,
87
- data: e.data,
88
- "default-expanded-keys": h.value
89
- }), {
90
- default: k(({ node: c, data: i }) => [
91
- p("div", {
92
- class: K(["custom-tree-node", { "modal-tree-node": e.styleType === "modal" }])
93
- }, [
94
- p("div", J, [
95
- p("span", {
96
- class: K(["tree-node-label", { active: i[e.nodeKey] === s.value && e.styleType === "modal" }]),
97
- title: c.label
98
- }, x(c.label), 11, O),
99
- i[e.nodeKey] === s.value ? (d(), f("div", Q, "Present")) : C("", !0)
100
- ]),
101
- p("div", null, [
102
- (d(!0), f(L, null, F(e.btns, (n) => (d(), f(L, {
103
- key: n.key
104
- }, [
105
- z(q)(n.hidden, { $node: c, $data: i }) ? C("", !0) : (d(), y(l, {
106
- key: 0,
107
- link: "",
108
- onClick: D((Y) => T(n.onClick || "", c, i), ["stop"]),
109
- disabled: n.disabled,
110
- type: n.type
111
- }, {
112
- default: k(() => [
113
- S(a, {
114
- class: "box-item",
115
- effect: "dark",
116
- content: n.text,
117
- placement: "top"
118
- }, {
119
- default: k(() => [
120
- n.icon ? (d(), y(G, {
121
- key: 0,
122
- name: n.icon.name,
123
- color: n.icon.color,
124
- class: "btn-icon"
125
- }, null, 8, ["name", "color"])) : C("", !0)
126
- ]),
127
- _: 2
128
- }, 1032, ["content"])
129
- ]),
130
- _: 2
131
- }, 1032, ["onClick", "disabled", "type"]))
132
- ], 64))), 128))
133
- ])
134
- ], 2)
135
- ]),
136
- _: 1
137
- }, 16, ["class", "current-node-key", "node-key", "props", "data", "default-expanded-keys"]);
138
- };
139
- }
140
- }), te = /* @__PURE__ */ H(W, [["__scopeId", "data-v-ccd0366a"]]);
141
- export {
142
- te as default
143
- };