asiaint-lowcode 3.1.140 → 3.1.142
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.
- package/README.md +31 -31
- package/dist/asiaint-lowcode.d.ts +13 -0
- package/dist/asiaint-lowcode.js +1 -1
- package/dist/asiaint-lowcode.umd.cjs +192 -192
- package/dist/lazy/{Card-8vNWeIPg.js → Card-DS0XD8tu.js} +8 -8
- package/dist/lazy/{Cascader-BMAg1b5J.js → Cascader-2xz4WYNR.js} +1 -1
- package/dist/lazy/{Checkbox-Cuy9UcGI.js → Checkbox-CARZTCib.js} +2 -2
- package/dist/lazy/{Collapse-CouIUiVy.js → Collapse-BHYYPY9J.js} +1 -1
- package/dist/lazy/{Component-Cpy05Jd8.js → Component-B6qOJZMu.js} +2 -2
- package/dist/lazy/{Component-BMbdOXWt.js → Component-BHy-gdds.js} +1 -1
- package/dist/lazy/{Component-BwpHn3oy.js → Component-CtDLAFnm.js} +2 -2
- package/dist/lazy/{Component-DnkwfLaR.js → Component-DbZK73I2.js} +1 -1
- package/dist/lazy/{Component-CKCXWIC5.js → Component-DmU2P_2K.js} +2 -2
- package/dist/lazy/{CurdCard-xK4Hi8Gc.js → CurdCard-CZ4VhPL7.js} +2 -2
- package/dist/lazy/Custom-BiCuB_-e.js +26 -0
- package/dist/lazy/{DatePicker-B8xiNGLk.js → DatePicker-D-rFup5V.js} +1 -1
- package/dist/lazy/{DragList-DSMjg9EP.js → DragList-Ii6kqkg2.js} +13 -13
- package/dist/lazy/{FilterSearch-CO5ewB-U.js → FilterSearch-DpMIShxs.js} +2 -2
- package/dist/lazy/FloatCurd-IaQW0CA2.js +239 -0
- package/dist/lazy/FloatSearchCurd-CqoJsN7c.js +424 -0
- package/dist/lazy/{FormList-U6FewtHN.js → FormList-DVAKg3Cx.js} +1 -1
- package/dist/lazy/{Grid-DMQrIKKC.js → Grid-Bw9rmwrG.js} +1 -1
- package/dist/lazy/{InfiniteScroll-DdeR7QjM.js → InfiniteScroll-Cmj0-z2l.js} +4 -4
- package/dist/lazy/{Inline-Cqpyce29.js → Inline-B7s-iBhh.js} +3 -3
- package/dist/lazy/{JsonEdit-H1bzdkYa.js → JsonEdit-DLzOazGA.js} +3 -3
- package/dist/lazy/{LogList-COGs_lbV.js → LogList-BfSA2YIW.js} +7 -7
- package/dist/lazy/{ObjGroup-Bn4_KGXB.js → ObjGroup-YJho79cG.js} +1 -1
- package/dist/lazy/{OfferDetails-Cl-uMJNA.js → OfferDetails-BVaa7boE.js} +8 -8
- package/dist/lazy/{Pagination-O4bgTguF.js → Pagination-Bni7hc5i.js} +2 -2
- package/dist/lazy/{Progress-Bn_B_wFC.js → Progress-DDOZz027.js} +15 -15
- package/dist/lazy/{Radio-BZnDoqOr.js → Radio-BkGE2l7X.js} +3 -3
- package/dist/lazy/{SearchSelect-OHMgptUr.js → SearchSelect-BDG-q3rh.js} +6 -6
- package/dist/lazy/{Select-B4nb4HrS.js → Select-DZVHbfet.js} +2 -2
- package/dist/lazy/{Table-CdihiD3I.js → Table-BYAny04Y.js} +2 -2
- package/dist/lazy/{Tabs-wokuGH0j.js → Tabs-DK2Z_4Mq.js} +2 -2
- package/dist/lazy/{TextArea-CkTQVVAo.js → TextArea-lLxe_7vc.js} +3 -3
- package/dist/lazy/{Wrapper-CKvQyMsb.js → Wrapper-ZyyGd7Sw.js} +4 -4
- package/dist/lazy/{index-CQB0z8tE.js → index-DdmJ7fxW.js} +718 -700
- package/dist/lazy/{useSelect-BTWne1vE.js → useSelect-CZU2AEMN.js} +1 -1
- package/dist/style.css +2 -2
- package/global.d.ts +10 -10
- package/package.json +1 -1
- package/dist/lazy/Custom-BI7aGQUl.js +0 -26
- package/dist/lazy/FloatCurd-CGyphC_8.js +0 -185
package/global.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
declare module 'vue' {
|
|
2
|
-
export interface GlobalComponents {
|
|
3
|
-
FormRender: (typeof import('asiaint-lowcode'))['FormRender']
|
|
4
|
-
FormDesign: (typeof import('asiaint-lowcode'))['FormDesign']
|
|
5
|
-
TableRender: (typeof import('asiaint-lowcode'))['TableRender']
|
|
6
|
-
PageRender: (typeof import('asiaint-lowcode'))['PageRender']
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export {}
|
|
1
|
+
declare module 'vue' {
|
|
2
|
+
export interface GlobalComponents {
|
|
3
|
+
FormRender: (typeof import('asiaint-lowcode'))['FormRender']
|
|
4
|
+
FormDesign: (typeof import('asiaint-lowcode'))['FormDesign']
|
|
5
|
+
TableRender: (typeof import('asiaint-lowcode'))['TableRender']
|
|
6
|
+
PageRender: (typeof import('asiaint-lowcode'))['PageRender']
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export {}
|
package/package.json
CHANGED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { defineComponent as n, mergeModels as s, useModel as p, openBlock as t, createElementBlock as r, createBlock as d, resolveDynamicComponent as u, mergeProps as c } from "vue";
|
|
2
|
-
import { _ as i } from "./index-CQB0z8tE.js";
|
|
3
|
-
const _ = {
|
|
4
|
-
key: 0,
|
|
5
|
-
class: "empty"
|
|
6
|
-
}, f = /* @__PURE__ */ n({
|
|
7
|
-
__name: "Custom",
|
|
8
|
-
props: /* @__PURE__ */ s({
|
|
9
|
-
componentName: {}
|
|
10
|
-
}, {
|
|
11
|
-
modelValue: {},
|
|
12
|
-
modelModifiers: {}
|
|
13
|
-
}),
|
|
14
|
-
emits: ["update:modelValue"],
|
|
15
|
-
setup(l) {
|
|
16
|
-
const o = p(l, "modelValue");
|
|
17
|
-
return (e, m) => e.componentName ? (t(), d(u(e.componentName), c({
|
|
18
|
-
key: 1,
|
|
19
|
-
modelValue: o.value,
|
|
20
|
-
"onUpdate:modelValue": m[0] || (m[0] = (a) => o.value = a)
|
|
21
|
-
}, e.$attrs), null, 16, ["modelValue"])) : (t(), r("span", _, "请输入全局注册得组件名"));
|
|
22
|
-
}
|
|
23
|
-
}), v = /* @__PURE__ */ i(f, [["__scopeId", "data-v-2250b7d1"]]);
|
|
24
|
-
export {
|
|
25
|
-
v as default
|
|
26
|
-
};
|
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
import { defineComponent as K, ref as g, computed as R, onUnmounted as U, resolveComponent as B, withDirectives as D, openBlock as c, createElementBlock as v, createElementVNode as t, createVNode as a, withKeys as J, withCtx as d, createTextVNode as L, toDisplayString as Y, unref as O, vShow as $, Fragment as Q, renderList as W, createBlock as q, createCommentVNode as I } from "vue";
|
|
2
|
-
import { c as X, u as Z, f as P, i as ee, I as m, b as oe, _ as ne } from "./index-CQB0z8tE.js";
|
|
3
|
-
import { dayjs as le } from "element-plus";
|
|
4
|
-
const te = { class: "float-curd" }, ae = { class: "curd-body" }, se = { class: "gradient-input-wrapper" }, re = { class: "float-form" }, ie = { class: "float-form-header" }, ce = { class: "float-form-header-title" }, ue = { class: "float-form-header-btns" }, de = { class: "float-form-body" }, me = { class: "curd-footer" }, fe = ["innerHTML"], pe = ["title"], ve = /* @__PURE__ */ K({
|
|
5
|
-
__name: "FloatCurd",
|
|
6
|
-
props: {
|
|
7
|
-
name: {},
|
|
8
|
-
children: {},
|
|
9
|
-
formTitle: {},
|
|
10
|
-
onSearch: {},
|
|
11
|
-
onAiSearch: {},
|
|
12
|
-
onClear: {},
|
|
13
|
-
inputPlaceholder: {},
|
|
14
|
-
hidden: { type: Boolean }
|
|
15
|
-
},
|
|
16
|
-
setup(j, { expose: z }) {
|
|
17
|
-
const r = j, u = g(!1), { ruleModule: h, pageMethodMap: _ } = X(), y = Z(), S = R(() => {
|
|
18
|
-
var n, V, M, N, w, T;
|
|
19
|
-
const o = y.schema.items, e = y.formValues, s = P(o, r.name);
|
|
20
|
-
if (!s || !s.children)
|
|
21
|
-
return [];
|
|
22
|
-
const f = [];
|
|
23
|
-
for (const A in e) {
|
|
24
|
-
const l = P(s.children, A);
|
|
25
|
-
if (l && l.label && !l.hidden) {
|
|
26
|
-
const i = e[A];
|
|
27
|
-
if (i != null && i !== "") {
|
|
28
|
-
const p = {
|
|
29
|
-
name: l.name,
|
|
30
|
-
label: l.label,
|
|
31
|
-
value: i,
|
|
32
|
-
closeable: !l.required && !((n = l.props) != null && n.disabled) && ((V = l.props) == null ? void 0 : V.clearable) !== !1
|
|
33
|
-
};
|
|
34
|
-
l.component === "DatePicker" && (p.iconName = "icon-rili", p.value = le(i).format(((M = l.props) == null ? void 0 : M.valueFormat) || "YYYY-MM-DD")), l.component === "Select" && (p.value = (T = (w = (N = l.props) == null ? void 0 : N.options) == null ? void 0 : w.find((H) => H.value === i)) == null ? void 0 : T.label), f.push(p);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
return f;
|
|
39
|
-
}), C = g("");
|
|
40
|
-
function x() {
|
|
41
|
-
try {
|
|
42
|
-
h[r.onSearch](_), u.value = !1;
|
|
43
|
-
} catch (o) {
|
|
44
|
-
console.error(o);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
const b = g(!1);
|
|
48
|
-
async function k() {
|
|
49
|
-
try {
|
|
50
|
-
b.value = !0, await h[r.onAiSearch](_, C.value);
|
|
51
|
-
} catch (o) {
|
|
52
|
-
console.error(o);
|
|
53
|
-
} finally {
|
|
54
|
-
b.value = !1;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
function E(o) {
|
|
58
|
-
y.setFieldValue(o.name, "", ""), x();
|
|
59
|
-
}
|
|
60
|
-
function G() {
|
|
61
|
-
try {
|
|
62
|
-
h[r.onClear](_);
|
|
63
|
-
} catch (o) {
|
|
64
|
-
console.error(o);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
const F = {
|
|
68
|
-
type: "floatcurd"
|
|
69
|
-
};
|
|
70
|
-
if (z(F), r.name) {
|
|
71
|
-
const o = ee(r.name, F);
|
|
72
|
-
U(() => {
|
|
73
|
-
o();
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
return (o, e) => {
|
|
77
|
-
const s = B("el-button"), f = B("el-input");
|
|
78
|
-
return D((c(), v("div", te, [
|
|
79
|
-
t("div", ae, [
|
|
80
|
-
t("div", se, [
|
|
81
|
-
a(f, {
|
|
82
|
-
class: "float-curd-ai-input",
|
|
83
|
-
placeholder: o.inputPlaceholder,
|
|
84
|
-
modelValue: C.value,
|
|
85
|
-
"onUpdate:modelValue": e[0] || (e[0] = (n) => C.value = n),
|
|
86
|
-
clearable: "",
|
|
87
|
-
onClear: k,
|
|
88
|
-
onKeyup: J(k, ["enter"])
|
|
89
|
-
}, {
|
|
90
|
-
prefix: d(() => [
|
|
91
|
-
a(m, { name: "icon-a-mobang1" }),
|
|
92
|
-
e[3] || (e[3] = t("span", { class: "prefix-text" }, "Ask AI", -1))
|
|
93
|
-
]),
|
|
94
|
-
suffix: d(() => [
|
|
95
|
-
a(s, {
|
|
96
|
-
type: "primary",
|
|
97
|
-
size: "small",
|
|
98
|
-
onClick: k,
|
|
99
|
-
loading: b.value
|
|
100
|
-
}, {
|
|
101
|
-
default: d(() => e[4] || (e[4] = [
|
|
102
|
-
L("Go")
|
|
103
|
-
])),
|
|
104
|
-
_: 1
|
|
105
|
-
}, 8, ["loading"])
|
|
106
|
-
]),
|
|
107
|
-
_: 1
|
|
108
|
-
}, 8, ["placeholder", "modelValue"])
|
|
109
|
-
]),
|
|
110
|
-
a(s, {
|
|
111
|
-
plain: !0,
|
|
112
|
-
onClick: e[1] || (e[1] = (n) => u.value = !u.value),
|
|
113
|
-
class: "more-btn"
|
|
114
|
-
}, {
|
|
115
|
-
default: d(() => [
|
|
116
|
-
a(m, { name: "icon-tiaojianshaixuan" }),
|
|
117
|
-
e[5] || (e[5] = t("span", null, "More", -1))
|
|
118
|
-
]),
|
|
119
|
-
_: 1
|
|
120
|
-
}),
|
|
121
|
-
D(t("div", re, [
|
|
122
|
-
t("div", ie, [
|
|
123
|
-
t("div", ce, Y(o.formTitle), 1),
|
|
124
|
-
t("div", ue, [
|
|
125
|
-
a(s, {
|
|
126
|
-
type: "primary",
|
|
127
|
-
size: "small",
|
|
128
|
-
onClick: x
|
|
129
|
-
}, {
|
|
130
|
-
default: d(() => e[6] || (e[6] = [
|
|
131
|
-
L("Go")
|
|
132
|
-
])),
|
|
133
|
-
_: 1
|
|
134
|
-
}),
|
|
135
|
-
a(m, {
|
|
136
|
-
name: "icon-a-rongqi1",
|
|
137
|
-
onClick: e[2] || (e[2] = (n) => u.value = !1)
|
|
138
|
-
})
|
|
139
|
-
])
|
|
140
|
-
]),
|
|
141
|
-
t("div", de, [
|
|
142
|
-
a(O(oe), { list: o.children }, null, 8, ["list"])
|
|
143
|
-
])
|
|
144
|
-
], 512), [
|
|
145
|
-
[$, u.value]
|
|
146
|
-
])
|
|
147
|
-
]),
|
|
148
|
-
t("div", me, [
|
|
149
|
-
(c(!0), v(Q, null, W(S.value, (n) => (c(), v("div", {
|
|
150
|
-
class: "tag",
|
|
151
|
-
key: n.name
|
|
152
|
-
}, [
|
|
153
|
-
n.iconName ? (c(), q(m, {
|
|
154
|
-
key: 0,
|
|
155
|
-
name: n.iconName
|
|
156
|
-
}, null, 8, ["name"])) : I("", !0),
|
|
157
|
-
t("span", {
|
|
158
|
-
innerHTML: n.label + ":"
|
|
159
|
-
}, null, 8, fe),
|
|
160
|
-
t("span", {
|
|
161
|
-
class: "tag-value",
|
|
162
|
-
title: n.value
|
|
163
|
-
}, Y(n.value), 9, pe),
|
|
164
|
-
n.closeable ? (c(), q(m, {
|
|
165
|
-
key: 1,
|
|
166
|
-
name: "icon-a-rongqi1",
|
|
167
|
-
onClick: (V) => E(n),
|
|
168
|
-
class: "close-icon"
|
|
169
|
-
}, null, 8, ["onClick"])) : I("", !0)
|
|
170
|
-
]))), 128)),
|
|
171
|
-
S.value.length > 0 ? (c(), v("div", {
|
|
172
|
-
key: 0,
|
|
173
|
-
class: "clear-btn",
|
|
174
|
-
onClick: G
|
|
175
|
-
}, "Clear filters")) : I("", !0)
|
|
176
|
-
])
|
|
177
|
-
], 512)), [
|
|
178
|
-
[$, !o.hidden]
|
|
179
|
-
]);
|
|
180
|
-
};
|
|
181
|
-
}
|
|
182
|
-
}), Ce = /* @__PURE__ */ ne(ve, [["__scopeId", "data-v-5048f903"]]);
|
|
183
|
-
export {
|
|
184
|
-
Ce as default
|
|
185
|
-
};
|