@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.
Files changed (102) hide show
  1. package/base.css +1 -1
  2. package/chunks/53gSZ624.mjs +41 -0
  3. package/chunks/7Desvoh-.mjs +222 -0
  4. package/chunks/7vQ29mMd.mjs +53 -0
  5. package/chunks/8ORg8rrN.mjs +108 -0
  6. package/chunks/B4LDPAZu.mjs +98 -0
  7. package/chunks/B5B9au3z.mjs +180 -0
  8. package/chunks/BVzpe2oN.mjs +76 -0
  9. package/chunks/Bb5BT11-.mjs +26 -0
  10. package/chunks/Bh_CMUlo.mjs +12 -0
  11. package/chunks/Bj5l6sFx.mjs +73 -0
  12. package/chunks/BsbfEk0E.mjs +26 -0
  13. package/chunks/C1DlzLpD.mjs +222 -0
  14. package/chunks/CFwUzdTu.mjs +95 -0
  15. package/chunks/CKw_uzPc.mjs +108 -0
  16. package/chunks/D2WviyxF.mjs +166 -0
  17. package/chunks/D9GcEl6r.mjs +8 -0
  18. package/chunks/DCKxvrCR.mjs +189 -0
  19. package/chunks/DH1_fmkX.mjs +26 -0
  20. package/chunks/DUDm42gn.mjs +100 -0
  21. package/chunks/DgbDpRQg.mjs +51 -0
  22. package/chunks/DkqF25wT.mjs +106 -0
  23. package/chunks/DynLjTwi.mjs +17 -0
  24. package/chunks/Q9EsFJ4H.mjs +88 -0
  25. package/chunks/wfL1FAwc.mjs +1360 -0
  26. package/constants.d.ts +26 -1
  27. package/constants.mjs +2 -2
  28. package/element-dialog/index.d.ts +58 -15
  29. package/element-dialog/index.mjs +2 -94
  30. package/form-cascader/index.d.ts +2 -0
  31. package/form-cascader/index.mjs +10 -0
  32. package/form-check-box-group/index.d.ts +196 -22
  33. package/form-check-box-group/index.mjs +1 -1
  34. package/form-checkbox/index.d.ts +188 -24
  35. package/form-checkbox/index.mjs +1 -1
  36. package/form-date-picker/index.d.ts +307 -20
  37. package/form-date-picker/index.mjs +1 -1
  38. package/form-holder/index.d.ts +92 -21
  39. package/form-holder/index.mjs +1 -1
  40. package/form-holder/style.css +1 -1
  41. package/form-image/index.d.ts +138 -20
  42. package/form-image/index.mjs +1 -1
  43. package/form-input/index.d.ts +281 -40
  44. package/form-input/index.mjs +1 -1
  45. package/form-input-cron-expression/index.d.ts +215 -0
  46. package/form-input-cron-expression/index.mjs +2 -0
  47. package/form-input-cron-expression/style.css +1 -0
  48. package/form-input-email/index.d.ts +279 -21
  49. package/form-input-email/index.mjs +1 -1
  50. package/form-input-id-card/index.d.ts +279 -21
  51. package/form-input-id-card/index.mjs +1 -1
  52. package/form-input-number/index.d.ts +228 -24
  53. package/form-input-number/index.mjs +1 -1
  54. package/form-input-phone-number/index.d.ts +279 -21
  55. package/form-input-phone-number/index.mjs +1 -1
  56. package/form-item-config-provider/index.d.ts +3 -1
  57. package/form-item-config-provider/index.mjs +1 -1
  58. package/form-item-group/index.mjs +46 -30
  59. package/form-item-x/index.d.ts +124 -15
  60. package/form-item-x/index.mjs +1 -1
  61. package/form-radio-group/index.d.ts +196 -22
  62. package/form-radio-group/index.mjs +1 -1
  63. package/form-rate/index.d.ts +232 -18
  64. package/form-rate/index.mjs +1 -1
  65. package/form-row/index.mjs +1 -1
  66. package/form-select/index.d.ts +455 -22
  67. package/form-select/index.mjs +1 -1
  68. package/form-slider/index.d.ts +261 -18
  69. package/form-slider/index.mjs +1 -1
  70. package/form-switch/index.d.ts +238 -20
  71. package/form-switch/index.mjs +1 -1
  72. package/form-text/index.d.ts +144 -20
  73. package/form-text/index.mjs +1 -1
  74. package/index.d.ts +4 -1
  75. package/index.mjs +37 -60
  76. package/month-calendar/index.mjs +312 -2
  77. package/month-calendar/style.css +1 -1
  78. package/package.json +3 -1
  79. package/vue-cron/index.d.ts +191 -0
  80. package/vue-cron/index.mjs +2 -0
  81. package/vue-cron/style.css +1 -0
  82. package/web-types.json +1 -1
  83. package/year-calendar/index.mjs +2 -1
  84. package/chunks/B5BIQCcK.mjs +0 -149
  85. package/chunks/BDhGvPmU.mjs +0 -32
  86. package/chunks/BXOvvlL2.mjs +0 -35
  87. package/chunks/C6tYoDfK.mjs +0 -43
  88. package/chunks/CAYDWMXC.mjs +0 -47
  89. package/chunks/CXHvVx2H.mjs +0 -54
  90. package/chunks/CykRgGj0.mjs +0 -90
  91. package/chunks/D4SiGR5u.mjs +0 -28
  92. package/chunks/DAEpRn3D.mjs +0 -28
  93. package/chunks/DK2YoEOD.mjs +0 -167
  94. package/chunks/DL4ovOwO.mjs +0 -36
  95. package/chunks/DXrQ5tWJ.mjs +0 -35
  96. package/chunks/Xww4oyW1.mjs +0 -47
  97. package/chunks/ciEWoJ1U.mjs +0 -23
  98. package/chunks/dwnrVqcq.mjs +0 -315
  99. package/chunks/jpMiw_3M.mjs +0 -74
  100. package/chunks/vlkluoXb.mjs +0 -32
  101. package/chunks/wo0ekOcp.mjs +0 -28
  102. /package/chunks/{CI_28Uw4.mjs → 98bTmBOR.mjs} +0 -0
@@ -0,0 +1,166 @@
1
+ import { i as e, n as t } from "./C1DlzLpD.mjs";
2
+ import { n } from "./DynLjTwi.mjs";
3
+ import { ElDatePicker as r } from "element-plus/es";
4
+ import { computed as i, createVNode as a, mergeProps as o } from "vue";
5
+ //#region src/components/form/props/date.js
6
+ var s = {
7
+ ...n,
8
+ modelValue: [
9
+ Number,
10
+ String,
11
+ Date,
12
+ Array
13
+ ],
14
+ readonly: {
15
+ type: Boolean,
16
+ default: !1
17
+ },
18
+ size: String,
19
+ editable: {
20
+ type: Boolean,
21
+ default: !0
22
+ },
23
+ clearable: {
24
+ type: Boolean,
25
+ default: !0
26
+ },
27
+ placeholder: {
28
+ type: String,
29
+ default: ""
30
+ },
31
+ startPlaceholder: String,
32
+ endPlaceholder: String,
33
+ type: {
34
+ type: String,
35
+ default: "date"
36
+ },
37
+ format: {
38
+ type: String,
39
+ default: "YYYY-MM-DD"
40
+ },
41
+ popperClass: String,
42
+ popperStyle: [String, Object],
43
+ popperOptions: {
44
+ type: Object,
45
+ default: () => ({})
46
+ },
47
+ rangeSeparator: {
48
+ type: String,
49
+ default: "-"
50
+ },
51
+ defaultValue: Object,
52
+ defaultTime: Object,
53
+ valueFormat: String,
54
+ id: [String, Array],
55
+ name: {
56
+ type: [String, Array],
57
+ default: ""
58
+ },
59
+ unlinkPanels: {
60
+ type: Boolean,
61
+ default: !1
62
+ },
63
+ prefixIcon: [String, Object],
64
+ clearIcon: [String, Object],
65
+ validateEvent: {
66
+ type: Boolean,
67
+ default: !0
68
+ },
69
+ disabledDate: Function,
70
+ shortcuts: {
71
+ type: Array,
72
+ default: () => []
73
+ },
74
+ cellClassName: Function,
75
+ teleported: {
76
+ type: Boolean,
77
+ default: !0
78
+ },
79
+ emptyValues: Array,
80
+ valueOnClear: [
81
+ String,
82
+ Number,
83
+ Boolean,
84
+ Function
85
+ ],
86
+ fallbackPlacements: {
87
+ type: Array,
88
+ default: () => [
89
+ "bottom",
90
+ "top",
91
+ "right",
92
+ "left"
93
+ ]
94
+ },
95
+ placement: {
96
+ type: String,
97
+ default: "bottom"
98
+ },
99
+ showFooter: {
100
+ type: Boolean,
101
+ default: !0
102
+ },
103
+ showConfirm: {
104
+ type: Boolean,
105
+ default: !0
106
+ },
107
+ showWeekNumber: {
108
+ type: Boolean,
109
+ default: !1
110
+ },
111
+ automaticDropdown: {
112
+ type: Boolean,
113
+ default: !0
114
+ },
115
+ split: Boolean,
116
+ startDate: String,
117
+ endDate: String
118
+ }, c = { modelValue: !0 }, l = ["change"], u = (e) => n[e] === void 0 && c[e] !== !0, d = {
119
+ name: "FormDatePicker",
120
+ inheritAttrs: !1,
121
+ props: { ...s },
122
+ emits: {
123
+ ...t,
124
+ "update:startDate": null,
125
+ "update:endDate": null
126
+ },
127
+ setup(t, { emit: n, slots: s, attrs: c }) {
128
+ let { emitInput: d, render: f, placeholder: p, disabled: m, autoBind: h } = e(t, {
129
+ emit: n,
130
+ slots: s,
131
+ attrs: c,
132
+ events: l,
133
+ predicate: u,
134
+ messagePrefix: "请选择"
135
+ }), g = i(() => {
136
+ switch (t.type) {
137
+ case "date":
138
+ case "daterange": return "YYYY-MM-DD";
139
+ case "datetime":
140
+ case "datetimerange": return "YYYY-MM-DD HH:mm:ss";
141
+ default: return "";
142
+ }
143
+ }), _ = i(() => t.split && t.type.indexOf("range") > -1), v = (e, t) => {
144
+ n("update:startDate", e), n("update:endDate", t);
145
+ }, y = (e) => {
146
+ _.value ? e ? v(e[0], e[1]) : v(null, null) : d(e);
147
+ }, b = i(() => _.value ? [t.startDate, t.endDate] : t.modelValue);
148
+ return () => f({ vNodes: a(r, o({ style: "width: 100%" }, h.value, {
149
+ modelValue: b.value,
150
+ disabled: m.value,
151
+ placeholder: p.value,
152
+ format: g.value,
153
+ "value-format": g.value,
154
+ "onUpdate:modelValue": y
155
+ }), {
156
+ default: s.default,
157
+ "range-separator": s["range-separator"],
158
+ "pre-month": s["pre-month"],
159
+ "next-month": s["next-month"],
160
+ "pre-year": s["pre-year"],
161
+ "next-year": s["next-year"]
162
+ }) });
163
+ }
164
+ };
165
+ //#endregion
166
+ export { d as t };
@@ -0,0 +1,8 @@
1
+ //#region \0plugin-vue:export-helper
2
+ var e = (e, t) => {
3
+ let n = e.__vccOpts || e;
4
+ for (let [e, r] of t) n[e] = r;
5
+ return n;
6
+ };
7
+ //#endregion
8
+ export { e as t };
@@ -0,0 +1,189 @@
1
+ import { formHolderContextKey as e } from "../constants.mjs";
2
+ import { n as t } from "./Bh_CMUlo.mjs";
3
+ import n from "../form-advice/index.mjs";
4
+ import r from "../form-red-table/index.mjs";
5
+ import { ElForm as i, ElRow as a } from "element-plus/es";
6
+ import { computed as o, createVNode as s, inject as c, mergeProps as l, nextTick as u, provide as d, reactive as f, useTemplateRef as p } from "vue";
7
+ import { animate as m } from "@web-utils/core";
8
+ //#region src/components/form/props/form.js
9
+ var h = {
10
+ model: Object,
11
+ rules: Object,
12
+ inline: {
13
+ type: Boolean,
14
+ default: !1
15
+ },
16
+ labelPosition: {
17
+ type: String,
18
+ default: "right"
19
+ },
20
+ labelWidth: {
21
+ type: [String, Number],
22
+ default: "auto"
23
+ },
24
+ labelSuffix: {
25
+ type: String,
26
+ default: ""
27
+ },
28
+ hideRequiredAsterisk: {
29
+ type: Boolean,
30
+ default: !1
31
+ },
32
+ requireAsteriskPosition: {
33
+ type: String,
34
+ default: "left"
35
+ },
36
+ showMessage: {
37
+ type: Boolean,
38
+ default: !0
39
+ },
40
+ inlineMessage: {
41
+ type: Boolean,
42
+ default: !1
43
+ },
44
+ statusIcon: {
45
+ type: Boolean,
46
+ default: !1
47
+ },
48
+ validateOnRuleChange: {
49
+ type: Boolean,
50
+ default: !0
51
+ },
52
+ size: String,
53
+ disabled: {
54
+ type: Boolean,
55
+ default: void 0
56
+ },
57
+ scrollToError: {
58
+ type: Boolean,
59
+ default: !1
60
+ },
61
+ scrollIntoViewOptions: [Object, Boolean],
62
+ requiredFields: Array,
63
+ disabledFields: Array,
64
+ enabledFields: Array,
65
+ showAdvice: {
66
+ type: Boolean,
67
+ default: !0
68
+ },
69
+ columns: [Array, Object],
70
+ colCount: Number,
71
+ notTableForm: {
72
+ type: Boolean,
73
+ default: void 0
74
+ },
75
+ commentValueColspan: Number,
76
+ commentLabelColspan: Number,
77
+ wrapRow: {
78
+ type: Boolean,
79
+ default: !0
80
+ }
81
+ }, g = {
82
+ showMessage: !0,
83
+ required: !0,
84
+ requiredFields: !0,
85
+ disabledFields: !0,
86
+ enabledFields: !0,
87
+ showAdvice: !0,
88
+ columns: !0,
89
+ colCount: !0,
90
+ notTableForm: !0,
91
+ commentValueColspan: !0,
92
+ commentLabelColspan: !0,
93
+ wrapRow: !0
94
+ }, _ = ["validate"], v = (e) => g[e] !== !0, y = {
95
+ name: "FormHolder",
96
+ inheritAttrs: !1,
97
+ props: { ...h },
98
+ emits: { validate: null },
99
+ setup(h, { slots: g, expose: y, emit: b }) {
100
+ let x = t(h, {
101
+ emit: b,
102
+ events: _,
103
+ predicate: v
104
+ }), S = c("formView", null), C = p("form"), w = o(() => h.notTableForm === void 0 ? (S == null ? void 0 : S.tableForm) === void 0 ? !1 : S == null ? void 0 : S.tableForm : !h.notTableForm), T = o(() => w.value ? !1 : h.showMessage), E = o(() => {
105
+ let e = {};
106
+ return h.disabledFields && h.disabledFields.forEach((t) => {
107
+ e[t] = !0;
108
+ }), e;
109
+ }), D = o(() => {
110
+ let e = {};
111
+ return h.enabledFields && h.enabledFields.length && h.enabledFields.forEach((t) => {
112
+ e[t] = !0;
113
+ }), e;
114
+ }), O = o(() => {
115
+ let e = {};
116
+ return h.requiredFields && h.requiredFields.length && h.requiredFields.forEach((t) => {
117
+ e[t] = !0;
118
+ }), e;
119
+ }), k = o(() => h.disabled === !0 ? !0 : h.disabled), A = o(() => h.enabledFields), j = o(() => h.requiredFields), M = o(() => h.disabledFields), N = async () => {
120
+ await u();
121
+ let e = C.value.$el.querySelector(".el-form-item.is-error");
122
+ e && e.scrollIntoView({
123
+ block: "center",
124
+ inline: "center",
125
+ behavior: "smooth"
126
+ });
127
+ }, P = f({
128
+ tableForm: w,
129
+ disabled: k,
130
+ enabledFields: A,
131
+ requiredFields: j,
132
+ enabledFieldsMap: D,
133
+ disabledFieldsMap: E,
134
+ requiredFieldsMap: O,
135
+ disabledFields: M,
136
+ scrollIntoRequiredField: N,
137
+ formRef: C,
138
+ validate: async () => {
139
+ try {
140
+ return await C.value.validate();
141
+ } catch {
142
+ throw await N(), C.value.$el.querySelectorAll(".el-form-item.is-error .el-form-item__content > :first-child").forEach((e) => {
143
+ m(e, "breathe-animation");
144
+ }), Error("表单验证不通过!");
145
+ }
146
+ },
147
+ validateField: (e) => C.value.validateField(e),
148
+ resetFields: (e) => C.value.resetFields(e),
149
+ scrollToField: (e) => C.value.scrollToField(e),
150
+ clearValidate: (e) => C.value.clearValidate(e),
151
+ getField: () => C.value.getField(),
152
+ setInitialValues: (e) => C.value.setInitialValues(e),
153
+ getFields: () => C.value.fields
154
+ });
155
+ return d(e, P), y(P), () => s(i, l({
156
+ ref: "form",
157
+ class: "form-holder",
158
+ "show-message": T.value
159
+ }, x.value), { default: () => {
160
+ if (w.value) {
161
+ var e, t, i;
162
+ return [
163
+ (e = g.top) == null ? void 0 : e.call(g),
164
+ s(r, {
165
+ class: { "hide-error-message": w.value },
166
+ columns: h.columns,
167
+ "col-count": h.colCount
168
+ }, { default: () => {
169
+ var e;
170
+ return [(e = g.default) == null ? void 0 : e.call(g), h.showAdvice ? s(n, {
171
+ "label-colspan": h.commentLabelColspan,
172
+ "value-colspan": h.commentValueColspan
173
+ }, null) : null];
174
+ } }),
175
+ (t = g.bottom) == null ? void 0 : t.call(g),
176
+ s("div", { class: "red-form-footer" }, [(i = g.footer) == null ? void 0 : i.call(g)])
177
+ ];
178
+ } else {
179
+ var o;
180
+ return h.wrapRow ? s(a, null, { default: () => {
181
+ var e;
182
+ return [(e = g.default) == null ? void 0 : e.call(g)];
183
+ } }) : (o = g.default) == null ? void 0 : o.call(g);
184
+ }
185
+ } });
186
+ }
187
+ };
188
+ //#endregion
189
+ export { y as t };
@@ -0,0 +1,26 @@
1
+ import { n as e } from "./C1DlzLpD.mjs";
2
+ import { t } from "./Bj5l6sFx.mjs";
3
+ import { t as n } from "./DkqF25wT.mjs";
4
+ import { createVNode as r, isVNode as i, mergeProps as a, useModel as o } from "vue";
5
+ //#region src/components/form/FormInputIdCard.vue?vue&type=script&lang.jsx
6
+ function s(e) {
7
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !i(e);
8
+ }
9
+ //#endregion
10
+ //#region src/components/form/FormInputIdCard.vue
11
+ var c = {
12
+ name: "FormInputIdCard",
13
+ inheritAttrs: !1,
14
+ props: { ...n },
15
+ emits: { ...e },
16
+ setup(e, { slots: n, attrs: i }) {
17
+ let c = o(e, "modelValue");
18
+ return () => r(t, a(e, i, {
19
+ modelValue: c.value,
20
+ "onUpdate:modelValue": (e) => c.value = e,
21
+ type: "idcard"
22
+ }), s(n) ? n : { default: () => [n] });
23
+ }
24
+ };
25
+ //#endregion
26
+ export { c as t };
@@ -0,0 +1,100 @@
1
+ import { i as e, n as t } from "./C1DlzLpD.mjs";
2
+ import { n } from "./DynLjTwi.mjs";
3
+ import { ElSwitch 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/switch.js
6
+ var s = {
7
+ ...n,
8
+ modelValue: [
9
+ Boolean,
10
+ String,
11
+ Number
12
+ ],
13
+ loading: {
14
+ type: Boolean,
15
+ default: !1
16
+ },
17
+ size: {
18
+ type: String,
19
+ default: ""
20
+ },
21
+ width: [Number, String],
22
+ inlinePrompt: {
23
+ type: Boolean,
24
+ default: !1
25
+ },
26
+ activeIcon: [String, Object],
27
+ inactiveIcon: [String, Object],
28
+ activeActionIcon: [String, Object],
29
+ inactiveActionIcon: [String, Object],
30
+ activeText: {
31
+ type: String,
32
+ default: ""
33
+ },
34
+ inactiveText: {
35
+ type: String,
36
+ default: ""
37
+ },
38
+ activeValue: [
39
+ Boolean,
40
+ String,
41
+ Number
42
+ ],
43
+ inactiveValue: [
44
+ Boolean,
45
+ String,
46
+ Number
47
+ ],
48
+ name: {
49
+ type: String,
50
+ default: ""
51
+ },
52
+ validateEvent: {
53
+ type: Boolean,
54
+ default: !0
55
+ },
56
+ beforeChange: Function,
57
+ id: String,
58
+ tabindex: [String, Number],
59
+ ariaLabel: String,
60
+ activeColor: {
61
+ type: String,
62
+ default: ""
63
+ },
64
+ inactiveColor: {
65
+ type: String,
66
+ default: ""
67
+ },
68
+ borderColor: {
69
+ type: String,
70
+ default: ""
71
+ }
72
+ }, c = { modelValue: !0 }, l = ["change"], u = (e) => n[e] === void 0 && c[e] !== !0, d = {
73
+ name: "FormSwitch",
74
+ inheritAttrs: !1,
75
+ props: { ...s },
76
+ emits: {
77
+ ...t,
78
+ change: null
79
+ },
80
+ setup(t, { emit: n, slots: s, attrs: c }) {
81
+ let d = o(t, "modelValue"), { render: f, disabled: p, autoBind: m } = e(t, {
82
+ emit: n,
83
+ slots: s,
84
+ events: l,
85
+ predicate: u
86
+ });
87
+ return () => f({ vNodes: i(r, a(m.value, c, {
88
+ modelValue: d.value,
89
+ "onUpdate:modelValue": (e) => d.value = e,
90
+ disabled: p.value
91
+ }), {
92
+ "active-action": s["active-action"],
93
+ "inactive-action": s["inactive-action"],
94
+ active: s.active,
95
+ inactive: s.inactive
96
+ }) });
97
+ }
98
+ };
99
+ //#endregion
100
+ export { d as t };
@@ -0,0 +1,51 @@
1
+ import { n as e } from "./Bh_CMUlo.mjs";
2
+ import { o as t, r as n } from "./C1DlzLpD.mjs";
3
+ import { n as r } from "./DynLjTwi.mjs";
4
+ import { ElImage as i } from "element-plus/es";
5
+ import { createVNode as a, isVNode as o, mergeProps as s } from "vue";
6
+ //#region src/components/form/props/image.js
7
+ var c = {
8
+ ...r,
9
+ src: String,
10
+ fit: String,
11
+ hideOnClickModal: Boolean
12
+ }, l = { modelValue: !0 }, u = [
13
+ "load",
14
+ "error",
15
+ "switch",
16
+ "close",
17
+ "show"
18
+ ], d = (e) => r[e] === void 0 && l[e] !== !0;
19
+ //#endregion
20
+ //#region src/components/form/FormImage.vue?vue&type=script&lang.jsx
21
+ function f(e) {
22
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !o(e);
23
+ }
24
+ //#endregion
25
+ //#region src/components/form/FormImage.vue
26
+ var p = {
27
+ name: "FormImage",
28
+ inheritAttrs: !1,
29
+ props: { ...c },
30
+ emits: {
31
+ load: null,
32
+ error: null,
33
+ switch: null,
34
+ close: null,
35
+ show: null
36
+ },
37
+ setup(r, { slots: o, attrs: c, emit: l }) {
38
+ let p = t(r, { attrs: c }), m = e(r, {
39
+ events: u,
40
+ predicate: d,
41
+ emit: l
42
+ });
43
+ return () => n(r, {
44
+ vNodes: a(i, s(m.value, c, { "preview-src-list": [r.src] }), f(o) ? o : { default: () => [o] }),
45
+ formItemProps: p,
46
+ slots: o
47
+ });
48
+ }
49
+ };
50
+ //#endregion
51
+ export { p as t };
@@ -0,0 +1,106 @@
1
+ import { n as e, t } from "./DynLjTwi.mjs";
2
+ //#region src/components/form/props/input.js
3
+ var n = {
4
+ ...e,
5
+ ...t,
6
+ type: {
7
+ type: String,
8
+ default: "text"
9
+ },
10
+ modelValue: [String, Number],
11
+ modelModifiers: Object,
12
+ maxlength: [String, Number],
13
+ minlength: [String, Number],
14
+ showWordLimit: {
15
+ type: Boolean,
16
+ default: !1
17
+ },
18
+ wordLimitPosition: {
19
+ type: String,
20
+ default: "inside"
21
+ },
22
+ placeholder: String,
23
+ clearable: {
24
+ type: Boolean,
25
+ default: !1
26
+ },
27
+ clearIcon: [String, Object],
28
+ formatter: Function,
29
+ parser: Function,
30
+ showPassword: {
31
+ type: Boolean,
32
+ default: !1
33
+ },
34
+ size: String,
35
+ prefixIcon: [String, Object],
36
+ suffixIcon: [String, Object],
37
+ rows: {
38
+ type: Number,
39
+ default: 2
40
+ },
41
+ autosize: [Boolean, Object],
42
+ autocomplete: {
43
+ type: String,
44
+ default: "off"
45
+ },
46
+ name: String,
47
+ readonly: {
48
+ type: Boolean,
49
+ default: !1
50
+ },
51
+ max: [String, Number],
52
+ min: [String, Number],
53
+ step: [String, Number],
54
+ resize: String,
55
+ autofocus: {
56
+ type: Boolean,
57
+ default: !1
58
+ },
59
+ form: String,
60
+ ariaLabel: String,
61
+ tabindex: [String, Number],
62
+ validateEvent: {
63
+ type: Boolean,
64
+ default: !0
65
+ },
66
+ inputStyle: [String, Object],
67
+ label: String,
68
+ inputmode: String,
69
+ countGraphemes: Function,
70
+ prepend: String,
71
+ append: String,
72
+ prefix: String,
73
+ suffix: String,
74
+ picker: Boolean,
75
+ readonlyGrey: {
76
+ type: Boolean,
77
+ default: !0
78
+ }
79
+ }, r = {
80
+ readonly: !0,
81
+ prefixIcon: !0,
82
+ suffixIcon: !0,
83
+ placeholder: !0,
84
+ modelValue: !0,
85
+ readonlyGrey: !0,
86
+ picker: !0,
87
+ append: !0,
88
+ prefix: !0,
89
+ suffix: !0,
90
+ prepend: !0
91
+ }, i = [
92
+ "click",
93
+ "blur",
94
+ "focus",
95
+ "change",
96
+ "input",
97
+ "clear",
98
+ "keydown",
99
+ "mouseleave",
100
+ "mouseenter",
101
+ "compositionstart",
102
+ "compositionupdate",
103
+ "compositionend"
104
+ ], a = (t) => e[t] === void 0 && r[t] !== !0;
105
+ //#endregion
106
+ export { i as n, a as r, n as t };
@@ -0,0 +1,17 @@
1
+ import { c as e, s as t } from "./C1DlzLpD.mjs";
2
+ //#region src/components/form/props/common.js
3
+ var n = {
4
+ ...e,
5
+ ...t,
6
+ wrapFormItem: {
7
+ type: Boolean,
8
+ default: !0
9
+ },
10
+ disabled: {
11
+ type: Boolean,
12
+ default: void 0
13
+ },
14
+ col: Boolean
15
+ }, r = { size: { type: String } };
16
+ //#endregion
17
+ export { n, r as t };