centui 0.0.0-stage → 3.0.0

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 (301) hide show
  1. package/LICENSE +433 -0
  2. package/README.md +54 -2
  3. package/dist/Agree-DT46e5q5.cjs +1 -0
  4. package/dist/Agree-yTGTi4e6.js +44 -0
  5. package/dist/Amount-De-oObat.cjs +1 -0
  6. package/dist/Amount-wOtRYOdx.js +62 -0
  7. package/dist/Button-BIi6CrwM.js +61 -0
  8. package/dist/Button-Blpwwbnw.cjs +1 -0
  9. package/dist/CellItem-T78DHako.cjs +1 -0
  10. package/dist/CellItem-YZD-BxKt.js +72 -0
  11. package/dist/CheckBoxBase-BDsytL_r.cjs +1 -0
  12. package/dist/CheckBoxBase-BjyVzGqj.js +40 -0
  13. package/dist/CheckList-Bfy3B-eN.js +239 -0
  14. package/dist/CheckList-DEmLmccw.cjs +1 -0
  15. package/dist/Codebox-Cgj7wyzd.cjs +1 -0
  16. package/dist/Codebox-D0UtCj11.js +189 -0
  17. package/dist/DatePicker-B1AVbKhK.cjs +1 -0
  18. package/dist/DatePicker-TAHuve5t.js +177 -0
  19. package/dist/Field-CseJzTZz.js +51 -0
  20. package/dist/Field-DDmHa4zB.cjs +1 -0
  21. package/dist/FieldItem-Cc7bw5vU.js +88 -0
  22. package/dist/FieldItem-Dkpx5Kxk.cjs +1 -0
  23. package/dist/Icon-dWGSK6Ou.js +119 -0
  24. package/dist/Icon-jaEPn7d7.cjs +31 -0
  25. package/dist/InputItem-EJ4Y3tpU.cjs +1 -0
  26. package/dist/InputItem-bhFtp97z.js +322 -0
  27. package/dist/NoticeBar-DSf_EjTL.cjs +1 -0
  28. package/dist/NoticeBar-PEYcjXwD.js +84 -0
  29. package/dist/NumberKeyboard-BX0c0l2r.cjs +1 -0
  30. package/dist/NumberKeyboard-C7TRF5iC.js +320 -0
  31. package/dist/Picker-D-TPtSxf.cjs +1 -0
  32. package/dist/Picker-Dam0LEcc.js +476 -0
  33. package/dist/Popup-Cm4BuaOo.cjs +1 -0
  34. package/dist/Popup-DPYBBL95.js +116 -0
  35. package/dist/PopupTitleBar-B4vwxKC7.cjs +1 -0
  36. package/dist/PopupTitleBar-nVurLaOe.js +85 -0
  37. package/dist/Progress-CwIC6scr.js +67 -0
  38. package/dist/Progress-DukssNvl.cjs +1 -0
  39. package/dist/Radio-ZHivLdvi.cjs +1 -0
  40. package/dist/Radio-fsc7_N5K.js +65 -0
  41. package/dist/RadioGroup-BR_jSDR4.cjs +1 -0
  42. package/dist/RadioGroup-CMPmk8X_.js +82 -0
  43. package/dist/RadioList-CkerkQEY.js +127 -0
  44. package/dist/RadioList-upQgua8Z.cjs +1 -0
  45. package/dist/Roller-DALhjhfg.cjs +1 -0
  46. package/dist/Roller-DFJ7jMV0.js +92 -0
  47. package/dist/RollerSuccess--JecJ7bz.cjs +1 -0
  48. package/dist/RollerSuccess-CVEmS9gU.js +224 -0
  49. package/dist/ScrollViewMore-BWph-i1-.cjs +1 -0
  50. package/dist/ScrollViewMore-BgYJx-TP.js +278 -0
  51. package/dist/Skeleton--SCiydNl.cjs +1 -0
  52. package/dist/Skeleton-BG_j23KI.js +55 -0
  53. package/dist/Slider-D3wrE8hn.cjs +1 -0
  54. package/dist/Slider-DteN8p-L.js +95 -0
  55. package/dist/Stepper-1EOk4pCY.js +127 -0
  56. package/dist/Stepper-BJr4I6_8.cjs +1 -0
  57. package/dist/SwiperItem-B6TgjCsM.cjs +1 -0
  58. package/dist/SwiperItem-CKd-XKT7.js +337 -0
  59. package/dist/Switch-B6DvVj2p.js +30 -0
  60. package/dist/Switch-BVPjF8CM.cjs +1 -0
  61. package/dist/Tag-CPv77lC8.cjs +1 -0
  62. package/dist/Tag-bs5j40pF.js +66 -0
  63. package/dist/Tip-BFZSiRc1.js +166 -0
  64. package/dist/Tip-C3brAF9N.cjs +1 -0
  65. package/dist/action-sheet-DKpi2GLQ.js +118 -0
  66. package/dist/action-sheet-LJilF3EQ.cjs +1 -0
  67. package/dist/action-sheet.cjs +1 -0
  68. package/dist/action-sheet.d.ts +2 -0
  69. package/dist/action-sheet.js +2 -0
  70. package/dist/activity-indicator.cjs +1 -0
  71. package/dist/activity-indicator.d.ts +1 -0
  72. package/dist/activity-indicator.js +3 -0
  73. package/dist/agree.cjs +1 -0
  74. package/dist/agree.d.ts +1 -0
  75. package/dist/agree.js +2 -0
  76. package/dist/amount.cjs +1 -0
  77. package/dist/amount.d.ts +1 -0
  78. package/dist/amount.js +2 -0
  79. package/dist/button.cjs +1 -0
  80. package/dist/button.d.ts +1 -0
  81. package/dist/button.js +2 -0
  82. package/dist/cell-item.cjs +1 -0
  83. package/dist/cell-item.d.ts +1 -0
  84. package/dist/cell-item.js +2 -0
  85. package/dist/check-base.cjs +1 -0
  86. package/dist/check-base.d.ts +1 -0
  87. package/dist/check-base.js +2 -0
  88. package/dist/check.cjs +1 -0
  89. package/dist/check.d.ts +1 -0
  90. package/dist/check.js +2 -0
  91. package/dist/codebox.cjs +1 -0
  92. package/dist/codebox.d.ts +1 -0
  93. package/dist/codebox.js +2 -0
  94. package/dist/components/action-bar/ActionBar.vue.d.ts +34 -0
  95. package/dist/components/action-bar/index.d.ts +2 -0
  96. package/dist/components/action-sheet/ActionSheet.vue.d.ts +44 -0
  97. package/dist/components/action-sheet/index.d.ts +25 -0
  98. package/dist/components/activity-indicator/ActivityIndicator.vue.d.ts +31 -0
  99. package/dist/components/activity-indicator/Carousel.vue.d.ts +10 -0
  100. package/dist/components/activity-indicator/CarouselCircle.vue.d.ts +12 -0
  101. package/dist/components/activity-indicator/Roller.vue.d.ts +37 -0
  102. package/dist/components/activity-indicator/RollerSuccess.vue.d.ts +14 -0
  103. package/dist/components/activity-indicator/Spinning.vue.d.ts +10 -0
  104. package/dist/components/activity-indicator/index.d.ts +5 -0
  105. package/dist/components/agree/Agree.vue.d.ts +35 -0
  106. package/dist/components/agree/index.d.ts +1 -0
  107. package/dist/components/amount/Amount.vue.d.ts +25 -0
  108. package/dist/components/amount/index.d.ts +1 -0
  109. package/dist/components/bill/Bill.vue.d.ts +33 -0
  110. package/dist/components/bill/index.d.ts +1 -0
  111. package/dist/components/button/Button.vue.d.ts +38 -0
  112. package/dist/components/button/index.d.ts +1 -0
  113. package/dist/components/captcha/Captcha.vue.d.ts +76 -0
  114. package/dist/components/captcha/index.d.ts +1 -0
  115. package/dist/components/cashier/Cashier.vue.d.ts +101 -0
  116. package/dist/components/cashier/CashierChannel.vue.d.ts +54 -0
  117. package/dist/components/cashier/CashierChannelButton.vue.d.ts +14 -0
  118. package/dist/components/cashier/CashierChannelItem.vue.d.ts +30 -0
  119. package/dist/components/cashier/index.d.ts +4 -0
  120. package/dist/components/cell-item/CellItem.vue.d.ts +38 -0
  121. package/dist/components/cell-item/index.d.ts +1 -0
  122. package/dist/components/chart/Chart.vue.d.ts +30 -0
  123. package/dist/components/chart/index.d.ts +2 -0
  124. package/dist/components/check/Check.vue.d.ts +38 -0
  125. package/dist/components/check/CheckBox.vue.d.ts +31 -0
  126. package/dist/components/check/CheckGroup.vue.d.ts +27 -0
  127. package/dist/components/check/CheckList.vue.d.ts +58 -0
  128. package/dist/components/check/index.d.ts +6 -0
  129. package/dist/components/check/shared.d.ts +52 -0
  130. package/dist/components/check-base/CheckBoxBase.vue.d.ts +25 -0
  131. package/dist/components/check-base/index.d.ts +1 -0
  132. package/dist/components/codebox/Codebox.vue.d.ts +58 -0
  133. package/dist/components/codebox/index.d.ts +1 -0
  134. package/dist/components/date-picker/DatePicker.vue.d.ts +70 -0
  135. package/dist/components/date-picker/index.d.ts +1 -0
  136. package/dist/components/detail-item/DetailItem.vue.d.ts +22 -0
  137. package/dist/components/detail-item/index.d.ts +1 -0
  138. package/dist/components/dialog/Dialog.vue.d.ts +78 -0
  139. package/dist/components/dialog/index.d.ts +40 -0
  140. package/dist/components/drop-menu/DropMenu.vue.d.ts +55 -0
  141. package/dist/components/drop-menu/index.d.ts +1 -0
  142. package/dist/components/field/Field.vue.d.ts +30 -0
  143. package/dist/components/field/index.d.ts +1 -0
  144. package/dist/components/field-item/FieldItem.vue.d.ts +42 -0
  145. package/dist/components/field-item/index.d.ts +1 -0
  146. package/dist/components/icon/Icon.vue.d.ts +20 -0
  147. package/dist/components/icon/default-svg-list.d.ts +2 -0
  148. package/dist/components/icon/index.d.ts +1 -0
  149. package/dist/components/icon/load-sprite.d.ts +6 -0
  150. package/dist/components/image-reader/ImageReader.vue.d.ts +46 -0
  151. package/dist/components/image-reader/index.d.ts +1 -0
  152. package/dist/components/image-viewer/ImageViewer.vue.d.ts +25 -0
  153. package/dist/components/image-viewer/index.d.ts +1 -0
  154. package/dist/components/index.d.ts +3 -0
  155. package/dist/components/input-item/InputItem.vue.d.ts +97 -0
  156. package/dist/components/input-item/cursor.d.ts +7 -0
  157. package/dist/components/input-item/index.d.ts +1 -0
  158. package/dist/components/landscape/Landscape.vue.d.ts +38 -0
  159. package/dist/components/landscape/index.d.ts +1 -0
  160. package/dist/components/license-plate/LicensePlate.vue.d.ts +32 -0
  161. package/dist/components/license-plate/LicensePlateInput.vue.d.ts +14 -0
  162. package/dist/components/license-plate/LicensePlateKeyboard.vue.d.ts +30 -0
  163. package/dist/components/license-plate/index.d.ts +3 -0
  164. package/dist/components/notice-bar/NoticeBar.vue.d.ts +44 -0
  165. package/dist/components/notice-bar/index.d.ts +1 -0
  166. package/dist/components/number-keyboard/KeyboardBoard.vue.d.ts +33 -0
  167. package/dist/components/number-keyboard/KeyboardKey.vue.d.ts +16 -0
  168. package/dist/components/number-keyboard/NumberKeyboard.vue.d.ts +59 -0
  169. package/dist/components/number-keyboard/index.d.ts +3 -0
  170. package/dist/components/picker/Picker.vue.d.ts +64 -0
  171. package/dist/components/picker/PickerColumn.vue.d.ts +64 -0
  172. package/dist/components/picker/index.d.ts +3 -0
  173. package/dist/components/popup/Popup.vue.d.ts +50 -0
  174. package/dist/components/popup/PopupTitleBar.vue.d.ts +41 -0
  175. package/dist/components/popup/index.d.ts +2 -0
  176. package/dist/components/progress/Progress.vue.d.ts +39 -0
  177. package/dist/components/progress/index.d.ts +1 -0
  178. package/dist/components/radio/Radio.vue.d.ts +39 -0
  179. package/dist/components/radio/RadioBox.vue.d.ts +31 -0
  180. package/dist/components/radio/RadioGroup.vue.d.ts +24 -0
  181. package/dist/components/radio/index.d.ts +3 -0
  182. package/dist/components/radio-list/RadioList.vue.d.ts +72 -0
  183. package/dist/components/radio-list/index.d.ts +2 -0
  184. package/dist/components/result-page/ResultPage.vue.d.ts +28 -0
  185. package/dist/components/result-page/index.d.ts +1 -0
  186. package/dist/components/ruler/Ruler.vue.d.ts +34 -0
  187. package/dist/components/ruler/index.d.ts +1 -0
  188. package/dist/components/scroll-view/ScrollView.vue.d.ts +84 -0
  189. package/dist/components/scroll-view/ScrollViewMore.vue.d.ts +12 -0
  190. package/dist/components/scroll-view/ScrollViewRefresh.vue.d.ts +20 -0
  191. package/dist/components/scroll-view/index.d.ts +3 -0
  192. package/dist/components/selector/Selector.vue.d.ts +88 -0
  193. package/dist/components/selector/index.d.ts +2 -0
  194. package/dist/components/skeleton/Skeleton.vue.d.ts +30 -0
  195. package/dist/components/skeleton/index.d.ts +1 -0
  196. package/dist/components/slider/Slider.vue.d.ts +24 -0
  197. package/dist/components/slider/index.d.ts +1 -0
  198. package/dist/components/stepper/Stepper.vue.d.ts +32 -0
  199. package/dist/components/stepper/index.d.ts +1 -0
  200. package/dist/components/steps/Steps.vue.d.ts +56 -0
  201. package/dist/components/steps/index.d.ts +2 -0
  202. package/dist/components/swiper/Swiper.vue.d.ts +57 -0
  203. package/dist/components/swiper/SwiperItem.vue.d.ts +26 -0
  204. package/dist/components/swiper/index.d.ts +2 -0
  205. package/dist/components/switch/Switch.vue.d.ts +16 -0
  206. package/dist/components/switch/index.d.ts +1 -0
  207. package/dist/components/tab-picker/TabPicker.vue.d.ts +78 -0
  208. package/dist/components/tab-picker/index.d.ts +1 -0
  209. package/dist/components/tabs/TabBar.vue.d.ts +50 -0
  210. package/dist/components/tabs/TabPane.vue.d.ts +31 -0
  211. package/dist/components/tabs/Tabs.vue.d.ts +34 -0
  212. package/dist/components/tabs/index.d.ts +3 -0
  213. package/dist/components/tag/Tag.vue.d.ts +39 -0
  214. package/dist/components/tag/index.d.ts +1 -0
  215. package/dist/components/textarea-item/TextareaItem.vue.d.ts +80 -0
  216. package/dist/components/textarea-item/index.d.ts +1 -0
  217. package/dist/components/tip/Tip.vue.d.ts +98 -0
  218. package/dist/components/tip/TipContent.vue.d.ts +33 -0
  219. package/dist/components/tip/index.d.ts +2 -0
  220. package/dist/components/toast/Toast.vue.d.ts +45 -0
  221. package/dist/components/toast/index.d.ts +129 -0
  222. package/dist/components/transition/Transition.vue.d.ts +13 -0
  223. package/dist/components/transition/index.d.ts +1 -0
  224. package/dist/components/water-mark/WaterMark.vue.d.ts +35 -0
  225. package/dist/components/water-mark/index.d.ts +1 -0
  226. package/dist/date-picker.cjs +1 -0
  227. package/dist/date-picker.d.ts +1 -0
  228. package/dist/date-picker.js +2 -0
  229. package/dist/dialog-0-E4Vyc-.cjs +1 -0
  230. package/dist/dialog-DHIZ2SMK.js +227 -0
  231. package/dist/dialog.cjs +1 -0
  232. package/dist/dialog.d.ts +2 -0
  233. package/dist/dialog.js +2 -0
  234. package/dist/field-item.cjs +1 -0
  235. package/dist/field-item.d.ts +1 -0
  236. package/dist/field-item.js +2 -0
  237. package/dist/field.cjs +1 -0
  238. package/dist/field.d.ts +1 -0
  239. package/dist/field.js +2 -0
  240. package/dist/icon.cjs +1 -0
  241. package/dist/icon.d.ts +1 -0
  242. package/dist/icon.js +2 -0
  243. package/dist/index.cjs +1 -0
  244. package/dist/index.d.ts +63 -0
  245. package/dist/index.js +2669 -0
  246. package/dist/input-item.cjs +1 -0
  247. package/dist/input-item.d.ts +1 -0
  248. package/dist/input-item.js +2 -0
  249. package/dist/notice-bar.cjs +1 -0
  250. package/dist/notice-bar.d.ts +1 -0
  251. package/dist/notice-bar.js +2 -0
  252. package/dist/number-keyboard.cjs +1 -0
  253. package/dist/number-keyboard.d.ts +1 -0
  254. package/dist/number-keyboard.js +2 -0
  255. package/dist/picker.cjs +1 -0
  256. package/dist/picker.d.ts +1 -0
  257. package/dist/picker.js +2 -0
  258. package/dist/popup.cjs +1 -0
  259. package/dist/popup.d.ts +1 -0
  260. package/dist/popup.js +3 -0
  261. package/dist/progress.cjs +1 -0
  262. package/dist/progress.d.ts +1 -0
  263. package/dist/progress.js +2 -0
  264. package/dist/radio-list.cjs +1 -0
  265. package/dist/radio-list.d.ts +1 -0
  266. package/dist/radio-list.js +2 -0
  267. package/dist/radio.cjs +1 -0
  268. package/dist/radio.d.ts +1 -0
  269. package/dist/radio.js +3 -0
  270. package/dist/scroll-view.cjs +1 -0
  271. package/dist/scroll-view.d.ts +1 -0
  272. package/dist/scroll-view.js +2 -0
  273. package/dist/shared-BtSkmaWC.js +37 -0
  274. package/dist/shared-k9cbQbvK.cjs +1 -0
  275. package/dist/skeleton.cjs +1 -0
  276. package/dist/skeleton.d.ts +1 -0
  277. package/dist/skeleton.js +2 -0
  278. package/dist/slider.cjs +1 -0
  279. package/dist/slider.d.ts +1 -0
  280. package/dist/slider.js +2 -0
  281. package/dist/stepper.cjs +1 -0
  282. package/dist/stepper.d.ts +1 -0
  283. package/dist/stepper.js +2 -0
  284. package/dist/swiper.cjs +1 -0
  285. package/dist/swiper.d.ts +1 -0
  286. package/dist/swiper.js +2 -0
  287. package/dist/switch.cjs +1 -0
  288. package/dist/switch.d.ts +1 -0
  289. package/dist/switch.js +2 -0
  290. package/dist/tag.cjs +1 -0
  291. package/dist/tag.d.ts +1 -0
  292. package/dist/tag.js +2 -0
  293. package/dist/tip.cjs +1 -0
  294. package/dist/tip.d.ts +1 -0
  295. package/dist/tip.js +2 -0
  296. package/dist/toast-CAeyMc5r.cjs +1 -0
  297. package/dist/toast-DX-RoB7Q.js +146 -0
  298. package/dist/toast.cjs +1 -0
  299. package/dist/toast.d.ts +2 -0
  300. package/dist/toast.js +2 -0
  301. package/package.json +195 -3
@@ -0,0 +1 @@
1
+ export { default as CuProgress } from './Progress.vue';
@@ -0,0 +1,39 @@
1
+ type __VLS_Props = {
2
+ name: string | number | boolean;
3
+ modelValue?: string | number | boolean;
4
+ size?: string;
5
+ label?: string;
6
+ inline?: boolean;
7
+ disabled?: boolean;
8
+ icon?: string;
9
+ iconInverse?: string;
10
+ iconDisabled?: string;
11
+ iconSvg?: boolean;
12
+ };
13
+ declare var __VLS_6: {};
14
+ type __VLS_Slots = {} & {
15
+ default?: (props: typeof __VLS_6) => any;
16
+ };
17
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
18
+ "update:modelValue": (value: string | number | boolean) => any;
19
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
20
+ "onUpdate:modelValue"?: ((value: string | number | boolean) => any) | undefined;
21
+ }>, {
22
+ size: string;
23
+ label: string;
24
+ icon: string;
25
+ iconSvg: boolean;
26
+ inline: boolean;
27
+ disabled: boolean;
28
+ modelValue: string | number | boolean;
29
+ iconInverse: string;
30
+ iconDisabled: string;
31
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
32
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
33
+ declare const _default: typeof __VLS_export;
34
+ export default _default;
35
+ type __VLS_WithSlots<T, S> = T & {
36
+ new (): {
37
+ $slots: S;
38
+ };
39
+ };
@@ -0,0 +1,31 @@
1
+ type __VLS_Props = {
2
+ name?: string | number | boolean;
3
+ modelValue?: string | number | boolean;
4
+ label?: string;
5
+ disabled?: boolean;
6
+ /** lt | rt */
7
+ iconPosition?: string;
8
+ };
9
+ declare var __VLS_10: {};
10
+ type __VLS_Slots = {} & {
11
+ default?: (props: typeof __VLS_10) => any;
12
+ };
13
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
14
+ "update:modelValue": (value: string | number | boolean) => any;
15
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
16
+ "onUpdate:modelValue"?: ((value: string | number | boolean) => any) | undefined;
17
+ }>, {
18
+ name: string | number | boolean;
19
+ label: string;
20
+ disabled: boolean;
21
+ modelValue: string | number | boolean;
22
+ iconPosition: string;
23
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
24
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
25
+ declare const _default: typeof __VLS_export;
26
+ export default _default;
27
+ type __VLS_WithSlots<T, S> = T & {
28
+ new (): {
29
+ $slots: S;
30
+ };
31
+ };
@@ -0,0 +1,24 @@
1
+ type __VLS_Props = {
2
+ modelValue?: string | number | boolean;
3
+ max?: number;
4
+ };
5
+ declare var __VLS_1: {};
6
+ type __VLS_Slots = {} & {
7
+ default?: (props: typeof __VLS_1) => any;
8
+ };
9
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
10
+ "update:modelValue": (value: string | number | boolean) => any;
11
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ "onUpdate:modelValue"?: ((value: string | number | boolean) => any) | undefined;
13
+ }>, {
14
+ modelValue: string | number | boolean;
15
+ max: number;
16
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
17
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
20
+ type __VLS_WithSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1,3 @@
1
+ export { default as CuRadio } from './Radio.vue';
2
+ export { default as CuRadioBox } from './RadioBox.vue';
3
+ export { default as CuRadioGroup } from './RadioGroup.vue';
@@ -0,0 +1,72 @@
1
+ export interface RadioListOption {
2
+ value: string | number | boolean;
3
+ text?: string;
4
+ label?: string;
5
+ brief?: string;
6
+ disabled?: boolean;
7
+ }
8
+ declare const _default: typeof __VLS_export;
9
+ export default _default;
10
+ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
11
+ options?: RadioListOption[];
12
+ modelValue?: string | number | boolean;
13
+ hasInput?: boolean;
14
+ inputLabel?: string;
15
+ inputPlaceholder?: string;
16
+ alignCenter?: boolean;
17
+ isSlotScope?: boolean;
18
+ icon?: string;
19
+ iconInverse?: string;
20
+ iconDisabled?: string;
21
+ iconSvg?: boolean;
22
+ iconSize?: string;
23
+ iconPosition?: string;
24
+ }, {
25
+ select: (value: string | number | boolean) => void;
26
+ selectByIndex: (index: number) => void;
27
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
28
+ "update:modelValue": (value: string | number | boolean) => any;
29
+ change: (option: RadioListOption, index: number) => any;
30
+ }, string, import('vue').PublicProps, Readonly<{
31
+ options?: RadioListOption[];
32
+ modelValue?: string | number | boolean;
33
+ hasInput?: boolean;
34
+ inputLabel?: string;
35
+ inputPlaceholder?: string;
36
+ alignCenter?: boolean;
37
+ isSlotScope?: boolean;
38
+ icon?: string;
39
+ iconInverse?: string;
40
+ iconDisabled?: string;
41
+ iconSvg?: boolean;
42
+ iconSize?: string;
43
+ iconPosition?: string;
44
+ }> & Readonly<{
45
+ "onUpdate:modelValue"?: ((value: string | number | boolean) => any) | undefined;
46
+ onChange?: ((option: RadioListOption, index: number) => any) | undefined;
47
+ }>, {
48
+ icon: string;
49
+ iconSvg: boolean;
50
+ modelValue: string | number | boolean;
51
+ options: RadioListOption[];
52
+ iconPosition: string;
53
+ iconInverse: string;
54
+ iconDisabled: string;
55
+ alignCenter: boolean;
56
+ isSlotScope: boolean;
57
+ iconSize: string;
58
+ inputPlaceholder: string;
59
+ hasInput: boolean;
60
+ inputLabel: string;
61
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
62
+ default?: (props: {
63
+ option: RadioListOption;
64
+ index: number;
65
+ selected: boolean;
66
+ }) => any;
67
+ }>;
68
+ type __VLS_WithSlots<T, S> = T & {
69
+ new (): {
70
+ $slots: S;
71
+ };
72
+ };
@@ -0,0 +1,2 @@
1
+ export { default as CuRadioList } from './RadioList.vue';
2
+ export type { RadioListOption } from './RadioList.vue';
@@ -0,0 +1,28 @@
1
+ export interface ResultPageButton {
2
+ text?: string;
3
+ type?: string;
4
+ plain?: boolean;
5
+ round?: boolean;
6
+ inactive?: boolean;
7
+ loading?: boolean;
8
+ icon?: string;
9
+ iconSvg?: boolean;
10
+ handler?: () => void;
11
+ }
12
+ type __VLS_Props = {
13
+ /** empty | network | lost 等内置类型(决定默认图与默认文案) */
14
+ type?: string;
15
+ imgUrl?: string;
16
+ text?: string;
17
+ subtext?: string;
18
+ buttons?: ResultPageButton[];
19
+ };
20
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
21
+ text: string;
22
+ type: string;
23
+ buttons: ResultPageButton[];
24
+ imgUrl: string;
25
+ subtext: string;
26
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
27
+ declare const _default: typeof __VLS_export;
28
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as CuResultPage, type ResultPageButton } from './ResultPage.vue';
@@ -0,0 +1,34 @@
1
+ type __VLS_Props = {
2
+ modelValue?: number;
3
+ /** v2 兼容:value 与 v-model 等价,modelValue 优先 */
4
+ value?: number;
5
+ scope?: Array<number>;
6
+ step?: number;
7
+ unit?: number;
8
+ min?: number;
9
+ max?: number;
10
+ /** top | bottom */
11
+ stepTextPosition?: 'top' | 'bottom';
12
+ stepTextRender?: (step: number) => string | number | undefined | null;
13
+ };
14
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
15
+ input: (value: number) => any;
16
+ "update:modelValue": (value: number) => any;
17
+ change: (value: number) => any;
18
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
19
+ onInput?: ((value: number) => any) | undefined;
20
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
21
+ onChange?: ((value: number) => any) | undefined;
22
+ }>, {
23
+ value: number;
24
+ modelValue: number;
25
+ step: number;
26
+ min: number;
27
+ max: number;
28
+ unit: number;
29
+ scope: Array<number>;
30
+ stepTextPosition: "top" | "bottom";
31
+ stepTextRender: (step: number) => string | number | undefined | null;
32
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
33
+ declare const _default: typeof __VLS_export;
34
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as CuRuler } from './Ruler.vue';
@@ -0,0 +1,84 @@
1
+ type __VLS_Props = {
2
+ scrollingX?: boolean;
3
+ scrollingY?: boolean;
4
+ bouncing?: boolean;
5
+ autoReflow?: boolean;
6
+ manualInit?: boolean;
7
+ endReachedThreshold?: number;
8
+ immediateCheckEndReaching?: boolean;
9
+ touchAngle?: number;
10
+ isPrevent?: boolean;
11
+ };
12
+ declare function init(): void;
13
+ declare function scrollTo(left: number, top: number, animate?: boolean): void;
14
+ declare function getOffsets(): {
15
+ left: number;
16
+ top: number;
17
+ };
18
+ declare function reflowScroller(force?: boolean): void;
19
+ declare function triggerRefresh(): void;
20
+ declare function finishRefresh(): void;
21
+ declare function finishLoadMore(): void;
22
+ declare var __VLS_1: {}, __VLS_3: {
23
+ scrollTop: number;
24
+ isRefreshing: boolean;
25
+ isRefreshActive: boolean;
26
+ }, __VLS_5: {}, __VLS_7: {
27
+ isEndReaching: boolean;
28
+ }, __VLS_9: {};
29
+ type __VLS_Slots = {} & {
30
+ header?: (props: typeof __VLS_1) => any;
31
+ } & {
32
+ refresh?: (props: typeof __VLS_3) => any;
33
+ } & {
34
+ default?: (props: typeof __VLS_5) => any;
35
+ } & {
36
+ more?: (props: typeof __VLS_7) => any;
37
+ } & {
38
+ footer?: (props: typeof __VLS_9) => any;
39
+ };
40
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
41
+ init: typeof init;
42
+ scrollTo: typeof scrollTo;
43
+ getOffsets: typeof getOffsets;
44
+ reflowScroller: typeof reflowScroller;
45
+ triggerRefresh: typeof triggerRefresh;
46
+ finishRefresh: typeof finishRefresh;
47
+ finishLoadMore: typeof finishLoadMore;
48
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
49
+ scroll: (offsets: {
50
+ scrollLeft: number;
51
+ scrollTop: number;
52
+ }) => any;
53
+ refreshActive: () => any;
54
+ refreshing: () => any;
55
+ endReached: () => any;
56
+ "end-reached": () => any;
57
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
58
+ onScroll?: ((offsets: {
59
+ scrollLeft: number;
60
+ scrollTop: number;
61
+ }) => any) | undefined;
62
+ onRefreshActive?: (() => any) | undefined;
63
+ onRefreshing?: (() => any) | undefined;
64
+ onEndReached?: (() => any) | undefined;
65
+ "onEnd-reached"?: (() => any) | undefined;
66
+ }>, {
67
+ scrollingX: boolean;
68
+ scrollingY: boolean;
69
+ bouncing: boolean;
70
+ autoReflow: boolean;
71
+ manualInit: boolean;
72
+ endReachedThreshold: number;
73
+ immediateCheckEndReaching: boolean;
74
+ touchAngle: number;
75
+ isPrevent: boolean;
76
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
77
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
78
+ declare const _default: typeof __VLS_export;
79
+ export default _default;
80
+ type __VLS_WithSlots<T, S> = T & {
81
+ new (): {
82
+ $slots: S;
83
+ };
84
+ };
@@ -0,0 +1,12 @@
1
+ type __VLS_Props = {
2
+ loadingText?: string;
3
+ finishedText?: string;
4
+ isFinished?: boolean;
5
+ };
6
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
+ loadingText: string;
8
+ finishedText: string;
9
+ isFinished: boolean;
10
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
@@ -0,0 +1,20 @@
1
+ type __VLS_Props = {
2
+ scrollTop?: number;
3
+ isRefreshing?: boolean;
4
+ isRefreshActive?: boolean;
5
+ refreshText?: string;
6
+ refreshActiveText?: string;
7
+ refreshingText?: string;
8
+ rollerColor?: string;
9
+ };
10
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
11
+ isRefreshing: boolean;
12
+ isRefreshActive: boolean;
13
+ scrollTop: number;
14
+ refreshText: string;
15
+ refreshActiveText: string;
16
+ refreshingText: string;
17
+ rollerColor: string;
18
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
19
+ declare const _default: typeof __VLS_export;
20
+ export default _default;
@@ -0,0 +1,3 @@
1
+ export { default as CuScrollView } from './ScrollView.vue';
2
+ export { default as CuScrollViewRefresh } from './ScrollViewRefresh.vue';
3
+ export { default as CuScrollViewMore } from './ScrollViewMore.vue';
@@ -0,0 +1,88 @@
1
+ import { RadioListOption } from '../radio-list/RadioList.vue';
2
+ export type SelectorItem = RadioListOption & {
3
+ text?: string;
4
+ };
5
+ type __VLS_Props = {
6
+ modelValue?: boolean;
7
+ data?: SelectorItem[];
8
+ defaultValue?: string | number | boolean | Array<string | number>;
9
+ isCheck?: boolean;
10
+ maxHeight?: string | number;
11
+ minHeight?: string | number;
12
+ title?: string;
13
+ describe?: string;
14
+ okText?: string;
15
+ cancelText?: string;
16
+ maskClosable?: boolean;
17
+ hideTitleBar?: boolean;
18
+ multi?: boolean;
19
+ icon?: string;
20
+ iconInverse?: string;
21
+ iconDisabled?: string;
22
+ iconSvg?: boolean;
23
+ iconSize?: string;
24
+ iconPosition?: string;
25
+ largeRadius?: boolean;
26
+ };
27
+ declare var __VLS_27: {}, __VLS_40: {
28
+ option: RadioListOption;
29
+ index: number;
30
+ selected: boolean;
31
+ }, __VLS_51: {
32
+ option: import('../check').CheckListOption;
33
+ index: number;
34
+ selected: boolean;
35
+ }, __VLS_53: {};
36
+ type __VLS_Slots = {} & {
37
+ header?: (props: typeof __VLS_27) => any;
38
+ } & {
39
+ default?: (props: typeof __VLS_40) => any;
40
+ } & {
41
+ default?: (props: typeof __VLS_51) => any;
42
+ } & {
43
+ footer?: (props: typeof __VLS_53) => any;
44
+ };
45
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
46
+ "update:modelValue": (value: boolean) => any;
47
+ show: () => any;
48
+ hide: () => any;
49
+ cancel: () => any;
50
+ confirm: (item: (string | number)[] | SelectorItem) => any;
51
+ choose: (item: SelectorItem) => any;
52
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
53
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
54
+ onShow?: (() => any) | undefined;
55
+ onHide?: (() => any) | undefined;
56
+ onCancel?: (() => any) | undefined;
57
+ onConfirm?: ((item: (string | number)[] | SelectorItem) => any) | undefined;
58
+ onChoose?: ((item: SelectorItem) => any) | undefined;
59
+ }>, {
60
+ data: SelectorItem[];
61
+ title: string;
62
+ icon: string;
63
+ iconSvg: boolean;
64
+ modelValue: boolean;
65
+ defaultValue: string | number | boolean | Array<string | number>;
66
+ maskClosable: boolean;
67
+ largeRadius: boolean;
68
+ describe: string;
69
+ okText: string;
70
+ cancelText: string;
71
+ maxHeight: string | number;
72
+ iconPosition: string;
73
+ iconInverse: string;
74
+ iconDisabled: string;
75
+ iconSize: string;
76
+ isCheck: boolean;
77
+ minHeight: string | number;
78
+ hideTitleBar: boolean;
79
+ multi: boolean;
80
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
81
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
82
+ declare const _default: typeof __VLS_export;
83
+ export default _default;
84
+ type __VLS_WithSlots<T, S> = T & {
85
+ new (): {
86
+ $slots: S;
87
+ };
88
+ };
@@ -0,0 +1,2 @@
1
+ export { default as CuSelector } from './Selector.vue';
2
+ export type { SelectorItem } from './Selector.vue';
@@ -0,0 +1,30 @@
1
+ type __VLS_Props = {
2
+ loading?: boolean;
3
+ avatar?: boolean;
4
+ row?: number;
5
+ title?: boolean;
6
+ titleWidth?: number | string;
7
+ rowWidth?: number | string | Array<number | string>;
8
+ avatarSize?: string;
9
+ };
10
+ declare var __VLS_1: {};
11
+ type __VLS_Slots = {} & {
12
+ default?: (props: typeof __VLS_1) => any;
13
+ };
14
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
15
+ title: boolean;
16
+ loading: boolean;
17
+ avatar: boolean;
18
+ row: number;
19
+ titleWidth: number | string;
20
+ rowWidth: number | string | Array<number | string>;
21
+ avatarSize: string;
22
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
+ declare const _default: typeof __VLS_export;
25
+ export default _default;
26
+ type __VLS_WithSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
@@ -0,0 +1 @@
1
+ export { default as CuSkeleton } from './Skeleton.vue';
@@ -0,0 +1,24 @@
1
+ type __VLS_Props = {
2
+ modelValue?: number | Array<number>;
3
+ min?: number;
4
+ max?: number;
5
+ step?: number;
6
+ range?: boolean;
7
+ format?: (val: number) => number | string;
8
+ disabled?: boolean;
9
+ };
10
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
11
+ "update:modelValue": (value: number | number[]) => any;
12
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
13
+ "onUpdate:modelValue"?: ((value: number | number[]) => any) | undefined;
14
+ }>, {
15
+ disabled: boolean;
16
+ modelValue: number | Array<number>;
17
+ step: number;
18
+ min: number;
19
+ max: number;
20
+ range: boolean;
21
+ format: (val: number) => number | string;
22
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
+ declare const _default: typeof __VLS_export;
24
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as CuSlider } from './Slider.vue';
@@ -0,0 +1,32 @@
1
+ type __VLS_Props = {
2
+ defaultValue?: number | string;
3
+ modelValue?: number | string;
4
+ step?: number | string;
5
+ min?: number | string;
6
+ max?: number | string;
7
+ disabled?: boolean;
8
+ readOnly?: boolean;
9
+ isInteger?: boolean;
10
+ };
11
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
12
+ "update:modelValue": (value: number) => any;
13
+ change: (value: number) => any;
14
+ increase: (diff: number) => any;
15
+ decrease: (diff: number) => any;
16
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
17
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
18
+ onChange?: ((value: number) => any) | undefined;
19
+ onIncrease?: ((diff: number) => any) | undefined;
20
+ onDecrease?: ((diff: number) => any) | undefined;
21
+ }>, {
22
+ disabled: boolean;
23
+ modelValue: number | string;
24
+ defaultValue: number | string;
25
+ step: number | string;
26
+ min: number | string;
27
+ max: number | string;
28
+ readOnly: boolean;
29
+ isInteger: boolean;
30
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
31
+ declare const _default: typeof __VLS_export;
32
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as CuStepper } from './Stepper.vue';
@@ -0,0 +1,56 @@
1
+ export interface StepItem {
2
+ name?: string;
3
+ text?: string;
4
+ }
5
+ type __VLS_Props = {
6
+ steps?: StepItem[];
7
+ current?: number;
8
+ direction?: 'horizontal' | 'vertical';
9
+ transition?: boolean;
10
+ verticalAdaptive?: boolean;
11
+ custom?: boolean;
12
+ };
13
+ declare var __VLS_1: {
14
+ steps: StepItem[];
15
+ }, __VLS_3: {
16
+ index: number;
17
+ currentIndex: number;
18
+ }, __VLS_5: {
19
+ index: number;
20
+ }, __VLS_7: {
21
+ index: number;
22
+ }, __VLS_14: {
23
+ index: number;
24
+ }, __VLS_16: {
25
+ index: number;
26
+ step: StepItem;
27
+ };
28
+ type __VLS_Slots = {} & {
29
+ default?: (props: typeof __VLS_1) => any;
30
+ } & {
31
+ icon?: (props: typeof __VLS_3) => any;
32
+ } & {
33
+ reached?: (props: typeof __VLS_5) => any;
34
+ } & {
35
+ current?: (props: typeof __VLS_7) => any;
36
+ } & {
37
+ unreached?: (props: typeof __VLS_14) => any;
38
+ } & {
39
+ content?: (props: typeof __VLS_16) => any;
40
+ };
41
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
42
+ transition: boolean;
43
+ custom: boolean;
44
+ steps: StepItem[];
45
+ current: number;
46
+ direction: "horizontal" | "vertical";
47
+ verticalAdaptive: boolean;
48
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
49
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
50
+ declare const _default: typeof __VLS_export;
51
+ export default _default;
52
+ type __VLS_WithSlots<T, S> = T & {
53
+ new (): {
54
+ $slots: S;
55
+ };
56
+ };
@@ -0,0 +1,2 @@
1
+ export { default as CuSteps } from './Steps.vue';
2
+ export type { StepItem } from './Steps.vue';