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.
- package/LICENSE +433 -0
- package/README.md +54 -2
- package/dist/ActionBar-Bs5fkyFH.cjs +1 -0
- package/dist/ActionBar-CF1zMUMC.js +56 -0
- package/dist/ActivityIndicator-BOZRJBDn.cjs +1 -0
- package/dist/ActivityIndicator-Cp20c1E0.js +162 -0
- package/dist/Agree-ZswFiFNy.cjs +1 -0
- package/dist/Agree-lAcOo38C.js +43 -0
- package/dist/Amount-B2StZGGW.js +56 -0
- package/dist/Amount-CU7Oc4vv.cjs +1 -0
- package/dist/Bill-DDVs3Lu3.cjs +1 -0
- package/dist/Bill-qQ4LdkmR.js +58 -0
- package/dist/Button-Bu8liJQE.cjs +1 -0
- package/dist/Button-D7e-cuA1.js +60 -0
- package/dist/Captcha-BEF-de8-.cjs +1 -0
- package/dist/Captcha-CgpynYTc.js +283 -0
- package/dist/Cashier-CJLfQOXm.js +363 -0
- package/dist/Cashier-CLJngM0n.cjs +1 -0
- package/dist/CellItem-BHEh4Cp-.js +71 -0
- package/dist/CellItem-J0LkwZNL.cjs +1 -0
- package/dist/Chart-BINJAx7V.js +135 -0
- package/dist/Chart-DJ0Q1g1P.cjs +1 -0
- package/dist/CheckBox-D5bCJUXD.js +55 -0
- package/dist/CheckBox-DDeCshDK.cjs +1 -0
- package/dist/CheckBoxBase-BIPGJ-TD.js +43 -0
- package/dist/CheckBoxBase-CobK6-tL.cjs +1 -0
- package/dist/CheckList-BsKo_Fl3.cjs +1 -0
- package/dist/CheckList-ViiCo4yi.js +195 -0
- package/dist/Codebox-BLPrFnIv.js +188 -0
- package/dist/Codebox-yLkdTU7w.cjs +1 -0
- package/dist/DatePicker-CCU6gqG3.cjs +1 -0
- package/dist/DatePicker-CYvPJatt.js +175 -0
- package/dist/DetailItem-D6-zbZmd.js +21 -0
- package/dist/DetailItem-DDJXXao0.cjs +1 -0
- package/dist/Dialog-208_XUAL.cjs +1 -0
- package/dist/Dialog-Bb7Gth3j.js +148 -0
- package/dist/DropMenu-5TA_6bas.js +95 -0
- package/dist/DropMenu-D_ZMGOOi.cjs +1 -0
- package/dist/Field-0hdNWFNm.js +50 -0
- package/dist/Field-DDmHa4zB.cjs +1 -0
- package/dist/FieldItem-D79w330m.js +87 -0
- package/dist/FieldItem-UFKrl_5J.cjs +1 -0
- package/dist/Icon-83WWqE5z.cjs +31 -0
- package/dist/Icon-BgCtu0ZV.js +117 -0
- package/dist/ImageReader-DjshA_hh.cjs +1 -0
- package/dist/ImageReader-hUb5CEbV.js +122 -0
- package/dist/ImageViewer-BCEK4DOF.cjs +1 -0
- package/dist/ImageViewer-_dTRCIsV.js +68 -0
- package/dist/InputItem-DO5Yo_IH.cjs +1 -0
- package/dist/InputItem-yHsLFvKt.js +327 -0
- package/dist/Landscape-BsHyoM4N.cjs +1 -0
- package/dist/Landscape-Dd0abEy1.js +73 -0
- package/dist/LicensePlate-CTcAIbcb.js +201 -0
- package/dist/LicensePlate-CfwpVw0G.cjs +1 -0
- package/dist/NoticeBar-CV355FeO.cjs +1 -0
- package/dist/NoticeBar-G5aKL6VO.js +92 -0
- package/dist/NumberKeyboard-BWpxsbYt.cjs +1 -0
- package/dist/NumberKeyboard-B_TJXxki.js +335 -0
- package/dist/Picker-BOEGTBaN.cjs +1 -0
- package/dist/Picker-CA-JQ_OC.js +493 -0
- package/dist/Popup-Ca1jPi0t.cjs +1 -0
- package/dist/Popup-qLk-BsRS.js +116 -0
- package/dist/PopupTitleBar-9P4RUMC1.js +84 -0
- package/dist/PopupTitleBar-Bfl49eYJ.cjs +1 -0
- package/dist/Progress-CT-LHaQ0.cjs +1 -0
- package/dist/Progress-Clet0W_n.js +65 -0
- package/dist/Radio-B_MxJ65X.cjs +1 -0
- package/dist/Radio-DY-ZX0BP.js +67 -0
- package/dist/RadioGroup-B00aqM9e.js +84 -0
- package/dist/RadioGroup-B6ukqnm5.cjs +1 -0
- package/dist/RadioList-D-9PITpr.cjs +1 -0
- package/dist/RadioList-DNGsEzgf.js +125 -0
- package/dist/ResultPage-DUs8ok5R.js +64 -0
- package/dist/ResultPage-YQWDaFmz.cjs +1 -0
- package/dist/Roller-BznN57fL.js +91 -0
- package/dist/Roller-DALhjhfg.cjs +1 -0
- package/dist/RollerSuccess-BbMzNlkv.cjs +1 -0
- package/dist/RollerSuccess-CTh43Rh0.js +65 -0
- package/dist/Ruler-Bhf5J7hU.js +136 -0
- package/dist/Ruler-CEzB0oqG.cjs +1 -0
- package/dist/ScrollView-BNY62f7B.js +228 -0
- package/dist/ScrollView-BnadVBJC.cjs +1 -0
- package/dist/ScrollViewMore-BL1vpyMj.cjs +1 -0
- package/dist/ScrollViewMore-DBhoiI1X.js +54 -0
- package/dist/Selector-DOU8Af55.js +209 -0
- package/dist/Selector-DnFvOGbv.cjs +1 -0
- package/dist/Skeleton--SCiydNl.cjs +1 -0
- package/dist/Skeleton-DqA5IxL5.js +54 -0
- package/dist/Slider-BB2Nhpys.js +100 -0
- package/dist/Slider-vV7_nULf.cjs +1 -0
- package/dist/Stepper-BnDhL8IO.js +137 -0
- package/dist/Stepper-n_mc16V2.cjs +1 -0
- package/dist/Steps-BPQwab3T.js +157 -0
- package/dist/Steps-Dfpmgl8B.cjs +1 -0
- package/dist/SwiperItem-BY5cUoGn.cjs +1 -0
- package/dist/SwiperItem-BydyBdYU.js +323 -0
- package/dist/Switch-B1rsBY-M.js +31 -0
- package/dist/Switch-CghubImq.cjs +1 -0
- package/dist/TabPane-BCVsdptu.cjs +1 -0
- package/dist/TabPane-Q7oUFzmP.js +237 -0
- package/dist/TabPicker-BcL9assY.cjs +1 -0
- package/dist/TabPicker-BicPrto7.js +173 -0
- package/dist/Tag-C7ygxOwU.js +78 -0
- package/dist/Tag-CIA2npnD.cjs +1 -0
- package/dist/TextareaItem-Dl-PCLl-.js +168 -0
- package/dist/TextareaItem-Du5nl7tv.cjs +1 -0
- package/dist/Tip-DHPmevlv.js +165 -0
- package/dist/Tip-De_3tKtb.cjs +1 -0
- package/dist/Transition-B-baX512.js +14 -0
- package/dist/Transition-Bwbqr4Xr.cjs +1 -0
- package/dist/WaterMark-CgkuQjv3.js +103 -0
- package/dist/WaterMark-M81jg6T5.cjs +1 -0
- package/dist/action-bar.cjs +1 -0
- package/dist/action-bar.d.ts +1 -0
- package/dist/action-bar.js +1 -0
- package/dist/action-sheet-BjaReHkr.cjs +1 -0
- package/dist/action-sheet-Da8dHevy.js +121 -0
- package/dist/action-sheet.cjs +1 -0
- package/dist/action-sheet.d.ts +2 -0
- package/dist/action-sheet.js +1 -0
- package/dist/activity-indicator.cjs +1 -0
- package/dist/activity-indicator.d.ts +1 -0
- package/dist/activity-indicator.js +4 -0
- package/dist/agree.cjs +1 -0
- package/dist/agree.d.ts +1 -0
- package/dist/agree.js +1 -0
- package/dist/amount.cjs +1 -0
- package/dist/amount.d.ts +1 -0
- package/dist/amount.js +1 -0
- package/dist/bill.cjs +1 -0
- package/dist/bill.d.ts +1 -0
- package/dist/bill.js +1 -0
- package/dist/button.cjs +1 -0
- package/dist/button.d.ts +1 -0
- package/dist/button.js +1 -0
- package/dist/captcha.cjs +1 -0
- package/dist/captcha.d.ts +1 -0
- package/dist/captcha.js +1 -0
- package/dist/cashier.cjs +1 -0
- package/dist/cashier.d.ts +1 -0
- package/dist/cashier.js +1 -0
- package/dist/cell-item.cjs +1 -0
- package/dist/cell-item.d.ts +1 -0
- package/dist/cell-item.js +1 -0
- package/dist/chart.cjs +1 -0
- package/dist/chart.d.ts +1 -0
- package/dist/chart.js +1 -0
- package/dist/check-base.cjs +1 -0
- package/dist/check-base.d.ts +1 -0
- package/dist/check-base.js +1 -0
- package/dist/check.cjs +1 -0
- package/dist/check.d.ts +1 -0
- package/dist/check.js +3 -0
- package/dist/codebox.cjs +1 -0
- package/dist/codebox.d.ts +1 -0
- package/dist/codebox.js +1 -0
- package/dist/components/action-bar/ActionBar.vue.d.ts +34 -0
- package/dist/components/action-bar/index.d.ts +2 -0
- package/dist/components/action-sheet/ActionSheet.vue.d.ts +49 -0
- package/dist/components/action-sheet/index.d.ts +25 -0
- package/dist/components/activity-indicator/ActivityIndicator.vue.d.ts +31 -0
- package/dist/components/activity-indicator/Carousel.vue.d.ts +10 -0
- package/dist/components/activity-indicator/CarouselCircle.vue.d.ts +12 -0
- package/dist/components/activity-indicator/Roller.vue.d.ts +37 -0
- package/dist/components/activity-indicator/RollerSuccess.vue.d.ts +14 -0
- package/dist/components/activity-indicator/Spinning.vue.d.ts +10 -0
- package/dist/components/activity-indicator/index.d.ts +5 -0
- package/dist/components/agree/Agree.vue.d.ts +35 -0
- package/dist/components/agree/index.d.ts +1 -0
- package/dist/components/amount/Amount.vue.d.ts +25 -0
- package/dist/components/amount/index.d.ts +1 -0
- package/dist/components/bill/Bill.vue.d.ts +33 -0
- package/dist/components/bill/index.d.ts +1 -0
- package/dist/components/button/Button.vue.d.ts +38 -0
- package/dist/components/button/index.d.ts +1 -0
- package/dist/components/captcha/Captcha.vue.d.ts +76 -0
- package/dist/components/captcha/index.d.ts +1 -0
- package/dist/components/cashier/Cashier.vue.d.ts +101 -0
- package/dist/components/cashier/CashierChannel.vue.d.ts +58 -0
- package/dist/components/cashier/CashierChannelButton.vue.d.ts +14 -0
- package/dist/components/cashier/CashierChannelItem.vue.d.ts +30 -0
- package/dist/components/cashier/index.d.ts +4 -0
- package/dist/components/cell-item/CellItem.vue.d.ts +38 -0
- package/dist/components/cell-item/index.d.ts +1 -0
- package/dist/components/chart/Chart.vue.d.ts +30 -0
- package/dist/components/chart/index.d.ts +2 -0
- package/dist/components/check/Check.vue.d.ts +38 -0
- package/dist/components/check/CheckBox.vue.d.ts +31 -0
- package/dist/components/check/CheckGroup.vue.d.ts +27 -0
- package/dist/components/check/CheckList.vue.d.ts +58 -0
- package/dist/components/check/index.d.ts +6 -0
- package/dist/components/check/shared.d.ts +52 -0
- package/dist/components/check-base/CheckBoxBase.vue.d.ts +25 -0
- package/dist/components/check-base/index.d.ts +1 -0
- package/dist/components/codebox/Codebox.vue.d.ts +58 -0
- package/dist/components/codebox/index.d.ts +1 -0
- package/dist/components/date-picker/DatePicker.vue.d.ts +70 -0
- package/dist/components/date-picker/index.d.ts +1 -0
- package/dist/components/detail-item/DetailItem.vue.d.ts +22 -0
- package/dist/components/detail-item/index.d.ts +1 -0
- package/dist/components/dialog/Dialog.vue.d.ts +88 -0
- package/dist/components/dialog/index.d.ts +40 -0
- package/dist/components/drop-menu/DropMenu.vue.d.ts +55 -0
- package/dist/components/drop-menu/index.d.ts +1 -0
- package/dist/components/field/Field.vue.d.ts +30 -0
- package/dist/components/field/index.d.ts +1 -0
- package/dist/components/field-item/FieldItem.vue.d.ts +42 -0
- package/dist/components/field-item/index.d.ts +1 -0
- package/dist/components/icon/Icon.vue.d.ts +20 -0
- package/dist/components/icon/default-svg-list.d.ts +2 -0
- package/dist/components/icon/index.d.ts +1 -0
- package/dist/components/icon/load-sprite.d.ts +6 -0
- package/dist/components/image-reader/ImageReader.vue.d.ts +46 -0
- package/dist/components/image-reader/index.d.ts +1 -0
- package/dist/components/image-viewer/ImageViewer.vue.d.ts +25 -0
- package/dist/components/image-viewer/index.d.ts +1 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/components/input-item/InputItem.vue.d.ts +97 -0
- package/dist/components/input-item/cursor.d.ts +7 -0
- package/dist/components/input-item/index.d.ts +1 -0
- package/dist/components/landscape/Landscape.vue.d.ts +38 -0
- package/dist/components/landscape/index.d.ts +1 -0
- package/dist/components/license-plate/LicensePlate.vue.d.ts +32 -0
- package/dist/components/license-plate/LicensePlateInput.vue.d.ts +14 -0
- package/dist/components/license-plate/LicensePlateKeyboard.vue.d.ts +30 -0
- package/dist/components/license-plate/index.d.ts +3 -0
- package/dist/components/notice-bar/NoticeBar.vue.d.ts +44 -0
- package/dist/components/notice-bar/index.d.ts +1 -0
- package/dist/components/number-keyboard/KeyboardBoard.vue.d.ts +33 -0
- package/dist/components/number-keyboard/KeyboardKey.vue.d.ts +19 -0
- package/dist/components/number-keyboard/NumberKeyboard.vue.d.ts +59 -0
- package/dist/components/number-keyboard/index.d.ts +3 -0
- package/dist/components/picker/Picker.vue.d.ts +64 -0
- package/dist/components/picker/PickerColumn.vue.d.ts +64 -0
- package/dist/components/picker/index.d.ts +3 -0
- package/dist/components/popup/Popup.vue.d.ts +50 -0
- package/dist/components/popup/PopupTitleBar.vue.d.ts +45 -0
- package/dist/components/popup/index.d.ts +2 -0
- package/dist/components/progress/Progress.vue.d.ts +39 -0
- package/dist/components/progress/index.d.ts +1 -0
- package/dist/components/radio/Radio.vue.d.ts +39 -0
- package/dist/components/radio/RadioBox.vue.d.ts +31 -0
- package/dist/components/radio/RadioGroup.vue.d.ts +24 -0
- package/dist/components/radio/index.d.ts +3 -0
- package/dist/components/radio-list/RadioList.vue.d.ts +72 -0
- package/dist/components/radio-list/index.d.ts +2 -0
- package/dist/components/result-page/ResultPage.vue.d.ts +28 -0
- package/dist/components/result-page/index.d.ts +1 -0
- package/dist/components/ruler/Ruler.vue.d.ts +34 -0
- package/dist/components/ruler/index.d.ts +1 -0
- package/dist/components/scroll-view/ScrollView.vue.d.ts +84 -0
- package/dist/components/scroll-view/ScrollViewMore.vue.d.ts +12 -0
- package/dist/components/scroll-view/ScrollViewRefresh.vue.d.ts +20 -0
- package/dist/components/scroll-view/index.d.ts +3 -0
- package/dist/components/selector/Selector.vue.d.ts +88 -0
- package/dist/components/selector/index.d.ts +2 -0
- package/dist/components/skeleton/Skeleton.vue.d.ts +30 -0
- package/dist/components/skeleton/index.d.ts +1 -0
- package/dist/components/slider/Slider.vue.d.ts +24 -0
- package/dist/components/slider/index.d.ts +1 -0
- package/dist/components/stepper/Stepper.vue.d.ts +32 -0
- package/dist/components/stepper/index.d.ts +1 -0
- package/dist/components/steps/Steps.vue.d.ts +56 -0
- package/dist/components/steps/index.d.ts +2 -0
- package/dist/components/swiper/Swiper.vue.d.ts +57 -0
- package/dist/components/swiper/SwiperItem.vue.d.ts +26 -0
- package/dist/components/swiper/index.d.ts +2 -0
- package/dist/components/switch/Switch.vue.d.ts +16 -0
- package/dist/components/switch/index.d.ts +1 -0
- package/dist/components/tab-picker/TabPicker.vue.d.ts +78 -0
- package/dist/components/tab-picker/index.d.ts +1 -0
- package/dist/components/tabs/TabBar.vue.d.ts +50 -0
- package/dist/components/tabs/TabPane.vue.d.ts +31 -0
- package/dist/components/tabs/Tabs.vue.d.ts +34 -0
- package/dist/components/tabs/index.d.ts +3 -0
- package/dist/components/tag/Tag.vue.d.ts +39 -0
- package/dist/components/tag/index.d.ts +1 -0
- package/dist/components/textarea-item/TextareaItem.vue.d.ts +80 -0
- package/dist/components/textarea-item/index.d.ts +1 -0
- package/dist/components/tip/Tip.vue.d.ts +98 -0
- package/dist/components/tip/TipContent.vue.d.ts +33 -0
- package/dist/components/tip/index.d.ts +2 -0
- package/dist/components/toast/Toast.vue.d.ts +45 -0
- package/dist/components/toast/index.d.ts +129 -0
- package/dist/components/transition/Transition.vue.d.ts +13 -0
- package/dist/components/transition/index.d.ts +1 -0
- package/dist/components/water-mark/WaterMark.vue.d.ts +35 -0
- package/dist/components/water-mark/index.d.ts +1 -0
- package/dist/cursor-BIPoNm8V.js +11 -0
- package/dist/cursor-tQE3LcbU.cjs +1 -0
- package/dist/date-picker.cjs +1 -0
- package/dist/date-picker.d.ts +1 -0
- package/dist/date-picker.js +1 -0
- package/dist/detail-item.cjs +1 -0
- package/dist/detail-item.d.ts +1 -0
- package/dist/detail-item.js +1 -0
- package/dist/dialog-C38EDWGJ.cjs +1 -0
- package/dist/dialog-DdNA6YSe.js +91 -0
- package/dist/dialog.cjs +1 -0
- package/dist/dialog.d.ts +2 -0
- package/dist/dialog.js +3 -0
- package/dist/drop-menu.cjs +1 -0
- package/dist/drop-menu.d.ts +1 -0
- package/dist/drop-menu.js +1 -0
- package/dist/field-item.cjs +1 -0
- package/dist/field-item.d.ts +1 -0
- package/dist/field-item.js +1 -0
- package/dist/field.cjs +1 -0
- package/dist/field.d.ts +1 -0
- package/dist/field.js +1 -0
- package/dist/icon.cjs +1 -0
- package/dist/icon.d.ts +1 -0
- package/dist/icon.js +1 -0
- package/dist/image-reader.cjs +1 -0
- package/dist/image-reader.d.ts +1 -0
- package/dist/image-reader.js +1 -0
- package/dist/image-viewer.cjs +1 -0
- package/dist/image-viewer.d.ts +1 -0
- package/dist/image-viewer.js +1 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +64 -0
- package/dist/index.js +61 -0
- package/dist/input-item.cjs +1 -0
- package/dist/input-item.d.ts +1 -0
- package/dist/input-item.js +1 -0
- package/dist/landscape.cjs +1 -0
- package/dist/landscape.d.ts +1 -0
- package/dist/landscape.js +1 -0
- package/dist/license-plate.cjs +1 -0
- package/dist/license-plate.d.ts +1 -0
- package/dist/license-plate.js +1 -0
- package/dist/notice-bar.cjs +1 -0
- package/dist/notice-bar.d.ts +1 -0
- package/dist/notice-bar.js +1 -0
- package/dist/number-keyboard.cjs +1 -0
- package/dist/number-keyboard.d.ts +1 -0
- package/dist/number-keyboard.js +1 -0
- package/dist/picker.cjs +1 -0
- package/dist/picker.d.ts +1 -0
- package/dist/picker.js +1 -0
- package/dist/popup.cjs +1 -0
- package/dist/popup.d.ts +1 -0
- package/dist/popup.js +3 -0
- package/dist/progress.cjs +1 -0
- package/dist/progress.d.ts +1 -0
- package/dist/progress.js +1 -0
- package/dist/radio-list.cjs +1 -0
- package/dist/radio-list.d.ts +1 -0
- package/dist/radio-list.js +1 -0
- package/dist/radio.cjs +1 -0
- package/dist/radio.d.ts +1 -0
- package/dist/radio.js +3 -0
- package/dist/result-page.cjs +1 -0
- package/dist/result-page.d.ts +1 -0
- package/dist/result-page.js +1 -0
- package/dist/ruler.cjs +1 -0
- package/dist/ruler.d.ts +1 -0
- package/dist/ruler.js +1 -0
- package/dist/scroll-view.cjs +1 -0
- package/dist/scroll-view.d.ts +1 -0
- package/dist/scroll-view.js +3 -0
- package/dist/selector.cjs +1 -0
- package/dist/selector.d.ts +1 -0
- package/dist/selector.js +1 -0
- package/dist/shared-C9XlLe7F.js +36 -0
- package/dist/shared-k9cbQbvK.cjs +1 -0
- package/dist/skeleton.cjs +1 -0
- package/dist/skeleton.d.ts +1 -0
- package/dist/skeleton.js +1 -0
- package/dist/slider.cjs +1 -0
- package/dist/slider.d.ts +1 -0
- package/dist/slider.js +1 -0
- package/dist/stepper.cjs +1 -0
- package/dist/stepper.d.ts +1 -0
- package/dist/stepper.js +1 -0
- package/dist/steps.cjs +1 -0
- package/dist/steps.d.ts +1 -0
- package/dist/steps.js +1 -0
- package/dist/swiper.cjs +1 -0
- package/dist/swiper.d.ts +1 -0
- package/dist/swiper.js +1 -0
- package/dist/switch.cjs +1 -0
- package/dist/switch.d.ts +1 -0
- package/dist/switch.js +1 -0
- package/dist/tab-picker.cjs +1 -0
- package/dist/tab-picker.d.ts +1 -0
- package/dist/tab-picker.js +1 -0
- package/dist/tabs.cjs +1 -0
- package/dist/tabs.d.ts +1 -0
- package/dist/tabs.js +1 -0
- package/dist/tag.cjs +1 -0
- package/dist/tag.d.ts +1 -0
- package/dist/tag.js +1 -0
- package/dist/textarea-item.cjs +1 -0
- package/dist/textarea-item.d.ts +1 -0
- package/dist/textarea-item.js +1 -0
- package/dist/tip.cjs +1 -0
- package/dist/tip.d.ts +1 -0
- package/dist/tip.js +1 -0
- package/dist/toast-ByIFvpMs.js +146 -0
- package/dist/toast-C1K2_cOo.cjs +1 -0
- package/dist/toast.cjs +1 -0
- package/dist/toast.d.ts +2 -0
- package/dist/toast.js +1 -0
- package/dist/transition.cjs +1 -0
- package/dist/transition.d.ts +1 -0
- package/dist/transition.js +1 -0
- package/dist/water-mark.cjs +1 -0
- package/dist/water-mark.d.ts +1 -0
- package/dist/water-mark.js +1 -0
- package/package.json +296 -3
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { Comment as e, Fragment as t, computed as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, defineComponent as o, normalizeStyle as s, onMounted as c, openBlock as l, ref as u, renderList as d, renderSlot as f, unref as p, useSlots as m, watch as h } from "vue";
|
|
2
|
+
import { getDpr as g } from "@centui/core/web";
|
|
3
|
+
// src/components/water-mark/WaterMark.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var _ = { class: "cu-water-mark" }, v = { class: "water-mark-container" }, y = 14, b = "#858B9C", x = /* @__PURE__ */ o({
|
|
5
|
+
name: "cu-water-mark",
|
|
6
|
+
__name: "WaterMark",
|
|
7
|
+
props: {
|
|
8
|
+
content: { default: "" },
|
|
9
|
+
spacing: { default: "20vw" },
|
|
10
|
+
repeatX: {
|
|
11
|
+
type: Boolean,
|
|
12
|
+
default: !0
|
|
13
|
+
},
|
|
14
|
+
repeatY: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
default: !0
|
|
17
|
+
},
|
|
18
|
+
rotate: { default: -30 },
|
|
19
|
+
opacity: { default: .1 }
|
|
20
|
+
},
|
|
21
|
+
setup(o) {
|
|
22
|
+
let x = o, S = m(), C = u(), w = u(), T = typeof process < "u" && process.env.MAND_ENV === "test" ? 2 : 50, E = n(() => {
|
|
23
|
+
let e = S.watermark;
|
|
24
|
+
return e ? e({ coord: {
|
|
25
|
+
row: 1,
|
|
26
|
+
col: 1
|
|
27
|
+
} }).some((e) => !O(e)) : !1;
|
|
28
|
+
}), D = n(() => E.value || !!x.content);
|
|
29
|
+
function O(n) {
|
|
30
|
+
if (!n || typeof n != "object") return !0;
|
|
31
|
+
let r = n;
|
|
32
|
+
if (r.type === e) return !0;
|
|
33
|
+
if (r.type === t) {
|
|
34
|
+
let e = r.children;
|
|
35
|
+
return !Array.isArray(e) || e.every(O);
|
|
36
|
+
}
|
|
37
|
+
return !1;
|
|
38
|
+
}
|
|
39
|
+
let k = null, A = 2, j = 0, M = 0, N = 0;
|
|
40
|
+
c(() => {
|
|
41
|
+
x.content && (k = w.value?.getContext("2d") ?? null, k && (A = Math.max(g(), 2), P(), F(), I()));
|
|
42
|
+
}), h(() => x.content, (e, t) => {
|
|
43
|
+
e !== t && k && e && L();
|
|
44
|
+
});
|
|
45
|
+
function P() {
|
|
46
|
+
let e = C.value, t = w.value;
|
|
47
|
+
e && t && (j = t.width = e.clientWidth * A, M = t.height = e.clientHeight * A, k.scale(1 / A, 1 / A));
|
|
48
|
+
}
|
|
49
|
+
function F() {
|
|
50
|
+
let { spacing: e } = x;
|
|
51
|
+
if (typeof e == "number") {
|
|
52
|
+
N = e;
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
let [, t = "20", n = "vw"] = /([0-9]+)([A-Za-z]+)/.exec(e) ?? [];
|
|
56
|
+
n === "px" ? N = Number(t) : n === "vh" ? N = Number(t) * window.screen.height / 100 : n === "vw" && (N = Number(t) * window.screen.width / 100), N *= A;
|
|
57
|
+
}
|
|
58
|
+
function I() {
|
|
59
|
+
if (!k) return;
|
|
60
|
+
let e = x.content.length * y * A, t = Math.ceil(j / (e + N)), n = Math.ceil(M / (y * A + N)), r = y * A;
|
|
61
|
+
k.font = `${r}px "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif`, k.fillStyle = b;
|
|
62
|
+
let i = 0, a = 0;
|
|
63
|
+
for (let o = 0; o < n; o++) {
|
|
64
|
+
i = 0;
|
|
65
|
+
for (let n = 0; n < t; n++) k.fillText(x.content, i, a), i += e;
|
|
66
|
+
a += r + N;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
function L() {
|
|
70
|
+
let e = w.value;
|
|
71
|
+
e && k && (k.clearRect(0, 0, e.width, e.height), I());
|
|
72
|
+
}
|
|
73
|
+
return (e, n) => (l(), i("div", _, [a("div", v, [f(e.$slots, "default")]), D.value ? (l(), i("div", {
|
|
74
|
+
key: 0,
|
|
75
|
+
class: "water-mark-list",
|
|
76
|
+
ref_key: "mark",
|
|
77
|
+
ref: C
|
|
78
|
+
}, [a("div", {
|
|
79
|
+
class: "water-mark-list-wrapper",
|
|
80
|
+
style: s({
|
|
81
|
+
opacity: o.opacity,
|
|
82
|
+
transform: `rotate(${o.rotate}deg)`
|
|
83
|
+
})
|
|
84
|
+
}, [o.content ? (l(), i("canvas", {
|
|
85
|
+
key: 0,
|
|
86
|
+
ref_key: "canvas",
|
|
87
|
+
ref: w,
|
|
88
|
+
class: "water-mark-canvas"
|
|
89
|
+
}, null, 512)) : E.value ? (l(!0), i(t, { key: 1 }, d(o.repeatY ? p(T) : 1, (n) => (l(), i("ul", {
|
|
90
|
+
key: `line-${n}`,
|
|
91
|
+
class: "water-mark-line",
|
|
92
|
+
style: s({ marginBottom: o.spacing })
|
|
93
|
+
}, [(l(!0), i(t, null, d(o.repeatX ? p(T) : 1, (t) => (l(), i("li", {
|
|
94
|
+
key: `item-${t}`,
|
|
95
|
+
class: "water-mark-item",
|
|
96
|
+
style: s(n % 2 == 0 ? { marginLeft: o.repeatX ? o.spacing : 0 } : { marginRight: o.repeatX ? o.spacing : 0 })
|
|
97
|
+
}, [f(e.$slots, "watermark", { coord: {
|
|
98
|
+
row: n,
|
|
99
|
+
col: t
|
|
100
|
+
} })], 4))), 128))], 4))), 128)) : r("", !0)], 4)], 512)) : r("", !0)]));
|
|
101
|
+
}
|
|
102
|
+
});
|
|
103
|
+
export { x as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let e=require("vue"),t=require("@centui/core/web");var n={class:`cu-water-mark`},r={class:`water-mark-container`},i=14,a=`#858B9C`,o=(0,e.defineComponent)({name:`cu-water-mark`,__name:`WaterMark`,props:{content:{default:``},spacing:{default:`20vw`},repeatX:{type:Boolean,default:!0},repeatY:{type:Boolean,default:!0},rotate:{default:-30},opacity:{default:.1}},setup(o){let s=o,c=(0,e.useSlots)(),l=(0,e.ref)(),u=(0,e.ref)(),d=typeof process<`u`&&process.env.MAND_ENV===`test`?2:50,f=(0,e.computed)(()=>{let e=c.watermark;return e?e({coord:{row:1,col:1}}).some(e=>!m(e)):!1}),p=(0,e.computed)(()=>f.value||!!s.content);function m(t){if(!t||typeof t!=`object`)return!0;let n=t;if(n.type===e.Comment)return!0;if(n.type===e.Fragment){let e=n.children;return!Array.isArray(e)||e.every(m)}return!1}let h=null,g=2,_=0,v=0,y=0;(0,e.onMounted)(()=>{s.content&&(h=u.value?.getContext(`2d`)??null,h&&(g=Math.max((0,t.getDpr)(),2),b(),x(),S()))}),(0,e.watch)(()=>s.content,(e,t)=>{e!==t&&h&&e&&C()});function b(){let e=l.value,t=u.value;e&&t&&(_=t.width=e.clientWidth*g,v=t.height=e.clientHeight*g,h.scale(1/g,1/g))}function x(){let{spacing:e}=s;if(typeof e==`number`){y=e;return}let[,t=`20`,n=`vw`]=/([0-9]+)([A-Za-z]+)/.exec(e)??[];n===`px`?y=Number(t):n===`vh`?y=Number(t)*window.screen.height/100:n===`vw`&&(y=Number(t)*window.screen.width/100),y*=g}function S(){if(!h)return;let e=s.content.length*i*g,t=Math.ceil(_/(e+y)),n=Math.ceil(v/(i*g+y)),r=i*g;h.font=`${r}px "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif`,h.fillStyle=a;let o=0,c=0;for(let i=0;i<n;i++){o=0;for(let n=0;n<t;n++)h.fillText(s.content,o,c),o+=e;c+=r+y}}function C(){let e=u.value;e&&h&&(h.clearRect(0,0,e.width,e.height),S())}return(t,i)=>((0,e.openBlock)(),(0,e.createElementBlock)(`div`,n,[(0,e.createElementVNode)(`div`,r,[(0,e.renderSlot)(t.$slots,`default`)]),p.value?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,{key:0,class:`water-mark-list`,ref_key:`mark`,ref:l},[(0,e.createElementVNode)(`div`,{class:`water-mark-list-wrapper`,style:(0,e.normalizeStyle)({opacity:o.opacity,transform:`rotate(${o.rotate}deg)`})},[o.content?((0,e.openBlock)(),(0,e.createElementBlock)(`canvas`,{key:0,ref_key:`canvas`,ref:u,class:`water-mark-canvas`},null,512)):f.value?((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,{key:1},(0,e.renderList)(o.repeatY?(0,e.unref)(d):1,n=>((0,e.openBlock)(),(0,e.createElementBlock)(`ul`,{key:`line-${n}`,class:`water-mark-line`,style:(0,e.normalizeStyle)({marginBottom:o.spacing})},[((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)(o.repeatX?(0,e.unref)(d):1,r=>((0,e.openBlock)(),(0,e.createElementBlock)(`li`,{key:`item-${r}`,class:`water-mark-item`,style:(0,e.normalizeStyle)(n%2==0?{marginLeft:o.repeatX?o.spacing:0}:{marginRight:o.repeatX?o.spacing:0})},[(0,e.renderSlot)(t.$slots,`watermark`,{coord:{row:n,col:r}})],4))),128))],4))),128)):(0,e.createCommentVNode)(``,!0)],4)],512)):(0,e.createCommentVNode)(``,!0)]))}});Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return o}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./ActionBar-Bs5fkyFH.cjs");exports.CuActionBar=e.t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/action-bar';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as CuActionBar } from "./ActionBar-CF1zMUMC.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./Popup-Ca1jPi0t.cjs");let t=require("vue"),n=require("@centui/core");var r={class:`cu-action-sheet`},i={class:`cu-action-sheet-content`},a={key:0,class:`cu-action-sheet-header`},o={class:`cu-action-sheet-list`},s=[`onClick`],c={class:`cu-action-sheet-item-wrapper`},l=[`innerHTML`],u=(0,t.defineComponent)({name:`cu-action-sheet`,__name:`ActionSheet`,props:{modelValue:{type:Boolean,default:!1},title:{default:``},options:{default:()=>[]},defaultIndex:{default:-1},invalidIndex:{default:-1},cancelText:{default:void 0},maxHeight:{default:400}},emits:[`update:modelValue`,`show`,`hide`,`selected`,`cancel`],setup(u,{emit:d}){let f=u,p=d,m=f.cancelText??(0,n.t)(`md.action_sheet.cancel`),h=(0,t.ref)(f.modelValue),g=(0,t.ref)(f.defaultIndex);(0,t.watch)(()=>f.modelValue,e=>{h.value=e});function _(e){e||S()}function v(){p(`show`)}function y(){p(`hide`),S()}function b(e,t){t===f.invalidIndex||(0,n.inArray)(f.invalidIndex,t)||(g.value=t,p(`selected`,e),S())}function x(){p(`cancel`),S()}function S(){h.value=!1,p(`update:modelValue`,!1)}return(n,d)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,r,[(0,t.createVNode)(e.t,{class:`inner-popup large-radius`,"model-value":h.value,position:`bottom`,"prevent-scroll":``,"onUpdate:modelValue":_,onShow:v,onHide:y},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`div`,i,[u.title?((0,t.openBlock)(),(0,t.createElementBlock)(`header`,a,(0,t.toDisplayString)(u.title),1)):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`ul`,o,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(u.options,(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`li`,{key:n,class:(0,t.normalizeClass)({active:n===g.value,disabled:n===u.invalidIndex,"cu-action-sheet-item":!0}),onClick:t=>b(e,n)},[(0,t.createElementVNode)(`div`,c,[(0,t.createElementVNode)(`div`,{class:`cu-action-sheet-item-section`,innerHTML:e.text||e.label},null,8,l)])],10,s))),128)),(0,t.createElementVNode)(`li`,{class:`cu-action-sheet-cancel`,onClick:x},(0,t.toDisplayString)((0,t.unref)(m)),1)])])]),_:1},8,[`model-value`])]))}}),d=()=>{},f=[];function p({value:e=!0,title:n=``,options:r=[],defaultIndex:i=-1,invalidIndex:a=-1,cancelText:o=`取消`,maxHeight:s=400,onShow:c=d,onHide:l=d,onSelected:p=d,onCancel:m=d}){let h=document.createElement(`div`);document.body.appendChild(h);let g={value:!1,close:()=>{}},_=!1,v=!1,y=()=>{if(v)return;v=!0,(0,t.render)(null,h);let e=h.parentNode;e&&e.removeChild(h);let n=f.indexOf(g);n>=0&&f.splice(n,1)},b=()=>{let e=(0,t.createVNode)(u,{modelValue:g.value,title:n,options:r,defaultIndex:i,invalidIndex:a,cancelText:o,maxHeight:s,"onUpdate:modelValue":e=>{g.value=e,e&&b()},onShow:c,onHide:()=>{y(),l()},onSelected:p,onCancel:m});(0,t.render)(e,h),_=!0};return g.close=()=>{v||(_?(g.value=!1,b()):y())},f.push(g),e&&(g.value=!0,b()),g}var m=u;m.create=p,Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return m}});
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { t as e } from "./Popup-qLk-BsRS.js";
|
|
2
|
+
import { Fragment as t, createCommentVNode as n, createElementBlock as r, createElementVNode as i, createVNode as a, defineComponent as o, normalizeClass as s, openBlock as c, ref as l, render as u, renderList as d, toDisplayString as f, unref as p, watch as m, withCtx as h } from "vue";
|
|
3
|
+
import { inArray as g, t as _ } from "@centui/core";
|
|
4
|
+
// src/components/action-sheet/ActionSheet.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var v = { class: "cu-action-sheet" }, y = { class: "cu-action-sheet-content" }, b = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "cu-action-sheet-header"
|
|
8
|
+
}, x = { class: "cu-action-sheet-list" }, S = ["onClick"], C = { class: "cu-action-sheet-item-wrapper" }, w = ["innerHTML"], T = /* @__PURE__ */ o({
|
|
9
|
+
name: "cu-action-sheet",
|
|
10
|
+
__name: "ActionSheet",
|
|
11
|
+
props: {
|
|
12
|
+
modelValue: {
|
|
13
|
+
type: Boolean,
|
|
14
|
+
default: !1
|
|
15
|
+
},
|
|
16
|
+
title: { default: "" },
|
|
17
|
+
options: { default: () => [] },
|
|
18
|
+
defaultIndex: { default: -1 },
|
|
19
|
+
invalidIndex: { default: -1 },
|
|
20
|
+
cancelText: { default: void 0 },
|
|
21
|
+
maxHeight: { default: 400 }
|
|
22
|
+
},
|
|
23
|
+
emits: [
|
|
24
|
+
"update:modelValue",
|
|
25
|
+
"show",
|
|
26
|
+
"hide",
|
|
27
|
+
"selected",
|
|
28
|
+
"cancel"
|
|
29
|
+
],
|
|
30
|
+
setup(o, { emit: u }) {
|
|
31
|
+
let T = o, E = u, D = T.cancelText ?? _("md.action_sheet.cancel"), O = l(T.modelValue), k = l(T.defaultIndex);
|
|
32
|
+
m(() => T.modelValue, (e) => {
|
|
33
|
+
O.value = e;
|
|
34
|
+
});
|
|
35
|
+
function A(e) {
|
|
36
|
+
e || F();
|
|
37
|
+
}
|
|
38
|
+
function j() {
|
|
39
|
+
E("show");
|
|
40
|
+
}
|
|
41
|
+
function M() {
|
|
42
|
+
E("hide"), F();
|
|
43
|
+
}
|
|
44
|
+
function N(e, t) {
|
|
45
|
+
t === T.invalidIndex || g(T.invalidIndex, t) || (k.value = t, E("selected", e), F());
|
|
46
|
+
}
|
|
47
|
+
function P() {
|
|
48
|
+
E("cancel"), F();
|
|
49
|
+
}
|
|
50
|
+
function F() {
|
|
51
|
+
O.value = !1, E("update:modelValue", !1);
|
|
52
|
+
}
|
|
53
|
+
return (l, u) => (c(), r("div", v, [a(e, {
|
|
54
|
+
class: "inner-popup large-radius",
|
|
55
|
+
"model-value": O.value,
|
|
56
|
+
position: "bottom",
|
|
57
|
+
"prevent-scroll": "",
|
|
58
|
+
"onUpdate:modelValue": A,
|
|
59
|
+
onShow: j,
|
|
60
|
+
onHide: M
|
|
61
|
+
}, {
|
|
62
|
+
default: h(() => [i("div", y, [o.title ? (c(), r("header", b, f(o.title), 1)) : n("", !0), i("ul", x, [(c(!0), r(t, null, d(o.options, (e, t) => (c(), r("li", {
|
|
63
|
+
key: t,
|
|
64
|
+
class: s({
|
|
65
|
+
active: t === k.value,
|
|
66
|
+
disabled: t === o.invalidIndex,
|
|
67
|
+
"cu-action-sheet-item": !0
|
|
68
|
+
}),
|
|
69
|
+
onClick: (n) => N(e, t)
|
|
70
|
+
}, [i("div", C, [i("div", {
|
|
71
|
+
class: "cu-action-sheet-item-section",
|
|
72
|
+
innerHTML: e.text || e.label
|
|
73
|
+
}, null, 8, w)])], 10, S))), 128)), i("li", {
|
|
74
|
+
class: "cu-action-sheet-cancel",
|
|
75
|
+
onClick: P
|
|
76
|
+
}, f(p(D)), 1)])])]),
|
|
77
|
+
_: 1
|
|
78
|
+
}, 8, ["model-value"])]));
|
|
79
|
+
}
|
|
80
|
+
}), E = () => {}, D = [];
|
|
81
|
+
function O({ value: e = !0, title: t = "", options: n = [], defaultIndex: r = -1, invalidIndex: i = -1, cancelText: o = "取消", maxHeight: s = 400, onShow: c = E, onHide: l = E, onSelected: d = E, onCancel: f = E }) {
|
|
82
|
+
let p = document.createElement("div");
|
|
83
|
+
document.body.appendChild(p);
|
|
84
|
+
let m = {
|
|
85
|
+
value: !1,
|
|
86
|
+
close: () => {}
|
|
87
|
+
}, h = !1, g = !1, _ = () => {
|
|
88
|
+
if (g) return;
|
|
89
|
+
g = !0, u(null, p);
|
|
90
|
+
let e = p.parentNode;
|
|
91
|
+
e && e.removeChild(p);
|
|
92
|
+
let t = D.indexOf(m);
|
|
93
|
+
t >= 0 && D.splice(t, 1);
|
|
94
|
+
}, v = () => {
|
|
95
|
+
let e = a(T, {
|
|
96
|
+
modelValue: m.value,
|
|
97
|
+
title: t,
|
|
98
|
+
options: n,
|
|
99
|
+
defaultIndex: r,
|
|
100
|
+
invalidIndex: i,
|
|
101
|
+
cancelText: o,
|
|
102
|
+
maxHeight: s,
|
|
103
|
+
"onUpdate:modelValue": (e) => {
|
|
104
|
+
m.value = e, e && v();
|
|
105
|
+
},
|
|
106
|
+
onShow: c,
|
|
107
|
+
onHide: () => {
|
|
108
|
+
_(), l();
|
|
109
|
+
},
|
|
110
|
+
onSelected: d,
|
|
111
|
+
onCancel: f
|
|
112
|
+
});
|
|
113
|
+
u(e, p), h = !0;
|
|
114
|
+
};
|
|
115
|
+
return m.close = () => {
|
|
116
|
+
g || (h ? (m.value = !1, v()) : _());
|
|
117
|
+
}, D.push(m), e && (m.value = !0, v()), m;
|
|
118
|
+
}
|
|
119
|
+
var k = T;
|
|
120
|
+
k.create = O;
|
|
121
|
+
export { T as n, k as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("./action-sheet-BjaReHkr.cjs");exports.CuActionSheet=e.n,exports.default=e.t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { n as CuActionSheet, t as default } from "./action-sheet-Da8dHevy.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./Roller-DALhjhfg.cjs"),t=require("./ActivityIndicator-BOZRJBDn.cjs"),n=require("./RollerSuccess-BbMzNlkv.cjs");exports.CuActivityIndicator=t.t,exports.CuActivityIndicatorCarousel=t.n,exports.CuActivityIndicatorRolling=e.t,exports.CuActivityIndicatorSpinning=t.r,exports.CuRollerSuccess=n.t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/activity-indicator';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { t as e } from "./Roller-BznN57fL.js";
|
|
2
|
+
import { n as t, r as n, t as r } from "./ActivityIndicator-Cp20c1E0.js";
|
|
3
|
+
import { t as i } from "./RollerSuccess-CTh43Rh0.js";
|
|
4
|
+
export { r as CuActivityIndicator, t as CuActivityIndicatorCarousel, e as CuActivityIndicatorRolling, n as CuActivityIndicatorSpinning, i as CuRollerSuccess };
|
package/dist/agree.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./Agree-ZswFiFNy.cjs");exports.CuAgree=e.t;
|
package/dist/agree.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/agree';
|
package/dist/agree.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as CuAgree } from "./Agree-lAcOo38C.js";
|
package/dist/amount.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./Amount-CU7Oc4vv.cjs");exports.CuAmount=e.t;
|
package/dist/amount.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/amount';
|
package/dist/amount.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as CuAmount } from "./Amount-B2StZGGW.js";
|
package/dist/bill.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./Bill-DDVs3Lu3.cjs");exports.CuBill=e.t;
|
package/dist/bill.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/bill';
|
package/dist/bill.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as CuBill } from "./Bill-qQ4LdkmR.js";
|
package/dist/button.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./Button-Bu8liJQE.cjs");exports.CuButton=e.t;
|
package/dist/button.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/button';
|
package/dist/button.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as CuButton } from "./Button-D7e-cuA1.js";
|
package/dist/captcha.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./Captcha-BEF-de8-.cjs");exports.CuCaptcha=e.t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/captcha';
|
package/dist/captcha.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as CuCaptcha } from "./Captcha-CgpynYTc.js";
|
package/dist/cashier.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./Cashier-CLJngM0n.cjs");exports.CuCashier=e.t,exports.CuCashierChannel=e.r,exports.CuCashierChannelButton=e.n,exports.CuCashierChannelItem=e.i;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/cashier';
|
package/dist/cashier.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as CuCashier, r as CuCashierChannel, n as CuCashierChannelButton, i as CuCashierChannelItem } from "./Cashier-CJLfQOXm.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./CellItem-J0LkwZNL.cjs");exports.CuCellItem=e.t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/cell-item';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as CuCellItem } from "./CellItem-BHEh4Cp-.js";
|
package/dist/chart.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./Chart-DJ0Q1g1P.cjs");exports.CuChart=e.t;
|
package/dist/chart.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/chart';
|
package/dist/chart.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as CuChart } from "./Chart-BINJAx7V.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./CheckBoxBase-CobK6-tL.cjs");exports.CuCheckBaseBox=e.t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/check-base';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as CuCheckBaseBox } from "./CheckBoxBase-BIPGJ-TD.js";
|
package/dist/check.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./CheckList-BsKo_Fl3.cjs"),t=require("./CheckBox-DDeCshDK.cjs");exports.CuCheck=e.r,exports.CuCheckBox=t.t,exports.CuCheckGroup=e.n,exports.CuCheckList=e.t;
|
package/dist/check.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/check';
|
package/dist/check.js
ADDED
package/dist/codebox.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./Codebox-yLkdTU7w.cjs");exports.CuCodebox=e.t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/codebox';
|
package/dist/codebox.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as CuCodebox } from "./Codebox-BLPrFnIv.js";
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export interface ActionBarAction {
|
|
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
|
+
disabled?: boolean;
|
|
11
|
+
onClick?: (event: MouseEvent, action: ActionBarAction) => void;
|
|
12
|
+
}
|
|
13
|
+
type __VLS_Props = {
|
|
14
|
+
actions?: Array<ActionBarAction>;
|
|
15
|
+
};
|
|
16
|
+
declare var __VLS_1: {};
|
|
17
|
+
type __VLS_Slots = {} & {
|
|
18
|
+
default?: (props: typeof __VLS_1) => any;
|
|
19
|
+
};
|
|
20
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
21
|
+
click: (event: MouseEvent, action: ActionBarAction) => any;
|
|
22
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
|
+
onClick?: ((event: MouseEvent, action: ActionBarAction) => any) | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
actions: Array<ActionBarAction>;
|
|
26
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
28
|
+
declare const _default: typeof __VLS_export;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export interface ActionSheetOption {
|
|
2
|
+
/**
|
|
3
|
+
* 选项文案。经 v-html 渲染(v2 兼容行为,支持富文本):
|
|
4
|
+
* 请勿传入不可信来源的字符串,XSS 责任在使用方。
|
|
5
|
+
*/
|
|
6
|
+
text?: string;
|
|
7
|
+
/** @warning 同 text:经 v-html 渲染,勿传不可信内容 */
|
|
8
|
+
label?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
declare const __VLS_export: import('vue').DefineComponent<{
|
|
14
|
+
modelValue?: boolean;
|
|
15
|
+
title?: string;
|
|
16
|
+
options?: ActionSheetOption[];
|
|
17
|
+
defaultIndex?: number;
|
|
18
|
+
invalidIndex?: number | number[];
|
|
19
|
+
cancelText?: string;
|
|
20
|
+
maxHeight?: number;
|
|
21
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
22
|
+
"update:modelValue": (value: boolean) => any;
|
|
23
|
+
show: () => any;
|
|
24
|
+
hide: () => any;
|
|
25
|
+
cancel: () => any;
|
|
26
|
+
selected: (option: ActionSheetOption) => any;
|
|
27
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
28
|
+
modelValue?: boolean;
|
|
29
|
+
title?: string;
|
|
30
|
+
options?: ActionSheetOption[];
|
|
31
|
+
defaultIndex?: number;
|
|
32
|
+
invalidIndex?: number | number[];
|
|
33
|
+
cancelText?: string;
|
|
34
|
+
maxHeight?: number;
|
|
35
|
+
}> & Readonly<{
|
|
36
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
37
|
+
onShow?: (() => any) | undefined;
|
|
38
|
+
onHide?: (() => any) | undefined;
|
|
39
|
+
onCancel?: (() => any) | undefined;
|
|
40
|
+
onSelected?: ((option: ActionSheetOption) => any) | undefined;
|
|
41
|
+
}>, {
|
|
42
|
+
title: string;
|
|
43
|
+
modelValue: boolean;
|
|
44
|
+
cancelText: string;
|
|
45
|
+
options: ActionSheetOption[];
|
|
46
|
+
defaultIndex: number;
|
|
47
|
+
invalidIndex: number | number[];
|
|
48
|
+
maxHeight: number;
|
|
49
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { default as CuActionSheetComponent, ActionSheetOption } from './ActionSheet.vue';
|
|
2
|
+
export type { ActionSheetOption };
|
|
3
|
+
export interface ActionSheetCreateProps {
|
|
4
|
+
value?: boolean;
|
|
5
|
+
title?: string;
|
|
6
|
+
options?: ActionSheetOption[];
|
|
7
|
+
defaultIndex?: number;
|
|
8
|
+
invalidIndex?: number | number[];
|
|
9
|
+
cancelText?: string;
|
|
10
|
+
maxHeight?: number;
|
|
11
|
+
onShow?: () => void;
|
|
12
|
+
onHide?: () => void;
|
|
13
|
+
onSelected?: (option: ActionSheetOption) => void;
|
|
14
|
+
onCancel?: () => void;
|
|
15
|
+
}
|
|
16
|
+
interface ActionSheetInstance {
|
|
17
|
+
value: boolean;
|
|
18
|
+
close: () => void;
|
|
19
|
+
}
|
|
20
|
+
type ActionSheetStatic = typeof CuActionSheetComponent & {
|
|
21
|
+
create: (props: ActionSheetCreateProps) => ActionSheetInstance;
|
|
22
|
+
};
|
|
23
|
+
declare const ActionSheet: ActionSheetStatic;
|
|
24
|
+
export { CuActionSheetComponent as CuActionSheet };
|
|
25
|
+
export default ActionSheet;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** roller | spinner | carousel */
|
|
3
|
+
type?: string;
|
|
4
|
+
size?: number;
|
|
5
|
+
width?: number;
|
|
6
|
+
color?: string;
|
|
7
|
+
textColor?: string;
|
|
8
|
+
textSize?: number;
|
|
9
|
+
vertical?: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare var __VLS_16: {};
|
|
12
|
+
type __VLS_Slots = {} & {
|
|
13
|
+
default?: (props: typeof __VLS_16) => any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
16
|
+
size: number;
|
|
17
|
+
color: string;
|
|
18
|
+
type: string;
|
|
19
|
+
width: number;
|
|
20
|
+
textColor: string;
|
|
21
|
+
textSize: number;
|
|
22
|
+
vertical: boolean;
|
|
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,10 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
size?: number;
|
|
3
|
+
color?: string;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
6
|
+
size: number;
|
|
7
|
+
color: string;
|
|
8
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
size?: number;
|
|
3
|
+
index?: number;
|
|
4
|
+
animateValues?: number[];
|
|
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
|
+
size: number;
|
|
8
|
+
index: number;
|
|
9
|
+
animateValues: number[];
|
|
10
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
size?: number;
|
|
3
|
+
width?: number;
|
|
4
|
+
color?: string;
|
|
5
|
+
borderColor?: string;
|
|
6
|
+
fill?: string;
|
|
7
|
+
linecap?: 'butt' | 'round' | 'square' | 'inherit';
|
|
8
|
+
rotate?: number;
|
|
9
|
+
/** 进度控制 0-1;不传时为自动不定态动画 */
|
|
10
|
+
process?: number;
|
|
11
|
+
};
|
|
12
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
|
|
13
|
+
type __VLS_Slots = {} & {
|
|
14
|
+
circle?: (props: typeof __VLS_1) => any;
|
|
15
|
+
} & {
|
|
16
|
+
defs?: (props: typeof __VLS_3) => any;
|
|
17
|
+
} & {
|
|
18
|
+
default?: (props: typeof __VLS_5) => 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
|
+
fill: string;
|
|
22
|
+
size: number;
|
|
23
|
+
color: string;
|
|
24
|
+
width: number;
|
|
25
|
+
borderColor: string;
|
|
26
|
+
linecap: "butt" | "round" | "square" | "inherit";
|
|
27
|
+
rotate: number;
|
|
28
|
+
process: number;
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
31
|
+
declare const _default: typeof __VLS_export;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
isSuccess?: boolean;
|
|
3
|
+
size?: number;
|
|
4
|
+
color?: string;
|
|
5
|
+
strokeWidth?: number;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
8
|
+
size: number;
|
|
9
|
+
color: string;
|
|
10
|
+
strokeWidth: number;
|
|
11
|
+
isSuccess: boolean;
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
size?: number;
|
|
3
|
+
color?: string;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
6
|
+
size: number;
|
|
7
|
+
color: string;
|
|
8
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as CuActivityIndicator } from './ActivityIndicator.vue';
|
|
2
|
+
export { default as CuActivityIndicatorRolling } from './Roller.vue';
|
|
3
|
+
export { default as CuActivityIndicatorSpinning } from './Spinning.vue';
|
|
4
|
+
export { default as CuActivityIndicatorCarousel } from './Carousel.vue';
|
|
5
|
+
export { default as CuRollerSuccess } from './RollerSuccess.vue';
|