@web-utils/form-ui 1.0.0-beta56 → 1.0.0-beta58

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 (153) hide show
  1. package/chunks/-qKZw-3p2.mjs +23 -0
  2. package/chunks/{CauzhVSa2.mjs → 4-vc_q1t.mjs} +12 -12
  3. package/chunks/{Bq62m7IR2.mjs → 4C611CU2.mjs} +11 -11
  4. package/chunks/{gLPy4Sus.mjs → 8P-OAGbj.mjs} +1 -1
  5. package/chunks/B2PuSZ_F.mjs +35 -0
  6. package/chunks/B6B-rhhB.mjs +37 -0
  7. package/chunks/{C7Mak2La.mjs → BHT38Us-.mjs} +7 -6
  8. package/chunks/BWoKh6f6.mjs +66 -0
  9. package/chunks/{Dt_s96gL2.mjs → BXrA0SYn2.mjs} +2 -2
  10. package/chunks/BZ0v5mka.mjs +30 -0
  11. package/chunks/{5KomemiE2.mjs → BlmtfUfl2.mjs} +29 -29
  12. package/chunks/CE1uX9hJ.mjs +95 -0
  13. package/chunks/CGnOR2gn.mjs +59 -0
  14. package/chunks/CJ1-f8sg.mjs +30 -0
  15. package/chunks/{B3A-CnYr.mjs → CSnlDCNV.mjs} +5 -5
  16. package/chunks/CdzoVG6J.mjs +47 -0
  17. package/chunks/{BZTAuJxn2.mjs → CqoMZ9Wo2.mjs} +1 -1
  18. package/chunks/CrQmTHMA.mjs +105 -0
  19. package/chunks/Crh2RUrS.mjs +106 -0
  20. package/chunks/DBUJ7Bva.mjs +56 -0
  21. package/chunks/DB_UKPay.mjs +27 -0
  22. package/chunks/{BvKUeniN.mjs → DEC2O0q-.mjs} +46 -44
  23. package/chunks/{BoJgSMkL.mjs → DUhF8YOY.mjs} +2 -2
  24. package/chunks/{g8MIBMw92.mjs → Dqq8z1t4.mjs} +13 -13
  25. package/chunks/Du1PslcN.mjs +28 -0
  26. package/chunks/{Dluor05A.mjs → DyEYDv4B.mjs} +7 -6
  27. package/chunks/EAJCsX8W.mjs +32 -0
  28. package/chunks/ZFJ73RWd2.mjs +29 -0
  29. package/chunks/{D2B9Y3oT.mjs → fmIV_kHp.mjs} +2 -2
  30. package/chunks/h5488Kii.mjs +27 -0
  31. package/chunks/k3cC9SGC.mjs +27 -0
  32. package/chunks/{7GmKqdbC.mjs → usyXQe35.mjs} +1 -1
  33. package/chunks/{BpCiVuKL.mjs → v3wbYL_-.mjs} +7 -6
  34. package/chunks/vd9nXj8B.mjs +59 -0
  35. package/confirm-button/index.mjs +1 -1
  36. package/confirmable/index.mjs +1 -1
  37. package/editable-tree/index.mjs +591 -2
  38. package/element-dialog/index.mjs +1 -1
  39. package/element-resize-observer/index.mjs +1 -1
  40. package/form-cascader/index.mjs +1 -1
  41. package/form-checkbox/index.mjs +1 -1
  42. package/form-checkbox-group/index.mjs +1 -1
  43. package/form-date-picker/index.mjs +1 -1
  44. package/form-holder/index.mjs +1 -1
  45. package/form-image/index.mjs +1 -1
  46. package/form-input/index.mjs +1 -1
  47. package/form-input-cron-expression/index.mjs +1 -1
  48. package/form-input-email/index.mjs +1 -1
  49. package/form-input-id-card/index.mjs +1 -1
  50. package/form-input-number/index.mjs +1 -1
  51. package/form-input-phone-number/index.mjs +1 -1
  52. package/form-input-tag/index.mjs +1 -1
  53. package/form-input-time/index.mjs +1 -1
  54. package/form-item-group/index.mjs +1 -1
  55. package/form-item-x/index.mjs +1 -1
  56. package/form-radio-group/index.mjs +1 -1
  57. package/form-rate/index.mjs +1 -1
  58. package/form-row/index.mjs +1 -1
  59. package/form-select/index.mjs +1 -1
  60. package/form-slider/index.mjs +1 -1
  61. package/form-switch/index.mjs +1 -1
  62. package/form-table/index.mjs +1 -1
  63. package/form-table-plus/index.mjs +1 -1
  64. package/form-text/index.mjs +1 -1
  65. package/form-textarea/index.mjs +1 -1
  66. package/form-time-select/index.mjs +1 -1
  67. package/helper/dictionary.mjs +1 -1
  68. package/helper/form-item.d.ts +1 -1
  69. package/helper/form-item.mjs +27 -2
  70. package/helper/input.mjs +1 -1
  71. package/iframe-window/index.mjs +1 -1
  72. package/index.mjs +37 -37
  73. package/package.json +1 -1
  74. package/pageable-table/index.mjs +1 -1
  75. package/props/cascader.d.ts +326 -0
  76. package/{chunks/Czz_49pC.mjs → props/cascader.mjs} +8 -58
  77. package/props/checkbox-group.d.ts +213 -0
  78. package/props/checkbox-group.mjs +83 -0
  79. package/props/checkbox.d.ts +202 -0
  80. package/props/checkbox.mjs +71 -0
  81. package/props/col.d.ts +74 -0
  82. package/props/col.mjs +32 -0
  83. package/props/common.d.ts +114 -0
  84. package/props/common.mjs +18 -0
  85. package/props/date.d.ts +339 -0
  86. package/props/date.mjs +145 -0
  87. package/props/form-item.d.ts +144 -0
  88. package/props/form-item.mjs +73 -0
  89. package/props/form.d.ts +157 -0
  90. package/props/form.mjs +89 -0
  91. package/props/image.d.ts +102 -0
  92. package/props/image.mjs +10 -0
  93. package/props/input-cron.d.ts +102 -0
  94. package/props/input-cron.mjs +16 -0
  95. package/props/input-number.d.ts +216 -0
  96. package/props/input-number.mjs +72 -0
  97. package/props/input-tag.d.ts +123 -0
  98. package/props/input-tag.mjs +33 -0
  99. package/props/input.d.ts +299 -0
  100. package/props/input.mjs +97 -0
  101. package/props/radio-group.d.ts +205 -0
  102. package/props/radio-group.mjs +84 -0
  103. package/props/rate.d.ts +211 -0
  104. package/{chunks/D0kIhzQo.mjs → props/rate.mjs} +7 -28
  105. package/props/select.d.ts +450 -0
  106. package/props/select.mjs +218 -0
  107. package/props/slide.d.ts +235 -0
  108. package/{chunks/DZrQmH9Y.mjs → props/slide.mjs} +7 -28
  109. package/props/switch.d.ts +229 -0
  110. package/{chunks/ecpQ-ODX.mjs → props/switch.mjs} +7 -33
  111. package/props/text.d.ts +127 -0
  112. package/props/text.mjs +22 -0
  113. package/props/textarea.d.ts +266 -0
  114. package/{chunks/CNK4mfga.mjs → props/textarea.mjs} +19 -31
  115. package/props/time-select.d.ts +216 -0
  116. package/props/time-select.mjs +67 -0
  117. package/props/time.d.ts +304 -0
  118. package/{chunks/C3MF_-bN.mjs → props/time.mjs} +8 -39
  119. package/props/tree.d.ts +76 -0
  120. package/props/tree.mjs +75 -0
  121. package/sub-table/index.mjs +1 -1
  122. package/sub-table-plus/index.mjs +1 -1
  123. package/table-column/index.mjs +1 -1
  124. package/table-column-def/index.mjs +1 -1
  125. package/table-view/index.mjs +13 -13
  126. package/toolbar/index.mjs +1 -1
  127. package/toolbar-button/index.mjs +1 -1
  128. package/vue-cron/index.mjs +1 -1
  129. package/web-types.json +1 -1
  130. package/x-input-tag/index.mjs +2 -2
  131. package/year-calendar/index.mjs +1 -1
  132. package/chunks/6GcIyEQV.mjs +0 -95
  133. package/chunks/8c9TEVNY.mjs +0 -36
  134. package/chunks/AAZfNtly.mjs +0 -119
  135. package/chunks/BKlMENhV.mjs +0 -57
  136. package/chunks/BNVYEWWW.mjs +0 -57
  137. package/chunks/BTuzBfTA.mjs +0 -141
  138. package/chunks/C6Dq9Dgb.mjs +0 -17
  139. package/chunks/C6u76g6o.mjs +0 -158
  140. package/chunks/CLO5X9Lb.mjs +0 -176
  141. package/chunks/CdoiMj7L2.mjs +0 -39
  142. package/chunks/DTVTvvq-.mjs +0 -189
  143. package/chunks/DWE67l1f.mjs +0 -317
  144. package/chunks/DWMePN6q.mjs +0 -660
  145. package/chunks/D_L1p3vm2.mjs +0 -90
  146. package/chunks/Dy_5vPdP.mjs +0 -101
  147. package/chunks/Goee5Y-H.mjs +0 -198
  148. /package/chunks/{BlxLaWcU.mjs → 6av50rJm.mjs} +0 -0
  149. /package/chunks/{CkOD-_VV.mjs → B1MSrc6f.mjs} +0 -0
  150. /package/chunks/{BNqVEHk_.mjs → C-0zqLII.mjs} +0 -0
  151. /package/chunks/{xq_LR6R2.mjs → CI1ehQi5.mjs} +0 -0
  152. /package/chunks/{DcTVYqeJ.mjs → DuOxL6xh.mjs} +0 -0
  153. /package/chunks/{CXsoKP22.mjs → mekxD3ef.mjs} +0 -0
@@ -1,10 +1,7 @@
1
- import { n as e, o as t } from "./BvKUeniN.mjs";
2
- import { n } from "./C6Dq9Dgb.mjs";
3
- import { createVNode as r, mergeProps as i, useModel as a } from "vue";
4
- import { ElSwitch as o } from "element-plus/es";
5
- //#region src/components/form/props/switch.ts
6
- var s = {
7
- ...n,
1
+ import { commonManualBindProps as e } from "./common.mjs";
2
+ //#region src/props/switch.ts
3
+ var t = {
4
+ ...e,
8
5
  modelValue: [
9
6
  Boolean,
10
7
  String,
@@ -75,32 +72,9 @@ var s = {
75
72
  type: String,
76
73
  default: ""
77
74
  }
78
- }, c = {
75
+ }, n = {
79
76
  disabled: !0,
80
77
  modelValue: !0
81
- }, l = (e) => n[e] === void 0 && c[e] !== !0, u = {
82
- name: "FormSwitch",
83
- inheritAttrs: !1,
84
- props: { ...s },
85
- emits: { ...e },
86
- setup(e, { emit: n, slots: s, attrs: c }) {
87
- let u = a(e, "modelValue"), { render: d, disabled: f, listeners: p, inputProps: m } = t(e, {
88
- emit: n,
89
- attrs: c,
90
- slots: s,
91
- predicate: l
92
- });
93
- return () => d({ vNodes: r(o, i(p.value, m.value, {
94
- modelValue: u.value,
95
- "onUpdate:modelValue": (e) => u.value = e,
96
- disabled: f.value
97
- }), {
98
- "active-action": s["active-action"],
99
- "inactive-action": s["inactive-action"],
100
- active: s.active,
101
- inactive: s.inactive
102
- }) });
103
- }
104
- };
78
+ }, r = (t) => e[t] === void 0 && n[t] !== !0;
105
79
  //#endregion
106
- export { u as t };
80
+ export { t as allProps, n as manualBindProps, r as predicate };
@@ -0,0 +1,127 @@
1
+ import { commonManualBindProps } from './common.ts';
2
+ export declare const allProps: {
3
+ /**
4
+ * 类型
5
+ * @values primary, success, warning, danger, info
6
+ */
7
+ type: StringConstructor;
8
+ /**
9
+ * 大小
10
+ * @values large, default, small
11
+ */
12
+ size: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ /**
17
+ * 显示省略号
18
+ */
19
+ truncated: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
23
+ /**
24
+ * 最大行数
25
+ * @since 2.4.0
26
+ */
27
+ lineClamp: (StringConstructor | NumberConstructor)[];
28
+ /**
29
+ * 自定义元素标签
30
+ */
31
+ tag: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ };
35
+ text: StringConstructor;
36
+ wrapFormItem: {
37
+ type: BooleanConstructor;
38
+ default: boolean;
39
+ };
40
+ disabled: {
41
+ type: BooleanConstructor;
42
+ default: undefined;
43
+ };
44
+ col: BooleanConstructor;
45
+ span: {
46
+ type: NumberConstructor;
47
+ default: number;
48
+ };
49
+ offset: {
50
+ type: NumberConstructor;
51
+ default: number;
52
+ };
53
+ push: {
54
+ type: NumberConstructor;
55
+ default: number;
56
+ };
57
+ pull: {
58
+ type: NumberConstructor;
59
+ default: number;
60
+ };
61
+ xs: {
62
+ type: (ObjectConstructor | NumberConstructor)[];
63
+ };
64
+ sm: {
65
+ type: (ObjectConstructor | NumberConstructor)[];
66
+ };
67
+ md: {
68
+ type: (ObjectConstructor | NumberConstructor)[];
69
+ };
70
+ lg: {
71
+ type: (ObjectConstructor | NumberConstructor)[];
72
+ };
73
+ xl: {
74
+ type: (ObjectConstructor | NumberConstructor)[];
75
+ };
76
+ prop: (StringConstructor | ArrayConstructor)[];
77
+ label: StringConstructor;
78
+ labelPosition: {
79
+ type: StringConstructor;
80
+ default: string;
81
+ };
82
+ labelWidth: (StringConstructor | NumberConstructor)[];
83
+ required: {
84
+ type: BooleanConstructor;
85
+ default: boolean;
86
+ };
87
+ rules: ObjectConstructor;
88
+ error: StringConstructor;
89
+ showMessage: {
90
+ type: BooleanConstructor;
91
+ default: boolean;
92
+ };
93
+ inlineMessage: {
94
+ type: BooleanConstructor;
95
+ default: boolean;
96
+ };
97
+ for: StringConstructor;
98
+ validateStatus: StringConstructor;
99
+ messagePrefix: StringConstructor;
100
+ message: StringConstructor;
101
+ wrapCol: {
102
+ type: BooleanConstructor;
103
+ default: boolean;
104
+ };
105
+ fixedSpan: NumberConstructor;
106
+ block: {
107
+ type: BooleanConstructor;
108
+ default: undefined;
109
+ };
110
+ unwrap: BooleanConstructor;
111
+ half: BooleanConstructor;
112
+ formItemClass: StringConstructor;
113
+ hideLabel: BooleanConstructor;
114
+ tips: {
115
+ type: StringConstructor;
116
+ };
117
+ tipsAfterLabel: {
118
+ type: BooleanConstructor;
119
+ default: boolean;
120
+ };
121
+ labelColspan: (StringConstructor | NumberConstructor)[];
122
+ inputColspan: (StringConstructor | NumberConstructor)[];
123
+ labelRowspan: (StringConstructor | NumberConstructor)[];
124
+ inputRowspan: (StringConstructor | NumberConstructor)[];
125
+ };
126
+ export declare const manualBindProps: Record<string, boolean | undefined>;
127
+ export declare const predicate: (propsKey: keyof typeof commonManualBindProps) => boolean;
package/props/text.mjs ADDED
@@ -0,0 +1,22 @@
1
+ import { commonManualBindProps as e } from "./common.mjs";
2
+ //#region src/props/text.ts
3
+ var t = {
4
+ ...e,
5
+ type: String,
6
+ size: {
7
+ type: String,
8
+ default: "default"
9
+ },
10
+ truncated: {
11
+ type: Boolean,
12
+ default: !1
13
+ },
14
+ lineClamp: [String, Number],
15
+ tag: {
16
+ type: String,
17
+ default: "span"
18
+ },
19
+ text: String
20
+ }, n = { modelValue: !0 }, r = (t) => e[t] === void 0 && n[t] !== !0;
21
+ //#endregion
22
+ export { t as allProps, n as manualBindProps, r as predicate };
@@ -0,0 +1,266 @@
1
+ import { commonManualBindProps } from './common.ts';
2
+ export declare const allProps: {
3
+ /**
4
+ * 绑定值
5
+ */
6
+ modelValue: (StringConstructor | NumberConstructor)[];
7
+ /**
8
+ * v-model 修饰符,参考 Vue 修饰符
9
+ * @since 2.11.5
10
+ */
11
+ modelModifiers: ObjectConstructor;
12
+ /**
13
+ * 同原生 maxlength 属性
14
+ */
15
+ maxlength: {
16
+ type: (StringConstructor | NumberConstructor)[];
17
+ default: number;
18
+ };
19
+ /**
20
+ * 原生属性,最小输入长度
21
+ */
22
+ minlength: (StringConstructor | NumberConstructor)[];
23
+ /**
24
+ * 是否显示统计字数
25
+ */
26
+ showWordLimit: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ /**
31
+ * 字数统计的位置,仅当 showWordLimit 为 true 时生效
32
+ * @since 2.11.5
33
+ * @values inside, outside
34
+ */
35
+ wordLimitPosition: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ /**
40
+ * 输入框占位文本
41
+ */
42
+ placeholder: StringConstructor;
43
+ /**
44
+ * 自定义清除图标
45
+ * @since 2.11.0
46
+ */
47
+ clearIcon: (StringConstructor | ObjectConstructor)[];
48
+ /**
49
+ * 指定输入值的格式(只有当 type 是 "text" 时才能工作)
50
+ */
51
+ formatter: FunctionConstructor;
52
+ /**
53
+ * 指定从格式化器输入中提取的值(仅当 type 是 "text" 时才起作用)
54
+ */
55
+ parser: FunctionConstructor;
56
+ /**
57
+ * 是否显示切换密码图标
58
+ */
59
+ showPassword: {
60
+ type: BooleanConstructor;
61
+ default: boolean;
62
+ };
63
+ /**
64
+ * 自定义前缀图标
65
+ */
66
+ prefixIcon: (StringConstructor | ObjectConstructor)[];
67
+ /**
68
+ * 自定义后缀图标
69
+ */
70
+ suffixIcon: (StringConstructor | ObjectConstructor)[];
71
+ /**
72
+ * 输入框行数,仅 type 为 'textarea' 时有效
73
+ */
74
+ rows: {
75
+ type: NumberConstructor;
76
+ default: number;
77
+ };
78
+ /**
79
+ * textarea 高度是否自适应,仅 type 为 'textarea' 时生效。可以接受一个对象,比如: { minRows: 2, maxRows: 6 }
80
+ */
81
+ autosize: (BooleanConstructor | ObjectConstructor)[];
82
+ /**
83
+ * 原生 autocomplete 属性
84
+ */
85
+ autocomplete: {
86
+ type: StringConstructor;
87
+ default: string;
88
+ };
89
+ /**
90
+ * 等价于原生 input name 属性
91
+ */
92
+ name: StringConstructor;
93
+ /**
94
+ * 原生 readonly 属性,是否只读
95
+ */
96
+ readonly: {
97
+ type: BooleanConstructor;
98
+ default: boolean;
99
+ };
100
+ /**
101
+ * 原生 max 属性,设置最大值
102
+ */
103
+ max: (StringConstructor | NumberConstructor)[];
104
+ /**
105
+ * 原生属性,设置最小值
106
+ */
107
+ min: (StringConstructor | NumberConstructor)[];
108
+ /**
109
+ * 原生属性,设置输入字段的合法数字间隔
110
+ */
111
+ step: (StringConstructor | NumberConstructor)[];
112
+ /**
113
+ * 控制是否能被用户缩放
114
+ * @values none, both, horizontal, vertical
115
+ */
116
+ resize: StringConstructor;
117
+ /**
118
+ * 原生属性,自动获取焦点
119
+ */
120
+ autofocus: {
121
+ type: BooleanConstructor;
122
+ default: boolean;
123
+ };
124
+ /**
125
+ * 原生属性
126
+ */
127
+ form: StringConstructor;
128
+ /**
129
+ * 等价于原生 input aria-label 属性
130
+ * @since 2.7.2
131
+ */
132
+ ariaLabel: StringConstructor;
133
+ /**
134
+ * 输入框的 tabindex
135
+ */
136
+ tabindex: (StringConstructor | NumberConstructor)[];
137
+ /**
138
+ * 输入时是否触发表单的校验
139
+ */
140
+ validateEvent: {
141
+ type: BooleanConstructor;
142
+ default: boolean;
143
+ };
144
+ /**
145
+ * input 元素或 textarea 元素的 style
146
+ */
147
+ inputStyle: (StringConstructor | ObjectConstructor)[];
148
+ /**
149
+ * 等价于原生 input inputmode 属性
150
+ * @since 2.10.3
151
+ */
152
+ inputmode: StringConstructor;
153
+ /**
154
+ * 自定义函数用于计算字形;设置后,将绕过原生的 maxlength/minlength 约束。组件使用 Intl.Segmenter(Chrome 87+、Firefox 125+、Safari 14.1+)进行正确的字素聚类;旧版浏览器回退到使用 Array.from() 进行代码点迭代
155
+ * @since 2.13.7
156
+ */
157
+ countGraphemes: FunctionConstructor;
158
+ /**
159
+ * 只作为展示和点击
160
+ */
161
+ /**
162
+ * 只读时背景是否为灰色
163
+ */
164
+ readonlyGrey: {
165
+ type: BooleanConstructor;
166
+ default: boolean;
167
+ };
168
+ size: {
169
+ type: StringConstructor;
170
+ };
171
+ wrapFormItem: {
172
+ type: BooleanConstructor;
173
+ default: boolean;
174
+ };
175
+ disabled: {
176
+ type: BooleanConstructor;
177
+ default: undefined;
178
+ };
179
+ col: BooleanConstructor;
180
+ span: {
181
+ type: NumberConstructor;
182
+ default: number;
183
+ };
184
+ offset: {
185
+ type: NumberConstructor;
186
+ default: number;
187
+ };
188
+ push: {
189
+ type: NumberConstructor;
190
+ default: number;
191
+ };
192
+ pull: {
193
+ type: NumberConstructor;
194
+ default: number;
195
+ };
196
+ xs: {
197
+ type: (ObjectConstructor | NumberConstructor)[];
198
+ };
199
+ sm: {
200
+ type: (ObjectConstructor | NumberConstructor)[];
201
+ };
202
+ md: {
203
+ type: (ObjectConstructor | NumberConstructor)[];
204
+ };
205
+ lg: {
206
+ type: (ObjectConstructor | NumberConstructor)[];
207
+ };
208
+ xl: {
209
+ type: (ObjectConstructor | NumberConstructor)[];
210
+ };
211
+ tag: {
212
+ type: StringConstructor;
213
+ default: string;
214
+ };
215
+ prop: (StringConstructor | ArrayConstructor)[];
216
+ label: StringConstructor;
217
+ labelPosition: {
218
+ type: StringConstructor;
219
+ default: string;
220
+ };
221
+ labelWidth: (StringConstructor | NumberConstructor)[];
222
+ required: {
223
+ type: BooleanConstructor;
224
+ default: boolean;
225
+ };
226
+ rules: ObjectConstructor;
227
+ error: StringConstructor;
228
+ showMessage: {
229
+ type: BooleanConstructor;
230
+ default: boolean;
231
+ };
232
+ inlineMessage: {
233
+ type: BooleanConstructor;
234
+ default: boolean;
235
+ };
236
+ for: StringConstructor;
237
+ validateStatus: StringConstructor;
238
+ messagePrefix: StringConstructor;
239
+ message: StringConstructor;
240
+ wrapCol: {
241
+ type: BooleanConstructor;
242
+ default: boolean;
243
+ };
244
+ fixedSpan: NumberConstructor;
245
+ block: {
246
+ type: BooleanConstructor;
247
+ default: undefined;
248
+ };
249
+ unwrap: BooleanConstructor;
250
+ half: BooleanConstructor;
251
+ formItemClass: StringConstructor;
252
+ hideLabel: BooleanConstructor;
253
+ tips: {
254
+ type: StringConstructor;
255
+ };
256
+ tipsAfterLabel: {
257
+ type: BooleanConstructor;
258
+ default: boolean;
259
+ };
260
+ labelColspan: (StringConstructor | NumberConstructor)[];
261
+ inputColspan: (StringConstructor | NumberConstructor)[];
262
+ labelRowspan: (StringConstructor | NumberConstructor)[];
263
+ inputRowspan: (StringConstructor | NumberConstructor)[];
264
+ };
265
+ export declare const manualBindProps: Record<string, boolean | undefined>;
266
+ export declare const predicate: (propsKey: keyof typeof commonManualBindProps) => boolean;
@@ -1,11 +1,8 @@
1
- import { n as e } from "./BvKUeniN.mjs";
2
- import { n as t, t as n } from "./C6Dq9Dgb.mjs";
3
- import { t as r } from "./C6u76g6o.mjs";
4
- import { createVNode as i, isVNode as a, mergeProps as o, useModel as s } from "vue";
5
- //#region src/components/form/props/textarea.ts
6
- var c = {
1
+ import { commonAutoBindProps as e, commonManualBindProps as t } from "./common.mjs";
2
+ //#region src/props/textarea.ts
3
+ var n = {
7
4
  ...t,
8
- ...n,
5
+ ...e,
9
6
  modelValue: [String, Number],
10
7
  modelModifiers: Object,
11
8
  maxlength: {
@@ -67,28 +64,19 @@ var c = {
67
64
  type: Boolean,
68
65
  default: !0
69
66
  }
70
- };
67
+ }, r = {
68
+ readonly: !0,
69
+ prefixIcon: !0,
70
+ disabled: !0,
71
+ suffixIcon: !0,
72
+ placeholder: !0,
73
+ modelValue: !0,
74
+ readonlyGrey: !0,
75
+ picker: !0,
76
+ append: !0,
77
+ prefix: !0,
78
+ suffix: !0,
79
+ prepend: !0
80
+ }, i = (e) => t[e] === void 0 && r[e] !== !0;
71
81
  //#endregion
72
- //#region src/components/form/FormTextarea.vue?vue&type=script&lang.jsx
73
- function l(e) {
74
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !a(e);
75
- }
76
- //#endregion
77
- //#region src/components/form/FormTextarea.vue
78
- var u = {
79
- name: "FormTextarea",
80
- inheritAttrs: !1,
81
- props: { ...c },
82
- emits: { ...e },
83
- setup(e, { slots: t, attrs: n }) {
84
- let a = s(e, "modelValue");
85
- return () => i(r, o(e, n, {
86
- modelValue: a.value,
87
- "onUpdate:modelValue": (e) => a.value = e,
88
- block: e.block === void 0 ? !0 : e.block,
89
- type: "textarea"
90
- }), l(t) ? t : { default: () => [t] });
91
- }
92
- };
93
- //#endregion
94
- export { u as t };
82
+ export { n as allProps, r as manualBindProps, i as predicate };