@caipira/tamandua 0.0.115 → 0.0.116

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 (260) hide show
  1. package/dist/types/components/Alert/Alert.story.d.ts +19 -0
  2. package/dist/types/components/Alert/Alert.vue.d.ts +62 -0
  3. package/dist/types/components/Alert/index.d.ts +4 -0
  4. package/dist/types/components/Alert/plugin.d.ts +3 -0
  5. package/dist/types/components/Alert/types.d.ts +42 -0
  6. package/dist/types/components/Avatar/Avatar.story.d.ts +27 -0
  7. package/dist/types/components/Avatar/Avatar.vue.d.ts +44 -0
  8. package/dist/types/components/Avatar/index.d.ts +4 -0
  9. package/dist/types/components/Avatar/plugin.d.ts +3 -0
  10. package/dist/types/components/Avatar/types.d.ts +10 -0
  11. package/dist/types/components/Backdrop/Backdrop.vue.d.ts +32 -0
  12. package/dist/types/components/Backdrop/index.d.ts +4 -0
  13. package/dist/types/components/Backdrop/plugin.d.ts +3 -0
  14. package/dist/types/components/Backdrop/types.d.ts +6 -0
  15. package/dist/types/components/Button/Button.story.d.ts +45 -0
  16. package/dist/types/components/Button/Button.vue.d.ts +141 -0
  17. package/dist/types/components/Button/index.d.ts +4 -0
  18. package/dist/types/components/Button/plugin.d.ts +3 -0
  19. package/dist/types/components/Button/types.d.ts +29 -0
  20. package/dist/types/components/ChartLine/ChartLine.story.d.ts +25 -0
  21. package/dist/types/components/ChartLine/ChartLine.vue.d.ts +35 -0
  22. package/dist/types/components/ChartLine/index.d.ts +4 -0
  23. package/dist/types/components/ChartLine/plugin.d.ts +3 -0
  24. package/dist/types/components/ChartLine/types.d.ts +17 -0
  25. package/dist/types/components/ChartTreemap/ChartTreemap.story.d.ts +45 -0
  26. package/dist/types/components/ChartTreemap/ChartTreemap.vue.d.ts +19 -0
  27. package/dist/types/components/ChartTreemap/index.d.ts +4 -0
  28. package/dist/types/components/ChartTreemap/plugin.d.ts +3 -0
  29. package/dist/types/components/ChartTreemap/types.d.ts +15 -0
  30. package/dist/types/components/DialogProvider/DialogProvider.vue.d.ts +3 -0
  31. package/dist/types/components/DialogProvider/index.d.ts +3 -0
  32. package/dist/types/components/DialogProvider/plugin.d.ts +3 -0
  33. package/dist/types/components/Drawer/Drawer.story.d.ts +21 -0
  34. package/dist/types/components/Drawer/Drawer.vue.d.ts +61 -0
  35. package/dist/types/components/Drawer/index.d.ts +4 -0
  36. package/dist/types/components/Drawer/plugin.d.ts +3 -0
  37. package/dist/types/components/Drawer/types.d.ts +11 -0
  38. package/dist/types/components/Dropdown/Dropdown.vue.d.ts +124 -0
  39. package/dist/types/components/Dropdown/index.d.ts +4 -0
  40. package/dist/types/components/Dropdown/plugin.d.ts +3 -0
  41. package/dist/types/components/Dropdown/types.d.ts +25 -0
  42. package/dist/types/components/FileDrop/FileDrop.vue.d.ts +37 -0
  43. package/dist/types/components/FileDrop/index.d.ts +4 -0
  44. package/dist/types/components/FileDrop/plugin.d.ts +3 -0
  45. package/dist/types/components/FileDrop/types.d.ts +5 -0
  46. package/dist/types/components/Form/Form.story.d.ts +32 -0
  47. package/dist/types/components/Form/Form.test.d.ts +1 -0
  48. package/dist/types/components/Form/Form.vue.d.ts +36 -0
  49. package/dist/types/components/Form/index.d.ts +4 -0
  50. package/dist/types/components/Form/plugin.d.ts +3 -0
  51. package/dist/types/components/Form/types.d.ts +26 -0
  52. package/dist/types/components/FormItem/FormItem.vue.d.ts +24 -0
  53. package/dist/types/components/FormItem/index.d.ts +4 -0
  54. package/dist/types/components/FormItem/plugin.d.ts +3 -0
  55. package/dist/types/components/FormItem/types.d.ts +4 -0
  56. package/dist/types/components/GraphyEmpty/GraphyEmpty.vue.d.ts +22 -0
  57. package/dist/types/components/GraphyEmpty/index.d.ts +4 -0
  58. package/dist/types/components/GraphyEmpty/plugin.d.ts +3 -0
  59. package/dist/types/components/GraphyEmpty/types.d.ts +3 -0
  60. package/dist/types/components/GraphyLabel/GraphyLabel.vue.d.ts +22 -0
  61. package/dist/types/components/GraphyLabel/index.d.ts +4 -0
  62. package/dist/types/components/GraphyLabel/plugin.d.ts +3 -0
  63. package/dist/types/components/GraphyLabel/types.d.ts +3 -0
  64. package/dist/types/components/GraphyPrice/GraphyPrice.story.d.ts +27 -0
  65. package/dist/types/components/GraphyPrice/GraphyPrice.vue.d.ts +35 -0
  66. package/dist/types/components/GraphyPrice/index.d.ts +4 -0
  67. package/dist/types/components/GraphyPrice/plugin.d.ts +3 -0
  68. package/dist/types/components/GraphyPrice/types.d.ts +8 -0
  69. package/dist/types/components/GraphySubtitle/GraphySubtitle.vue.d.ts +28 -0
  70. package/dist/types/components/GraphySubtitle/index.d.ts +4 -0
  71. package/dist/types/components/GraphySubtitle/plugin.d.ts +3 -0
  72. package/dist/types/components/GraphySubtitle/types.d.ts +4 -0
  73. package/dist/types/components/GraphyTitle/GraphyTitle.vue.d.ts +12 -0
  74. package/dist/types/components/GraphyTitle/index.d.ts +4 -0
  75. package/dist/types/components/GraphyTitle/plugin.d.ts +3 -0
  76. package/dist/types/components/GraphyTitle/types.d.ts +3 -0
  77. package/dist/types/components/Icon/Icon.story.d.ts +25 -0
  78. package/dist/types/components/Icon/Icon.vue.d.ts +34 -0
  79. package/dist/types/components/Icon/index.d.ts +4 -0
  80. package/dist/types/components/Icon/plugin.d.ts +3 -0
  81. package/dist/types/components/Icon/types.d.ts +6 -0
  82. package/dist/types/components/InputAvatar/InputAvatar.vue.d.ts +16 -0
  83. package/dist/types/components/InputAvatar/index.d.ts +4 -0
  84. package/dist/types/components/InputAvatar/plugin.d.ts +3 -0
  85. package/dist/types/components/InputAvatar/types.d.ts +6 -0
  86. package/dist/types/components/InputCheckbox/Input-checkbox.story.d.ts +14 -0
  87. package/dist/types/components/InputCheckbox/InputCheckbox.vue.d.ts +43 -0
  88. package/dist/types/components/InputCheckbox/index.d.ts +4 -0
  89. package/dist/types/components/InputCheckbox/plugin.d.ts +3 -0
  90. package/dist/types/components/InputCheckbox/types.d.ts +18 -0
  91. package/dist/types/components/InputColor/InputColor.vue.d.ts +35 -0
  92. package/dist/types/components/InputColor/index.d.ts +4 -0
  93. package/dist/types/components/InputColor/plugin.d.ts +3 -0
  94. package/dist/types/components/InputColor/types.d.ts +8 -0
  95. package/dist/types/components/InputCryptoCurrency/InputCryptoCurrency.story.d.ts +14 -0
  96. package/dist/types/components/InputCryptoCurrency/InputCryptoCurrency.vue.d.ts +21 -0
  97. package/dist/types/components/InputCryptoCurrency/currencies.d.ts +8 -0
  98. package/dist/types/components/InputCryptoCurrency/index.d.ts +4 -0
  99. package/dist/types/components/InputCryptoCurrency/plugin.d.ts +3 -0
  100. package/dist/types/components/InputCryptoCurrency/types.d.ts +8 -0
  101. package/dist/types/components/InputDate/InputDate.story.d.ts +13 -0
  102. package/dist/types/components/InputDate/InputDate.vue.d.ts +16 -0
  103. package/dist/types/components/InputDate/index.d.ts +4 -0
  104. package/dist/types/components/InputDate/plugin.d.ts +3 -0
  105. package/dist/types/components/InputDate/types.d.ts +15 -0
  106. package/dist/types/components/InputMultiplier/InputMultiplier.vue.d.ts +50 -0
  107. package/dist/types/components/InputMultiplier/index.d.ts +4 -0
  108. package/dist/types/components/InputMultiplier/input-multiplier.story.d.ts +43 -0
  109. package/dist/types/components/InputMultiplier/plugin.d.ts +3 -0
  110. package/dist/types/components/InputMultiplier/types.d.ts +19 -0
  111. package/dist/types/components/InputPassword/Input-password.story.d.ts +30 -0
  112. package/dist/types/components/InputPassword/InputPassword.vue.d.ts +55 -0
  113. package/dist/types/components/InputPassword/index.d.ts +4 -0
  114. package/dist/types/components/InputPassword/plugin.d.ts +3 -0
  115. package/dist/types/components/InputPassword/types.d.ts +21 -0
  116. package/dist/types/components/InputPhone/InputPhone.vue.d.ts +44 -0
  117. package/dist/types/components/InputPhone/index.d.ts +4 -0
  118. package/dist/types/components/InputPhone/plugin.d.ts +3 -0
  119. package/dist/types/components/InputPhone/types.d.ts +13 -0
  120. package/dist/types/components/InputPrice/InputPrice.story.d.ts +13 -0
  121. package/dist/types/components/InputPrice/InputPrice.vue.d.ts +25 -0
  122. package/dist/types/components/InputPrice/index.d.ts +4 -0
  123. package/dist/types/components/InputPrice/plugin.d.ts +3 -0
  124. package/dist/types/components/InputPrice/service.d.ts +7 -0
  125. package/dist/types/components/InputPrice/service.test.d.ts +1 -0
  126. package/dist/types/components/InputPrice/types.d.ts +12 -0
  127. package/dist/types/components/InputRadio/InputRadio.vue.d.ts +12 -0
  128. package/dist/types/components/InputRadio/InputRadioGroup.story.d.ts +11 -0
  129. package/dist/types/components/InputRadio/InputRadioGroup.vue.d.ts +42 -0
  130. package/dist/types/components/InputRadio/index.d.ts +4 -0
  131. package/dist/types/components/InputRadio/plugin.d.ts +3 -0
  132. package/dist/types/components/InputRadio/types.d.ts +12 -0
  133. package/dist/types/components/InputSelect/InputSelect.story.d.ts +46 -0
  134. package/dist/types/components/InputSelect/InputSelect.vue.d.ts +2032 -0
  135. package/dist/types/components/InputSelect/index.d.ts +4 -0
  136. package/dist/types/components/InputSelect/plugin.d.ts +3 -0
  137. package/dist/types/components/InputSelect/types.d.ts +85 -0
  138. package/dist/types/components/InputSwitch/InputSwitch.story.d.ts +27 -0
  139. package/dist/types/components/InputSwitch/InputSwitch.vue.d.ts +39 -0
  140. package/dist/types/components/InputSwitch/index.d.ts +4 -0
  141. package/dist/types/components/InputSwitch/plugin.d.ts +3 -0
  142. package/dist/types/components/InputSwitch/types.d.ts +10 -0
  143. package/dist/types/components/InputText/InputText.story.d.ts +21 -0
  144. package/dist/types/components/InputText/InputText.vue.d.ts +67 -0
  145. package/dist/types/components/InputText/index.d.ts +4 -0
  146. package/dist/types/components/InputText/plugin.d.ts +3 -0
  147. package/dist/types/components/InputText/types.d.ts +16 -0
  148. package/dist/types/components/InputTextarea/InputTextarea.vue.d.ts +41 -0
  149. package/dist/types/components/InputTextarea/index.d.ts +4 -0
  150. package/dist/types/components/InputTextarea/plugin.d.ts +3 -0
  151. package/dist/types/components/InputTextarea/types.d.ts +10 -0
  152. package/dist/types/components/Link/Link.story.d.ts +20 -0
  153. package/dist/types/components/Link/Link.vue.d.ts +50 -0
  154. package/dist/types/components/Link/index.d.ts +4 -0
  155. package/dist/types/components/Link/plugin.d.ts +3 -0
  156. package/dist/types/components/Link/types.d.ts +10 -0
  157. package/dist/types/components/Modal/Modal.story.d.ts +21 -0
  158. package/dist/types/components/Modal/Modal.vue.d.ts +78 -0
  159. package/dist/types/components/Modal/index.d.ts +4 -0
  160. package/dist/types/components/Modal/plugin.d.ts +3 -0
  161. package/dist/types/components/Modal/types.d.ts +37 -0
  162. package/dist/types/components/ModalForm/ModalForm.story.d.ts +34 -0
  163. package/dist/types/components/ModalForm/ModalForm.vue.d.ts +58 -0
  164. package/dist/types/components/ModalForm/index.d.ts +4 -0
  165. package/dist/types/components/ModalForm/plugin.d.ts +3 -0
  166. package/dist/types/components/ModalForm/types.d.ts +20 -0
  167. package/dist/types/components/Pagination/Pagination.story.d.ts +16 -0
  168. package/dist/types/components/Pagination/Pagination.vue.d.ts +50 -0
  169. package/dist/types/components/Pagination/index.d.ts +4 -0
  170. package/dist/types/components/Pagination/plugin.d.ts +3 -0
  171. package/dist/types/components/Pagination/types.d.ts +7 -0
  172. package/dist/types/components/Popconfirm/Popconfirm.vue.d.ts +48 -0
  173. package/dist/types/components/Popconfirm/index.d.ts +4 -0
  174. package/dist/types/components/Popconfirm/plugin.d.ts +3 -0
  175. package/dist/types/components/Popconfirm/types.d.ts +8 -0
  176. package/dist/types/components/Popover/Popover.story.d.ts +15 -0
  177. package/dist/types/components/Popover/Popover.vue.d.ts +70 -0
  178. package/dist/types/components/Popover/index.d.ts +4 -0
  179. package/dist/types/components/Popover/plugin.d.ts +3 -0
  180. package/dist/types/components/Popover/types.d.ts +17 -0
  181. package/dist/types/components/ProgressCircle/ProgressCircle.story.d.ts +15 -0
  182. package/dist/types/components/ProgressCircle/ProgressCircle.vue.d.ts +50 -0
  183. package/dist/types/components/ProgressCircle/index.d.ts +4 -0
  184. package/dist/types/components/ProgressCircle/plugin.d.ts +3 -0
  185. package/dist/types/components/ProgressCircle/types.d.ts +7 -0
  186. package/dist/types/components/ProgressLine/ProgressLine.story.d.ts +14 -0
  187. package/dist/types/components/ProgressLine/ProgressLine.vue.d.ts +77 -0
  188. package/dist/types/components/ProgressLine/index.d.ts +4 -0
  189. package/dist/types/components/ProgressLine/plugin.d.ts +3 -0
  190. package/dist/types/components/ProgressLine/types.d.ts +18 -0
  191. package/dist/types/components/Range/Range.story.d.ts +56 -0
  192. package/dist/types/components/Range/Range.vue.d.ts +50 -0
  193. package/dist/types/components/Range/index.d.ts +4 -0
  194. package/dist/types/components/Range/plugin.d.ts +3 -0
  195. package/dist/types/components/Range/types.d.ts +12 -0
  196. package/dist/types/components/SensitiveInfo/SensitiveInfo.vue.d.ts +22 -0
  197. package/dist/types/components/SensitiveInfo/index.d.ts +4 -0
  198. package/dist/types/components/SensitiveInfo/plugin.d.ts +3 -0
  199. package/dist/types/components/SensitiveInfo/types.d.ts +3 -0
  200. package/dist/types/components/Skeleton/Skeleton.vue.d.ts +31 -0
  201. package/dist/types/components/Skeleton/index.d.ts +4 -0
  202. package/dist/types/components/Skeleton/plugin.d.ts +3 -0
  203. package/dist/types/components/Skeleton/types.d.ts +4 -0
  204. package/dist/types/components/Tab/Tab.story.d.ts +15 -0
  205. package/dist/types/components/Tab/Tab.vue.d.ts +48 -0
  206. package/dist/types/components/Tab/index.d.ts +4 -0
  207. package/dist/types/components/Tab/plugin.d.ts +3 -0
  208. package/dist/types/components/Tab/types.d.ts +9 -0
  209. package/dist/types/components/Table/Table.story.d.ts +30 -0
  210. package/dist/types/components/Table/Table.vue.d.ts +34 -0
  211. package/dist/types/components/Table/index.d.ts +4 -0
  212. package/dist/types/components/Table/plugin.d.ts +3 -0
  213. package/dist/types/components/Table/types.d.ts +19 -0
  214. package/dist/types/components/Tag/Tag.story.d.ts +28 -0
  215. package/dist/types/components/Tag/Tag.vue.d.ts +58 -0
  216. package/dist/types/components/Tag/index.d.ts +4 -0
  217. package/dist/types/components/Tag/plugin.d.ts +3 -0
  218. package/dist/types/components/Tag/types.d.ts +13 -0
  219. package/dist/types/components/Toast/Toast.vue.d.ts +16 -0
  220. package/dist/types/components/Toast/index.d.ts +4 -0
  221. package/dist/types/components/Toast/plugin.d.ts +3 -0
  222. package/dist/types/components/Toast/types.d.ts +7 -0
  223. package/dist/types/components/index.d.ts +48 -0
  224. package/dist/types/components/plugins.d.ts +48 -0
  225. package/dist/types/components/types.d.ts +46 -0
  226. package/dist/types/composables/index.d.ts +6 -0
  227. package/dist/types/composables/useBreakpoints.d.ts +5 -0
  228. package/dist/types/composables/useClipboard.d.ts +3 -0
  229. package/dist/types/composables/useDialog.d.ts +466 -0
  230. package/dist/types/composables/useDomHelpers.d.ts +3 -0
  231. package/dist/types/composables/useRender.d.ts +2 -0
  232. package/dist/types/enums/form.d.ts +24 -0
  233. package/dist/types/enums/index.d.ts +3 -0
  234. package/dist/types/enums/ui.d.ts +238 -0
  235. package/dist/types/form/convertors.d.ts +3 -0
  236. package/dist/types/form/crud.d.ts +27 -0
  237. package/dist/types/form/form-data-transformers.d.ts +3 -0
  238. package/dist/types/form/form-transformer.d.ts +6 -0
  239. package/dist/types/form/form-transformer.test.d.ts +1 -0
  240. package/dist/types/form/index.d.ts +3 -0
  241. package/dist/types/form/json-transformers.d.ts +4 -0
  242. package/dist/types/form/transformers.d.ts +8 -0
  243. package/dist/types/form/useForm.d.ts +18 -0
  244. package/dist/types/form/useForm.test.d.ts +1 -0
  245. package/dist/types/i18n.d.ts +21 -0
  246. package/dist/types/index.d.ts +8 -6
  247. package/dist/types/mocks/countries.d.ts +14 -0
  248. package/dist/types/plugins/register-component.d.ts +3 -0
  249. package/dist/types/services/date.d.ts +2 -0
  250. package/dist/types/services/password.d.ts +5 -0
  251. package/dist/types/services/password.test.d.ts +1 -0
  252. package/dist/types/types/index.d.ts +6 -0
  253. package/dist/types/vitest.setup.d.ts +1 -0
  254. package/package.json +6 -5
  255. /package/dist/types/{address.d.ts → types/address.d.ts} +0 -0
  256. /package/dist/types/{api.d.ts → types/api.d.ts} +0 -0
  257. /package/dist/types/{common.d.ts → types/common.d.ts} +0 -0
  258. /package/dist/types/{form.d.ts → types/form.d.ts} +0 -0
  259. /package/dist/types/{ui.d.ts → types/ui.d.ts} +0 -0
  260. /package/dist/types/{website.d.ts → types/website.d.ts} +0 -0
@@ -0,0 +1,19 @@
1
+ declare const _default: {
2
+ title: string;
3
+ args: {};
4
+ };
5
+ export default _default;
6
+ export declare const Alert: (args: any) => {
7
+ setup(): {
8
+ args: any;
9
+ open: import('vue').Ref<boolean>;
10
+ title: import('vue').Ref<string>;
11
+ message: import('vue').Ref<string>;
12
+ type: string;
13
+ alert: (options: import('./types.js').AlertProps & {
14
+ onConfirm?: (confirmation?: string) => void;
15
+ onClose?: () => void;
16
+ }) => void;
17
+ };
18
+ template: string;
19
+ };
@@ -0,0 +1,62 @@
1
+ import { AlertProps } from './types.js';
2
+ declare var __VLS_10: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_10) => any;
5
+ };
6
+ declare const __VLS_base: import('vue', { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<AlertProps>, {
7
+ type: string;
8
+ title: string;
9
+ message: string;
10
+ closeTitle: string;
11
+ cancelTitle: string;
12
+ confirmTitle: string;
13
+ confirmationValue: string;
14
+ }>, unknown, unknown, {}, {}, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {
15
+ closed: (val?: any) => void;
16
+ confirmed: (val?: string | undefined) => void;
17
+ }, string, import('vue', { with: { "resolution-mode": "import" } }).PublicProps, Readonly<import('vue', { with: { "resolution-mode": "import" } }).ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<AlertProps>, {
18
+ type: string;
19
+ title: string;
20
+ message: string;
21
+ closeTitle: string;
22
+ cancelTitle: string;
23
+ confirmTitle: string;
24
+ confirmationValue: string;
25
+ }>>> & {
26
+ onClosed?: ((val?: any) => any) | undefined;
27
+ onConfirmed?: ((val?: string | undefined) => any) | undefined;
28
+ }, {
29
+ type: "alert" | "confirm" | "type-confirm";
30
+ title: string;
31
+ message: string | string[];
32
+ closeTitle: string;
33
+ cancelTitle: string;
34
+ confirmTitle: string;
35
+ confirmationValue: string;
36
+ }, {}>;
37
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
38
+ declare const _default: typeof __VLS_export;
39
+ export default _default;
40
+ type __VLS_TypePropsToOption<T> = {
41
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
42
+ type: import('vue').PropType<Required<T>[K]>;
43
+ } : {
44
+ type: import('vue').PropType<T[K]>;
45
+ required: true;
46
+ };
47
+ };
48
+ type __VLS_WithDefaults<P, D> = {
49
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
50
+ default: D[K];
51
+ }> : P[K];
52
+ };
53
+ type __VLS_WithSlots<T, S> = T & {
54
+ new (): {
55
+ $slots: S;
56
+ };
57
+ };
58
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
59
+ [K in keyof T]: T[K];
60
+ } : {
61
+ [K in keyof T as K]: T[K];
62
+ }) & {};
@@ -0,0 +1,4 @@
1
+ import { default as Alert } from './Alert.vue';
2
+ import { default as AlertPlugin } from './plugin.js';
3
+ export { Alert, AlertPlugin };
4
+ export type { AlertProps, AlertEvents } from './types.js';
@@ -0,0 +1,3 @@
1
+ import { Plugin } from 'vue';
2
+ declare const _default: Plugin;
3
+ export default _default;
@@ -0,0 +1,42 @@
1
+ export type AlertProps = {
2
+ /**
3
+ * Type of alert.
4
+ *
5
+ * 'alert' - Simple alert with a close button.
6
+ * 'confirm' - Confirmation alert with confirm and cancel buttons.
7
+ * 'type-confirm' - Confirmation alert where the user must type a
8
+ * specific value to confirm the action.
9
+ */
10
+ type?: "alert" | "confirm" | "type-confirm";
11
+ /**
12
+ * Alert title.
13
+ */
14
+ title?: string;
15
+ /**
16
+ * Alert message.
17
+ */
18
+ message?: string | string[];
19
+ /**
20
+ * Title for the close button, in case of 'alert' type.
21
+ */
22
+ closeTitle?: string;
23
+ /**
24
+ * Title for the cancel button, in case of 'confirm' or 'type-confirm'
25
+ * type.
26
+ */
27
+ cancelTitle?: string;
28
+ /**
29
+ * Title for the confirm button, in case of 'confirm' or 'type-confirm'
30
+ * type.
31
+ */
32
+ confirmTitle?: string;
33
+ /**
34
+ * If type is 'type-confirm', the user must type this value to confirm
35
+ * the action.
36
+ */
37
+ confirmationValue?: string;
38
+ };
39
+ export type AlertEvents = {
40
+ (e: "closed", val?: any): void;
41
+ (e: "confirmed", val?: string): void;
42
+ };
@@ -0,0 +1,27 @@
1
+ import { ElementSize, ElementShape } from '../../enums/ui.js';
2
+ declare const _default: {
3
+ title: string;
4
+ args: {
5
+ image: string;
6
+ size: ElementSize;
7
+ shape: ElementShape;
8
+ text: string;
9
+ };
10
+ argTypes: {
11
+ size: {
12
+ control: string;
13
+ options: ElementSize[];
14
+ };
15
+ shape: {
16
+ control: string;
17
+ options: ElementShape[];
18
+ };
19
+ };
20
+ };
21
+ export default _default;
22
+ export declare const Avatar: (args: any) => {
23
+ setup(): {
24
+ args: any;
25
+ };
26
+ template: string;
27
+ };
@@ -0,0 +1,44 @@
1
+ import { AvatarProps } from './types.js';
2
+ import { ElementSize, ElementShape } from '../../enums/ui.js';
3
+ declare const __VLS_export: import('vue', { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<AvatarProps>, {
4
+ text: string;
5
+ role: string;
6
+ size: ElementSize;
7
+ image: string;
8
+ shape: ElementShape;
9
+ backgroundColorClass: string;
10
+ }>, unknown, unknown, {}, {}, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import('vue', { with: { "resolution-mode": "import" } }).PublicProps, Readonly<import('vue', { with: { "resolution-mode": "import" } }).ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<AvatarProps>, {
11
+ text: string;
12
+ role: string;
13
+ size: ElementSize;
14
+ image: string;
15
+ shape: ElementShape;
16
+ backgroundColorClass: string;
17
+ }>>>, {
18
+ image: string;
19
+ text: string;
20
+ size: `${ElementSize}`;
21
+ role: string;
22
+ shape: `${ElementShape}`;
23
+ backgroundColorClass: string;
24
+ }, {}>;
25
+ declare const _default: typeof __VLS_export;
26
+ export default _default;
27
+ type __VLS_TypePropsToOption<T> = {
28
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
29
+ type: import('vue').PropType<Required<T>[K]>;
30
+ } : {
31
+ type: import('vue').PropType<T[K]>;
32
+ required: true;
33
+ };
34
+ };
35
+ type __VLS_WithDefaults<P, D> = {
36
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
37
+ default: D[K];
38
+ }> : P[K];
39
+ };
40
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
41
+ [K in keyof T]: T[K];
42
+ } : {
43
+ [K in keyof T as K]: T[K];
44
+ }) & {};
@@ -0,0 +1,4 @@
1
+ import { default as Avatar } from './Avatar.vue';
2
+ import { default as AvatarPlugin } from './plugin.js';
3
+ export { Avatar, AvatarPlugin };
4
+ export type { AvatarProps } from './types.js';
@@ -0,0 +1,3 @@
1
+ import { Plugin } from 'vue';
2
+ declare const _default: Plugin;
3
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import { ElementSize, ElementShape, Icon } from '../../enums/ui.js';
2
+ export type AvatarProps = {
3
+ icon?: `${Icon}`;
4
+ text?: string;
5
+ role?: string;
6
+ size?: `${ElementSize}`;
7
+ image?: string;
8
+ shape?: `${ElementShape}`;
9
+ backgroundColorClass?: string;
10
+ };
@@ -0,0 +1,32 @@
1
+ import { BackdropProps } from './types.js';
2
+ declare const __VLS_export: import('vue', { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<BackdropProps>, {
3
+ isTransparent: boolean;
4
+ }>, unknown, unknown, {}, {}, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {
5
+ click: (val: MouseEvent) => void;
6
+ }, string, import('vue', { with: { "resolution-mode": "import" } }).PublicProps, Readonly<import('vue', { with: { "resolution-mode": "import" } }).ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<BackdropProps>, {
7
+ isTransparent: boolean;
8
+ }>>> & {
9
+ onClick?: ((val: MouseEvent) => any) | undefined;
10
+ }, {
11
+ isTransparent: boolean;
12
+ }, {}>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
15
+ type __VLS_TypePropsToOption<T> = {
16
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
17
+ type: import('vue').PropType<Required<T>[K]>;
18
+ } : {
19
+ type: import('vue').PropType<T[K]>;
20
+ required: true;
21
+ };
22
+ };
23
+ type __VLS_WithDefaults<P, D> = {
24
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
25
+ default: D[K];
26
+ }> : P[K];
27
+ };
28
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
29
+ [K in keyof T]: T[K];
30
+ } : {
31
+ [K in keyof T as K]: T[K];
32
+ }) & {};
@@ -0,0 +1,4 @@
1
+ import { default as Backdrop } from './Backdrop.vue';
2
+ import { default as BackdropPlugin } from './plugin.js';
3
+ export { Backdrop, BackdropPlugin };
4
+ export type { BackdropProps, BackdropEvents } from './types.js';
@@ -0,0 +1,3 @@
1
+ import { Plugin } from 'vue';
2
+ declare const _default: Plugin;
3
+ export default _default;
@@ -0,0 +1,6 @@
1
+ export type BackdropProps = {
2
+ isTransparent?: boolean;
3
+ };
4
+ export type BackdropEvents = {
5
+ (e: "click", val: MouseEvent): void;
6
+ };
@@ -0,0 +1,45 @@
1
+ import { Icon, ElementShape, ButtonVariant, ButtonInnerAlignment } from '../../enums/ui.js';
2
+ declare const _default: {
3
+ title: string;
4
+ args: {
5
+ label: string;
6
+ type: string;
7
+ outline: boolean;
8
+ variant: ButtonVariant;
9
+ shape: ElementShape;
10
+ innerAlignment: ButtonInnerAlignment;
11
+ };
12
+ argTypes: {
13
+ variant: {
14
+ control: string;
15
+ options: ButtonVariant[];
16
+ };
17
+ type: {
18
+ options: string[];
19
+ control: string;
20
+ };
21
+ shape: {
22
+ options: ElementShape[];
23
+ control: string;
24
+ };
25
+ innerAlignment: {
26
+ options: ButtonInnerAlignment[];
27
+ control: string;
28
+ };
29
+ outline: {
30
+ options: boolean[];
31
+ control: string;
32
+ };
33
+ icon: {
34
+ options: Icon[];
35
+ control: string;
36
+ };
37
+ };
38
+ };
39
+ export default _default;
40
+ export declare const Button: (args: any) => {
41
+ setup(): {
42
+ args: any;
43
+ };
44
+ template: string;
45
+ };
@@ -0,0 +1,141 @@
1
+ import { ButtonProps } from './types.js';
2
+ import { ButtonType, ElementSize, ElementShape, ButtonVariant, ButtonInnerAlignment } from '../../enums/ui.js';
3
+ declare var __VLS_17: {};
4
+ type __VLS_Slots = {} & {
5
+ default?: (props: typeof __VLS_17) => any;
6
+ };
7
+ declare const __VLS_base: import('vue', { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ButtonProps>, {
8
+ bold: boolean;
9
+ disabled: boolean;
10
+ hover: boolean;
11
+ href: string;
12
+ iconPosition: string;
13
+ iconProps: () => {};
14
+ label: string;
15
+ multiple: boolean;
16
+ outline: boolean;
17
+ shape: ElementShape;
18
+ size: ElementSize;
19
+ type: ButtonType;
20
+ innerAlignment: ButtonInnerAlignment;
21
+ variant: ButtonVariant;
22
+ }>, {
23
+ iconReference: import('vue', { with: { "resolution-mode": "import" } }).Ref<import('vue', { with: { "resolution-mode": "import" } }).CreateComponentPublicInstance<Readonly<import('vue', { with: { "resolution-mode": "import" } }).ExtractPropTypes<{
24
+ size: {
25
+ type: import('vue', { with: { "resolution-mode": "import" } }).PropType<number | "" | "default" | "xs" | "sm" | "lg" | "xl">;
26
+ default: ElementSize;
27
+ };
28
+ icon: {
29
+ type: import('vue', { with: { "resolution-mode": "import" } }).PropType<number | "filter" | "stop" | "label" | "menu" | "video" | "circle" | "image" | "text" | "search" | "account" | "account-box" | "account-box-outline" | "account-circle" | "account-circle-outline" | "account-group" | "account-group-outline" | "account-multiple" | "account-multiple-outline" | "account-outline" | "alert-octagon" | "alert-octagon-outline" | "api" | "apps" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "book-alphabet" | "book-multiple" | "book-multiple-outline" | "bookshelf" | "bucket" | "bucket-outline" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "clock-fast" | "clock-outline" | "close" | "close-circle" | "close-circle-outline" | "cog" | "contacts" | "contacts-outline" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "database-outline" | "dots-grid" | "dots-horizontal" | "dots-vertical" | "download" | "download-box" | "download-box-outline" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "fullscreen" | "fullscreen-exit" | "git" | "group" | "home" | "home-outline" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "label-outline" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "movie-open" | "movie-open-outline" | "open-in-new" | "pause" | "pause-circle" | "pencil" | "piggy-bank-outline" | "play" | "play-box" | "play-box-edit-outline" | "play-box-outline" | "play-circle" | "playlist-play" | "plus" | "plus-circle" | "plus-circle-outline" | "progress-clock" | "qrcode-scan" | "refresh" | "replay" | "save" | "shuffle" | "shuffle-disabled" | "shuffle-variant" | "skip-backward" | "skip-forward" | "skip-next" | "skip-previous" | "source-repository" | "spotlight" | "store" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag" | "tag-edit" | "tag-edit-outline" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "text-long" | "timer-outline" | "timer-refresh-outline" | "trash-can" | "trash-can-outline" | "tray-arrow-down" | "ungroup" | "upload" | "upload-box-outline" | "upload-multiple-outline" | "upload-outline" | "video-outline" | "web" | "zip-box">;
30
+ required: true;
31
+ };
32
+ role: {
33
+ type: import('vue', { with: { "resolution-mode": "import" } }).PropType<string>;
34
+ default: string;
35
+ };
36
+ }>>, {
37
+ reference: import('vue', { with: { "resolution-mode": "import" } }).Ref<HTMLElement | null>;
38
+ }, unknown, {}, {}, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, import('vue', { with: { "resolution-mode": "import" } }).VNodeProps & import('vue', { with: { "resolution-mode": "import" } }).AllowedComponentProps & import('vue', { with: { "resolution-mode": "import" } }).ComponentCustomProps & Readonly<import('vue', { with: { "resolution-mode": "import" } }).ExtractPropTypes<{
39
+ size: {
40
+ type: import('vue', { with: { "resolution-mode": "import" } }).PropType<number | "" | "default" | "xs" | "sm" | "lg" | "xl">;
41
+ default: ElementSize;
42
+ };
43
+ icon: {
44
+ type: import('vue', { with: { "resolution-mode": "import" } }).PropType<number | "filter" | "stop" | "label" | "menu" | "video" | "circle" | "image" | "text" | "search" | "account" | "account-box" | "account-box-outline" | "account-circle" | "account-circle-outline" | "account-group" | "account-group-outline" | "account-multiple" | "account-multiple-outline" | "account-outline" | "alert-octagon" | "alert-octagon-outline" | "api" | "apps" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "book-alphabet" | "book-multiple" | "book-multiple-outline" | "bookshelf" | "bucket" | "bucket-outline" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "clock-fast" | "clock-outline" | "close" | "close-circle" | "close-circle-outline" | "cog" | "contacts" | "contacts-outline" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "database-outline" | "dots-grid" | "dots-horizontal" | "dots-vertical" | "download" | "download-box" | "download-box-outline" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "fullscreen" | "fullscreen-exit" | "git" | "group" | "home" | "home-outline" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "label-outline" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "movie-open" | "movie-open-outline" | "open-in-new" | "pause" | "pause-circle" | "pencil" | "piggy-bank-outline" | "play" | "play-box" | "play-box-edit-outline" | "play-box-outline" | "play-circle" | "playlist-play" | "plus" | "plus-circle" | "plus-circle-outline" | "progress-clock" | "qrcode-scan" | "refresh" | "replay" | "save" | "shuffle" | "shuffle-disabled" | "shuffle-variant" | "skip-backward" | "skip-forward" | "skip-next" | "skip-previous" | "source-repository" | "spotlight" | "store" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag" | "tag-edit" | "tag-edit-outline" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "text-long" | "timer-outline" | "timer-refresh-outline" | "trash-can" | "trash-can-outline" | "tray-arrow-down" | "ungroup" | "upload" | "upload-box-outline" | "upload-multiple-outline" | "upload-outline" | "video-outline" | "web" | "zip-box">;
45
+ required: true;
46
+ };
47
+ role: {
48
+ type: import('vue', { with: { "resolution-mode": "import" } }).PropType<string>;
49
+ default: string;
50
+ };
51
+ }>>, {
52
+ size: `${ElementSize}` | number;
53
+ role: string;
54
+ }, true, {}, {}, {
55
+ P: {};
56
+ B: {};
57
+ D: {};
58
+ C: {};
59
+ M: {};
60
+ Defaults: {};
61
+ }, Readonly<import('vue', { with: { "resolution-mode": "import" } }).ExtractPropTypes<{
62
+ size: {
63
+ type: import('vue', { with: { "resolution-mode": "import" } }).PropType<number | "" | "default" | "xs" | "sm" | "lg" | "xl">;
64
+ default: ElementSize;
65
+ };
66
+ icon: {
67
+ type: import('vue', { with: { "resolution-mode": "import" } }).PropType<number | "filter" | "stop" | "label" | "menu" | "video" | "circle" | "image" | "text" | "search" | "account" | "account-box" | "account-box-outline" | "account-circle" | "account-circle-outline" | "account-group" | "account-group-outline" | "account-multiple" | "account-multiple-outline" | "account-outline" | "alert-octagon" | "alert-octagon-outline" | "api" | "apps" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "book-alphabet" | "book-multiple" | "book-multiple-outline" | "bookshelf" | "bucket" | "bucket-outline" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "clock-fast" | "clock-outline" | "close" | "close-circle" | "close-circle-outline" | "cog" | "contacts" | "contacts-outline" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "database-outline" | "dots-grid" | "dots-horizontal" | "dots-vertical" | "download" | "download-box" | "download-box-outline" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "fullscreen" | "fullscreen-exit" | "git" | "group" | "home" | "home-outline" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "label-outline" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "movie-open" | "movie-open-outline" | "open-in-new" | "pause" | "pause-circle" | "pencil" | "piggy-bank-outline" | "play" | "play-box" | "play-box-edit-outline" | "play-box-outline" | "play-circle" | "playlist-play" | "plus" | "plus-circle" | "plus-circle-outline" | "progress-clock" | "qrcode-scan" | "refresh" | "replay" | "save" | "shuffle" | "shuffle-disabled" | "shuffle-variant" | "skip-backward" | "skip-forward" | "skip-next" | "skip-previous" | "source-repository" | "spotlight" | "store" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag" | "tag-edit" | "tag-edit-outline" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "text-long" | "timer-outline" | "timer-refresh-outline" | "trash-can" | "trash-can-outline" | "tray-arrow-down" | "ungroup" | "upload" | "upload-box-outline" | "upload-multiple-outline" | "upload-outline" | "video-outline" | "web" | "zip-box">;
68
+ required: true;
69
+ };
70
+ role: {
71
+ type: import('vue', { with: { "resolution-mode": "import" } }).PropType<string>;
72
+ default: string;
73
+ };
74
+ }>>, {
75
+ reference: import('vue', { with: { "resolution-mode": "import" } }).Ref<HTMLElement | null>;
76
+ }, {}, {}, {}, {
77
+ size: `${ElementSize}` | number;
78
+ role: string;
79
+ }> | null>;
80
+ }, unknown, {}, {}, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {
81
+ upload: (val: FileList) => void;
82
+ }, string, import('vue', { with: { "resolution-mode": "import" } }).PublicProps, Readonly<import('vue', { with: { "resolution-mode": "import" } }).ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ButtonProps>, {
83
+ bold: boolean;
84
+ disabled: boolean;
85
+ hover: boolean;
86
+ href: string;
87
+ iconPosition: string;
88
+ iconProps: () => {};
89
+ label: string;
90
+ multiple: boolean;
91
+ outline: boolean;
92
+ shape: ElementShape;
93
+ size: ElementSize;
94
+ type: ButtonType;
95
+ innerAlignment: ButtonInnerAlignment;
96
+ variant: ButtonVariant;
97
+ }>>> & {
98
+ onUpload?: ((val: FileList) => any) | undefined;
99
+ }, {
100
+ type: `${ButtonType}`;
101
+ label: string;
102
+ bold: boolean;
103
+ size: `${ElementSize}`;
104
+ hover: boolean;
105
+ shape: `${ElementShape}`;
106
+ disabled: boolean;
107
+ iconPosition: "left" | "right";
108
+ iconProps: Partial<import('../types.js', { with: { "resolution-mode": "import" } }).IconProps> & {
109
+ class?: string;
110
+ };
111
+ multiple: boolean;
112
+ outline: boolean;
113
+ variant: `${ButtonVariant}`;
114
+ innerAlignment: `${ButtonInnerAlignment}`;
115
+ }, {}>;
116
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
117
+ declare const _default: typeof __VLS_export;
118
+ export default _default;
119
+ type __VLS_TypePropsToOption<T> = {
120
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
121
+ type: import('vue').PropType<Required<T>[K]>;
122
+ } : {
123
+ type: import('vue').PropType<T[K]>;
124
+ required: true;
125
+ };
126
+ };
127
+ type __VLS_WithDefaults<P, D> = {
128
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
129
+ default: D[K];
130
+ }> : P[K];
131
+ };
132
+ type __VLS_WithSlots<T, S> = T & {
133
+ new (): {
134
+ $slots: S;
135
+ };
136
+ };
137
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
138
+ [K in keyof T]: T[K];
139
+ } : {
140
+ [K in keyof T as K]: T[K];
141
+ }) & {};
@@ -0,0 +1,4 @@
1
+ import { default as Button } from './Button.vue';
2
+ import { default as ButtonPlugin } from './plugin.js';
3
+ export { Button, ButtonPlugin };
4
+ export type { ButtonProps, ButtonEvents } from './types.js';
@@ -0,0 +1,3 @@
1
+ import { Plugin } from 'vue';
2
+ declare const _default: Plugin;
3
+ export default _default;
@@ -0,0 +1,29 @@
1
+ import { IconProps } from '../Icon/types.js';
2
+ import { Icon, ButtonType, ElementSize, ElementShape, ButtonVariant, ButtonInnerAlignment } from '../../enums/ui.js';
3
+ export type ButtonProps = {
4
+ animate?: {
5
+ target: "icon";
6
+ trigger: "click";
7
+ animation: object;
8
+ reset: object;
9
+ };
10
+ bold?: boolean;
11
+ disabled?: boolean;
12
+ hover?: boolean;
13
+ icon?: `${Icon}`;
14
+ iconPosition?: "left" | "right";
15
+ iconProps?: Partial<IconProps> & {
16
+ class?: string;
17
+ };
18
+ label?: string;
19
+ multiple?: boolean;
20
+ outline?: boolean;
21
+ shape?: `${ElementShape}`;
22
+ size?: `${ElementSize}`;
23
+ type?: `${ButtonType}`;
24
+ variant?: `${ButtonVariant}`;
25
+ innerAlignment?: `${ButtonInnerAlignment}`;
26
+ };
27
+ export type ButtonEvents = {
28
+ (e: "upload", val: FileList): void;
29
+ };
@@ -0,0 +1,25 @@
1
+ declare const _default: {
2
+ title: string;
3
+ args: {
4
+ data: {
5
+ labels: string[];
6
+ datasets: {
7
+ label: string;
8
+ color: string;
9
+ data: number[];
10
+ }[];
11
+ };
12
+ options: {
13
+ scatterplot: boolean;
14
+ grid: boolean;
15
+ };
16
+ };
17
+ argTypes: {};
18
+ };
19
+ export default _default;
20
+ export declare const Line: (args: any) => {
21
+ setup(): {
22
+ args: any;
23
+ };
24
+ template: string;
25
+ };
@@ -0,0 +1,35 @@
1
+ import { ChartLineProps } from './types.js';
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
4
+ declare const __VLS_export: import('vue', { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ChartLineProps>, {
5
+ options: () => {
6
+ scatterplot: boolean;
7
+ };
8
+ }>, unknown, unknown, {}, {}, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import('vue', { with: { "resolution-mode": "import" } }).PublicProps, Readonly<import('vue', { with: { "resolution-mode": "import" } }).ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ChartLineProps>, {
9
+ options: () => {
10
+ scatterplot: boolean;
11
+ };
12
+ }>>>, {
13
+ options: {
14
+ scatterplot?: boolean;
15
+ grid?: boolean;
16
+ };
17
+ }, {}>;
18
+ type __VLS_TypePropsToOption<T> = {
19
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
20
+ type: import('vue').PropType<Required<T>[K]>;
21
+ } : {
22
+ type: import('vue').PropType<T[K]>;
23
+ required: true;
24
+ };
25
+ };
26
+ type __VLS_WithDefaults<P, D> = {
27
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
28
+ default: D[K];
29
+ }> : P[K];
30
+ };
31
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
32
+ [K in keyof T]: T[K];
33
+ } : {
34
+ [K in keyof T as K]: T[K];
35
+ }) & {};
@@ -0,0 +1,4 @@
1
+ import { default as ChartLine } from './ChartLine.vue';
2
+ import { default as ChartLinePlugin } from './plugin.js';
3
+ export { ChartLine, ChartLinePlugin };
4
+ export type { ChartLineProps } from './types.js';
@@ -0,0 +1,3 @@
1
+ import { Plugin } from 'vue';
2
+ declare const _default: Plugin;
3
+ export default _default;
@@ -0,0 +1,17 @@
1
+ type Data = {
2
+ labels: string[];
3
+ datasets: {
4
+ label: string;
5
+ color: string;
6
+ data: number[];
7
+ }[];
8
+ };
9
+ type Options = {
10
+ scatterplot?: boolean;
11
+ grid?: boolean;
12
+ };
13
+ export type ChartLineProps = {
14
+ data: Data;
15
+ options: Options;
16
+ };
17
+ export {};