@web-utils/form-ui 1.0.0-beta37 → 1.0.0-beta39
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/{C81uwgZb.mjs → B3ajWLh3.mjs} +3 -2
- package/chunks/{BeyC-b9n.mjs → BH_JJ8Xh.mjs} +6 -3
- package/chunks/{CUvhHVXq.mjs → BWBHzD5N.mjs} +3 -2
- package/chunks/{CGmMqCP6.mjs → BsCS7SB5.mjs} +2 -2
- package/chunks/C1AgOUe_.mjs +172 -0
- package/chunks/{DjX-fB-E.mjs → C3Uo82-I.mjs} +2 -2
- package/chunks/C9dGL28n.mjs +56 -0
- package/chunks/{BiIR7j9T.mjs → CFOGMFgo.mjs} +9 -5
- package/chunks/{Ce5K-XbN.mjs → CLPSCSsy.mjs} +1 -1
- package/chunks/{CRrdgtwT.mjs → CSyJ-vEx.mjs} +1 -1
- package/chunks/CTKmEf2M.mjs +93 -0
- package/chunks/{B2HO8aAj.mjs → CXvGoZKJ.mjs} +3 -2
- package/chunks/{CE8bze--.mjs → Cj59E77g.mjs} +2 -3
- package/chunks/{B17LMtNG.mjs → CqTcEefA.mjs} +6 -3
- package/chunks/{BC0gfvsl.mjs → Ct5bDJ50.mjs} +2 -2
- package/chunks/{BeBtvo7Q.mjs → CuG2Q-PM.mjs} +1 -1
- package/chunks/{CszLlvRH.mjs → D8UVq1t1.mjs} +4 -3
- package/chunks/{BYAy19s4.mjs → DJe97Fgi.mjs} +2 -8
- package/chunks/{Byr79NWq.mjs → DXYgAmil.mjs} +3 -2
- package/chunks/{BMAsNnWL.mjs → DhtHh0jk.mjs} +6 -3
- package/chunks/{D0M61zlJ.mjs → DiJyms_r.mjs} +3 -2
- package/chunks/DtsuMuSg.mjs +32 -0
- package/chunks/{h0Y7oZ-O.mjs → TvNHGVAP.mjs} +2 -2
- package/chunks/{C95McWbI.mjs → XCGWTz41.mjs} +2 -2
- package/chunks/{DkXSvAFI.mjs → pdwFQpA8.mjs} +3 -2
- package/chunks/{BrXlRZbl.mjs → taicx2sd.mjs} +2 -2
- package/constants/index.d.ts +16 -5
- package/form-card/index.d.ts +14 -0
- package/form-card/index.mjs +18 -0
- package/form-cascader/index.mjs +1 -1
- package/form-check-box-group/index.mjs +1 -1
- package/form-checkbox/index.mjs +1 -1
- package/form-date-picker/index.mjs +1 -1
- package/form-image/index.mjs +1 -1
- package/form-input/index.d.ts +9 -2
- 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.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.mjs +1 -1
- package/form-rate/index.mjs +1 -1
- package/form-row/index.mjs +1 -1
- package/form-select/index.mjs +1 -1
- package/form-slider/index.d.ts +1 -1
- package/form-slider/index.mjs +1 -1
- 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/index.d.ts +4 -1
- package/index.mjs +43 -40
- package/package.json +1 -1
- 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 +3 -3
- package/toolbar/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/dict-render/index.d.ts +0 -28
- package/month-calendar/index.d.ts +0 -80
- package/table-column-filter/index.d.ts +0 -11
- package/table-column-filterable/index.d.ts +0 -10
- /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
- /package/chunks/{CZ6kuiWf.mjs → o6VhYAN52.mjs} +0 -0
|
@@ -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 { 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";
|
|
@@ -147,6 +147,7 @@ var m = {
|
|
|
147
147
|
}, h = {
|
|
148
148
|
modelValue: !0,
|
|
149
149
|
readonly: !0,
|
|
150
|
+
disabled: !0,
|
|
150
151
|
props: !0
|
|
151
152
|
}, g = (e) => n[e] === void 0 && h[e] !== !0, _ = {
|
|
152
153
|
name: "FormCascader",
|
|
@@ -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 { ElSwitch as o } from "element-plus/es";
|
|
5
5
|
//#region src/components/form/props/switch.ts
|
|
@@ -75,7 +75,10 @@ var s = {
|
|
|
75
75
|
type: String,
|
|
76
76
|
default: ""
|
|
77
77
|
}
|
|
78
|
-
}, c = {
|
|
78
|
+
}, c = {
|
|
79
|
+
disabled: !0,
|
|
80
|
+
modelValue: !0
|
|
81
|
+
}, l = (e) => n[e] === void 0 && c[e] !== !0, u = {
|
|
79
82
|
name: "FormSwitch",
|
|
80
83
|
inheritAttrs: !1,
|
|
81
84
|
props: { ...s },
|
|
@@ -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 { ElCheckbox as o } from "element-plus/es";
|
|
5
5
|
//#region src/components/form/props/checkbox.ts
|
|
@@ -63,6 +63,7 @@ var s = {
|
|
|
63
63
|
controls: String
|
|
64
64
|
}, c = {
|
|
65
65
|
modelValue: !0,
|
|
66
|
+
disabled: !0,
|
|
66
67
|
labelValue: !0
|
|
67
68
|
}, l = (e) => n[e] === void 0 && c[e] !== !0, u = {
|
|
68
69
|
name: "FormCheckbox",
|
|
@@ -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 { useDictionary as r } from "../hook/useDictionary.mjs";
|
|
4
4
|
import { computed as i, createVNode as a, isVNode as o, mergeProps as s, useModel as c } from "vue";
|
|
5
5
|
import { ElRadio as l, ElRadioButton as u, ElRadioGroup as d } from "element-plus/es";
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
import { i as e, n as t } from "./Cj59E77g.mjs";
|
|
2
|
+
import { n, t as r } from "./CSyJ-vEx.mjs";
|
|
3
|
+
import { createVNode as i, mergeProps as a } from "vue";
|
|
4
|
+
import { ElTimePicker as o } from "element-plus/es";
|
|
5
|
+
//#region src/components/form/props/time.ts
|
|
6
|
+
var s = {
|
|
7
|
+
...n,
|
|
8
|
+
...r,
|
|
9
|
+
modelValue: [
|
|
10
|
+
Number,
|
|
11
|
+
String,
|
|
12
|
+
Object
|
|
13
|
+
],
|
|
14
|
+
readonly: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
default: !1
|
|
17
|
+
},
|
|
18
|
+
disabled: {
|
|
19
|
+
type: Boolean,
|
|
20
|
+
default: !1
|
|
21
|
+
},
|
|
22
|
+
editable: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
default: !0
|
|
25
|
+
},
|
|
26
|
+
clearable: {
|
|
27
|
+
type: Boolean,
|
|
28
|
+
default: !0
|
|
29
|
+
},
|
|
30
|
+
size: String,
|
|
31
|
+
placeholder: {
|
|
32
|
+
type: String,
|
|
33
|
+
default: ""
|
|
34
|
+
},
|
|
35
|
+
startPlaceholder: {
|
|
36
|
+
type: String,
|
|
37
|
+
default: "开始时间"
|
|
38
|
+
},
|
|
39
|
+
endPlaceholder: {
|
|
40
|
+
type: String,
|
|
41
|
+
default: "结束时间"
|
|
42
|
+
},
|
|
43
|
+
isRange: {
|
|
44
|
+
type: Boolean,
|
|
45
|
+
default: !1
|
|
46
|
+
},
|
|
47
|
+
arrowControl: {
|
|
48
|
+
type: Boolean,
|
|
49
|
+
default: !1
|
|
50
|
+
},
|
|
51
|
+
popperClass: {
|
|
52
|
+
type: String,
|
|
53
|
+
default: ""
|
|
54
|
+
},
|
|
55
|
+
popperStyle: [String, Object],
|
|
56
|
+
popperOptions: Object,
|
|
57
|
+
fallbackPlacements: {
|
|
58
|
+
type: Array,
|
|
59
|
+
default: () => [
|
|
60
|
+
"bottom",
|
|
61
|
+
"top",
|
|
62
|
+
"right",
|
|
63
|
+
"left"
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
placement: {
|
|
67
|
+
type: String,
|
|
68
|
+
default: "bottom-start"
|
|
69
|
+
},
|
|
70
|
+
rangeSeparator: {
|
|
71
|
+
type: String,
|
|
72
|
+
default: "-"
|
|
73
|
+
},
|
|
74
|
+
format: {
|
|
75
|
+
type: String,
|
|
76
|
+
default: "HH:mm:ss"
|
|
77
|
+
},
|
|
78
|
+
defaultValue: [Date, Array],
|
|
79
|
+
valueFormat: String,
|
|
80
|
+
id: [String, Array],
|
|
81
|
+
name: {
|
|
82
|
+
type: String,
|
|
83
|
+
default: ""
|
|
84
|
+
},
|
|
85
|
+
ariaLabel: String,
|
|
86
|
+
prefixIcon: [String, Object],
|
|
87
|
+
clearIcon: [String, Object],
|
|
88
|
+
disabledHours: Function,
|
|
89
|
+
disabledMinutes: Function,
|
|
90
|
+
disabledSeconds: Function,
|
|
91
|
+
teleported: {
|
|
92
|
+
type: Boolean,
|
|
93
|
+
default: !0
|
|
94
|
+
},
|
|
95
|
+
tabindex: [String, Number],
|
|
96
|
+
emptyValues: Array,
|
|
97
|
+
valueOnClear: [
|
|
98
|
+
String,
|
|
99
|
+
Number,
|
|
100
|
+
Boolean,
|
|
101
|
+
Function
|
|
102
|
+
],
|
|
103
|
+
saveOnBlur: {
|
|
104
|
+
type: Boolean,
|
|
105
|
+
default: !0
|
|
106
|
+
},
|
|
107
|
+
range: Boolean,
|
|
108
|
+
start: {
|
|
109
|
+
type: String,
|
|
110
|
+
default: "09:00"
|
|
111
|
+
},
|
|
112
|
+
end: {
|
|
113
|
+
type: String,
|
|
114
|
+
default: "18:00"
|
|
115
|
+
},
|
|
116
|
+
step: {
|
|
117
|
+
type: String,
|
|
118
|
+
default: "00:30"
|
|
119
|
+
},
|
|
120
|
+
minTime: {
|
|
121
|
+
type: String,
|
|
122
|
+
default: "00:00"
|
|
123
|
+
},
|
|
124
|
+
maxTime: {
|
|
125
|
+
type: String,
|
|
126
|
+
default: ""
|
|
127
|
+
},
|
|
128
|
+
selectableRange: String
|
|
129
|
+
}, c = {
|
|
130
|
+
disabled: !0,
|
|
131
|
+
modelValue: !0,
|
|
132
|
+
isRange: !0,
|
|
133
|
+
range: !0,
|
|
134
|
+
placement: !0,
|
|
135
|
+
popperOptions: !0,
|
|
136
|
+
start: !0,
|
|
137
|
+
end: !0,
|
|
138
|
+
step: !0,
|
|
139
|
+
minTime: !0,
|
|
140
|
+
maxTime: !0,
|
|
141
|
+
selectableRange: !0
|
|
142
|
+
}, l = (e) => n[e] === void 0 && c[e] !== !0, u = {
|
|
143
|
+
name: "FormInputTime",
|
|
144
|
+
inheritAttrs: !1,
|
|
145
|
+
props: { ...s },
|
|
146
|
+
emits: { ...t },
|
|
147
|
+
setup(t, { emit: n, slots: r, attrs: s }) {
|
|
148
|
+
let { emitInput: c, render: u, placeholder: d, disabled: f, listeners: p, inputProps: m } = e(t, {
|
|
149
|
+
emit: n,
|
|
150
|
+
slots: r,
|
|
151
|
+
attrs: s,
|
|
152
|
+
predicate: l
|
|
153
|
+
}), h = { modifiers: [{
|
|
154
|
+
name: "arrow",
|
|
155
|
+
options: { padding: ({ popper: e, reference: t, placement: n }) => e.width / 2 }
|
|
156
|
+
}] };
|
|
157
|
+
return () => u({ vNodes: i(o, a(p.value, m.value, {
|
|
158
|
+
"popper-options": t.popperOptions || h,
|
|
159
|
+
style: "width: 100%",
|
|
160
|
+
placement: t.placement || "left",
|
|
161
|
+
"is-range": t.isRange || t.range,
|
|
162
|
+
format: t.format,
|
|
163
|
+
"value-format": t.valueFormat || t.format,
|
|
164
|
+
modelValue: t.modelValue,
|
|
165
|
+
disabled: f.value,
|
|
166
|
+
"onUpdate:modelValue": c,
|
|
167
|
+
placeholder: d.value
|
|
168
|
+
}), null) });
|
|
169
|
+
}
|
|
170
|
+
};
|
|
171
|
+
//#endregion
|
|
172
|
+
export { u as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as e } from "./cmuHpsX6.mjs";
|
|
2
|
-
import { o as t, r as n } from "./
|
|
3
|
-
import { n as r } from "./
|
|
2
|
+
import { o as t, r as n } from "./Cj59E77g.mjs";
|
|
3
|
+
import { n as r } from "./CSyJ-vEx.mjs";
|
|
4
4
|
import { createVNode as i, isVNode as a, mergeProps as o } from "vue";
|
|
5
5
|
import { ElImage as s } from "element-plus/es";
|
|
6
6
|
//#region src/components/form/props/image.ts
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { i as e, n as t } from "./Cj59E77g.mjs";
|
|
2
|
+
import { n, t as r } from "./CSyJ-vEx.mjs";
|
|
3
|
+
import i from "../x-input-tag/index.mjs";
|
|
4
|
+
import { createVNode as a, mergeProps as o } from "vue";
|
|
5
|
+
//#region src/components/form/props/input-tag.ts
|
|
6
|
+
var s = {
|
|
7
|
+
...n,
|
|
8
|
+
...r,
|
|
9
|
+
modelValue: [Array, String],
|
|
10
|
+
arrayMode: {
|
|
11
|
+
type: Boolean,
|
|
12
|
+
default: !0
|
|
13
|
+
},
|
|
14
|
+
objectMode: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
default: !0
|
|
17
|
+
},
|
|
18
|
+
separator: {
|
|
19
|
+
type: String,
|
|
20
|
+
default: ","
|
|
21
|
+
},
|
|
22
|
+
boundarySelector: {
|
|
23
|
+
type: String,
|
|
24
|
+
default: ".form-scroller"
|
|
25
|
+
},
|
|
26
|
+
query: Function,
|
|
27
|
+
type: {
|
|
28
|
+
type: String,
|
|
29
|
+
default: "标签"
|
|
30
|
+
}
|
|
31
|
+
}, c = {
|
|
32
|
+
disabled: !0,
|
|
33
|
+
modelValue: !0
|
|
34
|
+
}, l = (e) => n[e] === void 0 && c[e] !== !0, u = {
|
|
35
|
+
name: "FormInputTag",
|
|
36
|
+
inheritAttrs: !1,
|
|
37
|
+
props: { ...s },
|
|
38
|
+
emits: { ...t },
|
|
39
|
+
setup(t, { emit: n, slots: r, attrs: s }) {
|
|
40
|
+
let { emitInput: c, render: u, placeholder: d, disabled: f, listeners: p, inputProps: m } = e(t, {
|
|
41
|
+
emit: n,
|
|
42
|
+
slots: r,
|
|
43
|
+
attrs: s,
|
|
44
|
+
predicate: l
|
|
45
|
+
});
|
|
46
|
+
return () => u({ vNodes: a(i, o(p.value, m.value, {
|
|
47
|
+
style: "width: 100%",
|
|
48
|
+
modelValue: t.modelValue,
|
|
49
|
+
disabled: f.value,
|
|
50
|
+
"onUpdate:modelValue": c,
|
|
51
|
+
placeholder: d.value
|
|
52
|
+
}), null) });
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
//#endregion
|
|
56
|
+
export { u as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as e, n as t, t as n } from "./
|
|
2
|
-
import { n as r, t as i } from "./
|
|
1
|
+
import { i as e, n as t, t as n } from "./Cj59E77g.mjs";
|
|
2
|
+
import { n as r, t as i } from "./CSyJ-vEx.mjs";
|
|
3
3
|
import { validatePhoneNum as a } from "@web-utils/core";
|
|
4
4
|
import { computed as o, createVNode as s, mergeProps as c, useModel as l } from "vue";
|
|
5
5
|
import { ElInput as u } from "element-plus/es";
|
|
@@ -19,11 +19,14 @@ var p = {
|
|
|
19
19
|
},
|
|
20
20
|
modelValue: [String, Number],
|
|
21
21
|
modelModifiers: Object,
|
|
22
|
-
maxlength:
|
|
22
|
+
maxlength: {
|
|
23
|
+
type: [String, Number],
|
|
24
|
+
default: 255
|
|
25
|
+
},
|
|
23
26
|
minlength: [String, Number],
|
|
24
27
|
showWordLimit: {
|
|
25
28
|
type: Boolean,
|
|
26
|
-
default: !
|
|
29
|
+
default: !0
|
|
27
30
|
},
|
|
28
31
|
wordLimitPosition: {
|
|
29
32
|
type: String,
|
|
@@ -46,7 +49,7 @@ var p = {
|
|
|
46
49
|
suffixIcon: [String, Object],
|
|
47
50
|
rows: {
|
|
48
51
|
type: Number,
|
|
49
|
-
default:
|
|
52
|
+
default: 4
|
|
50
53
|
},
|
|
51
54
|
autosize: [Boolean, Object],
|
|
52
55
|
autocomplete: {
|
|
@@ -88,6 +91,7 @@ var p = {
|
|
|
88
91
|
}, m = {
|
|
89
92
|
readonly: !0,
|
|
90
93
|
prefixIcon: !0,
|
|
94
|
+
disabled: !0,
|
|
91
95
|
suffixIcon: !0,
|
|
92
96
|
placeholder: !0,
|
|
93
97
|
modelValue: !0,
|
|
@@ -2,7 +2,7 @@ import { n as e, u as t } from "./cmuHpsX6.mjs";
|
|
|
2
2
|
import { getDictLabel as n } from "../helper/dictionary.mjs";
|
|
3
3
|
import { pageableTableContextKey as r } from "../constants/index.mjs";
|
|
4
4
|
import i from "../resize-observer/index.mjs";
|
|
5
|
-
import { t as a } from "./
|
|
5
|
+
import { t as a } from "./CuG2Q-PM.mjs";
|
|
6
6
|
import { useVisibilityChange as o } from "../hook/useVisibilityChange.mjs";
|
|
7
7
|
import { hasOwn as s } from "@web-utils/core";
|
|
8
8
|
import { Fragment as c, computed as l, createBlock as u, createTextVNode as d, createVNode as f, inject as p, mergeModels as m, mergeProps as h, nextTick as ee, onBeforeUpdate as te, onUpdated as g, openBlock as _, provide as ne, reactive as v, ref as y, toDisplayString as b, useModel as x, watch as S, withCtx as C } from "vue";
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { i as e, n as t } from "./Cj59E77g.mjs";
|
|
2
|
+
import { n, t as r } from "./CSyJ-vEx.mjs";
|
|
3
|
+
import { createVNode as i, mergeProps as a } from "vue";
|
|
4
|
+
import { ElTimeSelect as o } from "element-plus/es";
|
|
5
|
+
//#region src/components/form/props/time-select.ts
|
|
6
|
+
var s = {
|
|
7
|
+
...n,
|
|
8
|
+
...r,
|
|
9
|
+
modelValue: String,
|
|
10
|
+
disabled: {
|
|
11
|
+
type: Boolean,
|
|
12
|
+
default: !1
|
|
13
|
+
},
|
|
14
|
+
editable: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
default: !0
|
|
17
|
+
},
|
|
18
|
+
clearable: {
|
|
19
|
+
type: Boolean,
|
|
20
|
+
default: !0
|
|
21
|
+
},
|
|
22
|
+
includeEndTime: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
default: !1
|
|
25
|
+
},
|
|
26
|
+
size: {
|
|
27
|
+
type: String,
|
|
28
|
+
default: "default"
|
|
29
|
+
},
|
|
30
|
+
placeholder: String,
|
|
31
|
+
name: String,
|
|
32
|
+
effect: {
|
|
33
|
+
type: String,
|
|
34
|
+
default: "light"
|
|
35
|
+
},
|
|
36
|
+
prefixIcon: [String, Object],
|
|
37
|
+
clearIcon: [String, Object],
|
|
38
|
+
start: {
|
|
39
|
+
type: String,
|
|
40
|
+
default: "09:00"
|
|
41
|
+
},
|
|
42
|
+
end: {
|
|
43
|
+
type: String,
|
|
44
|
+
default: "18:00"
|
|
45
|
+
},
|
|
46
|
+
step: {
|
|
47
|
+
type: String,
|
|
48
|
+
default: "00:30"
|
|
49
|
+
},
|
|
50
|
+
minTime: String,
|
|
51
|
+
maxTime: String,
|
|
52
|
+
format: {
|
|
53
|
+
type: String,
|
|
54
|
+
default: "HH:mm"
|
|
55
|
+
},
|
|
56
|
+
emptyValues: Array,
|
|
57
|
+
valueOnClear: [
|
|
58
|
+
String,
|
|
59
|
+
Number,
|
|
60
|
+
Boolean,
|
|
61
|
+
Function
|
|
62
|
+
],
|
|
63
|
+
popperClass: {
|
|
64
|
+
type: String,
|
|
65
|
+
default: ""
|
|
66
|
+
},
|
|
67
|
+
popperStyle: [String, Object]
|
|
68
|
+
}, c = {
|
|
69
|
+
disabled: !0,
|
|
70
|
+
modelValue: !0
|
|
71
|
+
}, l = (e) => n[e] === void 0 && c[e] !== !0, u = {
|
|
72
|
+
name: "FormTimeSelect",
|
|
73
|
+
inheritAttrs: !1,
|
|
74
|
+
props: { ...s },
|
|
75
|
+
emits: { ...t },
|
|
76
|
+
setup(t, { emit: n, slots: r, attrs: s }) {
|
|
77
|
+
let { emitInput: c, render: u, placeholder: d, disabled: f, listeners: p, inputProps: m } = e(t, {
|
|
78
|
+
emit: n,
|
|
79
|
+
slots: r,
|
|
80
|
+
attrs: s,
|
|
81
|
+
predicate: l
|
|
82
|
+
});
|
|
83
|
+
return () => u({ vNodes: i(o, a(p.value, m.value, {
|
|
84
|
+
style: "width: 100%",
|
|
85
|
+
modelValue: t.modelValue,
|
|
86
|
+
disabled: f.value,
|
|
87
|
+
"onUpdate:modelValue": c,
|
|
88
|
+
placeholder: d.value
|
|
89
|
+
}), null) });
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
//#endregion
|
|
93
|
+
export { u as t };
|
|
@@ -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 { computed as r, createVNode as i, mergeProps as a } from "vue";
|
|
4
4
|
import { ElDatePicker as o } from "element-plus/es";
|
|
5
5
|
import { toDate as s } from "@web-utils/integrations/dayjs";
|
|
@@ -140,6 +140,7 @@ var c = {
|
|
|
140
140
|
}, l = {
|
|
141
141
|
modelValue: !0,
|
|
142
142
|
name: !0,
|
|
143
|
+
disabled: !0,
|
|
143
144
|
emptyValues: !0,
|
|
144
145
|
type: !0,
|
|
145
146
|
valueOnClear: !0
|
|
@@ -99,8 +99,7 @@ var S = {
|
|
|
99
99
|
let t = f(r, null);
|
|
100
100
|
return l(() => e.required === !0 ? !0 : (t == null ? void 0 : t.requiredFieldsMap[e.prop]) === !0);
|
|
101
101
|
}, j = (e, t) => {
|
|
102
|
-
|
|
103
|
-
c(n) ? e.push(n) : o(n) ? e.push(...n) : s(n) && e.push(n);
|
|
102
|
+
c(t) ? e.push(t) : o(t) ? e.push(...t) : s(t) && e.push(t);
|
|
104
103
|
}, M = (e, { rules: t, attrs: n, messagePrefix: r, message: i, ...a } = {}) => {
|
|
105
104
|
let o = A(e);
|
|
106
105
|
return l(() => {
|
|
@@ -112,7 +111,7 @@ var S = {
|
|
|
112
111
|
t === "rules" ? e[t] && c ? s[t] = [...e[t], ...c] : e[t] ? s[t] = e[t] : c && (s[t] = c) : t === "messagePrefix" ? s[t] = e.messagePrefix || r : s[t] = e[t];
|
|
113
112
|
});
|
|
114
113
|
let l = [];
|
|
115
|
-
return j(l, n == null ? void 0 : n.class), j(l, a == null ? void 0 : a.class), s.required = o.value, s.class = l, s.style = n == null ? void 0 : n.style, s;
|
|
114
|
+
return j(l, h(n == null ? void 0 : n.class)), j(l, h(a == null ? void 0 : a.class)), s.required = o.value, s.class = l, s.style = n == null ? void 0 : n.style, s;
|
|
116
115
|
});
|
|
117
116
|
}, N = {
|
|
118
117
|
name: "FormItemX",
|
|
@@ -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 { ElSlider as o } from "element-plus/es";
|
|
5
5
|
//#region src/components/form/props/slide.ts
|
|
@@ -67,7 +67,10 @@ var s = {
|
|
|
67
67
|
type: Boolean,
|
|
68
68
|
default: !0
|
|
69
69
|
}
|
|
70
|
-
}, c = {
|
|
70
|
+
}, c = {
|
|
71
|
+
modelValue: !0,
|
|
72
|
+
disabled: !0
|
|
73
|
+
}, l = (e) => n[e] === void 0 && c[e] !== !0, u = {
|
|
71
74
|
name: "FormSlider",
|
|
72
75
|
inheritAttrs: !1,
|
|
73
76
|
props: { ...s },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as e } from "./cmuHpsX6.mjs";
|
|
2
|
-
import { o as t, r as n } from "./
|
|
3
|
-
import { n as r } from "./
|
|
2
|
+
import { o as t, r as n } from "./Cj59E77g.mjs";
|
|
3
|
+
import { n as r } from "./CSyJ-vEx.mjs";
|
|
4
4
|
import { createVNode as i, mergeProps as a } from "vue";
|
|
5
5
|
import { ElText as o } from "element-plus/es";
|
|
6
6
|
//#region src/components/form/props/text.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as e } from "./cmuHpsX6.mjs";
|
|
2
2
|
import { getDictLabel as t } from "../helper/dictionary.mjs";
|
|
3
3
|
import { tableViewContextKey as n } from "../constants/index.mjs";
|
|
4
|
-
import { t as r } from "./
|
|
4
|
+
import { t as r } from "./Ds_Tpa_M.mjs";
|
|
5
5
|
import { computed as i, createVNode as a, inject as o, mergeProps as s, ref as c, watchEffect as l } from "vue";
|
|
6
6
|
import { ElTableColumn as u } from "element-plus/es";
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
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 { useDictionary as r } from "../hook/useDictionary.mjs";
|
|
4
|
-
import { t as i } from "./
|
|
4
|
+
import { t as i } from "./CFOGMFgo.mjs";
|
|
5
5
|
import { computed as a, createVNode as o, defineComponent as s, isVNode as c, mergeProps as l, useModel as u } from "vue";
|
|
6
6
|
import { ElCheckbox as d, ElCheckboxButton as f, ElCheckboxGroup as p } from "element-plus/es";
|
|
7
7
|
//#region src/components/form/props/checkbox-group.ts
|
|
@@ -81,6 +81,7 @@ var m = {
|
|
|
81
81
|
}, h = {
|
|
82
82
|
modelValue: !0,
|
|
83
83
|
type: !0,
|
|
84
|
+
disabled: !0,
|
|
84
85
|
options: !0
|
|
85
86
|
}, g = (e) => n[e] === void 0 && h[e] !== !0;
|
|
86
87
|
//#endregion
|
|
@@ -65,15 +65,9 @@ var T = {
|
|
|
65
65
|
return y(() => {
|
|
66
66
|
k.value = !l.collapse;
|
|
67
67
|
}), f(e, F), d(() => {
|
|
68
|
-
|
|
69
|
-
var e;
|
|
70
|
-
D == null || (e = D.addGroup) == null || e.call(D, F);
|
|
71
|
-
}
|
|
68
|
+
l.notDispatch || D == null || D.addGroup(F);
|
|
72
69
|
}), u(() => {
|
|
73
|
-
|
|
74
|
-
var e;
|
|
75
|
-
D == null || (e = D.removeGroup) == null || e.call(D, F);
|
|
76
|
-
}
|
|
70
|
+
l.notDispatch || D == null || D.removeGroup(F);
|
|
77
71
|
}), T(F), () => {
|
|
78
72
|
let e = () => {
|
|
79
73
|
var e;
|
|
@@ -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 { useDictionary as r } from "../hook/useDictionary.mjs";
|
|
4
4
|
import { isNumber as i, isPlainObject as a, isString as o } from "@web-utils/core";
|
|
5
5
|
import { computed as s, createVNode as c, mergeProps as l, ref as u, watchEffect as d } from "vue";
|
|
@@ -200,6 +200,7 @@ var m = {
|
|
|
200
200
|
}, h = {
|
|
201
201
|
modelValue: !0,
|
|
202
202
|
emptyValues: !0,
|
|
203
|
+
disabled: !0,
|
|
203
204
|
dropDownOffset: !0,
|
|
204
205
|
valueOnClear: !0,
|
|
205
206
|
options: !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,7 +61,10 @@ 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 },
|
|
@@ -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,6 +66,7 @@ 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
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { n as e } from "./Cj59E77g.mjs";
|
|
2
|
+
import { n as t, t as n } from "./CFOGMFgo.mjs";
|
|
3
|
+
import { createVNode as r, isVNode as i, mergeProps as a, useModel as o } from "vue";
|
|
4
|
+
//#region src/components/form/FormTextarea.vue?vue&type=script&lang.jsx
|
|
5
|
+
function s(e) {
|
|
6
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !i(e);
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
//#region src/components/form/FormTextarea.vue
|
|
10
|
+
var c = {
|
|
11
|
+
name: "FormTextarea",
|
|
12
|
+
inheritAttrs: !1,
|
|
13
|
+
props: {
|
|
14
|
+
...t,
|
|
15
|
+
maxlength: {
|
|
16
|
+
type: [String, Number],
|
|
17
|
+
default: 800
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
emits: { ...e },
|
|
21
|
+
setup(e, { slots: t, attrs: i }) {
|
|
22
|
+
let c = o(e, "modelValue");
|
|
23
|
+
return () => r(n, a(e, i, {
|
|
24
|
+
maxlength: e.maxlength,
|
|
25
|
+
modelValue: c.value,
|
|
26
|
+
"onUpdate:modelValue": (e) => c.value = e,
|
|
27
|
+
type: "textarea"
|
|
28
|
+
}), s(t) ? t : { default: () => [t] });
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
//#endregion
|
|
32
|
+
export { c 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) {
|