@nutui/nutui 4.3.3 → 4.3.5
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/CHANGELOG.md +40 -0
- package/dist/nutui.es.js +1 -1
- package/dist/nutui.js +4809 -5077
- package/dist/nutui.umd.js +1 -1
- package/dist/packages/{Interceptor-WYVtGbGC.js → Interceptor-DlY2h6Y7.js} +2 -2
- package/dist/packages/actionsheet/ActionSheet.js +3 -3
- package/dist/packages/address/Address.js +5 -5
- package/dist/packages/addresslist/AddressList.js +4 -4
- package/dist/packages/animate/Animate.js +1 -1
- package/dist/packages/audio/Audio.js +2 -2
- package/dist/packages/audiooperate/AudioOperate.js +3 -3
- package/dist/packages/avatar/Avatar.js +2 -2
- package/dist/packages/avatarcropper/AvatarCropper.js +5 -5
- package/dist/packages/avatargroup/AvatarGroup.js +3 -3
- package/dist/packages/backtop/Backtop.js +2 -2
- package/dist/packages/badge/Badge.js +2 -2
- package/dist/packages/barrage/Barrage.js +2 -2
- package/dist/packages/button/Button.js +1 -1
- package/dist/packages/calendar/Calendar.js +6 -6
- package/dist/packages/calendarcard/CalendarCard.js +3 -3
- package/dist/packages/card/Card.js +2 -2
- package/dist/packages/cascader/Cascader.js +4 -4
- package/dist/packages/category/Category.js +4 -4
- package/dist/packages/categorypane/CategoryPane.js +5 -5
- package/dist/packages/cell/Cell.js +91 -82
- package/dist/packages/cellgroup/CellGroup.js +44 -21
- package/dist/packages/checkbox/Checkbox.js +4 -4
- package/dist/packages/checkboxgroup/CheckboxGroup.js +2 -2
- package/dist/packages/circleprogress/CircleProgress.js +2 -2
- package/dist/packages/col/Col.js +2 -2
- package/dist/packages/collapse/Collapse.js +2 -2
- package/dist/packages/collapseitem/CollapseItem.js +3 -3
- package/dist/packages/comment/Comment.js +4 -4
- package/dist/packages/{common-4inKawxR.js → common-Chr7cC9o.js} +2 -2
- package/dist/packages/{common-FZL3qC99.js → common-DRG0ue26.js} +1 -1
- package/dist/packages/configprovider/ConfigProvider.js +1 -1
- package/dist/packages/countdown/Countdown.js +4 -4
- package/dist/packages/countup/Countup.js +9 -9
- package/dist/packages/{date-djiVNSnJ.js → date-DHXcwF1m.js} +2 -2
- package/dist/packages/datepicker/DatePicker.js +3 -3
- package/dist/packages/dialog/Dialog.js +8 -8
- package/dist/packages/divider/Divider.js +1 -1
- package/dist/packages/drag/Drag.js +3 -3
- package/dist/packages/ecard/Ecard.js +3 -3
- package/dist/packages/elevator/Elevator.js +2 -2
- package/dist/packages/ellipsis/Ellipsis.js +4 -4
- package/dist/packages/empty/Empty.js +67 -52
- package/dist/packages/fixednav/FixedNav.js +3 -3
- package/dist/packages/form/Form.js +7 -7
- package/dist/packages/formitem/FormItem.js +7 -7
- package/dist/packages/grid/Grid.js +2 -2
- package/dist/packages/griditem/GridItem.js +5 -5
- package/dist/packages/image/Image.js +3 -3
- package/dist/packages/imagepreview/ImagePreview.js +8 -8
- package/dist/packages/{index-s3RgMhc7.js → index-CFigyH92.js} +1 -1
- package/dist/packages/{index--uVlasFu.js → index-Do4_KY74.js} +2 -2
- package/dist/packages/{index-BqB5dTeo.js → index-uHBD4dfS.js} +2 -2
- package/dist/packages/{index.vue_vue_type_script_lang-n0HbjvfF.js → index.vue_vue_type_script_lang-CTQUvlgN.js} +4 -4
- package/dist/packages/{index.vue_vue_type_script_lang-54PRh3YM.js → index.vue_vue_type_script_lang-CaSiRl9x.js} +2 -2
- package/dist/packages/indicator/Indicator.js +56 -50
- package/dist/packages/infiniteloading/InfiniteLoading.js +6 -6
- package/dist/packages/input/Input.js +3 -3
- package/dist/packages/inputnumber/InputNumber.js +9 -9
- package/dist/packages/invoice/Invoice.js +3 -3
- package/dist/packages/layout/Layout.js +2 -2
- package/dist/packages/list/List.js +3 -3
- package/dist/packages/locale/lang/en-US.js +1 -1
- package/dist/packages/locale/lang/id-ID.js +1 -1
- package/dist/packages/locale/lang/index.js +2 -2
- package/dist/packages/locale/lang/zh-CN.js +1 -1
- package/dist/packages/locale/lang/zh-TW.js +1 -1
- package/dist/packages/menu/Menu.js +5 -5
- package/dist/packages/menuitem/MenuItem.js +5 -5
- package/dist/packages/{mountComponent-uInXoTMp.js → mountComponent-DBQ88Fjz.js} +1 -1
- package/dist/packages/navbar/Navbar.js +1 -1
- package/dist/packages/noticebar/Noticebar.js +3 -3
- package/dist/packages/notify/Notify.js +3 -3
- package/dist/packages/numberkeyboard/NumberKeyboard.js +4 -4
- package/dist/packages/overlay/Overlay.js +3 -3
- package/dist/packages/pagination/Pagination.js +3 -3
- package/dist/packages/picker/Picker.js +7 -10
- package/dist/packages/popover/Popover.js +5 -5
- package/dist/packages/popup/Popup.js +2 -2
- package/dist/packages/price/Price.js +1 -1
- package/dist/packages/progress/Progress.js +1 -1
- package/dist/packages/pullrefresh/PullRefresh.js +7 -7
- package/dist/packages/radio/Radio.js +1 -1
- package/dist/packages/radiogroup/RadioGroup.js +1 -1
- package/dist/packages/range/Range.js +6 -6
- package/dist/packages/rate/Rate.js +5 -5
- package/dist/packages/row/Row.js +2 -2
- package/dist/packages/searchbar/Searchbar.js +5 -5
- package/dist/packages/shortpassword/ShortPassword.js +5 -5
- package/dist/packages/sidenavbar/SideNavbar.js +2 -2
- package/dist/packages/sidenavbaritem/SideNavbarItem.js +2 -2
- package/dist/packages/signature/Signature.js +3 -3
- package/dist/packages/skeleton/Skeleton.js +89 -124
- package/dist/packages/sku/Sku.js +4 -4
- package/dist/packages/space/Space.js +1 -1
- package/dist/packages/step/Step.js +3 -3
- package/dist/packages/steps/Steps.js +2 -2
- package/dist/packages/sticky/Sticky.js +4 -4
- package/dist/packages/subsidenavbar/SubSideNavbar.js +2 -2
- package/dist/packages/swipe/Swipe.js +3 -3
- package/dist/packages/swipegroup/SwipeGroup.js +2 -2
- package/dist/packages/swiper/Swiper.js +7 -7
- package/dist/packages/swiperitem/SwiperItem.js +3 -3
- package/dist/packages/switch/Switch.js +68 -86
- package/dist/packages/tabbar/Tabbar.js +78 -78
- package/dist/packages/tabbaritem/TabbarItem.js +89 -113
- package/dist/packages/table/Table.js +3 -3
- package/dist/packages/tabpane/TabPane.js +2 -2
- package/dist/packages/tabs/Tabs.js +9 -9
- package/dist/packages/tag/Tag.js +1 -1
- package/dist/packages/textarea/Textarea.js +113 -127
- package/dist/packages/timedetail/TimeDetail.js +2 -2
- package/dist/packages/timepannel/TimePannel.js +2 -2
- package/dist/packages/timeselect/TimeSelect.js +4 -4
- package/dist/packages/toast/Toast.js +6 -6
- package/dist/packages/tour/Tour.js +3 -3
- package/dist/packages/trendarrow/TrendArrow.js +51 -83
- package/dist/packages/uploader/Uploader.js +5 -5
- package/dist/packages/{useChildren-GU_NVfD8.js → useChildren-BZ4-J79J.js} +2 -2
- package/dist/packages/useParent-D6DiuxZZ.js +21 -0
- package/dist/packages/{util-4Jkyw4BJ.js → util-DnfK0Qan.js} +2 -2
- package/dist/packages/video/Video.js +16 -16
- package/dist/packages/watermark/Watermark.js +2 -2
- package/dist/smartips/web-types.json +1 -1
- package/dist/types/__VUE/cell/cell.vue.d.ts +113 -0
- package/dist/types/__VUE/cell/index.d.ts +6 -0
- package/dist/types/__VUE/cellgroup/cell-group.vue.d.ts +55 -0
- package/dist/types/__VUE/cellgroup/index.d.ts +5 -0
- package/dist/types/__VUE/empty/empty.vue.d.ts +62 -0
- package/dist/types/__VUE/empty/index.d.ts +6 -0
- package/dist/types/__VUE/indicator/index.d.ts +6 -0
- package/dist/types/__VUE/indicator/indicator.vue.d.ts +65 -0
- package/dist/types/__VUE/navbar/navbar.vue.d.ts +1 -1
- package/dist/types/__VUE/skeleton/index.d.ts +5 -0
- package/dist/types/__VUE/skeleton/skeleton.vue.d.ts +102 -0
- package/dist/types/__VUE/swiper/index.vue.d.ts +2 -2
- package/dist/types/__VUE/switch/index.d.ts +5 -0
- package/dist/types/__VUE/switch/switch.vue.d.ts +109 -0
- package/dist/types/__VUE/tabbar/index.d.ts +5 -0
- package/dist/types/__VUE/tabbar/tabbar.vue.d.ts +83 -0
- package/dist/types/__VUE/tabbaritem/index.d.ts +5 -0
- package/dist/types/__VUE/tabbaritem/tabbar-item.vue.d.ts +65 -0
- package/dist/types/__VUE/tabs/index.vue.d.ts +12 -12
- package/dist/types/__VUE/textarea/index.d.ts +5 -0
- package/dist/types/__VUE/textarea/textarea.vue.d.ts +104 -0
- package/dist/types/__VUE/trendarrow/index.d.ts +5 -0
- package/dist/types/__VUE/trendarrow/trend-arrow.vue.d.ts +96 -0
- package/dist/types/__VUE/uploader/index.vue.d.ts +1 -1
- package/dist/types/index.d.ts +21 -11
- package/dist/types/utils/Interceptor.d.ts +2 -2
- package/dist/types/utils/throttle.d.ts +1 -1
- package/dist/types/utils/useRelation/useParent.d.ts +1 -0
- package/package.json +1 -1
- package/dist/packages/useParent-KIxqkovs.js +0 -16
- package/dist/types/__VUE/cell/index.vue.d.ts +0 -120
- package/dist/types/__VUE/cellgroup/index.vue.d.ts +0 -33
- package/dist/types/__VUE/empty/index.vue.d.ts +0 -53
- package/dist/types/__VUE/indicator/index.vue.d.ts +0 -69
- package/dist/types/__VUE/skeleton/index.vue.d.ts +0 -117
- package/dist/types/__VUE/switch/index.vue.d.ts +0 -118
- package/dist/types/__VUE/tabbar/index.vue.d.ts +0 -85
- package/dist/types/__VUE/tabbaritem/index.vue.d.ts +0 -60
- package/dist/types/__VUE/textarea/index.vue.d.ts +0 -127
- package/dist/types/__VUE/trendarrow/index.vue.d.ts +0 -102
- /package/dist/packages/{_plugin-vue_export-helper-yVxbj29m.js → _plugin-vue_export-helper-1tPrXgE0.js} +0 -0
- /package/dist/packages/{component-TCzwHGVq.js → component-DQf3CENX.js} +0 -0
- /package/dist/packages/{index-cp6Ms_Qe.js → index-B1qsj2XR.js} +0 -0
- /package/dist/packages/{index-xDfQLRen.js → index-BvmDLUYP.js} +0 -0
- /package/dist/packages/{index-084nl_oE.js → index-I8tfW3Kf.js} +0 -0
- /package/dist/packages/{index-Ii9XdkPy.js → index-aiGQ-EiA.js} +0 -0
- /package/dist/packages/locale/lang/{baseLang-7uiEiO-2.js → baseLang-Bnfy6fTl.js} +0 -0
- /package/dist/packages/{pxCheck-OnXlN1NC.js → pxCheck-DN6FYV6q.js} +0 -0
- /package/dist/packages/{raf-MQjoO-Ag.js → raf-c01wDYCo.js} +0 -0
- /package/dist/packages/{renderIcon--EgZu5_5.js → renderIcon-BfOvhG7i.js} +0 -0
- /package/dist/packages/{types-RCVUm7Nb.js → types-1HzUV14W.js} +0 -0
- /package/dist/packages/{types-zeKkNDAq.js → types-48N1bMrT.js} +0 -0
- /package/dist/packages/{types-Ww4ErYJT.js → types-BKDaJvHp.js} +0 -0
- /package/dist/packages/{types-odSRziQJ.js → types-BODurTjN.js} +0 -0
- /package/dist/packages/{types-qOrhXtA_.js → types-BWhKcf4T.js} +0 -0
- /package/dist/packages/{types-4IflWeQO.js → types-BomhFk3T.js} +0 -0
- /package/dist/packages/{types-j71K23JP.js → types-CkPfROfI.js} +0 -0
- /package/dist/packages/{types-9wCQwtH3.js → types-DUkJysbi.js} +0 -0
- /package/dist/packages/{types-Cq2YypZn.js → types-MuhxzCWc.js} +0 -0
- /package/dist/packages/{with-install-p59gYYU_.js → with-install-Ch3FF0uS.js} +0 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import type { WithInstall } from '../../utils';
|
|
2
|
+
export type TabbarProps = Partial<{
|
|
3
|
+
modelValue: number | string;
|
|
4
|
+
bottom: boolean;
|
|
5
|
+
unactiveColor: string;
|
|
6
|
+
activeColor: string;
|
|
7
|
+
safeAreaInsetBottom: boolean;
|
|
8
|
+
placeholder: boolean;
|
|
9
|
+
}>;
|
|
10
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
11
|
+
modelValue: string | number;
|
|
12
|
+
bottom: boolean;
|
|
13
|
+
unactiveColor: string;
|
|
14
|
+
activeColor: string;
|
|
15
|
+
safeAreaInsetBottom: boolean;
|
|
16
|
+
placeholder: boolean;
|
|
17
|
+
}>>, {
|
|
18
|
+
modelValue: number;
|
|
19
|
+
bottom: boolean;
|
|
20
|
+
unactiveColor: string;
|
|
21
|
+
activeColor: string;
|
|
22
|
+
safeAreaInsetBottom: boolean;
|
|
23
|
+
placeholder: boolean;
|
|
24
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
|
+
"update:modelValue": (...args: any[]) => void;
|
|
26
|
+
tabSwitch: (...args: any[]) => void;
|
|
27
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
28
|
+
modelValue: string | number;
|
|
29
|
+
bottom: boolean;
|
|
30
|
+
unactiveColor: string;
|
|
31
|
+
activeColor: string;
|
|
32
|
+
safeAreaInsetBottom: boolean;
|
|
33
|
+
placeholder: boolean;
|
|
34
|
+
}>>, {
|
|
35
|
+
modelValue: number;
|
|
36
|
+
bottom: boolean;
|
|
37
|
+
unactiveColor: string;
|
|
38
|
+
activeColor: string;
|
|
39
|
+
safeAreaInsetBottom: boolean;
|
|
40
|
+
placeholder: boolean;
|
|
41
|
+
}>>> & {
|
|
42
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
43
|
+
onTabSwitch?: ((...args: any[]) => any) | undefined;
|
|
44
|
+
}, {
|
|
45
|
+
bottom: boolean;
|
|
46
|
+
safeAreaInsetBottom: boolean;
|
|
47
|
+
placeholder: boolean;
|
|
48
|
+
activeColor: string;
|
|
49
|
+
modelValue: string | number;
|
|
50
|
+
unactiveColor: string;
|
|
51
|
+
}, {}>, {
|
|
52
|
+
default?(_: {}): any;
|
|
53
|
+
}>;
|
|
54
|
+
declare const _nut_default: WithInstall<typeof _default>;
|
|
55
|
+
export default _nut_default;
|
|
56
|
+
|
|
57
|
+
declare module 'vue' {
|
|
58
|
+
interface GlobalComponents {
|
|
59
|
+
NutTabbar: typeof _default;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
63
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
64
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
65
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
66
|
+
} : {
|
|
67
|
+
type: import('vue').PropType<T[K]>;
|
|
68
|
+
required: true;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
type __VLS_WithDefaults<P, D> = {
|
|
72
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
73
|
+
default: D[K];
|
|
74
|
+
}> : P[K];
|
|
75
|
+
};
|
|
76
|
+
type __VLS_Prettify<T> = {
|
|
77
|
+
[K in keyof T]: T[K];
|
|
78
|
+
} & {};
|
|
79
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
80
|
+
new (): {
|
|
81
|
+
$slots: S;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import TabbarItem from './tabbar-item.vue';
|
|
2
|
+
import type { ComponentPublicInstance } from 'vue';
|
|
3
|
+
export type { TabbarItemProps } from './tabbar-item.vue';
|
|
4
|
+
export type TabbarItemInstance = ComponentPublicInstance & InstanceType<typeof TabbarItem>;
|
|
5
|
+
export { TabbarItem, TabbarItem as default };
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import type { WithInstall } from '../../utils';
|
|
2
|
+
export type TabbarItemProps = Partial<{
|
|
3
|
+
tabTitle: string;
|
|
4
|
+
name: string;
|
|
5
|
+
icon: any;
|
|
6
|
+
href: string;
|
|
7
|
+
to: string | Record<never, any>;
|
|
8
|
+
}>;
|
|
9
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
10
|
+
tabTitle: string;
|
|
11
|
+
name: string;
|
|
12
|
+
icon: any;
|
|
13
|
+
href: string;
|
|
14
|
+
to: string | Record<never, any>;
|
|
15
|
+
}>>, {
|
|
16
|
+
tabTitle: string;
|
|
17
|
+
href: string;
|
|
18
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
19
|
+
tabTitle: string;
|
|
20
|
+
name: string;
|
|
21
|
+
icon: any;
|
|
22
|
+
href: string;
|
|
23
|
+
to: string | Record<never, any>;
|
|
24
|
+
}>>, {
|
|
25
|
+
tabTitle: string;
|
|
26
|
+
href: string;
|
|
27
|
+
}>>>, {
|
|
28
|
+
tabTitle: string;
|
|
29
|
+
href: string;
|
|
30
|
+
}, {}>, {
|
|
31
|
+
icon?(_: {
|
|
32
|
+
active: boolean;
|
|
33
|
+
}): any;
|
|
34
|
+
default?(_: {}): any;
|
|
35
|
+
}>;
|
|
36
|
+
declare const _nut_default: WithInstall<typeof _default>;
|
|
37
|
+
export default _nut_default;
|
|
38
|
+
|
|
39
|
+
declare module 'vue' {
|
|
40
|
+
interface GlobalComponents {
|
|
41
|
+
NutTabbarItem: typeof _default;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
45
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
46
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
47
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
48
|
+
} : {
|
|
49
|
+
type: import('vue').PropType<T[K]>;
|
|
50
|
+
required: true;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
type __VLS_WithDefaults<P, D> = {
|
|
54
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
55
|
+
default: D[K];
|
|
56
|
+
}> : P[K];
|
|
57
|
+
};
|
|
58
|
+
type __VLS_Prettify<T> = {
|
|
59
|
+
[K in keyof T]: T[K];
|
|
60
|
+
} & {};
|
|
61
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
62
|
+
new (): {
|
|
63
|
+
$slots: S;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
@@ -91,20 +91,20 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
91
91
|
background: string;
|
|
92
92
|
}>;
|
|
93
93
|
titleStyle: import("vue").ComputedRef<{
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
94
|
+
paddingTop?: undefined;
|
|
95
|
+
paddingBottom?: undefined;
|
|
96
|
+
paddingLeft?: undefined;
|
|
97
|
+
paddingRight?: undefined;
|
|
98
98
|
} | {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
99
|
+
paddingTop: string | undefined;
|
|
100
|
+
paddingBottom: string | undefined;
|
|
101
|
+
paddingLeft?: undefined;
|
|
102
|
+
paddingRight?: undefined;
|
|
103
103
|
} | {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
104
|
+
paddingLeft: string | undefined;
|
|
105
|
+
paddingRight: string | undefined;
|
|
106
|
+
paddingTop?: undefined;
|
|
107
|
+
paddingBottom?: undefined;
|
|
108
108
|
}>;
|
|
109
109
|
tabsActiveStyle: import("vue").ComputedRef<{
|
|
110
110
|
color: string;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import Textarea from './textarea.vue';
|
|
2
|
+
import type { ComponentPublicInstance } from 'vue';
|
|
3
|
+
export type { TextareaProps } from './textarea.vue';
|
|
4
|
+
export type TextareaInstance = ComponentPublicInstance & InstanceType<typeof Textarea>;
|
|
5
|
+
export { Textarea, Textarea as default };
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import type { WithInstall } from '../../utils';
|
|
2
|
+
export interface InputTarget extends HTMLInputElement {
|
|
3
|
+
composing: boolean;
|
|
4
|
+
}
|
|
5
|
+
export type TextareaProps = Partial<{
|
|
6
|
+
modelValue: string;
|
|
7
|
+
textAlign: 'left' | 'center' | 'right';
|
|
8
|
+
limitShow: boolean;
|
|
9
|
+
maxLength: string | number;
|
|
10
|
+
rows: string | number;
|
|
11
|
+
placeholder: string;
|
|
12
|
+
readonly: boolean;
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
autosize: boolean | Record<string, number>;
|
|
15
|
+
autofocus: boolean;
|
|
16
|
+
}>;
|
|
17
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
18
|
+
modelValue: string;
|
|
19
|
+
textAlign: "center" | "left" | "right";
|
|
20
|
+
limitShow: boolean;
|
|
21
|
+
maxLength: string | number;
|
|
22
|
+
rows: string | number;
|
|
23
|
+
placeholder: string;
|
|
24
|
+
readonly: boolean;
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
autosize: boolean | Record<string, number>;
|
|
27
|
+
autofocus: boolean;
|
|
28
|
+
}>>, {
|
|
29
|
+
modelValue: string;
|
|
30
|
+
limitShow: boolean;
|
|
31
|
+
maxLength: string;
|
|
32
|
+
rows: string;
|
|
33
|
+
placeholder: string;
|
|
34
|
+
readonly: boolean;
|
|
35
|
+
disabled: boolean;
|
|
36
|
+
autosize: boolean;
|
|
37
|
+
autofocus: boolean;
|
|
38
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
|
+
blur: (...args: any[]) => void;
|
|
40
|
+
change: (...args: any[]) => void;
|
|
41
|
+
focus: (...args: any[]) => void;
|
|
42
|
+
"update:modelValue": (...args: any[]) => void;
|
|
43
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
44
|
+
modelValue: string;
|
|
45
|
+
textAlign: "center" | "left" | "right";
|
|
46
|
+
limitShow: boolean;
|
|
47
|
+
maxLength: string | number;
|
|
48
|
+
rows: string | number;
|
|
49
|
+
placeholder: string;
|
|
50
|
+
readonly: boolean;
|
|
51
|
+
disabled: boolean;
|
|
52
|
+
autosize: boolean | Record<string, number>;
|
|
53
|
+
autofocus: boolean;
|
|
54
|
+
}>>, {
|
|
55
|
+
modelValue: string;
|
|
56
|
+
limitShow: boolean;
|
|
57
|
+
maxLength: string;
|
|
58
|
+
rows: string;
|
|
59
|
+
placeholder: string;
|
|
60
|
+
readonly: boolean;
|
|
61
|
+
disabled: boolean;
|
|
62
|
+
autosize: boolean;
|
|
63
|
+
autofocus: boolean;
|
|
64
|
+
}>>> & {
|
|
65
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
66
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
67
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
68
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
69
|
+
}, {
|
|
70
|
+
disabled: boolean;
|
|
71
|
+
placeholder: string;
|
|
72
|
+
modelValue: string;
|
|
73
|
+
maxLength: string | number;
|
|
74
|
+
autofocus: boolean;
|
|
75
|
+
readonly: boolean;
|
|
76
|
+
limitShow: boolean;
|
|
77
|
+
rows: string | number;
|
|
78
|
+
autosize: boolean | Record<string, number>;
|
|
79
|
+
}, {}>;
|
|
80
|
+
declare const _nut_default: WithInstall<typeof _default>;
|
|
81
|
+
export default _nut_default;
|
|
82
|
+
|
|
83
|
+
declare module 'vue' {
|
|
84
|
+
interface GlobalComponents {
|
|
85
|
+
NutTextarea: typeof _default;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
89
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
90
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
91
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
92
|
+
} : {
|
|
93
|
+
type: import('vue').PropType<T[K]>;
|
|
94
|
+
required: true;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
type __VLS_WithDefaults<P, D> = {
|
|
98
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
99
|
+
default: D[K];
|
|
100
|
+
}> : P[K];
|
|
101
|
+
};
|
|
102
|
+
type __VLS_Prettify<T> = {
|
|
103
|
+
[K in keyof T]: T[K];
|
|
104
|
+
} & {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import TrendArrow from './trend-arrow.vue';
|
|
2
|
+
import type { ComponentPublicInstance } from 'vue';
|
|
3
|
+
export type { TrendArrowProps } from './trend-arrow.vue';
|
|
4
|
+
export type TrendArrowInstance = ComponentPublicInstance & InstanceType<typeof TrendArrow>;
|
|
5
|
+
export { TrendArrow, TrendArrow as default };
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import type { WithInstall } from '../../utils';
|
|
2
|
+
export type TrendArrowProps = Partial<{
|
|
3
|
+
rate: number;
|
|
4
|
+
digits: number;
|
|
5
|
+
showSign: boolean;
|
|
6
|
+
showZero: boolean;
|
|
7
|
+
arrowLeft: boolean;
|
|
8
|
+
syncTextColor: boolean;
|
|
9
|
+
textColor: string;
|
|
10
|
+
riseColor: string;
|
|
11
|
+
dropColor: string;
|
|
12
|
+
}>;
|
|
13
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
14
|
+
rate: number;
|
|
15
|
+
digits: number;
|
|
16
|
+
showSign: boolean;
|
|
17
|
+
showZero: boolean;
|
|
18
|
+
arrowLeft: boolean;
|
|
19
|
+
syncTextColor: boolean;
|
|
20
|
+
textColor: string;
|
|
21
|
+
riseColor: string;
|
|
22
|
+
dropColor: string;
|
|
23
|
+
}>>, {
|
|
24
|
+
rate: number;
|
|
25
|
+
digits: number;
|
|
26
|
+
showSign: boolean;
|
|
27
|
+
showZero: boolean;
|
|
28
|
+
arrowLeft: boolean;
|
|
29
|
+
syncTextColor: boolean;
|
|
30
|
+
textColor: string;
|
|
31
|
+
riseColor: string;
|
|
32
|
+
dropColor: string;
|
|
33
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
34
|
+
rate: number;
|
|
35
|
+
digits: number;
|
|
36
|
+
showSign: boolean;
|
|
37
|
+
showZero: boolean;
|
|
38
|
+
arrowLeft: boolean;
|
|
39
|
+
syncTextColor: boolean;
|
|
40
|
+
textColor: string;
|
|
41
|
+
riseColor: string;
|
|
42
|
+
dropColor: string;
|
|
43
|
+
}>>, {
|
|
44
|
+
rate: number;
|
|
45
|
+
digits: number;
|
|
46
|
+
showSign: boolean;
|
|
47
|
+
showZero: boolean;
|
|
48
|
+
arrowLeft: boolean;
|
|
49
|
+
syncTextColor: boolean;
|
|
50
|
+
textColor: string;
|
|
51
|
+
riseColor: string;
|
|
52
|
+
dropColor: string;
|
|
53
|
+
}>>>, {
|
|
54
|
+
rate: number;
|
|
55
|
+
textColor: string;
|
|
56
|
+
digits: number;
|
|
57
|
+
showSign: boolean;
|
|
58
|
+
showZero: boolean;
|
|
59
|
+
arrowLeft: boolean;
|
|
60
|
+
syncTextColor: boolean;
|
|
61
|
+
riseColor: string;
|
|
62
|
+
dropColor: string;
|
|
63
|
+
}, {}>, {
|
|
64
|
+
"up-icon"?(_: {}): any;
|
|
65
|
+
"down-icon"?(_: {}): any;
|
|
66
|
+
}>;
|
|
67
|
+
declare const _nut_default: WithInstall<typeof _default>;
|
|
68
|
+
export default _nut_default;
|
|
69
|
+
|
|
70
|
+
declare module 'vue' {
|
|
71
|
+
interface GlobalComponents {
|
|
72
|
+
NutTrendArrow: typeof _default;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
76
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
77
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
78
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
79
|
+
} : {
|
|
80
|
+
type: import('vue').PropType<T[K]>;
|
|
81
|
+
required: true;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
type __VLS_WithDefaults<P, D> = {
|
|
85
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
86
|
+
default: D[K];
|
|
87
|
+
}> : P[K];
|
|
88
|
+
};
|
|
89
|
+
type __VLS_Prettify<T> = {
|
|
90
|
+
[K in keyof T]: T[K];
|
|
91
|
+
} & {};
|
|
92
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
93
|
+
new (): {
|
|
94
|
+
$slots: S;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
@@ -121,7 +121,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
121
121
|
renderInput: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
122
122
|
[key: string]: any;
|
|
123
123
|
}>;
|
|
124
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("success" | "progress" | "delete" | "
|
|
124
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("success" | "progress" | "delete" | "start" | "change" | "oversize" | "failure" | "update:fileList" | "fileItemClick")[], "success" | "progress" | "delete" | "start" | "change" | "oversize" | "failure" | "update:fileList" | "fileItemClick", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
125
125
|
name: {
|
|
126
126
|
type: StringConstructor;
|
|
127
127
|
default: string;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -2,8 +2,10 @@ import { App } from 'vue';
|
|
|
2
2
|
import Locale from './locale';
|
|
3
3
|
import Button from './__VUE/button/index';
|
|
4
4
|
export * from './__VUE/button/index';
|
|
5
|
-
import Cell from './__VUE/cell/index
|
|
6
|
-
|
|
5
|
+
import Cell from './__VUE/cell/index';
|
|
6
|
+
export * from './__VUE/cell/index';
|
|
7
|
+
import CellGroup from './__VUE/cellgroup/index';
|
|
8
|
+
export * from './__VUE/cellgroup/index';
|
|
7
9
|
import Overlay from './__VUE/overlay/index.vue';
|
|
8
10
|
import Popup from './__VUE/popup/index.vue';
|
|
9
11
|
import ConfigProvider from './__VUE/configprovider/index.vue';
|
|
@@ -25,13 +27,16 @@ export * from './__VUE/navbar/index';
|
|
|
25
27
|
import FixedNav from './__VUE/fixednav/index.vue';
|
|
26
28
|
import Menu from './__VUE/menu/index.vue';
|
|
27
29
|
import MenuItem from './__VUE/menuitem/index.vue';
|
|
28
|
-
import Tabbar from './__VUE/tabbar/index
|
|
29
|
-
|
|
30
|
+
import Tabbar from './__VUE/tabbar/index';
|
|
31
|
+
export * from './__VUE/tabbar/index';
|
|
32
|
+
import TabbarItem from './__VUE/tabbaritem/index';
|
|
33
|
+
export * from './__VUE/tabbaritem/index';
|
|
30
34
|
import Elevator from './__VUE/elevator/index.vue';
|
|
31
35
|
import Pagination from './__VUE/pagination/index.vue';
|
|
32
36
|
import Tabs from './__VUE/tabs/index.vue';
|
|
33
37
|
import TabPane from './__VUE/tabpane/index.vue';
|
|
34
|
-
import Indicator from './__VUE/indicator/index
|
|
38
|
+
import Indicator from './__VUE/indicator/index';
|
|
39
|
+
export * from './__VUE/indicator/index';
|
|
35
40
|
import SideNavbar from './__VUE/sidenavbar/index.vue';
|
|
36
41
|
import SideNavbarItem from './__VUE/sidenavbaritem/index.vue';
|
|
37
42
|
import SubSideNavbar from './__VUE/subsidenavbar/index.vue';
|
|
@@ -53,7 +58,8 @@ import Rate from './__VUE/rate/index';
|
|
|
53
58
|
export * from './__VUE/rate/index';
|
|
54
59
|
import Picker from './__VUE/picker/index.vue';
|
|
55
60
|
import ShortPassword from './__VUE/shortpassword/index.vue';
|
|
56
|
-
import Textarea from './__VUE/textarea/index
|
|
61
|
+
import Textarea from './__VUE/textarea/index';
|
|
62
|
+
export * from './__VUE/textarea/index';
|
|
57
63
|
import Uploader from './__VUE/uploader/index.vue';
|
|
58
64
|
import NumberKeyboard from './__VUE/numberkeyboard/index.vue';
|
|
59
65
|
import Form from './__VUE/form/index';
|
|
@@ -74,7 +80,8 @@ import InfiniteLoading from './__VUE/infiniteloading/index.vue';
|
|
|
74
80
|
import PullRefresh from './__VUE/pullrefresh/index.vue';
|
|
75
81
|
import Notify from './__VUE/notify/index.vue';
|
|
76
82
|
import { showNotify } from './__VUE/notify/index';
|
|
77
|
-
import Switch from './__VUE/switch/index
|
|
83
|
+
import Switch from './__VUE/switch/index';
|
|
84
|
+
export * from './__VUE/switch/index';
|
|
78
85
|
import Toast from './__VUE/toast/index.vue';
|
|
79
86
|
import { showToast } from './__VUE/toast/index';
|
|
80
87
|
import Audio from './__VUE/audio/index.vue';
|
|
@@ -87,7 +94,8 @@ export * from './__VUE/progress/index';
|
|
|
87
94
|
import CircleProgress from './__VUE/circleprogress/index';
|
|
88
95
|
export * from './__VUE/circleprogress/index';
|
|
89
96
|
import Noticebar from './__VUE/noticebar/index.vue';
|
|
90
|
-
import Empty from './__VUE/empty/index
|
|
97
|
+
import Empty from './__VUE/empty/index';
|
|
98
|
+
export * from './__VUE/empty/index';
|
|
91
99
|
import Video from './__VUE/video/index.vue';
|
|
92
100
|
import Steps from './__VUE/steps/index.vue';
|
|
93
101
|
import Step from './__VUE/step/index.vue';
|
|
@@ -103,7 +111,8 @@ import Badge from './__VUE/badge/index.vue';
|
|
|
103
111
|
import Tag from './__VUE/tag/index';
|
|
104
112
|
export * from './__VUE/tag/index';
|
|
105
113
|
import Popover from './__VUE/popover/index.vue';
|
|
106
|
-
import Skeleton from './__VUE/skeleton/index
|
|
114
|
+
import Skeleton from './__VUE/skeleton/index';
|
|
115
|
+
export * from './__VUE/skeleton/index';
|
|
107
116
|
import Collapse from './__VUE/collapse/index';
|
|
108
117
|
export * from './__VUE/collapse/index';
|
|
109
118
|
import CollapseItem from './__VUE/collapseitem/index';
|
|
@@ -113,7 +122,8 @@ import Animate from './__VUE/animate/index';
|
|
|
113
122
|
export * from './__VUE/animate/index';
|
|
114
123
|
import Ellipsis from './__VUE/ellipsis/index.vue';
|
|
115
124
|
import Watermark from './__VUE/watermark/index.vue';
|
|
116
|
-
import TrendArrow from './__VUE/trendarrow/index
|
|
125
|
+
import TrendArrow from './__VUE/trendarrow/index';
|
|
126
|
+
export * from './__VUE/trendarrow/index';
|
|
117
127
|
import Tour from './__VUE/tour/index.vue';
|
|
118
128
|
import Address from './__VUE/address/index.vue';
|
|
119
129
|
import Barrage from './__VUE/barrage/index.vue';
|
|
@@ -132,7 +142,7 @@ import Invoice from './__VUE/invoice/index';
|
|
|
132
142
|
export * from './__VUE/invoice/index';
|
|
133
143
|
import AvatarCropper from './__VUE/avatarcropper/index.vue';
|
|
134
144
|
declare function install(app: App): void;
|
|
135
|
-
declare const version = "4.3.
|
|
145
|
+
declare const version = "4.3.5";
|
|
136
146
|
export { install, version, Locale, Button, Cell, CellGroup, Overlay, Popup, ConfigProvider, Image, Layout, Col, Row, Sticky, Divider, Grid, GridItem, Space, Navbar, FixedNav, Menu, MenuItem, Tabbar, TabbarItem, Elevator, Pagination, Tabs, TabPane, Indicator, SideNavbar, SideNavbarItem, SubSideNavbar, Range, Searchbar, Cascader, Calendar, CalendarCard, Checkbox, CheckboxGroup, DatePicker, InputNumber, Input, Radio, RadioGroup, Rate, Picker, ShortPassword, Textarea, Uploader, NumberKeyboard, Form, FormItem, Swipe, SwipeGroup, ActionSheet, Backtop, Drag, Dialog, InfiniteLoading, PullRefresh, Notify, Switch, Toast, Audio, AudioOperate, Avatar, AvatarGroup, List, Progress, CircleProgress, Noticebar, Empty, Video, Steps, Step, Swiper, SwiperItem, Price, ImagePreview, Countup, Countdown, Badge, Tag, Popover, Skeleton, Collapse, CollapseItem, Table, Animate, Ellipsis, Watermark, TrendArrow, Tour, Address, Barrage, Signature, TimeSelect, TimePannel, TimeDetail, Sku, Card, Ecard, AddressList, Category, CategoryPane, Comment, Invoice, AvatarCropper, showDialog, showNotify, showToast, showImagePreview };
|
|
137
147
|
declare const _default: {
|
|
138
148
|
install: typeof install;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type Interceptor = (...args: any[]) => Promise<boolean> | boolean | undefined | void;
|
|
2
2
|
export declare const funInterceptor: (interceptor: Interceptor | undefined, { args, done, canceled }: {
|
|
3
|
-
args?: unknown[]
|
|
3
|
+
args?: unknown[];
|
|
4
4
|
done: (val?: any) => void;
|
|
5
|
-
canceled?: (
|
|
5
|
+
canceled?: () => void;
|
|
6
6
|
}) => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare function debounce(fn: Function, delay: number): () => void;
|
|
2
|
-
export declare function throttle(fn: Function, delay: number): () => void;
|
|
2
|
+
export declare function throttle(fn: Function, delay: number): (...args: any) => void;
|
package/package.json
CHANGED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { inject, getCurrentInstance, onUnmounted } from "vue";
|
|
2
|
-
const useParent = (key) => {
|
|
3
|
-
const parent = inject(key, null);
|
|
4
|
-
if (parent) {
|
|
5
|
-
const instance = getCurrentInstance();
|
|
6
|
-
const { link, unlink } = parent;
|
|
7
|
-
link(instance);
|
|
8
|
-
onUnmounted(() => {
|
|
9
|
-
unlink(instance);
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
return { parent };
|
|
13
|
-
};
|
|
14
|
-
export {
|
|
15
|
-
useParent as u
|
|
16
|
-
};
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import type { PropType, CSSProperties } from 'vue';
|
|
2
|
-
import { CellSize } from './types';
|
|
3
|
-
|
|
4
|
-
declare type Install<T> = T & {
|
|
5
|
-
install(app: import('vue').App): void;
|
|
6
|
-
};
|
|
7
|
-
declare const _default: Install< import("vue").DefineComponent<{
|
|
8
|
-
title: {
|
|
9
|
-
type: StringConstructor;
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
subTitle: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
desc: {
|
|
17
|
-
type: StringConstructor;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
descTextAlign: {
|
|
21
|
-
type: StringConstructor;
|
|
22
|
-
default: string;
|
|
23
|
-
};
|
|
24
|
-
isLink: {
|
|
25
|
-
type: BooleanConstructor;
|
|
26
|
-
default: boolean;
|
|
27
|
-
};
|
|
28
|
-
to: (ObjectConstructor | StringConstructor)[];
|
|
29
|
-
replace: {
|
|
30
|
-
type: BooleanConstructor;
|
|
31
|
-
default: boolean;
|
|
32
|
-
};
|
|
33
|
-
roundRadius: {
|
|
34
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
35
|
-
default: string;
|
|
36
|
-
};
|
|
37
|
-
url: {
|
|
38
|
-
type: StringConstructor;
|
|
39
|
-
default: string;
|
|
40
|
-
};
|
|
41
|
-
center: {
|
|
42
|
-
type: BooleanConstructor;
|
|
43
|
-
default: boolean;
|
|
44
|
-
};
|
|
45
|
-
size: {
|
|
46
|
-
type: PropType<CellSize>;
|
|
47
|
-
default: string;
|
|
48
|
-
};
|
|
49
|
-
}, {
|
|
50
|
-
handleClick: (event: Event) => void;
|
|
51
|
-
classes: import("vue").ComputedRef<{
|
|
52
|
-
[x: string]: string | boolean | Record<string, any> | undefined;
|
|
53
|
-
}>;
|
|
54
|
-
baseStyle: import("vue").ComputedRef<{
|
|
55
|
-
borderRadius: string | undefined;
|
|
56
|
-
}>;
|
|
57
|
-
descStyle: import("vue").ComputedRef<CSSProperties>;
|
|
58
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
59
|
-
title: {
|
|
60
|
-
type: StringConstructor;
|
|
61
|
-
default: string;
|
|
62
|
-
};
|
|
63
|
-
subTitle: {
|
|
64
|
-
type: StringConstructor;
|
|
65
|
-
default: string;
|
|
66
|
-
};
|
|
67
|
-
desc: {
|
|
68
|
-
type: StringConstructor;
|
|
69
|
-
default: string;
|
|
70
|
-
};
|
|
71
|
-
descTextAlign: {
|
|
72
|
-
type: StringConstructor;
|
|
73
|
-
default: string;
|
|
74
|
-
};
|
|
75
|
-
isLink: {
|
|
76
|
-
type: BooleanConstructor;
|
|
77
|
-
default: boolean;
|
|
78
|
-
};
|
|
79
|
-
to: (ObjectConstructor | StringConstructor)[];
|
|
80
|
-
replace: {
|
|
81
|
-
type: BooleanConstructor;
|
|
82
|
-
default: boolean;
|
|
83
|
-
};
|
|
84
|
-
roundRadius: {
|
|
85
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
86
|
-
default: string;
|
|
87
|
-
};
|
|
88
|
-
url: {
|
|
89
|
-
type: StringConstructor;
|
|
90
|
-
default: string;
|
|
91
|
-
};
|
|
92
|
-
center: {
|
|
93
|
-
type: BooleanConstructor;
|
|
94
|
-
default: boolean;
|
|
95
|
-
};
|
|
96
|
-
size: {
|
|
97
|
-
type: PropType<CellSize>;
|
|
98
|
-
default: string;
|
|
99
|
-
};
|
|
100
|
-
}>> & {
|
|
101
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
102
|
-
}, {
|
|
103
|
-
size: CellSize;
|
|
104
|
-
title: string;
|
|
105
|
-
desc: string;
|
|
106
|
-
replace: boolean;
|
|
107
|
-
center: boolean;
|
|
108
|
-
subTitle: string;
|
|
109
|
-
descTextAlign: string;
|
|
110
|
-
isLink: boolean;
|
|
111
|
-
roundRadius: string | number;
|
|
112
|
-
url: string;
|
|
113
|
-
}, {}>>;
|
|
114
|
-
export default _default;
|
|
115
|
-
|
|
116
|
-
declare module 'vue' {
|
|
117
|
-
interface GlobalComponents {
|
|
118
|
-
NutCell: typeof _default;
|
|
119
|
-
}
|
|
120
|
-
}
|