@qynpm/ui 1.0.25 → 1.0.27

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 (211) hide show
  1. package/README.md +313 -27
  2. package/dist/index.cjs +10 -4
  3. package/dist/index.mjs +69 -42
  4. package/dist/qy-action-bar/index.cjs +1 -1
  5. package/dist/qy-action-bar/index.mjs +1 -1
  6. package/dist/qy-alert/index.cjs +1 -0
  7. package/dist/qy-alert/index.mjs +7 -0
  8. package/dist/qy-avatar/index.cjs +1 -0
  9. package/dist/qy-avatar/index.mjs +7 -0
  10. package/dist/qy-badge/index.cjs +1 -0
  11. package/dist/qy-badge/index.mjs +7 -0
  12. package/dist/qy-button/index.cjs +1 -1
  13. package/dist/qy-button/index.mjs +1 -1
  14. package/dist/qy-card/index.cjs +1 -0
  15. package/dist/qy-card/index.mjs +7 -0
  16. package/dist/qy-cascader/index.cjs +1 -0
  17. package/dist/qy-cascader/index.mjs +7 -0
  18. package/dist/qy-checkbox/index.cjs +1 -1
  19. package/dist/qy-checkbox/index.mjs +1 -1
  20. package/dist/qy-checkbox-group/index.cjs +1 -1
  21. package/dist/qy-checkbox-group/index.mjs +1 -1
  22. package/dist/qy-collapse/index.cjs +1 -0
  23. package/dist/qy-collapse/index.mjs +7 -0
  24. package/dist/qy-collapse-item/index.cjs +1 -0
  25. package/dist/qy-collapse-item/index.mjs +7 -0
  26. package/dist/qy-descriptions/index.cjs +1 -0
  27. package/dist/qy-descriptions/index.mjs +7 -0
  28. package/dist/qy-descriptions-item/index.cjs +1 -0
  29. package/dist/qy-descriptions-item/index.mjs +7 -0
  30. package/dist/qy-dialog/index.cjs +1 -1
  31. package/dist/qy-dialog/index.mjs +1 -1
  32. package/dist/qy-divider/index.cjs +1 -0
  33. package/dist/qy-divider/index.mjs +7 -0
  34. package/dist/qy-dropdown/index.cjs +1 -1
  35. package/dist/qy-dropdown/index.mjs +1 -1
  36. package/dist/qy-empty/index.cjs +1 -0
  37. package/dist/qy-empty/index.mjs +7 -0
  38. package/dist/qy-file-picker/index.cjs +1 -1
  39. package/dist/qy-file-picker/index.mjs +1 -1
  40. package/dist/qy-form-section/index.cjs +1 -1
  41. package/dist/qy-form-section/index.mjs +2 -2
  42. package/dist/qy-image/index.cjs +1 -1
  43. package/dist/qy-image/index.mjs +1 -1
  44. package/dist/qy-image-upload/index.cjs +1 -1
  45. package/dist/qy-image-upload/index.mjs +1 -1
  46. package/dist/qy-input-number/index.cjs +1 -1
  47. package/dist/qy-input-number/index.mjs +3 -4
  48. package/dist/qy-legacy-selection-dialog/index.cjs +1 -1
  49. package/dist/qy-legacy-selection-dialog/index.mjs +2 -2
  50. package/dist/qy-link/index.cjs +1 -0
  51. package/dist/qy-link/index.mjs +7 -0
  52. package/dist/qy-menu-actions/index.cjs +1 -1
  53. package/dist/qy-menu-actions/index.mjs +1 -1
  54. package/dist/qy-money-input/index.cjs +1 -1
  55. package/dist/qy-money-input/index.mjs +1 -1
  56. package/dist/qy-popover/index.cjs +1 -1
  57. package/dist/qy-popover/index.mjs +1 -1
  58. package/dist/qy-progress/index.cjs +1 -0
  59. package/dist/qy-progress/index.mjs +7 -0
  60. package/dist/qy-radio/index.cjs +1 -1
  61. package/dist/qy-radio/index.mjs +1 -1
  62. package/dist/qy-radio-group/index.cjs +1 -1
  63. package/dist/qy-radio-group/index.mjs +1 -1
  64. package/dist/qy-record-quote-search/index.cjs +1 -1
  65. package/dist/qy-record-quote-search/index.mjs +1 -1
  66. package/dist/qy-remark-image/index.cjs +1 -1
  67. package/dist/qy-remark-image/index.mjs +1 -1
  68. package/dist/qy-remote-select/index.cjs +1 -1
  69. package/dist/qy-remote-select/index.mjs +1 -1
  70. package/dist/qy-scrollbar/index.cjs +1 -0
  71. package/dist/qy-scrollbar/index.mjs +7 -0
  72. package/dist/qy-search-input/index.cjs +1 -1
  73. package/dist/qy-search-input/index.mjs +1 -1
  74. package/dist/qy-select/index.cjs +1 -1
  75. package/dist/qy-select/index.mjs +1 -1
  76. package/dist/qy-selection-dialog/index.cjs +1 -1
  77. package/dist/qy-selection-dialog/index.mjs +1 -1
  78. package/dist/qy-skeleton/index.cjs +1 -0
  79. package/dist/qy-skeleton/index.mjs +7 -0
  80. package/dist/qy-skeleton-item/index.cjs +1 -0
  81. package/dist/qy-skeleton-item/index.mjs +7 -0
  82. package/dist/qy-step/index.cjs +1 -0
  83. package/dist/qy-step/index.mjs +7 -0
  84. package/dist/qy-steps/index.cjs +1 -0
  85. package/dist/qy-steps/index.mjs +7 -0
  86. package/dist/qy-switch/index.cjs +1 -1
  87. package/dist/qy-switch/index.mjs +1 -1
  88. package/dist/qy-tab-pane/index.cjs +1 -0
  89. package/dist/qy-tab-pane/index.mjs +7 -0
  90. package/dist/qy-table-column-settings/index.cjs +1 -1
  91. package/dist/qy-table-column-settings/index.mjs +1 -1
  92. package/dist/qy-tabs/index.cjs +1 -0
  93. package/dist/qy-tabs/index.mjs +7 -0
  94. package/dist/qy-tag/index.cjs +1 -1
  95. package/dist/qy-tag/index.mjs +1 -1
  96. package/dist/qy-tooltip/index.cjs +1 -1
  97. package/dist/qy-tooltip/index.mjs +1 -1
  98. package/dist/qy-tree/index.cjs +1 -0
  99. package/dist/qy-tree/index.mjs +7 -0
  100. package/dist/qy-tree-select/index.cjs +1 -1
  101. package/dist/qy-tree-select/index.mjs +5 -4
  102. package/dist/qy-upload/index.cjs +1 -1
  103. package/dist/qy-upload/index.mjs +1 -1
  104. package/dist/shared/{index-9v7CIwzO.cjs → index-B9RYNZUh.cjs} +1 -1
  105. package/dist/shared/{index-B7uyWUhS.mjs → index-C7V-LeFg.mjs} +1 -1
  106. package/dist/shared/{index-Du2IqeCI.mjs → index-CYn7TvRx.mjs} +1 -1
  107. package/dist/shared/index-CnZNcnTs.cjs +1 -0
  108. package/dist/shared/{index-DmhpD4Cp.cjs → index-CpvFUems.cjs} +1 -1
  109. package/dist/shared/{index-C1YwUATr.cjs → index-DEkng5wh.cjs} +1 -1
  110. package/dist/shared/index-DHJf8Zto.mjs +377 -0
  111. package/dist/shared/index-DjyaOKUS.cjs +1 -0
  112. package/dist/shared/{index-DvQdcj7u.mjs → index-T9Om5Csd.mjs} +1197 -1134
  113. package/dist/shared/{index-DZroPZ8B.mjs → index-hEy-3mcr.mjs} +8 -8
  114. package/dist/shared/index.vue_vue_type_script_lang-69zSOotQ.mjs +47 -0
  115. package/dist/shared/index.vue_vue_type_script_lang-BGAdXWIL.mjs +78 -0
  116. package/dist/shared/index.vue_vue_type_script_lang-BO9Ju_i0.cjs +1 -0
  117. package/dist/shared/index.vue_vue_type_script_lang-Bc3tktk9.cjs +1 -0
  118. package/dist/shared/index.vue_vue_type_script_lang-BkoqbceR.cjs +1 -0
  119. package/dist/shared/index.vue_vue_type_script_lang-C4JHCuXz.mjs +54 -0
  120. package/dist/shared/index.vue_vue_type_script_lang-C9X0V5AK.mjs +71 -0
  121. package/dist/shared/index.vue_vue_type_script_lang-CIOi2ahp.cjs +1 -0
  122. package/dist/shared/index.vue_vue_type_script_lang-CZK0hDYa.mjs +77 -0
  123. package/dist/shared/index.vue_vue_type_script_lang-Cv4Pf58E.cjs +1 -0
  124. package/dist/shared/index.vue_vue_type_script_lang-CwrbII5c.cjs +1 -0
  125. package/dist/shared/index.vue_vue_type_script_lang-D42aRlO2.cjs +1 -0
  126. package/dist/shared/index.vue_vue_type_script_lang-D7b9ABei.mjs +113 -0
  127. package/dist/shared/index.vue_vue_type_script_lang-D7nzeBUR.mjs +35 -0
  128. package/dist/shared/index.vue_vue_type_script_lang-DIKHRo0o.mjs +72 -0
  129. package/dist/shared/index.vue_vue_type_script_lang-DLmUPDR5.cjs +1 -0
  130. package/dist/shared/index.vue_vue_type_script_lang-DMrpLmWN.cjs +1 -0
  131. package/dist/shared/index.vue_vue_type_script_lang-DOOT2grg.mjs +54 -0
  132. package/dist/shared/index.vue_vue_type_script_lang-Dfq7D3mJ.mjs +18 -0
  133. package/dist/shared/index.vue_vue_type_script_lang-DpSaB5eg.cjs +1 -0
  134. package/dist/shared/index.vue_vue_type_script_lang-WJ63_A7F.cjs +1 -0
  135. package/dist/shared/index.vue_vue_type_script_lang-chBiq2cG.mjs +31 -0
  136. package/dist/shared/index.vue_vue_type_script_setup_true_lang-4KZSABSM.cjs +1 -0
  137. package/dist/shared/index.vue_vue_type_script_setup_true_lang-B4JrNUDc.mjs +43 -0
  138. package/dist/shared/index.vue_vue_type_script_setup_true_lang-BJe7Uo6S.mjs +42 -0
  139. package/dist/shared/index.vue_vue_type_script_setup_true_lang-BWi3g3mb.cjs +1 -0
  140. package/dist/shared/index.vue_vue_type_script_setup_true_lang-Bdz9oDDW.mjs +62 -0
  141. package/dist/shared/index.vue_vue_type_script_setup_true_lang-C96ZaggL.cjs +1 -0
  142. package/dist/shared/{index.vue_vue_type_script_setup_true_lang-CKZHI_y-.mjs → index.vue_vue_type_script_setup_true_lang-CUox3Lm-.mjs} +1 -1
  143. package/dist/shared/index.vue_vue_type_script_setup_true_lang-CmQLfhRo.cjs +1 -0
  144. package/dist/shared/index.vue_vue_type_script_setup_true_lang-DUEhuwGQ.cjs +1 -0
  145. package/dist/shared/{index.vue_vue_type_script_setup_true_lang-C3F8M9sD.cjs → index.vue_vue_type_script_setup_true_lang-DXGjuA2f.cjs} +1 -1
  146. package/dist/shared/{index.vue_vue_type_script_setup_true_lang-N12Nn2uu.mjs → index.vue_vue_type_script_setup_true_lang-DXtovY1E.mjs} +1 -1
  147. package/dist/shared/index.vue_vue_type_script_setup_true_lang-Dd_nKJvH.mjs +19 -0
  148. package/dist/shared/index.vue_vue_type_script_setup_true_lang-DobP199g.mjs +63 -0
  149. package/dist/shared/{index.vue_vue_type_script_setup_true_lang-CsKjCWIN.cjs → index.vue_vue_type_script_setup_true_lang-kje3Rtlw.cjs} +1 -1
  150. package/dist/shared/index.vue_vue_type_style_index_0_lang-B-FeHatv.mjs +98 -0
  151. package/dist/shared/index.vue_vue_type_style_index_0_lang-BXTkWo5P.cjs +1 -0
  152. package/dist/shared/index.vue_vue_type_style_index_0_lang-C1n-zAZh.mjs +67 -0
  153. package/dist/shared/index.vue_vue_type_style_index_0_lang-Cb4yMk-r.cjs +1 -0
  154. package/dist/shared/index.vue_vue_type_style_index_0_lang-Cn3P9d4L.cjs +1 -0
  155. package/dist/shared/index.vue_vue_type_style_index_0_lang-CnL4aeg1.cjs +1 -0
  156. package/dist/shared/index.vue_vue_type_style_index_0_lang-DIMCVnQm.mjs +286 -0
  157. package/dist/shared/index.vue_vue_type_style_index_0_lang-DOfJV2oz.cjs +1 -0
  158. package/dist/shared/index.vue_vue_type_style_index_0_lang-DzfGx6ce.mjs +298 -0
  159. package/dist/shared/index.vue_vue_type_style_index_0_lang-dLpQXf6x.mjs +87 -0
  160. package/index.d.ts +272 -24
  161. package/package.json +128 -2
  162. package/qy-alert/index.d.ts +64 -0
  163. package/qy-autocomplete/index.d.ts +5 -5
  164. package/qy-avatar/index.d.ts +67 -0
  165. package/qy-badge/index.d.ts +63 -0
  166. package/qy-card/index.d.ts +64 -0
  167. package/qy-cascader/index.d.ts +198 -0
  168. package/qy-collapse/index.d.ts +59 -0
  169. package/qy-collapse-item/index.d.ts +45 -0
  170. package/qy-descriptions/index.d.ts +47 -0
  171. package/qy-descriptions-item/index.d.ts +46 -0
  172. package/qy-divider/index.d.ts +53 -0
  173. package/qy-empty/index.d.ts +51 -0
  174. package/qy-image/index.d.ts +28 -28
  175. package/qy-image-preview/index.d.ts +20 -20
  176. package/qy-link/index.d.ts +69 -0
  177. package/qy-menu-actions/index.d.ts +29 -29
  178. package/qy-progress/index.d.ts +74 -0
  179. package/qy-scrollbar/index.d.ts +85 -0
  180. package/qy-skeleton/index.d.ts +54 -0
  181. package/qy-skeleton-item/index.d.ts +48 -0
  182. package/qy-step/index.d.ts +55 -0
  183. package/qy-steps/index.d.ts +62 -0
  184. package/qy-tab-pane/index.d.ts +40 -0
  185. package/qy-table-column-settings/index.d.ts +18 -18
  186. package/qy-tabs/index.d.ts +84 -0
  187. package/qy-tree/index.d.ts +132 -0
  188. package/qy-tree-select/index.d.ts +123 -5
  189. package/dist/shared/index-528z_q7d.cjs +0 -1
  190. package/dist/shared/index.vue_vue_type_script_setup_true_lang-C-Pf9TJ0.mjs +0 -152
  191. package/dist/shared/index.vue_vue_type_script_setup_true_lang-DWS8bsiP.cjs +0 -1
  192. /package/dist/shared/{index-C1p86ezL.cjs → index-BDdhBEFr.cjs} +0 -0
  193. /package/dist/shared/{index-R5B1rjXo.mjs → index-BbDWedqW.mjs} +0 -0
  194. /package/dist/shared/{index-QQkDJv3q.cjs → index-BqV6vW9P.cjs} +0 -0
  195. /package/dist/shared/{index-DrJuMzr1.mjs → index-CUITnlPr.mjs} +0 -0
  196. /package/dist/shared/{index-CuusBxhR.cjs → index-DA3GVIZY.cjs} +0 -0
  197. /package/dist/shared/{index-BYLXkIxS.mjs → index-DEZF-Fkt.mjs} +0 -0
  198. /package/dist/shared/{index-ClUqUsAv.cjs → index-DIs6iPjF.cjs} +0 -0
  199. /package/dist/shared/{index-EGnVOaC9.cjs → index-DMiZy6gD.cjs} +0 -0
  200. /package/dist/shared/{index-Cl5cuyVG.mjs → index-DvA3Wy_F.mjs} +0 -0
  201. /package/dist/shared/{index-BcCZMWAj.cjs → index-PlyLRNmb.cjs} +0 -0
  202. /package/dist/shared/{index-zJN0M-bx.cjs → index-UGOgNLvm.cjs} +0 -0
  203. /package/dist/shared/{index-yf2Ijz_G.mjs → index-WP9Dbscv.mjs} +0 -0
  204. /package/dist/shared/{index-CbCpXtYr.mjs → index-YsBzyp9n.mjs} +0 -0
  205. /package/dist/shared/{index-BTPk2zzq.cjs → index-ceTTRCGJ.cjs} +0 -0
  206. /package/dist/shared/{index-C6jcSQSF.mjs → index-mTWXYnLm.mjs} +0 -0
  207. /package/dist/shared/{index-Cy_Glkc-.mjs → index-seQHtqdh.mjs} +0 -0
  208. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-BZQLyvw8.cjs → index.vue_vue_type_style_index_0_lang-C6urLjSf.cjs} +0 -0
  209. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-ztD-It-2.mjs → index.vue_vue_type_style_index_0_lang-CVxWn-Vs.mjs} +0 -0
  210. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-1cTut9Ql.cjs → index.vue_vue_type_style_index_0_lang-CWz689KH.cjs} +0 -0
  211. /package/dist/shared/{index.vue_vue_type_style_index_0_lang-DSur831A.mjs → index.vue_vue_type_style_index_0_lang-D1kpIund.mjs} +0 -0
@@ -1,20 +1,20 @@
1
- import type { DefineComponent, Plugin } from 'vue'
2
-
3
- declare const QyImagePreview: DefineComponent<{
4
- open?: boolean
5
- urlList?: string[]
6
- initialIndex?: number
7
- hideOnClickModal?: boolean
8
- }> &
9
- Plugin
10
-
11
- export function openQyImagePreview(options: {
12
- url?: string
13
- urlList?: string[]
14
- initialIndex?: number
15
- hideOnClickModal?: boolean
16
- }): {
17
- close(): void
18
- }
19
-
20
- export default QyImagePreview
1
+ import type { DefineComponent, Plugin } from 'vue'
2
+
3
+ declare const QyImagePreview: DefineComponent<{
4
+ open?: boolean
5
+ urlList?: string[]
6
+ initialIndex?: number
7
+ hideOnClickModal?: boolean
8
+ }> &
9
+ Plugin
10
+
11
+ export function openQyImagePreview(options: {
12
+ url?: string
13
+ urlList?: string[]
14
+ initialIndex?: number
15
+ hideOnClickModal?: boolean
16
+ }): {
17
+ close(): void
18
+ }
19
+
20
+ export default QyImagePreview
@@ -0,0 +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,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
@@ -0,0 +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
@@ -0,0 +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
@@ -0,0 +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
@@ -0,0 +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
@@ -0,0 +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
@@ -0,0 +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
@@ -0,0 +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,18 +1,18 @@
1
- import type { DefineComponent, Plugin } from 'vue'
2
-
3
- export type QyColumnFixed = 'left' | 'right' | false
4
-
5
- export interface QyTableColumnSetting {
6
- key: string
7
- type?: string
8
- label?: string
9
- prop?: string
10
- visible: boolean
11
- width?: string | number
12
- fixed: QyColumnFixed
13
- }
14
-
15
- declare const QyTableColumnSettings: DefineComponent<any, any, any> & Plugin
16
-
17
- export { QyTableColumnSettings }
18
- export default QyTableColumnSettings
1
+ import type { DefineComponent, Plugin } from 'vue'
2
+
3
+ export type QyColumnFixed = 'left' | 'right' | false
4
+
5
+ export interface QyTableColumnSetting {
6
+ key: string
7
+ type?: string
8
+ label?: string
9
+ prop?: string
10
+ visible: boolean
11
+ width?: string | number
12
+ fixed: QyColumnFixed
13
+ }
14
+
15
+ declare const QyTableColumnSettings: DefineComponent<any, any, any> & Plugin
16
+
17
+ export { QyTableColumnSettings }
18
+ export default QyTableColumnSettings