@nutui/nutui 4.3.4 → 4.3.5
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 +1 -1
- package/dist/nutui.js +2121 -2184
- package/dist/nutui.umd.js +1 -1
- package/dist/packages/cell/Cell.js +89 -80
- package/dist/packages/cellgroup/CellGroup.js +44 -21
- package/dist/packages/form/Form.js +3 -3
- package/dist/packages/formitem/FormItem.js +3 -3
- package/dist/packages/inputnumber/InputNumber.js +6 -6
- package/dist/packages/skeleton/Skeleton.js +88 -123
- package/dist/smartips/web-types.json +1 -1
- package/dist/types/__VUE/cell/cell.vue.d.ts +113 -0
- package/dist/types/__VUE/cell/index.d.ts +6 -0
- package/dist/types/__VUE/cellgroup/cell-group.vue.d.ts +55 -0
- package/dist/types/__VUE/cellgroup/index.d.ts +5 -0
- package/dist/types/__VUE/navbar/navbar.vue.d.ts +1 -1
- package/dist/types/__VUE/skeleton/index.d.ts +5 -0
- package/dist/types/__VUE/skeleton/skeleton.vue.d.ts +102 -0
- package/dist/types/__VUE/swiper/index.vue.d.ts +2 -2
- package/dist/types/__VUE/uploader/index.vue.d.ts +1 -1
- package/dist/types/index.d.ts +7 -4
- package/dist/types/utils/Interceptor.d.ts +2 -2
- package/package.json +1 -1
- package/dist/types/__VUE/cell/index.vue.d.ts +0 -120
- package/dist/types/__VUE/cellgroup/index.vue.d.ts +0 -33
- package/dist/types/__VUE/skeleton/index.vue.d.ts +0 -117
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import type { WithInstall } from '../../utils';
|
|
2
|
+
import type { CellSize } from './types';
|
|
3
|
+
export type CellProps = Partial<{
|
|
4
|
+
title: string;
|
|
5
|
+
subTitle: string;
|
|
6
|
+
desc: string;
|
|
7
|
+
descTextAlign: string;
|
|
8
|
+
isLink: boolean;
|
|
9
|
+
roundRadius: string | number;
|
|
10
|
+
center: boolean;
|
|
11
|
+
size: CellSize;
|
|
12
|
+
to: string | object;
|
|
13
|
+
replace: boolean;
|
|
14
|
+
url: string;
|
|
15
|
+
}>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
17
|
+
title: string;
|
|
18
|
+
subTitle: string;
|
|
19
|
+
desc: string;
|
|
20
|
+
descTextAlign: string;
|
|
21
|
+
isLink: boolean;
|
|
22
|
+
roundRadius: string | number;
|
|
23
|
+
center: boolean;
|
|
24
|
+
size: CellSize;
|
|
25
|
+
to: string | object;
|
|
26
|
+
replace: boolean;
|
|
27
|
+
url: string;
|
|
28
|
+
}>>, {
|
|
29
|
+
title: string;
|
|
30
|
+
subTitle: string;
|
|
31
|
+
desc: string;
|
|
32
|
+
descTextAlign: string;
|
|
33
|
+
isLink: boolean;
|
|
34
|
+
roundRadius: string;
|
|
35
|
+
center: boolean;
|
|
36
|
+
size: string;
|
|
37
|
+
replace: boolean;
|
|
38
|
+
url: string;
|
|
39
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
40
|
+
click: (...args: any[]) => void;
|
|
41
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
42
|
+
title: string;
|
|
43
|
+
subTitle: string;
|
|
44
|
+
desc: string;
|
|
45
|
+
descTextAlign: string;
|
|
46
|
+
isLink: boolean;
|
|
47
|
+
roundRadius: string | number;
|
|
48
|
+
center: boolean;
|
|
49
|
+
size: CellSize;
|
|
50
|
+
to: string | object;
|
|
51
|
+
replace: boolean;
|
|
52
|
+
url: string;
|
|
53
|
+
}>>, {
|
|
54
|
+
title: string;
|
|
55
|
+
subTitle: string;
|
|
56
|
+
desc: string;
|
|
57
|
+
descTextAlign: string;
|
|
58
|
+
isLink: boolean;
|
|
59
|
+
roundRadius: string;
|
|
60
|
+
center: boolean;
|
|
61
|
+
size: string;
|
|
62
|
+
replace: boolean;
|
|
63
|
+
url: string;
|
|
64
|
+
}>>> & {
|
|
65
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
66
|
+
}, {
|
|
67
|
+
size: CellSize;
|
|
68
|
+
replace: boolean;
|
|
69
|
+
title: string;
|
|
70
|
+
desc: string;
|
|
71
|
+
center: boolean;
|
|
72
|
+
subTitle: string;
|
|
73
|
+
descTextAlign: string;
|
|
74
|
+
isLink: boolean;
|
|
75
|
+
roundRadius: string | number;
|
|
76
|
+
url: string;
|
|
77
|
+
}, {}>, {
|
|
78
|
+
default?(_: {}): any;
|
|
79
|
+
icon?(_: {}): any;
|
|
80
|
+
title?(_: {}): any;
|
|
81
|
+
desc?(_: {}): any;
|
|
82
|
+
link?(_: {}): any;
|
|
83
|
+
}>;
|
|
84
|
+
declare const _nut_default: WithInstall<typeof _default>;
|
|
85
|
+
export default _nut_default;
|
|
86
|
+
|
|
87
|
+
declare module 'vue' {
|
|
88
|
+
interface GlobalComponents {
|
|
89
|
+
NutCell: typeof _default;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
93
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
94
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
95
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
96
|
+
} : {
|
|
97
|
+
type: import('vue').PropType<T[K]>;
|
|
98
|
+
required: true;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
type __VLS_WithDefaults<P, D> = {
|
|
102
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
103
|
+
default: D[K];
|
|
104
|
+
}> : P[K];
|
|
105
|
+
};
|
|
106
|
+
type __VLS_Prettify<T> = {
|
|
107
|
+
[K in keyof T]: T[K];
|
|
108
|
+
} & {};
|
|
109
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
110
|
+
new (): {
|
|
111
|
+
$slots: S;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import Cell from './cell.vue';
|
|
2
|
+
import type { ComponentPublicInstance } from 'vue';
|
|
3
|
+
export type { CellProps } from './cell.vue';
|
|
4
|
+
export type { CellSize } from './types';
|
|
5
|
+
export type CellInstance = ComponentPublicInstance & InstanceType<typeof Cell>;
|
|
6
|
+
export { Cell, Cell as default };
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type { WithInstall } from '../../utils';
|
|
2
|
+
export type CellGroupProps = Partial<{
|
|
3
|
+
title: string;
|
|
4
|
+
desc: string;
|
|
5
|
+
}>;
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
7
|
+
title: string;
|
|
8
|
+
desc: string;
|
|
9
|
+
}>>, {
|
|
10
|
+
title: string;
|
|
11
|
+
desc: string;
|
|
12
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
13
|
+
title: string;
|
|
14
|
+
desc: string;
|
|
15
|
+
}>>, {
|
|
16
|
+
title: string;
|
|
17
|
+
desc: string;
|
|
18
|
+
}>>>, {
|
|
19
|
+
title: string;
|
|
20
|
+
desc: string;
|
|
21
|
+
}, {}>, {
|
|
22
|
+
title?(_: {}): any;
|
|
23
|
+
desc?(_: {}): any;
|
|
24
|
+
default?(_: {}): any;
|
|
25
|
+
}>;
|
|
26
|
+
declare const _nut_default: WithInstall<typeof _default>;
|
|
27
|
+
export default _nut_default;
|
|
28
|
+
|
|
29
|
+
declare module 'vue' {
|
|
30
|
+
interface GlobalComponents {
|
|
31
|
+
NutCellGroup: typeof _default;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
36
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
37
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
38
|
+
} : {
|
|
39
|
+
type: import('vue').PropType<T[K]>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
type __VLS_WithDefaults<P, D> = {
|
|
44
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
45
|
+
default: D[K];
|
|
46
|
+
}> : P[K];
|
|
47
|
+
};
|
|
48
|
+
type __VLS_Prettify<T> = {
|
|
49
|
+
[K in keyof T]: T[K];
|
|
50
|
+
} & {};
|
|
51
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
52
|
+
new (): {
|
|
53
|
+
$slots: S;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import CellGroup from './cell-group.vue';
|
|
2
|
+
import type { ComponentPublicInstance } from 'vue';
|
|
3
|
+
export type { CellGroupProps } from './cell-group.vue';
|
|
4
|
+
export type CellGroupInstance = ComponentPublicInstance & InstanceType<typeof CellGroup>;
|
|
5
|
+
export { CellGroup, CellGroup as default };
|
|
@@ -74,9 +74,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
74
74
|
onOnClickIcon?: ((...args: any[]) => any) | undefined;
|
|
75
75
|
onOnClickRight?: ((...args: any[]) => any) | undefined;
|
|
76
76
|
}, {
|
|
77
|
+
fixed: boolean;
|
|
77
78
|
title: string;
|
|
78
79
|
desc: string;
|
|
79
|
-
fixed: boolean;
|
|
80
80
|
zIndex: string | number;
|
|
81
81
|
border: boolean;
|
|
82
82
|
leftShow: boolean;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import Skeleton from './skeleton.vue';
|
|
2
|
+
import type { ComponentPublicInstance } from 'vue';
|
|
3
|
+
export type { SkeletonProps } from './skeleton.vue';
|
|
4
|
+
export type SkeletonInstance = ComponentPublicInstance & InstanceType<typeof Skeleton>;
|
|
5
|
+
export { Skeleton, Skeleton as default };
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import type { WithInstall } from '../../utils';
|
|
2
|
+
import type { AvatarShape } from '../avatar/types';
|
|
3
|
+
export type SkeletonProps = Partial<{
|
|
4
|
+
width: string;
|
|
5
|
+
height: string;
|
|
6
|
+
animated: boolean;
|
|
7
|
+
avatar: boolean;
|
|
8
|
+
avatarShape: AvatarShape;
|
|
9
|
+
avatarSize: string;
|
|
10
|
+
loading: boolean;
|
|
11
|
+
round: boolean;
|
|
12
|
+
row: string | number;
|
|
13
|
+
title: boolean;
|
|
14
|
+
}>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
16
|
+
width: string;
|
|
17
|
+
height: string;
|
|
18
|
+
animated: boolean;
|
|
19
|
+
avatar: boolean;
|
|
20
|
+
avatarShape: AvatarShape;
|
|
21
|
+
avatarSize: string;
|
|
22
|
+
loading: boolean;
|
|
23
|
+
round: boolean;
|
|
24
|
+
row: string | number;
|
|
25
|
+
title: boolean;
|
|
26
|
+
}>>, {
|
|
27
|
+
width: string;
|
|
28
|
+
height: string;
|
|
29
|
+
animated: boolean;
|
|
30
|
+
avatar: boolean;
|
|
31
|
+
avatarShape: string;
|
|
32
|
+
avatarSize: string;
|
|
33
|
+
loading: boolean;
|
|
34
|
+
round: boolean;
|
|
35
|
+
row: string;
|
|
36
|
+
title: boolean;
|
|
37
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
38
|
+
width: string;
|
|
39
|
+
height: string;
|
|
40
|
+
animated: boolean;
|
|
41
|
+
avatar: boolean;
|
|
42
|
+
avatarShape: AvatarShape;
|
|
43
|
+
avatarSize: string;
|
|
44
|
+
loading: boolean;
|
|
45
|
+
round: boolean;
|
|
46
|
+
row: string | number;
|
|
47
|
+
title: boolean;
|
|
48
|
+
}>>, {
|
|
49
|
+
width: string;
|
|
50
|
+
height: string;
|
|
51
|
+
animated: boolean;
|
|
52
|
+
avatar: boolean;
|
|
53
|
+
avatarShape: string;
|
|
54
|
+
avatarSize: string;
|
|
55
|
+
loading: boolean;
|
|
56
|
+
round: boolean;
|
|
57
|
+
row: string;
|
|
58
|
+
title: boolean;
|
|
59
|
+
}>>>, {
|
|
60
|
+
round: boolean;
|
|
61
|
+
loading: boolean;
|
|
62
|
+
width: string;
|
|
63
|
+
height: string;
|
|
64
|
+
title: boolean;
|
|
65
|
+
row: string | number;
|
|
66
|
+
avatar: boolean;
|
|
67
|
+
animated: boolean;
|
|
68
|
+
avatarShape: AvatarShape;
|
|
69
|
+
avatarSize: string;
|
|
70
|
+
}, {}>, {
|
|
71
|
+
default?(_: {}): any;
|
|
72
|
+
}>;
|
|
73
|
+
declare const _nut_default: WithInstall<typeof _default>;
|
|
74
|
+
export default _nut_default;
|
|
75
|
+
|
|
76
|
+
declare module 'vue' {
|
|
77
|
+
interface GlobalComponents {
|
|
78
|
+
NutSkeleton: typeof _default;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
82
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
83
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
84
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
85
|
+
} : {
|
|
86
|
+
type: import('vue').PropType<T[K]>;
|
|
87
|
+
required: true;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
type __VLS_WithDefaults<P, D> = {
|
|
91
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
92
|
+
default: D[K];
|
|
93
|
+
}> : P[K];
|
|
94
|
+
};
|
|
95
|
+
type __VLS_Prettify<T> = {
|
|
96
|
+
[K in keyof T]: T[K];
|
|
97
|
+
} & {};
|
|
98
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
99
|
+
new (): {
|
|
100
|
+
$slots: S;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
@@ -76,12 +76,12 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
76
76
|
offset: number;
|
|
77
77
|
touchTime: number;
|
|
78
78
|
autoplayTimer: {
|
|
79
|
+
ref: () => NodeJS.Timeout;
|
|
80
|
+
unref: () => NodeJS.Timeout;
|
|
79
81
|
hasRef: () => boolean;
|
|
80
82
|
refresh: () => NodeJS.Timeout;
|
|
81
83
|
[Symbol.toPrimitive]: () => number;
|
|
82
84
|
[Symbol.dispose]: () => void;
|
|
83
|
-
ref: () => NodeJS.Timeout;
|
|
84
|
-
unref: () => NodeJS.Timeout;
|
|
85
85
|
} | null | undefined;
|
|
86
86
|
children: ComponentPublicInstance[];
|
|
87
87
|
childrenVNode: VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -121,7 +121,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
121
121
|
renderInput: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
122
122
|
[key: string]: any;
|
|
123
123
|
}>;
|
|
124
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("success" | "progress" | "delete" | "
|
|
124
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("success" | "progress" | "delete" | "start" | "change" | "oversize" | "failure" | "update:fileList" | "fileItemClick")[], "success" | "progress" | "delete" | "start" | "change" | "oversize" | "failure" | "update:fileList" | "fileItemClick", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
125
125
|
name: {
|
|
126
126
|
type: StringConstructor;
|
|
127
127
|
default: string;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -2,8 +2,10 @@ import { App } from 'vue';
|
|
|
2
2
|
import Locale from './locale';
|
|
3
3
|
import Button from './__VUE/button/index';
|
|
4
4
|
export * from './__VUE/button/index';
|
|
5
|
-
import Cell from './__VUE/cell/index
|
|
6
|
-
|
|
5
|
+
import Cell from './__VUE/cell/index';
|
|
6
|
+
export * from './__VUE/cell/index';
|
|
7
|
+
import CellGroup from './__VUE/cellgroup/index';
|
|
8
|
+
export * from './__VUE/cellgroup/index';
|
|
7
9
|
import Overlay from './__VUE/overlay/index.vue';
|
|
8
10
|
import Popup from './__VUE/popup/index.vue';
|
|
9
11
|
import ConfigProvider from './__VUE/configprovider/index.vue';
|
|
@@ -109,7 +111,8 @@ import Badge from './__VUE/badge/index.vue';
|
|
|
109
111
|
import Tag from './__VUE/tag/index';
|
|
110
112
|
export * from './__VUE/tag/index';
|
|
111
113
|
import Popover from './__VUE/popover/index.vue';
|
|
112
|
-
import Skeleton from './__VUE/skeleton/index
|
|
114
|
+
import Skeleton from './__VUE/skeleton/index';
|
|
115
|
+
export * from './__VUE/skeleton/index';
|
|
113
116
|
import Collapse from './__VUE/collapse/index';
|
|
114
117
|
export * from './__VUE/collapse/index';
|
|
115
118
|
import CollapseItem from './__VUE/collapseitem/index';
|
|
@@ -139,7 +142,7 @@ import Invoice from './__VUE/invoice/index';
|
|
|
139
142
|
export * from './__VUE/invoice/index';
|
|
140
143
|
import AvatarCropper from './__VUE/avatarcropper/index.vue';
|
|
141
144
|
declare function install(app: App): void;
|
|
142
|
-
declare const version = "4.3.
|
|
145
|
+
declare const version = "4.3.5";
|
|
143
146
|
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 };
|
|
144
147
|
declare const _default: {
|
|
145
148
|
install: typeof install;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type Interceptor = (...args: any[]) => Promise<boolean> | boolean | undefined | void;
|
|
2
2
|
export declare const funInterceptor: (interceptor: Interceptor | undefined, { args, done, canceled }: {
|
|
3
|
-
args?: unknown[]
|
|
3
|
+
args?: unknown[];
|
|
4
4
|
done: (val?: any) => void;
|
|
5
|
-
canceled?: (
|
|
5
|
+
canceled?: () => void;
|
|
6
6
|
}) => void;
|
package/package.json
CHANGED
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import type { PropType, CSSProperties } from 'vue';
|
|
2
|
-
import { CellSize } 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
|
-
title: {
|
|
9
|
-
type: StringConstructor;
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
subTitle: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
desc: {
|
|
17
|
-
type: StringConstructor;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
descTextAlign: {
|
|
21
|
-
type: StringConstructor;
|
|
22
|
-
default: string;
|
|
23
|
-
};
|
|
24
|
-
isLink: {
|
|
25
|
-
type: BooleanConstructor;
|
|
26
|
-
default: boolean;
|
|
27
|
-
};
|
|
28
|
-
to: (ObjectConstructor | StringConstructor)[];
|
|
29
|
-
replace: {
|
|
30
|
-
type: BooleanConstructor;
|
|
31
|
-
default: boolean;
|
|
32
|
-
};
|
|
33
|
-
roundRadius: {
|
|
34
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
35
|
-
default: string;
|
|
36
|
-
};
|
|
37
|
-
url: {
|
|
38
|
-
type: StringConstructor;
|
|
39
|
-
default: string;
|
|
40
|
-
};
|
|
41
|
-
center: {
|
|
42
|
-
type: BooleanConstructor;
|
|
43
|
-
default: boolean;
|
|
44
|
-
};
|
|
45
|
-
size: {
|
|
46
|
-
type: PropType<CellSize>;
|
|
47
|
-
default: string;
|
|
48
|
-
};
|
|
49
|
-
}, {
|
|
50
|
-
handleClick: (event: Event) => void;
|
|
51
|
-
classes: import("vue").ComputedRef<{
|
|
52
|
-
[x: string]: string | boolean | Record<string, any> | undefined;
|
|
53
|
-
}>;
|
|
54
|
-
baseStyle: import("vue").ComputedRef<{
|
|
55
|
-
borderRadius: string | undefined;
|
|
56
|
-
}>;
|
|
57
|
-
descStyle: import("vue").ComputedRef<CSSProperties>;
|
|
58
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
59
|
-
title: {
|
|
60
|
-
type: StringConstructor;
|
|
61
|
-
default: string;
|
|
62
|
-
};
|
|
63
|
-
subTitle: {
|
|
64
|
-
type: StringConstructor;
|
|
65
|
-
default: string;
|
|
66
|
-
};
|
|
67
|
-
desc: {
|
|
68
|
-
type: StringConstructor;
|
|
69
|
-
default: string;
|
|
70
|
-
};
|
|
71
|
-
descTextAlign: {
|
|
72
|
-
type: StringConstructor;
|
|
73
|
-
default: string;
|
|
74
|
-
};
|
|
75
|
-
isLink: {
|
|
76
|
-
type: BooleanConstructor;
|
|
77
|
-
default: boolean;
|
|
78
|
-
};
|
|
79
|
-
to: (ObjectConstructor | StringConstructor)[];
|
|
80
|
-
replace: {
|
|
81
|
-
type: BooleanConstructor;
|
|
82
|
-
default: boolean;
|
|
83
|
-
};
|
|
84
|
-
roundRadius: {
|
|
85
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
86
|
-
default: string;
|
|
87
|
-
};
|
|
88
|
-
url: {
|
|
89
|
-
type: StringConstructor;
|
|
90
|
-
default: string;
|
|
91
|
-
};
|
|
92
|
-
center: {
|
|
93
|
-
type: BooleanConstructor;
|
|
94
|
-
default: boolean;
|
|
95
|
-
};
|
|
96
|
-
size: {
|
|
97
|
-
type: PropType<CellSize>;
|
|
98
|
-
default: string;
|
|
99
|
-
};
|
|
100
|
-
}>> & {
|
|
101
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
102
|
-
}, {
|
|
103
|
-
size: CellSize;
|
|
104
|
-
title: string;
|
|
105
|
-
desc: string;
|
|
106
|
-
replace: boolean;
|
|
107
|
-
center: boolean;
|
|
108
|
-
subTitle: string;
|
|
109
|
-
descTextAlign: string;
|
|
110
|
-
isLink: boolean;
|
|
111
|
-
roundRadius: string | number;
|
|
112
|
-
url: string;
|
|
113
|
-
}, {}>>;
|
|
114
|
-
export default _default;
|
|
115
|
-
|
|
116
|
-
declare module 'vue' {
|
|
117
|
-
interface GlobalComponents {
|
|
118
|
-
NutCell: typeof _default;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
declare type Install<T> = T & {
|
|
3
|
-
install(app: import('vue').App): void;
|
|
4
|
-
};
|
|
5
|
-
declare const _default: Install< import("vue").DefineComponent<{
|
|
6
|
-
title: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
default: string;
|
|
9
|
-
};
|
|
10
|
-
desc: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
|
-
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
-
title: {
|
|
16
|
-
type: StringConstructor;
|
|
17
|
-
default: string;
|
|
18
|
-
};
|
|
19
|
-
desc: {
|
|
20
|
-
type: StringConstructor;
|
|
21
|
-
default: string;
|
|
22
|
-
};
|
|
23
|
-
}>>, {
|
|
24
|
-
title: string;
|
|
25
|
-
desc: string;
|
|
26
|
-
}, {}>>;
|
|
27
|
-
export default _default;
|
|
28
|
-
|
|
29
|
-
declare module 'vue' {
|
|
30
|
-
interface GlobalComponents {
|
|
31
|
-
NutCellGroup: typeof _default;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
import { AvatarShape } from '../avatar/types';
|
|
2
|
-
import { CSSProperties, PropType } from 'vue';
|
|
3
|
-
|
|
4
|
-
declare type Install<T> = T & {
|
|
5
|
-
install(app: import('vue').App): void;
|
|
6
|
-
};
|
|
7
|
-
declare const _default: Install< import("vue").DefineComponent<{
|
|
8
|
-
width: {
|
|
9
|
-
type: StringConstructor;
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
height: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
animated: {
|
|
17
|
-
type: BooleanConstructor;
|
|
18
|
-
default: boolean;
|
|
19
|
-
};
|
|
20
|
-
avatar: {
|
|
21
|
-
type: BooleanConstructor;
|
|
22
|
-
default: boolean;
|
|
23
|
-
};
|
|
24
|
-
avatarShape: {
|
|
25
|
-
type: PropType<AvatarShape>;
|
|
26
|
-
default: string;
|
|
27
|
-
};
|
|
28
|
-
avatarSize: {
|
|
29
|
-
type: StringConstructor;
|
|
30
|
-
default: string;
|
|
31
|
-
};
|
|
32
|
-
loading: {
|
|
33
|
-
type: BooleanConstructor;
|
|
34
|
-
default: boolean;
|
|
35
|
-
};
|
|
36
|
-
round: {
|
|
37
|
-
type: BooleanConstructor;
|
|
38
|
-
default: boolean;
|
|
39
|
-
};
|
|
40
|
-
row: {
|
|
41
|
-
type: StringConstructor;
|
|
42
|
-
default: string;
|
|
43
|
-
};
|
|
44
|
-
title: {
|
|
45
|
-
type: BooleanConstructor;
|
|
46
|
-
default: boolean;
|
|
47
|
-
};
|
|
48
|
-
}, {
|
|
49
|
-
avatarShape: import("vue").Ref<AvatarShape>;
|
|
50
|
-
avatarClass: import("vue").ComputedRef<{
|
|
51
|
-
[x: string]: boolean | AvatarShape;
|
|
52
|
-
avatarClass: boolean;
|
|
53
|
-
}>;
|
|
54
|
-
getBlockClass: (prefixCls: string) => {
|
|
55
|
-
[x: string]: boolean;
|
|
56
|
-
};
|
|
57
|
-
getStyle: () => CSSProperties;
|
|
58
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
59
|
-
width: {
|
|
60
|
-
type: StringConstructor;
|
|
61
|
-
default: string;
|
|
62
|
-
};
|
|
63
|
-
height: {
|
|
64
|
-
type: StringConstructor;
|
|
65
|
-
default: string;
|
|
66
|
-
};
|
|
67
|
-
animated: {
|
|
68
|
-
type: BooleanConstructor;
|
|
69
|
-
default: boolean;
|
|
70
|
-
};
|
|
71
|
-
avatar: {
|
|
72
|
-
type: BooleanConstructor;
|
|
73
|
-
default: boolean;
|
|
74
|
-
};
|
|
75
|
-
avatarShape: {
|
|
76
|
-
type: PropType<AvatarShape>;
|
|
77
|
-
default: string;
|
|
78
|
-
};
|
|
79
|
-
avatarSize: {
|
|
80
|
-
type: StringConstructor;
|
|
81
|
-
default: string;
|
|
82
|
-
};
|
|
83
|
-
loading: {
|
|
84
|
-
type: BooleanConstructor;
|
|
85
|
-
default: boolean;
|
|
86
|
-
};
|
|
87
|
-
round: {
|
|
88
|
-
type: BooleanConstructor;
|
|
89
|
-
default: boolean;
|
|
90
|
-
};
|
|
91
|
-
row: {
|
|
92
|
-
type: StringConstructor;
|
|
93
|
-
default: string;
|
|
94
|
-
};
|
|
95
|
-
title: {
|
|
96
|
-
type: BooleanConstructor;
|
|
97
|
-
default: boolean;
|
|
98
|
-
};
|
|
99
|
-
}>>, {
|
|
100
|
-
round: boolean;
|
|
101
|
-
loading: boolean;
|
|
102
|
-
width: string;
|
|
103
|
-
height: string;
|
|
104
|
-
title: boolean;
|
|
105
|
-
row: string;
|
|
106
|
-
avatar: boolean;
|
|
107
|
-
animated: boolean;
|
|
108
|
-
avatarShape: AvatarShape;
|
|
109
|
-
avatarSize: string;
|
|
110
|
-
}, {}>>;
|
|
111
|
-
export default _default;
|
|
112
|
-
|
|
113
|
-
declare module 'vue' {
|
|
114
|
-
interface GlobalComponents {
|
|
115
|
-
NutSkeleton: typeof _default;
|
|
116
|
-
}
|
|
117
|
-
}
|