@coorpacademy/components 11.15.2 → 11.15.3
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/es/molecule/expandable-item/index.d.ts +19 -0
- package/es/molecule/expandable-item/index.d.ts.map +1 -0
- package/es/molecule/expandable-item/index.js +44 -0
- package/es/molecule/expandable-item/index.js.map +1 -0
- package/es/molecule/expandable-item/style.css +129 -0
- package/es/molecule/expandable-item/types.d.ts +20 -0
- package/es/molecule/expandable-item/types.d.ts.map +1 -0
- package/es/molecule/expandable-item/types.js +11 -0
- package/es/molecule/expandable-item/types.js.map +1 -0
- package/es/molecule/expandable-list/index.d.ts +18 -0
- package/es/molecule/expandable-list/index.d.ts.map +1 -0
- package/es/molecule/expandable-list/index.js +23 -0
- package/es/molecule/expandable-list/index.js.map +1 -0
- package/es/molecule/expandable-list/style.css +20 -0
- package/es/molecule/expandable-list/types.d.ts +17 -0
- package/es/molecule/expandable-list/types.d.ts.map +1 -0
- package/es/molecule/expandable-list/types.js +6 -0
- package/es/molecule/expandable-list/types.js.map +1 -0
- package/es/molecule/hero/index.d.ts +30 -26
- package/es/molecule/hero/index.d.ts.map +1 -1
- package/es/molecule/hero/index.js +14 -13
- package/es/molecule/hero/index.js.map +1 -1
- package/es/molecule/hero/style.css +42 -0
- package/es/molecule/hero/types.d.ts +22 -0
- package/es/molecule/hero/types.d.ts.map +1 -0
- package/es/molecule/hero/types.js +14 -0
- package/es/molecule/hero/types.js.map +1 -0
- package/es/molecule/menu-links/index.d.ts +23 -0
- package/es/molecule/menu-links/index.d.ts.map +1 -0
- package/es/molecule/menu-links/index.js +75 -0
- package/es/molecule/menu-links/index.js.map +1 -0
- package/es/molecule/menu-links/style.css +166 -0
- package/es/molecule/menu-links/types.d.ts +37 -0
- package/es/molecule/menu-links/types.d.ts.map +1 -0
- package/es/molecule/menu-links/types.js +18 -0
- package/es/molecule/menu-links/types.js.map +1 -0
- package/es/molecule/privacy-policy-contact/index.d.ts +14 -0
- package/es/molecule/privacy-policy-contact/index.d.ts.map +1 -0
- package/es/molecule/privacy-policy-contact/index.js +28 -0
- package/es/molecule/privacy-policy-contact/index.js.map +1 -0
- package/es/molecule/privacy-policy-contact/style.css +39 -0
- package/es/molecule/privacy-policy-contact/types.d.ts +10 -0
- package/es/molecule/privacy-policy-contact/types.d.ts.map +1 -0
- package/es/molecule/privacy-policy-contact/types.js +6 -0
- package/es/molecule/privacy-policy-contact/types.js.map +1 -0
- package/es/molecule/quick-access-card/index.d.ts +1 -0
- package/es/molecule/quick-access-card/index.d.ts.map +1 -1
- package/es/molecule/quick-access-card/index.js +88 -25
- package/es/molecule/quick-access-card/index.js.map +1 -1
- package/es/molecule/quick-access-card/style.css +32 -21
- package/es/molecule/quick-access-cards-group/index.d.ts +1 -0
- package/es/organism/brand-dashboard/index.d.ts +1 -0
- package/es/template/back-office/brand-update/index.d.ts +1 -0
- package/es/template/common/faq-article-page/index.d.ts +27 -0
- package/es/template/common/faq-article-page/index.d.ts.map +1 -0
- package/es/template/common/faq-article-page/index.js +55 -0
- package/es/template/common/faq-article-page/index.js.map +1 -0
- package/es/template/common/faq-article-page/style.css +125 -0
- package/es/template/common/faq-article-page/types.d.ts +41 -0
- package/es/template/common/faq-article-page/types.d.ts.map +1 -0
- package/es/template/common/faq-article-page/types.js +20 -0
- package/es/template/common/faq-article-page/types.js.map +1 -0
- package/es/template/common/faq-cards-page/index.d.ts +33 -0
- package/es/template/common/faq-cards-page/index.d.ts.map +1 -0
- package/es/template/common/faq-cards-page/index.js +45 -0
- package/es/template/common/faq-cards-page/index.js.map +1 -0
- package/es/template/common/faq-cards-page/style.css +106 -0
- package/es/template/common/faq-cards-page/types.d.ts +45 -0
- package/es/template/common/faq-cards-page/types.d.ts.map +1 -0
- package/es/template/common/faq-cards-page/types.js +18 -0
- package/es/template/common/faq-cards-page/types.js.map +1 -0
- package/es/template/common/faq-page/index.d.ts +50 -0
- package/es/template/common/faq-page/index.d.ts.map +1 -0
- package/es/template/common/faq-page/index.js +44 -0
- package/es/template/common/faq-page/index.js.map +1 -0
- package/es/template/common/faq-page/style.css +112 -0
- package/es/template/common/faq-page/types.d.ts +55 -0
- package/es/template/common/faq-page/types.d.ts.map +1 -0
- package/es/template/common/faq-page/types.js +12 -0
- package/es/template/common/faq-page/types.js.map +1 -0
- package/es/template/common/privacy-policy-page/index.d.ts +50 -0
- package/es/template/common/privacy-policy-page/index.d.ts.map +1 -0
- package/es/template/common/privacy-policy-page/index.js +44 -0
- package/es/template/common/privacy-policy-page/index.js.map +1 -0
- package/es/template/common/privacy-policy-page/style.css +111 -0
- package/es/template/common/privacy-policy-page/types.d.ts +55 -0
- package/es/template/common/privacy-policy-page/types.d.ts.map +1 -0
- package/es/template/common/privacy-policy-page/types.js +12 -0
- package/es/template/common/privacy-policy-page/types.js.map +1 -0
- package/es/util/button-icons.d.ts +1 -0
- package/es/util/button-icons.d.ts.map +1 -1
- package/es/util/button-icons.js +3 -2
- package/es/util/button-icons.js.map +1 -1
- package/es/variables/breakpoints.css +1 -1
- package/lib/molecule/expandable-item/index.d.ts +19 -0
- package/lib/molecule/expandable-item/index.d.ts.map +1 -0
- package/lib/molecule/expandable-item/index.js +58 -0
- package/lib/molecule/expandable-item/index.js.map +1 -0
- package/lib/molecule/expandable-item/style.css +129 -0
- package/lib/molecule/expandable-item/types.d.ts +20 -0
- package/lib/molecule/expandable-item/types.d.ts.map +1 -0
- package/lib/molecule/expandable-item/types.js +20 -0
- package/lib/molecule/expandable-item/types.js.map +1 -0
- package/lib/molecule/expandable-list/index.d.ts +18 -0
- package/lib/molecule/expandable-list/index.d.ts.map +1 -0
- package/lib/molecule/expandable-list/index.js +34 -0
- package/lib/molecule/expandable-list/index.js.map +1 -0
- package/lib/molecule/expandable-list/style.css +20 -0
- package/lib/molecule/expandable-list/types.d.ts +17 -0
- package/lib/molecule/expandable-list/types.d.ts.map +1 -0
- package/lib/molecule/expandable-list/types.js +16 -0
- package/lib/molecule/expandable-list/types.js.map +1 -0
- package/lib/molecule/hero/index.d.ts +30 -26
- package/lib/molecule/hero/index.d.ts.map +1 -1
- package/lib/molecule/hero/index.js +15 -14
- package/lib/molecule/hero/index.js.map +1 -1
- package/lib/molecule/hero/style.css +42 -0
- package/lib/molecule/hero/types.d.ts +22 -0
- package/lib/molecule/hero/types.d.ts.map +1 -0
- package/lib/molecule/hero/types.js +25 -0
- package/lib/molecule/hero/types.js.map +1 -0
- package/lib/molecule/menu-links/index.d.ts +23 -0
- package/lib/molecule/menu-links/index.d.ts.map +1 -0
- package/lib/molecule/menu-links/index.js +95 -0
- package/lib/molecule/menu-links/index.js.map +1 -0
- package/lib/molecule/menu-links/style.css +166 -0
- package/lib/molecule/menu-links/types.d.ts +37 -0
- package/lib/molecule/menu-links/types.d.ts.map +1 -0
- package/lib/molecule/menu-links/types.js +27 -0
- package/lib/molecule/menu-links/types.js.map +1 -0
- package/lib/molecule/privacy-policy-contact/index.d.ts +14 -0
- package/lib/molecule/privacy-policy-contact/index.d.ts.map +1 -0
- package/lib/molecule/privacy-policy-contact/index.js +41 -0
- package/lib/molecule/privacy-policy-contact/index.js.map +1 -0
- package/lib/molecule/privacy-policy-contact/style.css +39 -0
- package/lib/molecule/privacy-policy-contact/types.d.ts +10 -0
- package/lib/molecule/privacy-policy-contact/types.d.ts.map +1 -0
- package/lib/molecule/privacy-policy-contact/types.js +15 -0
- package/lib/molecule/privacy-policy-contact/types.js.map +1 -0
- package/lib/molecule/quick-access-card/index.d.ts +1 -0
- package/lib/molecule/quick-access-card/index.d.ts.map +1 -1
- package/lib/molecule/quick-access-card/index.js +87 -24
- package/lib/molecule/quick-access-card/index.js.map +1 -1
- package/lib/molecule/quick-access-card/style.css +32 -21
- package/lib/molecule/quick-access-cards-group/index.d.ts +1 -0
- package/lib/organism/brand-dashboard/index.d.ts +1 -0
- package/lib/template/back-office/brand-update/index.d.ts +1 -0
- package/lib/template/common/faq-article-page/index.d.ts +27 -0
- package/lib/template/common/faq-article-page/index.d.ts.map +1 -0
- package/lib/template/common/faq-article-page/index.js +69 -0
- package/lib/template/common/faq-article-page/index.js.map +1 -0
- package/lib/template/common/faq-article-page/style.css +125 -0
- package/lib/template/common/faq-article-page/types.d.ts +41 -0
- package/lib/template/common/faq-article-page/types.d.ts.map +1 -0
- package/lib/template/common/faq-article-page/types.js +30 -0
- package/lib/template/common/faq-article-page/types.js.map +1 -0
- package/lib/template/common/faq-cards-page/index.d.ts +33 -0
- package/lib/template/common/faq-cards-page/index.d.ts.map +1 -0
- package/lib/template/common/faq-cards-page/index.js +58 -0
- package/lib/template/common/faq-cards-page/index.js.map +1 -0
- package/lib/template/common/faq-cards-page/style.css +106 -0
- package/lib/template/common/faq-cards-page/types.d.ts +45 -0
- package/lib/template/common/faq-cards-page/types.d.ts.map +1 -0
- package/lib/template/common/faq-cards-page/types.js +29 -0
- package/lib/template/common/faq-cards-page/types.js.map +1 -0
- package/lib/template/common/faq-page/index.d.ts +50 -0
- package/lib/template/common/faq-page/index.d.ts.map +1 -0
- package/lib/template/common/faq-page/index.js +58 -0
- package/lib/template/common/faq-page/index.js.map +1 -0
- package/lib/template/common/faq-page/style.css +112 -0
- package/lib/template/common/faq-page/types.d.ts +55 -0
- package/lib/template/common/faq-page/types.d.ts.map +1 -0
- package/lib/template/common/faq-page/types.js +25 -0
- package/lib/template/common/faq-page/types.js.map +1 -0
- package/lib/template/common/privacy-policy-page/index.d.ts +50 -0
- package/lib/template/common/privacy-policy-page/index.d.ts.map +1 -0
- package/lib/template/common/privacy-policy-page/index.js +58 -0
- package/lib/template/common/privacy-policy-page/index.js.map +1 -0
- package/lib/template/common/privacy-policy-page/style.css +111 -0
- package/lib/template/common/privacy-policy-page/types.d.ts +55 -0
- package/lib/template/common/privacy-policy-page/types.d.ts.map +1 -0
- package/lib/template/common/privacy-policy-page/types.js +25 -0
- package/lib/template/common/privacy-policy-page/types.js.map +1 -0
- package/lib/util/button-icons.d.ts +1 -0
- package/lib/util/button-icons.d.ts.map +1 -1
- package/lib/util/button-icons.js +2 -1
- package/lib/util/button-icons.js.map +1 -1
- package/lib/variables/breakpoints.css +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
@value breakpoints: "../../../variables/breakpoints.css";
|
|
2
|
+
@value mobile from breakpoints;
|
|
3
|
+
@value tablet from breakpoints;
|
|
4
|
+
@value desktop from breakpoints;
|
|
5
|
+
@value colors: "../../../variables/colors.css";
|
|
6
|
+
@value cm_grey_50 from colors;
|
|
7
|
+
@value white from colors;
|
|
8
|
+
|
|
9
|
+
.wrapper {
|
|
10
|
+
background-color: cm_grey_50;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.hero {
|
|
14
|
+
height: 228px;
|
|
15
|
+
width: 100%;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.container {
|
|
19
|
+
margin: 40px auto;
|
|
20
|
+
padding: 0px 40px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.privacyPolicyContact{
|
|
24
|
+
width: 100%;
|
|
25
|
+
height: 86px;
|
|
26
|
+
display: flex;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.title {
|
|
31
|
+
font-family: Gilroy;
|
|
32
|
+
font-size: 32px;
|
|
33
|
+
font-weight: 500;
|
|
34
|
+
line-height: 40px;
|
|
35
|
+
letter-spacing: 0px;
|
|
36
|
+
text-align: center;
|
|
37
|
+
margin: 0px 0px 8px 0px;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.description {
|
|
41
|
+
font-family: Gilroy;
|
|
42
|
+
font-size: 18px;
|
|
43
|
+
font-weight: 500;
|
|
44
|
+
line-height: 24px;
|
|
45
|
+
letter-spacing: 0px;
|
|
46
|
+
text-align: center;
|
|
47
|
+
margin: 0px 0px 40px 0px;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.card {
|
|
51
|
+
max-width: 428px;
|
|
52
|
+
min-width: 268px;
|
|
53
|
+
width: calc(33% - 24px);
|
|
54
|
+
margin: 0 24px 24px 0;background-color: white;
|
|
55
|
+
border-radius: 8px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.group {
|
|
59
|
+
width: 100%;
|
|
60
|
+
display: flex;
|
|
61
|
+
overflow-y: inherit;
|
|
62
|
+
justify-content: center;
|
|
63
|
+
flex-wrap: wrap;
|
|
64
|
+
}
|
|
65
|
+
@media tablet {
|
|
66
|
+
.container {
|
|
67
|
+
display: flex;
|
|
68
|
+
flex-direction: column;
|
|
69
|
+
margin: 40px;
|
|
70
|
+
padding: 0px;
|
|
71
|
+
}
|
|
72
|
+
.card {
|
|
73
|
+
max-width: 428px;
|
|
74
|
+
min-width: 277px;
|
|
75
|
+
width: calc(50% - 24px);
|
|
76
|
+
margin: 0 24px 24px 0;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
@media mobile {
|
|
82
|
+
.hero {
|
|
83
|
+
height: 264px;
|
|
84
|
+
width: 100%;
|
|
85
|
+
}
|
|
86
|
+
.container {
|
|
87
|
+
display: flex;
|
|
88
|
+
flex-direction: column;
|
|
89
|
+
margin: 40px 24px;
|
|
90
|
+
padding: 0px;
|
|
91
|
+
}
|
|
92
|
+
.card {
|
|
93
|
+
max-width: 428px;
|
|
94
|
+
min-width: 277px;
|
|
95
|
+
width: 100%;
|
|
96
|
+
margin: 0 24px 24px 0;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.privacyPolicyContact{
|
|
100
|
+
width: 100%;
|
|
101
|
+
height: max-content;
|
|
102
|
+
display: flex;
|
|
103
|
+
justify-content: center;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import { Props as ContactProps } from '../../../molecule/privacy-policy-contact/types';
|
|
3
|
+
import { Props as HeroProps } from '../../../molecule/hero/types';
|
|
4
|
+
export declare const propTypes: {
|
|
5
|
+
header: PropTypes.Requireable<PropTypes.InferProps<{
|
|
6
|
+
image: PropTypes.Requireable<string>;
|
|
7
|
+
mode: PropTypes.Requireable<string>;
|
|
8
|
+
description: PropTypes.Requireable<string>;
|
|
9
|
+
title: PropTypes.Requireable<string>;
|
|
10
|
+
author: PropTypes.Requireable<string>;
|
|
11
|
+
progress: PropTypes.Requireable<number>;
|
|
12
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
13
|
+
submitValue: PropTypes.Requireable<string>;
|
|
14
|
+
}>>;
|
|
15
|
+
title: PropTypes.Requireable<string>;
|
|
16
|
+
description: PropTypes.Requireable<string>;
|
|
17
|
+
privacyPolicyContact: PropTypes.Requireable<PropTypes.InferProps<{
|
|
18
|
+
title: PropTypes.Requireable<string>;
|
|
19
|
+
content: PropTypes.Requireable<string>;
|
|
20
|
+
}>>;
|
|
21
|
+
quickAccessList: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
22
|
+
title: PropTypes.Requireable<string>;
|
|
23
|
+
description: PropTypes.Requireable<string>;
|
|
24
|
+
href: PropTypes.Requireable<string>;
|
|
25
|
+
openInNewTab: PropTypes.Requireable<boolean>;
|
|
26
|
+
isMoocCard: PropTypes.Requireable<boolean>;
|
|
27
|
+
feature: PropTypes.Requireable<string>;
|
|
28
|
+
}> | null | undefined)[]>;
|
|
29
|
+
};
|
|
30
|
+
export declare type QuickAccessItem = {
|
|
31
|
+
title: string;
|
|
32
|
+
description: string;
|
|
33
|
+
href: string;
|
|
34
|
+
openInNewTab: boolean;
|
|
35
|
+
isMoocCard: boolean;
|
|
36
|
+
feature: 'binoculaire' | 'book' | 'network' | 'chat-bubble-question' | 'mobile-phone';
|
|
37
|
+
};
|
|
38
|
+
export declare type Props = {
|
|
39
|
+
header: HeroProps;
|
|
40
|
+
privacyPolicyContact: ContactProps;
|
|
41
|
+
title: string;
|
|
42
|
+
description: string;
|
|
43
|
+
quickAccessList: QuickAccessItem[];
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/template/common/faq-cards-page/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EACL,KAAK,IAAI,YAAY,EAEtB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAC,KAAK,IAAI,SAAS,EAA6B,MAAM,8BAA8B,CAAC;AAE5F,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;CAqBrB,CAAC;AAEF,oBAAY,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,OAAO,CAAC;IACtB,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,aAAa,GAAG,MAAM,GAAG,SAAS,GAAG,sBAAsB,GAAG,cAAc,CAAC;CACvF,CAAC;AAEF,oBAAY,KAAK,GAAG;IAClB,MAAM,EAAE,SAAS,CAAC;IAClB,oBAAoB,EAAE,YAAY,CAAC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,eAAe,EAAE,CAAC;CACpC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import { propTypes as ContactPropTypes } from '../../../molecule/privacy-policy-contact/types';
|
|
3
|
+
import { propTypes as HeroPropTypes } from '../../../molecule/hero/types';
|
|
4
|
+
export const propTypes = {
|
|
5
|
+
header: PropTypes.shape(HeroPropTypes),
|
|
6
|
+
title: PropTypes.string,
|
|
7
|
+
description: PropTypes.string,
|
|
8
|
+
privacyPolicyContact: PropTypes.shape(ContactPropTypes),
|
|
9
|
+
quickAccessList: PropTypes.arrayOf(PropTypes.shape({
|
|
10
|
+
title: PropTypes.string,
|
|
11
|
+
description: PropTypes.string,
|
|
12
|
+
href: PropTypes.string,
|
|
13
|
+
openInNewTab: PropTypes.bool,
|
|
14
|
+
isMoocCard: PropTypes.bool,
|
|
15
|
+
feature: PropTypes.oneOf(['binoculaire', 'book', 'network', 'chat-bubble-question', 'mobile-phone'])
|
|
16
|
+
}))
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","names":["PropTypes","propTypes","ContactPropTypes","HeroPropTypes","header","shape","title","string","description","privacyPolicyContact","quickAccessList","arrayOf","href","openInNewTab","bool","isMoocCard","feature","oneOf"],"sources":["../../../../src/template/common/faq-cards-page/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport {\n Props as ContactProps,\n propTypes as ContactPropTypes\n} from '../../../molecule/privacy-policy-contact/types';\nimport {Props as HeroProps, propTypes as HeroPropTypes} from '../../../molecule/hero/types';\n\nexport const propTypes = {\n header: PropTypes.shape(HeroPropTypes),\n title: PropTypes.string,\n description: PropTypes.string,\n privacyPolicyContact: PropTypes.shape(ContactPropTypes),\n quickAccessList: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string,\n description: PropTypes.string,\n href: PropTypes.string,\n openInNewTab: PropTypes.bool,\n isMoocCard: PropTypes.bool,\n feature: PropTypes.oneOf([\n 'binoculaire',\n 'book',\n 'network',\n 'chat-bubble-question',\n 'mobile-phone'\n ])\n })\n )\n};\n\nexport type QuickAccessItem = {\n title: string;\n description: string;\n href: string;\n openInNewTab: boolean;\n isMoocCard: boolean;\n feature: 'binoculaire' | 'book' | 'network' | 'chat-bubble-question' | 'mobile-phone';\n};\n\nexport type Props = {\n header: HeroProps;\n privacyPolicyContact: ContactProps;\n title: string;\n description: string;\n quickAccessList: QuickAccessItem[];\n};\n"],"mappings":"AAAA,OAAOA,SAAP,MAAsB,YAAtB;AACA,SAEEC,SAAS,IAAIC,gBAFf,QAGO,gDAHP;AAIA,SAA4BD,SAAS,IAAIE,aAAzC,QAA6D,8BAA7D;AAEA,OAAO,MAAMF,SAAS,GAAG;EACvBG,MAAM,EAAEJ,SAAS,CAACK,KAAV,CAAgBF,aAAhB,CADe;EAEvBG,KAAK,EAAEN,SAAS,CAACO,MAFM;EAGvBC,WAAW,EAAER,SAAS,CAACO,MAHA;EAIvBE,oBAAoB,EAAET,SAAS,CAACK,KAAV,CAAgBH,gBAAhB,CAJC;EAKvBQ,eAAe,EAAEV,SAAS,CAACW,OAAV,CACfX,SAAS,CAACK,KAAV,CAAgB;IACdC,KAAK,EAAEN,SAAS,CAACO,MADH;IAEdC,WAAW,EAAER,SAAS,CAACO,MAFT;IAGdK,IAAI,EAAEZ,SAAS,CAACO,MAHF;IAIdM,YAAY,EAAEb,SAAS,CAACc,IAJV;IAKdC,UAAU,EAAEf,SAAS,CAACc,IALR;IAMdE,OAAO,EAAEhB,SAAS,CAACiB,KAAV,CAAgB,CACvB,aADuB,EAEvB,MAFuB,EAGvB,SAHuB,EAIvB,sBAJuB,EAKvB,cALuB,CAAhB;EANK,CAAhB,CADe;AALM,CAAlB"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Props } from './types';
|
|
3
|
+
declare const FAQPage: {
|
|
4
|
+
({ header, privacyPolicyContact, menuLinks, expandableList }: Props): JSX.Element;
|
|
5
|
+
propTypes: {
|
|
6
|
+
header: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
7
|
+
image: import("prop-types").Requireable<string>;
|
|
8
|
+
mode: import("prop-types").Requireable<string>;
|
|
9
|
+
description: import("prop-types").Requireable<string>;
|
|
10
|
+
title: import("prop-types").Requireable<string>;
|
|
11
|
+
author: import("prop-types").Requireable<string>;
|
|
12
|
+
progress: import("prop-types").Requireable<number>;
|
|
13
|
+
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
14
|
+
submitValue: import("prop-types").Requireable<string>;
|
|
15
|
+
}>>;
|
|
16
|
+
privacyPolicyContact: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
17
|
+
title: import("prop-types").Requireable<string>;
|
|
18
|
+
content: import("prop-types").Requireable<string>;
|
|
19
|
+
}>>;
|
|
20
|
+
menuLinks: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
21
|
+
title: import("prop-types").Requireable<string>;
|
|
22
|
+
numberOfDisplayedItems: import("prop-types").Requireable<number>;
|
|
23
|
+
isDesktopMode: import("prop-types").Requireable<boolean>;
|
|
24
|
+
withScroll: import("prop-types").Requireable<boolean>;
|
|
25
|
+
showMoreItem: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
26
|
+
showMoreText: import("prop-types").Requireable<string>;
|
|
27
|
+
showLessText: import("prop-types").Requireable<string>;
|
|
28
|
+
isSelected: import("prop-types").Requireable<boolean>;
|
|
29
|
+
}>>;
|
|
30
|
+
items: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
31
|
+
text: import("prop-types").Requireable<string>;
|
|
32
|
+
isSelected: import("prop-types").Requireable<boolean>;
|
|
33
|
+
handleOnclick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
34
|
+
}> | null | undefined)[]>;
|
|
35
|
+
}>>;
|
|
36
|
+
expandableList: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
37
|
+
items: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
38
|
+
title: import("prop-types").Requireable<string>;
|
|
39
|
+
icon: import("prop-types").Requireable<string>;
|
|
40
|
+
isExpended: import("prop-types").Requireable<boolean>;
|
|
41
|
+
isLink: import("prop-types").Requireable<boolean>;
|
|
42
|
+
content: import("prop-types").Requireable<string>;
|
|
43
|
+
image: import("prop-types").Requireable<string>;
|
|
44
|
+
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
45
|
+
}> | null | undefined)[]>;
|
|
46
|
+
}>>;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
export default FAQPage;
|
|
50
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/common/faq-page/index.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAY,KAAK,EAAC,MAAM,SAAS,CAAC;AAGzC,QAAA,MAAM,OAAO;kEAA+D,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwBhF,CAAC;AAIF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import Hero from '../../../molecule/hero';
|
|
5
|
+
import PrivacyPolicyContact from '../../../molecule/privacy-policy-contact';
|
|
6
|
+
import MenuLinks from '../../../molecule/menu-links';
|
|
7
|
+
import ExpandableList from '../../../molecule/expandable-list';
|
|
8
|
+
import { propTypes } from './types';
|
|
9
|
+
import styles from './style.css';
|
|
10
|
+
|
|
11
|
+
const FAQPage = ({
|
|
12
|
+
header,
|
|
13
|
+
privacyPolicyContact,
|
|
14
|
+
menuLinks,
|
|
15
|
+
expandableList
|
|
16
|
+
}) => {
|
|
17
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
18
|
+
className: styles.wrapper
|
|
19
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
20
|
+
className: styles.hero
|
|
21
|
+
}, /*#__PURE__*/React.createElement(Hero, _extends({}, header, {
|
|
22
|
+
mode: 'header'
|
|
23
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
24
|
+
className: styles.container
|
|
25
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
26
|
+
className: styles.menuContainer
|
|
27
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
28
|
+
className: styles.menueLinksDesctop
|
|
29
|
+
}, /*#__PURE__*/React.createElement(MenuLinks, _extends({}, menuLinks, {
|
|
30
|
+
isDesktopMode: true
|
|
31
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
32
|
+
className: styles.menueLinksMobile
|
|
33
|
+
}, /*#__PURE__*/React.createElement(MenuLinks, _extends({}, menuLinks, {
|
|
34
|
+
isDesktopMode: true
|
|
35
|
+
})))), /*#__PURE__*/React.createElement("div", {
|
|
36
|
+
className: styles.expandableList
|
|
37
|
+
}, /*#__PURE__*/React.createElement(ExpandableList, expandableList))), /*#__PURE__*/React.createElement("div", {
|
|
38
|
+
className: styles.privacyPolicyContact
|
|
39
|
+
}, /*#__PURE__*/React.createElement(PrivacyPolicyContact, privacyPolicyContact)));
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
FAQPage.propTypes = process.env.NODE_ENV !== "production" ? propTypes : {};
|
|
43
|
+
export default FAQPage;
|
|
44
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","Hero","PrivacyPolicyContact","MenuLinks","ExpandableList","propTypes","styles","FAQPage","header","privacyPolicyContact","menuLinks","expandableList","wrapper","hero","container","menuContainer","menueLinksDesctop","menueLinksMobile"],"sources":["../../../../src/template/common/faq-page/index.tsx"],"sourcesContent":["import React from 'react';\nimport Hero from '../../../molecule/hero';\nimport PrivacyPolicyContact from '../../../molecule/privacy-policy-contact';\nimport MenuLinks from '../../../molecule/menu-links';\nimport ExpandableList from '../../../molecule/expandable-list';\nimport {propTypes, Props} from './types';\nimport styles from './style.css';\n\nconst FAQPage = ({header, privacyPolicyContact, menuLinks, expandableList}: Props) => {\n return (\n <div className={styles.wrapper}>\n <div className={styles.hero}>\n <Hero {...header} mode={'header'} />\n </div>\n <div className={styles.container}>\n <div className={styles.menuContainer}>\n <div className={styles.menueLinksDesctop}>\n <MenuLinks {...menuLinks} isDesktopMode />\n </div>\n <div className={styles.menueLinksMobile}>\n <MenuLinks {...menuLinks} isDesktopMode />\n </div>\n </div>\n <div className={styles.expandableList}>\n <ExpandableList {...expandableList} />\n </div>\n </div>\n <div className={styles.privacyPolicyContact}>\n <PrivacyPolicyContact {...privacyPolicyContact} />\n </div>\n </div>\n );\n};\n\nFAQPage.propTypes = propTypes;\n\nexport default FAQPage;\n"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,IAAP,MAAiB,wBAAjB;AACA,OAAOC,oBAAP,MAAiC,0CAAjC;AACA,OAAOC,SAAP,MAAsB,8BAAtB;AACA,OAAOC,cAAP,MAA2B,mCAA3B;AACA,SAAQC,SAAR,QAA+B,SAA/B;AACA,OAAOC,MAAP,MAAmB,aAAnB;;AAEA,MAAMC,OAAO,GAAG,CAAC;EAACC,MAAD;EAASC,oBAAT;EAA+BC,SAA/B;EAA0CC;AAA1C,CAAD,KAAsE;EACpF,oBACE;IAAK,SAAS,EAAEL,MAAM,CAACM;EAAvB,gBACE;IAAK,SAAS,EAAEN,MAAM,CAACO;EAAvB,gBACE,oBAAC,IAAD,eAAUL,MAAV;IAAkB,IAAI,EAAE;EAAxB,GADF,CADF,eAIE;IAAK,SAAS,EAAEF,MAAM,CAACQ;EAAvB,gBACE;IAAK,SAAS,EAAER,MAAM,CAACS;EAAvB,gBACE;IAAK,SAAS,EAAET,MAAM,CAACU;EAAvB,gBACE,oBAAC,SAAD,eAAeN,SAAf;IAA0B,aAAa;EAAvC,GADF,CADF,eAIE;IAAK,SAAS,EAAEJ,MAAM,CAACW;EAAvB,gBACE,oBAAC,SAAD,eAAeP,SAAf;IAA0B,aAAa;EAAvC,GADF,CAJF,CADF,eASE;IAAK,SAAS,EAAEJ,MAAM,CAACK;EAAvB,gBACE,oBAAC,cAAD,EAAoBA,cAApB,CADF,CATF,CAJF,eAiBE;IAAK,SAAS,EAAEL,MAAM,CAACG;EAAvB,gBACE,oBAAC,oBAAD,EAA0BA,oBAA1B,CADF,CAjBF,CADF;AAuBD,CAxBD;;AA0BAF,OAAO,CAACF,SAAR,2CAAoBA,SAApB;AAEA,eAAeE,OAAf"}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
@value breakpoints: "../../../variables/breakpoints.css";
|
|
2
|
+
@value mobile from breakpoints;
|
|
3
|
+
@value tablet from breakpoints;
|
|
4
|
+
@value desktop from breakpoints;
|
|
5
|
+
@value colors: "../../../variables/colors.css";
|
|
6
|
+
@value cm_grey_50 from colors;
|
|
7
|
+
|
|
8
|
+
.wrapper {
|
|
9
|
+
background-color: cm_grey_50;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.hero {
|
|
13
|
+
height: 228px;
|
|
14
|
+
width: 100%;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.container {
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: row;
|
|
20
|
+
margin: 40px auto;
|
|
21
|
+
padding: 0px 40px;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.menuContainer {
|
|
26
|
+
margin-right: 32px;
|
|
27
|
+
min-width: 308px;
|
|
28
|
+
max-width: 388px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.menueLinksDesctop {
|
|
32
|
+
display: block;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.menueLinksMobile {
|
|
36
|
+
display: none;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.privacyPolicyContact{
|
|
40
|
+
width: 100%;
|
|
41
|
+
height: 86px;
|
|
42
|
+
display: flex;
|
|
43
|
+
justify-content: center;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.expandableList {
|
|
47
|
+
min-width: 533px;
|
|
48
|
+
max-width: 748px;
|
|
49
|
+
width: 100%;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@media tablet {
|
|
53
|
+
.container {
|
|
54
|
+
display: flex;
|
|
55
|
+
flex-direction: column;
|
|
56
|
+
margin: 40px;
|
|
57
|
+
padding: 0px;
|
|
58
|
+
}
|
|
59
|
+
.menuContainer {
|
|
60
|
+
margin: 0px 0px 16px 0px;
|
|
61
|
+
width: 100%;
|
|
62
|
+
min-width: inherit;
|
|
63
|
+
max-width: inherit;
|
|
64
|
+
}
|
|
65
|
+
.expandableList {
|
|
66
|
+
min-width: inherit;
|
|
67
|
+
max-width: inherit;
|
|
68
|
+
width: 100%;
|
|
69
|
+
}
|
|
70
|
+
.menueLinksDesctop {
|
|
71
|
+
display: none;
|
|
72
|
+
}
|
|
73
|
+
.menueLinksMobile {
|
|
74
|
+
display: block;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@media mobile {
|
|
79
|
+
.hero {
|
|
80
|
+
height: 264px;
|
|
81
|
+
width: 100%;
|
|
82
|
+
}
|
|
83
|
+
.container {
|
|
84
|
+
display: flex;
|
|
85
|
+
flex-direction: column;
|
|
86
|
+
margin: 40px 24px;
|
|
87
|
+
padding: 0px;
|
|
88
|
+
}
|
|
89
|
+
.menuContainer {
|
|
90
|
+
margin: 0px 0px 16px 0px;
|
|
91
|
+
width: 100%;
|
|
92
|
+
min-width: inherit;
|
|
93
|
+
max-width: inherit;
|
|
94
|
+
}
|
|
95
|
+
.expandableList {
|
|
96
|
+
min-width: inherit;
|
|
97
|
+
max-width: inherit;
|
|
98
|
+
width: 100%;
|
|
99
|
+
}
|
|
100
|
+
.menueLinksDesctop {
|
|
101
|
+
display: none;
|
|
102
|
+
}
|
|
103
|
+
.menueLinksMobile {
|
|
104
|
+
display: block;
|
|
105
|
+
}
|
|
106
|
+
.privacyPolicyContact{
|
|
107
|
+
width: 100%;
|
|
108
|
+
height: max-content;
|
|
109
|
+
display: flex;
|
|
110
|
+
justify-content: center;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import { Props as ContactProps } from '../../../molecule/privacy-policy-contact/types';
|
|
3
|
+
import { Props as HeroProps } from '../../../molecule/hero/types';
|
|
4
|
+
import { Props as MenuLinksProps } from '../../../molecule/menu-links/types';
|
|
5
|
+
import { Props as ListProps } from '../../../molecule/expandable-list/types';
|
|
6
|
+
export declare const propTypes: {
|
|
7
|
+
header: PropTypes.Requireable<PropTypes.InferProps<{
|
|
8
|
+
image: PropTypes.Requireable<string>;
|
|
9
|
+
mode: PropTypes.Requireable<string>;
|
|
10
|
+
description: PropTypes.Requireable<string>;
|
|
11
|
+
title: PropTypes.Requireable<string>;
|
|
12
|
+
author: PropTypes.Requireable<string>;
|
|
13
|
+
progress: PropTypes.Requireable<number>;
|
|
14
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
15
|
+
submitValue: PropTypes.Requireable<string>;
|
|
16
|
+
}>>;
|
|
17
|
+
privacyPolicyContact: PropTypes.Requireable<PropTypes.InferProps<{
|
|
18
|
+
title: PropTypes.Requireable<string>;
|
|
19
|
+
content: PropTypes.Requireable<string>;
|
|
20
|
+
}>>;
|
|
21
|
+
menuLinks: PropTypes.Requireable<PropTypes.InferProps<{
|
|
22
|
+
title: PropTypes.Requireable<string>;
|
|
23
|
+
numberOfDisplayedItems: PropTypes.Requireable<number>;
|
|
24
|
+
isDesktopMode: PropTypes.Requireable<boolean>;
|
|
25
|
+
withScroll: PropTypes.Requireable<boolean>;
|
|
26
|
+
showMoreItem: PropTypes.Requireable<PropTypes.InferProps<{
|
|
27
|
+
showMoreText: PropTypes.Requireable<string>;
|
|
28
|
+
showLessText: PropTypes.Requireable<string>;
|
|
29
|
+
isSelected: PropTypes.Requireable<boolean>;
|
|
30
|
+
}>>;
|
|
31
|
+
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
32
|
+
text: PropTypes.Requireable<string>;
|
|
33
|
+
isSelected: PropTypes.Requireable<boolean>;
|
|
34
|
+
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
35
|
+
}> | null | undefined)[]>;
|
|
36
|
+
}>>;
|
|
37
|
+
expandableList: PropTypes.Requireable<PropTypes.InferProps<{
|
|
38
|
+
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
39
|
+
title: PropTypes.Requireable<string>;
|
|
40
|
+
icon: PropTypes.Requireable<string>;
|
|
41
|
+
isExpended: PropTypes.Requireable<boolean>;
|
|
42
|
+
isLink: PropTypes.Requireable<boolean>;
|
|
43
|
+
content: PropTypes.Requireable<string>;
|
|
44
|
+
image: PropTypes.Requireable<string>;
|
|
45
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
46
|
+
}> | null | undefined)[]>;
|
|
47
|
+
}>>;
|
|
48
|
+
};
|
|
49
|
+
export declare type Props = {
|
|
50
|
+
header: HeroProps;
|
|
51
|
+
privacyPolicyContact: ContactProps;
|
|
52
|
+
menuLinks: MenuLinksProps;
|
|
53
|
+
expandableList: ListProps;
|
|
54
|
+
};
|
|
55
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/template/common/faq-page/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EACL,KAAK,IAAI,YAAY,EAEtB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAC,KAAK,IAAI,SAAS,EAA6B,MAAM,8BAA8B,CAAC;AAC5F,OAAO,EACL,KAAK,IAAI,cAAc,EAExB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,KAAK,IAAI,SAAS,EAEnB,MAAM,yCAAyC,CAAC;AAEjD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKrB,CAAC;AAEF,oBAAY,KAAK,GAAG;IAClB,MAAM,EAAE,SAAS,CAAC;IAClB,oBAAoB,EAAE,YAAY,CAAC;IACnC,SAAS,EAAE,cAAc,CAAC;IAC1B,cAAc,EAAE,SAAS,CAAC;CAC3B,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import { propTypes as ContactPropTypes } from '../../../molecule/privacy-policy-contact/types';
|
|
3
|
+
import { propTypes as HeroPropTypes } from '../../../molecule/hero/types';
|
|
4
|
+
import { propTypes as MenuLinksPropTypes } from '../../../molecule/menu-links/types';
|
|
5
|
+
import { propTypes as ListPropTypes } from '../../../molecule/expandable-list/types';
|
|
6
|
+
export const propTypes = {
|
|
7
|
+
header: PropTypes.shape(HeroPropTypes),
|
|
8
|
+
privacyPolicyContact: PropTypes.shape(ContactPropTypes),
|
|
9
|
+
menuLinks: PropTypes.shape(MenuLinksPropTypes),
|
|
10
|
+
expandableList: PropTypes.shape(ListPropTypes)
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","names":["PropTypes","propTypes","ContactPropTypes","HeroPropTypes","MenuLinksPropTypes","ListPropTypes","header","shape","privacyPolicyContact","menuLinks","expandableList"],"sources":["../../../../src/template/common/faq-page/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport {\n Props as ContactProps,\n propTypes as ContactPropTypes\n} from '../../../molecule/privacy-policy-contact/types';\nimport {Props as HeroProps, propTypes as HeroPropTypes} from '../../../molecule/hero/types';\nimport {\n Props as MenuLinksProps,\n propTypes as MenuLinksPropTypes\n} from '../../../molecule/menu-links/types';\nimport {\n Props as ListProps,\n propTypes as ListPropTypes\n} from '../../../molecule/expandable-list/types';\n\nexport const propTypes = {\n header: PropTypes.shape(HeroPropTypes),\n privacyPolicyContact: PropTypes.shape(ContactPropTypes),\n menuLinks: PropTypes.shape(MenuLinksPropTypes),\n expandableList: PropTypes.shape(ListPropTypes)\n};\n\nexport type Props = {\n header: HeroProps;\n privacyPolicyContact: ContactProps;\n menuLinks: MenuLinksProps;\n expandableList: ListProps;\n};\n"],"mappings":"AAAA,OAAOA,SAAP,MAAsB,YAAtB;AACA,SAEEC,SAAS,IAAIC,gBAFf,QAGO,gDAHP;AAIA,SAA4BD,SAAS,IAAIE,aAAzC,QAA6D,8BAA7D;AACA,SAEEF,SAAS,IAAIG,kBAFf,QAGO,oCAHP;AAIA,SAEEH,SAAS,IAAII,aAFf,QAGO,yCAHP;AAKA,OAAO,MAAMJ,SAAS,GAAG;EACvBK,MAAM,EAAEN,SAAS,CAACO,KAAV,CAAgBJ,aAAhB,CADe;EAEvBK,oBAAoB,EAAER,SAAS,CAACO,KAAV,CAAgBL,gBAAhB,CAFC;EAGvBO,SAAS,EAAET,SAAS,CAACO,KAAV,CAAgBH,kBAAhB,CAHY;EAIvBM,cAAc,EAAEV,SAAS,CAACO,KAAV,CAAgBF,aAAhB;AAJO,CAAlB"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Props } from './types';
|
|
3
|
+
declare const PrivacyPolicy: {
|
|
4
|
+
({ header, privacyPolicyContact, menuLinks, expandableList }: Props): JSX.Element;
|
|
5
|
+
propTypes: {
|
|
6
|
+
header: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
7
|
+
image: import("prop-types").Requireable<string>;
|
|
8
|
+
mode: import("prop-types").Requireable<string>;
|
|
9
|
+
description: import("prop-types").Requireable<string>;
|
|
10
|
+
title: import("prop-types").Requireable<string>;
|
|
11
|
+
author: import("prop-types").Requireable<string>;
|
|
12
|
+
progress: import("prop-types").Requireable<number>;
|
|
13
|
+
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
14
|
+
submitValue: import("prop-types").Requireable<string>;
|
|
15
|
+
}>>;
|
|
16
|
+
privacyPolicyContact: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
17
|
+
title: import("prop-types").Requireable<string>;
|
|
18
|
+
content: import("prop-types").Requireable<string>;
|
|
19
|
+
}>>;
|
|
20
|
+
menuLinks: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
21
|
+
title: import("prop-types").Requireable<string>;
|
|
22
|
+
numberOfDisplayedItems: import("prop-types").Requireable<number>;
|
|
23
|
+
isDesktopMode: import("prop-types").Requireable<boolean>;
|
|
24
|
+
withScroll: import("prop-types").Requireable<boolean>;
|
|
25
|
+
showMoreItem: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
26
|
+
showMoreText: import("prop-types").Requireable<string>;
|
|
27
|
+
showLessText: import("prop-types").Requireable<string>;
|
|
28
|
+
isSelected: import("prop-types").Requireable<boolean>;
|
|
29
|
+
}>>;
|
|
30
|
+
items: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
31
|
+
text: import("prop-types").Requireable<string>;
|
|
32
|
+
isSelected: import("prop-types").Requireable<boolean>;
|
|
33
|
+
handleOnclick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
34
|
+
}> | null | undefined)[]>;
|
|
35
|
+
}>>;
|
|
36
|
+
expandableList: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
37
|
+
items: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
38
|
+
title: import("prop-types").Requireable<string>;
|
|
39
|
+
icon: import("prop-types").Requireable<string>;
|
|
40
|
+
isExpended: import("prop-types").Requireable<boolean>;
|
|
41
|
+
isLink: import("prop-types").Requireable<boolean>;
|
|
42
|
+
content: import("prop-types").Requireable<string>;
|
|
43
|
+
image: import("prop-types").Requireable<string>;
|
|
44
|
+
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
45
|
+
}> | null | undefined)[]>;
|
|
46
|
+
}>>;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
export default PrivacyPolicy;
|
|
50
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/common/privacy-policy-page/index.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAY,KAAK,EAAC,MAAM,SAAS,CAAC;AAGzC,QAAA,MAAM,aAAa;kEAA+D,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwBtF,CAAC;AAIF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import Hero from '../../../molecule/hero';
|
|
5
|
+
import PrivacyPolicyContact from '../../../molecule/privacy-policy-contact';
|
|
6
|
+
import MenuLinks from '../../../molecule/menu-links';
|
|
7
|
+
import ExpandableList from '../../../molecule/expandable-list';
|
|
8
|
+
import { propTypes } from './types';
|
|
9
|
+
import styles from './style.css';
|
|
10
|
+
|
|
11
|
+
const PrivacyPolicy = ({
|
|
12
|
+
header,
|
|
13
|
+
privacyPolicyContact,
|
|
14
|
+
menuLinks,
|
|
15
|
+
expandableList
|
|
16
|
+
}) => {
|
|
17
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
18
|
+
className: styles.wrapper
|
|
19
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
20
|
+
className: styles.hero
|
|
21
|
+
}, /*#__PURE__*/React.createElement(Hero, _extends({}, header, {
|
|
22
|
+
mode: 'header'
|
|
23
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
24
|
+
className: styles.container
|
|
25
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
26
|
+
className: styles.menuContainer
|
|
27
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
28
|
+
className: styles.menueLinksDesctop
|
|
29
|
+
}, /*#__PURE__*/React.createElement(MenuLinks, _extends({}, menuLinks, {
|
|
30
|
+
isDesktopMode: true
|
|
31
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
32
|
+
className: styles.menueLinksMobile
|
|
33
|
+
}, /*#__PURE__*/React.createElement(MenuLinks, _extends({}, menuLinks, {
|
|
34
|
+
isDesktopMode: false
|
|
35
|
+
})))), /*#__PURE__*/React.createElement("div", {
|
|
36
|
+
className: styles.expandableList
|
|
37
|
+
}, /*#__PURE__*/React.createElement(ExpandableList, expandableList))), /*#__PURE__*/React.createElement("div", {
|
|
38
|
+
className: styles.privacyPolicyContact
|
|
39
|
+
}, /*#__PURE__*/React.createElement(PrivacyPolicyContact, privacyPolicyContact)));
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
PrivacyPolicy.propTypes = process.env.NODE_ENV !== "production" ? propTypes : {};
|
|
43
|
+
export default PrivacyPolicy;
|
|
44
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","Hero","PrivacyPolicyContact","MenuLinks","ExpandableList","propTypes","styles","PrivacyPolicy","header","privacyPolicyContact","menuLinks","expandableList","wrapper","hero","container","menuContainer","menueLinksDesctop","menueLinksMobile"],"sources":["../../../../src/template/common/privacy-policy-page/index.tsx"],"sourcesContent":["import React from 'react';\nimport Hero from '../../../molecule/hero';\nimport PrivacyPolicyContact from '../../../molecule/privacy-policy-contact';\nimport MenuLinks from '../../../molecule/menu-links';\nimport ExpandableList from '../../../molecule/expandable-list';\nimport {propTypes, Props} from './types';\nimport styles from './style.css';\n\nconst PrivacyPolicy = ({header, privacyPolicyContact, menuLinks, expandableList}: Props) => {\n return (\n <div className={styles.wrapper}>\n <div className={styles.hero}>\n <Hero {...header} mode={'header'} />\n </div>\n <div className={styles.container}>\n <div className={styles.menuContainer}>\n <div className={styles.menueLinksDesctop}>\n <MenuLinks {...menuLinks} isDesktopMode />\n </div>\n <div className={styles.menueLinksMobile}>\n <MenuLinks {...menuLinks} isDesktopMode={false} />\n </div>\n </div>\n <div className={styles.expandableList}>\n <ExpandableList {...expandableList} />\n </div>\n </div>\n <div className={styles.privacyPolicyContact}>\n <PrivacyPolicyContact {...privacyPolicyContact} />\n </div>\n </div>\n );\n};\n\nPrivacyPolicy.propTypes = propTypes;\n\nexport default PrivacyPolicy;\n"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,IAAP,MAAiB,wBAAjB;AACA,OAAOC,oBAAP,MAAiC,0CAAjC;AACA,OAAOC,SAAP,MAAsB,8BAAtB;AACA,OAAOC,cAAP,MAA2B,mCAA3B;AACA,SAAQC,SAAR,QAA+B,SAA/B;AACA,OAAOC,MAAP,MAAmB,aAAnB;;AAEA,MAAMC,aAAa,GAAG,CAAC;EAACC,MAAD;EAASC,oBAAT;EAA+BC,SAA/B;EAA0CC;AAA1C,CAAD,KAAsE;EAC1F,oBACE;IAAK,SAAS,EAAEL,MAAM,CAACM;EAAvB,gBACE;IAAK,SAAS,EAAEN,MAAM,CAACO;EAAvB,gBACE,oBAAC,IAAD,eAAUL,MAAV;IAAkB,IAAI,EAAE;EAAxB,GADF,CADF,eAIE;IAAK,SAAS,EAAEF,MAAM,CAACQ;EAAvB,gBACE;IAAK,SAAS,EAAER,MAAM,CAACS;EAAvB,gBACE;IAAK,SAAS,EAAET,MAAM,CAACU;EAAvB,gBACE,oBAAC,SAAD,eAAeN,SAAf;IAA0B,aAAa;EAAvC,GADF,CADF,eAIE;IAAK,SAAS,EAAEJ,MAAM,CAACW;EAAvB,gBACE,oBAAC,SAAD,eAAeP,SAAf;IAA0B,aAAa,EAAE;EAAzC,GADF,CAJF,CADF,eASE;IAAK,SAAS,EAAEJ,MAAM,CAACK;EAAvB,gBACE,oBAAC,cAAD,EAAoBA,cAApB,CADF,CATF,CAJF,eAiBE;IAAK,SAAS,EAAEL,MAAM,CAACG;EAAvB,gBACE,oBAAC,oBAAD,EAA0BA,oBAA1B,CADF,CAjBF,CADF;AAuBD,CAxBD;;AA0BAF,aAAa,CAACF,SAAd,2CAA0BA,SAA1B;AAEA,eAAeE,aAAf"}
|