@coorpacademy/components 11.32.42 → 11.32.44-alpha.55
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/button-link/index.d.ts.map +1 -1
- package/es/atom/button-link/index.js +12 -6
- package/es/atom/button-link/index.js.map +1 -1
- package/es/atom/cta/index.js +2 -2
- package/es/atom/cta/index.js.map +1 -1
- package/es/atom/icon/index.d.ts +1 -0
- package/es/atom/icon/index.d.ts.map +1 -1
- package/es/atom/icon/index.js +8 -1
- package/es/atom/icon/index.js.map +1 -1
- package/es/atom/input-file-draggable/index.js +2 -2
- package/es/atom/input-file-draggable/index.js.map +1 -1
- package/es/atom/link/index.d.ts +2 -2
- package/es/atom/link/index.d.ts.map +1 -1
- package/es/atom/link/index.js +38 -46
- package/es/atom/link/index.js.map +1 -1
- package/es/atom/select-icon/index.d.ts +17 -0
- package/es/atom/select-icon/index.d.ts.map +1 -0
- package/es/atom/select-icon/index.js +93 -0
- package/es/atom/select-icon/index.js.map +1 -0
- package/es/atom/select-icon/style.css +73 -0
- package/es/molecule/banner/index.js +3 -3
- package/es/molecule/banner/index.js.map +1 -1
- package/es/molecule/certification-card/index.d.ts +4 -0
- package/es/molecule/certification-card/index.d.ts.map +1 -1
- package/es/molecule/certification-card/index.js +18 -12
- package/es/molecule/certification-card/index.js.map +1 -1
- package/es/molecule/certification-card/style.css +23 -7
- package/es/molecule/cm-popin/types.d.ts +14 -2
- package/es/molecule/cm-popin/types.d.ts.map +1 -1
- package/es/molecule/draggable-list/index.d.ts +12 -0
- package/es/molecule/progress-wrapper/index.d.ts.map +1 -1
- package/es/molecule/progress-wrapper/index.js +22 -12
- package/es/molecule/progress-wrapper/index.js.map +1 -1
- package/es/molecule/progress-wrapper/style.css +1 -0
- package/es/organism/accordion/coorp-manager/part/index.js +2 -1
- package/es/organism/accordion/coorp-manager/part/index.js.map +1 -1
- package/es/organism/brand-learning-priorities/index.d.ts +12 -0
- package/es/organism/list-item/index.d.ts +16 -1
- package/es/organism/list-item/index.d.ts.map +1 -1
- package/es/organism/list-item/index.js +58 -9
- package/es/organism/list-item/index.js.map +1 -1
- package/es/organism/list-item/style.css +25 -11
- package/es/organism/list-items/index.d.ts +12 -0
- package/es/organism/mooc-header/index.d.ts.map +1 -1
- package/es/organism/mooc-header/index.js +2 -3
- package/es/organism/mooc-header/index.js.map +1 -1
- package/es/organism/sidebar/index.d.ts +28 -3
- package/es/organism/sidebar/index.d.ts.map +1 -1
- package/es/organism/sidebar/index.js +7 -3
- package/es/organism/sidebar/index.js.map +1 -1
- package/es/template/app-player/loading/index.d.ts +14 -2
- package/es/template/app-player/player/index.d.ts +28 -4
- package/es/template/app-player/player/slides/index.d.ts +14 -2
- package/es/template/app-player/player/slides/index.d.ts.map +1 -1
- package/es/template/app-player/popin-correction/index.d.ts +18 -6
- package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/es/template/app-player/popin-end/index.d.ts +16 -4
- package/es/template/app-player/popin-end/summary.d.ts +2 -2
- package/es/template/app-player/popin-header/index.d.ts +2 -2
- package/es/template/app-review/index.d.ts +14 -2
- package/es/template/app-review/index.d.ts.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +14 -2
- package/es/template/app-review/player/prop-types.d.ts.map +1 -1
- package/es/template/app-review/prop-types.d.ts +14 -2
- package/es/template/app-review/prop-types.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.d.ts +38 -2
- package/es/template/certification-detail/index.d.ts +2 -1
- package/es/template/certification-detail/index.d.ts.map +1 -1
- package/es/template/certification-detail/index.js +19 -6
- package/es/template/certification-detail/index.js.map +1 -1
- package/es/template/certification-detail/style.css +0 -1
- package/es/template/certifications/index.d.ts +6 -0
- package/es/template/certifications/index.d.ts.map +1 -1
- package/es/template/certifications/index.js +28 -12
- package/es/template/certifications/index.js.map +1 -1
- package/es/template/certifications/style.css +8 -1
- package/es/template/common/dashboard/index.d.ts +28 -4
- package/es/template/common/search-page/index.d.ts +14 -2
- package/es/template/external-course/index.d.ts +14 -2
- package/es/template/playlist-detail/index.d.ts.map +1 -1
- package/es/template/playlist-detail/index.js +15 -4
- package/es/template/playlist-detail/index.js.map +1 -1
- package/es/template/playlist-detail/style.css +0 -1
- package/es/template/skill-detail/index.d.ts +1 -1
- package/es/template/skill-detail/index.d.ts.map +1 -1
- package/es/template/skill-detail/index.js +20 -8
- package/es/template/skill-detail/index.js.map +1 -1
- package/es/variables/colors.d.ts +1 -0
- package/es/variables/colors.d.ts.map +1 -1
- package/es/variables/colors.js +1 -0
- package/es/variables/colors.js.map +1 -1
- package/lib/atom/button-link/index.d.ts.map +1 -1
- package/lib/atom/button-link/index.js +12 -6
- package/lib/atom/button-link/index.js.map +1 -1
- package/lib/atom/cta/index.js +2 -2
- package/lib/atom/cta/index.js.map +1 -1
- package/lib/atom/icon/index.d.ts +1 -0
- package/lib/atom/icon/index.d.ts.map +1 -1
- package/lib/atom/icon/index.js +12 -2
- package/lib/atom/icon/index.js.map +1 -1
- package/lib/atom/input-file-draggable/index.js.map +1 -1
- package/lib/atom/link/index.d.ts +2 -2
- package/lib/atom/link/index.d.ts.map +1 -1
- package/lib/atom/link/index.js +38 -47
- package/lib/atom/link/index.js.map +1 -1
- package/lib/atom/select-icon/index.d.ts +17 -0
- package/lib/atom/select-icon/index.d.ts.map +1 -0
- package/lib/atom/select-icon/index.js +111 -0
- package/lib/atom/select-icon/index.js.map +1 -0
- package/lib/atom/select-icon/style.css +73 -0
- package/lib/molecule/banner/index.js.map +1 -1
- package/lib/molecule/certification-card/index.d.ts +4 -0
- package/lib/molecule/certification-card/index.d.ts.map +1 -1
- package/lib/molecule/certification-card/index.js +18 -12
- package/lib/molecule/certification-card/index.js.map +1 -1
- package/lib/molecule/certification-card/style.css +23 -7
- package/lib/molecule/cm-popin/types.d.ts +14 -2
- package/lib/molecule/cm-popin/types.d.ts.map +1 -1
- package/lib/molecule/draggable-list/index.d.ts +12 -0
- package/lib/molecule/progress-wrapper/index.d.ts.map +1 -1
- package/lib/molecule/progress-wrapper/index.js +26 -13
- package/lib/molecule/progress-wrapper/index.js.map +1 -1
- package/lib/molecule/progress-wrapper/style.css +1 -0
- package/lib/organism/accordion/coorp-manager/part/index.js +3 -1
- package/lib/organism/accordion/coorp-manager/part/index.js.map +1 -1
- package/lib/organism/brand-learning-priorities/index.d.ts +12 -0
- package/lib/organism/list-item/index.d.ts +16 -1
- package/lib/organism/list-item/index.d.ts.map +1 -1
- package/lib/organism/list-item/index.js +56 -5
- package/lib/organism/list-item/index.js.map +1 -1
- package/lib/organism/list-item/style.css +25 -11
- package/lib/organism/list-items/index.d.ts +12 -0
- package/lib/organism/mooc-header/index.d.ts.map +1 -1
- package/lib/organism/mooc-header/index.js +2 -3
- package/lib/organism/mooc-header/index.js.map +1 -1
- package/lib/organism/sidebar/index.d.ts +28 -3
- package/lib/organism/sidebar/index.d.ts.map +1 -1
- package/lib/organism/sidebar/index.js +7 -3
- package/lib/organism/sidebar/index.js.map +1 -1
- package/lib/template/app-player/loading/index.d.ts +14 -2
- package/lib/template/app-player/player/index.d.ts +28 -4
- package/lib/template/app-player/player/slides/index.d.ts +14 -2
- package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-correction/index.d.ts +18 -6
- package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-end/index.d.ts +16 -4
- package/lib/template/app-player/popin-end/summary.d.ts +2 -2
- package/lib/template/app-player/popin-header/index.d.ts +2 -2
- package/lib/template/app-review/index.d.ts +14 -2
- package/lib/template/app-review/index.d.ts.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +14 -2
- package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/prop-types.d.ts +14 -2
- package/lib/template/app-review/prop-types.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.d.ts +38 -2
- package/lib/template/certification-detail/index.d.ts +2 -1
- package/lib/template/certification-detail/index.d.ts.map +1 -1
- package/lib/template/certification-detail/index.js +18 -6
- package/lib/template/certification-detail/index.js.map +1 -1
- package/lib/template/certification-detail/style.css +0 -1
- package/lib/template/certifications/index.d.ts +6 -0
- package/lib/template/certifications/index.d.ts.map +1 -1
- package/lib/template/certifications/index.js +30 -14
- package/lib/template/certifications/index.js.map +1 -1
- package/lib/template/certifications/style.css +8 -1
- package/lib/template/common/dashboard/index.d.ts +28 -4
- package/lib/template/common/search-page/index.d.ts +14 -2
- package/lib/template/external-course/index.d.ts +14 -2
- package/lib/template/playlist-detail/index.d.ts.map +1 -1
- package/lib/template/playlist-detail/index.js +14 -4
- package/lib/template/playlist-detail/index.js.map +1 -1
- package/lib/template/playlist-detail/style.css +0 -1
- package/lib/template/skill-detail/index.d.ts +1 -1
- package/lib/template/skill-detail/index.d.ts.map +1 -1
- package/lib/template/skill-detail/index.js +19 -7
- package/lib/template/skill-detail/index.js.map +1 -1
- package/lib/variables/colors.d.ts +1 -0
- package/lib/variables/colors.d.ts.map +1 -1
- package/lib/variables/colors.js +1 -0
- package/lib/variables/colors.js.map +1 -1
- package/locales/bs/global.json +10 -8
- package/locales/cs/global.json +10 -8
- package/locales/de/global.json +10 -8
- package/locales/en/global.json +3 -1
- package/locales/es/global.json +10 -8
- package/locales/et/global.json +10 -8
- package/locales/fi/global.json +10 -8
- package/locales/fr/global.json +10 -8
- package/locales/hr/global.json +10 -8
- package/locales/hu/global.json +10 -8
- package/locales/hy/global.json +10 -8
- package/locales/it/global.json +10 -8
- package/locales/ja/global.json +10 -8
- package/locales/ko/global.json +10 -8
- package/locales/nl/global.json +10 -8
- package/locales/pl/global.json +10 -8
- package/locales/pt/global.json +10 -8
- package/locales/ro/global.json +10 -8
- package/locales/ru/global.json +10 -8
- package/locales/sk/global.json +10 -8
- package/locales/sl/global.json +10 -8
- package/locales/sv/global.json +10 -8
- package/locales/tl/global.json +8 -6
- package/locales/tr/global.json +10 -8
- package/locales/uk/global.json +10 -8
- package/locales/vi/global.json +10 -8
- package/locales/zh/global.json +10 -8
- package/locales/zh_TW/global.json +10 -8
- package/package.json +2 -2
|
@@ -194,6 +194,7 @@ declare namespace SlidesPlayer {
|
|
|
194
194
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
195
195
|
title: PropTypes.Validator<string>;
|
|
196
196
|
subtitle: PropTypes.Requireable<string>;
|
|
197
|
+
provider: PropTypes.Requireable<string>;
|
|
197
198
|
selected: PropTypes.Requireable<boolean>;
|
|
198
199
|
selectedColor: PropTypes.Requireable<string>;
|
|
199
200
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
@@ -246,6 +247,17 @@ declare namespace SlidesPlayer {
|
|
|
246
247
|
'aria-label': PropTypes.Requireable<string>;
|
|
247
248
|
contentType: PropTypes.Requireable<string>;
|
|
248
249
|
id: PropTypes.Requireable<string>;
|
|
250
|
+
leftIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
251
|
+
iconName: PropTypes.Requireable<string>;
|
|
252
|
+
iconColor: PropTypes.Requireable<string>;
|
|
253
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
254
|
+
borderRadius: PropTypes.Requireable<string>;
|
|
255
|
+
preset: PropTypes.Requireable<string>;
|
|
256
|
+
gradientBackground: PropTypes.Requireable<boolean>;
|
|
257
|
+
size: PropTypes.Requireable<number>;
|
|
258
|
+
wrapperSize: PropTypes.Requireable<number>;
|
|
259
|
+
}>>;
|
|
260
|
+
editAsIcon: PropTypes.Requireable<boolean>;
|
|
249
261
|
}> | null | undefined)[]>;
|
|
250
262
|
type: PropTypes.Requireable<string>;
|
|
251
263
|
itemType: PropTypes.Requireable<string>;
|
|
@@ -343,11 +355,11 @@ declare namespace SlidesPlayer {
|
|
|
343
355
|
'aria-label': PropTypes.Requireable<string>;
|
|
344
356
|
title: PropTypes.Requireable<string>;
|
|
345
357
|
target: PropTypes.Requireable<string>;
|
|
346
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
347
358
|
hoverColor: PropTypes.Requireable<string>;
|
|
359
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
348
360
|
download: PropTypes.Requireable<boolean>;
|
|
349
361
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
350
|
-
|
|
362
|
+
onMouseOver: PropTypes.Requireable<(...args: any[]) => any>;
|
|
351
363
|
onMouseLeave: PropTypes.Requireable<(...args: any[]) => any>;
|
|
352
364
|
useButtonTag: PropTypes.Requireable<boolean>;
|
|
353
365
|
style: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/template/app-player/player/slides/index.js"],"names":[],"mappings":";AA+aA,qEAkBC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/template/app-player/player/slides/index.js"],"names":[],"mappings":";AA+aA,qEAkBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA1ID;;uBAyBC;;;;;;;;;;;;;;;;;;;;;;;;;AArPD;;;gBAaC;;;;;;;;;;;;;AAyDD;;;;gBAEC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAlHD,oEAQC;;;;;;;;;AAgND;;gBAiBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA/GD,qEAaC"}
|
|
@@ -30,11 +30,11 @@ declare class PopinCorrection extends React.Component<any, any, any> {
|
|
|
30
30
|
'data-name': PropTypes.Requireable<string>;
|
|
31
31
|
'aria-label': PropTypes.Requireable<string>;
|
|
32
32
|
target: PropTypes.Requireable<string>;
|
|
33
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
34
33
|
hoverColor: PropTypes.Requireable<string>;
|
|
34
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
35
35
|
download: PropTypes.Requireable<boolean>;
|
|
36
36
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
37
|
-
|
|
37
|
+
onMouseOver: PropTypes.Requireable<(...args: any[]) => any>;
|
|
38
38
|
onMouseLeave: PropTypes.Requireable<(...args: any[]) => any>;
|
|
39
39
|
useButtonTag: PropTypes.Requireable<boolean>;
|
|
40
40
|
style: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
@@ -79,11 +79,11 @@ declare class PopinCorrection extends React.Component<any, any, any> {
|
|
|
79
79
|
'data-name': PropTypes.Requireable<string>;
|
|
80
80
|
'aria-label': PropTypes.Requireable<string>;
|
|
81
81
|
target: PropTypes.Requireable<string>;
|
|
82
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
83
82
|
hoverColor: PropTypes.Requireable<string>;
|
|
83
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
84
84
|
download: PropTypes.Requireable<boolean>;
|
|
85
85
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
86
|
-
|
|
86
|
+
onMouseOver: PropTypes.Requireable<(...args: any[]) => any>;
|
|
87
87
|
onMouseLeave: PropTypes.Requireable<(...args: any[]) => any>;
|
|
88
88
|
useButtonTag: PropTypes.Requireable<boolean>;
|
|
89
89
|
style: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
@@ -224,6 +224,7 @@ declare class PopinCorrection extends React.Component<any, any, any> {
|
|
|
224
224
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
225
225
|
title: PropTypes.Validator<string>;
|
|
226
226
|
subtitle: PropTypes.Requireable<string>;
|
|
227
|
+
provider: PropTypes.Requireable<string>;
|
|
227
228
|
selected: PropTypes.Requireable<boolean>;
|
|
228
229
|
selectedColor: PropTypes.Requireable<string>;
|
|
229
230
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
@@ -276,6 +277,17 @@ declare class PopinCorrection extends React.Component<any, any, any> {
|
|
|
276
277
|
'aria-label': PropTypes.Requireable<string>;
|
|
277
278
|
contentType: PropTypes.Requireable<string>;
|
|
278
279
|
id: PropTypes.Requireable<string>;
|
|
280
|
+
leftIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
281
|
+
iconName: PropTypes.Requireable<string>;
|
|
282
|
+
iconColor: PropTypes.Requireable<string>;
|
|
283
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
284
|
+
borderRadius: PropTypes.Requireable<string>;
|
|
285
|
+
preset: PropTypes.Requireable<string>;
|
|
286
|
+
gradientBackground: PropTypes.Requireable<boolean>;
|
|
287
|
+
size: PropTypes.Requireable<number>;
|
|
288
|
+
wrapperSize: PropTypes.Requireable<number>;
|
|
289
|
+
}>>;
|
|
290
|
+
editAsIcon: PropTypes.Requireable<boolean>;
|
|
279
291
|
}> | null | undefined)[]>;
|
|
280
292
|
type: PropTypes.Requireable<string>;
|
|
281
293
|
itemType: PropTypes.Requireable<string>;
|
|
@@ -373,11 +385,11 @@ declare class PopinCorrection extends React.Component<any, any, any> {
|
|
|
373
385
|
'aria-label': PropTypes.Requireable<string>;
|
|
374
386
|
title: PropTypes.Requireable<string>;
|
|
375
387
|
target: PropTypes.Requireable<string>;
|
|
376
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
377
388
|
hoverColor: PropTypes.Requireable<string>;
|
|
389
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
378
390
|
download: PropTypes.Requireable<boolean>;
|
|
379
391
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
380
|
-
|
|
392
|
+
onMouseOver: PropTypes.Requireable<(...args: any[]) => any>;
|
|
381
393
|
onMouseLeave: PropTypes.Requireable<(...args: any[]) => any>;
|
|
382
394
|
useButtonTag: PropTypes.Requireable<boolean>;
|
|
383
395
|
style: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
@@ -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"}
|
|
@@ -30,11 +30,11 @@ declare namespace PopinEnd {
|
|
|
30
30
|
'data-name': PropTypes.Requireable<string>;
|
|
31
31
|
'aria-label': PropTypes.Requireable<string>;
|
|
32
32
|
target: PropTypes.Requireable<string>;
|
|
33
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
34
33
|
hoverColor: PropTypes.Requireable<string>;
|
|
34
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
35
35
|
download: PropTypes.Requireable<boolean>;
|
|
36
36
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
37
|
-
|
|
37
|
+
onMouseOver: PropTypes.Requireable<(...args: any[]) => any>;
|
|
38
38
|
onMouseLeave: PropTypes.Requireable<(...args: any[]) => any>;
|
|
39
39
|
useButtonTag: PropTypes.Requireable<boolean>;
|
|
40
40
|
style: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
@@ -324,6 +324,7 @@ declare namespace PopinEnd {
|
|
|
324
324
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
325
325
|
title: PropTypes.Validator<string>;
|
|
326
326
|
subtitle: PropTypes.Requireable<string>;
|
|
327
|
+
provider: PropTypes.Requireable<string>;
|
|
327
328
|
selected: PropTypes.Requireable<boolean>;
|
|
328
329
|
selectedColor: PropTypes.Requireable<string>;
|
|
329
330
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
@@ -376,6 +377,17 @@ declare namespace PopinEnd {
|
|
|
376
377
|
'aria-label': PropTypes.Requireable<string>;
|
|
377
378
|
contentType: PropTypes.Requireable<string>;
|
|
378
379
|
id: PropTypes.Requireable<string>;
|
|
380
|
+
leftIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
381
|
+
iconName: PropTypes.Requireable<string>;
|
|
382
|
+
iconColor: PropTypes.Requireable<string>;
|
|
383
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
384
|
+
borderRadius: PropTypes.Requireable<string>;
|
|
385
|
+
preset: PropTypes.Requireable<string>;
|
|
386
|
+
gradientBackground: PropTypes.Requireable<boolean>;
|
|
387
|
+
size: PropTypes.Requireable<number>;
|
|
388
|
+
wrapperSize: PropTypes.Requireable<number>;
|
|
389
|
+
}>>;
|
|
390
|
+
editAsIcon: PropTypes.Requireable<boolean>;
|
|
379
391
|
}> | null | undefined)[]>;
|
|
380
392
|
type: PropTypes.Requireable<string>;
|
|
381
393
|
itemType: PropTypes.Requireable<string>;
|
|
@@ -473,11 +485,11 @@ declare namespace PopinEnd {
|
|
|
473
485
|
'aria-label': PropTypes.Requireable<string>;
|
|
474
486
|
title: PropTypes.Requireable<string>;
|
|
475
487
|
target: PropTypes.Requireable<string>;
|
|
476
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
477
488
|
hoverColor: PropTypes.Requireable<string>;
|
|
489
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
478
490
|
download: PropTypes.Requireable<boolean>;
|
|
479
491
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
480
|
-
|
|
492
|
+
onMouseOver: PropTypes.Requireable<(...args: any[]) => any>;
|
|
481
493
|
onMouseLeave: PropTypes.Requireable<(...args: any[]) => any>;
|
|
482
494
|
useButtonTag: PropTypes.Requireable<boolean>;
|
|
483
495
|
style: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
@@ -36,11 +36,11 @@ declare namespace Summary {
|
|
|
36
36
|
'data-name': PropTypes.Requireable<string>;
|
|
37
37
|
'aria-label': PropTypes.Requireable<string>;
|
|
38
38
|
target: PropTypes.Requireable<string>;
|
|
39
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
40
39
|
hoverColor: PropTypes.Requireable<string>;
|
|
40
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
41
41
|
download: PropTypes.Requireable<boolean>;
|
|
42
42
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
43
|
-
|
|
43
|
+
onMouseOver: PropTypes.Requireable<(...args: any[]) => any>;
|
|
44
44
|
onMouseLeave: PropTypes.Requireable<(...args: any[]) => any>;
|
|
45
45
|
useButtonTag: PropTypes.Requireable<boolean>;
|
|
46
46
|
style: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
@@ -66,11 +66,11 @@ declare namespace NextQuestionPart {
|
|
|
66
66
|
'data-name': PropTypes.Requireable<string>;
|
|
67
67
|
'aria-label': PropTypes.Requireable<string>;
|
|
68
68
|
target: PropTypes.Requireable<string>;
|
|
69
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
70
69
|
hoverColor: PropTypes.Requireable<string>;
|
|
70
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
71
71
|
download: PropTypes.Requireable<boolean>;
|
|
72
72
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
73
|
-
|
|
73
|
+
onMouseOver: PropTypes.Requireable<(...args: any[]) => any>;
|
|
74
74
|
onMouseLeave: PropTypes.Requireable<(...args: any[]) => any>;
|
|
75
75
|
useButtonTag: PropTypes.Requireable<boolean>;
|
|
76
76
|
style: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
@@ -645,6 +645,7 @@ declare const AppReview: {
|
|
|
645
645
|
items: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
646
646
|
title: import("prop-types").Validator<string>;
|
|
647
647
|
subtitle: import("prop-types").Requireable<string>;
|
|
648
|
+
provider: import("prop-types").Requireable<string>;
|
|
648
649
|
selected: import("prop-types").Requireable<boolean>;
|
|
649
650
|
selectedColor: import("prop-types").Requireable<string>;
|
|
650
651
|
dataColumns: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
@@ -697,6 +698,17 @@ declare const AppReview: {
|
|
|
697
698
|
'aria-label': import("prop-types").Requireable<string>;
|
|
698
699
|
contentType: import("prop-types").Requireable<string>;
|
|
699
700
|
id: import("prop-types").Requireable<string>;
|
|
701
|
+
leftIcon: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
702
|
+
iconName: import("prop-types").Requireable<string>;
|
|
703
|
+
iconColor: import("prop-types").Requireable<string>;
|
|
704
|
+
backgroundColor: import("prop-types").Requireable<string>;
|
|
705
|
+
borderRadius: import("prop-types").Requireable<string>;
|
|
706
|
+
preset: import("prop-types").Requireable<string>;
|
|
707
|
+
gradientBackground: import("prop-types").Requireable<boolean>;
|
|
708
|
+
size: import("prop-types").Requireable<number>;
|
|
709
|
+
wrapperSize: import("prop-types").Requireable<number>;
|
|
710
|
+
}>>;
|
|
711
|
+
editAsIcon: import("prop-types").Requireable<boolean>;
|
|
700
712
|
}> | null | undefined)[]>;
|
|
701
713
|
type: import("prop-types").Requireable<string>;
|
|
702
714
|
itemType: import("prop-types").Requireable<string>;
|
|
@@ -794,11 +806,11 @@ declare const AppReview: {
|
|
|
794
806
|
'aria-label': import("prop-types").Requireable<string>;
|
|
795
807
|
title: import("prop-types").Requireable<string>;
|
|
796
808
|
target: import("prop-types").Requireable<string>;
|
|
797
|
-
skinHover: import("prop-types").Requireable<boolean>;
|
|
798
809
|
hoverColor: import("prop-types").Requireable<string>;
|
|
810
|
+
hoverBackgroundColor: import("prop-types").Requireable<string>;
|
|
799
811
|
download: import("prop-types").Requireable<boolean>;
|
|
800
812
|
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
801
|
-
|
|
813
|
+
onMouseOver: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
802
814
|
onMouseLeave: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
803
815
|
useButtonTag: import("prop-types").Requireable<boolean>;
|
|
804
816
|
style: import("prop-types").Requireable<import("prop-types").InferProps<{}>>;
|
|
@@ -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"}
|
|
@@ -645,6 +645,7 @@ declare const propTypes: {
|
|
|
645
645
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
646
646
|
title: PropTypes.Validator<string>;
|
|
647
647
|
subtitle: PropTypes.Requireable<string>;
|
|
648
|
+
provider: PropTypes.Requireable<string>;
|
|
648
649
|
selected: PropTypes.Requireable<boolean>;
|
|
649
650
|
selectedColor: PropTypes.Requireable<string>;
|
|
650
651
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
@@ -697,6 +698,17 @@ declare const propTypes: {
|
|
|
697
698
|
'aria-label': PropTypes.Requireable<string>;
|
|
698
699
|
contentType: PropTypes.Requireable<string>;
|
|
699
700
|
id: PropTypes.Requireable<string>;
|
|
701
|
+
leftIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
702
|
+
iconName: PropTypes.Requireable<string>;
|
|
703
|
+
iconColor: PropTypes.Requireable<string>;
|
|
704
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
705
|
+
borderRadius: PropTypes.Requireable<string>;
|
|
706
|
+
preset: PropTypes.Requireable<string>;
|
|
707
|
+
gradientBackground: PropTypes.Requireable<boolean>;
|
|
708
|
+
size: PropTypes.Requireable<number>;
|
|
709
|
+
wrapperSize: PropTypes.Requireable<number>;
|
|
710
|
+
}>>;
|
|
711
|
+
editAsIcon: PropTypes.Requireable<boolean>;
|
|
700
712
|
}> | null | undefined)[]>;
|
|
701
713
|
type: PropTypes.Requireable<string>;
|
|
702
714
|
itemType: PropTypes.Requireable<string>;
|
|
@@ -794,11 +806,11 @@ declare const propTypes: {
|
|
|
794
806
|
'aria-label': PropTypes.Requireable<string>;
|
|
795
807
|
title: PropTypes.Requireable<string>;
|
|
796
808
|
target: PropTypes.Requireable<string>;
|
|
797
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
798
809
|
hoverColor: PropTypes.Requireable<string>;
|
|
810
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
799
811
|
download: PropTypes.Requireable<boolean>;
|
|
800
812
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
801
|
-
|
|
813
|
+
onMouseOver: PropTypes.Requireable<(...args: any[]) => any>;
|
|
802
814
|
onMouseLeave: PropTypes.Requireable<(...args: any[]) => any>;
|
|
803
815
|
useButtonTag: PropTypes.Requireable<boolean>;
|
|
804
816
|
style: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
@@ -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"}
|
|
@@ -649,6 +649,7 @@ declare const propTypes: {
|
|
|
649
649
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
650
650
|
title: PropTypes.Validator<string>;
|
|
651
651
|
subtitle: PropTypes.Requireable<string>;
|
|
652
|
+
provider: PropTypes.Requireable<string>;
|
|
652
653
|
selected: PropTypes.Requireable<boolean>;
|
|
653
654
|
selectedColor: PropTypes.Requireable<string>;
|
|
654
655
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
@@ -701,6 +702,17 @@ declare const propTypes: {
|
|
|
701
702
|
'aria-label': PropTypes.Requireable<string>;
|
|
702
703
|
contentType: PropTypes.Requireable<string>;
|
|
703
704
|
id: PropTypes.Requireable<string>;
|
|
705
|
+
leftIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
706
|
+
iconName: PropTypes.Requireable<string>;
|
|
707
|
+
iconColor: PropTypes.Requireable<string>;
|
|
708
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
709
|
+
borderRadius: PropTypes.Requireable<string>;
|
|
710
|
+
preset: PropTypes.Requireable<string>;
|
|
711
|
+
gradientBackground: PropTypes.Requireable<boolean>;
|
|
712
|
+
size: PropTypes.Requireable<number>;
|
|
713
|
+
wrapperSize: PropTypes.Requireable<number>;
|
|
714
|
+
}>>;
|
|
715
|
+
editAsIcon: PropTypes.Requireable<boolean>;
|
|
704
716
|
}> | null | undefined)[]>;
|
|
705
717
|
type: PropTypes.Requireable<string>;
|
|
706
718
|
itemType: PropTypes.Requireable<string>;
|
|
@@ -798,11 +810,11 @@ declare const propTypes: {
|
|
|
798
810
|
'aria-label': PropTypes.Requireable<string>;
|
|
799
811
|
title: PropTypes.Requireable<string>;
|
|
800
812
|
target: PropTypes.Requireable<string>;
|
|
801
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
802
813
|
hoverColor: PropTypes.Requireable<string>;
|
|
814
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
803
815
|
download: PropTypes.Requireable<boolean>;
|
|
804
816
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
805
|
-
|
|
817
|
+
onMouseOver: PropTypes.Requireable<(...args: any[]) => any>;
|
|
806
818
|
onMouseLeave: PropTypes.Requireable<(...args: any[]) => any>;
|
|
807
819
|
useButtonTag: PropTypes.Requireable<boolean>;
|
|
808
820
|
style: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
@@ -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"}
|
|
@@ -368,6 +368,7 @@ declare namespace BrandUpdate {
|
|
|
368
368
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
369
369
|
title: PropTypes.Validator<string>;
|
|
370
370
|
subtitle: PropTypes.Requireable<string>;
|
|
371
|
+
provider: PropTypes.Requireable<string>;
|
|
371
372
|
selected: PropTypes.Requireable<boolean>;
|
|
372
373
|
selectedColor: PropTypes.Requireable<string>;
|
|
373
374
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
@@ -420,6 +421,17 @@ declare namespace BrandUpdate {
|
|
|
420
421
|
'aria-label': PropTypes.Requireable<string>;
|
|
421
422
|
contentType: PropTypes.Requireable<string>;
|
|
422
423
|
id: PropTypes.Requireable<string>;
|
|
424
|
+
leftIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
425
|
+
iconName: PropTypes.Requireable<string>;
|
|
426
|
+
iconColor: PropTypes.Requireable<string>;
|
|
427
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
428
|
+
borderRadius: PropTypes.Requireable<string>;
|
|
429
|
+
preset: PropTypes.Requireable<string>;
|
|
430
|
+
gradientBackground: PropTypes.Requireable<boolean>;
|
|
431
|
+
size: PropTypes.Requireable<number>;
|
|
432
|
+
wrapperSize: PropTypes.Requireable<number>;
|
|
433
|
+
}>>;
|
|
434
|
+
editAsIcon: PropTypes.Requireable<boolean>;
|
|
423
435
|
}> | null | undefined)[]>;
|
|
424
436
|
type: PropTypes.Requireable<string>;
|
|
425
437
|
itemType: PropTypes.Requireable<string>;
|
|
@@ -804,6 +816,7 @@ declare namespace BrandUpdate {
|
|
|
804
816
|
}> | PropTypes.InferProps<{
|
|
805
817
|
title: PropTypes.Validator<string>;
|
|
806
818
|
subtitle: PropTypes.Requireable<string>;
|
|
819
|
+
provider: PropTypes.Requireable<string>;
|
|
807
820
|
selected: PropTypes.Requireable<boolean>;
|
|
808
821
|
selectedColor: PropTypes.Requireable<string>;
|
|
809
822
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
@@ -856,6 +869,17 @@ declare namespace BrandUpdate {
|
|
|
856
869
|
'aria-label': PropTypes.Requireable<string>;
|
|
857
870
|
contentType: PropTypes.Requireable<string>;
|
|
858
871
|
id: PropTypes.Requireable<string>;
|
|
872
|
+
leftIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
873
|
+
iconName: PropTypes.Requireable<string>;
|
|
874
|
+
iconColor: PropTypes.Requireable<string>;
|
|
875
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
876
|
+
borderRadius: PropTypes.Requireable<string>;
|
|
877
|
+
preset: PropTypes.Requireable<string>;
|
|
878
|
+
gradientBackground: PropTypes.Requireable<boolean>;
|
|
879
|
+
size: PropTypes.Requireable<number>;
|
|
880
|
+
wrapperSize: PropTypes.Requireable<number>;
|
|
881
|
+
}>>;
|
|
882
|
+
editAsIcon: PropTypes.Requireable<boolean>;
|
|
859
883
|
}> | PropTypes.InferProps<{
|
|
860
884
|
'aria-label': PropTypes.Requireable<string>;
|
|
861
885
|
id: PropTypes.Requireable<string>;
|
|
@@ -1022,6 +1046,7 @@ declare namespace BrandUpdate {
|
|
|
1022
1046
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
1023
1047
|
title: PropTypes.Validator<string>;
|
|
1024
1048
|
subtitle: PropTypes.Requireable<string>;
|
|
1049
|
+
provider: PropTypes.Requireable<string>;
|
|
1025
1050
|
selected: PropTypes.Requireable<boolean>;
|
|
1026
1051
|
selectedColor: PropTypes.Requireable<string>;
|
|
1027
1052
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
@@ -1074,6 +1099,17 @@ declare namespace BrandUpdate {
|
|
|
1074
1099
|
'aria-label': PropTypes.Requireable<string>;
|
|
1075
1100
|
contentType: PropTypes.Requireable<string>;
|
|
1076
1101
|
id: PropTypes.Requireable<string>;
|
|
1102
|
+
leftIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1103
|
+
iconName: PropTypes.Requireable<string>;
|
|
1104
|
+
iconColor: PropTypes.Requireable<string>;
|
|
1105
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
1106
|
+
borderRadius: PropTypes.Requireable<string>;
|
|
1107
|
+
preset: PropTypes.Requireable<string>;
|
|
1108
|
+
gradientBackground: PropTypes.Requireable<boolean>;
|
|
1109
|
+
size: PropTypes.Requireable<number>;
|
|
1110
|
+
wrapperSize: PropTypes.Requireable<number>;
|
|
1111
|
+
}>>;
|
|
1112
|
+
editAsIcon: PropTypes.Requireable<boolean>;
|
|
1077
1113
|
}> | null | undefined)[]>;
|
|
1078
1114
|
type: PropTypes.Requireable<string>;
|
|
1079
1115
|
itemType: PropTypes.Requireable<string>;
|
|
@@ -1171,11 +1207,11 @@ declare namespace BrandUpdate {
|
|
|
1171
1207
|
'aria-label': PropTypes.Requireable<string>;
|
|
1172
1208
|
title: PropTypes.Requireable<string>;
|
|
1173
1209
|
target: PropTypes.Requireable<string>;
|
|
1174
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
1175
1210
|
hoverColor: PropTypes.Requireable<string>;
|
|
1211
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
1176
1212
|
download: PropTypes.Requireable<boolean>;
|
|
1177
1213
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1178
|
-
|
|
1214
|
+
onMouseOver: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1179
1215
|
onMouseLeave: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1180
1216
|
useButtonTag: PropTypes.Requireable<boolean>;
|
|
1181
1217
|
style: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
@@ -27,8 +27,9 @@ declare namespace CertificationDetail {
|
|
|
27
27
|
}
|
|
28
28
|
namespace propTypes {
|
|
29
29
|
const title: PropTypes.Validator<string>;
|
|
30
|
+
const tag: PropTypes.Requireable<string>;
|
|
30
31
|
const certificationRef: PropTypes.Validator<string>;
|
|
31
|
-
const description: PropTypes.
|
|
32
|
+
const description: PropTypes.Validator<string>;
|
|
32
33
|
const logoUrl: PropTypes.Requireable<string>;
|
|
33
34
|
const metrics: PropTypes.Requireable<PropTypes.InferProps<{
|
|
34
35
|
progression: PropTypes.Requireable<number>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/certification-detail/index.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/certification-detail/index.js"],"names":[],"mappings":";AAgBA,4EAyHC"}
|
|
@@ -45,12 +45,11 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
45
45
|
|
|
46
46
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
47
47
|
|
|
48
|
-
const DESCRIPTION_BREAKPOINT = 382;
|
|
49
|
-
|
|
50
48
|
const CertificationDetail = (props, context) => {
|
|
51
49
|
const {
|
|
52
50
|
certificationRef,
|
|
53
51
|
title,
|
|
52
|
+
tag,
|
|
54
53
|
description,
|
|
55
54
|
certificationCourses,
|
|
56
55
|
ongoingCoursesAvailable,
|
|
@@ -62,6 +61,7 @@ const CertificationDetail = (props, context) => {
|
|
|
62
61
|
diplomaUrl,
|
|
63
62
|
badgeUrl
|
|
64
63
|
} = props;
|
|
64
|
+
const descriptionRef = (0, _react.useRef)(null);
|
|
65
65
|
const {
|
|
66
66
|
translate
|
|
67
67
|
} = context;
|
|
@@ -71,10 +71,21 @@ const CertificationDetail = (props, context) => {
|
|
|
71
71
|
stars,
|
|
72
72
|
totalModules
|
|
73
73
|
} = metrics;
|
|
74
|
+
const [isDescriptionTruncated, setIsDescriptionTruncated] = (0, _react.useState)(false);
|
|
74
75
|
const [showMore, setShowMore] = (0, _react.useState)(false);
|
|
75
76
|
const handleShowMore = (0, _react.useCallback)(() => setShowMore(!showMore), [setShowMore, showMore]);
|
|
77
|
+
(0, _react.useEffect)(() => {
|
|
78
|
+
if (descriptionRef.current) {
|
|
79
|
+
const {
|
|
80
|
+
clientHeight = 0,
|
|
81
|
+
scrollHeight = 0
|
|
82
|
+
} = descriptionRef.current;
|
|
83
|
+
setIsDescriptionTruncated(scrollHeight > clientHeight);
|
|
84
|
+
}
|
|
85
|
+
}, [description]);
|
|
76
86
|
const Description = (0, _react.useCallback)(() => {
|
|
77
87
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
88
|
+
ref: descriptionRef,
|
|
78
89
|
className: (0, _classnames.default)(_style.default.description, !showMore && _style.default.truncate)
|
|
79
90
|
}, /*#__PURE__*/_react.default.createElement(_markdownToJsx.default, null, description));
|
|
80
91
|
}, [showMore, description]);
|
|
@@ -87,7 +98,7 @@ const CertificationDetail = (props, context) => {
|
|
|
87
98
|
}, !(0, _isNil2.default)(onBackClick) ? /*#__PURE__*/_react.default.createElement(_buttonLinkIcon.default, {
|
|
88
99
|
faIcon: "arrow-left",
|
|
89
100
|
"data-name": "back-button",
|
|
90
|
-
"aria-label":
|
|
101
|
+
"aria-label": translate('back'),
|
|
91
102
|
onClick: onBackClick,
|
|
92
103
|
className: _style.default.backButton,
|
|
93
104
|
tooltipPlacement: "right"
|
|
@@ -99,10 +110,10 @@ const CertificationDetail = (props, context) => {
|
|
|
99
110
|
className: _style.default.logo,
|
|
100
111
|
src: logoUrl
|
|
101
112
|
})), /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_tag.default, {
|
|
102
|
-
label:
|
|
113
|
+
label: tag
|
|
103
114
|
}), /*#__PURE__*/_react.default.createElement("div", {
|
|
104
115
|
className: _style.default.title
|
|
105
|
-
}, title), description ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(Description, null),
|
|
116
|
+
}, title), description ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(Description, null), isDescriptionTruncated ? /*#__PURE__*/_react.default.createElement("div", {
|
|
106
117
|
className: _style.default.showMoreWrapper,
|
|
107
118
|
onClick: handleShowMore
|
|
108
119
|
}, translate(showMore ? 'Show less' : 'Show more'), /*#__PURE__*/_react.default.createElement(_icon.default, {
|
|
@@ -145,8 +156,9 @@ CertificationDetail.contextTypes = {
|
|
|
145
156
|
};
|
|
146
157
|
CertificationDetail.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
147
158
|
title: _propTypes.default.string.isRequired,
|
|
159
|
+
tag: _propTypes.default.string,
|
|
148
160
|
certificationRef: _propTypes.default.string.isRequired,
|
|
149
|
-
description: _propTypes.default.string,
|
|
161
|
+
description: _propTypes.default.string.isRequired,
|
|
150
162
|
logoUrl: _propTypes.default.string,
|
|
151
163
|
metrics: _propTypes.default.shape({
|
|
152
164
|
progression: _propTypes.default.number,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["DESCRIPTION_BREAKPOINT","CertificationDetail","props","context","certificationRef","title","description","certificationCourses","ongoingCoursesAvailable","filters","onBackClick","onContinueLearningClick","metrics","logoUrl","diplomaUrl","badgeUrl","translate","progression","mandatoryModules","stars","totalModules","showMore","setShowMore","useState","handleShowMore","useCallback","Description","classnames","style","truncate","completedModules","useMemo","backgroundContainer","container","backButton","ctaContainer","logoContainer","logo","length","showMoreWrapper","faSize","wrapperSize","contentStats","type","downloadUrl","contextTypes","skin","Provider","childContextTypes","propTypes","PropTypes","string","isRequired","shape","number","bool","CardsGrid","onChange","func","options","arrayOf","SelectOptionPropTypes"],"sources":["../../../src/template/certification-detail/index.js"],"sourcesContent":["import React, {useCallback, useState, useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {compact, lowerCase, round, isNil} from 'lodash/fp';\nimport Markdown from 'markdown-to-jsx';\nimport Provider from '../../atom/provider';\nimport Tag from '../../atom/tag';\nimport {SelectOptionPropTypes} from '../../atom/select';\nimport ButtonLinkIcon from '../../atom/button-link-icon';\nimport Icon from '../../atom/icon';\nimport CardsGrid from '../../organism/cards-grid';\nimport AllCourses from '../skill-detail/all-courses';\nimport {ContinueLearningButton} from '../skill-detail';\nimport ProgressWrapper from '../../molecule/progress-wrapper';\nimport style from './style.css';\n\nconst DESCRIPTION_BREAKPOINT = 382;\n\nconst CertificationDetail = (props, context) => {\n const {\n certificationRef,\n title,\n description,\n certificationCourses,\n ongoingCoursesAvailable,\n filters,\n onBackClick,\n onContinueLearningClick,\n metrics,\n logoUrl,\n diplomaUrl,\n badgeUrl\n } = props;\n const {translate} = context;\n const {progression, mandatoryModules, stars, totalModules} = metrics;\n\n const [showMore, setShowMore] = useState(false);\n const handleShowMore = useCallback(() => setShowMore(!showMore), [setShowMore, showMore]);\n\n const Description = useCallback(() => {\n return (\n <div className={classnames(style.description, !showMore && style.truncate)}>\n <Markdown>{description}</Markdown>\n </div>\n );\n }, [showMore, description]);\n\n const completedModules = useMemo(\n () => round((mandatoryModules * progression) / 100),\n [mandatoryModules, progression]\n );\n\n return (\n <div className={style.backgroundContainer}>\n <div className={style.container} data-name={certificationRef}>\n {!isNil(onBackClick) ? (\n <ButtonLinkIcon\n faIcon=\"arrow-left\"\n data-name=\"back-button\"\n aria-label=\"Back\"\n onClick={onBackClick}\n className={style.backButton}\n tooltipPlacement=\"right\"\n />\n ) : null}\n <div className={style.ctaContainer}>\n <div className={style.logoContainer}>\n <img className={style.logo} src={logoUrl} />\n </div>\n <div>\n <Tag label={translate('certification')} />\n <div className={style.title}>{title}</div>\n {description ? (\n <>\n <Description />\n {description.length >= DESCRIPTION_BREAKPOINT ? (\n <div className={style.showMoreWrapper} onClick={handleShowMore}>\n {translate(showMore ? 'Show less' : 'Show more')}\n <Icon\n iconName={showMore ? 'chevron-up' : 'chevron-down'}\n size={{faSize: 14, wrapperSize: 16}}\n />\n </div>\n ) : null}\n </>\n ) : null}\n <div className={style.contentStats}>\n <span>{`${totalModules} ${lowerCase(translate('modules'))}`}</span>\n </div>\n <ContinueLearningButton\n ongoingCoursesAvailable={ongoingCoursesAvailable}\n onClick={onContinueLearningClick}\n />\n </div>\n </div>\n <ProgressWrapper\n title={translate('your_progress')}\n subtitle={translate('certification_progress_wrapper_subtitle')}\n progression={progression}\n completedModules={completedModules}\n mandatoryModules={mandatoryModules}\n sections={compact([\n {\n type: 'diploma',\n downloadUrl: diplomaUrl\n },\n badgeUrl && {\n type: 'badge',\n downloadUrl: badgeUrl\n },\n {\n type: 'stars',\n stars\n }\n ])}\n />\n <AllCourses\n content={certificationCourses}\n filters={filters}\n data-name=\"certification-courses\"\n />\n </div>\n </div>\n );\n};\n\nCertificationDetail.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nCertificationDetail.propTypes = {\n title: PropTypes.string.isRequired,\n certificationRef: PropTypes.string.isRequired,\n description: PropTypes.string,\n logoUrl: PropTypes.string,\n metrics: PropTypes.shape({\n progression: PropTypes.number,\n stars: PropTypes.number,\n mandatoryModules: PropTypes.number,\n totalModules: PropTypes.number\n }),\n diplomaUrl: PropTypes.string,\n badgeUrl: PropTypes.string,\n ongoingCoursesAvailable: PropTypes.bool,\n certificationCourses: PropTypes.shape(CardsGrid.propTypes),\n filters: PropTypes.shape({\n onChange: PropTypes.func,\n options: PropTypes.arrayOf(PropTypes.shape(SelectOptionPropTypes))\n }),\n onBackClick: PropTypes.func,\n onContinueLearningClick: PropTypes.func\n};\n\nexport default CertificationDetail;\n"],"mappings":";;;;;;;;;;;;;AAAA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;AAEA,MAAMA,sBAAsB,GAAG,GAA/B;;AAEA,MAAMC,mBAAmB,GAAG,CAACC,KAAD,EAAQC,OAAR,KAAoB;EAC9C,MAAM;IACJC,gBADI;IAEJC,KAFI;IAGJC,WAHI;IAIJC,oBAJI;IAKJC,uBALI;IAMJC,OANI;IAOJC,WAPI;IAQJC,uBARI;IASJC,OATI;IAUJC,OAVI;IAWJC,UAXI;IAYJC;EAZI,IAaFb,KAbJ;EAcA,MAAM;IAACc;EAAD,IAAcb,OAApB;EACA,MAAM;IAACc,WAAD;IAAcC,gBAAd;IAAgCC,KAAhC;IAAuCC;EAAvC,IAAuDR,OAA7D;EAEA,MAAM,CAACS,QAAD,EAAWC,WAAX,IAA0B,IAAAC,eAAA,EAAS,KAAT,CAAhC;EACA,MAAMC,cAAc,GAAG,IAAAC,kBAAA,EAAY,MAAMH,WAAW,CAAC,CAACD,QAAF,CAA7B,EAA0C,CAACC,WAAD,EAAcD,QAAd,CAA1C,CAAvB;EAEA,MAAMK,WAAW,GAAG,IAAAD,kBAAA,EAAY,MAAM;IACpC,oBACE;MAAK,SAAS,EAAE,IAAAE,mBAAA,EAAWC,cAAA,CAAMtB,WAAjB,EAA8B,CAACe,QAAD,IAAaO,cAAA,CAAMC,QAAjD;IAAhB,gBACE,6BAAC,sBAAD,QAAWvB,WAAX,CADF,CADF;EAKD,CANmB,EAMjB,CAACe,QAA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sC,kBAAA,CAAUG,KAAV,CAAgB;IACvBpC,WAAW,EAAEiC,kBAAA,CAAUI,MADA;IAEvBnC,KAAK,EAAE+B,kBAAA,CAAUI,MAFM;IAGvBpC,gBAAgB,EAAEgC,kBAAA,CAAUI,MAHL;IAIvBlC,YAAY,EAAE8B,kBAAA,CAAUI;EAJD,CAAhB,CALqB;EAW9BxC,UAAU,EAAEoC,kBAAA,CAAUC,MAXQ;EAY9BpC,QAAQ,EAAEmC,kBAAA,CAAUC,MAZU;EAa9B3C,uBAAuB,EAAE0C,kBAAA,CAAUK,IAbL;EAc9BhD,oBAAoB,EAAE2C,kBAAA,CAAUG,KAAV,CAAgBG,kBAAA,CAAUP,SAA1B,CAdQ;EAe9BxC,OAAO,EAAEyC,kBAAA,CAAUG,KAAV,CAAgB;IACvBI,QAAQ,EAAEP,kBAAA,CAAUQ,IADG;IAEvBC,OAAO,EAAET,kBAAA,CAAUU,OAAV,CAAkBV,kBAAA,CAAUG,KAAV,CAAgBQ,6BAAhB,CAAlB;EAFc,CAAhB,CAfqB;EAmB9BnD,WAAW,EAAEwC,kBAAA,CAAUQ,IAnBO;EAoB9B/C,uBAAuB,EAAEuC,kBAAA,CAAUQ;AApBL,CAAhC;eAuBezD,mB"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["CertificationDetail","props","context","certificationRef","title","tag","description","certificationCourses","ongoingCoursesAvailable","filters","onBackClick","onContinueLearningClick","metrics","logoUrl","diplomaUrl","badgeUrl","descriptionRef","useRef","translate","progression","mandatoryModules","stars","totalModules","isDescriptionTruncated","setIsDescriptionTruncated","useState","showMore","setShowMore","handleShowMore","useCallback","useEffect","current","clientHeight","scrollHeight","Description","classnames","style","truncate","completedModules","useMemo","backgroundContainer","container","backButton","ctaContainer","logoContainer","logo","showMoreWrapper","faSize","wrapperSize","contentStats","type","downloadUrl","contextTypes","skin","Provider","childContextTypes","propTypes","PropTypes","string","isRequired","shape","number","bool","CardsGrid","onChange","func","options","arrayOf","SelectOptionPropTypes"],"sources":["../../../src/template/certification-detail/index.js"],"sourcesContent":["import React, {useCallback, useEffect, useRef, useState, useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {compact, lowerCase, round, isNil} from 'lodash/fp';\nimport Markdown from 'markdown-to-jsx';\nimport Provider from '../../atom/provider';\nimport Tag from '../../atom/tag';\nimport {SelectOptionPropTypes} from '../../atom/select';\nimport ButtonLinkIcon from '../../atom/button-link-icon';\nimport Icon from '../../atom/icon';\nimport CardsGrid from '../../organism/cards-grid';\nimport AllCourses from '../skill-detail/all-courses';\nimport {ContinueLearningButton} from '../skill-detail';\nimport ProgressWrapper from '../../molecule/progress-wrapper';\nimport style from './style.css';\n\nconst CertificationDetail = (props, context) => {\n const {\n certificationRef,\n title,\n tag,\n description,\n certificationCourses,\n ongoingCoursesAvailable,\n filters,\n onBackClick,\n onContinueLearningClick,\n metrics,\n logoUrl,\n diplomaUrl,\n badgeUrl\n } = props;\n const descriptionRef = useRef(null);\n const {translate} = context;\n\n const {progression, mandatoryModules, stars, totalModules} = metrics;\n\n const [isDescriptionTruncated, setIsDescriptionTruncated] = useState(false);\n const [showMore, setShowMore] = useState(false);\n\n const handleShowMore = useCallback(() => setShowMore(!showMore), [setShowMore, showMore]);\n\n useEffect(() => {\n if (descriptionRef.current) {\n const {clientHeight = 0, scrollHeight = 0} = descriptionRef.current;\n setIsDescriptionTruncated(scrollHeight > clientHeight);\n }\n }, [description]);\n\n const Description = useCallback(() => {\n return (\n <div\n ref={descriptionRef}\n className={classnames(style.description, !showMore && style.truncate)}\n >\n <Markdown>{description}</Markdown>\n </div>\n );\n }, [showMore, description]);\n\n const completedModules = useMemo(\n () => round((mandatoryModules * progression) / 100),\n [mandatoryModules, progression]\n );\n\n return (\n <div className={style.backgroundContainer}>\n <div className={style.container} data-name={certificationRef}>\n {!isNil(onBackClick) ? (\n <ButtonLinkIcon\n faIcon=\"arrow-left\"\n data-name=\"back-button\"\n aria-label={translate('back')}\n onClick={onBackClick}\n className={style.backButton}\n tooltipPlacement=\"right\"\n />\n ) : null}\n <div className={style.ctaContainer}>\n <div className={style.logoContainer}>\n <img className={style.logo} src={logoUrl} />\n </div>\n <div>\n <Tag label={tag} />\n <div className={style.title}>{title}</div>\n {description ? (\n <>\n <Description />\n {isDescriptionTruncated ? (\n <div className={style.showMoreWrapper} onClick={handleShowMore}>\n {translate(showMore ? 'Show less' : 'Show more')}\n <Icon\n iconName={showMore ? 'chevron-up' : 'chevron-down'}\n size={{faSize: 14, wrapperSize: 16}}\n />\n </div>\n ) : null}\n </>\n ) : null}\n <div className={style.contentStats}>\n <span>{`${totalModules} ${lowerCase(translate('modules'))}`}</span>\n </div>\n <ContinueLearningButton\n ongoingCoursesAvailable={ongoingCoursesAvailable}\n onClick={onContinueLearningClick}\n />\n </div>\n </div>\n <ProgressWrapper\n title={translate('your_progress')}\n subtitle={translate('certification_progress_wrapper_subtitle')}\n progression={progression}\n completedModules={completedModules}\n mandatoryModules={mandatoryModules}\n sections={compact([\n {\n type: 'diploma',\n downloadUrl: diplomaUrl\n },\n badgeUrl && {\n type: 'badge',\n downloadUrl: badgeUrl\n },\n {\n type: 'stars',\n stars\n }\n ])}\n />\n <AllCourses\n content={certificationCourses}\n filters={filters}\n data-name=\"certification-courses\"\n />\n </div>\n </div>\n );\n};\n\nCertificationDetail.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nCertificationDetail.propTypes = {\n title: PropTypes.string.isRequired,\n tag: PropTypes.string,\n certificationRef: PropTypes.string.isRequired,\n description: PropTypes.string.isRequired,\n logoUrl: PropTypes.string,\n metrics: PropTypes.shape({\n progression: PropTypes.number,\n stars: PropTypes.number,\n mandatoryModules: PropTypes.number,\n totalModules: PropTypes.number\n }),\n diplomaUrl: PropTypes.string,\n badgeUrl: PropTypes.string,\n ongoingCoursesAvailable: PropTypes.bool,\n certificationCourses: PropTypes.shape(CardsGrid.propTypes),\n filters: PropTypes.shape({\n onChange: PropTypes.func,\n options: PropTypes.arrayOf(PropTypes.shape(SelectOptionPropTypes))\n }),\n onBackClick: PropTypes.func,\n onContinueLearningClick: PropTypes.func\n};\n\nexport default CertificationDetail;\n"],"mappings":";;;;;;;;;;;;;AAAA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;AAEA,MAAMA,mBAAmB,GAAG,CAACC,KAAD,EAAQC,OAAR,KAAoB;EAC9C,MAAM;IACJC,gBADI;IAEJC,KAFI;IAGJC,GAHI;IAIJC,WAJI;IAKJC,oBALI;IAMJC,uBANI;IAOJC,OAPI;IAQJC,WARI;IASJC,uBATI;IAUJC,OAVI;IAWJC,OAXI;IAYJC,UAZI;IAaJC;EAbI,IAcFd,KAdJ;EAeA,MAAMe,cAAc,GAAG,IAAAC,aAAA,EAAO,IAAP,CAAvB;EACA,MAAM;IAACC;EAAD,IAAchB,OAApB;EAEA,MAAM;IAACiB,WAAD;IAAcC,gBAAd;IAAgCC,KAAhC;IAAuCC;EAAvC,IAAuDV,OAA7D;EAEA,MAAM,CAACW,sBAAD,EAAyBC,yBAAzB,IAAsD,IAAAC,eAAA,EAAS,KAAT,CAA5D;EACA,MAAM,CAACC,QAAD,EAAWC,WAAX,IAA0B,IAAAF,eAAA,EAAS,KAAT,CAAhC;EAEA,MAAMG,cAAc,GAAG,IAAAC,kBAAA,EAAY,MAAMF,WAAW,CAAC,CAACD,QAAF,CAA7B,EAA0C,CAACC,WAAD,EAAcD,QAAd,CAA1C,CAAvB;EAEA,IAAAI,gBAAA,EAAU,MAAM;IACd,IAAId,cAAc,CAACe,OAAnB,EAA4B;MAC1B,MAAM;QAACC,YAAY,GAAG,CAAhB;QAAmBC,YAAY,GAAG;MAAlC,IAAuCjB,cAAc,CAACe,OAA5D;MACAP,yBAAyB,CAACS,YAAY,GAAGD,YAAhB,CAAzB;IACD;EACF,CALD,EAKG,CAAC1B,WAAD,CALH;EAOA,MAA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