@nutui/nutui 4.3.13 → 4.3.14-beta.3
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/README.md +30 -30
- package/dist/nutui.es.js +1 -1
- package/dist/nutui.js +2854 -2844
- package/dist/nutui.umd.js +1 -1
- package/dist/packages/addresslist/AddressList.js +2 -2
- package/dist/packages/audio/Audio.js +9 -10
- package/dist/packages/audiooperate/AudioOperate.js +2 -2
- package/dist/packages/cascader/Cascader.js +3 -4
- package/dist/packages/comment/Comment.js +8 -11
- package/dist/packages/dialog/Dialog.js +4 -1
- package/dist/packages/elevator/Elevator.js +2 -2
- package/dist/packages/invoice/Invoice.js +2 -2
- package/dist/packages/locale/index.d.ts +1 -1
- package/dist/packages/numberkeyboard/NumberKeyboard.js +3 -5
- package/dist/packages/step/Step.js +13 -14
- package/dist/packages/swiper/Swiper.js +19 -1
- package/dist/packages/video/Video.js +11 -13
- package/dist/smartips/web-types.json +1 -1
- package/dist/types/__VUE/actionsheet/index.vue.d.ts +496 -8
- package/dist/types/__VUE/address/index.vue.d.ts +865 -56
- package/dist/types/__VUE/addresslist/components/GeneralShell.vue.d.ts +465 -7
- package/dist/types/__VUE/addresslist/components/ItemContents.vue.d.ts +117 -6
- package/dist/types/__VUE/addresslist/index.vue.d.ts +713 -6
- package/dist/types/__VUE/animate/animate.vue.d.ts +5 -5
- package/dist/types/__VUE/audio/index.vue.d.ts +229 -28
- package/dist/types/__VUE/audiooperate/index.vue.d.ts +205 -15
- package/dist/types/__VUE/avatar/index.vue.d.ts +6 -6
- package/dist/types/__VUE/avatarcropper/index.vue.d.ts +319 -19
- package/dist/types/__VUE/avatargroup/index.vue.d.ts +55 -7
- package/dist/types/__VUE/backtop/backtop.vue.d.ts +6 -6
- package/dist/types/__VUE/badge/badge.vue.d.ts +5 -5
- package/dist/types/__VUE/barrage/index.vue.d.ts +7 -7
- package/dist/types/__VUE/button/button.vue.d.ts +5 -5
- package/dist/types/__VUE/calendar/index.vue.d.ts +647 -8
- package/dist/types/__VUE/calendarcard/calendar-card.vue.d.ts +9 -24
- package/dist/types/__VUE/calendaritem/index.vue.d.ts +52 -52
- package/dist/types/__VUE/card/index.vue.d.ts +256 -4
- package/dist/types/__VUE/cascader/cascader-item.vue.d.ts +453 -10
- package/dist/types/__VUE/cascader/index.vue.d.ts +950 -10
- package/dist/types/__VUE/category/index.vue.d.ts +7 -7
- package/dist/types/__VUE/categorypane/index.vue.d.ts +5 -5
- package/dist/types/__VUE/cell/cell.vue.d.ts +5 -5
- package/dist/types/__VUE/cellgroup/cell-group.vue.d.ts +4 -4
- package/dist/types/__VUE/checkbox/index.vue.d.ts +6 -6
- package/dist/types/__VUE/checkboxgroup/index.vue.d.ts +7 -7
- package/dist/types/__VUE/circleprogress/circle-progress.vue.d.ts +5 -5
- package/dist/types/__VUE/col/col.vue.d.ts +4 -4
- package/dist/types/__VUE/collapse/collapse.vue.d.ts +5 -5
- package/dist/types/__VUE/collapseitem/collapse-item.vue.d.ts +4 -4
- package/dist/types/__VUE/comment/components/CmtBottom.vue.d.ts +174 -8
- package/dist/types/__VUE/comment/components/CmtHeader.vue.d.ts +218 -6
- package/dist/types/__VUE/comment/components/CmtImages.vue.d.ts +73 -18
- package/dist/types/__VUE/comment/index.vue.d.ts +627 -16
- package/dist/types/__VUE/comment/type.d.ts +10 -0
- package/dist/types/__VUE/configprovider/index.vue.d.ts +6 -6
- package/dist/types/__VUE/countdown/countdown.vue.d.ts +8 -8
- package/dist/types/__VUE/countup/index.vue.d.ts +46 -46
- package/dist/types/__VUE/datepicker/index.vue.d.ts +265 -9
- package/dist/types/__VUE/dialog/index.vue.d.ts +631 -9
- package/dist/types/__VUE/divider/divider.vue.d.ts +4 -4
- package/dist/types/__VUE/drag/index.vue.d.ts +6 -6
- package/dist/types/__VUE/ecard/index.vue.d.ts +255 -10
- package/dist/types/__VUE/elevator/index.vue.d.ts +24 -17
- package/dist/types/__VUE/ellipsis/index.vue.d.ts +10 -10
- package/dist/types/__VUE/empty/empty.vue.d.ts +4 -4
- package/dist/types/__VUE/fixednav/index.vue.d.ts +231 -7
- package/dist/types/__VUE/form/form.vue.d.ts +6 -6
- package/dist/types/__VUE/formitem/form-item.vue.d.ts +4 -4
- package/dist/types/__VUE/grid/grid.vue.d.ts +4 -4
- package/dist/types/__VUE/griditem/grid-item.vue.d.ts +5 -5
- package/dist/types/__VUE/image/image.vue.d.ts +6 -6
- package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +155 -14
- package/dist/types/__VUE/imagepreview/index.vue.d.ts +916 -11
- package/dist/types/__VUE/indicator/indicator.vue.d.ts +4 -4
- package/dist/types/__VUE/infiniteloading/index.vue.d.ts +68 -12
- package/dist/types/__VUE/input/input.vue.d.ts +11 -11
- package/dist/types/__VUE/inputnumber/input-number.vue.d.ts +10 -10
- package/dist/types/__VUE/invoice/invoice.vue.d.ts +5 -5
- package/dist/types/__VUE/layout/layout.vue.d.ts +1 -1
- package/dist/types/__VUE/list/index.vue.d.ts +19 -13
- package/dist/types/__VUE/menu/index.vue.d.ts +117 -6
- package/dist/types/__VUE/menuitem/index.vue.d.ts +494 -6
- package/dist/types/__VUE/navbar/navbar.vue.d.ts +5 -5
- package/dist/types/__VUE/noticebar/index.vue.d.ts +136 -20
- package/dist/types/__VUE/notify/index.vue.d.ts +441 -8
- package/dist/types/__VUE/numberkeyboard/index.vue.d.ts +442 -9
- package/dist/types/__VUE/overlay/overlay.vue.d.ts +6 -6
- package/dist/types/__VUE/pagination/index.vue.d.ts +9 -9
- package/dist/types/__VUE/picker/Column.vue.d.ts +29 -22
- package/dist/types/__VUE/picker/index.vue.d.ts +138 -8
- package/dist/types/__VUE/picker/usePicker.d.ts +3 -3
- package/dist/types/__VUE/popover/index.vue.d.ts +443 -10
- package/dist/types/__VUE/popup/index.vue.d.ts +234 -10
- package/dist/types/__VUE/price/price.vue.d.ts +4 -4
- package/dist/types/__VUE/progress/progress.vue.d.ts +4 -4
- package/dist/types/__VUE/pullrefresh/index.vue.d.ts +76 -8
- package/dist/types/__VUE/radio/radio.vue.d.ts +4 -4
- package/dist/types/__VUE/radiogroup/radio-group.vue.d.ts +5 -5
- package/dist/types/__VUE/range/index.vue.d.ts +25 -25
- package/dist/types/__VUE/rate/rate.vue.d.ts +5 -5
- package/dist/types/__VUE/row/row.vue.d.ts +4 -4
- package/dist/types/__VUE/searchbar/index.vue.d.ts +9 -9
- package/dist/types/__VUE/shortpassword/index.vue.d.ts +496 -8
- package/dist/types/__VUE/sidenavbar/index.vue.d.ts +11 -7
- package/dist/types/__VUE/sidenavbaritem/index.vue.d.ts +4 -4
- package/dist/types/__VUE/signature/index.vue.d.ts +201 -11
- package/dist/types/__VUE/skeleton/skeleton.vue.d.ts +4 -4
- package/dist/types/__VUE/sku/components/SkuHeader.vue.d.ts +82 -5
- package/dist/types/__VUE/sku/components/SkuOperate.vue.d.ts +6 -6
- package/dist/types/__VUE/sku/components/SkuSelect.vue.d.ts +13 -6
- package/dist/types/__VUE/sku/components/SkuStepper.vue.d.ts +252 -7
- package/dist/types/__VUE/sku/index.vue.d.ts +921 -7
- package/dist/types/__VUE/sku/type.d.ts +7 -0
- package/dist/types/__VUE/space/index.vue.d.ts +5 -5
- package/dist/types/__VUE/step/step.vue.d.ts +4 -4
- package/dist/types/__VUE/steps/steps.vue.d.ts +5 -5
- package/dist/types/__VUE/sticky/index.vue.d.ts +8 -8
- package/dist/types/__VUE/subsidenavbar/index.vue.d.ts +118 -7
- package/dist/types/__VUE/swipe/swipe.vue.d.ts +7 -7
- package/dist/types/__VUE/swipegroup/swipe-group.vue.d.ts +4 -4
- package/dist/types/__VUE/swiper/index.vue.d.ts +7 -7
- package/dist/types/__VUE/swiperitem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/switch/switch.vue.d.ts +5 -5
- package/dist/types/__VUE/tabbar/tabbar.vue.d.ts +5 -5
- package/dist/types/__VUE/tabbaritem/tabbar-item.vue.d.ts +4 -4
- package/dist/types/__VUE/table/index.vue.d.ts +87 -7
- package/dist/types/__VUE/table/renderColumn.d.ts +5 -5
- package/dist/types/__VUE/tabpane/index.vue.d.ts +5 -5
- package/dist/types/__VUE/tabs/hooks.d.ts +1 -1
- package/dist/types/__VUE/tabs/index.vue.d.ts +122 -10
- package/dist/types/__VUE/tag/tag.vue.d.ts +5 -5
- package/dist/types/__VUE/textarea/textarea.vue.d.ts +6 -6
- package/dist/types/__VUE/timedetail/index.vue.d.ts +8 -8
- package/dist/types/__VUE/timepannel/index.vue.d.ts +7 -7
- package/dist/types/__VUE/timeselect/index.vue.d.ts +439 -6
- package/dist/types/__VUE/toast/index.vue.d.ts +7 -7
- package/dist/types/__VUE/tour/index.vue.d.ts +671 -9
- package/dist/types/__VUE/trendarrow/trend-arrow.vue.d.ts +4 -4
- package/dist/types/__VUE/uploader/index.vue.d.ts +480 -7
- package/dist/types/__VUE/video/index.vue.d.ts +43 -19
- package/dist/types/__VUE/watermark/watermark.vue.d.ts +4 -4
- package/dist/types/index.d.ts +1 -1
- package/dist/types/locale/index.d.ts +1 -1
- package/dist/types/utils/useRelation/useInject.d.ts +1 -1
- package/dist/types/utils/useScrollParent/index.d.ts +1 -1
- package/dist/types/utils/useTouch/index.d.ts +9 -9
- package/package.json +2 -2
|
@@ -4,7 +4,7 @@ import { SpaceAlign, SpaceJustify, SpaceGutter } from './types';
|
|
|
4
4
|
declare type Install<T> = T & {
|
|
5
5
|
install(app: import('vue').App): void;
|
|
6
6
|
};
|
|
7
|
-
declare const _default: Install< import("vue").DefineComponent<{
|
|
7
|
+
declare const _default: Install< import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
8
|
align: PropType<SpaceAlign>;
|
|
9
9
|
direction: {
|
|
10
10
|
type: PropType<"horizontal" | "vertical">;
|
|
@@ -14,9 +14,9 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
14
14
|
wrap: BooleanConstructor;
|
|
15
15
|
gutter: PropType<string | number | [SpaceGutter, SpaceGutter]>;
|
|
16
16
|
fill: BooleanConstructor;
|
|
17
|
-
}
|
|
17
|
+
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
18
18
|
[key: string]: any;
|
|
19
|
-
}>,
|
|
19
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
20
|
align: PropType<SpaceAlign>;
|
|
21
21
|
direction: {
|
|
22
22
|
type: PropType<"horizontal" | "vertical">;
|
|
@@ -26,11 +26,11 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
26
26
|
wrap: BooleanConstructor;
|
|
27
27
|
gutter: PropType<string | number | [SpaceGutter, SpaceGutter]>;
|
|
28
28
|
fill: BooleanConstructor;
|
|
29
|
-
}
|
|
29
|
+
}>> & Readonly<{}>, {
|
|
30
30
|
fill: boolean;
|
|
31
31
|
wrap: boolean;
|
|
32
32
|
direction: "horizontal" | "vertical";
|
|
33
|
-
}, {}>>;
|
|
33
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
34
34
|
export default _default;
|
|
35
35
|
|
|
36
36
|
declare module 'vue' {
|
|
@@ -3,22 +3,22 @@ export type StepProps = Partial<{
|
|
|
3
3
|
title: string;
|
|
4
4
|
content: string;
|
|
5
5
|
}>;
|
|
6
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
7
7
|
title: string;
|
|
8
8
|
content: string;
|
|
9
9
|
}>>, {
|
|
10
10
|
title: string;
|
|
11
11
|
content: string;
|
|
12
|
-
}
|
|
12
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
13
13
|
title: string;
|
|
14
14
|
content: string;
|
|
15
15
|
}>>, {
|
|
16
16
|
title: string;
|
|
17
17
|
content: string;
|
|
18
|
-
}
|
|
18
|
+
}>>> & Readonly<{}>, {
|
|
19
19
|
title: string;
|
|
20
20
|
content: string;
|
|
21
|
-
}, {}>, {
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
22
22
|
icon?(_: {}): any;
|
|
23
23
|
title?(_: {}): any;
|
|
24
24
|
content?(_: {}): any;
|
|
@@ -5,7 +5,7 @@ export type StepsProps = Partial<{
|
|
|
5
5
|
current: string | number;
|
|
6
6
|
progressDot: boolean;
|
|
7
7
|
}>;
|
|
8
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
9
9
|
direction: StepsDirection;
|
|
10
10
|
current: string | number;
|
|
11
11
|
progressDot: boolean;
|
|
@@ -13,7 +13,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
13
13
|
direction: string;
|
|
14
14
|
current: string;
|
|
15
15
|
progressDot: boolean;
|
|
16
|
-
}
|
|
16
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
17
|
clickStep: (...args: any[]) => void;
|
|
18
18
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
19
19
|
direction: StepsDirection;
|
|
@@ -23,13 +23,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
23
23
|
direction: string;
|
|
24
24
|
current: string;
|
|
25
25
|
progressDot: boolean;
|
|
26
|
-
}>>> & {
|
|
26
|
+
}>>> & Readonly<{
|
|
27
27
|
onClickStep?: ((...args: any[]) => any) | undefined;
|
|
28
|
-
}
|
|
28
|
+
}>, {
|
|
29
29
|
direction: StepsDirection;
|
|
30
30
|
current: string | number;
|
|
31
31
|
progressDot: boolean;
|
|
32
|
-
}, {}>, {
|
|
32
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
33
33
|
default?(_: {}): any;
|
|
34
34
|
}>;
|
|
35
35
|
declare const _nut_default: WithInstall<typeof _default>;
|
|
@@ -4,7 +4,7 @@ type StickyPosition = 'top' | 'bottom';
|
|
|
4
4
|
declare type Install<T> = T & {
|
|
5
5
|
install(app: import('vue').App): void;
|
|
6
6
|
};
|
|
7
|
-
declare const _default: Install< import("vue").DefineComponent<{
|
|
7
|
+
declare const _default: Install< import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
8
|
position: {
|
|
9
9
|
type: PropType<StickyPosition>;
|
|
10
10
|
default: string;
|
|
@@ -25,12 +25,12 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
25
25
|
type: (NumberConstructor | StringConstructor)[];
|
|
26
26
|
default: number;
|
|
27
27
|
};
|
|
28
|
-
}
|
|
29
|
-
rootRef: import("vue").Ref<HTMLElement | undefined>;
|
|
28
|
+
}>, {
|
|
29
|
+
rootRef: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
30
30
|
rootStyle: import("vue").ComputedRef<CSSProperties | undefined>;
|
|
31
|
-
stickyRef: import("vue").Ref<HTMLElement | undefined>;
|
|
31
|
+
stickyRef: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
32
32
|
stickyStyle: import("vue").ComputedRef<CSSProperties>;
|
|
33
|
-
},
|
|
33
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
34
|
position: {
|
|
35
35
|
type: PropType<StickyPosition>;
|
|
36
36
|
default: string;
|
|
@@ -51,15 +51,15 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
51
51
|
type: (NumberConstructor | StringConstructor)[];
|
|
52
52
|
default: number;
|
|
53
53
|
};
|
|
54
|
-
}>> & {
|
|
54
|
+
}>> & Readonly<{
|
|
55
55
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
56
|
-
}
|
|
56
|
+
}>, {
|
|
57
57
|
bottom: string | number;
|
|
58
58
|
top: string | number;
|
|
59
59
|
zIndex: string | number;
|
|
60
60
|
position: StickyPosition;
|
|
61
61
|
container: Element;
|
|
62
|
-
}, {}>>;
|
|
62
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
63
63
|
export default _default;
|
|
64
64
|
|
|
65
65
|
declare module 'vue' {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
declare type Install<T> = T & {
|
|
3
3
|
install(app: import('vue').App): void;
|
|
4
4
|
};
|
|
5
|
-
declare const _default: Install< import("vue").DefineComponent<{
|
|
5
|
+
declare const _default: Install< import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
6
|
title: {
|
|
7
7
|
type: StringConstructor;
|
|
8
8
|
default: string;
|
|
@@ -11,13 +11,13 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
11
11
|
type: BooleanConstructor;
|
|
12
12
|
default: boolean;
|
|
13
13
|
};
|
|
14
|
-
}
|
|
14
|
+
}>, {
|
|
15
15
|
style: import("vue").ComputedRef<{
|
|
16
16
|
height: string;
|
|
17
17
|
}>;
|
|
18
18
|
handleClick: () => void;
|
|
19
|
-
direction: import("vue").Ref<string>;
|
|
20
|
-
},
|
|
19
|
+
direction: import("vue").Ref<string, string>;
|
|
20
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "titleClick"[], "titleClick", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
21
|
title: {
|
|
22
22
|
type: StringConstructor;
|
|
23
23
|
default: string;
|
|
@@ -26,12 +26,123 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
26
26
|
type: BooleanConstructor;
|
|
27
27
|
default: boolean;
|
|
28
28
|
};
|
|
29
|
-
}>> & {
|
|
29
|
+
}>> & Readonly<{
|
|
30
30
|
onTitleClick?: ((...args: any[]) => any) | undefined;
|
|
31
|
-
}
|
|
31
|
+
}>, {
|
|
32
32
|
title: string;
|
|
33
33
|
open: boolean;
|
|
34
|
-
}, {}
|
|
34
|
+
}, {}, {
|
|
35
|
+
ArrowDown2: import("vue").DefineComponent<{
|
|
36
|
+
class: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
name: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
color: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
width: {
|
|
49
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
height: {
|
|
53
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
}, {
|
|
57
|
+
classes: import("vue").ComputedRef<{
|
|
58
|
+
[x: string]: string | boolean;
|
|
59
|
+
"nut-icon": boolean;
|
|
60
|
+
}>;
|
|
61
|
+
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
62
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
63
|
+
class: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
name: {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
color: {
|
|
72
|
+
type: StringConstructor;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
width: {
|
|
76
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
77
|
+
default: string;
|
|
78
|
+
};
|
|
79
|
+
height: {
|
|
80
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
83
|
+
}>>, {
|
|
84
|
+
name: string;
|
|
85
|
+
width: string | number;
|
|
86
|
+
height: string | number;
|
|
87
|
+
color: string;
|
|
88
|
+
class: string;
|
|
89
|
+
}>;
|
|
90
|
+
ArrowUp2: import("vue").DefineComponent<{
|
|
91
|
+
class: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
name: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
default: string;
|
|
98
|
+
};
|
|
99
|
+
color: {
|
|
100
|
+
type: StringConstructor;
|
|
101
|
+
default: string;
|
|
102
|
+
};
|
|
103
|
+
width: {
|
|
104
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
105
|
+
default: string;
|
|
106
|
+
};
|
|
107
|
+
height: {
|
|
108
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
109
|
+
default: string;
|
|
110
|
+
};
|
|
111
|
+
}, {
|
|
112
|
+
classes: import("vue").ComputedRef<{
|
|
113
|
+
[x: string]: string | boolean;
|
|
114
|
+
"nut-icon": boolean;
|
|
115
|
+
}>;
|
|
116
|
+
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
117
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
118
|
+
class: {
|
|
119
|
+
type: StringConstructor;
|
|
120
|
+
default: string;
|
|
121
|
+
};
|
|
122
|
+
name: {
|
|
123
|
+
type: StringConstructor;
|
|
124
|
+
default: string;
|
|
125
|
+
};
|
|
126
|
+
color: {
|
|
127
|
+
type: StringConstructor;
|
|
128
|
+
default: string;
|
|
129
|
+
};
|
|
130
|
+
width: {
|
|
131
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
132
|
+
default: string;
|
|
133
|
+
};
|
|
134
|
+
height: {
|
|
135
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
136
|
+
default: string;
|
|
137
|
+
};
|
|
138
|
+
}>>, {
|
|
139
|
+
name: string;
|
|
140
|
+
width: string | number;
|
|
141
|
+
height: string | number;
|
|
142
|
+
color: string;
|
|
143
|
+
class: string;
|
|
144
|
+
}>;
|
|
145
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
35
146
|
export default _default;
|
|
36
147
|
|
|
37
148
|
declare module 'vue' {
|
|
@@ -6,7 +6,7 @@ export type SwipeProps = Partial<{
|
|
|
6
6
|
touchMovePreventDefault: boolean;
|
|
7
7
|
disabled: boolean;
|
|
8
8
|
}>;
|
|
9
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
9
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
10
10
|
name: string;
|
|
11
11
|
touchMoveStopPropagation: boolean;
|
|
12
12
|
touchMovePreventDefault: boolean;
|
|
@@ -16,13 +16,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
16
16
|
touchMoveStopPropagation: boolean;
|
|
17
17
|
touchMovePreventDefault: boolean;
|
|
18
18
|
disabled: boolean;
|
|
19
|
-
}
|
|
19
|
+
}>>, {
|
|
20
20
|
open: (p?: SwipePosition) => void;
|
|
21
21
|
close: () => void;
|
|
22
|
-
},
|
|
22
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
23
|
click: (...args: any[]) => void;
|
|
24
|
-
open: (...args: any[]) => void;
|
|
25
24
|
close: (...args: any[]) => void;
|
|
25
|
+
open: (...args: any[]) => void;
|
|
26
26
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
27
27
|
name: string;
|
|
28
28
|
touchMoveStopPropagation: boolean;
|
|
@@ -33,16 +33,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
33
33
|
touchMoveStopPropagation: boolean;
|
|
34
34
|
touchMovePreventDefault: boolean;
|
|
35
35
|
disabled: boolean;
|
|
36
|
-
}>>> & {
|
|
36
|
+
}>>> & Readonly<{
|
|
37
37
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
38
38
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
39
39
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
40
|
-
}
|
|
40
|
+
}>, {
|
|
41
41
|
name: string;
|
|
42
42
|
disabled: boolean;
|
|
43
43
|
touchMoveStopPropagation: boolean;
|
|
44
44
|
touchMovePreventDefault: boolean;
|
|
45
|
-
}, {}>, {
|
|
45
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
46
46
|
left?(_: {}): any;
|
|
47
47
|
default?(_: {}): any;
|
|
48
48
|
right?(_: {}): any;
|
|
@@ -2,17 +2,17 @@ import type { WithInstall } from '../../utils';
|
|
|
2
2
|
export type SwipeGroupProps = Partial<{
|
|
3
3
|
lock: boolean;
|
|
4
4
|
}>;
|
|
5
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
6
6
|
lock: boolean;
|
|
7
7
|
}>>, {
|
|
8
8
|
lock: boolean;
|
|
9
|
-
}
|
|
9
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
10
10
|
lock: boolean;
|
|
11
11
|
}>>, {
|
|
12
12
|
lock: boolean;
|
|
13
|
-
}
|
|
13
|
+
}>>> & Readonly<{}>, {
|
|
14
14
|
lock: boolean;
|
|
15
|
-
}, {}>, {
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
16
16
|
default?(_: {}): any;
|
|
17
17
|
}>;
|
|
18
18
|
declare const _nut_default: WithInstall<typeof _default>;
|
|
@@ -4,7 +4,7 @@ import { ComponentPublicInstance, VNode } from 'vue';
|
|
|
4
4
|
declare type Install<T> = T & {
|
|
5
5
|
install(app: import('vue').App): void;
|
|
6
6
|
};
|
|
7
|
-
declare const _default: Install< import("vue").DefineComponent<{
|
|
7
|
+
declare const _default: Install< import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
8
|
width: {
|
|
9
9
|
type: (NumberConstructor | StringConstructor)[];
|
|
10
10
|
};
|
|
@@ -55,7 +55,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
55
55
|
type: StringConstructor;
|
|
56
56
|
default: string;
|
|
57
57
|
};
|
|
58
|
-
}
|
|
58
|
+
}>, {
|
|
59
59
|
state: {
|
|
60
60
|
active: number;
|
|
61
61
|
num: number;
|
|
@@ -95,12 +95,12 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
95
95
|
classesPagination: import("vue").ComputedRef<{
|
|
96
96
|
[x: string]: boolean;
|
|
97
97
|
}>;
|
|
98
|
-
container: import("vue").Ref<any>;
|
|
98
|
+
container: import("vue").Ref<any, any>;
|
|
99
99
|
activePagination: import("vue").ComputedRef<number>;
|
|
100
100
|
onTouchStart: (e: TouchEvent) => void;
|
|
101
101
|
onTouchMove: (e: TouchEvent) => void;
|
|
102
102
|
onTouchEnd: () => void;
|
|
103
|
-
},
|
|
103
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
104
104
|
width: {
|
|
105
105
|
type: (NumberConstructor | StringConstructor)[];
|
|
106
106
|
};
|
|
@@ -151,9 +151,9 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
151
151
|
type: StringConstructor;
|
|
152
152
|
default: string;
|
|
153
153
|
};
|
|
154
|
-
}>> & {
|
|
154
|
+
}>> & Readonly<{
|
|
155
155
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
156
|
-
}
|
|
156
|
+
}>, {
|
|
157
157
|
duration: string | number;
|
|
158
158
|
direction: string;
|
|
159
159
|
touchable: boolean;
|
|
@@ -165,7 +165,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
165
165
|
isPreventDefault: boolean;
|
|
166
166
|
isStopPropagation: boolean;
|
|
167
167
|
paginationUnselectedColor: string;
|
|
168
|
-
}, {}>>;
|
|
168
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
169
169
|
export default _default;
|
|
170
170
|
|
|
171
171
|
declare module 'vue' {
|
|
@@ -5,7 +5,7 @@ declare type Install<T> = T & {
|
|
|
5
5
|
};
|
|
6
6
|
declare const _default: Install< import("vue").DefineComponent<{}, {
|
|
7
7
|
style: ComputedRef<any>;
|
|
8
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
9
9
|
export default _default;
|
|
10
10
|
|
|
11
11
|
declare module 'vue' {
|
|
@@ -11,7 +11,7 @@ export type SwitchProps = Partial<{
|
|
|
11
11
|
loading: boolean;
|
|
12
12
|
disable: boolean;
|
|
13
13
|
}>;
|
|
14
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
14
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
15
15
|
modelValue: string | number | boolean;
|
|
16
16
|
disabled: boolean;
|
|
17
17
|
activeColor: string;
|
|
@@ -33,7 +33,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
33
33
|
inactiveValue: boolean;
|
|
34
34
|
loading: boolean;
|
|
35
35
|
disable: boolean;
|
|
36
|
-
}
|
|
36
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
37
37
|
change: (...args: any[]) => void;
|
|
38
38
|
"update:modelValue": (...args: any[]) => void;
|
|
39
39
|
"update:loading": (...args: any[]) => void;
|
|
@@ -59,11 +59,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
59
59
|
inactiveValue: boolean;
|
|
60
60
|
loading: boolean;
|
|
61
61
|
disable: boolean;
|
|
62
|
-
}>>> & {
|
|
62
|
+
}>>> & Readonly<{
|
|
63
63
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
64
64
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
65
65
|
"onUpdate:loading"?: ((...args: any[]) => any) | undefined;
|
|
66
|
-
}
|
|
66
|
+
}>, {
|
|
67
67
|
loading: boolean;
|
|
68
68
|
disabled: boolean;
|
|
69
69
|
activeColor: string;
|
|
@@ -74,7 +74,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
74
74
|
inactiveText: string;
|
|
75
75
|
activeValue: string | number | boolean;
|
|
76
76
|
inactiveValue: string | number | boolean;
|
|
77
|
-
}, {}>, {
|
|
77
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
78
78
|
icon?(_: {}): any;
|
|
79
79
|
}>;
|
|
80
80
|
declare const _nut_default: WithInstall<typeof _default>;
|
|
@@ -8,7 +8,7 @@ export type TabbarProps = Partial<{
|
|
|
8
8
|
placeholder: boolean;
|
|
9
9
|
beforeSwitch: (data: any, active: string | number) => boolean | Promise<boolean>;
|
|
10
10
|
}>;
|
|
11
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
12
12
|
modelValue: string | number;
|
|
13
13
|
bottom: boolean;
|
|
14
14
|
unactiveColor: string;
|
|
@@ -24,7 +24,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
24
24
|
safeAreaInsetBottom: boolean;
|
|
25
25
|
placeholder: boolean;
|
|
26
26
|
beforeSwitch: () => true;
|
|
27
|
-
}
|
|
27
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
28
|
"update:modelValue": (...args: any[]) => void;
|
|
29
29
|
tabSwitch: (...args: any[]) => void;
|
|
30
30
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
@@ -43,10 +43,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
43
43
|
safeAreaInsetBottom: boolean;
|
|
44
44
|
placeholder: boolean;
|
|
45
45
|
beforeSwitch: () => true;
|
|
46
|
-
}>>> & {
|
|
46
|
+
}>>> & Readonly<{
|
|
47
47
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
48
48
|
onTabSwitch?: ((...args: any[]) => any) | undefined;
|
|
49
|
-
}
|
|
49
|
+
}>, {
|
|
50
50
|
bottom: boolean;
|
|
51
51
|
safeAreaInsetBottom: boolean;
|
|
52
52
|
placeholder: boolean;
|
|
@@ -54,7 +54,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
54
54
|
modelValue: string | number;
|
|
55
55
|
unactiveColor: string;
|
|
56
56
|
beforeSwitch: (data: any, active: string | number) => boolean | Promise<boolean>;
|
|
57
|
-
}, {}>, {
|
|
57
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
58
58
|
default?(_: {}): any;
|
|
59
59
|
}>;
|
|
60
60
|
declare const _nut_default: WithInstall<typeof _default>;
|
|
@@ -6,7 +6,7 @@ export type TabbarItemProps = Partial<{
|
|
|
6
6
|
href: string;
|
|
7
7
|
to: string | Record<never, any>;
|
|
8
8
|
}>;
|
|
9
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
9
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
10
10
|
tabTitle: string;
|
|
11
11
|
name: string;
|
|
12
12
|
icon: any;
|
|
@@ -15,7 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
15
15
|
}>>, {
|
|
16
16
|
tabTitle: string;
|
|
17
17
|
href: string;
|
|
18
|
-
}
|
|
18
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
19
19
|
tabTitle: string;
|
|
20
20
|
name: string;
|
|
21
21
|
icon: any;
|
|
@@ -24,10 +24,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
24
24
|
}>>, {
|
|
25
25
|
tabTitle: string;
|
|
26
26
|
href: string;
|
|
27
|
-
}
|
|
27
|
+
}>>> & Readonly<{}>, {
|
|
28
28
|
tabTitle: string;
|
|
29
29
|
href: string;
|
|
30
|
-
}, {}>, {
|
|
30
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
31
31
|
icon?(_: {
|
|
32
32
|
active: boolean;
|
|
33
33
|
}): any;
|