cja-phoenix 0.3.6 → 0.4.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.
- package/README.md +2 -2
- package/dist/cja-phoenix.es.js +3081 -3030
- package/dist/style.css +1 -1
- package/dist/types/components/composite/CheckoutCrossSell.vue.d.ts +24 -31
- package/dist/types/components/composite/CheckoutLayout.vue.d.ts +14 -11
- package/dist/types/components/composite/CheckoutMilestones.vue.d.ts +13 -10
- package/dist/types/components/composite/CjaMenuBar.vue.d.ts +38 -26
- package/dist/types/components/composite/FunnelLayout.vue.d.ts +20 -23
- package/dist/types/components/composite/FunnelSubmit.vue.d.ts +16 -15
- package/dist/types/components/composite/FunnelSummary.vue.d.ts +55 -54
- package/dist/types/components/composite/FunnelTitle.vue.d.ts +17 -22
- package/dist/types/components/composite/InfoShowcase.vue.d.ts +21 -24
- package/dist/types/components/composite/JourneyMacroSteps.vue.d.ts +13 -10
- package/dist/types/components/forms/CheckboxInput.vue.d.ts +32 -33
- package/dist/types/components/forms/CurrencyInput.vue.d.ts +53 -80
- package/dist/types/components/forms/FileInput.vue.d.ts +67 -92
- package/dist/types/components/forms/NumberInput.vue.d.ts +48 -63
- package/dist/types/components/forms/PhoneInput.vue.d.ts +57 -92
- package/dist/types/components/forms/RadioInput.vue.d.ts +38 -53
- package/dist/types/components/forms/SelectInput.vue.d.ts +67 -108
- package/dist/types/components/forms/SelectionTiles.vue.d.ts +41 -54
- package/dist/types/components/forms/TextInput.vue.d.ts +65 -104
- package/dist/types/components/forms/TileCheckboxInput.vue.d.ts +20 -31
- package/dist/types/components/forms/ToggleInput.vue.d.ts +44 -63
- package/dist/types/components/forms/structure/InputContainer.vue.d.ts +14 -9
- package/dist/types/components/forms/structure/InputError.vue.d.ts +13 -10
- package/dist/types/components/forms/structure/InputTitle.vue.d.ts +17 -22
- package/dist/types/components/structural/CjaButton.vue.d.ts +44 -47
- package/dist/types/components/structural/CollapseContainer.vue.d.ts +33 -22
- package/dist/types/components/structural/ContentTabs.vue.d.ts +17 -20
- package/dist/types/components/structural/FixedContainer.vue.d.ts +55 -56
- package/dist/types/components/structural/GridContainer.vue.d.ts +26 -11
- package/dist/types/components/structural/GridItem.vue.d.ts +18 -21
- package/dist/types/components/structural/InfoMessage.vue.d.ts +20 -29
- package/dist/types/components/structural/LoadingSpinner.vue.d.ts +16 -15
- package/dist/types/components/structural/Modal.vue.d.ts +49 -9
- package/package.json +3 -6
- package/src/assets/breakpoints.scss +12 -0
- package/src/assets/forms.scss +3 -3
- package/src/assets/main.scss +1 -0
- package/src/components/composite/CheckoutCrossSell.vue +2 -0
- package/src/components/composite/CheckoutMilestones.vue +4 -2
- package/src/components/composite/CjaMenuBar.vue +130 -64
- package/src/components/composite/FunnelLayout.vue +7 -5
- package/src/components/composite/FunnelTitle.vue +3 -1
- package/src/components/forms/TextInput.vue +16 -0
- package/src/components/forms/structure/InputError.vue +3 -1
- package/src/components/forms/structure/InputTitle.vue +2 -1
- package/src/components/structural/CjaButton.vue +37 -15
- package/src/components/structural/GridContainer.vue +2 -1
- package/src/components/structural/GridItem.vue +3 -1
- package/src/components/structural/InfoMessage.vue +5 -3
- package/src/components/structural/Modal.vue +76 -63
- package/src/stories/Modal.story.vue +48 -9
- package/src/utils/cjaStore.ts +7 -15
- package/src/utils/useViewportDetector.ts +2 -2
- package/dist/types/histoire.setup.d.ts +0 -2
- package/src/histoire.setup.ts +0 -2
- /package/src/utils/{GetI18nMessages.ts → getI18nMessages.ts} +0 -0
- /package/src/utils/{JsonReviver.ts → jsonReviver.ts} +0 -0
|
@@ -1,36 +1,33 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
-
path:
|
|
3
|
-
type: import("vue").PropType<string>;
|
|
4
|
-
required: true;
|
|
5
|
-
};
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
path: string;
|
|
6
3
|
meta: {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
animation?: string | undefined;
|
|
11
|
-
}>;
|
|
12
|
-
required: true;
|
|
13
|
-
};
|
|
14
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "btn:previous"[], "btn:previous", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
-
path: {
|
|
16
|
-
type: import("vue").PropType<string>;
|
|
17
|
-
required: true;
|
|
4
|
+
displayStep?: number | undefined;
|
|
5
|
+
displayTotalSteps?: number | undefined;
|
|
6
|
+
animation?: string | undefined;
|
|
18
7
|
};
|
|
8
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "btn:previous"[], "btn:previous", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
path: string;
|
|
19
10
|
meta: {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
animation?: string | undefined;
|
|
24
|
-
}>;
|
|
25
|
-
required: true;
|
|
11
|
+
displayStep?: number | undefined;
|
|
12
|
+
displayTotalSteps?: number | undefined;
|
|
13
|
+
animation?: string | undefined;
|
|
26
14
|
};
|
|
27
|
-
}
|
|
15
|
+
}>>> & {
|
|
28
16
|
"onBtn:previous"?: ((...args: any[]) => any) | undefined;
|
|
29
17
|
}, {}, {}>, {
|
|
30
18
|
content?(_: {}): any;
|
|
31
19
|
sidebar?(_: {}): any;
|
|
32
20
|
}>;
|
|
33
21
|
export default _default;
|
|
22
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
+
type __VLS_TypePropsToRuntimeProps<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
|
+
};
|
|
34
31
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
32
|
new (): {
|
|
36
33
|
$slots: S;
|
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
-
loading
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "btn:click"[], "btn:click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
-
loading: {
|
|
10
|
-
type: import("vue").PropType<boolean>;
|
|
11
|
-
};
|
|
12
|
-
icon: {
|
|
13
|
-
type: import("vue").PropType<string>;
|
|
14
|
-
};
|
|
15
|
-
}>> & {
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
loading?: boolean | undefined;
|
|
3
|
+
icon?: string | undefined;
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "btn:click"[], "btn:click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
loading?: boolean | undefined;
|
|
6
|
+
icon?: string | undefined;
|
|
7
|
+
}>>> & {
|
|
16
8
|
"onBtn:click"?: ((...args: any[]) => any) | undefined;
|
|
17
9
|
}, {}, {}>, {
|
|
18
10
|
default?(_: {}): any;
|
|
19
11
|
}>;
|
|
20
12
|
export default _default;
|
|
13
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
15
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
+
} : {
|
|
18
|
+
type: import('vue').PropType<T[K]>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
21
22
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
23
|
new (): {
|
|
23
24
|
$slots: S;
|
|
@@ -1,62 +1,46 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
-
title
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
edit?: string | undefined;
|
|
9
|
-
cancel?: string | undefined;
|
|
10
|
-
save?: string | undefined;
|
|
11
|
-
}>;
|
|
12
|
-
default: () => {
|
|
13
|
-
edit: string;
|
|
14
|
-
cancel: string;
|
|
15
|
-
save: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
title?: string | undefined;
|
|
3
|
+
customText?: {
|
|
4
|
+
edit?: string | undefined;
|
|
5
|
+
cancel?: string | undefined;
|
|
6
|
+
save?: string | undefined;
|
|
7
|
+
} | undefined;
|
|
18
8
|
infoList: {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
9
|
+
title: string;
|
|
10
|
+
value: any;
|
|
11
|
+
control: string;
|
|
12
|
+
}[];
|
|
13
|
+
validateForm?: (() => boolean) | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
title: string;
|
|
16
|
+
customText: () => {
|
|
17
|
+
edit: string;
|
|
18
|
+
cancel: string;
|
|
19
|
+
save: string;
|
|
28
20
|
};
|
|
29
|
-
}
|
|
21
|
+
}>, {
|
|
30
22
|
editMode: import("vue").Ref<boolean>;
|
|
31
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("btn:cancel" | "btn:save" | "btn:edit")[], "btn:cancel" | "btn:save" | "btn:edit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
32
|
-
title
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
edit?: string | undefined;
|
|
39
|
-
cancel?: string | undefined;
|
|
40
|
-
save?: string | undefined;
|
|
41
|
-
}>;
|
|
42
|
-
default: () => {
|
|
43
|
-
edit: string;
|
|
44
|
-
cancel: string;
|
|
45
|
-
save: string;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
23
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("btn:cancel" | "btn:save" | "btn:edit")[], "btn:cancel" | "btn:save" | "btn:edit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
24
|
+
title?: string | undefined;
|
|
25
|
+
customText?: {
|
|
26
|
+
edit?: string | undefined;
|
|
27
|
+
cancel?: string | undefined;
|
|
28
|
+
save?: string | undefined;
|
|
29
|
+
} | undefined;
|
|
48
30
|
infoList: {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
31
|
+
title: string;
|
|
32
|
+
value: any;
|
|
33
|
+
control: string;
|
|
34
|
+
}[];
|
|
35
|
+
validateForm?: (() => boolean) | undefined;
|
|
36
|
+
}>, {
|
|
37
|
+
title: string;
|
|
38
|
+
customText: () => {
|
|
39
|
+
edit: string;
|
|
40
|
+
cancel: string;
|
|
41
|
+
save: string;
|
|
58
42
|
};
|
|
59
|
-
}
|
|
43
|
+
}>>> & {
|
|
60
44
|
"onBtn:cancel"?: ((...args: any[]) => any) | undefined;
|
|
61
45
|
"onBtn:save"?: ((...args: any[]) => any) | undefined;
|
|
62
46
|
"onBtn:edit"?: ((...args: any[]) => any) | undefined;
|
|
@@ -69,8 +53,25 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
69
53
|
};
|
|
70
54
|
}, {}>, Partial<Record<string, (_: {}) => any>>>;
|
|
71
55
|
export default _default;
|
|
56
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
57
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
58
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
59
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
60
|
+
} : {
|
|
61
|
+
type: import('vue').PropType<T[K]>;
|
|
62
|
+
required: true;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
type __VLS_WithDefaults<P, D> = {
|
|
66
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
67
|
+
default: D[K];
|
|
68
|
+
}> : P[K];
|
|
69
|
+
};
|
|
72
70
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
73
71
|
new (): {
|
|
74
72
|
$slots: S;
|
|
75
73
|
};
|
|
76
74
|
};
|
|
75
|
+
type __VLS_Prettify<T> = {
|
|
76
|
+
[K in keyof T]: T[K];
|
|
77
|
+
} & {};
|
|
@@ -1,24 +1,19 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
title:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
type: import(
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
title: string;
|
|
3
|
+
description?: string | undefined;
|
|
4
|
+
tooltip?: string | undefined;
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
title: string;
|
|
7
|
+
description?: string | undefined;
|
|
8
|
+
tooltip?: string | undefined;
|
|
9
|
+
}>>>, {}, {}>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
+
type __VLS_TypePropsToRuntimeProps<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]>;
|
|
15
17
|
required: true;
|
|
16
18
|
};
|
|
17
|
-
|
|
18
|
-
type: import("vue").PropType<string>;
|
|
19
|
-
};
|
|
20
|
-
tooltip: {
|
|
21
|
-
type: import("vue").PropType<string>;
|
|
22
|
-
};
|
|
23
|
-
}>>, {}, {}>;
|
|
24
|
-
export default _default;
|
|
19
|
+
};
|
|
@@ -1,28 +1,25 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
title:
|
|
3
|
-
type: import("vue").PropType<string>;
|
|
4
|
-
required: true;
|
|
5
|
-
};
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
title: string;
|
|
6
3
|
items: {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
};
|
|
14
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
-
title: {
|
|
16
|
-
type: import("vue").PropType<string>;
|
|
17
|
-
required: true;
|
|
18
|
-
};
|
|
4
|
+
title: string;
|
|
5
|
+
description: string;
|
|
6
|
+
image: string;
|
|
7
|
+
}[];
|
|
8
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
title: string;
|
|
19
10
|
items: {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
11
|
+
title: string;
|
|
12
|
+
description: string;
|
|
13
|
+
image: string;
|
|
14
|
+
}[];
|
|
15
|
+
}>>>, {}, {}>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
+
} : {
|
|
22
|
+
type: import('vue').PropType<T[K]>;
|
|
25
23
|
required: true;
|
|
26
24
|
};
|
|
27
|
-
}
|
|
28
|
-
export default _default;
|
|
25
|
+
};
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import { MacroStep } from "../../types/MacroStep";
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
-
stepList:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
stepList: MacroStep[];
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
stepList: MacroStep[];
|
|
6
|
+
}>>>, {}, {}>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
+
type __VLS_TypePropsToRuntimeProps<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,38 +1,37 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
label:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
};
|
|
17
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
-
label: {
|
|
19
|
-
type: import("vue").PropType<string>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
modelValue: {
|
|
23
|
-
type: import("vue").PropType<boolean | undefined>;
|
|
24
|
-
required: true;
|
|
25
|
-
};
|
|
26
|
-
error: {
|
|
27
|
-
type: import("vue").PropType<string>;
|
|
28
|
-
};
|
|
29
|
-
errorDisplay: {
|
|
30
|
-
type: import("vue").PropType<boolean>;
|
|
31
|
-
default: boolean;
|
|
32
|
-
};
|
|
33
|
-
}>> & {
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
label: string;
|
|
3
|
+
modelValue: boolean | undefined;
|
|
4
|
+
error?: string | undefined;
|
|
5
|
+
errorDisplay?: boolean | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
errorDisplay: boolean;
|
|
8
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
label: string;
|
|
10
|
+
modelValue: boolean | undefined;
|
|
11
|
+
error?: string | undefined;
|
|
12
|
+
errorDisplay?: boolean | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
errorDisplay: boolean;
|
|
15
|
+
}>>> & {
|
|
34
16
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
35
17
|
}, {
|
|
36
18
|
errorDisplay: boolean;
|
|
37
19
|
}, {}>;
|
|
38
20
|
export default _default;
|
|
21
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
23
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
+
} : {
|
|
26
|
+
type: import('vue').PropType<T[K]>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
type __VLS_WithDefaults<P, D> = {
|
|
31
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
32
|
+
default: D[K];
|
|
33
|
+
}> : P[K];
|
|
34
|
+
};
|
|
35
|
+
type __VLS_Prettify<T> = {
|
|
36
|
+
[K in keyof T]: T[K];
|
|
37
|
+
} & {};
|
|
@@ -1,86 +1,42 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
type: import("vue").PropType<"sm" | "md" | "lg">;
|
|
20
|
-
default: string;
|
|
21
|
-
};
|
|
22
|
-
tooltip: {
|
|
23
|
-
type: import("vue").PropType<string>;
|
|
24
|
-
};
|
|
25
|
-
layout: {
|
|
26
|
-
type: import("vue").PropType<"vertical" | "horizontal">;
|
|
27
|
-
default: string;
|
|
28
|
-
};
|
|
29
|
-
validation: {
|
|
30
|
-
type: import("vue").PropType<any>;
|
|
31
|
-
};
|
|
32
|
-
errorDisplay: {
|
|
33
|
-
type: import("vue").PropType<boolean>;
|
|
34
|
-
default: boolean;
|
|
35
|
-
};
|
|
36
|
-
currency: {
|
|
37
|
-
type: import("vue").PropType<string>;
|
|
38
|
-
default: string;
|
|
39
|
-
};
|
|
40
|
-
}, {
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
title?: string | undefined;
|
|
3
|
+
tooltip?: string | undefined;
|
|
4
|
+
placeholder?: string | undefined;
|
|
5
|
+
layout?: "vertical" | "horizontal" | undefined;
|
|
6
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
7
|
+
validation?: any;
|
|
8
|
+
errorDisplay?: boolean | undefined;
|
|
9
|
+
modelValue: any;
|
|
10
|
+
id?: string | undefined;
|
|
11
|
+
disabled?: (boolean | "true" | "false") | undefined;
|
|
12
|
+
currency?: string | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
layout: string;
|
|
15
|
+
size: string;
|
|
16
|
+
currency: string;
|
|
17
|
+
errorDisplay: boolean;
|
|
18
|
+
}>, {
|
|
41
19
|
errorMessage: import("vue").Ref<string | undefined>;
|
|
42
20
|
meta: import("vee-validate").FieldMeta<any>;
|
|
43
21
|
validate: (opts?: Partial<import("vee-validate").ValidationOptions> | undefined) => Promise<import("vee-validate").ValidationResult>;
|
|
44
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
type: import("vue").PropType<"sm" | "md" | "lg">;
|
|
63
|
-
default: string;
|
|
64
|
-
};
|
|
65
|
-
tooltip: {
|
|
66
|
-
type: import("vue").PropType<string>;
|
|
67
|
-
};
|
|
68
|
-
layout: {
|
|
69
|
-
type: import("vue").PropType<"vertical" | "horizontal">;
|
|
70
|
-
default: string;
|
|
71
|
-
};
|
|
72
|
-
validation: {
|
|
73
|
-
type: import("vue").PropType<any>;
|
|
74
|
-
};
|
|
75
|
-
errorDisplay: {
|
|
76
|
-
type: import("vue").PropType<boolean>;
|
|
77
|
-
default: boolean;
|
|
78
|
-
};
|
|
79
|
-
currency: {
|
|
80
|
-
type: import("vue").PropType<string>;
|
|
81
|
-
default: string;
|
|
82
|
-
};
|
|
83
|
-
}>> & {
|
|
22
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
23
|
+
title?: string | undefined;
|
|
24
|
+
tooltip?: string | undefined;
|
|
25
|
+
placeholder?: string | undefined;
|
|
26
|
+
layout?: "vertical" | "horizontal" | undefined;
|
|
27
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
28
|
+
validation?: any;
|
|
29
|
+
errorDisplay?: boolean | undefined;
|
|
30
|
+
modelValue: any;
|
|
31
|
+
id?: string | undefined;
|
|
32
|
+
disabled?: (boolean | "true" | "false") | undefined;
|
|
33
|
+
currency?: string | undefined;
|
|
34
|
+
}>, {
|
|
35
|
+
layout: string;
|
|
36
|
+
size: string;
|
|
37
|
+
currency: string;
|
|
38
|
+
errorDisplay: boolean;
|
|
39
|
+
}>>> & {
|
|
84
40
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
85
41
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
86
42
|
}, {
|
|
@@ -90,3 +46,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
90
46
|
currency: string;
|
|
91
47
|
}, {}>;
|
|
92
48
|
export default _default;
|
|
49
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
50
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
51
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
52
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
53
|
+
} : {
|
|
54
|
+
type: import('vue').PropType<T[K]>;
|
|
55
|
+
required: true;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
type __VLS_WithDefaults<P, D> = {
|
|
59
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
60
|
+
default: D[K];
|
|
61
|
+
}> : P[K];
|
|
62
|
+
};
|
|
63
|
+
type __VLS_Prettify<T> = {
|
|
64
|
+
[K in keyof T]: T[K];
|
|
65
|
+
} & {};
|