@autoafleveren/ui 0.20.2 → 1.0.2

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 (70) hide show
  1. package/dist/config/eslint.cjs +7 -7
  2. package/dist/icons.cjs +81 -81
  3. package/dist/icons.css +1 -0
  4. package/dist/icons.js +8645 -8378
  5. package/dist/theme.css +205 -0
  6. package/dist/types/components/AppActionBar/AppActionBar.vue.d.ts +4 -1
  7. package/dist/types/components/AppActionBar/Components/MultiSelect.vue.d.ts +2 -2
  8. package/dist/types/components/AppBackButton/AppBackButton.vue.d.ts +18 -12
  9. package/dist/types/components/AppColor/AppColor.vue.d.ts +6 -5
  10. package/dist/types/components/AppConfirm/AppConfirm.vue.d.ts +286 -12
  11. package/dist/types/components/AppContextMenu/AppContextMenu.vue.d.ts +4 -3
  12. package/dist/types/components/AppDataTable/AppDataTable.vue.d.ts +7 -2
  13. package/dist/types/components/AppDataTable/AppDataTableFooter.vue.d.ts +37 -12
  14. package/dist/types/components/AppDefinitionList/AppDefinitionList.vue.d.ts +14 -11
  15. package/dist/types/components/AppDisclosure/AppDisclosure.vue.d.ts +13 -11
  16. package/dist/types/components/AppDisclosure/AppDisclosurePanel.vue.d.ts +14 -11
  17. package/dist/types/components/AppDrawer/AppDrawer.vue.d.ts +68 -0
  18. package/dist/types/components/AppDropdownButton/AppDropdownItem.vue.d.ts +15 -11
  19. package/dist/types/components/AppError/AppError.vue.d.ts +49 -12
  20. package/dist/types/components/AppImageDropzone/AppImageDropzone.vue.d.ts +5 -4
  21. package/dist/types/components/AppInput/AppInput.vue.d.ts +7 -8
  22. package/dist/types/components/AppInput/FileInput.vue.d.ts +20 -11
  23. package/dist/types/components/AppInput/Input.vue.d.ts +1 -1
  24. package/dist/types/components/AppInput/LocationInput.vue.d.ts +4 -3
  25. package/dist/types/components/AppInput/choice.d.ts +2 -2
  26. package/dist/types/components/AppInput/index.d.ts +1 -1
  27. package/dist/types/components/AppInputLabel/AppInputLabel.vue.d.ts +8 -11
  28. package/dist/types/components/AppLicensePlate/AppLicensePlate.vue.d.ts +12 -11
  29. package/dist/types/components/AppMaps/AppMaps.vue.d.ts +4 -3
  30. package/dist/types/components/AppPagination/AppPaginationItem.vue.d.ts +12 -11
  31. package/dist/types/components/AppProgressBar/AppProgressBar.vue.d.ts +4 -12
  32. package/dist/types/components/AppProgressBar/AppProgressBarStep.vue.d.ts +8 -11
  33. package/dist/types/components/AppRating/AppRating.vue.d.ts +24 -11
  34. package/dist/types/components/AppRating/VueStarRating/StarRating.vue.d.ts +65 -13
  35. package/dist/types/components/AppSection/AppSection.vue.d.ts +17 -14
  36. package/dist/types/components/AppStepper/AppStepper.vue.d.ts +29 -15
  37. package/dist/types/components/AppTable/AppTable.vue.d.ts +8 -11
  38. package/dist/types/components/AppTimeline/AppTimeline.vue.d.ts +13 -11
  39. package/dist/types/components/AppTimeline/AppTimelineItem.vue.d.ts +37 -21
  40. package/dist/types/components/AppToggle/AppToggle.vue.d.ts +2 -2
  41. package/dist/types/components/index.d.ts +1 -0
  42. package/dist/types/composables/index.d.ts +1 -0
  43. package/dist/types/composables/useComputedPosition/index.d.ts +4 -4
  44. package/dist/types/composables/useDrawer/index.d.ts +16 -0
  45. package/dist/types/layouts/Auth/Auth.vue.d.ts +16 -12
  46. package/dist/types/layouts/Base/Base.vue.d.ts +23 -17
  47. package/dist/types/layouts/Platform/Platform.vue.d.ts +30 -17
  48. package/dist/ui-library.css +2 -1
  49. package/dist/ui-storybook.css +2 -1
  50. package/dist/ui.cjs +45 -45
  51. package/dist/ui.css +1 -1
  52. package/dist/ui.js +16530 -16035
  53. package/package.json +36 -35
  54. package/dist/style.css +0 -1
  55. package/dist/types/components/AppActionBar/AppActionBarItem.vue.d.ts +0 -29
  56. package/dist/types/components/AppAlert/AppAlert.vue.d.ts +0 -32
  57. package/dist/types/components/AppBadge/AppBadge.vue.d.ts +0 -26
  58. package/dist/types/components/AppButton/AppButton.vue.d.ts +0 -29
  59. package/dist/types/components/AppButton/ButtonIconSlot.vue.d.ts +0 -20
  60. package/dist/types/components/AppCard/AppCard.vue.d.ts +0 -40
  61. package/dist/types/components/AppCard/CardIconSlot.vue.d.ts +0 -22
  62. package/dist/types/components/AppColorCard/AppColorCard.vue.d.ts +0 -31
  63. package/dist/types/components/AppDefinitionList/AppDefinitionItem.vue.d.ts +0 -34
  64. package/dist/types/components/AppDisclosure/AppDisclosureButton.vue.d.ts +0 -122
  65. package/dist/types/components/AppDropdownButton/AppDropdownButton.vue.d.ts +0 -249
  66. package/dist/types/components/AppInput/InputIconSlot.vue.d.ts +0 -20
  67. package/dist/types/components/AppMenu/AppMenuItem.vue.d.ts +0 -20
  68. package/dist/types/components/AppModal/AppModal.vue.d.ts +0 -61
  69. package/dist/types/components/AppSelect/AppSelect.vue.d.ts +0 -67
  70. package/dist/types/components/AppToggleCard/AppToggleCard.vue.d.ts +0 -31
@@ -1,19 +1,44 @@
1
+ import { AppPagination, AppSelect } from '~components';
1
2
  import type { DataTableInstance } from '.';
2
3
  type __VLS_Props = {
3
4
  dataTable?: DataTableInstance;
4
5
  currentPage?: number;
5
6
  };
6
- declare function __VLS_template(): {
7
- attrs: Partial<{}>;
8
- slots: {
9
- results?(_: {
10
- results: number;
11
- }): any;
12
- };
13
- refs: {};
14
- rootEl: HTMLDivElement;
7
+ declare const dataTable: import("vue").ComputedRef<DataTableInstance | undefined>;
8
+ declare const clientItemsLength: import("vue").ComputedRef<number>;
9
+ declare const maxPaginationNumber: import("vue").ComputedRef<number | undefined>;
10
+ declare const currentPaginationNumber: import("vue").ComputedRef<number | undefined>;
11
+ declare function nextPage(): void;
12
+ declare function previousPage(): void;
13
+ declare function updatePage(paginationNumber: number): void;
14
+ declare function updateRowsPerPage(): void;
15
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
16
+ declare var __VLS_8: {
17
+ results: number;
15
18
  };
16
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
20
+ results?: (props: typeof __VLS_8) => any;
21
+ }>;
22
+ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
23
+ AppPagination: typeof AppPagination;
24
+ AppSelect: typeof AppSelect;
25
+ dataTable: typeof dataTable;
26
+ clientItemsLength: typeof clientItemsLength;
27
+ maxPaginationNumber: typeof maxPaginationNumber;
28
+ currentPaginationNumber: typeof currentPaginationNumber;
29
+ nextPage: typeof nextPage;
30
+ previousPage: typeof previousPage;
31
+ updatePage: typeof updatePage;
32
+ updateRowsPerPage: typeof updateRowsPerPage;
33
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
34
+ nextPage: () => any;
35
+ previousPage: () => any;
36
+ updatePage: (page: number) => any;
37
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
38
+ onNextPage?: (() => any) | undefined;
39
+ onPreviousPage?: (() => any) | undefined;
40
+ onUpdatePage?: ((page: number) => any) | undefined;
41
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
42
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
43
  nextPage: () => any;
19
44
  previousPage: () => any;
@@ -23,9 +48,9 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
23
48
  onPreviousPage?: (() => any) | undefined;
24
49
  onUpdatePage?: ((page: number) => any) | undefined;
25
50
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
26
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
51
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
27
52
  export default _default;
28
- type __VLS_WithTemplateSlots<T, S> = T & {
53
+ type __VLS_WithSlots<T, S> = T & {
29
54
  new (): {
30
55
  $slots: S;
31
56
  };
@@ -1,24 +1,27 @@
1
+ import AppDefinitionItem from './AppDefinitionItem.vue';
1
2
  import type { DefinitionItem } from './index.d';
2
3
  type __VLS_Props = {
3
4
  items?: DefinitionItem[];
4
5
  hideEmptyValues?: boolean;
5
6
  };
6
- declare function __VLS_template(): {
7
- attrs: Partial<{}>;
8
- slots: {
9
- default?(_: {}): any;
10
- };
11
- refs: {};
12
- rootEl: HTMLDivElement;
13
- };
14
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
7
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
8
+ declare var __VLS_0: {};
9
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
10
+ default?: (props: typeof __VLS_0) => any;
11
+ }>;
12
+ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
13
+ AppDefinitionItem: typeof AppDefinitionItem;
14
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
15
+ hideEmptyValues: boolean;
16
+ items: DefinitionItem[];
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
18
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
16
19
  hideEmptyValues: boolean;
17
20
  items: DefinitionItem[];
18
21
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
19
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
22
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
20
23
  export default _default;
21
- type __VLS_WithTemplateSlots<T, S> = T & {
24
+ type __VLS_WithSlots<T, S> = T & {
22
25
  new (): {
23
26
  $slots: S;
24
27
  };
@@ -1,21 +1,23 @@
1
+ import { Disclosure } from '@headlessui/vue';
1
2
  type __VLS_Props = {
2
3
  defaultOpen?: boolean;
3
4
  };
4
- declare function __VLS_template(): {
5
- attrs: Partial<{}>;
6
- slots: {
7
- default?(_: {}): any;
8
- };
9
- refs: {};
10
- rootEl: any;
11
- };
12
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
5
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
6
+ declare var __VLS_7: {};
7
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
8
+ default?: (props: typeof __VLS_7) => any;
9
+ }>;
10
+ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
11
+ Disclosure: typeof Disclosure;
12
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
13
+ defaultOpen: boolean;
14
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
15
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
14
16
  defaultOpen: boolean;
15
17
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
18
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
17
19
  export default _default;
18
- type __VLS_WithTemplateSlots<T, S> = T & {
20
+ type __VLS_WithSlots<T, S> = T & {
19
21
  new (): {
20
22
  $slots: S;
21
23
  };
@@ -1,23 +1,26 @@
1
+ import { DisclosurePanel } from '@headlessui/vue';
1
2
  type __VLS_Props = {
2
3
  static?: boolean;
3
4
  unmount?: boolean;
4
5
  };
5
- declare function __VLS_template(): {
6
- attrs: Partial<{}>;
7
- slots: {
8
- default?(_: {}): any;
9
- };
10
- refs: {};
11
- rootEl: any;
12
- };
13
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
6
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
7
+ declare var __VLS_13: {};
8
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
9
+ default?: (props: typeof __VLS_13) => any;
10
+ }>;
11
+ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
12
+ DisclosurePanel: typeof DisclosurePanel;
13
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
14
+ static: boolean;
15
+ unmount: boolean;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
17
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
15
18
  static: boolean;
16
19
  unmount: boolean;
17
20
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
21
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
19
22
  export default _default;
20
- type __VLS_WithTemplateSlots<T, S> = T & {
23
+ type __VLS_WithSlots<T, S> = T & {
21
24
  new (): {
22
25
  $slots: S;
23
26
  };
@@ -0,0 +1,68 @@
1
+ import { Dialog, DialogPanel, TransitionChild, TransitionRoot } from '@headlessui/vue';
2
+ import { FontAwesomeIcon, byPrefixAndName } from '~icons';
3
+ import type { DrawerProps } from './index.d';
4
+ type __VLS_Props = Omit<DrawerProps, 'router' | 'unique' | 'onOpen' | 'onClose' | 'plugins'>;
5
+ declare const isOpen: import("vue").Ref<boolean, boolean>;
6
+ declare function open(): Promise<void>;
7
+ declare function close(): Promise<void>;
8
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
9
+ declare var __VLS_45: {};
10
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
11
+ default?: (props: typeof __VLS_45) => any;
12
+ }>;
13
+ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
14
+ Dialog: typeof Dialog;
15
+ DialogPanel: typeof DialogPanel;
16
+ TransitionChild: typeof TransitionChild;
17
+ TransitionRoot: typeof TransitionRoot;
18
+ FontAwesomeIcon: typeof FontAwesomeIcon;
19
+ byPrefixAndName: typeof byPrefixAndName;
20
+ isOpen: typeof isOpen;
21
+ close: typeof close;
22
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
23
+ close: (value: {
24
+ animation: () => Promise<void>;
25
+ }) => any;
26
+ open: () => any;
27
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
28
+ onClose?: ((value: {
29
+ animation: () => Promise<void>;
30
+ }) => any) | undefined;
31
+ onOpen?: (() => any) | undefined;
32
+ }>, {
33
+ contentClasses: string;
34
+ withBackdrop: boolean;
35
+ preventBackdropClose: boolean;
36
+ modalClasses: string;
37
+ properties: Record<string, unknown>;
38
+ panelClasses: string;
39
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
40
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
41
+ isOpen: import("vue").Ref<boolean, boolean>;
42
+ open: typeof open;
43
+ close: typeof close;
44
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
45
+ close: (value: {
46
+ animation: () => Promise<void>;
47
+ }) => any;
48
+ open: () => any;
49
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
50
+ onClose?: ((value: {
51
+ animation: () => Promise<void>;
52
+ }) => any) | undefined;
53
+ onOpen?: (() => any) | undefined;
54
+ }>, {
55
+ contentClasses: string;
56
+ withBackdrop: boolean;
57
+ preventBackdropClose: boolean;
58
+ modalClasses: string;
59
+ properties: Record<string, unknown>;
60
+ panelClasses: string;
61
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
62
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
63
+ export default _default;
64
+ type __VLS_WithSlots<T, S> = T & {
65
+ new (): {
66
+ $slots: S;
67
+ };
68
+ };
@@ -1,17 +1,21 @@
1
+ import { MenuItem } from '@headlessui/vue';
1
2
  import type { DropdownItem } from './index.d';
2
- declare function __VLS_template(): {
3
- attrs: Partial<{}>;
4
- slots: {
5
- default?(_: {}): any;
6
- };
7
- refs: {};
8
- rootEl: any;
9
- };
10
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
3
+ declare const itemComponent: import("vue").ComputedRef<string | import("vue-router")._RouterLinkI>;
4
+ declare function onItemClick(event: MouseEvent): void;
5
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
6
+ declare var __VLS_15: {};
7
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
8
+ default?: (props: typeof __VLS_15) => any;
9
+ }>;
10
+ declare const __VLS_self: import("vue").DefineComponent<DropdownItem, {
11
+ MenuItem: typeof MenuItem;
12
+ itemComponent: typeof itemComponent;
13
+ onItemClick: typeof onItemClick;
14
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DropdownItem> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
15
  declare const __VLS_component: import("vue").DefineComponent<DropdownItem, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DropdownItem> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
13
17
  export default _default;
14
- type __VLS_WithTemplateSlots<T, S> = T & {
18
+ type __VLS_WithSlots<T, S> = T & {
15
19
  new (): {
16
20
  $slots: S;
17
21
  };
@@ -1,15 +1,52 @@
1
+ import { Dialog, DialogOverlay, DialogTitle, TransitionChild, TransitionRoot } from '@headlessui/vue';
2
+ import { AppButton } from '~components';
1
3
  import type { Component } from 'vue';
2
4
  import type { ErrorProps } from './index.d';
3
- declare function __VLS_template(): {
4
- attrs: Partial<{}>;
5
- slots: {
6
- title?(_: {}): any;
7
- default?(_: {}): any;
8
- };
9
- refs: {};
10
- rootEl: any;
11
- };
12
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
5
+ declare const isOpen: import("vue").Ref<boolean, boolean>;
6
+ declare const confirmLoading: import("vue").Ref<boolean, boolean>;
7
+ declare const cancelLoading: import("vue").Ref<boolean, boolean>;
8
+ declare const dynamicIconProperties: import("vue").ComputedRef<string | Component | undefined>;
9
+ declare const iconDomClasses: import("vue").ComputedRef<string[]>;
10
+ declare function close(confirmed: boolean): Promise<void>;
11
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
12
+ declare var __VLS_45: {};
13
+ declare var __VLS_46: {};
14
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
15
+ title?: (props: typeof __VLS_45) => any;
16
+ } & {
17
+ default?: (props: typeof __VLS_46) => any;
18
+ }>;
19
+ declare const __VLS_self: import("vue").DefineComponent<ErrorProps, {
20
+ Dialog: typeof Dialog;
21
+ DialogOverlay: typeof DialogOverlay;
22
+ DialogTitle: typeof DialogTitle;
23
+ TransitionChild: typeof TransitionChild;
24
+ TransitionRoot: typeof TransitionRoot;
25
+ AppButton: typeof AppButton;
26
+ isOpen: typeof isOpen;
27
+ confirmLoading: typeof confirmLoading;
28
+ cancelLoading: typeof cancelLoading;
29
+ dynamicIconProperties: typeof dynamicIconProperties;
30
+ iconDomClasses: typeof iconDomClasses;
31
+ close: typeof close;
32
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
33
+ close: (value: boolean) => any;
34
+ confirmed: (value: true) => any;
35
+ }, string, import("vue").PublicProps, Readonly<ErrorProps> & Readonly<{
36
+ onClose?: ((value: boolean) => any) | undefined;
37
+ onConfirmed?: ((value: true) => any) | undefined;
38
+ }>, {
39
+ html: boolean;
40
+ title: string;
41
+ type: import("./index.d").ErrorType;
42
+ icon: string | Component;
43
+ content: string;
44
+ confirmButtonText: string;
45
+ cancelButtonText: string;
46
+ withBackdrop: boolean;
47
+ preventBackdropClose: boolean;
48
+ extendedIconDomClasses: string;
49
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
50
  declare const __VLS_component: import("vue").DefineComponent<ErrorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
14
51
  close: (value: boolean) => any;
15
52
  confirmed: (value: true) => any;
@@ -28,9 +65,9 @@ declare const __VLS_component: import("vue").DefineComponent<ErrorProps, {}, {},
28
65
  preventBackdropClose: boolean;
29
66
  extendedIconDomClasses: string;
30
67
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
68
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
32
69
  export default _default;
33
- type __VLS_WithTemplateSlots<T, S> = T & {
70
+ type __VLS_WithSlots<T, S> = T & {
34
71
  new (): {
35
72
  $slots: S;
36
73
  };
@@ -1,4 +1,8 @@
1
1
  import type { ImageDropzoneProps } from '.';
2
+ type __VLS_TemplateRefs = {
3
+ dropZoneRef: typeof __VLS_nativeElements['div'];
4
+ fileInput: typeof __VLS_nativeElements['input'];
5
+ };
2
6
  declare const _default: import("vue").DefineComponent<ImageDropzoneProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
3
7
  "update:modelValue": (value: File | null) => any;
4
8
  }, string, import("vue").PublicProps, Readonly<ImageDropzoneProps> & Readonly<{
@@ -9,8 +13,5 @@ declare const _default: import("vue").DefineComponent<ImageDropzoneProps, {}, {}
9
13
  disabled: boolean;
10
14
  name: string;
11
15
  dataTypes: string[];
12
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
13
- dropZoneRef: HTMLDivElement;
14
- fileInput: HTMLInputElement;
15
- }, HTMLDivElement>;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLDivElement>;
16
17
  export default _default;
@@ -7,15 +7,14 @@ declare const _default: <ModelValue>(__VLS_props: NonNullable<Awaited<typeof __V
7
7
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
8
8
  attrs: any;
9
9
  slots: {
10
- label?(_: {}): any;
11
- leadingIcon?(_: {}): any;
12
- default?(_: {}): any;
13
- default?(_: {}): any;
14
- input?(_: {
15
- check: () => void;
10
+ label?: ((props: {}) => any) | undefined;
11
+ leadingIcon?: ((props: {}) => any) | undefined;
12
+ default?: (((props: {}) => any) & ((props: {}) => any)) | undefined;
13
+ input?: ((props: {
14
+ check: any;
16
15
  checked: boolean;
17
- }): any;
18
- trailingIcon?(_: {}): any;
16
+ }) => any) | undefined;
17
+ trailingIcon?: ((props: {}) => any) | undefined;
19
18
  };
20
19
  emit: (event: "update:modelValue", value: ModelValue) => void;
21
20
  }>) => import("vue").VNode & {
@@ -1,21 +1,30 @@
1
+ import { FontAwesomeIcon, byPrefixAndName } from '~icons';
2
+ import { AppButton } from '~components';
1
3
  import type { FileInputProps } from './index.d';
2
- declare function __VLS_template(): {
3
- attrs: Partial<{}>;
4
- slots: {
5
- default?(_: {}): any;
6
- };
7
- refs: {};
8
- rootEl: any;
9
- };
10
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
4
+ declare function onFileSelected(event: Event): void;
5
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
6
+ declare var __VLS_0: {};
7
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
8
+ default?: (props: typeof __VLS_0) => any;
9
+ }>;
10
+ declare const __VLS_self: import("vue").DefineComponent<FileInputProps, {
11
+ FontAwesomeIcon: typeof FontAwesomeIcon;
12
+ byPrefixAndName: typeof byPrefixAndName;
13
+ AppButton: typeof AppButton;
14
+ onFileSelected: typeof onFileSelected;
15
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
16
+ "update:modelValue": (value: File | File[] | null) => any;
17
+ }, string, import("vue").PublicProps, Readonly<FileInputProps> & Readonly<{
18
+ "onUpdate:modelValue"?: ((value: File | File[] | null) => any) | undefined;
19
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
20
  declare const __VLS_component: import("vue").DefineComponent<FileInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
12
21
  "update:modelValue": (value: File | File[] | null) => any;
13
22
  }, string, import("vue").PublicProps, Readonly<FileInputProps> & Readonly<{
14
23
  "onUpdate:modelValue"?: ((value: File | File[] | null) => any) | undefined;
15
24
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
25
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
17
26
  export default _default;
18
- type __VLS_WithTemplateSlots<T, S> = T & {
27
+ type __VLS_WithSlots<T, S> = T & {
19
28
  new (): {
20
29
  $slots: S;
21
30
  };
@@ -9,7 +9,7 @@ declare const _default: <ModelValue>(__VLS_props: NonNullable<Awaited<typeof __V
9
9
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
10
10
  attrs: any;
11
11
  slots: {
12
- default?(_: {}): any;
12
+ default?: ((props: {}) => any) | undefined;
13
13
  };
14
14
  emit: {
15
15
  (event: "update:modelValue", value: ModelValue): void;
@@ -1,4 +1,7 @@
1
1
  import type { LocationModelValue, LocationInputProps } from './index.d';
2
+ type __VLS_TemplateRefs = {
3
+ input: typeof __VLS_nativeElements['input'];
4
+ };
2
5
  declare const _default: import("vue").DefineComponent<LocationInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
3
6
  "update:modelValue": (value: LocationModelValue) => any;
4
7
  }, string, import("vue").PublicProps, Readonly<LocationInputProps> & Readonly<{
@@ -6,7 +9,5 @@ declare const _default: import("vue").DefineComponent<LocationInputProps, {}, {}
6
9
  }>, {
7
10
  placeholder: string;
8
11
  placeOptions: google.maps.places.AutocompleteOptions | null;
9
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
10
- input: HTMLInputElement;
11
- }, any>;
12
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, any>;
12
13
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import type { ChoiceType, InputType } from './index.d';
2
2
  export declare const choiceInputTypes: readonly ["radio", "checkbox"];
3
3
  export declare function isChoiceInputCheck(inputType: InputType): inputType is ChoiceType;
4
- export declare const defaultChoiceInputDomClasses = "peer text-zinc-700 appearance-none h-5 w-5 border\n border-zinc-300 cursor-pointer checked:!border-[5px] checked:border-primary disabled:border-10\n disabled:!border-zinc-100 disabled:cursor-not-allowed focus:border-2 focus:border-primary\n focus-visible:outline-none";
5
- export declare const defaultCheckboxInputDomClasses = "rounded bg-white checked:bg-primary";
4
+ export declare const defaultChoiceInputDomClasses = "peer text-zinc-700 appearance-none h-5 w-5 border\n border-zinc-300 cursor-pointer checked:border-[5px]! checked:border-primary disabled:border-10\n disabled:border-zinc-100! disabled:cursor-not-allowed focus:border-2 focus:border-primary\n focus-visible:outline-hidden";
5
+ export declare const defaultCheckboxInputDomClasses = "rounded-md bg-white checked:bg-primary";
6
6
  export declare function getChoiceInputDomClasses(inputType: InputType, hasError: boolean): Record<string, boolean>;
@@ -19,5 +19,5 @@ export declare function getInputComponent(inputType: InputType): string | Compon
19
19
  export declare function isLicenseInputCheck(inputType: InputType): boolean;
20
20
  export declare function mustRenderDefaultSlot(inputType: InputType, slots: Slots, label?: string): boolean;
21
21
  export declare function mustRenderIconSlot(position: IconPosition, inputType: InputType, isLoading: boolean, plain: boolean, disabled: boolean, readonly: boolean, slots: Slots): boolean;
22
- export declare const defaultInputDomClasses = "block w-full appearance-none rounded-lg\n placeholder:text-zinc-300 focus:outline-none text-base\n disabled:cursor-not-allowed disabled:border-zinc-100 disabled:!bg-zinc-50";
22
+ export declare const defaultInputDomClasses = "block w-full appearance-none rounded-lg\n placeholder:text-zinc-300 focus:outline-hidden text-base\n disabled:cursor-not-allowed disabled:border-zinc-100 disabled:!bg-zinc-50";
23
23
  export declare function getInputDomClasses(inputType: InputType, isDisabled: boolean, isReadonly: boolean, loading: boolean, hasError: boolean, isOpen: boolean, plain: boolean, slots: Slots, attributes: InputHTMLAttributes): Record<string, boolean>;
@@ -1,17 +1,14 @@
1
1
  import type { Props } from './index.d';
2
- declare function __VLS_template(): {
3
- attrs: Partial<{}>;
4
- slots: {
5
- default?(_: {}): any;
6
- };
7
- refs: {};
8
- rootEl: HTMLLabelElement;
9
- };
10
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
2
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
3
+ declare var __VLS_0: {};
4
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
5
+ default?: (props: typeof __VLS_0) => any;
6
+ }>;
7
+ declare const __VLS_self: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
8
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLLabelElement>;
12
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
9
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
13
10
  export default _default;
14
- type __VLS_WithTemplateSlots<T, S> = T & {
11
+ type __VLS_WithSlots<T, S> = T & {
15
12
  new (): {
16
13
  $slots: S;
17
14
  };
@@ -4,23 +4,24 @@ type __VLS_Props = {
4
4
  country?: Country;
5
5
  licensePlateClasses?: string;
6
6
  };
7
- declare function __VLS_template(): {
8
- attrs: Partial<{}>;
9
- slots: {
10
- default?(_: {}): any;
11
- };
12
- refs: {};
13
- rootEl: HTMLDivElement;
14
- };
15
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
7
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
8
+ declare var __VLS_0: {};
9
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
10
+ default?: (props: typeof __VLS_0) => any;
11
+ }>;
12
+ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
13
+ license: string;
14
+ country: Country;
15
+ licensePlateClasses: string;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
17
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
17
18
  license: string;
18
19
  country: Country;
19
20
  licensePlateClasses: string;
20
21
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
21
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
22
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
22
23
  export default _default;
23
- type __VLS_WithTemplateSlots<T, S> = T & {
24
+ type __VLS_WithSlots<T, S> = T & {
24
25
  new (): {
25
26
  $slots: S;
26
27
  };
@@ -8,6 +8,9 @@ type __VLS_Props = {
8
8
  mapCenterLongitude?: number | null;
9
9
  mapOptions?: google.maps.MapOptions | null;
10
10
  };
11
+ type __VLS_TemplateRefs = {
12
+ mapElement: typeof __VLS_nativeElements['div'];
13
+ };
11
14
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
12
15
  withMarker: boolean;
13
16
  disableMarkerClick: boolean;
@@ -17,7 +20,5 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
17
20
  mapCenterLatitude: number | null;
18
21
  mapCenterLongitude: number | null;
19
22
  mapOptions: google.maps.MapOptions | null;
20
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
21
- mapElement: HTMLDivElement;
22
- }, HTMLDivElement>;
23
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLDivElement>;
23
24
  export default _default;
@@ -4,23 +4,24 @@ type __VLS_Props = {
4
4
  active?: boolean;
5
5
  disabled?: boolean;
6
6
  };
7
- declare function __VLS_template(): {
8
- attrs: Partial<{}>;
9
- slots: {
10
- default?(_: {}): any;
11
- };
12
- refs: {};
13
- rootEl: any;
14
- };
15
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
7
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
8
+ declare var __VLS_7: {};
9
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
10
+ default?: (props: typeof __VLS_7) => any;
11
+ }>;
12
+ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
13
+ disabled: boolean;
14
+ as: string | Component;
15
+ active: boolean;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
17
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
17
18
  disabled: boolean;
18
19
  as: string | Component;
19
20
  active: boolean;
20
21
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
22
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
22
23
  export default _default;
23
- type __VLS_WithTemplateSlots<T, S> = T & {
24
+ type __VLS_WithSlots<T, S> = T & {
24
25
  new (): {
25
26
  $slots: S;
26
27
  };