@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
@@ -0,0 +1,144 @@
1
+ export declare const formItemProps: {
2
+ /**
3
+ * model 的键名。它可以是属性的路径(如 a.b.0 或 ['a', 'b', '0'])。在使用了 validate、resetFields 的方法时,该属性是必填的
4
+ */
5
+ prop: (StringConstructor | ArrayConstructor)[];
6
+ /**
7
+ * 标签文本
8
+ */
9
+ label: StringConstructor;
10
+ /**
11
+ * 表单域标签的位置,当设置为 left 或 right 时,则也需要设置 labelWidth 属性 默认会继承 Form 的 label-position
12
+ * @since 2.7.7
13
+ * @values left, right, top
14
+ */
15
+ labelPosition: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ };
19
+ /**
20
+ * 标签宽度,例如 '50px'。可以使用 auto
21
+ */
22
+ labelWidth: (StringConstructor | NumberConstructor)[];
23
+ /**
24
+ * 是否为必填项,如不设置,则会根据校验规则确认
25
+ */
26
+ required: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ /**
31
+ * 表单验证规则,具体配置见下表,更多内容可以参考 async-validator
32
+ */
33
+ rules: ObjectConstructor;
34
+ /**
35
+ * 表单域验证错误时的提示信息。设置该值会导致表单验证状态变为 error,并显示该错误信息
36
+ */
37
+ error: StringConstructor;
38
+ /**
39
+ * 是否显示校验错误信息
40
+ */
41
+ showMessage: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
45
+ /**
46
+ * 是否在行内显示校验信息
47
+ */
48
+ inlineMessage: {
49
+ type: BooleanConstructor;
50
+ default: boolean;
51
+ };
52
+ /**
53
+ * 用于控制该表单域下组件的默认尺寸
54
+ * @values large, default, small
55
+ */
56
+ size: StringConstructor;
57
+ /**
58
+ * 和原生标签相同能力
59
+ */
60
+ for: StringConstructor;
61
+ /**
62
+ * formitem 校验的状态
63
+ * @values success, error, validating
64
+ */
65
+ validateStatus: StringConstructor;
66
+ /**
67
+ * 必填提示消息前缀
68
+ */
69
+ messagePrefix: StringConstructor;
70
+ /**
71
+ * 必填提示消息,此项有值时 messagePrefix 属性无效
72
+ */
73
+ message: StringConstructor;
74
+ /**
75
+ * 是否被列组件包裹
76
+ */
77
+ wrapCol: {
78
+ type: BooleanConstructor;
79
+ default: boolean;
80
+ };
81
+ /**
82
+ * 是否固定栏数,有值时 ElCol 将不会设置响应式属性
83
+ */
84
+ fixedSpan: NumberConstructor;
85
+ /**
86
+ * 是否占满整行
87
+ */
88
+ block: {
89
+ type: BooleanConstructor;
90
+ default: undefined;
91
+ };
92
+ /**
93
+ * 是否不用 ElCol 包裹
94
+ */
95
+ unwrap: BooleanConstructor;
96
+ /**
97
+ * 占满一行单内容只占半行
98
+ */
99
+ half: BooleanConstructor;
100
+ /**
101
+ * formItem 样式
102
+ */
103
+ formItemClass: StringConstructor;
104
+ /**
105
+ * 是否隐藏标签
106
+ */
107
+ hideLabel: BooleanConstructor;
108
+ /**
109
+ * 输入提示
110
+ */
111
+ tips: {
112
+ type: StringConstructor;
113
+ };
114
+ /**
115
+ * 输入提示是否放到 label 后
116
+ */
117
+ tipsAfterLabel: {
118
+ type: BooleanConstructor;
119
+ default: boolean;
120
+ };
121
+ /**
122
+ * label 占列数
123
+ */
124
+ labelColspan: (StringConstructor | NumberConstructor)[];
125
+ /**
126
+ * input 占列数
127
+ */
128
+ inputColspan: (StringConstructor | NumberConstructor)[];
129
+ /**
130
+ * label 占行数
131
+ */
132
+ labelRowspan: (StringConstructor | NumberConstructor)[];
133
+ /**
134
+ * input 占行数
135
+ */
136
+ inputRowspan: (StringConstructor | NumberConstructor)[];
137
+ };
138
+ export declare const manualBindProps: Record<string, boolean | undefined>;
139
+ export declare const predicate: (propsKey: keyof typeof formItemProps) => boolean;
140
+ export declare const useFormItemAutoBind: (props: Record<string, any>, { emit, events, predicate }: {
141
+ emit: (event: string, ...args: any[]) => void;
142
+ events: string[];
143
+ predicate: (key: string) => boolean;
144
+ }) => globalThis.ComputedRef<Record<string, any>>;
@@ -0,0 +1,73 @@
1
+ import { o as e } from "../chunks/DuOxL6xh.mjs";
2
+ import { computed as t } from "vue";
3
+ //#region src/props/form-item.ts
4
+ var n = {
5
+ prop: [String, Array],
6
+ label: String,
7
+ labelPosition: {
8
+ type: String,
9
+ default: ""
10
+ },
11
+ labelWidth: [String, Number],
12
+ required: {
13
+ type: Boolean,
14
+ default: !1
15
+ },
16
+ rules: Object,
17
+ error: String,
18
+ showMessage: {
19
+ type: Boolean,
20
+ default: !0
21
+ },
22
+ inlineMessage: {
23
+ type: Boolean,
24
+ default: !1
25
+ },
26
+ size: String,
27
+ for: String,
28
+ validateStatus: String,
29
+ messagePrefix: String,
30
+ message: String,
31
+ wrapCol: {
32
+ type: Boolean,
33
+ default: !0
34
+ },
35
+ fixedSpan: Number,
36
+ block: {
37
+ type: Boolean,
38
+ default: void 0
39
+ },
40
+ unwrap: Boolean,
41
+ half: Boolean,
42
+ formItemClass: String,
43
+ hideLabel: Boolean,
44
+ tips: { type: String },
45
+ tipsAfterLabel: {
46
+ type: Boolean,
47
+ default: !1
48
+ },
49
+ labelColspan: [Number, String],
50
+ inputColspan: [Number, String],
51
+ labelRowspan: [Number, String],
52
+ inputRowspan: [Number, String]
53
+ }, r = {
54
+ required: !0,
55
+ rules: !0,
56
+ messagePrefix: !0,
57
+ message: !0,
58
+ wrapCol: !0,
59
+ fixedSpan: !0,
60
+ block: !0,
61
+ unwrap: !0,
62
+ half: !0,
63
+ formItemClass: !0,
64
+ hideLabel: !0,
65
+ tips: !0,
66
+ tipsAfterLabel: !0,
67
+ labelColspan: !0,
68
+ inputColspan: !0,
69
+ labelRowspan: !0,
70
+ inputRowspan: !0
71
+ }, i = (e) => n[e] !== void 0 && r[e] !== !0, a = (n, { emit: r, events: i, predicate: a }) => t(() => e(n, a, i, r));
72
+ //#endregion
73
+ export { n as formItemProps, r as manualBindProps, i as predicate, a as useFormItemAutoBind };
@@ -0,0 +1,157 @@
1
+ export declare const allProps: {
2
+ /**
3
+ * 表单数据对象
4
+ */
5
+ model: ObjectConstructor;
6
+ /**
7
+ * 表单验证规则
8
+ */
9
+ rules: ObjectConstructor;
10
+ /**
11
+ * 行内表单模式
12
+ */
13
+ inline: {
14
+ type: BooleanConstructor;
15
+ default: boolean;
16
+ };
17
+ /**
18
+ * 表单域标签的位置,当设置为 left 或 right 时,则也需要设置 labelWidth 属性
19
+ * @values right, left, top
20
+ */
21
+ labelPosition: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ };
25
+ /**
26
+ * 标签的长度,例如 '50px'。作为 Form 直接子元素的 form-item 会继承该值。可以使用 auto
27
+ */
28
+ labelWidth: {
29
+ type: (StringConstructor | NumberConstructor)[];
30
+ default: string;
31
+ };
32
+ /**
33
+ * 表单域标签的后缀
34
+ */
35
+ labelSuffix: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ /**
40
+ * 是否隐藏必填字段标签旁边的红色星号
41
+ */
42
+ hideRequiredAsterisk: {
43
+ type: BooleanConstructor;
44
+ default: boolean;
45
+ };
46
+ /**
47
+ * 星号的位置
48
+ * @values left, right
49
+ */
50
+ requireAsteriskPosition: {
51
+ type: StringConstructor;
52
+ default: string;
53
+ };
54
+ /**
55
+ * 是否显示校验错误信息
56
+ */
57
+ showMessage: {
58
+ type: BooleanConstructor;
59
+ default: boolean;
60
+ };
61
+ /**
62
+ * 是否以行内形式展示校验信息
63
+ */
64
+ inlineMessage: {
65
+ type: BooleanConstructor;
66
+ default: boolean;
67
+ };
68
+ /**
69
+ * 是否在输入框中显示校验结果反馈图标
70
+ */
71
+ statusIcon: {
72
+ type: BooleanConstructor;
73
+ default: boolean;
74
+ };
75
+ /**
76
+ * 是否在 rules 属性改变后立即触发一次验证
77
+ */
78
+ validateOnRuleChange: {
79
+ type: BooleanConstructor;
80
+ default: boolean;
81
+ };
82
+ /**
83
+ * 用于控制该表单内组件的尺寸
84
+ * @values large, default, small
85
+ */
86
+ size: StringConstructor;
87
+ /**
88
+ * 是否禁用该表单内的所有组件。在 2.12.0 以前,如果设置为 true,它将覆盖内部组件的 disabled 属性。在 2.12.0 之后,内部组件的配置优先
89
+ */
90
+ disabled: {
91
+ type: BooleanConstructor;
92
+ default: undefined;
93
+ };
94
+ /**
95
+ * 当校验失败时,滚动到第一个错误表单项
96
+ */
97
+ scrollToError: {
98
+ type: BooleanConstructor;
99
+ default: boolean;
100
+ };
101
+ /**
102
+ * 当校验有失败结果时,滚动到第一个失败的表单项目可通过 scrollIntoView 配置
103
+ * @since 2.3.2
104
+ */
105
+ scrollIntoViewOptions: (BooleanConstructor | ObjectConstructor)[];
106
+ /**
107
+ * 必填字段列表
108
+ */
109
+ requiredFields: ArrayConstructor;
110
+ /**
111
+ * 禁用字段列表
112
+ */
113
+ disabledFields: ArrayConstructor;
114
+ /**
115
+ * 启用字段列表
116
+ */
117
+ enabledFields: ArrayConstructor;
118
+ /**
119
+ * 是否显示建议提示
120
+ */
121
+ showAdvice: {
122
+ type: BooleanConstructor;
123
+ default: boolean;
124
+ };
125
+ /**
126
+ * 列配置,支持数组或对象格式
127
+ */
128
+ columns: (ObjectConstructor | ArrayConstructor)[];
129
+ /**
130
+ * 列数量
131
+ */
132
+ colCount: NumberConstructor;
133
+ /**
134
+ * 是否非表格表单,默认值为 undefined
135
+ */
136
+ notTableForm: {
137
+ type: BooleanConstructor;
138
+ default: undefined;
139
+ };
140
+ /**
141
+ * 注释值所占列跨度
142
+ */
143
+ commentValueColspan: NumberConstructor;
144
+ /**
145
+ * 注释标签所占列跨度
146
+ */
147
+ commentLabelColspan: NumberConstructor;
148
+ /**
149
+ * 是否使用 ElRow 包裹内容
150
+ */
151
+ wrapRow: {
152
+ type: BooleanConstructor;
153
+ default: boolean;
154
+ };
155
+ };
156
+ export declare const manualBindProps: Record<string, boolean | undefined>;
157
+ export declare const predicate: (propsKey: string) => boolean;
package/props/form.mjs ADDED
@@ -0,0 +1,89 @@
1
+ //#region src/props/form.ts
2
+ var e = {
3
+ model: Object,
4
+ rules: Object,
5
+ inline: {
6
+ type: Boolean,
7
+ default: !1
8
+ },
9
+ labelPosition: {
10
+ type: String,
11
+ default: "right"
12
+ },
13
+ labelWidth: {
14
+ type: [String, Number],
15
+ default: "auto"
16
+ },
17
+ labelSuffix: {
18
+ type: String,
19
+ default: ""
20
+ },
21
+ hideRequiredAsterisk: {
22
+ type: Boolean,
23
+ default: !1
24
+ },
25
+ requireAsteriskPosition: {
26
+ type: String,
27
+ default: "left"
28
+ },
29
+ showMessage: {
30
+ type: Boolean,
31
+ default: !0
32
+ },
33
+ inlineMessage: {
34
+ type: Boolean,
35
+ default: !1
36
+ },
37
+ statusIcon: {
38
+ type: Boolean,
39
+ default: !1
40
+ },
41
+ validateOnRuleChange: {
42
+ type: Boolean,
43
+ default: !0
44
+ },
45
+ size: String,
46
+ disabled: {
47
+ type: Boolean,
48
+ default: void 0
49
+ },
50
+ scrollToError: {
51
+ type: Boolean,
52
+ default: !1
53
+ },
54
+ scrollIntoViewOptions: [Object, Boolean],
55
+ requiredFields: Array,
56
+ disabledFields: Array,
57
+ enabledFields: Array,
58
+ showAdvice: {
59
+ type: Boolean,
60
+ default: !0
61
+ },
62
+ columns: [Array, Object],
63
+ colCount: Number,
64
+ notTableForm: {
65
+ type: Boolean,
66
+ default: void 0
67
+ },
68
+ commentValueColspan: Number,
69
+ commentLabelColspan: Number,
70
+ wrapRow: {
71
+ type: Boolean,
72
+ default: !0
73
+ }
74
+ }, t = {
75
+ showMessage: !0,
76
+ required: !0,
77
+ requiredFields: !0,
78
+ disabledFields: !0,
79
+ enabledFields: !0,
80
+ showAdvice: !0,
81
+ columns: !0,
82
+ colCount: !0,
83
+ notTableForm: !0,
84
+ commentValueColspan: !0,
85
+ commentLabelColspan: !0,
86
+ wrapRow: !0
87
+ }, n = (e) => t[e] !== !0;
88
+ //#endregion
89
+ export { e as allProps, t as manualBindProps, n as predicate };
@@ -0,0 +1,102 @@
1
+ import { commonManualBindProps } from './common.ts';
2
+ export declare const allProps: {
3
+ src: StringConstructor;
4
+ fit: StringConstructor;
5
+ hideOnClickModal: BooleanConstructor;
6
+ wrapFormItem: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ disabled: {
11
+ type: BooleanConstructor;
12
+ default: undefined;
13
+ };
14
+ col: BooleanConstructor;
15
+ span: {
16
+ type: NumberConstructor;
17
+ default: number;
18
+ };
19
+ offset: {
20
+ type: NumberConstructor;
21
+ default: number;
22
+ };
23
+ push: {
24
+ type: NumberConstructor;
25
+ default: number;
26
+ };
27
+ pull: {
28
+ type: NumberConstructor;
29
+ default: number;
30
+ };
31
+ xs: {
32
+ type: (ObjectConstructor | NumberConstructor)[];
33
+ };
34
+ sm: {
35
+ type: (ObjectConstructor | NumberConstructor)[];
36
+ };
37
+ md: {
38
+ type: (ObjectConstructor | NumberConstructor)[];
39
+ };
40
+ lg: {
41
+ type: (ObjectConstructor | NumberConstructor)[];
42
+ };
43
+ xl: {
44
+ type: (ObjectConstructor | NumberConstructor)[];
45
+ };
46
+ tag: {
47
+ type: StringConstructor;
48
+ default: string;
49
+ };
50
+ prop: (StringConstructor | ArrayConstructor)[];
51
+ label: StringConstructor;
52
+ labelPosition: {
53
+ type: StringConstructor;
54
+ default: string;
55
+ };
56
+ labelWidth: (StringConstructor | NumberConstructor)[];
57
+ required: {
58
+ type: BooleanConstructor;
59
+ default: boolean;
60
+ };
61
+ rules: ObjectConstructor;
62
+ error: StringConstructor;
63
+ showMessage: {
64
+ type: BooleanConstructor;
65
+ default: boolean;
66
+ };
67
+ inlineMessage: {
68
+ type: BooleanConstructor;
69
+ default: boolean;
70
+ };
71
+ size: StringConstructor;
72
+ for: StringConstructor;
73
+ validateStatus: StringConstructor;
74
+ messagePrefix: StringConstructor;
75
+ message: StringConstructor;
76
+ wrapCol: {
77
+ type: BooleanConstructor;
78
+ default: boolean;
79
+ };
80
+ fixedSpan: NumberConstructor;
81
+ block: {
82
+ type: BooleanConstructor;
83
+ default: undefined;
84
+ };
85
+ unwrap: BooleanConstructor;
86
+ half: BooleanConstructor;
87
+ formItemClass: StringConstructor;
88
+ hideLabel: BooleanConstructor;
89
+ tips: {
90
+ type: StringConstructor;
91
+ };
92
+ tipsAfterLabel: {
93
+ type: BooleanConstructor;
94
+ default: boolean;
95
+ };
96
+ labelColspan: (StringConstructor | NumberConstructor)[];
97
+ inputColspan: (StringConstructor | NumberConstructor)[];
98
+ labelRowspan: (StringConstructor | NumberConstructor)[];
99
+ inputRowspan: (StringConstructor | NumberConstructor)[];
100
+ };
101
+ export declare const manualBindProps: Record<string, boolean | undefined>;
102
+ export declare const predicate: (propsKey: keyof typeof commonManualBindProps) => boolean;
@@ -0,0 +1,10 @@
1
+ import { commonManualBindProps as e } from "./common.mjs";
2
+ //#region src/props/image.ts
3
+ var t = {
4
+ ...e,
5
+ src: String,
6
+ fit: String,
7
+ hideOnClickModal: Boolean
8
+ }, n = { modelValue: !0 }, r = (t) => e[t] === void 0 && n[t] !== !0;
9
+ //#endregion
10
+ export { t as allProps, n as manualBindProps, r as predicate };
@@ -0,0 +1,102 @@
1
+ import { commonManualBindProps } from './common.ts';
2
+ export declare const allProps: {
3
+ modelValue: (StringConstructor | NumberConstructor)[];
4
+ size: {
5
+ type: StringConstructor;
6
+ };
7
+ wrapFormItem: {
8
+ type: BooleanConstructor;
9
+ default: boolean;
10
+ };
11
+ disabled: {
12
+ type: BooleanConstructor;
13
+ default: undefined;
14
+ };
15
+ col: BooleanConstructor;
16
+ span: {
17
+ type: NumberConstructor;
18
+ default: number;
19
+ };
20
+ offset: {
21
+ type: NumberConstructor;
22
+ default: number;
23
+ };
24
+ push: {
25
+ type: NumberConstructor;
26
+ default: number;
27
+ };
28
+ pull: {
29
+ type: NumberConstructor;
30
+ default: number;
31
+ };
32
+ xs: {
33
+ type: (ObjectConstructor | NumberConstructor)[];
34
+ };
35
+ sm: {
36
+ type: (ObjectConstructor | NumberConstructor)[];
37
+ };
38
+ md: {
39
+ type: (ObjectConstructor | NumberConstructor)[];
40
+ };
41
+ lg: {
42
+ type: (ObjectConstructor | NumberConstructor)[];
43
+ };
44
+ xl: {
45
+ type: (ObjectConstructor | NumberConstructor)[];
46
+ };
47
+ tag: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ };
51
+ prop: (StringConstructor | ArrayConstructor)[];
52
+ label: StringConstructor;
53
+ labelPosition: {
54
+ type: StringConstructor;
55
+ default: string;
56
+ };
57
+ labelWidth: (StringConstructor | NumberConstructor)[];
58
+ required: {
59
+ type: BooleanConstructor;
60
+ default: boolean;
61
+ };
62
+ rules: ObjectConstructor;
63
+ error: StringConstructor;
64
+ showMessage: {
65
+ type: BooleanConstructor;
66
+ default: boolean;
67
+ };
68
+ inlineMessage: {
69
+ type: BooleanConstructor;
70
+ default: boolean;
71
+ };
72
+ for: StringConstructor;
73
+ validateStatus: StringConstructor;
74
+ messagePrefix: StringConstructor;
75
+ message: StringConstructor;
76
+ wrapCol: {
77
+ type: BooleanConstructor;
78
+ default: boolean;
79
+ };
80
+ fixedSpan: NumberConstructor;
81
+ block: {
82
+ type: BooleanConstructor;
83
+ default: undefined;
84
+ };
85
+ unwrap: BooleanConstructor;
86
+ half: BooleanConstructor;
87
+ formItemClass: StringConstructor;
88
+ hideLabel: BooleanConstructor;
89
+ tips: {
90
+ type: StringConstructor;
91
+ };
92
+ tipsAfterLabel: {
93
+ type: BooleanConstructor;
94
+ default: boolean;
95
+ };
96
+ labelColspan: (StringConstructor | NumberConstructor)[];
97
+ inputColspan: (StringConstructor | NumberConstructor)[];
98
+ labelRowspan: (StringConstructor | NumberConstructor)[];
99
+ inputRowspan: (StringConstructor | NumberConstructor)[];
100
+ };
101
+ export declare const manualBindProps: Record<string, boolean | undefined>;
102
+ export declare const predicate: (propsKey: keyof typeof commonManualBindProps) => boolean;
@@ -0,0 +1,16 @@
1
+ import { commonAutoBindProps as e, commonManualBindProps as t } from "./common.mjs";
2
+ //#region src/props/input-cron.ts
3
+ var n = {
4
+ ...t,
5
+ ...e,
6
+ modelValue: [String, Number]
7
+ }, r = {
8
+ readonly: !0,
9
+ placeholder: !0,
10
+ disabled: !0,
11
+ modelValue: !0,
12
+ prefix: !0,
13
+ suffix: !0
14
+ }, i = (e) => t[e] === void 0 && r[e] !== !0;
15
+ //#endregion
16
+ export { n as allProps, r as manualBindProps, i as predicate };