@tplc/wot 0.1.2 → 0.1.3

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 (220) hide show
  1. package/components/wd-swiper/index.scss +4 -3
  2. package/components/wd-swiper/types.ts +9 -0
  3. package/components/wd-swiper/wd-swiper.vue +16 -2
  4. package/components/wd-tabs/wd-tabs.vue +3 -1
  5. package/components/wd-tooltip/wd-tooltip.vue +1 -1
  6. package/package.json +3 -2
  7. package/types/components/common/AbortablePromise.d.ts +16 -6
  8. package/types/components/common/base64.d.ts +1 -1
  9. package/types/components/common/canvasHelper.d.ts +1 -1
  10. package/types/components/common/clickoutside.d.ts +4 -4
  11. package/types/components/common/dayjs.d.ts +24 -24
  12. package/types/components/common/props.d.ts +39 -39
  13. package/types/components/common/util.d.ts +74 -54
  14. package/types/components/composables/useCell.d.ts +2 -2
  15. package/types/components/composables/useChildren.d.ts +28 -9
  16. package/types/components/composables/useCountDown.d.ts +17 -17
  17. package/types/components/composables/useLockScroll.d.ts +4 -4
  18. package/types/components/composables/useParent.d.ts +20 -14
  19. package/types/components/composables/usePopover.d.ts +39 -8
  20. package/types/components/composables/useQueue.d.ts +10 -10
  21. package/types/components/composables/useRaf.d.ts +5 -5
  22. package/types/components/composables/useTouch.d.ts +10 -10
  23. package/types/components/composables/useTranslate.d.ts +2 -2
  24. package/types/components/wd-action-sheet/types.d.ts +142 -142
  25. package/types/components/wd-action-sheet/wd-action-sheet.vue.d.ts +162 -143
  26. package/types/components/wd-backtop/types.d.ts +65 -65
  27. package/types/components/wd-backtop/wd-backtop.vue.d.ts +119 -100
  28. package/types/components/wd-badge/types.d.ts +52 -52
  29. package/types/components/wd-badge/wd-badge.vue.d.ts +89 -70
  30. package/types/components/wd-button/types.d.ts +132 -124
  31. package/types/components/wd-calendar/types.d.ts +283 -279
  32. package/types/components/wd-calendar/wd-calendar.vue.d.ts +342 -323
  33. package/types/components/wd-calendar-view/month/month.vue.d.ts +87 -71
  34. package/types/components/wd-calendar-view/month/types.d.ts +37 -37
  35. package/types/components/wd-calendar-view/monthPanel/month-panel.vue.d.ts +118 -102
  36. package/types/components/wd-calendar-view/monthPanel/types.d.ts +63 -63
  37. package/types/components/wd-calendar-view/types.d.ts +135 -126
  38. package/types/components/wd-calendar-view/utils.d.ts +42 -28
  39. package/types/components/wd-calendar-view/wd-calendar-view.vue.d.ts +144 -128
  40. package/types/components/wd-calendar-view/year/types.d.ts +33 -33
  41. package/types/components/wd-calendar-view/year/year.vue.d.ts +80 -64
  42. package/types/components/wd-calendar-view/yearPanel/types.d.ts +46 -46
  43. package/types/components/wd-calendar-view/yearPanel/year-panel.vue.d.ts +89 -73
  44. package/types/components/wd-card/types.d.ts +41 -41
  45. package/types/components/wd-card/wd-card.vue.d.ts +81 -62
  46. package/types/components/wd-cell/types.d.ts +128 -128
  47. package/types/components/wd-cell/wd-cell.vue.d.ts +181 -162
  48. package/types/components/wd-cell-group/types.d.ts +38 -38
  49. package/types/components/wd-cell-group/wd-cell-group.vue.d.ts +72 -53
  50. package/types/components/wd-checkbox/types.d.ts +73 -73
  51. package/types/components/wd-checkbox/wd-checkbox.vue.d.ts +124 -105
  52. package/types/components/wd-checkbox-group/types.d.ts +75 -75
  53. package/types/components/wd-checkbox-group/wd-checkbox-group.vue.d.ts +121 -102
  54. package/types/components/wd-circle/types.d.ts +76 -76
  55. package/types/components/wd-circle/wd-circle.vue.d.ts +124 -105
  56. package/types/components/wd-col/types.d.ts +25 -25
  57. package/types/components/wd-col/wd-col.vue.d.ts +66 -47
  58. package/types/components/wd-col-picker/types.d.ts +227 -223
  59. package/types/components/wd-col-picker/wd-col-picker.vue.d.ts +287 -268
  60. package/types/components/wd-collapse/types.d.ts +74 -67
  61. package/types/components/wd-collapse/wd-collapse.vue.d.ts +110 -91
  62. package/types/components/wd-collapse-item/types.d.ts +44 -44
  63. package/types/components/wd-collapse-item/wd-collapse-item.vue.d.ts +79 -64
  64. package/types/components/wd-config-provider/types.d.ts +872 -811
  65. package/types/components/wd-config-provider/wd-config-provider.vue.d.ts +66 -47
  66. package/types/components/wd-count-down/types.d.ts +53 -53
  67. package/types/components/wd-count-down/utils.d.ts +7 -7
  68. package/types/components/wd-count-down/wd-count-down.vue.d.ts +93 -76
  69. package/types/components/wd-count-to/types.d.ts +123 -123
  70. package/types/components/wd-count-to/wd-count-to.vue.d.ts +172 -153
  71. package/types/components/wd-curtain/types.d.ts +59 -52
  72. package/types/components/wd-curtain/wd-curtain.vue.d.ts +101 -85
  73. package/types/components/wd-datetime-picker/types.d.ts +306 -295
  74. package/types/components/wd-datetime-picker/wd-datetime-picker.vue.d.ts +384 -353
  75. package/types/components/wd-datetime-picker-view/types.d.ts +147 -139
  76. package/types/components/wd-datetime-picker-view/wd-datetime-picker-view.vue.d.ts +182 -166
  77. package/types/components/wd-divider/types.d.ts +18 -18
  78. package/types/components/wd-divider/wd-divider.vue.d.ts +57 -38
  79. package/types/components/wd-drop-menu/types.d.ts +52 -52
  80. package/types/components/wd-drop-menu/wd-drop-menu.vue.d.ts +93 -74
  81. package/types/components/wd-drop-menu-item/types.d.ts +103 -103
  82. package/types/components/wd-drop-menu-item/wd-drop-menu-item.vue.d.ts +163 -144
  83. package/types/components/wd-fab/types.d.ts +86 -86
  84. package/types/components/wd-fab/wd-fab.vue.d.ts +145 -126
  85. package/types/components/wd-form/types.d.ts +80 -72
  86. package/types/components/wd-form/wd-form.vue.d.ts +90 -71
  87. package/types/components/wd-form-item/types.d.ts +31 -31
  88. package/types/components/wd-form-item/wd-form-item.vue.d.ts +91 -72
  89. package/types/components/wd-gap/types.d.ts +30 -30
  90. package/types/components/wd-gap/wd-gap.vue.d.ts +61 -45
  91. package/types/components/wd-grid/types.d.ts +57 -57
  92. package/types/components/wd-grid/wd-grid.vue.d.ts +88 -69
  93. package/types/components/wd-grid-item/types.d.ts +100 -100
  94. package/types/components/wd-grid-item/wd-grid-item.vue.d.ts +152 -133
  95. package/types/components/wd-icon/types.d.ts +31 -31
  96. package/types/components/wd-img/types.d.ts +72 -58
  97. package/types/components/wd-img/wd-img.vue.d.ts +110 -91
  98. package/types/components/wd-img-cropper/types.d.ts +99 -99
  99. package/types/components/wd-img-cropper/wd-img-cropper.vue.d.ts +129 -113
  100. package/types/components/wd-index-anchor/type.d.ts +15 -15
  101. package/types/components/wd-index-anchor/wd-index-anchor.vue.d.ts +54 -35
  102. package/types/components/wd-index-bar/type.d.ts +22 -22
  103. package/types/components/wd-index-bar/wd-index-bar.vue.d.ts +39 -20
  104. package/types/components/wd-input/types.d.ts +270 -270
  105. package/types/components/wd-input/wd-input.vue.d.ts +387 -368
  106. package/types/components/wd-input-number/types.d.ts +107 -107
  107. package/types/components/wd-input-number/wd-input-number.vue.d.ts +158 -142
  108. package/types/components/wd-loading/types.d.ts +33 -33
  109. package/types/components/wd-loading/wd-loading.vue.d.ts +61 -45
  110. package/types/components/wd-loadmore/types.d.ts +30 -30
  111. package/types/components/wd-loadmore/wd-loadmore.vue.d.ts +56 -40
  112. package/types/components/wd-message-box/index.d.ts +4 -4
  113. package/types/components/wd-message-box/types.d.ts +92 -92
  114. package/types/components/wd-message-box/wd-message-box.vue.d.ts +50 -31
  115. package/types/components/wd-navbar/types.d.ts +79 -79
  116. package/types/components/wd-navbar/wd-navbar.vue.d.ts +135 -116
  117. package/types/components/wd-navbar-capsule/wd-navbar-capsule.vue.d.ts +22 -8
  118. package/types/components/wd-notice-bar/types.d.ts +80 -80
  119. package/types/components/wd-notice-bar/wd-notice-bar.vue.d.ts +136 -117
  120. package/types/components/wd-notify/index.d.ts +7 -7
  121. package/types/components/wd-notify/types.d.ts +84 -84
  122. package/types/components/wd-notify/wd-notify.vue.d.ts +123 -104
  123. package/types/components/wd-number-keyboard/key/index.vue.d.ts +65 -49
  124. package/types/components/wd-number-keyboard/key/types.d.ts +22 -22
  125. package/types/components/wd-number-keyboard/types.d.ts +115 -115
  126. package/types/components/wd-number-keyboard/wd-number-keyboard.vue.d.ts +176 -157
  127. package/types/components/wd-overlay/types.d.ts +38 -38
  128. package/types/components/wd-overlay/wd-overlay.vue.d.ts +88 -69
  129. package/types/components/wd-pagination/types.d.ts +66 -66
  130. package/types/components/wd-pagination/wd-pagination.vue.d.ts +102 -86
  131. package/types/components/wd-password-input/types.d.ts +58 -58
  132. package/types/components/wd-password-input/wd-password-input.vue.d.ts +97 -81
  133. package/types/components/wd-picker/types.d.ts +239 -232
  134. package/types/components/wd-picker/wd-picker.vue.d.ts +300 -275
  135. package/types/components/wd-picker-view/types.d.ts +102 -89
  136. package/types/components/wd-picker-view/wd-picker-view.vue.d.ts +137 -109
  137. package/types/components/wd-popover/types.d.ts +96 -84
  138. package/types/components/wd-popover/wd-popover.vue.d.ts +156 -137
  139. package/types/components/wd-popup/types.d.ts +95 -95
  140. package/types/components/wd-popup/wd-popup.vue.d.ts +178 -159
  141. package/types/components/wd-progress/types.d.ts +43 -43
  142. package/types/components/wd-progress/wd-progress.vue.d.ts +71 -55
  143. package/types/components/wd-radio/types.d.ts +39 -39
  144. package/types/components/wd-radio/wd-radio.vue.d.ts +91 -72
  145. package/types/components/wd-radio-group/types.d.ts +52 -52
  146. package/types/components/wd-radio-group/wd-radio-group.vue.d.ts +103 -84
  147. package/types/components/wd-rate/types.d.ts +109 -109
  148. package/types/components/wd-rate/wd-rate.vue.d.ts +131 -115
  149. package/types/components/wd-resize/types.d.ts +13 -13
  150. package/types/components/wd-resize/wd-resize.vue.d.ts +61 -42
  151. package/types/components/wd-row/types.d.ts +22 -22
  152. package/types/components/wd-row/wd-row.vue.d.ts +57 -38
  153. package/types/components/wd-search/types.d.ts +103 -103
  154. package/types/components/wd-search/wd-search.vue.d.ts +150 -131
  155. package/types/components/wd-segmented/types.d.ts +66 -66
  156. package/types/components/wd-segmented/wd-segmented.vue.d.ts +103 -86
  157. package/types/components/wd-select-picker/types.d.ts +184 -178
  158. package/types/components/wd-select-picker/wd-select-picker.vue.d.ts +334 -315
  159. package/types/components/wd-sidebar/types.d.ts +22 -22
  160. package/types/components/wd-sidebar/wd-sidebar.vue.d.ts +63 -44
  161. package/types/components/wd-sidebar-item/types.d.ts +43 -43
  162. package/types/components/wd-sidebar-item/wd-sidebar-item.vue.d.ts +98 -79
  163. package/types/components/wd-skeleton/types.d.ts +69 -69
  164. package/types/components/wd-skeleton/wd-skeleton.vue.d.ts +86 -67
  165. package/types/components/wd-slider/types.d.ts +115 -115
  166. package/types/components/wd-slider/wd-slider.vue.d.ts +137 -121
  167. package/types/components/wd-sort-button/types.d.ts +57 -57
  168. package/types/components/wd-sort-button/wd-sort-button.vue.d.ts +83 -67
  169. package/types/components/wd-status-tip/types.d.ts +58 -58
  170. package/types/components/wd-status-tip/wd-status-tip.vue.d.ts +69 -53
  171. package/types/components/wd-step/types.d.ts +32 -32
  172. package/types/components/wd-step/wd-step.vue.d.ts +58 -39
  173. package/types/components/wd-steps/types.d.ts +57 -57
  174. package/types/components/wd-steps/wd-steps.vue.d.ts +86 -67
  175. package/types/components/wd-sticky/types.d.ts +23 -23
  176. package/types/components/wd-sticky/wd-sticky.vue.d.ts +77 -58
  177. package/types/components/wd-sticky-box/types.d.ts +8 -8
  178. package/types/components/wd-sticky-box/wd-sticky-box.vue.d.ts +48 -29
  179. package/types/components/wd-swipe-action/types.d.ts +44 -41
  180. package/types/components/wd-swipe-action/wd-swipe-action.vue.d.ts +79 -60
  181. package/types/components/wd-swiper/types.d.ts +231 -201
  182. package/types/components/wd-swiper/wd-swiper.vue.d.ts +272 -211
  183. package/types/components/wd-swiper-nav/types.d.ts +62 -62
  184. package/types/components/wd-swiper-nav/wd-swiper-nav.vue.d.ts +97 -81
  185. package/types/components/wd-switch/types.d.ts +63 -63
  186. package/types/components/wd-switch/wd-switch.vue.d.ts +91 -75
  187. package/types/components/wd-tab/types.d.ts +26 -26
  188. package/types/components/wd-tab/wd-tab.vue.d.ts +64 -45
  189. package/types/components/wd-tabbar/types.d.ts +85 -85
  190. package/types/components/wd-tabbar/wd-tabbar.vue.d.ts +121 -102
  191. package/types/components/wd-tabbar-item/types.d.ts +47 -47
  192. package/types/components/wd-tabbar-item/wd-tabbar-item.vue.d.ts +77 -60
  193. package/types/components/wd-table/types.d.ts +103 -93
  194. package/types/components/wd-table/wd-table.vue.d.ts +181 -136
  195. package/types/components/wd-table-col/types.d.ts +55 -55
  196. package/types/components/wd-table-col/wd-table-col.vue.d.ts +85 -69
  197. package/types/components/wd-tabs/types.d.ts +94 -94
  198. package/types/components/wd-tabs/wd-tabs.vue.d.ts +157 -138
  199. package/types/components/wd-tag/types.d.ts +103 -103
  200. package/types/components/wd-tag/wd-tag.vue.d.ts +148 -129
  201. package/types/components/wd-text/types.d.ts +127 -127
  202. package/types/components/wd-text/wd-text.vue.d.ts +149 -130
  203. package/types/components/wd-textarea/types.d.ts +362 -362
  204. package/types/components/wd-textarea/wd-textarea.vue.d.ts +408 -389
  205. package/types/components/wd-toast/index.d.ts +9 -9
  206. package/types/components/wd-toast/types.d.ts +58 -58
  207. package/types/components/wd-toast/wd-toast.vue.d.ts +45 -29
  208. package/types/components/wd-tooltip/types.d.ts +116 -104
  209. package/types/components/wd-tooltip/wd-tooltip.vue.d.ts +151 -132
  210. package/types/components/wd-transition/types.d.ts +108 -97
  211. package/types/components/wd-transition/wd-transition.vue.d.ts +154 -135
  212. package/types/components/wd-upload/types.d.ts +388 -376
  213. package/types/components/wd-upload/utils.d.ts +11 -2
  214. package/types/components/wd-upload/wd-upload.vue.d.ts +310 -282
  215. package/types/components/wd-video-preview/types.d.ts +19 -19
  216. package/types/components/wd-video-preview/wd-video-preview.vue.d.ts +41 -25
  217. package/types/components/wd-watermark/types.d.ts +130 -130
  218. package/types/components/wd-watermark/wd-watermark.vue.d.ts +173 -157
  219. package/types/locale/index.d.ts +8 -8
  220. package/types/locale/lang/zh-CN.d.ts +127 -127
@@ -1,369 +1,388 @@
1
- import { type FormItemRule } from '../wd-form/types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
- customInputClass: {
4
- type: import("vue").PropType<string>;
5
- default: string;
6
- };
7
- customLabelClass: {
8
- type: import("vue").PropType<string>;
9
- default: string;
10
- };
11
- placeholder: StringConstructor;
12
- placeholderStyle: StringConstructor;
13
- placeholderClass: {
14
- type: import("vue").PropType<string>;
15
- default: string;
16
- };
17
- cursorSpacing: {
18
- type: NumberConstructor;
19
- default: number;
20
- };
21
- cursor: {
22
- type: NumberConstructor;
23
- default: number;
24
- };
25
- selectionStart: {
26
- type: NumberConstructor;
27
- default: number;
28
- };
29
- selectionEnd: {
30
- type: NumberConstructor;
31
- default: number;
32
- };
33
- adjustPosition: {
34
- type: BooleanConstructor;
35
- default: boolean;
36
- };
37
- holdKeyboard: {
38
- type: BooleanConstructor;
39
- default: boolean;
40
- };
41
- confirmType: {
42
- type: import("vue").PropType<string>;
43
- default: string;
44
- };
45
- confirmHold: {
46
- type: BooleanConstructor;
47
- default: boolean;
48
- };
49
- focus: {
50
- type: BooleanConstructor;
51
- default: boolean;
52
- };
53
- type: {
54
- type: import("vue").PropType<string>;
55
- default: string;
56
- };
57
- maxlength: {
58
- type: NumberConstructor;
59
- default: number;
60
- };
61
- disabled: {
62
- type: BooleanConstructor;
63
- default: boolean;
64
- };
65
- alwaysEmbed: {
66
- type: BooleanConstructor;
67
- default: boolean;
68
- };
69
- alignRight: {
70
- type: BooleanConstructor;
71
- default: boolean;
72
- };
73
- modelValue: {
74
- type: (NumberConstructor | StringConstructor)[];
75
- default: string;
76
- };
77
- showPassword: {
78
- type: BooleanConstructor;
79
- default: boolean;
80
- };
81
- clearable: {
82
- type: BooleanConstructor;
83
- default: boolean;
84
- };
85
- readonly: {
86
- type: BooleanConstructor;
87
- default: boolean;
88
- };
89
- useSuffixSlot: {
90
- type: BooleanConstructor;
91
- default: boolean;
92
- };
93
- usePrefixSlot: {
94
- type: BooleanConstructor;
95
- default: boolean;
96
- };
97
- prefixIcon: StringConstructor;
98
- suffixIcon: StringConstructor;
99
- showWordLimit: {
100
- type: BooleanConstructor;
101
- default: boolean;
102
- };
103
- label: StringConstructor;
104
- labelWidth: {
105
- type: import("vue").PropType<string>;
106
- default: string;
107
- };
108
- useLabelSlot: {
109
- type: BooleanConstructor;
110
- default: boolean;
111
- };
112
- size: StringConstructor;
113
- error: {
114
- type: BooleanConstructor;
115
- default: boolean;
116
- };
117
- center: {
118
- type: BooleanConstructor;
119
- default: boolean;
120
- };
121
- noBorder: {
122
- type: BooleanConstructor;
123
- default: boolean;
124
- };
125
- required: {
126
- type: BooleanConstructor;
127
- default: boolean;
128
- };
129
- prop: StringConstructor;
130
- rules: {
131
- type: import("vue").PropType<FormItemRule[]>;
132
- default: () => never[];
133
- };
134
- clearTrigger: {
135
- type: import("vue").PropType<import("./types").InputClearTrigger>;
136
- default: import("./types").InputClearTrigger;
137
- };
138
- focusWhenClear: {
139
- type: BooleanConstructor;
140
- default: boolean;
141
- };
142
- customStyle: {
143
- type: import("vue").PropType<string>;
144
- default: string;
145
- };
146
- customClass: {
147
- type: import("vue").PropType<string>;
148
- default: string;
149
- };
150
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
151
- "update:modelValue": (...args: any[]) => void;
152
- input: (...args: any[]) => void;
153
- click: (...args: any[]) => void;
154
- change: (...args: any[]) => void;
155
- confirm: (...args: any[]) => void;
156
- clear: (...args: any[]) => void;
157
- focus: (...args: any[]) => void;
158
- blur: (...args: any[]) => void;
159
- keyboardheightchange: (...args: any[]) => void;
160
- clicksuffixicon: (...args: any[]) => void;
161
- clickprefixicon: (...args: any[]) => void;
162
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
163
- customInputClass: {
164
- type: import("vue").PropType<string>;
165
- default: string;
166
- };
167
- customLabelClass: {
168
- type: import("vue").PropType<string>;
169
- default: string;
170
- };
171
- placeholder: StringConstructor;
172
- placeholderStyle: StringConstructor;
173
- placeholderClass: {
174
- type: import("vue").PropType<string>;
175
- default: string;
176
- };
177
- cursorSpacing: {
178
- type: NumberConstructor;
179
- default: number;
180
- };
181
- cursor: {
182
- type: NumberConstructor;
183
- default: number;
184
- };
185
- selectionStart: {
186
- type: NumberConstructor;
187
- default: number;
188
- };
189
- selectionEnd: {
190
- type: NumberConstructor;
191
- default: number;
192
- };
193
- adjustPosition: {
194
- type: BooleanConstructor;
195
- default: boolean;
196
- };
197
- holdKeyboard: {
198
- type: BooleanConstructor;
199
- default: boolean;
200
- };
201
- confirmType: {
202
- type: import("vue").PropType<string>;
203
- default: string;
204
- };
205
- confirmHold: {
206
- type: BooleanConstructor;
207
- default: boolean;
208
- };
209
- focus: {
210
- type: BooleanConstructor;
211
- default: boolean;
212
- };
213
- type: {
214
- type: import("vue").PropType<string>;
215
- default: string;
216
- };
217
- maxlength: {
218
- type: NumberConstructor;
219
- default: number;
220
- };
221
- disabled: {
222
- type: BooleanConstructor;
223
- default: boolean;
224
- };
225
- alwaysEmbed: {
226
- type: BooleanConstructor;
227
- default: boolean;
228
- };
229
- alignRight: {
230
- type: BooleanConstructor;
231
- default: boolean;
232
- };
233
- modelValue: {
234
- type: (NumberConstructor | StringConstructor)[];
235
- default: string;
236
- };
237
- showPassword: {
238
- type: BooleanConstructor;
239
- default: boolean;
240
- };
241
- clearable: {
242
- type: BooleanConstructor;
243
- default: boolean;
244
- };
245
- readonly: {
246
- type: BooleanConstructor;
247
- default: boolean;
248
- };
249
- useSuffixSlot: {
250
- type: BooleanConstructor;
251
- default: boolean;
252
- };
253
- usePrefixSlot: {
254
- type: BooleanConstructor;
255
- default: boolean;
256
- };
257
- prefixIcon: StringConstructor;
258
- suffixIcon: StringConstructor;
259
- showWordLimit: {
260
- type: BooleanConstructor;
261
- default: boolean;
262
- };
263
- label: StringConstructor;
264
- labelWidth: {
265
- type: import("vue").PropType<string>;
266
- default: string;
267
- };
268
- useLabelSlot: {
269
- type: BooleanConstructor;
270
- default: boolean;
271
- };
272
- size: StringConstructor;
273
- error: {
274
- type: BooleanConstructor;
275
- default: boolean;
276
- };
277
- center: {
278
- type: BooleanConstructor;
279
- default: boolean;
280
- };
281
- noBorder: {
282
- type: BooleanConstructor;
283
- default: boolean;
284
- };
285
- required: {
286
- type: BooleanConstructor;
287
- default: boolean;
288
- };
289
- prop: StringConstructor;
290
- rules: {
291
- type: import("vue").PropType<FormItemRule[]>;
292
- default: () => never[];
293
- };
294
- clearTrigger: {
295
- type: import("vue").PropType<import("./types").InputClearTrigger>;
296
- default: import("./types").InputClearTrigger;
297
- };
298
- focusWhenClear: {
299
- type: BooleanConstructor;
300
- default: boolean;
301
- };
302
- customStyle: {
303
- type: import("vue").PropType<string>;
304
- default: string;
305
- };
306
- customClass: {
307
- type: import("vue").PropType<string>;
308
- default: string;
309
- };
310
- }>> & {
311
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
312
- onFocus?: ((...args: any[]) => any) | undefined;
313
- onBlur?: ((...args: any[]) => any) | undefined;
314
- onChange?: ((...args: any[]) => any) | undefined;
315
- onInput?: ((...args: any[]) => any) | undefined;
316
- onClick?: ((...args: any[]) => any) | undefined;
317
- onConfirm?: ((...args: any[]) => any) | undefined;
318
- onClear?: ((...args: any[]) => any) | undefined;
319
- onKeyboardheightchange?: ((...args: any[]) => any) | undefined;
320
- onClicksuffixicon?: ((...args: any[]) => any) | undefined;
321
- onClickprefixicon?: ((...args: any[]) => any) | undefined;
322
- }, {
323
- modelValue: string | number;
324
- customStyle: string;
325
- customClass: string;
326
- readonly: boolean;
327
- type: string;
328
- required: boolean;
329
- error: boolean;
330
- disabled: boolean;
331
- rules: FormItemRule[];
332
- labelWidth: string;
333
- useLabelSlot: boolean;
334
- alignRight: boolean;
335
- center: boolean;
336
- customLabelClass: string;
337
- focus: boolean;
338
- customInputClass: string;
339
- placeholderClass: string;
340
- cursorSpacing: number;
341
- cursor: number;
342
- selectionStart: number;
343
- selectionEnd: number;
344
- adjustPosition: boolean;
345
- holdKeyboard: boolean;
346
- confirmType: string;
347
- confirmHold: boolean;
348
- maxlength: number;
349
- alwaysEmbed: boolean;
350
- showPassword: boolean;
351
- clearable: boolean;
352
- useSuffixSlot: boolean;
353
- usePrefixSlot: boolean;
354
- showWordLimit: boolean;
355
- noBorder: boolean;
356
- clearTrigger: import("./types").InputClearTrigger;
357
- focusWhenClear: boolean;
358
- }, {}>, {
359
- prefix?(_: {}): any;
360
- prefix?(_: {}): any;
361
- label?(_: {}): any;
362
- suffix?(_: {}): any;
363
- }>;
364
- export default _default;
1
+ import { type FormItemRule } from '../wd-form/types'
2
+ declare const _default: __VLS_WithTemplateSlots<
3
+ import('vue').DefineComponent<
4
+ {
5
+ customInputClass: {
6
+ type: import('vue').PropType<string>
7
+ default: string
8
+ }
9
+ customLabelClass: {
10
+ type: import('vue').PropType<string>
11
+ default: string
12
+ }
13
+ placeholder: StringConstructor
14
+ placeholderStyle: StringConstructor
15
+ placeholderClass: {
16
+ type: import('vue').PropType<string>
17
+ default: string
18
+ }
19
+ cursorSpacing: {
20
+ type: NumberConstructor
21
+ default: number
22
+ }
23
+ cursor: {
24
+ type: NumberConstructor
25
+ default: number
26
+ }
27
+ selectionStart: {
28
+ type: NumberConstructor
29
+ default: number
30
+ }
31
+ selectionEnd: {
32
+ type: NumberConstructor
33
+ default: number
34
+ }
35
+ adjustPosition: {
36
+ type: BooleanConstructor
37
+ default: boolean
38
+ }
39
+ holdKeyboard: {
40
+ type: BooleanConstructor
41
+ default: boolean
42
+ }
43
+ confirmType: {
44
+ type: import('vue').PropType<string>
45
+ default: string
46
+ }
47
+ confirmHold: {
48
+ type: BooleanConstructor
49
+ default: boolean
50
+ }
51
+ focus: {
52
+ type: BooleanConstructor
53
+ default: boolean
54
+ }
55
+ type: {
56
+ type: import('vue').PropType<string>
57
+ default: string
58
+ }
59
+ maxlength: {
60
+ type: NumberConstructor
61
+ default: number
62
+ }
63
+ disabled: {
64
+ type: BooleanConstructor
65
+ default: boolean
66
+ }
67
+ alwaysEmbed: {
68
+ type: BooleanConstructor
69
+ default: boolean
70
+ }
71
+ alignRight: {
72
+ type: BooleanConstructor
73
+ default: boolean
74
+ }
75
+ modelValue: {
76
+ type: (NumberConstructor | StringConstructor)[]
77
+ default: string
78
+ }
79
+ showPassword: {
80
+ type: BooleanConstructor
81
+ default: boolean
82
+ }
83
+ clearable: {
84
+ type: BooleanConstructor
85
+ default: boolean
86
+ }
87
+ readonly: {
88
+ type: BooleanConstructor
89
+ default: boolean
90
+ }
91
+ useSuffixSlot: {
92
+ type: BooleanConstructor
93
+ default: boolean
94
+ }
95
+ usePrefixSlot: {
96
+ type: BooleanConstructor
97
+ default: boolean
98
+ }
99
+ prefixIcon: StringConstructor
100
+ suffixIcon: StringConstructor
101
+ showWordLimit: {
102
+ type: BooleanConstructor
103
+ default: boolean
104
+ }
105
+ label: StringConstructor
106
+ labelWidth: {
107
+ type: import('vue').PropType<string>
108
+ default: string
109
+ }
110
+ useLabelSlot: {
111
+ type: BooleanConstructor
112
+ default: boolean
113
+ }
114
+ size: StringConstructor
115
+ error: {
116
+ type: BooleanConstructor
117
+ default: boolean
118
+ }
119
+ center: {
120
+ type: BooleanConstructor
121
+ default: boolean
122
+ }
123
+ noBorder: {
124
+ type: BooleanConstructor
125
+ default: boolean
126
+ }
127
+ required: {
128
+ type: BooleanConstructor
129
+ default: boolean
130
+ }
131
+ prop: StringConstructor
132
+ rules: {
133
+ type: import('vue').PropType<FormItemRule[]>
134
+ default: () => never[]
135
+ }
136
+ clearTrigger: {
137
+ type: import('vue').PropType<import('./types').InputClearTrigger>
138
+ default: import('./types').InputClearTrigger
139
+ }
140
+ focusWhenClear: {
141
+ type: BooleanConstructor
142
+ default: boolean
143
+ }
144
+ customStyle: {
145
+ type: import('vue').PropType<string>
146
+ default: string
147
+ }
148
+ customClass: {
149
+ type: import('vue').PropType<string>
150
+ default: string
151
+ }
152
+ },
153
+ {},
154
+ unknown,
155
+ {},
156
+ {},
157
+ import('vue').ComponentOptionsMixin,
158
+ import('vue').ComponentOptionsMixin,
159
+ {
160
+ 'update:modelValue': (...args: any[]) => void
161
+ input: (...args: any[]) => void
162
+ click: (...args: any[]) => void
163
+ change: (...args: any[]) => void
164
+ confirm: (...args: any[]) => void
165
+ clear: (...args: any[]) => void
166
+ focus: (...args: any[]) => void
167
+ blur: (...args: any[]) => void
168
+ keyboardheightchange: (...args: any[]) => void
169
+ clicksuffixicon: (...args: any[]) => void
170
+ clickprefixicon: (...args: any[]) => void
171
+ },
172
+ string,
173
+ import('vue').PublicProps,
174
+ Readonly<
175
+ import('vue').ExtractPropTypes<{
176
+ customInputClass: {
177
+ type: import('vue').PropType<string>
178
+ default: string
179
+ }
180
+ customLabelClass: {
181
+ type: import('vue').PropType<string>
182
+ default: string
183
+ }
184
+ placeholder: StringConstructor
185
+ placeholderStyle: StringConstructor
186
+ placeholderClass: {
187
+ type: import('vue').PropType<string>
188
+ default: string
189
+ }
190
+ cursorSpacing: {
191
+ type: NumberConstructor
192
+ default: number
193
+ }
194
+ cursor: {
195
+ type: NumberConstructor
196
+ default: number
197
+ }
198
+ selectionStart: {
199
+ type: NumberConstructor
200
+ default: number
201
+ }
202
+ selectionEnd: {
203
+ type: NumberConstructor
204
+ default: number
205
+ }
206
+ adjustPosition: {
207
+ type: BooleanConstructor
208
+ default: boolean
209
+ }
210
+ holdKeyboard: {
211
+ type: BooleanConstructor
212
+ default: boolean
213
+ }
214
+ confirmType: {
215
+ type: import('vue').PropType<string>
216
+ default: string
217
+ }
218
+ confirmHold: {
219
+ type: BooleanConstructor
220
+ default: boolean
221
+ }
222
+ focus: {
223
+ type: BooleanConstructor
224
+ default: boolean
225
+ }
226
+ type: {
227
+ type: import('vue').PropType<string>
228
+ default: string
229
+ }
230
+ maxlength: {
231
+ type: NumberConstructor
232
+ default: number
233
+ }
234
+ disabled: {
235
+ type: BooleanConstructor
236
+ default: boolean
237
+ }
238
+ alwaysEmbed: {
239
+ type: BooleanConstructor
240
+ default: boolean
241
+ }
242
+ alignRight: {
243
+ type: BooleanConstructor
244
+ default: boolean
245
+ }
246
+ modelValue: {
247
+ type: (NumberConstructor | StringConstructor)[]
248
+ default: string
249
+ }
250
+ showPassword: {
251
+ type: BooleanConstructor
252
+ default: boolean
253
+ }
254
+ clearable: {
255
+ type: BooleanConstructor
256
+ default: boolean
257
+ }
258
+ readonly: {
259
+ type: BooleanConstructor
260
+ default: boolean
261
+ }
262
+ useSuffixSlot: {
263
+ type: BooleanConstructor
264
+ default: boolean
265
+ }
266
+ usePrefixSlot: {
267
+ type: BooleanConstructor
268
+ default: boolean
269
+ }
270
+ prefixIcon: StringConstructor
271
+ suffixIcon: StringConstructor
272
+ showWordLimit: {
273
+ type: BooleanConstructor
274
+ default: boolean
275
+ }
276
+ label: StringConstructor
277
+ labelWidth: {
278
+ type: import('vue').PropType<string>
279
+ default: string
280
+ }
281
+ useLabelSlot: {
282
+ type: BooleanConstructor
283
+ default: boolean
284
+ }
285
+ size: StringConstructor
286
+ error: {
287
+ type: BooleanConstructor
288
+ default: boolean
289
+ }
290
+ center: {
291
+ type: BooleanConstructor
292
+ default: boolean
293
+ }
294
+ noBorder: {
295
+ type: BooleanConstructor
296
+ default: boolean
297
+ }
298
+ required: {
299
+ type: BooleanConstructor
300
+ default: boolean
301
+ }
302
+ prop: StringConstructor
303
+ rules: {
304
+ type: import('vue').PropType<FormItemRule[]>
305
+ default: () => never[]
306
+ }
307
+ clearTrigger: {
308
+ type: import('vue').PropType<import('./types').InputClearTrigger>
309
+ default: import('./types').InputClearTrigger
310
+ }
311
+ focusWhenClear: {
312
+ type: BooleanConstructor
313
+ default: boolean
314
+ }
315
+ customStyle: {
316
+ type: import('vue').PropType<string>
317
+ default: string
318
+ }
319
+ customClass: {
320
+ type: import('vue').PropType<string>
321
+ default: string
322
+ }
323
+ }>
324
+ > & {
325
+ 'onUpdate:modelValue'?: ((...args: any[]) => any) | undefined
326
+ onFocus?: ((...args: any[]) => any) | undefined
327
+ onBlur?: ((...args: any[]) => any) | undefined
328
+ onChange?: ((...args: any[]) => any) | undefined
329
+ onInput?: ((...args: any[]) => any) | undefined
330
+ onClick?: ((...args: any[]) => any) | undefined
331
+ onConfirm?: ((...args: any[]) => any) | undefined
332
+ onClear?: ((...args: any[]) => any) | undefined
333
+ onKeyboardheightchange?: ((...args: any[]) => any) | undefined
334
+ onClicksuffixicon?: ((...args: any[]) => any) | undefined
335
+ onClickprefixicon?: ((...args: any[]) => any) | undefined
336
+ },
337
+ {
338
+ modelValue: string | number
339
+ customStyle: string
340
+ customClass: string
341
+ readonly: boolean
342
+ type: string
343
+ required: boolean
344
+ error: boolean
345
+ disabled: boolean
346
+ rules: FormItemRule[]
347
+ labelWidth: string
348
+ useLabelSlot: boolean
349
+ alignRight: boolean
350
+ center: boolean
351
+ customLabelClass: string
352
+ focus: boolean
353
+ customInputClass: string
354
+ placeholderClass: string
355
+ cursorSpacing: number
356
+ cursor: number
357
+ selectionStart: number
358
+ selectionEnd: number
359
+ adjustPosition: boolean
360
+ holdKeyboard: boolean
361
+ confirmType: string
362
+ confirmHold: boolean
363
+ maxlength: number
364
+ alwaysEmbed: boolean
365
+ showPassword: boolean
366
+ clearable: boolean
367
+ useSuffixSlot: boolean
368
+ usePrefixSlot: boolean
369
+ showWordLimit: boolean
370
+ noBorder: boolean
371
+ clearTrigger: import('./types').InputClearTrigger
372
+ focusWhenClear: boolean
373
+ },
374
+ {}
375
+ >,
376
+ {
377
+ prefix?(_: {}): any
378
+ prefix?(_: {}): any
379
+ label?(_: {}): any
380
+ suffix?(_: {}): any
381
+ }
382
+ >
383
+ export default _default
365
384
  type __VLS_WithTemplateSlots<T, S> = T & {
366
- new (): {
367
- $slots: S;
368
- };
369
- };
385
+ new (): {
386
+ $slots: S
387
+ }
388
+ }