@nutui/nutui 3.1.21-beta.2 → 3.1.22-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 +57 -0
- package/dist/nutui.es.js +1470 -404
- package/dist/nutui.umd.js +1465 -399
- package/dist/packages/_es/ActionSheet.js +1 -1
- package/dist/packages/_es/Address.js +1 -1
- package/dist/packages/_es/AddressList.js +4 -2
- package/dist/packages/_es/Audio.js +29 -39
- package/dist/packages/_es/AudioOperate.js +1 -1
- package/dist/packages/_es/Avatar.js +1 -1
- package/dist/packages/_es/AvatarGroup.js +1 -1
- package/dist/packages/_es/BackTop.js +1 -1
- package/dist/packages/_es/Badge.js +1 -1
- package/dist/packages/_es/Barrage.js +9 -2
- package/dist/packages/_es/Button.js +1 -1
- package/dist/packages/_es/Calendar.js +1 -1
- package/dist/packages/_es/CalendarItem.js +1 -1
- package/dist/packages/_es/Card.js +1 -1
- package/dist/packages/_es/Cascader.js +1 -1
- package/dist/packages/_es/Category.js +1 -1
- package/dist/packages/_es/CategoryPane.js +1 -1
- package/dist/packages/_es/Cell.js +5 -3
- package/dist/packages/_es/CellGroup.js +1 -1
- package/dist/packages/_es/Checkbox.js +1 -1
- package/dist/packages/_es/CheckboxGroup.js +1 -1
- package/dist/packages/_es/CircleProgress.js +2 -2
- package/dist/packages/_es/Col.js +1 -1
- package/dist/packages/_es/Collapse.js +1 -1
- package/dist/packages/_es/CollapseItem.js +1 -1
- package/dist/packages/_es/Comment.js +1 -1
- package/dist/packages/_es/CountDown.js +1 -1
- package/dist/packages/_es/CountUp.js +1 -3
- package/dist/packages/_es/DatePicker.js +8 -8
- package/dist/packages/_es/Dialog.js +8 -6
- package/dist/packages/_es/Divider.js +47 -10
- package/dist/packages/_es/Drag.js +1 -1
- package/dist/packages/_es/Ecard.js +1 -1
- package/dist/packages/_es/Elevator.js +13 -9
- package/dist/packages/_es/Empty.js +1 -1
- package/dist/packages/_es/FixedNav.js +1 -1
- package/dist/packages/_es/Form.js +8 -3
- package/dist/packages/_es/FormItem.js +1 -1
- package/dist/packages/_es/Grid.js +1 -1
- package/dist/packages/_es/GridItem.js +1 -1
- package/dist/packages/_es/Icon.js +1 -1
- package/dist/packages/_es/ImagePreview.js +1 -1
- package/dist/packages/_es/Indicator.js +1 -1
- package/dist/packages/_es/InfiniteLoading.js +1 -1
- package/dist/packages/_es/Input.js +1 -1
- package/dist/packages/_es/InputNumber.js +1 -1
- package/dist/packages/_es/Layout.js +1 -1
- package/dist/packages/_es/List.js +3 -2
- package/dist/packages/_es/Menu.js +5 -1
- package/dist/packages/_es/MenuItem.js +4 -3
- package/dist/packages/_es/Navbar.js +119 -21
- package/dist/packages/_es/NoticeBar.js +1 -1
- package/dist/packages/_es/Notify.js +1 -1
- package/dist/packages/_es/NumberKeyboard.js +25 -8
- package/dist/packages/_es/OldPicker.js +1 -1
- package/dist/packages/_es/OverLay.js +1 -1
- package/dist/packages/_es/Pagination.js +1 -1
- package/dist/packages/_es/Picker.js +4 -2
- package/dist/packages/_es/Popover.js +890 -93
- package/dist/packages/_es/Popup.js +7 -4
- package/dist/packages/_es/Price.js +1 -1
- package/dist/packages/_es/Progress.js +3 -3
- package/dist/packages/_es/PullRefresh.js +1 -1
- package/dist/packages/_es/Radio.js +1 -1
- package/dist/packages/_es/RadioGroup.js +1 -1
- package/dist/packages/_es/Range.js +1 -1
- package/dist/packages/_es/Rate.js +1 -1
- package/dist/packages/_es/Row.js +3 -3
- package/dist/packages/_es/SearchBar.js +91 -25
- package/dist/packages/_es/ShortPassword.js +1 -1
- package/dist/packages/_es/SideNavBar.js +1 -1
- package/dist/packages/_es/SideNavBarItem.js +1 -1
- package/dist/packages/_es/Signature.js +1 -1
- package/dist/packages/_es/Skeleton.js +1 -1
- package/dist/packages/_es/Sku.js +2 -2
- package/dist/packages/_es/Step.js +1 -1
- package/dist/packages/_es/Steps.js +1 -1
- package/dist/packages/_es/Sticky.js +1 -1
- package/dist/packages/_es/SubSideNavBar.js +1 -1
- package/dist/packages/_es/Swipe.js +1 -1
- package/dist/packages/_es/Swiper.js +35 -16
- package/dist/packages/_es/SwiperItem.js +5 -2
- package/dist/packages/_es/Switch.js +1 -1
- package/dist/packages/_es/TabPane.js +7 -3
- package/dist/packages/_es/Tabbar.js +1 -1
- package/dist/packages/_es/TabbarItem.js +2 -1
- package/dist/packages/_es/Table.js +1 -1
- package/dist/packages/_es/Tabs.js +12 -7
- package/dist/packages/_es/Tag.js +1 -1
- package/dist/packages/_es/TextArea.js +1 -1
- package/dist/packages/_es/TimeDetail.js +1 -1
- package/dist/packages/_es/TimePannel.js +1 -1
- package/dist/packages/_es/TimeSelect.js +1 -1
- package/dist/packages/_es/Toast.js +1 -1
- package/dist/packages/_es/Uploader.js +6 -5
- package/dist/packages/_es/Video.js +1 -1
- package/dist/packages/_es/common.js +1 -1
- package/dist/packages/_es/component.js +2 -2
- package/dist/packages/_es/index.js +1 -1
- package/dist/packages/_es/index2.js +1 -1
- package/dist/packages/_es/index3.js +1 -1
- package/dist/packages/_es/index4.js +1 -1
- package/dist/packages/_es/index5.js +1 -1
- package/dist/packages/_es/plugin-vue_export-helper.js +1 -1
- package/dist/packages/_es/pxCheck.js +1 -1
- package/dist/packages/_es/raf.js +1 -1
- package/dist/packages/_es/style.css +1 -1
- package/dist/packages/addresslist/index.scss +2 -2
- package/dist/packages/card/index.scss +1 -1
- package/dist/packages/cell/index.scss +4 -0
- package/dist/packages/dialog/index.scss +0 -2
- package/dist/packages/divider/index.scss +9 -0
- package/dist/packages/formitem/index.scss +1 -0
- package/dist/packages/locale/index.d.ts +8 -3
- package/dist/packages/locale/{locale/lang → lang}/baseLang.d.ts +1 -1
- package/dist/packages/locale/lang/baseLang.js +1 -1
- package/dist/packages/locale/{locale/lang → lang}/en-US.d.ts +9 -1
- package/dist/packages/locale/lang/en-US.js +10 -2
- package/dist/packages/locale/lang/id-ID.d.ts +96 -0
- package/dist/packages/locale/lang/id-ID.js +104 -0
- package/dist/packages/locale/lang/index.js +2 -2
- package/dist/packages/locale/{locale/lang → lang}/zh-CN.d.ts +9 -1
- package/dist/packages/locale/lang/zh-CN.js +10 -2
- package/dist/packages/locale/{locale/lang → lang}/zh-TW.d.ts +9 -1
- package/dist/packages/locale/lang/zh-TW.js +10 -2
- package/dist/packages/menuitem/index.scss +0 -1
- package/dist/packages/navbar/index.scss +8 -1
- package/dist/packages/popover/index.scss +402 -81
- package/dist/packages/popup/index.scss +3 -0
- package/dist/packages/searchbar/index.scss +4 -0
- package/dist/packages/tabbar/index.scss +2 -2
- package/dist/packages/tabpane/index.scss +4 -2
- package/dist/packages/tabs/index.scss +3 -0
- package/dist/packages/timeselect/index.scss +3 -2
- package/dist/smartips/attributes.json +126 -34
- package/dist/smartips/tags.json +48 -23
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +53 -53
- package/dist/styles/themes/jdb.scss +97 -0
- package/dist/styles/themes/jdt.scss +53 -53
- package/dist/styles/variables-jdb.scss +852 -0
- package/dist/styles/variables-jdt.scss +15 -7
- package/dist/styles/variables.scss +15 -6
- package/dist/types/__VUE/actionsheet/{index.d.ts → index.vue.d.ts} +63 -115
- package/dist/types/__VUE/address/{index.d.ts → index.vue.d.ts} +80 -150
- package/dist/types/__VUE/addresslist/components/{GeneralShell.d.ts → GeneralShell.vue.d.ts} +6 -7
- package/dist/types/__VUE/addresslist/components/{ItemContents.d.ts → ItemContents.vue.d.ts} +8 -11
- package/dist/types/__VUE/addresslist/components/{LongPressShell.d.ts → LongPressShell.vue.d.ts} +6 -7
- package/dist/types/__VUE/addresslist/components/{SwipeShell.d.ts → SwipeShell.vue.d.ts} +6 -7
- package/dist/types/__VUE/addresslist/{index.d.ts → index.vue.d.ts} +15 -24
- package/dist/types/__VUE/audio/index.vue.d.ts +102 -0
- package/dist/types/__VUE/audiooperate/index.vue.d.ts +87 -0
- package/dist/types/__VUE/avatar/{index.d.ts → index.vue.d.ts} +19 -32
- package/dist/types/__VUE/avatargroup/{index.d.ts → index.vue.d.ts} +20 -35
- package/dist/types/__VUE/backtop/{index.d.ts → index.vue.d.ts} +19 -35
- package/dist/types/__VUE/badge/{index.d.ts → index.vue.d.ts} +20 -33
- package/dist/types/__VUE/barrage/{index.d.ts → index.vue.d.ts} +15 -26
- package/dist/types/__VUE/button/{index.d.ts → index.vue.d.ts} +34 -51
- package/dist/types/__VUE/button/type.d.ts +7 -0
- package/dist/types/__VUE/calendar/{index.d.ts → index.vue.d.ts} +32 -57
- package/dist/types/__VUE/calendaritem/{index.d.ts → index.vue.d.ts} +35 -60
- package/dist/types/__VUE/card/{index.d.ts → index.vue.d.ts} +19 -34
- package/dist/types/__VUE/cascader/{cascader-item.d.ts → cascader-item.vue.d.ts} +23 -24
- package/dist/types/__VUE/cascader/{index.d.ts → index.vue.d.ts} +63 -99
- package/dist/types/__VUE/category/{index.d.ts → index.vue.d.ts} +7 -10
- package/dist/types/__VUE/categorypane/{index.d.ts → index.vue.d.ts} +10 -15
- package/dist/types/__VUE/cell/{index.d.ts → index.vue.d.ts} +32 -40
- package/dist/types/__VUE/cellgroup/{index.d.ts → index.vue.d.ts} +8 -11
- package/dist/types/__VUE/checkbox/{index.d.ts → index.vue.d.ts} +21 -38
- package/dist/types/__VUE/checkboxgroup/{index.d.ts → index.vue.d.ts} +8 -11
- package/dist/types/__VUE/circleprogress/{index.d.ts → index.vue.d.ts} +18 -31
- package/dist/types/__VUE/col/{index.d.ts → index.vue.d.ts} +7 -10
- package/dist/types/__VUE/collapse/{index.d.ts → index.vue.d.ts} +24 -40
- package/dist/types/__VUE/collapseitem/{index.d.ts → index.vue.d.ts} +22 -30
- package/dist/types/__VUE/comment/components/{CmtBottom.d.ts → CmtBottom.vue.d.ts} +11 -16
- package/dist/types/__VUE/comment/components/{CmtHeader.d.ts → CmtHeader.vue.d.ts} +10 -15
- package/dist/types/__VUE/comment/components/{CmtImages.d.ts → CmtImages.vue.d.ts} +10 -15
- package/dist/types/__VUE/comment/{index.d.ts → index.vue.d.ts} +22 -39
- package/dist/types/__VUE/countdown/{index.d.ts → index.vue.d.ts} +22 -36
- package/dist/types/__VUE/countup/{index.d.ts → index.vue.d.ts} +41 -74
- package/dist/types/__VUE/datepicker/{index.d.ts → index.vue.d.ts} +72 -126
- package/dist/types/__VUE/datepicker/type.d.ts +6 -0
- package/dist/types/__VUE/dialog/index.d.ts +37 -302
- package/dist/types/__VUE/dialog/index.vue.d.ts +248 -0
- package/dist/types/__VUE/divider/{index.d.ts → index.vue.d.ts} +15 -15
- package/dist/types/__VUE/drag/{index.d.ts → index.vue.d.ts} +9 -19
- package/dist/types/__VUE/ecard/{index.d.ts → index.vue.d.ts} +25 -44
- package/dist/types/__VUE/elevator/{index.d.ts → index.vue.d.ts} +10 -14
- package/dist/types/__VUE/empty/{index.d.ts → index.vue.d.ts} +10 -15
- package/dist/types/__VUE/fixednav/{index.d.ts → index.vue.d.ts} +20 -36
- package/dist/types/__VUE/form/{index.d.ts → index.vue.d.ts} +5 -6
- package/dist/types/__VUE/formitem/{index.d.ts → index.vue.d.ts} +26 -45
- package/dist/types/__VUE/grid/common.d.ts +3 -3
- package/dist/types/__VUE/grid/{index.d.ts → index.vue.d.ts} +24 -40
- package/dist/types/__VUE/griditem/{index.d.ts → index.vue.d.ts} +19 -26
- package/dist/types/__VUE/icon/{index.d.ts → index.vue.d.ts} +15 -26
- package/dist/types/__VUE/imagepreview/index.d.ts +20 -121
- package/dist/types/__VUE/imagepreview/index.vue.d.ts +108 -0
- package/dist/types/__VUE/indicator/{index.d.ts → index.vue.d.ts} +13 -24
- package/dist/types/__VUE/infiniteloading/{index.d.ts → index.vue.d.ts} +27 -48
- package/dist/types/__VUE/input/{index.d.ts → index.vue.d.ts} +83 -146
- package/dist/types/__VUE/input/type.d.ts +13 -0
- package/dist/types/__VUE/inputnumber/{index.d.ts → index.vue.d.ts} +22 -39
- package/dist/types/__VUE/layout/{index.d.ts → index.vue.d.ts} +1 -1
- package/dist/types/__VUE/list/{index.d.ts → index.vue.d.ts} +10 -14
- package/dist/types/__VUE/menu/{index.d.ts → index.vue.d.ts} +16 -14
- package/dist/types/__VUE/menuitem/{index.d.ts → index.vue.d.ts} +20 -24
- package/dist/types/__VUE/menuitem/type.d.ts +8 -0
- package/dist/types/__VUE/navbar/{index.d.ts → index.vue.d.ts} +48 -26
- package/dist/types/__VUE/noticebar/{index.d.ts → index.vue.d.ts} +34 -63
- package/dist/types/__VUE/notify/index.d.ts +12 -109
- package/dist/types/__VUE/notify/index.vue.d.ts +101 -0
- package/dist/types/__VUE/numberkeyboard/{index.d.ts → index.vue.d.ts} +43 -45
- package/dist/types/__VUE/oldpicker/{Column.d.ts → Column.vue.d.ts} +17 -22
- package/dist/types/__VUE/oldpicker/{index.d.ts → index.vue.d.ts} +75 -128
- package/dist/types/__VUE/overlay/{index.d.ts → index.vue.d.ts} +19 -30
- package/dist/types/__VUE/pagination/{index.d.ts → index.vue.d.ts} +22 -39
- package/dist/types/__VUE/picker/{Column.d.ts → Column.vue.d.ts} +16 -18
- package/dist/types/__VUE/picker/{index.d.ts → index.vue.d.ts} +80 -130
- package/dist/types/__VUE/popover/{index.d.ts → index.vue.d.ts} +86 -110
- package/dist/types/__VUE/popover/type.d.ts +6 -0
- package/dist/types/__VUE/popup/{index.d.ts → index.vue.d.ts} +47 -82
- package/dist/types/__VUE/price/{index.d.ts → index.vue.d.ts} +17 -30
- package/dist/types/__VUE/progress/{index.d.ts → index.vue.d.ts} +29 -53
- package/dist/types/__VUE/pullrefresh/{index.d.ts → index.vue.d.ts} +18 -46
- package/dist/types/__VUE/radio/{index.d.ts → index.vue.d.ts} +19 -34
- package/dist/types/__VUE/radiogroup/{index.d.ts → index.vue.d.ts} +10 -15
- package/dist/types/__VUE/range/{index.d.ts → index.vue.d.ts} +34 -46
- package/dist/types/__VUE/range/type.d.ts +5 -0
- package/dist/types/__VUE/rate/{index.d.ts → index.vue.d.ts} +29 -54
- package/dist/types/__VUE/row/{index.d.ts → index.vue.d.ts} +15 -24
- package/dist/types/__VUE/searchbar/{index.d.ts → index.vue.d.ts} +63 -33
- package/dist/types/__VUE/shortpassword/{index.d.ts → index.vue.d.ts} +25 -44
- package/dist/types/__VUE/sidenavbar/{index.d.ts → index.vue.d.ts} +6 -7
- package/dist/types/__VUE/sidenavbaritem/{index.d.ts → index.vue.d.ts} +8 -11
- package/dist/types/__VUE/signature/{index.d.ts → index.vue.d.ts} +14 -23
- package/dist/types/__VUE/skeleton/common.d.ts +3 -5
- package/dist/types/__VUE/skeleton/{index.d.ts → index.vue.d.ts} +24 -43
- package/dist/types/__VUE/sku/components/{SkuHeader.d.ts → SkuHeader.vue.d.ts} +7 -8
- package/dist/types/__VUE/sku/components/{SkuOperate.d.ts → SkuOperate.vue.d.ts} +14 -23
- package/dist/types/__VUE/sku/components/{SkuSelect.d.ts → SkuSelect.vue.d.ts} +6 -7
- package/dist/types/__VUE/sku/components/{SkuStepper.d.ts → SkuStepper.vue.d.ts} +12 -19
- package/dist/types/__VUE/sku/{index.d.ts → index.vue.d.ts} +68 -126
- package/dist/types/__VUE/step/{index.d.ts → index.vue.d.ts} +15 -24
- package/dist/types/__VUE/steps/{index.d.ts → index.vue.d.ts} +9 -14
- package/dist/types/__VUE/sticky/{index.d.ts → index.vue.d.ts} +14 -21
- package/dist/types/__VUE/subsidenavbar/{index.d.ts → index.vue.d.ts} +10 -15
- package/dist/types/__VUE/swipe/{index.d.ts → index.vue.d.ts} +12 -19
- package/dist/types/__VUE/swiper/{index.d.ts → index.vue.d.ts} +30 -50
- package/dist/types/__VUE/swiperitem/{index.d.ts → index.vue.d.ts} +2 -2
- package/dist/types/__VUE/switch/{index.d.ts → index.vue.d.ts} +27 -50
- package/dist/types/__VUE/tabbar/{index.d.ts → index.vue.d.ts} +17 -30
- package/dist/types/__VUE/tabbaritem/{index.d.ts → index.vue.d.ts} +25 -40
- package/dist/types/__VUE/table/common.d.ts +1 -1
- package/dist/types/__VUE/table/{index.d.ts → index.vue.d.ts} +14 -23
- package/dist/types/__VUE/tabpane/{index.d.ts → index.vue.d.ts} +11 -15
- package/dist/types/__VUE/tabs/common.d.ts +6 -2
- package/dist/types/__VUE/tabs/{index.d.ts → index.vue.d.ts} +30 -42
- package/dist/types/__VUE/tag/{index.d.ts → index.vue.d.ts} +21 -34
- package/dist/types/__VUE/tag/type.d.ts +5 -0
- package/dist/types/__VUE/textarea/{index.d.ts → index.vue.d.ts} +27 -46
- package/dist/types/__VUE/timedetail/{index.d.ts → index.vue.d.ts} +8 -11
- package/dist/types/__VUE/timepannel/{index.d.ts → index.vue.d.ts} +8 -11
- package/dist/types/__VUE/timeselect/{index.d.ts → index.vue.d.ts} +18 -29
- package/dist/types/__VUE/toast/index.d.ts +12 -145
- package/dist/types/__VUE/toast/index.vue.d.ts +134 -0
- package/dist/types/__VUE/uploader/{index.d.ts → index.vue.d.ts} +59 -106
- package/dist/types/__VUE/uploader/type.d.ts +18 -0
- package/dist/types/__VUE/video/{index.d.ts → index.vue.d.ts} +11 -28
- package/dist/types/index.d.ts +7 -2
- package/dist/types/nutui.d.ts +92 -92
- package/package.json +6 -3
- package/dist/packages/locale/locale/index.d.ts +0 -8
- package/dist/types/__VUE/audio/index.d.ts +0 -92
- package/dist/types/__VUE/audiooperate/index.d.ts +0 -68
|
@@ -37,7 +37,7 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
37
37
|
touchSlidEnd: (e: any) => void;
|
|
38
38
|
retry: () => void;
|
|
39
39
|
fullScreen: () => void;
|
|
40
|
-
translate: (keyPath: string, ...args: unknown[]) =>
|
|
40
|
+
translate: (keyPath: string, ...args: unknown[]) => string;
|
|
41
41
|
videoElm: import("vue").Ref<null>;
|
|
42
42
|
initial: import("vue").Ref<boolean>;
|
|
43
43
|
showToolbox: import("vue").Ref<boolean>;
|
|
@@ -70,40 +70,23 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
70
70
|
isMuted: boolean;
|
|
71
71
|
}>;
|
|
72
72
|
showTouchMask: import("vue").Ref<boolean>;
|
|
73
|
-
source: import("vue").Ref<Record<string, any>>;
|
|
74
73
|
onClick: import("vue").Ref<((...args: any[]) => any) | undefined>;
|
|
74
|
+
source: import("vue").Ref<Record<string, any>>;
|
|
75
75
|
options: import("vue").Ref<Record<string, any>>;
|
|
76
76
|
onPlay: import("vue").Ref<((...args: any[]) => any) | undefined>;
|
|
77
77
|
onPause: import("vue").Ref<((...args: any[]) => any) | undefined>;
|
|
78
78
|
onPlayend: import("vue").Ref<((...args: any[]) => any) | undefined>;
|
|
79
79
|
model: import("vue").Ref<string>;
|
|
80
80
|
root: import("vue").Ref<null>;
|
|
81
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "pause" | "play" | "playend")[], "click" | "pause" | "play" | "playend", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<
|
|
82
|
-
source
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
volume: number;
|
|
91
|
-
poster: string;
|
|
92
|
-
loop: boolean;
|
|
93
|
-
controls: boolean;
|
|
94
|
-
muted: boolean;
|
|
95
|
-
disabled: boolean;
|
|
96
|
-
playsinline: boolean;
|
|
97
|
-
touchPlay: boolean;
|
|
98
|
-
preload: string;
|
|
99
|
-
};
|
|
100
|
-
required: true;
|
|
101
|
-
};
|
|
102
|
-
model: {
|
|
103
|
-
type: StringConstructor;
|
|
104
|
-
default: string;
|
|
105
|
-
};
|
|
106
|
-
}>> & {
|
|
81
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "pause" | "play" | "playend")[], "click" | "pause" | "play" | "playend", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
82
|
+
source?: unknown;
|
|
83
|
+
options?: unknown;
|
|
84
|
+
model?: unknown;
|
|
85
|
+
} & {
|
|
86
|
+
source: Record<string, any>;
|
|
87
|
+
options: Record<string, any>;
|
|
88
|
+
model: string;
|
|
89
|
+
} & {}> & {
|
|
107
90
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
108
91
|
onPlay?: ((...args: any[]) => any) | undefined;
|
|
109
92
|
onPause?: ((...args: any[]) => any) | undefined;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
export { install };
|
|
3
|
+
export { version };
|
|
4
|
+
}
|
|
5
|
+
export function install(app: any): void;
|
|
6
|
+
export const version: '3.1.22-beta.0';
|
|
7
|
+
export default _default;
|
|
3
8
|
export * from './nutui';
|
package/dist/types/nutui.d.ts
CHANGED
|
@@ -1,99 +1,99 @@
|
|
|
1
1
|
import Locale from '../packages/locale';
|
|
2
|
-
import Button from './__VUE/button';
|
|
3
|
-
import Cell from './__VUE/cell';
|
|
4
|
-
import CellGroup from './__VUE/cellgroup';
|
|
5
|
-
import Icon from './__VUE/icon';
|
|
6
|
-
import OverLay from './__VUE/overlay';
|
|
7
|
-
import Popup from './__VUE/popup';
|
|
8
|
-
import Layout from './__VUE/layout';
|
|
9
|
-
import Col from './__VUE/col';
|
|
10
|
-
import Row from './__VUE/row';
|
|
11
|
-
import Sticky from './__VUE/sticky';
|
|
12
|
-
import Divider from './__VUE/divider';
|
|
13
|
-
import Grid from './__VUE/grid';
|
|
14
|
-
import GridItem from './__VUE/griditem';
|
|
15
|
-
import Navbar from './__VUE/navbar';
|
|
16
|
-
import FixedNav from './__VUE/fixednav';
|
|
17
|
-
import Menu from './__VUE/menu';
|
|
18
|
-
import MenuItem from './__VUE/menuitem';
|
|
19
|
-
import Tabbar from './__VUE/tabbar';
|
|
20
|
-
import TabbarItem from './__VUE/tabbaritem';
|
|
21
|
-
import Elevator from './__VUE/elevator';
|
|
22
|
-
import Pagination from './__VUE/pagination';
|
|
23
|
-
import Tabs from './__VUE/tabs';
|
|
24
|
-
import TabPane from './__VUE/tabpane';
|
|
25
|
-
import Indicator from './__VUE/indicator';
|
|
26
|
-
import SideNavBar from './__VUE/sidenavbar';
|
|
27
|
-
import SideNavBarItem from './__VUE/sidenavbaritem';
|
|
28
|
-
import SubSideNavBar from './__VUE/subsidenavbar';
|
|
29
|
-
import Range from './__VUE/range';
|
|
30
|
-
import SearchBar from './__VUE/searchbar';
|
|
31
|
-
import Cascader from './__VUE/cascader';
|
|
32
|
-
import Calendar from './__VUE/calendar';
|
|
33
|
-
import Checkbox from './__VUE/checkbox';
|
|
34
|
-
import CheckboxGroup from './__VUE/checkboxgroup';
|
|
35
|
-
import DatePicker from './__VUE/datepicker';
|
|
36
|
-
import InputNumber from './__VUE/inputnumber';
|
|
37
|
-
import Input from './__VUE/input';
|
|
38
|
-
import Radio from './__VUE/radio';
|
|
39
|
-
import RadioGroup from './__VUE/radiogroup';
|
|
40
|
-
import Rate from './__VUE/rate';
|
|
41
|
-
import CalendarItem from './__VUE/calendaritem';
|
|
42
|
-
import Picker from './__VUE/picker';
|
|
43
|
-
import ShortPassword from './__VUE/shortpassword';
|
|
44
|
-
import TextArea from './__VUE/textarea';
|
|
45
|
-
import Uploader from './__VUE/uploader';
|
|
46
|
-
import NumberKeyboard from './__VUE/numberkeyboard';
|
|
47
|
-
import Form from './__VUE/form';
|
|
48
|
-
import FormItem from './__VUE/formitem';
|
|
49
|
-
import OldPicker from './__VUE/oldpicker';
|
|
50
|
-
import Swipe from './__VUE/swipe';
|
|
51
|
-
import ActionSheet from './__VUE/actionsheet';
|
|
52
|
-
import BackTop from './__VUE/backtop';
|
|
53
|
-
import Drag from './__VUE/drag';
|
|
2
|
+
import Button from './__VUE/button/index.vue';
|
|
3
|
+
import Cell from './__VUE/cell/index.vue';
|
|
4
|
+
import CellGroup from './__VUE/cellgroup/index.vue';
|
|
5
|
+
import Icon from './__VUE/icon/index.vue';
|
|
6
|
+
import OverLay from './__VUE/overlay/index.vue';
|
|
7
|
+
import Popup from './__VUE/popup/index.vue';
|
|
8
|
+
import Layout from './__VUE/layout/index.vue';
|
|
9
|
+
import Col from './__VUE/col/index.vue';
|
|
10
|
+
import Row from './__VUE/row/index.vue';
|
|
11
|
+
import Sticky from './__VUE/sticky/index.vue';
|
|
12
|
+
import Divider from './__VUE/divider/index.vue';
|
|
13
|
+
import Grid from './__VUE/grid/index.vue';
|
|
14
|
+
import GridItem from './__VUE/griditem/index.vue';
|
|
15
|
+
import Navbar from './__VUE/navbar/index.vue';
|
|
16
|
+
import FixedNav from './__VUE/fixednav/index.vue';
|
|
17
|
+
import Menu from './__VUE/menu/index.vue';
|
|
18
|
+
import MenuItem from './__VUE/menuitem/index.vue';
|
|
19
|
+
import Tabbar from './__VUE/tabbar/index.vue';
|
|
20
|
+
import TabbarItem from './__VUE/tabbaritem/index.vue';
|
|
21
|
+
import Elevator from './__VUE/elevator/index.vue';
|
|
22
|
+
import Pagination from './__VUE/pagination/index.vue';
|
|
23
|
+
import Tabs from './__VUE/tabs/index.vue';
|
|
24
|
+
import TabPane from './__VUE/tabpane/index.vue';
|
|
25
|
+
import Indicator from './__VUE/indicator/index.vue';
|
|
26
|
+
import SideNavBar from './__VUE/sidenavbar/index.vue';
|
|
27
|
+
import SideNavBarItem from './__VUE/sidenavbaritem/index.vue';
|
|
28
|
+
import SubSideNavBar from './__VUE/subsidenavbar/index.vue';
|
|
29
|
+
import Range from './__VUE/range/index.vue';
|
|
30
|
+
import SearchBar from './__VUE/searchbar/index.vue';
|
|
31
|
+
import Cascader from './__VUE/cascader/index.vue';
|
|
32
|
+
import Calendar from './__VUE/calendar/index.vue';
|
|
33
|
+
import Checkbox from './__VUE/checkbox/index.vue';
|
|
34
|
+
import CheckboxGroup from './__VUE/checkboxgroup/index.vue';
|
|
35
|
+
import DatePicker from './__VUE/datepicker/index.vue';
|
|
36
|
+
import InputNumber from './__VUE/inputnumber/index.vue';
|
|
37
|
+
import Input from './__VUE/input/index.vue';
|
|
38
|
+
import Radio from './__VUE/radio/index.vue';
|
|
39
|
+
import RadioGroup from './__VUE/radiogroup/index.vue';
|
|
40
|
+
import Rate from './__VUE/rate/index.vue';
|
|
41
|
+
import CalendarItem from './__VUE/calendaritem/index.vue';
|
|
42
|
+
import Picker from './__VUE/picker/index.vue';
|
|
43
|
+
import ShortPassword from './__VUE/shortpassword/index.vue';
|
|
44
|
+
import TextArea from './__VUE/textarea/index.vue';
|
|
45
|
+
import Uploader from './__VUE/uploader/index.vue';
|
|
46
|
+
import NumberKeyboard from './__VUE/numberkeyboard/index.vue';
|
|
47
|
+
import Form from './__VUE/form/index.vue';
|
|
48
|
+
import FormItem from './__VUE/formitem/index.vue';
|
|
49
|
+
import OldPicker from './__VUE/oldpicker/index.vue';
|
|
50
|
+
import Swipe from './__VUE/swipe/index.vue';
|
|
51
|
+
import ActionSheet from './__VUE/actionsheet/index.vue';
|
|
52
|
+
import BackTop from './__VUE/backtop/index.vue';
|
|
53
|
+
import Drag from './__VUE/drag/index.vue';
|
|
54
54
|
import Dialog from './__VUE/dialog';
|
|
55
|
-
import InfiniteLoading from './__VUE/infiniteloading';
|
|
55
|
+
import InfiniteLoading from './__VUE/infiniteloading/index.vue';
|
|
56
56
|
import Notify from './__VUE/notify';
|
|
57
|
-
import PullRefresh from './__VUE/pullrefresh';
|
|
58
|
-
import Switch from './__VUE/switch';
|
|
57
|
+
import PullRefresh from './__VUE/pullrefresh/index.vue';
|
|
58
|
+
import Switch from './__VUE/switch/index.vue';
|
|
59
59
|
import Toast from './__VUE/toast';
|
|
60
|
-
import Audio from './__VUE/audio';
|
|
61
|
-
import AudioOperate from './__VUE/audiooperate';
|
|
62
|
-
import Avatar from './__VUE/avatar';
|
|
63
|
-
import AvatarGroup from './__VUE/avatargroup';
|
|
64
|
-
import List from './__VUE/list';
|
|
65
|
-
import Progress from './__VUE/progress';
|
|
66
|
-
import CircleProgress from './__VUE/circleprogress';
|
|
67
|
-
import NoticeBar from './__VUE/noticebar';
|
|
68
|
-
import Empty from './__VUE/empty';
|
|
69
|
-
import Video from './__VUE/video';
|
|
70
|
-
import Steps from './__VUE/steps';
|
|
71
|
-
import Step from './__VUE/step';
|
|
72
|
-
import Swiper from './__VUE/swiper';
|
|
73
|
-
import SwiperItem from './__VUE/swiperitem';
|
|
74
|
-
import Price from './__VUE/price';
|
|
60
|
+
import Audio from './__VUE/audio/index.vue';
|
|
61
|
+
import AudioOperate from './__VUE/audiooperate/index.vue';
|
|
62
|
+
import Avatar from './__VUE/avatar/index.vue';
|
|
63
|
+
import AvatarGroup from './__VUE/avatargroup/index.vue';
|
|
64
|
+
import List from './__VUE/list/index.vue';
|
|
65
|
+
import Progress from './__VUE/progress/index.vue';
|
|
66
|
+
import CircleProgress from './__VUE/circleprogress/index.vue';
|
|
67
|
+
import NoticeBar from './__VUE/noticebar/index.vue';
|
|
68
|
+
import Empty from './__VUE/empty/index.vue';
|
|
69
|
+
import Video from './__VUE/video/index.vue';
|
|
70
|
+
import Steps from './__VUE/steps/index.vue';
|
|
71
|
+
import Step from './__VUE/step/index.vue';
|
|
72
|
+
import Swiper from './__VUE/swiper/index.vue';
|
|
73
|
+
import SwiperItem from './__VUE/swiperitem/index.vue';
|
|
74
|
+
import Price from './__VUE/price/index.vue';
|
|
75
75
|
import ImagePreview from './__VUE/imagepreview';
|
|
76
|
-
import CountUp from './__VUE/countup';
|
|
77
|
-
import CountDown from './__VUE/countdown';
|
|
78
|
-
import Badge from './__VUE/badge';
|
|
79
|
-
import Tag from './__VUE/tag';
|
|
80
|
-
import Popover from './__VUE/popover';
|
|
81
|
-
import Skeleton from './__VUE/skeleton';
|
|
82
|
-
import Collapse from './__VUE/collapse';
|
|
83
|
-
import CollapseItem from './__VUE/collapseitem';
|
|
84
|
-
import Table from './__VUE/table';
|
|
85
|
-
import Address from './__VUE/address';
|
|
86
|
-
import Barrage from './__VUE/barrage';
|
|
87
|
-
import Signature from './__VUE/signature';
|
|
88
|
-
import TimeSelect from './__VUE/timeselect';
|
|
89
|
-
import TimePannel from './__VUE/timepannel';
|
|
90
|
-
import TimeDetail from './__VUE/timedetail';
|
|
91
|
-
import Sku from './__VUE/sku';
|
|
92
|
-
import Card from './__VUE/card';
|
|
93
|
-
import Ecard from './__VUE/ecard';
|
|
94
|
-
import AddressList from './__VUE/addresslist';
|
|
95
|
-
import Category from './__VUE/category';
|
|
96
|
-
import CategoryPane from './__VUE/categorypane';
|
|
97
|
-
import Comment from './__VUE/comment';
|
|
76
|
+
import CountUp from './__VUE/countup/index.vue';
|
|
77
|
+
import CountDown from './__VUE/countdown/index.vue';
|
|
78
|
+
import Badge from './__VUE/badge/index.vue';
|
|
79
|
+
import Tag from './__VUE/tag/index.vue';
|
|
80
|
+
import Popover from './__VUE/popover/index.vue';
|
|
81
|
+
import Skeleton from './__VUE/skeleton/index.vue';
|
|
82
|
+
import Collapse from './__VUE/collapse/index.vue';
|
|
83
|
+
import CollapseItem from './__VUE/collapseitem/index.vue';
|
|
84
|
+
import Table from './__VUE/table/index.vue';
|
|
85
|
+
import Address from './__VUE/address/index.vue';
|
|
86
|
+
import Barrage from './__VUE/barrage/index.vue';
|
|
87
|
+
import Signature from './__VUE/signature/index.vue';
|
|
88
|
+
import TimeSelect from './__VUE/timeselect/index.vue';
|
|
89
|
+
import TimePannel from './__VUE/timepannel/index.vue';
|
|
90
|
+
import TimeDetail from './__VUE/timedetail/index.vue';
|
|
91
|
+
import Sku from './__VUE/sku/index.vue';
|
|
92
|
+
import Card from './__VUE/card/index.vue';
|
|
93
|
+
import Ecard from './__VUE/ecard/index.vue';
|
|
94
|
+
import AddressList from './__VUE/addresslist/index.vue';
|
|
95
|
+
import Category from './__VUE/category/index.vue';
|
|
96
|
+
import CategoryPane from './__VUE/categorypane/index.vue';
|
|
97
|
+
import Comment from './__VUE/comment/index.vue';
|
|
98
98
|
|
|
99
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 };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nutui/nutui",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.22-beta.0",
|
|
4
4
|
"description": "京东风格的轻量级移动端 Vue2、Vue3 组件库(支持小程序开发)",
|
|
5
5
|
"main": "dist/nutui.umd.js",
|
|
6
6
|
"module": "dist/nutui.es.js",
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
"dev:taro:vue": "npm run createTaroConfig && npm run checked:taro:vue && cd src/sites/mobile-taro/vue/ && npm run dev:weapp",
|
|
44
44
|
"dev:taro:h5": "npm run createTaroConfig && npm run checked:taro:vue && cd src/sites/mobile-taro/vue/ && npm run dev:h5",
|
|
45
45
|
"build:site": "npm run checked && vite build",
|
|
46
|
+
"build:site-jdt": "npm run checked && vite build --config vite.config.jdt.ts ",
|
|
46
47
|
"build:site:oss": "npm run checked && vite build --base=/nutui/3x/",
|
|
47
48
|
"build": "npm run checked && vite build --config vite.config.build.ts && vite build --config vite.config.build.disperse.ts && npm run generate:types && npm run generate:themes && vite build --config vite.config.build.css.ts && vite build --config vite.config.build.locale.ts && npm run attrs",
|
|
48
49
|
"build:taro:vue": "npm run checked:taro:vue && vite build --config vite.config.build.taro.vue.ts && vite build --config vite.config.build.taro.vue.disperse.ts && npm run generate:types:taro && npm run generate:themes && vite build --config vite.config.build.css.ts && vite build --config vite.config.build.locale.ts && npm run attrs",
|
|
@@ -71,11 +72,13 @@
|
|
|
71
72
|
},
|
|
72
73
|
"dependencies": {
|
|
73
74
|
"sass": "^1.50.0",
|
|
75
|
+
"vscode": "^1.1.37",
|
|
74
76
|
"vue-router": "^4.0.12"
|
|
75
77
|
},
|
|
76
78
|
"devDependencies": {
|
|
77
79
|
"@commitlint/cli": "^10.0.0",
|
|
78
80
|
"@commitlint/config-conventional": "^10.0.0",
|
|
81
|
+
"@popperjs/core": "^2.11.5",
|
|
79
82
|
"@tarojs/taro": "^3.4.0",
|
|
80
83
|
"@types/jest": "^26.0.22",
|
|
81
84
|
"@types/node": "^17.0.16",
|
|
@@ -108,11 +111,11 @@
|
|
|
108
111
|
"swiper": "6.5.1",
|
|
109
112
|
"transliteration": "^2.2.0",
|
|
110
113
|
"ts-jest": "^26.5.5",
|
|
111
|
-
"typescript": "
|
|
114
|
+
"typescript": "4.6.4",
|
|
112
115
|
"vite": "^2.9.1",
|
|
113
116
|
"vite-plugin-dts": "^1.0.5",
|
|
114
117
|
"vite-plugin-md": "^0.11.8",
|
|
115
|
-
"vue": "
|
|
118
|
+
"vue": "3.2.24",
|
|
116
119
|
"vue-jest": "^5.0.0-alpha.7"
|
|
117
120
|
},
|
|
118
121
|
"eslintConfig": {
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare type Lang = Record<string, any>;
|
|
2
|
-
export declare class Locale {
|
|
3
|
-
static currentLang: import("vue").Ref<string>;
|
|
4
|
-
static languages(): Lang;
|
|
5
|
-
static use(lang: string, newLanguages?: any): void;
|
|
6
|
-
static merge(lang: string, newLanguages: any): void;
|
|
7
|
-
}
|
|
8
|
-
export default Locale;
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { App, PropType, CSSProperties } from 'vue';
|
|
2
|
-
declare type Install<T> = T & {
|
|
3
|
-
install(app: App): void;
|
|
4
|
-
};
|
|
5
|
-
declare const _sfc_main: Install< import("vue").DefineComponent<Readonly<import("vue").ComponentPropsOptions<{
|
|
6
|
-
[x: string]: unknown;
|
|
7
|
-
}>>, {
|
|
8
|
-
audioRef: import("vue").Ref<null>;
|
|
9
|
-
fastBack: () => void;
|
|
10
|
-
forward: () => void;
|
|
11
|
-
changeStatus: () => void;
|
|
12
|
-
progressChange: (val: any) => void;
|
|
13
|
-
audioEnd: () => void;
|
|
14
|
-
onTimeupdate: (e: any) => void;
|
|
15
|
-
handleMute: () => void;
|
|
16
|
-
currentTime: import("vue").Ref<number>;
|
|
17
|
-
currentDuration: import("vue").Ref<string>;
|
|
18
|
-
percent: import("vue").Ref<number>;
|
|
19
|
-
duration: import("vue").Ref<string>;
|
|
20
|
-
second: import("vue").Ref<number>;
|
|
21
|
-
hanMuted: import("vue").Ref<any>;
|
|
22
|
-
playing: import("vue").Ref<any>;
|
|
23
|
-
length: import("vue").Ref<number | import("vue").Prop<unknown, unknown> | null | undefined>;
|
|
24
|
-
toString: import("vue").Ref<(() => string) & string>;
|
|
25
|
-
toLocaleString: import("vue").Ref<(() => string) & string>;
|
|
26
|
-
concat: import("vue").Ref<import("vue").Prop<unknown, unknown> | {
|
|
27
|
-
(...items: ConcatArray<string>[]): string[];
|
|
28
|
-
(...items: (string | ConcatArray<string>)[]): string[];
|
|
29
|
-
} | null | undefined>;
|
|
30
|
-
join: import("vue").Ref<import("vue").Prop<unknown, unknown> | ((separator?: string | undefined) => string) | null | undefined>;
|
|
31
|
-
slice: import("vue").Ref<import("vue").Prop<unknown, unknown> | ((start?: number | undefined, end?: number | undefined) => string[]) | null | undefined>;
|
|
32
|
-
indexOf: import("vue").Ref<import("vue").Prop<unknown, unknown> | ((searchElement: string, fromIndex?: number | undefined) => number) | null | undefined>;
|
|
33
|
-
lastIndexOf: import("vue").Ref<import("vue").Prop<unknown, unknown> | ((searchElement: string, fromIndex?: number | undefined) => number) | null | undefined>;
|
|
34
|
-
every: import("vue").Ref<import("vue").Prop<unknown, unknown> | {
|
|
35
|
-
<S extends string>(predicate: (value: string, index: number, array: readonly string[]) => value is S, thisArg?: any): this is readonly S[];
|
|
36
|
-
(predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any): boolean;
|
|
37
|
-
} | null | undefined>;
|
|
38
|
-
some: import("vue").Ref<import("vue").Prop<unknown, unknown> | ((predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any) => boolean) | null | undefined>;
|
|
39
|
-
forEach: import("vue").Ref<import("vue").Prop<unknown, unknown> | ((callbackfn: (value: string, index: number, array: readonly string[]) => void, thisArg?: any) => void) | null | undefined>;
|
|
40
|
-
map: import("vue").Ref<import("vue").Prop<unknown, unknown> | (<U>(callbackfn: (value: string, index: number, array: readonly string[]) => U, thisArg?: any) => U[]) | null | undefined>;
|
|
41
|
-
filter: import("vue").Ref<import("vue").Prop<unknown, unknown> | {
|
|
42
|
-
<S_1 extends string>(predicate: (value: string, index: number, array: readonly string[]) => value is S_1, thisArg?: any): S_1[];
|
|
43
|
-
(predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any): string[];
|
|
44
|
-
} | null | undefined>;
|
|
45
|
-
reduce: import("vue").Ref<import("vue").Prop<unknown, unknown> | {
|
|
46
|
-
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string): string;
|
|
47
|
-
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string, initialValue: string): string;
|
|
48
|
-
<U_1>(callbackfn: (previousValue: U_1, currentValue: string, currentIndex: number, array: readonly string[]) => U_1, initialValue: U_1): U_1;
|
|
49
|
-
} | null | undefined>;
|
|
50
|
-
reduceRight: import("vue").Ref<import("vue").Prop<unknown, unknown> | {
|
|
51
|
-
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string): string;
|
|
52
|
-
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string, initialValue: string): string;
|
|
53
|
-
<U_2>(callbackfn: (previousValue: U_2, currentValue: string, currentIndex: number, array: readonly string[]) => U_2, initialValue: U_2): U_2;
|
|
54
|
-
} | null | undefined>;
|
|
55
|
-
find: import("vue").Ref<import("vue").Prop<unknown, unknown> | {
|
|
56
|
-
<S_2 extends string>(predicate: (this: void, value: string, index: number, obj: readonly string[]) => value is S_2, thisArg?: any): S_2 | undefined;
|
|
57
|
-
(predicate: (value: string, index: number, obj: readonly string[]) => unknown, thisArg?: any): string | undefined;
|
|
58
|
-
} | null | undefined>;
|
|
59
|
-
findIndex: import("vue").Ref<import("vue").Prop<unknown, unknown> | ((predicate: (value: string, index: number, obj: readonly string[]) => unknown, thisArg?: any) => number) | null | undefined>;
|
|
60
|
-
entries: import("vue").Ref<import("vue").Prop<unknown, unknown> | (() => IterableIterator<[number, string]>) | null | undefined>;
|
|
61
|
-
keys: import("vue").Ref<import("vue").Prop<unknown, unknown> | (() => IterableIterator<number>) | null | undefined>;
|
|
62
|
-
values: import("vue").Ref<import("vue").Prop<unknown, unknown> | (() => IterableIterator<string>) | null | undefined>;
|
|
63
|
-
includes: import("vue").Ref<import("vue").Prop<unknown, unknown> | ((searchElement: string, fromIndex?: number | undefined) => boolean) | null | undefined>;
|
|
64
|
-
flatMap: import("vue").Ref<import("vue").Prop<unknown, unknown> | (<U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This | undefined) => U_3[]) | null | undefined>;
|
|
65
|
-
flat: import("vue").Ref<import("vue").Prop<unknown, unknown> | (<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]) | null | undefined>;
|
|
66
|
-
at: import("vue").Ref<import("vue").Prop<unknown, unknown> | ((index: number) => string | undefined) | null | undefined>;
|
|
67
|
-
onEnded: import("vue").Ref<((...args: any[]) => any) | undefined>;
|
|
68
|
-
onPlay: import("vue").Ref<((...args: any[]) => any) | undefined>;
|
|
69
|
-
onFastBack: import("vue").Ref<((...args: any[]) => any) | undefined>;
|
|
70
|
-
onForward: import("vue").Ref<((...args: any[]) => any) | undefined>;
|
|
71
|
-
onChangeProgress: import("vue").Ref<((...args: any[]) => any) | undefined>;
|
|
72
|
-
onMute: import("vue").Ref<((...args: any[]) => any) | undefined>;
|
|
73
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("ended" | "play" | "fastBack" | "forward" | "changeProgress" | "mute")[], "ended" | "play" | "fastBack" | "forward" | "changeProgress" | "mute", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<readonly string[] | import("vue").ExtractPropTypes<Readonly<import("vue").ComponentObjectPropsOptions<{
|
|
74
|
-
[x: string]: unknown;
|
|
75
|
-
}>>>> & {
|
|
76
|
-
onEnded?: ((...args: any[]) => any) | undefined;
|
|
77
|
-
onPlay?: ((...args: any[]) => any) | undefined;
|
|
78
|
-
onFastBack?: ((...args: any[]) => any) | undefined;
|
|
79
|
-
onForward?: ((...args: any[]) => any) | undefined;
|
|
80
|
-
onChangeProgress?: ((...args: any[]) => any) | undefined;
|
|
81
|
-
onMute?: ((...args: any[]) => any) | undefined;
|
|
82
|
-
}, {
|
|
83
|
-
[x: number]: string;
|
|
84
|
-
} | {}>>;
|
|
85
|
-
export default _sfc_main;
|
|
86
|
-
|
|
87
|
-
declare module 'vue' {
|
|
88
|
-
interface GlobalComponents {
|
|
89
|
-
NutAudio: typeof _sfc_main;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { App, PropType, CSSProperties } from 'vue';
|
|
2
|
-
declare type Install<T> = T & {
|
|
3
|
-
install(app: App): void;
|
|
4
|
-
};
|
|
5
|
-
declare const _sfc_main: Install< import("vue").DefineComponent<Readonly<import("vue").ComponentPropsOptions<{
|
|
6
|
-
[x: string]: unknown;
|
|
7
|
-
}>>, {
|
|
8
|
-
customSlot: import("vue").Ref<import("vue").Slot | undefined>;
|
|
9
|
-
length: import("vue").Ref<number | import("vue").Prop<unknown, unknown> | null | undefined>;
|
|
10
|
-
toString: import("vue").Ref<(() => string) & string>;
|
|
11
|
-
toLocaleString: import("vue").Ref<(() => string) & string>;
|
|
12
|
-
concat: import("vue").Ref<import("vue").Prop<unknown, unknown> | {
|
|
13
|
-
(...items: ConcatArray<string>[]): string[];
|
|
14
|
-
(...items: (string | ConcatArray<string>)[]): string[];
|
|
15
|
-
} | null | undefined>;
|
|
16
|
-
join: import("vue").Ref<import("vue").Prop<unknown, unknown> | ((separator?: string | undefined) => string) | null | undefined>;
|
|
17
|
-
slice: import("vue").Ref<import("vue").Prop<unknown, unknown> | ((start?: number | undefined, end?: number | undefined) => string[]) | null | undefined>;
|
|
18
|
-
indexOf: import("vue").Ref<import("vue").Prop<unknown, unknown> | ((searchElement: string, fromIndex?: number | undefined) => number) | null | undefined>;
|
|
19
|
-
lastIndexOf: import("vue").Ref<import("vue").Prop<unknown, unknown> | ((searchElement: string, fromIndex?: number | undefined) => number) | null | undefined>;
|
|
20
|
-
every: import("vue").Ref<import("vue").Prop<unknown, unknown> | {
|
|
21
|
-
<S extends string>(predicate: (value: string, index: number, array: readonly string[]) => value is S, thisArg?: any): this is readonly S[];
|
|
22
|
-
(predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any): boolean;
|
|
23
|
-
} | null | undefined>;
|
|
24
|
-
some: import("vue").Ref<import("vue").Prop<unknown, unknown> | ((predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any) => boolean) | null | undefined>;
|
|
25
|
-
forEach: import("vue").Ref<import("vue").Prop<unknown, unknown> | ((callbackfn: (value: string, index: number, array: readonly string[]) => void, thisArg?: any) => void) | null | undefined>;
|
|
26
|
-
map: import("vue").Ref<import("vue").Prop<unknown, unknown> | (<U>(callbackfn: (value: string, index: number, array: readonly string[]) => U, thisArg?: any) => U[]) | null | undefined>;
|
|
27
|
-
filter: import("vue").Ref<import("vue").Prop<unknown, unknown> | {
|
|
28
|
-
<S_1 extends string>(predicate: (value: string, index: number, array: readonly string[]) => value is S_1, thisArg?: any): S_1[];
|
|
29
|
-
(predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any): string[];
|
|
30
|
-
} | null | undefined>;
|
|
31
|
-
reduce: import("vue").Ref<import("vue").Prop<unknown, unknown> | {
|
|
32
|
-
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string): string;
|
|
33
|
-
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string, initialValue: string): string;
|
|
34
|
-
<U_1>(callbackfn: (previousValue: U_1, currentValue: string, currentIndex: number, array: readonly string[]) => U_1, initialValue: U_1): U_1;
|
|
35
|
-
} | null | undefined>;
|
|
36
|
-
reduceRight: import("vue").Ref<import("vue").Prop<unknown, unknown> | {
|
|
37
|
-
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string): string;
|
|
38
|
-
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string, initialValue: string): string;
|
|
39
|
-
<U_2>(callbackfn: (previousValue: U_2, currentValue: string, currentIndex: number, array: readonly string[]) => U_2, initialValue: U_2): U_2;
|
|
40
|
-
} | null | undefined>;
|
|
41
|
-
find: import("vue").Ref<import("vue").Prop<unknown, unknown> | {
|
|
42
|
-
<S_2 extends string>(predicate: (this: void, value: string, index: number, obj: readonly string[]) => value is S_2, thisArg?: any): S_2 | undefined;
|
|
43
|
-
(predicate: (value: string, index: number, obj: readonly string[]) => unknown, thisArg?: any): string | undefined;
|
|
44
|
-
} | null | undefined>;
|
|
45
|
-
findIndex: import("vue").Ref<import("vue").Prop<unknown, unknown> | ((predicate: (value: string, index: number, obj: readonly string[]) => unknown, thisArg?: any) => number) | null | undefined>;
|
|
46
|
-
entries: import("vue").Ref<import("vue").Prop<unknown, unknown> | (() => IterableIterator<[number, string]>) | null | undefined>;
|
|
47
|
-
keys: import("vue").Ref<import("vue").Prop<unknown, unknown> | (() => IterableIterator<number>) | null | undefined>;
|
|
48
|
-
values: import("vue").Ref<import("vue").Prop<unknown, unknown> | (() => IterableIterator<string>) | null | undefined>;
|
|
49
|
-
includes: import("vue").Ref<import("vue").Prop<unknown, unknown> | ((searchElement: string, fromIndex?: number | undefined) => boolean) | null | undefined>;
|
|
50
|
-
flatMap: import("vue").Ref<import("vue").Prop<unknown, unknown> | (<U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This | undefined) => U_3[]) | null | undefined>;
|
|
51
|
-
flat: import("vue").Ref<import("vue").Prop<unknown, unknown> | (<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]) | null | undefined>;
|
|
52
|
-
at: import("vue").Ref<import("vue").Prop<unknown, unknown> | ((index: number) => string | undefined) | null | undefined>;
|
|
53
|
-
onClick: import("vue").Ref<((...args: any[]) => any) | undefined>;
|
|
54
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<readonly string[] | import("vue").ExtractPropTypes<Readonly<import("vue").ComponentObjectPropsOptions<{
|
|
55
|
-
[x: string]: unknown;
|
|
56
|
-
}>>>> & {
|
|
57
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
58
|
-
}, {
|
|
59
|
-
[x: number]: string;
|
|
60
|
-
} | {}>>;
|
|
61
|
-
export default _sfc_main;
|
|
62
|
-
|
|
63
|
-
declare module 'vue' {
|
|
64
|
-
interface GlobalComponents {
|
|
65
|
-
NutAudioOperate: typeof _sfc_main;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|