@qynpm/ui 1.0.32 → 1.0.33
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/README.md +101 -86
- package/dist/index.cjs +4 -4
- package/dist/index.mjs +4 -4
- package/dist/qy-action-bar/index.cjs +1 -1
- package/dist/qy-action-bar/index.mjs +1 -1
- package/dist/qy-dialog/index.cjs +1 -1
- package/dist/qy-dialog/index.mjs +1 -1
- package/dist/qy-form-section/index.cjs +1 -1
- package/dist/qy-form-section/index.mjs +1 -1
- package/dist/qy-image/index.cjs +1 -1
- package/dist/qy-image/index.mjs +1 -1
- package/dist/qy-image-upload/index.cjs +1 -1
- package/dist/qy-image-upload/index.mjs +1 -1
- package/dist/qy-legacy-selection-dialog/index.cjs +1 -1
- package/dist/qy-legacy-selection-dialog/index.mjs +1 -1
- package/dist/qy-money-input/index.cjs +1 -1
- package/dist/qy-money-input/index.mjs +1 -1
- package/dist/qy-record-quote-search/index.cjs +1 -1
- package/dist/qy-record-quote-search/index.mjs +1 -1
- package/dist/qy-remark-image/index.cjs +1 -1
- package/dist/qy-remark-image/index.mjs +1 -1
- package/dist/qy-remote-select/index.cjs +1 -1
- package/dist/qy-remote-select/index.mjs +1 -1
- package/dist/qy-search-input/index.cjs +1 -1
- package/dist/qy-search-input/index.mjs +1 -1
- package/dist/qy-selection-dialog/index.cjs +1 -1
- package/dist/qy-selection-dialog/index.mjs +1 -1
- package/dist/qy-tree-select/index.cjs +1 -1
- package/dist/qy-tree-select/index.mjs +1 -1
- package/dist/qy-upload/index.cjs +1 -1
- package/dist/qy-upload/index.mjs +1 -1
- package/dist/shared/{index-kiAR2M_e.mjs → index-B0zL9hEY.mjs} +1 -1
- package/dist/shared/{index-hEy-3mcr.mjs → index-CaDqecpT.mjs} +8 -8
- package/dist/shared/{index-CltDZpF9.cjs → index-D5DmmUX2.cjs} +1 -1
- package/dist/shared/{index-CpvFUems.cjs → index-DqsG1Mam.cjs} +1 -1
- package/dist/shared/index-gcsw_rtX.mjs +3529 -0
- package/dist/shared/index-uhxRj2ZT.cjs +1 -0
- package/index.d.ts +69 -63
- package/package.json +459 -459
- package/qy-alert/index.d.ts +64 -64
- package/qy-autocomplete/index.d.ts +5 -5
- package/qy-avatar/index.d.ts +67 -67
- package/qy-badge/index.d.ts +63 -63
- package/qy-card/index.d.ts +64 -64
- package/qy-cascader/index.d.ts +198 -198
- package/qy-collapse/index.d.ts +59 -59
- package/qy-collapse-item/index.d.ts +45 -45
- package/qy-descriptions/index.d.ts +47 -47
- package/qy-descriptions-item/index.d.ts +46 -46
- package/qy-dialog/index.d.ts +60 -2
- package/qy-divider/index.d.ts +53 -53
- package/qy-drawer/index.d.ts +55 -55
- package/qy-empty/index.d.ts +51 -51
- package/qy-image/index.d.ts +28 -28
- package/qy-image-preview/index.d.ts +20 -20
- package/qy-link/index.d.ts +69 -69
- package/qy-loading/index.d.ts +25 -25
- package/qy-menu-actions/index.d.ts +29 -29
- package/qy-progress/index.d.ts +74 -74
- package/qy-result/index.d.ts +64 -64
- package/qy-scrollbar/index.d.ts +85 -85
- package/qy-skeleton/index.d.ts +54 -54
- package/qy-skeleton-item/index.d.ts +48 -48
- package/qy-step/index.d.ts +55 -55
- package/qy-steps/index.d.ts +62 -62
- package/qy-tab-pane/index.d.ts +40 -40
- package/qy-table-column-settings/index.d.ts +18 -18
- package/qy-tabs/index.d.ts +84 -84
- package/qy-tree/index.d.ts +132 -132
- package/qy-tree-select/index.d.ts +123 -123
- package/dist/shared/index-4wZQbpy3.mjs +0 -3457
- package/dist/shared/index-BvKFjDgX.cjs +0 -1
package/qy-scrollbar/index.d.ts
CHANGED
|
@@ -1,85 +1,85 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
ComponentOptionsMixin,
|
|
3
|
-
DefineComponent,
|
|
4
|
-
Plugin,
|
|
5
|
-
PublicProps,
|
|
6
|
-
SlotsType
|
|
7
|
-
} from 'vue'
|
|
8
|
-
import type { StyleValue } from 'vue'
|
|
9
|
-
|
|
10
|
-
export type QyScrollbarDirection = 'top' | 'bottom' | 'left' | 'right'
|
|
11
|
-
|
|
12
|
-
export interface QyScrollbarScrollPosition {
|
|
13
|
-
readonly scrollTop: number
|
|
14
|
-
readonly scrollLeft: number
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface QyScrollbarProps {
|
|
18
|
-
height?: string | number
|
|
19
|
-
maxHeight?: string | number
|
|
20
|
-
native?: boolean
|
|
21
|
-
always?: boolean
|
|
22
|
-
noresize?: boolean
|
|
23
|
-
minSize?: number
|
|
24
|
-
distance?: number
|
|
25
|
-
tag?: keyof HTMLElementTagNameMap | (string & {})
|
|
26
|
-
wrapStyle?: StyleValue
|
|
27
|
-
wrapClass?: string | string[]
|
|
28
|
-
viewStyle?: StyleValue
|
|
29
|
-
viewClass?: string | string[]
|
|
30
|
-
tabindex?: string | number
|
|
31
|
-
id?: string
|
|
32
|
-
role?: string
|
|
33
|
-
ariaLabel?: string
|
|
34
|
-
ariaOrientation?: 'horizontal' | 'vertical'
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export interface QyScrollbarAttrs {
|
|
38
|
-
class?: unknown
|
|
39
|
-
style?: StyleValue
|
|
40
|
-
title?: string
|
|
41
|
-
[key: `data-${string}`]: unknown
|
|
42
|
-
[key: `aria-${string}`]: unknown
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export interface QyScrollbarSlots {
|
|
46
|
-
default?: () => unknown
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export type QyScrollbarEmits = {
|
|
50
|
-
scroll: (position: QyScrollbarScrollPosition) => void
|
|
51
|
-
'end-reached': (direction: QyScrollbarDirection) => void
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export interface QyScrollbarExposed {
|
|
55
|
-
scrollTo(x: number, y: number): void
|
|
56
|
-
scrollTo(options: ScrollToOptions): void
|
|
57
|
-
setScrollTop(value: number): void
|
|
58
|
-
setScrollLeft(value: number): void
|
|
59
|
-
update(): void
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
type QyScrollbarComponentProps = QyScrollbarProps & QyScrollbarAttrs & {
|
|
63
|
-
onScroll?: QyScrollbarEmits['scroll']
|
|
64
|
-
onEndReached?: QyScrollbarEmits['end-reached']
|
|
65
|
-
'onEnd-reached'?: QyScrollbarEmits['end-reached']
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
declare const QyScrollbar: DefineComponent<
|
|
69
|
-
QyScrollbarProps,
|
|
70
|
-
QyScrollbarExposed,
|
|
71
|
-
{},
|
|
72
|
-
{},
|
|
73
|
-
{},
|
|
74
|
-
ComponentOptionsMixin,
|
|
75
|
-
ComponentOptionsMixin,
|
|
76
|
-
QyScrollbarEmits,
|
|
77
|
-
string,
|
|
78
|
-
PublicProps,
|
|
79
|
-
QyScrollbarComponentProps,
|
|
80
|
-
{},
|
|
81
|
-
SlotsType<QyScrollbarSlots>
|
|
82
|
-
> & Plugin
|
|
83
|
-
|
|
84
|
-
export { QyScrollbar }
|
|
85
|
-
export default QyScrollbar
|
|
1
|
+
import type {
|
|
2
|
+
ComponentOptionsMixin,
|
|
3
|
+
DefineComponent,
|
|
4
|
+
Plugin,
|
|
5
|
+
PublicProps,
|
|
6
|
+
SlotsType
|
|
7
|
+
} from 'vue'
|
|
8
|
+
import type { StyleValue } from 'vue'
|
|
9
|
+
|
|
10
|
+
export type QyScrollbarDirection = 'top' | 'bottom' | 'left' | 'right'
|
|
11
|
+
|
|
12
|
+
export interface QyScrollbarScrollPosition {
|
|
13
|
+
readonly scrollTop: number
|
|
14
|
+
readonly scrollLeft: number
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface QyScrollbarProps {
|
|
18
|
+
height?: string | number
|
|
19
|
+
maxHeight?: string | number
|
|
20
|
+
native?: boolean
|
|
21
|
+
always?: boolean
|
|
22
|
+
noresize?: boolean
|
|
23
|
+
minSize?: number
|
|
24
|
+
distance?: number
|
|
25
|
+
tag?: keyof HTMLElementTagNameMap | (string & {})
|
|
26
|
+
wrapStyle?: StyleValue
|
|
27
|
+
wrapClass?: string | string[]
|
|
28
|
+
viewStyle?: StyleValue
|
|
29
|
+
viewClass?: string | string[]
|
|
30
|
+
tabindex?: string | number
|
|
31
|
+
id?: string
|
|
32
|
+
role?: string
|
|
33
|
+
ariaLabel?: string
|
|
34
|
+
ariaOrientation?: 'horizontal' | 'vertical'
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export interface QyScrollbarAttrs {
|
|
38
|
+
class?: unknown
|
|
39
|
+
style?: StyleValue
|
|
40
|
+
title?: string
|
|
41
|
+
[key: `data-${string}`]: unknown
|
|
42
|
+
[key: `aria-${string}`]: unknown
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export interface QyScrollbarSlots {
|
|
46
|
+
default?: () => unknown
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export type QyScrollbarEmits = {
|
|
50
|
+
scroll: (position: QyScrollbarScrollPosition) => void
|
|
51
|
+
'end-reached': (direction: QyScrollbarDirection) => void
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export interface QyScrollbarExposed {
|
|
55
|
+
scrollTo(x: number, y: number): void
|
|
56
|
+
scrollTo(options: ScrollToOptions): void
|
|
57
|
+
setScrollTop(value: number): void
|
|
58
|
+
setScrollLeft(value: number): void
|
|
59
|
+
update(): void
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
type QyScrollbarComponentProps = QyScrollbarProps & QyScrollbarAttrs & {
|
|
63
|
+
onScroll?: QyScrollbarEmits['scroll']
|
|
64
|
+
onEndReached?: QyScrollbarEmits['end-reached']
|
|
65
|
+
'onEnd-reached'?: QyScrollbarEmits['end-reached']
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
declare const QyScrollbar: DefineComponent<
|
|
69
|
+
QyScrollbarProps,
|
|
70
|
+
QyScrollbarExposed,
|
|
71
|
+
{},
|
|
72
|
+
{},
|
|
73
|
+
{},
|
|
74
|
+
ComponentOptionsMixin,
|
|
75
|
+
ComponentOptionsMixin,
|
|
76
|
+
QyScrollbarEmits,
|
|
77
|
+
string,
|
|
78
|
+
PublicProps,
|
|
79
|
+
QyScrollbarComponentProps,
|
|
80
|
+
{},
|
|
81
|
+
SlotsType<QyScrollbarSlots>
|
|
82
|
+
> & Plugin
|
|
83
|
+
|
|
84
|
+
export { QyScrollbar }
|
|
85
|
+
export default QyScrollbar
|
package/qy-skeleton/index.d.ts
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
ComponentOptionsMixin,
|
|
3
|
-
DefineComponent,
|
|
4
|
-
Plugin,
|
|
5
|
-
PublicProps,
|
|
6
|
-
SlotsType
|
|
7
|
-
} from 'vue'
|
|
8
|
-
|
|
9
|
-
export interface QySkeletonThrottle {
|
|
10
|
-
leading?: number
|
|
11
|
-
trailing?: number
|
|
12
|
-
initVal?: boolean
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export interface QySkeletonProps {
|
|
16
|
-
animated?: boolean
|
|
17
|
-
count?: number
|
|
18
|
-
rows?: number
|
|
19
|
-
loading?: boolean
|
|
20
|
-
throttle?: number | QySkeletonThrottle
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export interface QySkeletonAttrs {
|
|
24
|
-
role?: string
|
|
25
|
-
title?: string
|
|
26
|
-
[key: `data-${string}`]: unknown
|
|
27
|
-
[key: `aria-${string}`]: unknown
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export interface QySkeletonSlots {
|
|
31
|
-
default?: () => unknown
|
|
32
|
-
template?: () => unknown
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
type QySkeletonComponentProps = QySkeletonProps & QySkeletonAttrs
|
|
36
|
-
|
|
37
|
-
declare const QySkeleton: DefineComponent<
|
|
38
|
-
QySkeletonComponentProps,
|
|
39
|
-
{},
|
|
40
|
-
{},
|
|
41
|
-
{},
|
|
42
|
-
{},
|
|
43
|
-
ComponentOptionsMixin,
|
|
44
|
-
ComponentOptionsMixin,
|
|
45
|
-
{},
|
|
46
|
-
string,
|
|
47
|
-
PublicProps,
|
|
48
|
-
QySkeletonComponentProps,
|
|
49
|
-
{},
|
|
50
|
-
SlotsType<QySkeletonSlots>
|
|
51
|
-
> & Plugin
|
|
52
|
-
|
|
53
|
-
export { QySkeleton }
|
|
54
|
-
export default QySkeleton
|
|
1
|
+
import type {
|
|
2
|
+
ComponentOptionsMixin,
|
|
3
|
+
DefineComponent,
|
|
4
|
+
Plugin,
|
|
5
|
+
PublicProps,
|
|
6
|
+
SlotsType
|
|
7
|
+
} from 'vue'
|
|
8
|
+
|
|
9
|
+
export interface QySkeletonThrottle {
|
|
10
|
+
leading?: number
|
|
11
|
+
trailing?: number
|
|
12
|
+
initVal?: boolean
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface QySkeletonProps {
|
|
16
|
+
animated?: boolean
|
|
17
|
+
count?: number
|
|
18
|
+
rows?: number
|
|
19
|
+
loading?: boolean
|
|
20
|
+
throttle?: number | QySkeletonThrottle
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface QySkeletonAttrs {
|
|
24
|
+
role?: string
|
|
25
|
+
title?: string
|
|
26
|
+
[key: `data-${string}`]: unknown
|
|
27
|
+
[key: `aria-${string}`]: unknown
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export interface QySkeletonSlots {
|
|
31
|
+
default?: () => unknown
|
|
32
|
+
template?: () => unknown
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
type QySkeletonComponentProps = QySkeletonProps & QySkeletonAttrs
|
|
36
|
+
|
|
37
|
+
declare const QySkeleton: DefineComponent<
|
|
38
|
+
QySkeletonComponentProps,
|
|
39
|
+
{},
|
|
40
|
+
{},
|
|
41
|
+
{},
|
|
42
|
+
{},
|
|
43
|
+
ComponentOptionsMixin,
|
|
44
|
+
ComponentOptionsMixin,
|
|
45
|
+
{},
|
|
46
|
+
string,
|
|
47
|
+
PublicProps,
|
|
48
|
+
QySkeletonComponentProps,
|
|
49
|
+
{},
|
|
50
|
+
SlotsType<QySkeletonSlots>
|
|
51
|
+
> & Plugin
|
|
52
|
+
|
|
53
|
+
export { QySkeleton }
|
|
54
|
+
export default QySkeleton
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
ComponentOptionsMixin,
|
|
3
|
-
DefineComponent,
|
|
4
|
-
Plugin,
|
|
5
|
-
PublicProps
|
|
6
|
-
} from 'vue'
|
|
7
|
-
|
|
8
|
-
export type QySkeletonItemVariant =
|
|
9
|
-
| 'p'
|
|
10
|
-
| 'text'
|
|
11
|
-
| 'h1'
|
|
12
|
-
| 'h3'
|
|
13
|
-
| 'caption'
|
|
14
|
-
| 'button'
|
|
15
|
-
| 'image'
|
|
16
|
-
| 'circle'
|
|
17
|
-
| 'rect'
|
|
18
|
-
|
|
19
|
-
export interface QySkeletonItemProps {
|
|
20
|
-
variant?: QySkeletonItemVariant
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export interface QySkeletonItemAttrs {
|
|
24
|
-
role?: string
|
|
25
|
-
title?: string
|
|
26
|
-
[key: `data-${string}`]: unknown
|
|
27
|
-
[key: `aria-${string}`]: unknown
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
type QySkeletonItemComponentProps = QySkeletonItemProps &
|
|
31
|
-
QySkeletonItemAttrs
|
|
32
|
-
|
|
33
|
-
declare const QySkeletonItem: DefineComponent<
|
|
34
|
-
QySkeletonItemComponentProps,
|
|
35
|
-
{},
|
|
36
|
-
{},
|
|
37
|
-
{},
|
|
38
|
-
{},
|
|
39
|
-
ComponentOptionsMixin,
|
|
40
|
-
ComponentOptionsMixin,
|
|
41
|
-
{},
|
|
42
|
-
string,
|
|
43
|
-
PublicProps,
|
|
44
|
-
QySkeletonItemComponentProps
|
|
45
|
-
> & Plugin
|
|
46
|
-
|
|
47
|
-
export { QySkeletonItem }
|
|
48
|
-
export default QySkeletonItem
|
|
1
|
+
import type {
|
|
2
|
+
ComponentOptionsMixin,
|
|
3
|
+
DefineComponent,
|
|
4
|
+
Plugin,
|
|
5
|
+
PublicProps
|
|
6
|
+
} from 'vue'
|
|
7
|
+
|
|
8
|
+
export type QySkeletonItemVariant =
|
|
9
|
+
| 'p'
|
|
10
|
+
| 'text'
|
|
11
|
+
| 'h1'
|
|
12
|
+
| 'h3'
|
|
13
|
+
| 'caption'
|
|
14
|
+
| 'button'
|
|
15
|
+
| 'image'
|
|
16
|
+
| 'circle'
|
|
17
|
+
| 'rect'
|
|
18
|
+
|
|
19
|
+
export interface QySkeletonItemProps {
|
|
20
|
+
variant?: QySkeletonItemVariant
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface QySkeletonItemAttrs {
|
|
24
|
+
role?: string
|
|
25
|
+
title?: string
|
|
26
|
+
[key: `data-${string}`]: unknown
|
|
27
|
+
[key: `aria-${string}`]: unknown
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
type QySkeletonItemComponentProps = QySkeletonItemProps &
|
|
31
|
+
QySkeletonItemAttrs
|
|
32
|
+
|
|
33
|
+
declare const QySkeletonItem: DefineComponent<
|
|
34
|
+
QySkeletonItemComponentProps,
|
|
35
|
+
{},
|
|
36
|
+
{},
|
|
37
|
+
{},
|
|
38
|
+
{},
|
|
39
|
+
ComponentOptionsMixin,
|
|
40
|
+
ComponentOptionsMixin,
|
|
41
|
+
{},
|
|
42
|
+
string,
|
|
43
|
+
PublicProps,
|
|
44
|
+
QySkeletonItemComponentProps
|
|
45
|
+
> & Plugin
|
|
46
|
+
|
|
47
|
+
export { QySkeletonItem }
|
|
48
|
+
export default QySkeletonItem
|
package/qy-step/index.d.ts
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
Component,
|
|
3
|
-
ComponentOptionsMixin,
|
|
4
|
-
DefineComponent,
|
|
5
|
-
Plugin,
|
|
6
|
-
PublicProps,
|
|
7
|
-
SlotsType,
|
|
8
|
-
StyleValue
|
|
9
|
-
} from 'vue'
|
|
10
|
-
|
|
11
|
-
export type QyStepIcon = string | Component
|
|
12
|
-
export type QyStepStatus = '' | 'wait' | 'process' | 'finish' | 'error' | 'success'
|
|
13
|
-
|
|
14
|
-
export interface QyStepProps {
|
|
15
|
-
title?: string
|
|
16
|
-
description?: string
|
|
17
|
-
icon?: QyStepIcon
|
|
18
|
-
status?: QyStepStatus
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export interface QyStepAttrs {
|
|
22
|
-
class?: unknown
|
|
23
|
-
style?: StyleValue
|
|
24
|
-
id?: string
|
|
25
|
-
role?: string
|
|
26
|
-
[key: `data-${string}`]: unknown
|
|
27
|
-
[key: `aria-${string}`]: unknown
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export interface QyStepSlots {
|
|
31
|
-
icon?: () => unknown
|
|
32
|
-
title?: () => unknown
|
|
33
|
-
description?: () => unknown
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
type QyStepComponentProps = QyStepProps & QyStepAttrs
|
|
37
|
-
|
|
38
|
-
declare const QyStep: DefineComponent<
|
|
39
|
-
QyStepProps,
|
|
40
|
-
{},
|
|
41
|
-
{},
|
|
42
|
-
{},
|
|
43
|
-
{},
|
|
44
|
-
ComponentOptionsMixin,
|
|
45
|
-
ComponentOptionsMixin,
|
|
46
|
-
{},
|
|
47
|
-
string,
|
|
48
|
-
PublicProps,
|
|
49
|
-
QyStepComponentProps,
|
|
50
|
-
{},
|
|
51
|
-
SlotsType<QyStepSlots>
|
|
52
|
-
> & Plugin
|
|
53
|
-
|
|
54
|
-
export { QyStep }
|
|
55
|
-
export default QyStep
|
|
1
|
+
import type {
|
|
2
|
+
Component,
|
|
3
|
+
ComponentOptionsMixin,
|
|
4
|
+
DefineComponent,
|
|
5
|
+
Plugin,
|
|
6
|
+
PublicProps,
|
|
7
|
+
SlotsType,
|
|
8
|
+
StyleValue
|
|
9
|
+
} from 'vue'
|
|
10
|
+
|
|
11
|
+
export type QyStepIcon = string | Component
|
|
12
|
+
export type QyStepStatus = '' | 'wait' | 'process' | 'finish' | 'error' | 'success'
|
|
13
|
+
|
|
14
|
+
export interface QyStepProps {
|
|
15
|
+
title?: string
|
|
16
|
+
description?: string
|
|
17
|
+
icon?: QyStepIcon
|
|
18
|
+
status?: QyStepStatus
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface QyStepAttrs {
|
|
22
|
+
class?: unknown
|
|
23
|
+
style?: StyleValue
|
|
24
|
+
id?: string
|
|
25
|
+
role?: string
|
|
26
|
+
[key: `data-${string}`]: unknown
|
|
27
|
+
[key: `aria-${string}`]: unknown
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export interface QyStepSlots {
|
|
31
|
+
icon?: () => unknown
|
|
32
|
+
title?: () => unknown
|
|
33
|
+
description?: () => unknown
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
type QyStepComponentProps = QyStepProps & QyStepAttrs
|
|
37
|
+
|
|
38
|
+
declare const QyStep: DefineComponent<
|
|
39
|
+
QyStepProps,
|
|
40
|
+
{},
|
|
41
|
+
{},
|
|
42
|
+
{},
|
|
43
|
+
{},
|
|
44
|
+
ComponentOptionsMixin,
|
|
45
|
+
ComponentOptionsMixin,
|
|
46
|
+
{},
|
|
47
|
+
string,
|
|
48
|
+
PublicProps,
|
|
49
|
+
QyStepComponentProps,
|
|
50
|
+
{},
|
|
51
|
+
SlotsType<QyStepSlots>
|
|
52
|
+
> & Plugin
|
|
53
|
+
|
|
54
|
+
export { QyStep }
|
|
55
|
+
export default QyStep
|
package/qy-steps/index.d.ts
CHANGED
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
ComponentOptionsMixin,
|
|
3
|
-
DefineComponent,
|
|
4
|
-
Plugin,
|
|
5
|
-
PublicProps,
|
|
6
|
-
SlotsType,
|
|
7
|
-
StyleValue
|
|
8
|
-
} from 'vue'
|
|
9
|
-
|
|
10
|
-
export type QyStepStatus = 'wait' | 'process' | 'finish' | 'error' | 'success'
|
|
11
|
-
export type QyStepsDirection = 'horizontal' | 'vertical'
|
|
12
|
-
|
|
13
|
-
export interface QyStepsProps {
|
|
14
|
-
space?: number | string
|
|
15
|
-
active?: number
|
|
16
|
-
direction?: QyStepsDirection
|
|
17
|
-
alignCenter?: boolean
|
|
18
|
-
simple?: boolean
|
|
19
|
-
finishStatus?: QyStepStatus
|
|
20
|
-
processStatus?: QyStepStatus
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export interface QyStepsAttrs {
|
|
24
|
-
class?: unknown
|
|
25
|
-
style?: StyleValue
|
|
26
|
-
id?: string
|
|
27
|
-
role?: string
|
|
28
|
-
title?: string
|
|
29
|
-
[key: `data-${string}`]: unknown
|
|
30
|
-
[key: `aria-${string}`]: unknown
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export interface QyStepsSlots {
|
|
34
|
-
default?: () => unknown
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export type QyStepsEmits = {
|
|
38
|
-
change: (newValue: number, oldValue: number) => void
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
type QyStepsComponentProps = QyStepsProps & QyStepsAttrs & {
|
|
42
|
-
onChange?: QyStepsEmits['change']
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
declare const QySteps: DefineComponent<
|
|
46
|
-
QyStepsProps,
|
|
47
|
-
{},
|
|
48
|
-
{},
|
|
49
|
-
{},
|
|
50
|
-
{},
|
|
51
|
-
ComponentOptionsMixin,
|
|
52
|
-
ComponentOptionsMixin,
|
|
53
|
-
QyStepsEmits,
|
|
54
|
-
string,
|
|
55
|
-
PublicProps,
|
|
56
|
-
QyStepsComponentProps,
|
|
57
|
-
{},
|
|
58
|
-
SlotsType<QyStepsSlots>
|
|
59
|
-
> & Plugin
|
|
60
|
-
|
|
61
|
-
export { QySteps }
|
|
62
|
-
export default QySteps
|
|
1
|
+
import type {
|
|
2
|
+
ComponentOptionsMixin,
|
|
3
|
+
DefineComponent,
|
|
4
|
+
Plugin,
|
|
5
|
+
PublicProps,
|
|
6
|
+
SlotsType,
|
|
7
|
+
StyleValue
|
|
8
|
+
} from 'vue'
|
|
9
|
+
|
|
10
|
+
export type QyStepStatus = 'wait' | 'process' | 'finish' | 'error' | 'success'
|
|
11
|
+
export type QyStepsDirection = 'horizontal' | 'vertical'
|
|
12
|
+
|
|
13
|
+
export interface QyStepsProps {
|
|
14
|
+
space?: number | string
|
|
15
|
+
active?: number
|
|
16
|
+
direction?: QyStepsDirection
|
|
17
|
+
alignCenter?: boolean
|
|
18
|
+
simple?: boolean
|
|
19
|
+
finishStatus?: QyStepStatus
|
|
20
|
+
processStatus?: QyStepStatus
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface QyStepsAttrs {
|
|
24
|
+
class?: unknown
|
|
25
|
+
style?: StyleValue
|
|
26
|
+
id?: string
|
|
27
|
+
role?: string
|
|
28
|
+
title?: string
|
|
29
|
+
[key: `data-${string}`]: unknown
|
|
30
|
+
[key: `aria-${string}`]: unknown
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export interface QyStepsSlots {
|
|
34
|
+
default?: () => unknown
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type QyStepsEmits = {
|
|
38
|
+
change: (newValue: number, oldValue: number) => void
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
type QyStepsComponentProps = QyStepsProps & QyStepsAttrs & {
|
|
42
|
+
onChange?: QyStepsEmits['change']
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
declare const QySteps: DefineComponent<
|
|
46
|
+
QyStepsProps,
|
|
47
|
+
{},
|
|
48
|
+
{},
|
|
49
|
+
{},
|
|
50
|
+
{},
|
|
51
|
+
ComponentOptionsMixin,
|
|
52
|
+
ComponentOptionsMixin,
|
|
53
|
+
QyStepsEmits,
|
|
54
|
+
string,
|
|
55
|
+
PublicProps,
|
|
56
|
+
QyStepsComponentProps,
|
|
57
|
+
{},
|
|
58
|
+
SlotsType<QyStepsSlots>
|
|
59
|
+
> & Plugin
|
|
60
|
+
|
|
61
|
+
export { QySteps }
|
|
62
|
+
export default QySteps
|
package/qy-tab-pane/index.d.ts
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
ComponentOptionsMixin,
|
|
3
|
-
DefineComponent,
|
|
4
|
-
Plugin,
|
|
5
|
-
PublicProps,
|
|
6
|
-
SlotsType
|
|
7
|
-
} from 'vue'
|
|
8
|
-
import type { QyTabName } from '../qy-tabs'
|
|
9
|
-
|
|
10
|
-
export interface QyTabPaneProps {
|
|
11
|
-
label?: string
|
|
12
|
-
name?: QyTabName
|
|
13
|
-
closable?: boolean
|
|
14
|
-
disabled?: boolean
|
|
15
|
-
lazy?: boolean
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export interface QyTabPaneSlots {
|
|
19
|
-
default?: () => unknown
|
|
20
|
-
label?: () => unknown
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
declare const QyTabPane: DefineComponent<
|
|
24
|
-
QyTabPaneProps,
|
|
25
|
-
{},
|
|
26
|
-
{},
|
|
27
|
-
{},
|
|
28
|
-
{},
|
|
29
|
-
ComponentOptionsMixin,
|
|
30
|
-
ComponentOptionsMixin,
|
|
31
|
-
{},
|
|
32
|
-
string,
|
|
33
|
-
PublicProps,
|
|
34
|
-
QyTabPaneProps,
|
|
35
|
-
{},
|
|
36
|
-
SlotsType<QyTabPaneSlots>
|
|
37
|
-
> & Plugin
|
|
38
|
-
|
|
39
|
-
export { QyTabPane }
|
|
40
|
-
export default QyTabPane
|
|
1
|
+
import type {
|
|
2
|
+
ComponentOptionsMixin,
|
|
3
|
+
DefineComponent,
|
|
4
|
+
Plugin,
|
|
5
|
+
PublicProps,
|
|
6
|
+
SlotsType
|
|
7
|
+
} from 'vue'
|
|
8
|
+
import type { QyTabName } from '../qy-tabs'
|
|
9
|
+
|
|
10
|
+
export interface QyTabPaneProps {
|
|
11
|
+
label?: string
|
|
12
|
+
name?: QyTabName
|
|
13
|
+
closable?: boolean
|
|
14
|
+
disabled?: boolean
|
|
15
|
+
lazy?: boolean
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface QyTabPaneSlots {
|
|
19
|
+
default?: () => unknown
|
|
20
|
+
label?: () => unknown
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
declare const QyTabPane: DefineComponent<
|
|
24
|
+
QyTabPaneProps,
|
|
25
|
+
{},
|
|
26
|
+
{},
|
|
27
|
+
{},
|
|
28
|
+
{},
|
|
29
|
+
ComponentOptionsMixin,
|
|
30
|
+
ComponentOptionsMixin,
|
|
31
|
+
{},
|
|
32
|
+
string,
|
|
33
|
+
PublicProps,
|
|
34
|
+
QyTabPaneProps,
|
|
35
|
+
{},
|
|
36
|
+
SlotsType<QyTabPaneSlots>
|
|
37
|
+
> & Plugin
|
|
38
|
+
|
|
39
|
+
export { QyTabPane }
|
|
40
|
+
export default QyTabPane
|