@autoafleveren/ui 0.12.8 → 0.13.1
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.
- package/dist/icons.cjs +37 -57
- package/dist/icons.js +7426 -7945
- package/dist/style.css +1 -1
- package/dist/types/components/AppActionBar/AppActionBar.vue.d.ts +1 -1
- package/dist/types/components/AppActionBar/AppActionBarItem.vue.d.ts +13 -10
- package/dist/types/components/AppAlert/AppAlert.vue.d.ts +37 -36
- package/dist/types/components/AppAvatar/AppAvatar.vue.d.ts +23 -23
- package/dist/types/components/AppAvatar/DefaultAvatar.vue.d.ts +14 -9
- package/dist/types/components/AppBackButton/AppBackButton.vue.d.ts +30 -27
- package/dist/types/components/AppBadge/AppBadge.vue.d.ts +35 -28
- package/dist/types/components/AppBadge/index.d.ts +1 -1
- package/dist/types/components/AppButton/AppButton.vue.d.ts +38 -68
- package/dist/types/components/AppButton/ButtonIconSlot.vue.d.ts +14 -9
- package/dist/types/components/AppCard/AppCard.vue.d.ts +43 -44
- package/dist/types/components/AppCard/CardAction.vue.d.ts +13 -10
- package/dist/types/components/AppCard/CardIconSlot.vue.d.ts +14 -9
- package/dist/types/components/AppConfirm/AppConfirm.vue.d.ts +43 -123
- package/dist/types/components/AppDataTable/AppDataTable.vue.d.ts +52 -13
- package/dist/types/components/AppDataTable/AppDataTableFooter.vue.d.ts +17 -16
- package/dist/types/components/AppDefinitionList/AppDefinitionItem.vue.d.ts +50 -45
- package/dist/types/components/AppDefinitionList/AppDefinitionList.vue.d.ts +28 -19
- package/dist/types/components/AppDisclosure/AppDisclosure.vue.d.ts +26 -11
- package/dist/types/components/AppDisclosure/AppDisclosureButton.vue.d.ts +1 -1
- package/dist/types/components/AppDisclosure/AppDisclosurePanel.vue.d.ts +30 -19
- package/dist/types/components/AppDropdownButton/AppDropdownButton.vue.d.ts +26 -82
- package/dist/types/components/AppDropdownButton/AppDropdownItem.vue.d.ts +11 -47
- package/dist/types/components/AppInput/AppInput.vue.d.ts +58 -9
- package/dist/types/components/AppInput/FileInput.vue.d.ts +12 -18
- package/dist/types/components/AppInput/Input.vue.d.ts +25 -9
- package/dist/types/components/AppInput/InputIconSlot.vue.d.ts +14 -9
- package/dist/types/components/AppInput/LocationInput.vue.d.ts +26 -27
- package/dist/types/components/AppInputLabel/AppInputLabel.vue.d.ts +11 -15
- package/dist/types/components/AppLicensePlate/AppLicensePlate.vue.d.ts +34 -27
- package/dist/types/components/AppLoader/AppLoader.vue.d.ts +26 -11
- package/dist/types/components/AppMaps/AppMaps.vue.d.ts +54 -67
- package/dist/types/components/AppModal/AppModal.vue.d.ts +38 -94
- package/dist/types/components/AppNavigationMenu/AppNavigationMenu.vue.d.ts +1 -1
- package/dist/types/components/AppNavigationMenu/Mobile.vue.d.ts +1 -1
- package/dist/types/components/AppNavigationMenu/NavigationItem.vue.d.ts +13 -10
- package/dist/types/components/AppNavigationMenu/SupportItem.vue.d.ts +1 -1
- package/dist/types/components/AppPagination/AppPagination.vue.d.ts +39 -36
- package/dist/types/components/AppPagination/AppPaginationItem.vue.d.ts +34 -27
- package/dist/types/components/AppSelect/AppSelect.vue.d.ts +93 -83
- package/dist/types/components/AppTimeline/AppTimeline.vue.d.ts +25 -9
- package/dist/types/components/AppTimeline/AppTimelineItem.vue.d.ts +13 -13
- package/dist/types/components/AppTimeline/AppTimelineItemIcon.vue.d.ts +10 -11
- package/dist/types/components/AppToggle/AppToggle.vue.d.ts +6 -2
- package/dist/types/composables/index.d.ts +1 -0
- package/dist/types/composables/useActionBar/index.d.ts +5 -133
- package/dist/types/composables/useNavigation/index.d.ts +15 -368
- package/dist/types/icons/CarsIcon.vue.d.ts +1 -1
- package/dist/types/icons/ChatPersonRoundedIcon.vue.d.ts +14 -9
- package/dist/types/icons/HeroGirlIcon.vue.d.ts +16 -15
- package/dist/types/icons/HeroPersonIcon.vue.d.ts +16 -15
- package/dist/types/icons/HeroPersonRoundedIcon.vue.d.ts +16 -15
- package/dist/types/icons/HeroPersonWithBgIcon.vue.d.ts +16 -15
- package/dist/types/icons/LocationMarkerIcon.vue.d.ts +1 -1
- package/dist/types/icons/PartyPopperIcon.vue.d.ts +1 -1
- package/dist/types/icons/status/ErrorIcon.vue.d.ts +1 -1
- package/dist/types/icons/status/SuccessIcon.vue.d.ts +1 -1
- package/dist/types/icons/status/WarningIcon.vue.d.ts +1 -1
- package/dist/types/layouts/Auth/Auth.vue.d.ts +1 -1
- package/dist/types/layouts/Base/Base.vue.d.ts +1 -1
- package/dist/types/layouts/Platform/Platform.vue.d.ts +1 -1
- package/dist/types/plugins/Toast/Toast.vue.d.ts +35 -36
- package/dist/ui.cjs +39 -51
- package/dist/ui.css +1 -1
- package/dist/ui.js +15005 -12644
- package/package.json +49 -37
|
@@ -1,72 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
};
|
|
22
|
-
bordered: {
|
|
23
|
-
type: import("vue").PropType<boolean>;
|
|
24
|
-
default: boolean;
|
|
25
|
-
};
|
|
26
|
-
block: {
|
|
27
|
-
type: import("vue").PropType<boolean>;
|
|
28
|
-
default: boolean;
|
|
29
|
-
};
|
|
30
|
-
as: {
|
|
31
|
-
type: import("vue").PropType<string>;
|
|
32
|
-
default: string;
|
|
33
|
-
};
|
|
34
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
|
-
type: {
|
|
36
|
-
type: import("vue").PropType<import("./index.d").Type>;
|
|
37
|
-
default: string;
|
|
38
|
-
};
|
|
39
|
-
size: {
|
|
40
|
-
type: import("vue").PropType<import("./index.d").Size>;
|
|
41
|
-
default: string;
|
|
42
|
-
};
|
|
43
|
-
loading: {
|
|
44
|
-
type: import("vue").PropType<boolean>;
|
|
45
|
-
default: boolean;
|
|
46
|
-
};
|
|
47
|
-
colorType: {
|
|
48
|
-
type: import("vue").PropType<import("./index.d").ColorType>;
|
|
49
|
-
default: string;
|
|
50
|
-
};
|
|
51
|
-
disabled: {
|
|
52
|
-
type: import("vue").PropType<boolean>;
|
|
53
|
-
default: boolean;
|
|
54
|
-
};
|
|
55
|
-
bordered: {
|
|
56
|
-
type: import("vue").PropType<boolean>;
|
|
57
|
-
default: boolean;
|
|
58
|
-
};
|
|
59
|
-
block: {
|
|
60
|
-
type: import("vue").PropType<boolean>;
|
|
61
|
-
default: boolean;
|
|
62
|
-
};
|
|
63
|
-
as: {
|
|
64
|
-
type: import("vue").PropType<string>;
|
|
65
|
-
default: string;
|
|
66
|
-
};
|
|
67
|
-
}>>, {
|
|
68
|
-
type: import("./index.d").Type;
|
|
1
|
+
import type { Props } from './index.d';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
3
|
+
as: string;
|
|
4
|
+
size: string;
|
|
5
|
+
type: string;
|
|
6
|
+
colorType: string;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
loading: boolean;
|
|
9
|
+
bordered: boolean;
|
|
10
|
+
block: boolean;
|
|
11
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
12
|
+
as: string;
|
|
13
|
+
size: string;
|
|
14
|
+
type: string;
|
|
15
|
+
colorType: string;
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
loading: boolean;
|
|
18
|
+
bordered: boolean;
|
|
19
|
+
block: boolean;
|
|
20
|
+
}>>>, {
|
|
69
21
|
size: import("./index.d").Size;
|
|
22
|
+
type: import("./index.d").Type;
|
|
70
23
|
loading: boolean;
|
|
71
24
|
colorType: import("./index.d").ColorType;
|
|
72
25
|
disabled: boolean;
|
|
@@ -79,8 +32,25 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
79
32
|
trailingIcon?(_: {}): any;
|
|
80
33
|
}>;
|
|
81
34
|
export default _default;
|
|
35
|
+
type __VLS_WithDefaults<P, D> = {
|
|
36
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
37
|
+
default: D[K];
|
|
38
|
+
}> : P[K];
|
|
39
|
+
};
|
|
40
|
+
type __VLS_Prettify<T> = {
|
|
41
|
+
[K in keyof T]: T[K];
|
|
42
|
+
} & {};
|
|
82
43
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
83
44
|
new (): {
|
|
84
45
|
$slots: S;
|
|
85
46
|
};
|
|
86
47
|
};
|
|
48
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
49
|
+
type __VLS_TypePropsToOption<T> = {
|
|
50
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
51
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
52
|
+
} : {
|
|
53
|
+
type: import('vue').PropType<T[K]>;
|
|
54
|
+
required: true;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
-
loading
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
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,51 +1,33 @@
|
|
|
1
1
|
import type { Component } from 'vue';
|
|
2
2
|
import type { Action } from './index.d';
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
contentClasses
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
};
|
|
29
|
-
title: {
|
|
30
|
-
type: import("vue").PropType<string>;
|
|
31
|
-
default: undefined;
|
|
32
|
-
};
|
|
33
|
-
bordered: {
|
|
34
|
-
type: import("vue").PropType<boolean>;
|
|
35
|
-
default: boolean;
|
|
36
|
-
};
|
|
37
|
-
actions: {
|
|
38
|
-
type: import("vue").PropType<Action[]>;
|
|
39
|
-
default: undefined;
|
|
40
|
-
};
|
|
41
|
-
contentClasses: {
|
|
42
|
-
type: import("vue").PropType<string>;
|
|
43
|
-
default: undefined;
|
|
44
|
-
};
|
|
45
|
-
}>>, {
|
|
46
|
-
icon: string | Component;
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
4
|
+
title?: string | undefined;
|
|
5
|
+
actions?: Action[] | undefined;
|
|
6
|
+
icon?: string | Component | undefined;
|
|
7
|
+
bordered?: boolean | undefined;
|
|
8
|
+
contentClasses?: string | undefined;
|
|
9
|
+
}>, {
|
|
10
|
+
title: undefined;
|
|
11
|
+
actions: undefined;
|
|
12
|
+
icon: undefined;
|
|
13
|
+
bordered: boolean;
|
|
14
|
+
contentClasses: undefined;
|
|
15
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
16
|
+
title?: string | undefined;
|
|
17
|
+
actions?: Action[] | undefined;
|
|
18
|
+
icon?: string | Component | undefined;
|
|
19
|
+
bordered?: boolean | undefined;
|
|
20
|
+
contentClasses?: string | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
title: undefined;
|
|
23
|
+
actions: undefined;
|
|
24
|
+
icon: undefined;
|
|
25
|
+
bordered: boolean;
|
|
26
|
+
contentClasses: undefined;
|
|
27
|
+
}>>>, {
|
|
47
28
|
title: string;
|
|
48
29
|
bordered: boolean;
|
|
30
|
+
icon: string | Component;
|
|
49
31
|
actions: Action[];
|
|
50
32
|
contentClasses: string;
|
|
51
33
|
}, {}>, {
|
|
@@ -55,8 +37,25 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
55
37
|
actions?(_: {}): any;
|
|
56
38
|
}>;
|
|
57
39
|
export default _default;
|
|
40
|
+
type __VLS_WithDefaults<P, D> = {
|
|
41
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
42
|
+
default: D[K];
|
|
43
|
+
}> : P[K];
|
|
44
|
+
};
|
|
45
|
+
type __VLS_Prettify<T> = {
|
|
46
|
+
[K in keyof T]: T[K];
|
|
47
|
+
} & {};
|
|
58
48
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
59
49
|
new (): {
|
|
60
50
|
$slots: S;
|
|
61
51
|
};
|
|
62
52
|
};
|
|
53
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
54
|
+
type __VLS_TypePropsToOption<T> = {
|
|
55
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
56
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
57
|
+
} : {
|
|
58
|
+
type: import('vue').PropType<T[K]>;
|
|
59
|
+
required: true;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import type { Action } from './index.d';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
-
item:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
3
|
+
item: Action;
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
5
|
+
item: Action;
|
|
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,13 +1,9 @@
|
|
|
1
1
|
import type { Component } from 'vue';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
-
icon
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
icon: {
|
|
8
|
-
type: import("vue").PropType<string | Component>;
|
|
9
|
-
};
|
|
10
|
-
}>>, {}, {}>, {
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
3
|
+
icon?: string | Component | undefined;
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
5
|
+
icon?: string | Component | undefined;
|
|
6
|
+
}>>>, {}, {}>, {
|
|
11
7
|
default?(_: {}): any;
|
|
12
8
|
}>;
|
|
13
9
|
export default _default;
|
|
@@ -16,3 +12,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
16
12
|
$slots: S;
|
|
17
13
|
};
|
|
18
14
|
};
|
|
15
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
+
type __VLS_TypePropsToOption<T> = {
|
|
17
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
+
} : {
|
|
20
|
+
type: import('vue').PropType<T[K]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -1,135 +1,38 @@
|
|
|
1
1
|
import type { Component } from 'vue';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
title:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
};
|
|
16
|
-
type: {
|
|
17
|
-
type: import("vue").PropType<import("./index.d").ConfirmType>;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
content: {
|
|
21
|
-
type: import("vue").PropType<string>;
|
|
22
|
-
default: string;
|
|
23
|
-
};
|
|
24
|
-
confirmButtonText: {
|
|
25
|
-
type: import("vue").PropType<string>;
|
|
26
|
-
default: string;
|
|
27
|
-
};
|
|
28
|
-
confirmButtonTrailingIcon: {
|
|
29
|
-
type: import("vue").PropType<Component>;
|
|
30
|
-
};
|
|
31
|
-
confirmButtonLeadingIcon: {
|
|
32
|
-
type: import("vue").PropType<Component>;
|
|
33
|
-
};
|
|
34
|
-
cancelButtonText: {
|
|
35
|
-
type: import("vue").PropType<string>;
|
|
36
|
-
default: string;
|
|
37
|
-
};
|
|
38
|
-
cancelButtonTrailingIcon: {
|
|
39
|
-
type: import("vue").PropType<Component>;
|
|
40
|
-
};
|
|
41
|
-
cancelButtonLeadingIcon: {
|
|
42
|
-
type: import("vue").PropType<Component>;
|
|
43
|
-
};
|
|
44
|
-
withBackdrop: {
|
|
45
|
-
type: import("vue").PropType<boolean>;
|
|
46
|
-
default: boolean;
|
|
47
|
-
};
|
|
48
|
-
preventBackdropClose: {
|
|
49
|
-
type: import("vue").PropType<boolean>;
|
|
50
|
-
default: boolean;
|
|
51
|
-
};
|
|
52
|
-
extendedIconDomClasses: {
|
|
53
|
-
type: import("vue").PropType<string>;
|
|
54
|
-
default: string;
|
|
55
|
-
};
|
|
56
|
-
onConfirm: {
|
|
57
|
-
type: import("vue").PropType<import("./index.d").OnConfirm>;
|
|
58
|
-
};
|
|
59
|
-
onCancel: {
|
|
60
|
-
type: import("vue").PropType<import("./index.d").OnCancel>;
|
|
61
|
-
};
|
|
62
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
|
+
import type { ConfirmProps } from './index.d';
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ConfirmProps>, {
|
|
4
|
+
type: string;
|
|
5
|
+
confirmButtonText: string;
|
|
6
|
+
cancelButtonText: string;
|
|
7
|
+
withBackdrop: boolean;
|
|
8
|
+
preventBackdropClose: boolean;
|
|
9
|
+
icon: undefined;
|
|
10
|
+
html: boolean;
|
|
11
|
+
title: string;
|
|
12
|
+
content: string;
|
|
13
|
+
extendedIconDomClasses: string;
|
|
14
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
63
15
|
close: (value: boolean) => void;
|
|
64
16
|
confirmed: (value: true) => void;
|
|
65
|
-
}, string, import("vue").
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
default: string;
|
|
78
|
-
};
|
|
79
|
-
type: {
|
|
80
|
-
type: import("vue").PropType<import("./index.d").ConfirmType>;
|
|
81
|
-
default: string;
|
|
82
|
-
};
|
|
83
|
-
content: {
|
|
84
|
-
type: import("vue").PropType<string>;
|
|
85
|
-
default: string;
|
|
86
|
-
};
|
|
87
|
-
confirmButtonText: {
|
|
88
|
-
type: import("vue").PropType<string>;
|
|
89
|
-
default: string;
|
|
90
|
-
};
|
|
91
|
-
confirmButtonTrailingIcon: {
|
|
92
|
-
type: import("vue").PropType<Component>;
|
|
93
|
-
};
|
|
94
|
-
confirmButtonLeadingIcon: {
|
|
95
|
-
type: import("vue").PropType<Component>;
|
|
96
|
-
};
|
|
97
|
-
cancelButtonText: {
|
|
98
|
-
type: import("vue").PropType<string>;
|
|
99
|
-
default: string;
|
|
100
|
-
};
|
|
101
|
-
cancelButtonTrailingIcon: {
|
|
102
|
-
type: import("vue").PropType<Component>;
|
|
103
|
-
};
|
|
104
|
-
cancelButtonLeadingIcon: {
|
|
105
|
-
type: import("vue").PropType<Component>;
|
|
106
|
-
};
|
|
107
|
-
withBackdrop: {
|
|
108
|
-
type: import("vue").PropType<boolean>;
|
|
109
|
-
default: boolean;
|
|
110
|
-
};
|
|
111
|
-
preventBackdropClose: {
|
|
112
|
-
type: import("vue").PropType<boolean>;
|
|
113
|
-
default: boolean;
|
|
114
|
-
};
|
|
115
|
-
extendedIconDomClasses: {
|
|
116
|
-
type: import("vue").PropType<string>;
|
|
117
|
-
default: string;
|
|
118
|
-
};
|
|
119
|
-
onConfirm: {
|
|
120
|
-
type: import("vue").PropType<import("./index.d").OnConfirm>;
|
|
121
|
-
};
|
|
122
|
-
onCancel: {
|
|
123
|
-
type: import("vue").PropType<import("./index.d").OnCancel>;
|
|
124
|
-
};
|
|
125
|
-
}>> & {
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ConfirmProps>, {
|
|
18
|
+
type: string;
|
|
19
|
+
confirmButtonText: string;
|
|
20
|
+
cancelButtonText: string;
|
|
21
|
+
withBackdrop: boolean;
|
|
22
|
+
preventBackdropClose: boolean;
|
|
23
|
+
icon: undefined;
|
|
24
|
+
html: boolean;
|
|
25
|
+
title: string;
|
|
26
|
+
content: string;
|
|
27
|
+
extendedIconDomClasses: string;
|
|
28
|
+
}>>> & {
|
|
126
29
|
onClose?: ((value: boolean) => any) | undefined;
|
|
127
30
|
onConfirmed?: ((value: true) => any) | undefined;
|
|
128
31
|
}, {
|
|
129
|
-
icon: string | Component;
|
|
130
32
|
html: boolean;
|
|
131
33
|
title: string;
|
|
132
34
|
type: import("./index.d").ConfirmType;
|
|
35
|
+
icon: string | Component;
|
|
133
36
|
content: string;
|
|
134
37
|
confirmButtonText: string;
|
|
135
38
|
cancelButtonText: string;
|
|
@@ -141,8 +44,25 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
141
44
|
default?(_: {}): any;
|
|
142
45
|
}>;
|
|
143
46
|
export default _default;
|
|
47
|
+
type __VLS_WithDefaults<P, D> = {
|
|
48
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
49
|
+
default: D[K];
|
|
50
|
+
}> : P[K];
|
|
51
|
+
};
|
|
52
|
+
type __VLS_Prettify<T> = {
|
|
53
|
+
[K in keyof T]: T[K];
|
|
54
|
+
} & {};
|
|
144
55
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
145
56
|
new (): {
|
|
146
57
|
$slots: S;
|
|
147
58
|
};
|
|
148
59
|
};
|
|
60
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
61
|
+
type __VLS_TypePropsToOption<T> = {
|
|
62
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
63
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
64
|
+
} : {
|
|
65
|
+
type: import('vue').PropType<T[K]>;
|
|
66
|
+
required: true;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
@@ -1,11 +1,20 @@
|
|
|
1
|
-
import
|
|
1
|
+
import Vue3EasyDataTable from 'vue3-easy-data-table';
|
|
2
|
+
import type { DataTableInstance } from '.';
|
|
2
3
|
declare const _default: <Item extends {
|
|
3
4
|
id: number;
|
|
4
|
-
}>(__VLS_props:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
}>(__VLS_props: {
|
|
6
|
+
items: Item[];
|
|
7
|
+
modelValue?: number[] | undefined;
|
|
8
|
+
"onUpdate:modelValue"?: ((value: number[]) => any) | undefined;
|
|
9
|
+
currentPage?: number | undefined;
|
|
10
|
+
onUpdatePage?: ((value: number) => any) | undefined;
|
|
11
|
+
onClickItem?: ((value: Item) => any) | undefined;
|
|
12
|
+
headers: Vue3EasyDataTable.Header[];
|
|
13
|
+
rowItems?: number[] | undefined;
|
|
14
|
+
rowsPerPage?: number | undefined;
|
|
15
|
+
actionBarSelection?: boolean | undefined;
|
|
16
|
+
actionBarSelectionKey?: string | undefined;
|
|
17
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
9
18
|
attrs: any;
|
|
10
19
|
slots: Partial<Record<string, (_: any) => any>> & {
|
|
11
20
|
"footer-results"?(_: {
|
|
@@ -17,11 +26,25 @@ declare const _default: <Item extends {
|
|
|
17
26
|
(event: 'updatePage', value: number): void;
|
|
18
27
|
(event: 'clickItem', value: Item): void;
|
|
19
28
|
};
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
29
|
+
} | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{
|
|
30
|
+
dataTableInstance: import("vue").ComputedRef<DataTableInstance | undefined>;
|
|
31
|
+
}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
32
|
+
props: {
|
|
33
|
+
items: Item[];
|
|
34
|
+
modelValue?: number[] | undefined;
|
|
35
|
+
"onUpdate:modelValue"?: ((value: number[]) => any) | undefined;
|
|
36
|
+
currentPage?: number | undefined;
|
|
37
|
+
onUpdatePage?: ((value: number) => any) | undefined;
|
|
38
|
+
onClickItem?: ((value: Item) => any) | undefined;
|
|
39
|
+
headers: Vue3EasyDataTable.Header[];
|
|
40
|
+
rowItems?: number[] | undefined;
|
|
41
|
+
rowsPerPage?: number | undefined;
|
|
42
|
+
actionBarSelection?: boolean | undefined;
|
|
43
|
+
actionBarSelectionKey?: string | undefined;
|
|
44
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
45
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
23
46
|
dataTableInstance: import("vue").ComputedRef<DataTableInstance | undefined>;
|
|
24
|
-
}): void;
|
|
47
|
+
}>): void;
|
|
25
48
|
attrs: any;
|
|
26
49
|
slots: Partial<Record<string, (_: any) => any>> & {
|
|
27
50
|
"footer-results"?(_: {
|
|
@@ -37,10 +60,22 @@ declare const _default: <Item extends {
|
|
|
37
60
|
[key: string]: any;
|
|
38
61
|
}> & {
|
|
39
62
|
__ctx?: {
|
|
40
|
-
props:
|
|
41
|
-
|
|
63
|
+
props: {
|
|
64
|
+
items: Item[];
|
|
65
|
+
modelValue?: number[] | undefined;
|
|
66
|
+
"onUpdate:modelValue"?: ((value: number[]) => any) | undefined;
|
|
67
|
+
currentPage?: number | undefined;
|
|
68
|
+
onUpdatePage?: ((value: number) => any) | undefined;
|
|
69
|
+
onClickItem?: ((value: Item) => any) | undefined;
|
|
70
|
+
headers: Vue3EasyDataTable.Header[];
|
|
71
|
+
rowItems?: number[] | undefined;
|
|
72
|
+
rowsPerPage?: number | undefined;
|
|
73
|
+
actionBarSelection?: boolean | undefined;
|
|
74
|
+
actionBarSelectionKey?: string | undefined;
|
|
75
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
76
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
42
77
|
dataTableInstance: import("vue").ComputedRef<DataTableInstance | undefined>;
|
|
43
|
-
}): void;
|
|
78
|
+
}>): void;
|
|
44
79
|
attrs: any;
|
|
45
80
|
slots: Partial<Record<string, (_: any) => any>> & {
|
|
46
81
|
"footer-results"?(_: {
|
|
@@ -55,3 +90,7 @@ declare const _default: <Item extends {
|
|
|
55
90
|
} | undefined;
|
|
56
91
|
};
|
|
57
92
|
export default _default;
|
|
93
|
+
type __VLS_OmitKeepDiscriminatedUnion<T, K extends keyof any> = T extends any ? Pick<T, Exclude<keyof T, K>> : never;
|
|
94
|
+
type __VLS_Prettify<T> = {
|
|
95
|
+
[K in keyof T]: T[K];
|
|
96
|
+
} & {};
|
|
@@ -1,23 +1,15 @@
|
|
|
1
1
|
import type { DataTableInstance } from '.';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
-
dataTable
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
currentPage: {
|
|
7
|
-
type: import("vue").PropType<number>;
|
|
8
|
-
};
|
|
9
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
3
|
+
dataTable?: DataTableInstance | undefined;
|
|
4
|
+
currentPage?: number | undefined;
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
6
|
nextPage: () => void;
|
|
11
7
|
previousPage: () => void;
|
|
12
8
|
updatePage: (page: number) => void;
|
|
13
|
-
}, string, import("vue").
|
|
14
|
-
dataTable
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
currentPage: {
|
|
18
|
-
type: import("vue").PropType<number>;
|
|
19
|
-
};
|
|
20
|
-
}>> & {
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
10
|
+
dataTable?: DataTableInstance | undefined;
|
|
11
|
+
currentPage?: number | undefined;
|
|
12
|
+
}>>> & {
|
|
21
13
|
onNextPage?: (() => any) | undefined;
|
|
22
14
|
onPreviousPage?: (() => any) | undefined;
|
|
23
15
|
onUpdatePage?: ((page: number) => any) | undefined;
|
|
@@ -32,3 +24,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
32
24
|
$slots: S;
|
|
33
25
|
};
|
|
34
26
|
};
|
|
27
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
+
type __VLS_TypePropsToOption<T> = {
|
|
29
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
+
} : {
|
|
32
|
+
type: import('vue').PropType<T[K]>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
};
|