centui 0.0.0-stage → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +433 -0
- package/README.md +54 -2
- package/dist/Agree-DT46e5q5.cjs +1 -0
- package/dist/Agree-yTGTi4e6.js +44 -0
- package/dist/Amount-De-oObat.cjs +1 -0
- package/dist/Amount-wOtRYOdx.js +62 -0
- package/dist/Button-BIi6CrwM.js +61 -0
- package/dist/Button-Blpwwbnw.cjs +1 -0
- package/dist/CellItem-T78DHako.cjs +1 -0
- package/dist/CellItem-YZD-BxKt.js +72 -0
- package/dist/CheckBoxBase-BDsytL_r.cjs +1 -0
- package/dist/CheckBoxBase-BjyVzGqj.js +40 -0
- package/dist/CheckList-Bfy3B-eN.js +239 -0
- package/dist/CheckList-DEmLmccw.cjs +1 -0
- package/dist/Codebox-Cgj7wyzd.cjs +1 -0
- package/dist/Codebox-D0UtCj11.js +189 -0
- package/dist/DatePicker-B1AVbKhK.cjs +1 -0
- package/dist/DatePicker-TAHuve5t.js +177 -0
- package/dist/Field-CseJzTZz.js +51 -0
- package/dist/Field-DDmHa4zB.cjs +1 -0
- package/dist/FieldItem-Cc7bw5vU.js +88 -0
- package/dist/FieldItem-Dkpx5Kxk.cjs +1 -0
- package/dist/Icon-dWGSK6Ou.js +119 -0
- package/dist/Icon-jaEPn7d7.cjs +31 -0
- package/dist/InputItem-EJ4Y3tpU.cjs +1 -0
- package/dist/InputItem-bhFtp97z.js +322 -0
- package/dist/NoticeBar-DSf_EjTL.cjs +1 -0
- package/dist/NoticeBar-PEYcjXwD.js +84 -0
- package/dist/NumberKeyboard-BX0c0l2r.cjs +1 -0
- package/dist/NumberKeyboard-C7TRF5iC.js +320 -0
- package/dist/Picker-D-TPtSxf.cjs +1 -0
- package/dist/Picker-Dam0LEcc.js +476 -0
- package/dist/Popup-Cm4BuaOo.cjs +1 -0
- package/dist/Popup-DPYBBL95.js +116 -0
- package/dist/PopupTitleBar-B4vwxKC7.cjs +1 -0
- package/dist/PopupTitleBar-nVurLaOe.js +85 -0
- package/dist/Progress-CwIC6scr.js +67 -0
- package/dist/Progress-DukssNvl.cjs +1 -0
- package/dist/Radio-ZHivLdvi.cjs +1 -0
- package/dist/Radio-fsc7_N5K.js +65 -0
- package/dist/RadioGroup-BR_jSDR4.cjs +1 -0
- package/dist/RadioGroup-CMPmk8X_.js +82 -0
- package/dist/RadioList-CkerkQEY.js +127 -0
- package/dist/RadioList-upQgua8Z.cjs +1 -0
- package/dist/Roller-DALhjhfg.cjs +1 -0
- package/dist/Roller-DFJ7jMV0.js +92 -0
- package/dist/RollerSuccess--JecJ7bz.cjs +1 -0
- package/dist/RollerSuccess-CVEmS9gU.js +224 -0
- package/dist/ScrollViewMore-BWph-i1-.cjs +1 -0
- package/dist/ScrollViewMore-BgYJx-TP.js +278 -0
- package/dist/Skeleton--SCiydNl.cjs +1 -0
- package/dist/Skeleton-BG_j23KI.js +55 -0
- package/dist/Slider-D3wrE8hn.cjs +1 -0
- package/dist/Slider-DteN8p-L.js +95 -0
- package/dist/Stepper-1EOk4pCY.js +127 -0
- package/dist/Stepper-BJr4I6_8.cjs +1 -0
- package/dist/SwiperItem-B6TgjCsM.cjs +1 -0
- package/dist/SwiperItem-CKd-XKT7.js +337 -0
- package/dist/Switch-B6DvVj2p.js +30 -0
- package/dist/Switch-BVPjF8CM.cjs +1 -0
- package/dist/Tag-CPv77lC8.cjs +1 -0
- package/dist/Tag-bs5j40pF.js +66 -0
- package/dist/Tip-BFZSiRc1.js +166 -0
- package/dist/Tip-C3brAF9N.cjs +1 -0
- package/dist/action-sheet-DKpi2GLQ.js +118 -0
- package/dist/action-sheet-LJilF3EQ.cjs +1 -0
- package/dist/action-sheet.cjs +1 -0
- package/dist/action-sheet.d.ts +2 -0
- package/dist/action-sheet.js +2 -0
- package/dist/activity-indicator.cjs +1 -0
- package/dist/activity-indicator.d.ts +1 -0
- package/dist/activity-indicator.js +3 -0
- package/dist/agree.cjs +1 -0
- package/dist/agree.d.ts +1 -0
- package/dist/agree.js +2 -0
- package/dist/amount.cjs +1 -0
- package/dist/amount.d.ts +1 -0
- package/dist/amount.js +2 -0
- package/dist/button.cjs +1 -0
- package/dist/button.d.ts +1 -0
- package/dist/button.js +2 -0
- package/dist/cell-item.cjs +1 -0
- package/dist/cell-item.d.ts +1 -0
- package/dist/cell-item.js +2 -0
- package/dist/check-base.cjs +1 -0
- package/dist/check-base.d.ts +1 -0
- package/dist/check-base.js +2 -0
- package/dist/check.cjs +1 -0
- package/dist/check.d.ts +1 -0
- package/dist/check.js +2 -0
- package/dist/codebox.cjs +1 -0
- package/dist/codebox.d.ts +1 -0
- package/dist/codebox.js +2 -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 +44 -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 +54 -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 +78 -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 +16 -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 +41 -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/date-picker.cjs +1 -0
- package/dist/date-picker.d.ts +1 -0
- package/dist/date-picker.js +2 -0
- package/dist/dialog-0-E4Vyc-.cjs +1 -0
- package/dist/dialog-DHIZ2SMK.js +227 -0
- package/dist/dialog.cjs +1 -0
- package/dist/dialog.d.ts +2 -0
- package/dist/dialog.js +2 -0
- package/dist/field-item.cjs +1 -0
- package/dist/field-item.d.ts +1 -0
- package/dist/field-item.js +2 -0
- package/dist/field.cjs +1 -0
- package/dist/field.d.ts +1 -0
- package/dist/field.js +2 -0
- package/dist/icon.cjs +1 -0
- package/dist/icon.d.ts +1 -0
- package/dist/icon.js +2 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +63 -0
- package/dist/index.js +2669 -0
- package/dist/input-item.cjs +1 -0
- package/dist/input-item.d.ts +1 -0
- package/dist/input-item.js +2 -0
- package/dist/notice-bar.cjs +1 -0
- package/dist/notice-bar.d.ts +1 -0
- package/dist/notice-bar.js +2 -0
- package/dist/number-keyboard.cjs +1 -0
- package/dist/number-keyboard.d.ts +1 -0
- package/dist/number-keyboard.js +2 -0
- package/dist/picker.cjs +1 -0
- package/dist/picker.d.ts +1 -0
- package/dist/picker.js +2 -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 +2 -0
- package/dist/radio-list.cjs +1 -0
- package/dist/radio-list.d.ts +1 -0
- package/dist/radio-list.js +2 -0
- package/dist/radio.cjs +1 -0
- package/dist/radio.d.ts +1 -0
- package/dist/radio.js +3 -0
- package/dist/scroll-view.cjs +1 -0
- package/dist/scroll-view.d.ts +1 -0
- package/dist/scroll-view.js +2 -0
- package/dist/shared-BtSkmaWC.js +37 -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 +2 -0
- package/dist/slider.cjs +1 -0
- package/dist/slider.d.ts +1 -0
- package/dist/slider.js +2 -0
- package/dist/stepper.cjs +1 -0
- package/dist/stepper.d.ts +1 -0
- package/dist/stepper.js +2 -0
- package/dist/swiper.cjs +1 -0
- package/dist/swiper.d.ts +1 -0
- package/dist/swiper.js +2 -0
- package/dist/switch.cjs +1 -0
- package/dist/switch.d.ts +1 -0
- package/dist/switch.js +2 -0
- package/dist/tag.cjs +1 -0
- package/dist/tag.d.ts +1 -0
- package/dist/tag.js +2 -0
- package/dist/tip.cjs +1 -0
- package/dist/tip.d.ts +1 -0
- package/dist/tip.js +2 -0
- package/dist/toast-CAeyMc5r.cjs +1 -0
- package/dist/toast-DX-RoB7Q.js +146 -0
- package/dist/toast.cjs +1 -0
- package/dist/toast.d.ts +2 -0
- package/dist/toast.js +2 -0
- package/package.json +195 -3
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue?: boolean;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
size?: string;
|
|
5
|
+
/** circle | square */
|
|
6
|
+
iconType?: string;
|
|
7
|
+
};
|
|
8
|
+
declare var __VLS_1: {
|
|
9
|
+
checked: boolean;
|
|
10
|
+
}, __VLS_23: {};
|
|
11
|
+
type __VLS_Slots = {} & {
|
|
12
|
+
icon?: (props: typeof __VLS_1) => any;
|
|
13
|
+
} & {
|
|
14
|
+
default?: (props: typeof __VLS_23) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
17
|
+
"update:modelValue": (value: boolean) => any;
|
|
18
|
+
change: (event: MouseEvent) => any;
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
21
|
+
onChange?: ((event: MouseEvent) => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
size: string;
|
|
24
|
+
disabled: boolean;
|
|
25
|
+
modelValue: boolean;
|
|
26
|
+
iconType: string;
|
|
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 CuAgree } from './Agree.vue';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
value?: number;
|
|
3
|
+
precision?: number;
|
|
4
|
+
isRoundUp?: boolean;
|
|
5
|
+
hasSeparator?: boolean;
|
|
6
|
+
separator?: string;
|
|
7
|
+
isAnimated?: boolean;
|
|
8
|
+
/** v2 遗留别名,等价于 isAnimated 的过渡开关 */
|
|
9
|
+
transition?: boolean;
|
|
10
|
+
isCapital?: boolean;
|
|
11
|
+
duration?: number;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
14
|
+
duration: number;
|
|
15
|
+
value: number;
|
|
16
|
+
precision: number;
|
|
17
|
+
isRoundUp: boolean;
|
|
18
|
+
hasSeparator: boolean;
|
|
19
|
+
separator: string;
|
|
20
|
+
isAnimated: boolean;
|
|
21
|
+
transition: boolean;
|
|
22
|
+
isCapital: boolean;
|
|
23
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CuAmount } from './Amount.vue';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title?: string;
|
|
3
|
+
no?: string | number;
|
|
4
|
+
waterMark?: string;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_8: {}, __VLS_10: {}, __VLS_12: {}, __VLS_15: {
|
|
7
|
+
coord: {
|
|
8
|
+
row: number;
|
|
9
|
+
col: number;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
type __VLS_Slots = {} & {
|
|
13
|
+
header?: (props: typeof __VLS_8) => any;
|
|
14
|
+
} & {
|
|
15
|
+
default?: (props: typeof __VLS_10) => any;
|
|
16
|
+
} & {
|
|
17
|
+
footer?: (props: typeof __VLS_12) => any;
|
|
18
|
+
} & {
|
|
19
|
+
watermark?: (props: typeof __VLS_15) => any;
|
|
20
|
+
};
|
|
21
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
22
|
+
title: string;
|
|
23
|
+
no: string | number;
|
|
24
|
+
waterMark: string;
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CuBill } from './Bill.vue';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** default | primary | warning | disabled | link */
|
|
3
|
+
type?: string;
|
|
4
|
+
nativeType?: 'button' | 'submit' | 'reset';
|
|
5
|
+
icon?: string;
|
|
6
|
+
iconSvg?: boolean;
|
|
7
|
+
/** large | small */
|
|
8
|
+
size?: string;
|
|
9
|
+
plain?: boolean;
|
|
10
|
+
round?: boolean;
|
|
11
|
+
inline?: boolean;
|
|
12
|
+
inactive?: boolean;
|
|
13
|
+
loading?: boolean;
|
|
14
|
+
};
|
|
15
|
+
declare var __VLS_11: {};
|
|
16
|
+
type __VLS_Slots = {} & {
|
|
17
|
+
default?: (props: typeof __VLS_11) => any;
|
|
18
|
+
};
|
|
19
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
20
|
+
size: string;
|
|
21
|
+
type: string;
|
|
22
|
+
round: boolean;
|
|
23
|
+
nativeType: "button" | "submit" | "reset";
|
|
24
|
+
icon: string;
|
|
25
|
+
iconSvg: boolean;
|
|
26
|
+
plain: boolean;
|
|
27
|
+
inline: boolean;
|
|
28
|
+
inactive: boolean;
|
|
29
|
+
loading: boolean;
|
|
30
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
32
|
+
declare const _default: typeof __VLS_export;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CuButton } from './Button.vue';
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue?: boolean;
|
|
3
|
+
title?: string;
|
|
4
|
+
subtitle?: string;
|
|
5
|
+
brief?: string;
|
|
6
|
+
maxlength?: number | string;
|
|
7
|
+
mask?: boolean;
|
|
8
|
+
system?: boolean;
|
|
9
|
+
autoSend?: boolean;
|
|
10
|
+
autoCountdown?: boolean;
|
|
11
|
+
count?: number;
|
|
12
|
+
countNormalText?: string;
|
|
13
|
+
countActiveText?: string;
|
|
14
|
+
isView?: boolean;
|
|
15
|
+
/** inline | halfScreen | dialog */
|
|
16
|
+
type?: string;
|
|
17
|
+
inputType?: string;
|
|
18
|
+
disableSend?: boolean;
|
|
19
|
+
};
|
|
20
|
+
declare function listenResize(): void;
|
|
21
|
+
declare function countdown(): void;
|
|
22
|
+
declare function resetcount(): void;
|
|
23
|
+
declare function setError(msg: string): void;
|
|
24
|
+
declare function close(): void;
|
|
25
|
+
declare var __VLS_1: {}, __VLS_30: {}, __VLS_52: {};
|
|
26
|
+
type __VLS_Slots = {} & {
|
|
27
|
+
default?: (props: typeof __VLS_1) => any;
|
|
28
|
+
} & {
|
|
29
|
+
default?: (props: typeof __VLS_30) => any;
|
|
30
|
+
} & {
|
|
31
|
+
default?: (props: typeof __VLS_52) => any;
|
|
32
|
+
};
|
|
33
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
34
|
+
countdown: typeof countdown;
|
|
35
|
+
resetcount: typeof resetcount;
|
|
36
|
+
setError: typeof setError;
|
|
37
|
+
close: typeof close;
|
|
38
|
+
listenResize: typeof listenResize;
|
|
39
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
40
|
+
submit: (code: string) => any;
|
|
41
|
+
"update:modelValue": (value: boolean) => any;
|
|
42
|
+
show: () => any;
|
|
43
|
+
hide: () => any;
|
|
44
|
+
send: (countdown: () => void) => any;
|
|
45
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
46
|
+
onSubmit?: ((code: string) => any) | undefined;
|
|
47
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
48
|
+
onShow?: (() => any) | undefined;
|
|
49
|
+
onHide?: (() => any) | undefined;
|
|
50
|
+
onSend?: ((countdown: () => void) => any) | undefined;
|
|
51
|
+
}>, {
|
|
52
|
+
title: string;
|
|
53
|
+
mask: boolean;
|
|
54
|
+
type: string;
|
|
55
|
+
brief: string;
|
|
56
|
+
modelValue: boolean;
|
|
57
|
+
isView: boolean;
|
|
58
|
+
maxlength: number | string;
|
|
59
|
+
inputType: string;
|
|
60
|
+
system: boolean;
|
|
61
|
+
subtitle: string;
|
|
62
|
+
autoSend: boolean;
|
|
63
|
+
autoCountdown: boolean;
|
|
64
|
+
count: number;
|
|
65
|
+
countNormalText: string;
|
|
66
|
+
countActiveText: string;
|
|
67
|
+
disableSend: boolean;
|
|
68
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
69
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
70
|
+
declare const _default: typeof __VLS_export;
|
|
71
|
+
export default _default;
|
|
72
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
73
|
+
new (): {
|
|
74
|
+
$slots: S;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CuCaptcha } from './Captcha.vue';
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { CashierChannel } from './CashierChannel.vue';
|
|
2
|
+
export type CashierScene = 'choose' | 'captcha' | 'loading' | 'success' | 'fail' | 'custom';
|
|
3
|
+
export interface CashierSceneOption {
|
|
4
|
+
loading: {
|
|
5
|
+
text: string;
|
|
6
|
+
};
|
|
7
|
+
success: {
|
|
8
|
+
text: string;
|
|
9
|
+
buttonText: string;
|
|
10
|
+
handler: (() => void) | null;
|
|
11
|
+
actions?: never;
|
|
12
|
+
};
|
|
13
|
+
fail: {
|
|
14
|
+
text: string;
|
|
15
|
+
buttonText: string;
|
|
16
|
+
handler: (() => void) | null;
|
|
17
|
+
actions?: never;
|
|
18
|
+
};
|
|
19
|
+
captcha: {
|
|
20
|
+
text: string;
|
|
21
|
+
brief: string;
|
|
22
|
+
maxlength: number;
|
|
23
|
+
count: number;
|
|
24
|
+
autoCountdown: boolean;
|
|
25
|
+
countNormalText?: string;
|
|
26
|
+
countActiveText?: string;
|
|
27
|
+
onSend: () => void;
|
|
28
|
+
onSubmit: (code: string) => void;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
type __VLS_Props = {
|
|
32
|
+
modelValue?: boolean;
|
|
33
|
+
channels?: CashierChannel[];
|
|
34
|
+
channelLimit?: number;
|
|
35
|
+
defaultIndex?: number;
|
|
36
|
+
paymentTitle?: string;
|
|
37
|
+
paymentAmount?: string;
|
|
38
|
+
paymentDescribe?: string;
|
|
39
|
+
payButtonText?: string;
|
|
40
|
+
payButtonDisabled?: boolean;
|
|
41
|
+
moreButtonText?: string;
|
|
42
|
+
title?: string;
|
|
43
|
+
describe?: string;
|
|
44
|
+
largeRadius?: boolean;
|
|
45
|
+
};
|
|
46
|
+
declare function next(nextScene: CashierScene, option?: Record<string, unknown>): void;
|
|
47
|
+
declare var __VLS_17: {
|
|
48
|
+
scene: CashierScene;
|
|
49
|
+
}, __VLS_28: {}, __VLS_31: {}, __VLS_64: {}, __VLS_66: {
|
|
50
|
+
scene: CashierScene;
|
|
51
|
+
};
|
|
52
|
+
type __VLS_Slots = {} & {
|
|
53
|
+
header?: (props: typeof __VLS_17) => any;
|
|
54
|
+
} & {
|
|
55
|
+
channel?: (props: typeof __VLS_28) => any;
|
|
56
|
+
} & {
|
|
57
|
+
payButton?: (props: typeof __VLS_31) => any;
|
|
58
|
+
} & {
|
|
59
|
+
scene?: (props: typeof __VLS_64) => any;
|
|
60
|
+
} & {
|
|
61
|
+
footer?: (props: typeof __VLS_66) => any;
|
|
62
|
+
};
|
|
63
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
64
|
+
next: typeof next;
|
|
65
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
66
|
+
select: (item: CashierChannel) => any;
|
|
67
|
+
"update:modelValue": (value: boolean) => any;
|
|
68
|
+
show: () => any;
|
|
69
|
+
hide: () => any;
|
|
70
|
+
cancel: () => any;
|
|
71
|
+
pay: (item: CashierChannel) => any;
|
|
72
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
73
|
+
onSelect?: ((item: CashierChannel) => any) | undefined;
|
|
74
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
75
|
+
onShow?: (() => any) | undefined;
|
|
76
|
+
onHide?: (() => any) | undefined;
|
|
77
|
+
onCancel?: (() => any) | undefined;
|
|
78
|
+
onPay?: ((item: CashierChannel) => any) | undefined;
|
|
79
|
+
}>, {
|
|
80
|
+
title: string;
|
|
81
|
+
modelValue: boolean;
|
|
82
|
+
largeRadius: boolean;
|
|
83
|
+
describe: string;
|
|
84
|
+
defaultIndex: number;
|
|
85
|
+
paymentTitle: string;
|
|
86
|
+
paymentAmount: string;
|
|
87
|
+
paymentDescribe: string;
|
|
88
|
+
moreButtonText: string;
|
|
89
|
+
payButtonText: string;
|
|
90
|
+
payButtonDisabled: boolean;
|
|
91
|
+
channels: CashierChannel[];
|
|
92
|
+
channelLimit: number;
|
|
93
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
94
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
95
|
+
declare const _default: typeof __VLS_export;
|
|
96
|
+
export default _default;
|
|
97
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
98
|
+
new (): {
|
|
99
|
+
$slots: S;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export interface CashierChannel {
|
|
2
|
+
text?: string;
|
|
3
|
+
desc?: string;
|
|
4
|
+
img?: string;
|
|
5
|
+
icon?: string;
|
|
6
|
+
value?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
action?: {
|
|
9
|
+
text: string;
|
|
10
|
+
handler: () => void;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
type __VLS_Props = {
|
|
14
|
+
paymentTitle?: string;
|
|
15
|
+
paymentAmount?: string;
|
|
16
|
+
paymentDescribe?: string;
|
|
17
|
+
moreButtonText?: string;
|
|
18
|
+
payButtonText?: string;
|
|
19
|
+
payButtonDisabled?: boolean;
|
|
20
|
+
channels?: CashierChannel[];
|
|
21
|
+
channelLimit?: number;
|
|
22
|
+
defaultIndex?: number;
|
|
23
|
+
};
|
|
24
|
+
declare var __VLS_1: {}, __VLS_25: {};
|
|
25
|
+
type __VLS_Slots = {} & {
|
|
26
|
+
default?: (props: typeof __VLS_1) => any;
|
|
27
|
+
} & {
|
|
28
|
+
button?: (props: typeof __VLS_25) => any;
|
|
29
|
+
};
|
|
30
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
31
|
+
select: (item: CashierChannel) => any;
|
|
32
|
+
pay: (item: CashierChannel) => any;
|
|
33
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
34
|
+
onSelect?: ((item: CashierChannel) => any) | undefined;
|
|
35
|
+
onPay?: ((item: CashierChannel) => any) | undefined;
|
|
36
|
+
}>, {
|
|
37
|
+
defaultIndex: number;
|
|
38
|
+
paymentTitle: string;
|
|
39
|
+
paymentAmount: string;
|
|
40
|
+
paymentDescribe: string;
|
|
41
|
+
moreButtonText: string;
|
|
42
|
+
payButtonText: string;
|
|
43
|
+
payButtonDisabled: boolean;
|
|
44
|
+
channels: CashierChannel[];
|
|
45
|
+
channelLimit: number;
|
|
46
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
47
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
48
|
+
declare const _default: typeof __VLS_export;
|
|
49
|
+
export default _default;
|
|
50
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
51
|
+
new (): {
|
|
52
|
+
$slots: S;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
actions?: Array<{
|
|
3
|
+
buttonText?: string;
|
|
4
|
+
handler?: (() => void) | null;
|
|
5
|
+
}>;
|
|
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
|
+
actions: Array<{
|
|
9
|
+
buttonText?: string;
|
|
10
|
+
handler?: (() => void) | null;
|
|
11
|
+
}>;
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
data?: {
|
|
3
|
+
icon?: string;
|
|
4
|
+
img?: string;
|
|
5
|
+
text?: string;
|
|
6
|
+
desc?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
action?: {
|
|
9
|
+
text: string;
|
|
10
|
+
handler: () => void;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
active?: boolean;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
16
|
+
data: {
|
|
17
|
+
icon?: string;
|
|
18
|
+
img?: string;
|
|
19
|
+
text?: string;
|
|
20
|
+
desc?: string;
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
action?: {
|
|
23
|
+
text: string;
|
|
24
|
+
handler: () => void;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
active: boolean;
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
declare const _default: typeof __VLS_export;
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { default as CuCashier, type CashierScene, type CashierSceneOption } from './Cashier.vue';
|
|
2
|
+
export { default as CuCashierChannel, type CashierChannel } from './CashierChannel.vue';
|
|
3
|
+
export { default as CuCashierChannelButton } from './CashierChannelButton.vue';
|
|
4
|
+
export { default as CuCashierChannelItem } from './CashierChannelItem.vue';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title?: string;
|
|
3
|
+
brief?: string;
|
|
4
|
+
addon?: string;
|
|
5
|
+
arrow?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
noBorder?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_12: {};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
left?: (props: typeof __VLS_1) => any;
|
|
12
|
+
} & {
|
|
13
|
+
default?: (props: typeof __VLS_3) => any;
|
|
14
|
+
} & {
|
|
15
|
+
right?: (props: typeof __VLS_5) => any;
|
|
16
|
+
} & {
|
|
17
|
+
children?: (props: typeof __VLS_12) => any;
|
|
18
|
+
};
|
|
19
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
20
|
+
click: (event: MouseEvent) => any;
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
arrow: boolean;
|
|
25
|
+
title: string;
|
|
26
|
+
disabled: boolean;
|
|
27
|
+
brief: string;
|
|
28
|
+
addon: string;
|
|
29
|
+
noBorder: boolean;
|
|
30
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
32
|
+
declare const _default: typeof __VLS_export;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CuCellItem } from './CellItem.vue';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export interface ChartDataset {
|
|
2
|
+
color?: string;
|
|
3
|
+
width?: number;
|
|
4
|
+
theme?: string;
|
|
5
|
+
values: number[];
|
|
6
|
+
}
|
|
7
|
+
type __VLS_Props = {
|
|
8
|
+
labels?: string[];
|
|
9
|
+
datasets?: ChartDataset[];
|
|
10
|
+
size?: Array<string | number>;
|
|
11
|
+
max?: number;
|
|
12
|
+
min?: number;
|
|
13
|
+
lines?: number;
|
|
14
|
+
step?: number;
|
|
15
|
+
shift?: number;
|
|
16
|
+
format?: (val: number) => string | number;
|
|
17
|
+
};
|
|
18
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
19
|
+
shift: number;
|
|
20
|
+
size: Array<string | number>;
|
|
21
|
+
step: number;
|
|
22
|
+
min: number;
|
|
23
|
+
max: number;
|
|
24
|
+
format: (val: number) => string | number;
|
|
25
|
+
labels: string[];
|
|
26
|
+
datasets: ChartDataset[];
|
|
27
|
+
lines: number;
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
declare const _default: typeof __VLS_export;
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
name?: string | number | boolean;
|
|
3
|
+
modelValue?: string | number | boolean;
|
|
4
|
+
size?: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
icon?: string;
|
|
8
|
+
iconInverse?: string;
|
|
9
|
+
iconDisabled?: string;
|
|
10
|
+
iconSvg?: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare var __VLS_6: {};
|
|
13
|
+
type __VLS_Slots = {} & {
|
|
14
|
+
default?: (props: typeof __VLS_6) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
17
|
+
"update:modelValue": (value: string | number | boolean) => any;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
"onUpdate:modelValue"?: ((value: string | number | boolean) => any) | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
name: string | number | boolean;
|
|
22
|
+
size: string;
|
|
23
|
+
label: string;
|
|
24
|
+
icon: string;
|
|
25
|
+
iconSvg: boolean;
|
|
26
|
+
disabled: boolean;
|
|
27
|
+
modelValue: string | number | boolean;
|
|
28
|
+
iconInverse: string;
|
|
29
|
+
iconDisabled: string;
|
|
30
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
32
|
+
declare const _default: typeof __VLS_export;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
name?: string | number | boolean;
|
|
3
|
+
modelValue?: string | number | boolean;
|
|
4
|
+
label?: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
/** lt | rt */
|
|
7
|
+
iconPosition?: string;
|
|
8
|
+
};
|
|
9
|
+
declare var __VLS_10: {};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
default?: (props: typeof __VLS_10) => any;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
14
|
+
"update:modelValue": (value: string | number | boolean) => any;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
"onUpdate:modelValue"?: ((value: string | number | boolean) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
name: string | number | boolean;
|
|
19
|
+
label: string;
|
|
20
|
+
disabled: boolean;
|
|
21
|
+
modelValue: string | number | boolean;
|
|
22
|
+
iconPosition: string;
|
|
23
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue?: Array<string | number | boolean>;
|
|
3
|
+
max?: number;
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
10
|
+
toggle: ((name: string | number | boolean) => void) | undefined;
|
|
11
|
+
toggleAll: ((checked?: boolean) => void) | undefined;
|
|
12
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
13
|
+
"update:modelValue": (value: (string | number | boolean)[]) => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
"onUpdate:modelValue"?: ((value: (string | number | boolean)[]) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
modelValue: Array<string | number | boolean>;
|
|
18
|
+
max: number;
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export interface CheckListOption {
|
|
2
|
+
value: string | number | boolean;
|
|
3
|
+
text?: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
brief?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
|
|
11
|
+
options?: CheckListOption[];
|
|
12
|
+
modelValue?: Array<string | number | boolean>;
|
|
13
|
+
alignCenter?: boolean;
|
|
14
|
+
isSlotScope?: boolean;
|
|
15
|
+
icon?: string;
|
|
16
|
+
iconInverse?: string;
|
|
17
|
+
iconDisabled?: string;
|
|
18
|
+
iconSvg?: boolean;
|
|
19
|
+
iconSize?: string;
|
|
20
|
+
iconPosition?: string;
|
|
21
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
22
|
+
"update:modelValue": (value: (string | number | boolean)[]) => any;
|
|
23
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
24
|
+
options?: CheckListOption[];
|
|
25
|
+
modelValue?: Array<string | number | boolean>;
|
|
26
|
+
alignCenter?: boolean;
|
|
27
|
+
isSlotScope?: boolean;
|
|
28
|
+
icon?: string;
|
|
29
|
+
iconInverse?: string;
|
|
30
|
+
iconDisabled?: string;
|
|
31
|
+
iconSvg?: boolean;
|
|
32
|
+
iconSize?: string;
|
|
33
|
+
iconPosition?: string;
|
|
34
|
+
}> & Readonly<{
|
|
35
|
+
"onUpdate:modelValue"?: ((value: (string | number | boolean)[]) => any) | undefined;
|
|
36
|
+
}>, {
|
|
37
|
+
icon: string;
|
|
38
|
+
iconSvg: boolean;
|
|
39
|
+
modelValue: Array<string | number | boolean>;
|
|
40
|
+
options: CheckListOption[];
|
|
41
|
+
iconPosition: string;
|
|
42
|
+
iconInverse: string;
|
|
43
|
+
iconDisabled: string;
|
|
44
|
+
alignCenter: boolean;
|
|
45
|
+
isSlotScope: boolean;
|
|
46
|
+
iconSize: string;
|
|
47
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
48
|
+
default?: (props: {
|
|
49
|
+
option: CheckListOption;
|
|
50
|
+
index: number;
|
|
51
|
+
selected: boolean;
|
|
52
|
+
}) => any;
|
|
53
|
+
}>;
|
|
54
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
55
|
+
new (): {
|
|
56
|
+
$slots: S;
|
|
57
|
+
};
|
|
58
|
+
};
|