@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,45 @@
1
+ declare const _default: {
2
+ title: string;
3
+ args: {
4
+ data: {
5
+ name: string;
6
+ children: ({
7
+ value: number;
8
+ tooltipSlotName: string;
9
+ tooltipSlotComponent?: undefined;
10
+ tooltipSlotComponentProps?: undefined;
11
+ label?: undefined;
12
+ } | {
13
+ value: number;
14
+ tooltipSlotComponent: import('vue').Raw<{
15
+ props: {
16
+ label: {
17
+ type: StringConstructor;
18
+ required: boolean;
19
+ };
20
+ };
21
+ setup(): {};
22
+ template: string;
23
+ }>;
24
+ tooltipSlotComponentProps: {
25
+ label: string;
26
+ };
27
+ tooltipSlotName?: undefined;
28
+ label?: undefined;
29
+ } | {
30
+ value: number;
31
+ label: string;
32
+ tooltipSlotName?: undefined;
33
+ tooltipSlotComponent?: undefined;
34
+ tooltipSlotComponentProps?: undefined;
35
+ })[];
36
+ };
37
+ };
38
+ };
39
+ export default _default;
40
+ export declare const Treemap: (args: any) => {
41
+ setup(): {
42
+ args: any;
43
+ };
44
+ template: string;
45
+ };
@@ -0,0 +1,19 @@
1
+ import { ChartTreemapProps } from './types.js';
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
4
+ declare const __VLS_export: __VLS_WithSlots<import('vue', { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_TypePropsToOption<ChartTreemapProps>, 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_TypePropsToOption<ChartTreemapProps>>>, {}, {}>, {
5
+ [x: string]: ((props: {}) => any) | undefined;
6
+ }>;
7
+ type __VLS_TypePropsToOption<T> = {
8
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
9
+ type: import('vue').PropType<Required<T>[K]>;
10
+ } : {
11
+ type: import('vue').PropType<T[K]>;
12
+ required: true;
13
+ };
14
+ };
15
+ type __VLS_WithSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,4 @@
1
+ import { default as ChartTreemap } from './ChartTreemap.vue';
2
+ import { default as ChartTreemapPlugin } from './plugin.js';
3
+ export { ChartTreemap, ChartTreemapPlugin };
4
+ export type { ChartTreemapProps } from './types.js';
@@ -0,0 +1,3 @@
1
+ import { Plugin } from 'vue';
2
+ declare const _default: Plugin;
3
+ export default _default;
@@ -0,0 +1,15 @@
1
+ export type ChartTreemapNode = {
2
+ children?: ChartTreemapNode[];
3
+ color?: string;
4
+ label?: string;
5
+ tooltipSlotName?: string;
6
+ tooltipSlotComponent?: any;
7
+ tooltipSlotComponentProps?: Record<string, any>;
8
+ value: number;
9
+ };
10
+ export type ChartTreemapProps = {
11
+ data: {
12
+ name: string;
13
+ children: ChartTreemapNode[];
14
+ };
15
+ };
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import('vue', { with: { "resolution-mode": "import" } }).DefineComponent<{}, {}, {}, {}, {}, 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<{}>>, {}, {}>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { default as DialogProvider } from './DialogProvider.vue';
2
+ import { default as DialogProviderPlugin } from './plugin.js';
3
+ export { DialogProvider, DialogProviderPlugin };
@@ -0,0 +1,3 @@
1
+ import { Plugin } from 'vue';
2
+ declare const _default: Plugin;
3
+ export default _default;
@@ -0,0 +1,21 @@
1
+ import { FormSchema } from '../../types/form.js';
2
+ declare const _default: {
3
+ title: string;
4
+ args: {};
5
+ argTypes: {};
6
+ };
7
+ export default _default;
8
+ export declare const Drawer: () => {
9
+ components: {
10
+ MyForm: {
11
+ setup(): {
12
+ schema: FormSchema;
13
+ };
14
+ template: string;
15
+ };
16
+ };
17
+ setup(): {
18
+ isDrawerVisible: import('vue').Ref<boolean>;
19
+ };
20
+ template: string;
21
+ };
@@ -0,0 +1,61 @@
1
+ import { DrawerProps } from './types.js';
2
+ declare var __VLS_15: {}, __VLS_17: {}, __VLS_19: {};
3
+ type __VLS_Slots = {} & {
4
+ header?: (props: typeof __VLS_15) => any;
5
+ } & {
6
+ default?: (props: typeof __VLS_17) => any;
7
+ } & {
8
+ footer?: (props: typeof __VLS_19) => any;
9
+ };
10
+ declare const __VLS_base: import('vue', { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<DrawerProps>, {
11
+ title: string;
12
+ style: () => {
13
+ footer: string;
14
+ };
15
+ direction: string;
16
+ showHeader: boolean;
17
+ }>, unknown, unknown, {}, {}, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {
18
+ closed: () => void;
19
+ }, string, import('vue', { with: { "resolution-mode": "import" } }).PublicProps, Readonly<import('vue', { with: { "resolution-mode": "import" } }).ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<DrawerProps>, {
20
+ title: string;
21
+ style: () => {
22
+ footer: string;
23
+ };
24
+ direction: string;
25
+ showHeader: boolean;
26
+ }>>> & {
27
+ onClosed?: (() => any) | undefined;
28
+ }, {
29
+ title: string;
30
+ style: {
31
+ footer: string;
32
+ };
33
+ direction: "rtl" | "ltr";
34
+ showHeader: boolean;
35
+ }, {}>;
36
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
37
+ declare const _default: typeof __VLS_export;
38
+ export default _default;
39
+ type __VLS_TypePropsToOption<T> = {
40
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
41
+ type: import('vue').PropType<Required<T>[K]>;
42
+ } : {
43
+ type: import('vue').PropType<T[K]>;
44
+ required: true;
45
+ };
46
+ };
47
+ type __VLS_WithDefaults<P, D> = {
48
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
49
+ default: D[K];
50
+ }> : P[K];
51
+ };
52
+ type __VLS_WithSlots<T, S> = T & {
53
+ new (): {
54
+ $slots: S;
55
+ };
56
+ };
57
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
58
+ [K in keyof T]: T[K];
59
+ } : {
60
+ [K in keyof T as K]: T[K];
61
+ }) & {};
@@ -0,0 +1,4 @@
1
+ import { default as Drawer } from './Drawer.vue';
2
+ import { default as DrawerPlugin } from './plugin.js';
3
+ export { Drawer, DrawerPlugin };
4
+ export type { DrawerProps, DrawerEvents } from './types.js';
@@ -0,0 +1,3 @@
1
+ import { Plugin } from 'vue';
2
+ declare const _default: Plugin;
3
+ export default _default;
@@ -0,0 +1,11 @@
1
+ export type DrawerProps = {
2
+ title?: string;
3
+ style?: {
4
+ footer: string;
5
+ };
6
+ direction?: "rtl" | "ltr";
7
+ showHeader?: boolean;
8
+ };
9
+ export type DrawerEvents = {
10
+ (e: "closed"): void;
11
+ };
@@ -0,0 +1,124 @@
1
+ import { InputSelectOption } from '../InputSelect/types.js';
2
+ import { DropdownProps } from './types.js';
3
+ import { FormControlSize } from '../../enums/ui.js';
4
+ declare var __VLS_6: {
5
+ icon?: `${import('../../enums/ui.js', { with: { "resolution-mode": "import" } }).Icon}`;
6
+ label: string | object;
7
+ type?: string;
8
+ renderer?: import('vue', { with: { "resolution-mode": "import" } }).Component;
9
+ rendererProps?: {
10
+ [props: string]: any;
11
+ };
12
+ rendererEvents?: {
13
+ [event: string]: (payload: any) => void;
14
+ };
15
+ isGroupLabel: boolean;
16
+ value?: never;
17
+ action?: never;
18
+ } | {
19
+ icon?: `${import('../../enums/ui.js', { with: { "resolution-mode": "import" } }).Icon}`;
20
+ label: string | object;
21
+ type?: string;
22
+ renderer?: import('vue', { with: { "resolution-mode": "import" } }).Component;
23
+ rendererProps?: {
24
+ [props: string]: any;
25
+ };
26
+ rendererEvents?: {
27
+ [event: string]: (payload: any) => void;
28
+ };
29
+ value: import('../InputSelect/types.js', { with: { "resolution-mode": "import" } }).InputSelectValue;
30
+ action?: never;
31
+ isGroupLabel?: never;
32
+ } | {
33
+ icon?: `${import('../../enums/ui.js', { with: { "resolution-mode": "import" } }).Icon}`;
34
+ label: string | object;
35
+ type?: string;
36
+ renderer?: import('vue', { with: { "resolution-mode": "import" } }).Component;
37
+ rendererProps?: {
38
+ [props: string]: any;
39
+ };
40
+ rendererEvents?: {
41
+ [event: string]: (payload: any) => void;
42
+ };
43
+ action: (filters?: import('../../index.js', { with: { "resolution-mode": "import" } }).APISearchFilters) => Promise<{
44
+ items: unknown[];
45
+ pagination: import('../../index.js', { with: { "resolution-mode": "import" } }).Pagination;
46
+ }> | Promise<void> | void;
47
+ manual?: boolean;
48
+ value?: never;
49
+ isGroupLabel?: never;
50
+ };
51
+ type __VLS_Slots = {} & {
52
+ default?: (props: typeof __VLS_6) => any;
53
+ };
54
+ declare const __VLS_base: import('vue', { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<DropdownProps>, {
55
+ size: FormControlSize;
56
+ items: () => never[];
57
+ loading: boolean;
58
+ multiple: boolean;
59
+ isVisible: boolean;
60
+ optionMarginClass: string;
61
+ optionPaddingClass: string;
62
+ wrapperPaddingClass: string;
63
+ optionRoundnessClass: string;
64
+ wrapperRoundnessClass: string;
65
+ }>, {
66
+ move: (e: KeyboardEvent) => boolean;
67
+ resetScroll: () => void;
68
+ }, unknown, {}, {}, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {
69
+ change: (val: import('./types.js', { with: { "resolution-mode": "import" } }).SelectEvent) => void;
70
+ "end-reached": () => void;
71
+ created: (val: import('vue', { with: { "resolution-mode": "import" } }).ComponentInternalInstance | null) => void;
72
+ }, string, import('vue', { with: { "resolution-mode": "import" } }).PublicProps, Readonly<import('vue', { with: { "resolution-mode": "import" } }).ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<DropdownProps>, {
73
+ size: FormControlSize;
74
+ items: () => never[];
75
+ loading: boolean;
76
+ multiple: boolean;
77
+ isVisible: boolean;
78
+ optionMarginClass: string;
79
+ optionPaddingClass: string;
80
+ wrapperPaddingClass: string;
81
+ optionRoundnessClass: string;
82
+ wrapperRoundnessClass: string;
83
+ }>>> & {
84
+ onChange?: ((val: import('./types.js', { with: { "resolution-mode": "import" } }).SelectEvent) => any) | undefined;
85
+ onCreated?: ((val: import('vue', { with: { "resolution-mode": "import" } }).ComponentInternalInstance | null) => any) | undefined;
86
+ "onEnd-reached"?: (() => any) | undefined;
87
+ }, {
88
+ size: `${FormControlSize}`;
89
+ loading: boolean;
90
+ multiple: boolean;
91
+ items: InputSelectOption[];
92
+ isVisible: boolean;
93
+ optionMarginClass: string;
94
+ optionPaddingClass: string;
95
+ wrapperPaddingClass: string;
96
+ optionRoundnessClass: string;
97
+ wrapperRoundnessClass: string;
98
+ }, {}>;
99
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
100
+ declare const _default: typeof __VLS_export;
101
+ export default _default;
102
+ type __VLS_TypePropsToOption<T> = {
103
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
104
+ type: import('vue').PropType<Required<T>[K]>;
105
+ } : {
106
+ type: import('vue').PropType<T[K]>;
107
+ required: true;
108
+ };
109
+ };
110
+ type __VLS_WithDefaults<P, D> = {
111
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
112
+ default: D[K];
113
+ }> : P[K];
114
+ };
115
+ type __VLS_WithSlots<T, S> = T & {
116
+ new (): {
117
+ $slots: S;
118
+ };
119
+ };
120
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
121
+ [K in keyof T]: T[K];
122
+ } : {
123
+ [K in keyof T as K]: T[K];
124
+ }) & {};
@@ -0,0 +1,4 @@
1
+ import { default as Dropdown } from './Dropdown.vue';
2
+ import { default as DropdownPlugin } from './plugin.js';
3
+ export { Dropdown, DropdownPlugin };
4
+ export type { DropdownProps, DropdownEvents } from './types.js';
@@ -0,0 +1,3 @@
1
+ import { Plugin } from 'vue';
2
+ declare const _default: Plugin;
3
+ export default _default;
@@ -0,0 +1,25 @@
1
+ import { InputSelectOption } from '../InputSelect/types.js';
2
+ import { getCurrentInstance } from 'vue';
3
+ import { FormControlSize } from '../../enums/ui.js';
4
+ export type DropdownProps = {
5
+ size?: `${FormControlSize}`;
6
+ items?: InputSelectOption[];
7
+ loading?: boolean;
8
+ multiple?: boolean;
9
+ isVisible?: boolean;
10
+ optionMarginClass?: string;
11
+ optionPaddingClass?: string;
12
+ wrapperPaddingClass?: string;
13
+ optionRoundnessClass?: string;
14
+ wrapperRoundnessClass?: string;
15
+ };
16
+ export type SelectEvent = {
17
+ index: number;
18
+ option: InputSelectOption;
19
+ hold: boolean;
20
+ };
21
+ export type DropdownEvents = {
22
+ (e: "change", val: SelectEvent): void;
23
+ (e: "end-reached"): void;
24
+ (e: "created", val: ReturnType<typeof getCurrentInstance>): void;
25
+ };
@@ -0,0 +1,37 @@
1
+ import { FileDropProps } from './types.js';
2
+ type __VLS_Props = FileDropProps;
3
+ type __VLS_ModelProps = {
4
+ modelValue?: File[];
5
+ };
6
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
7
+ declare const __VLS_export: import('vue', { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
8
+ multiple: boolean;
9
+ }>, unknown, unknown, {}, {}, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {
10
+ "update:modelValue": (value: File[]) => void;
11
+ }, string, import('vue', { with: { "resolution-mode": "import" } }).PublicProps, Readonly<import('vue', { with: { "resolution-mode": "import" } }).ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
12
+ multiple: boolean;
13
+ }>>> & {
14
+ "onUpdate:modelValue"?: ((value: File[]) => any) | undefined;
15
+ }, {
16
+ multiple: boolean;
17
+ }, {}>;
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
20
+ type __VLS_TypePropsToOption<T> = {
21
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
22
+ type: import('vue').PropType<Required<T>[K]>;
23
+ } : {
24
+ type: import('vue').PropType<T[K]>;
25
+ required: true;
26
+ };
27
+ };
28
+ type __VLS_WithDefaults<P, D> = {
29
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
30
+ default: D[K];
31
+ }> : P[K];
32
+ };
33
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
34
+ [K in keyof T]: T[K];
35
+ } : {
36
+ [K in keyof T as K]: T[K];
37
+ }) & {};
@@ -0,0 +1,4 @@
1
+ import { default as FileDrop } from './FileDrop.vue';
2
+ import { default as FileDropPlugin } from './plugin.js';
3
+ export { FileDrop, FileDropPlugin };
4
+ export type { FileDropProps, FileDropEvents } from './types.js';
@@ -0,0 +1,3 @@
1
+ import { Plugin } from 'vue';
2
+ declare const _default: Plugin;
3
+ export default _default;
@@ -0,0 +1,5 @@
1
+ export type FileDropProps = {
2
+ types?: any;
3
+ multiple?: boolean;
4
+ };
5
+ export type FileDropEvents = {};
@@ -0,0 +1,32 @@
1
+ import { FormDataTypes } from '../../enums/form.js';
2
+ declare const _default: {
3
+ title: string;
4
+ args: {
5
+ schema: {
6
+ password: FormDataTypes.Password;
7
+ username: FormDataTypes.String;
8
+ };
9
+ layout: string;
10
+ };
11
+ argTypes: {
12
+ layout: {
13
+ options: string[];
14
+ control: string;
15
+ };
16
+ };
17
+ };
18
+ export default _default;
19
+ export declare const Form: (args: any) => {
20
+ setup(): {
21
+ args: any;
22
+ nextStep: (event: {
23
+ form: FormData;
24
+ }) => void;
25
+ contacts: {
26
+ label: string;
27
+ value: string;
28
+ }[];
29
+ getCurrencies: () => Promise<unknown>;
30
+ };
31
+ template: string;
32
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,36 @@
1
+ import { FormProps, FormEvents } from './types.js';
2
+ import { FormSchema, FormInstance } from '../../types/form.js';
3
+ declare const __VLS_export: <T extends FormSchema>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
+ props: import('vue').PublicProps & __VLS_PrettifyLocal<FormProps<T> & {
5
+ [x: `on${Capitalize<string>}`]: ((...args: any) => any) | undefined;
6
+ }> & (typeof globalThis extends {
7
+ __VLS_PROPS_FALLBACK: infer P;
8
+ } ? P : {});
9
+ expose: (exposed: import('vue').ShallowUnwrapRef<{
10
+ submit: () => Promise<{
11
+ isValid: boolean;
12
+ form: FormData | import('../../types/form.js', { with: { "resolution-mode": "import" } }).JSONForm;
13
+ }>;
14
+ reset: () => void;
15
+ setValues: (values: Partial<FormInstance<T extends undefined ? never : T>>) => void;
16
+ form: import('vue', { with: { "resolution-mode": "import" } }).UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>;
17
+ setValue: <K extends keyof import('vue', { with: { "resolution-mode": "import" } }).UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>>(key: K, value: import('vue', { with: { "resolution-mode": "import" } }).UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>[K]) => void;
18
+ getValue: (key: keyof import('vue', { with: { "resolution-mode": "import" } }).UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>) => import('vue', { with: { "resolution-mode": "import" } }).UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>[keyof import('vue', { with: { "resolution-mode": "import" } }).UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>];
19
+ }>) => void;
20
+ attrs: any;
21
+ slots: {
22
+ default?: (props: {
23
+ form: import('@vue/reactivity').DistrubuteRef<import('vue', { with: { "resolution-mode": "import" } }).UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>>;
24
+ }) => any;
25
+ };
26
+ emit: FormEvents;
27
+ }>) => import('vue').VNode & {
28
+ __ctx?: Awaited<typeof __VLS_setup>;
29
+ };
30
+ declare const _default: typeof __VLS_export;
31
+ export default _default;
32
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
33
+ [K in keyof T]: T[K];
34
+ } : {
35
+ [K in keyof T as K]: T[K];
36
+ }) & {};
@@ -0,0 +1,4 @@
1
+ import { default as Form } from './Form.vue';
2
+ import { default as FormPlugin } from './plugin.js';
3
+ export { Form, FormPlugin };
4
+ export type { FormProps, FormEvents } from './types.js';
@@ -0,0 +1,3 @@
1
+ import { Plugin } from 'vue';
2
+ declare const _default: Plugin;
3
+ export default _default;
@@ -0,0 +1,26 @@
1
+ import { FormSchema, FormInstance, ValidationResult } from '../../types/form.js';
2
+ import { ButtonProps } from '../Button/types.js';
3
+ import { FormControlSize } from '../../enums/ui.js';
4
+ import { FormSubmissionFormat } from '../../enums/form.js';
5
+ export type FormStyle = {
6
+ [key in "label" | "input"]?: string;
7
+ };
8
+ export type FormLayout = "horizontal" | "vertical" | "inline";
9
+ export type FormProps<T extends FormSchema> = {
10
+ size?: `${FormControlSize}`;
11
+ schema?: T;
12
+ layout?: FormLayout;
13
+ formStyle?: FormStyle;
14
+ identifier?: string | number;
15
+ showSubmit?: boolean;
16
+ buttonProps?: ButtonProps;
17
+ submissionFormat?: FormSubmissionFormat;
18
+ /**
19
+ * Classes
20
+ */
21
+ buttonWrapperClass?: string;
22
+ };
23
+ export type FormEvents = {
24
+ <T extends FormSubmissionFormat>(e: "submit", val: ValidationResult<T>): void;
25
+ <T extends FormSchema>(e: "change", val: FormInstance<T>): void;
26
+ };
@@ -0,0 +1,24 @@
1
+ import { FormItemProps } from './types.js';
2
+ declare var __VLS_7: {}, __VLS_9: {};
3
+ type __VLS_Slots = {} & {
4
+ label?: (props: typeof __VLS_7) => any;
5
+ } & {
6
+ default?: (props: typeof __VLS_9) => any;
7
+ };
8
+ declare const __VLS_base: import('vue', { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_TypePropsToOption<FormItemProps>, 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_TypePropsToOption<FormItemProps>>>, {}, {}>;
9
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
10
+ declare const _default: typeof __VLS_export;
11
+ export default _default;
12
+ type __VLS_TypePropsToOption<T> = {
13
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
14
+ type: import('vue').PropType<Required<T>[K]>;
15
+ } : {
16
+ type: import('vue').PropType<T[K]>;
17
+ required: true;
18
+ };
19
+ };
20
+ type __VLS_WithSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1,4 @@
1
+ import { default as FormItem } from './FormItem.vue';
2
+ import { default as FormItemPlugin } from './plugin.js';
3
+ export { FormItem, FormItemPlugin };
4
+ export type { FormItemProps } from './types.js';
@@ -0,0 +1,3 @@
1
+ import { Plugin } from 'vue';
2
+ declare const _default: Plugin;
3
+ export default _default;
@@ -0,0 +1,4 @@
1
+ export type FormItemProps = {
2
+ label?: string;
3
+ rules?: any;
4
+ };
@@ -0,0 +1,22 @@
1
+ import { GraphyEmptyProps } from './types.js';
2
+ declare const __VLS_export: import('vue', { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<GraphyEmptyProps>, {}>, 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<GraphyEmptyProps>, {}>>>, {}, {}>;
3
+ declare const _default: typeof __VLS_export;
4
+ export default _default;
5
+ type __VLS_TypePropsToOption<T> = {
6
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
7
+ type: import('vue').PropType<Required<T>[K]>;
8
+ } : {
9
+ type: import('vue').PropType<T[K]>;
10
+ required: true;
11
+ };
12
+ };
13
+ type __VLS_WithDefaults<P, D> = {
14
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
15
+ default: D[K];
16
+ }> : P[K];
17
+ };
18
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
19
+ [K in keyof T]: T[K];
20
+ } : {
21
+ [K in keyof T as K]: T[K];
22
+ }) & {};
@@ -0,0 +1,4 @@
1
+ import { default as GraphyEmpty } from './GraphyEmpty.vue';
2
+ import { default as GraphyEmptyPlugin } from './plugin.js';
3
+ export { GraphyEmpty, GraphyEmptyPlugin };
4
+ export type { GraphyEmptyProps } from './types.js';
@@ -0,0 +1,3 @@
1
+ import { Plugin } from 'vue';
2
+ declare const _default: Plugin;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ export type GraphyEmptyProps = {
2
+ text?: string;
3
+ };