@coorpacademy/components 11.18.3 → 11.18.4-alpha.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/atom/title/types.d.ts +9 -0
- package/es/atom/title/types.d.ts.map +1 -0
- package/es/atom/title/types.js +2 -0
- package/es/atom/title/types.js.map +1 -0
- package/es/molecule/card/index.d.ts.map +1 -1
- package/es/molecule/card/index.js +10 -9
- package/es/molecule/card/index.js.map +1 -1
- package/es/molecule/card/style.css +41 -5
- package/es/molecule/cm-popin/index.d.ts.map +1 -1
- package/es/molecule/cm-popin/index.js +45 -9
- package/es/molecule/cm-popin/index.js.map +1 -1
- package/es/molecule/cm-popin/style.css +29 -0
- package/es/molecule/cm-popin/types.d.ts +31 -1
- package/es/molecule/cm-popin/types.d.ts.map +1 -1
- package/es/molecule/cm-popin/types.js +13 -3
- package/es/molecule/cm-popin/types.js.map +1 -1
- package/es/template/app-player/loading/index.d.ts +19 -1
- package/es/template/app-player/player/index.d.ts +38 -2
- package/es/template/app-player/player/slides/index.d.ts +19 -1
- package/es/template/app-player/player/slides/index.d.ts.map +1 -1
- package/es/template/app-player/popin-correction/index.d.ts +19 -1
- package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/es/template/app-player/popin-end/index.d.ts +19 -1
- package/es/template/app-review/index.d.ts +19 -1
- package/es/template/app-review/index.d.ts.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +19 -1
- package/es/template/app-review/player/prop-types.d.ts.map +1 -1
- package/es/template/app-review/prop-types.d.ts +19 -1
- package/es/template/app-review/prop-types.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.d.ts +19 -1
- package/es/template/common/dashboard/index.d.ts +89 -1
- package/es/template/common/dashboard/index.d.ts.map +1 -1
- package/es/template/common/dashboard/index.js +4 -2
- package/es/template/common/dashboard/index.js.map +1 -1
- package/es/template/common/search-page/index.d.ts +70 -0
- package/es/template/common/search-page/index.d.ts.map +1 -1
- package/es/template/common/search-page/index.js +8 -3
- package/es/template/common/search-page/index.js.map +1 -1
- package/es/template/common/search-page/style.css +5 -0
- package/es/template/external-course/index.d.ts +19 -1
- package/es/variables/colors.css +1 -1
- package/lib/atom/title/types.d.ts +9 -0
- package/lib/atom/title/types.d.ts.map +1 -0
- package/lib/atom/title/types.js +2 -0
- package/lib/atom/title/types.js.map +1 -0
- package/lib/molecule/card/index.d.ts.map +1 -1
- package/lib/molecule/card/index.js +9 -7
- package/lib/molecule/card/index.js.map +1 -1
- package/lib/molecule/card/style.css +41 -5
- package/lib/molecule/cm-popin/index.d.ts.map +1 -1
- package/lib/molecule/cm-popin/index.js +47 -8
- package/lib/molecule/cm-popin/index.js.map +1 -1
- package/lib/molecule/cm-popin/style.css +29 -0
- package/lib/molecule/cm-popin/types.d.ts +31 -1
- package/lib/molecule/cm-popin/types.d.ts.map +1 -1
- package/lib/molecule/cm-popin/types.js +15 -3
- package/lib/molecule/cm-popin/types.js.map +1 -1
- package/lib/template/app-player/loading/index.d.ts +19 -1
- package/lib/template/app-player/player/index.d.ts +38 -2
- package/lib/template/app-player/player/slides/index.d.ts +19 -1
- package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-correction/index.d.ts +19 -1
- package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-end/index.d.ts +19 -1
- package/lib/template/app-review/index.d.ts +19 -1
- package/lib/template/app-review/index.d.ts.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +19 -1
- package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/prop-types.d.ts +19 -1
- package/lib/template/app-review/prop-types.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.d.ts +19 -1
- package/lib/template/common/dashboard/index.d.ts +89 -1
- package/lib/template/common/dashboard/index.d.ts.map +1 -1
- package/lib/template/common/dashboard/index.js +4 -2
- package/lib/template/common/dashboard/index.js.map +1 -1
- package/lib/template/common/search-page/index.d.ts +70 -0
- package/lib/template/common/search-page/index.d.ts.map +1 -1
- package/lib/template/common/search-page/index.js +9 -3
- package/lib/template/common/search-page/index.js.map +1 -1
- package/lib/template/common/search-page/style.css +5 -0
- package/lib/template/external-course/index.d.ts +19 -1
- package/lib/variables/colors.css +1 -1
- package/package.json +2 -2
|
@@ -58,7 +58,18 @@ declare namespace SlidePlayer {
|
|
|
58
58
|
popinError: PropTypes.Requireable<PropTypes.InferProps<{
|
|
59
59
|
content: PropTypes.Requireable<string>;
|
|
60
60
|
mode: PropTypes.Requireable<string>;
|
|
61
|
-
header: PropTypes.Requireable<
|
|
61
|
+
header: PropTypes.Requireable<PropTypes.InferProps<{
|
|
62
|
+
title: PropTypes.Requireable<PropTypes.InferProps<{
|
|
63
|
+
title: PropTypes.Requireable<string>;
|
|
64
|
+
subtitle: PropTypes.Requireable<string>;
|
|
65
|
+
type: PropTypes.Requireable<string>;
|
|
66
|
+
'data-name': PropTypes.Requireable<string>;
|
|
67
|
+
titleSize: PropTypes.Requireable<string>;
|
|
68
|
+
subtitleSize: PropTypes.Requireable<string>;
|
|
69
|
+
}>>;
|
|
70
|
+
headerIcon: PropTypes.Requireable<string>;
|
|
71
|
+
backgroundImage: PropTypes.Requireable<string>;
|
|
72
|
+
}>>;
|
|
62
73
|
firstButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
63
74
|
label: PropTypes.Requireable<string>;
|
|
64
75
|
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -106,12 +117,30 @@ declare namespace SlidePlayer {
|
|
|
106
117
|
'data-name': PropTypes.Requireable<string>;
|
|
107
118
|
requiredSelection: PropTypes.Requireable<boolean>;
|
|
108
119
|
}> | null | undefined)[]>;
|
|
120
|
+
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
121
|
+
type: PropTypes.Requireable<string>;
|
|
122
|
+
list: PropTypes.Requireable<PropTypes.InferProps<{
|
|
123
|
+
list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
|
|
124
|
+
loading: PropTypes.Requireable<boolean>;
|
|
125
|
+
}>>;
|
|
126
|
+
}>>;
|
|
109
127
|
}>>;
|
|
110
128
|
}>>;
|
|
111
129
|
const popin: PropTypes.Requireable<PropTypes.InferProps<{
|
|
112
130
|
content: PropTypes.Requireable<string>;
|
|
113
131
|
mode: PropTypes.Requireable<string>;
|
|
114
|
-
header: PropTypes.Requireable<
|
|
132
|
+
header: PropTypes.Requireable<PropTypes.InferProps<{
|
|
133
|
+
title: PropTypes.Requireable<PropTypes.InferProps<{
|
|
134
|
+
title: PropTypes.Requireable<string>;
|
|
135
|
+
subtitle: PropTypes.Requireable<string>;
|
|
136
|
+
type: PropTypes.Requireable<string>;
|
|
137
|
+
'data-name': PropTypes.Requireable<string>;
|
|
138
|
+
titleSize: PropTypes.Requireable<string>;
|
|
139
|
+
subtitleSize: PropTypes.Requireable<string>;
|
|
140
|
+
}>>;
|
|
141
|
+
headerIcon: PropTypes.Requireable<string>;
|
|
142
|
+
backgroundImage: PropTypes.Requireable<string>;
|
|
143
|
+
}>>;
|
|
115
144
|
firstButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
116
145
|
label: PropTypes.Requireable<string>;
|
|
117
146
|
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -159,6 +188,13 @@ declare namespace SlidePlayer {
|
|
|
159
188
|
'data-name': PropTypes.Requireable<string>;
|
|
160
189
|
requiredSelection: PropTypes.Requireable<boolean>;
|
|
161
190
|
}> | null | undefined)[]>;
|
|
191
|
+
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
192
|
+
type: PropTypes.Requireable<string>;
|
|
193
|
+
list: PropTypes.Requireable<PropTypes.InferProps<{
|
|
194
|
+
list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
|
|
195
|
+
loading: PropTypes.Requireable<boolean>;
|
|
196
|
+
}>>;
|
|
197
|
+
}>>;
|
|
162
198
|
}>>;
|
|
163
199
|
}
|
|
164
200
|
}
|
|
@@ -64,7 +64,18 @@ declare namespace SlidesPlayer {
|
|
|
64
64
|
export const popinError: PropTypes.Requireable<PropTypes.InferProps<{
|
|
65
65
|
content: PropTypes.Requireable<string>;
|
|
66
66
|
mode: PropTypes.Requireable<string>;
|
|
67
|
-
header: PropTypes.Requireable<
|
|
67
|
+
header: PropTypes.Requireable<PropTypes.InferProps<{
|
|
68
|
+
title: PropTypes.Requireable<PropTypes.InferProps<{
|
|
69
|
+
title: PropTypes.Requireable<string>;
|
|
70
|
+
subtitle: PropTypes.Requireable<string>;
|
|
71
|
+
type: PropTypes.Requireable<string>;
|
|
72
|
+
'data-name': PropTypes.Requireable<string>;
|
|
73
|
+
titleSize: PropTypes.Requireable<string>;
|
|
74
|
+
subtitleSize: PropTypes.Requireable<string>;
|
|
75
|
+
}>>;
|
|
76
|
+
headerIcon: PropTypes.Requireable<string>;
|
|
77
|
+
backgroundImage: PropTypes.Requireable<string>;
|
|
78
|
+
}>>;
|
|
68
79
|
firstButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
69
80
|
label: PropTypes.Requireable<string>;
|
|
70
81
|
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -112,6 +123,13 @@ declare namespace SlidesPlayer {
|
|
|
112
123
|
'data-name': PropTypes.Requireable<string>;
|
|
113
124
|
requiredSelection: PropTypes.Requireable<boolean>;
|
|
114
125
|
}> | null | undefined)[]>;
|
|
126
|
+
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
127
|
+
type: PropTypes.Requireable<string>;
|
|
128
|
+
list: PropTypes.Requireable<PropTypes.InferProps<{
|
|
129
|
+
list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
|
|
130
|
+
loading: PropTypes.Requireable<boolean>;
|
|
131
|
+
}>>;
|
|
132
|
+
}>>;
|
|
115
133
|
}>>;
|
|
116
134
|
}
|
|
117
135
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/template/app-player/player/slides/index.js"],"names":[],"mappings":";AA4aA,qEAkBC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/template/app-player/player/slides/index.js"],"names":[],"mappings":";AA4aA,qEAkBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA1ID;;uBAyBC;;;;;;;;;;;;;;;;;;;;;;;;;AAlPD;;;gBAaC;;;;;;;;;;;;;AAyDD;;;gBAAoF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAhHpF,oEAQC;;;;;;;;;AA6MD;;gBAiBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA/GD,qEAaC"}
|
|
@@ -92,7 +92,18 @@ declare class PopinCorrection extends React.Component<any, any, any> {
|
|
|
92
92
|
popinError: PropTypes.Requireable<PropTypes.InferProps<{
|
|
93
93
|
content: PropTypes.Requireable<string>;
|
|
94
94
|
mode: PropTypes.Requireable<string>;
|
|
95
|
-
header: PropTypes.Requireable<
|
|
95
|
+
header: PropTypes.Requireable<PropTypes.InferProps<{
|
|
96
|
+
title: PropTypes.Requireable<PropTypes.InferProps<{
|
|
97
|
+
title: PropTypes.Requireable<string>;
|
|
98
|
+
subtitle: PropTypes.Requireable<string>;
|
|
99
|
+
type: PropTypes.Requireable<string>;
|
|
100
|
+
'data-name': PropTypes.Requireable<string>;
|
|
101
|
+
titleSize: PropTypes.Requireable<string>;
|
|
102
|
+
subtitleSize: PropTypes.Requireable<string>;
|
|
103
|
+
}>>;
|
|
104
|
+
headerIcon: PropTypes.Requireable<string>;
|
|
105
|
+
backgroundImage: PropTypes.Requireable<string>;
|
|
106
|
+
}>>;
|
|
96
107
|
firstButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
97
108
|
label: PropTypes.Requireable<string>;
|
|
98
109
|
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -140,6 +151,13 @@ declare class PopinCorrection extends React.Component<any, any, any> {
|
|
|
140
151
|
'data-name': PropTypes.Requireable<string>;
|
|
141
152
|
requiredSelection: PropTypes.Requireable<boolean>;
|
|
142
153
|
}> | null | undefined)[]>;
|
|
154
|
+
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
155
|
+
type: PropTypes.Requireable<string>;
|
|
156
|
+
list: PropTypes.Requireable<PropTypes.InferProps<{
|
|
157
|
+
list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
|
|
158
|
+
loading: PropTypes.Requireable<boolean>;
|
|
159
|
+
}>>;
|
|
160
|
+
}>>;
|
|
143
161
|
}>>;
|
|
144
162
|
};
|
|
145
163
|
static contextTypes: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/app-player/popin-correction/index.js"],"names":[],"mappings":";AAmGA;IACE
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/app-player/popin-correction/index.js"],"names":[],"mappings":";AAmGA;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmBE;IAEF;;;;;;;;;;;;;;;;;;;;;;MAEE;IAEF,wBAIC;IAFC;;MAA0B;IAkB5B,gCAEC;IAhBD,0BAEC;IAED,kBAQC;IALC,gCAIE;IAIF,aAAsB;IAGxB,sBAsEC;CACF"}
|
|
@@ -132,7 +132,18 @@ declare namespace PopinEnd {
|
|
|
132
132
|
const popinError: PropTypes.Requireable<PropTypes.InferProps<{
|
|
133
133
|
content: PropTypes.Requireable<string>;
|
|
134
134
|
mode: PropTypes.Requireable<string>;
|
|
135
|
-
header: PropTypes.Requireable<
|
|
135
|
+
header: PropTypes.Requireable<PropTypes.InferProps<{
|
|
136
|
+
title: PropTypes.Requireable<PropTypes.InferProps<{
|
|
137
|
+
title: PropTypes.Requireable<string>;
|
|
138
|
+
subtitle: PropTypes.Requireable<string>;
|
|
139
|
+
type: PropTypes.Requireable<string>;
|
|
140
|
+
'data-name': PropTypes.Requireable<string>;
|
|
141
|
+
titleSize: PropTypes.Requireable<string>;
|
|
142
|
+
subtitleSize: PropTypes.Requireable<string>;
|
|
143
|
+
}>>;
|
|
144
|
+
headerIcon: PropTypes.Requireable<string>;
|
|
145
|
+
backgroundImage: PropTypes.Requireable<string>;
|
|
146
|
+
}>>;
|
|
136
147
|
firstButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
137
148
|
label: PropTypes.Requireable<string>;
|
|
138
149
|
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -180,6 +191,13 @@ declare namespace PopinEnd {
|
|
|
180
191
|
'data-name': PropTypes.Requireable<string>;
|
|
181
192
|
requiredSelection: PropTypes.Requireable<boolean>;
|
|
182
193
|
}> | null | undefined)[]>;
|
|
194
|
+
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
195
|
+
type: PropTypes.Requireable<string>;
|
|
196
|
+
list: PropTypes.Requireable<PropTypes.InferProps<{
|
|
197
|
+
list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
|
|
198
|
+
loading: PropTypes.Requireable<boolean>;
|
|
199
|
+
}>>;
|
|
200
|
+
}>>;
|
|
183
201
|
}>>;
|
|
184
202
|
}
|
|
185
203
|
}
|
|
@@ -509,7 +509,18 @@ declare const AppReview: {
|
|
|
509
509
|
quitPopin: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
510
510
|
content: import("prop-types").Requireable<string>;
|
|
511
511
|
mode: import("prop-types").Requireable<string>;
|
|
512
|
-
header: import("prop-types").Requireable<
|
|
512
|
+
header: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
513
|
+
title: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
514
|
+
title: import("prop-types").Requireable<string>;
|
|
515
|
+
subtitle: import("prop-types").Requireable<string>;
|
|
516
|
+
type: import("prop-types").Requireable<string>;
|
|
517
|
+
'data-name': import("prop-types").Requireable<string>;
|
|
518
|
+
titleSize: import("prop-types").Requireable<string>;
|
|
519
|
+
subtitleSize: import("prop-types").Requireable<string>;
|
|
520
|
+
}>>;
|
|
521
|
+
headerIcon: import("prop-types").Requireable<string>;
|
|
522
|
+
backgroundImage: import("prop-types").Requireable<string>;
|
|
523
|
+
}>>;
|
|
513
524
|
firstButton: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
514
525
|
label: import("prop-types").Requireable<string>;
|
|
515
526
|
handleOnclick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
@@ -557,6 +568,13 @@ declare const AppReview: {
|
|
|
557
568
|
'data-name': import("prop-types").Requireable<string>;
|
|
558
569
|
requiredSelection: import("prop-types").Requireable<boolean>;
|
|
559
570
|
}> | null | undefined)[]>;
|
|
571
|
+
items: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
572
|
+
type: import("prop-types").Requireable<string>;
|
|
573
|
+
list: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
574
|
+
list: import("prop-types").Requireable<(import("prop-types").InferProps<any> | null | undefined)[]>;
|
|
575
|
+
loading: import("prop-types").Requireable<boolean>;
|
|
576
|
+
}>>;
|
|
577
|
+
}>>;
|
|
560
578
|
}>>;
|
|
561
579
|
}>>;
|
|
562
580
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/index.tsx"],"names":[],"mappings":";AAGA,OAAkB,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAEvD,QAAA,MAAM,SAAS;2BAAwB,cAAc
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/index.tsx"],"names":[],"mappings":";AAGA,OAAkB,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAEvD,QAAA,MAAM,SAAS;2BAAwB,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOpD,CAAC;AAIF,eAAe,SAAS,CAAC"}
|
|
@@ -509,7 +509,18 @@ declare const propTypes: {
|
|
|
509
509
|
quitPopin: PropTypes.Requireable<PropTypes.InferProps<{
|
|
510
510
|
content: PropTypes.Requireable<string>;
|
|
511
511
|
mode: PropTypes.Requireable<string>;
|
|
512
|
-
header: PropTypes.Requireable<
|
|
512
|
+
header: PropTypes.Requireable<PropTypes.InferProps<{
|
|
513
|
+
title: PropTypes.Requireable<PropTypes.InferProps<{
|
|
514
|
+
title: PropTypes.Requireable<string>;
|
|
515
|
+
subtitle: PropTypes.Requireable<string>;
|
|
516
|
+
type: PropTypes.Requireable<string>;
|
|
517
|
+
'data-name': PropTypes.Requireable<string>;
|
|
518
|
+
titleSize: PropTypes.Requireable<string>;
|
|
519
|
+
subtitleSize: PropTypes.Requireable<string>;
|
|
520
|
+
}>>;
|
|
521
|
+
headerIcon: PropTypes.Requireable<string>;
|
|
522
|
+
backgroundImage: PropTypes.Requireable<string>;
|
|
523
|
+
}>>;
|
|
513
524
|
firstButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
514
525
|
label: PropTypes.Requireable<string>;
|
|
515
526
|
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -557,6 +568,13 @@ declare const propTypes: {
|
|
|
557
568
|
'data-name': PropTypes.Requireable<string>;
|
|
558
569
|
requiredSelection: PropTypes.Requireable<boolean>;
|
|
559
570
|
}> | null | undefined)[]>;
|
|
571
|
+
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
572
|
+
type: PropTypes.Requireable<string>;
|
|
573
|
+
list: PropTypes.Requireable<PropTypes.InferProps<{
|
|
574
|
+
list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
|
|
575
|
+
loading: PropTypes.Requireable<boolean>;
|
|
576
|
+
}>>;
|
|
577
|
+
}>>;
|
|
560
578
|
}>>;
|
|
561
579
|
};
|
|
562
580
|
export default propTypes;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../../src/template/app-review/player/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,cAAc,CAAC;AACtD,OAAO,EAAC,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAC9D,OAAgC,EAC9B,mBAAmB,EACpB,MAAM,8CAA8C,CAAC;AAEtD,OAA8B,EAAC,WAAW,EAAC,MAAM,uCAAuC,CAAC;AAEzF,OAA+B,EAC7B,gBAAgB,EACjB,MAAM,oDAAoD,CAAC;AAE5D,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../../src/template/app-review/player/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,cAAc,CAAC;AACtD,OAAO,EAAC,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAC9D,OAAgC,EAC9B,mBAAmB,EACpB,MAAM,8CAA8C,CAAC;AAEtD,OAA8B,EAAC,WAAW,EAAC,MAAM,uCAAuC,CAAC;AAEzF,OAA+B,EAC7B,gBAAgB,EACjB,MAAM,oDAAoD,CAAC;AAE5D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,iBAAiB,GAAG;IAC9B,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAC/B,eAAe,CAAC,EAAE,mBAAmB,CAAC;IACtC,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B,SAAS,CAAC,EAAE,YAAY,CAAC;CAC1B,CAAC"}
|
|
@@ -513,7 +513,18 @@ declare const propTypes: {
|
|
|
513
513
|
quitPopin: PropTypes.Requireable<PropTypes.InferProps<{
|
|
514
514
|
content: PropTypes.Requireable<string>;
|
|
515
515
|
mode: PropTypes.Requireable<string>;
|
|
516
|
-
header: PropTypes.Requireable<
|
|
516
|
+
header: PropTypes.Requireable<PropTypes.InferProps<{
|
|
517
|
+
title: PropTypes.Requireable<PropTypes.InferProps<{
|
|
518
|
+
title: PropTypes.Requireable<string>;
|
|
519
|
+
subtitle: PropTypes.Requireable<string>;
|
|
520
|
+
type: PropTypes.Requireable<string>;
|
|
521
|
+
'data-name': PropTypes.Requireable<string>;
|
|
522
|
+
titleSize: PropTypes.Requireable<string>;
|
|
523
|
+
subtitleSize: PropTypes.Requireable<string>;
|
|
524
|
+
}>>;
|
|
525
|
+
headerIcon: PropTypes.Requireable<string>;
|
|
526
|
+
backgroundImage: PropTypes.Requireable<string>;
|
|
527
|
+
}>>;
|
|
517
528
|
firstButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
518
529
|
label: PropTypes.Requireable<string>;
|
|
519
530
|
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -561,6 +572,13 @@ declare const propTypes: {
|
|
|
561
572
|
'data-name': PropTypes.Requireable<string>;
|
|
562
573
|
requiredSelection: PropTypes.Requireable<boolean>;
|
|
563
574
|
}> | null | undefined)[]>;
|
|
575
|
+
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
576
|
+
type: PropTypes.Requireable<string>;
|
|
577
|
+
list: PropTypes.Requireable<PropTypes.InferProps<{
|
|
578
|
+
list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
|
|
579
|
+
loading: PropTypes.Requireable<boolean>;
|
|
580
|
+
}>>;
|
|
581
|
+
}>>;
|
|
564
582
|
}>>;
|
|
565
583
|
}>>;
|
|
566
584
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AAEtD,oBAAY,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE3C,oBAAY,cAAc,GAAG;IAC3B,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AAEtD,oBAAY,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE3C,oBAAY,cAAc,GAAG;IAC3B,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1204,7 +1204,18 @@ declare namespace BrandUpdate {
|
|
|
1204
1204
|
export const popin: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1205
1205
|
content: PropTypes.Requireable<string>;
|
|
1206
1206
|
mode: PropTypes.Requireable<string>;
|
|
1207
|
-
header: PropTypes.Requireable<
|
|
1207
|
+
header: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1208
|
+
title: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1209
|
+
title: PropTypes.Requireable<string>;
|
|
1210
|
+
subtitle: PropTypes.Requireable<string>;
|
|
1211
|
+
type: PropTypes.Requireable<string>;
|
|
1212
|
+
'data-name': PropTypes.Requireable<string>;
|
|
1213
|
+
titleSize: PropTypes.Requireable<string>;
|
|
1214
|
+
subtitleSize: PropTypes.Requireable<string>;
|
|
1215
|
+
}>>;
|
|
1216
|
+
headerIcon: PropTypes.Requireable<string>;
|
|
1217
|
+
backgroundImage: PropTypes.Requireable<string>;
|
|
1218
|
+
}>>;
|
|
1208
1219
|
firstButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1209
1220
|
label: PropTypes.Requireable<string>;
|
|
1210
1221
|
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -1252,6 +1263,13 @@ declare namespace BrandUpdate {
|
|
|
1252
1263
|
'data-name': PropTypes.Requireable<string>;
|
|
1253
1264
|
requiredSelection: PropTypes.Requireable<boolean>;
|
|
1254
1265
|
}> | null | undefined)[]>;
|
|
1266
|
+
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1267
|
+
type: PropTypes.Requireable<string>;
|
|
1268
|
+
list: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1269
|
+
list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
|
|
1270
|
+
loading: PropTypes.Requireable<boolean>;
|
|
1271
|
+
}>>;
|
|
1272
|
+
}>>;
|
|
1255
1273
|
}>>;
|
|
1256
1274
|
export const details: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1257
1275
|
key: PropTypes.Requireable<string>;
|
|
@@ -8,7 +8,18 @@ declare namespace Dashboard {
|
|
|
8
8
|
cookie: PropTypes.Requireable<PropTypes.InferProps<{
|
|
9
9
|
content: PropTypes.Requireable<string>;
|
|
10
10
|
mode: PropTypes.Requireable<string>;
|
|
11
|
-
header: PropTypes.Requireable<
|
|
11
|
+
header: PropTypes.Requireable<PropTypes.InferProps<{
|
|
12
|
+
title: PropTypes.Requireable<PropTypes.InferProps<{
|
|
13
|
+
title: PropTypes.Requireable<string>;
|
|
14
|
+
subtitle: PropTypes.Requireable<string>;
|
|
15
|
+
type: PropTypes.Requireable<string>;
|
|
16
|
+
'data-name': PropTypes.Requireable<string>;
|
|
17
|
+
titleSize: PropTypes.Requireable<string>;
|
|
18
|
+
subtitleSize: PropTypes.Requireable<string>;
|
|
19
|
+
}>>;
|
|
20
|
+
headerIcon: PropTypes.Requireable<string>;
|
|
21
|
+
backgroundImage: PropTypes.Requireable<string>;
|
|
22
|
+
}>>;
|
|
12
23
|
firstButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
13
24
|
label: PropTypes.Requireable<string>;
|
|
14
25
|
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -56,11 +67,88 @@ declare namespace Dashboard {
|
|
|
56
67
|
'data-name': PropTypes.Requireable<string>;
|
|
57
68
|
requiredSelection: PropTypes.Requireable<boolean>;
|
|
58
69
|
}> | null | undefined)[]>;
|
|
70
|
+
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
71
|
+
type: PropTypes.Requireable<string>;
|
|
72
|
+
list: PropTypes.Requireable<PropTypes.InferProps<{
|
|
73
|
+
list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
|
|
74
|
+
loading: PropTypes.Requireable<boolean>;
|
|
75
|
+
}>>;
|
|
76
|
+
}>>;
|
|
59
77
|
}>>;
|
|
60
78
|
'arrows-aria-label': PropTypes.Requireable<PropTypes.InferProps<{
|
|
61
79
|
showMoreOnLeftAriaLabel: PropTypes.Requireable<string>;
|
|
62
80
|
showMoreOnRightAriaLabel: PropTypes.Requireable<string>;
|
|
63
81
|
}>>;
|
|
82
|
+
popinWithCards: PropTypes.Requireable<PropTypes.InferProps<{
|
|
83
|
+
content: PropTypes.Requireable<string>;
|
|
84
|
+
mode: PropTypes.Requireable<string>;
|
|
85
|
+
header: PropTypes.Requireable<PropTypes.InferProps<{
|
|
86
|
+
title: PropTypes.Requireable<PropTypes.InferProps<{
|
|
87
|
+
title: PropTypes.Requireable<string>;
|
|
88
|
+
subtitle: PropTypes.Requireable<string>;
|
|
89
|
+
type: PropTypes.Requireable<string>;
|
|
90
|
+
'data-name': PropTypes.Requireable<string>;
|
|
91
|
+
titleSize: PropTypes.Requireable<string>;
|
|
92
|
+
subtitleSize: PropTypes.Requireable<string>;
|
|
93
|
+
}>>;
|
|
94
|
+
headerIcon: PropTypes.Requireable<string>;
|
|
95
|
+
backgroundImage: PropTypes.Requireable<string>;
|
|
96
|
+
}>>;
|
|
97
|
+
firstButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
98
|
+
label: PropTypes.Requireable<string>;
|
|
99
|
+
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
100
|
+
'aria-label': PropTypes.Requireable<string>;
|
|
101
|
+
largeButton: PropTypes.Requireable<boolean>;
|
|
102
|
+
type: PropTypes.Requireable<string>;
|
|
103
|
+
customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
104
|
+
}>>;
|
|
105
|
+
secondButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
106
|
+
label: PropTypes.Requireable<string>;
|
|
107
|
+
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
108
|
+
type: PropTypes.Requireable<string>;
|
|
109
|
+
'aria-label': PropTypes.Requireable<string>;
|
|
110
|
+
largeButton: PropTypes.Requireable<boolean>;
|
|
111
|
+
customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
112
|
+
}>>;
|
|
113
|
+
thirdButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
114
|
+
label: PropTypes.Requireable<string>;
|
|
115
|
+
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
116
|
+
type: PropTypes.Requireable<string>;
|
|
117
|
+
'aria-label': PropTypes.Requireable<string>;
|
|
118
|
+
largeButton: PropTypes.Requireable<boolean>;
|
|
119
|
+
customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
120
|
+
}>>;
|
|
121
|
+
onClose: PropTypes.Requireable<(...args: any[]) => any>;
|
|
122
|
+
icon: PropTypes.Requireable<string>;
|
|
123
|
+
backgroundImageUrl: PropTypes.Requireable<string>;
|
|
124
|
+
descriptionText: PropTypes.Requireable<string>;
|
|
125
|
+
cookieTitle: PropTypes.Requireable<string>;
|
|
126
|
+
descriptionBtnTxt: PropTypes.Requireable<string>;
|
|
127
|
+
listBtnSwicth: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
128
|
+
title: PropTypes.Requireable<string>;
|
|
129
|
+
name: PropTypes.Requireable<string>;
|
|
130
|
+
id: PropTypes.Requireable<string>;
|
|
131
|
+
value: PropTypes.Requireable<boolean>;
|
|
132
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
133
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
134
|
+
description: PropTypes.Requireable<string>;
|
|
135
|
+
'aria-labelledby': PropTypes.Requireable<string>;
|
|
136
|
+
'aria-label': PropTypes.Requireable<string>;
|
|
137
|
+
modified: PropTypes.Requireable<boolean>;
|
|
138
|
+
titlePosition: PropTypes.Requireable<string>;
|
|
139
|
+
theme: PropTypes.Requireable<string>;
|
|
140
|
+
details: PropTypes.Requireable<string>;
|
|
141
|
+
'data-name': PropTypes.Requireable<string>;
|
|
142
|
+
requiredSelection: PropTypes.Requireable<boolean>;
|
|
143
|
+
}> | null | undefined)[]>;
|
|
144
|
+
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
145
|
+
type: PropTypes.Requireable<string>;
|
|
146
|
+
list: PropTypes.Requireable<PropTypes.InferProps<{
|
|
147
|
+
list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
|
|
148
|
+
loading: PropTypes.Requireable<boolean>;
|
|
149
|
+
}>>;
|
|
150
|
+
}>>;
|
|
151
|
+
}>>;
|
|
64
152
|
};
|
|
65
153
|
}
|
|
66
154
|
import PropTypes from "prop-types";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/common/dashboard/index.js"],"names":[],"mappings":";AAqBA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/common/dashboard/index.js"],"names":[],"mappings":";AAqBA,oDA8CC"}
|
|
@@ -30,6 +30,7 @@ const Dashboard = props => {
|
|
|
30
30
|
hero,
|
|
31
31
|
welcome,
|
|
32
32
|
cookie,
|
|
33
|
+
popinWithCards,
|
|
33
34
|
'arrows-aria-label': showMoreOnLeftOrRightAriaLabel
|
|
34
35
|
} = props;
|
|
35
36
|
|
|
@@ -83,7 +84,7 @@ const Dashboard = props => {
|
|
|
83
84
|
return /*#__PURE__*/React.createElement("div", {
|
|
84
85
|
className: style.wrapper,
|
|
85
86
|
"data-name": "dashboard"
|
|
86
|
-
}, sectionsList, cookie ? /*#__PURE__*/React.createElement(CMPopin, cookie) : null);
|
|
87
|
+
}, sectionsList, cookie ? /*#__PURE__*/React.createElement(CMPopin, cookie) : null, popinWithCards ? /*#__PURE__*/React.createElement(CMPopin, popinWithCards) : null);
|
|
87
88
|
};
|
|
88
89
|
|
|
89
90
|
Dashboard.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
@@ -91,7 +92,8 @@ Dashboard.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
91
92
|
welcome: Hero.propTypes.welcome,
|
|
92
93
|
sections: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.shape(BattleRequestList.propTypes), PropTypes.shape(CardsList.propTypes), PropTypes.shape(NewsList.propTypes), PropTypes.shape(StartBattle.propTypes), PropTypes.shape(ReviewBanner.propTypes)])),
|
|
93
94
|
cookie: PropTypes.shape(CMPopin.propTypes),
|
|
94
|
-
'arrows-aria-label': CardsList.propTypes['arrows-aria-label']
|
|
95
|
+
'arrows-aria-label': CardsList.propTypes['arrows-aria-label'],
|
|
96
|
+
popinWithCards: PropTypes.shape(CMPopin.propTypes)
|
|
95
97
|
} : {};
|
|
96
98
|
export default Dashboard;
|
|
97
99
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","PropTypes","Slide","HeroCard","BattleRequestList","CardsList","NewsList","StartBattle","CMPopin","ReviewBanner","style","Hero","memo","hero","welcome","propTypes","shape","Dashboard","props","sections","cookie","showMoreOnLeftOrRightAriaLabel","buildSectionComponent","section","type","buildSection","index","sectionView","sectionsList","key","map","wrapper","arrayOf","oneOfType"],"sources":["../../../../src/template/common/dashboard/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Slide from '../../../atom/slide';\nimport HeroCard from '../../../molecule/hero';\nimport BattleRequestList from '../../../molecule/dashboard/battle-request-list';\nimport CardsList from '../../../molecule/dashboard/cards-list';\nimport NewsList from '../../../molecule/dashboard/news-list';\nimport StartBattle from '../../../molecule/dashboard/start-battle';\nimport CMPopin from '../../../molecule/cm-popin';\nimport ReviewBanner from '../../../molecule/dashboard/review-banner';\nimport style from './style.css';\n\nconst Hero = React.memo(function Hero({hero, welcome}) {\n return <div className={style.hero}>{hero ? <HeroCard {...hero} /> : <Slide {...welcome} />}</div>;\n});\n\nHero.propTypes = {\n hero: PropTypes.shape(HeroCard.propTypes),\n welcome: PropTypes.shape(Slide.propTypes)\n};\n\nconst Dashboard = props => {\n const {\n sections = [],\n hero,\n welcome,\n cookie,\n 'arrows-aria-label': showMoreOnLeftOrRightAriaLabel\n } = props;\n\n const buildSectionComponent = section => {\n const {type} = section;\n switch (type) {\n case 'hero':\n return <Hero hero={hero} welcome={welcome} />;\n case 'battleRequests':\n return <BattleRequestList {...section} />;\n case 'cards':\n return <CardsList {...section} arrows-aria-label={showMoreOnLeftOrRightAriaLabel} />;\n case 'news':\n return <NewsList {...section} />;\n case 'battle':\n return <StartBattle {...section} />;\n case 'review':\n return <ReviewBanner {...section} />;\n default:\n return null;\n }\n };\n\n const buildSection = (section, index) => {\n const sectionView = buildSectionComponent(section);\n\n return <div key={index}>{sectionView}</div>;\n };\n\n const sectionsList = [{type: 'hero', key: 'hero'}, ...sections].map(section => (\n <div key={section.key}>{buildSection(section)}</div>\n ));\n return (\n <div className={style.wrapper} data-name=\"dashboard\">\n {sectionsList}\n {cookie ? <CMPopin {...cookie} /> : null}\n </div>\n );\n};\n\nDashboard.propTypes = {\n hero: Hero.propTypes.hero,\n welcome: Hero.propTypes.welcome,\n sections: PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.shape(BattleRequestList.propTypes),\n PropTypes.shape(CardsList.propTypes),\n PropTypes.shape(NewsList.propTypes),\n PropTypes.shape(StartBattle.propTypes),\n PropTypes.shape(ReviewBanner.propTypes)\n ])\n ),\n cookie: PropTypes.shape(CMPopin.propTypes),\n 'arrows-aria-label': CardsList.propTypes['arrows-aria-label']\n};\nexport default Dashboard;\n"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,KAAP,MAAkB,qBAAlB;AACA,OAAOC,QAAP,MAAqB,wBAArB;AACA,OAAOC,iBAAP,MAA8B,iDAA9B;AACA,OAAOC,SAAP,MAAsB,wCAAtB;AACA,OAAOC,QAAP,MAAqB,uCAArB;AACA,OAAOC,WAAP,MAAwB,0CAAxB;AACA,OAAOC,OAAP,MAAoB,4BAApB;AACA,OAAOC,YAAP,MAAyB,2CAAzB;AACA,OAAOC,KAAP,MAAkB,aAAlB;AAEA,MAAMC,IAAI,gBAAGX,KAAK,CAACY,IAAN,CAAW,SAASD,IAAT,CAAc;EAACE,IAAD;EAAOC;AAAP,CAAd,EAA+B;EACrD,oBAAO;IAAK,SAAS,EAAEJ,KAAK,CAACG;EAAtB,GAA6BA,IAAI,gBAAG,oBAAC,QAAD,EAAcA,IAAd,CAAH,gBAA4B,oBAAC,KAAD,EAAWC,OAAX,CAA7D,CAAP;AACD,CAFY,CAAb;AAIAH,IAAI,CAACI,SAAL,2CAAiB;EACfF,IAAI,EAAEZ,SAAS,CAACe,KAAV,CAAgBb,QAAQ,CAACY,SAAzB,CADS;EAEfD,OAAO,EAAEb,SAAS,CAACe,KAAV,CAAgBd,KAAK,CAACa,SAAtB;AAFM,CAAjB;;AAKA,MAAME,SAAS,GAAGC,KAAK,IAAI;EACzB,MAAM;IACJC,QAAQ,GAAG,EADP;IAEJN,IAFI;IAGJC,OAHI;IAIJM,MAJI;
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","PropTypes","Slide","HeroCard","BattleRequestList","CardsList","NewsList","StartBattle","CMPopin","ReviewBanner","style","Hero","memo","hero","welcome","propTypes","shape","Dashboard","props","sections","cookie","popinWithCards","showMoreOnLeftOrRightAriaLabel","buildSectionComponent","section","type","buildSection","index","sectionView","sectionsList","key","map","wrapper","arrayOf","oneOfType"],"sources":["../../../../src/template/common/dashboard/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Slide from '../../../atom/slide';\nimport HeroCard from '../../../molecule/hero';\nimport BattleRequestList from '../../../molecule/dashboard/battle-request-list';\nimport CardsList from '../../../molecule/dashboard/cards-list';\nimport NewsList from '../../../molecule/dashboard/news-list';\nimport StartBattle from '../../../molecule/dashboard/start-battle';\nimport CMPopin from '../../../molecule/cm-popin';\nimport ReviewBanner from '../../../molecule/dashboard/review-banner';\nimport style from './style.css';\n\nconst Hero = React.memo(function Hero({hero, welcome}) {\n return <div className={style.hero}>{hero ? <HeroCard {...hero} /> : <Slide {...welcome} />}</div>;\n});\n\nHero.propTypes = {\n hero: PropTypes.shape(HeroCard.propTypes),\n welcome: PropTypes.shape(Slide.propTypes)\n};\n\nconst Dashboard = props => {\n const {\n sections = [],\n hero,\n welcome,\n cookie,\n popinWithCards,\n 'arrows-aria-label': showMoreOnLeftOrRightAriaLabel\n } = props;\n\n const buildSectionComponent = section => {\n const {type} = section;\n switch (type) {\n case 'hero':\n return <Hero hero={hero} welcome={welcome} />;\n case 'battleRequests':\n return <BattleRequestList {...section} />;\n case 'cards':\n return <CardsList {...section} arrows-aria-label={showMoreOnLeftOrRightAriaLabel} />;\n case 'news':\n return <NewsList {...section} />;\n case 'battle':\n return <StartBattle {...section} />;\n case 'review':\n return <ReviewBanner {...section} />;\n default:\n return null;\n }\n };\n\n const buildSection = (section, index) => {\n const sectionView = buildSectionComponent(section);\n\n return <div key={index}>{sectionView}</div>;\n };\n\n const sectionsList = [{type: 'hero', key: 'hero'}, ...sections].map(section => (\n <div key={section.key}>{buildSection(section)}</div>\n ));\n return (\n <div className={style.wrapper} data-name=\"dashboard\">\n {sectionsList}\n {cookie ? <CMPopin {...cookie} /> : null}\n {popinWithCards ? <CMPopin {...popinWithCards} /> : null}\n </div>\n );\n};\n\nDashboard.propTypes = {\n hero: Hero.propTypes.hero,\n welcome: Hero.propTypes.welcome,\n sections: PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.shape(BattleRequestList.propTypes),\n PropTypes.shape(CardsList.propTypes),\n PropTypes.shape(NewsList.propTypes),\n PropTypes.shape(StartBattle.propTypes),\n PropTypes.shape(ReviewBanner.propTypes)\n ])\n ),\n cookie: PropTypes.shape(CMPopin.propTypes),\n 'arrows-aria-label': CardsList.propTypes['arrows-aria-label'],\n popinWithCards: PropTypes.shape(CMPopin.propTypes)\n};\nexport default Dashboard;\n"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,KAAP,MAAkB,qBAAlB;AACA,OAAOC,QAAP,MAAqB,wBAArB;AACA,OAAOC,iBAAP,MAA8B,iDAA9B;AACA,OAAOC,SAAP,MAAsB,wCAAtB;AACA,OAAOC,QAAP,MAAqB,uCAArB;AACA,OAAOC,WAAP,MAAwB,0CAAxB;AACA,OAAOC,OAAP,MAAoB,4BAApB;AACA,OAAOC,YAAP,MAAyB,2CAAzB;AACA,OAAOC,KAAP,MAAkB,aAAlB;AAEA,MAAMC,IAAI,gBAAGX,KAAK,CAACY,IAAN,CAAW,SAASD,IAAT,CAAc;EAACE,IAAD;EAAOC;AAAP,CAAd,EAA+B;EACrD,oBAAO;IAAK,SAAS,EAAEJ,KAAK,CAACG;EAAtB,GAA6BA,IAAI,gBAAG,oBAAC,QAAD,EAAcA,IAAd,CAAH,gBAA4B,oBAAC,KAAD,EAAWC,OAAX,CAA7D,CAAP;AACD,CAFY,CAAb;AAIAH,IAAI,CAACI,SAAL,2CAAiB;EACfF,IAAI,EAAEZ,SAAS,CAACe,KAAV,CAAgBb,QAAQ,CAACY,SAAzB,CADS;EAEfD,OAAO,EAAEb,SAAS,CAACe,KAAV,CAAgBd,KAAK,CAACa,SAAtB;AAFM,CAAjB;;AAKA,MAAME,SAAS,GAAGC,KAAK,IAAI;EACzB,MAAM;IACJC,QAAQ,GAAG,EADP;IAEJN,IAFI;IAGJC,OAHI;IAIJM,MAJI;IAKJC,cALI;IAMJ,qBAAqBC;EANjB,IAOFJ,KAPJ;;EASA,MAAMK,qBAAqB,GAAGC,OAAO,IAAI;IACvC,MAAM;MAACC;IAAD,IAASD,OAAf;;IACA,QAAQC,IAAR;MACE,KAAK,MAAL;QACE,oBAAO,oBAAC,IAAD;UAAM,IAAI,EAAEZ,IAAZ;UAAkB,OAAO,EAAEC;QAA3B,EAAP;;MACF,KAAK,gBAAL;QACE,oBAAO,oBAAC,iBAAD,EAAuBU,OAAvB,CAAP;;MACF,KAAK,OAAL;QACE,oBAAO,oBAAC,SAAD,eAAeA,OAAf;UAAwB,qBAAmBF;QAA3C,GAAP;;MACF,KAAK,MAAL;QACE,oBAAO,oBAAC,QAAD,EAAcE,OAAd,CAAP;;MACF,KAAK,QAAL;QACE,oBAAO,oBAAC,WAAD,EAAiBA,OAAjB,CAAP;;MACF,KAAK,QAAL;QACE,oBAAO,oBAAC,YAAD,EAAkBA,OAAlB,CAAP;;MACF;QACE,OAAO,IAAP;IAdJ;EAgBD,CAlBD;;EAoBA,MAAME,YAAY,GAAG,CAACF,OAAD,EAAUG,KAAV,KAAoB;IACvC,MAAMC,WAAW,GAAGL,qBAAqB,CAACC,OAAD,CAAzC;IAEA,oBAAO;MAAK,GAAG,EAAEG;IAAV,GAAkBC,WAAlB,CAAP;EACD,CAJD;;EAMA,MAAMC,YAAY,GAAG,CAAC;IAACJ,IAAI,EAAE,MAAP;IAAeK,GAAG,EAAE;EAApB,CAAD,EAA8B,GAAGX,QAAjC,EAA2CY,GAA3C,CAA+CP,OAAO,iBACzE;IAAK,GAAG,EAAEA,OAAO,CAACM;EAAlB,GAAwBJ,YAAY,CAACF,OAAD,CAApC,CADmB,CAArB;EAGA,oBACE;IAAK,SAAS,EAAEd,KAAK,CAACsB,OAAtB;IAA+B,aAAU;EAAzC,GACGH,YADH,EAEGT,MAAM,gBAAG,oBAAC,OAAD,EAAaA,MAAb,CAAH,GAA6B,IAFtC,EAGGC,cAAc,gBAAG,oBAAC,OAAD,EAAaA,cAAb,CAAH,GAAqC,IAHtD,CADF;AAOD,CA9CD;;AAgDAJ,SAAS,CAACF,SAAV,2CAAsB;EACpBF,IAAI,EAAEF,IAAI,CAACI,SAAL,CAAeF,IADD;EAEpBC,OAAO,EAAEH,IAAI,CAACI,SAAL,CAAeD,OAFJ;EAGpBK,QAAQ,EAAElB,SAAS,CAACgC,OAAV,CACRhC,SAAS,CAACiC,SAAV,CAAoB,CAClBjC,SAAS,CAACe,KAAV,CAAgBZ,iBAAiB,CAACW,SAAlC,CADkB,EAElBd,SAAS,CAACe,KAAV,CAAgBX,SAAS,CAACU,SAA1B,CAFkB,EAGlBd,SAAS,CAACe,KAAV,CAAgBV,QAAQ,CAACS,SAAzB,CAHkB,EAIlBd,SAAS,CAACe,KAAV,CAAgBT,WAAW,CAACQ,SAA5B,CAJkB,EAKlBd,SAAS,CAACe,KAAV,CAAgBP,YAAY,CAACM,SAA7B,CALkB,CAApB,CADQ,CAHU;EAYpBK,MAAM,EAAEnB,SAAS,CAACe,KAAV,CAAgBR,OAAO,CAACO,SAAxB,CAZY;EAapB,qBAAqBV,SAAS,CAACU,SAAV,CAAoB,mBAApB,CAbD;EAcpBM,cAAc,EAAEpB,SAAS,CAACe,KAAV,CAAgBR,OAAO,CAACO,SAAxB;AAdI,CAAtB;AAgBA,eAAeE,SAAf"}
|
|
@@ -125,6 +125,76 @@ declare namespace SearchPage {
|
|
|
125
125
|
const moreFilterAriaLabel: PropTypes.Requireable<string>;
|
|
126
126
|
const filterGroupAriaLabel: PropTypes.Requireable<string>;
|
|
127
127
|
const sortAriaLabel: PropTypes.Requireable<string>;
|
|
128
|
+
const popinWithCards: PropTypes.Requireable<PropTypes.InferProps<{
|
|
129
|
+
content: PropTypes.Requireable<string>;
|
|
130
|
+
mode: PropTypes.Requireable<string>;
|
|
131
|
+
header: PropTypes.Requireable<PropTypes.InferProps<{
|
|
132
|
+
title: PropTypes.Requireable<PropTypes.InferProps<{
|
|
133
|
+
title: PropTypes.Requireable<string>;
|
|
134
|
+
subtitle: PropTypes.Requireable<string>;
|
|
135
|
+
type: PropTypes.Requireable<string>;
|
|
136
|
+
'data-name': PropTypes.Requireable<string>;
|
|
137
|
+
titleSize: PropTypes.Requireable<string>;
|
|
138
|
+
subtitleSize: PropTypes.Requireable<string>;
|
|
139
|
+
}>>;
|
|
140
|
+
headerIcon: PropTypes.Requireable<string>;
|
|
141
|
+
backgroundImage: PropTypes.Requireable<string>;
|
|
142
|
+
}>>;
|
|
143
|
+
firstButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
144
|
+
label: PropTypes.Requireable<string>;
|
|
145
|
+
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
146
|
+
'aria-label': PropTypes.Requireable<string>;
|
|
147
|
+
largeButton: PropTypes.Requireable<boolean>;
|
|
148
|
+
type: PropTypes.Requireable<string>;
|
|
149
|
+
customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
150
|
+
}>>;
|
|
151
|
+
secondButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
152
|
+
label: PropTypes.Requireable<string>;
|
|
153
|
+
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
154
|
+
type: PropTypes.Requireable<string>;
|
|
155
|
+
'aria-label': PropTypes.Requireable<string>;
|
|
156
|
+
largeButton: PropTypes.Requireable<boolean>;
|
|
157
|
+
customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
158
|
+
}>>;
|
|
159
|
+
thirdButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
160
|
+
label: PropTypes.Requireable<string>;
|
|
161
|
+
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
162
|
+
type: PropTypes.Requireable<string>;
|
|
163
|
+
'aria-label': PropTypes.Requireable<string>;
|
|
164
|
+
largeButton: PropTypes.Requireable<boolean>;
|
|
165
|
+
customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
166
|
+
}>>;
|
|
167
|
+
onClose: PropTypes.Requireable<(...args: any[]) => any>;
|
|
168
|
+
icon: PropTypes.Requireable<string>;
|
|
169
|
+
backgroundImageUrl: PropTypes.Requireable<string>;
|
|
170
|
+
descriptionText: PropTypes.Requireable<string>;
|
|
171
|
+
cookieTitle: PropTypes.Requireable<string>;
|
|
172
|
+
descriptionBtnTxt: PropTypes.Requireable<string>;
|
|
173
|
+
listBtnSwicth: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
174
|
+
title: PropTypes.Requireable<string>;
|
|
175
|
+
name: PropTypes.Requireable<string>;
|
|
176
|
+
id: PropTypes.Requireable<string>;
|
|
177
|
+
value: PropTypes.Requireable<boolean>;
|
|
178
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
179
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
180
|
+
description: PropTypes.Requireable<string>;
|
|
181
|
+
'aria-labelledby': PropTypes.Requireable<string>;
|
|
182
|
+
'aria-label': PropTypes.Requireable<string>;
|
|
183
|
+
modified: PropTypes.Requireable<boolean>;
|
|
184
|
+
titlePosition: PropTypes.Requireable<string>;
|
|
185
|
+
theme: PropTypes.Requireable<string>;
|
|
186
|
+
details: PropTypes.Requireable<string>;
|
|
187
|
+
'data-name': PropTypes.Requireable<string>;
|
|
188
|
+
requiredSelection: PropTypes.Requireable<boolean>;
|
|
189
|
+
}> | null | undefined)[]>;
|
|
190
|
+
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
191
|
+
type: PropTypes.Requireable<string>;
|
|
192
|
+
list: PropTypes.Requireable<PropTypes.InferProps<{
|
|
193
|
+
list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
|
|
194
|
+
loading: PropTypes.Requireable<boolean>;
|
|
195
|
+
}>>;
|
|
196
|
+
}>>;
|
|
197
|
+
}>>;
|
|
128
198
|
}
|
|
129
199
|
}
|
|
130
200
|
import PropTypes from "prop-types";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/common/search-page/index.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/common/search-page/index.js"],"names":[],"mappings":";AAWA,mEA4DC"}
|