@tplc/wot 0.1.1 → 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 (221) 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 -6
  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-button/wd-button.vue.d.ts +175 -156
  32. package/types/components/wd-calendar/types.d.ts +283 -279
  33. package/types/components/wd-calendar/wd-calendar.vue.d.ts +342 -323
  34. package/types/components/wd-calendar-view/month/month.vue.d.ts +87 -71
  35. package/types/components/wd-calendar-view/month/types.d.ts +37 -37
  36. package/types/components/wd-calendar-view/monthPanel/month-panel.vue.d.ts +118 -102
  37. package/types/components/wd-calendar-view/monthPanel/types.d.ts +63 -63
  38. package/types/components/wd-calendar-view/types.d.ts +135 -126
  39. package/types/components/wd-calendar-view/utils.d.ts +42 -28
  40. package/types/components/wd-calendar-view/wd-calendar-view.vue.d.ts +144 -128
  41. package/types/components/wd-calendar-view/year/types.d.ts +33 -33
  42. package/types/components/wd-calendar-view/year/year.vue.d.ts +80 -64
  43. package/types/components/wd-calendar-view/yearPanel/types.d.ts +46 -46
  44. package/types/components/wd-calendar-view/yearPanel/year-panel.vue.d.ts +89 -73
  45. package/types/components/wd-card/types.d.ts +41 -41
  46. package/types/components/wd-card/wd-card.vue.d.ts +81 -62
  47. package/types/components/wd-cell/types.d.ts +128 -128
  48. package/types/components/wd-cell/wd-cell.vue.d.ts +181 -162
  49. package/types/components/wd-cell-group/types.d.ts +38 -38
  50. package/types/components/wd-cell-group/wd-cell-group.vue.d.ts +72 -53
  51. package/types/components/wd-checkbox/types.d.ts +73 -73
  52. package/types/components/wd-checkbox/wd-checkbox.vue.d.ts +124 -105
  53. package/types/components/wd-checkbox-group/types.d.ts +75 -75
  54. package/types/components/wd-checkbox-group/wd-checkbox-group.vue.d.ts +121 -102
  55. package/types/components/wd-circle/types.d.ts +76 -76
  56. package/types/components/wd-circle/wd-circle.vue.d.ts +124 -105
  57. package/types/components/wd-col/types.d.ts +25 -25
  58. package/types/components/wd-col/wd-col.vue.d.ts +66 -47
  59. package/types/components/wd-col-picker/types.d.ts +227 -223
  60. package/types/components/wd-col-picker/wd-col-picker.vue.d.ts +287 -268
  61. package/types/components/wd-collapse/types.d.ts +74 -67
  62. package/types/components/wd-collapse/wd-collapse.vue.d.ts +110 -91
  63. package/types/components/wd-collapse-item/types.d.ts +44 -44
  64. package/types/components/wd-collapse-item/wd-collapse-item.vue.d.ts +79 -64
  65. package/types/components/wd-config-provider/types.d.ts +872 -811
  66. package/types/components/wd-config-provider/wd-config-provider.vue.d.ts +66 -47
  67. package/types/components/wd-count-down/types.d.ts +53 -53
  68. package/types/components/wd-count-down/utils.d.ts +7 -7
  69. package/types/components/wd-count-down/wd-count-down.vue.d.ts +93 -76
  70. package/types/components/wd-count-to/types.d.ts +123 -123
  71. package/types/components/wd-count-to/wd-count-to.vue.d.ts +172 -153
  72. package/types/components/wd-curtain/types.d.ts +59 -52
  73. package/types/components/wd-curtain/wd-curtain.vue.d.ts +101 -85
  74. package/types/components/wd-datetime-picker/types.d.ts +306 -295
  75. package/types/components/wd-datetime-picker/wd-datetime-picker.vue.d.ts +384 -353
  76. package/types/components/wd-datetime-picker-view/types.d.ts +147 -139
  77. package/types/components/wd-datetime-picker-view/wd-datetime-picker-view.vue.d.ts +182 -166
  78. package/types/components/wd-divider/types.d.ts +18 -18
  79. package/types/components/wd-divider/wd-divider.vue.d.ts +57 -38
  80. package/types/components/wd-drop-menu/types.d.ts +52 -52
  81. package/types/components/wd-drop-menu/wd-drop-menu.vue.d.ts +93 -74
  82. package/types/components/wd-drop-menu-item/types.d.ts +103 -103
  83. package/types/components/wd-drop-menu-item/wd-drop-menu-item.vue.d.ts +163 -144
  84. package/types/components/wd-fab/types.d.ts +86 -86
  85. package/types/components/wd-fab/wd-fab.vue.d.ts +145 -126
  86. package/types/components/wd-form/types.d.ts +80 -72
  87. package/types/components/wd-form/wd-form.vue.d.ts +90 -71
  88. package/types/components/wd-form-item/types.d.ts +31 -31
  89. package/types/components/wd-form-item/wd-form-item.vue.d.ts +91 -72
  90. package/types/components/wd-gap/types.d.ts +30 -30
  91. package/types/components/wd-gap/wd-gap.vue.d.ts +61 -45
  92. package/types/components/wd-grid/types.d.ts +57 -57
  93. package/types/components/wd-grid/wd-grid.vue.d.ts +88 -69
  94. package/types/components/wd-grid-item/types.d.ts +100 -100
  95. package/types/components/wd-grid-item/wd-grid-item.vue.d.ts +152 -133
  96. package/types/components/wd-icon/types.d.ts +31 -31
  97. package/types/components/wd-icon/wd-icon.vue.d.ts +62 -46
  98. package/types/components/wd-img/types.d.ts +72 -58
  99. package/types/components/wd-img/wd-img.vue.d.ts +110 -91
  100. package/types/components/wd-img-cropper/types.d.ts +99 -99
  101. package/types/components/wd-img-cropper/wd-img-cropper.vue.d.ts +129 -113
  102. package/types/components/wd-index-anchor/type.d.ts +15 -15
  103. package/types/components/wd-index-anchor/wd-index-anchor.vue.d.ts +54 -35
  104. package/types/components/wd-index-bar/type.d.ts +22 -22
  105. package/types/components/wd-index-bar/wd-index-bar.vue.d.ts +39 -20
  106. package/types/components/wd-input/types.d.ts +270 -270
  107. package/types/components/wd-input/wd-input.vue.d.ts +387 -368
  108. package/types/components/wd-input-number/types.d.ts +107 -107
  109. package/types/components/wd-input-number/wd-input-number.vue.d.ts +158 -142
  110. package/types/components/wd-loading/types.d.ts +33 -33
  111. package/types/components/wd-loading/wd-loading.vue.d.ts +61 -45
  112. package/types/components/wd-loadmore/types.d.ts +30 -30
  113. package/types/components/wd-loadmore/wd-loadmore.vue.d.ts +56 -40
  114. package/types/components/wd-message-box/index.d.ts +4 -4
  115. package/types/components/wd-message-box/types.d.ts +92 -92
  116. package/types/components/wd-message-box/wd-message-box.vue.d.ts +50 -31
  117. package/types/components/wd-navbar/types.d.ts +79 -79
  118. package/types/components/wd-navbar/wd-navbar.vue.d.ts +135 -116
  119. package/types/components/wd-navbar-capsule/wd-navbar-capsule.vue.d.ts +22 -8
  120. package/types/components/wd-notice-bar/types.d.ts +80 -80
  121. package/types/components/wd-notice-bar/wd-notice-bar.vue.d.ts +136 -117
  122. package/types/components/wd-notify/index.d.ts +7 -7
  123. package/types/components/wd-notify/types.d.ts +84 -84
  124. package/types/components/wd-notify/wd-notify.vue.d.ts +123 -104
  125. package/types/components/wd-number-keyboard/key/index.vue.d.ts +65 -49
  126. package/types/components/wd-number-keyboard/key/types.d.ts +22 -22
  127. package/types/components/wd-number-keyboard/types.d.ts +115 -115
  128. package/types/components/wd-number-keyboard/wd-number-keyboard.vue.d.ts +176 -157
  129. package/types/components/wd-overlay/types.d.ts +38 -38
  130. package/types/components/wd-overlay/wd-overlay.vue.d.ts +88 -69
  131. package/types/components/wd-pagination/types.d.ts +66 -66
  132. package/types/components/wd-pagination/wd-pagination.vue.d.ts +102 -86
  133. package/types/components/wd-password-input/types.d.ts +58 -58
  134. package/types/components/wd-password-input/wd-password-input.vue.d.ts +97 -81
  135. package/types/components/wd-picker/types.d.ts +239 -232
  136. package/types/components/wd-picker/wd-picker.vue.d.ts +300 -275
  137. package/types/components/wd-picker-view/types.d.ts +102 -89
  138. package/types/components/wd-picker-view/wd-picker-view.vue.d.ts +137 -109
  139. package/types/components/wd-popover/types.d.ts +96 -84
  140. package/types/components/wd-popover/wd-popover.vue.d.ts +156 -137
  141. package/types/components/wd-popup/types.d.ts +95 -95
  142. package/types/components/wd-popup/wd-popup.vue.d.ts +178 -159
  143. package/types/components/wd-progress/types.d.ts +43 -43
  144. package/types/components/wd-progress/wd-progress.vue.d.ts +71 -55
  145. package/types/components/wd-radio/types.d.ts +39 -39
  146. package/types/components/wd-radio/wd-radio.vue.d.ts +91 -72
  147. package/types/components/wd-radio-group/types.d.ts +52 -52
  148. package/types/components/wd-radio-group/wd-radio-group.vue.d.ts +103 -84
  149. package/types/components/wd-rate/types.d.ts +109 -109
  150. package/types/components/wd-rate/wd-rate.vue.d.ts +131 -115
  151. package/types/components/wd-resize/types.d.ts +13 -13
  152. package/types/components/wd-resize/wd-resize.vue.d.ts +61 -42
  153. package/types/components/wd-row/types.d.ts +22 -22
  154. package/types/components/wd-row/wd-row.vue.d.ts +57 -38
  155. package/types/components/wd-search/types.d.ts +103 -103
  156. package/types/components/wd-search/wd-search.vue.d.ts +150 -131
  157. package/types/components/wd-segmented/types.d.ts +66 -66
  158. package/types/components/wd-segmented/wd-segmented.vue.d.ts +103 -86
  159. package/types/components/wd-select-picker/types.d.ts +184 -178
  160. package/types/components/wd-select-picker/wd-select-picker.vue.d.ts +334 -315
  161. package/types/components/wd-sidebar/types.d.ts +22 -22
  162. package/types/components/wd-sidebar/wd-sidebar.vue.d.ts +63 -44
  163. package/types/components/wd-sidebar-item/types.d.ts +43 -43
  164. package/types/components/wd-sidebar-item/wd-sidebar-item.vue.d.ts +98 -79
  165. package/types/components/wd-skeleton/types.d.ts +69 -69
  166. package/types/components/wd-skeleton/wd-skeleton.vue.d.ts +86 -67
  167. package/types/components/wd-slider/types.d.ts +115 -115
  168. package/types/components/wd-slider/wd-slider.vue.d.ts +137 -121
  169. package/types/components/wd-sort-button/types.d.ts +57 -57
  170. package/types/components/wd-sort-button/wd-sort-button.vue.d.ts +83 -67
  171. package/types/components/wd-status-tip/types.d.ts +58 -58
  172. package/types/components/wd-status-tip/wd-status-tip.vue.d.ts +69 -53
  173. package/types/components/wd-step/types.d.ts +32 -32
  174. package/types/components/wd-step/wd-step.vue.d.ts +58 -39
  175. package/types/components/wd-steps/types.d.ts +57 -57
  176. package/types/components/wd-steps/wd-steps.vue.d.ts +86 -67
  177. package/types/components/wd-sticky/types.d.ts +23 -23
  178. package/types/components/wd-sticky/wd-sticky.vue.d.ts +77 -58
  179. package/types/components/wd-sticky-box/types.d.ts +8 -8
  180. package/types/components/wd-sticky-box/wd-sticky-box.vue.d.ts +48 -29
  181. package/types/components/wd-swipe-action/types.d.ts +44 -41
  182. package/types/components/wd-swipe-action/wd-swipe-action.vue.d.ts +79 -60
  183. package/types/components/wd-swiper/types.d.ts +231 -201
  184. package/types/components/wd-swiper/wd-swiper.vue.d.ts +272 -211
  185. package/types/components/wd-swiper-nav/types.d.ts +62 -62
  186. package/types/components/wd-swiper-nav/wd-swiper-nav.vue.d.ts +97 -81
  187. package/types/components/wd-switch/types.d.ts +63 -63
  188. package/types/components/wd-switch/wd-switch.vue.d.ts +91 -75
  189. package/types/components/wd-tab/types.d.ts +26 -26
  190. package/types/components/wd-tab/wd-tab.vue.d.ts +64 -45
  191. package/types/components/wd-tabbar/types.d.ts +85 -85
  192. package/types/components/wd-tabbar/wd-tabbar.vue.d.ts +121 -102
  193. package/types/components/wd-tabbar-item/types.d.ts +47 -47
  194. package/types/components/wd-tabbar-item/wd-tabbar-item.vue.d.ts +77 -60
  195. package/types/components/wd-table/types.d.ts +103 -93
  196. package/types/components/wd-table/wd-table.vue.d.ts +181 -136
  197. package/types/components/wd-table-col/types.d.ts +55 -55
  198. package/types/components/wd-table-col/wd-table-col.vue.d.ts +85 -69
  199. package/types/components/wd-tabs/types.d.ts +94 -94
  200. package/types/components/wd-tabs/wd-tabs.vue.d.ts +157 -138
  201. package/types/components/wd-tag/types.d.ts +103 -103
  202. package/types/components/wd-tag/wd-tag.vue.d.ts +148 -129
  203. package/types/components/wd-text/types.d.ts +127 -127
  204. package/types/components/wd-text/wd-text.vue.d.ts +149 -130
  205. package/types/components/wd-textarea/types.d.ts +362 -362
  206. package/types/components/wd-textarea/wd-textarea.vue.d.ts +408 -389
  207. package/types/components/wd-toast/index.d.ts +9 -9
  208. package/types/components/wd-toast/types.d.ts +58 -58
  209. package/types/components/wd-toast/wd-toast.vue.d.ts +45 -29
  210. package/types/components/wd-tooltip/types.d.ts +116 -104
  211. package/types/components/wd-tooltip/wd-tooltip.vue.d.ts +151 -132
  212. package/types/components/wd-transition/types.d.ts +108 -97
  213. package/types/components/wd-transition/wd-transition.vue.d.ts +154 -135
  214. package/types/components/wd-upload/types.d.ts +388 -376
  215. package/types/components/wd-upload/utils.d.ts +11 -2
  216. package/types/components/wd-upload/wd-upload.vue.d.ts +310 -282
  217. package/types/components/wd-video-preview/types.d.ts +19 -19
  218. package/types/components/wd-video-preview/wd-video-preview.vue.d.ts +41 -25
  219. package/types/components/wd-watermark/types.d.ts +130 -130
  220. package/types/components/wd-watermark/wd-watermark.vue.d.ts +173 -157
  221. package/types/locale/lang/zh-CN.d.ts +127 -127
@@ -1,103 +1,122 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
- modelValue: {
3
- type: import("vue").PropType<Array<string | number | boolean>>;
4
- default: () => never[];
5
- };
6
- cell: {
7
- type: BooleanConstructor;
8
- default: boolean;
9
- };
10
- shape: {
11
- type: import("vue").PropType<import("../wd-checkbox/types").CheckShape>;
12
- default: import("../wd-checkbox/types").CheckShape;
13
- };
14
- checkedColor: StringConstructor;
15
- disabled: {
16
- type: BooleanConstructor;
17
- default: boolean;
18
- };
19
- min: {
20
- type: NumberConstructor;
21
- default: number;
22
- };
23
- max: {
24
- type: NumberConstructor;
25
- default: number;
26
- };
27
- inline: {
28
- type: BooleanConstructor;
29
- default: boolean;
30
- };
31
- size: StringConstructor;
32
- customStyle: {
33
- type: import("vue").PropType<string>;
34
- default: string;
35
- };
36
- customClass: {
37
- type: import("vue").PropType<string>;
38
- default: string;
39
- };
40
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
41
- "update:modelValue": (...args: any[]) => void;
42
- change: (...args: any[]) => void;
43
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
44
- modelValue: {
45
- type: import("vue").PropType<Array<string | number | boolean>>;
46
- default: () => never[];
47
- };
48
- cell: {
49
- type: BooleanConstructor;
50
- default: boolean;
51
- };
52
- shape: {
53
- type: import("vue").PropType<import("../wd-checkbox/types").CheckShape>;
54
- default: import("../wd-checkbox/types").CheckShape;
55
- };
56
- checkedColor: StringConstructor;
57
- disabled: {
58
- type: BooleanConstructor;
59
- default: boolean;
60
- };
61
- min: {
62
- type: NumberConstructor;
63
- default: number;
64
- };
65
- max: {
66
- type: NumberConstructor;
67
- default: number;
68
- };
69
- inline: {
70
- type: BooleanConstructor;
71
- default: boolean;
72
- };
73
- size: StringConstructor;
74
- customStyle: {
75
- type: import("vue").PropType<string>;
76
- default: string;
77
- };
78
- customClass: {
79
- type: import("vue").PropType<string>;
80
- default: string;
81
- };
82
- }>> & {
83
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
84
- onChange?: ((...args: any[]) => any) | undefined;
85
- }, {
86
- modelValue: (string | number | boolean)[];
87
- customStyle: string;
88
- customClass: string;
89
- shape: import("../wd-checkbox/types").CheckShape;
90
- max: number;
91
- disabled: boolean;
92
- cell: boolean;
93
- min: number;
94
- inline: boolean;
95
- }, {}>, {
96
- default?(_: {}): any;
97
- }>;
98
- export default _default;
1
+ declare const _default: __VLS_WithTemplateSlots<
2
+ import('vue').DefineComponent<
3
+ {
4
+ modelValue: {
5
+ type: import('vue').PropType<Array<string | number | boolean>>
6
+ default: () => never[]
7
+ }
8
+ cell: {
9
+ type: BooleanConstructor
10
+ default: boolean
11
+ }
12
+ shape: {
13
+ type: import('vue').PropType<import('../wd-checkbox/types').CheckShape>
14
+ default: import('../wd-checkbox/types').CheckShape
15
+ }
16
+ checkedColor: StringConstructor
17
+ disabled: {
18
+ type: BooleanConstructor
19
+ default: boolean
20
+ }
21
+ min: {
22
+ type: NumberConstructor
23
+ default: number
24
+ }
25
+ max: {
26
+ type: NumberConstructor
27
+ default: number
28
+ }
29
+ inline: {
30
+ type: BooleanConstructor
31
+ default: boolean
32
+ }
33
+ size: StringConstructor
34
+ customStyle: {
35
+ type: import('vue').PropType<string>
36
+ default: string
37
+ }
38
+ customClass: {
39
+ type: import('vue').PropType<string>
40
+ default: string
41
+ }
42
+ },
43
+ {},
44
+ unknown,
45
+ {},
46
+ {},
47
+ import('vue').ComponentOptionsMixin,
48
+ import('vue').ComponentOptionsMixin,
49
+ {
50
+ 'update:modelValue': (...args: any[]) => void
51
+ change: (...args: any[]) => void
52
+ },
53
+ string,
54
+ import('vue').PublicProps,
55
+ Readonly<
56
+ import('vue').ExtractPropTypes<{
57
+ modelValue: {
58
+ type: import('vue').PropType<Array<string | number | boolean>>
59
+ default: () => never[]
60
+ }
61
+ cell: {
62
+ type: BooleanConstructor
63
+ default: boolean
64
+ }
65
+ shape: {
66
+ type: import('vue').PropType<import('../wd-checkbox/types').CheckShape>
67
+ default: import('../wd-checkbox/types').CheckShape
68
+ }
69
+ checkedColor: StringConstructor
70
+ disabled: {
71
+ type: BooleanConstructor
72
+ default: boolean
73
+ }
74
+ min: {
75
+ type: NumberConstructor
76
+ default: number
77
+ }
78
+ max: {
79
+ type: NumberConstructor
80
+ default: number
81
+ }
82
+ inline: {
83
+ type: BooleanConstructor
84
+ default: boolean
85
+ }
86
+ size: StringConstructor
87
+ customStyle: {
88
+ type: import('vue').PropType<string>
89
+ default: string
90
+ }
91
+ customClass: {
92
+ type: import('vue').PropType<string>
93
+ default: string
94
+ }
95
+ }>
96
+ > & {
97
+ 'onUpdate:modelValue'?: ((...args: any[]) => any) | undefined
98
+ onChange?: ((...args: any[]) => any) | undefined
99
+ },
100
+ {
101
+ modelValue: (string | number | boolean)[]
102
+ customStyle: string
103
+ customClass: string
104
+ shape: import('../wd-checkbox/types').CheckShape
105
+ max: number
106
+ disabled: boolean
107
+ cell: boolean
108
+ min: number
109
+ inline: boolean
110
+ },
111
+ {}
112
+ >,
113
+ {
114
+ default?(_: {}): any
115
+ }
116
+ >
117
+ export default _default
99
118
  type __VLS_WithTemplateSlots<T, S> = T & {
100
- new (): {
101
- $slots: S;
102
- };
103
- };
119
+ new (): {
120
+ $slots: S
121
+ }
122
+ }
@@ -1,77 +1,77 @@
1
- import type { ExtractPropTypes, PropType } from 'vue';
2
- export type StrokeLinecapType = 'butt' | 'round' | 'square';
1
+ import type { ExtractPropTypes, PropType } from 'vue'
2
+ export type StrokeLinecapType = 'butt' | 'round' | 'square'
3
3
  export declare const circleProps: {
4
- /**
5
- * 当前进度
6
- */
7
- modelValue: {
8
- type: NumberConstructor;
9
- default: number;
10
- };
11
- /**
12
- * 圆环直径,默认单位为 px
13
- */
14
- size: {
15
- type: NumberConstructor;
16
- default: number;
17
- };
18
- /**
19
- * 进度条颜色,传入对象格式可以定义渐变色
20
- */
21
- color: {
22
- type: PropType<string | Record<string, string>>;
23
- default: string;
24
- };
25
- /**
26
- * 轨道颜色
27
- */
28
- layerColor: {
29
- type: PropType<string>;
30
- default: string;
31
- };
32
- /**
33
- * 填充颜色
34
- */
35
- fill: StringConstructor;
36
- /**
37
- * 动画速度(单位为 rate/s)
38
- */
39
- speed: {
40
- type: NumberConstructor;
41
- default: number;
42
- };
43
- /**
44
- * 文字
45
- */
46
- text: StringConstructor;
47
- /**
48
- * 进度条宽度 单位px
49
- */
50
- strokeWidth: {
51
- type: NumberConstructor;
52
- default: number;
53
- };
54
- /**
55
- * 进度条端点的形状,可选值为 "butt" | "round" | "square"
56
- */
57
- strokeLinecap: {
58
- type: PropType<StrokeLinecapType>;
59
- default: StrokeLinecapType;
60
- };
61
- /**
62
- * 是否顺时针增加
63
- */
64
- clockwise: {
65
- type: BooleanConstructor;
66
- default: boolean;
67
- };
68
- customStyle: {
69
- type: PropType<string>;
70
- default: string;
71
- };
72
- customClass: {
73
- type: PropType<string>;
74
- default: string;
75
- };
76
- };
77
- export type CircleProps = ExtractPropTypes<typeof circleProps>;
4
+ /**
5
+ * 当前进度
6
+ */
7
+ modelValue: {
8
+ type: NumberConstructor
9
+ default: number
10
+ }
11
+ /**
12
+ * 圆环直径,默认单位为 px
13
+ */
14
+ size: {
15
+ type: NumberConstructor
16
+ default: number
17
+ }
18
+ /**
19
+ * 进度条颜色,传入对象格式可以定义渐变色
20
+ */
21
+ color: {
22
+ type: PropType<string | Record<string, string>>
23
+ default: string
24
+ }
25
+ /**
26
+ * 轨道颜色
27
+ */
28
+ layerColor: {
29
+ type: PropType<string>
30
+ default: string
31
+ }
32
+ /**
33
+ * 填充颜色
34
+ */
35
+ fill: StringConstructor
36
+ /**
37
+ * 动画速度(单位为 rate/s)
38
+ */
39
+ speed: {
40
+ type: NumberConstructor
41
+ default: number
42
+ }
43
+ /**
44
+ * 文字
45
+ */
46
+ text: StringConstructor
47
+ /**
48
+ * 进度条宽度 单位px
49
+ */
50
+ strokeWidth: {
51
+ type: NumberConstructor
52
+ default: number
53
+ }
54
+ /**
55
+ * 进度条端点的形状,可选值为 "butt" | "round" | "square"
56
+ */
57
+ strokeLinecap: {
58
+ type: PropType<StrokeLinecapType>
59
+ default: StrokeLinecapType
60
+ }
61
+ /**
62
+ * 是否顺时针增加
63
+ */
64
+ clockwise: {
65
+ type: BooleanConstructor
66
+ default: boolean
67
+ }
68
+ customStyle: {
69
+ type: PropType<string>
70
+ default: string
71
+ }
72
+ customClass: {
73
+ type: PropType<string>
74
+ default: string
75
+ }
76
+ }
77
+ export type CircleProps = ExtractPropTypes<typeof circleProps>
@@ -1,106 +1,125 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
- modelValue: {
3
- type: NumberConstructor;
4
- default: number;
5
- };
6
- size: {
7
- type: NumberConstructor;
8
- default: number;
9
- };
10
- color: {
11
- type: import("vue").PropType<string | Record<string, string>>;
12
- default: string;
13
- };
14
- layerColor: {
15
- type: import("vue").PropType<string>;
16
- default: string;
17
- };
18
- fill: StringConstructor;
19
- speed: {
20
- type: NumberConstructor;
21
- default: number;
22
- };
23
- text: StringConstructor;
24
- strokeWidth: {
25
- type: NumberConstructor;
26
- default: number;
27
- };
28
- strokeLinecap: {
29
- type: import("vue").PropType<import("./types").StrokeLinecapType>;
30
- default: import("./types").StrokeLinecapType;
31
- };
32
- clockwise: {
33
- type: BooleanConstructor;
34
- default: boolean;
35
- };
36
- customStyle: {
37
- type: import("vue").PropType<string>;
38
- default: string;
39
- };
40
- customClass: {
41
- type: import("vue").PropType<string>;
42
- default: string;
43
- };
44
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
45
- modelValue: {
46
- type: NumberConstructor;
47
- default: number;
48
- };
49
- size: {
50
- type: NumberConstructor;
51
- default: number;
52
- };
53
- color: {
54
- type: import("vue").PropType<string | Record<string, string>>;
55
- default: string;
56
- };
57
- layerColor: {
58
- type: import("vue").PropType<string>;
59
- default: string;
60
- };
61
- fill: StringConstructor;
62
- speed: {
63
- type: NumberConstructor;
64
- default: number;
65
- };
66
- text: StringConstructor;
67
- strokeWidth: {
68
- type: NumberConstructor;
69
- default: number;
70
- };
71
- strokeLinecap: {
72
- type: import("vue").PropType<import("./types").StrokeLinecapType>;
73
- default: import("./types").StrokeLinecapType;
74
- };
75
- clockwise: {
76
- type: BooleanConstructor;
77
- default: boolean;
78
- };
79
- customStyle: {
80
- type: import("vue").PropType<string>;
81
- default: string;
82
- };
83
- customClass: {
84
- type: import("vue").PropType<string>;
85
- default: string;
86
- };
87
- }>>, {
88
- modelValue: number;
89
- customStyle: string;
90
- customClass: string;
91
- size: number;
92
- color: string | Record<string, string>;
93
- layerColor: string;
94
- speed: number;
95
- strokeWidth: number;
96
- strokeLinecap: import("./types").StrokeLinecapType;
97
- clockwise: boolean;
98
- }, {}>, {
99
- default?(_: {}): any;
100
- }>;
101
- export default _default;
1
+ declare const _default: __VLS_WithTemplateSlots<
2
+ import('vue').DefineComponent<
3
+ {
4
+ modelValue: {
5
+ type: NumberConstructor
6
+ default: number
7
+ }
8
+ size: {
9
+ type: NumberConstructor
10
+ default: number
11
+ }
12
+ color: {
13
+ type: import('vue').PropType<string | Record<string, string>>
14
+ default: string
15
+ }
16
+ layerColor: {
17
+ type: import('vue').PropType<string>
18
+ default: string
19
+ }
20
+ fill: StringConstructor
21
+ speed: {
22
+ type: NumberConstructor
23
+ default: number
24
+ }
25
+ text: StringConstructor
26
+ strokeWidth: {
27
+ type: NumberConstructor
28
+ default: number
29
+ }
30
+ strokeLinecap: {
31
+ type: import('vue').PropType<import('./types').StrokeLinecapType>
32
+ default: import('./types').StrokeLinecapType
33
+ }
34
+ clockwise: {
35
+ type: BooleanConstructor
36
+ default: boolean
37
+ }
38
+ customStyle: {
39
+ type: import('vue').PropType<string>
40
+ default: string
41
+ }
42
+ customClass: {
43
+ type: import('vue').PropType<string>
44
+ default: string
45
+ }
46
+ },
47
+ {},
48
+ unknown,
49
+ {},
50
+ {},
51
+ import('vue').ComponentOptionsMixin,
52
+ import('vue').ComponentOptionsMixin,
53
+ {},
54
+ string,
55
+ import('vue').PublicProps,
56
+ Readonly<
57
+ import('vue').ExtractPropTypes<{
58
+ modelValue: {
59
+ type: NumberConstructor
60
+ default: number
61
+ }
62
+ size: {
63
+ type: NumberConstructor
64
+ default: number
65
+ }
66
+ color: {
67
+ type: import('vue').PropType<string | Record<string, string>>
68
+ default: string
69
+ }
70
+ layerColor: {
71
+ type: import('vue').PropType<string>
72
+ default: string
73
+ }
74
+ fill: StringConstructor
75
+ speed: {
76
+ type: NumberConstructor
77
+ default: number
78
+ }
79
+ text: StringConstructor
80
+ strokeWidth: {
81
+ type: NumberConstructor
82
+ default: number
83
+ }
84
+ strokeLinecap: {
85
+ type: import('vue').PropType<import('./types').StrokeLinecapType>
86
+ default: import('./types').StrokeLinecapType
87
+ }
88
+ clockwise: {
89
+ type: BooleanConstructor
90
+ default: boolean
91
+ }
92
+ customStyle: {
93
+ type: import('vue').PropType<string>
94
+ default: string
95
+ }
96
+ customClass: {
97
+ type: import('vue').PropType<string>
98
+ default: string
99
+ }
100
+ }>
101
+ >,
102
+ {
103
+ modelValue: number
104
+ customStyle: string
105
+ customClass: string
106
+ size: number
107
+ color: string | Record<string, string>
108
+ layerColor: string
109
+ speed: number
110
+ strokeWidth: number
111
+ strokeLinecap: import('./types').StrokeLinecapType
112
+ clockwise: boolean
113
+ },
114
+ {}
115
+ >,
116
+ {
117
+ default?(_: {}): any
118
+ }
119
+ >
120
+ export default _default
102
121
  type __VLS_WithTemplateSlots<T, S> = T & {
103
- new (): {
104
- $slots: S;
105
- };
106
- };
122
+ new (): {
123
+ $slots: S
124
+ }
125
+ }
@@ -1,26 +1,26 @@
1
- import type { ExtractPropTypes } from 'vue';
1
+ import type { ExtractPropTypes } from 'vue'
2
2
  export declare const colProps: {
3
- /**
4
- * 列元素宽度
5
- */
6
- span: {
7
- type: NumberConstructor;
8
- default: number;
9
- };
10
- /**
11
- * 列元素偏移距离
12
- */
13
- offset: {
14
- type: NumberConstructor;
15
- default: number;
16
- };
17
- customStyle: {
18
- type: import("vue").PropType<string>;
19
- default: string;
20
- };
21
- customClass: {
22
- type: import("vue").PropType<string>;
23
- default: string;
24
- };
25
- };
26
- export type ColProps = ExtractPropTypes<typeof colProps>;
3
+ /**
4
+ * 列元素宽度
5
+ */
6
+ span: {
7
+ type: NumberConstructor
8
+ default: number
9
+ }
10
+ /**
11
+ * 列元素偏移距离
12
+ */
13
+ offset: {
14
+ type: NumberConstructor
15
+ default: number
16
+ }
17
+ customStyle: {
18
+ type: import('vue').PropType<string>
19
+ default: string
20
+ }
21
+ customClass: {
22
+ type: import('vue').PropType<string>
23
+ default: string
24
+ }
25
+ }
26
+ export type ColProps = ExtractPropTypes<typeof colProps>