pxd 0.0.52 → 0.0.53

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 (258) hide show
  1. package/README.md +6 -3
  2. package/dist/components/active-graph/index.d.vue.ts +0 -2
  3. package/dist/components/active-graph/index.vue +35 -37
  4. package/dist/components/avatar/index.d.vue.ts +2 -2
  5. package/dist/components/avatar/index.vue +17 -16
  6. package/dist/components/avatar-group/index.d.vue.ts +1 -1
  7. package/dist/components/avatar-group/index.vue +4 -1
  8. package/dist/components/badge/cn.d.ts +90 -0
  9. package/dist/components/badge/cn.js +44 -0
  10. package/dist/components/badge/index.d.vue.ts +5 -33
  11. package/dist/components/badge/index.vue +10 -56
  12. package/dist/components/book/index.vue +90 -17
  13. package/dist/components/browser/index.vue +21 -6
  14. package/dist/components/button/cn.d.ts +121 -0
  15. package/dist/components/button/cn.js +55 -0
  16. package/dist/components/button/index.d.vue.ts +8 -14
  17. package/dist/components/button/index.vue +22 -74
  18. package/dist/components/carousel-group/index.d.vue.ts +1 -1
  19. package/dist/components/carousel-group/index.vue +32 -28
  20. package/dist/components/checkbox/cn.d.ts +67 -0
  21. package/dist/components/checkbox/cn.js +31 -0
  22. package/dist/components/checkbox/index.vue +9 -19
  23. package/dist/components/chip/cn.d.ts +49 -0
  24. package/dist/components/chip/cn.js +26 -0
  25. package/dist/components/chip/index.vue +13 -21
  26. package/dist/components/choicebox/index.vue +1 -1
  27. package/dist/components/choicebox-group/index.vue +6 -3
  28. package/dist/components/collapse/index.vue +7 -1
  29. package/dist/components/collapse-group/index.vue +7 -7
  30. package/dist/components/command-menu/index.vue +9 -8
  31. package/dist/components/command-menu-group/index.vue +4 -1
  32. package/dist/components/config-provider/index.d.vue.ts +1 -0
  33. package/dist/components/config-provider/index.vue +2 -1
  34. package/dist/components/countdown/index.vue +2 -10
  35. package/dist/components/dash-line/index.vue +22 -16
  36. package/dist/components/description/index.vue +4 -2
  37. package/dist/components/drawer/index.vue +19 -11
  38. package/dist/components/empty-state/index.vue +3 -1
  39. package/dist/components/error/cn.d.ts +22 -0
  40. package/dist/components/error/cn.js +15 -0
  41. package/dist/components/error/index.vue +13 -14
  42. package/dist/components/fader/index.vue +30 -14
  43. package/dist/components/gauge/index.vue +6 -6
  44. package/dist/components/grid/index.vue +16 -12
  45. package/dist/components/grid-item/index.vue +4 -4
  46. package/dist/components/hold-button/index.vue +19 -13
  47. package/dist/components/input/cn.d.ts +73 -0
  48. package/dist/components/input/cn.js +36 -0
  49. package/dist/components/input/index.d.vue.ts +14 -16
  50. package/dist/components/input/index.vue +74 -101
  51. package/dist/components/intersection-observer/index.vue +7 -3
  52. package/dist/components/kbd/index.vue +2 -2
  53. package/dist/components/link-button/index.d.vue.ts +8 -8
  54. package/dist/components/link-button/index.vue +17 -25
  55. package/dist/components/list/index.d.vue.ts +0 -1
  56. package/dist/components/list/index.vue +58 -57
  57. package/dist/components/list-item/cn.d.ts +22 -0
  58. package/dist/components/list-item/cn.js +15 -0
  59. package/dist/components/list-item/index.d.vue.ts +3 -3
  60. package/dist/components/list-item/index.vue +14 -25
  61. package/dist/components/loading-bar/cn.d.ts +70 -0
  62. package/dist/components/loading-bar/cn.js +32 -0
  63. package/dist/components/loading-bar/index.d.vue.ts +2 -0
  64. package/dist/components/loading-bar/index.vue +68 -61
  65. package/dist/components/loading-dots/index.vue +12 -4
  66. package/dist/components/menu/index.d.vue.ts +2 -2
  67. package/dist/components/menu/index.vue +4 -4
  68. package/dist/components/message/index.vue +82 -48
  69. package/dist/components/message-item/index.vue +7 -2
  70. package/dist/components/modal/index.vue +20 -12
  71. package/dist/components/more-button/index.d.vue.ts +1 -3
  72. package/dist/components/more-button/index.vue +7 -17
  73. package/dist/components/note/cn.d.ts +121 -0
  74. package/dist/components/note/cn.js +66 -0
  75. package/dist/components/note/index.d.vue.ts +3 -39
  76. package/dist/components/note/index.vue +18 -37
  77. package/dist/components/number-input/index.d.vue.ts +19 -10
  78. package/dist/components/number-input/index.vue +121 -75
  79. package/dist/components/overlay/index.vue +4 -20
  80. package/dist/components/pagination/index.vue +25 -8
  81. package/dist/components/pin-input/cn.d.ts +46 -0
  82. package/dist/components/pin-input/cn.js +25 -0
  83. package/dist/components/pin-input/index.vue +11 -20
  84. package/dist/components/placeholder/index.vue +11 -4
  85. package/dist/components/popover/index.d.vue.ts +4 -3
  86. package/dist/components/popover/index.vue +107 -54
  87. package/dist/components/progress/cn.d.ts +19 -0
  88. package/dist/components/progress/cn.js +14 -0
  89. package/dist/components/progress/index.d.vue.ts +1 -1
  90. package/dist/components/progress/index.vue +21 -14
  91. package/dist/components/radio/cn.d.ts +46 -0
  92. package/dist/components/radio/cn.js +42 -0
  93. package/dist/components/radio/index.vue +11 -18
  94. package/dist/components/resizable/index.vue +8 -2
  95. package/dist/components/resizable-handle/index.vue +1 -0
  96. package/dist/components/resizable-panel/index.vue +12 -11
  97. package/dist/components/skeleton/cn.d.ts +43 -0
  98. package/dist/components/skeleton/cn.js +24 -0
  99. package/dist/components/skeleton/index.d.vue.ts +4 -3
  100. package/dist/components/skeleton/index.vue +11 -20
  101. package/dist/components/slider/index.d.vue.ts +1 -1
  102. package/dist/components/slider/index.vue +14 -12
  103. package/dist/components/snippet/cn.d.ts +52 -0
  104. package/dist/components/snippet/cn.js +27 -0
  105. package/dist/components/snippet/index.vue +21 -29
  106. package/dist/components/spinner/index.vue +3 -1
  107. package/dist/components/stack/cn.d.ts +70 -0
  108. package/dist/components/stack/cn.js +33 -0
  109. package/dist/components/stack/index.d.vue.ts +2 -2
  110. package/dist/components/stack/index.vue +16 -31
  111. package/dist/components/status-dot/index.vue +5 -1
  112. package/dist/components/switch/cn.d.ts +16 -0
  113. package/dist/components/switch/cn.js +13 -0
  114. package/dist/components/switch/index.vue +5 -11
  115. package/dist/components/switch-group/index.vue +7 -4
  116. package/dist/components/text/cn.d.ts +67 -0
  117. package/dist/components/text/cn.js +34 -0
  118. package/dist/components/text/index.d.vue.ts +1 -1
  119. package/dist/components/text/index.vue +16 -25
  120. package/dist/components/textarea/cn.d.ts +58 -0
  121. package/dist/components/textarea/cn.js +30 -0
  122. package/dist/components/textarea/index.d.vue.ts +2 -0
  123. package/dist/components/textarea/index.vue +17 -24
  124. package/dist/components/theme-switcher/index.vue +6 -3
  125. package/dist/components/time-picker/index.d.vue.ts +2 -2
  126. package/dist/components/time-picker/index.vue +45 -25
  127. package/dist/components/toggle/index.vue +10 -6
  128. package/dist/components/tooltip/index.vue +3 -3
  129. package/dist/components/virtual-list/index.vue +1 -7
  130. package/dist/composables/use-browser-observer.d.ts +1 -1
  131. package/dist/composables/use-browser-observer.js +19 -15
  132. package/dist/composables/use-config-provider-context.d.ts +1 -0
  133. package/dist/composables/use-config-provider-context.js +5 -10
  134. package/dist/composables/use-countdown.js +1 -3
  135. package/dist/composables/use-deferred-value.js +1 -5
  136. package/dist/composables/use-delay-change.js +1 -4
  137. package/dist/composables/use-delay-destroy.js +1 -5
  138. package/dist/composables/use-loading-bar.d.ts +6 -14
  139. package/dist/composables/use-loading-bar.js +3 -14
  140. package/dist/composables/use-message.d.ts +9 -3
  141. package/dist/composables/use-message.js +9 -9
  142. package/dist/composables/use-model-value.d.ts +1 -0
  143. package/dist/composables/use-model-value.js +4 -2
  144. package/dist/composables/use-outside-click.js +12 -8
  145. package/dist/composables/use-pointer-gesture.js +5 -1
  146. package/dist/composables/use-toggle-value.js +1 -4
  147. package/dist/composables/use-virtual-list.js +14 -7
  148. package/dist/contexts/avatar.js +4 -4
  149. package/dist/contexts/carousel.js +1 -4
  150. package/dist/contexts/checkbox.js +1 -4
  151. package/dist/contexts/choicebox.js +2 -8
  152. package/dist/contexts/collapse.js +1 -4
  153. package/dist/contexts/list.js +5 -8
  154. package/dist/contexts/radio.js +4 -4
  155. package/dist/contexts/resizable.js +1 -4
  156. package/dist/contexts/switch.js +2 -8
  157. package/dist/index.d.ts +1 -0
  158. package/dist/styles/source.css +106 -59
  159. package/dist/styles/styles.css +1 -1
  160. package/dist/styles/tw.css +106 -59
  161. package/dist/types/components/avatar.d.ts +2 -2
  162. package/dist/types/components/button.d.ts +11 -4
  163. package/dist/types/components/index.d.ts +12 -0
  164. package/dist/types/components/input.d.ts +4 -5
  165. package/dist/types/components/list.d.ts +1 -1
  166. package/dist/types/components/switch.d.ts +1 -1
  167. package/dist/types/shared/props.d.ts +6 -4
  168. package/dist/types/shared/utils.d.ts +3 -1
  169. package/dist/utils/context.d.ts +2 -8
  170. package/dist/utils/date.d.ts +1 -1
  171. package/dist/utils/date.js +1 -5
  172. package/dist/utils/event.js +6 -18
  173. package/dist/utils/format.d.ts +1 -1
  174. package/dist/utils/format.js +1 -1
  175. package/dist/utils/is.d.ts +0 -1
  176. package/dist/utils/is.js +3 -2
  177. package/dist/utils/responsive.js +7 -4
  178. package/dist/utils/throttle.js +4 -2
  179. package/package.json +45 -43
  180. package/dist/components/_internal/fragment-container.vue.d.ts +0 -13
  181. package/dist/components/active-graph/index.vue.d.ts +0 -51
  182. package/dist/components/avatar/index.vue.d.ts +0 -34
  183. package/dist/components/avatar-group/index.vue.d.ts +0 -8
  184. package/dist/components/backtop/index.vue.d.ts +0 -21
  185. package/dist/components/badge/index.vue.d.ts +0 -52
  186. package/dist/components/book/index.vue.d.ts +0 -28
  187. package/dist/components/browser/index.vue.d.ts +0 -16
  188. package/dist/components/button/index.vue.d.ts +0 -29
  189. package/dist/components/carousel/index.vue.d.ts +0 -13
  190. package/dist/components/carousel-group/index.vue.d.ts +0 -35
  191. package/dist/components/checkbox/index.vue.d.ts +0 -26
  192. package/dist/components/checkbox-group/index.vue.d.ts +0 -28
  193. package/dist/components/chip/index.vue.d.ts +0 -24
  194. package/dist/components/choicebox/index.vue.d.ts +0 -16
  195. package/dist/components/choicebox-group/index.vue.d.ts +0 -24
  196. package/dist/components/collapse/index.vue.d.ts +0 -22
  197. package/dist/components/collapse-group/index.vue.d.ts +0 -20
  198. package/dist/components/command-menu/index.vue.d.ts +0 -42
  199. package/dist/components/command-menu-group/index.vue.d.ts +0 -17
  200. package/dist/components/command-menu-item/index.vue.d.ts +0 -13
  201. package/dist/components/config-provider/index.vue.d.ts +0 -22
  202. package/dist/components/countdown/index.vue.d.ts +0 -51
  203. package/dist/components/dash-line/index.vue.d.ts +0 -13
  204. package/dist/components/description/index.vue.d.ts +0 -20
  205. package/dist/components/drawer/index.vue.d.ts +0 -60
  206. package/dist/components/empty-state/index.vue.d.ts +0 -23
  207. package/dist/components/error/index.vue.d.ts +0 -22
  208. package/dist/components/fader/index.vue.d.ts +0 -12
  209. package/dist/components/gauge/index.vue.d.ts +0 -14
  210. package/dist/components/grid/index.vue.d.ts +0 -19
  211. package/dist/components/grid-item/index.vue.d.ts +0 -18
  212. package/dist/components/hold-button/index.vue.d.ts +0 -42
  213. package/dist/components/input/index.vue.d.ts +0 -55
  214. package/dist/components/intersection-observer/index.vue.d.ts +0 -39
  215. package/dist/components/kbd/index.vue.d.ts +0 -24
  216. package/dist/components/label/index.vue.d.ts +0 -13
  217. package/dist/components/link-button/index.vue.d.ts +0 -33
  218. package/dist/components/list/index.vue.d.ts +0 -44
  219. package/dist/components/list-item/index.vue.d.ts +0 -29
  220. package/dist/components/loading-bar/index.vue.d.ts +0 -15
  221. package/dist/components/loading-dots/index.vue.d.ts +0 -15
  222. package/dist/components/material/index.vue.d.ts +0 -18
  223. package/dist/components/menu/index.vue.d.ts +0 -33
  224. package/dist/components/message/index.vue.d.ts +0 -176
  225. package/dist/components/message-item/index.vue.d.ts +0 -15
  226. package/dist/components/modal/index.vue.d.ts +0 -58
  227. package/dist/components/more-button/index.vue.d.ts +0 -20
  228. package/dist/components/noise-background/index.vue.d.ts +0 -19
  229. package/dist/components/note/index.vue.d.ts +0 -64
  230. package/dist/components/number-input/index.vue.d.ts +0 -39
  231. package/dist/components/overlay/index.vue.d.ts +0 -35
  232. package/dist/components/pagination/index.vue.d.ts +0 -21
  233. package/dist/components/pin-input/index.vue.d.ts +0 -28
  234. package/dist/components/placeholder/index.vue.d.ts +0 -18
  235. package/dist/components/popover/index.vue.d.ts +0 -73
  236. package/dist/components/progress/index.vue.d.ts +0 -34
  237. package/dist/components/radio/index.vue.d.ts +0 -20
  238. package/dist/components/radio-group/index.vue.d.ts +0 -22
  239. package/dist/components/resizable/index.vue.d.ts +0 -19
  240. package/dist/components/resizable-handle/index.vue.d.ts +0 -3
  241. package/dist/components/resizable-panel/index.vue.d.ts +0 -20
  242. package/dist/components/scrollable/index.vue.d.ts +0 -0
  243. package/dist/components/skeleton/index.vue.d.ts +0 -26
  244. package/dist/components/slider/index.vue.d.ts +0 -26
  245. package/dist/components/snippet/index.vue.d.ts +0 -18
  246. package/dist/components/spinner/index.vue.d.ts +0 -3
  247. package/dist/components/stack/index.vue.d.ts +0 -30
  248. package/dist/components/status-dot/index.vue.d.ts +0 -11
  249. package/dist/components/switch/index.vue.d.ts +0 -20
  250. package/dist/components/switch-group/index.vue.d.ts +0 -23
  251. package/dist/components/teleport/index.vue.d.ts +0 -21
  252. package/dist/components/text/index.vue.d.ts +0 -26
  253. package/dist/components/textarea/index.vue.d.ts +0 -28
  254. package/dist/components/theme-switcher/index.vue.d.ts +0 -8
  255. package/dist/components/time-picker/index.vue.d.ts +0 -35
  256. package/dist/components/toggle/index.vue.d.ts +0 -41
  257. package/dist/components/tooltip/index.vue.d.ts +0 -32
  258. package/dist/components/virtual-list/index.vue.d.ts +0 -24
@@ -1,34 +0,0 @@
1
- import type { ComponentSize, ComponentVariant } from '../../types/shared';
2
- interface Props {
3
- min?: number;
4
- max?: number;
5
- size?: ComponentSize;
6
- label?: boolean | string | number;
7
- variant?: ComponentVariant | 'secondary';
8
- colors?: Record<string, string>;
9
- modelValue?: number | null;
10
- }
11
- declare var __VLS_1: {};
12
- type __VLS_Slots = {} & {
13
- default?: (props: typeof __VLS_1) => any;
14
- };
15
- declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
- change: (args_0: number) => any;
17
- "update:modelValue": (args_0: number) => any;
18
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
19
- onChange?: ((args_0: number) => any) | undefined;
20
- "onUpdate:modelValue"?: ((args_0: number) => any) | undefined;
21
- }>, {
22
- label: boolean | string | number;
23
- variant: ComponentVariant | "secondary";
24
- max: number;
25
- min: number;
26
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
28
- declare const _default: typeof __VLS_export;
29
- export default _default;
30
- type __VLS_WithSlots<T, S> = T & {
31
- new (): {
32
- $slots: S;
33
- };
34
- };
@@ -1,20 +0,0 @@
1
- import type { RadioProps } from '../../types/components/radio';
2
- declare var __VLS_1: {};
3
- type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_1) => any;
5
- };
6
- declare const __VLS_base: import("vue").DefineComponent<RadioProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
- change: (args_0: NonNullable<import("../../types/shared").ComponentValue | undefined>) => any;
8
- "update:modelValue": (args_0: NonNullable<import("../../types/shared").ComponentValue | undefined>) => any;
9
- }, string, import("vue").PublicProps, Readonly<RadioProps> & Readonly<{
10
- onChange?: ((args_0: NonNullable<import("../../types/shared").ComponentValue | undefined>) => any) | undefined;
11
- "onUpdate:modelValue"?: ((args_0: NonNullable<import("../../types/shared").ComponentValue | undefined>) => any) | undefined;
12
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
- declare const _default: typeof __VLS_export;
15
- export default _default;
16
- type __VLS_WithSlots<T, S> = T & {
17
- new (): {
18
- $slots: S;
19
- };
20
- };
@@ -1,22 +0,0 @@
1
- import type { RadioGroupProps } from '../../types/components/radio';
2
- declare var __VLS_8: {};
3
- type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_8) => any;
5
- };
6
- declare const __VLS_base: import("vue").DefineComponent<RadioGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
- change: (args_0: NonNullable<import("../../types/shared").ComponentValue | undefined>) => any;
8
- "update:modelValue": (args_0: NonNullable<import("../../types/shared").ComponentValue | undefined>) => any;
9
- }, string, import("vue").PublicProps, Readonly<RadioGroupProps> & Readonly<{
10
- onChange?: ((args_0: NonNullable<import("../../types/shared").ComponentValue | undefined>) => any) | undefined;
11
- "onUpdate:modelValue"?: ((args_0: NonNullable<import("../../types/shared").ComponentValue | undefined>) => any) | undefined;
12
- }>, {
13
- options: import("../../types/shared").ComponentOption[];
14
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
16
- declare const _default: typeof __VLS_export;
17
- export default _default;
18
- type __VLS_WithSlots<T, S> = T & {
19
- new (): {
20
- $slots: S;
21
- };
22
- };
@@ -1,19 +0,0 @@
1
- import type { ComponentDirection } from '../../types/shared/props';
2
- interface Props {
3
- direction?: ComponentDirection;
4
- }
5
- declare var __VLS_1: {};
6
- type __VLS_Slots = {} & {
7
- default?: (props: typeof __VLS_1) => any;
8
- };
9
- declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
10
- direction: ComponentDirection;
11
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
- declare const _default: typeof __VLS_export;
14
- export default _default;
15
- type __VLS_WithSlots<T, S> = T & {
16
- new (): {
17
- $slots: S;
18
- };
19
- };
@@ -1,3 +0,0 @@
1
- declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
- declare const _default: typeof __VLS_export;
3
- export default _default;
@@ -1,20 +0,0 @@
1
- interface Props {
2
- size?: number | null;
3
- minSize?: number;
4
- }
5
- declare var __VLS_1: {};
6
- type __VLS_Slots = {} & {
7
- default?: (props: typeof __VLS_1) => any;
8
- };
9
- declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
10
- size: number | null;
11
- minSize: number;
12
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
- declare const _default: typeof __VLS_export;
15
- export default _default;
16
- type __VLS_WithSlots<T, S> = T & {
17
- new (): {
18
- $slots: S;
19
- };
20
- };
File without changes
@@ -1,26 +0,0 @@
1
- interface Props {
2
- loading?: boolean;
3
- animated?: boolean;
4
- width?: string | number;
5
- height?: string | number;
6
- boxHeight?: string | number;
7
- shape?: 'default' | 'squared' | 'rounded';
8
- }
9
- declare var __VLS_1: {};
10
- type __VLS_Slots = {} & {
11
- default?: (props: typeof __VLS_1) => any;
12
- };
13
- declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
14
- height: string | number;
15
- shape: "default" | "squared" | "rounded";
16
- loading: boolean;
17
- animated: boolean;
18
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
20
- declare const _default: typeof __VLS_export;
21
- export default _default;
22
- type __VLS_WithSlots<T, S> = T & {
23
- new (): {
24
- $slots: S;
25
- };
26
- };
@@ -1,26 +0,0 @@
1
- import type { ComponentSize, ComponentVariant } from '../../types/shared';
2
- interface Props {
3
- min?: number;
4
- max?: number;
5
- step?: number;
6
- range?: boolean;
7
- disabled?: boolean;
8
- size?: ComponentSize;
9
- variant?: ComponentVariant | 'secondary';
10
- modelValue?: number | [number, number] | null;
11
- }
12
- declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
- change: (args_0: NonNullable<number | [number, number] | null | undefined>) => any;
14
- "update:modelValue": (args_0: NonNullable<number | [number, number] | null | undefined>) => any;
15
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
16
- onChange?: ((args_0: NonNullable<number | [number, number] | null | undefined>) => any) | undefined;
17
- "onUpdate:modelValue"?: ((args_0: NonNullable<number | [number, number] | null | undefined>) => any) | undefined;
18
- }>, {
19
- variant: ComponentVariant | "secondary";
20
- max: number;
21
- modelValue: number | [number, number] | null;
22
- min: number;
23
- step: number;
24
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
- declare const _default: typeof __VLS_export;
26
- export default _default;
@@ -1,18 +0,0 @@
1
- import type { ComponentSize, ComponentVariantWithDefault } from '../../types/shared';
2
- interface Props {
3
- text: string | string[];
4
- width?: string | number;
5
- size?: ComponentSize;
6
- prompt?: boolean | string;
7
- variant?: ComponentVariantWithDefault;
8
- }
9
- declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
- copy: (args_0: string) => any;
11
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
12
- onCopy?: ((args_0: string) => any) | undefined;
13
- }>, {
14
- variant: ComponentVariantWithDefault;
15
- prompt: boolean | string;
16
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
- declare const _default: typeof __VLS_export;
18
- export default _default;
@@ -1,3 +0,0 @@
1
- declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
- declare const _default: typeof __VLS_export;
3
- export default _default;
@@ -1,30 +0,0 @@
1
- import type { ComponentAs, ComponentDirection, ResponsiveValue } from '../../types/shared';
2
- type Align = 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly' | 'stretch';
3
- export interface Props {
4
- as?: ComponentAs;
5
- wrap?: boolean;
6
- gap?: ResponsiveValue<string | number>;
7
- scale?: number;
8
- align?: Align;
9
- justify?: Align;
10
- direction?: ResponsiveValue<ComponentDirection>;
11
- }
12
- declare var __VLS_8: {};
13
- type __VLS_Slots = {} & {
14
- default?: (props: typeof __VLS_8) => any;
15
- };
16
- declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
17
- as: ComponentAs;
18
- align: Align;
19
- wrap: boolean;
20
- scale: number;
21
- justify: Align;
22
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
- declare const _default: typeof __VLS_export;
25
- export default _default;
26
- type __VLS_WithSlots<T, S> = T & {
27
- new (): {
28
- $slots: S;
29
- };
30
- };
@@ -1,11 +0,0 @@
1
- import type { ComponentLabel } from 'dist/index';
2
- interface Props {
3
- label?: boolean | ComponentLabel;
4
- state?: 'QUEUED' | 'BUILDING' | 'READY' | 'ERROR' | 'CANCELED';
5
- }
6
- declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
7
- label: boolean | ComponentLabel;
8
- state: "QUEUED" | "BUILDING" | "READY" | "ERROR" | "CANCELED";
9
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
- declare const _default: typeof __VLS_export;
11
- export default _default;
@@ -1,20 +0,0 @@
1
- import type { ComponentLabel } from '../../types/shared';
2
- interface Props {
3
- label?: ComponentLabel;
4
- value: string | number;
5
- disabled?: boolean;
6
- required?: boolean;
7
- }
8
- declare var __VLS_1: {};
9
- type __VLS_Slots = {} & {
10
- default?: (props: typeof __VLS_1) => any;
11
- };
12
- declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
- declare const _default: typeof __VLS_export;
15
- export default _default;
16
- type __VLS_WithSlots<T, S> = T & {
17
- new (): {
18
- $slots: S;
19
- };
20
- };
@@ -1,23 +0,0 @@
1
- import type { SwitchGroupProps } from '../../types/components/switch';
2
- declare var __VLS_1: {};
3
- type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_1) => any;
5
- };
6
- declare const __VLS_base: import("vue").DefineComponent<SwitchGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
- change: (args_0: NonNullable<string | number | undefined>) => any;
8
- "update:modelValue": (args_0: NonNullable<string | number | undefined>) => any;
9
- }, string, import("vue").PublicProps, Readonly<SwitchGroupProps> & Readonly<{
10
- onChange?: ((args_0: NonNullable<string | number | undefined>) => any) | undefined;
11
- "onUpdate:modelValue"?: ((args_0: NonNullable<string | number | undefined>) => any) | undefined;
12
- }>, {
13
- options: import("../../types/shared").ComponentOption[];
14
- modelValue: string | number;
15
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
17
- declare const _default: typeof __VLS_export;
18
- export default _default;
19
- type __VLS_WithSlots<T, S> = T & {
20
- new (): {
21
- $slots: S;
22
- };
23
- };
@@ -1,21 +0,0 @@
1
- interface Props {
2
- to?: string | HTMLElement;
3
- disabled?: boolean;
4
- }
5
- declare var __VLS_7: {}, __VLS_9: {};
6
- type __VLS_Slots = {} & {
7
- default?: (props: typeof __VLS_7) => any;
8
- } & {
9
- default?: (props: typeof __VLS_9) => any;
10
- };
11
- declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
12
- to: string | HTMLElement;
13
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
- declare const _default: typeof __VLS_export;
16
- export default _default;
17
- type __VLS_WithSlots<T, S> = T & {
18
- new (): {
19
- $slots: S;
20
- };
21
- };
@@ -1,26 +0,0 @@
1
- import type { ComponentAs, ResponsiveValue } from '../../types/shared';
2
- interface Props {
3
- as?: ComponentAs;
4
- size?: ResponsiveValue<string | number>;
5
- align?: 'left' | 'center' | 'right';
6
- truncate?: boolean | number | string;
7
- monospace?: boolean;
8
- secondary?: boolean;
9
- }
10
- declare var __VLS_8: {};
11
- type __VLS_Slots = {} & {
12
- default?: (props: typeof __VLS_8) => any;
13
- };
14
- declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
15
- as: ComponentAs;
16
- align: "left" | "center" | "right";
17
- truncate: boolean | number | string;
18
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
20
- declare const _default: typeof __VLS_export;
21
- export default _default;
22
- type __VLS_WithSlots<T, S> = T & {
23
- new (): {
24
- $slots: S;
25
- };
26
- };
@@ -1,28 +0,0 @@
1
- import type { ComponentLabel, ComponentSizeWithXs } from '../../types/shared';
2
- interface Props {
3
- size?: ComponentSizeWithXs;
4
- error?: boolean | string;
5
- readonly?: boolean;
6
- disabled?: boolean;
7
- required?: boolean;
8
- autofocus?: boolean;
9
- minlength?: number | string;
10
- maxlength?: number | string;
11
- modelValue?: ComponentLabel;
12
- placeholder?: string;
13
- }
14
- declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
- blur: (args_0: FocusEvent) => any;
16
- change: (args_0: NonNullable<ComponentLabel | undefined>) => any;
17
- focus: (args_0: FocusEvent) => any;
18
- "update:modelValue": (args_0: NonNullable<ComponentLabel | undefined>) => any;
19
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
20
- onBlur?: ((args_0: FocusEvent) => any) | undefined;
21
- onChange?: ((args_0: NonNullable<ComponentLabel | undefined>) => any) | undefined;
22
- onFocus?: ((args_0: FocusEvent) => any) | undefined;
23
- "onUpdate:modelValue"?: ((args_0: NonNullable<ComponentLabel | undefined>) => any) | undefined;
24
- }>, {
25
- modelValue: ComponentLabel;
26
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
- declare const _default: typeof __VLS_export;
28
- export default _default;
@@ -1,8 +0,0 @@
1
- import type { ColorScheme } from '../../composables/use-color-scheme';
2
- declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
- toggle: (args_0: ColorScheme) => any;
4
- }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
5
- onToggle?: ((args_0: ColorScheme) => any) | undefined;
6
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
- declare const _default: typeof __VLS_export;
8
- export default _default;
@@ -1,35 +0,0 @@
1
- import type { DateTimePreset } from '../../types/components/time-picker';
2
- import type { ComponentSize } from '../../types/shared/props';
3
- interface Props {
4
- size?: ComponentSize;
5
- error?: boolean | string;
6
- presets?: DateTimePreset[];
7
- disabled?: boolean;
8
- clearable?: boolean;
9
- modelValue?: Date | string | number;
10
- prefixIcon?: boolean;
11
- placeholder?: string;
12
- showSeconds?: boolean;
13
- closeOnPressEscape?: boolean;
14
- format?: string;
15
- valueFormat?: string;
16
- }
17
- declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
- select: (args_0: MouseEvent) => any;
19
- change: (args_0: boolean) => any;
20
- "update:modelValue": (args_0: string) => any;
21
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
22
- onSelect?: ((args_0: MouseEvent) => any) | undefined;
23
- onChange?: ((args_0: boolean) => any) | undefined;
24
- "onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
25
- }>, {
26
- format: string;
27
- modelValue: Date | string | number;
28
- closeOnPressEscape: boolean;
29
- presets: DateTimePreset[];
30
- prefixIcon: boolean;
31
- showSeconds: boolean;
32
- valueFormat: string;
33
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
- declare const _default: typeof __VLS_export;
35
- export default _default;
@@ -1,41 +0,0 @@
1
- import type { ComponentBeforeChange, ComponentSize } from '../../types/shared';
2
- type ValueType = boolean | number | string;
3
- interface Props {
4
- size?: ComponentSize;
5
- loading?: boolean;
6
- disabled?: boolean;
7
- modelValue?: ValueType;
8
- activeValue?: ValueType;
9
- inactiveValue?: ValueType;
10
- beforeChange?: ComponentBeforeChange<ValueType>;
11
- activeColor?: string;
12
- inactiveColor?: string;
13
- activeLabel?: string;
14
- inactiveLabel?: string;
15
- }
16
- declare var __VLS_12: {}, __VLS_14: {};
17
- type __VLS_Slots = {} & {
18
- checked?: (props: typeof __VLS_12) => any;
19
- } & {
20
- unchecked?: (props: typeof __VLS_14) => any;
21
- };
22
- declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
- change: (args_0: NonNullable<ValueType | undefined>) => any;
24
- "update:modelValue": (args_0: NonNullable<ValueType | undefined>) => any;
25
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
26
- onChange?: ((args_0: NonNullable<ValueType | undefined>) => any) | undefined;
27
- "onUpdate:modelValue"?: ((args_0: NonNullable<ValueType | undefined>) => any) | undefined;
28
- }>, {
29
- activeValue: ValueType;
30
- inactiveValue: ValueType;
31
- activeColor: string;
32
- inactiveColor: string;
33
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
35
- declare const _default: typeof __VLS_export;
36
- export default _default;
37
- type __VLS_WithSlots<T, S> = T & {
38
- new (): {
39
- $slots: S;
40
- };
41
- };
@@ -1,32 +0,0 @@
1
- import type { CSSProperties } from 'vue';
2
- import type { ComponentClass, ComponentPosition, ComponentVariant } from '../../types/shared';
3
- interface Props {
4
- offset?: number;
5
- content?: string;
6
- variant?: ComponentVariant;
7
- position?: ComponentPosition;
8
- disabled?: boolean;
9
- showArrow?: boolean;
10
- desktopOnly?: boolean;
11
- contentClass?: ComponentClass;
12
- contentStyle?: CSSProperties | string;
13
- }
14
- declare var __VLS_8: {}, __VLS_11: {};
15
- type __VLS_Slots = {} & {
16
- default?: (props: typeof __VLS_8) => any;
17
- } & {
18
- content?: (props: typeof __VLS_11) => any;
19
- };
20
- declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
21
- variant: ComponentVariant;
22
- position: ComponentPosition;
23
- showArrow: boolean;
24
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
26
- declare const _default: typeof __VLS_export;
27
- export default _default;
28
- type __VLS_WithSlots<T, S> = T & {
29
- new (): {
30
- $slots: S;
31
- };
32
- };
@@ -1,24 +0,0 @@
1
- interface Props {
2
- dataKey?: string;
3
- listData?: any[];
4
- itemSize?: number;
5
- }
6
- declare var __VLS_1: {
7
- item: any;
8
- };
9
- type __VLS_Slots = {} & {
10
- default?: (props: typeof __VLS_1) => any;
11
- };
12
- declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
13
- dataKey: string;
14
- listData: any[];
15
- itemSize: number;
16
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
- declare const _default: typeof __VLS_export;
19
- export default _default;
20
- type __VLS_WithSlots<T, S> = T & {
21
- new (): {
22
- $slots: S;
23
- };
24
- };