@nutui/nutui 3.1.22-beta.3 → 3.1.23-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +48 -0
- package/README.md +3 -4
- package/dist/nutui.es.js +20426 -4050
- package/dist/nutui.umd.js +20529 -4049
- package/dist/packages/_es/ActionSheet.js +149 -36
- package/dist/packages/_es/Address.js +535 -129
- package/dist/packages/_es/AddressList.js +615 -113
- package/dist/packages/_es/Animate.js +64 -0
- package/dist/packages/_es/Audio.js +257 -72
- package/dist/packages/_es/AudioOperate.js +100 -32
- package/dist/packages/_es/Avatar.js +162 -54
- package/dist/packages/_es/AvatarGroup.js +73 -14
- package/dist/packages/_es/BackTop.js +156 -43
- package/dist/packages/_es/Badge.js +86 -14
- package/dist/packages/_es/Barrage.js +120 -41
- package/dist/packages/_es/Button.js +128 -23
- package/dist/packages/_es/Calendar.js +246 -24
- package/dist/packages/_es/CalendarItem.js +2 -1
- package/dist/packages/_es/Card.js +107 -10
- package/dist/packages/_es/Cascader.js +496 -179
- package/dist/packages/_es/Category.js +58 -15
- package/dist/packages/_es/CategoryPane.js +111 -11
- package/dist/packages/_es/Cell.js +108 -21
- package/dist/packages/_es/CellGroup.js +44 -9
- package/dist/packages/_es/Checkbox.js +134 -29
- package/dist/packages/_es/CheckboxGroup.js +79 -29
- package/dist/packages/_es/CircleProgress.js +150 -28
- package/dist/packages/_es/Col.js +56 -14
- package/dist/packages/_es/Collapse.js +110 -24
- package/dist/packages/_es/CollapseItem.js +252 -80
- package/dist/packages/_es/Comment.js +434 -64
- package/dist/packages/_es/ConfigProvider.js +25 -0
- package/dist/packages/_es/CountDown.js +238 -75
- package/dist/packages/_es/CountUp.js +539 -159
- package/dist/packages/_es/DatePicker.js +315 -117
- package/dist/packages/_es/Dialog.js +289 -79
- package/dist/packages/_es/Divider.js +65 -32
- package/dist/packages/_es/Drag.js +197 -56
- package/dist/packages/_es/Ecard.js +159 -24
- package/dist/packages/_es/Elevator.js +255 -77
- package/dist/packages/_es/Ellipsis.js +206 -0
- package/dist/packages/_es/Empty.js +71 -12
- package/dist/packages/_es/FixedNav.js +122 -15
- package/dist/packages/_es/Form.js +151 -64
- package/dist/packages/_es/FormItem.js +114 -15
- package/dist/packages/_es/Grid.js +6 -5
- package/dist/packages/_es/GridItem.js +144 -33
- package/dist/packages/_es/Icon.js +40 -15
- package/dist/packages/_es/Image.js +142 -0
- package/dist/packages/_es/ImagePreview.js +547 -84
- package/dist/packages/_es/Indicator.js +62 -15
- package/dist/packages/_es/InfiniteLoading.js +249 -76
- package/dist/packages/_es/Input.js +433 -51
- package/dist/packages/_es/InputNumber.js +160 -41
- package/dist/packages/_es/Layout.js +5 -4
- package/dist/packages/_es/List.js +106 -37
- package/dist/packages/_es/Menu.js +168 -29
- package/dist/packages/_es/MenuItem.js +173 -34
- package/dist/packages/_es/Navbar.js +192 -30
- package/dist/packages/_es/NoticeBar.js +380 -93
- package/dist/packages/_es/Notify.js +227 -91
- package/dist/packages/_es/NumberKeyboard.js +272 -41
- package/dist/packages/_es/OldPicker.js +457 -149
- package/dist/packages/_es/OverLay.js +98 -40
- package/dist/packages/_es/Pagination.js +157 -39
- package/dist/packages/_es/Picker.js +460 -148
- package/dist/packages/_es/Popover.js +957 -337
- package/dist/packages/_es/Popup.js +299 -74
- package/dist/packages/_es/Price.js +118 -16
- package/dist/packages/_es/Progress.js +146 -14
- package/dist/packages/_es/PullRefresh.js +339 -100
- package/dist/packages/_es/Radio.js +90 -22
- package/dist/packages/_es/RadioGroup.js +37 -8
- package/dist/packages/_es/Range.js +408 -102
- package/dist/packages/_es/Rate.js +193 -16
- package/dist/packages/_es/Row.js +64 -22
- package/dist/packages/_es/SearchBar.js +238 -56
- package/dist/packages/_es/ShortPassword.js +225 -35
- package/dist/packages/_es/SideNavBar.js +81 -43
- package/dist/packages/_es/SideNavBarItem.js +46 -11
- package/dist/packages/_es/Signature.js +160 -60
- package/dist/packages/_es/Skeleton.js +136 -20
- package/dist/packages/_es/Sku.js +491 -103
- package/dist/packages/_es/Step.js +115 -39
- package/dist/packages/_es/Steps.js +53 -18
- package/dist/packages/_es/Sticky.js +138 -53
- package/dist/packages/_es/SubSideNavBar.js +82 -36
- package/dist/packages/_es/Swipe.js +178 -60
- package/dist/packages/_es/Swiper.js +433 -121
- package/dist/packages/_es/SwiperItem.js +53 -22
- package/dist/packages/_es/Switch.js +116 -21
- package/dist/packages/_es/TabPane.js +39 -12
- package/dist/packages/_es/Tabbar.js +72 -17
- package/dist/packages/_es/TabbarItem.js +151 -29
- package/dist/packages/_es/Table.js +178 -37
- package/dist/packages/_es/Tabs.js +202 -59
- package/dist/packages/_es/Tag.js +97 -20
- package/dist/packages/_es/TextArea.js +160 -42
- package/dist/packages/_es/TimeDetail.js +79 -37
- package/dist/packages/_es/TimePannel.js +48 -33
- package/dist/packages/_es/TimeSelect.js +112 -15
- package/dist/packages/_es/Toast.js +310 -90
- package/dist/packages/_es/Uploader.js +455 -120
- package/dist/packages/_es/Video.js +332 -93
- package/dist/packages/_es/common.js +128 -38
- package/dist/packages/_es/component.js +76 -35
- package/dist/packages/_es/index.js +6 -5
- package/dist/packages/_es/index2.js +30 -9
- package/dist/packages/_es/index3.js +8 -6
- package/dist/packages/_es/index4.js +64 -13
- package/dist/packages/_es/index5.js +783 -130
- package/dist/packages/_es/plugin-vue_export-helper.js +8 -7
- package/dist/packages/_es/pxCheck.js +5 -3
- package/dist/packages/_es/raf.js +15 -8
- package/dist/packages/animate/index.scss +299 -0
- package/dist/packages/cell/index.scss +7 -1
- package/dist/packages/checkbox/index.scss +10 -0
- package/dist/packages/configprovider/index.scss +2 -0
- package/dist/packages/ellipsis/index.scss +12 -0
- package/dist/packages/formitem/index.scss +12 -0
- package/dist/packages/griditem/index.scss +11 -0
- package/dist/packages/image/index.scss +39 -0
- package/dist/packages/imagepreview/index.scss +26 -2
- package/dist/packages/input/index.scss +13 -0
- package/dist/packages/inputnumber/index.scss +21 -0
- package/dist/packages/locale/lang/baseLang.js +3 -3
- package/dist/packages/locale/lang/en-US.js +105 -5
- package/dist/packages/locale/lang/id-ID.js +105 -5
- package/dist/packages/locale/lang/index.js +38 -16
- package/dist/packages/locale/lang/zh-CN.js +105 -5
- package/dist/packages/locale/lang/zh-TW.js +105 -5
- package/dist/packages/menu/index.scss +45 -36
- package/dist/packages/menuitem/index.scss +4 -0
- package/dist/packages/navbar/index.scss +9 -0
- package/dist/packages/pagination/index.scss +19 -0
- package/dist/packages/radio/index.scss +18 -0
- package/dist/packages/range/index.scss +19 -0
- package/dist/packages/rate/index.scss +1 -1
- package/dist/packages/searchbar/index.scss +21 -0
- package/dist/packages/switch/index.scss +1 -0
- package/dist/packages/tabbar/index.scss +5 -0
- package/dist/packages/tabbaritem/index.scss +7 -0
- package/dist/packages/tabpane/index.scss +5 -0
- package/dist/packages/tabs/index.scss +22 -0
- package/dist/packages/textarea/index.scss +8 -0
- package/dist/smartips/attributes.json +140 -4
- package/dist/smartips/tags.json +55 -6
- package/dist/smartips/web-types.json +6963 -0
- package/dist/style.css +1 -1
- package/dist/style.es.js +1 -1
- package/dist/styles/font/config.json +3 -1
- package/dist/styles/font/demo_index.html +49 -3
- package/dist/styles/font/iconfont.css +11 -3
- package/dist/styles/font/iconfont.js +15 -15
- package/dist/styles/font/iconfont.json +14 -0
- package/dist/styles/font/iconfont.ttf +0 -0
- package/dist/styles/font/iconfont.woff +0 -0
- package/dist/styles/font/iconfont.woff2 +0 -0
- package/dist/styles/themes/default.scss +54 -50
- package/dist/styles/themes/jdb.scss +54 -50
- package/dist/styles/themes/jdt.scss +54 -50
- package/dist/styles/variables-jdb.scss +12 -0
- package/dist/styles/variables-jdt.scss +12 -0
- package/dist/styles/variables.scss +12 -0
- package/dist/types/__VUE/actionsheet/index.vue.d.ts +3 -3
- package/dist/types/__VUE/address/index.vue.d.ts +7 -7
- package/dist/types/__VUE/animate/index.vue.d.ts +48 -0
- package/dist/types/__VUE/animate/type.d.ts +6 -0
- package/dist/types/__VUE/avatar/index.vue.d.ts +3 -3
- package/dist/types/__VUE/calendar/index.vue.d.ts +1 -1
- package/dist/types/__VUE/calendaritem/index.vue.d.ts +10 -2
- package/dist/types/__VUE/cascader/index.vue.d.ts +2 -2
- package/dist/types/__VUE/circleprogress/index.vue.d.ts +2 -2
- package/dist/types/__VUE/collapse/index.vue.d.ts +3 -1
- package/dist/types/__VUE/configprovider/common.d.ts +20 -0
- package/dist/types/__VUE/configprovider/index.vue.d.ts +33 -0
- package/dist/types/__VUE/datepicker/index.vue.d.ts +2 -2
- package/dist/types/__VUE/dialog/index.vue.d.ts +2 -2
- package/dist/types/__VUE/ellipsis/index.vue.d.ts +72 -0
- package/dist/types/__VUE/fixednav/index.vue.d.ts +2 -2
- package/dist/types/__VUE/grid/index.vue.d.ts +2 -2
- package/dist/types/__VUE/image/index.vue.d.ts +105 -0
- package/dist/types/__VUE/image/type.d.ts +6 -0
- package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +95 -0
- package/dist/types/__VUE/imagepreview/index.vue.d.ts +56 -24
- package/dist/types/__VUE/menu/index.vue.d.ts +31 -4
- package/dist/types/__VUE/menuitem/index.vue.d.ts +12 -3
- package/dist/types/__VUE/noticebar/index.vue.d.ts +1 -1
- package/dist/types/__VUE/numberkeyboard/index.vue.d.ts +2 -2
- package/dist/types/__VUE/oldpicker/index.vue.d.ts +4 -4
- package/dist/types/__VUE/picker/index.vue.d.ts +4 -4
- package/dist/types/__VUE/popover/index.vue.d.ts +8 -8
- package/dist/types/__VUE/popup/index.vue.d.ts +4 -4
- package/dist/types/__VUE/range/index.vue.d.ts +1 -1
- package/dist/types/__VUE/rate/common.d.ts +149 -0
- package/dist/types/__VUE/rate/index.vue.d.ts +17 -7
- package/dist/types/__VUE/row/index.vue.d.ts +2 -2
- package/dist/types/__VUE/shortpassword/index.vue.d.ts +2 -2
- package/dist/types/__VUE/sku/index.vue.d.ts +3 -3
- package/dist/types/__VUE/swipe/index.vue.d.ts +2 -2
- package/dist/types/__VUE/swiper/index.vue.d.ts +2 -2
- package/dist/types/__VUE/switch/index.vue.d.ts +2 -2
- package/dist/types/__VUE/timeselect/index.vue.d.ts +3 -2
- package/dist/types/__VUE/uploader/uploader.d.ts +1 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/nutui.d.ts +5 -1
- package/package.json +5 -4
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { App, PropType, CSSProperties } from 'vue';
|
|
2
|
+
declare type Install<T> = T & {
|
|
3
|
+
install(app: App): void;
|
|
4
|
+
};
|
|
5
|
+
import { Ref } from 'vue';
|
|
6
|
+
export declare const component: {
|
|
7
|
+
props: {
|
|
8
|
+
count: {
|
|
9
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
12
|
+
modelValue: {
|
|
13
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
14
|
+
default: number;
|
|
15
|
+
};
|
|
16
|
+
iconSize: {
|
|
17
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
18
|
+
default: number;
|
|
19
|
+
};
|
|
20
|
+
activeColor: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
voidColor: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
uncheckedIcon: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
checkedIcon: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
readonly: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
disabled: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
allowHalf: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
touchable: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
spacing: {
|
|
53
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
54
|
+
default: number;
|
|
55
|
+
};
|
|
56
|
+
classPrefix: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
fontClassName: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
emits: string[];
|
|
66
|
+
setup(props: any, { emit }: any): {
|
|
67
|
+
onClick: (e: number, index: number) => void;
|
|
68
|
+
pxCheck: (value: string | number) => string;
|
|
69
|
+
rateRefs: Ref<HTMLElement[]>;
|
|
70
|
+
refRandomId: string;
|
|
71
|
+
onTouchStart(event: Event): void;
|
|
72
|
+
onTouchMove(event: Event): void;
|
|
73
|
+
classes: import("vue").ComputedRef<{
|
|
74
|
+
[x: string]: boolean;
|
|
75
|
+
}>;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
export declare const taroComponent: {
|
|
79
|
+
props: {
|
|
80
|
+
count: {
|
|
81
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
82
|
+
default: number;
|
|
83
|
+
};
|
|
84
|
+
modelValue: {
|
|
85
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
86
|
+
default: number;
|
|
87
|
+
};
|
|
88
|
+
iconSize: {
|
|
89
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
90
|
+
default: number;
|
|
91
|
+
};
|
|
92
|
+
activeColor: {
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
default: string;
|
|
95
|
+
};
|
|
96
|
+
voidColor: {
|
|
97
|
+
type: StringConstructor;
|
|
98
|
+
default: string;
|
|
99
|
+
};
|
|
100
|
+
uncheckedIcon: {
|
|
101
|
+
type: StringConstructor;
|
|
102
|
+
default: string;
|
|
103
|
+
};
|
|
104
|
+
checkedIcon: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
readonly: {
|
|
109
|
+
type: BooleanConstructor;
|
|
110
|
+
default: boolean;
|
|
111
|
+
};
|
|
112
|
+
disabled: {
|
|
113
|
+
type: BooleanConstructor;
|
|
114
|
+
default: boolean;
|
|
115
|
+
};
|
|
116
|
+
allowHalf: {
|
|
117
|
+
type: BooleanConstructor;
|
|
118
|
+
default: boolean;
|
|
119
|
+
};
|
|
120
|
+
touchable: {
|
|
121
|
+
type: BooleanConstructor;
|
|
122
|
+
default: boolean;
|
|
123
|
+
};
|
|
124
|
+
spacing: {
|
|
125
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
126
|
+
default: number;
|
|
127
|
+
};
|
|
128
|
+
classPrefix: {
|
|
129
|
+
type: StringConstructor;
|
|
130
|
+
default: string;
|
|
131
|
+
};
|
|
132
|
+
fontClassName: {
|
|
133
|
+
type: StringConstructor;
|
|
134
|
+
default: string;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
emits: string[];
|
|
138
|
+
setup(props: any, { emit }: any): {
|
|
139
|
+
onClick: (e: number, index: number) => void;
|
|
140
|
+
pxCheck: (value: string | number) => string;
|
|
141
|
+
rateRefs: Ref<HTMLElement[]>;
|
|
142
|
+
refRandomId: string;
|
|
143
|
+
onTouchStart(event: Event): void;
|
|
144
|
+
onTouchMove(event: Event): void;
|
|
145
|
+
classes: import("vue").ComputedRef<{
|
|
146
|
+
[x: string]: boolean;
|
|
147
|
+
}>;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
@@ -43,6 +43,10 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
43
43
|
type: BooleanConstructor;
|
|
44
44
|
default: boolean;
|
|
45
45
|
};
|
|
46
|
+
touchable: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
46
50
|
spacing: {
|
|
47
51
|
type: (NumberConstructor | StringConstructor)[];
|
|
48
52
|
default: number;
|
|
@@ -56,12 +60,16 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
56
60
|
default: string;
|
|
57
61
|
};
|
|
58
62
|
}, {
|
|
63
|
+
onClick: (e: number, index: number) => void;
|
|
64
|
+
pxCheck: (value: string | number) => string;
|
|
65
|
+
rateRefs: import("vue").Ref<HTMLElement[]>;
|
|
66
|
+
refRandomId: string;
|
|
67
|
+
onTouchStart(event: Event): void;
|
|
68
|
+
onTouchMove(event: Event): void;
|
|
59
69
|
classes: import("vue").ComputedRef<{
|
|
60
70
|
[x: string]: boolean;
|
|
61
71
|
}>;
|
|
62
|
-
|
|
63
|
-
pxCheck: (value: string | number) => string;
|
|
64
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
72
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
65
73
|
count?: unknown;
|
|
66
74
|
modelValue?: unknown;
|
|
67
75
|
iconSize?: unknown;
|
|
@@ -72,6 +80,7 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
72
80
|
readonly?: unknown;
|
|
73
81
|
disabled?: unknown;
|
|
74
82
|
allowHalf?: unknown;
|
|
83
|
+
touchable?: unknown;
|
|
75
84
|
spacing?: unknown;
|
|
76
85
|
classPrefix?: unknown;
|
|
77
86
|
fontClassName?: unknown;
|
|
@@ -80,31 +89,32 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
80
89
|
fontClassName: string;
|
|
81
90
|
disabled: boolean;
|
|
82
91
|
iconSize: string | number;
|
|
83
|
-
modelValue: string | number;
|
|
84
92
|
activeColor: string;
|
|
93
|
+
modelValue: string | number;
|
|
85
94
|
count: string | number;
|
|
86
95
|
readonly: boolean;
|
|
87
96
|
voidColor: string;
|
|
88
97
|
uncheckedIcon: string;
|
|
89
98
|
checkedIcon: string;
|
|
90
99
|
allowHalf: boolean;
|
|
100
|
+
touchable: boolean;
|
|
91
101
|
spacing: string | number;
|
|
92
102
|
} & {}> & {
|
|
93
|
-
|
|
94
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
103
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
95
104
|
}, {
|
|
96
105
|
classPrefix: string;
|
|
97
106
|
fontClassName: string;
|
|
98
107
|
disabled: boolean;
|
|
99
108
|
iconSize: string | number;
|
|
100
|
-
modelValue: string | number;
|
|
101
109
|
activeColor: string;
|
|
110
|
+
modelValue: string | number;
|
|
102
111
|
count: string | number;
|
|
103
112
|
readonly: boolean;
|
|
104
113
|
voidColor: string;
|
|
105
114
|
uncheckedIcon: string;
|
|
106
115
|
checkedIcon: string;
|
|
107
116
|
allowHalf: boolean;
|
|
117
|
+
touchable: boolean;
|
|
108
118
|
spacing: string | number;
|
|
109
119
|
}>>;
|
|
110
120
|
export default _sfc_main;
|
|
@@ -34,16 +34,16 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
34
34
|
flexWrap?: unknown;
|
|
35
35
|
} & {
|
|
36
36
|
type: string;
|
|
37
|
-
gutter: string | number;
|
|
38
37
|
justify: string;
|
|
38
|
+
gutter: string | number;
|
|
39
39
|
align: string;
|
|
40
40
|
flexWrap: string;
|
|
41
41
|
} & {}> & {
|
|
42
42
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
43
43
|
}, {
|
|
44
44
|
type: string;
|
|
45
|
-
gutter: string | number;
|
|
46
45
|
justify: string;
|
|
46
|
+
gutter: string | number;
|
|
47
47
|
align: string;
|
|
48
48
|
flexWrap: string;
|
|
49
49
|
}>>;
|
|
@@ -65,7 +65,7 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
65
65
|
} | undefined;
|
|
66
66
|
closeIcon: () => void;
|
|
67
67
|
translate: (keyPath: string, ...args: unknown[]) => string;
|
|
68
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
68
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "update:visible" | "change" | "update:modelValue" | "complete" | "ok" | "tips" | "cancel")[], "close" | "update:visible" | "change" | "update:modelValue" | "complete" | "ok" | "tips" | "cancel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
69
69
|
title?: unknown;
|
|
70
70
|
desc?: unknown;
|
|
71
71
|
tips?: unknown;
|
|
@@ -89,8 +89,8 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
89
89
|
noButton: boolean;
|
|
90
90
|
} & {}> & {
|
|
91
91
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
92
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
93
92
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
93
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
94
94
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
95
95
|
onComplete?: ((...args: any[]) => any) | undefined;
|
|
96
96
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
@@ -136,7 +136,7 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
136
136
|
reduce: (value: number) => void;
|
|
137
137
|
getSlots: (name: string) => import("vue").Slot | undefined;
|
|
138
138
|
translate: (keyPath: string, ...args: unknown[]) => string;
|
|
139
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
139
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "update:visible" | "add" | "reduce" | "selectSku" | "changeStepper" | "clickBtnOperate" | "clickCloseIcon" | "clickOverlay" | "overLimit")[], "reduce" | "close" | "update:visible" | "add" | "clickOverlay" | "selectSku" | "changeStepper" | "clickBtnOperate" | "clickCloseIcon" | "overLimit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
140
140
|
sku?: unknown;
|
|
141
141
|
goods?: unknown;
|
|
142
142
|
stepperMax?: unknown;
|
|
@@ -170,13 +170,13 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
170
170
|
closeOnClickOverlay?: unknown;
|
|
171
171
|
} & {
|
|
172
172
|
round: boolean;
|
|
173
|
-
overlay: boolean;
|
|
174
173
|
visible: boolean;
|
|
175
174
|
zIndex: string | number;
|
|
176
175
|
duration: string | number;
|
|
177
176
|
overlayClass: string;
|
|
178
177
|
lockScroll: boolean;
|
|
179
178
|
closeOnClickOverlay: boolean;
|
|
179
|
+
overlay: boolean;
|
|
180
180
|
position: string;
|
|
181
181
|
popClass: string;
|
|
182
182
|
closeable: boolean;
|
|
@@ -214,13 +214,13 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
214
214
|
onClickBtnOperate?: ((...args: any[]) => any) | undefined;
|
|
215
215
|
}, {
|
|
216
216
|
round: boolean;
|
|
217
|
-
overlay: boolean;
|
|
218
217
|
visible: boolean;
|
|
219
218
|
zIndex: string | number;
|
|
220
219
|
duration: string | number;
|
|
221
220
|
overlayClass: string;
|
|
222
221
|
lockScroll: boolean;
|
|
223
222
|
closeOnClickOverlay: boolean;
|
|
223
|
+
overlay: boolean;
|
|
224
224
|
position: string;
|
|
225
225
|
popClass: string;
|
|
226
226
|
closeable: boolean;
|
|
@@ -33,7 +33,7 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
33
33
|
touchStyle: import("vue").ComputedRef<{
|
|
34
34
|
transform: string;
|
|
35
35
|
}>;
|
|
36
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
36
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "open")[], "close" | "open", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
37
37
|
name?: unknown;
|
|
38
38
|
touchMoveStopPropagation?: unknown;
|
|
39
39
|
touchMovePreventDefault?: unknown;
|
|
@@ -44,8 +44,8 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
44
44
|
touchMoveStopPropagation: boolean;
|
|
45
45
|
touchMovePreventDefault: boolean;
|
|
46
46
|
} & {}> & {
|
|
47
|
-
onOpen?: ((...args: any[]) => any) | undefined;
|
|
48
47
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
48
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
49
49
|
}, {
|
|
50
50
|
name: string;
|
|
51
51
|
disabled: boolean;
|
|
@@ -109,12 +109,12 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
109
109
|
width: string | number;
|
|
110
110
|
height: string | number;
|
|
111
111
|
direction: string;
|
|
112
|
+
touchable: boolean;
|
|
112
113
|
loop: boolean;
|
|
113
114
|
paginationVisible: boolean;
|
|
114
115
|
paginationColor: string;
|
|
115
116
|
autoPlay: string | number;
|
|
116
117
|
initPage: string | number;
|
|
117
|
-
touchable: boolean;
|
|
118
118
|
isPreventDefault: boolean;
|
|
119
119
|
isStopPropagation: boolean;
|
|
120
120
|
} & {}> & {
|
|
@@ -124,12 +124,12 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
124
124
|
width: string | number;
|
|
125
125
|
height: string | number;
|
|
126
126
|
direction: string;
|
|
127
|
+
touchable: boolean;
|
|
127
128
|
loop: boolean;
|
|
128
129
|
paginationVisible: boolean;
|
|
129
130
|
paginationColor: string;
|
|
130
131
|
autoPlay: string | number;
|
|
131
132
|
initPage: string | number;
|
|
132
|
-
touchable: boolean;
|
|
133
133
|
isPreventDefault: boolean;
|
|
134
134
|
isStopPropagation: boolean;
|
|
135
135
|
}>>;
|
|
@@ -77,9 +77,9 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
77
77
|
size: string | number;
|
|
78
78
|
color: string;
|
|
79
79
|
loading: boolean;
|
|
80
|
-
modelValue: string | number | boolean;
|
|
81
80
|
activeText: string;
|
|
82
81
|
activeColor: string;
|
|
82
|
+
modelValue: string | number | boolean;
|
|
83
83
|
inactiveColor: string;
|
|
84
84
|
disable: boolean;
|
|
85
85
|
inactiveText: string;
|
|
@@ -94,9 +94,9 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
94
94
|
size: string | number;
|
|
95
95
|
color: string;
|
|
96
96
|
loading: boolean;
|
|
97
|
-
modelValue: string | number | boolean;
|
|
98
97
|
activeText: string;
|
|
99
98
|
activeColor: string;
|
|
99
|
+
modelValue: string | number | boolean;
|
|
100
100
|
inactiveColor: string;
|
|
101
101
|
disable: boolean;
|
|
102
102
|
inactiveText: string;
|
|
@@ -39,6 +39,7 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
39
39
|
width: string;
|
|
40
40
|
height: any;
|
|
41
41
|
}>;
|
|
42
|
+
props: any;
|
|
42
43
|
close: () => void;
|
|
43
44
|
translate: (keyPath: string, ...args: unknown[]) => string;
|
|
44
45
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:visible")[], "select" | "update:visible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
@@ -53,8 +54,8 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
53
54
|
title: string;
|
|
54
55
|
visible: boolean;
|
|
55
56
|
lockScroll: boolean;
|
|
56
|
-
height: string;
|
|
57
57
|
isWrapTeleport: boolean;
|
|
58
|
+
height: string;
|
|
58
59
|
currentKey: string | number;
|
|
59
60
|
currentTime: unknown[];
|
|
60
61
|
} & {}> & {
|
|
@@ -64,8 +65,8 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
64
65
|
title: string;
|
|
65
66
|
visible: boolean;
|
|
66
67
|
lockScroll: boolean;
|
|
67
|
-
height: string;
|
|
68
68
|
isWrapTeleport: boolean;
|
|
69
|
+
height: string;
|
|
69
70
|
currentKey: string | number;
|
|
70
71
|
currentTime: unknown[];
|
|
71
72
|
}>>;
|
package/dist/types/index.d.ts
CHANGED
package/dist/types/nutui.d.ts
CHANGED
|
@@ -5,6 +5,8 @@ import CellGroup from './__VUE/cellgroup/index.vue';
|
|
|
5
5
|
import Icon from './__VUE/icon/index.vue';
|
|
6
6
|
import OverLay from './__VUE/overlay/index.vue';
|
|
7
7
|
import Popup from './__VUE/popup/index.vue';
|
|
8
|
+
import ConfigProvider from './__VUE/configprovider/index.vue';
|
|
9
|
+
import Image from './__VUE/image/index.vue';
|
|
8
10
|
import Layout from './__VUE/layout/index.vue';
|
|
9
11
|
import Col from './__VUE/col/index.vue';
|
|
10
12
|
import Row from './__VUE/row/index.vue';
|
|
@@ -82,6 +84,8 @@ import Skeleton from './__VUE/skeleton/index.vue';
|
|
|
82
84
|
import Collapse from './__VUE/collapse/index.vue';
|
|
83
85
|
import CollapseItem from './__VUE/collapseitem/index.vue';
|
|
84
86
|
import Table from './__VUE/table/index.vue';
|
|
87
|
+
import Animate from './__VUE/animate/index.vue';
|
|
88
|
+
import Ellipsis from './__VUE/ellipsis/index.vue';
|
|
85
89
|
import Address from './__VUE/address/index.vue';
|
|
86
90
|
import Barrage from './__VUE/barrage/index.vue';
|
|
87
91
|
import Signature from './__VUE/signature/index.vue';
|
|
@@ -96,4 +100,4 @@ import Category from './__VUE/category/index.vue';
|
|
|
96
100
|
import CategoryPane from './__VUE/categorypane/index.vue';
|
|
97
101
|
import Comment from './__VUE/comment/index.vue';
|
|
98
102
|
|
|
99
|
-
export { Locale,Button,Cell,CellGroup,Icon,OverLay,Popup,Layout,Col,Row,Sticky,Divider,Grid,GridItem,Navbar,FixedNav,Menu,MenuItem,Tabbar,TabbarItem,Elevator,Pagination,Tabs,TabPane,Indicator,SideNavBar,SideNavBarItem,SubSideNavBar,Range,SearchBar,Cascader,Calendar,Checkbox,CheckboxGroup,DatePicker,InputNumber,Input,Radio,RadioGroup,Rate,CalendarItem,Picker,ShortPassword,TextArea,Uploader,NumberKeyboard,Form,FormItem,OldPicker,Swipe,ActionSheet,BackTop,Drag,Dialog,InfiniteLoading,Notify,PullRefresh,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,Address,Barrage,Signature,TimeSelect,TimePannel,TimeDetail,Sku,Card,Ecard,AddressList,Category,CategoryPane,Comment };
|
|
103
|
+
export { Locale,Button,Cell,CellGroup,Icon,OverLay,Popup,ConfigProvider,Image,Layout,Col,Row,Sticky,Divider,Grid,GridItem,Navbar,FixedNav,Menu,MenuItem,Tabbar,TabbarItem,Elevator,Pagination,Tabs,TabPane,Indicator,SideNavBar,SideNavBarItem,SubSideNavBar,Range,SearchBar,Cascader,Calendar,Checkbox,CheckboxGroup,DatePicker,InputNumber,Input,Radio,RadioGroup,Rate,CalendarItem,Picker,ShortPassword,TextArea,Uploader,NumberKeyboard,Form,FormItem,OldPicker,Swipe,ActionSheet,BackTop,Drag,Dialog,InfiniteLoading,Notify,PullRefresh,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,Address,Barrage,Signature,TimeSelect,TimePannel,TimeDetail,Sku,Card,Ecard,AddressList,Category,CategoryPane,Comment };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nutui/nutui",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.23-beta.0",
|
|
4
4
|
"description": "京东风格的轻量级移动端 Vue2、Vue3 组件库(支持小程序开发)",
|
|
5
5
|
"main": "dist/nutui.umd.js",
|
|
6
6
|
"module": "dist/nutui.es.js",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"tags": "dist/smartips/tags.json",
|
|
11
11
|
"attributes": "dist/smartips/attributes.json"
|
|
12
12
|
},
|
|
13
|
+
"web-types": "dist/smartips/web-types.json",
|
|
13
14
|
"keywords": [
|
|
14
15
|
"nutui",
|
|
15
16
|
"nutui2",
|
|
@@ -40,7 +41,8 @@
|
|
|
40
41
|
"checked": "npm run generate:file && tsc",
|
|
41
42
|
"checked:taro:vue": "npm run generate:file:taro:vue",
|
|
42
43
|
"dev": "npm run checked && vite --open --force",
|
|
43
|
-
"dev:taro:
|
|
44
|
+
"dev:taro:weapp": "npm run createTaroConfig && npm run checked:taro:vue && cd src/sites/mobile-taro/vue/ && npm run dev:weapp",
|
|
45
|
+
"dev:taro:alipay": "npm run createTaroConfig && npm run checked:taro:vue && cd src/sites/mobile-taro/vue/ && npm run dev:alipay",
|
|
44
46
|
"dev:taro:h5": "npm run createTaroConfig && npm run checked:taro:vue && cd src/sites/mobile-taro/vue/ && npm run dev:h5",
|
|
45
47
|
"build:site": "npm run checked && vite build",
|
|
46
48
|
"build:site-jdt": "npm run checked && vite build --config vite.config.jdt.ts ",
|
|
@@ -107,13 +109,12 @@
|
|
|
107
109
|
"markdown-it-container": "^3.0.0",
|
|
108
110
|
"prettier": "^2.0.0",
|
|
109
111
|
"remark-codesandbox": "^0.10.1",
|
|
110
|
-
"rollup-plugin-terser": "^7.0.2",
|
|
111
112
|
"standard-version": "^9.3.0",
|
|
112
113
|
"swiper": "6.5.1",
|
|
113
114
|
"transliteration": "^2.2.0",
|
|
114
115
|
"ts-jest": "^26.5.5",
|
|
115
116
|
"typescript": "4.6.4",
|
|
116
|
-
"vite": "^2.9.
|
|
117
|
+
"vite": "^2.9.12",
|
|
117
118
|
"vite-plugin-dts": "^1.0.5",
|
|
118
119
|
"vite-plugin-md": "^0.11.8",
|
|
119
120
|
"vue": "3.2.24",
|