@autoafleveren/ui 0.12.8 → 0.13.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 (68) hide show
  1. package/dist/icons.cjs +37 -57
  2. package/dist/icons.js +7426 -7945
  3. package/dist/style.css +1 -1
  4. package/dist/types/components/AppActionBar/AppActionBar.vue.d.ts +1 -1
  5. package/dist/types/components/AppActionBar/AppActionBarItem.vue.d.ts +13 -10
  6. package/dist/types/components/AppAlert/AppAlert.vue.d.ts +37 -36
  7. package/dist/types/components/AppAvatar/AppAvatar.vue.d.ts +23 -23
  8. package/dist/types/components/AppAvatar/DefaultAvatar.vue.d.ts +14 -9
  9. package/dist/types/components/AppBackButton/AppBackButton.vue.d.ts +30 -27
  10. package/dist/types/components/AppBadge/AppBadge.vue.d.ts +35 -28
  11. package/dist/types/components/AppBadge/index.d.ts +1 -1
  12. package/dist/types/components/AppButton/AppButton.vue.d.ts +38 -68
  13. package/dist/types/components/AppButton/ButtonIconSlot.vue.d.ts +14 -9
  14. package/dist/types/components/AppCard/AppCard.vue.d.ts +43 -44
  15. package/dist/types/components/AppCard/CardAction.vue.d.ts +13 -10
  16. package/dist/types/components/AppCard/CardIconSlot.vue.d.ts +14 -9
  17. package/dist/types/components/AppConfirm/AppConfirm.vue.d.ts +43 -123
  18. package/dist/types/components/AppDataTable/AppDataTable.vue.d.ts +52 -13
  19. package/dist/types/components/AppDataTable/AppDataTableFooter.vue.d.ts +17 -16
  20. package/dist/types/components/AppDefinitionList/AppDefinitionItem.vue.d.ts +43 -44
  21. package/dist/types/components/AppDefinitionList/AppDefinitionList.vue.d.ts +28 -19
  22. package/dist/types/components/AppDisclosure/AppDisclosure.vue.d.ts +26 -11
  23. package/dist/types/components/AppDisclosure/AppDisclosureButton.vue.d.ts +1 -1
  24. package/dist/types/components/AppDisclosure/AppDisclosurePanel.vue.d.ts +30 -19
  25. package/dist/types/components/AppDropdownButton/AppDropdownButton.vue.d.ts +26 -82
  26. package/dist/types/components/AppDropdownButton/AppDropdownItem.vue.d.ts +11 -47
  27. package/dist/types/components/AppInput/AppInput.vue.d.ts +58 -9
  28. package/dist/types/components/AppInput/FileInput.vue.d.ts +12 -18
  29. package/dist/types/components/AppInput/Input.vue.d.ts +25 -9
  30. package/dist/types/components/AppInput/InputIconSlot.vue.d.ts +14 -9
  31. package/dist/types/components/AppInput/LocationInput.vue.d.ts +26 -27
  32. package/dist/types/components/AppInputLabel/AppInputLabel.vue.d.ts +11 -15
  33. package/dist/types/components/AppLicensePlate/AppLicensePlate.vue.d.ts +34 -27
  34. package/dist/types/components/AppLoader/AppLoader.vue.d.ts +26 -11
  35. package/dist/types/components/AppMaps/AppMaps.vue.d.ts +54 -67
  36. package/dist/types/components/AppModal/AppModal.vue.d.ts +38 -94
  37. package/dist/types/components/AppNavigationMenu/AppNavigationMenu.vue.d.ts +1 -1
  38. package/dist/types/components/AppNavigationMenu/Mobile.vue.d.ts +1 -1
  39. package/dist/types/components/AppNavigationMenu/NavigationItem.vue.d.ts +13 -10
  40. package/dist/types/components/AppNavigationMenu/SupportItem.vue.d.ts +1 -1
  41. package/dist/types/components/AppPagination/AppPagination.vue.d.ts +39 -36
  42. package/dist/types/components/AppPagination/AppPaginationItem.vue.d.ts +34 -27
  43. package/dist/types/components/AppSelect/AppSelect.vue.d.ts +93 -83
  44. package/dist/types/components/AppTimeline/AppTimeline.vue.d.ts +25 -9
  45. package/dist/types/components/AppTimeline/AppTimelineItem.vue.d.ts +13 -13
  46. package/dist/types/components/AppTimeline/AppTimelineItemIcon.vue.d.ts +10 -11
  47. package/dist/types/components/AppToggle/AppToggle.vue.d.ts +6 -2
  48. package/dist/types/composables/useActionBar/index.d.ts +5 -133
  49. package/dist/types/composables/useNavigation/index.d.ts +15 -368
  50. package/dist/types/icons/CarsIcon.vue.d.ts +1 -1
  51. package/dist/types/icons/ChatPersonRoundedIcon.vue.d.ts +14 -9
  52. package/dist/types/icons/HeroGirlIcon.vue.d.ts +16 -15
  53. package/dist/types/icons/HeroPersonIcon.vue.d.ts +16 -15
  54. package/dist/types/icons/HeroPersonRoundedIcon.vue.d.ts +16 -15
  55. package/dist/types/icons/HeroPersonWithBgIcon.vue.d.ts +16 -15
  56. package/dist/types/icons/LocationMarkerIcon.vue.d.ts +1 -1
  57. package/dist/types/icons/PartyPopperIcon.vue.d.ts +1 -1
  58. package/dist/types/icons/status/ErrorIcon.vue.d.ts +1 -1
  59. package/dist/types/icons/status/SuccessIcon.vue.d.ts +1 -1
  60. package/dist/types/icons/status/WarningIcon.vue.d.ts +1 -1
  61. package/dist/types/layouts/Auth/Auth.vue.d.ts +1 -1
  62. package/dist/types/layouts/Base/Base.vue.d.ts +1 -1
  63. package/dist/types/layouts/Platform/Platform.vue.d.ts +1 -1
  64. package/dist/types/plugins/Toast/Toast.vue.d.ts +35 -36
  65. package/dist/ui.cjs +39 -51
  66. package/dist/ui.css +1 -1
  67. package/dist/ui.js +15132 -12772
  68. package/package.json +49 -37
@@ -1,12 +1,8 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
- loading: {
3
- type: import("vue").PropType<boolean>;
4
- };
5
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
6
- loading: {
7
- type: import("vue").PropType<boolean>;
8
- };
9
- }>>, {}, {}>, {
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
2
+ loading?: boolean | undefined;
3
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
4
+ loading?: boolean | undefined;
5
+ }>>>, {}, {}>, {
10
6
  default?(_: {}): any;
11
7
  }>;
12
8
  export default _default;
@@ -15,3 +11,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
15
11
  $slots: S;
16
12
  };
17
13
  };
14
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
+ type __VLS_TypePropsToOption<T> = {
16
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
17
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
18
+ } : {
19
+ type: import('vue').PropType<T[K]>;
20
+ required: true;
21
+ };
22
+ };
@@ -1,35 +1,34 @@
1
1
  /// <reference types="google.maps" />
2
- import type { LocationModelValue } from './index.d';
3
- declare const _default: import("vue").DefineComponent<{
4
- placeholder: {
5
- type: import("vue").PropType<string>;
6
- default: string;
7
- };
8
- placeOptions: {
9
- type: import("vue").PropType<google.maps.places.AutocompleteOptions | null>;
10
- default: null;
11
- };
12
- modelValue: {
13
- type: import("vue").PropType<LocationModelValue | null>;
14
- };
15
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ import type { LocationModelValue, LocationInputProps } from './index.d';
3
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<LocationInputProps>, {
4
+ placeholder: string;
5
+ placeOptions: null;
6
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
7
  "update:modelValue": (value: LocationModelValue) => void;
17
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
- placeholder: {
19
- type: import("vue").PropType<string>;
20
- default: string;
21
- };
22
- placeOptions: {
23
- type: import("vue").PropType<google.maps.places.AutocompleteOptions | null>;
24
- default: null;
25
- };
26
- modelValue: {
27
- type: import("vue").PropType<LocationModelValue | null>;
28
- };
29
- }>> & {
8
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<LocationInputProps>, {
9
+ placeholder: string;
10
+ placeOptions: null;
11
+ }>>> & {
30
12
  "onUpdate:modelValue"?: ((value: LocationModelValue) => any) | undefined;
31
13
  }, {
32
14
  placeholder: string;
33
15
  placeOptions: google.maps.places.AutocompleteOptions | null;
34
16
  }, {}>;
35
17
  export default _default;
18
+ type __VLS_WithDefaults<P, D> = {
19
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
20
+ default: D[K];
21
+ }> : P[K];
22
+ };
23
+ type __VLS_Prettify<T> = {
24
+ [K in keyof T]: T[K];
25
+ } & {};
26
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
27
+ type __VLS_TypePropsToOption<T> = {
28
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
29
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
30
+ } : {
31
+ type: import('vue').PropType<T[K]>;
32
+ required: true;
33
+ };
34
+ };
@@ -1,18 +1,5 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
- disabled: {
3
- type: import("vue").PropType<any>;
4
- };
5
- hasError: {
6
- type: import("vue").PropType<any>;
7
- };
8
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
9
- disabled: {
10
- type: import("vue").PropType<any>;
11
- };
12
- hasError: {
13
- type: import("vue").PropType<any>;
14
- };
15
- }>>, {}, {}>, {
1
+ import type { Props } from './index.d';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>, {
16
3
  default?(_: {}): any;
17
4
  }>;
18
5
  export default _default;
@@ -21,3 +8,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
21
8
  $slots: S;
22
9
  };
23
10
  };
11
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
12
+ type __VLS_TypePropsToOption<T> = {
13
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
14
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
15
+ } : {
16
+ type: import('vue').PropType<T[K]>;
17
+ required: true;
18
+ };
19
+ };
@@ -1,30 +1,20 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
- license: {
3
- type: import("vue").PropType<string>;
4
- default: undefined;
5
- };
6
- country: {
7
- type: import("vue").PropType<"NL">;
8
- default: string;
9
- };
10
- licensePlateClasses: {
11
- type: import("vue").PropType<string>;
12
- default: undefined;
13
- };
14
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
- license: {
16
- type: import("vue").PropType<string>;
17
- default: undefined;
18
- };
19
- country: {
20
- type: import("vue").PropType<"NL">;
21
- default: string;
22
- };
23
- licensePlateClasses: {
24
- type: import("vue").PropType<string>;
25
- default: undefined;
26
- };
27
- }>>, {
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
2
+ license?: string | undefined;
3
+ country?: "NL" | undefined;
4
+ licensePlateClasses?: string | undefined;
5
+ }>, {
6
+ license: undefined;
7
+ country: string;
8
+ licensePlateClasses: undefined;
9
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
10
+ license?: string | undefined;
11
+ country?: "NL" | undefined;
12
+ licensePlateClasses?: string | undefined;
13
+ }>, {
14
+ license: undefined;
15
+ country: string;
16
+ licensePlateClasses: undefined;
17
+ }>>>, {
28
18
  license: string;
29
19
  country: "NL";
30
20
  licensePlateClasses: string;
@@ -32,8 +22,25 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
32
22
  default?(_: {}): any;
33
23
  }>;
34
24
  export default _default;
25
+ type __VLS_WithDefaults<P, D> = {
26
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
27
+ default: D[K];
28
+ }> : P[K];
29
+ };
30
+ type __VLS_Prettify<T> = {
31
+ [K in keyof T]: T[K];
32
+ } & {};
35
33
  type __VLS_WithTemplateSlots<T, S> = T & {
36
34
  new (): {
37
35
  $slots: S;
38
36
  };
39
37
  };
38
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
39
+ type __VLS_TypePropsToOption<T> = {
40
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
41
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
42
+ } : {
43
+ type: import('vue').PropType<T[K]>;
44
+ required: true;
45
+ };
46
+ };
@@ -1,15 +1,30 @@
1
1
  import type { Size } from './index.d';
2
- declare const _default: import("vue").DefineComponent<{
3
- size: {
4
- type: import("vue").PropType<Size>;
5
- default: string;
6
- };
7
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
8
- size: {
9
- type: import("vue").PropType<Size>;
10
- default: string;
11
- };
12
- }>>, {
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
3
+ size?: Size | undefined;
4
+ }>, {
5
+ size: string;
6
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
7
+ size?: Size | undefined;
8
+ }>, {
9
+ size: string;
10
+ }>>>, {
13
11
  size: Size;
14
12
  }, {}>;
15
13
  export default _default;
14
+ type __VLS_WithDefaults<P, D> = {
15
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
16
+ default: D[K];
17
+ }> : P[K];
18
+ };
19
+ type __VLS_Prettify<T> = {
20
+ [K in keyof T]: T[K];
21
+ } & {};
22
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
23
+ type __VLS_TypePropsToOption<T> = {
24
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
25
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
26
+ } : {
27
+ type: import('vue').PropType<T[K]>;
28
+ required: true;
29
+ };
30
+ };
@@ -1,71 +1,41 @@
1
1
  /// <reference types="google.maps" />
2
- declare const _default: import("vue").DefineComponent<{
3
- withMarker: {
4
- type: import("vue").PropType<boolean>;
5
- default: boolean;
6
- };
7
- disableMarkerClick: {
8
- type: import("vue").PropType<boolean>;
9
- default: boolean;
10
- };
11
- markerLatitude: {
12
- type: import("vue").PropType<number | null>;
13
- default: null;
14
- };
15
- markerLongitude: {
16
- type: import("vue").PropType<number | null>;
17
- default: null;
18
- };
19
- disableUserInteraction: {
20
- type: import("vue").PropType<boolean>;
21
- default: boolean;
22
- };
23
- mapCenterLatitude: {
24
- type: import("vue").PropType<number | null>;
25
- default: null;
26
- };
27
- mapCenterLongitude: {
28
- type: import("vue").PropType<number | null>;
29
- default: null;
30
- };
31
- mapOptions: {
32
- type: import("vue").PropType<google.maps.MapOptions | null>;
33
- default: null;
34
- };
35
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
36
- withMarker: {
37
- type: import("vue").PropType<boolean>;
38
- default: boolean;
39
- };
40
- disableMarkerClick: {
41
- type: import("vue").PropType<boolean>;
42
- default: boolean;
43
- };
44
- markerLatitude: {
45
- type: import("vue").PropType<number | null>;
46
- default: null;
47
- };
48
- markerLongitude: {
49
- type: import("vue").PropType<number | null>;
50
- default: null;
51
- };
52
- disableUserInteraction: {
53
- type: import("vue").PropType<boolean>;
54
- default: boolean;
55
- };
56
- mapCenterLatitude: {
57
- type: import("vue").PropType<number | null>;
58
- default: null;
59
- };
60
- mapCenterLongitude: {
61
- type: import("vue").PropType<number | null>;
62
- default: null;
63
- };
64
- mapOptions: {
65
- type: import("vue").PropType<google.maps.MapOptions | null>;
66
- default: null;
67
- };
68
- }>>, {
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
3
+ withMarker?: boolean | undefined;
4
+ disableMarkerClick?: boolean | undefined;
5
+ markerLatitude?: number | null | undefined;
6
+ markerLongitude?: number | null | undefined;
7
+ disableUserInteraction?: boolean | undefined;
8
+ mapCenterLatitude?: number | null | undefined;
9
+ mapCenterLongitude?: number | null | undefined;
10
+ mapOptions?: google.maps.MapOptions | null | undefined;
11
+ }>, {
12
+ mapOptions: null;
13
+ withMarker: boolean;
14
+ markerLatitude: null;
15
+ markerLongitude: null;
16
+ mapCenterLatitude: null;
17
+ mapCenterLongitude: null;
18
+ disableMarkerClick: boolean;
19
+ disableUserInteraction: boolean;
20
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
21
+ withMarker?: boolean | undefined;
22
+ disableMarkerClick?: boolean | undefined;
23
+ markerLatitude?: number | null | undefined;
24
+ markerLongitude?: number | null | undefined;
25
+ disableUserInteraction?: boolean | undefined;
26
+ mapCenterLatitude?: number | null | undefined;
27
+ mapCenterLongitude?: number | null | undefined;
28
+ mapOptions?: google.maps.MapOptions | null | undefined;
29
+ }>, {
30
+ mapOptions: null;
31
+ withMarker: boolean;
32
+ markerLatitude: null;
33
+ markerLongitude: null;
34
+ mapCenterLatitude: null;
35
+ mapCenterLongitude: null;
36
+ disableMarkerClick: boolean;
37
+ disableUserInteraction: boolean;
38
+ }>>>, {
69
39
  withMarker: boolean;
70
40
  disableMarkerClick: boolean;
71
41
  markerLatitude: number | null;
@@ -76,3 +46,20 @@ declare const _default: import("vue").DefineComponent<{
76
46
  mapOptions: google.maps.MapOptions | null;
77
47
  }, {}>;
78
48
  export default _default;
49
+ type __VLS_WithDefaults<P, D> = {
50
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
51
+ default: D[K];
52
+ }> : P[K];
53
+ };
54
+ type __VLS_Prettify<T> = {
55
+ [K in keyof T]: T[K];
56
+ } & {};
57
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
58
+ type __VLS_TypePropsToOption<T> = {
59
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
60
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
61
+ } : {
62
+ type: import('vue').PropType<T[K]>;
63
+ required: true;
64
+ };
65
+ };
@@ -1,53 +1,17 @@
1
+ import type { ModalProps } from './index.d';
1
2
  declare function open(): Promise<void>;
2
3
  declare function close(): Promise<void>;
3
4
  declare function submit(): Promise<void>;
4
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
5
- title: {
6
- type: import("vue").PropType<string>;
7
- required: true;
8
- default: string;
9
- };
10
- content: {
11
- type: import("vue").PropType<string | import("vue").Component>;
12
- default: string;
13
- };
14
- cancelButtonText: {
15
- type: import("vue").PropType<string | null>;
16
- default: string;
17
- };
18
- cancelButtonTrailingIcon: {
19
- type: import("vue").PropType<import("vue").Component>;
20
- };
21
- cancelButtonLeadingIcon: {
22
- type: import("vue").PropType<import("vue").Component>;
23
- };
24
- withBackdrop: {
25
- type: import("vue").PropType<boolean>;
26
- default: boolean;
27
- };
28
- preventBackdropClose: {
29
- type: import("vue").PropType<boolean>;
30
- default: boolean;
31
- };
32
- submitButtonText: {
33
- type: import("vue").PropType<string | null>;
34
- default: string;
35
- };
36
- submitButtonTrailingIcon: {
37
- type: import("vue").PropType<import("vue").Component>;
38
- };
39
- submitButtonLeadingIcon: {
40
- type: import("vue").PropType<import("vue").Component>;
41
- };
42
- withFooter: {
43
- type: import("vue").PropType<boolean>;
44
- default: boolean;
45
- };
46
- preventBackdropCloseOnLoading: {
47
- type: import("vue").PropType<boolean>;
48
- default: boolean;
49
- };
50
- }, {
5
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Omit<ModalProps, "onSubmit" | "onCancel" | "onClose" | "onOpen">>, {
6
+ submitButtonText: string;
7
+ cancelButtonText: string;
8
+ withBackdrop: boolean;
9
+ withFooter: boolean;
10
+ preventBackdropClose: boolean;
11
+ preventBackdropCloseOnLoading: boolean;
12
+ title: string;
13
+ content: string;
14
+ }>, {
51
15
  isOpen: import("vue").Ref<boolean>;
52
16
  open: typeof open;
53
17
  close: typeof close;
@@ -57,53 +21,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
57
21
  close: () => void;
58
22
  cancel: () => void;
59
23
  submit: (value: FormData) => void;
60
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
61
- title: {
62
- type: import("vue").PropType<string>;
63
- required: true;
64
- default: string;
65
- };
66
- content: {
67
- type: import("vue").PropType<string | import("vue").Component>;
68
- default: string;
69
- };
70
- cancelButtonText: {
71
- type: import("vue").PropType<string | null>;
72
- default: string;
73
- };
74
- cancelButtonTrailingIcon: {
75
- type: import("vue").PropType<import("vue").Component>;
76
- };
77
- cancelButtonLeadingIcon: {
78
- type: import("vue").PropType<import("vue").Component>;
79
- };
80
- withBackdrop: {
81
- type: import("vue").PropType<boolean>;
82
- default: boolean;
83
- };
84
- preventBackdropClose: {
85
- type: import("vue").PropType<boolean>;
86
- default: boolean;
87
- };
88
- submitButtonText: {
89
- type: import("vue").PropType<string | null>;
90
- default: string;
91
- };
92
- submitButtonTrailingIcon: {
93
- type: import("vue").PropType<import("vue").Component>;
94
- };
95
- submitButtonLeadingIcon: {
96
- type: import("vue").PropType<import("vue").Component>;
97
- };
98
- withFooter: {
99
- type: import("vue").PropType<boolean>;
100
- default: boolean;
101
- };
102
- preventBackdropCloseOnLoading: {
103
- type: import("vue").PropType<boolean>;
104
- default: boolean;
105
- };
106
- }>> & {
24
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Omit<ModalProps, "onSubmit" | "onCancel" | "onClose" | "onOpen">>, {
25
+ submitButtonText: string;
26
+ cancelButtonText: string;
27
+ withBackdrop: boolean;
28
+ withFooter: boolean;
29
+ preventBackdropClose: boolean;
30
+ preventBackdropCloseOnLoading: boolean;
31
+ title: string;
32
+ content: string;
33
+ }>>> & {
107
34
  onSubmit?: ((value: FormData) => any) | undefined;
108
35
  onCancel?: (() => any) | undefined;
109
36
  onClose?: (() => any) | undefined;
@@ -122,8 +49,25 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
122
49
  default?(_: {}): any;
123
50
  }>;
124
51
  export default _default;
52
+ type __VLS_WithDefaults<P, D> = {
53
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
54
+ default: D[K];
55
+ }> : P[K];
56
+ };
57
+ type __VLS_Prettify<T> = {
58
+ [K in keyof T]: T[K];
59
+ } & {};
125
60
  type __VLS_WithTemplateSlots<T, S> = T & {
126
61
  new (): {
127
62
  $slots: S;
128
63
  };
129
64
  };
65
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
66
+ type __VLS_TypePropsToOption<T> = {
67
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
68
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
69
+ } : {
70
+ type: import('vue').PropType<T[K]>;
71
+ required: true;
72
+ };
73
+ };
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
2
  export default _default;
@@ -1,13 +1,16 @@
1
1
  import type { NavigationItem } from '~composables/useNavigation';
2
- declare const _default: import("vue").DefineComponent<{
3
- item: {
4
- type: import("vue").PropType<NavigationItem>;
5
- required: true;
6
- };
7
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
8
- item: {
9
- type: import("vue").PropType<NavigationItem>;
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
+ item: NavigationItem;
4
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
5
+ item: NavigationItem;
6
+ }>>>, {}, {}>;
7
+ export default _default;
8
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
+ type __VLS_TypePropsToOption<T> = {
10
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
11
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
+ } : {
13
+ type: import('vue').PropType<T[K]>;
10
14
  required: true;
11
15
  };
12
- }>>, {}, {}>;
13
- export default _default;
16
+ };
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
2
  export default _default;