centui 0.0.0-stage → 3.1.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 (411) hide show
  1. package/LICENSE +433 -0
  2. package/README.md +54 -2
  3. package/dist/ActionBar-Bs5fkyFH.cjs +1 -0
  4. package/dist/ActionBar-CF1zMUMC.js +56 -0
  5. package/dist/ActivityIndicator-BOZRJBDn.cjs +1 -0
  6. package/dist/ActivityIndicator-Cp20c1E0.js +162 -0
  7. package/dist/Agree-ZswFiFNy.cjs +1 -0
  8. package/dist/Agree-lAcOo38C.js +43 -0
  9. package/dist/Amount-B2StZGGW.js +56 -0
  10. package/dist/Amount-CU7Oc4vv.cjs +1 -0
  11. package/dist/Bill-DDVs3Lu3.cjs +1 -0
  12. package/dist/Bill-qQ4LdkmR.js +58 -0
  13. package/dist/Button-Bu8liJQE.cjs +1 -0
  14. package/dist/Button-D7e-cuA1.js +60 -0
  15. package/dist/Captcha-BEF-de8-.cjs +1 -0
  16. package/dist/Captcha-CgpynYTc.js +283 -0
  17. package/dist/Cashier-CJLfQOXm.js +363 -0
  18. package/dist/Cashier-CLJngM0n.cjs +1 -0
  19. package/dist/CellItem-BHEh4Cp-.js +71 -0
  20. package/dist/CellItem-J0LkwZNL.cjs +1 -0
  21. package/dist/Chart-BINJAx7V.js +135 -0
  22. package/dist/Chart-DJ0Q1g1P.cjs +1 -0
  23. package/dist/CheckBox-D5bCJUXD.js +55 -0
  24. package/dist/CheckBox-DDeCshDK.cjs +1 -0
  25. package/dist/CheckBoxBase-BIPGJ-TD.js +43 -0
  26. package/dist/CheckBoxBase-CobK6-tL.cjs +1 -0
  27. package/dist/CheckList-BsKo_Fl3.cjs +1 -0
  28. package/dist/CheckList-ViiCo4yi.js +195 -0
  29. package/dist/Codebox-BLPrFnIv.js +188 -0
  30. package/dist/Codebox-yLkdTU7w.cjs +1 -0
  31. package/dist/DatePicker-CCU6gqG3.cjs +1 -0
  32. package/dist/DatePicker-CYvPJatt.js +175 -0
  33. package/dist/DetailItem-D6-zbZmd.js +21 -0
  34. package/dist/DetailItem-DDJXXao0.cjs +1 -0
  35. package/dist/Dialog-208_XUAL.cjs +1 -0
  36. package/dist/Dialog-Bb7Gth3j.js +148 -0
  37. package/dist/DropMenu-5TA_6bas.js +95 -0
  38. package/dist/DropMenu-D_ZMGOOi.cjs +1 -0
  39. package/dist/Field-0hdNWFNm.js +50 -0
  40. package/dist/Field-DDmHa4zB.cjs +1 -0
  41. package/dist/FieldItem-D79w330m.js +87 -0
  42. package/dist/FieldItem-UFKrl_5J.cjs +1 -0
  43. package/dist/Icon-83WWqE5z.cjs +31 -0
  44. package/dist/Icon-BgCtu0ZV.js +117 -0
  45. package/dist/ImageReader-DjshA_hh.cjs +1 -0
  46. package/dist/ImageReader-hUb5CEbV.js +122 -0
  47. package/dist/ImageViewer-BCEK4DOF.cjs +1 -0
  48. package/dist/ImageViewer-_dTRCIsV.js +68 -0
  49. package/dist/InputItem-DO5Yo_IH.cjs +1 -0
  50. package/dist/InputItem-yHsLFvKt.js +327 -0
  51. package/dist/Landscape-BsHyoM4N.cjs +1 -0
  52. package/dist/Landscape-Dd0abEy1.js +73 -0
  53. package/dist/LicensePlate-CTcAIbcb.js +201 -0
  54. package/dist/LicensePlate-CfwpVw0G.cjs +1 -0
  55. package/dist/NoticeBar-CV355FeO.cjs +1 -0
  56. package/dist/NoticeBar-G5aKL6VO.js +92 -0
  57. package/dist/NumberKeyboard-BWpxsbYt.cjs +1 -0
  58. package/dist/NumberKeyboard-B_TJXxki.js +335 -0
  59. package/dist/Picker-BOEGTBaN.cjs +1 -0
  60. package/dist/Picker-CA-JQ_OC.js +493 -0
  61. package/dist/Popup-Ca1jPi0t.cjs +1 -0
  62. package/dist/Popup-qLk-BsRS.js +116 -0
  63. package/dist/PopupTitleBar-9P4RUMC1.js +84 -0
  64. package/dist/PopupTitleBar-Bfl49eYJ.cjs +1 -0
  65. package/dist/Progress-CT-LHaQ0.cjs +1 -0
  66. package/dist/Progress-Clet0W_n.js +65 -0
  67. package/dist/Radio-B_MxJ65X.cjs +1 -0
  68. package/dist/Radio-DY-ZX0BP.js +67 -0
  69. package/dist/RadioGroup-B00aqM9e.js +84 -0
  70. package/dist/RadioGroup-B6ukqnm5.cjs +1 -0
  71. package/dist/RadioList-D-9PITpr.cjs +1 -0
  72. package/dist/RadioList-DNGsEzgf.js +125 -0
  73. package/dist/ResultPage-DUs8ok5R.js +64 -0
  74. package/dist/ResultPage-YQWDaFmz.cjs +1 -0
  75. package/dist/Roller-BznN57fL.js +91 -0
  76. package/dist/Roller-DALhjhfg.cjs +1 -0
  77. package/dist/RollerSuccess-BbMzNlkv.cjs +1 -0
  78. package/dist/RollerSuccess-CTh43Rh0.js +65 -0
  79. package/dist/Ruler-Bhf5J7hU.js +136 -0
  80. package/dist/Ruler-CEzB0oqG.cjs +1 -0
  81. package/dist/ScrollView-BNY62f7B.js +228 -0
  82. package/dist/ScrollView-BnadVBJC.cjs +1 -0
  83. package/dist/ScrollViewMore-BL1vpyMj.cjs +1 -0
  84. package/dist/ScrollViewMore-DBhoiI1X.js +54 -0
  85. package/dist/Selector-DOU8Af55.js +209 -0
  86. package/dist/Selector-DnFvOGbv.cjs +1 -0
  87. package/dist/Skeleton--SCiydNl.cjs +1 -0
  88. package/dist/Skeleton-DqA5IxL5.js +54 -0
  89. package/dist/Slider-BB2Nhpys.js +100 -0
  90. package/dist/Slider-vV7_nULf.cjs +1 -0
  91. package/dist/Stepper-BnDhL8IO.js +137 -0
  92. package/dist/Stepper-n_mc16V2.cjs +1 -0
  93. package/dist/Steps-BPQwab3T.js +157 -0
  94. package/dist/Steps-Dfpmgl8B.cjs +1 -0
  95. package/dist/SwiperItem-BY5cUoGn.cjs +1 -0
  96. package/dist/SwiperItem-BydyBdYU.js +323 -0
  97. package/dist/Switch-B1rsBY-M.js +31 -0
  98. package/dist/Switch-CghubImq.cjs +1 -0
  99. package/dist/TabPane-BCVsdptu.cjs +1 -0
  100. package/dist/TabPane-Q7oUFzmP.js +237 -0
  101. package/dist/TabPicker-BcL9assY.cjs +1 -0
  102. package/dist/TabPicker-BicPrto7.js +173 -0
  103. package/dist/Tag-C7ygxOwU.js +78 -0
  104. package/dist/Tag-CIA2npnD.cjs +1 -0
  105. package/dist/TextareaItem-Dl-PCLl-.js +168 -0
  106. package/dist/TextareaItem-Du5nl7tv.cjs +1 -0
  107. package/dist/Tip-DHPmevlv.js +165 -0
  108. package/dist/Tip-De_3tKtb.cjs +1 -0
  109. package/dist/Transition-B-baX512.js +14 -0
  110. package/dist/Transition-Bwbqr4Xr.cjs +1 -0
  111. package/dist/WaterMark-CgkuQjv3.js +103 -0
  112. package/dist/WaterMark-M81jg6T5.cjs +1 -0
  113. package/dist/action-bar.cjs +1 -0
  114. package/dist/action-bar.d.ts +1 -0
  115. package/dist/action-bar.js +1 -0
  116. package/dist/action-sheet-BjaReHkr.cjs +1 -0
  117. package/dist/action-sheet-Da8dHevy.js +121 -0
  118. package/dist/action-sheet.cjs +1 -0
  119. package/dist/action-sheet.d.ts +2 -0
  120. package/dist/action-sheet.js +1 -0
  121. package/dist/activity-indicator.cjs +1 -0
  122. package/dist/activity-indicator.d.ts +1 -0
  123. package/dist/activity-indicator.js +4 -0
  124. package/dist/agree.cjs +1 -0
  125. package/dist/agree.d.ts +1 -0
  126. package/dist/agree.js +1 -0
  127. package/dist/amount.cjs +1 -0
  128. package/dist/amount.d.ts +1 -0
  129. package/dist/amount.js +1 -0
  130. package/dist/bill.cjs +1 -0
  131. package/dist/bill.d.ts +1 -0
  132. package/dist/bill.js +1 -0
  133. package/dist/button.cjs +1 -0
  134. package/dist/button.d.ts +1 -0
  135. package/dist/button.js +1 -0
  136. package/dist/captcha.cjs +1 -0
  137. package/dist/captcha.d.ts +1 -0
  138. package/dist/captcha.js +1 -0
  139. package/dist/cashier.cjs +1 -0
  140. package/dist/cashier.d.ts +1 -0
  141. package/dist/cashier.js +1 -0
  142. package/dist/cell-item.cjs +1 -0
  143. package/dist/cell-item.d.ts +1 -0
  144. package/dist/cell-item.js +1 -0
  145. package/dist/chart.cjs +1 -0
  146. package/dist/chart.d.ts +1 -0
  147. package/dist/chart.js +1 -0
  148. package/dist/check-base.cjs +1 -0
  149. package/dist/check-base.d.ts +1 -0
  150. package/dist/check-base.js +1 -0
  151. package/dist/check.cjs +1 -0
  152. package/dist/check.d.ts +1 -0
  153. package/dist/check.js +3 -0
  154. package/dist/codebox.cjs +1 -0
  155. package/dist/codebox.d.ts +1 -0
  156. package/dist/codebox.js +1 -0
  157. package/dist/components/action-bar/ActionBar.vue.d.ts +34 -0
  158. package/dist/components/action-bar/index.d.ts +2 -0
  159. package/dist/components/action-sheet/ActionSheet.vue.d.ts +49 -0
  160. package/dist/components/action-sheet/index.d.ts +25 -0
  161. package/dist/components/activity-indicator/ActivityIndicator.vue.d.ts +31 -0
  162. package/dist/components/activity-indicator/Carousel.vue.d.ts +10 -0
  163. package/dist/components/activity-indicator/CarouselCircle.vue.d.ts +12 -0
  164. package/dist/components/activity-indicator/Roller.vue.d.ts +37 -0
  165. package/dist/components/activity-indicator/RollerSuccess.vue.d.ts +14 -0
  166. package/dist/components/activity-indicator/Spinning.vue.d.ts +10 -0
  167. package/dist/components/activity-indicator/index.d.ts +5 -0
  168. package/dist/components/agree/Agree.vue.d.ts +35 -0
  169. package/dist/components/agree/index.d.ts +1 -0
  170. package/dist/components/amount/Amount.vue.d.ts +25 -0
  171. package/dist/components/amount/index.d.ts +1 -0
  172. package/dist/components/bill/Bill.vue.d.ts +33 -0
  173. package/dist/components/bill/index.d.ts +1 -0
  174. package/dist/components/button/Button.vue.d.ts +38 -0
  175. package/dist/components/button/index.d.ts +1 -0
  176. package/dist/components/captcha/Captcha.vue.d.ts +76 -0
  177. package/dist/components/captcha/index.d.ts +1 -0
  178. package/dist/components/cashier/Cashier.vue.d.ts +101 -0
  179. package/dist/components/cashier/CashierChannel.vue.d.ts +58 -0
  180. package/dist/components/cashier/CashierChannelButton.vue.d.ts +14 -0
  181. package/dist/components/cashier/CashierChannelItem.vue.d.ts +30 -0
  182. package/dist/components/cashier/index.d.ts +4 -0
  183. package/dist/components/cell-item/CellItem.vue.d.ts +38 -0
  184. package/dist/components/cell-item/index.d.ts +1 -0
  185. package/dist/components/chart/Chart.vue.d.ts +30 -0
  186. package/dist/components/chart/index.d.ts +2 -0
  187. package/dist/components/check/Check.vue.d.ts +38 -0
  188. package/dist/components/check/CheckBox.vue.d.ts +31 -0
  189. package/dist/components/check/CheckGroup.vue.d.ts +27 -0
  190. package/dist/components/check/CheckList.vue.d.ts +58 -0
  191. package/dist/components/check/index.d.ts +6 -0
  192. package/dist/components/check/shared.d.ts +52 -0
  193. package/dist/components/check-base/CheckBoxBase.vue.d.ts +25 -0
  194. package/dist/components/check-base/index.d.ts +1 -0
  195. package/dist/components/codebox/Codebox.vue.d.ts +58 -0
  196. package/dist/components/codebox/index.d.ts +1 -0
  197. package/dist/components/date-picker/DatePicker.vue.d.ts +70 -0
  198. package/dist/components/date-picker/index.d.ts +1 -0
  199. package/dist/components/detail-item/DetailItem.vue.d.ts +22 -0
  200. package/dist/components/detail-item/index.d.ts +1 -0
  201. package/dist/components/dialog/Dialog.vue.d.ts +88 -0
  202. package/dist/components/dialog/index.d.ts +40 -0
  203. package/dist/components/drop-menu/DropMenu.vue.d.ts +55 -0
  204. package/dist/components/drop-menu/index.d.ts +1 -0
  205. package/dist/components/field/Field.vue.d.ts +30 -0
  206. package/dist/components/field/index.d.ts +1 -0
  207. package/dist/components/field-item/FieldItem.vue.d.ts +42 -0
  208. package/dist/components/field-item/index.d.ts +1 -0
  209. package/dist/components/icon/Icon.vue.d.ts +20 -0
  210. package/dist/components/icon/default-svg-list.d.ts +2 -0
  211. package/dist/components/icon/index.d.ts +1 -0
  212. package/dist/components/icon/load-sprite.d.ts +6 -0
  213. package/dist/components/image-reader/ImageReader.vue.d.ts +46 -0
  214. package/dist/components/image-reader/index.d.ts +1 -0
  215. package/dist/components/image-viewer/ImageViewer.vue.d.ts +25 -0
  216. package/dist/components/image-viewer/index.d.ts +1 -0
  217. package/dist/components/index.d.ts +3 -0
  218. package/dist/components/input-item/InputItem.vue.d.ts +97 -0
  219. package/dist/components/input-item/cursor.d.ts +7 -0
  220. package/dist/components/input-item/index.d.ts +1 -0
  221. package/dist/components/landscape/Landscape.vue.d.ts +38 -0
  222. package/dist/components/landscape/index.d.ts +1 -0
  223. package/dist/components/license-plate/LicensePlate.vue.d.ts +32 -0
  224. package/dist/components/license-plate/LicensePlateInput.vue.d.ts +14 -0
  225. package/dist/components/license-plate/LicensePlateKeyboard.vue.d.ts +30 -0
  226. package/dist/components/license-plate/index.d.ts +3 -0
  227. package/dist/components/notice-bar/NoticeBar.vue.d.ts +44 -0
  228. package/dist/components/notice-bar/index.d.ts +1 -0
  229. package/dist/components/number-keyboard/KeyboardBoard.vue.d.ts +33 -0
  230. package/dist/components/number-keyboard/KeyboardKey.vue.d.ts +19 -0
  231. package/dist/components/number-keyboard/NumberKeyboard.vue.d.ts +59 -0
  232. package/dist/components/number-keyboard/index.d.ts +3 -0
  233. package/dist/components/picker/Picker.vue.d.ts +64 -0
  234. package/dist/components/picker/PickerColumn.vue.d.ts +64 -0
  235. package/dist/components/picker/index.d.ts +3 -0
  236. package/dist/components/popup/Popup.vue.d.ts +50 -0
  237. package/dist/components/popup/PopupTitleBar.vue.d.ts +45 -0
  238. package/dist/components/popup/index.d.ts +2 -0
  239. package/dist/components/progress/Progress.vue.d.ts +39 -0
  240. package/dist/components/progress/index.d.ts +1 -0
  241. package/dist/components/radio/Radio.vue.d.ts +39 -0
  242. package/dist/components/radio/RadioBox.vue.d.ts +31 -0
  243. package/dist/components/radio/RadioGroup.vue.d.ts +24 -0
  244. package/dist/components/radio/index.d.ts +3 -0
  245. package/dist/components/radio-list/RadioList.vue.d.ts +72 -0
  246. package/dist/components/radio-list/index.d.ts +2 -0
  247. package/dist/components/result-page/ResultPage.vue.d.ts +28 -0
  248. package/dist/components/result-page/index.d.ts +1 -0
  249. package/dist/components/ruler/Ruler.vue.d.ts +34 -0
  250. package/dist/components/ruler/index.d.ts +1 -0
  251. package/dist/components/scroll-view/ScrollView.vue.d.ts +84 -0
  252. package/dist/components/scroll-view/ScrollViewMore.vue.d.ts +12 -0
  253. package/dist/components/scroll-view/ScrollViewRefresh.vue.d.ts +20 -0
  254. package/dist/components/scroll-view/index.d.ts +3 -0
  255. package/dist/components/selector/Selector.vue.d.ts +88 -0
  256. package/dist/components/selector/index.d.ts +2 -0
  257. package/dist/components/skeleton/Skeleton.vue.d.ts +30 -0
  258. package/dist/components/skeleton/index.d.ts +1 -0
  259. package/dist/components/slider/Slider.vue.d.ts +24 -0
  260. package/dist/components/slider/index.d.ts +1 -0
  261. package/dist/components/stepper/Stepper.vue.d.ts +32 -0
  262. package/dist/components/stepper/index.d.ts +1 -0
  263. package/dist/components/steps/Steps.vue.d.ts +56 -0
  264. package/dist/components/steps/index.d.ts +2 -0
  265. package/dist/components/swiper/Swiper.vue.d.ts +57 -0
  266. package/dist/components/swiper/SwiperItem.vue.d.ts +26 -0
  267. package/dist/components/swiper/index.d.ts +2 -0
  268. package/dist/components/switch/Switch.vue.d.ts +16 -0
  269. package/dist/components/switch/index.d.ts +1 -0
  270. package/dist/components/tab-picker/TabPicker.vue.d.ts +78 -0
  271. package/dist/components/tab-picker/index.d.ts +1 -0
  272. package/dist/components/tabs/TabBar.vue.d.ts +50 -0
  273. package/dist/components/tabs/TabPane.vue.d.ts +31 -0
  274. package/dist/components/tabs/Tabs.vue.d.ts +34 -0
  275. package/dist/components/tabs/index.d.ts +3 -0
  276. package/dist/components/tag/Tag.vue.d.ts +39 -0
  277. package/dist/components/tag/index.d.ts +1 -0
  278. package/dist/components/textarea-item/TextareaItem.vue.d.ts +80 -0
  279. package/dist/components/textarea-item/index.d.ts +1 -0
  280. package/dist/components/tip/Tip.vue.d.ts +98 -0
  281. package/dist/components/tip/TipContent.vue.d.ts +33 -0
  282. package/dist/components/tip/index.d.ts +2 -0
  283. package/dist/components/toast/Toast.vue.d.ts +45 -0
  284. package/dist/components/toast/index.d.ts +129 -0
  285. package/dist/components/transition/Transition.vue.d.ts +13 -0
  286. package/dist/components/transition/index.d.ts +1 -0
  287. package/dist/components/water-mark/WaterMark.vue.d.ts +35 -0
  288. package/dist/components/water-mark/index.d.ts +1 -0
  289. package/dist/cursor-BIPoNm8V.js +11 -0
  290. package/dist/cursor-tQE3LcbU.cjs +1 -0
  291. package/dist/date-picker.cjs +1 -0
  292. package/dist/date-picker.d.ts +1 -0
  293. package/dist/date-picker.js +1 -0
  294. package/dist/detail-item.cjs +1 -0
  295. package/dist/detail-item.d.ts +1 -0
  296. package/dist/detail-item.js +1 -0
  297. package/dist/dialog-C38EDWGJ.cjs +1 -0
  298. package/dist/dialog-DdNA6YSe.js +91 -0
  299. package/dist/dialog.cjs +1 -0
  300. package/dist/dialog.d.ts +2 -0
  301. package/dist/dialog.js +3 -0
  302. package/dist/drop-menu.cjs +1 -0
  303. package/dist/drop-menu.d.ts +1 -0
  304. package/dist/drop-menu.js +1 -0
  305. package/dist/field-item.cjs +1 -0
  306. package/dist/field-item.d.ts +1 -0
  307. package/dist/field-item.js +1 -0
  308. package/dist/field.cjs +1 -0
  309. package/dist/field.d.ts +1 -0
  310. package/dist/field.js +1 -0
  311. package/dist/icon.cjs +1 -0
  312. package/dist/icon.d.ts +1 -0
  313. package/dist/icon.js +1 -0
  314. package/dist/image-reader.cjs +1 -0
  315. package/dist/image-reader.d.ts +1 -0
  316. package/dist/image-reader.js +1 -0
  317. package/dist/image-viewer.cjs +1 -0
  318. package/dist/image-viewer.d.ts +1 -0
  319. package/dist/image-viewer.js +1 -0
  320. package/dist/index.cjs +1 -0
  321. package/dist/index.d.ts +64 -0
  322. package/dist/index.js +61 -0
  323. package/dist/input-item.cjs +1 -0
  324. package/dist/input-item.d.ts +1 -0
  325. package/dist/input-item.js +1 -0
  326. package/dist/landscape.cjs +1 -0
  327. package/dist/landscape.d.ts +1 -0
  328. package/dist/landscape.js +1 -0
  329. package/dist/license-plate.cjs +1 -0
  330. package/dist/license-plate.d.ts +1 -0
  331. package/dist/license-plate.js +1 -0
  332. package/dist/notice-bar.cjs +1 -0
  333. package/dist/notice-bar.d.ts +1 -0
  334. package/dist/notice-bar.js +1 -0
  335. package/dist/number-keyboard.cjs +1 -0
  336. package/dist/number-keyboard.d.ts +1 -0
  337. package/dist/number-keyboard.js +1 -0
  338. package/dist/picker.cjs +1 -0
  339. package/dist/picker.d.ts +1 -0
  340. package/dist/picker.js +1 -0
  341. package/dist/popup.cjs +1 -0
  342. package/dist/popup.d.ts +1 -0
  343. package/dist/popup.js +3 -0
  344. package/dist/progress.cjs +1 -0
  345. package/dist/progress.d.ts +1 -0
  346. package/dist/progress.js +1 -0
  347. package/dist/radio-list.cjs +1 -0
  348. package/dist/radio-list.d.ts +1 -0
  349. package/dist/radio-list.js +1 -0
  350. package/dist/radio.cjs +1 -0
  351. package/dist/radio.d.ts +1 -0
  352. package/dist/radio.js +3 -0
  353. package/dist/result-page.cjs +1 -0
  354. package/dist/result-page.d.ts +1 -0
  355. package/dist/result-page.js +1 -0
  356. package/dist/ruler.cjs +1 -0
  357. package/dist/ruler.d.ts +1 -0
  358. package/dist/ruler.js +1 -0
  359. package/dist/scroll-view.cjs +1 -0
  360. package/dist/scroll-view.d.ts +1 -0
  361. package/dist/scroll-view.js +3 -0
  362. package/dist/selector.cjs +1 -0
  363. package/dist/selector.d.ts +1 -0
  364. package/dist/selector.js +1 -0
  365. package/dist/shared-C9XlLe7F.js +36 -0
  366. package/dist/shared-k9cbQbvK.cjs +1 -0
  367. package/dist/skeleton.cjs +1 -0
  368. package/dist/skeleton.d.ts +1 -0
  369. package/dist/skeleton.js +1 -0
  370. package/dist/slider.cjs +1 -0
  371. package/dist/slider.d.ts +1 -0
  372. package/dist/slider.js +1 -0
  373. package/dist/stepper.cjs +1 -0
  374. package/dist/stepper.d.ts +1 -0
  375. package/dist/stepper.js +1 -0
  376. package/dist/steps.cjs +1 -0
  377. package/dist/steps.d.ts +1 -0
  378. package/dist/steps.js +1 -0
  379. package/dist/swiper.cjs +1 -0
  380. package/dist/swiper.d.ts +1 -0
  381. package/dist/swiper.js +1 -0
  382. package/dist/switch.cjs +1 -0
  383. package/dist/switch.d.ts +1 -0
  384. package/dist/switch.js +1 -0
  385. package/dist/tab-picker.cjs +1 -0
  386. package/dist/tab-picker.d.ts +1 -0
  387. package/dist/tab-picker.js +1 -0
  388. package/dist/tabs.cjs +1 -0
  389. package/dist/tabs.d.ts +1 -0
  390. package/dist/tabs.js +1 -0
  391. package/dist/tag.cjs +1 -0
  392. package/dist/tag.d.ts +1 -0
  393. package/dist/tag.js +1 -0
  394. package/dist/textarea-item.cjs +1 -0
  395. package/dist/textarea-item.d.ts +1 -0
  396. package/dist/textarea-item.js +1 -0
  397. package/dist/tip.cjs +1 -0
  398. package/dist/tip.d.ts +1 -0
  399. package/dist/tip.js +1 -0
  400. package/dist/toast-ByIFvpMs.js +146 -0
  401. package/dist/toast-C1K2_cOo.cjs +1 -0
  402. package/dist/toast.cjs +1 -0
  403. package/dist/toast.d.ts +2 -0
  404. package/dist/toast.js +1 -0
  405. package/dist/transition.cjs +1 -0
  406. package/dist/transition.d.ts +1 -0
  407. package/dist/transition.js +1 -0
  408. package/dist/water-mark.cjs +1 -0
  409. package/dist/water-mark.d.ts +1 -0
  410. package/dist/water-mark.js +1 -0
  411. package/package.json +296 -3
@@ -0,0 +1,129 @@
1
+ import { Ref } from 'vue';
2
+ import { default as CuToast } from './Toast.vue';
3
+ export interface ToastProps {
4
+ content?: string | number;
5
+ icon?: string;
6
+ iconSvg?: boolean;
7
+ duration?: number;
8
+ position?: string;
9
+ hasMask?: boolean;
10
+ parentNode?: HTMLElement;
11
+ square?: boolean;
12
+ }
13
+ /** 对外暴露 v2 形态:visible 为解包后的布尔值 */
14
+ interface ToastVm {
15
+ visible: boolean;
16
+ show: () => void;
17
+ hide: () => void;
18
+ }
19
+ /**
20
+ * Toast factory
21
+ *
22
+ * @param props
23
+ * @return Toast vm(含 show/hide/visible)
24
+ */
25
+ declare const Toast: {
26
+ (props?: ToastProps): ToastVm;
27
+ hide(): void;
28
+ info(content?: string | number, duration?: number, hasMask?: boolean, parentNode?: HTMLElement, square?: boolean): ToastVm;
29
+ succeed(content?: string | number, duration?: number, hasMask?: boolean, parentNode?: HTMLElement, square?: boolean): ToastVm;
30
+ failed(content?: string | number, duration?: number, hasMask?: boolean, parentNode?: HTMLElement, square?: boolean): ToastVm;
31
+ loading(content?: string | number, duration?: number, hasMask?: boolean, parentNode?: HTMLElement, square?: boolean): ToastVm;
32
+ component: {
33
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
34
+ icon?: string;
35
+ iconSvg?: boolean;
36
+ content?: string | number;
37
+ duration?: number;
38
+ position?: string;
39
+ hasMask?: boolean;
40
+ square?: boolean;
41
+ }> & Readonly<{
42
+ onShow?: (() => any) | undefined;
43
+ onHide?: (() => any) | undefined;
44
+ }>, {
45
+ visible: Ref<boolean, boolean>;
46
+ show: () => void;
47
+ hide: () => void;
48
+ fire: () => void;
49
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
50
+ show: () => any;
51
+ hide: () => any;
52
+ }, import('vue').PublicProps, {
53
+ square: boolean;
54
+ duration: number;
55
+ content: string | number;
56
+ icon: string;
57
+ iconSvg: boolean;
58
+ hasMask: boolean;
59
+ position: string;
60
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
61
+ P: {};
62
+ B: {};
63
+ D: {};
64
+ C: {};
65
+ M: {};
66
+ Defaults: {};
67
+ }, Readonly<{
68
+ icon?: string;
69
+ iconSvg?: boolean;
70
+ content?: string | number;
71
+ duration?: number;
72
+ position?: string;
73
+ hasMask?: boolean;
74
+ square?: boolean;
75
+ }> & Readonly<{
76
+ onShow?: (() => any) | undefined;
77
+ onHide?: (() => any) | undefined;
78
+ }>, {
79
+ visible: Ref<boolean, boolean>;
80
+ show: () => void;
81
+ hide: () => void;
82
+ fire: () => void;
83
+ }, {}, {}, {}, {
84
+ square: boolean;
85
+ duration: number;
86
+ content: string | number;
87
+ icon: string;
88
+ iconSvg: boolean;
89
+ hasMask: boolean;
90
+ position: string;
91
+ }>;
92
+ __isFragment?: never;
93
+ __isTeleport?: never;
94
+ __isSuspense?: never;
95
+ } & import('vue').ComponentOptionsBase<Readonly<{
96
+ icon?: string;
97
+ iconSvg?: boolean;
98
+ content?: string | number;
99
+ duration?: number;
100
+ position?: string;
101
+ hasMask?: boolean;
102
+ square?: boolean;
103
+ }> & Readonly<{
104
+ onShow?: (() => any) | undefined;
105
+ onHide?: (() => any) | undefined;
106
+ }>, {
107
+ visible: Ref<boolean, boolean>;
108
+ show: () => void;
109
+ hide: () => void;
110
+ fire: () => void;
111
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
112
+ show: () => any;
113
+ hide: () => any;
114
+ }, string, {
115
+ square: boolean;
116
+ duration: number;
117
+ content: string | number;
118
+ icon: string;
119
+ iconSvg: boolean;
120
+ hasMask: boolean;
121
+ position: string;
122
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
123
+ $slots: {
124
+ default?: (props: {}) => any;
125
+ };
126
+ });
127
+ };
128
+ export { CuToast };
129
+ export default Toast;
@@ -0,0 +1,13 @@
1
+ declare var __VLS_7: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_7) => any;
4
+ };
5
+ declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -0,0 +1 @@
1
+ export { default as CuTransition } from './Transition.vue';
@@ -0,0 +1,35 @@
1
+ type __VLS_Props = {
2
+ content?: string;
3
+ spacing?: string | number;
4
+ repeatX?: boolean;
5
+ repeatY?: boolean;
6
+ rotate?: string | number;
7
+ opacity?: string | number;
8
+ };
9
+ declare var __VLS_1: {}, __VLS_3: {
10
+ coord: {
11
+ row: number;
12
+ col: number;
13
+ };
14
+ };
15
+ type __VLS_Slots = {} & {
16
+ default?: (props: typeof __VLS_1) => any;
17
+ } & {
18
+ watermark?: (props: typeof __VLS_3) => any;
19
+ };
20
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
21
+ rotate: string | number;
22
+ content: string;
23
+ spacing: string | number;
24
+ repeatX: boolean;
25
+ repeatY: boolean;
26
+ opacity: string | number;
27
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
28
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
29
+ declare const _default: typeof __VLS_export;
30
+ export default _default;
31
+ type __VLS_WithSlots<T, S> = T & {
32
+ new (): {
33
+ $slots: S;
34
+ };
35
+ };
@@ -0,0 +1 @@
1
+ export { default as CuWaterMark } from './WaterMark.vue';
@@ -0,0 +1,11 @@
1
+ // src/components/input-item/cursor.ts
2
+ function e(e) {
3
+ return e && (e.selectionStart || e.selectionStart === 0) ? e.selectionStart : 0;
4
+ }
5
+ var t = null;
6
+ function n(e, n) {
7
+ e && (t && clearTimeout(t), t = setTimeout(() => {
8
+ e.setSelectionRange && (e.focus(), e.setSelectionRange(n, n));
9
+ }, 0));
10
+ }
11
+ export { n, e as t };
@@ -0,0 +1 @@
1
+ function e(e){return e&&(e.selectionStart||e.selectionStart===0)?e.selectionStart:0}var t=null;function n(e,n){e&&(t&&clearTimeout(t),t=setTimeout(()=>{e.setSelectionRange&&(e.focus(),e.setSelectionRange(n,n))},0))}Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return e}});
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./DatePicker-CCU6gqG3.cjs");exports.CuDatePicker=e.t;
@@ -0,0 +1 @@
1
+ export * from './components/date-picker';
@@ -0,0 +1 @@
1
+ export { t as CuDatePicker } from "./DatePicker-CYvPJatt.js";
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./DetailItem-DDJXXao0.cjs");exports.CuDetailItem=e.t;
@@ -0,0 +1 @@
1
+ export * from './components/detail-item';
@@ -0,0 +1 @@
1
+ export { t as CuDetailItem } from "./DetailItem-D6-zbZmd.js";
@@ -0,0 +1 @@
1
+ const e=require("./Dialog-208_XUAL.cjs");let t=require("vue"),n=require("@centui/core");var r=()=>{},i=[];function a({title:n=``,icon:a=``,iconSvg:o=!0,content:s=``,closable:c=!1,transition:l=`cu-bounce`,btns:u=[],onShow:d=r,onHide:f=r}){let p=document.createElement(`div`);document.body.appendChild(p);let m=!0,h=()=>{let r=(0,t.createVNode)(e.t,{modelValue:m,title:n,icon:a,iconSvg:o,content:s,closable:c,btns:u,transition:l,preventScroll:!0,"onUpdate:modelValue":e=>{e||g.close()},onShow:d,onHide:()=>{let e=i.indexOf(g);e>=0&&i.splice(e,1),(0,t.render)(null,p),p.remove(),f()}});(0,t.render)(r,p)},g={close:()=>{m&&(m=!1,h())}};return i.push(g),h(),g}var o=e.t;o.confirm=({title:e=``,icon:t=``,iconSvg:i=!0,content:o=``,cancelText:s=String((0,n.t)(`md.dialog.cancel`)),cancelWarning:c=!1,confirmText:l=String((0,n.t)(`md.dialog.confirm`)),confirmWarning:u=!1,closable:d=!1,transition:f,onConfirm:p=r,onCancel:m=r,onShow:h=r,onHide:g=r})=>{let _=a({title:e,icon:t,iconSvg:i,content:o,closable:d,transition:f,onShow:h,onHide:g,btns:[{text:s,warning:c,handler:()=>{m()!==!1&&_.close()}},{text:l,warning:u,handler:()=>{p()!==!1&&_.close()}}]});return _},o.alert=({title:e=``,icon:t=``,iconSvg:i=!0,content:o=``,confirmText:s=String((0,n.t)(`md.dialog.confirm`)),closable:c=!1,warning:l=!1,transition:u,onConfirm:d=r,onShow:f=r,onHide:p=r})=>{let m=a({title:e,icon:t,iconSvg:i,content:o,closable:c,transition:u,onShow:f,onHide:p,btns:[{text:s,warning:l,handler:()=>{d()!==!1&&m.close()}}]});return m},o.succeed=e=>o.confirm({...e,icon:`success-color`}),o.failed=e=>o.confirm({...e,icon:`warn-color`}),o.closeAll=()=>{i.forEach(e=>{e.close()})},Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return o}});
@@ -0,0 +1,91 @@
1
+ import { t as e } from "./Dialog-Bb7Gth3j.js";
2
+ import { createVNode as t, render as n } from "vue";
3
+ import { t as r } from "@centui/core";
4
+ // src/components/dialog/index.ts
5
+ var i = () => {}, a = [];
6
+ function o({ title: r = "", icon: o = "", iconSvg: s = !0, content: c = "", closable: l = !1, transition: u = "cu-bounce", btns: d = [], onShow: f = i, onHide: p = i }) {
7
+ let m = document.createElement("div");
8
+ document.body.appendChild(m);
9
+ let h = !0, g = () => {
10
+ let i = t(e, {
11
+ modelValue: h,
12
+ title: r,
13
+ icon: o,
14
+ iconSvg: s,
15
+ content: c,
16
+ closable: l,
17
+ btns: d,
18
+ transition: u,
19
+ preventScroll: !0,
20
+ "onUpdate:modelValue": (e) => {
21
+ e || _.close();
22
+ },
23
+ onShow: f,
24
+ onHide: () => {
25
+ let e = a.indexOf(_);
26
+ e >= 0 && a.splice(e, 1), n(null, m), m.remove(), p();
27
+ }
28
+ });
29
+ n(i, m);
30
+ }, _ = { close: () => {
31
+ h && (h = !1, g());
32
+ } };
33
+ return a.push(_), g(), _;
34
+ }
35
+ var s = e;
36
+ s.confirm = ({ title: e = "", icon: t = "", iconSvg: n = !0, content: a = "", cancelText: s = String(r("md.dialog.cancel")), cancelWarning: c = !1, confirmText: l = String(r("md.dialog.confirm")), confirmWarning: u = !1, closable: d = !1, transition: f, onConfirm: p = i, onCancel: m = i, onShow: h = i, onHide: g = i }) => {
37
+ let _ = o({
38
+ title: e,
39
+ icon: t,
40
+ iconSvg: n,
41
+ content: a,
42
+ closable: d,
43
+ transition: f,
44
+ onShow: h,
45
+ onHide: g,
46
+ btns: [{
47
+ text: s,
48
+ warning: c,
49
+ handler: () => {
50
+ m() !== !1 && _.close();
51
+ }
52
+ }, {
53
+ text: l,
54
+ warning: u,
55
+ handler: () => {
56
+ p() !== !1 && _.close();
57
+ }
58
+ }]
59
+ });
60
+ return _;
61
+ }, s.alert = ({ title: e = "", icon: t = "", iconSvg: n = !0, content: a = "", confirmText: s = String(r("md.dialog.confirm")), closable: c = !1, warning: l = !1, transition: u, onConfirm: d = i, onShow: f = i, onHide: p = i }) => {
62
+ let m = o({
63
+ title: e,
64
+ icon: t,
65
+ iconSvg: n,
66
+ content: a,
67
+ closable: c,
68
+ transition: u,
69
+ onShow: f,
70
+ onHide: p,
71
+ btns: [{
72
+ text: s,
73
+ warning: l,
74
+ handler: () => {
75
+ d() !== !1 && m.close();
76
+ }
77
+ }]
78
+ });
79
+ return m;
80
+ }, s.succeed = (e) => s.confirm({
81
+ ...e,
82
+ icon: "success-color"
83
+ }), s.failed = (e) => s.confirm({
84
+ ...e,
85
+ icon: "warn-color"
86
+ }), s.closeAll = () => {
87
+ a.forEach((e) => {
88
+ e.close();
89
+ });
90
+ };
91
+ export { s as t };
@@ -0,0 +1 @@
1
+ Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("./Dialog-208_XUAL.cjs"),t=require("./dialog-C38EDWGJ.cjs");exports.CuDialog=e.t,exports.default=t.t;
@@ -0,0 +1,2 @@
1
+ export * from './components/dialog';
2
+ export { default } from './components/dialog';
package/dist/dialog.js ADDED
@@ -0,0 +1,3 @@
1
+ import { t as e } from "./Dialog-Bb7Gth3j.js";
2
+ import { t } from "./dialog-DdNA6YSe.js";
3
+ export { e as CuDialog, t as default };
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./DropMenu-D_ZMGOOi.cjs");exports.CuDropMenu=e.t;
@@ -0,0 +1 @@
1
+ export * from './components/drop-menu';
@@ -0,0 +1 @@
1
+ export { t as CuDropMenu } from "./DropMenu-5TA_6bas.js";
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./FieldItem-UFKrl_5J.cjs");exports.CuFieldItem=e.t;
@@ -0,0 +1 @@
1
+ export * from './components/field-item';
@@ -0,0 +1 @@
1
+ export { t as CuFieldItem } from "./FieldItem-D79w330m.js";
package/dist/field.cjs ADDED
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./Field-DDmHa4zB.cjs");exports.CuField=e.t;
@@ -0,0 +1 @@
1
+ export * from './components/field';
package/dist/field.js ADDED
@@ -0,0 +1 @@
1
+ export { t as CuField } from "./Field-0hdNWFNm.js";
package/dist/icon.cjs ADDED
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./Icon-83WWqE5z.cjs");exports.CuIcon=e.t;
package/dist/icon.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './components/icon';
package/dist/icon.js ADDED
@@ -0,0 +1 @@
1
+ export { t as CuIcon } from "./Icon-BgCtu0ZV.js";
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./ImageReader-DjshA_hh.cjs");exports.CuImageReader=e.t;
@@ -0,0 +1 @@
1
+ export * from './components/image-reader';
@@ -0,0 +1 @@
1
+ export { t as CuImageReader } from "./ImageReader-hUb5CEbV.js";
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./ImageViewer-BCEK4DOF.cjs");exports.CuImageViewer=e.t;
@@ -0,0 +1 @@
1
+ export * from './components/image-viewer';
@@ -0,0 +1 @@
1
+ export { t as CuImageViewer } from "./ImageViewer-_dTRCIsV.js";
package/dist/index.cjs ADDED
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./Icon-83WWqE5z.cjs"),t=require("./Roller-DALhjhfg.cjs"),n=require("./ActivityIndicator-BOZRJBDn.cjs"),r=require("./Popup-Ca1jPi0t.cjs"),i=require("./Button-Bu8liJQE.cjs"),a=require("./Tag-CIA2npnD.cjs"),o=require("./Amount-CU7Oc4vv.cjs"),s=require("./CellItem-J0LkwZNL.cjs"),c=require("./Skeleton--SCiydNl.cjs"),l=require("./NoticeBar-CV355FeO.cjs"),ee=require("./Progress-CT-LHaQ0.cjs"),u=require("./Switch-CghubImq.cjs"),d=require("./Agree-ZswFiFNy.cjs"),te=require("./Stepper-n_mc16V2.cjs"),ne=require("./PopupTitleBar-Bfl49eYJ.cjs"),f=require("./toast-C1K2_cOo.cjs"),p=require("./dialog-C38EDWGJ.cjs"),m=require("./Dialog-208_XUAL.cjs"),h=require("./action-sheet-BjaReHkr.cjs"),g=require("./Tip-De_3tKtb.cjs"),_=require("./Field-DDmHa4zB.cjs"),v=require("./CheckBoxBase-CobK6-tL.cjs"),y=require("./CheckList-BsKo_Fl3.cjs"),b=require("./CheckBox-DDeCshDK.cjs"),x=require("./Radio-B_MxJ65X.cjs"),S=require("./RadioGroup-B6ukqnm5.cjs"),C=require("./RadioList-D-9PITpr.cjs"),w=require("./FieldItem-UFKrl_5J.cjs"),T=require("./InputItem-DO5Yo_IH.cjs"),E=require("./NumberKeyboard-BWpxsbYt.cjs"),D=require("./Codebox-yLkdTU7w.cjs"),O=require("./Picker-BOEGTBaN.cjs"),k=require("./DatePicker-CCU6gqG3.cjs"),A=require("./ScrollView-BnadVBJC.cjs"),j=require("./ScrollViewMore-BL1vpyMj.cjs"),M=require("./SwiperItem-BY5cUoGn.cjs"),N=require("./Slider-vV7_nULf.cjs"),P=require("./ActionBar-Bs5fkyFH.cjs"),F=require("./DetailItem-DDJXXao0.cjs"),I=require("./TextareaItem-Du5nl7tv.cjs"),L=require("./Steps-Dfpmgl8B.cjs"),R=require("./TabPane-BCVsdptu.cjs"),z=require("./Transition-Bwbqr4Xr.cjs"),B=require("./WaterMark-M81jg6T5.cjs"),V=require("./ResultPage-YQWDaFmz.cjs"),H=require("./Ruler-CEzB0oqG.cjs"),U=require("./Landscape-BsHyoM4N.cjs"),W=require("./Selector-DnFvOGbv.cjs"),G=require("./DropMenu-D_ZMGOOi.cjs"),K=require("./TabPicker-BcL9assY.cjs"),q=require("./Bill-DDVs3Lu3.cjs"),J=require("./ImageViewer-BCEK4DOF.cjs"),Y=require("./Captcha-BEF-de8-.cjs"),X=require("./Chart-DJ0Q1g1P.cjs"),Z=require("./ImageReader-DjshA_hh.cjs"),Q=require("./LicensePlate-CfwpVw0G.cjs"),$=require("./Cashier-CLJngM0n.cjs"),re=require("./RollerSuccess-BbMzNlkv.cjs");var ie=`3.1.0`;exports.ActionSheet=h.t,exports.CuActionBar=P.t,exports.CuActionSheet=h.n,exports.CuActivityIndicator=n.t,exports.CuActivityIndicatorCarousel=n.n,exports.CuActivityIndicatorRolling=t.t,exports.CuActivityIndicatorSpinning=n.r,exports.CuAgree=d.t,exports.CuAmount=o.t,exports.CuBill=q.t,exports.CuButton=i.t,exports.CuCaptcha=Y.t,exports.CuCashier=$.t,exports.CuCashierChannel=$.r,exports.CuCashierChannelButton=$.n,exports.CuCashierChannelItem=$.i,exports.CuCellItem=s.t,exports.CuChart=X.t,exports.CuCheck=y.r,exports.CuCheckBaseBox=v.t,exports.CuCheckBox=b.t,exports.CuCheckGroup=y.n,exports.CuCheckList=y.t,exports.CuCodebox=D.t,exports.CuDatePicker=k.t,exports.CuDetailItem=F.t,exports.CuDialog=m.t,exports.CuDropMenu=G.t,exports.CuField=_.t,exports.CuFieldItem=w.t,exports.CuIcon=e.t,exports.CuImageReader=Z.t,exports.CuImageViewer=J.t,exports.CuInputItem=T.t,exports.CuLandscape=U.t,exports.CuLicensePlate=Q.t,exports.CuLicensePlateInput=Q.r,exports.CuLicensePlateKeyboard=Q.n,exports.CuNoticeBar=l.t,exports.CuNumberKey=E.r,exports.CuNumberKeyboard=E.t,exports.CuNumberKeyboardContainer=E.n,exports.CuPicker=O.t,exports.CuPickerColumn=O.n,exports.CuPopup=r.t,exports.CuPopupTitleBar=ne.t,exports.CuProgress=ee.t,exports.CuRadio=x.t,exports.CuRadioBox=S.n,exports.CuRadioGroup=S.t,exports.CuRadioList=C.t,exports.CuResultPage=V.t,exports.CuRollerSuccess=re.t,exports.CuRuler=H.t,exports.CuScrollView=A.t,exports.CuScrollViewMore=j.t,exports.CuScrollViewRefresh=j.n,exports.CuSelector=W.t,exports.CuSkeleton=c.t,exports.CuSlider=N.t,exports.CuStepper=te.t,exports.CuSteps=L.t,exports.CuSwiper=M.n,exports.CuSwiperItem=M.t,exports.CuSwitch=u.t,exports.CuTabBar=R.r,exports.CuTabPane=R.t,exports.CuTabPicker=K.t,exports.CuTabs=R.n,exports.CuTag=a.t,exports.CuTextareaItem=I.t,exports.CuTip=g.t,exports.CuTipContent=g.n,exports.CuToast=f.n,exports.CuTransition=z.t,exports.CuWaterMark=B.t,exports.Dialog=p.t,exports.Toast=f.t,exports.VERSION=ie;
@@ -0,0 +1,64 @@
1
+ /**
2
+ * centui v3(Vue 3 版)主入口。
3
+ *
4
+ * 样式不内嵌:请配合 @centui/styles 使用,按需引入
5
+ * `@centui/styles/es/<component>.css` 或全量 `@centui/styles`。
6
+ */
7
+ /** 包版本:构建时由 vite define 注入(见 vite.config.ts),测试环境回退 0.0.0 */
8
+ export declare const VERSION: string;
9
+ export * from './components/icon';
10
+ export * from './components/activity-indicator';
11
+ export * from './components/button';
12
+ export * from './components/tag';
13
+ export * from './components/amount';
14
+ export * from './components/cell-item';
15
+ export * from './components/skeleton';
16
+ export * from './components/notice-bar';
17
+ export * from './components/progress';
18
+ export * from './components/switch';
19
+ export * from './components/agree';
20
+ export * from './components/stepper';
21
+ export { CuPopup, CuPopupTitleBar } from './components/popup';
22
+ export { CuToast, default as Toast } from './components/toast';
23
+ export { CuDialog, default as Dialog } from './components/dialog';
24
+ export { CuActionSheet, default as ActionSheet } from './components/action-sheet';
25
+ export { CuTip, CuTipContent } from './components/tip';
26
+ export { CuField } from './components/field';
27
+ export { CuCheckBaseBox } from './components/check-base';
28
+ export { CuCheck, CuCheckBox, CuCheckGroup, CuCheckList, type CheckListOption, } from './components/check';
29
+ export { CuRadio, CuRadioBox, CuRadioGroup } from './components/radio';
30
+ export { CuRadioList, type RadioListOption } from './components/radio-list';
31
+ export { CuFieldItem } from './components/field-item';
32
+ export { CuInputItem } from './components/input-item';
33
+ export { CuNumberKeyboard, CuNumberKeyboardContainer, CuNumberKey, } from './components/number-keyboard';
34
+ export { CuCodebox } from './components/codebox';
35
+ export { CuPicker, CuPickerColumn, type PickerColumnItem } from './components/picker';
36
+ export { CuDatePicker } from './components/date-picker';
37
+ export { CuScrollView, CuScrollViewRefresh, CuScrollViewMore } from './components/scroll-view';
38
+ export { CuSwiper, CuSwiperItem } from './components/swiper';
39
+ export { CuSlider } from './components/slider';
40
+ export { CuActionBar, type ActionBarAction } from './components/action-bar';
41
+ export { CuDetailItem } from './components/detail-item';
42
+ export { CuTextareaItem } from './components/textarea-item';
43
+ export { CuSteps, type StepItem } from './components/steps';
44
+ export { CuTabs, CuTabBar, CuTabPane, type TabBarItem } from './components/tabs';
45
+ export { CuTransition } from './components/transition';
46
+ export { CuWaterMark } from './components/water-mark';
47
+ export { CuResultPage, type ResultPageButton } from './components/result-page';
48
+ export { CuRuler } from './components/ruler';
49
+ export { CuLandscape } from './components/landscape';
50
+ export { CuSelector, type SelectorItem } from './components/selector';
51
+ export { CuDropMenu, type DropMenuItem } from './components/drop-menu';
52
+ export { CuTabPicker, type TabPickerNode } from './components/tab-picker';
53
+ export { CuBill } from './components/bill';
54
+ export { CuImageViewer, type ImageViewerItem } from './components/image-viewer';
55
+ export { CuCaptcha } from './components/captcha';
56
+ export { CuChart, type ChartDataset } from './components/chart';
57
+ export { CuImageReader } from './components/image-reader';
58
+ export { CuLicensePlate, CuLicensePlateInput, CuLicensePlateKeyboard, type LicenseKeyItem, } from './components/license-plate';
59
+ export { CuCashier, CuCashierChannel, CuCashierChannelButton, CuCashierChannelItem, type CashierScene, type CashierChannel, } from './components/cashier';
60
+ export { CuRollerSuccess } from './components/activity-indicator';
61
+ export type { ToastProps } from './components/toast';
62
+ export type { DialogBtn, DialogConfirmOptions, DialogAlertOptions } from './components/dialog';
63
+ export type { ActionSheetOption, ActionSheetCreateProps } from './components/action-sheet';
64
+ export type { ComponentName } from './components';
package/dist/index.js ADDED
@@ -0,0 +1,61 @@
1
+ import { t as e } from "./Icon-BgCtu0ZV.js";
2
+ import { t } from "./Roller-BznN57fL.js";
3
+ import { n, r, t as i } from "./ActivityIndicator-Cp20c1E0.js";
4
+ import { t as a } from "./Popup-qLk-BsRS.js";
5
+ import { t as o } from "./Button-D7e-cuA1.js";
6
+ import { t as s } from "./Tag-C7ygxOwU.js";
7
+ import { t as c } from "./Amount-B2StZGGW.js";
8
+ import { t as l } from "./CellItem-BHEh4Cp-.js";
9
+ import { t as u } from "./Skeleton-DqA5IxL5.js";
10
+ import { t as d } from "./NoticeBar-G5aKL6VO.js";
11
+ import { t as f } from "./Progress-Clet0W_n.js";
12
+ import { t as p } from "./Switch-B1rsBY-M.js";
13
+ import { t as m } from "./Agree-lAcOo38C.js";
14
+ import { t as h } from "./Stepper-BnDhL8IO.js";
15
+ import { t as g } from "./PopupTitleBar-9P4RUMC1.js";
16
+ import { n as _, t as v } from "./toast-ByIFvpMs.js";
17
+ import { t as y } from "./dialog-DdNA6YSe.js";
18
+ import { t as b } from "./Dialog-Bb7Gth3j.js";
19
+ import { n as x, t as S } from "./action-sheet-Da8dHevy.js";
20
+ import { n as C, t as w } from "./Tip-DHPmevlv.js";
21
+ import { t as T } from "./Field-0hdNWFNm.js";
22
+ import { t as E } from "./CheckBoxBase-BIPGJ-TD.js";
23
+ import { n as D, r as O, t as k } from "./CheckList-ViiCo4yi.js";
24
+ import { t as A } from "./CheckBox-D5bCJUXD.js";
25
+ import { t as j } from "./Radio-DY-ZX0BP.js";
26
+ import { n as M, t as N } from "./RadioGroup-B00aqM9e.js";
27
+ import { t as P } from "./RadioList-DNGsEzgf.js";
28
+ import { t as F } from "./FieldItem-D79w330m.js";
29
+ import { t as I } from "./InputItem-yHsLFvKt.js";
30
+ import { n as L, r as R, t as z } from "./NumberKeyboard-B_TJXxki.js";
31
+ import { t as B } from "./Codebox-BLPrFnIv.js";
32
+ import { n as V, t as H } from "./Picker-CA-JQ_OC.js";
33
+ import { t as U } from "./DatePicker-CYvPJatt.js";
34
+ import { t as W } from "./ScrollView-BNY62f7B.js";
35
+ import { n as G, t as K } from "./ScrollViewMore-DBhoiI1X.js";
36
+ import { n as q, t as J } from "./SwiperItem-BydyBdYU.js";
37
+ import { t as Y } from "./Slider-BB2Nhpys.js";
38
+ import { t as X } from "./ActionBar-CF1zMUMC.js";
39
+ import { t as Z } from "./DetailItem-D6-zbZmd.js";
40
+ import { t as Q } from "./TextareaItem-Dl-PCLl-.js";
41
+ import { t as $ } from "./Steps-BPQwab3T.js";
42
+ import { n as ee, r as te, t as ne } from "./TabPane-Q7oUFzmP.js";
43
+ import { t as re } from "./Transition-B-baX512.js";
44
+ import { t as ie } from "./WaterMark-CgkuQjv3.js";
45
+ import { t as ae } from "./ResultPage-DUs8ok5R.js";
46
+ import { t as oe } from "./Ruler-Bhf5J7hU.js";
47
+ import { t as se } from "./Landscape-Dd0abEy1.js";
48
+ import { t as ce } from "./Selector-DOU8Af55.js";
49
+ import { t as le } from "./DropMenu-5TA_6bas.js";
50
+ import { t as ue } from "./TabPicker-BicPrto7.js";
51
+ import { t as de } from "./Bill-qQ4LdkmR.js";
52
+ import { t as fe } from "./ImageViewer-_dTRCIsV.js";
53
+ import { t as pe } from "./Captcha-CgpynYTc.js";
54
+ import { t as me } from "./Chart-BINJAx7V.js";
55
+ import { t as he } from "./ImageReader-hUb5CEbV.js";
56
+ import { n as ge, r as _e, t as ve } from "./LicensePlate-CTcAIbcb.js";
57
+ import { i as ye, n as be, r as xe, t as Se } from "./Cashier-CJLfQOXm.js";
58
+ import { t as Ce } from "./RollerSuccess-CTh43Rh0.js";
59
+ // src/index.ts
60
+ var we = "3.1.0";
61
+ export { S as ActionSheet, X as CuActionBar, x as CuActionSheet, i as CuActivityIndicator, n as CuActivityIndicatorCarousel, t as CuActivityIndicatorRolling, r as CuActivityIndicatorSpinning, m as CuAgree, c as CuAmount, de as CuBill, o as CuButton, pe as CuCaptcha, Se as CuCashier, xe as CuCashierChannel, be as CuCashierChannelButton, ye as CuCashierChannelItem, l as CuCellItem, me as CuChart, O as CuCheck, E as CuCheckBaseBox, A as CuCheckBox, D as CuCheckGroup, k as CuCheckList, B as CuCodebox, U as CuDatePicker, Z as CuDetailItem, b as CuDialog, le as CuDropMenu, T as CuField, F as CuFieldItem, e as CuIcon, he as CuImageReader, fe as CuImageViewer, I as CuInputItem, se as CuLandscape, ve as CuLicensePlate, _e as CuLicensePlateInput, ge as CuLicensePlateKeyboard, d as CuNoticeBar, R as CuNumberKey, z as CuNumberKeyboard, L as CuNumberKeyboardContainer, H as CuPicker, V as CuPickerColumn, a as CuPopup, g as CuPopupTitleBar, f as CuProgress, j as CuRadio, M as CuRadioBox, N as CuRadioGroup, P as CuRadioList, ae as CuResultPage, Ce as CuRollerSuccess, oe as CuRuler, W as CuScrollView, K as CuScrollViewMore, G as CuScrollViewRefresh, ce as CuSelector, u as CuSkeleton, Y as CuSlider, h as CuStepper, $ as CuSteps, q as CuSwiper, J as CuSwiperItem, p as CuSwitch, te as CuTabBar, ne as CuTabPane, ue as CuTabPicker, ee as CuTabs, s as CuTag, Q as CuTextareaItem, w as CuTip, C as CuTipContent, _ as CuToast, re as CuTransition, ie as CuWaterMark, y as Dialog, v as Toast, we as VERSION };
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./InputItem-DO5Yo_IH.cjs");exports.CuInputItem=e.t;
@@ -0,0 +1 @@
1
+ export * from './components/input-item';
@@ -0,0 +1 @@
1
+ export { t as CuInputItem } from "./InputItem-yHsLFvKt.js";
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./Landscape-BsHyoM4N.cjs");exports.CuLandscape=e.t;
@@ -0,0 +1 @@
1
+ export * from './components/landscape';
@@ -0,0 +1 @@
1
+ export { t as CuLandscape } from "./Landscape-Dd0abEy1.js";
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./LicensePlate-CfwpVw0G.cjs");exports.CuLicensePlate=e.t,exports.CuLicensePlateInput=e.r,exports.CuLicensePlateKeyboard=e.n;
@@ -0,0 +1 @@
1
+ export * from './components/license-plate';
@@ -0,0 +1 @@
1
+ export { t as CuLicensePlate, r as CuLicensePlateInput, n as CuLicensePlateKeyboard } from "./LicensePlate-CTcAIbcb.js";
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./NoticeBar-CV355FeO.cjs");exports.CuNoticeBar=e.t;
@@ -0,0 +1 @@
1
+ export * from './components/notice-bar';
@@ -0,0 +1 @@
1
+ export { t as CuNoticeBar } from "./NoticeBar-G5aKL6VO.js";
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./NumberKeyboard-BWpxsbYt.cjs");exports.CuNumberKey=e.r,exports.CuNumberKeyboard=e.t,exports.CuNumberKeyboardContainer=e.n;
@@ -0,0 +1 @@
1
+ export * from './components/number-keyboard';
@@ -0,0 +1 @@
1
+ export { r as CuNumberKey, t as CuNumberKeyboard, n as CuNumberKeyboardContainer } from "./NumberKeyboard-B_TJXxki.js";
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./Picker-BOEGTBaN.cjs");exports.CuPicker=e.t,exports.CuPickerColumn=e.n;
@@ -0,0 +1 @@
1
+ export * from './components/picker';
package/dist/picker.js ADDED
@@ -0,0 +1 @@
1
+ export { t as CuPicker, n as CuPickerColumn } from "./Picker-CA-JQ_OC.js";
package/dist/popup.cjs ADDED
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./Popup-Ca1jPi0t.cjs"),t=require("./PopupTitleBar-Bfl49eYJ.cjs");exports.CuPopup=e.t,exports.CuPopupTitleBar=t.t;
@@ -0,0 +1 @@
1
+ export * from './components/popup';
package/dist/popup.js ADDED
@@ -0,0 +1,3 @@
1
+ import { t as e } from "./Popup-qLk-BsRS.js";
2
+ import { t } from "./PopupTitleBar-9P4RUMC1.js";
3
+ export { e as CuPopup, t as CuPopupTitleBar };
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./Progress-CT-LHaQ0.cjs");exports.CuProgress=e.t;
@@ -0,0 +1 @@
1
+ export * from './components/progress';
@@ -0,0 +1 @@
1
+ export { t as CuProgress } from "./Progress-Clet0W_n.js";
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./RadioList-D-9PITpr.cjs");exports.CuRadioList=e.t;
@@ -0,0 +1 @@
1
+ export * from './components/radio-list';
@@ -0,0 +1 @@
1
+ export { t as CuRadioList } from "./RadioList-DNGsEzgf.js";