@web-utils/form-ui 1.0.0-beta36 → 1.0.0-beta38
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/chunks/{BLWwTutr.mjs → B3ajWLh3.mjs} +15 -33
- package/chunks/{Cr1vBYne.mjs → BH_JJ8Xh.mjs} +15 -15
- package/chunks/{DistOy_O.mjs → BWBHzD5N.mjs} +28 -19
- package/chunks/{DQJyNm1V.mjs → Bd1UFJic.mjs} +135 -131
- package/chunks/{DcbnHU8K.mjs → BsCS7SB5.mjs} +19 -23
- package/chunks/{BTS_zTkz.mjs → BufIRDd0.mjs} +35 -39
- package/chunks/C1AgOUe_.mjs +172 -0
- package/chunks/C3Uo82-I.mjs +35 -0
- package/chunks/C9dGL28n.mjs +56 -0
- package/chunks/{A3sHIRQ_.mjs → CFOGMFgo.mjs} +22 -45
- package/chunks/{ZXCLnZFa.mjs → CLPSCSsy.mjs} +111 -144
- package/chunks/{D7hD-ppq.mjs → CSyJ-vEx.mjs} +1 -1
- package/chunks/CTKmEf2M.mjs +93 -0
- package/chunks/{DFsI7Y6h.mjs → CXvGoZKJ.mjs} +12 -11
- package/chunks/{Dgyjc3LT.mjs → Cab-ZjRx.mjs} +29 -45
- package/chunks/Cj59E77g.mjs +230 -0
- package/chunks/Cj5h2Wda.mjs +32 -0
- package/chunks/{iWQD3xvX.mjs → CqTcEefA.mjs} +14 -16
- package/chunks/{axr9InkL.mjs → Ct5bDJ50.mjs} +9 -13
- package/chunks/{D5_ctQqL.mjs → CuG2Q-PM.mjs} +2 -2
- package/chunks/{CLn0r4lV.mjs → D8UVq1t1.mjs} +16 -17
- package/chunks/{BYAy19s4.mjs → DJe97Fgi.mjs} +2 -8
- package/chunks/{Buc52aVh.mjs → DXYgAmil.mjs} +12 -29
- package/chunks/{DQxPzCsy.mjs → DhtHh0jk.mjs} +14 -15
- package/chunks/{CGJkMYZ4.mjs → DiJyms_r.mjs} +12 -20
- package/chunks/{1cDNhlSV.mjs → TvNHGVAP.mjs} +2 -2
- package/chunks/{CNskrN5I.mjs → XCGWTz41.mjs} +2 -2
- package/chunks/{DQKi5eEl.mjs → XqRTtFfp.mjs} +2 -2
- package/chunks/{BX-cVxlK.mjs → cmuHpsX6.mjs} +21 -14
- package/chunks/{DJKE5P39.mjs → o6VhYAN52.mjs} +2 -2
- package/chunks/{BwdWZEjT.mjs → pdwFQpA8.mjs} +13 -18
- package/chunks/{_dm2lLNL.mjs → taicx2sd.mjs} +2 -2
- package/constants/index.d.ts +16 -5
- package/editable-tree/index.d.ts +1 -1
- package/editable-tree/index.mjs +1 -1
- package/element-dialog/index.d.ts +1 -1
- package/element-dialog/index.mjs +1 -1
- package/form-card/index.d.ts +14 -0
- package/form-card/index.mjs +18 -0
- package/form-cascader/index.d.ts +0 -14
- package/form-cascader/index.mjs +1 -1
- package/form-check-box-group/index.d.ts +0 -2
- package/form-check-box-group/index.mjs +1 -1
- package/form-checkbox/index.d.ts +36 -10
- package/form-checkbox/index.mjs +1 -1
- package/form-date-picker/index.mjs +1 -1
- package/form-holder/index.d.ts +2 -6
- package/form-holder/index.mjs +1 -1
- package/form-image/index.d.ts +2 -14
- package/form-image/index.mjs +1 -1
- package/form-input/index.d.ts +9 -26
- package/form-input/index.mjs +1 -1
- package/form-input-cron-expression/index.mjs +1 -1
- package/form-input-email/index.d.ts +9 -2
- package/form-input-email/index.mjs +1 -1
- package/form-input-id-card/index.d.ts +9 -2
- package/form-input-id-card/index.mjs +1 -1
- package/form-input-number/index.d.ts +0 -6
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.d.ts +9 -2
- package/form-input-phone-number/index.mjs +1 -1
- package/form-input-tag/index.d.ts +263 -1
- package/form-input-tag/index.mjs +1 -3
- package/form-input-time/index.d.ts +434 -1
- package/form-input-time/index.mjs +1 -3
- package/form-item-group/index.mjs +1 -1
- package/form-item-x/index.mjs +1 -1
- package/form-radio-group/index.d.ts +0 -2
- package/form-radio-group/index.mjs +1 -1
- package/form-rate/index.d.ts +0 -2
- package/form-rate/index.mjs +1 -1
- package/form-row/index.mjs +1 -1
- package/form-select/index.d.ts +0 -14
- package/form-select/index.mjs +1 -1
- package/form-slider/index.d.ts +1 -5
- package/form-slider/index.mjs +1 -1
- package/form-switch/index.d.ts +0 -2
- package/form-switch/index.mjs +1 -1
- package/form-text/index.mjs +1 -1
- package/form-textarea/index.d.ts +370 -0
- package/form-textarea/index.mjs +2 -0
- package/form-time-select/index.d.ts +319 -0
- package/form-time-select/index.mjs +2 -0
- package/helper/dictionary.mjs +1 -1
- package/iframe-window/index.mjs +1 -1
- package/index.d.ts +4 -1
- package/index.mjs +46 -43
- package/package.json +1 -1
- package/pageable-table/index.d.ts +0 -38
- package/pageable-table/index.mjs +1 -1
- package/table-column/index.mjs +1 -1
- package/table-column-def/index.mjs +1 -1
- package/table-view/index.mjs +6 -6
- package/toolbar/index.mjs +1 -1
- package/toolbar-button/index.mjs +1 -1
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +4 -3
- package/year-calendar/index.mjs +1 -1
- package/chunks/BLRY0zkF.mjs +0 -51
- package/chunks/BvsmTC3G.mjs +0 -229
- /package/chunks/{CnAEuI_c.mjs → ChmDDqoZ2.mjs} +0 -0
- /package/chunks/{BW6iY7Q7.mjs → DDmQcNm6.mjs} +0 -0
- /package/chunks/{DiE4GJtU.mjs → Ds_Tpa_M.mjs} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as e, n as t } from "./
|
|
2
|
-
import { n } from "./
|
|
1
|
+
import { i as e, n as t } from "./Cj59E77g.mjs";
|
|
2
|
+
import { n } from "./CSyJ-vEx.mjs";
|
|
3
3
|
import { createVNode as r, mergeProps as i, useModel as a } from "vue";
|
|
4
4
|
import { ElRate as o } from "element-plus/es";
|
|
5
5
|
//#region src/components/form/props/rate.ts
|
|
@@ -61,28 +61,27 @@ var s = {
|
|
|
61
61
|
},
|
|
62
62
|
id: String,
|
|
63
63
|
ariaLabel: String
|
|
64
|
-
}, c = {
|
|
64
|
+
}, c = {
|
|
65
|
+
disabled: !0,
|
|
66
|
+
modelValue: !0
|
|
67
|
+
}, l = (e) => n[e] === void 0 && c[e] !== !0, u = {
|
|
65
68
|
name: "FormRate",
|
|
66
69
|
inheritAttrs: !1,
|
|
67
70
|
props: { ...s },
|
|
68
|
-
emits: {
|
|
69
|
-
...t,
|
|
70
|
-
change: null
|
|
71
|
-
},
|
|
71
|
+
emits: { ...t },
|
|
72
72
|
setup(t, { emit: n, slots: s, attrs: c }) {
|
|
73
|
-
let
|
|
73
|
+
let u = a(t, "modelValue"), { render: d, disabled: f, listeners: p, inputProps: m } = e(t, {
|
|
74
74
|
emit: n,
|
|
75
75
|
slots: s,
|
|
76
76
|
attrs: c,
|
|
77
|
-
|
|
78
|
-
predicate: u
|
|
77
|
+
predicate: l
|
|
79
78
|
});
|
|
80
|
-
return () =>
|
|
81
|
-
modelValue:
|
|
82
|
-
"onUpdate:modelValue": (e) =>
|
|
83
|
-
disabled:
|
|
79
|
+
return () => d({ vNodes: r(o, i(p.value, m.value, {
|
|
80
|
+
modelValue: u.value,
|
|
81
|
+
"onUpdate:modelValue": (e) => u.value = e,
|
|
82
|
+
disabled: f.value
|
|
84
83
|
}), null) });
|
|
85
84
|
}
|
|
86
85
|
};
|
|
87
86
|
//#endregion
|
|
88
|
-
export {
|
|
87
|
+
export { u as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as e, n as t } from "./
|
|
2
|
-
import { n, t as r } from "./
|
|
1
|
+
import { i as e, n as t } from "./Cj59E77g.mjs";
|
|
2
|
+
import { n, t as r } from "./CSyJ-vEx.mjs";
|
|
3
3
|
import { isString as i } from "@web-utils/core";
|
|
4
4
|
import { computed as a, createVNode as o, mergeProps as s } from "vue";
|
|
5
5
|
import { ElInputNumber as c } from "element-plus/es";
|
|
@@ -66,36 +66,28 @@ var l = {
|
|
|
66
66
|
}, u = {
|
|
67
67
|
readonly: !0,
|
|
68
68
|
placeholder: !0,
|
|
69
|
+
disabled: !0,
|
|
69
70
|
modelValue: !0,
|
|
70
71
|
prefix: !0,
|
|
71
72
|
suffix: !0
|
|
72
|
-
}, d = [
|
|
73
|
-
"change",
|
|
74
|
-
"blur",
|
|
75
|
-
"focus"
|
|
76
|
-
], f = (e) => n[e] === void 0 && u[e] !== !0, p = {
|
|
73
|
+
}, d = (e) => n[e] === void 0 && u[e] !== !0, f = {
|
|
77
74
|
name: "FormInputNumber",
|
|
78
75
|
inheritAttrs: !1,
|
|
79
76
|
props: { ...l },
|
|
80
|
-
emits: {
|
|
81
|
-
...t,
|
|
82
|
-
change: null,
|
|
83
|
-
blur: null,
|
|
84
|
-
focus: null
|
|
85
|
-
},
|
|
77
|
+
emits: { ...t },
|
|
86
78
|
setup(t, { emit: n, slots: r, attrs: l }) {
|
|
87
|
-
let { emitInput: u, render:
|
|
79
|
+
let { emitInput: u, render: f, placeholder: p, disabled: m, listeners: h, inputProps: g } = e(t, {
|
|
88
80
|
emit: n,
|
|
89
81
|
slots: r,
|
|
90
82
|
attrs: l,
|
|
91
|
-
|
|
92
|
-
predicate: f
|
|
83
|
+
predicate: d
|
|
93
84
|
}), _ = a(() => i(t.modelValue) ? Number(t.modelValue) : t.modelValue);
|
|
94
|
-
return () =>
|
|
85
|
+
return () => f({ vNodes: o(c, s(h.value, g.value, {
|
|
86
|
+
style: "width: 100%",
|
|
95
87
|
modelValue: _.value,
|
|
96
|
-
disabled:
|
|
88
|
+
disabled: m.value,
|
|
97
89
|
"onUpdate:modelValue": u,
|
|
98
|
-
placeholder:
|
|
90
|
+
placeholder: p.value
|
|
99
91
|
}), {
|
|
100
92
|
prefix: r.prefix || t.prefix ? () => t.prefix : null,
|
|
101
93
|
suffix: r.suffix || t.suffix ? () => t.suffix : t.append,
|
|
@@ -105,4 +97,4 @@ var l = {
|
|
|
105
97
|
}
|
|
106
98
|
};
|
|
107
99
|
//#endregion
|
|
108
|
-
export {
|
|
100
|
+
export { f as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./
|
|
2
|
-
import { n as t, t as n } from "./
|
|
1
|
+
import { n as e } from "./Cj59E77g.mjs";
|
|
2
|
+
import { n as t, t as n } from "./CFOGMFgo.mjs";
|
|
3
3
|
import { createVNode as r, isVNode as i, mergeProps as a, useModel as o } from "vue";
|
|
4
4
|
//#region src/components/form/FormInputEmail.vue?vue&type=script&lang.jsx
|
|
5
5
|
function s(e) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./
|
|
2
|
-
import { n as t, t as n } from "./
|
|
1
|
+
import { n as e } from "./Cj59E77g.mjs";
|
|
2
|
+
import { n as t, t as n } from "./CFOGMFgo.mjs";
|
|
3
3
|
import { createVNode as r, isVNode as i, mergeProps as a, useModel as o } from "vue";
|
|
4
4
|
//#region src/components/form/FormInputIdCard.vue?vue&type=script&lang.jsx
|
|
5
5
|
function s(e) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as e } from "./cmuHpsX6.mjs";
|
|
2
2
|
import { hasAuthority as t } from "../api/index.mjs";
|
|
3
3
|
import { toolbarContextKey as n } from "../constants/index.mjs";
|
|
4
4
|
import { isArray as r, isFunction as i } from "@web-utils/core";
|
|
@@ -145,7 +145,7 @@ var h = {
|
|
|
145
145
|
} catch {}
|
|
146
146
|
}, C = a(() => s.text ? !0 : s.type === "text"), w = a(() => {
|
|
147
147
|
if (!C.value) return s.primary ? "primary" : s.warning ? "warning" : s.type;
|
|
148
|
-
}), T = e(s,
|
|
148
|
+
}), T = e(s, _);
|
|
149
149
|
return () => x.value ? o(m, u(T.value, {
|
|
150
150
|
title: s.footer || y != null && y.footer ? null : s.title,
|
|
151
151
|
disabled: s.disabled || b.value,
|
|
@@ -8,7 +8,11 @@ var d = (e, n, r, i, a = !0) => {
|
|
|
8
8
|
return a && r && r.forEach((e) => {
|
|
9
9
|
o[`on${t(e)}`] = (...t) => i(e, ...t);
|
|
10
10
|
}), o;
|
|
11
|
-
}, f = (
|
|
11
|
+
}, f = (e, t) => c(() => {
|
|
12
|
+
let n = {};
|
|
13
|
+
if (t) for (let r in e) t(r) && (n[r] = e[r]);
|
|
14
|
+
return n;
|
|
15
|
+
}), p = ({ removeOn: t = !1, include: n, exclude: r } = {}) => {
|
|
12
16
|
let i = l();
|
|
13
17
|
return c(() => {
|
|
14
18
|
let a = {}, o = {}, c = {}, l = !1;
|
|
@@ -24,11 +28,14 @@ var d = (e, n, r, i, a = !0) => {
|
|
|
24
28
|
}
|
|
25
29
|
return a;
|
|
26
30
|
});
|
|
27
|
-
},
|
|
31
|
+
}, m = (e, { predicate: t, removeOn: n }) => ({
|
|
32
|
+
listeners: p({ removeOn: n }),
|
|
33
|
+
autoBindProps: f(e, t)
|
|
34
|
+
}), h = (e, { withOn: t = !1 } = {}) => {
|
|
28
35
|
let n = {};
|
|
29
36
|
for (let r in e) r.startsWith("on") && (t ? n[r] = e[r] : n[s(r.replace(/^on/, ""))] = e[r]);
|
|
30
37
|
return n;
|
|
31
|
-
},
|
|
38
|
+
}, g = (e, t = "id", n = "label") => {
|
|
32
39
|
let r = [];
|
|
33
40
|
function i(e, a) {
|
|
34
41
|
if (!e) return;
|
|
@@ -45,9 +52,9 @@ var d = (e, n, r, i, a = !0) => {
|
|
|
45
52
|
});
|
|
46
53
|
}
|
|
47
54
|
return e.forEach((e) => i(e, [])), r;
|
|
48
|
-
},
|
|
55
|
+
}, _ = (e, t = "id", n = "label") => {
|
|
49
56
|
let r = [];
|
|
50
|
-
return
|
|
57
|
+
return g(e).forEach((e) => {
|
|
51
58
|
let i = [], a = [];
|
|
52
59
|
for (let r = 0; r < e.length; r++) i.push(e[r][t]), a.push(e[r][n]);
|
|
53
60
|
r.push({
|
|
@@ -55,9 +62,9 @@ var d = (e, n, r, i, a = !0) => {
|
|
|
55
62
|
label: a.join("/")
|
|
56
63
|
});
|
|
57
64
|
}), r;
|
|
58
|
-
},
|
|
65
|
+
}, v = (e, t = "id", n = "label") => {
|
|
59
66
|
let r = {};
|
|
60
|
-
return
|
|
67
|
+
return g(e).forEach((e) => {
|
|
61
68
|
let i = [], a = [];
|
|
62
69
|
for (let r = 0; r < e.length; r++) i.push(e[r][t]), a.push(e[r][n]);
|
|
63
70
|
r[i.join("/")] = {
|
|
@@ -66,7 +73,7 @@ var d = (e, n, r, i, a = !0) => {
|
|
|
66
73
|
};
|
|
67
74
|
}), r;
|
|
68
75
|
};
|
|
69
|
-
function
|
|
76
|
+
function y(e) {
|
|
70
77
|
n(e, () => u.success({
|
|
71
78
|
duration: 1e3,
|
|
72
79
|
message: "复制成功!",
|
|
@@ -77,12 +84,12 @@ function v(e) {
|
|
|
77
84
|
type: "error"
|
|
78
85
|
}));
|
|
79
86
|
}
|
|
80
|
-
var
|
|
87
|
+
var b = (e) => {
|
|
81
88
|
let t = [];
|
|
82
89
|
return e && (i(e) ? e.forEach((e) => {
|
|
83
|
-
i(e) ? t.push(...
|
|
90
|
+
i(e) ? t.push(...b(e)) : e && t.push(e);
|
|
84
91
|
}) : e && t.push(e)), t;
|
|
85
|
-
},
|
|
92
|
+
}, x = (e = "", t = {}) => {
|
|
86
93
|
let n = t || {};
|
|
87
94
|
return (e || "").replace(/{(.*?)}/g, (e, t) => {
|
|
88
95
|
if (t.indexOf(":")) {
|
|
@@ -90,13 +97,13 @@ var y = (e) => {
|
|
|
90
97
|
return n[e] ? n[e] : r;
|
|
91
98
|
} else return n[t] || "";
|
|
92
99
|
});
|
|
93
|
-
},
|
|
100
|
+
}, S = (e, t) => a(e) ? x(e(t), t) : o(e) ? x(e, t) : null, C = (e) => {
|
|
94
101
|
let t = {};
|
|
95
102
|
for (let n in e) t[r(n)] = e[n];
|
|
96
103
|
return t;
|
|
97
|
-
},
|
|
104
|
+
}, w = (e, t) => {
|
|
98
105
|
for (let n in t) e[n] = t[n];
|
|
99
106
|
return e;
|
|
100
107
|
};
|
|
101
108
|
//#endregion
|
|
102
|
-
export { d as a,
|
|
109
|
+
export { d as a, C as c, f as d, p as f, b as i, _ as l, y as n, h as o, S as r, v as s, w as t, m as u };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { o as e } from "./
|
|
1
|
+
import { o as e } from "./cmuHpsX6.mjs";
|
|
2
2
|
import { goBack as t, hasAuthority as n } from "../api/index.mjs";
|
|
3
3
|
import { toolbarContextKey as r } from "../constants/index.mjs";
|
|
4
|
-
import { t as i } from "./
|
|
4
|
+
import { t as i } from "./XqRTtFfp.mjs";
|
|
5
5
|
import { NOOP as a, capitalize as o } from "@web-utils/core";
|
|
6
6
|
import { Comment as s, createVNode as c } from "vue";
|
|
7
7
|
//#region src/components/toolbar/Toolbar.vue?vue&type=script&lang.jsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as e, n as t } from "./
|
|
2
|
-
import { n, t as r } from "./
|
|
1
|
+
import { i as e, n as t } from "./Cj59E77g.mjs";
|
|
2
|
+
import { n, t as r } from "./CSyJ-vEx.mjs";
|
|
3
3
|
import { t as i } from "./CWfUPCtS.mjs";
|
|
4
4
|
import { createVNode as a, mergeProps as o, ref as s } from "vue";
|
|
5
5
|
import { ElInput as c, ElPopover as l } from "element-plus/es";
|
|
@@ -11,52 +11,47 @@ var u = {
|
|
|
11
11
|
}, d = {
|
|
12
12
|
readonly: !0,
|
|
13
13
|
placeholder: !0,
|
|
14
|
+
disabled: !0,
|
|
14
15
|
modelValue: !0,
|
|
15
16
|
prefix: !0,
|
|
16
17
|
suffix: !0
|
|
17
|
-
}, f = [
|
|
18
|
-
"click",
|
|
19
|
-
"blur",
|
|
20
|
-
"focus",
|
|
21
|
-
"change"
|
|
22
|
-
], p = (e) => n[e] === void 0 && d[e] !== !0, m = {
|
|
18
|
+
}, f = (e) => n[e] === void 0 && d[e] !== !0, p = {
|
|
23
19
|
name: "FormInputCronExpression",
|
|
24
20
|
props: { ...u },
|
|
25
21
|
emits: { ...t },
|
|
26
22
|
setup(t, { emit: n, slots: r, attrs: u }) {
|
|
27
|
-
let d = s(!1), { emitInput:
|
|
23
|
+
let d = s(!1), { emitInput: p, render: m, placeholder: h, disabled: g, listeners: _, inputProps: v } = e(t, {
|
|
28
24
|
emit: n,
|
|
29
25
|
slots: r,
|
|
30
26
|
attrs: u,
|
|
31
|
-
|
|
32
|
-
predicate: p
|
|
27
|
+
predicate: f
|
|
33
28
|
}), y = () => {
|
|
34
29
|
d.value = !0;
|
|
35
30
|
}, b = () => {
|
|
36
31
|
d.value = !1;
|
|
37
32
|
};
|
|
38
|
-
return () =>
|
|
33
|
+
return () => m({ vNodes: a("div", { class: "cron" }, [a(l, {
|
|
39
34
|
placement: "bottom-start",
|
|
40
|
-
disabled:
|
|
35
|
+
disabled: g.value,
|
|
41
36
|
visible: d.value,
|
|
42
37
|
"onUpdate:visible": (e) => d.value = e,
|
|
43
38
|
"popper-class": "cron-popover"
|
|
44
39
|
}, {
|
|
45
|
-
default: () => a(i, o(v.value, {
|
|
40
|
+
default: () => a(i, o(_.value, v.value, {
|
|
46
41
|
i18n: "cn",
|
|
47
42
|
expression: t.modelValue,
|
|
48
|
-
onChange:
|
|
43
|
+
onChange: p,
|
|
49
44
|
onClose: b
|
|
50
45
|
}), null),
|
|
51
46
|
reference: () => a(c, {
|
|
52
47
|
modelValue: t.modelValue,
|
|
53
48
|
readonly: !0,
|
|
54
|
-
disabled:
|
|
55
|
-
placeholder:
|
|
49
|
+
disabled: g.value,
|
|
50
|
+
placeholder: h.value,
|
|
56
51
|
onClick: y
|
|
57
52
|
}, null)
|
|
58
53
|
})]) });
|
|
59
54
|
}
|
|
60
55
|
};
|
|
61
56
|
//#endregion
|
|
62
|
-
export {
|
|
57
|
+
export { p as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./
|
|
2
|
-
import { n as t, t as n } from "./
|
|
1
|
+
import { n as e } from "./Cj59E77g.mjs";
|
|
2
|
+
import { n as t, t as n } from "./CFOGMFgo.mjs";
|
|
3
3
|
import { createVNode as r, isVNode as i, mergeProps as a, useModel as o } from "vue";
|
|
4
4
|
//#region src/components/form/FormInputPhoneNumber.vue?vue&type=script&lang.jsx
|
|
5
5
|
function s(e) {
|
package/constants/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InjectionKey } from 'vue';
|
|
1
|
+
import { InjectionKey, ComputedRef } from 'vue';
|
|
2
2
|
export declare const formHolderContextKey: InjectionKey<{
|
|
3
3
|
tableForm: boolean;
|
|
4
4
|
disabled: boolean;
|
|
@@ -30,13 +30,24 @@ export declare const formItemConfigProviderContextKey: InjectionKey<{
|
|
|
30
30
|
block: boolean;
|
|
31
31
|
wrapCol: boolean;
|
|
32
32
|
}>;
|
|
33
|
-
export declare const formViewContextKey:
|
|
33
|
+
export declare const formViewContextKey: InjectionKey<{
|
|
34
|
+
formCardStyle: object;
|
|
35
|
+
addGroup: (group: any) => void;
|
|
36
|
+
removeGroup: (group: any) => void;
|
|
37
|
+
tableForm: boolean;
|
|
38
|
+
}>;
|
|
34
39
|
export declare const formEntityContextKey: unique symbol;
|
|
35
40
|
export declare const formItemConfigContextKey: unique symbol;
|
|
36
|
-
export declare const flowContextKey:
|
|
37
|
-
|
|
41
|
+
export declare const flowContextKey: InjectionKey<{
|
|
42
|
+
formComments: object[];
|
|
43
|
+
}>;
|
|
44
|
+
export declare const toolbarContextKey: InjectionKey<{
|
|
45
|
+
footer: boolean;
|
|
46
|
+
}>;
|
|
38
47
|
export declare const tableViewContextKey: unique symbol;
|
|
39
|
-
export declare const pageableTableContextKey:
|
|
48
|
+
export declare const pageableTableContextKey: InjectionKey<{
|
|
49
|
+
records: ComputedRef<object[]>;
|
|
50
|
+
}>;
|
|
40
51
|
export declare const columnSizeContextKey: unique symbol;
|
|
41
52
|
export declare const columnsContextKey: unique symbol;
|
|
42
53
|
export declare const setColumnSizeContextKey: unique symbol;
|
package/editable-tree/index.d.ts
CHANGED
|
@@ -72,7 +72,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
72
72
|
};
|
|
73
73
|
defaultExpandAll: BooleanConstructor;
|
|
74
74
|
}>, {
|
|
75
|
-
|
|
75
|
+
autoBindProps: globalThis.ComputedRef<Record<string, any>>;
|
|
76
76
|
listeners: globalThis.ComputedRef<Record<string, any>>;
|
|
77
77
|
}, {
|
|
78
78
|
loading: boolean;
|
package/editable-tree/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/Bd1UFJic.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -6,7 +6,7 @@ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
|
6
6
|
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
7
|
close: () => void;
|
|
8
8
|
hide: () => void;
|
|
9
|
-
$emit: (
|
|
9
|
+
$emit: (event: "toggle-fullscreen", ...args: any[]) => void;
|
|
10
10
|
embed: boolean;
|
|
11
11
|
title: string;
|
|
12
12
|
fullscreen: boolean;
|
package/element-dialog/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/Cab-ZjRx.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
7
|
+
type __VLS_TemplateResult = {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: HTMLDivElement;
|
|
14
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { formViewContextKey as e } from "../constants/index.mjs";
|
|
2
|
+
import { createElementBlock as t, createElementVNode as n, inject as r, normalizeStyle as i, openBlock as a, renderSlot as o, unref as s } from "vue";
|
|
3
|
+
//#region src/components/form/FormCard.vue
|
|
4
|
+
var c = { class: "form-content" }, l = {
|
|
5
|
+
__name: "FormCard",
|
|
6
|
+
setup(l) {
|
|
7
|
+
let u = r(e, null);
|
|
8
|
+
return (e, r) => {
|
|
9
|
+
var l;
|
|
10
|
+
return a(), t("div", {
|
|
11
|
+
class: "form-card",
|
|
12
|
+
style: i((l = s(u)) == null ? void 0 : l.formCardStyle)
|
|
13
|
+
}, [n("div", c, [o(e.$slots, "default")])], 4);
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
//#endregion
|
|
18
|
+
export { l as default };
|
package/form-cascader/index.d.ts
CHANGED
|
@@ -209,13 +209,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
209
209
|
}>, () => globalThis.VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
210
210
|
[key: string]: any;
|
|
211
211
|
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
212
|
-
change: null;
|
|
213
|
-
'expand-change': null;
|
|
214
|
-
blur: null;
|
|
215
|
-
focus: null;
|
|
216
|
-
clear: null;
|
|
217
|
-
'visible-change': null;
|
|
218
|
-
'remove-tag': null;
|
|
219
212
|
"update:modelValue": null;
|
|
220
213
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
221
214
|
modelValue: (StringConstructor | ArrayConstructor | NumberConstructor)[];
|
|
@@ -426,14 +419,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
426
419
|
labelRowspan: (StringConstructor | NumberConstructor)[];
|
|
427
420
|
inputRowspan: (StringConstructor | NumberConstructor)[];
|
|
428
421
|
}>> & Readonly<{
|
|
429
|
-
onClear?: ((...args: any[]) => any) | undefined;
|
|
430
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
431
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
432
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
433
422
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
434
|
-
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
435
|
-
"onVisible-change"?: ((...args: any[]) => any) | undefined;
|
|
436
|
-
"onRemove-tag"?: ((...args: any[]) => any) | undefined;
|
|
437
423
|
}>, {
|
|
438
424
|
disabled: boolean;
|
|
439
425
|
push: number;
|
package/form-cascader/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/B3ajWLh3.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -160,7 +160,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
160
160
|
[key: string]: any;
|
|
161
161
|
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
162
162
|
'update:other': null;
|
|
163
|
-
change: null;
|
|
164
163
|
"update:modelValue": null;
|
|
165
164
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
166
165
|
modelValue: {
|
|
@@ -321,7 +320,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
321
320
|
labelRowspan: (StringConstructor | NumberConstructor)[];
|
|
322
321
|
inputRowspan: (StringConstructor | NumberConstructor)[];
|
|
323
322
|
}>> & Readonly<{
|
|
324
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
325
323
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
326
324
|
"onUpdate:other"?: ((...args: any[]) => any) | undefined;
|
|
327
325
|
}>, {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/D8UVq1t1.mjs";
|
|
2
2
|
export { e as default };
|
package/form-checkbox/index.d.ts
CHANGED
|
@@ -2,8 +2,14 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
2
2
|
modelValue: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
3
3
|
value: (StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor)[];
|
|
4
4
|
labelValue: (StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor)[];
|
|
5
|
-
trueValue:
|
|
6
|
-
|
|
5
|
+
trueValue: {
|
|
6
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
falseValue: {
|
|
10
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
7
13
|
border: {
|
|
8
14
|
type: BooleanConstructor;
|
|
9
15
|
default: boolean;
|
|
@@ -26,8 +32,14 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
26
32
|
id: StringConstructor;
|
|
27
33
|
ariaControls: StringConstructor;
|
|
28
34
|
ariaLabel: StringConstructor;
|
|
29
|
-
trueLabel:
|
|
30
|
-
|
|
35
|
+
trueLabel: {
|
|
36
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
falseLabel: {
|
|
40
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
31
43
|
controls: StringConstructor;
|
|
32
44
|
wrapFormItem: {
|
|
33
45
|
type: BooleanConstructor;
|
|
@@ -122,14 +134,19 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
122
134
|
}>, () => globalThis.VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
123
135
|
[key: string]: any;
|
|
124
136
|
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
125
|
-
change: null;
|
|
126
137
|
"update:modelValue": null;
|
|
127
138
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
128
139
|
modelValue: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
129
140
|
value: (StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor)[];
|
|
130
141
|
labelValue: (StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor)[];
|
|
131
|
-
trueValue:
|
|
132
|
-
|
|
142
|
+
trueValue: {
|
|
143
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
144
|
+
default: string;
|
|
145
|
+
};
|
|
146
|
+
falseValue: {
|
|
147
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
148
|
+
default: string;
|
|
149
|
+
};
|
|
133
150
|
border: {
|
|
134
151
|
type: BooleanConstructor;
|
|
135
152
|
default: boolean;
|
|
@@ -152,8 +169,14 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
152
169
|
id: StringConstructor;
|
|
153
170
|
ariaControls: StringConstructor;
|
|
154
171
|
ariaLabel: StringConstructor;
|
|
155
|
-
trueLabel:
|
|
156
|
-
|
|
172
|
+
trueLabel: {
|
|
173
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
174
|
+
default: string;
|
|
175
|
+
};
|
|
176
|
+
falseLabel: {
|
|
177
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
178
|
+
default: string;
|
|
179
|
+
};
|
|
157
180
|
controls: StringConstructor;
|
|
158
181
|
wrapFormItem: {
|
|
159
182
|
type: BooleanConstructor;
|
|
@@ -246,7 +269,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
246
269
|
labelRowspan: (StringConstructor | NumberConstructor)[];
|
|
247
270
|
inputRowspan: (StringConstructor | NumberConstructor)[];
|
|
248
271
|
}>> & Readonly<{
|
|
249
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
250
272
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
251
273
|
}>, {
|
|
252
274
|
disabled: boolean;
|
|
@@ -268,8 +290,12 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
268
290
|
pull: number;
|
|
269
291
|
wrapFormItem: boolean;
|
|
270
292
|
validateEvent: boolean;
|
|
293
|
+
trueValue: string | number;
|
|
294
|
+
falseValue: string | number;
|
|
271
295
|
border: boolean;
|
|
272
296
|
checked: boolean;
|
|
273
297
|
indeterminate: boolean;
|
|
298
|
+
trueLabel: string | number;
|
|
299
|
+
falseLabel: string | number;
|
|
274
300
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
275
301
|
export default _default;
|
package/form-checkbox/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/BWBHzD5N.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/CXvGoZKJ.mjs";
|
|
2
2
|
export { e as default };
|
package/form-holder/index.d.ts
CHANGED
|
@@ -70,9 +70,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
70
70
|
type: BooleanConstructor;
|
|
71
71
|
default: boolean;
|
|
72
72
|
};
|
|
73
|
-
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
74
|
-
validate: null;
|
|
75
|
-
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
73
|
+
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
76
74
|
model: ObjectConstructor;
|
|
77
75
|
rules: ObjectConstructor;
|
|
78
76
|
inline: {
|
|
@@ -144,9 +142,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
144
142
|
type: BooleanConstructor;
|
|
145
143
|
default: boolean;
|
|
146
144
|
};
|
|
147
|
-
}>> & Readonly<{
|
|
148
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
149
|
-
}>, {
|
|
145
|
+
}>> & Readonly<{}>, {
|
|
150
146
|
disabled: boolean;
|
|
151
147
|
labelPosition: string;
|
|
152
148
|
labelWidth: string | number;
|
package/form-holder/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/BufIRDd0.mjs";
|
|
2
2
|
export { e as default };
|
package/form-image/index.d.ts
CHANGED
|
@@ -95,13 +95,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
95
95
|
inputRowspan: (StringConstructor | NumberConstructor)[];
|
|
96
96
|
}>, () => globalThis.VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
97
97
|
[key: string]: any;
|
|
98
|
-
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
99
|
-
load: null;
|
|
100
|
-
error: null;
|
|
101
|
-
switch: null;
|
|
102
|
-
close: null;
|
|
103
|
-
show: null;
|
|
104
|
-
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
98
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
105
99
|
src: StringConstructor;
|
|
106
100
|
fit: StringConstructor;
|
|
107
101
|
hideOnClickModal: BooleanConstructor;
|
|
@@ -196,13 +190,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
196
190
|
inputColspan: (StringConstructor | NumberConstructor)[];
|
|
197
191
|
labelRowspan: (StringConstructor | NumberConstructor)[];
|
|
198
192
|
inputRowspan: (StringConstructor | NumberConstructor)[];
|
|
199
|
-
}>> & Readonly<{
|
|
200
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
201
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
202
|
-
onLoad?: ((...args: any[]) => any) | undefined;
|
|
203
|
-
onSwitch?: ((...args: any[]) => any) | undefined;
|
|
204
|
-
onShow?: ((...args: any[]) => any) | undefined;
|
|
205
|
-
}>, {
|
|
193
|
+
}>> & Readonly<{}>, {
|
|
206
194
|
disabled: boolean;
|
|
207
195
|
push: number;
|
|
208
196
|
col: boolean;
|
package/form-image/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/C3Uo82-I.mjs";
|
|
2
2
|
export { e as default };
|