@nutui/nutui 4.2.2-beta.3 → 4.2.3
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 +39 -0
- package/README.md +34 -21
- package/dist/nutui.es.js +1 -1
- package/dist/nutui.js +4128 -4136
- package/dist/nutui.umd.js +1 -1
- package/dist/packages/{Interceptor-6aab6fe0.js → Interceptor-WYVtGbGC.js} +1 -1
- package/dist/packages/actionsheet/ActionSheet.js +4 -4
- package/dist/packages/address/Address.js +7 -8
- package/dist/packages/addresslist/AddressList.js +6 -5
- package/dist/packages/animate/Animate.js +2 -2
- package/dist/packages/audio/Audio.js +5 -5
- package/dist/packages/audiooperate/AudioOperate.js +4 -4
- package/dist/packages/avatar/Avatar.js +5 -65
- package/dist/packages/avatarcropper/AvatarCropper.js +5 -5
- package/dist/packages/avatargroup/AvatarGroup.js +4 -4
- package/dist/packages/backtop/Backtop.js +3 -3
- package/dist/packages/badge/Badge.js +2 -2
- package/dist/packages/barrage/Barrage.js +2 -2
- package/dist/packages/button/Button.js +2 -2
- package/dist/packages/calendar/Calendar.js +8 -8
- package/dist/packages/calendaritem/CalendarItem.js +7 -7
- package/dist/packages/card/Card.js +2 -2
- package/dist/packages/cascader/Cascader.js +10 -10
- package/dist/packages/category/Category.js +2 -2
- package/dist/packages/categorypane/CategoryPane.js +2 -2
- package/dist/packages/cell/Cell.js +4 -4
- package/dist/packages/cellgroup/CellGroup.js +2 -2
- package/dist/packages/checkbox/Checkbox.js +4 -3
- package/dist/packages/checkboxgroup/CheckboxGroup.js +4 -3
- package/dist/packages/circleprogress/CircleProgress.js +3 -3
- package/dist/packages/col/Col.js +6 -5
- package/dist/packages/collapse/Collapse.js +7 -6
- package/dist/packages/collapseitem/CollapseItem.js +9 -9
- package/dist/packages/comment/Comment.js +7 -7
- package/dist/packages/{common-72c11f1d.js → common-4inKawxR.js} +3 -3
- package/dist/packages/configprovider/ConfigProvider.js +1 -1
- package/dist/packages/countdown/Countdown.js +4 -4
- package/dist/packages/countup/Countup.js +2 -2
- package/dist/packages/datepicker/DatePicker.js +6 -6
- package/dist/packages/dialog/Dialog.js +7 -7
- package/dist/packages/divider/Divider.js +2 -2
- package/dist/packages/drag/Drag.js +3 -3
- package/dist/packages/ecard/Ecard.js +5 -5
- package/dist/packages/elevator/Elevator.js +3 -3
- package/dist/packages/ellipsis/Ellipsis.js +2 -2
- package/dist/packages/empty/Empty.js +5 -5
- package/dist/packages/fixednav/FixedNav.js +4 -4
- package/dist/packages/form/Form.js +6 -44
- package/dist/packages/formitem/FormItem.js +8 -21
- package/dist/packages/grid/Grid.js +3 -3
- package/dist/packages/griditem/GridItem.js +5 -5
- package/dist/packages/image/Image.js +3 -3
- package/dist/packages/imagepreview/ImagePreview.js +12 -11
- package/dist/packages/index--uVlasFu.js +69 -0
- package/dist/packages/{index-914a76f0.js → index-cDNmNOtI.js} +5 -5
- package/dist/packages/{index-37ae1f41.js → index-rbZsBckW.js} +2 -2
- package/dist/packages/{index-c0fa0f6b.js → index-s3RgMhc7.js} +1 -1
- package/dist/packages/{index.vue_vue_type_script_lang-825ed1e0.js → index.vue_vue_type_script_lang-KuoPcQZs.js} +4 -3
- package/dist/packages/{index.vue_vue_type_script_lang-0185ccea.js → index.vue_vue_type_script_lang-Lc2BXA17.js} +3 -2
- package/dist/packages/indicator/Indicator.js +3 -3
- package/dist/packages/infiniteloading/InfiniteLoading.js +6 -6
- package/dist/packages/input/Input.js +2 -2
- package/dist/packages/inputnumber/InputNumber.js +7 -3
- package/dist/packages/invoice/Invoice.js +11 -7
- package/dist/packages/layout/Layout.js +1 -1
- package/dist/packages/list/List.js +4 -3
- package/dist/packages/locale/lang/en-US.js +1 -1
- package/dist/packages/locale/lang/id-ID.js +1 -1
- package/dist/packages/locale/lang/index.js +1 -1
- package/dist/packages/locale/lang/zh-CN.js +1 -1
- package/dist/packages/locale/lang/zh-TW.js +1 -1
- package/dist/packages/menu/Menu.js +17 -52
- package/dist/packages/menuitem/MenuItem.js +8 -18
- package/dist/packages/{mountComponent-867a9167.js → mountComponent-uInXoTMp.js} +1 -1
- package/dist/packages/navbar/Navbar.js +2 -2
- package/dist/packages/noticebar/Noticebar.js +3 -3
- package/dist/packages/notify/Notify.js +4 -4
- package/dist/packages/numberkeyboard/NumberKeyboard.js +5 -5
- package/dist/packages/overlay/Overlay.js +3 -3
- package/dist/packages/pagination/Pagination.js +4 -4
- package/dist/packages/picker/Picker.js +6 -6
- package/dist/packages/popover/Popover.js +6 -6
- package/dist/packages/popup/Popup.js +4 -4
- package/dist/packages/price/Price.js +2 -2
- package/dist/packages/progress/Progress.js +2 -2
- package/dist/packages/pullrefresh/PullRefresh.js +7 -7
- package/dist/packages/radio/Radio.js +4 -3
- package/dist/packages/radiogroup/RadioGroup.js +3 -2
- package/dist/packages/range/Range.js +5 -5
- package/dist/packages/rate/Rate.js +5 -5
- package/dist/packages/row/Row.js +6 -5
- package/dist/packages/searchbar/Searchbar.js +5 -5
- package/dist/packages/shortpassword/ShortPassword.js +5 -5
- package/dist/packages/sidenavbar/SideNavbar.js +2 -2
- package/dist/packages/sidenavbaritem/SideNavbarItem.js +2 -2
- package/dist/packages/signature/Signature.js +4 -4
- package/dist/packages/skeleton/Skeleton.js +3 -3
- package/dist/packages/sku/Sku.js +6 -6
- package/dist/packages/space/Space.js +1 -1
- package/dist/packages/step/Step.js +4 -3
- package/dist/packages/steps/Steps.js +3 -2
- package/dist/packages/sticky/Sticky.js +4 -4
- package/dist/packages/subsidenavbar/SubSideNavbar.js +2 -2
- package/dist/packages/swipe/Swipe.js +5 -4
- package/dist/packages/swipegroup/SwipeGroup.js +4 -3
- package/dist/packages/swiper/Swiper.js +10 -11
- package/dist/packages/swiperitem/SwiperItem.js +5 -4
- package/dist/packages/switch/Switch.js +2 -2
- package/dist/packages/tabbar/Tabbar.js +5 -4
- package/dist/packages/tabbaritem/TabbarItem.js +6 -5
- package/dist/packages/table/Table.js +4 -4
- package/dist/packages/tabpane/TabPane.js +2 -2
- package/dist/packages/tabs/Tabs.js +8 -8
- package/dist/packages/tag/Tag.js +2 -2
- package/dist/packages/textarea/Textarea.js +4 -4
- package/dist/packages/timedetail/TimeDetail.js +2 -2
- package/dist/packages/timepannel/TimePannel.js +2 -2
- package/dist/packages/timeselect/TimeSelect.js +5 -5
- package/dist/packages/toast/Toast.js +5 -5
- package/dist/packages/tour/Tour.js +6 -6
- package/dist/packages/trendarrow/TrendArrow.js +3 -3
- package/dist/packages/types-4IflWeQO.js +4 -0
- package/dist/packages/types-9wCQwtH3.js +4 -0
- package/dist/packages/types-Cq2YypZn.js +4 -0
- package/dist/packages/types-RCVUm7Nb.js +4 -0
- package/dist/packages/types-Ww4ErYJT.js +4 -0
- package/dist/packages/types-Ynmct7na.js +4 -0
- package/dist/packages/types-j71K23JP.js +4 -0
- package/dist/packages/types-odSRziQJ.js +4 -0
- package/dist/packages/types-qOrhXtA_.js +4 -0
- package/dist/packages/types-zeKkNDAq.js +4 -0
- package/dist/packages/uploader/Uploader.js +5 -5
- package/dist/packages/useChildren-GU_NVfD8.js +54 -0
- package/dist/packages/useParent-KIxqkovs.js +16 -0
- package/dist/packages/video/Video.js +4 -4
- package/dist/packages/watermark/Watermark.js +2 -2
- package/dist/smartips/web-types.json +30 -3
- package/dist/style.js +1 -4
- package/dist/types/__VUE/avatar/index.vue.d.ts +1 -1
- package/dist/types/__VUE/avatar/types.d.ts +1 -0
- package/dist/types/__VUE/avatargroup/index.vue.d.ts +1 -1
- package/dist/types/__VUE/checkbox/types.d.ts +1 -0
- package/dist/types/__VUE/col/index.vue.d.ts +1 -0
- package/dist/types/__VUE/collapse/index.vue.d.ts +1 -1
- package/dist/types/__VUE/collapse/types.d.ts +5 -0
- package/dist/types/__VUE/collapseitem/index.vue.d.ts +1 -0
- package/dist/types/__VUE/form/types.d.ts +1 -0
- package/dist/types/__VUE/grid/index.vue.d.ts +1 -1
- package/dist/types/__VUE/input/type.d.ts +1 -1
- package/dist/types/__VUE/layout/types.d.ts +1 -0
- package/dist/types/__VUE/menu/index.vue.d.ts +18 -9
- package/dist/types/__VUE/menu/types.d.ts +6 -0
- package/dist/types/__VUE/menuitem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/radio/types.d.ts +1 -0
- package/dist/types/__VUE/steps/types.d.ts +1 -0
- package/dist/types/__VUE/swipe/types.d.ts +1 -0
- package/dist/types/__VUE/swiper/index.vue.d.ts +0 -6
- package/dist/types/__VUE/swiper/types.d.ts +1 -0
- package/dist/types/__VUE/tabbar/types.d.ts +1 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/utils/useRelation/index.d.ts +2 -0
- package/dist/types/utils/useRelation/useChildren.d.ts +4 -0
- package/dist/types/utils/useRelation/useParent.d.ts +3 -0
- package/package.json +1 -1
- package/dist/types/__VUE/menuitem/type.d.ts +0 -4
- /package/dist/packages/{_plugin-vue_export-helper-cc2b3d55.js → _plugin-vue_export-helper-yVxbj29m.js} +0 -0
- /package/dist/packages/{component-669c158a.js → component-TCzwHGVq.js} +0 -0
- /package/dist/packages/{index-7a7385e4.js → index-084nl_oE.js} +0 -0
- /package/dist/packages/{index-54d03fc1.js → index-Ii9XdkPy.js} +0 -0
- /package/dist/packages/{index-79c5dc33.js → index-nRNEaTqA.js} +0 -0
- /package/dist/packages/{index-29892cda.js → index-rf29bejW.js} +0 -0
- /package/dist/packages/{index-97b44e6c.js → index-xDfQLRen.js} +0 -0
- /package/dist/packages/locale/lang/{baseLang-3a8457ac.js → baseLang-7uiEiO-2.js} +0 -0
- /package/dist/packages/{pxCheck-a27490eb.js → pxCheck-OnXlN1NC.js} +0 -0
- /package/dist/packages/{raf-729dad54.js → raf-MQjoO-Ag.js} +0 -0
- /package/dist/packages/{renderIcon-3d0fd47c.js → renderIcon--EgZu5_5.js} +0 -0
- /package/dist/packages/{util-6f26722f.js → util-4Jkyw4BJ.js} +0 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { inject, getCurrentInstance, onUnmounted } from "vue";
|
|
2
|
+
const useParent = (key) => {
|
|
3
|
+
const parent = inject(key, null);
|
|
4
|
+
if (parent) {
|
|
5
|
+
const instance = getCurrentInstance();
|
|
6
|
+
const { link, unlink } = parent;
|
|
7
|
+
link(instance);
|
|
8
|
+
onUnmounted(() => {
|
|
9
|
+
unlink(instance);
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
return { parent };
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
useParent as u
|
|
16
|
+
};
|
|
@@ -18,11 +18,11 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
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
|
-
import { c as createComponent } from "../component-
|
|
22
|
-
import { u as useLocale } from "../index-
|
|
23
|
-
import { _ as _export_sfc } from "../_plugin-vue_export-helper-
|
|
21
|
+
import { c as createComponent } from "../component-TCzwHGVq.js";
|
|
22
|
+
import { u as useLocale } from "../index-s3RgMhc7.js";
|
|
23
|
+
import { _ as _export_sfc } from "../_plugin-vue_export-helper-yVxbj29m.js";
|
|
24
24
|
import "@nutui/nutui/dist/packages/locale/lang";
|
|
25
|
-
import "../util-
|
|
25
|
+
import "../util-4Jkyw4BJ.js";
|
|
26
26
|
function throttle(fn, delay) {
|
|
27
27
|
let timer = null;
|
|
28
28
|
let startTime = Date.now();
|
|
@@ -18,8 +18,8 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { reactive, watch, computed, toRefs, openBlock, createElementBlock, normalizeClass, normalizeStyle } from "vue";
|
|
21
|
-
import { c as createComponent } from "../component-
|
|
22
|
-
import { _ as _export_sfc } from "../_plugin-vue_export-helper-
|
|
21
|
+
import { c as createComponent } from "../component-TCzwHGVq.js";
|
|
22
|
+
import { _ as _export_sfc } from "../_plugin-vue_export-helper-yVxbj29m.js";
|
|
23
23
|
const { componentName, create } = createComponent("watermark");
|
|
24
24
|
const _sfc_main = create({
|
|
25
25
|
props: {
|
|
@@ -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.2.
|
|
5
|
+
"version": "4.2.3",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"tags": [
|
|
@@ -3458,6 +3458,24 @@
|
|
|
3458
3458
|
"slots": [],
|
|
3459
3459
|
"events": [],
|
|
3460
3460
|
"attributes": [
|
|
3461
|
+
{
|
|
3462
|
+
"name": "direction",
|
|
3463
|
+
"default": "`down`",
|
|
3464
|
+
"description": "菜单展开方向,可选值为 `up`",
|
|
3465
|
+
"value": {
|
|
3466
|
+
"type": "string",
|
|
3467
|
+
"kind": "expression"
|
|
3468
|
+
}
|
|
3469
|
+
},
|
|
3470
|
+
{
|
|
3471
|
+
"name": "duration",
|
|
3472
|
+
"default": "`0.3`",
|
|
3473
|
+
"description": "动画时长,单位 s",
|
|
3474
|
+
"value": {
|
|
3475
|
+
"type": "string | number",
|
|
3476
|
+
"kind": "expression"
|
|
3477
|
+
}
|
|
3478
|
+
},
|
|
3461
3479
|
{
|
|
3462
3480
|
"name": "active-color",
|
|
3463
3481
|
"default": "`#F2270C`",
|
|
@@ -3502,6 +3520,15 @@
|
|
|
3502
3520
|
"type": "boolean",
|
|
3503
3521
|
"kind": "expression"
|
|
3504
3522
|
}
|
|
3523
|
+
},
|
|
3524
|
+
{
|
|
3525
|
+
"name": "overlay",
|
|
3526
|
+
"default": "`true`",
|
|
3527
|
+
"description": "是否开启背景遮罩",
|
|
3528
|
+
"value": {
|
|
3529
|
+
"type": "boolean",
|
|
3530
|
+
"kind": "expression"
|
|
3531
|
+
}
|
|
3505
3532
|
}
|
|
3506
3533
|
]
|
|
3507
3534
|
},
|
|
@@ -5721,7 +5748,7 @@
|
|
|
5721
5748
|
"attributes": [
|
|
5722
5749
|
{
|
|
5723
5750
|
"name": "width",
|
|
5724
|
-
"default": "
|
|
5751
|
+
"default": "-",
|
|
5725
5752
|
"description": "轮播卡片的宽度",
|
|
5726
5753
|
"value": {
|
|
5727
5754
|
"type": "number | string",
|
|
@@ -5730,7 +5757,7 @@
|
|
|
5730
5757
|
},
|
|
5731
5758
|
{
|
|
5732
5759
|
"name": "height",
|
|
5733
|
-
"default": "
|
|
5760
|
+
"default": "-",
|
|
5734
5761
|
"description": "轮播卡片的高度",
|
|
5735
5762
|
"value": {
|
|
5736
5763
|
"type": "number | string",
|
package/dist/style.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CHECKBOX_KEY: unique symbol;
|
|
@@ -25,7 +25,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
25
25
|
default: boolean;
|
|
26
26
|
};
|
|
27
27
|
}, {
|
|
28
|
-
|
|
28
|
+
nutCollapseRef: import("vue").Ref<null>;
|
|
29
29
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
30
|
modelValue: {
|
|
31
31
|
type: (NumberConstructor | StringConstructor | {
|
|
@@ -96,6 +96,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
96
96
|
}, {
|
|
97
97
|
classes: import("vue").ComputedRef<{
|
|
98
98
|
[x: string]: boolean;
|
|
99
|
+
"nut-collapse-item": boolean;
|
|
99
100
|
}>;
|
|
100
101
|
renderIcon: (icon: import("vue").Component, props?: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
101
102
|
[key: string]: any;
|
|
@@ -71,8 +71,8 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
71
71
|
center: boolean;
|
|
72
72
|
border: boolean;
|
|
73
73
|
square: boolean;
|
|
74
|
-
gutter: string | number;
|
|
75
74
|
columnNum: string | number;
|
|
75
|
+
gutter: string | number;
|
|
76
76
|
clickable: boolean;
|
|
77
77
|
}, {}>>;
|
|
78
78
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type InputAlignType = 'left' | 'center' | 'right';
|
|
2
2
|
export type InputFormatTrigger = 'onChange' | 'onBlur';
|
|
3
|
-
export type InputType = 'tel' | 'url' | 'date' | 'file' | 'text' | 'time' | 'week' | 'color' | 'digit' | 'email' | 'image' | 'month' | 'radio' | 'range' | 'reset' | 'button' | 'hidden' | 'number' | 'search' | 'submit' | 'checkbox' | 'password' | 'textarea' | 'datetime-local';
|
|
3
|
+
export type InputType = 'tel' | 'url' | 'date' | 'file' | 'text' | 'time' | 'week' | 'color' | 'digit' | 'email' | 'image' | 'month' | 'radio' | 'range' | 'reset' | 'button' | 'hidden' | 'number' | 'search' | 'submit' | 'checkbox' | 'password' | 'textarea' | 'datetime-local' | 'idcard' | 'nickname' | 'safe-password';
|
|
4
4
|
export type InputRule = {
|
|
5
5
|
pattern?: RegExp;
|
|
6
6
|
message?: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const LAYOUT_KEY: unique symbol;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { MenuDirection } from './types';
|
|
1
3
|
|
|
2
4
|
declare type Install<T> = T & {
|
|
3
5
|
install(app: import('vue').App): void;
|
|
@@ -9,11 +11,11 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
9
11
|
};
|
|
10
12
|
overlay: {
|
|
11
13
|
type: BooleanConstructor;
|
|
12
|
-
default:
|
|
14
|
+
default: boolean;
|
|
13
15
|
};
|
|
14
16
|
lockScroll: {
|
|
15
17
|
type: BooleanConstructor;
|
|
16
|
-
default:
|
|
18
|
+
default: boolean;
|
|
17
19
|
};
|
|
18
20
|
duration: {
|
|
19
21
|
type: (NumberConstructor | StringConstructor)[];
|
|
@@ -24,14 +26,17 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
24
26
|
default: boolean;
|
|
25
27
|
};
|
|
26
28
|
direction: {
|
|
27
|
-
type:
|
|
29
|
+
type: PropType<MenuDirection>;
|
|
28
30
|
default: string;
|
|
29
31
|
};
|
|
30
32
|
scrollFixed: {
|
|
31
33
|
type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
32
34
|
default: boolean;
|
|
33
35
|
};
|
|
34
|
-
titleClass:
|
|
36
|
+
titleClass: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
35
40
|
}, {
|
|
36
41
|
toggleItem: (active: number) => void;
|
|
37
42
|
children: any[];
|
|
@@ -49,11 +54,11 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
49
54
|
};
|
|
50
55
|
overlay: {
|
|
51
56
|
type: BooleanConstructor;
|
|
52
|
-
default:
|
|
57
|
+
default: boolean;
|
|
53
58
|
};
|
|
54
59
|
lockScroll: {
|
|
55
60
|
type: BooleanConstructor;
|
|
56
|
-
default:
|
|
61
|
+
default: boolean;
|
|
57
62
|
};
|
|
58
63
|
duration: {
|
|
59
64
|
type: (NumberConstructor | StringConstructor)[];
|
|
@@ -64,22 +69,26 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
64
69
|
default: boolean;
|
|
65
70
|
};
|
|
66
71
|
direction: {
|
|
67
|
-
type:
|
|
72
|
+
type: PropType<MenuDirection>;
|
|
68
73
|
default: string;
|
|
69
74
|
};
|
|
70
75
|
scrollFixed: {
|
|
71
76
|
type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
72
77
|
default: boolean;
|
|
73
78
|
};
|
|
74
|
-
titleClass:
|
|
79
|
+
titleClass: {
|
|
80
|
+
type: StringConstructor;
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
75
83
|
}>>, {
|
|
76
84
|
overlay: boolean;
|
|
77
85
|
duration: string | number;
|
|
78
86
|
lockScroll: boolean;
|
|
79
87
|
closeOnClickOverlay: boolean;
|
|
80
88
|
activeColor: string;
|
|
81
|
-
direction:
|
|
89
|
+
direction: MenuDirection;
|
|
82
90
|
scrollFixed: string | number | boolean;
|
|
91
|
+
titleClass: string;
|
|
83
92
|
}, {}>>;
|
|
84
93
|
export default _default;
|
|
85
94
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const RADIO_KEY: unique symbol;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const STEPS_KEY: unique symbol;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SWIPE_KEY: unique symbol;
|
|
@@ -7,11 +7,9 @@ declare type Install<T> = T & {
|
|
|
7
7
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
8
8
|
width: {
|
|
9
9
|
type: (NumberConstructor | StringConstructor)[];
|
|
10
|
-
default: number;
|
|
11
10
|
};
|
|
12
11
|
height: {
|
|
13
12
|
type: (NumberConstructor | StringConstructor)[];
|
|
14
|
-
default: number;
|
|
15
13
|
};
|
|
16
14
|
direction: {
|
|
17
15
|
type: StringConstructor;
|
|
@@ -101,11 +99,9 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
101
99
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
102
100
|
width: {
|
|
103
101
|
type: (NumberConstructor | StringConstructor)[];
|
|
104
|
-
default: number;
|
|
105
102
|
};
|
|
106
103
|
height: {
|
|
107
104
|
type: (NumberConstructor | StringConstructor)[];
|
|
108
|
-
default: number;
|
|
109
105
|
};
|
|
110
106
|
direction: {
|
|
111
107
|
type: StringConstructor;
|
|
@@ -151,8 +147,6 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
151
147
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
152
148
|
}, {
|
|
153
149
|
duration: string | number;
|
|
154
|
-
width: string | number;
|
|
155
|
-
height: string | number;
|
|
156
150
|
loop: boolean;
|
|
157
151
|
direction: string;
|
|
158
152
|
touchable: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SWIPER_KEY: unique symbol;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TABBAR_KEY: unique symbol;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -110,7 +110,7 @@ import Comment from './__VUE/comment/index.vue';
|
|
|
110
110
|
import Invoice from './__VUE/invoice/index.vue';
|
|
111
111
|
import AvatarCropper from './__VUE/avatarcropper/index.vue';
|
|
112
112
|
declare function install(app: App): void;
|
|
113
|
-
declare const version = "4.2.
|
|
113
|
+
declare const version = "4.2.3";
|
|
114
114
|
export { install, version, Locale, Button, Cell, CellGroup, Overlay, Popup, ConfigProvider, Image, Layout, Col, Row, Sticky, Divider, Grid, GridItem, Space, Navbar, FixedNav, Menu, MenuItem, Tabbar, TabbarItem, Elevator, Pagination, Tabs, TabPane, Indicator, SideNavbar, SideNavbarItem, SubSideNavbar, Range, Searchbar, Cascader, Calendar, Checkbox, CheckboxGroup, DatePicker, InputNumber, Input, Radio, RadioGroup, Rate, CalendarItem, Picker, ShortPassword, Textarea, Uploader, NumberKeyboard, Form, FormItem, Swipe, SwipeGroup, ActionSheet, Backtop, Drag, Dialog, InfiniteLoading, PullRefresh, Notify, Switch, Toast, Audio, AudioOperate, Avatar, AvatarGroup, List, Progress, CircleProgress, Noticebar, Empty, Video, Steps, Step, Swiper, SwiperItem, Price, ImagePreview, Countup, Countdown, Badge, Tag, Popover, Skeleton, Collapse, CollapseItem, Table, Animate, Ellipsis, Watermark, TrendArrow, Tour, Address, Barrage, Signature, TimeSelect, TimePannel, TimeDetail, Sku, Card, Ecard, AddressList, Category, CategoryPane, Comment, Invoice, AvatarCropper, showDialog, showNotify, showToast, showImagePreview };
|
|
115
115
|
declare const _default: {
|
|
116
116
|
install: typeof install;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useRelation';
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|