@web-utils/form-ui 1.0.0-beta16 → 1.0.0-beta18
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/base.css +1 -1
- package/chunks/53gSZ624.mjs +41 -0
- package/chunks/7Desvoh-.mjs +222 -0
- package/chunks/7vQ29mMd.mjs +53 -0
- package/chunks/8ORg8rrN.mjs +108 -0
- package/chunks/B4LDPAZu.mjs +98 -0
- package/chunks/B5B9au3z.mjs +180 -0
- package/chunks/BVzpe2oN.mjs +76 -0
- package/chunks/Bb5BT11-.mjs +26 -0
- package/chunks/Bh_CMUlo.mjs +12 -0
- package/chunks/Bj5l6sFx.mjs +73 -0
- package/chunks/BsbfEk0E.mjs +26 -0
- package/chunks/C1DlzLpD.mjs +222 -0
- package/chunks/CFwUzdTu.mjs +95 -0
- package/chunks/CKw_uzPc.mjs +108 -0
- package/chunks/D2WviyxF.mjs +166 -0
- package/chunks/D9GcEl6r.mjs +8 -0
- package/chunks/DCKxvrCR.mjs +189 -0
- package/chunks/DH1_fmkX.mjs +26 -0
- package/chunks/DUDm42gn.mjs +100 -0
- package/chunks/DgbDpRQg.mjs +51 -0
- package/chunks/DkqF25wT.mjs +106 -0
- package/chunks/DynLjTwi.mjs +17 -0
- package/chunks/Q9EsFJ4H.mjs +88 -0
- package/chunks/wfL1FAwc.mjs +1360 -0
- package/constants.d.ts +26 -1
- package/constants.mjs +2 -2
- package/element-dialog/index.d.ts +58 -15
- package/element-dialog/index.mjs +2 -94
- package/form-cascader/index.d.ts +2 -0
- package/form-cascader/index.mjs +10 -0
- package/form-check-box-group/index.d.ts +196 -22
- package/form-check-box-group/index.mjs +1 -1
- package/form-checkbox/index.d.ts +188 -24
- package/form-checkbox/index.mjs +1 -1
- package/form-date-picker/index.d.ts +307 -20
- package/form-date-picker/index.mjs +1 -1
- package/form-holder/index.d.ts +92 -21
- package/form-holder/index.mjs +1 -1
- package/form-holder/style.css +1 -1
- package/form-image/index.d.ts +138 -20
- package/form-image/index.mjs +1 -1
- package/form-input/index.d.ts +281 -40
- package/form-input/index.mjs +1 -1
- package/form-input-cron-expression/index.d.ts +215 -0
- package/form-input-cron-expression/index.mjs +2 -0
- package/form-input-cron-expression/style.css +1 -0
- package/form-input-email/index.d.ts +279 -21
- package/form-input-email/index.mjs +1 -1
- package/form-input-id-card/index.d.ts +279 -21
- package/form-input-id-card/index.mjs +1 -1
- package/form-input-number/index.d.ts +228 -24
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.d.ts +279 -21
- package/form-input-phone-number/index.mjs +1 -1
- package/form-item-config-provider/index.d.ts +3 -1
- package/form-item-config-provider/index.mjs +1 -1
- package/form-item-group/index.mjs +46 -30
- package/form-item-x/index.d.ts +124 -15
- package/form-item-x/index.mjs +1 -1
- package/form-radio-group/index.d.ts +196 -22
- package/form-radio-group/index.mjs +1 -1
- package/form-rate/index.d.ts +232 -18
- package/form-rate/index.mjs +1 -1
- package/form-row/index.mjs +1 -1
- package/form-select/index.d.ts +455 -22
- package/form-select/index.mjs +1 -1
- package/form-slider/index.d.ts +261 -18
- package/form-slider/index.mjs +1 -1
- package/form-switch/index.d.ts +238 -20
- package/form-switch/index.mjs +1 -1
- package/form-text/index.d.ts +144 -20
- package/form-text/index.mjs +1 -1
- package/index.d.ts +4 -1
- package/index.mjs +37 -60
- package/month-calendar/index.mjs +312 -2
- package/month-calendar/style.css +1 -1
- package/package.json +3 -1
- package/vue-cron/index.d.ts +191 -0
- package/vue-cron/index.mjs +2 -0
- package/vue-cron/style.css +1 -0
- package/web-types.json +1 -1
- package/year-calendar/index.mjs +2 -1
- package/chunks/B5BIQCcK.mjs +0 -149
- package/chunks/BDhGvPmU.mjs +0 -32
- package/chunks/BXOvvlL2.mjs +0 -35
- package/chunks/C6tYoDfK.mjs +0 -43
- package/chunks/CAYDWMXC.mjs +0 -47
- package/chunks/CXHvVx2H.mjs +0 -54
- package/chunks/CykRgGj0.mjs +0 -90
- package/chunks/D4SiGR5u.mjs +0 -28
- package/chunks/DAEpRn3D.mjs +0 -28
- package/chunks/DK2YoEOD.mjs +0 -167
- package/chunks/DL4ovOwO.mjs +0 -36
- package/chunks/DXrQ5tWJ.mjs +0 -35
- package/chunks/Xww4oyW1.mjs +0 -47
- package/chunks/ciEWoJ1U.mjs +0 -23
- package/chunks/dwnrVqcq.mjs +0 -315
- package/chunks/jpMiw_3M.mjs +0 -74
- package/chunks/vlkluoXb.mjs +0 -32
- package/chunks/wo0ekOcp.mjs +0 -28
- /package/chunks/{CI_28Uw4.mjs → 98bTmBOR.mjs} +0 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { i as e, n as t } from "./C1DlzLpD.mjs";
|
|
2
|
+
import { n } from "./DynLjTwi.mjs";
|
|
3
|
+
import { ElRate as r } from "element-plus/es";
|
|
4
|
+
import { createVNode as i, mergeProps as a, useModel as o } from "vue";
|
|
5
|
+
//#region src/components/form/props/rate.js
|
|
6
|
+
var s = {
|
|
7
|
+
...n,
|
|
8
|
+
modelValue: Number,
|
|
9
|
+
max: {
|
|
10
|
+
type: Number,
|
|
11
|
+
default: 5
|
|
12
|
+
},
|
|
13
|
+
size: String,
|
|
14
|
+
allowHalf: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
default: !1
|
|
17
|
+
},
|
|
18
|
+
lowThreshold: {
|
|
19
|
+
type: Number,
|
|
20
|
+
default: 2
|
|
21
|
+
},
|
|
22
|
+
highThreshold: {
|
|
23
|
+
type: Number,
|
|
24
|
+
default: 4
|
|
25
|
+
},
|
|
26
|
+
colors: [Array, Object],
|
|
27
|
+
voidColor: {
|
|
28
|
+
type: String,
|
|
29
|
+
default: "#c6d1de"
|
|
30
|
+
},
|
|
31
|
+
disabledVoidColor: {
|
|
32
|
+
type: String,
|
|
33
|
+
default: "#eff2f7"
|
|
34
|
+
},
|
|
35
|
+
icons: [Array, Object],
|
|
36
|
+
voidIcon: [String, Object],
|
|
37
|
+
disabledVoidIcon: [String, Object],
|
|
38
|
+
showText: {
|
|
39
|
+
type: Boolean,
|
|
40
|
+
default: !1
|
|
41
|
+
},
|
|
42
|
+
showScore: {
|
|
43
|
+
type: Boolean,
|
|
44
|
+
default: !1
|
|
45
|
+
},
|
|
46
|
+
textColor: String,
|
|
47
|
+
texts: {
|
|
48
|
+
type: Array,
|
|
49
|
+
default: () => [
|
|
50
|
+
"Extremely bad",
|
|
51
|
+
"Disappointed",
|
|
52
|
+
"Fair",
|
|
53
|
+
"Satisfied",
|
|
54
|
+
"Surprise"
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
scoreTemplate: String,
|
|
58
|
+
clearable: {
|
|
59
|
+
type: Boolean,
|
|
60
|
+
default: !1
|
|
61
|
+
},
|
|
62
|
+
id: String,
|
|
63
|
+
ariaLabel: String
|
|
64
|
+
}, c = { modelValue: !0 }, l = ["change"], u = (e) => n[e] === void 0 && c[e] !== !0, d = {
|
|
65
|
+
name: "FormRate",
|
|
66
|
+
inheritAttrs: !1,
|
|
67
|
+
props: { ...s },
|
|
68
|
+
emits: {
|
|
69
|
+
...t,
|
|
70
|
+
change: null
|
|
71
|
+
},
|
|
72
|
+
setup(t, { emit: n, slots: s, attrs: c }) {
|
|
73
|
+
let d = o(t, "modelValue"), { render: f, disabled: p, autoBind: m } = e(t, {
|
|
74
|
+
emit: n,
|
|
75
|
+
slots: s,
|
|
76
|
+
attrs: c,
|
|
77
|
+
events: l,
|
|
78
|
+
predicate: u
|
|
79
|
+
});
|
|
80
|
+
return () => f({ vNodes: i(r, a(m.value, {
|
|
81
|
+
modelValue: d.value,
|
|
82
|
+
"onUpdate:modelValue": (e) => d.value = e,
|
|
83
|
+
disabled: p.value
|
|
84
|
+
}), null) });
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
//#endregion
|
|
88
|
+
export { d as t };
|