@web-utils/form-ui 1.0.0-beta23 → 1.0.0-beta25
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/api/index.d.ts +1 -1
- package/api/index.mjs +1 -1
- package/awesome-button/index.mjs +2 -49
- package/base.css +1 -1
- package/chunks/0nMB8MZ0.mjs +174 -0
- package/chunks/{DBL23JPA.mjs → 1UkAGJ03.mjs} +3 -3
- package/chunks/{CwjQbaXJ.mjs → 4G13cKOo.mjs} +3 -3
- package/chunks/{DbBdLuvW.mjs → B2PYq5pM.mjs} +3 -3
- package/chunks/{B-Y8YSMp.mjs → B8rugxZ0.mjs} +3 -3
- package/chunks/{CH7m94ce.mjs → BM8sdTDJ.mjs} +3 -3
- package/chunks/{INlqdzng.mjs → BYNkR7-j.mjs} +3 -3
- package/chunks/{BwuQhCIf.mjs → BdD1Rt-7.mjs} +6 -7
- package/chunks/{BzMaCcUd.mjs → BdHFJ9cK.mjs} +1 -1
- package/chunks/{CJv6Sn_v.mjs → BowPVbJ7.mjs} +3 -3
- package/chunks/{ENc67_lM.mjs → CAQ6-w1f.mjs} +4 -4
- package/chunks/{DP1YukLf.mjs → CjeZ3uKX.mjs} +7 -7
- package/chunks/{Cxvr9Z1r.mjs → Ckur6g6N.mjs} +1 -1
- package/chunks/CnVy7Ngb.mjs +474 -0
- package/chunks/{tIzKZ11j.mjs → CtK74qPE.mjs} +6 -7
- package/chunks/DDc6e1uO.mjs +62 -0
- package/chunks/{Bw1QPGNc.mjs → DJjmr9R3.mjs} +3 -3
- package/chunks/{3VI058Yv.mjs → DdZcziWU.mjs} +4 -4
- package/chunks/{DpH8CVbN.mjs → DgL5zblr.mjs} +17 -17
- package/chunks/{BcMgzZyZ.mjs → Dl5QgkX_.mjs} +6 -7
- package/chunks/{Cp9FIjnh.mjs → DnWeeCd1.mjs} +2 -2
- package/chunks/{rkRnszQn.mjs → MVhpewST.mjs} +2 -2
- package/chunks/{C2RhdxHB.mjs → U08ZaDiY.mjs} +199 -206
- package/chunks/{BIm5rmJm.mjs → Uhf6MK26.mjs} +2 -2
- package/chunks/{dDAvzX4k.mjs → XKBWlv3M.mjs} +3 -3
- package/chunks/iIcGTQmB.mjs +50 -0
- package/chunks/{y8u4cMEF.mjs → o7O5_GIP.mjs} +4 -4
- package/confirm-button/index.d.ts +82 -40
- package/confirm-button/index.mjs +1 -1
- package/confirmable/index.d.ts +83 -41
- package/confirmable/index.mjs +1 -1
- package/element-dialog/index.d.ts +295 -17
- package/element-dialog/index.mjs +1 -1
- package/empty-view/index.mjs +1 -1
- package/form-advice/index.mjs +1 -1
- package/form-button/index.d.ts +82 -40
- package/form-cascader/index.d.ts +11 -9
- package/form-cascader/index.mjs +1 -1
- package/form-check-box-group/index.d.ts +10 -8
- package/form-check-box-group/index.mjs +1 -1
- package/form-checkbox/index.d.ts +9 -7
- package/form-checkbox/index.mjs +1 -1
- package/form-date-picker/index.d.ts +11 -9
- package/form-date-picker/index.mjs +1 -1
- package/form-holder/index.d.ts +3 -3
- package/form-holder/index.mjs +1 -1
- package/form-image/index.d.ts +8 -6
- package/form-image/index.mjs +1 -1
- package/form-input/index.d.ts +13 -11
- package/form-input/index.mjs +1 -1
- package/form-input-cron-expression/index.d.ts +8 -6
- package/form-input-cron-expression/index.mjs +1 -1
- package/form-input-email/index.d.ts +9 -9
- package/form-input-email/index.mjs +1 -1
- package/form-input-id-card/index.d.ts +9 -9
- package/form-input-id-card/index.mjs +1 -1
- package/form-input-number/index.d.ts +10 -8
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.d.ts +9 -9
- package/form-input-phone-number/index.mjs +1 -1
- package/form-item-group/index.d.ts +1 -1
- package/form-item-x/index.d.ts +5 -5
- package/form-item-x/index.mjs +1 -1
- package/form-radio-group/index.d.ts +9 -7
- package/form-radio-group/index.mjs +1 -1
- package/form-rate/index.d.ts +9 -7
- package/form-rate/index.mjs +1 -1
- package/form-red-table/index.mjs +1 -1
- package/form-select/index.d.ts +10 -8
- package/form-select/index.mjs +1 -1
- package/form-slider/index.d.ts +9 -7
- package/form-slider/index.mjs +1 -1
- package/form-switch/index.d.ts +9 -7
- package/form-switch/index.mjs +1 -1
- package/form-text/index.d.ts +8 -6
- package/form-text/index.mjs +1 -1
- package/form-view/index.mjs +1 -1
- package/helper/dictionary.mjs +1 -1
- package/iframe-window/index.mjs +1 -1
- package/index.d.ts +2 -2
- package/index.mjs +30 -30
- package/month-calendar/index.d.ts +1 -1
- package/package.json +2 -1
- package/table-view/index.mjs +1 -1
- package/toolbar/index.mjs +1 -1
- package/toolbar-button/index.d.ts +2 -2
- package/vue-cron/index.mjs +1 -1
- package/web-types.json +13047 -1
- package/x-input-tag/index.d.ts +2 -0
- package/x-input-tag/index.mjs +226 -0
- package/x-input-tag/style.css +1 -0
- package/year-calendar/index.d.ts +1 -1
- package/year-calendar/index.mjs +2 -174
- package/year-calendar/style.css +1 -1
- package/chunks/Cnmu4eY-.mjs +0 -106
- package/chunks/CozfnlhM.mjs +0 -73
- package/chunks/D4Pknq4r.mjs +0 -53
- package/month-calendar/index.mjs +0 -312
- package/month-calendar/style.css +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as e } from "./
|
|
1
|
+
import { t as e } from "./BdHFJ9cK.mjs";
|
|
2
2
|
import { formHolderContextKey as t, formItemConfigProviderContextKey as n, formItemGroupContextKey as r } from "../constants/index.mjs";
|
|
3
3
|
import { computed as i, createVNode as a, h as o, inject as s, mergeProps as c, nextTick as l, unref as u, useTemplateRef as d } from "vue";
|
|
4
4
|
import { ElCol as f, rowContextKey as p } from "element-plus";
|
|
5
5
|
import { ElCol as m, ElFormItem as h, ElTooltip as g } from "element-plus/es";
|
|
6
|
-
//#region src/components/form/props/form-item.
|
|
6
|
+
//#region src/components/form/props/form-item.ts
|
|
7
7
|
var _ = {
|
|
8
8
|
prop: [String, Array],
|
|
9
9
|
label: String,
|
|
@@ -1,9 +1,9 @@
|
|
|
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 "./Uhf6MK26.mjs";
|
|
2
|
+
import { n, t as r } from "./DnWeeCd1.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";
|
|
6
|
-
//#region src/components/form/props/input-number.
|
|
6
|
+
//#region src/components/form/props/input-number.ts
|
|
7
7
|
var l = {
|
|
8
8
|
...n,
|
|
9
9
|
...r,
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { isFunction as e } from "@web-utils/core";
|
|
2
|
+
import { h as t, ref as n, resolveComponent as r } from "vue";
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region src/components/button/AwesomeButton.vue
|
|
5
|
+
var i = {
|
|
6
|
+
name: "AwesomeButton",
|
|
7
|
+
inheritAttrs: !1,
|
|
8
|
+
props: {
|
|
9
|
+
type: {
|
|
10
|
+
type: String,
|
|
11
|
+
default: "primary"
|
|
12
|
+
},
|
|
13
|
+
size: String,
|
|
14
|
+
icon: {
|
|
15
|
+
type: String,
|
|
16
|
+
default: ""
|
|
17
|
+
},
|
|
18
|
+
nativeType: {
|
|
19
|
+
type: String,
|
|
20
|
+
default: "button"
|
|
21
|
+
},
|
|
22
|
+
loading: Boolean,
|
|
23
|
+
disabled: Boolean,
|
|
24
|
+
plain: Boolean,
|
|
25
|
+
autofocus: Boolean,
|
|
26
|
+
round: Boolean,
|
|
27
|
+
text: {
|
|
28
|
+
type: String,
|
|
29
|
+
default: ""
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
setup(i, { attrs: a, slots: o }) {
|
|
33
|
+
let s = r("ElButton"), { text: c, ...l } = i, { onClick: u, ...d } = a, f = n(!1), p = async (t) => {
|
|
34
|
+
if (f.value = !0, e(u)) try {
|
|
35
|
+
await u(t);
|
|
36
|
+
} catch (e) {
|
|
37
|
+
console.error(e);
|
|
38
|
+
}
|
|
39
|
+
f.value = !1;
|
|
40
|
+
};
|
|
41
|
+
return () => t(s, {
|
|
42
|
+
...d,
|
|
43
|
+
...l,
|
|
44
|
+
disabled: f.value,
|
|
45
|
+
onClick: p
|
|
46
|
+
}, { default: o.default || (() => c) });
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
//#endregion
|
|
50
|
+
export { i as t };
|
|
@@ -1,11 +1,11 @@
|
|
|
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 "./Uhf6MK26.mjs";
|
|
2
|
+
import { n, t as r } from "./DnWeeCd1.mjs";
|
|
3
3
|
import { useDictionary as i } from "../hook/useDictionary.mjs";
|
|
4
4
|
import { findTreeChildren as a, isArray as o, isString as s, setParent as c } from "@web-utils/core";
|
|
5
5
|
import { computed as l, createVNode as u, mergeProps as d } from "vue";
|
|
6
6
|
import { cloneDeep as f } from "@web-utils/integrations/lodash";
|
|
7
7
|
import { ElCascader as p } from "element-plus/es";
|
|
8
|
-
//#region src/components/form/props/cascader.
|
|
8
|
+
//#region src/components/form/props/cascader.ts
|
|
9
9
|
var m = {
|
|
10
10
|
...n,
|
|
11
11
|
...r,
|
|
@@ -42,7 +42,7 @@ var m = {
|
|
|
42
42
|
maxCollapseTagsTooltipHeight: [String, Number],
|
|
43
43
|
separator: {
|
|
44
44
|
type: String,
|
|
45
|
-
default: "
|
|
45
|
+
default: "/"
|
|
46
46
|
},
|
|
47
47
|
filterable: {
|
|
48
48
|
type: Boolean,
|
|
@@ -1,44 +1,86 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
+
stop: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
prevent: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
text: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
message: StringConstructor;
|
|
15
|
+
confirmable: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
confirmText: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
confirmType: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
confirmTitle: StringConstructor;
|
|
28
|
+
loadable: BooleanConstructor;
|
|
29
|
+
loadingText: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
tag: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
38
|
+
stop: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
prevent: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
text: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
message: StringConstructor;
|
|
51
|
+
confirmable: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
confirmText: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
confirmType: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
confirmTitle: StringConstructor;
|
|
64
|
+
loadable: BooleanConstructor;
|
|
65
|
+
loadingText: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
tag: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: string;
|
|
39
72
|
};
|
|
40
|
-
|
|
41
|
-
|
|
73
|
+
}>> & Readonly<{}>, {
|
|
74
|
+
text: string;
|
|
75
|
+
stop: boolean;
|
|
76
|
+
prevent: boolean;
|
|
77
|
+
loadable: boolean;
|
|
78
|
+
loadingText: string;
|
|
79
|
+
confirmable: boolean;
|
|
80
|
+
confirmType: string;
|
|
81
|
+
confirmText: string;
|
|
82
|
+
tag: string;
|
|
83
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | {
|
|
42
84
|
props: {
|
|
43
85
|
type: {
|
|
44
86
|
type: StringConstructor;
|
package/confirm-button/index.mjs
CHANGED
package/confirmable/index.d.ts
CHANGED
|
@@ -1,42 +1,84 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
+
stop: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
prevent: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
text: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
message: StringConstructor;
|
|
15
|
+
confirmable: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
confirmText: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
confirmType: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
confirmTitle: StringConstructor;
|
|
28
|
+
loadable: BooleanConstructor;
|
|
29
|
+
loadingText: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
tag: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
38
|
+
stop: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
prevent: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
text: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
message: StringConstructor;
|
|
51
|
+
confirmable: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
confirmText: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
confirmType: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
confirmTitle: StringConstructor;
|
|
64
|
+
loadable: BooleanConstructor;
|
|
65
|
+
loadingText: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
tag: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
}>> & Readonly<{}>, {
|
|
74
|
+
text: string;
|
|
75
|
+
stop: boolean;
|
|
76
|
+
prevent: boolean;
|
|
77
|
+
loadable: boolean;
|
|
78
|
+
loadingText: string;
|
|
79
|
+
confirmable: boolean;
|
|
80
|
+
confirmType: string;
|
|
81
|
+
confirmText: string;
|
|
82
|
+
tag: string;
|
|
83
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
42
84
|
export default _default;
|
package/confirmable/index.mjs
CHANGED