cja-phoenix 0.2.3 → 0.2.5
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/cja-phoenix.es.js +2808 -3294
- package/dist/style.css +1 -1
- package/dist/types/components/composite/CjaMenuBar.vue.d.ts +42 -0
- package/dist/types/components/composite/FunnelLayout.vue.d.ts +35 -0
- package/dist/types/components/composite/FunnelSubmit.vue.d.ts +2 -2
- package/dist/types/components/composite/FunnelSummary.vue.d.ts +14 -9
- package/dist/types/components/composite/FunnelTitle.vue.d.ts +1 -1
- package/dist/types/components/composite/JourneyMacroSteps.vue.d.ts +16 -0
- package/dist/types/components/composite/ProductDetails.vue.d.ts +4 -4
- package/dist/types/components/composite/ResultsLayout.vue.d.ts +11 -0
- package/dist/types/components/forms/CheckboxInput.vue.d.ts +8 -5
- package/dist/types/components/forms/FileInput.vue.d.ts +7 -4
- package/dist/types/components/forms/InputToggle.vue.d.ts +11 -7
- package/dist/types/components/forms/NumberInput.vue.d.ts +6 -3
- package/dist/types/components/forms/PhoneInput.vue.d.ts +18 -16
- package/dist/types/components/forms/RadioInput.vue.d.ts +41 -0
- package/dist/types/components/forms/SelectInput.vue.d.ts +18 -17
- package/dist/types/components/forms/SelectionTiles.vue.d.ts +7 -4
- package/dist/types/components/forms/TextInput.vue.d.ts +20 -18
- package/dist/types/components/forms/TileCheckboxInput.vue.d.ts +1 -1
- package/dist/types/components/forms/structure/InputContainer.vue.d.ts +2 -2
- package/dist/types/components/forms/structure/InputError.vue.d.ts +1 -1
- package/dist/types/components/forms/structure/InputTitle.vue.d.ts +1 -1
- package/dist/types/components/index.d.ts +10 -3
- package/dist/types/components/structural/CjaButton.vue.d.ts +8 -5
- package/dist/types/components/structural/CollapseContainer.vue.d.ts +3 -3
- package/dist/types/components/structural/ContentTabs.vue.d.ts +1 -1
- package/dist/types/components/structural/FixedContainer.vue.d.ts +63 -0
- package/dist/types/components/structural/GridContainer.vue.d.ts +9 -6
- package/dist/types/components/structural/GridItem.vue.d.ts +8 -8
- package/dist/types/components/structural/InfoMessage.vue.d.ts +30 -0
- package/dist/types/components/structural/LoadingSpinner.vue.d.ts +1 -1
- package/dist/types/components/structural/Modal.vue.d.ts +3 -3
- package/dist/types/components/structural/Scaffold.vue.d.ts +2 -2
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stories/Modal.story.vue.d.ts +1 -1
- package/dist/types/types/MacroStep.d.ts +5 -0
- package/dist/types/types/index.d.ts +5 -0
- package/package.json +4 -4
- package/src/assets/iconia/demo.html +57 -1
- package/src/assets/iconia/fonts/CGG-icomoon.eot +0 -0
- package/src/assets/iconia/fonts/CGG-icomoon.svg +4 -0
- package/src/assets/iconia/fonts/CGG-icomoon.ttf +0 -0
- package/src/assets/iconia/fonts/CGG-icomoon.woff +0 -0
- package/src/assets/iconia/selection.json +1 -1
- package/src/assets/iconia/style.css +17 -5
- package/src/assets/iconia/style.scss +25 -5
- package/src/assets/iconia/variables.scss +4 -0
- package/src/components/composite/CjaMenuBar.vue +166 -0
- package/src/components/composite/FunnelLayout.vue +194 -0
- package/src/components/composite/FunnelSubmit.vue +20 -11
- package/src/components/composite/FunnelSummary.vue +16 -10
- package/src/components/composite/JourneyMacroSteps.vue +73 -0
- package/src/components/composite/ProductDetails.vue +4 -2
- package/src/components/composite/ResultsLayout.vue +49 -0
- package/src/components/forms/InputToggle.vue +6 -1
- package/src/components/forms/PhoneInput.vue +15 -6
- package/src/components/forms/RadioInput.vue +90 -0
- package/src/components/forms/SelectInput.vue +17 -7
- package/src/components/forms/SelectionTiles.vue +18 -5
- package/src/components/index.ts +16 -2
- package/src/components/structural/CjaButton.vue +14 -9
- package/src/components/structural/CollapseContainer.vue +35 -32
- package/src/components/structural/FixedContainer.vue +87 -0
- package/src/components/structural/InfoMessage.vue +97 -0
- package/src/index.ts +1 -0
- package/src/types/MacroStep.ts +5 -0
- package/src/types/index.ts +6 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { InputHTMLAttributes } from "vue";
|
|
2
1
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
2
|
size?: "sm" | "md" | "lg" | undefined;
|
|
4
|
-
disabled?:
|
|
3
|
+
disabled?: (boolean | "true" | "false") | undefined;
|
|
5
4
|
validation?: any;
|
|
6
5
|
label: string;
|
|
7
6
|
modelValue: boolean;
|
|
7
|
+
fullWidth: boolean;
|
|
8
8
|
error?: string | undefined;
|
|
9
9
|
errorDisplay?: boolean | undefined;
|
|
10
10
|
}>, {
|
|
@@ -13,10 +13,11 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
13
13
|
errorDisplay: boolean;
|
|
14
14
|
}>, {}, 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<{
|
|
15
15
|
size?: "sm" | "md" | "lg" | undefined;
|
|
16
|
-
disabled?:
|
|
16
|
+
disabled?: (boolean | "true" | "false") | undefined;
|
|
17
17
|
validation?: any;
|
|
18
18
|
label: string;
|
|
19
19
|
modelValue: boolean;
|
|
20
|
+
fullWidth: boolean;
|
|
20
21
|
error?: string | undefined;
|
|
21
22
|
errorDisplay?: boolean | undefined;
|
|
22
23
|
}>, {
|
|
@@ -27,9 +28,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
27
28
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
28
29
|
}, {
|
|
29
30
|
size: "sm" | "md" | "lg";
|
|
30
|
-
errorDisplay: boolean;
|
|
31
31
|
disabled: boolean | "true" | "false";
|
|
32
|
-
|
|
32
|
+
errorDisplay: boolean;
|
|
33
|
+
}, {}>;
|
|
33
34
|
export default _default;
|
|
34
35
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
36
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -41,7 +42,10 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
41
42
|
};
|
|
42
43
|
};
|
|
43
44
|
type __VLS_WithDefaults<P, D> = {
|
|
44
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
45
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
45
46
|
default: D[K];
|
|
46
|
-
} : P[K];
|
|
47
|
+
}> : P[K];
|
|
47
48
|
};
|
|
49
|
+
type __VLS_Prettify<T> = {
|
|
50
|
+
[K in keyof T]: T[K];
|
|
51
|
+
} & {};
|
|
@@ -37,7 +37,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
37
37
|
modelValue: number;
|
|
38
38
|
min: number;
|
|
39
39
|
step: number;
|
|
40
|
-
}>;
|
|
40
|
+
}, {}>;
|
|
41
41
|
export default _default;
|
|
42
42
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
43
43
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -49,7 +49,10 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
49
49
|
};
|
|
50
50
|
};
|
|
51
51
|
type __VLS_WithDefaults<P, D> = {
|
|
52
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
52
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
53
53
|
default: D[K];
|
|
54
|
-
} : P[K];
|
|
54
|
+
}> : P[K];
|
|
55
55
|
};
|
|
56
|
+
type __VLS_Prettify<T> = {
|
|
57
|
+
[K in keyof T]: T[K];
|
|
58
|
+
} & {};
|
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import { InputHTMLAttributes } from "vue";
|
|
2
1
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
2
|
title?: string | undefined;
|
|
4
3
|
tooltip?: string | undefined;
|
|
5
|
-
placeholder?:
|
|
4
|
+
placeholder?: string | undefined;
|
|
6
5
|
layout?: "vertical" | "horizontal" | undefined;
|
|
7
6
|
size?: "sm" | "md" | "lg" | undefined;
|
|
8
7
|
error?: string | undefined;
|
|
9
8
|
validation?: any;
|
|
10
9
|
errorDisplay?: boolean | undefined;
|
|
11
|
-
modelValue:
|
|
12
|
-
id?:
|
|
13
|
-
disabled?:
|
|
14
|
-
phoneCountryCode
|
|
15
|
-
autocomplete?:
|
|
10
|
+
modelValue: any;
|
|
11
|
+
id?: string | undefined;
|
|
12
|
+
disabled?: (boolean | "true" | "false") | undefined;
|
|
13
|
+
phoneCountryCode?: number | undefined;
|
|
14
|
+
autocomplete?: string | undefined;
|
|
16
15
|
}>, {
|
|
17
16
|
layout: string;
|
|
18
17
|
size: string;
|
|
@@ -25,17 +24,17 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
25
24
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:phoneCountryCode")[], "update:modelValue" | "update:phoneCountryCode", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
26
25
|
title?: string | undefined;
|
|
27
26
|
tooltip?: string | undefined;
|
|
28
|
-
placeholder?:
|
|
27
|
+
placeholder?: string | undefined;
|
|
29
28
|
layout?: "vertical" | "horizontal" | undefined;
|
|
30
29
|
size?: "sm" | "md" | "lg" | undefined;
|
|
31
30
|
error?: string | undefined;
|
|
32
31
|
validation?: any;
|
|
33
32
|
errorDisplay?: boolean | undefined;
|
|
34
|
-
modelValue:
|
|
35
|
-
id?:
|
|
36
|
-
disabled?:
|
|
37
|
-
phoneCountryCode
|
|
38
|
-
autocomplete?:
|
|
33
|
+
modelValue: any;
|
|
34
|
+
id?: string | undefined;
|
|
35
|
+
disabled?: (boolean | "true" | "false") | undefined;
|
|
36
|
+
phoneCountryCode?: number | undefined;
|
|
37
|
+
autocomplete?: string | undefined;
|
|
39
38
|
}>, {
|
|
40
39
|
layout: string;
|
|
41
40
|
size: string;
|
|
@@ -49,7 +48,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
49
48
|
layout: "vertical" | "horizontal";
|
|
50
49
|
errorDisplay: boolean;
|
|
51
50
|
phoneCountryCode: number;
|
|
52
|
-
}>;
|
|
51
|
+
}, {}>;
|
|
53
52
|
export default _default;
|
|
54
53
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
55
54
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -61,7 +60,10 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
61
60
|
};
|
|
62
61
|
};
|
|
63
62
|
type __VLS_WithDefaults<P, D> = {
|
|
64
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
63
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
65
64
|
default: D[K];
|
|
66
|
-
} : P[K];
|
|
65
|
+
}> : P[K];
|
|
67
66
|
};
|
|
67
|
+
type __VLS_Prettify<T> = {
|
|
68
|
+
[K in keyof T]: T[K];
|
|
69
|
+
} & {};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
name: string;
|
|
3
|
+
value: any;
|
|
4
|
+
label: string;
|
|
5
|
+
modelValue?: any;
|
|
6
|
+
error?: string | undefined;
|
|
7
|
+
errorDisplay?: boolean | undefined;
|
|
8
|
+
}>, {
|
|
9
|
+
errorDisplay: boolean;
|
|
10
|
+
}>, {}, 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<{
|
|
11
|
+
name: string;
|
|
12
|
+
value: any;
|
|
13
|
+
label: string;
|
|
14
|
+
modelValue?: any;
|
|
15
|
+
error?: string | undefined;
|
|
16
|
+
errorDisplay?: boolean | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
errorDisplay: boolean;
|
|
19
|
+
}>>> & {
|
|
20
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
21
|
+
}, {
|
|
22
|
+
errorDisplay: boolean;
|
|
23
|
+
}, {}>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
27
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
28
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
29
|
+
} : {
|
|
30
|
+
type: import('vue').PropType<T[K]>;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
type __VLS_WithDefaults<P, D> = {
|
|
35
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
36
|
+
default: D[K];
|
|
37
|
+
}> : P[K];
|
|
38
|
+
};
|
|
39
|
+
type __VLS_Prettify<T> = {
|
|
40
|
+
[K in keyof T]: T[K];
|
|
41
|
+
} & {};
|
|
@@ -1,19 +1,17 @@
|
|
|
1
|
-
import { InputHTMLAttributes } from "vue";
|
|
2
|
-
import { SelectHTMLAttributes } from "vue";
|
|
3
1
|
import { SelectOption } from "../../types/SelectOption";
|
|
4
2
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
5
3
|
title?: string | undefined;
|
|
6
4
|
tooltip?: string | undefined;
|
|
7
|
-
placeholder?:
|
|
5
|
+
placeholder?: string | undefined;
|
|
8
6
|
layout?: "vertical" | "horizontal" | undefined;
|
|
9
7
|
size?: "sm" | "md" | "lg" | undefined;
|
|
10
8
|
error?: string | undefined;
|
|
11
9
|
validation?: any;
|
|
12
10
|
errorDisplay?: boolean | undefined;
|
|
13
|
-
id?:
|
|
14
|
-
disabled?:
|
|
15
|
-
modelValue:
|
|
16
|
-
options: SelectOption[];
|
|
11
|
+
id?: string | undefined;
|
|
12
|
+
disabled?: (boolean | "true" | "false") | undefined;
|
|
13
|
+
modelValue: any;
|
|
14
|
+
options: SelectOption[] | null;
|
|
17
15
|
multiSelect?: boolean | undefined;
|
|
18
16
|
searchFilter?: {
|
|
19
17
|
placeholder: string;
|
|
@@ -32,16 +30,16 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
32
30
|
}, 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<{
|
|
33
31
|
title?: string | undefined;
|
|
34
32
|
tooltip?: string | undefined;
|
|
35
|
-
placeholder?:
|
|
33
|
+
placeholder?: string | undefined;
|
|
36
34
|
layout?: "vertical" | "horizontal" | undefined;
|
|
37
35
|
size?: "sm" | "md" | "lg" | undefined;
|
|
38
36
|
error?: string | undefined;
|
|
39
37
|
validation?: any;
|
|
40
38
|
errorDisplay?: boolean | undefined;
|
|
41
|
-
id?:
|
|
42
|
-
disabled?:
|
|
43
|
-
modelValue:
|
|
44
|
-
options: SelectOption[];
|
|
39
|
+
id?: string | undefined;
|
|
40
|
+
disabled?: (boolean | "true" | "false") | undefined;
|
|
41
|
+
modelValue: any;
|
|
42
|
+
options: SelectOption[] | null;
|
|
45
43
|
multiSelect?: boolean | undefined;
|
|
46
44
|
searchFilter?: {
|
|
47
45
|
placeholder: string;
|
|
@@ -56,12 +54,12 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
56
54
|
}>>> & {
|
|
57
55
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
58
56
|
}, {
|
|
57
|
+
placeholder: string;
|
|
59
58
|
size: "sm" | "md" | "lg";
|
|
59
|
+
disabled: boolean | "true" | "false";
|
|
60
60
|
layout: "vertical" | "horizontal";
|
|
61
|
-
placeholder: string;
|
|
62
61
|
errorDisplay: boolean;
|
|
63
|
-
|
|
64
|
-
}>;
|
|
62
|
+
}, {}>;
|
|
65
63
|
export default _default;
|
|
66
64
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
67
65
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -73,7 +71,10 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
73
71
|
};
|
|
74
72
|
};
|
|
75
73
|
type __VLS_WithDefaults<P, D> = {
|
|
76
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
74
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
77
75
|
default: D[K];
|
|
78
|
-
} : P[K];
|
|
76
|
+
}> : P[K];
|
|
79
77
|
};
|
|
78
|
+
type __VLS_Prettify<T> = {
|
|
79
|
+
[K in keyof T]: T[K];
|
|
80
|
+
} & {};
|
|
@@ -28,9 +28,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
28
28
|
}>>> & {
|
|
29
29
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
30
30
|
}, {
|
|
31
|
-
layout: "
|
|
31
|
+
layout: "image" | "list" | "grid";
|
|
32
32
|
errorDisplay: boolean;
|
|
33
|
-
}>;
|
|
33
|
+
}, {}>;
|
|
34
34
|
export default _default;
|
|
35
35
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
36
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -42,7 +42,10 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
42
42
|
};
|
|
43
43
|
};
|
|
44
44
|
type __VLS_WithDefaults<P, D> = {
|
|
45
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
45
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
46
46
|
default: D[K];
|
|
47
|
-
} : P[K];
|
|
47
|
+
}> : P[K];
|
|
48
48
|
};
|
|
49
|
+
type __VLS_Prettify<T> = {
|
|
50
|
+
[K in keyof T]: T[K];
|
|
51
|
+
} & {};
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import { InputHTMLAttributes } from "vue";
|
|
2
1
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
2
|
title?: string | undefined;
|
|
4
3
|
tooltip?: string | undefined;
|
|
5
|
-
placeholder?:
|
|
4
|
+
placeholder?: string | undefined;
|
|
6
5
|
layout?: "vertical" | "horizontal" | undefined;
|
|
7
6
|
size?: "sm" | "md" | "lg" | undefined;
|
|
8
7
|
validation?: any;
|
|
9
8
|
errorDisplay?: boolean | undefined;
|
|
10
|
-
modelValue:
|
|
11
|
-
id?:
|
|
12
|
-
disabled?:
|
|
9
|
+
modelValue: any;
|
|
10
|
+
id?: string | undefined;
|
|
11
|
+
disabled?: (boolean | "true" | "false") | undefined;
|
|
13
12
|
mask?: string | undefined;
|
|
14
13
|
icon?: string | undefined;
|
|
15
|
-
inputmode?:
|
|
16
|
-
type?:
|
|
17
|
-
autocomplete?:
|
|
14
|
+
inputmode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
15
|
+
type?: string | undefined;
|
|
16
|
+
autocomplete?: string | undefined;
|
|
18
17
|
suffix?: string | undefined;
|
|
19
18
|
}>, {
|
|
20
19
|
layout: string;
|
|
@@ -28,19 +27,19 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
28
27
|
}, 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<{
|
|
29
28
|
title?: string | undefined;
|
|
30
29
|
tooltip?: string | undefined;
|
|
31
|
-
placeholder?:
|
|
30
|
+
placeholder?: string | undefined;
|
|
32
31
|
layout?: "vertical" | "horizontal" | undefined;
|
|
33
32
|
size?: "sm" | "md" | "lg" | undefined;
|
|
34
33
|
validation?: any;
|
|
35
34
|
errorDisplay?: boolean | undefined;
|
|
36
|
-
modelValue:
|
|
37
|
-
id?:
|
|
38
|
-
disabled?:
|
|
35
|
+
modelValue: any;
|
|
36
|
+
id?: string | undefined;
|
|
37
|
+
disabled?: (boolean | "true" | "false") | undefined;
|
|
39
38
|
mask?: string | undefined;
|
|
40
39
|
icon?: string | undefined;
|
|
41
|
-
inputmode?:
|
|
42
|
-
type?:
|
|
43
|
-
autocomplete?:
|
|
40
|
+
inputmode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
41
|
+
type?: string | undefined;
|
|
42
|
+
autocomplete?: string | undefined;
|
|
44
43
|
suffix?: string | undefined;
|
|
45
44
|
}>, {
|
|
46
45
|
layout: string;
|
|
@@ -54,7 +53,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
54
53
|
size: "sm" | "md" | "lg";
|
|
55
54
|
layout: "vertical" | "horizontal";
|
|
56
55
|
errorDisplay: boolean;
|
|
57
|
-
}>;
|
|
56
|
+
}, {}>;
|
|
58
57
|
export default _default;
|
|
59
58
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
60
59
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -66,7 +65,10 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
66
65
|
};
|
|
67
66
|
};
|
|
68
67
|
type __VLS_WithDefaults<P, D> = {
|
|
69
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
68
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
70
69
|
default: D[K];
|
|
71
|
-
} : P[K];
|
|
70
|
+
}> : P[K];
|
|
72
71
|
};
|
|
72
|
+
type __VLS_Prettify<T> = {
|
|
73
|
+
[K in keyof T]: T[K];
|
|
74
|
+
} & {};
|
|
@@ -10,7 +10,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
10
10
|
modelValue: boolean;
|
|
11
11
|
}>>> & {
|
|
12
12
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
13
|
-
}, {}>;
|
|
13
|
+
}, {}, {}>;
|
|
14
14
|
export default _default;
|
|
15
15
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
16
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -2,8 +2,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
2
2
|
layout?: "vertical" | "horizontal" | undefined;
|
|
3
3
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
4
|
layout?: "vertical" | "horizontal" | undefined;
|
|
5
|
-
}>>>, {}>, {
|
|
6
|
-
default
|
|
5
|
+
}>>>, {}, {}>, {
|
|
6
|
+
default?(_: {}): any;
|
|
7
7
|
}>;
|
|
8
8
|
export default _default;
|
|
9
9
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -2,7 +2,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
2
2
|
error: string;
|
|
3
3
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
4
|
error: string;
|
|
5
|
-
}>>>, {}>;
|
|
5
|
+
}>>>, {}, {}>;
|
|
6
6
|
export default _default;
|
|
7
7
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
8
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -6,7 +6,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
6
6
|
title: string;
|
|
7
7
|
tooltip?: string | undefined;
|
|
8
8
|
size?: "sm" | "md" | "lg" | undefined;
|
|
9
|
-
}>>>, {}>;
|
|
9
|
+
}>>>, {}, {}>;
|
|
10
10
|
export default _default;
|
|
11
11
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
12
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -2,21 +2,28 @@ import Modal from "./structural/Modal.vue";
|
|
|
2
2
|
import CjaButton from "./structural/CjaButton.vue";
|
|
3
3
|
import LoadingSpinner from "./structural/LoadingSpinner.vue";
|
|
4
4
|
import ContentTabs from "./structural/ContentTabs.vue";
|
|
5
|
+
import InfoMessage from "./structural/InfoMessage.vue";
|
|
5
6
|
import Scaffold from "./structural/Scaffold.vue";
|
|
6
7
|
import GridContainer from "./structural/GridContainer.vue";
|
|
7
8
|
import GridItem from "./structural/GridItem.vue";
|
|
9
|
+
import CollapseContainer from "./structural/CollapseContainer.vue";
|
|
10
|
+
import FixedContainer from "./structural/FixedContainer.vue";
|
|
8
11
|
import TextInput from "./forms/TextInput.vue";
|
|
9
12
|
import PhoneInput from "./forms/PhoneInput.vue";
|
|
10
13
|
import CheckboxInput from "./forms/CheckboxInput.vue";
|
|
14
|
+
import RadioInput from "./forms/RadioInput.vue";
|
|
11
15
|
import TileCheckboxInput from "./forms/TileCheckboxInput.vue";
|
|
12
16
|
import SelectInput from "./forms/SelectInput.vue";
|
|
13
17
|
import FileInput from "./forms/FileInput.vue";
|
|
14
18
|
import NumberInput from "./forms/NumberInput.vue";
|
|
15
19
|
import InputToggle from "./forms/InputToggle.vue";
|
|
16
|
-
import CollapseContainer from "./structural/CollapseContainer.vue";
|
|
17
20
|
import SelectionTiles from "./forms/SelectionTiles.vue";
|
|
18
|
-
import
|
|
21
|
+
import JourneyMacroSteps from "./composite/JourneyMacroSteps.vue";
|
|
22
|
+
import FunnelLayout from "./composite/FunnelLayout.vue";
|
|
19
23
|
import FunnelSubmit from "./composite/FunnelSubmit.vue";
|
|
20
24
|
import FunnelSummary from "./composite/FunnelSummary.vue";
|
|
21
25
|
import FunnelTitle from "./composite/FunnelTitle.vue";
|
|
22
|
-
|
|
26
|
+
import ResultsLayout from "./composite/ResultsLayout.vue";
|
|
27
|
+
import ProductDetails from "./composite/ProductDetails.vue";
|
|
28
|
+
import CjaMenuBar from "./composite/CjaMenuBar.vue";
|
|
29
|
+
export { Modal, CjaButton, TextInput, PhoneInput, RadioInput, CheckboxInput, TileCheckboxInput, NumberInput, SelectInput, SelectionTiles, LoadingSpinner, Scaffold, ProductDetails, InputToggle, FileInput, ContentTabs, CollapseContainer, GridContainer, GridItem, FunnelLayout, FunnelSubmit, FunnelSummary, FunnelTitle, JourneyMacroSteps, CjaMenuBar, FixedContainer, ResultsLayout, InfoMessage, };
|
|
@@ -24,11 +24,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
24
24
|
iconPosition: string;
|
|
25
25
|
}>>>, {
|
|
26
26
|
type: "primary" | "secondary" | "tertiary";
|
|
27
|
-
size: "sm" | "md" | "lg";
|
|
28
27
|
color: "blue" | "orange" | "white";
|
|
28
|
+
size: "sm" | "md" | "lg";
|
|
29
29
|
iconPosition: "left" | "right";
|
|
30
|
-
}>, {
|
|
31
|
-
default
|
|
30
|
+
}, {}>, {
|
|
31
|
+
default?(_: {}): any;
|
|
32
32
|
}>;
|
|
33
33
|
export default _default;
|
|
34
34
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -41,12 +41,15 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
43
|
type __VLS_WithDefaults<P, D> = {
|
|
44
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
44
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
45
45
|
default: D[K];
|
|
46
|
-
} : P[K];
|
|
46
|
+
}> : P[K];
|
|
47
47
|
};
|
|
48
48
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
49
49
|
new (): {
|
|
50
50
|
$slots: S;
|
|
51
51
|
};
|
|
52
52
|
};
|
|
53
|
+
type __VLS_Prettify<T> = {
|
|
54
|
+
[K in keyof T]: T[K];
|
|
55
|
+
} & {};
|
|
@@ -8,9 +8,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
8
8
|
scrollToContent?: {
|
|
9
9
|
element: HTMLElement;
|
|
10
10
|
} | undefined;
|
|
11
|
-
}>>>, {}>, {
|
|
12
|
-
header
|
|
13
|
-
content
|
|
11
|
+
}>>>, {}, {}>, {
|
|
12
|
+
header?(_: {}): any;
|
|
13
|
+
content?(_: {}): any;
|
|
14
14
|
}>;
|
|
15
15
|
export default _default;
|
|
16
16
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -9,7 +9,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
9
9
|
tabs: Tab[];
|
|
10
10
|
}>>> & {
|
|
11
11
|
"onTab:changed"?: ((...args: any[]) => any) | undefined;
|
|
12
|
-
}, {}>, Record<string, (_: {}) => any
|
|
12
|
+
}, {}, {}>, Partial<Record<string, (_: {}) => any>>>;
|
|
13
13
|
export default _default;
|
|
14
14
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
15
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
scrollThreshold?: number | undefined;
|
|
3
|
+
fixWidth?: boolean | undefined;
|
|
4
|
+
size?: {
|
|
5
|
+
height?: string | undefined;
|
|
6
|
+
width?: string | undefined;
|
|
7
|
+
} | undefined;
|
|
8
|
+
position?: {
|
|
9
|
+
left?: string | undefined;
|
|
10
|
+
top?: string | undefined;
|
|
11
|
+
right?: string | undefined;
|
|
12
|
+
bottom?: string | undefined;
|
|
13
|
+
} | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
scrollThreshold: number;
|
|
16
|
+
fixWidth: boolean;
|
|
17
|
+
}>, {
|
|
18
|
+
positionFixed: import("vue").Ref<boolean>;
|
|
19
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
20
|
+
scrollThreshold?: number | undefined;
|
|
21
|
+
fixWidth?: boolean | undefined;
|
|
22
|
+
size?: {
|
|
23
|
+
height?: string | undefined;
|
|
24
|
+
width?: string | undefined;
|
|
25
|
+
} | undefined;
|
|
26
|
+
position?: {
|
|
27
|
+
left?: string | undefined;
|
|
28
|
+
top?: string | undefined;
|
|
29
|
+
right?: string | undefined;
|
|
30
|
+
bottom?: string | undefined;
|
|
31
|
+
} | undefined;
|
|
32
|
+
}>, {
|
|
33
|
+
scrollThreshold: number;
|
|
34
|
+
fixWidth: boolean;
|
|
35
|
+
}>>>, {
|
|
36
|
+
scrollThreshold: number;
|
|
37
|
+
fixWidth: boolean;
|
|
38
|
+
}, {}>, {
|
|
39
|
+
default?(_: {}): any;
|
|
40
|
+
}>;
|
|
41
|
+
export default _default;
|
|
42
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
43
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
44
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
45
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
46
|
+
} : {
|
|
47
|
+
type: import('vue').PropType<T[K]>;
|
|
48
|
+
required: true;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
type __VLS_WithDefaults<P, D> = {
|
|
52
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
53
|
+
default: D[K];
|
|
54
|
+
}> : P[K];
|
|
55
|
+
};
|
|
56
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
57
|
+
new (): {
|
|
58
|
+
$slots: S;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
type __VLS_Prettify<T> = {
|
|
62
|
+
[K in keyof T]: T[K];
|
|
63
|
+
} & {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
-
size?:
|
|
2
|
+
size?: 1 | 2 | 3 | undefined;
|
|
3
3
|
}>, {
|
|
4
4
|
size: number;
|
|
5
5
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
-
size?:
|
|
6
|
+
size?: 1 | 2 | 3 | undefined;
|
|
7
7
|
}>, {
|
|
8
8
|
size: number;
|
|
9
9
|
}>>>, {
|
|
10
10
|
size: 1 | 2 | 3;
|
|
11
|
-
}>, {
|
|
12
|
-
default
|
|
11
|
+
}, {}>, {
|
|
12
|
+
default?(_: {}): any;
|
|
13
13
|
}>;
|
|
14
14
|
export default _default;
|
|
15
15
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -22,12 +22,15 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
24
|
type __VLS_WithDefaults<P, D> = {
|
|
25
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
25
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
26
26
|
default: D[K];
|
|
27
|
-
} : P[K];
|
|
27
|
+
}> : P[K];
|
|
28
28
|
};
|
|
29
29
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
30
|
new (): {
|
|
31
31
|
$slots: S;
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
|
+
type __VLS_Prettify<T> = {
|
|
35
|
+
[K in keyof T]: T[K];
|
|
36
|
+
} & {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
-
sizeSm?:
|
|
3
|
-
sizeMd?:
|
|
4
|
-
sizeLg?:
|
|
2
|
+
sizeSm?: 1 | 2 | 3 | 4 | undefined;
|
|
3
|
+
sizeMd?: 1 | 2 | 3 | 4 | undefined;
|
|
4
|
+
sizeLg?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | undefined;
|
|
5
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
|
-
sizeSm?:
|
|
7
|
-
sizeMd?:
|
|
8
|
-
sizeLg?:
|
|
9
|
-
}>>>, {}>, {
|
|
10
|
-
default
|
|
6
|
+
sizeSm?: 1 | 2 | 3 | 4 | undefined;
|
|
7
|
+
sizeMd?: 1 | 2 | 3 | 4 | undefined;
|
|
8
|
+
sizeLg?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | undefined;
|
|
9
|
+
}>>>, {}, {}>, {
|
|
10
|
+
default?(_: {}): any;
|
|
11
11
|
}>;
|
|
12
12
|
export default _default;
|
|
13
13
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|