@qynpm/ui 1.0.34 → 1.0.35
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 +28 -28
- package/dist/index.cjs +5 -5
- package/dist/index.mjs +6 -6
- 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-iframe/index.cjs +1 -1
- package/dist/qy-iframe/index.mjs +1 -1
- package/dist/qy-image/index.cjs +1 -1
- package/dist/qy-image/index.mjs +1 -1
- package/dist/qy-image-preview/index.cjs +1 -1
- package/dist/qy-image-preview/index.mjs +2 -2
- 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-menu-actions/index.cjs +1 -1
- package/dist/qy-menu-actions/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-popover/index.cjs +1 -1
- package/dist/qy-popover/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-IXbvJ9d7.mjs → index-4SkLDBra.mjs} +1 -1
- package/dist/shared/{index-fh9l84rU.mjs → index-BekN1g_r.mjs} +10 -10
- package/dist/shared/{index-n04hARNG.cjs → index-Bli6Gx5d.cjs} +1 -1
- package/dist/shared/{index-BBZQowyp.mjs → index-BuUtJrIy.mjs} +9 -9
- package/dist/shared/{index-Dyyp1ix9.cjs → index-C7lRQtzs.cjs} +1 -1
- package/dist/shared/{index-C_adKysL.mjs → index-CdnHMuo3.mjs} +1 -1
- package/dist/shared/{index-Dw5upK-A.cjs → index-Ce_hvR--.cjs} +1 -1
- package/dist/shared/{index-D6-K5xSD.cjs → index-DlGwHshu.cjs} +1 -1
- package/dist/shared/{index-BeubtXXl.cjs → index-DnHfk7NM.cjs} +1 -1
- package/dist/shared/{index-ccugL1Ie.mjs → index-Dr-Q5krU.mjs} +4 -4
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-CqSJ_8hG.cjs +1 -0
- package/dist/shared/{index.vue_vue_type_script_setup_true_lang-DoL8xnpo.mjs → index.vue_vue_type_script_setup_true_lang-IyZesuKm.mjs} +9 -9
- package/dist/shared/index.vue_vue_type_style_index_0_lang-DHK86rdP.cjs +1 -0
- package/dist/shared/{index.vue_vue_type_style_index_0_lang-BJXS2dVf.mjs → index.vue_vue_type_style_index_0_lang-DsOg_Rum.mjs} +19 -17
- package/dist/shared/utils-BjEXwY3L.cjs +1 -0
- package/dist/shared/utils-DoyI5oM8.mjs +148 -0
- package/index.d.ts +31 -31
- package/package.json +1 -1
- 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 +63 -63
- 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-iframe/index.d.ts +66 -66
- package/qy-image/index.d.ts +28 -28
- package/qy-image-preview/index.d.ts +21 -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.vue_vue_type_script_setup_true_lang-5gku7Zwv.cjs +0 -1
- package/dist/shared/index.vue_vue_type_style_index_0_lang-M0qKRXd2.cjs +0 -1
- package/dist/shared/utils-D2KAQCCB.cjs +0 -1
- package/dist/shared/utils-DUntDntI.mjs +0 -112
package/qy-result/index.d.ts
CHANGED
|
@@ -1,64 +1,64 @@
|
|
|
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 QyResultStatus =
|
|
11
|
-
| 'success'
|
|
12
|
-
| 'warning'
|
|
13
|
-
| 'info'
|
|
14
|
-
| 'error'
|
|
15
|
-
| '401'
|
|
16
|
-
| '403'
|
|
17
|
-
| '404'
|
|
18
|
-
| '500'
|
|
19
|
-
|
|
20
|
-
export interface QyResultProps {
|
|
21
|
-
status?: QyResultStatus
|
|
22
|
-
title?: string
|
|
23
|
-
description?: string
|
|
24
|
-
image?: string
|
|
25
|
-
imageAlt?: string
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export interface QyResultAttrs {
|
|
29
|
-
class?: unknown
|
|
30
|
-
style?: StyleValue
|
|
31
|
-
id?: string
|
|
32
|
-
role?: string
|
|
33
|
-
title?: string
|
|
34
|
-
[key: `data-${string}`]: unknown
|
|
35
|
-
[key: `aria-${string}`]: unknown
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export interface QyResultSlots {
|
|
39
|
-
visual?: () => unknown
|
|
40
|
-
title?: () => unknown
|
|
41
|
-
description?: () => unknown
|
|
42
|
-
actions?: () => unknown
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
type QyResultComponentProps = QyResultProps & QyResultAttrs
|
|
46
|
-
|
|
47
|
-
declare const QyResult: DefineComponent<
|
|
48
|
-
QyResultComponentProps,
|
|
49
|
-
{},
|
|
50
|
-
{},
|
|
51
|
-
{},
|
|
52
|
-
{},
|
|
53
|
-
ComponentOptionsMixin,
|
|
54
|
-
ComponentOptionsMixin,
|
|
55
|
-
{},
|
|
56
|
-
string,
|
|
57
|
-
PublicProps,
|
|
58
|
-
QyResultComponentProps,
|
|
59
|
-
{},
|
|
60
|
-
SlotsType<QyResultSlots>
|
|
61
|
-
> & Plugin
|
|
62
|
-
|
|
63
|
-
export { QyResult }
|
|
64
|
-
export default QyResult
|
|
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 QyResultStatus =
|
|
11
|
+
| 'success'
|
|
12
|
+
| 'warning'
|
|
13
|
+
| 'info'
|
|
14
|
+
| 'error'
|
|
15
|
+
| '401'
|
|
16
|
+
| '403'
|
|
17
|
+
| '404'
|
|
18
|
+
| '500'
|
|
19
|
+
|
|
20
|
+
export interface QyResultProps {
|
|
21
|
+
status?: QyResultStatus
|
|
22
|
+
title?: string
|
|
23
|
+
description?: string
|
|
24
|
+
image?: string
|
|
25
|
+
imageAlt?: string
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface QyResultAttrs {
|
|
29
|
+
class?: unknown
|
|
30
|
+
style?: StyleValue
|
|
31
|
+
id?: string
|
|
32
|
+
role?: string
|
|
33
|
+
title?: string
|
|
34
|
+
[key: `data-${string}`]: unknown
|
|
35
|
+
[key: `aria-${string}`]: unknown
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export interface QyResultSlots {
|
|
39
|
+
visual?: () => unknown
|
|
40
|
+
title?: () => unknown
|
|
41
|
+
description?: () => unknown
|
|
42
|
+
actions?: () => unknown
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
type QyResultComponentProps = QyResultProps & QyResultAttrs
|
|
46
|
+
|
|
47
|
+
declare const QyResult: DefineComponent<
|
|
48
|
+
QyResultComponentProps,
|
|
49
|
+
{},
|
|
50
|
+
{},
|
|
51
|
+
{},
|
|
52
|
+
{},
|
|
53
|
+
ComponentOptionsMixin,
|
|
54
|
+
ComponentOptionsMixin,
|
|
55
|
+
{},
|
|
56
|
+
string,
|
|
57
|
+
PublicProps,
|
|
58
|
+
QyResultComponentProps,
|
|
59
|
+
{},
|
|
60
|
+
SlotsType<QyResultSlots>
|
|
61
|
+
> & Plugin
|
|
62
|
+
|
|
63
|
+
export { QyResult }
|
|
64
|
+
export default QyResult
|
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
|