@qynpm/ui 1.0.29 → 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.
Files changed (154) hide show
  1. package/README.md +93 -7
  2. package/dist/index.cjs +7 -5
  3. package/dist/index.mjs +70 -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-button/index.cjs +1 -1
  7. package/dist/qy-button/index.mjs +1 -1
  8. package/dist/qy-checkbox/index.cjs +1 -1
  9. package/dist/qy-checkbox/index.mjs +1 -1
  10. package/dist/qy-checkbox-group/index.cjs +1 -1
  11. package/dist/qy-checkbox-group/index.mjs +1 -1
  12. package/dist/qy-dialog/index.cjs +1 -1
  13. package/dist/qy-dialog/index.mjs +1 -1
  14. package/dist/qy-drawer/index.cjs +1 -0
  15. package/dist/qy-drawer/index.mjs +5 -0
  16. package/dist/qy-dropdown/index.cjs +1 -1
  17. package/dist/qy-dropdown/index.mjs +1 -1
  18. package/dist/qy-file-picker/index.cjs +1 -1
  19. package/dist/qy-file-picker/index.mjs +1 -1
  20. package/dist/qy-form-section/index.cjs +1 -1
  21. package/dist/qy-form-section/index.mjs +1 -1
  22. package/dist/qy-fullscreen/index.cjs +1 -1
  23. package/dist/qy-fullscreen/index.mjs +1 -1
  24. package/dist/qy-icon-picker/index.cjs +1 -1
  25. package/dist/qy-icon-picker/index.mjs +1 -1
  26. package/dist/qy-image/index.cjs +1 -1
  27. package/dist/qy-image/index.mjs +1 -1
  28. package/dist/qy-image-upload/index.cjs +1 -1
  29. package/dist/qy-image-upload/index.mjs +1 -1
  30. package/dist/qy-input/index.cjs +1 -1
  31. package/dist/qy-input/index.mjs +1 -1
  32. package/dist/qy-input-number/index.cjs +1 -1
  33. package/dist/qy-input-number/index.mjs +1 -1
  34. package/dist/qy-legacy-selection-dialog/index.cjs +1 -1
  35. package/dist/qy-legacy-selection-dialog/index.mjs +1 -1
  36. package/dist/qy-loading/index.cjs +1 -0
  37. package/dist/qy-loading/index.mjs +9 -0
  38. package/dist/qy-menu-actions/index.cjs +1 -1
  39. package/dist/qy-menu-actions/index.mjs +1 -1
  40. package/dist/qy-money-input/index.cjs +1 -1
  41. package/dist/qy-money-input/index.mjs +1 -1
  42. package/dist/qy-radio/index.cjs +1 -1
  43. package/dist/qy-radio/index.mjs +1 -1
  44. package/dist/qy-radio-group/index.cjs +1 -1
  45. package/dist/qy-radio-group/index.mjs +1 -1
  46. package/dist/qy-record-quote-search/index.cjs +1 -1
  47. package/dist/qy-record-quote-search/index.mjs +1 -1
  48. package/dist/qy-remark-image/index.cjs +1 -1
  49. package/dist/qy-remark-image/index.mjs +1 -1
  50. package/dist/qy-remote-select/index.cjs +1 -1
  51. package/dist/qy-remote-select/index.mjs +1 -1
  52. package/dist/qy-result/index.cjs +1 -0
  53. package/dist/qy-result/index.mjs +7 -0
  54. package/dist/qy-scrollbar/index.cjs +1 -1
  55. package/dist/qy-scrollbar/index.mjs +1 -1
  56. package/dist/qy-search-input/index.cjs +1 -1
  57. package/dist/qy-search-input/index.mjs +1 -1
  58. package/dist/qy-select/index.cjs +1 -1
  59. package/dist/qy-select/index.mjs +1 -1
  60. package/dist/qy-selection-dialog/index.cjs +1 -1
  61. package/dist/qy-selection-dialog/index.mjs +1 -1
  62. package/dist/qy-switch/index.cjs +1 -1
  63. package/dist/qy-switch/index.mjs +1 -1
  64. package/dist/qy-table-column-settings/index.cjs +1 -1
  65. package/dist/qy-table-column-settings/index.mjs +1 -1
  66. package/dist/qy-tag/index.cjs +1 -1
  67. package/dist/qy-tag/index.mjs +1 -1
  68. package/dist/qy-tree/index.cjs +1 -1
  69. package/dist/qy-tree/index.mjs +1 -1
  70. package/dist/qy-tree-select/index.cjs +1 -1
  71. package/dist/qy-tree-select/index.mjs +1 -1
  72. package/dist/qy-upload/index.cjs +1 -1
  73. package/dist/qy-upload/index.mjs +1 -1
  74. package/dist/shared/{index-C7V-LeFg.mjs → index-1LT6Q6XJ.mjs} +1 -1
  75. package/dist/shared/{index-DHJf8Zto.mjs → index-B0zL9hEY.mjs} +1 -1
  76. package/dist/shared/index-B1zDCCqy.mjs +78 -0
  77. package/dist/shared/{index-B9RYNZUh.cjs → index-BWDaV6FO.cjs} +1 -1
  78. package/dist/shared/{index-Czrv5jUt.mjs → index-BmJPEXUM.mjs} +1 -1
  79. package/dist/shared/{index-DJT4yz0h.mjs → index-CaDqecpT.mjs} +8 -8
  80. package/dist/shared/{index-BNQxyXzB.cjs → index-D-YyFaZ6.cjs} +1 -1
  81. package/dist/shared/{index-DjyaOKUS.cjs → index-D5DmmUX2.cjs} +1 -1
  82. package/dist/shared/{index-C509sCx9.cjs → index-DqsG1Mam.cjs} +1 -1
  83. package/dist/shared/index-Dvf1zJ7h.cjs +1 -0
  84. package/dist/shared/index-gcsw_rtX.mjs +3529 -0
  85. package/dist/shared/index-uhxRj2ZT.cjs +1 -0
  86. package/dist/shared/index.vue_vue_type_script_setup_true_lang-BLF3RNlY.mjs +331 -0
  87. package/dist/shared/{index.vue_vue_type_script_setup_true_lang-DXtovY1E.mjs → index.vue_vue_type_script_setup_true_lang-C91DUwOD.mjs} +1 -1
  88. package/dist/shared/{index.vue_vue_type_script_setup_true_lang-DXGjuA2f.cjs → index.vue_vue_type_script_setup_true_lang-CuXBYNXZ.cjs} +1 -1
  89. package/dist/shared/{index.vue_vue_type_script_setup_true_lang-CUox3Lm-.mjs → index.vue_vue_type_script_setup_true_lang-DP-jqqo2.mjs} +1 -1
  90. package/dist/shared/{index.vue_vue_type_script_setup_true_lang-kje3Rtlw.cjs → index.vue_vue_type_script_setup_true_lang-DkDEcB4G.cjs} +1 -1
  91. package/dist/shared/index.vue_vue_type_script_setup_true_lang-S6QPMZay.cjs +1 -0
  92. package/dist/shared/{index.vue_vue_type_style_index_0_lang-BTqKOZ4L.cjs → index.vue_vue_type_style_index_0_lang-CL_IFx-Z.cjs} +1 -1
  93. package/dist/shared/index.vue_vue_type_style_index_0_lang-CUqnwExG.mjs +80 -0
  94. package/dist/shared/{index.vue_vue_type_style_index_0_lang-Bc-Ya_zS.mjs → index.vue_vue_type_style_index_0_lang-DXQ9l1XF.mjs} +1 -1
  95. package/dist/shared/index.vue_vue_type_style_index_0_lang-lmRmXLwB.cjs +1 -0
  96. package/index.d.ts +39 -1
  97. package/package.json +459 -440
  98. package/qy-alert/index.d.ts +64 -64
  99. package/qy-autocomplete/index.d.ts +5 -5
  100. package/qy-avatar/index.d.ts +67 -67
  101. package/qy-badge/index.d.ts +63 -63
  102. package/qy-card/index.d.ts +64 -64
  103. package/qy-cascader/index.d.ts +198 -198
  104. package/qy-collapse/index.d.ts +59 -59
  105. package/qy-collapse-item/index.d.ts +45 -45
  106. package/qy-descriptions/index.d.ts +47 -47
  107. package/qy-descriptions-item/index.d.ts +46 -46
  108. package/qy-dialog/index.d.ts +60 -2
  109. package/qy-divider/index.d.ts +53 -53
  110. package/qy-drawer/index.d.ts +55 -0
  111. package/qy-empty/index.d.ts +51 -51
  112. package/qy-image/index.d.ts +28 -28
  113. package/qy-image-preview/index.d.ts +20 -20
  114. package/qy-link/index.d.ts +69 -69
  115. package/qy-loading/index.d.ts +25 -0
  116. package/qy-menu-actions/index.d.ts +29 -29
  117. package/qy-progress/index.d.ts +74 -74
  118. package/qy-result/index.d.ts +64 -0
  119. package/qy-scrollbar/index.d.ts +85 -85
  120. package/qy-skeleton/index.d.ts +54 -54
  121. package/qy-skeleton-item/index.d.ts +48 -48
  122. package/qy-step/index.d.ts +55 -55
  123. package/qy-steps/index.d.ts +62 -62
  124. package/qy-tab-pane/index.d.ts +40 -40
  125. package/qy-table-column-settings/index.d.ts +18 -18
  126. package/qy-tabs/index.d.ts +84 -84
  127. package/qy-tree/index.d.ts +132 -132
  128. package/qy-tree-select/index.d.ts +123 -123
  129. package/dist/shared/index-BQj_q6rA.mjs +0 -3446
  130. package/dist/shared/index-qwzyfx9S.cjs +0 -1
  131. /package/dist/shared/{index-D7A0RzWH.cjs → index-BDdhBEFr.cjs} +0 -0
  132. /package/dist/shared/{index-PlyLRNmb.cjs → index-Bmw9BNXm.cjs} +0 -0
  133. /package/dist/shared/{index-UGOgNLvm.cjs → index-BpI0jwYK.cjs} +0 -0
  134. /package/dist/shared/{index-C2n0R6rA.mjs → index-Bs2OQHXk.mjs} +0 -0
  135. /package/dist/shared/{index-DA3GVIZY.cjs → index-BxvS3vlc.cjs} +0 -0
  136. /package/dist/shared/{index-DMiZy6gD.cjs → index-Bxz4crCd.cjs} +0 -0
  137. /package/dist/shared/{index-YsBzyp9n.mjs → index-C-ZAw_DP.mjs} +0 -0
  138. /package/dist/shared/{index-CUITnlPr.mjs → index-C31wpivi.mjs} +0 -0
  139. /package/dist/shared/{index-BqV6vW9P.cjs → index-CCZttbsg.cjs} +0 -0
  140. /package/dist/shared/{index-mTWXYnLm.mjs → index-CmRclPWX.mjs} +0 -0
  141. /package/dist/shared/{index-DvA3Wy_F.mjs → index-Co0_4YEV.mjs} +0 -0
  142. /package/dist/shared/{index-YM4DcbBZ.cjs → index-CwzztWPU.cjs} +0 -0
  143. /package/dist/shared/{index-WP9Dbscv.mjs → index-D6ybNdgn.mjs} +0 -0
  144. /package/dist/shared/{index-CtF8Nz3g.mjs → index-DEZF-Fkt.mjs} +0 -0
  145. /package/dist/shared/{index-D30m6gKz.cjs → index-DIs6iPjF.cjs} +0 -0
  146. /package/dist/shared/{index-Bs6yjkZ5.cjs → index-DLLDXfic.cjs} +0 -0
  147. /package/dist/shared/{index-BSxEaYHx.mjs → index-D_rRdrge.mjs} +0 -0
  148. /package/dist/shared/{index-CR6yQfR2.mjs → index-DfR8Z9MN.mjs} +0 -0
  149. /package/dist/shared/{index-4cLP6sJP.cjs → index-rcu9CzSn.cjs} +0 -0
  150. /package/dist/shared/{index-D0L-u1nt.mjs → index-seQHtqdh.mjs} +0 -0
  151. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-CJaF7Ecm.mjs → index.vue_vue_type_style_index_0_lang-B-FeHatv.mjs} +0 -0
  152. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-CqKs13Fp.cjs → index.vue_vue_type_style_index_0_lang-Cn3P9d4L.cjs} +0 -0
  153. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-CC2-igG3.cjs → index.vue_vue_type_style_index_0_lang-DOfJV2oz.cjs} +0 -0
  154. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-Dc84vYSd.mjs → index.vue_vue_type_style_index_0_lang-DzfGx6ce.mjs} +0 -0
@@ -1,69 +1,69 @@
1
- import type {
2
- Component,
3
- ComponentOptionsMixin,
4
- DefineComponent,
5
- Plugin,
6
- PublicProps,
7
- SlotsType
8
- } from 'vue'
9
- import type { StyleValue } from 'vue'
10
-
11
- export type QyLinkType = 'default' | 'primary' | 'success' | 'warning' | 'info' | 'danger'
12
- export type QyLinkUnderline = boolean | 'always' | 'never' | 'hover'
13
-
14
- export interface QyLinkProps {
15
- type?: QyLinkType
16
- underline?: QyLinkUnderline
17
- disabled?: boolean
18
- href?: string
19
- target?: string
20
- icon?: string | Component
21
- }
22
-
23
- export interface QyLinkAttrs {
24
- rel?: string
25
- download?: string | boolean
26
- hreflang?: string
27
- referrerpolicy?: string
28
- ping?: string
29
- tabindex?: string | number
30
- class?: unknown
31
- style?: StyleValue
32
- id?: string
33
- title?: string
34
- role?: string
35
- [key: `data-${string}`]: unknown
36
- [key: `aria-${string}`]: unknown
37
- }
38
-
39
- export interface QyLinkSlots {
40
- default?: () => unknown
41
- icon?: () => unknown
42
- }
43
-
44
- export type QyLinkEmits = {
45
- click: (event: MouseEvent) => void
46
- }
47
-
48
- type QyLinkComponentProps = QyLinkProps & QyLinkAttrs & {
49
- onClick?: QyLinkEmits['click']
50
- }
51
-
52
- declare const QyLink: DefineComponent<
53
- QyLinkProps,
54
- {},
55
- {},
56
- {},
57
- {},
58
- ComponentOptionsMixin,
59
- ComponentOptionsMixin,
60
- QyLinkEmits,
61
- string,
62
- PublicProps,
63
- QyLinkComponentProps,
64
- {},
65
- SlotsType<QyLinkSlots>
66
- > & Plugin
67
-
68
- export { QyLink }
69
- export default QyLink
1
+ import type {
2
+ Component,
3
+ ComponentOptionsMixin,
4
+ DefineComponent,
5
+ Plugin,
6
+ PublicProps,
7
+ SlotsType
8
+ } from 'vue'
9
+ import type { StyleValue } from 'vue'
10
+
11
+ export type QyLinkType = 'default' | 'primary' | 'success' | 'warning' | 'info' | 'danger'
12
+ export type QyLinkUnderline = boolean | 'always' | 'never' | 'hover'
13
+
14
+ export interface QyLinkProps {
15
+ type?: QyLinkType
16
+ underline?: QyLinkUnderline
17
+ disabled?: boolean
18
+ href?: string
19
+ target?: string
20
+ icon?: string | Component
21
+ }
22
+
23
+ export interface QyLinkAttrs {
24
+ rel?: string
25
+ download?: string | boolean
26
+ hreflang?: string
27
+ referrerpolicy?: string
28
+ ping?: string
29
+ tabindex?: string | number
30
+ class?: unknown
31
+ style?: StyleValue
32
+ id?: string
33
+ title?: string
34
+ role?: string
35
+ [key: `data-${string}`]: unknown
36
+ [key: `aria-${string}`]: unknown
37
+ }
38
+
39
+ export interface QyLinkSlots {
40
+ default?: () => unknown
41
+ icon?: () => unknown
42
+ }
43
+
44
+ export type QyLinkEmits = {
45
+ click: (event: MouseEvent) => void
46
+ }
47
+
48
+ type QyLinkComponentProps = QyLinkProps & QyLinkAttrs & {
49
+ onClick?: QyLinkEmits['click']
50
+ }
51
+
52
+ declare const QyLink: DefineComponent<
53
+ QyLinkProps,
54
+ {},
55
+ {},
56
+ {},
57
+ {},
58
+ ComponentOptionsMixin,
59
+ ComponentOptionsMixin,
60
+ QyLinkEmits,
61
+ string,
62
+ PublicProps,
63
+ QyLinkComponentProps,
64
+ {},
65
+ SlotsType<QyLinkSlots>
66
+ > & Plugin
67
+
68
+ export { QyLink }
69
+ export default QyLink
@@ -0,0 +1,25 @@
1
+ import type { Directive, Plugin } from 'vue'
2
+ import type {
3
+ QyLoadingDirectiveOptions,
4
+ QyLoadingDirectiveValue,
5
+ QyLoadingHandle,
6
+ QyLoadingServiceOptions
7
+ } from '@qynpm/hooks'
8
+
9
+ export type {
10
+ QyLoadingDirectiveOptions,
11
+ QyLoadingDirectiveValue,
12
+ QyLoadingHandle,
13
+ QyLoadingServiceOptions
14
+ }
15
+
16
+ export declare const vQyLoading: Directive<
17
+ HTMLElement,
18
+ QyLoadingDirectiveValue
19
+ >
20
+ export declare const QyLoading: Plugin
21
+ export declare function openQyLoading(
22
+ options?: QyLoadingServiceOptions
23
+ ): QyLoadingHandle
24
+
25
+ export default QyLoading
@@ -1,29 +1,29 @@
1
- import type { DefineComponent, Plugin } from 'vue'
2
-
3
- export type QyMenuActionType =
4
- | 'default'
5
- | 'primary'
6
- | 'success'
7
- | 'warning'
8
- | 'danger'
9
-
10
- export interface QyMenuActionContext<Row = Record<string, unknown>> {
11
- row?: Row
12
- rowIndex?: number
13
- }
14
-
15
- export interface QyMenuAction<Row = Record<string, unknown>> {
16
- key: string
17
- label: string
18
- type?: QyMenuActionType
19
- disabled?: boolean | ((context: QyMenuActionContext<Row>) => boolean)
20
- hidden?: boolean | ((context: QyMenuActionContext<Row>) => boolean)
21
- loading?: boolean | ((context: QyMenuActionContext<Row>) => boolean)
22
- confirm?: boolean | string
23
- meta?: Record<string, unknown>
24
- }
25
-
26
- declare const QyMenuActions: DefineComponent<any, any, any> & Plugin
27
-
28
- export { QyMenuActions }
29
- export default QyMenuActions
1
+ import type { DefineComponent, Plugin } from 'vue'
2
+
3
+ export type QyMenuActionType =
4
+ | 'default'
5
+ | 'primary'
6
+ | 'success'
7
+ | 'warning'
8
+ | 'danger'
9
+
10
+ export interface QyMenuActionContext<Row = Record<string, unknown>> {
11
+ row?: Row
12
+ rowIndex?: number
13
+ }
14
+
15
+ export interface QyMenuAction<Row = Record<string, unknown>> {
16
+ key: string
17
+ label: string
18
+ type?: QyMenuActionType
19
+ disabled?: boolean | ((context: QyMenuActionContext<Row>) => boolean)
20
+ hidden?: boolean | ((context: QyMenuActionContext<Row>) => boolean)
21
+ loading?: boolean | ((context: QyMenuActionContext<Row>) => boolean)
22
+ confirm?: boolean | string
23
+ meta?: Record<string, unknown>
24
+ }
25
+
26
+ declare const QyMenuActions: DefineComponent<any, any, any> & Plugin
27
+
28
+ export { QyMenuActions }
29
+ export default QyMenuActions
@@ -1,74 +1,74 @@
1
- import type {
2
- ComponentOptionsMixin,
3
- DefineComponent,
4
- Plugin,
5
- PublicProps,
6
- SlotsType,
7
- StyleValue
8
- } from 'vue'
9
-
10
- export type QyProgressType = 'line' | 'circle' | 'dashboard'
11
- export type QyProgressStatus = '' | 'success' | 'warning' | 'exception'
12
- export type QyProgressStrokeLinecap = 'inherit' | 'round' | 'butt' | 'square'
13
- export interface QyProgressColor {
14
- color: string
15
- percentage: number
16
- }
17
- export type QyProgressColorFunction = (percentage: number) => string
18
- export type QyProgressFormat = (percentage: number) => string
19
-
20
- export interface QyProgressProps {
21
- percentage?: number
22
- type?: QyProgressType
23
- status?: QyProgressStatus
24
- strokeWidth?: number
25
- strokeLinecap?: QyProgressStrokeLinecap
26
- width?: number
27
- showText?: boolean
28
- textInside?: boolean
29
- format?: QyProgressFormat
30
- color?: string | QyProgressColor[] | QyProgressColorFunction
31
- indeterminate?: boolean
32
- duration?: number
33
- striped?: boolean
34
- stripedFlow?: boolean
35
- }
36
-
37
- export interface QyProgressAttrs {
38
- class?: unknown
39
- style?: StyleValue
40
- id?: string
41
- role?: string
42
- title?: string
43
- [key: `data-${string}`]: unknown
44
- [key: `aria-${string}`]: unknown
45
- }
46
-
47
- export interface QyProgressSlotProps {
48
- readonly percentage: number
49
- }
50
-
51
- export interface QyProgressSlots {
52
- default?: (props: QyProgressSlotProps) => unknown
53
- }
54
-
55
- type QyProgressComponentProps = QyProgressProps & QyProgressAttrs
56
-
57
- declare const QyProgress: DefineComponent<
58
- QyProgressComponentProps,
59
- {},
60
- {},
61
- {},
62
- {},
63
- ComponentOptionsMixin,
64
- ComponentOptionsMixin,
65
- {},
66
- string,
67
- PublicProps,
68
- QyProgressComponentProps,
69
- {},
70
- SlotsType<QyProgressSlots>
71
- > & Plugin
72
-
73
- export { QyProgress }
74
- export default QyProgress
1
+ import type {
2
+ ComponentOptionsMixin,
3
+ DefineComponent,
4
+ Plugin,
5
+ PublicProps,
6
+ SlotsType,
7
+ StyleValue
8
+ } from 'vue'
9
+
10
+ export type QyProgressType = 'line' | 'circle' | 'dashboard'
11
+ export type QyProgressStatus = '' | 'success' | 'warning' | 'exception'
12
+ export type QyProgressStrokeLinecap = 'inherit' | 'round' | 'butt' | 'square'
13
+ export interface QyProgressColor {
14
+ color: string
15
+ percentage: number
16
+ }
17
+ export type QyProgressColorFunction = (percentage: number) => string
18
+ export type QyProgressFormat = (percentage: number) => string
19
+
20
+ export interface QyProgressProps {
21
+ percentage?: number
22
+ type?: QyProgressType
23
+ status?: QyProgressStatus
24
+ strokeWidth?: number
25
+ strokeLinecap?: QyProgressStrokeLinecap
26
+ width?: number
27
+ showText?: boolean
28
+ textInside?: boolean
29
+ format?: QyProgressFormat
30
+ color?: string | QyProgressColor[] | QyProgressColorFunction
31
+ indeterminate?: boolean
32
+ duration?: number
33
+ striped?: boolean
34
+ stripedFlow?: boolean
35
+ }
36
+
37
+ export interface QyProgressAttrs {
38
+ class?: unknown
39
+ style?: StyleValue
40
+ id?: string
41
+ role?: string
42
+ title?: string
43
+ [key: `data-${string}`]: unknown
44
+ [key: `aria-${string}`]: unknown
45
+ }
46
+
47
+ export interface QyProgressSlotProps {
48
+ readonly percentage: number
49
+ }
50
+
51
+ export interface QyProgressSlots {
52
+ default?: (props: QyProgressSlotProps) => unknown
53
+ }
54
+
55
+ type QyProgressComponentProps = QyProgressProps & QyProgressAttrs
56
+
57
+ declare const QyProgress: DefineComponent<
58
+ QyProgressComponentProps,
59
+ {},
60
+ {},
61
+ {},
62
+ {},
63
+ ComponentOptionsMixin,
64
+ ComponentOptionsMixin,
65
+ {},
66
+ string,
67
+ PublicProps,
68
+ QyProgressComponentProps,
69
+ {},
70
+ SlotsType<QyProgressSlots>
71
+ > & Plugin
72
+
73
+ export { QyProgress }
74
+ export default QyProgress
@@ -0,0 +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,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