@nutui/nutui 4.2.6 → 4.3.0-beta.1
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 +20 -0
- package/dist/nutui.es.js +4 -2
- package/dist/nutui.js +5569 -5179
- package/dist/nutui.umd.js +1 -1
- package/dist/packages/calendar/Calendar.js +19 -4
- package/dist/packages/calendarcard/CalendarCard.js +525 -0
- package/dist/packages/calendarcard/index.css +1 -0
- package/dist/packages/calendarcard/index.mjs +2 -0
- package/dist/packages/calendarcard/index.scss +92 -0
- package/dist/packages/calendarcard/style/css.mjs +2 -0
- package/dist/packages/calendarcard/style/index.mjs +2 -0
- package/dist/packages/calendaritem/CalendarItem.js +817 -7
- package/dist/packages/cascader/index.css +1 -1
- package/dist/packages/cascader/index.scss +1 -2
- package/dist/packages/date-djiVNSnJ.js +145 -0
- package/dist/packages/datepicker/DatePicker.js +31 -24
- package/dist/packages/datepicker/index.css +1 -1
- package/dist/packages/dialog/index.css +1 -1
- package/dist/packages/dialog/index.scss +0 -3
- package/dist/packages/locale/lang/baseLang.d.ts +8 -0
- package/dist/packages/locale/lang/en-US.d.ts +8 -0
- package/dist/packages/locale/lang/en-US.js +8 -0
- package/dist/packages/locale/lang/id-ID.d.ts +8 -0
- package/dist/packages/locale/lang/id-ID.js +8 -0
- package/dist/packages/locale/lang/zh-CN.d.ts +8 -0
- package/dist/packages/locale/lang/zh-CN.js +8 -0
- package/dist/packages/locale/lang/zh-TW.d.ts +8 -0
- package/dist/packages/locale/lang/zh-TW.js +8 -0
- package/dist/packages/picker/index.css +1 -1
- package/dist/packages/picker/index.scss +3 -0
- package/dist/packages/swiper/Swiper.js +5 -1
- package/dist/packages/tabs/Tabs.js +21 -4
- package/dist/packages/tabs/index.css +1 -1
- package/dist/packages/tabs/index.scss +6 -0
- package/dist/smartips/web-types.json +74 -4
- package/dist/style.css +1 -1
- package/dist/styles/base-jdb.css +1 -1
- package/dist/styles/base-jddkh.css +1 -1
- package/dist/styles/base-jdt.css +1 -1
- package/dist/styles/themes/default.scss +1 -0
- package/dist/styles/themes/jdb.scss +1 -0
- package/dist/styles/themes/jddkh.scss +1 -0
- package/dist/styles/themes/jdt.scss +1 -0
- package/dist/styles/variables-jdb.scss +1 -0
- package/dist/styles/variables-jddkh.scss +1 -0
- package/dist/styles/variables-jdt.scss +1 -0
- package/dist/styles/variables.scss +1 -0
- package/dist/types/__VUE/actionsheet/index.vue.d.ts +3 -3
- package/dist/types/__VUE/address/index.vue.d.ts +2 -2
- package/dist/types/__VUE/addresslist/components/GeneralShell.vue.d.ts +1 -1
- package/dist/types/__VUE/addresslist/components/ItemContents.vue.d.ts +1 -1
- package/dist/types/__VUE/addresslist/index.vue.d.ts +1 -1
- package/dist/types/__VUE/animate/index.vue.d.ts +1 -1
- package/dist/types/__VUE/audio/index.vue.d.ts +7 -5
- package/dist/types/__VUE/audio/types.d.ts +1 -0
- package/dist/types/__VUE/audiooperate/index.vue.d.ts +7 -5
- package/dist/types/__VUE/audiooperate/types.d.ts +1 -0
- package/dist/types/__VUE/avatar/index.vue.d.ts +2 -2
- package/dist/types/__VUE/avatarcropper/index.vue.d.ts +1 -1
- package/dist/types/__VUE/avatargroup/index.vue.d.ts +2 -2
- package/dist/types/__VUE/backtop/index.vue.d.ts +1 -1
- package/dist/types/__VUE/badge/index.vue.d.ts +1 -1
- package/dist/types/__VUE/barrage/index.vue.d.ts +1 -1
- package/dist/types/__VUE/button/index.vue.d.ts +2 -2
- package/dist/types/__VUE/calendar/index.vue.d.ts +4 -2
- package/dist/types/__VUE/calendarcard/icon.d.ts +12 -0
- package/dist/types/__VUE/calendarcard/icon.taro.d.ts +12 -0
- package/dist/types/__VUE/calendarcard/index.vue.d.ts +95 -0
- package/dist/types/__VUE/calendarcard/types.d.ts +12 -0
- package/dist/types/__VUE/calendarcard/utils.d.ts +19 -0
- package/dist/types/__VUE/calendaritem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/card/index.vue.d.ts +1 -1
- package/dist/types/__VUE/cascader/cascader-item.vue.d.ts +1 -1
- package/dist/types/__VUE/cascader/index.vue.d.ts +2 -2
- package/dist/types/__VUE/category/index.vue.d.ts +1 -1
- package/dist/types/__VUE/categorypane/index.vue.d.ts +1 -1
- package/dist/types/__VUE/cell/index.vue.d.ts +3 -3
- package/dist/types/__VUE/cellgroup/index.vue.d.ts +1 -1
- package/dist/types/__VUE/checkbox/index.vue.d.ts +1 -1
- package/dist/types/__VUE/checkboxgroup/index.vue.d.ts +1 -1
- package/dist/types/__VUE/circleprogress/index.vue.d.ts +1 -1
- package/dist/types/__VUE/col/index.vue.d.ts +1 -1
- package/dist/types/__VUE/collapse/index.vue.d.ts +1 -1
- package/dist/types/__VUE/collapseitem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/comment/components/CmtBottom.vue.d.ts +1 -1
- package/dist/types/__VUE/comment/components/CmtHeader.vue.d.ts +1 -1
- package/dist/types/__VUE/comment/components/CmtImages.vue.d.ts +1 -1
- package/dist/types/__VUE/comment/index.vue.d.ts +1 -1
- package/dist/types/__VUE/configprovider/index.vue.d.ts +1 -1
- package/dist/types/__VUE/countdown/index.vue.d.ts +1 -1
- package/dist/types/__VUE/countup/index.vue.d.ts +3 -3
- package/dist/types/__VUE/datepicker/index.vue.d.ts +3 -3
- package/dist/types/__VUE/dialog/index.vue.d.ts +2 -2
- package/dist/types/__VUE/divider/index.vue.d.ts +1 -1
- package/dist/types/__VUE/drag/index.vue.d.ts +1 -1
- package/dist/types/__VUE/ecard/index.vue.d.ts +1 -1
- package/dist/types/__VUE/elevator/index.vue.d.ts +1 -1
- package/dist/types/__VUE/ellipsis/index.vue.d.ts +2 -2
- package/dist/types/__VUE/empty/index.vue.d.ts +1 -1
- package/dist/types/__VUE/fixednav/index.vue.d.ts +1 -1
- package/dist/types/__VUE/form/index.vue.d.ts +1 -1
- package/dist/types/__VUE/formitem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/grid/index.vue.d.ts +1 -1
- package/dist/types/__VUE/griditem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/icon/index.vue.d.ts +1 -1
- package/dist/types/__VUE/image/index.vue.d.ts +2 -2
- package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +1 -1
- package/dist/types/__VUE/imagepreview/index.vue.d.ts +1 -1
- package/dist/types/__VUE/indicator/index.vue.d.ts +2 -2
- package/dist/types/__VUE/infiniteloading/index.vue.d.ts +1 -1
- package/dist/types/__VUE/input/index.vue.d.ts +3 -3
- package/dist/types/__VUE/inputnumber/index.vue.d.ts +2 -2
- package/dist/types/__VUE/invoice/index.vue.d.ts +1 -1
- package/dist/types/__VUE/layout/index.vue.d.ts +1 -1
- package/dist/types/__VUE/list/index.vue.d.ts +1 -1
- package/dist/types/__VUE/menu/index.vue.d.ts +1 -1
- package/dist/types/__VUE/menuitem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/navbar/index.vue.d.ts +2 -2
- package/dist/types/__VUE/noticebar/index.vue.d.ts +1 -1
- package/dist/types/__VUE/notify/index.vue.d.ts +1 -1
- package/dist/types/__VUE/numberkeyboard/index.vue.d.ts +3 -3
- package/dist/types/__VUE/overlay/index.vue.d.ts +1 -1
- package/dist/types/__VUE/pagination/index.vue.d.ts +1 -1
- package/dist/types/__VUE/picker/Column.vue.d.ts +3 -3
- package/dist/types/__VUE/picker/index.vue.d.ts +2 -2
- package/dist/types/__VUE/popover/index.vue.d.ts +2 -2
- package/dist/types/__VUE/popup/index.vue.d.ts +2 -2
- package/dist/types/__VUE/price/index.vue.d.ts +1 -1
- package/dist/types/__VUE/progress/index.vue.d.ts +1 -1
- package/dist/types/__VUE/pullrefresh/index.vue.d.ts +1 -1
- package/dist/types/__VUE/radio/index.vue.d.ts +2 -2
- package/dist/types/__VUE/radiogroup/index.vue.d.ts +1 -1
- package/dist/types/__VUE/range/index.vue.d.ts +1 -1
- package/dist/types/__VUE/rate/index.vue.d.ts +1 -1
- package/dist/types/__VUE/row/index.vue.d.ts +2 -2
- package/dist/types/__VUE/searchbar/index.vue.d.ts +2 -2
- package/dist/types/__VUE/shortpassword/index.vue.d.ts +3 -3
- package/dist/types/__VUE/sidenavbar/index.vue.d.ts +1 -1
- package/dist/types/__VUE/sidenavbaritem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/signature/index.vue.d.ts +1 -1
- package/dist/types/__VUE/skeleton/index.vue.d.ts +1 -1
- package/dist/types/__VUE/sku/components/SkuHeader.vue.d.ts +1 -1
- package/dist/types/__VUE/sku/components/SkuOperate.vue.d.ts +1 -1
- package/dist/types/__VUE/sku/components/SkuSelect.vue.d.ts +1 -1
- package/dist/types/__VUE/sku/components/SkuStepper.vue.d.ts +1 -1
- package/dist/types/__VUE/sku/index.vue.d.ts +2 -2
- package/dist/types/__VUE/space/index.vue.d.ts +1 -1
- package/dist/types/__VUE/step/index.vue.d.ts +1 -1
- package/dist/types/__VUE/steps/index.vue.d.ts +2 -2
- package/dist/types/__VUE/sticky/index.vue.d.ts +1 -1
- package/dist/types/__VUE/subsidenavbar/index.vue.d.ts +1 -1
- package/dist/types/__VUE/swipe/index.vue.d.ts +1 -1
- package/dist/types/__VUE/swipegroup/index.vue.d.ts +1 -1
- package/dist/types/__VUE/swiper/index.vue.d.ts +10 -1
- package/dist/types/__VUE/swiperitem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/switch/index.vue.d.ts +1 -1
- package/dist/types/__VUE/tabbar/index.vue.d.ts +1 -1
- package/dist/types/__VUE/tabbaritem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/table/index.vue.d.ts +1 -1
- package/dist/types/__VUE/table/renderColumn.d.ts +1 -1
- package/dist/types/__VUE/tabpane/index.vue.d.ts +1 -1
- package/dist/types/__VUE/tabs/index.vue.d.ts +13 -4
- package/dist/types/__VUE/tabs/types.d.ts +1 -0
- package/dist/types/__VUE/tag/index.vue.d.ts +1 -1
- package/dist/types/__VUE/textarea/index.vue.d.ts +2 -2
- package/dist/types/__VUE/timedetail/index.vue.d.ts +1 -1
- package/dist/types/__VUE/timepannel/index.vue.d.ts +1 -1
- package/dist/types/__VUE/timeselect/index.vue.d.ts +2 -2
- package/dist/types/__VUE/toast/index.vue.d.ts +2 -2
- package/dist/types/__VUE/tour/index.vue.d.ts +2 -2
- package/dist/types/__VUE/trendarrow/index.vue.d.ts +1 -1
- package/dist/types/__VUE/uploader/index.vue.d.ts +2 -2
- package/dist/types/__VUE/video/index.vue.d.ts +1 -1
- package/dist/types/__VUE/watermark/index.vue.d.ts +1 -1
- package/dist/types/index.d.ts +3 -2
- package/dist/types/locale/lang/baseLang.d.ts +8 -0
- package/dist/types/locale/lang/en-US.d.ts +8 -0
- package/dist/types/locale/lang/id-ID.d.ts +8 -0
- package/dist/types/locale/lang/zh-CN.d.ts +8 -0
- package/dist/types/locale/lang/zh-TW.d.ts +8 -0
- package/dist/types/utils/touchEmulator.d.ts +0 -0
- package/package.json +1 -1
- package/dist/packages/index-NLe0VBkN.js +0 -959
|
@@ -379,6 +379,7 @@ $backtop-border-color: #e0e0e0 !default;
|
|
|
379
379
|
// calendar
|
|
380
380
|
$calendar-primary-color: $primary-color !default;
|
|
381
381
|
$calendar-choose-color: rgba($primary-color, 0.09) !default;
|
|
382
|
+
$calendar-choose-background-color: rgba($primary-color, 0.09) !default;
|
|
382
383
|
$calendar-choose-font-color: $primary-color !default;
|
|
383
384
|
$calendar-base-color: #333333 !default;
|
|
384
385
|
$calendar-disable-color: #d1d0d0 !default;
|
|
@@ -311,6 +311,7 @@ $backtop-border-color: #e0e0e0 !default;
|
|
|
311
311
|
// calendar
|
|
312
312
|
$calendar-primary-color: $primary-color !default;
|
|
313
313
|
$calendar-choose-color: rgba(250, 44, 25, 0.12) !default;
|
|
314
|
+
$calendar-choose-background-color: rgba(250, 44, 25, 0.12) !default;
|
|
314
315
|
$calendar-choose-font-color: $title-color !default;
|
|
315
316
|
$calendar-base-color: $title-color !default;
|
|
316
317
|
$calendar-disable-color: #d1d0d0 !default;
|
|
@@ -309,6 +309,7 @@ $backtop-border-color: var(--nut-backtop-border-color, #e0e0e0) !default;
|
|
|
309
309
|
// calendar
|
|
310
310
|
$calendar-primary-color: var(--nut-calendar-primary-color, $primary-color) !default;
|
|
311
311
|
$calendar-choose-color: var(--nut-calendar-choose-color, rgba($primary-color, 0.09)) !default;
|
|
312
|
+
$calendar-choose-background-color: var(--nut-calendar-choose-background-color, rgba($primary-color, 0.09)) !default;
|
|
312
313
|
$calendar-choose-font-color: var(--nut-calendar-choose-font-color, $primary-color) !default;
|
|
313
314
|
$calendar-base-color: var(--nut-calendar-base-color, #323233) !default;
|
|
314
315
|
$calendar-disable-color: var(--nut-calendar-disable-color, #d1d0d0) !default;
|
|
@@ -332,6 +332,7 @@ $backtop-border-color: var(--nut-backtop-border-color, #e0e0e0) !default;
|
|
|
332
332
|
// calendar
|
|
333
333
|
$calendar-primary-color: var(--nut-calendar-primary-color, $primary-color) !default;
|
|
334
334
|
$calendar-choose-color: var(--nut-calendar-choose-color, $primary-color) !default;
|
|
335
|
+
$calendar-choose-background-color: var(--nut-calendar-choose-background-color, rgba(#fa2c19, 0.09)) !default;
|
|
335
336
|
$calendar-choose-font-color: var(--nut-calendar-choose-font-color, $primary-color) !default;
|
|
336
337
|
$calendar-base-color: var(--nut-calendar-base-color, #333333) !default;
|
|
337
338
|
$calendar-disable-color: var(--nut-calendar-disable-color, #d1d0d0) !default;
|
|
@@ -137,7 +137,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
137
137
|
cancelActionSheet: () => void;
|
|
138
138
|
chooseItem: (item: ActionSheetMenuItems, index: number) => void;
|
|
139
139
|
close: (e: Event) => void;
|
|
140
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
140
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "close" | "update:visible" | "choose")[], "cancel" | "close" | "update:visible" | "choose", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
141
141
|
cancelTxt: {
|
|
142
142
|
type: StringConstructor;
|
|
143
143
|
default: string;
|
|
@@ -258,9 +258,9 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
258
258
|
default: () => {};
|
|
259
259
|
};
|
|
260
260
|
}>> & {
|
|
261
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
262
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
263
261
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
262
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
263
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
264
264
|
onChoose?: ((...args: any[]) => any) | undefined;
|
|
265
265
|
}, {
|
|
266
266
|
style: Record<string, any>;
|
|
@@ -168,7 +168,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
168
168
|
handClose: (type?: string) => void;
|
|
169
169
|
handleElevatorItem: (key: string, item: AddressData) => void;
|
|
170
170
|
initCustomSelected: () => void;
|
|
171
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "update:visible" | "type" | "
|
|
171
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "close" | "update:visible" | "type" | "update:modelValue" | "selected" | "closeMask" | "switchModule")[], "change" | "close" | "update:visible" | "type" | "update:modelValue" | "selected" | "closeMask" | "switchModule", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
172
172
|
modelValue: {
|
|
173
173
|
type: ArrayConstructor;
|
|
174
174
|
default: () => never[];
|
|
@@ -305,9 +305,9 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
305
305
|
default: () => {};
|
|
306
306
|
};
|
|
307
307
|
}>> & {
|
|
308
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
309
308
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
310
309
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
310
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
311
311
|
onType?: ((...args: any[]) => any) | undefined;
|
|
312
312
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
313
313
|
onSelected?: ((...args: any[]) => any) | undefined;
|
|
@@ -30,7 +30,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
swipeDelClick: (event: Event) => void;
|
|
31
31
|
swipestart: () => void;
|
|
32
32
|
swipemove: () => void;
|
|
33
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clickItem" | "delIcon" | "editIcon" | "longDown" | "longCopy" | "longSet" | "longDel" | "swipeDel")[], "clickItem" | "delIcon" | "editIcon" | "longDown" | "longCopy" | "longSet" | "longDel" | "swipeDel", import("vue").
|
|
33
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clickItem" | "delIcon" | "editIcon" | "longDown" | "longCopy" | "longSet" | "longDel" | "swipeDel")[], "clickItem" | "delIcon" | "editIcon" | "longDown" | "longCopy" | "longSet" | "longDel" | "swipeDel", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
34
|
item: {
|
|
35
35
|
type: ObjectConstructor;
|
|
36
36
|
default: {};
|
|
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8
8
|
editClick: (event: Event) => void;
|
|
9
9
|
contentsClick: (event: Event) => void;
|
|
10
10
|
translate: (keyPath: string, ...args: unknown[]) => any;
|
|
11
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clickItem" | "delIcon" | "editIcon")[], "clickItem" | "delIcon" | "editIcon", import("vue").
|
|
11
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clickItem" | "delIcon" | "editIcon")[], "clickItem" | "delIcon" | "editIcon", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
12
|
item: {
|
|
13
13
|
type: ObjectConstructor;
|
|
14
14
|
default: {};
|
|
@@ -34,7 +34,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
34
34
|
addAddress: (event: Event) => void;
|
|
35
35
|
dataArray: any;
|
|
36
36
|
translate: (keyPath: string, ...args: unknown[]) => any;
|
|
37
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("add" | "clickItem" | "delIcon" | "editIcon" | "longCopy" | "longSet" | "longDel" | "swipeDel")[], "add" | "clickItem" | "delIcon" | "editIcon" | "longCopy" | "longSet" | "longDel" | "swipeDel", import("vue").
|
|
37
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("add" | "clickItem" | "delIcon" | "editIcon" | "longCopy" | "longSet" | "longDel" | "swipeDel")[], "add" | "clickItem" | "delIcon" | "editIcon" | "longCopy" | "longSet" | "longDel" | "swipeDel", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
38
38
|
data: {
|
|
39
39
|
type: ArrayConstructor;
|
|
40
40
|
default: never[];
|
|
@@ -32,7 +32,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
32
32
|
loop: boolean;
|
|
33
33
|
}>;
|
|
34
34
|
handleClick: (event: Event) => void;
|
|
35
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
35
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "animate")[], "click" | "animate", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
36
|
type: {
|
|
37
37
|
type: PropType<AnimateType>;
|
|
38
38
|
default: string;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import type { AudioType } from './types';
|
|
1
3
|
|
|
2
4
|
declare type Install<T> = T & {
|
|
3
5
|
install(app: import('vue').App): void;
|
|
@@ -28,7 +30,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
28
30
|
default: number;
|
|
29
31
|
};
|
|
30
32
|
type: {
|
|
31
|
-
type:
|
|
33
|
+
type: PropType<AudioType>;
|
|
32
34
|
default: string;
|
|
33
35
|
};
|
|
34
36
|
}, {
|
|
@@ -52,7 +54,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
52
54
|
hanMuted: import("vue").Ref<boolean>;
|
|
53
55
|
playing: import("vue").Ref<boolean>;
|
|
54
56
|
handPlaying: import("vue").Ref<boolean>;
|
|
55
|
-
type: import("vue").Ref<
|
|
57
|
+
type: import("vue").Ref<AudioType>;
|
|
56
58
|
loop: import("vue").Ref<boolean>;
|
|
57
59
|
url: import("vue").Ref<string>;
|
|
58
60
|
muted: import("vue").Ref<boolean>;
|
|
@@ -65,7 +67,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
65
67
|
onFastBack: import("vue").Ref<((...args: any[]) => any) | undefined>;
|
|
66
68
|
onChangeProgress: import("vue").Ref<((...args: any[]) => any) | undefined>;
|
|
67
69
|
onCanPlay: import("vue").Ref<((...args: any[]) => any) | undefined>;
|
|
68
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
70
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("ended" | "play" | "fastBack" | "forward" | "changeProgress" | "mute" | "canPlay")[], "ended" | "play" | "fastBack" | "forward" | "changeProgress" | "mute" | "canPlay", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
69
71
|
url: {
|
|
70
72
|
type: StringConstructor;
|
|
71
73
|
default: string;
|
|
@@ -91,7 +93,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
91
93
|
default: number;
|
|
92
94
|
};
|
|
93
95
|
type: {
|
|
94
|
-
type:
|
|
96
|
+
type: PropType<AudioType>;
|
|
95
97
|
default: string;
|
|
96
98
|
};
|
|
97
99
|
}>> & {
|
|
@@ -103,7 +105,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
103
105
|
onChangeProgress?: ((...args: any[]) => any) | undefined;
|
|
104
106
|
onCanPlay?: ((...args: any[]) => any) | undefined;
|
|
105
107
|
}, {
|
|
106
|
-
type:
|
|
108
|
+
type: AudioType;
|
|
107
109
|
loop: boolean;
|
|
108
110
|
url: string;
|
|
109
111
|
muted: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type AudioType = 'progress' | 'icon' | 'controls' | 'none';
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import type { AudioOperateType } from './types';
|
|
1
3
|
|
|
2
4
|
declare type Install<T> = T & {
|
|
3
5
|
install(app: import('vue').App): void;
|
|
4
6
|
};
|
|
5
7
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
6
8
|
type: {
|
|
7
|
-
type:
|
|
9
|
+
type: PropType<AudioOperateType>;
|
|
8
10
|
default: () => string;
|
|
9
11
|
};
|
|
10
12
|
}, {
|
|
@@ -16,17 +18,17 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
16
18
|
forward: import("vue").Ref<(payload: MouseEvent) => void>;
|
|
17
19
|
fastBack: import("vue").Ref<(payload: MouseEvent) => void>;
|
|
18
20
|
changeStatus: import("vue").Ref<(payload: MouseEvent) => void>;
|
|
19
|
-
type: import("vue").Ref<
|
|
21
|
+
type: import("vue").Ref<AudioOperateType>;
|
|
20
22
|
onClick: import("vue").Ref<((...args: any[]) => any) | undefined>;
|
|
21
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").
|
|
23
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
24
|
type: {
|
|
23
|
-
type:
|
|
25
|
+
type: PropType<AudioOperateType>;
|
|
24
26
|
default: () => string;
|
|
25
27
|
};
|
|
26
28
|
}>> & {
|
|
27
29
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
28
30
|
}, {
|
|
29
|
-
type:
|
|
31
|
+
type: AudioOperateType;
|
|
30
32
|
}, {}>>;
|
|
31
33
|
export default _default;
|
|
32
34
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type AudioOperateType = 'play' | 'back' | 'forward' | 'mute';
|
|
@@ -28,7 +28,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
28
28
|
}>;
|
|
29
29
|
styles: import("vue").ComputedRef<CSSProperties>;
|
|
30
30
|
avatarRef: import("vue").Ref<null>;
|
|
31
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
31
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
32
32
|
size: {
|
|
33
33
|
type: PropType<string | number>;
|
|
34
34
|
default: string;
|
|
@@ -46,8 +46,8 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
46
46
|
default: string;
|
|
47
47
|
};
|
|
48
48
|
}>>, {
|
|
49
|
-
color: string;
|
|
50
49
|
size: string | number;
|
|
50
|
+
color: string;
|
|
51
51
|
shape: AvatarShape;
|
|
52
52
|
bgColor: string;
|
|
53
53
|
}, {}>>;
|
|
@@ -55,7 +55,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
55
55
|
zooming: Ref<boolean>;
|
|
56
56
|
displayWidth: Ref<number>;
|
|
57
57
|
displayHeight: Ref<number>;
|
|
58
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "confirm")[], "cancel" | "confirm", import("vue").
|
|
58
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "confirm")[], "cancel" | "confirm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
59
59
|
maxZoom: {
|
|
60
60
|
type: NumberConstructor;
|
|
61
61
|
default: number;
|
|
@@ -43,7 +43,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
43
43
|
}>;
|
|
44
44
|
foldCount: import("vue").Ref<number>;
|
|
45
45
|
avatarGroupRef: import("vue").Ref<any>;
|
|
46
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
46
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
47
47
|
maxContent: {
|
|
48
48
|
type: StringConstructor;
|
|
49
49
|
default: string;
|
|
@@ -77,9 +77,9 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
77
77
|
default: string;
|
|
78
78
|
};
|
|
79
79
|
}>>, {
|
|
80
|
+
size: string | number;
|
|
80
81
|
span: string | number;
|
|
81
82
|
zIndex: AvatarZIndex;
|
|
82
|
-
size: string | number;
|
|
83
83
|
shape: AvatarShape;
|
|
84
84
|
maxContent: string;
|
|
85
85
|
maxCount: string | number;
|
|
@@ -49,7 +49,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
49
49
|
zIndex: number;
|
|
50
50
|
}>;
|
|
51
51
|
click: (e: MouseEvent) => void;
|
|
52
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").
|
|
52
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
53
53
|
bottom: {
|
|
54
54
|
type: NumberConstructor;
|
|
55
55
|
default: number;
|
|
@@ -47,7 +47,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
47
47
|
background: string;
|
|
48
48
|
}>;
|
|
49
49
|
content: import("vue").ComputedRef<string | number | undefined>;
|
|
50
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
50
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
51
51
|
value: {
|
|
52
52
|
type: (NumberConstructor | StringConstructor)[];
|
|
53
53
|
};
|
|
@@ -33,7 +33,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
33
33
|
dmBody: import("vue").Ref<HTMLDivElement>;
|
|
34
34
|
dmContainer: import("vue").Ref<HTMLDivElement>;
|
|
35
35
|
add: (word: string) => void;
|
|
36
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
36
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
37
|
danmu: {
|
|
38
38
|
type: ArrayConstructor;
|
|
39
39
|
default: () => never[];
|
|
@@ -40,7 +40,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
40
40
|
[x: string]: boolean | ButtonType | ButtonSize | ButtonShape;
|
|
41
41
|
}>;
|
|
42
42
|
getStyle: import("vue").ComputedRef<CSSProperties>;
|
|
43
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").
|
|
43
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
44
44
|
color: StringConstructor;
|
|
45
45
|
shape: {
|
|
46
46
|
type: PropType<ButtonShape>;
|
|
@@ -73,9 +73,9 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
73
73
|
}>> & {
|
|
74
74
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
75
75
|
}, {
|
|
76
|
+
size: ButtonSize;
|
|
76
77
|
type: ButtonType;
|
|
77
78
|
block: boolean;
|
|
78
|
-
size: ButtonSize;
|
|
79
79
|
disabled: boolean;
|
|
80
80
|
loading: boolean;
|
|
81
81
|
shape: ButtonShape;
|
|
@@ -74,7 +74,9 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
74
74
|
};
|
|
75
75
|
disabledDate: FunctionConstructor;
|
|
76
76
|
}, {
|
|
77
|
+
visible: import("vue").WritableComputedRef<boolean>;
|
|
77
78
|
closePopup: () => void;
|
|
79
|
+
opened: () => void;
|
|
78
80
|
update: () => void;
|
|
79
81
|
close: () => void;
|
|
80
82
|
select: (param: any) => void;
|
|
@@ -85,7 +87,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
85
87
|
dayInfo: import("vue").ComputedRef<import("vue").Slot<any> | undefined>;
|
|
86
88
|
bottomInfo: import("vue").ComputedRef<import("vue").Slot<any> | undefined>;
|
|
87
89
|
footerInfo: import("vue").ComputedRef<import("vue").Slot<any> | undefined>;
|
|
88
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "close" | "update:visible" | "choose")[], "select" | "close" | "update:visible" | "choose", import("vue").
|
|
90
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "close" | "update:visible" | "choose")[], "select" | "close" | "update:visible" | "choose", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
89
91
|
type: {
|
|
90
92
|
type: StringConstructor;
|
|
91
93
|
default: string;
|
|
@@ -156,9 +158,9 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
156
158
|
};
|
|
157
159
|
disabledDate: FunctionConstructor;
|
|
158
160
|
}>> & {
|
|
159
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
160
161
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
161
162
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
163
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
162
164
|
onChoose?: ((...args: any[]) => any) | undefined;
|
|
163
165
|
}, {
|
|
164
166
|
title: string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const Left: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
}>;
|
|
4
|
+
export declare const Right: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
}>;
|
|
7
|
+
export declare const DoubleLeft: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
}>;
|
|
10
|
+
export declare const DoubleRight: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const Left: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
}>;
|
|
4
|
+
export declare const Right: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
}>;
|
|
7
|
+
export declare const DoubleLeft: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
}>;
|
|
10
|
+
export declare const DoubleRight: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}>;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { CalendarCardDay, CalendarCardType, CalendarCardValue } from './types';
|
|
3
|
+
|
|
4
|
+
declare type Install<T> = T & {
|
|
5
|
+
install(app: import('vue').App): void;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: Install< import("vue").DefineComponent<{
|
|
8
|
+
type: {
|
|
9
|
+
type: PropType<CalendarCardType>;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
firstDayOfWeek: {
|
|
13
|
+
type: NumberConstructor;
|
|
14
|
+
default: number;
|
|
15
|
+
};
|
|
16
|
+
modelValue: {
|
|
17
|
+
type: PropType<CalendarCardValue>;
|
|
18
|
+
default: () => never[];
|
|
19
|
+
};
|
|
20
|
+
startDate: {
|
|
21
|
+
type: DateConstructor;
|
|
22
|
+
default: null;
|
|
23
|
+
};
|
|
24
|
+
endDate: {
|
|
25
|
+
type: DateConstructor;
|
|
26
|
+
default: null;
|
|
27
|
+
};
|
|
28
|
+
disableDay: {
|
|
29
|
+
type: FunctionConstructor;
|
|
30
|
+
default: () => boolean;
|
|
31
|
+
};
|
|
32
|
+
}, {
|
|
33
|
+
days: import("vue").Ref<{
|
|
34
|
+
type?: "next" | "prev" | "current" | undefined;
|
|
35
|
+
year: number;
|
|
36
|
+
month: number;
|
|
37
|
+
date: number;
|
|
38
|
+
}[]>;
|
|
39
|
+
month: import("vue").Ref<{
|
|
40
|
+
year: number;
|
|
41
|
+
month: number;
|
|
42
|
+
}>;
|
|
43
|
+
weekHeader: import("vue").ComputedRef<{
|
|
44
|
+
name: string;
|
|
45
|
+
key: number;
|
|
46
|
+
}[]>;
|
|
47
|
+
getClasses: (day: CalendarCardDay) => string[];
|
|
48
|
+
handleDayClick: (day: CalendarCardDay) => void;
|
|
49
|
+
jump: (step?: number) => void;
|
|
50
|
+
translate: (keyPath: string, ...args: unknown[]) => any;
|
|
51
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "dayClick" | "pageChange")[], "change" | "update:modelValue" | "dayClick" | "pageChange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
52
|
+
type: {
|
|
53
|
+
type: PropType<CalendarCardType>;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
firstDayOfWeek: {
|
|
57
|
+
type: NumberConstructor;
|
|
58
|
+
default: number;
|
|
59
|
+
};
|
|
60
|
+
modelValue: {
|
|
61
|
+
type: PropType<CalendarCardValue>;
|
|
62
|
+
default: () => never[];
|
|
63
|
+
};
|
|
64
|
+
startDate: {
|
|
65
|
+
type: DateConstructor;
|
|
66
|
+
default: null;
|
|
67
|
+
};
|
|
68
|
+
endDate: {
|
|
69
|
+
type: DateConstructor;
|
|
70
|
+
default: null;
|
|
71
|
+
};
|
|
72
|
+
disableDay: {
|
|
73
|
+
type: FunctionConstructor;
|
|
74
|
+
default: () => boolean;
|
|
75
|
+
};
|
|
76
|
+
}>> & {
|
|
77
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
78
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
79
|
+
onDayClick?: ((...args: any[]) => any) | undefined;
|
|
80
|
+
onPageChange?: ((...args: any[]) => any) | undefined;
|
|
81
|
+
}, {
|
|
82
|
+
type: CalendarCardType;
|
|
83
|
+
modelValue: CalendarCardValue;
|
|
84
|
+
startDate: Date;
|
|
85
|
+
endDate: Date;
|
|
86
|
+
firstDayOfWeek: number;
|
|
87
|
+
disableDay: Function;
|
|
88
|
+
}, {}>>;
|
|
89
|
+
export default _default;
|
|
90
|
+
|
|
91
|
+
declare module 'vue' {
|
|
92
|
+
interface GlobalComponents {
|
|
93
|
+
NutCalendarCard: typeof _default;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type CalendarCardType = 'single' | 'multiple' | 'range' | 'week';
|
|
2
|
+
export interface CalendarCardDay {
|
|
3
|
+
type?: 'prev' | 'current' | 'next';
|
|
4
|
+
year: number;
|
|
5
|
+
month: number;
|
|
6
|
+
date: number;
|
|
7
|
+
}
|
|
8
|
+
export interface CalendarCardMonth {
|
|
9
|
+
year: number;
|
|
10
|
+
month: number;
|
|
11
|
+
}
|
|
12
|
+
export type CalendarCardValue = Date | Date[] | null;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { CalendarCardDay, CalendarCardMonth, CalendarCardValue } from './types';
|
|
2
|
+
export declare const convertDateToDay: (date: Date) => {
|
|
3
|
+
year: number;
|
|
4
|
+
month: number;
|
|
5
|
+
date: number;
|
|
6
|
+
} | null;
|
|
7
|
+
export declare const convertDayToDate: (day: CalendarCardDay) => Date | null;
|
|
8
|
+
export declare const valueToRange: (val?: CalendarCardValue) => ({
|
|
9
|
+
year: number;
|
|
10
|
+
month: number;
|
|
11
|
+
date: number;
|
|
12
|
+
} | null)[];
|
|
13
|
+
export declare const rangeTovalue: (range?: CalendarCardDay[]) => (Date | null)[];
|
|
14
|
+
export declare const getPrevMonthDays: (year: number, month: number, firstDayOfWeek: number) => CalendarCardDay[];
|
|
15
|
+
export declare const getCurrentMonthDays: (year: number, month: number) => CalendarCardDay[];
|
|
16
|
+
export declare const getCurrentWeekDays: (day: CalendarCardDay, firstDayOfWeek: number) => CalendarCardDay[];
|
|
17
|
+
export declare const getDays: (month: CalendarCardMonth, firstDayOfWeek: number) => CalendarCardDay[];
|
|
18
|
+
export declare const compareDay: (day1: CalendarCardDay, day2: CalendarCardDay) => number | undefined;
|
|
19
|
+
export declare const isSameDay: (day1: CalendarCardDay, day2: CalendarCardDay) => boolean;
|
|
@@ -125,7 +125,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
125
125
|
isCurrDay: (dateInfo: Day) => boolean;
|
|
126
126
|
confirm: () => void;
|
|
127
127
|
months: import("vue").Ref<HTMLElement | null>;
|
|
128
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "close" | "choose" | "update")[], "select" | "close" | "choose" | "update", import("vue").
|
|
128
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "close" | "choose" | "update")[], "select" | "close" | "choose" | "update", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
129
129
|
type: {
|
|
130
130
|
type: StringConstructor;
|
|
131
131
|
default: string;
|
|
@@ -35,7 +35,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
35
35
|
type: BooleanConstructor;
|
|
36
36
|
default: boolean;
|
|
37
37
|
};
|
|
38
|
-
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
38
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
39
39
|
imgUrl: {
|
|
40
40
|
type: StringConstructor;
|
|
41
41
|
default: string;
|
|
@@ -34,7 +34,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
34
34
|
panes: Ref<CascaderPane[]>;
|
|
35
35
|
initLoading: Ref<boolean>;
|
|
36
36
|
tabsCursor: Ref<number>;
|
|
37
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "pathChange")[], "change" | "update:modelValue" | "pathChange", import("vue").
|
|
37
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "pathChange")[], "change" | "update:modelValue" | "pathChange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
38
38
|
visible: BooleanConstructor;
|
|
39
39
|
modelValue: ArrayConstructor;
|
|
40
40
|
options: {
|
|
@@ -115,7 +115,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
115
115
|
onPathChange: (pathNodes: CascaderOption[]) => void;
|
|
116
116
|
innerValue: Ref<CascaderValue>;
|
|
117
117
|
innerVisible: import("vue").WritableComputedRef<boolean>;
|
|
118
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
118
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:visible" | "update:modelValue" | "pathChange")[], "change" | "update:visible" | "update:modelValue" | "pathChange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
119
119
|
modelValue: ArrayConstructor;
|
|
120
120
|
visible: BooleanConstructor;
|
|
121
121
|
title: StringConstructor;
|
|
@@ -222,8 +222,8 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
222
222
|
default: () => {};
|
|
223
223
|
};
|
|
224
224
|
}>> & {
|
|
225
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
226
225
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
226
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
227
227
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
228
228
|
onPathChange?: ((...args: any[]) => any) | undefined;
|
|
229
229
|
}, {
|
|
@@ -20,7 +20,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
20
20
|
getChildList: (index: any) => void;
|
|
21
21
|
checkIndex: import("vue").Ref<number>;
|
|
22
22
|
categoryLeft: import("vue").Ref<boolean>;
|
|
23
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
23
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
24
|
type: {
|
|
25
25
|
type: StringConstructor;
|
|
26
26
|
default: string;
|
|
@@ -27,7 +27,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
27
27
|
};
|
|
28
28
|
}, {
|
|
29
29
|
onChange: (sku: string) => void;
|
|
30
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
30
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
31
|
type: {
|
|
32
32
|
type: StringConstructor;
|
|
33
33
|
default: string;
|
|
@@ -54,7 +54,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
54
54
|
borderRadius: string | undefined;
|
|
55
55
|
}>;
|
|
56
56
|
descStyle: import("vue").ComputedRef<CSSProperties>;
|
|
57
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").
|
|
57
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
58
58
|
title: {
|
|
59
59
|
type: StringConstructor;
|
|
60
60
|
default: string;
|
|
@@ -99,11 +99,11 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
99
99
|
}>> & {
|
|
100
100
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
101
101
|
}, {
|
|
102
|
+
size: string;
|
|
102
103
|
title: string;
|
|
104
|
+
replace: boolean;
|
|
103
105
|
center: boolean;
|
|
104
106
|
desc: string;
|
|
105
|
-
replace: boolean;
|
|
106
|
-
size: string;
|
|
107
107
|
url: string;
|
|
108
108
|
subTitle: string;
|
|
109
109
|
descTextAlign: string;
|
|
@@ -11,7 +11,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
11
11
|
type: StringConstructor;
|
|
12
12
|
default: string;
|
|
13
13
|
};
|
|
14
|
-
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
14
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
15
|
title: {
|
|
16
16
|
type: StringConstructor;
|
|
17
17
|
default: string;
|