asiaint-lowcode 3.1.60 → 3.1.61

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 +94 -94
  3. package/dist/index.d.ts +2 -0
  4. package/dist/lazy/{Card-CtkDhg7J.js → Card-Dxq3cVW6.js} +1 -1
  5. package/dist/lazy/{Cascader-Bkdk_TID.js → Cascader-D4rNw2qg.js} +1 -1
  6. package/dist/lazy/{Checkbox-DxV4bSLI.js → Checkbox-DGgHsD8p.js} +2 -2
  7. package/dist/lazy/{Collapse-Bp6TAdcJ.js → Collapse-DUmdH0RQ.js} +1 -1
  8. package/dist/lazy/{Component-DvuOeEsQ.js → Component-7csnLAeZ.js} +1 -1
  9. package/dist/lazy/{Component-B1EacXVc.js → Component-CIKZmKhh.js} +1 -1
  10. package/dist/lazy/{Component--IGlsbkM.js → Component-COYZ86sZ.js} +1 -1
  11. package/dist/lazy/{Component-7YywnfwC.js → Component-CxhLOEym.js} +1 -1
  12. package/dist/lazy/{Component-DVSEC5DD.js → Component-DCAWlthU.js} +1 -1
  13. package/dist/lazy/{Component-DEXcNOWE.js → Component-ouzG5wbh.js} +1 -1
  14. package/dist/lazy/{CurdCard-Dfh0yh25.js → CurdCard-BA_egCYD.js} +1 -1
  15. package/dist/lazy/{Custom-DE4KG3Il.js → Custom-CVrAxiNW.js} +1 -1
  16. package/dist/lazy/{DatePicker-C09Gfhpv.js → DatePicker-CXVYWFPZ.js} +1 -1
  17. package/dist/lazy/{DragList-Dm7L5sVj.js → DragList-fQsHPuAM.js} +1 -1
  18. package/dist/lazy/{FilterSearch-DwrpPmrj.js → FilterSearch-BkzURcY_.js} +1 -1
  19. package/dist/lazy/FloatCurd-Ciy5Rkid.js +174 -0
  20. package/dist/lazy/{FormList-DG8A37-Z.js → FormList-BMwUTy7q.js} +1 -1
  21. package/dist/lazy/{Grid-DwwanV2Z.js → Grid-DQgzT4bE.js} +1 -1
  22. package/dist/lazy/{InfiniteScroll-ph2S1W8R.js → InfiniteScroll-Bdktp4Kj.js} +1 -1
  23. package/dist/lazy/{Inline-DfWJ2I7X.js → Inline-CfFNPozW.js} +1 -1
  24. package/dist/lazy/{JsonEdit-7I9h1gGR.js → JsonEdit-DJr20ek-.js} +1 -1
  25. package/dist/lazy/{LogList-7HEmspLh.js → LogList-CXr0rALq.js} +1 -1
  26. package/dist/lazy/{ObjGroup-W5Ot0JLz.js → ObjGroup-CqWIRcKv.js} +1 -1
  27. package/dist/lazy/{OfferDetails-B4ibyqTh.js → OfferDetails-C51DI1hI.js} +1 -1
  28. package/dist/lazy/{Pagination-DZV98To6.js → Pagination-CDPXROpR.js} +1 -1
  29. package/dist/lazy/{Progress-CeIMtL2x.js → Progress-V5CojBQN.js} +1 -1
  30. package/dist/lazy/{Radio-DmCzq9ra.js → Radio-DxcUAok0.js} +2 -2
  31. package/dist/lazy/{SearchSelect-48ITQSvX.js → SearchSelect-aRPpqkU2.js} +2 -2
  32. package/dist/lazy/{Select-C2OY0d5n.js → Select-Cqd1G8mf.js} +2 -2
  33. package/dist/lazy/{Table-CAeE0xY3.js → Table-GxeYWi3_.js} +1 -1
  34. package/dist/lazy/{Tabs-BDN7xdhE.js → Tabs-fGnYHEKa.js} +1 -1
  35. package/dist/lazy/{TextArea-BNr-PiJF.js → TextArea-BFhM-AvT.js} +1 -1
  36. package/dist/lazy/{Wrapper-D8qKcS7A.js → Wrapper-m36lJeKB.js} +1 -1
  37. package/dist/lazy/{index-BjUvGrb1.js → index-Bwed-7g2.js} +47 -41
  38. package/dist/lazy/{useSelect-Ci8dTLOE.js → useSelect-OBx2IpLG.js} +1 -1
  39. package/dist/style.css +1 -1
  40. package/package.json +1 -1
  41. package/dist/lazy/FloatCurd-CqiaSEGO.js +0 -162
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asiaint-lowcode",
3
- "version": "3.1.60",
3
+ "version": "3.1.61",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -1,162 +0,0 @@
1
- import { defineComponent as G, ref as g, computed as R, onUnmounted as U, resolveComponent as M, withDirectives as A, openBlock as u, createElementBlock as b, createElementVNode as t, createVNode as a, withCtx as d, createTextVNode as B, toDisplayString as y, unref as L, vShow as D, Fragment as H, renderList as J, createBlock as w, createCommentVNode as T } from "vue";
2
- import { c as K, u as O, i as Y, j as Q, I as m, b as W, _ as X } from "./index-BjUvGrb1.js";
3
- import { dayjs as Z } from "element-plus";
4
- const ee = { class: "float-curd" }, oe = { class: "curd-body" }, ne = { class: "gradient-input-wrapper" }, te = { class: "float-form" }, le = { class: "float-form-header" }, ae = { class: "float-form-header-title" }, se = { class: "float-form-header-btns" }, re = { class: "float-form-body" }, ie = { class: "curd-footer" }, ce = /* @__PURE__ */ G({
5
- __name: "FloatCurd",
6
- props: {
7
- name: {},
8
- children: {},
9
- formTitle: {},
10
- onSearch: {},
11
- onAiSearch: {},
12
- inputPlaceholder: {},
13
- hidden: { type: Boolean }
14
- },
15
- setup($, { expose: j }) {
16
- const i = $, c = g(!1), { ruleModule: C, pageMethodMap: k } = K(), v = O(), q = R(() => {
17
- var n, _, S, x, F;
18
- const o = v.schema.items, e = v.formValues, s = Y(o, i.name);
19
- if (!s || !s.children)
20
- return [];
21
- const f = [];
22
- for (const N in e) {
23
- const l = Y(s.children, N);
24
- if (l && l.label) {
25
- const r = e[N];
26
- if (r != null && r !== "") {
27
- const p = {
28
- name: l.name,
29
- label: l.label,
30
- value: r,
31
- closeable: !l.required && !((n = l.props) != null && n.disabled)
32
- };
33
- l.component === "DatePicker" && (p.iconName = "icon-rili", p.value = Z(r).format(((_ = l.props) == null ? void 0 : _.valueFormat) || "YYYY-MM-DD")), l.component === "Select" && (p.value = (F = (x = (S = l.props) == null ? void 0 : S.options) == null ? void 0 : x.find((E) => E.value === r)) == null ? void 0 : F.label), f.push(p);
34
- }
35
- }
36
- }
37
- return f;
38
- }), h = g("");
39
- function P() {
40
- try {
41
- C[i.onSearch](k), c.value = !1;
42
- } catch (o) {
43
- console.error(o);
44
- }
45
- }
46
- function V() {
47
- try {
48
- C[i.onAiSearch](k, h.value);
49
- } catch (o) {
50
- console.error(o);
51
- }
52
- }
53
- function z(o) {
54
- v.setFieldValue(o.name, "", "");
55
- }
56
- const I = {
57
- type: "floatcurd"
58
- };
59
- if (j(I), i.name) {
60
- const o = Q(i.name, I);
61
- U(() => {
62
- o();
63
- });
64
- }
65
- return (o, e) => {
66
- const s = M("el-button"), f = M("el-input");
67
- return A((u(), b("div", ee, [
68
- t("div", oe, [
69
- t("div", ne, [
70
- a(f, {
71
- placeholder: o.inputPlaceholder,
72
- modelValue: h.value,
73
- "onUpdate:modelValue": e[0] || (e[0] = (n) => h.value = n),
74
- clearable: "",
75
- onClear: V
76
- }, {
77
- prefix: d(() => [
78
- a(m, { name: "icon-a-mobang1" }),
79
- e[3] || (e[3] = t("span", { class: "prefix-text" }, "Ask AI", -1))
80
- ]),
81
- suffix: d(() => [
82
- a(s, {
83
- type: "primary",
84
- size: "small",
85
- onClick: V
86
- }, {
87
- default: d(() => e[4] || (e[4] = [
88
- B("Go")
89
- ])),
90
- _: 1
91
- })
92
- ]),
93
- _: 1
94
- }, 8, ["placeholder", "modelValue"])
95
- ]),
96
- a(s, {
97
- plain: !0,
98
- onClick: e[1] || (e[1] = (n) => c.value = !c.value),
99
- class: "more-btn"
100
- }, {
101
- default: d(() => [
102
- a(m, { name: "icon-tiaojianshaixuan" }),
103
- e[5] || (e[5] = t("span", null, "More", -1))
104
- ]),
105
- _: 1
106
- }),
107
- A(t("div", te, [
108
- t("div", le, [
109
- t("div", ae, y(o.formTitle), 1),
110
- t("div", se, [
111
- a(s, {
112
- type: "primary",
113
- size: "small",
114
- onClick: P
115
- }, {
116
- default: d(() => e[6] || (e[6] = [
117
- B("Go")
118
- ])),
119
- _: 1
120
- }),
121
- a(m, {
122
- name: "icon-a-rongqi1",
123
- onClick: e[2] || (e[2] = (n) => c.value = !1)
124
- })
125
- ])
126
- ]),
127
- t("div", re, [
128
- a(L(W), { list: o.children }, null, 8, ["list"])
129
- ])
130
- ], 512), [
131
- [D, c.value]
132
- ])
133
- ]),
134
- t("div", ie, [
135
- (u(!0), b(H, null, J(q.value, (n) => (u(), b("div", {
136
- class: "tag",
137
- key: n.name
138
- }, [
139
- n.iconName ? (u(), w(m, {
140
- key: 0,
141
- name: n.iconName
142
- }, null, 8, ["name"])) : T("", !0),
143
- t("span", null, y(n.label) + ":", 1),
144
- t("span", null, y(n.value), 1),
145
- n.closeable ? (u(), w(m, {
146
- key: 1,
147
- name: "icon-a-rongqi1",
148
- onClick: (_) => z(n),
149
- class: "close-icon"
150
- }, null, 8, ["onClick"])) : T("", !0)
151
- ]))), 128)),
152
- e[7] || (e[7] = t("div", { class: "clear-btn" }, "Clear filters", -1))
153
- ])
154
- ], 512)), [
155
- [D, !o.hidden]
156
- ]);
157
- };
158
- }
159
- }), fe = /* @__PURE__ */ X(ce, [["__scopeId", "data-v-aa012458"]]);
160
- export {
161
- fe as default
162
- };