@nutui/nutui 4.2.2 → 4.2.4
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 +33 -0
- package/README.md +34 -21
- package/dist/nutui.es.js +1 -1
- package/dist/nutui.js +6465 -6441
- package/dist/nutui.umd.js +1 -1
- package/dist/packages/{Interceptor-6aab6fe0.js → Interceptor-WYVtGbGC.js} +1 -1
- package/dist/packages/actionsheet/ActionSheet.js +4 -4
- package/dist/packages/address/Address.js +5 -6
- package/dist/packages/addresslist/AddressList.js +6 -5
- package/dist/packages/animate/Animate.js +2 -2
- package/dist/packages/audio/Audio.js +5 -5
- package/dist/packages/audiooperate/AudioOperate.js +4 -4
- package/dist/packages/avatar/Avatar.js +5 -65
- package/dist/packages/avatarcropper/AvatarCropper.js +5 -5
- package/dist/packages/avatargroup/AvatarGroup.js +4 -4
- package/dist/packages/backtop/Backtop.js +3 -3
- package/dist/packages/badge/Badge.js +2 -2
- package/dist/packages/barrage/Barrage.js +2 -2
- package/dist/packages/button/Button.js +2 -2
- package/dist/packages/calendar/Calendar.js +9 -10
- package/dist/packages/calendaritem/CalendarItem.js +6 -7
- package/dist/packages/card/Card.js +2 -2
- package/dist/packages/cascader/Cascader.js +10 -10
- package/dist/packages/cascader/index.css +1 -1
- package/dist/packages/category/Category.js +2 -2
- package/dist/packages/categorypane/CategoryPane.js +2 -2
- package/dist/packages/cell/Cell.js +4 -4
- package/dist/packages/cellgroup/CellGroup.js +2 -2
- package/dist/packages/checkbox/Checkbox.js +149 -152
- package/dist/packages/checkboxgroup/CheckboxGroup.js +5 -5
- package/dist/packages/circleprogress/CircleProgress.js +3 -3
- package/dist/packages/col/Col.js +6 -5
- package/dist/packages/collapse/Collapse.js +7 -6
- package/dist/packages/collapseitem/CollapseItem.js +9 -9
- package/dist/packages/comment/Comment.js +7 -7
- package/dist/packages/{common-1579352e.js → common-4inKawxR.js} +2 -2
- package/dist/packages/configprovider/ConfigProvider.js +1 -1
- package/dist/packages/countdown/Countdown.js +4 -4
- package/dist/packages/countup/Countup.js +2 -2
- package/dist/packages/datepicker/DatePicker.js +6 -6
- package/dist/packages/dialog/Dialog.js +7 -7
- package/dist/packages/divider/Divider.js +4 -4
- package/dist/packages/drag/Drag.js +3 -3
- package/dist/packages/ecard/Ecard.js +5 -5
- package/dist/packages/elevator/Elevator.js +7 -8
- package/dist/packages/ellipsis/Ellipsis.js +2 -2
- package/dist/packages/empty/Empty.js +5 -5
- package/dist/packages/fixednav/FixedNav.js +4 -4
- package/dist/packages/form/Form.js +15 -46
- package/dist/packages/formitem/FormItem.js +38 -24
- package/dist/packages/formitem/index.css +1 -1
- package/dist/packages/formitem/index.scss +25 -0
- package/dist/packages/grid/Grid.js +3 -3
- package/dist/packages/griditem/GridItem.js +5 -5
- package/dist/packages/image/Image.js +3 -3
- package/dist/packages/imagepreview/ImagePreview.js +11 -11
- package/dist/packages/index--uVlasFu.js +69 -0
- package/dist/packages/{index-914a76f0.js → index-NLe0VBkN.js} +6 -7
- package/dist/packages/{index-37ae1f41.js → index-rbZsBckW.js} +2 -2
- package/dist/packages/{index-c0fa0f6b.js → index-s3RgMhc7.js} +1 -1
- package/dist/packages/{index.vue_vue_type_script_lang-0185ccea.js → index.vue_vue_type_script_lang-54PRh3YM.js} +3 -3
- package/dist/packages/{index.vue_vue_type_script_lang-825ed1e0.js → index.vue_vue_type_script_lang-MJYVRFbp.js} +14 -9
- package/dist/packages/indicator/Indicator.js +3 -3
- package/dist/packages/infiniteloading/InfiniteLoading.js +6 -6
- package/dist/packages/input/Input.js +2 -2
- package/dist/packages/inputnumber/InputNumber.js +4 -4
- package/dist/packages/invoice/Invoice.js +11 -7
- package/dist/packages/invoice/index.css +1 -1
- package/dist/packages/layout/Layout.js +1 -1
- package/dist/packages/list/List.js +3 -3
- package/dist/packages/locale/lang/en-US.js +1 -1
- package/dist/packages/locale/lang/id-ID.js +1 -1
- package/dist/packages/locale/lang/index.js +1 -1
- package/dist/packages/locale/lang/zh-CN.js +1 -1
- package/dist/packages/locale/lang/zh-TW.js +1 -1
- package/dist/packages/menu/Menu.js +17 -52
- package/dist/packages/menuitem/MenuItem.js +8 -18
- package/dist/packages/{mountComponent-867a9167.js → mountComponent-uInXoTMp.js} +1 -1
- package/dist/packages/navbar/Navbar.js +2 -2
- package/dist/packages/navbar/index.css +1 -1
- package/dist/packages/navbar/index.scss +5 -16
- package/dist/packages/noticebar/Noticebar.js +3 -3
- package/dist/packages/notify/Notify.js +4 -4
- package/dist/packages/numberkeyboard/NumberKeyboard.js +5 -5
- package/dist/packages/overlay/Overlay.js +3 -3
- package/dist/packages/pagination/Pagination.js +4 -4
- package/dist/packages/picker/Picker.js +6 -6
- package/dist/packages/popover/Popover.js +9 -8
- package/dist/packages/popup/Popup.js +4 -4
- package/dist/packages/price/Price.js +2 -2
- package/dist/packages/progress/Progress.js +2 -2
- package/dist/packages/pullrefresh/PullRefresh.js +7 -7
- package/dist/packages/radio/Radio.js +4 -3
- package/dist/packages/radio/index.css +1 -1
- package/dist/packages/radio/index.scss +21 -0
- package/dist/packages/radiogroup/RadioGroup.js +3 -2
- package/dist/packages/radiogroup/index.scss +0 -5
- package/dist/packages/range/Range.js +5 -7
- package/dist/packages/rate/Rate.js +5 -5
- package/dist/packages/row/Row.js +6 -5
- package/dist/packages/searchbar/Searchbar.js +5 -5
- package/dist/packages/shortpassword/ShortPassword.js +5 -5
- package/dist/packages/sidenavbar/SideNavbar.js +2 -2
- package/dist/packages/sidenavbaritem/SideNavbarItem.js +2 -2
- package/dist/packages/signature/Signature.js +4 -4
- package/dist/packages/skeleton/Skeleton.js +3 -3
- package/dist/packages/sku/Sku.js +6 -6
- package/dist/packages/space/Space.js +1 -1
- package/dist/packages/step/Step.js +4 -3
- package/dist/packages/steps/Steps.js +3 -2
- package/dist/packages/sticky/Sticky.js +4 -4
- package/dist/packages/subsidenavbar/SubSideNavbar.js +2 -2
- package/dist/packages/swipe/Swipe.js +5 -4
- package/dist/packages/swipegroup/SwipeGroup.js +4 -3
- package/dist/packages/swiper/Swiper.js +9 -9
- package/dist/packages/swiperitem/SwiperItem.js +11 -5
- package/dist/packages/switch/Switch.js +2 -2
- package/dist/packages/tabbar/Tabbar.js +5 -4
- package/dist/packages/tabbaritem/TabbarItem.js +6 -5
- package/dist/packages/table/Table.js +4 -4
- package/dist/packages/tabpane/TabPane.js +2 -2
- package/dist/packages/tabs/Tabs.js +9 -9
- package/dist/packages/tabs/index.css +1 -1
- package/dist/packages/tabs/index.scss +114 -117
- package/dist/packages/tag/Tag.js +2 -2
- package/dist/packages/textarea/Textarea.js +4 -4
- package/dist/packages/textarea/index.css +1 -1
- package/dist/packages/textarea/index.scss +1 -0
- package/dist/packages/timedetail/TimeDetail.js +2 -2
- package/dist/packages/timepannel/TimePannel.js +2 -2
- package/dist/packages/timeselect/TimeSelect.js +5 -5
- package/dist/packages/toast/Toast.js +5 -5
- package/dist/packages/tour/Tour.js +6 -6
- package/dist/packages/trendarrow/TrendArrow.js +3 -3
- package/dist/packages/types-4IflWeQO.js +4 -0
- package/dist/packages/types-9wCQwtH3.js +4 -0
- package/dist/packages/types-Cq2YypZn.js +4 -0
- package/dist/packages/types-RCVUm7Nb.js +4 -0
- package/dist/packages/types-Ww4ErYJT.js +4 -0
- package/dist/packages/types-Ynmct7na.js +4 -0
- package/dist/packages/types-j71K23JP.js +4 -0
- package/dist/packages/types-odSRziQJ.js +4 -0
- package/dist/packages/types-qOrhXtA_.js +4 -0
- package/dist/packages/types-zeKkNDAq.js +4 -0
- package/dist/packages/uploader/Uploader.js +5 -5
- package/dist/packages/useChildren-GU_NVfD8.js +54 -0
- package/dist/packages/useParent-KIxqkovs.js +16 -0
- package/dist/packages/video/Video.js +4 -4
- package/dist/packages/watermark/Watermark.js +2 -2
- package/dist/smartips/web-types.json +55 -1
- package/dist/style.css +1 -1
- package/dist/style.js +1 -4
- package/dist/types/__VUE/address/index.vue.d.ts +3 -3
- package/dist/types/__VUE/avatar/index.vue.d.ts +1 -1
- package/dist/types/__VUE/avatar/types.d.ts +1 -0
- package/dist/types/__VUE/avatargroup/index.vue.d.ts +2 -2
- package/dist/types/__VUE/cell/index.vue.d.ts +1 -1
- package/dist/types/__VUE/checkbox/index.vue.d.ts +72 -1
- package/dist/types/__VUE/checkbox/types.d.ts +1 -0
- package/dist/types/__VUE/col/index.vue.d.ts +1 -0
- package/dist/types/__VUE/collapse/index.vue.d.ts +4 -29
- package/dist/types/__VUE/collapse/types.d.ts +5 -0
- package/dist/types/__VUE/collapseitem/index.vue.d.ts +2 -1
- package/dist/types/__VUE/countup/index.vue.d.ts +2 -2
- package/dist/types/__VUE/divider/index.vue.d.ts +15 -1
- package/dist/types/__VUE/form/common.d.ts +9 -1
- package/dist/types/__VUE/form/index.vue.d.ts +18 -0
- package/dist/types/__VUE/form/types.d.ts +4 -1
- package/dist/types/__VUE/formitem/index.vue.d.ts +21 -1
- package/dist/types/__VUE/formitem/types.d.ts +2 -0
- package/dist/types/__VUE/grid/index.vue.d.ts +1 -1
- package/dist/types/__VUE/image/index.vue.d.ts +1 -1
- package/dist/types/__VUE/layout/types.d.ts +1 -0
- package/dist/types/__VUE/menu/index.vue.d.ts +18 -9
- package/dist/types/__VUE/menu/types.d.ts +6 -0
- package/dist/types/__VUE/menuitem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/navbar/index.vue.d.ts +1 -1
- package/dist/types/__VUE/radio/index.vue.d.ts +14 -3
- package/dist/types/__VUE/radio/types.d.ts +5 -0
- package/dist/types/__VUE/radiogroup/index.vue.d.ts +8 -6
- package/dist/types/__VUE/sku/components/SkuStepper.vue.d.ts +1 -1
- package/dist/types/__VUE/sku/index.vue.d.ts +1 -1
- package/dist/types/__VUE/steps/types.d.ts +1 -0
- package/dist/types/__VUE/swipe/types.d.ts +1 -0
- package/dist/types/__VUE/swiper/types.d.ts +1 -0
- package/dist/types/__VUE/tabbar/types.d.ts +1 -0
- package/dist/types/__VUE/tabs/index.vue.d.ts +1 -1
- package/dist/types/__VUE/toast/index.vue.d.ts +1 -1
- package/dist/types/__VUE/uploader/index.vue.d.ts +2 -28
- package/dist/types/index.d.ts +1 -1
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/utils/useRelation/index.d.ts +2 -0
- package/dist/types/utils/useRelation/useChildren.d.ts +4 -0
- package/dist/types/utils/useRelation/useParent.d.ts +3 -0
- package/package.json +1 -1
- package/dist/packages/index-79c5dc33.js +0 -10
- package/dist/types/__VUE/checkbox/common.d.ts +0 -2
- package/dist/types/__VUE/menuitem/type.d.ts +0 -4
- package/dist/types/__VUE/picker/common.d.ts +0 -406
- /package/dist/packages/{_plugin-vue_export-helper-cc2b3d55.js → _plugin-vue_export-helper-yVxbj29m.js} +0 -0
- /package/dist/packages/{component-669c158a.js → component-TCzwHGVq.js} +0 -0
- /package/dist/packages/{index-7a7385e4.js → index-084nl_oE.js} +0 -0
- /package/dist/packages/{index-54d03fc1.js → index-Ii9XdkPy.js} +0 -0
- /package/dist/packages/{index-29892cda.js → index-rf29bejW.js} +0 -0
- /package/dist/packages/{index-97b44e6c.js → index-xDfQLRen.js} +0 -0
- /package/dist/packages/locale/lang/{baseLang-3a8457ac.js → baseLang-7uiEiO-2.js} +0 -0
- /package/dist/packages/{pxCheck-a27490eb.js → pxCheck-OnXlN1NC.js} +0 -0
- /package/dist/packages/{raf-729dad54.js → raf-MQjoO-Ag.js} +0 -0
- /package/dist/packages/{renderIcon-3d0fd47c.js → renderIcon--EgZu5_5.js} +0 -0
- /package/dist/packages/{util-6f26722f.js → util-4Jkyw4BJ.js} +0 -0
|
@@ -16,7 +16,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
16
|
default: string;
|
|
17
17
|
};
|
|
18
18
|
}, {
|
|
19
|
-
goodsCount: any
|
|
19
|
+
goodsCount: import("vue").Ref<any>;
|
|
20
20
|
add: (value: number) => void;
|
|
21
21
|
reduce: (value: number) => void;
|
|
22
22
|
overlimit: (e: Event, action: string) => void;
|
|
@@ -57,7 +57,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
57
57
|
default: boolean;
|
|
58
58
|
};
|
|
59
59
|
}, {
|
|
60
|
-
showPopup: any
|
|
60
|
+
showPopup: import("vue").Ref<any>;
|
|
61
61
|
closePopup: (type: string) => void;
|
|
62
62
|
selectSku: (skus: any) => void;
|
|
63
63
|
changeStepper: (value: number) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const STEPS_KEY: unique symbol;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SWIPE_KEY: unique symbol;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SWIPER_KEY: unique symbol;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TABBAR_KEY: unique symbol;
|
|
@@ -142,8 +142,8 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
142
142
|
duration: number;
|
|
143
143
|
closeOnClickOverlay: boolean;
|
|
144
144
|
type: string;
|
|
145
|
-
bottom: string;
|
|
146
145
|
cover: boolean;
|
|
146
|
+
bottom: string;
|
|
147
147
|
size: string | number;
|
|
148
148
|
icon: Component;
|
|
149
149
|
bgColor: string;
|
|
@@ -19,20 +19,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
19
19
|
default: number;
|
|
20
20
|
};
|
|
21
21
|
fileList: {
|
|
22
|
-
type:
|
|
23
|
-
(arrayLength: number): any[];
|
|
24
|
-
(...items: any[]): any[];
|
|
25
|
-
new (arrayLength: number): any[];
|
|
26
|
-
new (...items: any[]): any[];
|
|
27
|
-
isArray(arg: any): arg is any[];
|
|
28
|
-
readonly prototype: any[];
|
|
29
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
30
|
-
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
31
|
-
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
32
|
-
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
33
|
-
of<T_4>(...items: T_4[]): T_4[];
|
|
34
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
35
|
-
};
|
|
22
|
+
type: PropType<any[]>;
|
|
36
23
|
default: () => never[];
|
|
37
24
|
};
|
|
38
25
|
isPreview: {
|
|
@@ -148,20 +135,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
148
135
|
default: number;
|
|
149
136
|
};
|
|
150
137
|
fileList: {
|
|
151
|
-
type:
|
|
152
|
-
(arrayLength: number): any[];
|
|
153
|
-
(...items: any[]): any[];
|
|
154
|
-
new (arrayLength: number): any[];
|
|
155
|
-
new (...items: any[]): any[];
|
|
156
|
-
isArray(arg: any): arg is any[];
|
|
157
|
-
readonly prototype: any[];
|
|
158
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
159
|
-
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
160
|
-
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
161
|
-
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
162
|
-
of<T_4>(...items: T_4[]): T_4[];
|
|
163
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
164
|
-
};
|
|
138
|
+
type: PropType<any[]>;
|
|
165
139
|
default: () => never[];
|
|
166
140
|
};
|
|
167
141
|
isPreview: {
|
package/dist/types/index.d.ts
CHANGED
|
@@ -110,7 +110,7 @@ import Comment from './__VUE/comment/index.vue';
|
|
|
110
110
|
import Invoice from './__VUE/invoice/index.vue';
|
|
111
111
|
import AvatarCropper from './__VUE/avatarcropper/index.vue';
|
|
112
112
|
declare function install(app: App): void;
|
|
113
|
-
declare const version = "4.2.
|
|
113
|
+
declare const version = "4.2.4";
|
|
114
114
|
export { install, version, Locale, Button, Cell, CellGroup, Overlay, Popup, ConfigProvider, Image, Layout, Col, Row, Sticky, Divider, Grid, GridItem, Space, Navbar, FixedNav, Menu, MenuItem, Tabbar, TabbarItem, Elevator, Pagination, Tabs, TabPane, Indicator, SideNavbar, SideNavbarItem, SubSideNavbar, Range, Searchbar, Cascader, Calendar, Checkbox, CheckboxGroup, DatePicker, InputNumber, Input, Radio, RadioGroup, Rate, CalendarItem, Picker, ShortPassword, Textarea, Uploader, NumberKeyboard, Form, FormItem, Swipe, SwipeGroup, ActionSheet, Backtop, Drag, Dialog, InfiniteLoading, PullRefresh, Notify, Switch, Toast, Audio, AudioOperate, Avatar, AvatarGroup, List, Progress, CircleProgress, Noticebar, Empty, Video, Steps, Step, Swiper, SwiperItem, Price, ImagePreview, Countup, Countdown, Badge, Tag, Popover, Skeleton, Collapse, CollapseItem, Table, Animate, Ellipsis, Watermark, TrendArrow, Tour, Address, Barrage, Signature, TimeSelect, TimePannel, TimeDetail, Sku, Card, Ecard, AddressList, Category, CategoryPane, Comment, Invoice, AvatarCropper, showDialog, showNotify, showToast, showImagePreview };
|
|
115
115
|
declare const _default: {
|
|
116
116
|
install: typeof install;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useRelation';
|
package/package.json
CHANGED
|
@@ -1,406 +0,0 @@
|
|
|
1
|
-
import { CSSProperties } from 'vue';
|
|
2
|
-
export declare const componentWeb: {
|
|
3
|
-
components: {
|
|
4
|
-
NutPickerColumn: import("vue").DefineComponent<{
|
|
5
|
-
value: (NumberConstructor | StringConstructor)[];
|
|
6
|
-
columnsType: StringConstructor;
|
|
7
|
-
column: {
|
|
8
|
-
type: import("vue").PropType<import("./types").PickerOption[]>;
|
|
9
|
-
default: () => never[];
|
|
10
|
-
};
|
|
11
|
-
threeDimensional: {
|
|
12
|
-
type: BooleanConstructor;
|
|
13
|
-
default: boolean;
|
|
14
|
-
};
|
|
15
|
-
swipeDuration: {
|
|
16
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
17
|
-
default: number;
|
|
18
|
-
};
|
|
19
|
-
visibleOptionNum: {
|
|
20
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
21
|
-
default: number;
|
|
22
|
-
};
|
|
23
|
-
optionHeight: {
|
|
24
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
25
|
-
default: number;
|
|
26
|
-
};
|
|
27
|
-
fieldNames: {
|
|
28
|
-
type: import("vue").PropType<Required<import("./types").PickerFieldNames>>;
|
|
29
|
-
default: () => {};
|
|
30
|
-
};
|
|
31
|
-
taro: {
|
|
32
|
-
type: BooleanConstructor;
|
|
33
|
-
defualt: boolean;
|
|
34
|
-
};
|
|
35
|
-
}, {
|
|
36
|
-
setRollerStyle: (index: number) => string;
|
|
37
|
-
isHidden: (index: number) => boolean;
|
|
38
|
-
roller: import("vue").Ref<null>;
|
|
39
|
-
onTouchStart: (event: TouchEvent) => void;
|
|
40
|
-
onTouchMove: (event: TouchEvent) => void;
|
|
41
|
-
onTouchEnd: () => void;
|
|
42
|
-
touchRollerStyle: import("vue").ComputedRef<{
|
|
43
|
-
transition: string;
|
|
44
|
-
transform: string;
|
|
45
|
-
top: string;
|
|
46
|
-
}>;
|
|
47
|
-
touchTileStyle: import("vue").ComputedRef<{
|
|
48
|
-
transition: string;
|
|
49
|
-
transform: string;
|
|
50
|
-
top: string;
|
|
51
|
-
height: string;
|
|
52
|
-
}>;
|
|
53
|
-
setMove: (move: number, type?: string | undefined, time?: number | undefined) => void;
|
|
54
|
-
stopMomentum: () => void;
|
|
55
|
-
pxCheck: (value?: string | number | undefined) => string | undefined;
|
|
56
|
-
maskStyles: import("vue").ComputedRef<{
|
|
57
|
-
backgroundSize: string;
|
|
58
|
-
}>;
|
|
59
|
-
column: import("vue").Ref<import("./types").PickerOption[]>;
|
|
60
|
-
threeDimensional: import("vue").Ref<boolean>;
|
|
61
|
-
swipeDuration: import("vue").Ref<string | number>;
|
|
62
|
-
visibleOptionNum: import("vue").Ref<string | number>;
|
|
63
|
-
optionHeight: import("vue").Ref<string | number>;
|
|
64
|
-
fieldNames: import("vue").Ref<Required<import("./types").PickerFieldNames>>;
|
|
65
|
-
taro: import("vue").Ref<boolean>;
|
|
66
|
-
value: import("vue").Ref<string | number | undefined>;
|
|
67
|
-
columnsType: import("vue").Ref<string | undefined>;
|
|
68
|
-
onClick: import("vue").Ref<((...args: any[]) => any) | undefined>;
|
|
69
|
-
onChange: import("vue").Ref<((...args: any[]) => any) | undefined>;
|
|
70
|
-
touchParams: import("vue").Ref<{
|
|
71
|
-
startY: number;
|
|
72
|
-
endY: number;
|
|
73
|
-
startTime: number;
|
|
74
|
-
endTime: number;
|
|
75
|
-
lastY: number;
|
|
76
|
-
lastTime: number;
|
|
77
|
-
}>;
|
|
78
|
-
currIndex: import("vue").Ref<number>;
|
|
79
|
-
transformY: import("vue").Ref<number>;
|
|
80
|
-
scrollDistance: import("vue").Ref<number>;
|
|
81
|
-
rotation: import("vue").Ref<number>;
|
|
82
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "change")[], "click" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
83
|
-
value: (NumberConstructor | StringConstructor)[];
|
|
84
|
-
columnsType: StringConstructor;
|
|
85
|
-
column: {
|
|
86
|
-
type: import("vue").PropType<import("./types").PickerOption[]>;
|
|
87
|
-
default: () => never[];
|
|
88
|
-
};
|
|
89
|
-
threeDimensional: {
|
|
90
|
-
type: BooleanConstructor;
|
|
91
|
-
default: boolean;
|
|
92
|
-
};
|
|
93
|
-
swipeDuration: {
|
|
94
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
95
|
-
default: number;
|
|
96
|
-
};
|
|
97
|
-
visibleOptionNum: {
|
|
98
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
99
|
-
default: number;
|
|
100
|
-
};
|
|
101
|
-
optionHeight: {
|
|
102
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
103
|
-
default: number;
|
|
104
|
-
};
|
|
105
|
-
fieldNames: {
|
|
106
|
-
type: import("vue").PropType<Required<import("./types").PickerFieldNames>>;
|
|
107
|
-
default: () => {};
|
|
108
|
-
};
|
|
109
|
-
taro: {
|
|
110
|
-
type: BooleanConstructor;
|
|
111
|
-
defualt: boolean;
|
|
112
|
-
};
|
|
113
|
-
}>> & {
|
|
114
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
115
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
116
|
-
}, {
|
|
117
|
-
column: import("./types").PickerOption[];
|
|
118
|
-
threeDimensional: boolean;
|
|
119
|
-
swipeDuration: string | number;
|
|
120
|
-
visibleOptionNum: string | number;
|
|
121
|
-
optionHeight: string | number;
|
|
122
|
-
fieldNames: Required<import("./types").PickerFieldNames>;
|
|
123
|
-
taro: boolean;
|
|
124
|
-
}, {}>;
|
|
125
|
-
};
|
|
126
|
-
props: {
|
|
127
|
-
modelValue: {
|
|
128
|
-
type: import("vue").PropType<(string | number)[]>;
|
|
129
|
-
default: () => never[];
|
|
130
|
-
};
|
|
131
|
-
title: {
|
|
132
|
-
type: StringConstructor;
|
|
133
|
-
default: string;
|
|
134
|
-
};
|
|
135
|
-
cancelText: {
|
|
136
|
-
type: StringConstructor;
|
|
137
|
-
default: string;
|
|
138
|
-
};
|
|
139
|
-
okText: {
|
|
140
|
-
type: StringConstructor;
|
|
141
|
-
default: string;
|
|
142
|
-
};
|
|
143
|
-
columns: {
|
|
144
|
-
type: import("vue").PropType<(import("./types").PickerOption | import("./types").PickerOption[])[]>;
|
|
145
|
-
default: () => never[];
|
|
146
|
-
};
|
|
147
|
-
threeDimensional: {
|
|
148
|
-
type: BooleanConstructor;
|
|
149
|
-
default: boolean;
|
|
150
|
-
};
|
|
151
|
-
swipeDuration: {
|
|
152
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
153
|
-
default: number;
|
|
154
|
-
};
|
|
155
|
-
showToolbar: {
|
|
156
|
-
type: BooleanConstructor;
|
|
157
|
-
default: boolean;
|
|
158
|
-
};
|
|
159
|
-
visibleOptionNum: {
|
|
160
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
161
|
-
default: number;
|
|
162
|
-
};
|
|
163
|
-
optionHeight: {
|
|
164
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
165
|
-
default: number;
|
|
166
|
-
};
|
|
167
|
-
fieldNames: {
|
|
168
|
-
type: import("vue").PropType<import("./types").PickerFieldNames>;
|
|
169
|
-
default: () => {};
|
|
170
|
-
};
|
|
171
|
-
};
|
|
172
|
-
emits: string[];
|
|
173
|
-
setup(props: any, { emit }: any): {
|
|
174
|
-
columnsType: import("vue").ComputedRef<"multiple" | "single" | "cascade">;
|
|
175
|
-
columnsList: import("vue").ComputedRef<import("./types").PickerOption[][]>;
|
|
176
|
-
columnFieldNames: import("vue").ComputedRef<{
|
|
177
|
-
text: string;
|
|
178
|
-
value: string;
|
|
179
|
-
children: string;
|
|
180
|
-
}>;
|
|
181
|
-
cancel: () => void;
|
|
182
|
-
changeHandler: (columnIndex: number, option: import("./types").PickerOption) => void;
|
|
183
|
-
confirmHandler: () => void;
|
|
184
|
-
defaultValues: import("vue").Ref<(string | number)[]>;
|
|
185
|
-
pickerColumn: import("vue").Ref<any[]>;
|
|
186
|
-
swipeRef: (el: any) => void;
|
|
187
|
-
translate: (keyPath: string, ...args: unknown[]) => any;
|
|
188
|
-
columnStyle: import("vue").ComputedRef<CSSProperties>;
|
|
189
|
-
ENV: import("vue").Ref<TaroGeneral.ENV_TYPE>;
|
|
190
|
-
ENV_TYPE: import("vue").Ref<{
|
|
191
|
-
WEAPP: TaroGeneral.ENV_TYPE.WEAPP;
|
|
192
|
-
WEB: TaroGeneral.ENV_TYPE.WEB;
|
|
193
|
-
RN: TaroGeneral.ENV_TYPE.RN;
|
|
194
|
-
SWAN: TaroGeneral.ENV_TYPE.SWAN;
|
|
195
|
-
ALIPAY: TaroGeneral.ENV_TYPE.ALIPAY;
|
|
196
|
-
TT: TaroGeneral.ENV_TYPE.TT;
|
|
197
|
-
QQ: TaroGeneral.ENV_TYPE.QQ;
|
|
198
|
-
JD: TaroGeneral.ENV_TYPE.JD;
|
|
199
|
-
}>;
|
|
200
|
-
};
|
|
201
|
-
};
|
|
202
|
-
export declare const componentWeapp: {
|
|
203
|
-
components: {
|
|
204
|
-
NutPickerColumn: import("vue").DefineComponent<{
|
|
205
|
-
value: (NumberConstructor | StringConstructor)[];
|
|
206
|
-
columnsType: StringConstructor;
|
|
207
|
-
column: {
|
|
208
|
-
type: import("vue").PropType<import("./types").PickerOption[]>;
|
|
209
|
-
default: () => never[];
|
|
210
|
-
};
|
|
211
|
-
threeDimensional: {
|
|
212
|
-
type: BooleanConstructor;
|
|
213
|
-
default: boolean;
|
|
214
|
-
};
|
|
215
|
-
swipeDuration: {
|
|
216
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
217
|
-
default: number;
|
|
218
|
-
};
|
|
219
|
-
visibleOptionNum: {
|
|
220
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
221
|
-
default: number;
|
|
222
|
-
};
|
|
223
|
-
optionHeight: {
|
|
224
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
225
|
-
default: number;
|
|
226
|
-
};
|
|
227
|
-
fieldNames: {
|
|
228
|
-
type: import("vue").PropType<Required<import("./types").PickerFieldNames>>;
|
|
229
|
-
default: () => {};
|
|
230
|
-
};
|
|
231
|
-
taro: {
|
|
232
|
-
type: BooleanConstructor;
|
|
233
|
-
defualt: boolean;
|
|
234
|
-
};
|
|
235
|
-
}, {
|
|
236
|
-
setRollerStyle: (index: number) => string;
|
|
237
|
-
isHidden: (index: number) => boolean;
|
|
238
|
-
roller: import("vue").Ref<null>;
|
|
239
|
-
onTouchStart: (event: TouchEvent) => void;
|
|
240
|
-
onTouchMove: (event: TouchEvent) => void;
|
|
241
|
-
onTouchEnd: () => void;
|
|
242
|
-
touchRollerStyle: import("vue").ComputedRef<{
|
|
243
|
-
transition: string;
|
|
244
|
-
transform: string;
|
|
245
|
-
top: string;
|
|
246
|
-
}>;
|
|
247
|
-
touchTileStyle: import("vue").ComputedRef<{
|
|
248
|
-
transition: string;
|
|
249
|
-
transform: string;
|
|
250
|
-
top: string;
|
|
251
|
-
height: string;
|
|
252
|
-
}>;
|
|
253
|
-
setMove: (move: number, type?: string | undefined, time?: number | undefined) => void;
|
|
254
|
-
stopMomentum: () => void;
|
|
255
|
-
pxCheck: (value?: string | number | undefined) => string | undefined;
|
|
256
|
-
maskStyles: import("vue").ComputedRef<{
|
|
257
|
-
backgroundSize: string;
|
|
258
|
-
}>;
|
|
259
|
-
column: import("vue").Ref<import("./types").PickerOption[]>;
|
|
260
|
-
threeDimensional: import("vue").Ref<boolean>;
|
|
261
|
-
swipeDuration: import("vue").Ref<string | number>;
|
|
262
|
-
visibleOptionNum: import("vue").Ref<string | number>;
|
|
263
|
-
optionHeight: import("vue").Ref<string | number>;
|
|
264
|
-
fieldNames: import("vue").Ref<Required<import("./types").PickerFieldNames>>;
|
|
265
|
-
taro: import("vue").Ref<boolean>;
|
|
266
|
-
value: import("vue").Ref<string | number | undefined>;
|
|
267
|
-
columnsType: import("vue").Ref<string | undefined>;
|
|
268
|
-
onClick: import("vue").Ref<((...args: any[]) => any) | undefined>;
|
|
269
|
-
onChange: import("vue").Ref<((...args: any[]) => any) | undefined>;
|
|
270
|
-
touchParams: import("vue").Ref<{
|
|
271
|
-
startY: number;
|
|
272
|
-
endY: number;
|
|
273
|
-
startTime: number;
|
|
274
|
-
endTime: number;
|
|
275
|
-
lastY: number;
|
|
276
|
-
lastTime: number;
|
|
277
|
-
}>;
|
|
278
|
-
currIndex: import("vue").Ref<number>;
|
|
279
|
-
transformY: import("vue").Ref<number>;
|
|
280
|
-
scrollDistance: import("vue").Ref<number>;
|
|
281
|
-
rotation: import("vue").Ref<number>;
|
|
282
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "change")[], "click" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
283
|
-
value: (NumberConstructor | StringConstructor)[];
|
|
284
|
-
columnsType: StringConstructor;
|
|
285
|
-
column: {
|
|
286
|
-
type: import("vue").PropType<import("./types").PickerOption[]>;
|
|
287
|
-
default: () => never[];
|
|
288
|
-
};
|
|
289
|
-
threeDimensional: {
|
|
290
|
-
type: BooleanConstructor;
|
|
291
|
-
default: boolean;
|
|
292
|
-
};
|
|
293
|
-
swipeDuration: {
|
|
294
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
295
|
-
default: number;
|
|
296
|
-
};
|
|
297
|
-
visibleOptionNum: {
|
|
298
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
299
|
-
default: number;
|
|
300
|
-
};
|
|
301
|
-
optionHeight: {
|
|
302
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
303
|
-
default: number;
|
|
304
|
-
};
|
|
305
|
-
fieldNames: {
|
|
306
|
-
type: import("vue").PropType<Required<import("./types").PickerFieldNames>>;
|
|
307
|
-
default: () => {};
|
|
308
|
-
};
|
|
309
|
-
taro: {
|
|
310
|
-
type: BooleanConstructor;
|
|
311
|
-
defualt: boolean;
|
|
312
|
-
};
|
|
313
|
-
}>> & {
|
|
314
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
315
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
316
|
-
}, {
|
|
317
|
-
column: import("./types").PickerOption[];
|
|
318
|
-
threeDimensional: boolean;
|
|
319
|
-
swipeDuration: string | number;
|
|
320
|
-
visibleOptionNum: string | number;
|
|
321
|
-
optionHeight: string | number;
|
|
322
|
-
fieldNames: Required<import("./types").PickerFieldNames>;
|
|
323
|
-
taro: boolean;
|
|
324
|
-
}, {}>;
|
|
325
|
-
};
|
|
326
|
-
props: {
|
|
327
|
-
modelValue: {
|
|
328
|
-
type: import("vue").PropType<(string | number)[]>;
|
|
329
|
-
default: () => never[];
|
|
330
|
-
};
|
|
331
|
-
title: {
|
|
332
|
-
type: StringConstructor;
|
|
333
|
-
default: string;
|
|
334
|
-
};
|
|
335
|
-
cancelText: {
|
|
336
|
-
type: StringConstructor;
|
|
337
|
-
default: string;
|
|
338
|
-
};
|
|
339
|
-
okText: {
|
|
340
|
-
type: StringConstructor;
|
|
341
|
-
default: string;
|
|
342
|
-
};
|
|
343
|
-
columns: {
|
|
344
|
-
type: import("vue").PropType<(import("./types").PickerOption | import("./types").PickerOption[])[]>;
|
|
345
|
-
default: () => never[];
|
|
346
|
-
};
|
|
347
|
-
threeDimensional: {
|
|
348
|
-
type: BooleanConstructor;
|
|
349
|
-
default: boolean;
|
|
350
|
-
};
|
|
351
|
-
swipeDuration: {
|
|
352
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
353
|
-
default: number;
|
|
354
|
-
};
|
|
355
|
-
showToolbar: {
|
|
356
|
-
type: BooleanConstructor;
|
|
357
|
-
default: boolean;
|
|
358
|
-
};
|
|
359
|
-
visibleOptionNum: {
|
|
360
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
361
|
-
default: number;
|
|
362
|
-
};
|
|
363
|
-
optionHeight: {
|
|
364
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
365
|
-
default: number;
|
|
366
|
-
};
|
|
367
|
-
fieldNames: {
|
|
368
|
-
type: import("vue").PropType<import("./types").PickerFieldNames>;
|
|
369
|
-
default: () => {};
|
|
370
|
-
};
|
|
371
|
-
};
|
|
372
|
-
emits: string[];
|
|
373
|
-
setup(props: any, { emit }: any): {
|
|
374
|
-
columnsType: import("vue").ComputedRef<"multiple" | "single" | "cascade">;
|
|
375
|
-
columnsList: import("vue").ComputedRef<import("./types").PickerOption[][]>;
|
|
376
|
-
columnFieldNames: import("vue").ComputedRef<{
|
|
377
|
-
text: string;
|
|
378
|
-
value: string;
|
|
379
|
-
children: string;
|
|
380
|
-
}>;
|
|
381
|
-
cancel: () => void;
|
|
382
|
-
changeHandler: (columnIndex: number, option: import("./types").PickerOption) => void;
|
|
383
|
-
confirmHandler: () => void;
|
|
384
|
-
defaultValues: import("vue").Ref<(string | number)[]>;
|
|
385
|
-
defaultIndexes: import("vue").ComputedRef<number[]>;
|
|
386
|
-
tileChange: (data: any) => void;
|
|
387
|
-
handlePickstart: () => void;
|
|
388
|
-
translate: (keyPath: string, ...args: unknown[]) => any;
|
|
389
|
-
handlePickend: () => void;
|
|
390
|
-
pickerViewStyles: import("vue").ComputedRef<CSSProperties>;
|
|
391
|
-
pxCheck: (value?: string | number | undefined) => string | undefined;
|
|
392
|
-
show: import("vue").Ref<boolean>;
|
|
393
|
-
picking: import("vue").Ref<boolean>;
|
|
394
|
-
ENV: import("vue").Ref<TaroGeneral.ENV_TYPE>;
|
|
395
|
-
ENV_TYPE: import("vue").Ref<{
|
|
396
|
-
WEAPP: TaroGeneral.ENV_TYPE.WEAPP;
|
|
397
|
-
WEB: TaroGeneral.ENV_TYPE.WEB;
|
|
398
|
-
RN: TaroGeneral.ENV_TYPE.RN;
|
|
399
|
-
SWAN: TaroGeneral.ENV_TYPE.SWAN;
|
|
400
|
-
ALIPAY: TaroGeneral.ENV_TYPE.ALIPAY;
|
|
401
|
-
TT: TaroGeneral.ENV_TYPE.TT;
|
|
402
|
-
QQ: TaroGeneral.ENV_TYPE.QQ;
|
|
403
|
-
JD: TaroGeneral.ENV_TYPE.JD;
|
|
404
|
-
}>;
|
|
405
|
-
};
|
|
406
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|