mood-ui 0.1.0

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 (168) hide show
  1. package/LICENSE +21 -0
  2. package/README.OLD.md +5 -0
  3. package/README.md +84 -0
  4. package/dist/components/ModoProvider.vue.d.ts +61 -0
  5. package/dist/components/data-display/Card.vue.d.ts +26 -0
  6. package/dist/components/data-display/Typography.vue.d.ts +21 -0
  7. package/dist/components/data-display/avatar/Avatar.vue.d.ts +9 -0
  8. package/dist/components/data-display/avatar/AvatarGroup.vue.d.ts +7 -0
  9. package/dist/components/data-display/calendar/AgendaView.vue.d.ts +76 -0
  10. package/dist/components/data-display/calendar/Calendar.vue.d.ts +25 -0
  11. package/dist/components/data-display/calendar/CalendarEventTooltip.vue.d.ts +34 -0
  12. package/dist/components/data-display/calendar/CalendarHeader.vue.d.ts +67 -0
  13. package/dist/components/data-display/calendar/DayView.vue.d.ts +91 -0
  14. package/dist/components/data-display/calendar/MonthView.vue.d.ts +71 -0
  15. package/dist/components/data-display/calendar/Scheduler.vue.d.ts +102 -0
  16. package/dist/components/data-display/calendar/WeekView.vue.d.ts +101 -0
  17. package/dist/components/data-display/date-picker/DateRangePicker.vue.d.ts +18 -0
  18. package/dist/components/data-display/date-picker/DateTimePicker.vue.d.ts +17 -0
  19. package/dist/components/data-display/table/Table.vue.d.ts +75 -0
  20. package/dist/components/data-display/table/TableColumn.vue.d.ts +26 -0
  21. package/dist/components/data-display/table/TablePagination.vue.d.ts +14 -0
  22. package/dist/components/feedback/Badge.vue.d.ts +24 -0
  23. package/dist/components/feedback/Banner.vue.d.ts +28 -0
  24. package/dist/components/feedback/Chip.vue.d.ts +22 -0
  25. package/dist/components/feedback/ConfirmDialog.vue.d.ts +4 -0
  26. package/dist/components/feedback/Drawer.vue.d.ts +43 -0
  27. package/dist/components/feedback/EmptyState.vue.d.ts +19 -0
  28. package/dist/components/feedback/Loader.vue.d.ts +7 -0
  29. package/dist/components/feedback/Modal.vue.d.ts +44 -0
  30. package/dist/components/feedback/ProgressBar.vue.d.ts +10 -0
  31. package/dist/components/feedback/Skeleton.vue.d.ts +10 -0
  32. package/dist/components/feedback/Toast.vue.d.ts +19 -0
  33. package/dist/components/feedback/ToastContainer.vue.d.ts +11 -0
  34. package/dist/components/feedback/Tooltip.vue.d.ts +35 -0
  35. package/dist/components/forms/Button.vue.d.ts +24 -0
  36. package/dist/components/forms/ButtonGroup.vue.d.ts +16 -0
  37. package/dist/components/forms/Checkbox.vue.d.ts +22 -0
  38. package/dist/components/forms/Combobox.vue.d.ts +48 -0
  39. package/dist/components/forms/DateField.vue.d.ts +30 -0
  40. package/dist/components/forms/DateRangeField.vue.d.ts +32 -0
  41. package/dist/components/forms/DateTimeField.vue.d.ts +34 -0
  42. package/dist/components/forms/FileInput.vue.d.ts +33 -0
  43. package/dist/components/forms/FormField.vue.d.ts +30 -0
  44. package/dist/components/forms/Input.vue.d.ts +33 -0
  45. package/dist/components/forms/MultiSelect.vue.d.ts +51 -0
  46. package/dist/components/forms/NumberInput.vue.d.ts +35 -0
  47. package/dist/components/forms/PasswordInput.vue.d.ts +40 -0
  48. package/dist/components/forms/Radio.vue.d.ts +16 -0
  49. package/dist/components/forms/RadioGroup.vue.d.ts +27 -0
  50. package/dist/components/forms/RangeSlider.vue.d.ts +27 -0
  51. package/dist/components/forms/SearchInput.vue.d.ts +37 -0
  52. package/dist/components/forms/Select.vue.d.ts +46 -0
  53. package/dist/components/forms/Slider.vue.d.ts +26 -0
  54. package/dist/components/forms/Switch.vue.d.ts +22 -0
  55. package/dist/components/forms/Textarea.vue.d.ts +36 -0
  56. package/dist/components/layout/AppShell.vue.d.ts +124 -0
  57. package/dist/components/layout/Canvas.vue.d.ts +21 -0
  58. package/dist/components/layout/Container.vue.d.ts +21 -0
  59. package/dist/components/layout/Divider.vue.d.ts +21 -0
  60. package/dist/components/layout/HStack.vue.d.ts +14 -0
  61. package/dist/components/layout/PageHeader.vue.d.ts +34 -0
  62. package/dist/components/layout/PopoverPanel.vue.d.ts +29 -0
  63. package/dist/components/layout/Sidebar.vue.d.ts +39 -0
  64. package/dist/components/layout/SidebarRow.vue.d.ts +31 -0
  65. package/dist/components/layout/SidebarRowContent.vue.d.ts +27 -0
  66. package/dist/components/layout/Stack.vue.d.ts +24 -0
  67. package/dist/components/layout/Topbar.vue.d.ts +36 -0
  68. package/dist/components/layout/VStack.vue.d.ts +14 -0
  69. package/dist/components/navigation/Breadcrumbs.vue.d.ts +13 -0
  70. package/dist/components/navigation/DropdownMenu.vue.d.ts +36 -0
  71. package/dist/components/navigation/Pagination.vue.d.ts +18 -0
  72. package/dist/components/navigation/Tabs.vue.d.ts +37 -0
  73. package/dist/composables/eventColors.d.ts +13 -0
  74. package/dist/composables/useAutoScroll.d.ts +11 -0
  75. package/dist/composables/useCalendar.d.ts +44 -0
  76. package/dist/composables/useCalendarKeyboard.d.ts +17 -0
  77. package/dist/composables/useCalendarTheme.d.ts +22 -0
  78. package/dist/composables/useColorMode.d.ts +28 -0
  79. package/dist/composables/useConfirm.d.ts +146 -0
  80. package/dist/composables/useCurrentTimeLine.d.ts +5 -0
  81. package/dist/composables/useEventHover.d.ts +29 -0
  82. package/dist/composables/useField.d.ts +89 -0
  83. package/dist/composables/useModoConfig.d.ts +29 -0
  84. package/dist/composables/usePopover.d.ts +59 -0
  85. package/dist/composables/useTable.d.ts +29 -0
  86. package/dist/composables/useTableColumnsState.d.ts +52 -0
  87. package/dist/composables/useTableFilter.d.ts +39 -0
  88. package/dist/composables/useTableKeyboard.d.ts +38 -0
  89. package/dist/composables/useTablePagination.d.ts +44 -0
  90. package/dist/composables/useTableQuery.d.ts +90 -0
  91. package/dist/composables/useTableSelection.d.ts +40 -0
  92. package/dist/composables/useTableSort.d.ts +41 -0
  93. package/dist/composables/useTableTree.d.ts +55 -0
  94. package/dist/composables/useTableUrlSync.d.ts +66 -0
  95. package/dist/composables/useTableVirtual.d.ts +43 -0
  96. package/dist/composables/useTimeGrid.d.ts +22 -0
  97. package/dist/composables/useToast.d.ts +176 -0
  98. package/dist/config/ModoConfig.d.ts +32 -0
  99. package/dist/config/ModoLocale.d.ts +212 -0
  100. package/dist/config/colorPrimitives.d.ts +13 -0
  101. package/dist/config/createModoUI.d.ts +85 -0
  102. package/dist/config/palettes.d.ts +30 -0
  103. package/dist/index.d.ts +130 -0
  104. package/dist/interfaces/data-display/Card.interface.d.ts +8 -0
  105. package/dist/interfaces/data-display/Typography.interface.d.ts +12 -0
  106. package/dist/interfaces/data-display/avatar/Avatar.interface.d.ts +24 -0
  107. package/dist/interfaces/data-display/avatar/AvatarGroup.interface.d.ts +8 -0
  108. package/dist/interfaces/data-display/calendar/AgendaView.interface.d.ts +29 -0
  109. package/dist/interfaces/data-display/calendar/Calendar.interface.d.ts +16 -0
  110. package/dist/interfaces/data-display/calendar/DayView.interface.d.ts +43 -0
  111. package/dist/interfaces/data-display/calendar/MonthView.interface.d.ts +41 -0
  112. package/dist/interfaces/data-display/calendar/Scheduler.interface.d.ts +63 -0
  113. package/dist/interfaces/data-display/calendar/WeekView.interface.d.ts +65 -0
  114. package/dist/interfaces/data-display/date-picker/DateRangePicker.interface.d.ts +20 -0
  115. package/dist/interfaces/data-display/date-picker/DateTimePicker.interface.d.ts +16 -0
  116. package/dist/interfaces/data-display/table/Table.interface.d.ts +615 -0
  117. package/dist/interfaces/data-display/table/TableColumn.interface.d.ts +10 -0
  118. package/dist/interfaces/data-display/table/TablePagination.interface.d.ts +33 -0
  119. package/dist/interfaces/feedback/Badge.interface.d.ts +14 -0
  120. package/dist/interfaces/feedback/Banner.interface.d.ts +14 -0
  121. package/dist/interfaces/feedback/Chip.interface.d.ts +35 -0
  122. package/dist/interfaces/feedback/ConfirmDialog.interface.d.ts +49 -0
  123. package/dist/interfaces/feedback/Drawer.interface.d.ts +49 -0
  124. package/dist/interfaces/feedback/EmptyState.interface.d.ts +31 -0
  125. package/dist/interfaces/feedback/Loader.interface.d.ts +7 -0
  126. package/dist/interfaces/feedback/Modal.interface.d.ts +50 -0
  127. package/dist/interfaces/feedback/ProgressBar.interface.d.ts +31 -0
  128. package/dist/interfaces/feedback/Skeleton.interface.d.ts +123 -0
  129. package/dist/interfaces/feedback/Toast.interface.d.ts +86 -0
  130. package/dist/interfaces/feedback/Tooltip.interface.d.ts +38 -0
  131. package/dist/interfaces/forms/Button.interface.d.ts +26 -0
  132. package/dist/interfaces/forms/ButtonGroup.interface.d.ts +9 -0
  133. package/dist/interfaces/forms/Checkbox.interface.d.ts +32 -0
  134. package/dist/interfaces/forms/Combobox.interface.d.ts +57 -0
  135. package/dist/interfaces/forms/DateField.interface.d.ts +39 -0
  136. package/dist/interfaces/forms/DateRangeField.interface.d.ts +41 -0
  137. package/dist/interfaces/forms/DateTimeField.interface.d.ts +44 -0
  138. package/dist/interfaces/forms/FileInput.interface.d.ts +105 -0
  139. package/dist/interfaces/forms/FormField.interface.d.ts +55 -0
  140. package/dist/interfaces/forms/Input.interface.d.ts +68 -0
  141. package/dist/interfaces/forms/NumberInput.interface.d.ts +77 -0
  142. package/dist/interfaces/forms/PasswordInput.interface.d.ts +84 -0
  143. package/dist/interfaces/forms/Radio.interface.d.ts +54 -0
  144. package/dist/interfaces/forms/RadioGroup.context.d.ts +13 -0
  145. package/dist/interfaces/forms/RangeSlider.interface.d.ts +30 -0
  146. package/dist/interfaces/forms/SearchInput.interface.d.ts +59 -0
  147. package/dist/interfaces/forms/Select.interface.d.ts +145 -0
  148. package/dist/interfaces/forms/Slider.interface.d.ts +36 -0
  149. package/dist/interfaces/forms/Switch.interface.d.ts +30 -0
  150. package/dist/interfaces/forms/Textarea.interface.d.ts +64 -0
  151. package/dist/interfaces/layout/AppShell.interface.d.ts +56 -0
  152. package/dist/interfaces/layout/Canvas.interface.d.ts +39 -0
  153. package/dist/interfaces/layout/Container.interface.d.ts +8 -0
  154. package/dist/interfaces/layout/Divider.interface.d.ts +53 -0
  155. package/dist/interfaces/layout/PageHeader.interface.d.ts +23 -0
  156. package/dist/interfaces/layout/Sidebar.interface.d.ts +88 -0
  157. package/dist/interfaces/layout/Stack.interface.d.ts +42 -0
  158. package/dist/interfaces/layout/Topbar.interface.d.ts +28 -0
  159. package/dist/interfaces/navigation/Breadcrumbs.interface.d.ts +38 -0
  160. package/dist/interfaces/navigation/DropdownMenu.interface.d.ts +72 -0
  161. package/dist/interfaces/navigation/Pagination.interface.d.ts +37 -0
  162. package/dist/interfaces/navigation/Tabs.interface.d.ts +74 -0
  163. package/dist/mood-ui.cjs +4 -0
  164. package/dist/mood-ui.cjs.map +1 -0
  165. package/dist/mood-ui.css +2 -0
  166. package/dist/mood-ui.mjs +19832 -0
  167. package/dist/mood-ui.mjs.map +1 -0
  168. package/package.json +72 -0
@@ -0,0 +1,35 @@
1
+ import { Tooltip, TooltipPlacement, TooltipTrigger } from '../../interfaces/feedback/Tooltip.interface';
2
+ declare var __VLS_1: {}, __VLS_15: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_1) => any;
5
+ } & {
6
+ content?: (props: typeof __VLS_15) => any;
7
+ };
8
+ declare const __VLS_base: import('vue').DefineComponent<Tooltip, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ "update:open": (open: boolean) => any;
10
+ show: () => any;
11
+ hide: () => any;
12
+ }, string, import('vue').PublicProps, Readonly<Tooltip> & Readonly<{
13
+ "onUpdate:open"?: ((open: boolean) => any) | undefined;
14
+ onShow?: (() => any) | undefined;
15
+ onHide?: (() => any) | undefined;
16
+ }>, {
17
+ color: "default" | "primary" | "danger" | "success" | "warning" | "inverted";
18
+ placement: TooltipPlacement;
19
+ disabled: boolean;
20
+ trigger: TooltipTrigger | TooltipTrigger[];
21
+ offset: number;
22
+ open: boolean;
23
+ maxWidth: number;
24
+ openDelay: number;
25
+ closeDelay: number;
26
+ arrow: boolean;
27
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
28
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
29
+ declare const _default: typeof __VLS_export;
30
+ export default _default;
31
+ type __VLS_WithSlots<T, S> = T & {
32
+ new (): {
33
+ $slots: S;
34
+ };
35
+ };
@@ -0,0 +1,24 @@
1
+ import { Button } from '../../interfaces/forms/Button.interface';
2
+ declare var __VLS_17: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_17) => any;
5
+ };
6
+ declare const __VLS_base: import('vue').DefineComponent<Button, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Button> & Readonly<{}>, {
7
+ skeleton: boolean;
8
+ color: "default" | "primary" | "danger" | "success" | "warning";
9
+ type: "button" | "submit" | "reset";
10
+ variant: "normal" | "outline" | "ghost" | "text";
11
+ fullWidth: boolean;
12
+ disabled: boolean;
13
+ loading: boolean;
14
+ gradient: boolean;
15
+ iconPosition: "left" | "right";
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
+ };
@@ -0,0 +1,16 @@
1
+ import { ButtonGroup } from '../../interfaces/forms/ButtonGroup.interface';
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<ButtonGroup, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ButtonGroup> & Readonly<{}>, {
7
+ orientation: "horizontal" | "vertical";
8
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
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_WithSlots<T, S> = T & {
13
+ new (): {
14
+ $slots: S;
15
+ };
16
+ };
@@ -0,0 +1,22 @@
1
+ import { Checkbox as CheckboxProps } from '../../interfaces/forms/Checkbox.interface';
2
+ type __VLS_Props = CheckboxProps & {
3
+ fullWidth?: boolean;
4
+ };
5
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
6
+ change: (value: boolean) => any;
7
+ "update:modelValue": (value: boolean) => any;
8
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
9
+ onChange?: ((value: boolean) => any) | undefined;
10
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
11
+ }>, {
12
+ color: "default" | "primary" | "danger" | "success" | "warning";
13
+ fullWidth: boolean;
14
+ disabled: boolean;
15
+ loading: boolean;
16
+ required: boolean;
17
+ modelValue: boolean;
18
+ readonly: boolean;
19
+ indeterminate: boolean;
20
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
+ declare const _default: typeof __VLS_export;
22
+ export default _default;
@@ -0,0 +1,48 @@
1
+ import { Combobox as ComboboxProps, SelectOption } from '../../interfaces/forms/Combobox.interface';
2
+ declare var __VLS_49: {};
3
+ type __VLS_Slots = {} & {
4
+ footer?: (props: typeof __VLS_49) => any;
5
+ };
6
+ declare const __VLS_base: import('vue').DefineComponent<ComboboxProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ select: (option: SelectOption) => any;
8
+ change: (value: string, option: SelectOption | null) => any;
9
+ search: (query: string) => any;
10
+ clear: () => any;
11
+ "update:modelValue": (value: string) => any;
12
+ close: () => any;
13
+ open: () => any;
14
+ }, string, import('vue').PublicProps, Readonly<ComboboxProps> & Readonly<{
15
+ onSelect?: ((option: SelectOption) => any) | undefined;
16
+ onChange?: ((value: string, option: SelectOption | null) => any) | undefined;
17
+ onSearch?: ((query: string) => any) | undefined;
18
+ onClear?: (() => any) | undefined;
19
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
20
+ onClose?: (() => any) | undefined;
21
+ onOpen?: (() => any) | undefined;
22
+ }>, {
23
+ color: "default" | "primary" | "danger" | "success" | "warning";
24
+ variant: "outline" | "filled" | "ghost";
25
+ fullWidth: boolean;
26
+ disabled: boolean;
27
+ loading: boolean;
28
+ loadingText: string;
29
+ required: boolean;
30
+ modelValue: string | null;
31
+ placeholder: string;
32
+ readonly: boolean;
33
+ clearable: boolean;
34
+ autofocus: boolean;
35
+ debounce: number;
36
+ options: SelectOption[];
37
+ emptyText: string;
38
+ minChars: number;
39
+ freeSolo: boolean;
40
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
41
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
42
+ declare const _default: typeof __VLS_export;
43
+ export default _default;
44
+ type __VLS_WithSlots<T, S> = T & {
45
+ new (): {
46
+ $slots: S;
47
+ };
48
+ };
@@ -0,0 +1,30 @@
1
+ import { DateField } from '../../interfaces/forms/DateField.interface';
2
+ declare const __VLS_export: import('vue').DefineComponent<DateField, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3
+ change: (value: Date | null) => any;
4
+ clear: () => any;
5
+ "update:modelValue": (value: Date | null) => any;
6
+ close: () => any;
7
+ open: () => any;
8
+ }, string, import('vue').PublicProps, Readonly<DateField> & Readonly<{
9
+ onChange?: ((value: Date | null) => any) | undefined;
10
+ onClear?: (() => any) | undefined;
11
+ "onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
12
+ onClose?: (() => any) | undefined;
13
+ onOpen?: (() => any) | undefined;
14
+ }>, {
15
+ color: "default" | "primary" | "danger" | "success" | "warning";
16
+ variant: "outline" | "filled" | "ghost";
17
+ fullWidth: boolean;
18
+ disabled: boolean;
19
+ loading: boolean;
20
+ required: boolean;
21
+ modelValue: Date | null;
22
+ placeholder: string;
23
+ readonly: boolean;
24
+ clearable: boolean;
25
+ autofocus: boolean;
26
+ displayFormat: import('../..').DateDisplayFormat;
27
+ closeOnSelect: boolean;
28
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
29
+ declare const _default: typeof __VLS_export;
30
+ export default _default;
@@ -0,0 +1,32 @@
1
+ import { DateRangeField } from '../../interfaces/forms/DateRangeField.interface';
2
+ declare const __VLS_export: import('vue').DefineComponent<DateRangeField, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3
+ change: (value: [Date | null, Date | null]) => any;
4
+ clear: () => any;
5
+ "update:modelValue": (value: [Date | null, Date | null]) => any;
6
+ close: () => any;
7
+ open: () => any;
8
+ }, string, import('vue').PublicProps, Readonly<DateRangeField> & Readonly<{
9
+ onChange?: ((value: [Date | null, Date | null]) => any) | undefined;
10
+ onClear?: (() => any) | undefined;
11
+ "onUpdate:modelValue"?: ((value: [Date | null, Date | null]) => any) | undefined;
12
+ onClose?: (() => any) | undefined;
13
+ onOpen?: (() => any) | undefined;
14
+ }>, {
15
+ color: "default" | "primary" | "danger" | "success" | "warning";
16
+ variant: "outline" | "filled" | "ghost";
17
+ fullWidth: boolean;
18
+ disabled: boolean;
19
+ loading: boolean;
20
+ required: boolean;
21
+ modelValue: [Date | null, Date | null];
22
+ placeholder: string;
23
+ readonly: boolean;
24
+ clearable: boolean;
25
+ autofocus: boolean;
26
+ displayFormat: import('../..').DateDisplayFormat;
27
+ months: 1 | 2;
28
+ showPresets: boolean;
29
+ separator: string;
30
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
31
+ declare const _default: typeof __VLS_export;
32
+ export default _default;
@@ -0,0 +1,34 @@
1
+ import { DateTimeField } from '../../interfaces/forms/DateTimeField.interface';
2
+ declare const __VLS_export: import('vue').DefineComponent<DateTimeField, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3
+ change: (value: Date | null) => any;
4
+ clear: () => any;
5
+ "update:modelValue": (value: Date | null) => any;
6
+ close: () => any;
7
+ open: () => any;
8
+ }, string, import('vue').PublicProps, Readonly<DateTimeField> & Readonly<{
9
+ onChange?: ((value: Date | null) => any) | undefined;
10
+ onClear?: (() => any) | undefined;
11
+ "onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
12
+ onClose?: (() => any) | undefined;
13
+ onOpen?: (() => any) | undefined;
14
+ }>, {
15
+ color: "default" | "primary" | "danger" | "success" | "warning";
16
+ variant: "outline" | "filled" | "ghost";
17
+ fullWidth: boolean;
18
+ disabled: boolean;
19
+ loading: boolean;
20
+ required: boolean;
21
+ modelValue: Date | null;
22
+ placeholder: string;
23
+ readonly: boolean;
24
+ clearable: boolean;
25
+ autofocus: boolean;
26
+ step: number;
27
+ separator: string;
28
+ format: "12h" | "24h";
29
+ showSeconds: boolean;
30
+ dateFormat: import('../..').DateDisplayFormat;
31
+ timeFormat: import('../..').TimeDisplayFormat;
32
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
33
+ declare const _default: typeof __VLS_export;
34
+ export default _default;
@@ -0,0 +1,33 @@
1
+ import { FileInput, FileInputRejection } from '../../interfaces/forms/FileInput.interface';
2
+ declare const __VLS_export: import('vue').DefineComponent<FileInput, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3
+ change: (files: File[] | null) => any;
4
+ add: (files: File[]) => any;
5
+ "update:modelValue": (files: File[] | null) => any;
6
+ remove: (file: File) => any;
7
+ reject: (rejections: FileInputRejection[]) => any;
8
+ }, string, import('vue').PublicProps, Readonly<FileInput> & Readonly<{
9
+ onChange?: ((files: File[] | null) => any) | undefined;
10
+ onAdd?: ((files: File[]) => any) | undefined;
11
+ "onUpdate:modelValue"?: ((files: File[] | null) => any) | undefined;
12
+ onRemove?: ((file: File) => any) | undefined;
13
+ onReject?: ((rejections: FileInputRejection[]) => any) | undefined;
14
+ }>, {
15
+ color: "default" | "primary" | "danger" | "success" | "warning";
16
+ variant: "outline" | "filled" | "ghost";
17
+ fullWidth: boolean;
18
+ disabled: boolean;
19
+ loading: boolean;
20
+ required: boolean;
21
+ modelValue: File[] | null;
22
+ readonly: boolean;
23
+ autofocus: boolean;
24
+ multiple: boolean;
25
+ previews: boolean;
26
+ dropzone: boolean;
27
+ dropzoneVariant: "inline" | "area";
28
+ dropzoneHeight: "small" | "medium" | "large";
29
+ dashed: boolean;
30
+ clickToSelect: boolean;
31
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
32
+ declare const _default: typeof __VLS_export;
33
+ export default _default;
@@ -0,0 +1,30 @@
1
+ import { FormField } from '../../interfaces/forms/FormField.interface';
2
+ declare var __VLS_8: {}, __VLS_10: {
3
+ id: any;
4
+ describedBy: any;
5
+ invalid: any;
6
+ disabled: boolean;
7
+ required: boolean;
8
+ color: string | undefined;
9
+ }, __VLS_24: {};
10
+ type __VLS_Slots = {} & {
11
+ label?: (props: typeof __VLS_8) => any;
12
+ } & {
13
+ default?: (props: typeof __VLS_10) => any;
14
+ } & {
15
+ helper?: (props: typeof __VLS_24) => any;
16
+ };
17
+ declare const __VLS_base: import('vue').DefineComponent<FormField, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FormField> & Readonly<{}>, {
18
+ fullWidth: boolean;
19
+ orientation: "vertical" | "horizontal";
20
+ as: string;
21
+ labelWidth: string;
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
+ };
@@ -0,0 +1,33 @@
1
+ import { Input } from '../../interfaces/forms/Input.interface';
2
+ declare const __VLS_export: import('vue').DefineComponent<Input, {
3
+ focus: () => void | undefined;
4
+ blur: () => void | undefined;
5
+ select: () => void | undefined;
6
+ inputRef: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
7
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
+ change: (value: string) => any;
9
+ clear: () => any;
10
+ blur: (event: FocusEvent) => any;
11
+ "update:modelValue": (value: string) => any;
12
+ focus: (event: FocusEvent) => any;
13
+ }, string, import('vue').PublicProps, Readonly<Input> & Readonly<{
14
+ onChange?: ((value: string) => any) | undefined;
15
+ onClear?: (() => any) | undefined;
16
+ onBlur?: ((event: FocusEvent) => any) | undefined;
17
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
18
+ onFocus?: ((event: FocusEvent) => any) | undefined;
19
+ }>, {
20
+ color: "default" | "primary" | "danger" | "success" | "warning";
21
+ type: "text" | "email" | "url" | "tel" | "search";
22
+ variant: "outline" | "filled" | "ghost";
23
+ fullWidth: boolean;
24
+ disabled: boolean;
25
+ loading: boolean;
26
+ required: boolean;
27
+ readonly: boolean;
28
+ clearable: boolean;
29
+ showCounter: boolean;
30
+ autofocus: boolean;
31
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
32
+ declare const _default: typeof __VLS_export;
33
+ export default _default;
@@ -0,0 +1,51 @@
1
+ import { MultiSelect, SelectValue } from '../../interfaces/forms/Select.interface';
2
+ declare var __VLS_78: {};
3
+ type __VLS_Slots = {} & {
4
+ footer?: (props: typeof __VLS_78) => any;
5
+ };
6
+ declare const __VLS_base: import('vue').DefineComponent<MultiSelect, {
7
+ open: () => void;
8
+ close: () => void;
9
+ toggle: () => void;
10
+ focus: () => void | undefined;
11
+ triggerEl: import('vue').Ref<HTMLButtonElement | null, HTMLButtonElement | null>;
12
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
+ change: (value: SelectValue[]) => any;
14
+ clear: () => any;
15
+ "update:modelValue": (value: SelectValue[]) => any;
16
+ close: () => any;
17
+ open: () => any;
18
+ }, string, import('vue').PublicProps, Readonly<MultiSelect> & Readonly<{
19
+ onChange?: ((value: SelectValue[]) => any) | undefined;
20
+ onClear?: (() => any) | undefined;
21
+ "onUpdate:modelValue"?: ((value: SelectValue[]) => any) | undefined;
22
+ onClose?: (() => any) | undefined;
23
+ onOpen?: (() => any) | undefined;
24
+ }>, {
25
+ color: "default" | "primary" | "danger" | "success" | "warning";
26
+ variant: "outline" | "filled" | "ghost";
27
+ fullWidth: boolean;
28
+ disabled: boolean;
29
+ loading: boolean;
30
+ required: boolean;
31
+ modelValue: SelectValue[];
32
+ placeholder: string;
33
+ readonly: boolean;
34
+ clearable: boolean;
35
+ autofocus: boolean;
36
+ searchable: boolean;
37
+ searchPlaceholder: string;
38
+ emptyText: string;
39
+ showSelectAll: boolean;
40
+ selectAllLabel: string;
41
+ deselectAllLabel: string;
42
+ maxVisibleChips: number;
43
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
44
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
45
+ declare const _default: typeof __VLS_export;
46
+ export default _default;
47
+ type __VLS_WithSlots<T, S> = T & {
48
+ new (): {
49
+ $slots: S;
50
+ };
51
+ };
@@ -0,0 +1,35 @@
1
+ import { NumberInput } from '../../interfaces/forms/NumberInput.interface';
2
+ declare const __VLS_export: import('vue').DefineComponent<NumberInput, {
3
+ focus: () => void | undefined;
4
+ blur: () => void | undefined;
5
+ select: () => void | undefined;
6
+ increment: () => void;
7
+ decrement: () => void;
8
+ inputRef: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
9
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ change: (value: number | null) => any;
11
+ blur: (event: FocusEvent) => any;
12
+ "update:modelValue": (value: number | null) => any;
13
+ focus: (event: FocusEvent) => any;
14
+ }, string, import('vue').PublicProps, Readonly<NumberInput> & Readonly<{
15
+ onChange?: ((value: number | null) => any) | undefined;
16
+ onBlur?: ((event: FocusEvent) => any) | undefined;
17
+ "onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
18
+ onFocus?: ((event: FocusEvent) => any) | undefined;
19
+ }>, {
20
+ color: "default" | "primary" | "danger" | "success" | "warning";
21
+ variant: "outline" | "filled" | "ghost";
22
+ fullWidth: boolean;
23
+ disabled: boolean;
24
+ loading: boolean;
25
+ required: boolean;
26
+ readonly: boolean;
27
+ autofocus: boolean;
28
+ step: number;
29
+ steppers: boolean;
30
+ stepperPosition: "right" | "split";
31
+ allowInvalid: boolean;
32
+ thousandSeparator: boolean;
33
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
34
+ declare const _default: typeof __VLS_export;
35
+ export default _default;
@@ -0,0 +1,40 @@
1
+ import { PasswordInput, PasswordStrengthScore } from '../../interfaces/forms/PasswordInput.interface';
2
+ declare function toggleVisible(): void;
3
+ declare const __VLS_export: import('vue').DefineComponent<PasswordInput, {
4
+ focus: () => void | undefined;
5
+ blur: () => void | undefined;
6
+ select: () => void | undefined;
7
+ toggle: typeof toggleVisible;
8
+ visible: import('vue').Ref<boolean, boolean>;
9
+ inputRef: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
10
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ change: (value: string) => any;
12
+ blur: (event: FocusEvent) => any;
13
+ "update:modelValue": (value: string) => any;
14
+ focus: (event: FocusEvent) => any;
15
+ "update:visible": (value: boolean) => any;
16
+ "strength-change": (score: PasswordStrengthScore) => any;
17
+ }, string, import('vue').PublicProps, Readonly<PasswordInput> & Readonly<{
18
+ onChange?: ((value: string) => any) | undefined;
19
+ onBlur?: ((event: FocusEvent) => any) | undefined;
20
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
21
+ onFocus?: ((event: FocusEvent) => any) | undefined;
22
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
23
+ "onStrength-change"?: ((score: PasswordStrengthScore) => any) | undefined;
24
+ }>, {
25
+ color: "default" | "primary" | "danger" | "success" | "warning";
26
+ variant: "outline" | "filled" | "ghost";
27
+ fullWidth: boolean;
28
+ disabled: boolean;
29
+ loading: boolean;
30
+ required: boolean;
31
+ readonly: boolean;
32
+ showCounter: boolean;
33
+ autocomplete: string;
34
+ autofocus: boolean;
35
+ toggleVisibility: boolean;
36
+ defaultVisible: boolean;
37
+ strengthMeter: boolean;
38
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
39
+ declare const _default: typeof __VLS_export;
40
+ export default _default;
@@ -0,0 +1,16 @@
1
+ import { Radio as RadioProps } from '../../interfaces/forms/Radio.interface';
2
+ declare const __VLS_export: import('vue').DefineComponent<RadioProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
3
+ change: (value: string | number) => any;
4
+ "update:modelValue": (value: string | number) => any;
5
+ }, string, import('vue').PublicProps, Readonly<RadioProps> & Readonly<{
6
+ onChange?: ((value: string | number) => any) | undefined;
7
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
8
+ }>, {
9
+ color: "default" | "primary" | "danger" | "success" | "warning";
10
+ disabled: boolean;
11
+ loading: boolean;
12
+ required: boolean;
13
+ modelValue: string | number | null;
14
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
@@ -0,0 +1,27 @@
1
+ import { RadioGroup as RadioGroupProps } from '../../interfaces/forms/Radio.interface';
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<RadioGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
7
+ change: (value: string | number) => any;
8
+ "update:modelValue": (value: string | number) => any;
9
+ }, string, import('vue').PublicProps, Readonly<RadioGroupProps> & Readonly<{
10
+ onChange?: ((value: string | number) => any) | undefined;
11
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
12
+ }>, {
13
+ color: "default" | "primary" | "danger" | "success" | "warning";
14
+ disabled: boolean;
15
+ loading: boolean;
16
+ orientation: "vertical" | "horizontal";
17
+ required: boolean;
18
+ modelValue: string | number | null;
19
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
20
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
+ declare const _default: typeof __VLS_export;
22
+ export default _default;
23
+ type __VLS_WithSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };
@@ -0,0 +1,27 @@
1
+ import { RangeSlider } from '../../interfaces/forms/RangeSlider.interface';
2
+ declare const __VLS_export: import('vue').DefineComponent<RangeSlider, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3
+ change: (value: [number, number]) => any;
4
+ "update:modelValue": (value: [number, number]) => any;
5
+ }, string, import('vue').PublicProps, Readonly<RangeSlider> & Readonly<{
6
+ onChange?: ((value: [number, number]) => any) | undefined;
7
+ "onUpdate:modelValue"?: ((value: [number, number]) => any) | undefined;
8
+ }>, {
9
+ color: "default" | "primary" | "danger" | "success" | "warning";
10
+ fullWidth: boolean;
11
+ disabled: boolean;
12
+ orientation: "horizontal" | "vertical";
13
+ required: boolean;
14
+ modelValue: [number, number];
15
+ readonly: boolean;
16
+ min: number;
17
+ max: number;
18
+ step: number;
19
+ showValue: boolean;
20
+ marks: boolean | number[] | {
21
+ value: number;
22
+ label?: string;
23
+ }[];
24
+ minDistance: number;
25
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
26
+ declare const _default: typeof __VLS_export;
27
+ export default _default;
@@ -0,0 +1,37 @@
1
+ import { SearchInput } from '../../interfaces/forms/SearchInput.interface';
2
+ declare function onClear(): void;
3
+ declare const __VLS_export: import('vue').DefineComponent<SearchInput, {
4
+ focus: () => void | undefined;
5
+ blur: () => void | undefined;
6
+ select: () => void | undefined;
7
+ clear: typeof onClear;
8
+ inputRef: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
9
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ change: (value: string) => any;
11
+ search: (value: string) => any;
12
+ clear: () => any;
13
+ blur: (event: FocusEvent) => any;
14
+ "update:modelValue": (value: string) => any;
15
+ focus: (event: FocusEvent) => any;
16
+ }, string, import('vue').PublicProps, Readonly<SearchInput> & Readonly<{
17
+ onChange?: ((value: string) => any) | undefined;
18
+ onSearch?: ((value: string) => any) | undefined;
19
+ onClear?: (() => any) | undefined;
20
+ onBlur?: ((event: FocusEvent) => any) | undefined;
21
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
22
+ onFocus?: ((event: FocusEvent) => any) | undefined;
23
+ }>, {
24
+ color: "default" | "primary" | "danger" | "success" | "warning";
25
+ variant: "outline" | "filled" | "ghost";
26
+ fullWidth: boolean;
27
+ disabled: boolean;
28
+ loading: boolean;
29
+ required: boolean;
30
+ placeholder: string;
31
+ readonly: boolean;
32
+ showCounter: boolean;
33
+ autofocus: boolean;
34
+ debounce: number;
35
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
36
+ declare const _default: typeof __VLS_export;
37
+ export default _default;
@@ -0,0 +1,46 @@
1
+ import { Select, SelectValue } from '../../interfaces/forms/Select.interface';
2
+ declare var __VLS_63: {};
3
+ type __VLS_Slots = {} & {
4
+ footer?: (props: typeof __VLS_63) => any;
5
+ };
6
+ declare const __VLS_base: import('vue').DefineComponent<Select, {
7
+ open: () => void;
8
+ close: () => void;
9
+ toggle: () => void;
10
+ focus: () => void | undefined;
11
+ triggerEl: import('vue').Ref<HTMLButtonElement | null, HTMLButtonElement | null>;
12
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
+ change: (value: SelectValue | null) => any;
14
+ clear: () => any;
15
+ "update:modelValue": (value: SelectValue | null) => any;
16
+ close: () => any;
17
+ open: () => any;
18
+ }, string, import('vue').PublicProps, Readonly<Select> & Readonly<{
19
+ onChange?: ((value: SelectValue | null) => any) | undefined;
20
+ onClear?: (() => any) | undefined;
21
+ "onUpdate:modelValue"?: ((value: SelectValue | null) => any) | undefined;
22
+ onClose?: (() => any) | undefined;
23
+ onOpen?: (() => any) | undefined;
24
+ }>, {
25
+ color: "default" | "primary" | "danger" | "success" | "warning";
26
+ variant: "outline" | "filled" | "ghost";
27
+ fullWidth: boolean;
28
+ disabled: boolean;
29
+ loading: boolean;
30
+ required: boolean;
31
+ placeholder: string;
32
+ readonly: boolean;
33
+ clearable: boolean;
34
+ autofocus: boolean;
35
+ searchable: boolean;
36
+ searchPlaceholder: string;
37
+ panelWidth: "trigger" | "auto";
38
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
39
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
40
+ declare const _default: typeof __VLS_export;
41
+ export default _default;
42
+ type __VLS_WithSlots<T, S> = T & {
43
+ new (): {
44
+ $slots: S;
45
+ };
46
+ };