@nutui/nutui 4.3.10 → 4.3.11
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 +16 -1
- package/dist/nutui.es.js +1 -1
- package/dist/nutui.js +2803 -2820
- package/dist/nutui.umd.js +1 -1
- package/dist/packages/{Interceptor-DlY2h6Y7.js → Interceptor-CBzqGJrl.js} +1 -1
- package/dist/packages/address/Address.js +5 -9
- package/dist/packages/addresslist/AddressList.js +3 -4
- package/dist/packages/audiooperate/AudioOperate.js +1 -1
- package/dist/packages/avatarcropper/AvatarCropper.js +3 -5
- package/dist/packages/avatargroup/AvatarGroup.js +1 -2
- package/dist/packages/badge/Badge.js +1 -2
- package/dist/packages/calendar/Calendar.js +1 -1
- package/dist/packages/calendarcard/CalendarCard.js +1 -1
- package/dist/packages/cascader/Cascader.js +2 -5
- package/dist/packages/checkbox/Checkbox.js +1 -2
- package/dist/packages/circleprogress/CircleProgress.js +1 -1
- package/dist/packages/collapseitem/CollapseItem.js +1 -1
- package/dist/packages/comment/Comment.js +2 -3
- package/dist/packages/configprovider/ConfigProvider.js +2 -4
- package/dist/packages/countdown/Countdown.js +3 -5
- package/dist/packages/datepicker/DatePicker.js +1 -1
- package/dist/packages/dialog/Dialog.js +4 -7
- package/dist/packages/ecard/Ecard.js +1 -1
- package/dist/packages/elevator/Elevator.js +4 -8
- package/dist/packages/ellipsis/Ellipsis.js +2 -4
- package/dist/packages/empty/Empty.js +1 -1
- package/dist/packages/fixednav/FixedNav.js +1 -1
- package/dist/packages/form/Form.js +1 -1
- package/dist/packages/image/Image.js +2 -4
- package/dist/packages/imagepreview/ImagePreview.js +5 -9
- package/dist/packages/{index-CFigyH92.js → index-BOB4ytqZ.js} +1 -1
- package/dist/packages/indicator/Indicator.js +1 -1
- package/dist/packages/infiniteloading/InfiniteLoading.js +2 -2
- package/dist/packages/input/Input.js +1 -2
- package/dist/packages/inputnumber/InputNumber.js +7 -14
- package/dist/packages/list/List.js +1 -2
- package/dist/packages/locale/lang/en-US.js +1 -4
- package/dist/packages/locale/lang/id-ID.js +1 -4
- package/dist/packages/locale/lang/index.js +1 -4
- package/dist/packages/locale/lang/zh-CN.js +1 -4
- package/dist/packages/locale/lang/zh-TW.js +1 -4
- package/dist/packages/{mountComponent-DBQ88Fjz.js → mountComponent-CLi4Nz91.js} +1 -1
- package/dist/packages/noticebar/Noticebar.js +1 -2
- package/dist/packages/numberkeyboard/NumberKeyboard.js +1 -1
- package/dist/packages/overlay/Overlay.js +1 -1
- package/dist/packages/pagination/Pagination.js +5 -9
- package/dist/packages/picker/Picker.js +9 -5
- package/dist/packages/popover/Popover.js +2 -3
- package/dist/packages/pullrefresh/PullRefresh.js +4 -6
- package/dist/packages/radio/Radio.js +1 -2
- package/dist/packages/range/Range.js +1 -1
- package/dist/packages/rate/Rate.js +4 -7
- package/dist/packages/{renderIcon-BfOvhG7i.js → renderIcon-CfE94nuJ.js} +1 -2
- package/dist/packages/searchbar/Searchbar.js +2 -2
- package/dist/packages/shortpassword/ShortPassword.js +1 -1
- package/dist/packages/signature/Signature.js +1 -1
- package/dist/packages/sku/Sku.js +1 -1
- package/dist/packages/space/Space.js +1 -2
- package/dist/packages/step/Step.js +1 -2
- package/dist/packages/sticky/Sticky.js +3 -6
- package/dist/packages/swipe/Swipe.js +2 -4
- package/dist/packages/swiper/Swiper.js +7 -13
- package/dist/packages/switch/Switch.js +1 -2
- package/dist/packages/tabbar/Tabbar.js +28 -3
- package/dist/packages/tabbaritem/TabbarItem.js +38 -15
- package/dist/packages/table/Table.js +1 -1
- package/dist/packages/tabs/Tabs.js +7 -15
- package/dist/packages/textarea/Textarea.js +3 -5
- package/dist/packages/timeselect/TimeSelect.js +1 -1
- package/dist/packages/toast/Toast.js +2 -2
- package/dist/packages/trendarrow/TrendArrow.js +1 -1
- package/dist/packages/uploader/Uploader.js +4 -8
- package/dist/packages/{util-DnfK0Qan.js → util-D1pvnUYu.js} +1 -2
- package/dist/packages/video/Video.js +2 -3
- package/dist/resolver/index.js +2 -4
- package/dist/resolver/index.mjs +2 -4
- package/dist/smartips/web-types.json +13 -4
- package/dist/types/__VUE/datepicker/index.vue.d.ts +1 -63
- package/dist/types/__VUE/menu/index.vue.d.ts +1 -1
- package/dist/types/__VUE/picker/Column.vue.d.ts +1 -0
- package/dist/types/__VUE/tabbar/tabbar.vue.d.ts +6 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/utils/useRelation/useChildren.d.ts +1 -1
- package/package.json +1 -1
- package/dist/style.js +0 -1
|
@@ -19,9 +19,9 @@ var __spreadValues = (a, b) => {
|
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { reactive, onMounted, watch, computed, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, createElementBlock, resolveDynamicComponent, createCommentVNode, toDisplayString, vShow, createVNode, render } from "vue";
|
|
21
21
|
import { c as createComponent } from "../component-DQf3CENX.js";
|
|
22
|
-
import { r as renderIcon } from "../renderIcon-
|
|
22
|
+
import { r as renderIcon } from "../renderIcon-CfE94nuJ.js";
|
|
23
23
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-1tPrXgE0.js";
|
|
24
|
-
import { C as CreateComponent } from "../mountComponent-
|
|
24
|
+
import { C as CreateComponent } from "../mountComponent-CLi4Nz91.js";
|
|
25
25
|
import { Success, Failure, Tips, Loading } from "@nutui/icons-vue";
|
|
26
26
|
const { create } = createComponent("toast");
|
|
27
27
|
const _sfc_main = create({
|
|
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, toDisplayString, createCommentVNode, renderSlot, createVNode, unref } from "vue";
|
|
21
|
-
import { m as myFixed } from "../util-
|
|
21
|
+
import { m as myFixed } from "../util-D1pvnUYu.js";
|
|
22
22
|
import { TriangleUp, TriangleDown } from "@nutui/icons-vue";
|
|
23
23
|
import { w as withInstall } from "../with-install-Ch3FF0uS.js";
|
|
24
24
|
const _hoisted_1 = { class: "nut-trend-arrow" };
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
|
-
var __publicField = (obj, key, value) =>
|
|
4
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
|
-
return value;
|
|
6
|
-
};
|
|
3
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
7
4
|
import { toRef, ref, watch, h, reactive, resolveComponent, openBlock, createElementBlock, renderSlot, createBlock, resolveDynamicComponent, createCommentVNode, Fragment, renderList, normalizeClass, createElementVNode, toDisplayString, createVNode, withModifiers } from "vue";
|
|
8
5
|
import { c as createComponent } from "../component-DQf3CENX.js";
|
|
9
|
-
import { f as funInterceptor } from "../Interceptor-
|
|
6
|
+
import { f as funInterceptor } from "../Interceptor-CBzqGJrl.js";
|
|
10
7
|
import { Progress as _sfc_main$1 } from "../progress/Progress.js";
|
|
11
8
|
import { Photograph, Failure, Loading, Del, Link } from "@nutui/icons-vue";
|
|
12
|
-
import { u as useLocale } from "../index-
|
|
9
|
+
import { u as useLocale } from "../index-BOB4ytqZ.js";
|
|
13
10
|
import { u as useFormDisabled } from "../common-BH7uB7Cn.js";
|
|
14
11
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-1tPrXgE0.js";
|
|
15
12
|
class UploadOptions {
|
|
@@ -312,8 +309,7 @@ const _sfc_main = create({
|
|
|
312
309
|
});
|
|
313
310
|
};
|
|
314
311
|
const onDelete = (file, index2) => {
|
|
315
|
-
if (disabled.value)
|
|
316
|
-
return;
|
|
312
|
+
if (disabled.value) return;
|
|
317
313
|
clearUploadQueue(index2);
|
|
318
314
|
funInterceptor(props.beforeDelete, {
|
|
319
315
|
args: [file, fileList.value],
|
|
@@ -65,8 +65,7 @@ const floatData = (format, dataOp, mapOps) => {
|
|
|
65
65
|
mergeFormat[keys] = dataOp[mergeMapOps[keys]];
|
|
66
66
|
}
|
|
67
67
|
} else {
|
|
68
|
-
if (dataOp[keys])
|
|
69
|
-
mergeFormat[keys] = dataOp[keys];
|
|
68
|
+
if (dataOp[keys]) mergeFormat[keys] = dataOp[keys];
|
|
70
69
|
}
|
|
71
70
|
});
|
|
72
71
|
return mergeFormat;
|
|
@@ -19,7 +19,7 @@ var __spreadValues = (a, b) => {
|
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { reactive, ref, computed, watch, nextTick, onMounted, toRefs, openBlock, createElementBlock, createElementVNode, createCommentVNode, withDirectives, vShow, normalizeClass, toDisplayString, normalizeStyle, withModifiers } from "vue";
|
|
21
21
|
import { c as createComponent } from "../component-DQf3CENX.js";
|
|
22
|
-
import { u as useLocale } from "../index-
|
|
22
|
+
import { u as useLocale } from "../index-BOB4ytqZ.js";
|
|
23
23
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-1tPrXgE0.js";
|
|
24
24
|
function throttle(fn, delay) {
|
|
25
25
|
let timer = null;
|
|
@@ -27,8 +27,7 @@ function throttle(fn, delay) {
|
|
|
27
27
|
return function(...args) {
|
|
28
28
|
const now = Date.now();
|
|
29
29
|
const remaining = delay - (now - startTime);
|
|
30
|
-
if (timer)
|
|
31
|
-
clearTimeout(timer);
|
|
30
|
+
if (timer) clearTimeout(timer);
|
|
32
31
|
if (remaining <= 0) {
|
|
33
32
|
fn(...args);
|
|
34
33
|
startTime = Date.now();
|
package/dist/resolver/index.js
CHANGED
|
@@ -16,10 +16,8 @@ function NutUIResolver(options = {}) {
|
|
|
16
16
|
type: "component",
|
|
17
17
|
resolve: (name) => {
|
|
18
18
|
const { autoImport = false } = options;
|
|
19
|
-
if (autoImport && nutFunctions.includes(name))
|
|
20
|
-
|
|
21
|
-
if (name.startsWith("Nut"))
|
|
22
|
-
return getNutResolved(name.slice(3), options);
|
|
19
|
+
if (autoImport && nutFunctions.includes(name)) return getNutResolved(name, options);
|
|
20
|
+
if (name.startsWith("Nut")) return getNutResolved(name.slice(3), options);
|
|
23
21
|
}
|
|
24
22
|
};
|
|
25
23
|
}
|
package/dist/resolver/index.mjs
CHANGED
|
@@ -15,10 +15,8 @@ function NutUIResolver(options = {}) {
|
|
|
15
15
|
type: "component",
|
|
16
16
|
resolve: (name) => {
|
|
17
17
|
const { autoImport = false } = options;
|
|
18
|
-
if (autoImport && nutFunctions.includes(name))
|
|
19
|
-
|
|
20
|
-
if (name.startsWith("Nut"))
|
|
21
|
-
return getNutResolved(name.slice(3), options);
|
|
18
|
+
if (autoImport && nutFunctions.includes(name)) return getNutResolved(name, options);
|
|
19
|
+
if (name.startsWith("Nut")) return getNutResolved(name.slice(3), options);
|
|
22
20
|
}
|
|
23
21
|
};
|
|
24
22
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "NutUI",
|
|
5
|
-
"version": "4.3.
|
|
5
|
+
"version": "4.3.11",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"tags": [
|
|
@@ -6418,7 +6418,7 @@
|
|
|
6418
6418
|
"arguments": [
|
|
6419
6419
|
{
|
|
6420
6420
|
"name": "modelValue",
|
|
6421
|
-
"type": "number"
|
|
6421
|
+
"type": "string | number"
|
|
6422
6422
|
}
|
|
6423
6423
|
]
|
|
6424
6424
|
}
|
|
@@ -6429,7 +6429,7 @@
|
|
|
6429
6429
|
"default": "`0`",
|
|
6430
6430
|
"description": "选中标签的索引值或者名称",
|
|
6431
6431
|
"value": {
|
|
6432
|
-
"type": "number",
|
|
6432
|
+
"type": "string | number",
|
|
6433
6433
|
"kind": "expression"
|
|
6434
6434
|
}
|
|
6435
6435
|
},
|
|
@@ -6438,7 +6438,7 @@
|
|
|
6438
6438
|
"default": "`0`",
|
|
6439
6439
|
"description": "选中标签的索引值或者名称",
|
|
6440
6440
|
"value": {
|
|
6441
|
-
"type": "number",
|
|
6441
|
+
"type": "string | number",
|
|
6442
6442
|
"kind": "expression"
|
|
6443
6443
|
}
|
|
6444
6444
|
},
|
|
@@ -6486,6 +6486,15 @@
|
|
|
6486
6486
|
"type": "boolean",
|
|
6487
6487
|
"kind": "expression"
|
|
6488
6488
|
}
|
|
6489
|
+
},
|
|
6490
|
+
{
|
|
6491
|
+
"name": "before-switch ",
|
|
6492
|
+
"default": "`() => true`",
|
|
6493
|
+
"description": "切换前的回调函数,返回 false 时拦截切换操作",
|
|
6494
|
+
"value": {
|
|
6495
|
+
"type": "`(data, value) => boolean | promise<boolean>`",
|
|
6496
|
+
"kind": "expression"
|
|
6497
|
+
}
|
|
6489
6498
|
}
|
|
6490
6499
|
]
|
|
6491
6500
|
},
|
|
@@ -76,69 +76,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
76
76
|
closeHandler: (val: any) => void;
|
|
77
77
|
confirm: (val: any) => void;
|
|
78
78
|
columns: import("vue").ComputedRef<PickerOption[][]>;
|
|
79
|
-
currentDate: import("vue").Ref<
|
|
80
|
-
toString: () => string;
|
|
81
|
-
toDateString: () => string;
|
|
82
|
-
toTimeString: () => string;
|
|
83
|
-
toLocaleString: {
|
|
84
|
-
(): string;
|
|
85
|
-
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
|
86
|
-
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
|
87
|
-
};
|
|
88
|
-
toLocaleDateString: {
|
|
89
|
-
(): string;
|
|
90
|
-
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
|
91
|
-
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
|
92
|
-
};
|
|
93
|
-
toLocaleTimeString: {
|
|
94
|
-
(): string;
|
|
95
|
-
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
|
96
|
-
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
|
97
|
-
};
|
|
98
|
-
valueOf: () => number;
|
|
99
|
-
getTime: () => number;
|
|
100
|
-
getFullYear: () => number;
|
|
101
|
-
getUTCFullYear: () => number;
|
|
102
|
-
getMonth: () => number;
|
|
103
|
-
getUTCMonth: () => number;
|
|
104
|
-
getDate: () => number;
|
|
105
|
-
getUTCDate: () => number;
|
|
106
|
-
getDay: () => number;
|
|
107
|
-
getUTCDay: () => number;
|
|
108
|
-
getHours: () => number;
|
|
109
|
-
getUTCHours: () => number;
|
|
110
|
-
getMinutes: () => number;
|
|
111
|
-
getUTCMinutes: () => number;
|
|
112
|
-
getSeconds: () => number;
|
|
113
|
-
getUTCSeconds: () => number;
|
|
114
|
-
getMilliseconds: () => number;
|
|
115
|
-
getUTCMilliseconds: () => number;
|
|
116
|
-
getTimezoneOffset: () => number;
|
|
117
|
-
setTime: (time: number) => number;
|
|
118
|
-
setMilliseconds: (ms: number) => number;
|
|
119
|
-
setUTCMilliseconds: (ms: number) => number;
|
|
120
|
-
setSeconds: (sec: number, ms?: number | undefined) => number;
|
|
121
|
-
setUTCSeconds: (sec: number, ms?: number | undefined) => number;
|
|
122
|
-
setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
|
123
|
-
setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
|
124
|
-
setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
|
125
|
-
setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
|
126
|
-
setDate: (date: number) => number;
|
|
127
|
-
setUTCDate: (date: number) => number;
|
|
128
|
-
setMonth: (month: number, date?: number | undefined) => number;
|
|
129
|
-
setUTCMonth: (month: number, date?: number | undefined) => number;
|
|
130
|
-
setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
|
131
|
-
setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
|
132
|
-
toUTCString: () => string;
|
|
133
|
-
toISOString: () => string;
|
|
134
|
-
toJSON: (key?: any) => string;
|
|
135
|
-
[Symbol.toPrimitive]: {
|
|
136
|
-
(hint: "default"): string;
|
|
137
|
-
(hint: "string"): string;
|
|
138
|
-
(hint: "number"): number;
|
|
139
|
-
(hint: string): string | number;
|
|
140
|
-
};
|
|
141
|
-
}>;
|
|
79
|
+
currentDate: import("vue").Ref<Date>;
|
|
142
80
|
title: import("vue").Ref<string>;
|
|
143
81
|
selectedValue: import("vue").Ref<any[]>;
|
|
144
82
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "cancel" | "change" | "update:modelValue" | "confirm")[], "click" | "cancel" | "change" | "update:modelValue" | "confirm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -39,7 +39,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
39
39
|
};
|
|
40
40
|
}, {
|
|
41
41
|
toggleItem: (active: number) => void;
|
|
42
|
-
children: any[]
|
|
42
|
+
children: import("vue").Reactive<any[]>;
|
|
43
43
|
opened: import("vue").ComputedRef<boolean>;
|
|
44
44
|
classes: import("vue").ComputedRef<{
|
|
45
45
|
[x: string]: boolean;
|
|
@@ -38,6 +38,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
38
38
|
}, {
|
|
39
39
|
setRollerStyle: (index: number) => string;
|
|
40
40
|
isHidden: (index: number) => boolean;
|
|
41
|
+
isCurrPick: (index: number) => boolean;
|
|
41
42
|
roller: import("vue").Ref<null>;
|
|
42
43
|
onTouchStart: (event: TouchEvent) => void;
|
|
43
44
|
onTouchMove: (event: TouchEvent) => void;
|
|
@@ -6,6 +6,7 @@ export type TabbarProps = Partial<{
|
|
|
6
6
|
activeColor: string;
|
|
7
7
|
safeAreaInsetBottom: boolean;
|
|
8
8
|
placeholder: boolean;
|
|
9
|
+
beforeSwitch: (data: any, active: string | number) => boolean | Promise<boolean>;
|
|
9
10
|
}>;
|
|
10
11
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
11
12
|
modelValue: string | number;
|
|
@@ -14,6 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
14
15
|
activeColor: string;
|
|
15
16
|
safeAreaInsetBottom: boolean;
|
|
16
17
|
placeholder: boolean;
|
|
18
|
+
beforeSwitch: (data: any, active: string | number) => boolean | Promise<boolean>;
|
|
17
19
|
}>>, {
|
|
18
20
|
modelValue: number;
|
|
19
21
|
bottom: boolean;
|
|
@@ -21,6 +23,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
21
23
|
activeColor: string;
|
|
22
24
|
safeAreaInsetBottom: boolean;
|
|
23
25
|
placeholder: boolean;
|
|
26
|
+
beforeSwitch: () => true;
|
|
24
27
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
28
|
"update:modelValue": (...args: any[]) => void;
|
|
26
29
|
tabSwitch: (...args: any[]) => void;
|
|
@@ -31,6 +34,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
31
34
|
activeColor: string;
|
|
32
35
|
safeAreaInsetBottom: boolean;
|
|
33
36
|
placeholder: boolean;
|
|
37
|
+
beforeSwitch: (data: any, active: string | number) => boolean | Promise<boolean>;
|
|
34
38
|
}>>, {
|
|
35
39
|
modelValue: number;
|
|
36
40
|
bottom: boolean;
|
|
@@ -38,6 +42,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
38
42
|
activeColor: string;
|
|
39
43
|
safeAreaInsetBottom: boolean;
|
|
40
44
|
placeholder: boolean;
|
|
45
|
+
beforeSwitch: () => true;
|
|
41
46
|
}>>> & {
|
|
42
47
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
43
48
|
onTabSwitch?: ((...args: any[]) => any) | undefined;
|
|
@@ -48,6 +53,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
48
53
|
activeColor: string;
|
|
49
54
|
modelValue: string | number;
|
|
50
55
|
unactiveColor: string;
|
|
56
|
+
beforeSwitch: (data: any, active: string | number) => boolean | Promise<boolean>;
|
|
51
57
|
}, {}>, {
|
|
52
58
|
default?(_: {}): any;
|
|
53
59
|
}>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -154,7 +154,7 @@ import Invoice from './__VUE/invoice/index';
|
|
|
154
154
|
export * from './__VUE/invoice/index';
|
|
155
155
|
import AvatarCropper from './__VUE/avatarcropper/index.vue';
|
|
156
156
|
declare function install(app: App): void;
|
|
157
|
-
declare const version = "4.3.
|
|
157
|
+
declare const version = "4.3.11";
|
|
158
158
|
export { install, version, Locale, Button, Cell, CellGroup, Overlay, Popup, ConfigProvider, Image, Layout, Col, Row, Sticky, Divider, Grid, GridItem, Space, Navbar, FixedNav, Menu, MenuItem, Tabbar, TabbarItem, Elevator, Pagination, Tabs, TabPane, Indicator, SideNavbar, SideNavbarItem, SubSideNavbar, Range, Searchbar, Cascader, Calendar, CalendarCard, Checkbox, CheckboxGroup, DatePicker, InputNumber, Input, Radio, RadioGroup, Rate, Picker, ShortPassword, Textarea, Uploader, NumberKeyboard, Form, FormItem, Swipe, SwipeGroup, ActionSheet, Backtop, Drag, Dialog, InfiniteLoading, PullRefresh, Notify, Switch, Toast, Audio, AudioOperate, Avatar, AvatarGroup, List, Progress, CircleProgress, Noticebar, Empty, Video, Steps, Step, Swiper, SwiperItem, Price, ImagePreview, Countup, Countdown, Badge, Tag, Popover, Skeleton, Collapse, CollapseItem, Table, Animate, Ellipsis, Watermark, TrendArrow, Tour, Address, Barrage, Signature, TimeSelect, TimePannel, TimeDetail, Sku, Card, Ecard, AddressList, Category, CategoryPane, Comment, Invoice, AvatarCropper, showDialog, showNotify, showToast, showImagePreview };
|
|
159
159
|
declare const _default: {
|
|
160
160
|
install: typeof install;
|
package/package.json
CHANGED
package/dist/style.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|