@qynpm/ui 1.0.34 → 1.0.36

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.
Files changed (126) hide show
  1. package/README.md +91 -56
  2. package/dist/index.cjs +7 -6
  3. package/dist/index.mjs +63 -61
  4. package/dist/qy-action-bar/index.cjs +1 -1
  5. package/dist/qy-action-bar/index.mjs +1 -1
  6. package/dist/qy-dialog/index.cjs +1 -1
  7. package/dist/qy-dialog/index.mjs +1 -1
  8. package/dist/qy-drawer/index.cjs +1 -1
  9. package/dist/qy-drawer/index.mjs +1 -1
  10. package/dist/qy-file-picker/index.cjs +1 -1
  11. package/dist/qy-file-picker/index.mjs +1 -1
  12. package/dist/qy-form-section/index.cjs +1 -1
  13. package/dist/qy-form-section/index.mjs +1 -1
  14. package/dist/qy-iframe/index.cjs +1 -1
  15. package/dist/qy-iframe/index.mjs +1 -1
  16. package/dist/qy-image/index.cjs +1 -1
  17. package/dist/qy-image/index.mjs +1 -1
  18. package/dist/qy-image-preview/index.cjs +1 -1
  19. package/dist/qy-image-preview/index.mjs +2 -2
  20. package/dist/qy-image-upload/index.cjs +1 -1
  21. package/dist/qy-image-upload/index.mjs +1 -1
  22. package/dist/qy-input-number/index.cjs +1 -1
  23. package/dist/qy-input-number/index.mjs +1 -1
  24. package/dist/qy-input-tag/index.cjs +1 -0
  25. package/dist/qy-input-tag/index.mjs +7 -0
  26. package/dist/qy-legacy-selection-dialog/index.cjs +1 -1
  27. package/dist/qy-legacy-selection-dialog/index.mjs +1 -1
  28. package/dist/qy-menu-actions/index.cjs +1 -1
  29. package/dist/qy-menu-actions/index.mjs +1 -1
  30. package/dist/qy-money-input/index.cjs +1 -1
  31. package/dist/qy-money-input/index.mjs +5 -2
  32. package/dist/qy-popover/index.cjs +1 -1
  33. package/dist/qy-popover/index.mjs +1 -1
  34. package/dist/qy-record-quote-search/index.cjs +1 -1
  35. package/dist/qy-record-quote-search/index.mjs +1 -1
  36. package/dist/qy-remark-image/index.cjs +1 -1
  37. package/dist/qy-remark-image/index.mjs +1 -1
  38. package/dist/qy-remote-select/index.cjs +1 -1
  39. package/dist/qy-remote-select/index.mjs +1 -1
  40. package/dist/qy-search-input/index.cjs +1 -1
  41. package/dist/qy-search-input/index.mjs +1 -1
  42. package/dist/qy-selection-dialog/index.cjs +1 -1
  43. package/dist/qy-selection-dialog/index.mjs +1 -1
  44. package/dist/qy-tree-select/index.cjs +1 -1
  45. package/dist/qy-tree-select/index.mjs +1 -1
  46. package/dist/qy-upload/index.cjs +1 -1
  47. package/dist/qy-upload/index.mjs +5 -2
  48. package/dist/shared/{index-IXbvJ9d7.mjs → index-4SkLDBra.mjs} +1 -1
  49. package/dist/shared/index-BYX0biqw.mjs +766 -0
  50. package/dist/shared/{index-n04hARNG.cjs → index-Bli6Gx5d.cjs} +1 -1
  51. package/dist/shared/{index-BBZQowyp.mjs → index-BuUtJrIy.mjs} +9 -9
  52. package/dist/shared/index-BxxwEr52.mjs +107 -0
  53. package/dist/shared/index-C1i-hd-W.cjs +1 -0
  54. package/dist/shared/{index-Dyyp1ix9.cjs → index-C7lRQtzs.cjs} +1 -1
  55. package/dist/shared/{index-C_adKysL.mjs → index-CdnHMuo3.mjs} +1 -1
  56. package/dist/shared/index-D654b42n.mjs +2754 -0
  57. package/dist/shared/{index-D6-K5xSD.cjs → index-DlGwHshu.cjs} +1 -1
  58. package/dist/shared/{index-BeubtXXl.cjs → index-DnHfk7NM.cjs} +1 -1
  59. package/dist/shared/index-DnNIseRJ.cjs +1 -0
  60. package/dist/shared/{index-ccugL1Ie.mjs → index-Dr-Q5krU.mjs} +4 -4
  61. package/dist/shared/index-aIqtIYsu.cjs +1 -0
  62. package/dist/shared/index.vue_vue_type_script_setup_true_lang-BiIgNax-.cjs +1 -0
  63. package/dist/shared/index.vue_vue_type_script_setup_true_lang-CqSJ_8hG.cjs +1 -0
  64. package/dist/shared/index.vue_vue_type_script_setup_true_lang-DIWWHODS.mjs +197 -0
  65. package/dist/shared/index.vue_vue_type_script_setup_true_lang-DwFGEW4B.mjs +143 -0
  66. 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
  67. package/dist/shared/index.vue_vue_type_script_setup_true_lang-ccFLNRry.cjs +1 -0
  68. package/dist/shared/index.vue_vue_type_style_index_0_lang-B1FgJZbw.mjs +148 -0
  69. package/dist/shared/index.vue_vue_type_style_index_0_lang-DHK86rdP.cjs +1 -0
  70. package/dist/shared/index.vue_vue_type_style_index_0_lang-DVXf-yUs.cjs +1 -0
  71. 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
  72. package/dist/shared/utils-BjEXwY3L.cjs +1 -0
  73. package/dist/shared/utils-DoyI5oM8.mjs +148 -0
  74. package/index.d.ts +113 -56
  75. package/package.json +489 -483
  76. package/qy-alert/index.d.ts +64 -64
  77. package/qy-autocomplete/index.d.ts +5 -5
  78. package/qy-avatar/index.d.ts +67 -67
  79. package/qy-badge/index.d.ts +63 -63
  80. package/qy-card/index.d.ts +64 -64
  81. package/qy-cascader/index.d.ts +198 -198
  82. package/qy-collapse/index.d.ts +59 -59
  83. package/qy-collapse-item/index.d.ts +45 -45
  84. package/qy-descriptions/index.d.ts +47 -47
  85. package/qy-descriptions-item/index.d.ts +46 -46
  86. package/qy-dialog/index.d.ts +63 -63
  87. package/qy-divider/index.d.ts +53 -53
  88. package/qy-drawer/index.d.ts +55 -55
  89. package/qy-empty/index.d.ts +51 -51
  90. package/qy-file-picker/index.d.ts +4 -1
  91. package/qy-iframe/index.d.ts +66 -66
  92. package/qy-image/index.d.ts +28 -28
  93. package/qy-image-preview/index.d.ts +20 -20
  94. package/qy-image-upload/index.d.ts +69 -12
  95. package/qy-input/index.d.ts +76 -18
  96. package/qy-input-number/index.d.ts +64 -30
  97. package/qy-input-tag/index.d.ts +69 -0
  98. package/qy-link/index.d.ts +69 -69
  99. package/qy-loading/index.d.ts +25 -25
  100. package/qy-menu-actions/index.d.ts +29 -29
  101. package/qy-money-input/index.d.ts +87 -12
  102. package/qy-progress/index.d.ts +74 -74
  103. package/qy-result/index.d.ts +64 -64
  104. package/qy-scrollbar/index.d.ts +85 -85
  105. package/qy-skeleton/index.d.ts +54 -54
  106. package/qy-skeleton-item/index.d.ts +48 -48
  107. package/qy-step/index.d.ts +55 -55
  108. package/qy-steps/index.d.ts +62 -62
  109. package/qy-tab-pane/index.d.ts +40 -40
  110. package/qy-table-column-settings/index.d.ts +18 -18
  111. package/qy-tabs/index.d.ts +84 -84
  112. package/qy-tree/index.d.ts +132 -132
  113. package/qy-tree-select/index.d.ts +123 -123
  114. package/qy-upload/index.d.ts +99 -5
  115. package/dist/shared/index-BkX9xlbI.cjs +0 -1
  116. package/dist/shared/index-C_1KP3l9.mjs +0 -129
  117. package/dist/shared/index-Dw5upK-A.cjs +0 -1
  118. package/dist/shared/index-fh9l84rU.mjs +0 -3541
  119. package/dist/shared/index.vue_vue_type_script_setup_true_lang-5gku7Zwv.cjs +0 -1
  120. package/dist/shared/index.vue_vue_type_style_index_0_lang-B0CXLnL1.mjs +0 -132
  121. package/dist/shared/index.vue_vue_type_style_index_0_lang-DccRGtZE.cjs +0 -1
  122. package/dist/shared/index.vue_vue_type_style_index_0_lang-M0qKRXd2.cjs +0 -1
  123. package/dist/shared/utils-D2KAQCCB.cjs +0 -1
  124. package/dist/shared/utils-DUntDntI.mjs +0 -112
  125. /package/dist/shared/{index.vue_vue_type_script_setup_true_lang-q37rBg6Z.mjs → index.vue_vue_type_script_setup_true_lang-CGsXVhJy.mjs} +0 -0
  126. /package/dist/shared/{index.vue_vue_type_script_setup_true_lang-CglCPcj-.cjs → index.vue_vue_type_script_setup_true_lang-Dk83TGiU.cjs} +0 -0
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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