@nutui/nutui 4.0.0-beta.23 → 4.0.0-beta.24
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/dist/nutui.es.js +1 -1
- package/dist/nutui.umd.js +2 -2
- package/dist/packages/_es/Badge.js +2 -2
- package/dist/packages/_es/Cascader.js +1 -1
- package/dist/packages/_es/InputNumber.js +4 -4
- package/dist/packages/_es/Overlay.js +10 -4
- package/dist/packages/_es/Tabs.js +3 -3
- package/dist/packages/ecard/index.scss +19 -5
- package/dist/packages/inputnumber/index.scss +6 -0
- package/dist/packages/tabbaritem/index.scss +2 -0
- package/dist/packages/tour/index.scss +3 -0
- package/dist/smartips/web-types.json +15 -6
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +53 -53
- package/dist/styles/themes/jdb.scss +53 -53
- package/dist/styles/themes/jddkh.scss +53 -53
- package/dist/styles/themes/jdt.scss +53 -53
- package/dist/types/__VUE/actionsheet/index.taro.vue.d.ts +310 -0
- package/dist/types/__VUE/address/index.taro.vue.d.ts +397 -0
- package/dist/types/__VUE/addresslist/components/GeneralShell.taro.vue.d.ts +60 -0
- package/dist/types/__VUE/addresslist/components/ItemContents.taro.vue.d.ts +23 -0
- package/dist/types/__VUE/addresslist/index.taro.vue.d.ts +83 -0
- package/dist/types/__VUE/animate/index.taro.vue.d.ts +54 -0
- package/dist/types/__VUE/avatar/index.taro.vue.d.ts +76 -0
- package/dist/types/__VUE/avatargroup/index.taro.vue.d.ts +92 -0
- package/dist/types/__VUE/backtop/index.taro.vue.d.ts +76 -0
- package/dist/types/__VUE/badge/index.taro.vue.d.ts +93 -0
- package/dist/types/__VUE/barrage/index.taro.vue.d.ts +80 -0
- package/dist/types/__VUE/button/index.taro.vue.d.ts +90 -0
- package/dist/types/__VUE/calendar/index.taro.vue.d.ts +187 -0
- package/dist/types/__VUE/calendaritem/index.taro.vue.d.ts +217 -0
- package/dist/types/__VUE/card/index.taro.vue.d.ts +89 -0
- package/dist/types/__VUE/cascader/cascader-item.taro.vue.d.ts +77 -0
- package/dist/types/__VUE/cascader/index.taro.vue.d.ts +263 -0
- package/dist/types/__VUE/category/index.taro.vue.d.ts +42 -0
- package/dist/types/__VUE/categorypane/index.taro.vue.d.ts +54 -0
- package/dist/types/__VUE/cell/index.taro.vue.d.ts +124 -0
- package/dist/types/__VUE/checkbox/index.taro.vue.d.ts +12 -0
- package/dist/types/__VUE/circleprogress/index.taro.vue.d.ts +93 -0
- package/dist/types/__VUE/collapse/index.taro.vue.d.ts +38 -0
- package/dist/types/__VUE/collapseitem/index.taro.vue.d.ts +111 -0
- package/dist/types/__VUE/comment/components/CmtBottom.taro.vue.d.ts +42 -0
- package/dist/types/__VUE/comment/components/CmtHeader.taro.vue.d.ts +27 -0
- package/dist/types/__VUE/comment/components/CmtImages.taro.vue.d.ts +59 -0
- package/dist/types/__VUE/comment/index.taro.vue.d.ts +119 -0
- package/dist/types/__VUE/configprovider/index.taro.vue.d.ts +45 -0
- package/dist/types/__VUE/countdown/index.taro.vue.d.ts +103 -0
- package/dist/types/__VUE/countup/index.taro.vue.d.ts +213 -0
- package/dist/types/__VUE/datepicker/index.taro.vue.d.ts +232 -0
- package/dist/types/__VUE/dialog/index.taro.vue.d.ts +345 -0
- package/dist/types/__VUE/divider/index.taro.vue.d.ts +53 -0
- package/dist/types/__VUE/drag/index.taro.vue.d.ts +62 -0
- package/dist/types/__VUE/ecard/index.taro.vue.d.ts +128 -0
- package/dist/types/__VUE/elevator/index.taro.vue.d.ts +117 -0
- package/dist/types/__VUE/ellipsis/index.taro.vue.d.ts +103 -0
- package/dist/types/__VUE/empty/index.taro.vue.d.ts +46 -0
- package/dist/types/__VUE/fixednav/index.taro.vue.d.ts +105 -0
- package/dist/types/__VUE/form/index.taro.vue.d.ts +40 -0
- package/dist/types/__VUE/formitem/index.taro.vue.d.ts +114 -0
- package/dist/types/__VUE/grid/index.taro.vue.d.ts +84 -0
- package/dist/types/__VUE/griditem/index.taro.vue.d.ts +22 -0
- package/dist/types/__VUE/icon/index.taro.vue.d.ts +12 -0
- package/dist/types/__VUE/image/index.taro.vue.d.ts +32 -0
- package/dist/types/__VUE/imagepreview/index.taro.vue.d.ts +163 -0
- package/dist/types/__VUE/indicator/index.taro.vue.d.ts +70 -0
- package/dist/types/__VUE/input/index.taro.vue.d.ts +224 -0
- package/dist/types/__VUE/inputnumber/index.taro.vue.d.ts +116 -0
- package/dist/types/__VUE/invoice/index.taro.vue.d.ts +52 -0
- package/dist/types/__VUE/layout/index.taro.vue.d.ts +12 -0
- package/dist/types/__VUE/list/index.taro.vue.d.ts +58 -0
- package/dist/types/__VUE/menu/index.taro.vue.d.ts +93 -0
- package/dist/types/__VUE/menuitem/index.taro.vue.d.ts +89 -0
- package/dist/types/__VUE/navbar/index.taro.vue.d.ts +121 -0
- package/dist/types/__VUE/noticebar/index.taro.vue.d.ts +207 -0
- package/dist/types/__VUE/noticebar/index.vue.d.ts +2 -2
- package/dist/types/__VUE/notify/index.taro.vue.d.ts +110 -0
- package/dist/types/__VUE/numberkeyboard/index.taro.vue.d.ts +132 -0
- package/dist/types/__VUE/overlay/index.taro.vue.d.ts +85 -0
- package/dist/types/__VUE/pagination/index.taro.vue.d.ts +111 -0
- package/dist/types/__VUE/picker/index.taro.vue.d.ts +14 -0
- package/dist/types/__VUE/popover/index.taro.vue.d.ts +192 -0
- package/dist/types/__VUE/popup/index.taro.vue.d.ts +219 -0
- package/dist/types/__VUE/price/index.taro.vue.d.ts +87 -0
- package/dist/types/__VUE/progress/index.taro.vue.d.ts +128 -0
- package/dist/types/__VUE/radio/index.taro.vue.d.ts +53 -0
- package/dist/types/__VUE/range/index.taro.vue.d.ts +158 -0
- package/dist/types/__VUE/rate/index.taro.vue.d.ts +121 -0
- package/dist/types/__VUE/scrollView/index.taro.vue.d.ts +14 -0
- package/dist/types/__VUE/searchbar/index.taro.vue.d.ts +177 -0
- package/dist/types/__VUE/shortpassword/index.taro.vue.d.ts +103 -0
- package/dist/types/__VUE/sidenavbar/index.taro.vue.d.ts +31 -0
- package/dist/types/__VUE/signature/index.taro.vue.d.ts +84 -0
- package/dist/types/__VUE/skeleton/index.taro.vue.d.ts +115 -0
- package/dist/types/__VUE/sku/components/SkuHeader.taro.vue.d.ts +28 -0
- package/dist/types/__VUE/sku/components/SkuStepper.taro.vue.d.ts +56 -0
- package/dist/types/__VUE/sku/index.taro.vue.d.ts +146 -0
- package/dist/types/__VUE/steps/index.taro.vue.d.ts +46 -0
- package/dist/types/__VUE/sticky/index.taro.vue.d.ts +47 -0
- package/dist/types/__VUE/subsidenavbar/index.taro.vue.d.ts +53 -0
- package/dist/types/__VUE/swipe/index.taro.vue.d.ts +71 -0
- package/dist/types/__VUE/swiper/index.taro.vue.d.ts +168 -0
- package/dist/types/__VUE/swiperitem/index.taro.vue.d.ts +18 -0
- package/dist/types/__VUE/switch/index.taro.vue.d.ts +108 -0
- package/dist/types/__VUE/tabbar/index.taro.vue.d.ts +93 -0
- package/dist/types/__VUE/tabbaritem/index.taro.vue.d.ts +59 -0
- package/dist/types/__VUE/table/index.taro.vue.d.ts +80 -0
- package/dist/types/__VUE/tabs/index.taro.vue.d.ts +164 -0
- package/dist/types/__VUE/tag/index.taro.vue.d.ts +90 -0
- package/dist/types/__VUE/textarea/index.taro.vue.d.ts +127 -0
- package/dist/types/__VUE/timedetail/index.taro.vue.d.ts +38 -0
- package/dist/types/__VUE/timepannel/index.taro.vue.d.ts +42 -0
- package/dist/types/__VUE/timeselect/index.taro.vue.d.ts +91 -0
- package/dist/types/__VUE/toast/index.taro.vue.d.ts +184 -0
- package/dist/types/__VUE/tour/index.taro.vue.d.ts +192 -0
- package/dist/types/__VUE/trendarrow/index.taro.vue.d.ts +105 -0
- package/dist/types/__VUE/uploader/index.taro.vue.d.ts +260 -0
- package/dist/types/__VUE/watermark/index.taro.vue.d.ts +175 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/nutui.taro.vue.build.d.ts +106 -0
- package/package.json +2 -1
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
|
|
2
|
+
declare type Install<T> = T & {
|
|
3
|
+
install(app: import('vue').App): void;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: Install< import("vue").DefineComponent<{
|
|
6
|
+
activeColor: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
overlay: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: true;
|
|
13
|
+
};
|
|
14
|
+
lockScroll: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: true;
|
|
17
|
+
};
|
|
18
|
+
duration: {
|
|
19
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
20
|
+
default: number;
|
|
21
|
+
};
|
|
22
|
+
titleIcon: StringConstructor;
|
|
23
|
+
closeOnClickOverlay: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
direction: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
scrollFixed: {
|
|
32
|
+
type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
titleClass: StringConstructor[];
|
|
36
|
+
}, {
|
|
37
|
+
toggleItem: (active: number) => void;
|
|
38
|
+
children: any[];
|
|
39
|
+
opened: import("vue").ComputedRef<boolean>;
|
|
40
|
+
classes: import("vue").ComputedRef<{
|
|
41
|
+
[x: string]: boolean;
|
|
42
|
+
'scroll-fixed': boolean;
|
|
43
|
+
}>;
|
|
44
|
+
barRef: import("vue").Ref<HTMLElement | undefined>;
|
|
45
|
+
refRandomId: string;
|
|
46
|
+
getClasses: (showPopup: boolean) => string;
|
|
47
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
48
|
+
activeColor: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
overlay: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: true;
|
|
55
|
+
};
|
|
56
|
+
lockScroll: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: true;
|
|
59
|
+
};
|
|
60
|
+
duration: {
|
|
61
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
62
|
+
default: number;
|
|
63
|
+
};
|
|
64
|
+
titleIcon: StringConstructor;
|
|
65
|
+
closeOnClickOverlay: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
direction: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
scrollFixed: {
|
|
74
|
+
type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
|
|
75
|
+
default: boolean;
|
|
76
|
+
};
|
|
77
|
+
titleClass: StringConstructor[];
|
|
78
|
+
}>>, {
|
|
79
|
+
overlay: boolean;
|
|
80
|
+
duration: string | number;
|
|
81
|
+
lockScroll: boolean;
|
|
82
|
+
closeOnClickOverlay: boolean;
|
|
83
|
+
direction: string;
|
|
84
|
+
activeColor: string;
|
|
85
|
+
scrollFixed: string | number | boolean;
|
|
86
|
+
}>>;
|
|
87
|
+
export default _default;
|
|
88
|
+
|
|
89
|
+
declare module 'vue' {
|
|
90
|
+
interface GlobalComponents {
|
|
91
|
+
NutMenu: typeof _default;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { MenuItemOption } from './type';
|
|
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: StringConstructor;
|
|
9
|
+
options: {
|
|
10
|
+
type: PropType<MenuItemOption[]>;
|
|
11
|
+
default: never[];
|
|
12
|
+
};
|
|
13
|
+
disabled: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
modelValue: PropType<unknown>;
|
|
18
|
+
cols: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
default: number;
|
|
21
|
+
};
|
|
22
|
+
activeTitleClass: StringConstructor;
|
|
23
|
+
inactiveTitleClass: StringConstructor;
|
|
24
|
+
optionIcon: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
}, {
|
|
29
|
+
classes: import("vue").ComputedRef<{
|
|
30
|
+
[x: string]: boolean;
|
|
31
|
+
}>;
|
|
32
|
+
placeholderElementStyle: import("vue").ComputedRef<{
|
|
33
|
+
height: string;
|
|
34
|
+
} | {
|
|
35
|
+
top: string;
|
|
36
|
+
height: string;
|
|
37
|
+
}>;
|
|
38
|
+
renderTitle: () => any;
|
|
39
|
+
state: {
|
|
40
|
+
zIndex: number;
|
|
41
|
+
showPopup: boolean;
|
|
42
|
+
transition: boolean;
|
|
43
|
+
showWrapper: boolean;
|
|
44
|
+
isShowPlaceholderElement: boolean;
|
|
45
|
+
};
|
|
46
|
+
parent: any;
|
|
47
|
+
toggle: (show?: boolean, options?: {
|
|
48
|
+
immediate?: boolean;
|
|
49
|
+
}) => void;
|
|
50
|
+
onClick: (option: MenuItemOption) => void;
|
|
51
|
+
handleClose: () => void;
|
|
52
|
+
handleClickOutside: () => void;
|
|
53
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
54
|
+
title: StringConstructor;
|
|
55
|
+
options: {
|
|
56
|
+
type: PropType<MenuItemOption[]>;
|
|
57
|
+
default: never[];
|
|
58
|
+
};
|
|
59
|
+
disabled: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
modelValue: PropType<unknown>;
|
|
64
|
+
cols: {
|
|
65
|
+
type: NumberConstructor;
|
|
66
|
+
default: number;
|
|
67
|
+
};
|
|
68
|
+
activeTitleClass: StringConstructor;
|
|
69
|
+
inactiveTitleClass: StringConstructor;
|
|
70
|
+
optionIcon: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
}>> & {
|
|
75
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
76
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
77
|
+
}, {
|
|
78
|
+
disabled: boolean;
|
|
79
|
+
options: MenuItemOption[];
|
|
80
|
+
cols: number;
|
|
81
|
+
optionIcon: string;
|
|
82
|
+
}>>;
|
|
83
|
+
export default _default;
|
|
84
|
+
|
|
85
|
+
declare module 'vue' {
|
|
86
|
+
interface GlobalComponents {
|
|
87
|
+
NutMenuItem: typeof _default;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
|
|
3
|
+
declare type Install<T> = T & {
|
|
4
|
+
install(app: import('vue').App): void;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: Install< import("vue").DefineComponent<{
|
|
7
|
+
leftShow: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
title: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
titleIcon: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
leftText: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
desc: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
fixed: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
safeAreaInsetTop: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
border: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
placeholder: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
zIndex: {
|
|
44
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
45
|
+
default: number;
|
|
46
|
+
};
|
|
47
|
+
}, {
|
|
48
|
+
navHeight: import("vue").Ref<number>;
|
|
49
|
+
classes: ComputedRef<{
|
|
50
|
+
[x: string]: boolean;
|
|
51
|
+
}>;
|
|
52
|
+
styles: ComputedRef<any>;
|
|
53
|
+
handleLeft: () => void;
|
|
54
|
+
handleCenter: () => void;
|
|
55
|
+
handleCenterIcon: () => void;
|
|
56
|
+
handleRight: () => void;
|
|
57
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("on-click-back" | "on-click-title" | "on-click-icon" | "on-click-right")[], "on-click-back" | "on-click-title" | "on-click-icon" | "on-click-right", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
58
|
+
leftShow: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
title: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
titleIcon: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
leftText: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
desc: {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
fixed: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
82
|
+
safeAreaInsetTop: {
|
|
83
|
+
type: BooleanConstructor;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
border: {
|
|
87
|
+
type: BooleanConstructor;
|
|
88
|
+
default: boolean;
|
|
89
|
+
};
|
|
90
|
+
placeholder: {
|
|
91
|
+
type: BooleanConstructor;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
94
|
+
zIndex: {
|
|
95
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
96
|
+
default: number;
|
|
97
|
+
};
|
|
98
|
+
}>> & {
|
|
99
|
+
"onOn-click-back"?: ((...args: any[]) => any) | undefined;
|
|
100
|
+
"onOn-click-title"?: ((...args: any[]) => any) | undefined;
|
|
101
|
+
"onOn-click-icon"?: ((...args: any[]) => any) | undefined;
|
|
102
|
+
"onOn-click-right"?: ((...args: any[]) => any) | undefined;
|
|
103
|
+
}, {
|
|
104
|
+
title: string;
|
|
105
|
+
desc: string;
|
|
106
|
+
zIndex: string | number;
|
|
107
|
+
fixed: boolean;
|
|
108
|
+
border: boolean;
|
|
109
|
+
placeholder: boolean;
|
|
110
|
+
titleIcon: boolean;
|
|
111
|
+
leftShow: boolean;
|
|
112
|
+
leftText: string;
|
|
113
|
+
safeAreaInsetTop: boolean;
|
|
114
|
+
}>>;
|
|
115
|
+
export default _default;
|
|
116
|
+
|
|
117
|
+
declare module 'vue' {
|
|
118
|
+
interface GlobalComponents {
|
|
119
|
+
NutNavbar: typeof _default;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
import { Notice } from '@nutui/icons-vue-taro';
|
|
2
|
+
|
|
3
|
+
declare type Install<T> = T & {
|
|
4
|
+
install(app: import('vue').App): void;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: Install< import("vue").DefineComponent<{
|
|
7
|
+
direction: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
list: {
|
|
12
|
+
type: ArrayConstructor;
|
|
13
|
+
default: () => never[];
|
|
14
|
+
};
|
|
15
|
+
standTime: {
|
|
16
|
+
type: NumberConstructor;
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
19
|
+
complexAm: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
height: {
|
|
24
|
+
type: NumberConstructor;
|
|
25
|
+
default: number;
|
|
26
|
+
};
|
|
27
|
+
text: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
closeMode: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
wrapable: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
leftIcon: {
|
|
40
|
+
type: ObjectConstructor;
|
|
41
|
+
default: () => typeof Notice;
|
|
42
|
+
};
|
|
43
|
+
color: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
background: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
delay: {
|
|
52
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
53
|
+
default: number;
|
|
54
|
+
};
|
|
55
|
+
scrollable: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: null;
|
|
58
|
+
};
|
|
59
|
+
speed: {
|
|
60
|
+
type: NumberConstructor;
|
|
61
|
+
default: number;
|
|
62
|
+
};
|
|
63
|
+
}, {
|
|
64
|
+
isEllipsis: import("vue").ComputedRef<boolean>;
|
|
65
|
+
classes: import("vue").ComputedRef<{
|
|
66
|
+
[x: string]: boolean;
|
|
67
|
+
}>;
|
|
68
|
+
barStyle: import("vue").ComputedRef<{
|
|
69
|
+
[props: string]: any;
|
|
70
|
+
}>;
|
|
71
|
+
contentStyle: import("vue").ComputedRef<{
|
|
72
|
+
animationDelay: string;
|
|
73
|
+
animationDuration: string;
|
|
74
|
+
transform: string;
|
|
75
|
+
}>;
|
|
76
|
+
horseLampStyle: import("vue").ComputedRef<{}>;
|
|
77
|
+
wrap: import("vue").Ref<HTMLElement | null>;
|
|
78
|
+
content: import("vue").Ref<HTMLElement | null>;
|
|
79
|
+
handleClick: (event: Event) => void;
|
|
80
|
+
onClickIcon: (event: Event) => void;
|
|
81
|
+
onAnimationEnd: () => void;
|
|
82
|
+
go: (item: any) => void;
|
|
83
|
+
handleClickIcon: () => void;
|
|
84
|
+
slots: Readonly<{
|
|
85
|
+
[name: string]: import("vue").Slot | undefined;
|
|
86
|
+
}>;
|
|
87
|
+
pxCheck: (value: string | number) => string;
|
|
88
|
+
wrapContentClass: import("vue").ComputedRef<{
|
|
89
|
+
[x: string]: boolean;
|
|
90
|
+
'nut-noticebar__page-wrap-content': boolean;
|
|
91
|
+
'nut-ellipsis': boolean;
|
|
92
|
+
}>;
|
|
93
|
+
renderIcon: (icon: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>, props?: any) => "" | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
94
|
+
[key: string]: any;
|
|
95
|
+
}>;
|
|
96
|
+
wrapWidth: import("vue").Ref<number>;
|
|
97
|
+
firstRound: import("vue").Ref<boolean>;
|
|
98
|
+
duration: import("vue").Ref<number>;
|
|
99
|
+
offsetWidth: import("vue").Ref<number>;
|
|
100
|
+
showNoticebar: import("vue").Ref<boolean>;
|
|
101
|
+
animationClass: import("vue").Ref<string>;
|
|
102
|
+
animate: import("vue").Ref<boolean>;
|
|
103
|
+
scrollList: import("vue").Ref<never[]>;
|
|
104
|
+
distance: import("vue").Ref<number>;
|
|
105
|
+
timer: import("vue").Ref<null>;
|
|
106
|
+
keepAlive: import("vue").Ref<boolean>;
|
|
107
|
+
isCanScroll: import("vue").Ref<boolean | null>;
|
|
108
|
+
id: import("vue").Ref<number>;
|
|
109
|
+
text: import("vue").Ref<string>;
|
|
110
|
+
color: import("vue").Ref<string>;
|
|
111
|
+
height: import("vue").Ref<number>;
|
|
112
|
+
background: import("vue").Ref<string>;
|
|
113
|
+
direction: import("vue").Ref<string>;
|
|
114
|
+
speed: import("vue").Ref<number>;
|
|
115
|
+
list: import("vue").Ref<unknown[]>;
|
|
116
|
+
standTime: import("vue").Ref<number>;
|
|
117
|
+
complexAm: import("vue").Ref<boolean>;
|
|
118
|
+
closeMode: import("vue").Ref<boolean>;
|
|
119
|
+
wrapable: import("vue").Ref<boolean>;
|
|
120
|
+
leftIcon: import("vue").Ref<Record<string, any>>;
|
|
121
|
+
delay: import("vue").Ref<string | number>;
|
|
122
|
+
scrollable: import("vue").Ref<boolean>;
|
|
123
|
+
onClick: import("vue").Ref<((...args: any[]) => any) | undefined>;
|
|
124
|
+
onClose: import("vue").Ref<((...args: any[]) => any) | undefined>;
|
|
125
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "click")[], "close" | "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
126
|
+
direction: {
|
|
127
|
+
type: StringConstructor;
|
|
128
|
+
default: string;
|
|
129
|
+
};
|
|
130
|
+
list: {
|
|
131
|
+
type: ArrayConstructor;
|
|
132
|
+
default: () => never[];
|
|
133
|
+
};
|
|
134
|
+
standTime: {
|
|
135
|
+
type: NumberConstructor;
|
|
136
|
+
default: number;
|
|
137
|
+
};
|
|
138
|
+
complexAm: {
|
|
139
|
+
type: BooleanConstructor;
|
|
140
|
+
default: boolean;
|
|
141
|
+
};
|
|
142
|
+
height: {
|
|
143
|
+
type: NumberConstructor;
|
|
144
|
+
default: number;
|
|
145
|
+
};
|
|
146
|
+
text: {
|
|
147
|
+
type: StringConstructor;
|
|
148
|
+
default: string;
|
|
149
|
+
};
|
|
150
|
+
closeMode: {
|
|
151
|
+
type: BooleanConstructor;
|
|
152
|
+
default: boolean;
|
|
153
|
+
};
|
|
154
|
+
wrapable: {
|
|
155
|
+
type: BooleanConstructor;
|
|
156
|
+
default: boolean;
|
|
157
|
+
};
|
|
158
|
+
leftIcon: {
|
|
159
|
+
type: ObjectConstructor;
|
|
160
|
+
default: () => typeof Notice;
|
|
161
|
+
};
|
|
162
|
+
color: {
|
|
163
|
+
type: StringConstructor;
|
|
164
|
+
default: string;
|
|
165
|
+
};
|
|
166
|
+
background: {
|
|
167
|
+
type: StringConstructor;
|
|
168
|
+
default: string;
|
|
169
|
+
};
|
|
170
|
+
delay: {
|
|
171
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
172
|
+
default: number;
|
|
173
|
+
};
|
|
174
|
+
scrollable: {
|
|
175
|
+
type: BooleanConstructor;
|
|
176
|
+
default: null;
|
|
177
|
+
};
|
|
178
|
+
speed: {
|
|
179
|
+
type: NumberConstructor;
|
|
180
|
+
default: number;
|
|
181
|
+
};
|
|
182
|
+
}>> & {
|
|
183
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
184
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
185
|
+
}, {
|
|
186
|
+
text: string;
|
|
187
|
+
color: string;
|
|
188
|
+
height: number;
|
|
189
|
+
background: string;
|
|
190
|
+
direction: string;
|
|
191
|
+
speed: number;
|
|
192
|
+
list: unknown[];
|
|
193
|
+
standTime: number;
|
|
194
|
+
complexAm: boolean;
|
|
195
|
+
closeMode: boolean;
|
|
196
|
+
wrapable: boolean;
|
|
197
|
+
leftIcon: Record<string, any>;
|
|
198
|
+
delay: string | number;
|
|
199
|
+
scrollable: boolean;
|
|
200
|
+
}>>;
|
|
201
|
+
export default _default;
|
|
202
|
+
|
|
203
|
+
declare module 'vue' {
|
|
204
|
+
interface GlobalComponents {
|
|
205
|
+
NutNoticebar: typeof _default;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
@@ -113,12 +113,12 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
113
113
|
background: import("vue").Ref<string>;
|
|
114
114
|
direction: import("vue").Ref<string>;
|
|
115
115
|
speed: import("vue").Ref<number>;
|
|
116
|
-
leftIcon: import("vue").Ref<Record<string, any>>;
|
|
117
116
|
list: import("vue").Ref<unknown[]>;
|
|
118
117
|
standTime: import("vue").Ref<number>;
|
|
119
118
|
complexAm: import("vue").Ref<boolean>;
|
|
120
119
|
closeMode: import("vue").Ref<boolean>;
|
|
121
120
|
wrapable: import("vue").Ref<boolean>;
|
|
121
|
+
leftIcon: import("vue").Ref<Record<string, any>>;
|
|
122
122
|
delay: import("vue").Ref<string | number>;
|
|
123
123
|
scrollable: import("vue").Ref<boolean>;
|
|
124
124
|
onClick: import("vue").Ref<((...args: any[]) => any) | undefined>;
|
|
@@ -190,12 +190,12 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
190
190
|
background: string;
|
|
191
191
|
direction: string;
|
|
192
192
|
speed: number;
|
|
193
|
-
leftIcon: Record<string, any>;
|
|
194
193
|
list: unknown[];
|
|
195
194
|
standTime: number;
|
|
196
195
|
complexAm: boolean;
|
|
197
196
|
closeMode: boolean;
|
|
198
197
|
wrapable: boolean;
|
|
198
|
+
leftIcon: Record<string, any>;
|
|
199
199
|
delay: string | number;
|
|
200
200
|
scrollable: boolean;
|
|
201
201
|
}>>;
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
|
|
2
|
+
declare type Install<T> = T & {
|
|
3
|
+
install(app: import('vue').App): void;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: Install< import("vue").DefineComponent<{
|
|
6
|
+
id: StringConstructor;
|
|
7
|
+
color: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
msg: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
duration: {
|
|
16
|
+
type: NumberConstructor;
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
19
|
+
className: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
background: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
type: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
visible: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
position: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
teleportDisable: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
onClose: FunctionConstructor;
|
|
44
|
+
onClick: FunctionConstructor;
|
|
45
|
+
unmount: FunctionConstructor;
|
|
46
|
+
}, {
|
|
47
|
+
onAfterLeave: () => void;
|
|
48
|
+
clickCover: () => void;
|
|
49
|
+
isShowPopup: import("vue").Ref<boolean>;
|
|
50
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:visible"[], "update:visible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
51
|
+
id: StringConstructor;
|
|
52
|
+
color: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
msg: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
duration: {
|
|
61
|
+
type: NumberConstructor;
|
|
62
|
+
default: number;
|
|
63
|
+
};
|
|
64
|
+
className: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
background: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
type: {
|
|
73
|
+
type: StringConstructor;
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
visible: {
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
80
|
+
position: {
|
|
81
|
+
type: StringConstructor;
|
|
82
|
+
default: string;
|
|
83
|
+
};
|
|
84
|
+
teleportDisable: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
88
|
+
onClose: FunctionConstructor;
|
|
89
|
+
onClick: FunctionConstructor;
|
|
90
|
+
unmount: FunctionConstructor;
|
|
91
|
+
}>> & {
|
|
92
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
93
|
+
}, {
|
|
94
|
+
visible: boolean;
|
|
95
|
+
duration: number;
|
|
96
|
+
type: string;
|
|
97
|
+
color: string;
|
|
98
|
+
position: string;
|
|
99
|
+
teleportDisable: boolean;
|
|
100
|
+
background: string;
|
|
101
|
+
msg: string;
|
|
102
|
+
className: string;
|
|
103
|
+
}>>;
|
|
104
|
+
export default _default;
|
|
105
|
+
|
|
106
|
+
declare module 'vue' {
|
|
107
|
+
interface GlobalComponents {
|
|
108
|
+
NutNotify: typeof _default;
|
|
109
|
+
}
|
|
110
|
+
}
|