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,57 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
autoplay?: number;
|
|
3
|
+
/** slide | slideY | fade */
|
|
4
|
+
transition?: string;
|
|
5
|
+
transitionDuration?: number;
|
|
6
|
+
defaultIndex?: number;
|
|
7
|
+
hasDots?: boolean;
|
|
8
|
+
isPrevent?: boolean;
|
|
9
|
+
isLoop?: boolean;
|
|
10
|
+
dragable?: boolean;
|
|
11
|
+
useNativeDriver?: boolean;
|
|
12
|
+
};
|
|
13
|
+
declare function next(): void;
|
|
14
|
+
declare function prev(): void;
|
|
15
|
+
declare function goto(displayIndex: number): void;
|
|
16
|
+
declare function getIndex(): number;
|
|
17
|
+
declare function play(d?: number): void;
|
|
18
|
+
declare function stop(): void;
|
|
19
|
+
declare var __VLS_6: {};
|
|
20
|
+
type __VLS_Slots = {} & {
|
|
21
|
+
default?: (props: typeof __VLS_6) => any;
|
|
22
|
+
};
|
|
23
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
24
|
+
next: typeof next;
|
|
25
|
+
prev: typeof prev;
|
|
26
|
+
goto: typeof goto;
|
|
27
|
+
getIndex: typeof getIndex;
|
|
28
|
+
play: typeof play;
|
|
29
|
+
stop: typeof stop;
|
|
30
|
+
index: import('vue').Ref<number, number>;
|
|
31
|
+
rItemCount: import('vue').Ref<number, number>;
|
|
32
|
+
oItemCount: import('vue').Ref<number, number>;
|
|
33
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
34
|
+
beforeChange: (fromIndex: number, toIndex: number) => any;
|
|
35
|
+
"after-change": (fromIndex: number, toIndex: number) => any;
|
|
36
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
37
|
+
onBeforeChange?: ((fromIndex: number, toIndex: number) => any) | undefined;
|
|
38
|
+
"onAfter-change"?: ((fromIndex: number, toIndex: number) => any) | undefined;
|
|
39
|
+
}>, {
|
|
40
|
+
transition: string;
|
|
41
|
+
defaultIndex: number;
|
|
42
|
+
isPrevent: boolean;
|
|
43
|
+
autoplay: number;
|
|
44
|
+
transitionDuration: number;
|
|
45
|
+
hasDots: boolean;
|
|
46
|
+
isLoop: boolean;
|
|
47
|
+
dragable: boolean;
|
|
48
|
+
useNativeDriver: boolean;
|
|
49
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
50
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
51
|
+
declare const _default: typeof __VLS_export;
|
|
52
|
+
export default _default;
|
|
53
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
54
|
+
new (): {
|
|
55
|
+
$slots: S;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ComponentPublicInstance } from 'vue';
|
|
2
|
+
export interface SwiperItemProps {
|
|
3
|
+
/** loop 拷贝实例(不注册回 Swiper) */
|
|
4
|
+
isCopy?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export interface SwiperContextValue {
|
|
7
|
+
dimension: () => number;
|
|
8
|
+
isVertical: () => boolean;
|
|
9
|
+
register: (item: ComponentPublicInstance) => void;
|
|
10
|
+
unregister: (item: ComponentPublicInstance) => void;
|
|
11
|
+
}
|
|
12
|
+
declare var __VLS_1: {};
|
|
13
|
+
type __VLS_Slots = {} & {
|
|
14
|
+
default?: (props: typeof __VLS_1) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_base: import('vue').DefineComponent<SwiperItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SwiperItemProps> & Readonly<{}>, {
|
|
17
|
+
isCopy: boolean;
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue?: boolean;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
6
|
+
"update:modelValue": (value: boolean) => any;
|
|
7
|
+
change: (event: MouseEvent) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
10
|
+
onChange?: ((event: MouseEvent) => any) | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
modelValue: boolean;
|
|
14
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CuSwitch } from './Switch.vue';
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { RadioListOption } from '../radio-list/RadioList.vue';
|
|
2
|
+
export interface TabPickerOption {
|
|
3
|
+
value?: string | number;
|
|
4
|
+
label?: string;
|
|
5
|
+
children?: TabPickerNode;
|
|
6
|
+
}
|
|
7
|
+
export interface TabPickerNode {
|
|
8
|
+
name?: string;
|
|
9
|
+
label?: string;
|
|
10
|
+
value?: string | number;
|
|
11
|
+
children?: TabPickerNode;
|
|
12
|
+
options?: TabPickerOption[];
|
|
13
|
+
}
|
|
14
|
+
type __VLS_Props = {
|
|
15
|
+
modelValue?: boolean;
|
|
16
|
+
data?: TabPickerNode;
|
|
17
|
+
defaultValue?: Array<string | number>;
|
|
18
|
+
placeholder?: string;
|
|
19
|
+
title?: string;
|
|
20
|
+
describe?: string;
|
|
21
|
+
maskClosable?: boolean;
|
|
22
|
+
largeRadius?: boolean;
|
|
23
|
+
};
|
|
24
|
+
declare function getSelectedValues(): (string | number)[];
|
|
25
|
+
declare function getSelectedOptions(): unknown[];
|
|
26
|
+
declare var __VLS_57: {
|
|
27
|
+
option: RadioListOption;
|
|
28
|
+
};
|
|
29
|
+
type __VLS_Slots = {} & {
|
|
30
|
+
default?: (props: typeof __VLS_57) => any;
|
|
31
|
+
};
|
|
32
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
33
|
+
getSelectedValues: typeof getSelectedValues;
|
|
34
|
+
getSelectedOptions: typeof getSelectedOptions;
|
|
35
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
36
|
+
select: (payload: {
|
|
37
|
+
index: number;
|
|
38
|
+
value: string | number | boolean | undefined;
|
|
39
|
+
option: unknown;
|
|
40
|
+
}) => any;
|
|
41
|
+
"update:modelValue": (value: boolean) => any;
|
|
42
|
+
change: (payload: {
|
|
43
|
+
values: Array<string | number>;
|
|
44
|
+
options: Array<unknown>;
|
|
45
|
+
}) => any;
|
|
46
|
+
show: () => any;
|
|
47
|
+
hide: () => any;
|
|
48
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
49
|
+
onSelect?: ((payload: {
|
|
50
|
+
index: number;
|
|
51
|
+
value: string | number | boolean | undefined;
|
|
52
|
+
option: unknown;
|
|
53
|
+
}) => any) | undefined;
|
|
54
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
55
|
+
onChange?: ((payload: {
|
|
56
|
+
values: Array<string | number>;
|
|
57
|
+
options: Array<unknown>;
|
|
58
|
+
}) => any) | undefined;
|
|
59
|
+
onShow?: (() => any) | undefined;
|
|
60
|
+
onHide?: (() => any) | undefined;
|
|
61
|
+
}>, {
|
|
62
|
+
data: TabPickerNode;
|
|
63
|
+
title: string;
|
|
64
|
+
modelValue: boolean;
|
|
65
|
+
defaultValue: Array<string | number>;
|
|
66
|
+
maskClosable: boolean;
|
|
67
|
+
largeRadius: boolean;
|
|
68
|
+
describe: string;
|
|
69
|
+
placeholder: string;
|
|
70
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
71
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
72
|
+
declare const _default: typeof __VLS_export;
|
|
73
|
+
export default _default;
|
|
74
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
75
|
+
new (): {
|
|
76
|
+
$slots: S;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CuTabPicker, type TabPickerNode } from './TabPicker.vue';
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export interface TabBarItem {
|
|
2
|
+
name: string | number;
|
|
3
|
+
label?: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
}
|
|
6
|
+
type __VLS_Props = {
|
|
7
|
+
modelValue?: string | number;
|
|
8
|
+
/** v2 兼容:value 与 v-model 等价,modelValue 优先 */
|
|
9
|
+
value?: string | number;
|
|
10
|
+
items?: TabBarItem[];
|
|
11
|
+
hasInk?: boolean;
|
|
12
|
+
inkLength?: number | string;
|
|
13
|
+
immediate?: boolean;
|
|
14
|
+
};
|
|
15
|
+
declare function reflow(): void;
|
|
16
|
+
declare var __VLS_11: {
|
|
17
|
+
item: TabBarItem;
|
|
18
|
+
items: TabBarItem[];
|
|
19
|
+
index: number;
|
|
20
|
+
currentName: string | number;
|
|
21
|
+
};
|
|
22
|
+
type __VLS_Slots = {} & {
|
|
23
|
+
item?: (props: typeof __VLS_11) => any;
|
|
24
|
+
};
|
|
25
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
26
|
+
reflow: typeof reflow;
|
|
27
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
28
|
+
change: (item: TabBarItem, index: number, prevIndex: number) => void;
|
|
29
|
+
input: (name: string | number) => void;
|
|
30
|
+
"update:modelValue": (name: string | number) => void;
|
|
31
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
32
|
+
onInput?: ((name: string | number) => any) | undefined;
|
|
33
|
+
"onUpdate:modelValue"?: ((name: string | number) => any) | undefined;
|
|
34
|
+
onChange?: ((item: TabBarItem, index: number, prevIndex: number) => any) | undefined;
|
|
35
|
+
}>, {
|
|
36
|
+
value: string | number;
|
|
37
|
+
immediate: boolean;
|
|
38
|
+
modelValue: string | number;
|
|
39
|
+
items: TabBarItem[];
|
|
40
|
+
hasInk: boolean;
|
|
41
|
+
inkLength: number | string;
|
|
42
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
43
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
44
|
+
declare const _default: typeof __VLS_export;
|
|
45
|
+
export default _default;
|
|
46
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
47
|
+
new (): {
|
|
48
|
+
$slots: S;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ComponentInternalInstance } from 'vue';
|
|
2
|
+
export interface RootTabsLike {
|
|
3
|
+
currentName: unknown;
|
|
4
|
+
prevIndex: number;
|
|
5
|
+
currentIndex: number;
|
|
6
|
+
addPane: (pane: ComponentInternalInstance['proxy']) => void;
|
|
7
|
+
removePane: (pane: ComponentInternalInstance['proxy']) => void;
|
|
8
|
+
forceUpdate?: () => void;
|
|
9
|
+
}
|
|
10
|
+
type __VLS_Props = {
|
|
11
|
+
label?: string;
|
|
12
|
+
name?: string;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
};
|
|
15
|
+
declare var __VLS_7: {};
|
|
16
|
+
type __VLS_Slots = {} & {
|
|
17
|
+
default?: (props: typeof __VLS_7) => 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
|
+
name: string;
|
|
21
|
+
label: string;
|
|
22
|
+
disabled: 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,34 @@
|
|
|
1
|
+
import { TabBarItem } from './TabBar.vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
modelValue?: string;
|
|
4
|
+
hasInk?: boolean;
|
|
5
|
+
inkLength?: number;
|
|
6
|
+
immediate?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare function reflowTabBar(): void;
|
|
9
|
+
declare var __VLS_11: {};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
default?: (props: typeof __VLS_11) => any;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
14
|
+
reflowTabBar: typeof reflowTabBar;
|
|
15
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
16
|
+
"update:modelValue": (name: string) => any;
|
|
17
|
+
change: (tab: TabBarItem) => any;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
"onUpdate:modelValue"?: ((name: string) => any) | undefined;
|
|
20
|
+
onChange?: ((tab: TabBarItem) => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
immediate: boolean;
|
|
23
|
+
modelValue: string;
|
|
24
|
+
hasInk: boolean;
|
|
25
|
+
inkLength: number;
|
|
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,39 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** tiny | small | large */
|
|
3
|
+
size?: string;
|
|
4
|
+
/** square | circle | fillet | quarter | coupon | bubble */
|
|
5
|
+
shape?: string;
|
|
6
|
+
/** top-left | top-right | bottom-left | bottom-right */
|
|
7
|
+
sharp?: string;
|
|
8
|
+
/** fill | ghost */
|
|
9
|
+
type?: string;
|
|
10
|
+
fillColor?: string;
|
|
11
|
+
/** normal | bold | bolder */
|
|
12
|
+
fontWeight?: string;
|
|
13
|
+
fontColor?: string;
|
|
14
|
+
};
|
|
15
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
|
|
16
|
+
type __VLS_Slots = {} & {
|
|
17
|
+
default?: (props: typeof __VLS_1) => any;
|
|
18
|
+
} & {
|
|
19
|
+
default?: (props: typeof __VLS_3) => any;
|
|
20
|
+
} & {
|
|
21
|
+
default?: (props: typeof __VLS_5) => any;
|
|
22
|
+
};
|
|
23
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
24
|
+
size: string;
|
|
25
|
+
type: string;
|
|
26
|
+
shape: string;
|
|
27
|
+
sharp: string;
|
|
28
|
+
fillColor: string;
|
|
29
|
+
fontWeight: string;
|
|
30
|
+
fontColor: string;
|
|
31
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
32
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
33
|
+
declare const _default: typeof __VLS_export;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CuTag } from './Tag.vue';
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title?: string;
|
|
3
|
+
name?: string | number;
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
modelValue?: string;
|
|
6
|
+
/** v2 兼容:value 与 v-model 等价,modelValue 优先 */
|
|
7
|
+
value?: string;
|
|
8
|
+
maxLength?: string | number;
|
|
9
|
+
maxHeight?: string | number;
|
|
10
|
+
solid?: boolean;
|
|
11
|
+
readonly?: boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
clearable?: boolean;
|
|
14
|
+
rows?: string | number;
|
|
15
|
+
autosize?: boolean;
|
|
16
|
+
error?: string;
|
|
17
|
+
formation?: (name: string | number, value: string, pos: number) => {
|
|
18
|
+
value: string;
|
|
19
|
+
range: number;
|
|
20
|
+
} | undefined;
|
|
21
|
+
};
|
|
22
|
+
declare function resizeTextarea(): void;
|
|
23
|
+
declare function focus(): void;
|
|
24
|
+
declare function blur(): void;
|
|
25
|
+
declare function getValue(): string;
|
|
26
|
+
declare var __VLS_8: {}, __VLS_16: {};
|
|
27
|
+
type __VLS_Slots = {} & {
|
|
28
|
+
footer?: (props: typeof __VLS_8) => any;
|
|
29
|
+
} & {
|
|
30
|
+
right?: (props: typeof __VLS_16) => any;
|
|
31
|
+
};
|
|
32
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
33
|
+
resizeTextarea: typeof resizeTextarea;
|
|
34
|
+
focus: typeof focus;
|
|
35
|
+
blur: typeof blur;
|
|
36
|
+
getValue: typeof getValue;
|
|
37
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
38
|
+
input: (value: string) => any;
|
|
39
|
+
"update:modelValue": (value: string) => any;
|
|
40
|
+
change: (value: string) => any;
|
|
41
|
+
blur: () => any;
|
|
42
|
+
focus: () => any;
|
|
43
|
+
keydown: (event: KeyboardEvent) => any;
|
|
44
|
+
keyup: (event: KeyboardEvent) => any;
|
|
45
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
46
|
+
onInput?: ((value: string) => any) | undefined;
|
|
47
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
48
|
+
onChange?: ((value: string) => any) | undefined;
|
|
49
|
+
onBlur?: (() => any) | undefined;
|
|
50
|
+
onFocus?: (() => any) | undefined;
|
|
51
|
+
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
52
|
+
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
53
|
+
}>, {
|
|
54
|
+
name: string | number;
|
|
55
|
+
title: string;
|
|
56
|
+
value: string;
|
|
57
|
+
disabled: boolean;
|
|
58
|
+
modelValue: string;
|
|
59
|
+
readonly: boolean;
|
|
60
|
+
error: string;
|
|
61
|
+
maxHeight: string | number;
|
|
62
|
+
placeholder: string;
|
|
63
|
+
solid: boolean;
|
|
64
|
+
clearable: boolean;
|
|
65
|
+
formation: (name: string | number, value: string, pos: number) => {
|
|
66
|
+
value: string;
|
|
67
|
+
range: number;
|
|
68
|
+
} | undefined;
|
|
69
|
+
maxLength: string | number;
|
|
70
|
+
rows: string | number;
|
|
71
|
+
autosize: boolean;
|
|
72
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
73
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
74
|
+
declare const _default: typeof __VLS_export;
|
|
75
|
+
export default _default;
|
|
76
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
77
|
+
new (): {
|
|
78
|
+
$slots: S;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CuTextareaItem } from './TextareaItem.vue';
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { VNode } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Tip 包装器:只渲染插槽的第一个节点,并在其上追加点击触发;
|
|
4
|
+
* 气泡内容懒创建为游离 DOM,绝对定位于第一个可滚动祖先内(v2 契约)。
|
|
5
|
+
*/
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
8
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
9
|
+
/** top | left | bottom | right */
|
|
10
|
+
placement: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
name: {
|
|
15
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
16
|
+
default: undefined;
|
|
17
|
+
};
|
|
18
|
+
icon: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: undefined;
|
|
21
|
+
};
|
|
22
|
+
iconSvg: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
content: {
|
|
27
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
closable: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
fill: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
offset: {
|
|
39
|
+
type: ObjectConstructor;
|
|
40
|
+
default: () => {
|
|
41
|
+
top: number;
|
|
42
|
+
left: number;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
}>, () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
46
|
+
[key: string]: any;
|
|
47
|
+
}> | VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
48
|
+
[key: string]: any;
|
|
49
|
+
}>[], {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("show" | "hide")[], "show" | "hide", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
50
|
+
/** top | left | bottom | right */
|
|
51
|
+
placement: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
name: {
|
|
56
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
57
|
+
default: undefined;
|
|
58
|
+
};
|
|
59
|
+
icon: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: undefined;
|
|
62
|
+
};
|
|
63
|
+
iconSvg: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
content: {
|
|
68
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
closable: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
75
|
+
fill: {
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
79
|
+
offset: {
|
|
80
|
+
type: ObjectConstructor;
|
|
81
|
+
default: () => {
|
|
82
|
+
top: number;
|
|
83
|
+
left: number;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
}>> & Readonly<{
|
|
87
|
+
onShow?: ((...args: any[]) => any) | undefined;
|
|
88
|
+
onHide?: ((...args: any[]) => any) | undefined;
|
|
89
|
+
}>, {
|
|
90
|
+
name: string | number;
|
|
91
|
+
fill: boolean;
|
|
92
|
+
content: string | number;
|
|
93
|
+
icon: string;
|
|
94
|
+
iconSvg: boolean;
|
|
95
|
+
closable: boolean;
|
|
96
|
+
placement: string;
|
|
97
|
+
offset: Record<string, any>;
|
|
98
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** top | left | bottom | right */
|
|
3
|
+
placement?: string;
|
|
4
|
+
closable?: boolean;
|
|
5
|
+
icon?: string;
|
|
6
|
+
iconSvg?: boolean;
|
|
7
|
+
content?: string | number;
|
|
8
|
+
name?: string | number;
|
|
9
|
+
};
|
|
10
|
+
declare var __VLS_6: {};
|
|
11
|
+
type __VLS_Slots = {} & {
|
|
12
|
+
default?: (props: typeof __VLS_6) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
15
|
+
close: () => any;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
onClose?: (() => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
name: string | number;
|
|
20
|
+
content: string | number;
|
|
21
|
+
icon: string;
|
|
22
|
+
iconSvg: boolean;
|
|
23
|
+
closable: boolean;
|
|
24
|
+
placement: 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,45 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
icon?: string;
|
|
3
|
+
iconSvg?: boolean;
|
|
4
|
+
content?: string | number;
|
|
5
|
+
duration?: number;
|
|
6
|
+
/** top | center | bottom */
|
|
7
|
+
position?: string;
|
|
8
|
+
hasMask?: boolean;
|
|
9
|
+
square?: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare function fire(): void;
|
|
12
|
+
declare function show(): void;
|
|
13
|
+
declare function hide(): void;
|
|
14
|
+
declare var __VLS_10: {};
|
|
15
|
+
type __VLS_Slots = {} & {
|
|
16
|
+
default?: (props: typeof __VLS_10) => any;
|
|
17
|
+
};
|
|
18
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
19
|
+
visible: import('vue').Ref<boolean, boolean>;
|
|
20
|
+
show: typeof show;
|
|
21
|
+
hide: typeof hide;
|
|
22
|
+
fire: typeof fire;
|
|
23
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
24
|
+
show: () => any;
|
|
25
|
+
hide: () => any;
|
|
26
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
27
|
+
onShow?: (() => any) | undefined;
|
|
28
|
+
onHide?: (() => any) | undefined;
|
|
29
|
+
}>, {
|
|
30
|
+
square: boolean;
|
|
31
|
+
duration: number;
|
|
32
|
+
content: string | number;
|
|
33
|
+
icon: string;
|
|
34
|
+
iconSvg: boolean;
|
|
35
|
+
hasMask: boolean;
|
|
36
|
+
position: string;
|
|
37
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
38
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
39
|
+
declare const _default: typeof __VLS_export;
|
|
40
|
+
export default _default;
|
|
41
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
42
|
+
new (): {
|
|
43
|
+
$slots: S;
|
|
44
|
+
};
|
|
45
|
+
};
|