@coorpacademy/components 11.42.0 → 11.42.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/checkbox-with-title/index.d.ts +1 -0
- package/es/atom/checkbox-with-title/index.d.ts.map +1 -1
- package/es/atom/checkbox-with-title/index.js +6 -3
- package/es/atom/checkbox-with-title/index.js.map +1 -1
- package/es/atom/radio-group/index.d.ts +13 -7
- package/es/atom/radio-group/index.d.ts.map +1 -1
- package/es/atom/radio-group/index.js +51 -0
- package/es/atom/radio-group/index.js.map +1 -1
- package/es/atom/radio-group/style.css +37 -0
- package/es/atom/radio-with-title/index.d.ts +3 -0
- package/es/atom/radio-with-title/index.d.ts.map +1 -1
- package/es/atom/radio-with-title/index.js +23 -5
- package/es/atom/radio-with-title/index.js.map +1 -1
- package/es/atom/radio-with-title/style.css +27 -0
- package/es/atom/radio-with-title/types.d.ts +6 -0
- package/es/atom/radio-with-title/types.d.ts.map +1 -1
- package/es/atom/radio-with-title/types.js +3 -0
- package/es/atom/radio-with-title/types.js.map +1 -1
- package/es/index.d.ts +1 -0
- package/es/index.js +1 -0
- package/es/index.js.map +1 -1
- package/es/molecule/cm-popin/index.d.ts.map +1 -1
- package/es/molecule/cm-popin/index.js +20 -3
- package/es/molecule/cm-popin/index.js.map +1 -1
- package/es/molecule/cm-popin/style.css +17 -0
- package/es/molecule/cm-popin/types.d.ts +36 -0
- package/es/molecule/cm-popin/types.d.ts.map +1 -1
- package/es/molecule/cm-popin/types.js +3 -0
- package/es/molecule/cm-popin/types.js.map +1 -1
- package/es/molecule/draggable-list/index.d.ts +12 -0
- package/es/molecule/progress-bar/index.d.ts +16 -7
- package/es/molecule/progress-bar/index.d.ts.map +1 -1
- package/es/molecule/progress-bar/index.js +61 -4
- package/es/molecule/progress-bar/index.js.map +1 -1
- package/es/molecule/progress-bar/style.css +56 -0
- package/es/molecule/setup-section/index.d.ts +6 -0
- package/es/molecule/setup-sections/index.d.ts +6 -0
- package/es/molecule/table/index.d.ts +8 -0
- package/es/molecule/table/index.d.ts.map +1 -1
- package/es/molecule/table/index.js +43 -5
- package/es/molecule/table/index.js.map +1 -1
- package/es/molecule/table/style.css +24 -0
- package/es/molecule/title-and-checkbox-wrapper/index.d.ts +1 -0
- package/es/molecule/title-radio-wrapper/index.d.ts +3 -0
- package/es/molecule/title-radio-wrapper/index.d.ts.map +1 -1
- package/es/molecule/title-radio-wrapper/types.d.ts +3 -0
- package/es/molecule/title-radio-wrapper/types.d.ts.map +1 -1
- package/es/molecule/wizard-summary/index.d.ts +3 -0
- package/es/molecule/wizard-summary/index.d.ts.map +1 -1
- package/es/molecule/wizard-summary/index.js +35 -3
- package/es/molecule/wizard-summary/index.js.map +1 -1
- package/es/molecule/wizard-summary/style.css +54 -1
- package/es/organism/assignment-audience/index.d.ts +23 -11
- package/es/organism/assignment-audience/index.d.ts.map +1 -1
- package/es/organism/assignment-audience/index.js +100 -59
- package/es/organism/assignment-audience/index.js.map +1 -1
- package/es/organism/assignment-audience/types.d.ts +39 -15
- package/es/organism/assignment-audience/types.d.ts.map +1 -1
- package/es/organism/assignment-audience/types.js +17 -5
- package/es/organism/assignment-audience/types.js.map +1 -1
- package/es/organism/brand-learning-priorities/index.d.ts +12 -0
- package/es/organism/brand-table/index.d.ts +8 -0
- package/es/organism/content-selection-list/index.d.ts +95 -0
- package/es/organism/content-selection-list/index.d.ts.map +1 -0
- package/es/organism/content-selection-list/index.js +175 -0
- package/es/organism/content-selection-list/index.js.map +1 -0
- package/es/organism/content-selection-list/style.css +8 -0
- package/es/organism/content-selection-list/types.d.ts +113 -0
- package/es/organism/content-selection-list/types.d.ts.map +1 -0
- package/es/organism/content-selection-list/types.js +58 -0
- package/es/organism/content-selection-list/types.js.map +1 -0
- package/es/organism/content-skill-modal/index.d.ts +7 -0
- package/es/organism/content-skill-modal/index.d.ts.map +1 -1
- package/es/organism/content-skill-modal/types.d.ts +7 -0
- package/es/organism/content-skill-modal/types.d.ts.map +1 -1
- package/es/organism/header-with-actions/index.d.ts +13 -4
- package/es/organism/header-with-actions/index.d.ts.map +1 -1
- package/es/organism/header-with-actions/index.js +31 -6
- package/es/organism/header-with-actions/index.js.map +1 -1
- package/es/organism/header-with-actions/style.css +42 -0
- package/es/organism/header-with-actions/types.d.ts +24 -6
- package/es/organism/header-with-actions/types.d.ts.map +1 -1
- package/es/organism/header-with-actions/types.js +7 -2
- package/es/organism/header-with-actions/types.js.map +1 -1
- package/es/organism/list-item/index.d.ts +9 -1
- package/es/organism/list-item/index.d.ts.map +1 -1
- package/es/organism/list-item/index.js +16 -3
- package/es/organism/list-item/index.js.map +1 -1
- package/es/organism/list-item/style.css +15 -0
- package/es/organism/list-items/index.d.ts +7 -0
- package/es/organism/rewards-form/index.d.ts +1 -0
- package/es/organism/select-opponents/index.d.ts +1 -0
- package/es/organism/select-opponents/index.d.ts.map +1 -1
- package/es/organism/select-opponents/types.d.ts +1 -0
- package/es/organism/select-opponents/types.d.ts.map +1 -1
- package/es/organism/skill-edition/index.d.ts +8 -3
- package/es/organism/skill-edition/index.d.ts.map +1 -1
- package/es/organism/skill-edition/index.js +3 -168
- package/es/organism/skill-edition/index.js.map +1 -1
- package/es/organism/skill-edition/styles.d.ts +10 -0
- package/es/organism/skill-edition/styles.d.ts.map +1 -0
- package/es/organism/skill-edition/styles.js +10 -0
- package/es/organism/skill-edition/styles.js.map +1 -0
- package/es/organism/skill-edition/types.d.ts +10 -54
- package/es/organism/skill-edition/types.d.ts.map +1 -1
- package/es/organism/skill-edition/types.js +3 -52
- package/es/organism/skill-edition/types.js.map +1 -1
- package/es/organism/title-and-input/index.d.ts +1 -0
- package/es/organism/title-and-input/index.d.ts.map +1 -1
- package/es/organism/title-and-input/types.d.ts +1 -0
- package/es/organism/title-and-input/types.d.ts.map +1 -1
- package/es/organism/wizard-contents/index.d.ts +4 -0
- package/es/template/app-player/loading/index.d.ts +33 -0
- package/es/template/app-player/player/index.d.ts +66 -0
- package/es/template/app-player/player/slides/index.d.ts +33 -0
- package/es/template/app-player/player/slides/index.d.ts.map +1 -1
- package/es/template/app-player/popin-correction/index.d.ts +33 -0
- package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/es/template/app-player/popin-end/index.d.ts +33 -0
- package/es/template/app-review/index.d.ts +33 -0
- package/es/template/app-review/index.d.ts.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +33 -0
- package/es/template/app-review/player/prop-types.d.ts.map +1 -1
- package/es/template/app-review/prop-types.d.ts +33 -0
- package/es/template/app-review/prop-types.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.d.ts +120 -7
- package/es/template/back-office/brand-update/index.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.js +19 -4
- package/es/template/back-office/brand-update/index.js.map +1 -1
- package/es/template/back-office/brand-update/style.css +18 -0
- package/es/template/certification-detail/index.d.ts +33 -0
- package/es/template/common/dashboard/index.d.ts +66 -0
- package/es/template/common/search-page/index.d.ts +33 -0
- package/es/template/external-course/index.d.ts +33 -0
- package/es/template/playlist-detail/index.d.ts +33 -0
- package/lib/atom/checkbox-with-title/index.d.ts +1 -0
- package/lib/atom/checkbox-with-title/index.d.ts.map +1 -1
- package/lib/atom/checkbox-with-title/index.js +6 -3
- package/lib/atom/checkbox-with-title/index.js.map +1 -1
- package/lib/atom/radio-group/index.d.ts +13 -7
- package/lib/atom/radio-group/index.d.ts.map +1 -1
- package/lib/atom/radio-group/index.js +51 -0
- package/lib/atom/radio-group/index.js.map +1 -1
- package/lib/atom/radio-group/style.css +37 -0
- package/lib/atom/radio-with-title/index.d.ts +3 -0
- package/lib/atom/radio-with-title/index.d.ts.map +1 -1
- package/lib/atom/radio-with-title/index.js +23 -5
- package/lib/atom/radio-with-title/index.js.map +1 -1
- package/lib/atom/radio-with-title/style.css +27 -0
- package/lib/atom/radio-with-title/types.d.ts +6 -0
- package/lib/atom/radio-with-title/types.d.ts.map +1 -1
- package/lib/atom/radio-with-title/types.js +3 -0
- package/lib/atom/radio-with-title/types.js.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +3 -0
- package/lib/index.js.map +1 -1
- package/lib/molecule/cm-popin/index.d.ts.map +1 -1
- package/lib/molecule/cm-popin/index.js +20 -3
- package/lib/molecule/cm-popin/index.js.map +1 -1
- package/lib/molecule/cm-popin/style.css +17 -0
- package/lib/molecule/cm-popin/types.d.ts +36 -0
- package/lib/molecule/cm-popin/types.d.ts.map +1 -1
- package/lib/molecule/cm-popin/types.js +3 -0
- package/lib/molecule/cm-popin/types.js.map +1 -1
- package/lib/molecule/draggable-list/index.d.ts +12 -0
- package/lib/molecule/progress-bar/index.d.ts +16 -7
- package/lib/molecule/progress-bar/index.d.ts.map +1 -1
- package/lib/molecule/progress-bar/index.js +61 -4
- package/lib/molecule/progress-bar/index.js.map +1 -1
- package/lib/molecule/progress-bar/style.css +56 -0
- package/lib/molecule/setup-section/index.d.ts +6 -0
- package/lib/molecule/setup-sections/index.d.ts +6 -0
- package/lib/molecule/table/index.d.ts +8 -0
- package/lib/molecule/table/index.d.ts.map +1 -1
- package/lib/molecule/table/index.js +43 -5
- package/lib/molecule/table/index.js.map +1 -1
- package/lib/molecule/table/style.css +24 -0
- package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +1 -0
- package/lib/molecule/title-radio-wrapper/index.d.ts +3 -0
- package/lib/molecule/title-radio-wrapper/index.d.ts.map +1 -1
- package/lib/molecule/title-radio-wrapper/types.d.ts +3 -0
- package/lib/molecule/title-radio-wrapper/types.d.ts.map +1 -1
- package/lib/molecule/wizard-summary/index.d.ts +3 -0
- package/lib/molecule/wizard-summary/index.d.ts.map +1 -1
- package/lib/molecule/wizard-summary/index.js +35 -3
- package/lib/molecule/wizard-summary/index.js.map +1 -1
- package/lib/molecule/wizard-summary/style.css +54 -1
- package/lib/organism/assignment-audience/index.d.ts +23 -11
- package/lib/organism/assignment-audience/index.d.ts.map +1 -1
- package/lib/organism/assignment-audience/index.js +100 -59
- package/lib/organism/assignment-audience/index.js.map +1 -1
- package/lib/organism/assignment-audience/types.d.ts +39 -15
- package/lib/organism/assignment-audience/types.d.ts.map +1 -1
- package/lib/organism/assignment-audience/types.js +17 -5
- package/lib/organism/assignment-audience/types.js.map +1 -1
- package/lib/organism/brand-learning-priorities/index.d.ts +12 -0
- package/lib/organism/brand-table/index.d.ts +8 -0
- package/lib/organism/content-selection-list/index.d.ts +95 -0
- package/lib/organism/content-selection-list/index.d.ts.map +1 -0
- package/lib/organism/content-selection-list/index.js +181 -0
- package/lib/organism/content-selection-list/index.js.map +1 -0
- package/lib/organism/content-selection-list/style.css +8 -0
- package/lib/organism/content-selection-list/types.d.ts +113 -0
- package/lib/organism/content-selection-list/types.d.ts.map +1 -0
- package/lib/organism/content-selection-list/types.js +63 -0
- package/lib/organism/content-selection-list/types.js.map +1 -0
- package/lib/organism/content-skill-modal/index.d.ts +7 -0
- package/lib/organism/content-skill-modal/index.d.ts.map +1 -1
- package/lib/organism/content-skill-modal/types.d.ts +7 -0
- package/lib/organism/content-skill-modal/types.d.ts.map +1 -1
- package/lib/organism/header-with-actions/index.d.ts +13 -4
- package/lib/organism/header-with-actions/index.d.ts.map +1 -1
- package/lib/organism/header-with-actions/index.js +31 -6
- package/lib/organism/header-with-actions/index.js.map +1 -1
- package/lib/organism/header-with-actions/style.css +42 -0
- package/lib/organism/header-with-actions/types.d.ts +24 -6
- package/lib/organism/header-with-actions/types.d.ts.map +1 -1
- package/lib/organism/header-with-actions/types.js +7 -2
- package/lib/organism/header-with-actions/types.js.map +1 -1
- package/lib/organism/list-item/index.d.ts +9 -1
- package/lib/organism/list-item/index.d.ts.map +1 -1
- package/lib/organism/list-item/index.js +16 -3
- package/lib/organism/list-item/index.js.map +1 -1
- package/lib/organism/list-item/style.css +15 -0
- package/lib/organism/list-items/index.d.ts +7 -0
- package/lib/organism/rewards-form/index.d.ts +1 -0
- package/lib/organism/select-opponents/index.d.ts +1 -0
- package/lib/organism/select-opponents/index.d.ts.map +1 -1
- package/lib/organism/select-opponents/types.d.ts +1 -0
- package/lib/organism/select-opponents/types.d.ts.map +1 -1
- package/lib/organism/skill-edition/index.d.ts +8 -3
- package/lib/organism/skill-edition/index.d.ts.map +1 -1
- package/lib/organism/skill-edition/index.js +11 -174
- package/lib/organism/skill-edition/index.js.map +1 -1
- package/lib/organism/skill-edition/styles.d.ts +10 -0
- package/lib/organism/skill-edition/styles.d.ts.map +1 -0
- package/lib/organism/skill-edition/styles.js +15 -0
- package/lib/organism/skill-edition/styles.js.map +1 -0
- package/lib/organism/skill-edition/types.d.ts +10 -54
- package/lib/organism/skill-edition/types.d.ts.map +1 -1
- package/lib/organism/skill-edition/types.js +6 -53
- package/lib/organism/skill-edition/types.js.map +1 -1
- package/lib/organism/title-and-input/index.d.ts +1 -0
- package/lib/organism/title-and-input/index.d.ts.map +1 -1
- package/lib/organism/title-and-input/types.d.ts +1 -0
- package/lib/organism/title-and-input/types.d.ts.map +1 -1
- package/lib/organism/wizard-contents/index.d.ts +4 -0
- package/lib/template/app-player/loading/index.d.ts +33 -0
- package/lib/template/app-player/player/index.d.ts +66 -0
- package/lib/template/app-player/player/slides/index.d.ts +33 -0
- package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-correction/index.d.ts +33 -0
- package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-end/index.d.ts +33 -0
- package/lib/template/app-review/index.d.ts +33 -0
- package/lib/template/app-review/index.d.ts.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +33 -0
- package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/prop-types.d.ts +33 -0
- package/lib/template/app-review/prop-types.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.d.ts +120 -7
- package/lib/template/back-office/brand-update/index.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.js +19 -4
- package/lib/template/back-office/brand-update/index.js.map +1 -1
- package/lib/template/back-office/brand-update/style.css +18 -0
- package/lib/template/certification-detail/index.d.ts +33 -0
- package/lib/template/common/dashboard/index.d.ts +66 -0
- package/lib/template/common/search-page/index.d.ts +33 -0
- package/lib/template/external-course/index.d.ts +33 -0
- package/lib/template/playlist-detail/index.d.ts +33 -0
- package/locales/bs/global.json +2 -2
- package/locales/cs/global.json +2 -2
- package/locales/de/global.json +2 -2
- package/locales/es/global.json +2 -2
- package/locales/et/global.json +2 -2
- package/locales/fi/global.json +2 -2
- package/locales/fr/global.json +2 -2
- package/locales/hr/global.json +2 -2
- package/locales/hu/global.json +2 -2
- package/locales/hy/global.json +2 -2
- package/locales/it/global.json +2 -2
- package/locales/ja/global.json +2 -2
- package/locales/ko/global.json +2 -2
- package/locales/lt/global.json +2 -2
- package/locales/nl/global.json +2 -2
- package/locales/pl/global.json +2 -2
- package/locales/pt/global.json +2 -2
- package/locales/ro/global.json +2 -2
- package/locales/ru/global.json +2 -2
- package/locales/sk/global.json +2 -2
- package/locales/sl/global.json +2 -2
- package/locales/sv/global.json +2 -2
- package/locales/tl/global.json +2 -2
- package/locales/tr/global.json +2 -2
- package/locales/uk/global.json +2 -2
- package/locales/vi/global.json +2 -2
- package/locales/zh/global.json +2 -2
- package/locales/zh_TW/global.json +2 -2
- package/package.json +2 -2
|
@@ -227,15 +227,24 @@ declare namespace BrandUpdate {
|
|
|
227
227
|
onClick: PropTypes.Validator<(...args: any[]) => any>;
|
|
228
228
|
}>>;
|
|
229
229
|
title: PropTypes.Validator<string>;
|
|
230
|
-
|
|
230
|
+
tags: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
231
|
+
status: PropTypes.Requireable<string>;
|
|
232
|
+
label: PropTypes.Validator<string>;
|
|
233
|
+
}> | null | undefined)[]>;
|
|
234
|
+
subtitle: PropTypes.Requireable<string>;
|
|
235
|
+
breadcrumbs: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
236
|
+
title: PropTypes.Validator<string>;
|
|
237
|
+
href: PropTypes.Requireable<string>;
|
|
238
|
+
}> | null | undefined)[]>;
|
|
239
|
+
tag: PropTypes.Requireable<PropTypes.InferProps<{
|
|
231
240
|
label: PropTypes.Validator<string>;
|
|
232
241
|
type: PropTypes.Validator<string>;
|
|
233
242
|
size: PropTypes.Validator<string>;
|
|
234
|
-
}
|
|
235
|
-
saveStatus: PropTypes.
|
|
243
|
+
}>>;
|
|
244
|
+
saveStatus: PropTypes.Requireable<PropTypes.InferProps<{
|
|
236
245
|
display: PropTypes.Validator<boolean>;
|
|
237
246
|
label: PropTypes.Requireable<string>;
|
|
238
|
-
}
|
|
247
|
+
}>>;
|
|
239
248
|
actionButtons: PropTypes.Validator<(PropTypes.InferProps<{
|
|
240
249
|
type: PropTypes.Validator<string>;
|
|
241
250
|
label: PropTypes.Validator<string>;
|
|
@@ -332,6 +341,12 @@ declare namespace BrandUpdate {
|
|
|
332
341
|
rows: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
333
342
|
fields: PropTypes.Requireable<(NonNullable<string | PropTypes.InferProps<{
|
|
334
343
|
icon: PropTypes.Requireable<string>;
|
|
344
|
+
title: PropTypes.Requireable<string>;
|
|
345
|
+
text: PropTypes.Requireable<string>;
|
|
346
|
+
tags: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
347
|
+
status: PropTypes.Requireable<string>;
|
|
348
|
+
label: PropTypes.Validator<string>;
|
|
349
|
+
}> | null | undefined)[]>;
|
|
335
350
|
}> | null | undefined> | null | undefined)[]>;
|
|
336
351
|
editHref: PropTypes.Requireable<string>;
|
|
337
352
|
highlighted: PropTypes.Requireable<boolean>;
|
|
@@ -340,6 +355,8 @@ declare namespace BrandUpdate {
|
|
|
340
355
|
title: PropTypes.Validator<string>;
|
|
341
356
|
info: PropTypes.Requireable<string>;
|
|
342
357
|
filtered: PropTypes.Requireable<boolean>;
|
|
358
|
+
order: PropTypes.Requireable<string>;
|
|
359
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
343
360
|
options: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
344
361
|
title: PropTypes.Validator<string>;
|
|
345
362
|
onChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
@@ -601,6 +618,11 @@ declare namespace BrandUpdate {
|
|
|
601
618
|
size: PropTypes.Requireable<number>;
|
|
602
619
|
wrapperSize: PropTypes.Requireable<number>;
|
|
603
620
|
}>>;
|
|
621
|
+
imageOverlay: PropTypes.Requireable<string>;
|
|
622
|
+
contentBadge: PropTypes.Requireable<PropTypes.InferProps<{
|
|
623
|
+
category: PropTypes.Requireable<string>;
|
|
624
|
+
label: PropTypes.Requireable<string>;
|
|
625
|
+
}>>;
|
|
604
626
|
image: PropTypes.Requireable<string>;
|
|
605
627
|
checkbox: PropTypes.Requireable<PropTypes.InferProps<{
|
|
606
628
|
value: PropTypes.Requireable<string>;
|
|
@@ -618,6 +640,7 @@ declare namespace BrandUpdate {
|
|
|
618
640
|
customStyle: PropTypes.Requireable<{
|
|
619
641
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
620
642
|
}>;
|
|
643
|
+
className: PropTypes.Requireable<string>;
|
|
621
644
|
}>>;
|
|
622
645
|
}> | null | undefined)[]>;
|
|
623
646
|
type: PropTypes.Requireable<string>;
|
|
@@ -1012,6 +1035,7 @@ declare namespace BrandUpdate {
|
|
|
1012
1035
|
customStyle: PropTypes.Requireable<{
|
|
1013
1036
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
1014
1037
|
}>;
|
|
1038
|
+
className: PropTypes.Requireable<string>;
|
|
1015
1039
|
}>>;
|
|
1016
1040
|
actionButtons: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
1017
1041
|
type: PropTypes.Requireable<string>;
|
|
@@ -1451,6 +1475,7 @@ declare namespace BrandUpdate {
|
|
|
1451
1475
|
isLightTab: PropTypes.Requireable<boolean>;
|
|
1452
1476
|
}> | null | undefined)[]>;
|
|
1453
1477
|
summary: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1478
|
+
inline: PropTypes.Requireable<boolean>;
|
|
1454
1479
|
title: PropTypes.Requireable<string>;
|
|
1455
1480
|
side: PropTypes.Requireable<string>;
|
|
1456
1481
|
sections: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
@@ -1463,6 +1488,8 @@ declare namespace BrandUpdate {
|
|
|
1463
1488
|
type: PropTypes.Requireable<string>;
|
|
1464
1489
|
text: PropTypes.Requireable<string>;
|
|
1465
1490
|
unsaved: PropTypes.Requireable<boolean>;
|
|
1491
|
+
diff: PropTypes.Requireable<string>;
|
|
1492
|
+
diffLabel: PropTypes.Requireable<string>;
|
|
1466
1493
|
}> | PropTypes.InferProps<{
|
|
1467
1494
|
type: PropTypes.Requireable<string>;
|
|
1468
1495
|
badgeList: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
@@ -1576,6 +1603,11 @@ declare namespace BrandUpdate {
|
|
|
1576
1603
|
size: PropTypes.Requireable<number>;
|
|
1577
1604
|
wrapperSize: PropTypes.Requireable<number>;
|
|
1578
1605
|
}>>;
|
|
1606
|
+
imageOverlay: PropTypes.Requireable<string>;
|
|
1607
|
+
contentBadge: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1608
|
+
category: PropTypes.Requireable<string>;
|
|
1609
|
+
label: PropTypes.Requireable<string>;
|
|
1610
|
+
}>>;
|
|
1579
1611
|
image: PropTypes.Requireable<string>;
|
|
1580
1612
|
checkbox: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1581
1613
|
value: PropTypes.Requireable<string>;
|
|
@@ -1593,6 +1625,7 @@ declare namespace BrandUpdate {
|
|
|
1593
1625
|
customStyle: PropTypes.Requireable<{
|
|
1594
1626
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
1595
1627
|
}>;
|
|
1628
|
+
className: PropTypes.Requireable<string>;
|
|
1596
1629
|
}>>;
|
|
1597
1630
|
}> | PropTypes.InferProps<{
|
|
1598
1631
|
title: PropTypes.Validator<string>;
|
|
@@ -1621,6 +1654,12 @@ declare namespace BrandUpdate {
|
|
|
1621
1654
|
color: PropTypes.Requireable<string>;
|
|
1622
1655
|
theme: PropTypes.Requireable<string>;
|
|
1623
1656
|
className: PropTypes.Requireable<string>;
|
|
1657
|
+
options: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
1658
|
+
label: PropTypes.Validator<string>;
|
|
1659
|
+
value: PropTypes.Validator<string>;
|
|
1660
|
+
}> | null | undefined)[]>;
|
|
1661
|
+
value: PropTypes.Requireable<string>;
|
|
1662
|
+
'aria-label': PropTypes.Requireable<string>;
|
|
1624
1663
|
list: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
1625
1664
|
color: PropTypes.Requireable<string>;
|
|
1626
1665
|
value: PropTypes.Validator<string>;
|
|
@@ -1805,7 +1844,7 @@ declare namespace BrandUpdate {
|
|
|
1805
1844
|
}>>>;
|
|
1806
1845
|
content: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
1807
1846
|
title: PropTypes.Validator<string>;
|
|
1808
|
-
subtitle: PropTypes.
|
|
1847
|
+
subtitle: PropTypes.Requireable<string>;
|
|
1809
1848
|
button: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
1810
1849
|
label: PropTypes.Validator<string>;
|
|
1811
1850
|
onClick: PropTypes.Validator<(...args: any[]) => any>;
|
|
@@ -1813,6 +1852,8 @@ declare namespace BrandUpdate {
|
|
|
1813
1852
|
list: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
1814
1853
|
title: PropTypes.Requireable<string>;
|
|
1815
1854
|
items: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
1855
|
+
hidden: PropTypes.Requireable<boolean>;
|
|
1856
|
+
hint: PropTypes.Requireable<string>;
|
|
1816
1857
|
ref: PropTypes.Validator<string>;
|
|
1817
1858
|
title: PropTypes.Validator<string>;
|
|
1818
1859
|
subtitle: PropTypes.Validator<string>;
|
|
@@ -1827,14 +1868,15 @@ declare namespace BrandUpdate {
|
|
|
1827
1868
|
}>>>;
|
|
1828
1869
|
deleteButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1829
1870
|
label: PropTypes.Requireable<string>;
|
|
1871
|
+
'aria-label': PropTypes.Requireable<string>;
|
|
1830
1872
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1831
1873
|
}>>;
|
|
1832
1874
|
}>>[]>;
|
|
1833
|
-
search: PropTypes.
|
|
1875
|
+
search: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1834
1876
|
value: PropTypes.Validator<string>;
|
|
1835
1877
|
placeholder: PropTypes.Validator<string>;
|
|
1836
1878
|
onChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
1837
|
-
}
|
|
1879
|
+
}>>;
|
|
1838
1880
|
emptyResult: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1839
1881
|
title: PropTypes.Validator<string>;
|
|
1840
1882
|
description: PropTypes.Validator<string>;
|
|
@@ -1845,6 +1887,8 @@ declare namespace BrandUpdate {
|
|
|
1845
1887
|
onChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
1846
1888
|
}>>;
|
|
1847
1889
|
}>>>;
|
|
1890
|
+
error: PropTypes.Requireable<string>;
|
|
1891
|
+
hiddenLabel: PropTypes.Requireable<string>;
|
|
1848
1892
|
isFetching: PropTypes.Requireable<boolean>;
|
|
1849
1893
|
actionButtons: PropTypes.Requireable<(object | null | undefined)[]>;
|
|
1850
1894
|
checkboxWithTitle: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -1994,6 +2038,32 @@ declare namespace BrandUpdate {
|
|
|
1994
2038
|
}> | null | undefined>>;
|
|
1995
2039
|
backgroundImageUrl: PropTypes.Requireable<string>;
|
|
1996
2040
|
descriptionText: PropTypes.Requireable<string>;
|
|
2041
|
+
sections: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
2042
|
+
title: PropTypes.Requireable<string>;
|
|
2043
|
+
items: PropTypes.Requireable<(NonNullable<PropTypes.InferProps<{
|
|
2044
|
+
type: PropTypes.Requireable<string>;
|
|
2045
|
+
title: PropTypes.Requireable<string>;
|
|
2046
|
+
value: PropTypes.Requireable<string>;
|
|
2047
|
+
}> | PropTypes.InferProps<{
|
|
2048
|
+
type: PropTypes.Requireable<string>;
|
|
2049
|
+
text: PropTypes.Requireable<string>;
|
|
2050
|
+
unsaved: PropTypes.Requireable<boolean>;
|
|
2051
|
+
diff: PropTypes.Requireable<string>;
|
|
2052
|
+
diffLabel: PropTypes.Requireable<string>;
|
|
2053
|
+
}> | PropTypes.InferProps<{
|
|
2054
|
+
type: PropTypes.Requireable<string>;
|
|
2055
|
+
badgeList: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
2056
|
+
category: PropTypes.Requireable<string>;
|
|
2057
|
+
label: PropTypes.Requireable<string>;
|
|
2058
|
+
}> | null | undefined)[]>;
|
|
2059
|
+
badgeAriaLabel: PropTypes.Requireable<string>;
|
|
2060
|
+
title: PropTypes.Requireable<string>;
|
|
2061
|
+
author: PropTypes.Requireable<string>;
|
|
2062
|
+
unsaved: PropTypes.Requireable<boolean>;
|
|
2063
|
+
}> | null | undefined> | null | undefined)[]>;
|
|
2064
|
+
counterText: PropTypes.Requireable<string>;
|
|
2065
|
+
}> | null | undefined)[]>;
|
|
2066
|
+
warning: PropTypes.Requireable<string>;
|
|
1997
2067
|
cookieTitle: PropTypes.Requireable<string>;
|
|
1998
2068
|
headerSubtitle: PropTypes.Requireable<string>;
|
|
1999
2069
|
descriptionBtnTxt: PropTypes.Requireable<string>;
|
|
@@ -2170,6 +2240,11 @@ declare namespace BrandUpdate {
|
|
|
2170
2240
|
size: PropTypes.Requireable<number>;
|
|
2171
2241
|
wrapperSize: PropTypes.Requireable<number>;
|
|
2172
2242
|
}>>;
|
|
2243
|
+
imageOverlay: PropTypes.Requireable<string>;
|
|
2244
|
+
contentBadge: PropTypes.Requireable<PropTypes.InferProps<{
|
|
2245
|
+
category: PropTypes.Requireable<string>;
|
|
2246
|
+
label: PropTypes.Requireable<string>;
|
|
2247
|
+
}>>;
|
|
2173
2248
|
image: PropTypes.Requireable<string>;
|
|
2174
2249
|
checkbox: PropTypes.Requireable<PropTypes.InferProps<{
|
|
2175
2250
|
value: PropTypes.Requireable<string>;
|
|
@@ -2187,6 +2262,7 @@ declare namespace BrandUpdate {
|
|
|
2187
2262
|
customStyle: PropTypes.Requireable<{
|
|
2188
2263
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
2189
2264
|
}>;
|
|
2265
|
+
className: PropTypes.Requireable<string>;
|
|
2190
2266
|
}>>;
|
|
2191
2267
|
}> | null | undefined)[]>;
|
|
2192
2268
|
type: PropTypes.Requireable<string>;
|
|
@@ -2581,6 +2657,7 @@ declare namespace BrandUpdate {
|
|
|
2581
2657
|
customStyle: PropTypes.Requireable<{
|
|
2582
2658
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
2583
2659
|
}>;
|
|
2660
|
+
className: PropTypes.Requireable<string>;
|
|
2584
2661
|
}>>;
|
|
2585
2662
|
actionButtons: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
2586
2663
|
type: PropTypes.Requireable<string>;
|
|
@@ -2978,6 +3055,11 @@ declare namespace BrandUpdate {
|
|
|
2978
3055
|
size: PropTypes.Requireable<number>;
|
|
2979
3056
|
wrapperSize: PropTypes.Requireable<number>;
|
|
2980
3057
|
}>>;
|
|
3058
|
+
imageOverlay: PropTypes.Requireable<string>;
|
|
3059
|
+
contentBadge: PropTypes.Requireable<PropTypes.InferProps<{
|
|
3060
|
+
category: PropTypes.Requireable<string>;
|
|
3061
|
+
label: PropTypes.Requireable<string>;
|
|
3062
|
+
}>>;
|
|
2981
3063
|
image: PropTypes.Requireable<string>;
|
|
2982
3064
|
checkbox: PropTypes.Requireable<PropTypes.InferProps<{
|
|
2983
3065
|
value: PropTypes.Requireable<string>;
|
|
@@ -2995,6 +3077,7 @@ declare namespace BrandUpdate {
|
|
|
2995
3077
|
customStyle: PropTypes.Requireable<{
|
|
2996
3078
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
2997
3079
|
}>;
|
|
3080
|
+
className: PropTypes.Requireable<string>;
|
|
2998
3081
|
}>>;
|
|
2999
3082
|
}> | null | undefined)[]>;
|
|
3000
3083
|
type: PropTypes.Requireable<string>;
|
|
@@ -3389,6 +3472,7 @@ declare namespace BrandUpdate {
|
|
|
3389
3472
|
customStyle: PropTypes.Requireable<{
|
|
3390
3473
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
3391
3474
|
}>;
|
|
3475
|
+
className: PropTypes.Requireable<string>;
|
|
3392
3476
|
}>>;
|
|
3393
3477
|
actionButtons: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
3394
3478
|
type: PropTypes.Requireable<string>;
|
|
@@ -3648,6 +3732,12 @@ declare namespace BrandUpdate {
|
|
|
3648
3732
|
rows: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
3649
3733
|
fields: PropTypes.Requireable<(NonNullable<string | PropTypes.InferProps<{
|
|
3650
3734
|
icon: PropTypes.Requireable<string>;
|
|
3735
|
+
title: PropTypes.Requireable<string>;
|
|
3736
|
+
text: PropTypes.Requireable<string>;
|
|
3737
|
+
tags: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
3738
|
+
status: PropTypes.Requireable<string>;
|
|
3739
|
+
label: PropTypes.Validator<string>;
|
|
3740
|
+
}> | null | undefined)[]>;
|
|
3651
3741
|
}> | null | undefined> | null | undefined)[]>;
|
|
3652
3742
|
editHref: PropTypes.Requireable<string>;
|
|
3653
3743
|
highlighted: PropTypes.Requireable<boolean>;
|
|
@@ -3656,6 +3746,8 @@ declare namespace BrandUpdate {
|
|
|
3656
3746
|
title: PropTypes.Validator<string>;
|
|
3657
3747
|
info: PropTypes.Requireable<string>;
|
|
3658
3748
|
filtered: PropTypes.Requireable<boolean>;
|
|
3749
|
+
order: PropTypes.Requireable<string>;
|
|
3750
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
3659
3751
|
options: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
3660
3752
|
title: PropTypes.Validator<string>;
|
|
3661
3753
|
onChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
@@ -3746,6 +3838,27 @@ declare namespace BrandUpdate {
|
|
|
3746
3838
|
required: PropTypes.Requireable<boolean>;
|
|
3747
3839
|
headingLevel: PropTypes.Requireable<number>;
|
|
3748
3840
|
}>>;
|
|
3841
|
+
export const scopeControl: PropTypes.Requireable<PropTypes.InferProps<{
|
|
3842
|
+
color: PropTypes.Requireable<string>;
|
|
3843
|
+
theme: PropTypes.Requireable<string>;
|
|
3844
|
+
className: PropTypes.Requireable<string>;
|
|
3845
|
+
options: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
3846
|
+
label: PropTypes.Validator<string>;
|
|
3847
|
+
value: PropTypes.Validator<string>;
|
|
3848
|
+
}> | null | undefined)[]>;
|
|
3849
|
+
value: PropTypes.Requireable<string>;
|
|
3850
|
+
'aria-label': PropTypes.Requireable<string>;
|
|
3851
|
+
list: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
3852
|
+
color: PropTypes.Requireable<string>;
|
|
3853
|
+
value: PropTypes.Validator<string>;
|
|
3854
|
+
name: PropTypes.Requireable<string>;
|
|
3855
|
+
theme: PropTypes.Requireable<string>;
|
|
3856
|
+
checked: PropTypes.Requireable<boolean>;
|
|
3857
|
+
label: PropTypes.Requireable<string>;
|
|
3858
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
3859
|
+
}> | null | undefined)[]>;
|
|
3860
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
3861
|
+
}>>;
|
|
3749
3862
|
}
|
|
3750
3863
|
}
|
|
3751
3864
|
import PropTypes from "prop-types";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/back-office/brand-update/index.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/back-office/brand-update/index.js"],"names":[],"mappings":";AAkQA,sDAyDC"}
|
|
@@ -13,6 +13,7 @@ var _find = _interopRequireDefault(require("lodash/fp/find"));
|
|
|
13
13
|
var _some = _interopRequireDefault(require("lodash/fp/some"));
|
|
14
14
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
15
15
|
var _brandTabs = _interopRequireDefault(require("../../../molecule/brand-tabs"));
|
|
16
|
+
var _radioGroup = _interopRequireDefault(require("../../../atom/radio-group"));
|
|
16
17
|
var _sidebar = require("../../../organism/sidebar");
|
|
17
18
|
var _brandForm = _interopRequireDefault(require("../../../organism/brand-form"));
|
|
18
19
|
var _brandTable = _interopRequireDefault(require("../../../organism/brand-table"));
|
|
@@ -170,10 +171,22 @@ const buildDocumentation = documentation => {
|
|
|
170
171
|
icon: "close"
|
|
171
172
|
}) : null);
|
|
172
173
|
};
|
|
173
|
-
const buildTabs = items => {
|
|
174
|
+
const buildTabs = (items, scopeControl) => {
|
|
174
175
|
const selectedTab = (0, _pipe.default)((0, _find.default)(e => e.selected), (0, _get.default)('tabs'), (0, _find.default)(e => e.selected))(items);
|
|
175
176
|
const showTabs = selectedTab ? (0, _find.default)(e => e.selected, selectedTab.subTabs) : undefined;
|
|
176
177
|
if (!showTabs) return null;
|
|
178
|
+
if (scopeControl) {
|
|
179
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
180
|
+
className: (0, _classnames.default)(_style.default.tabs, _style.default.tabsWithScope)
|
|
181
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
182
|
+
className: _style.default.tabsNavigation
|
|
183
|
+
}, /*#__PURE__*/_react.default.createElement(_brandTabs.default, {
|
|
184
|
+
type: "light",
|
|
185
|
+
tabs: selectedTab.subTabs
|
|
186
|
+
})), /*#__PURE__*/_react.default.createElement("div", {
|
|
187
|
+
className: _style.default.scopeControl
|
|
188
|
+
}, /*#__PURE__*/_react.default.createElement(_radioGroup.default, scopeControl)));
|
|
189
|
+
}
|
|
177
190
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
178
191
|
className: _style.default.tabs
|
|
179
192
|
}, /*#__PURE__*/_react.default.createElement(_brandTabs.default, {
|
|
@@ -241,14 +254,15 @@ const BrandUpdate = props => {
|
|
|
241
254
|
onItemClick,
|
|
242
255
|
documentation,
|
|
243
256
|
contentFixHeight,
|
|
244
|
-
title
|
|
257
|
+
title,
|
|
258
|
+
scopeControl
|
|
245
259
|
} = props;
|
|
246
260
|
const logo = 'https://static.coorpacademy.com/logo/coorp-manager.svg';
|
|
247
261
|
const leftNavigation = buildLeftNavigation(logo, items, onItemClick);
|
|
248
262
|
const notificationsView = buildNotifications(notifications);
|
|
249
263
|
const documentationView = buildDocumentation(documentation);
|
|
250
264
|
const headerView = buildHeader(header, notifications);
|
|
251
|
-
const tabsView = buildTabs(items);
|
|
265
|
+
const tabsView = buildTabs(items, scopeControl);
|
|
252
266
|
const contentView = buildContentView(content);
|
|
253
267
|
const detailsView = buildDetailsView(details);
|
|
254
268
|
const popinView = buildPopin(popin);
|
|
@@ -377,7 +391,8 @@ BrandUpdate.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
377
391
|
}),
|
|
378
392
|
onItemClick: _propTypes.default.func,
|
|
379
393
|
contentFixHeight: _propTypes.default.bool,
|
|
380
|
-
title: _propTypes.default.shape(_title.default.propTypes)
|
|
394
|
+
title: _propTypes.default.shape(_title.default.propTypes),
|
|
395
|
+
scopeControl: _propTypes.default.shape(_radioGroup.default.propTypes)
|
|
381
396
|
} : {};
|
|
382
397
|
var _default = exports.default = BrandUpdate;
|
|
383
398
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_propTypes","_map","_pipe","_get","_getOr","_isEmpty","_find","_some","_classnames","_brandTabs","_sidebar","_brandForm","_brandTable","_brandUpload","_brandAnalytics","_brandDashboard","_wizardContents","_listItems","_brandLearningPriorities","_banner","_setupHeader","_headerWithActions","_loader","_coorpManager","_cmPopin","_buttonLinkIcon","_expandibleActionableTable","_bulkInfos","_title","_skillEdition","_iconPickerModal","_translationModal","_contentSkillModal","_style","_utils","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","getStyle","isSelected","style","selectedElement","unselectedElement","subTabsView","_subTabs","map","convert","cap","subTab","_index","createElement","key","title","type","IconLinkItem","styles","selected","uppercase","target","LinkItem","setChildrenAsHtml","buildLeftNavigation","logo","items","onItemClick","formattedTabs","href","index","children","iconType","formattedTabsViews","tab","className","tabs","navigation","src","tabProps","theme","onClick","buildNotifications","notifications","isEmpty","notificationsList","notification","temporary","permanentNotification","find","permanentNotifications","buildHeader","header","headerDefault","buildDefaultPopin","popin","icon","popinIcon","secondButton","popinSecondButton","themeIcon","actionButton","themeActionButton","POPIN_THEMES","buildPopin","buildDocumentation","documentation","show","onClose","content","classNames","open","documentationContent","dangerouslySetInnerHTML","__html","closeButton","size","buildTabs","selectedTab","pipe","get","showTabs","subTabs","undefined","buildContentView","loaderContainer","loader","buildDetailsView","details","buildTitle","BrandUpdate","props","contentFixHeight","leftNavigation","notificationsView","documentationView","headerView","tabsView","contentView","detailsView","popinView","titleView","hasVisibleBulletPointMenu","getOr","some","buttons","contentStyle","contentWithNotifications","contentListWithBulletPointMenu","container","left","contentWrapper","headerSticky","defaultProps","propTypes","process","env","NODE_ENV","PropTypes","arrayOf","shape","Banner","oneOfType","Header","HeaderWithActions","oneOf","isRequired","string","bool","BrandForm","BrandTable","BrandUpload","BrandAnalytics","BrandDashboard","WizardContents","ListItems","BulkInfos","ExpandibleActionableTable","BrandLearningPriorities","SkillEdition","func","CmPopin","IconPickerModal","TranslationModal","ContentSkillModal","Title","_default","exports"],"sources":["../../../../src/template/back-office/brand-update/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport map from 'lodash/fp/map';\nimport pipe from 'lodash/fp/pipe';\nimport get from 'lodash/fp/get';\nimport getOr from 'lodash/fp/getOr';\nimport isEmpty from 'lodash/fp/isEmpty';\nimport find from 'lodash/fp/find';\nimport some from 'lodash/fp/some';\nimport classNames from 'classnames';\nimport BrandTabs from '../../../molecule/brand-tabs';\nimport {IconLinkItem, LinkItem} from '../../../organism/sidebar';\nimport BrandForm from '../../../organism/brand-form';\nimport BrandTable from '../../../organism/brand-table';\nimport BrandUpload from '../../../organism/brand-upload';\nimport BrandAnalytics from '../../../organism/brand-analytics';\nimport BrandDashboard from '../../../organism/brand-dashboard';\nimport WizardContents from '../../../organism/wizard-contents';\nimport ListItems from '../../../organism/list-items';\nimport BrandLearningPriorities from '../../../organism/brand-learning-priorities';\nimport Banner from '../../../molecule/banner';\nimport Header from '../../../organism/setup-header';\nimport HeaderWithActions from '../../../organism/header-with-actions';\nimport Loader from '../../../atom/loader';\nimport Accordion from '../../../organism/accordion/coorp-manager';\nimport CmPopin from '../../../molecule/cm-popin';\nimport ButtonLinkIcon from '../../../atom/button-link-icon';\nimport ExpandibleActionableTable from '../../../molecule/expandible-actionable-table';\nimport BulkInfos from '../../../molecule/bulk-infos';\nimport Title from '../../../atom/title';\nimport SkillEdition from '../../../organism/skill-edition';\nimport IconPickerModal from '../../../molecule/icon-picker-modal';\nimport TranslationModal from '../../../molecule/translation-modal';\nimport ContentSkillModal from '../../../organism/content-skill-modal';\nimport style from './style.css';\nimport {POPIN_THEMES} from './utils';\n\nconst getStyle = isSelected => (isSelected ? style.selectedElement : style.unselectedElement);\n\nconst subTabsView = (_subTabs = []) =>\n map.convert({cap: false})((subTab, _index) => (\n <div key={subTab.title}>\n {subTab.type === 'iconLink' ? (\n <IconLinkItem\n {...subTab}\n styles={getStyle(subTab.selected)}\n uppercase={false}\n target={'_blank'}\n />\n ) : (\n <LinkItem\n {...subTab}\n styles={getStyle(subTab.selected)}\n uppercase={false}\n setChildrenAsHtml={false}\n />\n )}\n </div>\n ))(_subTabs);\n\n// TODO: this fonction should be replaced by a molecule to avoid this file to be unreadable\nconst buildLeftNavigation = (logo, items, onItemClick) => {\n const formattedTabs = items.map(({key, title, href, selected, type = 'simpleTab'}, index) => ({\n title,\n selected,\n type,\n href,\n index,\n children: [],\n iconType: key || 'arrow'\n }));\n\n const formattedTabsViews = map(tab => (\n <div key={tab.title} className={style.subTabsView}>\n {subTabsView(tab.tabs)}\n </div>\n ))(items);\n\n return (\n <div className={style.navigation}>\n <div className={style.logo}>\n <a href=\"/\">\n <img src={logo} />\n </a>\n </div>\n <Accordion tabProps={formattedTabs} theme={'setup'} onClick={onItemClick}>\n {formattedTabsViews}\n </Accordion>\n </div>\n );\n};\n\nconst buildNotifications = notifications => {\n if (isEmpty(notifications)) {\n return null;\n }\n\n const notificationsList = notifications.map((notification, index) => {\n return (\n <div className={!notification.temporary ? style.permanentNotification : null} key={index}>\n <Banner {...notification} />\n </div>\n );\n });\n return (\n <div className={!find({temporary: true}, notifications) ? style.permanentNotifications : null}>\n {notificationsList}\n </div>\n );\n};\n\nconst buildHeader = header => {\n if (!header) return null;\n\n return header.type === 'header-with-actions' ? (\n <HeaderWithActions {...header} />\n ) : (\n <div className={style.headerDefault}>\n <Header {...header} />\n </div>\n );\n};\n\nconst buildDefaultPopin = popin => {\n const {theme, icon: popinIcon, secondButton: popinSecondButton} = popin;\n const {icon: themeIcon, actionButton: themeActionButton} = POPIN_THEMES[theme] ?? {};\n\n return (\n <div className={style.popin}>\n <CmPopin\n {...popin}\n icon={popinIcon || themeIcon}\n secondButton={{...popinSecondButton, ...themeActionButton}}\n />\n </div>\n );\n};\n\nconst buildPopin = popin => {\n if (isEmpty(popin)) return;\n\n switch (popin.type) {\n case 'icon-picker':\n return <IconPickerModal {...popin} />;\n case 'translation':\n return <TranslationModal {...popin} />;\n case 'content':\n return <ContentSkillModal {...popin} />;\n default:\n return buildDefaultPopin(popin);\n }\n};\n\nconst buildDocumentation = documentation => {\n if (!documentation) return null;\n const {show = false, onClose, content = ''} = documentation;\n return (\n <div className={classNames(style.documentation, show && style.open)}>\n <div\n className={style.documentationContent}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: content}}\n />\n {onClose ? (\n <ButtonLinkIcon\n className={style.closeButton}\n onClick={onClose}\n data-name={'close-icon'}\n aria-label={'close-icon'}\n size=\"small\"\n icon=\"close\"\n />\n ) : null}\n </div>\n );\n};\n\nconst buildTabs = items => {\n const selectedTab = pipe(\n find(e => e.selected),\n get('tabs'),\n find(e => e.selected)\n )(items);\n\n const showTabs = selectedTab ? find(e => e.selected, selectedTab.subTabs) : undefined;\n if (!showTabs) return null;\n return (\n <div className={style.tabs}>\n <BrandTabs type=\"light\" tabs={selectedTab.subTabs} />\n </div>\n );\n};\n\nconst buildContentView = content => {\n if (!content) {\n return (\n <div className={style.loaderContainer}>\n <Loader className={style.loader} theme=\"coorpmanager\" />\n </div>\n );\n }\n\n const {type} = content;\n switch (type) {\n case 'form':\n return <BrandForm {...content} />;\n case 'list':\n return <BrandTable {...content} />;\n case 'upload':\n return <BrandUpload {...content} />;\n case 'analytics-dashboards':\n return <BrandAnalytics {...content} />;\n case 'list-content':\n case 'expandible-actionable-table':\n return <ListItems {...content} />;\n case 'home':\n return <BrandDashboard {...content} />;\n case 'wizard':\n case 'expandible-table':\n return <WizardContents {...content} />;\n case 'bulk-empty-dashboard':\n return <BulkInfos {...content} />;\n case 'table-pending':\n return <ExpandibleActionableTable {...content} />;\n case 'learning-priorities':\n return <BrandLearningPriorities {...content} />;\n case 'skill-edition':\n return <SkillEdition {...content} />;\n }\n};\n\nconst buildDetailsView = details => {\n if (!details) return;\n return <BrandTable {...details} />;\n};\n\nconst buildTitle = title => {\n if (isEmpty(title)) return;\n return (\n <div className={style.title}>\n <Title {...title} />\n </div>\n );\n};\n\nconst BrandUpdate = props => {\n const {\n notifications,\n header,\n items,\n content,\n details,\n popin,\n onItemClick,\n documentation,\n contentFixHeight,\n title\n } = props;\n const logo = 'https://static.coorpacademy.com/logo/coorp-manager.svg';\n\n const leftNavigation = buildLeftNavigation(logo, items, onItemClick);\n const notificationsView = buildNotifications(notifications);\n const documentationView = buildDocumentation(documentation);\n const headerView = buildHeader(header, notifications);\n const tabsView = buildTabs(items);\n const contentView = buildContentView(content);\n const detailsView = buildDetailsView(details);\n const popinView = buildPopin(popin);\n const titleView = buildTitle(title);\n\n const hasVisibleBulletPointMenu =\n content?.type === 'list-content' &&\n pipe(\n getOr([], 'content.items'),\n some(pipe(getOr([], 'bulletPointMenuButton.buttons'), buttons => buttons.length > 0))\n )(content);\n\n const contentStyle = classNames([\n style.content,\n !isEmpty(notifications) && style.contentWithNotifications,\n contentFixHeight && style.contentFixHeight,\n hasVisibleBulletPointMenu && style.contentListWithBulletPointMenu\n ]);\n\n return (\n <div className={style.container}>\n <div className={style.left}>{leftNavigation}</div>\n <div className={style.contentWrapper}>\n <div className={style.headerSticky}>{headerView}</div>\n <div className={contentStyle}>\n {notificationsView}\n {titleView}\n {tabsView}\n {contentView}\n {detailsView}\n {documentationView}\n </div>\n </div>\n {popinView}\n </div>\n );\n};\n\nBrandUpdate.defaultProps = {\n notifications: []\n};\n\nBrandUpdate.propTypes = {\n notifications: PropTypes.arrayOf(\n PropTypes.shape({\n ...Banner.propTypes\n })\n ),\n header: PropTypes.oneOfType([\n PropTypes.shape({...Header.propTypes}),\n PropTypes.shape({\n ...HeaderWithActions.propTypes,\n type: PropTypes.oneOf(['header-with-actions']).isRequired\n })\n ]),\n items: PropTypes.arrayOf(\n PropTypes.shape({\n key: PropTypes.string,\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string,\n tabs: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string,\n subTabs: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string\n })\n )\n })\n )\n })\n ).isRequired,\n content: PropTypes.oneOfType([\n PropTypes.shape({\n ...BrandForm.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['form'])\n }),\n PropTypes.shape({\n ...BrandTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list'])\n }),\n PropTypes.shape({\n ...BrandUpload.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['upload'])\n }),\n PropTypes.shape({\n ...BrandAnalytics.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['analytics-dashboards'])\n }),\n PropTypes.shape({\n ...BrandDashboard.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['home'])\n }),\n PropTypes.shape({\n ...WizardContents.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['wizard'])\n }),\n PropTypes.shape({\n ...ListItems.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list-content', 'expandible-actionable-table'])\n }),\n PropTypes.shape({\n ...BulkInfos.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['bulk-empty-dashboard'])\n }),\n PropTypes.shape({\n ...ExpandibleActionableTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['table-pending'])\n }),\n PropTypes.shape({\n ...WizardContents.propTypes,\n content: PropTypes.shape({\n ...ExpandibleActionableTable.propTypes,\n ...WizardContents.propTypes.content.propTypes\n }),\n key: PropTypes.string,\n type: PropTypes.oneOf(['expandible-table'])\n }),\n PropTypes.shape({\n ...BrandLearningPriorities.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['learning-priorities'])\n }),\n PropTypes.shape({\n ...SkillEdition.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['skill-edition'])\n })\n ]),\n documentation: PropTypes.shape({\n content: PropTypes.string,\n show: PropTypes.bool,\n onClose: PropTypes.func\n }),\n popin: PropTypes.oneOfType([\n PropTypes.shape({\n ...CmPopin.propTypes,\n theme: PropTypes.oneOf(['published', 'archived', 'deleted', 'draft'])\n }),\n PropTypes.shape({\n ...IconPickerModal.propTypes,\n type: PropTypes.oneOf(['icon-picker'])\n }),\n PropTypes.shape({\n ...TranslationModal.propTypes,\n type: PropTypes.oneOf(['translation'])\n }),\n PropTypes.shape({\n ...ContentSkillModal.propTypes,\n type: PropTypes.oneOf(['content'])\n })\n ]),\n details: PropTypes.shape({\n ...BrandTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list'])\n }),\n onItemClick: PropTypes.func,\n contentFixHeight: PropTypes.bool,\n title: PropTypes.shape(Title.propTypes)\n};\n\nexport default BrandUpdate;\n"],"mappings":";;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,IAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,KAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,IAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,MAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAAAM,QAAA,GAAAP,sBAAA,CAAAC,OAAA;AACA,IAAAO,KAAA,GAAAR,sBAAA,CAAAC,OAAA;AACA,IAAAQ,KAAA,GAAAT,sBAAA,CAAAC,OAAA;AACA,IAAAS,WAAA,GAAAV,sBAAA,CAAAC,OAAA;AACA,IAAAU,UAAA,GAAAX,sBAAA,CAAAC,OAAA;AACA,IAAAW,QAAA,GAAAX,OAAA;AACA,IAAAY,UAAA,GAAAb,sBAAA,CAAAC,OAAA;AACA,IAAAa,WAAA,GAAAd,sBAAA,CAAAC,OAAA;AACA,IAAAc,YAAA,GAAAf,sBAAA,CAAAC,OAAA;AACA,IAAAe,eAAA,GAAAhB,sBAAA,CAAAC,OAAA;AACA,IAAAgB,eAAA,GAAAjB,sBAAA,CAAAC,OAAA;AACA,IAAAiB,eAAA,GAAAlB,sBAAA,CAAAC,OAAA;AACA,IAAAkB,UAAA,GAAAnB,sBAAA,CAAAC,OAAA;AACA,IAAAmB,wBAA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,CAAC,CAAC,EACFP,kBAAS,CAACE,KAAK,CAAC;IACd,GAAGwB,0BAAiB,CAAC9B,SAAS;IAC9BlG,IAAI,EAAEsG,kBAAS,CAACO,KAAK,CAAC,CAAC,SAAS,CAAC;EACnC,CAAC,CAAC,CACH,CAAC;EACFrC,OAAO,EAAE8B,kBAAS,CAACE,KAAK,CAAC;IACvB,GAAGU,mBAAU,CAAChB,SAAS;IACvBpG,GAAG,EAAEwG,kBAAS,CAACS,MAAM;IACrB/G,IAAI,EAAEsG,kBAAS,CAACO,KAAK,CAAC,CAAC,MAAM,CAAC;EAChC,CAAC,CAAC;EACFlG,WAAW,EAAE2F,kBAAS,CAACsB,IAAI;EAC3BhD,gBAAgB,EAAE0B,kBAAS,CAACU,IAAI;EAChCjH,KAAK,EAAEuG,kBAAS,CAACE,KAAK,CAACyB,cAAK,CAAC/B,SAAS;AACxC,CAAC;AAAC,IAAAgC,QAAA,GAAAC,OAAA,CAAA/J,OAAA,GAEasG,WAAW","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_propTypes","_map","_pipe","_get","_getOr","_isEmpty","_find","_some","_classnames","_brandTabs","_radioGroup","_sidebar","_brandForm","_brandTable","_brandUpload","_brandAnalytics","_brandDashboard","_wizardContents","_listItems","_brandLearningPriorities","_banner","_setupHeader","_headerWithActions","_loader","_coorpManager","_cmPopin","_buttonLinkIcon","_expandibleActionableTable","_bulkInfos","_title","_skillEdition","_iconPickerModal","_translationModal","_contentSkillModal","_style","_utils","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","getStyle","isSelected","style","selectedElement","unselectedElement","subTabsView","_subTabs","map","convert","cap","subTab","_index","createElement","key","title","type","IconLinkItem","styles","selected","uppercase","target","LinkItem","setChildrenAsHtml","buildLeftNavigation","logo","items","onItemClick","formattedTabs","href","index","children","iconType","formattedTabsViews","tab","className","tabs","navigation","src","tabProps","theme","onClick","buildNotifications","notifications","isEmpty","notificationsList","notification","temporary","permanentNotification","find","permanentNotifications","buildHeader","header","headerDefault","buildDefaultPopin","popin","icon","popinIcon","secondButton","popinSecondButton","themeIcon","actionButton","themeActionButton","POPIN_THEMES","buildPopin","buildDocumentation","documentation","show","onClose","content","classNames","open","documentationContent","dangerouslySetInnerHTML","__html","closeButton","size","buildTabs","scopeControl","selectedTab","pipe","get","showTabs","subTabs","undefined","tabsWithScope","tabsNavigation","buildContentView","loaderContainer","loader","buildDetailsView","details","buildTitle","BrandUpdate","props","contentFixHeight","leftNavigation","notificationsView","documentationView","headerView","tabsView","contentView","detailsView","popinView","titleView","hasVisibleBulletPointMenu","getOr","some","buttons","contentStyle","contentWithNotifications","contentListWithBulletPointMenu","container","left","contentWrapper","headerSticky","defaultProps","propTypes","process","env","NODE_ENV","PropTypes","arrayOf","shape","Banner","oneOfType","Header","HeaderWithActions","oneOf","isRequired","string","bool","BrandForm","BrandTable","BrandUpload","BrandAnalytics","BrandDashboard","WizardContents","ListItems","BulkInfos","ExpandibleActionableTable","BrandLearningPriorities","SkillEdition","func","CmPopin","IconPickerModal","TranslationModal","ContentSkillModal","Title","RadioGroup","_default","exports"],"sources":["../../../../src/template/back-office/brand-update/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport map from 'lodash/fp/map';\nimport pipe from 'lodash/fp/pipe';\nimport get from 'lodash/fp/get';\nimport getOr from 'lodash/fp/getOr';\nimport isEmpty from 'lodash/fp/isEmpty';\nimport find from 'lodash/fp/find';\nimport some from 'lodash/fp/some';\nimport classNames from 'classnames';\nimport BrandTabs from '../../../molecule/brand-tabs';\nimport RadioGroup from '../../../atom/radio-group';\nimport {IconLinkItem, LinkItem} from '../../../organism/sidebar';\nimport BrandForm from '../../../organism/brand-form';\nimport BrandTable from '../../../organism/brand-table';\nimport BrandUpload from '../../../organism/brand-upload';\nimport BrandAnalytics from '../../../organism/brand-analytics';\nimport BrandDashboard from '../../../organism/brand-dashboard';\nimport WizardContents from '../../../organism/wizard-contents';\nimport ListItems from '../../../organism/list-items';\nimport BrandLearningPriorities from '../../../organism/brand-learning-priorities';\nimport Banner from '../../../molecule/banner';\nimport Header from '../../../organism/setup-header';\nimport HeaderWithActions from '../../../organism/header-with-actions';\nimport Loader from '../../../atom/loader';\nimport Accordion from '../../../organism/accordion/coorp-manager';\nimport CmPopin from '../../../molecule/cm-popin';\nimport ButtonLinkIcon from '../../../atom/button-link-icon';\nimport ExpandibleActionableTable from '../../../molecule/expandible-actionable-table';\nimport BulkInfos from '../../../molecule/bulk-infos';\nimport Title from '../../../atom/title';\nimport SkillEdition from '../../../organism/skill-edition';\nimport IconPickerModal from '../../../molecule/icon-picker-modal';\nimport TranslationModal from '../../../molecule/translation-modal';\nimport ContentSkillModal from '../../../organism/content-skill-modal';\nimport style from './style.css';\nimport {POPIN_THEMES} from './utils';\n\nconst getStyle = isSelected => (isSelected ? style.selectedElement : style.unselectedElement);\n\nconst subTabsView = (_subTabs = []) =>\n map.convert({cap: false})((subTab, _index) => (\n <div key={subTab.title}>\n {subTab.type === 'iconLink' ? (\n <IconLinkItem\n {...subTab}\n styles={getStyle(subTab.selected)}\n uppercase={false}\n target={'_blank'}\n />\n ) : (\n <LinkItem\n {...subTab}\n styles={getStyle(subTab.selected)}\n uppercase={false}\n setChildrenAsHtml={false}\n />\n )}\n </div>\n ))(_subTabs);\n\n// TODO: this fonction should be replaced by a molecule to avoid this file to be unreadable\nconst buildLeftNavigation = (logo, items, onItemClick) => {\n const formattedTabs = items.map(({key, title, href, selected, type = 'simpleTab'}, index) => ({\n title,\n selected,\n type,\n href,\n index,\n children: [],\n iconType: key || 'arrow'\n }));\n\n const formattedTabsViews = map(tab => (\n <div key={tab.title} className={style.subTabsView}>\n {subTabsView(tab.tabs)}\n </div>\n ))(items);\n\n return (\n <div className={style.navigation}>\n <div className={style.logo}>\n <a href=\"/\">\n <img src={logo} />\n </a>\n </div>\n <Accordion tabProps={formattedTabs} theme={'setup'} onClick={onItemClick}>\n {formattedTabsViews}\n </Accordion>\n </div>\n );\n};\n\nconst buildNotifications = notifications => {\n if (isEmpty(notifications)) {\n return null;\n }\n\n const notificationsList = notifications.map((notification, index) => {\n return (\n <div className={!notification.temporary ? style.permanentNotification : null} key={index}>\n <Banner {...notification} />\n </div>\n );\n });\n return (\n <div className={!find({temporary: true}, notifications) ? style.permanentNotifications : null}>\n {notificationsList}\n </div>\n );\n};\n\nconst buildHeader = header => {\n if (!header) return null;\n\n return header.type === 'header-with-actions' ? (\n <HeaderWithActions {...header} />\n ) : (\n <div className={style.headerDefault}>\n <Header {...header} />\n </div>\n );\n};\n\nconst buildDefaultPopin = popin => {\n const {theme, icon: popinIcon, secondButton: popinSecondButton} = popin;\n const {icon: themeIcon, actionButton: themeActionButton} = POPIN_THEMES[theme] ?? {};\n\n return (\n <div className={style.popin}>\n <CmPopin\n {...popin}\n icon={popinIcon || themeIcon}\n secondButton={{...popinSecondButton, ...themeActionButton}}\n />\n </div>\n );\n};\n\nconst buildPopin = popin => {\n if (isEmpty(popin)) return;\n\n switch (popin.type) {\n case 'icon-picker':\n return <IconPickerModal {...popin} />;\n case 'translation':\n return <TranslationModal {...popin} />;\n case 'content':\n return <ContentSkillModal {...popin} />;\n default:\n return buildDefaultPopin(popin);\n }\n};\n\nconst buildDocumentation = documentation => {\n if (!documentation) return null;\n const {show = false, onClose, content = ''} = documentation;\n return (\n <div className={classNames(style.documentation, show && style.open)}>\n <div\n className={style.documentationContent}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: content}}\n />\n {onClose ? (\n <ButtonLinkIcon\n className={style.closeButton}\n onClick={onClose}\n data-name={'close-icon'}\n aria-label={'close-icon'}\n size=\"small\"\n icon=\"close\"\n />\n ) : null}\n </div>\n );\n};\n\nconst buildTabs = (items, scopeControl) => {\n const selectedTab = pipe(\n find(e => e.selected),\n get('tabs'),\n find(e => e.selected)\n )(items);\n\n const showTabs = selectedTab ? find(e => e.selected, selectedTab.subTabs) : undefined;\n if (!showTabs) return null;\n if (scopeControl) {\n return (\n <div className={classNames(style.tabs, style.tabsWithScope)}>\n <div className={style.tabsNavigation}>\n <BrandTabs type=\"light\" tabs={selectedTab.subTabs} />\n </div>\n <div className={style.scopeControl}>\n <RadioGroup {...scopeControl} />\n </div>\n </div>\n );\n }\n return (\n <div className={style.tabs}>\n <BrandTabs type=\"light\" tabs={selectedTab.subTabs} />\n </div>\n );\n};\n\nconst buildContentView = content => {\n if (!content) {\n return (\n <div className={style.loaderContainer}>\n <Loader className={style.loader} theme=\"coorpmanager\" />\n </div>\n );\n }\n\n const {type} = content;\n switch (type) {\n case 'form':\n return <BrandForm {...content} />;\n case 'list':\n return <BrandTable {...content} />;\n case 'upload':\n return <BrandUpload {...content} />;\n case 'analytics-dashboards':\n return <BrandAnalytics {...content} />;\n case 'list-content':\n case 'expandible-actionable-table':\n return <ListItems {...content} />;\n case 'home':\n return <BrandDashboard {...content} />;\n case 'wizard':\n case 'expandible-table':\n return <WizardContents {...content} />;\n case 'bulk-empty-dashboard':\n return <BulkInfos {...content} />;\n case 'table-pending':\n return <ExpandibleActionableTable {...content} />;\n case 'learning-priorities':\n return <BrandLearningPriorities {...content} />;\n case 'skill-edition':\n return <SkillEdition {...content} />;\n }\n};\n\nconst buildDetailsView = details => {\n if (!details) return;\n return <BrandTable {...details} />;\n};\n\nconst buildTitle = title => {\n if (isEmpty(title)) return;\n return (\n <div className={style.title}>\n <Title {...title} />\n </div>\n );\n};\n\nconst BrandUpdate = props => {\n const {\n notifications,\n header,\n items,\n content,\n details,\n popin,\n onItemClick,\n documentation,\n contentFixHeight,\n title,\n scopeControl\n } = props;\n const logo = 'https://static.coorpacademy.com/logo/coorp-manager.svg';\n\n const leftNavigation = buildLeftNavigation(logo, items, onItemClick);\n const notificationsView = buildNotifications(notifications);\n const documentationView = buildDocumentation(documentation);\n const headerView = buildHeader(header, notifications);\n const tabsView = buildTabs(items, scopeControl);\n const contentView = buildContentView(content);\n const detailsView = buildDetailsView(details);\n const popinView = buildPopin(popin);\n const titleView = buildTitle(title);\n\n const hasVisibleBulletPointMenu =\n content?.type === 'list-content' &&\n pipe(\n getOr([], 'content.items'),\n some(pipe(getOr([], 'bulletPointMenuButton.buttons'), buttons => buttons.length > 0))\n )(content);\n\n const contentStyle = classNames([\n style.content,\n !isEmpty(notifications) && style.contentWithNotifications,\n contentFixHeight && style.contentFixHeight,\n hasVisibleBulletPointMenu && style.contentListWithBulletPointMenu\n ]);\n\n return (\n <div className={style.container}>\n <div className={style.left}>{leftNavigation}</div>\n <div className={style.contentWrapper}>\n <div className={style.headerSticky}>{headerView}</div>\n <div className={contentStyle}>\n {notificationsView}\n {titleView}\n {tabsView}\n {contentView}\n {detailsView}\n {documentationView}\n </div>\n </div>\n {popinView}\n </div>\n );\n};\n\nBrandUpdate.defaultProps = {\n notifications: []\n};\n\nBrandUpdate.propTypes = {\n notifications: PropTypes.arrayOf(\n PropTypes.shape({\n ...Banner.propTypes\n })\n ),\n header: PropTypes.oneOfType([\n PropTypes.shape({...Header.propTypes}),\n PropTypes.shape({\n ...HeaderWithActions.propTypes,\n type: PropTypes.oneOf(['header-with-actions']).isRequired\n })\n ]),\n items: PropTypes.arrayOf(\n PropTypes.shape({\n key: PropTypes.string,\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string,\n tabs: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string,\n subTabs: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string\n })\n )\n })\n )\n })\n ).isRequired,\n content: PropTypes.oneOfType([\n PropTypes.shape({\n ...BrandForm.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['form'])\n }),\n PropTypes.shape({\n ...BrandTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list'])\n }),\n PropTypes.shape({\n ...BrandUpload.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['upload'])\n }),\n PropTypes.shape({\n ...BrandAnalytics.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['analytics-dashboards'])\n }),\n PropTypes.shape({\n ...BrandDashboard.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['home'])\n }),\n PropTypes.shape({\n ...WizardContents.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['wizard'])\n }),\n PropTypes.shape({\n ...ListItems.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list-content', 'expandible-actionable-table'])\n }),\n PropTypes.shape({\n ...BulkInfos.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['bulk-empty-dashboard'])\n }),\n PropTypes.shape({\n ...ExpandibleActionableTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['table-pending'])\n }),\n PropTypes.shape({\n ...WizardContents.propTypes,\n content: PropTypes.shape({\n ...ExpandibleActionableTable.propTypes,\n ...WizardContents.propTypes.content.propTypes\n }),\n key: PropTypes.string,\n type: PropTypes.oneOf(['expandible-table'])\n }),\n PropTypes.shape({\n ...BrandLearningPriorities.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['learning-priorities'])\n }),\n PropTypes.shape({\n ...SkillEdition.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['skill-edition'])\n })\n ]),\n documentation: PropTypes.shape({\n content: PropTypes.string,\n show: PropTypes.bool,\n onClose: PropTypes.func\n }),\n popin: PropTypes.oneOfType([\n PropTypes.shape({\n ...CmPopin.propTypes,\n theme: PropTypes.oneOf(['published', 'archived', 'deleted', 'draft'])\n }),\n PropTypes.shape({\n ...IconPickerModal.propTypes,\n type: PropTypes.oneOf(['icon-picker'])\n }),\n PropTypes.shape({\n ...TranslationModal.propTypes,\n type: PropTypes.oneOf(['translation'])\n }),\n PropTypes.shape({\n ...ContentSkillModal.propTypes,\n type: PropTypes.oneOf(['content'])\n })\n ]),\n details: PropTypes.shape({\n ...BrandTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list'])\n }),\n onItemClick: PropTypes.func,\n contentFixHeight: PropTypes.bool,\n title: PropTypes.shape(Title.propTypes),\n scopeControl: PropTypes.shape(RadioGroup.propTypes)\n};\n\nexport default BrandUpdate;\n"],"mappings":";;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,IAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,KAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,IAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,MAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAAAM,QAAA,GAAAP,sBAAA,CAAAC,OAAA;AACA,IAAAO,KAAA,GAAAR,sBAAA,CAAAC,OAAA;AACA,IAAAQ,KAAA,GAAAT,sBAAA,CAAAC,OAAA;AACA,IAAAS,WAAA,GAAAV,sBAAA,CAAAC,OAAA;AACA,IAAAU,UAAA,GAAAX,sBAAA,CAAAC,OAAA;AACA,IAAAW,WAAA,GAAAZ,sBAAA,CAAAC,OAAA;AACA,IAAAY,QAAA,GAAAZ,OAAA;AACA,IAAAa,UAAA,GAAAd,sBAAA,CAAAC,OAAA;AACA,IAAAc,WAAA,GAAAf,sBAAA,CAAAC,OAAA;AACA,IAAAe,YAAA,GAAAhB,sBAAA,CAAAC,OAAA;AACA,IAAAgB,eAAA,GAAAjB,sBAAA,CAAAC,OAAA;AACA,IAAAiB,eAAA,GAAAlB,sBAAA,CAAAC,OAAA;AACA,IAAAkB,eAAA,GAAAnB,sBAAA,CAAAC,OAAA;AACA,IAAAmB,UAAA,GAAApB,sBAAA,CAAAC,OAAA;AACA,IAAAoB,wBAAA,GAAArB,sBAAA,CAAA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KAAK,CAAC0B,mBAAU,CAAChC,SAAS;AACpD,CAAC;AAAC,IAAAiC,QAAA,GAAAC,OAAA,CAAAnK,OAAA,GAEayG,WAAW","ignoreList":[]}
|
|
@@ -208,3 +208,21 @@
|
|
|
208
208
|
margin: 0 auto;
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
|
+
|
|
212
|
+
.tabsWithScope {
|
|
213
|
+
display: flex;
|
|
214
|
+
flex-wrap: wrap;
|
|
215
|
+
align-items: center;
|
|
216
|
+
gap: 16px;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.tabsNavigation {
|
|
220
|
+
flex: 1 1 auto;
|
|
221
|
+
min-width: 0;
|
|
222
|
+
overflow-x: auto;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.scopeControl {
|
|
226
|
+
flex: 0 0 auto;
|
|
227
|
+
margin-left: auto;
|
|
228
|
+
}
|
|
@@ -196,6 +196,32 @@ declare namespace CertificationDetail {
|
|
|
196
196
|
}> | null | undefined>>;
|
|
197
197
|
backgroundImageUrl: PropTypes.Requireable<string>;
|
|
198
198
|
descriptionText: PropTypes.Requireable<string>;
|
|
199
|
+
sections: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
200
|
+
title: PropTypes.Requireable<string>;
|
|
201
|
+
items: PropTypes.Requireable<(NonNullable<PropTypes.InferProps<{
|
|
202
|
+
type: PropTypes.Requireable<string>;
|
|
203
|
+
title: PropTypes.Requireable<string>;
|
|
204
|
+
value: PropTypes.Requireable<string>;
|
|
205
|
+
}> | PropTypes.InferProps<{
|
|
206
|
+
type: PropTypes.Requireable<string>;
|
|
207
|
+
text: PropTypes.Requireable<string>;
|
|
208
|
+
unsaved: PropTypes.Requireable<boolean>;
|
|
209
|
+
diff: PropTypes.Requireable<string>;
|
|
210
|
+
diffLabel: PropTypes.Requireable<string>;
|
|
211
|
+
}> | PropTypes.InferProps<{
|
|
212
|
+
type: PropTypes.Requireable<string>;
|
|
213
|
+
badgeList: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
214
|
+
category: PropTypes.Requireable<string>;
|
|
215
|
+
label: PropTypes.Requireable<string>;
|
|
216
|
+
}> | null | undefined)[]>;
|
|
217
|
+
badgeAriaLabel: PropTypes.Requireable<string>;
|
|
218
|
+
title: PropTypes.Requireable<string>;
|
|
219
|
+
author: PropTypes.Requireable<string>;
|
|
220
|
+
unsaved: PropTypes.Requireable<boolean>;
|
|
221
|
+
}> | null | undefined> | null | undefined)[]>;
|
|
222
|
+
counterText: PropTypes.Requireable<string>;
|
|
223
|
+
}> | null | undefined)[]>;
|
|
224
|
+
warning: PropTypes.Requireable<string>;
|
|
199
225
|
cookieTitle: PropTypes.Requireable<string>;
|
|
200
226
|
headerSubtitle: PropTypes.Requireable<string>;
|
|
201
227
|
descriptionBtnTxt: PropTypes.Requireable<string>;
|
|
@@ -372,6 +398,11 @@ declare namespace CertificationDetail {
|
|
|
372
398
|
size: PropTypes.Requireable<number>;
|
|
373
399
|
wrapperSize: PropTypes.Requireable<number>;
|
|
374
400
|
}>>;
|
|
401
|
+
imageOverlay: PropTypes.Requireable<string>;
|
|
402
|
+
contentBadge: PropTypes.Requireable<PropTypes.InferProps<{
|
|
403
|
+
category: PropTypes.Requireable<string>;
|
|
404
|
+
label: PropTypes.Requireable<string>;
|
|
405
|
+
}>>;
|
|
375
406
|
image: PropTypes.Requireable<string>;
|
|
376
407
|
checkbox: PropTypes.Requireable<PropTypes.InferProps<{
|
|
377
408
|
value: PropTypes.Requireable<string>;
|
|
@@ -389,6 +420,7 @@ declare namespace CertificationDetail {
|
|
|
389
420
|
customStyle: PropTypes.Requireable<{
|
|
390
421
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
391
422
|
}>;
|
|
423
|
+
className: PropTypes.Requireable<string>;
|
|
392
424
|
}>>;
|
|
393
425
|
}> | null | undefined)[]>;
|
|
394
426
|
type: PropTypes.Requireable<string>;
|
|
@@ -783,6 +815,7 @@ declare namespace CertificationDetail {
|
|
|
783
815
|
customStyle: PropTypes.Requireable<{
|
|
784
816
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
785
817
|
}>;
|
|
818
|
+
className: PropTypes.Requireable<string>;
|
|
786
819
|
}>>;
|
|
787
820
|
actionButtons: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
788
821
|
type: PropTypes.Requireable<string>;
|