asiaint-lowcode 3.1.2 → 3.1.4
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/dist/asiaint-lowcode.js +1 -1
- package/dist/asiaint-lowcode.umd.cjs +118 -118
- package/dist/index.d.ts +12 -2
- package/dist/lazy/{Card-DbI_QzNF.js → Card-Dj7aMS9F.js} +1 -1
- package/dist/lazy/{Cascader-lIbcZ7RY.js → Cascader-BD1QbHX-.js} +14 -13
- package/dist/lazy/{Checkbox-T86CcHUp.js → Checkbox-DP0WZZZ_.js} +3 -2
- package/dist/lazy/{Collapse-Cp72NY1I.js → Collapse-DL66LPu4.js} +1 -1
- package/dist/lazy/Component-B7PgE4dl.js +33 -0
- package/dist/lazy/{Component-DJL4xb6C.js → Component-BIgfSyED.js} +1 -1
- package/dist/lazy/{Component-CXz4lXfh.js → Component-BbgUpfyZ.js} +1 -1
- package/dist/lazy/{Component-BNMdgfRu.js → Component-BnMs2MMz.js} +1 -1
- package/dist/lazy/{Component-CC9Y7PUK.js → Component-CS_CVXpm.js} +1 -1
- package/dist/lazy/{Component-BwY6NfzI.js → Component-rP4l7I6p.js} +1 -1
- package/dist/lazy/{CurdCard-CCbgbv5V.js → CurdCard-DQVka_jA.js} +1 -1
- package/dist/lazy/{Custom-Dg_mqlTW.js → Custom-C6H0Zgd7.js} +1 -1
- package/dist/lazy/DatePicker-DqIP9PIZ.js +33 -0
- package/dist/lazy/DragList-aND9y5Io.js +327 -0
- package/dist/lazy/{FormList-DXMqYCSg.js → FormList-C1jpkODY.js} +1 -1
- package/dist/lazy/{Grid-amuif8r1.js → Grid-nOm2c-EJ.js} +1 -1
- package/dist/lazy/{Inline-BX29Isds.js → Inline-BqSXCVn9.js} +1 -1
- package/dist/lazy/{JsonEdit-4CFp-hYx.js → JsonEdit-njjRE7p6.js} +1 -1
- package/dist/lazy/{LogList-DVe-7Rgv.js → LogList-B1lRUWIP.js} +1 -1
- package/dist/lazy/{ObjGroup-Dg-XDbaF.js → ObjGroup-eugpBV7b.js} +1 -1
- package/dist/lazy/{OfferDetails-EMowTB2N.js → OfferDetails-DtaIRMLD.js} +1 -1
- package/dist/lazy/{Progress-BbD-MS5q.js → Progress-DptHNlOf.js} +1 -1
- package/dist/lazy/{Radio-DwJ5cRG2.js → Radio-BJCFHN_H.js} +10 -9
- package/dist/lazy/{SearchSelect-BSIkMcDw.js → SearchSelect-B85rtM7N.js} +12 -11
- package/dist/lazy/{Select-BR3mrRzi.js → Select-4-1BnkvP.js} +25 -21
- package/dist/lazy/{Table-C7ds2D3A.js → Table-DNAYu_Cr.js} +143 -134
- package/dist/lazy/{Tabs-Coz9YW9I.js → Tabs-BjWwDQn0.js} +1 -1
- package/dist/lazy/{Wrapper-cVxZyKS3.js → Wrapper-YZHDB7tN.js} +1 -1
- package/dist/lazy/{index-SP1L-4n5.js → index-Dless_WW.js} +3844 -3816
- package/dist/lazy/{useSelect-BIYVb8Je.js → useSelect-BuGgYRcc.js} +1 -1
- package/dist/style.css +2 -2
- package/package.json +1 -1
- package/dist/lazy/Component-DkQXMLV7.js +0 -35
- package/dist/lazy/DatePicker-CGxtZ6pR.js +0 -32
- package/dist/lazy/DragList-BTdY-2Ly.js +0 -318
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as p, resolveComponent as m, openBlock as n, createElementBlock as s, createVNode as l, withCtx as a, Fragment as u, renderList as f, createBlock as g, createElementVNode as e, toDisplayString as r, createTextVNode as h, unref as k, createCommentVNode as N } from "vue";
|
|
2
|
-
import { I as v, _ as b, b as C } from "./index-
|
|
2
|
+
import { I as v, _ as b, b as C } from "./index-Dless_WW.js";
|
|
3
3
|
const V = { class: "progress" }, y = { class: "timeline-content" }, B = { class: "timeline-content__title" }, E = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "empty-content"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { u as O, b as P } from "./index-
|
|
3
|
-
import { u as R } from "./useSelect-
|
|
4
|
-
const $ = { key: 0 }, j = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as T, mergeModels as F, useModel as S, inject as g, resolveComponent as u, resolveDirective as w, openBlock as o, createElementBlock as c, toDisplayString as z, unref as i, withDirectives as I, createBlock as f, mergeProps as K, withCtx as h, createVNode as N, Fragment as k, renderList as C } from "vue";
|
|
2
|
+
import { u as O, b as P } from "./index-Dless_WW.js";
|
|
3
|
+
import { u as R } from "./useSelect-BuGgYRcc.js";
|
|
4
|
+
const $ = { key: 0 }, j = /* @__PURE__ */ T({
|
|
5
5
|
__name: "Radio",
|
|
6
|
-
props: /* @__PURE__ */
|
|
6
|
+
props: /* @__PURE__ */ F({
|
|
7
7
|
options: { default: () => [] },
|
|
8
8
|
defaultOptions: {},
|
|
9
9
|
mode: { default: "static" },
|
|
@@ -16,6 +16,7 @@ const $ = { key: 0 }, j = /* @__PURE__ */ F({
|
|
|
16
16
|
name: { default: "" },
|
|
17
17
|
onChange: {},
|
|
18
18
|
read: { type: Boolean },
|
|
19
|
+
readTextColor: {},
|
|
19
20
|
filters: {},
|
|
20
21
|
refreshFlag: { type: Boolean },
|
|
21
22
|
clearable: { type: Boolean },
|
|
@@ -28,12 +29,12 @@ const $ = { key: 0 }, j = /* @__PURE__ */ F({
|
|
|
28
29
|
}),
|
|
29
30
|
emits: ["update:modelValue"],
|
|
30
31
|
setup(y) {
|
|
31
|
-
const t = y, p =
|
|
32
|
+
const t = y, p = S(y, "modelValue"), m = O(), b = g("ruleModule", void 0), M = g("pageMethodMap", {}), _ = (e) => {
|
|
32
33
|
const { valueKey: d = "value", name: s } = t;
|
|
33
34
|
let l = {};
|
|
34
35
|
if (l = r.value.find((n) => n[d] === e) || {}, m.selectData && s && m.updateSelectData(s, l), t.onChange && b)
|
|
35
36
|
try {
|
|
36
|
-
b[t.onChange](
|
|
37
|
+
b[t.onChange](M, e, l);
|
|
37
38
|
} catch (n) {
|
|
38
39
|
console.error(n);
|
|
39
40
|
}
|
|
@@ -55,13 +56,13 @@ const $ = { key: 0 }, j = /* @__PURE__ */ F({
|
|
|
55
56
|
alignment: "normal"
|
|
56
57
|
}, {
|
|
57
58
|
default: h(() => [
|
|
58
|
-
e.optionType === "circle" || e.optionType === "border" ? (o(!0), c(k, { key: 0 },
|
|
59
|
+
e.optionType === "circle" || e.optionType === "border" ? (o(!0), c(k, { key: 0 }, C(i(r), (a) => (o(), f(s, {
|
|
59
60
|
key: a[e.valueKey],
|
|
60
61
|
label: a[e.labelKey],
|
|
61
62
|
value: a[e.valueKey],
|
|
62
63
|
disabled: a[e.disabledKey],
|
|
63
64
|
border: e.optionType === "border"
|
|
64
|
-
}, null, 8, ["label", "value", "disabled", "border"]))), 128)) : (o(!0), c(k, { key: 1 },
|
|
65
|
+
}, null, 8, ["label", "value", "disabled", "border"]))), 128)) : (o(!0), c(k, { key: 1 }, C(i(r), (a) => (o(), f(l, K({
|
|
65
66
|
key: a[e.valueKey],
|
|
66
67
|
label: a[e.labelKey],
|
|
67
68
|
value: a[e.valueKey],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as F, mergeModels as w, useModel as A, inject as S, resolveComponent as f, resolveDirective as I, openBlock as o, createElementBlock as i, toDisplayString as y, unref as u, withDirectives as N, createBlock as
|
|
2
|
-
import { u as
|
|
3
|
-
import { u as U } from "./useSelect-
|
|
1
|
+
import { defineComponent as F, mergeModels as w, useModel as A, inject as S, resolveComponent as f, resolveDirective as I, openBlock as o, createElementBlock as i, toDisplayString as y, unref as u, withDirectives as N, createBlock as C, mergeProps as j, withCtx as b, Fragment as O, renderList as P, createTextVNode as T, createVNode as k } from "vue";
|
|
2
|
+
import { u as $, _ as E, b as L } from "./index-Dless_WW.js";
|
|
3
|
+
import { u as U } from "./useSelect-BuGgYRcc.js";
|
|
4
4
|
const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
|
|
5
5
|
key: 1,
|
|
6
6
|
class: "search-select-wrapper"
|
|
@@ -22,6 +22,7 @@ const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
|
|
|
22
22
|
dependentFields: {},
|
|
23
23
|
name: { default: "" },
|
|
24
24
|
onChange: {},
|
|
25
|
+
readTextColor: {},
|
|
25
26
|
filters: {},
|
|
26
27
|
refreshFlag: { type: Boolean },
|
|
27
28
|
clearable: { type: Boolean }
|
|
@@ -31,7 +32,7 @@ const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
|
|
|
31
32
|
}),
|
|
32
33
|
emits: ["update:modelValue"],
|
|
33
34
|
setup(v) {
|
|
34
|
-
const t = v, r = A(v, "modelValue"), h =
|
|
35
|
+
const t = v, r = A(v, "modelValue"), h = $(), c = S("ruleModule", void 0), g = S("pageMethodMap", {}), B = (e) => {
|
|
35
36
|
const { valueKey: d = "value", multiple: m, name: p } = t;
|
|
36
37
|
let n = {};
|
|
37
38
|
if (m && Array.isArray(e) ? n = s.value.filter((a) => e.includes(a[d])) : n = s.value.find((a) => a[d] === e) || {}, h.selectData && p && h.updateSelectData(p, n), t.onChange && c)
|
|
@@ -57,25 +58,25 @@ const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
|
|
|
57
58
|
return (K = u(s).find((D) => D[e.valueKey] === l)) == null ? void 0 : K[e.labelKey];
|
|
58
59
|
}).join("、")), 1)) : (o(), i("div", G, y(((_ = u(s).find((l) => l[e.valueKey] === r.value)) == null ? void 0 : _[e.labelKey]) || "--"), 1))
|
|
59
60
|
])) : (o(), i("div", H, [
|
|
60
|
-
N((o(),
|
|
61
|
+
N((o(), C(p, j({
|
|
61
62
|
modelValue: r.value,
|
|
62
63
|
"onUpdate:modelValue": d[0] || (d[0] = (l) => r.value = l)
|
|
63
64
|
}, e.$attrs, {
|
|
64
|
-
onChange:
|
|
65
|
+
onChange: B,
|
|
65
66
|
multiple: e.multiple,
|
|
66
67
|
clearable: "",
|
|
67
68
|
filterable: "",
|
|
68
69
|
disabled: e.disabled
|
|
69
70
|
}), {
|
|
70
71
|
default: b(() => [
|
|
71
|
-
(o(!0), i(O, null, P(u(s), (l) => (o(),
|
|
72
|
+
(o(!0), i(O, null, P(u(s), (l) => (o(), C(m, {
|
|
72
73
|
key: l[e.valueKey],
|
|
73
74
|
label: l[e.labelKey],
|
|
74
75
|
value: l[e.valueKey],
|
|
75
76
|
disabled: l[e.disabledKey]
|
|
76
77
|
}, {
|
|
77
78
|
default: b(() => [
|
|
78
|
-
|
|
79
|
+
T(y(l[e.labelKey]), 1)
|
|
79
80
|
]),
|
|
80
81
|
_: 2
|
|
81
82
|
}, 1032, ["label", "value", "disabled"]))), 128))
|
|
@@ -84,20 +85,20 @@ const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
|
|
|
84
85
|
}, 16, ["modelValue", "multiple", "disabled"])), [
|
|
85
86
|
[a, u(V)]
|
|
86
87
|
]),
|
|
87
|
-
|
|
88
|
+
k(n, {
|
|
88
89
|
onClick: M,
|
|
89
90
|
disabled: e.disabled,
|
|
90
91
|
class: "search-btn"
|
|
91
92
|
}, {
|
|
92
93
|
default: b(() => [
|
|
93
|
-
|
|
94
|
+
k(u(E), { name: "search" })
|
|
94
95
|
]),
|
|
95
96
|
_: 1
|
|
96
97
|
}, 8, ["disabled"])
|
|
97
98
|
]));
|
|
98
99
|
};
|
|
99
100
|
}
|
|
100
|
-
}), X = /* @__PURE__ */
|
|
101
|
+
}), X = /* @__PURE__ */ L(J, [["__scopeId", "data-v-ce5f6b46"]]);
|
|
101
102
|
export {
|
|
102
103
|
X as default
|
|
103
104
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { u as
|
|
3
|
-
import { u as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as F, mergeModels as w, computed as p, useModel as x, inject as v, resolveComponent as b, openBlock as i, createElementBlock as g, normalizeStyle as A, toDisplayString as h, createBlock as K, mergeProps as N, unref as V, withCtx as m, createElementVNode as r, Fragment as T, renderList as j, createTextVNode as E } from "vue";
|
|
2
|
+
import { u as I } from "./index-Dless_WW.js";
|
|
3
|
+
import { u as O } from "./useSelect-BuGgYRcc.js";
|
|
4
|
+
const P = { style: { "min-height": "32px" } }, R = /* @__PURE__ */ F({
|
|
5
5
|
__name: "Select",
|
|
6
|
-
props: /* @__PURE__ */
|
|
6
|
+
props: /* @__PURE__ */ w({
|
|
7
7
|
options: { default: () => [] },
|
|
8
8
|
defaultOptions: {},
|
|
9
9
|
multiple: { type: Boolean, default: !1 },
|
|
@@ -17,6 +17,7 @@ const I = { key: 0 }, O = { style: { "min-height": "32px" } }, T = /* @__PURE__
|
|
|
17
17
|
name: { default: "" },
|
|
18
18
|
onChange: {},
|
|
19
19
|
read: { type: Boolean },
|
|
20
|
+
readTextColor: {},
|
|
20
21
|
filters: {},
|
|
21
22
|
refreshFlag: { type: Boolean },
|
|
22
23
|
clearable: { type: Boolean, default: !0 }
|
|
@@ -25,17 +26,17 @@ const I = { key: 0 }, O = { style: { "min-height": "32px" } }, T = /* @__PURE__
|
|
|
25
26
|
modelModifiers: {}
|
|
26
27
|
}),
|
|
27
28
|
emits: ["update:modelValue"],
|
|
28
|
-
setup(
|
|
29
|
-
const l =
|
|
29
|
+
setup(y) {
|
|
30
|
+
const l = y, C = p(() => l.clearable === null || l.clearable === void 0 ? !0 : !!l.clearable), d = x(y, "modelValue"), c = I(), M = p(() => c.schema.read), f = v("ruleModule", void 0), k = v("pageMethodMap", {}), B = (e) => {
|
|
30
31
|
const { valueKey: t = "value", multiple: n, name: o } = l;
|
|
31
32
|
let a = {};
|
|
32
|
-
if (n && Array.isArray(e) ? a = s.value.filter((u) => e.includes(u[t])) : a = s.value.find((u) => u[t] === e) || {},
|
|
33
|
+
if (n && Array.isArray(e) ? a = s.value.filter((u) => e.includes(u[t])) : a = s.value.find((u) => u[t] === e) || {}, c.selectData && o && c.updateSelectData(o, a), l.onChange && f)
|
|
33
34
|
try {
|
|
34
|
-
f[l.onChange](
|
|
35
|
+
f[l.onChange](k, e, a);
|
|
35
36
|
} catch (u) {
|
|
36
37
|
console.error(u);
|
|
37
38
|
}
|
|
38
|
-
}, { currentOptions: s, loading:
|
|
39
|
+
}, { currentOptions: s, loading: S } = O(l), D = p(() => {
|
|
39
40
|
var t;
|
|
40
41
|
if (l.multiple)
|
|
41
42
|
return s.value.filter(
|
|
@@ -46,19 +47,22 @@ const I = { key: 0 }, O = { style: { "min-height": "32px" } }, T = /* @__PURE__
|
|
|
46
47
|
});
|
|
47
48
|
return (e, t) => {
|
|
48
49
|
const n = b("el-option"), o = b("el-select");
|
|
49
|
-
return e.read ? (i(), g("span",
|
|
50
|
+
return e.read || M.value ? (i(), g("span", {
|
|
51
|
+
key: 0,
|
|
52
|
+
style: A({ color: e.readTextColor })
|
|
53
|
+
}, h(D.value), 5)) : (i(), K(o, N({
|
|
50
54
|
key: 1,
|
|
51
55
|
modelValue: d.value,
|
|
52
56
|
"onUpdate:modelValue": t[0] || (t[0] = (a) => d.value = a)
|
|
53
57
|
}, e.$attrs, {
|
|
54
|
-
onChange:
|
|
58
|
+
onChange: B,
|
|
55
59
|
multiple: e.multiple,
|
|
56
|
-
clearable:
|
|
60
|
+
clearable: C.value,
|
|
57
61
|
filterable: "",
|
|
58
62
|
"fallback-placements": ["bottom"],
|
|
59
|
-
loading: V(
|
|
63
|
+
loading: V(S)
|
|
60
64
|
}), {
|
|
61
|
-
loading:
|
|
65
|
+
loading: m(() => t[1] || (t[1] = [
|
|
62
66
|
r("svg", {
|
|
63
67
|
class: "circular",
|
|
64
68
|
viewBox: "0 0 20 20"
|
|
@@ -95,16 +99,16 @@ const I = { key: 0 }, O = { style: { "min-height": "32px" } }, T = /* @__PURE__
|
|
|
95
99
|
])
|
|
96
100
|
], -1)
|
|
97
101
|
])),
|
|
98
|
-
default:
|
|
99
|
-
r("div",
|
|
100
|
-
(i(!0), g(
|
|
102
|
+
default: m(() => [
|
|
103
|
+
r("div", P, [
|
|
104
|
+
(i(!0), g(T, null, j(V(s), (a) => (i(), K(n, {
|
|
101
105
|
key: a[e.valueKey],
|
|
102
106
|
label: a[e.labelKey],
|
|
103
107
|
value: a[e.valueKey],
|
|
104
108
|
disabled: a[e.disabledKey]
|
|
105
109
|
}, {
|
|
106
|
-
default:
|
|
107
|
-
|
|
110
|
+
default: m(() => [
|
|
111
|
+
E(h(a[e.labelKey]), 1)
|
|
108
112
|
]),
|
|
109
113
|
_: 2
|
|
110
114
|
}, 1032, ["label", "value", "disabled"]))), 128))
|
|
@@ -116,5 +120,5 @@ const I = { key: 0 }, O = { style: { "min-height": "32px" } }, T = /* @__PURE__
|
|
|
116
120
|
}
|
|
117
121
|
});
|
|
118
122
|
export {
|
|
119
|
-
|
|
123
|
+
R as default
|
|
120
124
|
};
|