@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,125 @@
|
|
|
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
|
+
width: 100%;
|
|
10
|
+
flex: 1;
|
|
11
|
+
display: flex;
|
|
12
|
+
justify-content: space-between;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.page {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
justify-content: space-between;
|
|
20
|
+
align-items: center;
|
|
21
|
+
width: 100%;
|
|
22
|
+
padding: 40px 0px 0px 0px;
|
|
23
|
+
box-sizing: border-box;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.container{
|
|
27
|
+
width: 660px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.article {
|
|
31
|
+
margin-top: 40px;
|
|
32
|
+
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.backContainer {
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-direction: row;
|
|
38
|
+
gap: 12px;
|
|
39
|
+
align-items: center;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.img {
|
|
43
|
+
width: 100%;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.backContainer span {
|
|
47
|
+
font-family: Gilroy;
|
|
48
|
+
font-size: 14px;
|
|
49
|
+
font-weight: 500;
|
|
50
|
+
line-height: 20px;
|
|
51
|
+
letter-spacing: 0px;
|
|
52
|
+
text-align: left;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.privacyPolicyContact{
|
|
56
|
+
width: 100%;
|
|
57
|
+
height: 86px;
|
|
58
|
+
display: flex;
|
|
59
|
+
justify-content: center;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.title {
|
|
63
|
+
font-family: Gilroy;
|
|
64
|
+
font-size: 28px;
|
|
65
|
+
font-weight: 500;
|
|
66
|
+
line-height: 36px;
|
|
67
|
+
letter-spacing: 0px;
|
|
68
|
+
text-align: left;
|
|
69
|
+
margin: 16px 0px 24px 0px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.subTitle {
|
|
73
|
+
font-family: Gilroy;
|
|
74
|
+
font-size: 18px;
|
|
75
|
+
font-weight: 600;
|
|
76
|
+
line-height: 24px;
|
|
77
|
+
letter-spacing: 0px;
|
|
78
|
+
text-align: left;
|
|
79
|
+
margin: 0px 0px 16px 0px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.text {
|
|
83
|
+
font-family: Gilroy;
|
|
84
|
+
font-size: 14px;
|
|
85
|
+
font-weight: 500;
|
|
86
|
+
line-height: 20px;
|
|
87
|
+
letter-spacing: 0px;
|
|
88
|
+
text-align: left;
|
|
89
|
+
margin-bottom: 16px;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.backContainerMobile {
|
|
93
|
+
display: none;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
@media mobile {
|
|
97
|
+
.page {
|
|
98
|
+
display: flex;
|
|
99
|
+
flex-direction: column;
|
|
100
|
+
justify-content: space-between;
|
|
101
|
+
height: 100%;
|
|
102
|
+
width: 100%;
|
|
103
|
+
padding: 40px 24px;
|
|
104
|
+
box-sizing: border-box;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.backContainerMobile {
|
|
108
|
+
display: flex;
|
|
109
|
+
flex-direction: row;
|
|
110
|
+
gap: 12px;
|
|
111
|
+
align-items: center;
|
|
112
|
+
margin-top: 40px;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.container{
|
|
116
|
+
width: 100%;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.privacyPolicyContact{
|
|
120
|
+
width: 100%;
|
|
121
|
+
height: max-content;
|
|
122
|
+
display: flex;
|
|
123
|
+
justify-content: center;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import { Props as ContactProps } from '../../../molecule/privacy-policy-contact/types';
|
|
3
|
+
export declare const propTypes: {
|
|
4
|
+
subArticles: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
5
|
+
subTitle: PropTypes.Requireable<string>;
|
|
6
|
+
text: PropTypes.Requireable<string>;
|
|
7
|
+
image: PropTypes.Requireable<string>;
|
|
8
|
+
backButtonText: PropTypes.Requireable<string>;
|
|
9
|
+
}> | null | undefined)[]>;
|
|
10
|
+
title: PropTypes.Requireable<string>;
|
|
11
|
+
backButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
12
|
+
size: PropTypes.Requireable<string>;
|
|
13
|
+
'data-name': PropTypes.Requireable<string>;
|
|
14
|
+
'aria-label': PropTypes.Requireable<string>;
|
|
15
|
+
icon: PropTypes.Requireable<string>;
|
|
16
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
17
|
+
}>>;
|
|
18
|
+
privacyPolicyContact: PropTypes.Requireable<PropTypes.InferProps<{
|
|
19
|
+
title: PropTypes.Requireable<string>;
|
|
20
|
+
content: PropTypes.Requireable<string>;
|
|
21
|
+
}>>;
|
|
22
|
+
};
|
|
23
|
+
export declare type SubArticle = {
|
|
24
|
+
subTitle: string;
|
|
25
|
+
text: string;
|
|
26
|
+
image: string;
|
|
27
|
+
};
|
|
28
|
+
export declare type Props = {
|
|
29
|
+
subArticles: SubArticle[];
|
|
30
|
+
backButtonText: string;
|
|
31
|
+
title: string;
|
|
32
|
+
privacyPolicyContact: ContactProps;
|
|
33
|
+
backButton: {
|
|
34
|
+
size: string;
|
|
35
|
+
'data-name': string;
|
|
36
|
+
'aria-label': string;
|
|
37
|
+
icon: string;
|
|
38
|
+
onClick: () => void;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/template/common/faq-article-page/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EACL,KAAK,IAAI,YAAY,EAEtB,MAAM,gDAAgD,CAAC;AAExD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;CAkBrB,CAAC;AAEF,oBAAY,UAAU,GAAG;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAC,CAAC;AAEzE,oBAAY,KAAK,GAAG;IAClB,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,oBAAoB,EAAE,YAAY,CAAC;IACnC,UAAU,EAAE;QACV,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC;QACpB,YAAY,EAAE,MAAM,CAAC;QACrB,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,IAAI,CAAC;KACrB,CAAC;CACH,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.propTypes = void 0;
|
|
5
|
+
|
|
6
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
7
|
+
|
|
8
|
+
var _types = require("../../../molecule/privacy-policy-contact/types");
|
|
9
|
+
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
|
|
12
|
+
const propTypes = {
|
|
13
|
+
subArticles: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
14
|
+
subTitle: _propTypes.default.string,
|
|
15
|
+
text: _propTypes.default.string,
|
|
16
|
+
image: _propTypes.default.string,
|
|
17
|
+
backButtonText: _propTypes.default.string
|
|
18
|
+
})),
|
|
19
|
+
title: _propTypes.default.string,
|
|
20
|
+
backButton: _propTypes.default.shape({
|
|
21
|
+
size: _propTypes.default.string,
|
|
22
|
+
'data-name': _propTypes.default.string,
|
|
23
|
+
'aria-label': _propTypes.default.string,
|
|
24
|
+
icon: _propTypes.default.string,
|
|
25
|
+
onClick: _propTypes.default.func
|
|
26
|
+
}),
|
|
27
|
+
privacyPolicyContact: _propTypes.default.shape(_types.propTypes)
|
|
28
|
+
};
|
|
29
|
+
exports.propTypes = propTypes;
|
|
30
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","names":["propTypes","subArticles","PropTypes","arrayOf","shape","subTitle","string","text","image","backButtonText","title","backButton","size","icon","onClick","func","privacyPolicyContact","ContactPropTypes"],"sources":["../../../../src/template/common/faq-article-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';\n\nexport const propTypes = {\n subArticles: PropTypes.arrayOf(\n PropTypes.shape({\n subTitle: PropTypes.string,\n text: PropTypes.string,\n image: PropTypes.string,\n backButtonText: PropTypes.string\n })\n ),\n title: PropTypes.string,\n backButton: PropTypes.shape({\n size: PropTypes.string,\n 'data-name': PropTypes.string,\n 'aria-label': PropTypes.string,\n icon: PropTypes.string,\n onClick: PropTypes.func\n }),\n privacyPolicyContact: PropTypes.shape(ContactPropTypes)\n};\n\nexport type SubArticle = {subTitle: string; text: string; image: string};\n\nexport type Props = {\n subArticles: SubArticle[];\n backButtonText: string;\n title: string;\n privacyPolicyContact: ContactProps;\n backButton: {\n size: string;\n 'data-name': string;\n 'aria-label': string;\n icon: string;\n onClick: () => void;\n };\n};\n"],"mappings":";;;;;AAAA;;AACA;;;;AAKO,MAAMA,SAAS,GAAG;EACvBC,WAAW,EAAEC,kBAAA,CAAUC,OAAV,CACXD,kBAAA,CAAUE,KAAV,CAAgB;IACdC,QAAQ,EAAEH,kBAAA,CAAUI,MADN;IAEdC,IAAI,EAAEL,kBAAA,CAAUI,MAFF;IAGdE,KAAK,EAAEN,kBAAA,CAAUI,MAHH;IAIdG,cAAc,EAAEP,kBAAA,CAAUI;EAJZ,CAAhB,CADW,CADU;EASvBI,KAAK,EAAER,kBAAA,CAAUI,MATM;EAUvBK,UAAU,EAAET,kBAAA,CAAUE,KAAV,CAAgB;IAC1BQ,IAAI,EAAEV,kBAAA,CAAUI,MADU;IAE1B,aAAaJ,kBAAA,CAAUI,MAFG;IAG1B,cAAcJ,kBAAA,CAAUI,MAHE;IAI1BO,IAAI,EAAEX,kBAAA,CAAUI,MAJU;IAK1BQ,OAAO,EAAEZ,kBAAA,CAAUa;EALO,CAAhB,CAVW;EAiBvBC,oBAAoB,EAAEd,kBAAA,CAAUE,KAAV,CAAgBa,gBAAhB;AAjBC,CAAlB"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Props } from './types';
|
|
3
|
+
declare const FAQCardsPage: {
|
|
4
|
+
({ header, privacyPolicyContact, quickAccessList, title, description }: 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
|
+
title: import("prop-types").Requireable<string>;
|
|
17
|
+
description: import("prop-types").Requireable<string>;
|
|
18
|
+
privacyPolicyContact: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
19
|
+
title: import("prop-types").Requireable<string>;
|
|
20
|
+
content: import("prop-types").Requireable<string>;
|
|
21
|
+
}>>;
|
|
22
|
+
quickAccessList: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
23
|
+
title: import("prop-types").Requireable<string>;
|
|
24
|
+
description: import("prop-types").Requireable<string>;
|
|
25
|
+
href: import("prop-types").Requireable<string>;
|
|
26
|
+
openInNewTab: import("prop-types").Requireable<boolean>;
|
|
27
|
+
isMoocCard: import("prop-types").Requireable<boolean>;
|
|
28
|
+
feature: import("prop-types").Requireable<string>;
|
|
29
|
+
}> | null | undefined)[]>;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export default FAQCardsPage;
|
|
33
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/common/faq-cards-page/index.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAY,KAAK,EAAC,MAAM,SAAS,CAAC;AAGzC,QAAA,MAAM,YAAY;4EAMf,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BP,CAAC;AAIF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
|
|
6
|
+
var _map2 = _interopRequireDefault(require("lodash/fp/map"));
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _hero = _interopRequireDefault(require("../../../molecule/hero"));
|
|
11
|
+
|
|
12
|
+
var _privacyPolicyContact = _interopRequireDefault(require("../../../molecule/privacy-policy-contact"));
|
|
13
|
+
|
|
14
|
+
var _quickAccessCard = _interopRequireDefault(require("../../../molecule/quick-access-card"));
|
|
15
|
+
|
|
16
|
+
var _types = require("./types");
|
|
17
|
+
|
|
18
|
+
var _style = _interopRequireDefault(require("./style.css"));
|
|
19
|
+
|
|
20
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21
|
+
|
|
22
|
+
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); }
|
|
23
|
+
|
|
24
|
+
const FAQCardsPage = ({
|
|
25
|
+
header,
|
|
26
|
+
privacyPolicyContact,
|
|
27
|
+
quickAccessList,
|
|
28
|
+
title,
|
|
29
|
+
description
|
|
30
|
+
}) => {
|
|
31
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
32
|
+
className: _style.default.wrapper
|
|
33
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
34
|
+
className: _style.default.hero
|
|
35
|
+
}, /*#__PURE__*/_react.default.createElement(_hero.default, _extends({}, header, {
|
|
36
|
+
mode: 'header'
|
|
37
|
+
}))), /*#__PURE__*/_react.default.createElement("div", {
|
|
38
|
+
className: _style.default.container
|
|
39
|
+
}, /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("h3", {
|
|
40
|
+
className: _style.default.title
|
|
41
|
+
}, title), /*#__PURE__*/_react.default.createElement("h6", {
|
|
42
|
+
className: _style.default.description
|
|
43
|
+
}, description)), /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("div", {
|
|
44
|
+
className: _style.default.group
|
|
45
|
+
}, (0, _map2.default)(item => {
|
|
46
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
47
|
+
className: _style.default.card,
|
|
48
|
+
key: `card-quick-access-faq-${item.title}`
|
|
49
|
+
}, /*#__PURE__*/_react.default.createElement(_quickAccessCard.default, item));
|
|
50
|
+
}, quickAccessList)))), /*#__PURE__*/_react.default.createElement("div", {
|
|
51
|
+
className: _style.default.privacyPolicyContact
|
|
52
|
+
}, /*#__PURE__*/_react.default.createElement(_privacyPolicyContact.default, privacyPolicyContact)));
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
FAQCardsPage.propTypes = process.env.NODE_ENV !== "production" ? _types.propTypes : {};
|
|
56
|
+
var _default = FAQCardsPage;
|
|
57
|
+
exports.default = _default;
|
|
58
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["FAQCardsPage","header","privacyPolicyContact","quickAccessList","title","description","styles","wrapper","hero","container","group","item","card","propTypes"],"sources":["../../../../src/template/common/faq-cards-page/index.tsx"],"sourcesContent":["import React from 'react';\nimport {map} from 'lodash/fp';\nimport Hero from '../../../molecule/hero';\nimport PrivacyPolicyContact from '../../../molecule/privacy-policy-contact';\nimport QuickAccessCard from '../../../molecule/quick-access-card';\nimport {propTypes, Props} from './types';\nimport styles from './style.css';\n\nconst FAQCardsPage = ({\n header,\n privacyPolicyContact,\n quickAccessList,\n title,\n description\n}: 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>\n <h3 className={styles.title}>{title}</h3>\n <h6 className={styles.description}>{description}</h6>\n </div>\n <div>\n <div className={styles.group}>\n {map(item => {\n return (\n <div className={styles.card} key={`card-quick-access-faq-${item.title}`}>\n <QuickAccessCard {...item} />\n </div>\n );\n }, quickAccessList)}\n </div>\n </div>\n </div>\n <div className={styles.privacyPolicyContact}>\n <PrivacyPolicyContact {...privacyPolicyContact} />\n </div>\n </div>\n );\n};\n\nFAQCardsPage.propTypes = propTypes;\n\nexport default FAQCardsPage;\n"],"mappings":";;;;;;;AAAA;;AAEA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,YAAY,GAAG,CAAC;EACpBC,MADoB;EAEpBC,oBAFoB;EAGpBC,eAHoB;EAIpBC,KAJoB;EAKpBC;AALoB,CAAD,KAMR;EACX,oBACE;IAAK,SAAS,EAAEC,cAAA,CAAOC;EAAvB,gBACE;IAAK,SAAS,EAAED,cAAA,CAAOE;EAAvB,gBACE,6BAAC,aAAD,eAAUP,MAAV;IAAkB,IAAI,EAAE;EAAxB,GADF,CADF,eAIE;IAAK,SAAS,EAAEK,cAAA,CAAOG;EAAvB,gBACE,uDACE;IAAI,SAAS,EAAEH,cAAA,CAAOF;EAAtB,GAA8BA,KAA9B,CADF,eAEE;IAAI,SAAS,EAAEE,cAAA,CAAOD;EAAtB,GAAoCA,WAApC,CAFF,CADF,eAKE,uDACE;IAAK,SAAS,EAAEC,cAAA,CAAOI;EAAvB,GACG,mBAAIC,IAAI,IAAI;IACX,oBACE;MAAK,SAAS,EAAEL,cAAA,CAAOM,IAAvB;MAA6B,GAAG,EAAG,yBAAwBD,IAAI,CAACP,KAAM;IAAtE,gBACE,6BAAC,wBAAD,EAAqBO,IAArB,CADF,CADF;EAKD,CANA,EAMER,eANF,CADH,CADF,CALF,CAJF,eAqBE;IAAK,SAAS,EAAEG,cAAA,CAAOJ;EAAvB,gBACE,6BAAC,6BAAD,EAA0BA,oBAA1B,CADF,CArBF,CADF;AA2BD,CAlCD;;AAoCAF,YAAY,CAACa,SAAb,2CAAyBA,gBAAzB;eAEeb,Y"}
|
|
@@ -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,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.propTypes = void 0;
|
|
5
|
+
|
|
6
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
7
|
+
|
|
8
|
+
var _types = require("../../../molecule/privacy-policy-contact/types");
|
|
9
|
+
|
|
10
|
+
var _types2 = require("../../../molecule/hero/types");
|
|
11
|
+
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
+
|
|
14
|
+
const propTypes = {
|
|
15
|
+
header: _propTypes.default.shape(_types2.propTypes),
|
|
16
|
+
title: _propTypes.default.string,
|
|
17
|
+
description: _propTypes.default.string,
|
|
18
|
+
privacyPolicyContact: _propTypes.default.shape(_types.propTypes),
|
|
19
|
+
quickAccessList: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
20
|
+
title: _propTypes.default.string,
|
|
21
|
+
description: _propTypes.default.string,
|
|
22
|
+
href: _propTypes.default.string,
|
|
23
|
+
openInNewTab: _propTypes.default.bool,
|
|
24
|
+
isMoocCard: _propTypes.default.bool,
|
|
25
|
+
feature: _propTypes.default.oneOf(['binoculaire', 'book', 'network', 'chat-bubble-question', 'mobile-phone'])
|
|
26
|
+
}))
|
|
27
|
+
};
|
|
28
|
+
exports.propTypes = propTypes;
|
|
29
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","names":["propTypes","header","PropTypes","shape","HeroPropTypes","title","string","description","privacyPolicyContact","ContactPropTypes","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;;AACA;;AAIA;;;;AAEO,MAAMA,SAAS,GAAG;EACvBC,MAAM,EAAEC,kBAAA,CAAUC,KAAV,CAAgBC,iBAAhB,CADe;EAEvBC,KAAK,EAAEH,kBAAA,CAAUI,MAFM;EAGvBC,WAAW,EAAEL,kBAAA,CAAUI,MAHA;EAIvBE,oBAAoB,EAAEN,kBAAA,CAAUC,KAAV,CAAgBM,gBAAhB,CAJC;EAKvBC,eAAe,EAAER,kBAAA,CAAUS,OAAV,CACfT,kBAAA,CAAUC,KAAV,CAAgB;IACdE,KAAK,EAAEH,kBAAA,CAAUI,MADH;IAEdC,WAAW,EAAEL,kBAAA,CAAUI,MAFT;IAGdM,IAAI,EAAEV,kBAAA,CAAUI,MAHF;IAIdO,YAAY,EAAEX,kBAAA,CAAUY,IAJV;IAKdC,UAAU,EAAEb,kBAAA,CAAUY,IALR;IAMdE,OAAO,EAAEd,kBAAA,CAAUe,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,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
|
|
6
|
+
var _react = _interopRequireDefault(require("react"));
|
|
7
|
+
|
|
8
|
+
var _hero = _interopRequireDefault(require("../../../molecule/hero"));
|
|
9
|
+
|
|
10
|
+
var _privacyPolicyContact = _interopRequireDefault(require("../../../molecule/privacy-policy-contact"));
|
|
11
|
+
|
|
12
|
+
var _menuLinks = _interopRequireDefault(require("../../../molecule/menu-links"));
|
|
13
|
+
|
|
14
|
+
var _expandableList = _interopRequireDefault(require("../../../molecule/expandable-list"));
|
|
15
|
+
|
|
16
|
+
var _types = require("./types");
|
|
17
|
+
|
|
18
|
+
var _style = _interopRequireDefault(require("./style.css"));
|
|
19
|
+
|
|
20
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21
|
+
|
|
22
|
+
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); }
|
|
23
|
+
|
|
24
|
+
const FAQPage = ({
|
|
25
|
+
header,
|
|
26
|
+
privacyPolicyContact,
|
|
27
|
+
menuLinks,
|
|
28
|
+
expandableList
|
|
29
|
+
}) => {
|
|
30
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
31
|
+
className: _style.default.wrapper
|
|
32
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
33
|
+
className: _style.default.hero
|
|
34
|
+
}, /*#__PURE__*/_react.default.createElement(_hero.default, _extends({}, header, {
|
|
35
|
+
mode: 'header'
|
|
36
|
+
}))), /*#__PURE__*/_react.default.createElement("div", {
|
|
37
|
+
className: _style.default.container
|
|
38
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
39
|
+
className: _style.default.menuContainer
|
|
40
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
41
|
+
className: _style.default.menueLinksDesctop
|
|
42
|
+
}, /*#__PURE__*/_react.default.createElement(_menuLinks.default, _extends({}, menuLinks, {
|
|
43
|
+
isDesktopMode: true
|
|
44
|
+
}))), /*#__PURE__*/_react.default.createElement("div", {
|
|
45
|
+
className: _style.default.menueLinksMobile
|
|
46
|
+
}, /*#__PURE__*/_react.default.createElement(_menuLinks.default, _extends({}, menuLinks, {
|
|
47
|
+
isDesktopMode: true
|
|
48
|
+
})))), /*#__PURE__*/_react.default.createElement("div", {
|
|
49
|
+
className: _style.default.expandableList
|
|
50
|
+
}, /*#__PURE__*/_react.default.createElement(_expandableList.default, expandableList))), /*#__PURE__*/_react.default.createElement("div", {
|
|
51
|
+
className: _style.default.privacyPolicyContact
|
|
52
|
+
}, /*#__PURE__*/_react.default.createElement(_privacyPolicyContact.default, privacyPolicyContact)));
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
FAQPage.propTypes = process.env.NODE_ENV !== "production" ? _types.propTypes : {};
|
|
56
|
+
var _default = FAQPage;
|
|
57
|
+
exports.default = _default;
|
|
58
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["FAQPage","header","privacyPolicyContact","menuLinks","expandableList","styles","wrapper","hero","container","menuContainer","menueLinksDesctop","menueLinksMobile","propTypes"],"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;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,OAAO,GAAG,CAAC;EAACC,MAAD;EAASC,oBAAT;EAA+BC,SAA/B;EAA0CC;AAA1C,CAAD,KAAsE;EACpF,oBACE;IAAK,SAAS,EAAEC,cAAA,CAAOC;EAAvB,gBACE;IAAK,SAAS,EAAED,cAAA,CAAOE;EAAvB,gBACE,6BAAC,aAAD,eAAUN,MAAV;IAAkB,IAAI,EAAE;EAAxB,GADF,CADF,eAIE;IAAK,SAAS,EAAEI,cAAA,CAAOG;EAAvB,gBACE;IAAK,SAAS,EAAEH,cAAA,CAAOI;EAAvB,gBACE;IAAK,SAAS,EAAEJ,cAAA,CAAOK;EAAvB,gBACE,6BAAC,kBAAD,eAAeP,SAAf;IAA0B,aAAa;EAAvC,GADF,CADF,eAIE;IAAK,SAAS,EAAEE,cAAA,CAAOM;EAAvB,gBACE,6BAAC,kBAAD,eAAeR,SAAf;IAA0B,aAAa;EAAvC,GADF,CAJF,CADF,eASE;IAAK,SAAS,EAAEE,cAAA,CAAOD;EAAvB,gBACE,6BAAC,uBAAD,EAAoBA,cAApB,CADF,CATF,CAJF,eAiBE;IAAK,SAAS,EAAEC,cAAA,CAAOH;EAAvB,gBACE,6BAAC,6BAAD,EAA0BA,oBAA1B,CADF,CAjBF,CADF;AAuBD,CAxBD;;AA0BAF,OAAO,CAACY,SAAR,2CAAoBA,gBAApB;eAEeZ,O"}
|