@coorpacademy/components 11.40.26 → 11.41.0
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/chip/index.d.ts +1 -0
- package/es/atom/chip/index.d.ts.map +1 -1
- package/es/atom/chip/index.js +6 -3
- package/es/atom/chip/index.js.map +1 -1
- package/es/atom/drag-and-drop/index.d.ts +2 -0
- package/es/atom/drag-and-drop/index.d.ts.map +1 -1
- package/es/atom/drag-and-drop/index.js +9 -4
- package/es/atom/drag-and-drop/index.js.map +1 -1
- package/es/atom/input-date/index.d.ts +21 -0
- package/es/atom/input-date/index.d.ts.map +1 -0
- package/es/atom/input-date/index.js +73 -0
- package/es/atom/input-date/index.js.map +1 -0
- package/es/atom/input-date/style.css +88 -0
- package/es/atom/input-file-draggable/index.d.ts +10 -2
- package/es/atom/input-file-draggable/index.d.ts.map +1 -1
- package/es/atom/input-file-draggable/index.js +12 -4
- package/es/atom/input-file-draggable/index.js.map +1 -1
- package/es/atom/radio-with-title/index.d.ts +1 -0
- package/es/atom/radio-with-title/index.d.ts.map +1 -1
- package/es/atom/radio-with-title/types.d.ts +1 -0
- package/es/atom/radio-with-title/types.d.ts.map +1 -1
- package/es/atom/title/index.d.ts +1 -0
- package/es/atom/title/index.d.ts.map +1 -1
- package/es/atom/title/index.js +16 -6
- package/es/atom/title/index.js.map +1 -1
- package/es/atom/title/style.css +4 -0
- package/es/atom/video-upload/index.d.ts +2 -0
- package/es/molecule/assignment-card/index.d.ts +62 -0
- package/es/molecule/assignment-card/index.d.ts.map +1 -0
- package/es/molecule/assignment-card/index.js +91 -0
- package/es/molecule/assignment-card/index.js.map +1 -0
- package/es/molecule/assignment-card/style.css +98 -0
- package/es/molecule/assignment-status-tag/index.d.ts +13 -0
- package/es/molecule/assignment-status-tag/index.d.ts.map +1 -0
- package/es/molecule/assignment-status-tag/index.js +42 -0
- package/es/molecule/assignment-status-tag/index.js.map +1 -0
- package/es/molecule/assignment-status-tag/types.d.ts +15 -0
- package/es/molecule/assignment-status-tag/types.d.ts.map +1 -0
- package/es/molecule/assignment-status-tag/types.js +8 -0
- package/es/molecule/assignment-status-tag/types.js.map +1 -0
- package/es/molecule/brand-form-group/index.d.ts.map +1 -1
- package/es/molecule/brand-form-group/index.js +7 -0
- package/es/molecule/brand-form-group/index.js.map +1 -1
- package/es/molecule/card/index.d.ts +1 -0
- package/es/molecule/card/index.d.ts.map +1 -1
- package/es/molecule/card/index.js +3 -0
- package/es/molecule/card/index.js.map +1 -1
- package/es/molecule/card-content/index.d.ts +3 -1
- package/es/molecule/card-content/index.d.ts.map +1 -1
- package/es/molecule/card-content/index.js +7 -1
- package/es/molecule/card-content/index.js.map +1 -1
- package/es/molecule/cm-popin/types.d.ts +11 -0
- package/es/molecule/cm-popin/types.d.ts.map +1 -1
- package/es/molecule/dashboard/cards-list/index.d.ts +3 -0
- package/es/molecule/dashboard/cards-list/index.d.ts.map +1 -1
- package/es/molecule/dashboard/cards-list/index.js +11 -5
- package/es/molecule/dashboard/cards-list/index.js.map +1 -1
- package/es/molecule/dashboard/cards-list/prop-types.d.ts +1 -0
- package/es/molecule/dashboard/cards-list/prop-types.d.ts.map +1 -1
- package/es/molecule/dashboard/cards-list/prop-types.js.map +1 -1
- package/es/molecule/drag-and-drop-wrapper/index.d.ts +6 -0
- package/es/molecule/draggable-list/index.d.ts +63 -54
- package/es/molecule/tabs/index.d.ts +1 -0
- package/es/molecule/tabs/index.d.ts.map +1 -1
- package/es/molecule/tabs/index.js +7 -3
- package/es/molecule/tabs/index.js.map +1 -1
- package/es/molecule/tabs/style.css +4 -0
- package/es/molecule/title-and-checkbox-wrapper/index.d.ts +13 -0
- package/es/molecule/title-radio-wrapper/index.d.ts +7 -0
- package/es/molecule/title-radio-wrapper/index.d.ts.map +1 -1
- package/es/molecule/title-radio-wrapper/types.d.ts +7 -0
- package/es/molecule/title-radio-wrapper/types.d.ts.map +1 -1
- package/es/organism/assignment-audience/index.d.ts +92 -0
- package/es/organism/assignment-audience/index.d.ts.map +1 -0
- package/es/organism/assignment-audience/index.js +236 -0
- package/es/organism/assignment-audience/index.js.map +1 -0
- package/es/organism/assignment-audience/style.css +115 -0
- package/es/organism/assignment-audience/types.d.ts +193 -0
- package/es/organism/assignment-audience/types.d.ts.map +1 -0
- package/es/organism/assignment-audience/types.js +108 -0
- package/es/organism/assignment-audience/types.js.map +1 -0
- package/es/organism/assignment-audience/upload-result.css +47 -0
- package/es/organism/assignment-audience/upload-result.d.ts +26 -0
- package/es/organism/assignment-audience/upload-result.d.ts.map +1 -0
- package/es/organism/assignment-audience/upload-result.js +89 -0
- package/es/organism/assignment-audience/upload-result.js.map +1 -0
- package/es/organism/assignment-row/index.d.ts +55 -0
- package/es/organism/assignment-row/index.d.ts.map +1 -0
- package/es/organism/assignment-row/index.js +38 -0
- package/es/organism/assignment-row/index.js.map +1 -0
- package/es/organism/assignment-row/types.d.ts +83 -0
- package/es/organism/assignment-row/types.d.ts.map +1 -0
- package/es/organism/assignment-row/types.js +29 -0
- package/es/organism/assignment-row/types.js.map +1 -0
- package/es/organism/brand-learning-priorities/index.d.ts +63 -54
- package/es/organism/content-skill-modal/index.d.ts +10 -0
- package/es/organism/content-skill-modal/index.d.ts.map +1 -1
- package/es/organism/content-skill-modal/types.d.ts +10 -0
- package/es/organism/content-skill-modal/types.d.ts.map +1 -1
- package/es/organism/list-item/index.d.ts +13 -1
- package/es/organism/list-item/index.d.ts.map +1 -1
- package/es/organism/list-item/index.js +45 -3
- package/es/organism/list-item/index.js.map +1 -1
- package/es/organism/list-item/style.css +36 -0
- package/es/organism/list-items/index.d.ts +10 -0
- package/es/organism/list-items/index.d.ts.map +1 -1
- package/es/organism/list-items/index.js +4 -1
- package/es/organism/list-items/index.js.map +1 -1
- package/es/organism/mooc-header/index.d.ts +7 -0
- package/es/organism/mooc-header/index.d.ts.map +1 -1
- package/es/organism/mooc-header/index.js +30 -1
- package/es/organism/mooc-header/index.js.map +1 -1
- package/es/organism/mooc-header/style.css +11 -0
- package/es/organism/rewards-form/index.d.ts +13 -0
- package/es/organism/select-opponents/index.d.ts +13 -0
- package/es/organism/select-opponents/index.d.ts.map +1 -1
- package/es/organism/select-opponents/types.d.ts +13 -0
- package/es/organism/select-opponents/types.d.ts.map +1 -1
- package/es/organism/title-and-input/index.d.ts +14 -0
- package/es/organism/title-and-input/index.d.ts.map +1 -1
- package/es/organism/title-and-input/types.d.ts +14 -0
- package/es/organism/title-and-input/types.d.ts.map +1 -1
- package/es/organism/wizard-contents/index.d.ts +13 -0
- package/es/template/app-player/loading/index.d.ts +11 -0
- package/es/template/app-player/player/index.d.ts +22 -0
- package/es/template/app-player/player/slides/index.d.ts +11 -0
- package/es/template/app-player/player/slides/index.d.ts.map +1 -1
- package/es/template/app-player/popin-correction/index.d.ts +11 -0
- package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/es/template/app-player/popin-end/index.d.ts +14 -0
- package/es/template/app-player/popin-end/summary.d.ts +3 -0
- package/es/template/app-review/index.d.ts +11 -0
- package/es/template/app-review/index.d.ts.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +11 -0
- package/es/template/app-review/player/prop-types.d.ts.map +1 -1
- package/es/template/app-review/prop-types.d.ts +11 -0
- package/es/template/app-review/prop-types.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.d.ts +95 -54
- package/es/template/certification-detail/index.d.ts +11 -0
- package/es/template/cockpit/jw-uploader/index.d.ts +2 -0
- package/es/template/common/dashboard/index.d.ts +22 -0
- package/es/template/common/dashboard/index.d.ts.map +1 -1
- package/es/template/common/dashboard/index.js +37 -1
- package/es/template/common/dashboard/index.js.map +1 -1
- package/es/template/common/search-page/index.d.ts +17 -0
- package/es/template/external-course/index.d.ts +11 -0
- package/es/template/my-assignments/index.d.ts +167 -0
- package/es/template/my-assignments/index.d.ts.map +1 -0
- package/es/template/my-assignments/index.js +221 -0
- package/es/template/my-assignments/index.js.map +1 -0
- package/es/template/my-assignments/style.css +84 -0
- package/es/template/my-learning/index.d.ts +3 -0
- package/es/template/playlist-detail/index.d.ts +11 -0
- package/es/template/teams-dashboard/index.d.ts +3 -0
- package/es/util/proptypes.d.ts.map +1 -1
- package/es/util/proptypes.js +2 -2
- package/es/util/proptypes.js.map +1 -1
- package/lib/atom/chip/index.d.ts +1 -0
- package/lib/atom/chip/index.d.ts.map +1 -1
- package/lib/atom/chip/index.js +6 -3
- package/lib/atom/chip/index.js.map +1 -1
- package/lib/atom/drag-and-drop/index.d.ts +2 -0
- package/lib/atom/drag-and-drop/index.d.ts.map +1 -1
- package/lib/atom/drag-and-drop/index.js +9 -4
- package/lib/atom/drag-and-drop/index.js.map +1 -1
- package/lib/atom/input-date/index.d.ts +21 -0
- package/lib/atom/input-date/index.d.ts.map +1 -0
- package/lib/atom/input-date/index.js +80 -0
- package/lib/atom/input-date/index.js.map +1 -0
- package/lib/atom/input-date/style.css +88 -0
- package/lib/atom/input-file-draggable/index.d.ts +10 -2
- package/lib/atom/input-file-draggable/index.d.ts.map +1 -1
- package/lib/atom/input-file-draggable/index.js +12 -4
- package/lib/atom/input-file-draggable/index.js.map +1 -1
- package/lib/atom/radio-with-title/index.d.ts +1 -0
- package/lib/atom/radio-with-title/index.d.ts.map +1 -1
- package/lib/atom/radio-with-title/types.d.ts +1 -0
- package/lib/atom/radio-with-title/types.d.ts.map +1 -1
- package/lib/atom/title/index.d.ts +1 -0
- package/lib/atom/title/index.d.ts.map +1 -1
- package/lib/atom/title/index.js +16 -6
- package/lib/atom/title/index.js.map +1 -1
- package/lib/atom/title/style.css +4 -0
- package/lib/atom/video-upload/index.d.ts +2 -0
- package/lib/molecule/assignment-card/index.d.ts +62 -0
- package/lib/molecule/assignment-card/index.d.ts.map +1 -0
- package/lib/molecule/assignment-card/index.js +97 -0
- package/lib/molecule/assignment-card/index.js.map +1 -0
- package/lib/molecule/assignment-card/style.css +98 -0
- package/lib/molecule/assignment-status-tag/index.d.ts +13 -0
- package/lib/molecule/assignment-status-tag/index.d.ts.map +1 -0
- package/lib/molecule/assignment-status-tag/index.js +47 -0
- package/lib/molecule/assignment-status-tag/index.js.map +1 -0
- package/lib/molecule/assignment-status-tag/types.d.ts +15 -0
- package/lib/molecule/assignment-status-tag/types.d.ts.map +1 -0
- package/lib/molecule/assignment-status-tag/types.js +13 -0
- package/lib/molecule/assignment-status-tag/types.js.map +1 -0
- package/lib/molecule/brand-form-group/index.d.ts.map +1 -1
- package/lib/molecule/brand-form-group/index.js +7 -0
- package/lib/molecule/brand-form-group/index.js.map +1 -1
- package/lib/molecule/card/index.d.ts +1 -0
- package/lib/molecule/card/index.d.ts.map +1 -1
- package/lib/molecule/card/index.js +3 -0
- package/lib/molecule/card/index.js.map +1 -1
- package/lib/molecule/card-content/index.d.ts +3 -1
- package/lib/molecule/card-content/index.d.ts.map +1 -1
- package/lib/molecule/card-content/index.js +7 -1
- package/lib/molecule/card-content/index.js.map +1 -1
- package/lib/molecule/cm-popin/types.d.ts +11 -0
- package/lib/molecule/cm-popin/types.d.ts.map +1 -1
- package/lib/molecule/dashboard/cards-list/index.d.ts +3 -0
- package/lib/molecule/dashboard/cards-list/index.d.ts.map +1 -1
- package/lib/molecule/dashboard/cards-list/index.js +11 -5
- package/lib/molecule/dashboard/cards-list/index.js.map +1 -1
- package/lib/molecule/dashboard/cards-list/prop-types.d.ts +1 -0
- package/lib/molecule/dashboard/cards-list/prop-types.d.ts.map +1 -1
- package/lib/molecule/dashboard/cards-list/prop-types.js.map +1 -1
- package/lib/molecule/drag-and-drop-wrapper/index.d.ts +6 -0
- package/lib/molecule/draggable-list/index.d.ts +63 -54
- package/lib/molecule/tabs/index.d.ts +1 -0
- package/lib/molecule/tabs/index.d.ts.map +1 -1
- package/lib/molecule/tabs/index.js +7 -3
- package/lib/molecule/tabs/index.js.map +1 -1
- package/lib/molecule/tabs/style.css +4 -0
- package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +13 -0
- package/lib/molecule/title-radio-wrapper/index.d.ts +7 -0
- package/lib/molecule/title-radio-wrapper/index.d.ts.map +1 -1
- package/lib/molecule/title-radio-wrapper/types.d.ts +7 -0
- package/lib/molecule/title-radio-wrapper/types.d.ts.map +1 -1
- package/lib/organism/assignment-audience/index.d.ts +92 -0
- package/lib/organism/assignment-audience/index.d.ts.map +1 -0
- package/lib/organism/assignment-audience/index.js +242 -0
- package/lib/organism/assignment-audience/index.js.map +1 -0
- package/lib/organism/assignment-audience/style.css +115 -0
- package/lib/organism/assignment-audience/types.d.ts +193 -0
- package/lib/organism/assignment-audience/types.d.ts.map +1 -0
- package/lib/organism/assignment-audience/types.js +112 -0
- package/lib/organism/assignment-audience/types.js.map +1 -0
- package/lib/organism/assignment-audience/upload-result.css +47 -0
- package/lib/organism/assignment-audience/upload-result.d.ts +26 -0
- package/lib/organism/assignment-audience/upload-result.d.ts.map +1 -0
- package/lib/organism/assignment-audience/upload-result.js +94 -0
- package/lib/organism/assignment-audience/upload-result.js.map +1 -0
- package/lib/organism/assignment-row/index.d.ts +55 -0
- package/lib/organism/assignment-row/index.d.ts.map +1 -0
- package/lib/organism/assignment-row/index.js +45 -0
- package/lib/organism/assignment-row/index.js.map +1 -0
- package/lib/organism/assignment-row/types.d.ts +83 -0
- package/lib/organism/assignment-row/types.d.ts.map +1 -0
- package/lib/organism/assignment-row/types.js +34 -0
- package/lib/organism/assignment-row/types.js.map +1 -0
- package/lib/organism/brand-learning-priorities/index.d.ts +63 -54
- package/lib/organism/content-skill-modal/index.d.ts +10 -0
- package/lib/organism/content-skill-modal/index.d.ts.map +1 -1
- package/lib/organism/content-skill-modal/types.d.ts +10 -0
- package/lib/organism/content-skill-modal/types.d.ts.map +1 -1
- package/lib/organism/list-item/index.d.ts +13 -1
- package/lib/organism/list-item/index.d.ts.map +1 -1
- package/lib/organism/list-item/index.js +44 -3
- package/lib/organism/list-item/index.js.map +1 -1
- package/lib/organism/list-item/style.css +36 -0
- package/lib/organism/list-items/index.d.ts +10 -0
- package/lib/organism/list-items/index.d.ts.map +1 -1
- package/lib/organism/list-items/index.js +4 -1
- package/lib/organism/list-items/index.js.map +1 -1
- package/lib/organism/mooc-header/index.d.ts +7 -0
- package/lib/organism/mooc-header/index.d.ts.map +1 -1
- package/lib/organism/mooc-header/index.js +30 -1
- package/lib/organism/mooc-header/index.js.map +1 -1
- package/lib/organism/mooc-header/style.css +11 -0
- package/lib/organism/rewards-form/index.d.ts +13 -0
- package/lib/organism/select-opponents/index.d.ts +13 -0
- package/lib/organism/select-opponents/index.d.ts.map +1 -1
- package/lib/organism/select-opponents/types.d.ts +13 -0
- package/lib/organism/select-opponents/types.d.ts.map +1 -1
- package/lib/organism/title-and-input/index.d.ts +14 -0
- package/lib/organism/title-and-input/index.d.ts.map +1 -1
- package/lib/organism/title-and-input/types.d.ts +14 -0
- package/lib/organism/title-and-input/types.d.ts.map +1 -1
- package/lib/organism/wizard-contents/index.d.ts +13 -0
- package/lib/template/app-player/loading/index.d.ts +11 -0
- package/lib/template/app-player/player/index.d.ts +22 -0
- package/lib/template/app-player/player/slides/index.d.ts +11 -0
- package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-correction/index.d.ts +11 -0
- package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-end/index.d.ts +14 -0
- package/lib/template/app-player/popin-end/summary.d.ts +3 -0
- package/lib/template/app-review/index.d.ts +11 -0
- package/lib/template/app-review/index.d.ts.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +11 -0
- package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/prop-types.d.ts +11 -0
- package/lib/template/app-review/prop-types.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.d.ts +95 -54
- package/lib/template/certification-detail/index.d.ts +11 -0
- package/lib/template/cockpit/jw-uploader/index.d.ts +2 -0
- package/lib/template/common/dashboard/index.d.ts +22 -0
- package/lib/template/common/dashboard/index.d.ts.map +1 -1
- package/lib/template/common/dashboard/index.js +37 -1
- package/lib/template/common/dashboard/index.js.map +1 -1
- package/lib/template/common/search-page/index.d.ts +17 -0
- package/lib/template/external-course/index.d.ts +11 -0
- package/lib/template/my-assignments/index.d.ts +167 -0
- package/lib/template/my-assignments/index.d.ts.map +1 -0
- package/lib/template/my-assignments/index.js +227 -0
- package/lib/template/my-assignments/index.js.map +1 -0
- package/lib/template/my-assignments/style.css +84 -0
- package/lib/template/my-learning/index.d.ts +3 -0
- package/lib/template/playlist-detail/index.d.ts +11 -0
- package/lib/template/teams-dashboard/index.d.ts +3 -0
- package/lib/util/proptypes.d.ts.map +1 -1
- package/lib/util/proptypes.js +2 -2
- package/lib/util/proptypes.js.map +1 -1
- package/package.json +2 -2
|
@@ -593,6 +593,7 @@ declare const propTypes: {
|
|
|
593
593
|
customLabelClassName: PropTypes.Requireable<string>;
|
|
594
594
|
}>>;
|
|
595
595
|
required: PropTypes.Requireable<boolean>;
|
|
596
|
+
headingLevel: PropTypes.Requireable<number>;
|
|
596
597
|
}>>;
|
|
597
598
|
headerIcon: PropTypes.Requireable<string>;
|
|
598
599
|
backgroundImage: PropTypes.Requireable<string>;
|
|
@@ -743,6 +744,15 @@ declare const propTypes: {
|
|
|
743
744
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
744
745
|
title: PropTypes.Validator<string>;
|
|
745
746
|
subtitle: PropTypes.Requireable<string>;
|
|
747
|
+
titleTags: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
748
|
+
label: PropTypes.Validator<string>;
|
|
749
|
+
type: PropTypes.Requireable<string>;
|
|
750
|
+
}> | null | undefined)[]>;
|
|
751
|
+
details: PropTypes.Requireable<string>;
|
|
752
|
+
progress: PropTypes.Requireable<PropTypes.InferProps<{
|
|
753
|
+
value: PropTypes.Validator<number>;
|
|
754
|
+
label: PropTypes.Validator<string>;
|
|
755
|
+
}>>;
|
|
746
756
|
'data-name': PropTypes.Requireable<string>;
|
|
747
757
|
provider: PropTypes.Requireable<PropTypes.InferProps<{
|
|
748
758
|
label: PropTypes.Requireable<string>;
|
|
@@ -1189,6 +1199,7 @@ declare const propTypes: {
|
|
|
1189
1199
|
customLabelClassName: PropTypes.Requireable<string>;
|
|
1190
1200
|
}>>;
|
|
1191
1201
|
required: PropTypes.Requireable<boolean>;
|
|
1202
|
+
headingLevel: PropTypes.Requireable<number>;
|
|
1192
1203
|
}> | null | undefined>>;
|
|
1193
1204
|
isFetching: PropTypes.Requireable<boolean>;
|
|
1194
1205
|
search: 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
|
|
@@ -597,6 +597,7 @@ declare const propTypes: {
|
|
|
597
597
|
customLabelClassName: PropTypes.Requireable<string>;
|
|
598
598
|
}>>;
|
|
599
599
|
required: PropTypes.Requireable<boolean>;
|
|
600
|
+
headingLevel: PropTypes.Requireable<number>;
|
|
600
601
|
}>>;
|
|
601
602
|
headerIcon: PropTypes.Requireable<string>;
|
|
602
603
|
backgroundImage: PropTypes.Requireable<string>;
|
|
@@ -747,6 +748,15 @@ declare const propTypes: {
|
|
|
747
748
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
748
749
|
title: PropTypes.Validator<string>;
|
|
749
750
|
subtitle: PropTypes.Requireable<string>;
|
|
751
|
+
titleTags: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
752
|
+
label: PropTypes.Validator<string>;
|
|
753
|
+
type: PropTypes.Requireable<string>;
|
|
754
|
+
}> | null | undefined)[]>;
|
|
755
|
+
details: PropTypes.Requireable<string>;
|
|
756
|
+
progress: PropTypes.Requireable<PropTypes.InferProps<{
|
|
757
|
+
value: PropTypes.Validator<number>;
|
|
758
|
+
label: PropTypes.Validator<string>;
|
|
759
|
+
}>>;
|
|
750
760
|
'data-name': PropTypes.Requireable<string>;
|
|
751
761
|
provider: PropTypes.Requireable<PropTypes.InferProps<{
|
|
752
762
|
label: PropTypes.Requireable<string>;
|
|
@@ -1193,6 +1203,7 @@ declare const propTypes: {
|
|
|
1193
1203
|
customLabelClassName: PropTypes.Requireable<string>;
|
|
1194
1204
|
}>>;
|
|
1195
1205
|
required: PropTypes.Requireable<boolean>;
|
|
1206
|
+
headingLevel: PropTypes.Requireable<number>;
|
|
1196
1207
|
}> | null | undefined>>;
|
|
1197
1208
|
isFetching: PropTypes.Requireable<boolean>;
|
|
1198
1209
|
search: 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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -525,6 +525,15 @@ declare namespace BrandUpdate {
|
|
|
525
525
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
526
526
|
title: PropTypes.Validator<string>;
|
|
527
527
|
subtitle: PropTypes.Requireable<string>;
|
|
528
|
+
titleTags: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
529
|
+
label: PropTypes.Validator<string>;
|
|
530
|
+
type: PropTypes.Requireable<string>;
|
|
531
|
+
}> | null | undefined)[]>;
|
|
532
|
+
details: PropTypes.Requireable<string>;
|
|
533
|
+
progress: PropTypes.Requireable<PropTypes.InferProps<{
|
|
534
|
+
value: PropTypes.Validator<number>;
|
|
535
|
+
label: PropTypes.Validator<string>;
|
|
536
|
+
}>>;
|
|
528
537
|
'data-name': PropTypes.Requireable<string>;
|
|
529
538
|
provider: PropTypes.Requireable<PropTypes.InferProps<{
|
|
530
539
|
label: PropTypes.Requireable<string>;
|
|
@@ -971,6 +980,7 @@ declare namespace BrandUpdate {
|
|
|
971
980
|
customLabelClassName: PropTypes.Requireable<string>;
|
|
972
981
|
}>>;
|
|
973
982
|
required: PropTypes.Requireable<boolean>;
|
|
983
|
+
headingLevel: PropTypes.Requireable<number>;
|
|
974
984
|
}> | null | undefined>>;
|
|
975
985
|
isFetching: PropTypes.Requireable<boolean>;
|
|
976
986
|
search: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -1488,62 +1498,17 @@ declare namespace BrandUpdate {
|
|
|
1488
1498
|
type: PropTypes.Requireable<string>;
|
|
1489
1499
|
content: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1490
1500
|
items: PropTypes.Requireable<(NonNullable<PropTypes.InferProps<{
|
|
1491
|
-
title: PropTypes.Validator<string>;
|
|
1492
|
-
onUp: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1493
|
-
onDown: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1494
|
-
display: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1495
|
-
title: PropTypes.Requireable<string>;
|
|
1496
|
-
name: PropTypes.Requireable<string>;
|
|
1497
|
-
id: PropTypes.Requireable<string>;
|
|
1498
|
-
value: PropTypes.Requireable<boolean>;
|
|
1499
|
-
disabled: PropTypes.Requireable<boolean>;
|
|
1500
|
-
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1501
|
-
description: PropTypes.Requireable<string>;
|
|
1502
|
-
'aria-labelledby': PropTypes.Requireable<string>;
|
|
1503
|
-
'aria-label': PropTypes.Requireable<string>;
|
|
1504
|
-
modified: PropTypes.Requireable<boolean>;
|
|
1505
|
-
titlePosition: PropTypes.Requireable<string>;
|
|
1506
|
-
theme: PropTypes.Requireable<string>;
|
|
1507
|
-
details: PropTypes.Requireable<string>;
|
|
1508
|
-
'data-name': PropTypes.Requireable<string>;
|
|
1509
|
-
requiredSelection: PropTypes.Requireable<boolean>;
|
|
1510
|
-
icon: PropTypes.Requireable<string>;
|
|
1511
|
-
}>>;
|
|
1512
|
-
contentTypes: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1513
|
-
modified: PropTypes.Requireable<boolean>;
|
|
1514
|
-
color: PropTypes.Requireable<string>;
|
|
1515
|
-
theme: PropTypes.Requireable<string>;
|
|
1516
|
-
className: PropTypes.Requireable<string>;
|
|
1517
|
-
list: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
1518
|
-
color: PropTypes.Requireable<string>;
|
|
1519
|
-
value: PropTypes.Validator<string>;
|
|
1520
|
-
name: PropTypes.Requireable<string>;
|
|
1521
|
-
theme: PropTypes.Requireable<string>;
|
|
1522
|
-
checked: PropTypes.Requireable<boolean>;
|
|
1523
|
-
label: PropTypes.Requireable<string>;
|
|
1524
|
-
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1525
|
-
}> | null | undefined)[]>;
|
|
1526
|
-
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1527
|
-
}>>;
|
|
1528
|
-
}> | PropTypes.InferProps<{
|
|
1529
|
-
'aria-label': PropTypes.Requireable<PropTypes.InferProps<{
|
|
1530
|
-
title: PropTypes.Requireable<string>;
|
|
1531
|
-
author: PropTypes.Requireable<string>;
|
|
1532
|
-
modules: PropTypes.Requireable<string>;
|
|
1533
|
-
position: PropTypes.Requireable<string>;
|
|
1534
|
-
}>>;
|
|
1535
|
-
image: PropTypes.Requireable<string>;
|
|
1536
|
-
badgeList: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
1537
|
-
category: PropTypes.Requireable<string>;
|
|
1538
|
-
label: PropTypes.Requireable<string>;
|
|
1539
|
-
}> | null | undefined)[]>;
|
|
1540
|
-
title: PropTypes.Requireable<string>;
|
|
1541
|
-
author: PropTypes.Requireable<string>;
|
|
1542
|
-
position: PropTypes.Requireable<number>;
|
|
1543
|
-
id: PropTypes.Requireable<string>;
|
|
1544
|
-
}> | PropTypes.InferProps<{
|
|
1545
1501
|
title: PropTypes.Validator<string>;
|
|
1546
1502
|
subtitle: PropTypes.Requireable<string>;
|
|
1503
|
+
titleTags: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
1504
|
+
label: PropTypes.Validator<string>;
|
|
1505
|
+
type: PropTypes.Requireable<string>;
|
|
1506
|
+
}> | null | undefined)[]>;
|
|
1507
|
+
details: PropTypes.Requireable<string>;
|
|
1508
|
+
progress: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1509
|
+
value: PropTypes.Validator<number>;
|
|
1510
|
+
label: PropTypes.Validator<string>;
|
|
1511
|
+
}>>;
|
|
1547
1512
|
'data-name': PropTypes.Requireable<string>;
|
|
1548
1513
|
provider: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1549
1514
|
label: PropTypes.Requireable<string>;
|
|
@@ -1629,6 +1594,60 @@ declare namespace BrandUpdate {
|
|
|
1629
1594
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
1630
1595
|
}>;
|
|
1631
1596
|
}>>;
|
|
1597
|
+
}> | PropTypes.InferProps<{
|
|
1598
|
+
title: PropTypes.Validator<string>;
|
|
1599
|
+
onUp: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1600
|
+
onDown: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1601
|
+
display: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1602
|
+
title: PropTypes.Requireable<string>;
|
|
1603
|
+
name: PropTypes.Requireable<string>;
|
|
1604
|
+
id: PropTypes.Requireable<string>;
|
|
1605
|
+
value: PropTypes.Requireable<boolean>;
|
|
1606
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
1607
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1608
|
+
description: PropTypes.Requireable<string>;
|
|
1609
|
+
'aria-labelledby': PropTypes.Requireable<string>;
|
|
1610
|
+
'aria-label': PropTypes.Requireable<string>;
|
|
1611
|
+
modified: PropTypes.Requireable<boolean>;
|
|
1612
|
+
titlePosition: PropTypes.Requireable<string>;
|
|
1613
|
+
theme: PropTypes.Requireable<string>;
|
|
1614
|
+
details: PropTypes.Requireable<string>;
|
|
1615
|
+
'data-name': PropTypes.Requireable<string>;
|
|
1616
|
+
requiredSelection: PropTypes.Requireable<boolean>;
|
|
1617
|
+
icon: PropTypes.Requireable<string>;
|
|
1618
|
+
}>>;
|
|
1619
|
+
contentTypes: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1620
|
+
modified: PropTypes.Requireable<boolean>;
|
|
1621
|
+
color: PropTypes.Requireable<string>;
|
|
1622
|
+
theme: PropTypes.Requireable<string>;
|
|
1623
|
+
className: PropTypes.Requireable<string>;
|
|
1624
|
+
list: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
1625
|
+
color: PropTypes.Requireable<string>;
|
|
1626
|
+
value: PropTypes.Validator<string>;
|
|
1627
|
+
name: PropTypes.Requireable<string>;
|
|
1628
|
+
theme: PropTypes.Requireable<string>;
|
|
1629
|
+
checked: PropTypes.Requireable<boolean>;
|
|
1630
|
+
label: PropTypes.Requireable<string>;
|
|
1631
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1632
|
+
}> | null | undefined)[]>;
|
|
1633
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1634
|
+
}>>;
|
|
1635
|
+
}> | PropTypes.InferProps<{
|
|
1636
|
+
'aria-label': PropTypes.Requireable<PropTypes.InferProps<{
|
|
1637
|
+
title: PropTypes.Requireable<string>;
|
|
1638
|
+
author: PropTypes.Requireable<string>;
|
|
1639
|
+
modules: PropTypes.Requireable<string>;
|
|
1640
|
+
position: PropTypes.Requireable<string>;
|
|
1641
|
+
}>>;
|
|
1642
|
+
image: PropTypes.Requireable<string>;
|
|
1643
|
+
badgeList: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
1644
|
+
category: PropTypes.Requireable<string>;
|
|
1645
|
+
label: PropTypes.Requireable<string>;
|
|
1646
|
+
}> | null | undefined)[]>;
|
|
1647
|
+
title: PropTypes.Requireable<string>;
|
|
1648
|
+
author: PropTypes.Requireable<string>;
|
|
1649
|
+
position: PropTypes.Requireable<number>;
|
|
1650
|
+
id: PropTypes.Requireable<string>;
|
|
1632
1651
|
}> | PropTypes.InferProps<{
|
|
1633
1652
|
'aria-label': PropTypes.Requireable<string>;
|
|
1634
1653
|
id: PropTypes.Requireable<string>;
|
|
@@ -1924,6 +1943,7 @@ declare namespace BrandUpdate {
|
|
|
1924
1943
|
customLabelClassName: PropTypes.Requireable<string>;
|
|
1925
1944
|
}>>;
|
|
1926
1945
|
required: PropTypes.Requireable<boolean>;
|
|
1946
|
+
headingLevel: PropTypes.Requireable<number>;
|
|
1927
1947
|
}>>;
|
|
1928
1948
|
headerIcon: PropTypes.Requireable<string>;
|
|
1929
1949
|
backgroundImage: PropTypes.Requireable<string>;
|
|
@@ -2074,6 +2094,15 @@ declare namespace BrandUpdate {
|
|
|
2074
2094
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
2075
2095
|
title: PropTypes.Validator<string>;
|
|
2076
2096
|
subtitle: PropTypes.Requireable<string>;
|
|
2097
|
+
titleTags: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
2098
|
+
label: PropTypes.Validator<string>;
|
|
2099
|
+
type: PropTypes.Requireable<string>;
|
|
2100
|
+
}> | null | undefined)[]>;
|
|
2101
|
+
details: PropTypes.Requireable<string>;
|
|
2102
|
+
progress: PropTypes.Requireable<PropTypes.InferProps<{
|
|
2103
|
+
value: PropTypes.Validator<number>;
|
|
2104
|
+
label: PropTypes.Validator<string>;
|
|
2105
|
+
}>>;
|
|
2077
2106
|
'data-name': PropTypes.Requireable<string>;
|
|
2078
2107
|
provider: PropTypes.Requireable<PropTypes.InferProps<{
|
|
2079
2108
|
label: PropTypes.Requireable<string>;
|
|
@@ -2520,6 +2549,7 @@ declare namespace BrandUpdate {
|
|
|
2520
2549
|
customLabelClassName: PropTypes.Requireable<string>;
|
|
2521
2550
|
}>>;
|
|
2522
2551
|
required: PropTypes.Requireable<boolean>;
|
|
2552
|
+
headingLevel: PropTypes.Requireable<number>;
|
|
2523
2553
|
}> | null | undefined>>;
|
|
2524
2554
|
isFetching: PropTypes.Requireable<boolean>;
|
|
2525
2555
|
search: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -2872,6 +2902,15 @@ declare namespace BrandUpdate {
|
|
|
2872
2902
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
2873
2903
|
title: PropTypes.Validator<string>;
|
|
2874
2904
|
subtitle: PropTypes.Requireable<string>;
|
|
2905
|
+
titleTags: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
2906
|
+
label: PropTypes.Validator<string>;
|
|
2907
|
+
type: PropTypes.Requireable<string>;
|
|
2908
|
+
}> | null | undefined)[]>;
|
|
2909
|
+
details: PropTypes.Requireable<string>;
|
|
2910
|
+
progress: PropTypes.Requireable<PropTypes.InferProps<{
|
|
2911
|
+
value: PropTypes.Validator<number>;
|
|
2912
|
+
label: PropTypes.Validator<string>;
|
|
2913
|
+
}>>;
|
|
2875
2914
|
'data-name': PropTypes.Requireable<string>;
|
|
2876
2915
|
provider: PropTypes.Requireable<PropTypes.InferProps<{
|
|
2877
2916
|
label: PropTypes.Requireable<string>;
|
|
@@ -3318,6 +3357,7 @@ declare namespace BrandUpdate {
|
|
|
3318
3357
|
customLabelClassName: PropTypes.Requireable<string>;
|
|
3319
3358
|
}>>;
|
|
3320
3359
|
required: PropTypes.Requireable<boolean>;
|
|
3360
|
+
headingLevel: PropTypes.Requireable<number>;
|
|
3321
3361
|
}> | null | undefined>>;
|
|
3322
3362
|
isFetching: PropTypes.Requireable<boolean>;
|
|
3323
3363
|
search: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -3704,6 +3744,7 @@ declare namespace BrandUpdate {
|
|
|
3704
3744
|
customLabelClassName: PropTypes.Requireable<string>;
|
|
3705
3745
|
}>>;
|
|
3706
3746
|
required: PropTypes.Requireable<boolean>;
|
|
3747
|
+
headingLevel: PropTypes.Requireable<number>;
|
|
3707
3748
|
}>>;
|
|
3708
3749
|
}
|
|
3709
3750
|
}
|
|
@@ -145,6 +145,7 @@ declare namespace CertificationDetail {
|
|
|
145
145
|
customLabelClassName: PropTypes.Requireable<string>;
|
|
146
146
|
}>>;
|
|
147
147
|
required: PropTypes.Requireable<boolean>;
|
|
148
|
+
headingLevel: PropTypes.Requireable<number>;
|
|
148
149
|
}>>;
|
|
149
150
|
headerIcon: PropTypes.Requireable<string>;
|
|
150
151
|
backgroundImage: PropTypes.Requireable<string>;
|
|
@@ -295,6 +296,15 @@ declare namespace CertificationDetail {
|
|
|
295
296
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
296
297
|
title: PropTypes.Validator<string>;
|
|
297
298
|
subtitle: PropTypes.Requireable<string>;
|
|
299
|
+
titleTags: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
300
|
+
label: PropTypes.Validator<string>;
|
|
301
|
+
type: PropTypes.Requireable<string>;
|
|
302
|
+
}> | null | undefined)[]>;
|
|
303
|
+
details: PropTypes.Requireable<string>;
|
|
304
|
+
progress: PropTypes.Requireable<PropTypes.InferProps<{
|
|
305
|
+
value: PropTypes.Validator<number>;
|
|
306
|
+
label: PropTypes.Validator<string>;
|
|
307
|
+
}>>;
|
|
298
308
|
'data-name': PropTypes.Requireable<string>;
|
|
299
309
|
provider: PropTypes.Requireable<PropTypes.InferProps<{
|
|
300
310
|
label: PropTypes.Requireable<string>;
|
|
@@ -741,6 +751,7 @@ declare namespace CertificationDetail {
|
|
|
741
751
|
customLabelClassName: PropTypes.Requireable<string>;
|
|
742
752
|
}>>;
|
|
743
753
|
required: PropTypes.Requireable<boolean>;
|
|
754
|
+
headingLevel: PropTypes.Requireable<number>;
|
|
744
755
|
}> | null | undefined>>;
|
|
745
756
|
isFetching: PropTypes.Requireable<boolean>;
|
|
746
757
|
search: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -38,6 +38,8 @@ declare namespace JwVideoUploader {
|
|
|
38
38
|
pdfButtonLabel: PropTypes.Requireable<string>;
|
|
39
39
|
pdfButtonAriaLabel: PropTypes.Requireable<string>;
|
|
40
40
|
multiple: PropTypes.Requireable<boolean>;
|
|
41
|
+
dragAndDropLabel: PropTypes.Requireable<string>;
|
|
42
|
+
loadingLabel: PropTypes.Requireable<string>;
|
|
41
43
|
};
|
|
42
44
|
}
|
|
43
45
|
import PropTypes from "prop-types";
|
|
@@ -88,6 +88,7 @@ declare namespace Dashboard {
|
|
|
88
88
|
customLabelClassName: PropTypes.Requireable<string>;
|
|
89
89
|
}>>;
|
|
90
90
|
required: PropTypes.Requireable<boolean>;
|
|
91
|
+
headingLevel: PropTypes.Requireable<number>;
|
|
91
92
|
}>>;
|
|
92
93
|
headerIcon: PropTypes.Requireable<string>;
|
|
93
94
|
backgroundImage: PropTypes.Requireable<string>;
|
|
@@ -238,6 +239,15 @@ declare namespace Dashboard {
|
|
|
238
239
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
239
240
|
title: PropTypes.Validator<string>;
|
|
240
241
|
subtitle: PropTypes.Requireable<string>;
|
|
242
|
+
titleTags: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
243
|
+
label: PropTypes.Validator<string>;
|
|
244
|
+
type: PropTypes.Requireable<string>;
|
|
245
|
+
}> | null | undefined)[]>;
|
|
246
|
+
details: PropTypes.Requireable<string>;
|
|
247
|
+
progress: PropTypes.Requireable<PropTypes.InferProps<{
|
|
248
|
+
value: PropTypes.Validator<number>;
|
|
249
|
+
label: PropTypes.Validator<string>;
|
|
250
|
+
}>>;
|
|
241
251
|
'data-name': PropTypes.Requireable<string>;
|
|
242
252
|
provider: PropTypes.Requireable<PropTypes.InferProps<{
|
|
243
253
|
label: PropTypes.Requireable<string>;
|
|
@@ -684,6 +694,7 @@ declare namespace Dashboard {
|
|
|
684
694
|
customLabelClassName: PropTypes.Requireable<string>;
|
|
685
695
|
}>>;
|
|
686
696
|
required: PropTypes.Requireable<boolean>;
|
|
697
|
+
headingLevel: PropTypes.Requireable<number>;
|
|
687
698
|
}> | null | undefined>>;
|
|
688
699
|
isFetching: PropTypes.Requireable<boolean>;
|
|
689
700
|
search: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -959,6 +970,7 @@ declare namespace Dashboard {
|
|
|
959
970
|
customLabelClassName: PropTypes.Requireable<string>;
|
|
960
971
|
}>>;
|
|
961
972
|
required: PropTypes.Requireable<boolean>;
|
|
973
|
+
headingLevel: PropTypes.Requireable<number>;
|
|
962
974
|
}>>;
|
|
963
975
|
headerIcon: PropTypes.Requireable<string>;
|
|
964
976
|
backgroundImage: PropTypes.Requireable<string>;
|
|
@@ -1109,6 +1121,15 @@ declare namespace Dashboard {
|
|
|
1109
1121
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
1110
1122
|
title: PropTypes.Validator<string>;
|
|
1111
1123
|
subtitle: PropTypes.Requireable<string>;
|
|
1124
|
+
titleTags: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
1125
|
+
label: PropTypes.Validator<string>;
|
|
1126
|
+
type: PropTypes.Requireable<string>;
|
|
1127
|
+
}> | null | undefined)[]>;
|
|
1128
|
+
details: PropTypes.Requireable<string>;
|
|
1129
|
+
progress: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1130
|
+
value: PropTypes.Validator<number>;
|
|
1131
|
+
label: PropTypes.Validator<string>;
|
|
1132
|
+
}>>;
|
|
1112
1133
|
'data-name': PropTypes.Requireable<string>;
|
|
1113
1134
|
provider: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1114
1135
|
label: PropTypes.Requireable<string>;
|
|
@@ -1555,6 +1576,7 @@ declare namespace Dashboard {
|
|
|
1555
1576
|
customLabelClassName: PropTypes.Requireable<string>;
|
|
1556
1577
|
}>>;
|
|
1557
1578
|
required: PropTypes.Requireable<boolean>;
|
|
1579
|
+
headingLevel: PropTypes.Requireable<number>;
|
|
1558
1580
|
}> | null | undefined>>;
|
|
1559
1581
|
isFetching: PropTypes.Requireable<boolean>;
|
|
1560
1582
|
search: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/common/dashboard/index.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/common/dashboard/index.js"],"names":[],"mappings":";AAiCA,kEAkGC"}
|
|
@@ -16,9 +16,16 @@ var _cmPopin = _interopRequireDefault(require("../../../molecule/cm-popin"));
|
|
|
16
16
|
var _reviewBanner = _interopRequireDefault(require("../../../molecule/dashboard/review-banner"));
|
|
17
17
|
var _learningProfileBanner = _interopRequireDefault(require("../../../molecule/dashboard/learning-profile-banner"));
|
|
18
18
|
var _title = _interopRequireDefault(require("../../../atom/title"));
|
|
19
|
+
var _assignmentCard = _interopRequireDefault(require("../../../molecule/assignment-card"));
|
|
19
20
|
var _style = _interopRequireDefault(require("./style.css"));
|
|
20
21
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
21
22
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
23
|
+
const ASSIGNED_ICON = {
|
|
24
|
+
iconName: 'clipboard-list',
|
|
25
|
+
iconColor: '#A32700',
|
|
26
|
+
borderRadius: '12px',
|
|
27
|
+
backgroundColor: '#FFDCD1'
|
|
28
|
+
};
|
|
22
29
|
const Hero = /*#__PURE__*/_react.default.memo(function Hero({
|
|
23
30
|
hero,
|
|
24
31
|
welcome
|
|
@@ -76,6 +83,24 @@ const Dashboard = (props, context) => {
|
|
|
76
83
|
"arrows-aria-label": showMoreOnLeftOrRightAriaLabel
|
|
77
84
|
}));
|
|
78
85
|
}
|
|
86
|
+
case 'assignments':
|
|
87
|
+
{
|
|
88
|
+
// « Assigned to you »: a strip with arrows, and « See all » even when the strip fits. The
|
|
89
|
+
// count is every open module, not the cards loaded in the strip.
|
|
90
|
+
return /*#__PURE__*/_react.default.createElement(_cardsList.default, _extends({}, section, {
|
|
91
|
+
title: /*#__PURE__*/_react.default.createElement(_title.default, {
|
|
92
|
+
type: "form-group",
|
|
93
|
+
title: section.title,
|
|
94
|
+
icon: ASSIGNED_ICON,
|
|
95
|
+
tag: {
|
|
96
|
+
label: String(section.count),
|
|
97
|
+
size: 'S'
|
|
98
|
+
}
|
|
99
|
+
}),
|
|
100
|
+
alwaysShowMore: true,
|
|
101
|
+
"arrows-aria-label": showMoreOnLeftOrRightAriaLabel
|
|
102
|
+
}));
|
|
103
|
+
}
|
|
79
104
|
case 'cards':
|
|
80
105
|
return /*#__PURE__*/_react.default.createElement(_cardsList.default, _extends({}, section, {
|
|
81
106
|
"arrows-aria-label": showMoreOnLeftOrRightAriaLabel
|
|
@@ -117,7 +142,18 @@ Dashboard.contextTypes = {
|
|
|
117
142
|
Dashboard.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
118
143
|
hero: Hero.propTypes.hero,
|
|
119
144
|
welcome: Hero.propTypes.welcome,
|
|
120
|
-
sections: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.shape(
|
|
145
|
+
sections: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.shape({
|
|
146
|
+
type: _propTypes.default.oneOf(['assignments']),
|
|
147
|
+
// « Assigned to you »
|
|
148
|
+
title: _propTypes.default.string,
|
|
149
|
+
// Every open module, whatever the number of cards loaded
|
|
150
|
+
count: _propTypes.default.number.isRequired,
|
|
151
|
+
// Open modules only, already sorted by the MOOC (N3)
|
|
152
|
+
cards: _propTypes.default.arrayOf(_propTypes.default.shape(_assignmentCard.default.propTypes)),
|
|
153
|
+
// « See all », to the assignments page
|
|
154
|
+
showMore: _propTypes.default.string,
|
|
155
|
+
onShowMore: _propTypes.default.func
|
|
156
|
+
}), _propTypes.default.shape(_battleRequestList.default.propTypes), _propTypes.default.shape(_cardsList.default.propTypes), _propTypes.default.shape(_newsList.default.propTypes), _propTypes.default.shape(_startBattle.default.propTypes), _propTypes.default.shape(_reviewBanner.default.propTypes), _propTypes.default.shape(_learningProfileBanner.default.propTypes)])),
|
|
121
157
|
cookie: _propTypes.default.shape(_cmPopin.default.propTypes),
|
|
122
158
|
'arrows-aria-label': _cardsList.default.propTypes['arrows-aria-label'],
|
|
123
159
|
popinWithCards: _propTypes.default.shape(_cmPopin.default.propTypes)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_propTypes","_provider","_slide","_hero","_battleRequestList","_cardsList","_newsList","_startBattle","_cmPopin","_reviewBanner","_learningProfileBanner","_title","_style","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","Hero","React","memo","hero","welcome","createElement","className","style","propTypes","process","env","NODE_ENV","PropTypes","shape","HeroCard","Slide","Dashboard","props","context","translate","sections","cookie","popinWithCards","showMoreOnLeftOrRightAriaLabel","buildSectionComponent","section","type","title","subtitle","icon","iconName","iconColor","borderRadius","backgroundColor","tag","label","_size2","cards","size","buildSection","index","sectionView","key","sectionsList","map","wrapper","contextTypes","Provider","childContextTypes","arrayOf","oneOfType","BattleRequestList","CardsList","NewsList","StartBattle","ReviewBanner","LearningProfileBanner","CMPopin","_default","exports"],"sources":["../../../../src/template/common/dashboard/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {size} from 'lodash/fp';\nimport Provider from '../../../atom/provider';\nimport Slide from '../../../atom/slide';\nimport HeroCard from '../../../molecule/hero';\nimport BattleRequestList from '../../../molecule/dashboard/battle-request-list';\nimport CardsList from '../../../molecule/dashboard/cards-list';\nimport NewsList from '../../../molecule/dashboard/news-list';\nimport StartBattle from '../../../molecule/dashboard/start-battle';\nimport CMPopin from '../../../molecule/cm-popin';\nimport ReviewBanner from '../../../molecule/dashboard/review-banner';\nimport LearningProfileBanner from '../../../molecule/dashboard/learning-profile-banner';\nimport Title from '../../../atom/title';\nimport style from './style.css';\n\nconst Hero = React.memo(function Hero({hero, welcome}) {\n return <div className={style.hero}>{hero ? <HeroCard {...hero} /> : <Slide {...welcome} />}</div>;\n});\n\nHero.propTypes = {\n hero: PropTypes.shape(HeroCard.propTypes),\n welcome: PropTypes.shape(Slide.propTypes)\n};\n\nconst Dashboard = (props, context) => {\n const {translate} = context;\n const {\n sections = [],\n hero,\n welcome,\n cookie,\n popinWithCards,\n 'arrows-aria-label': showMoreOnLeftOrRightAriaLabel\n } = props;\n const buildSectionComponent = section => {\n const {type} = section;\n switch (type) {\n case 'hero':\n return <Hero hero={hero} welcome={welcome} />;\n case 'battleRequests':\n return <BattleRequestList {...section} />;\n case 'learningPrioritiesCards': {\n return (\n <CardsList\n {...section}\n title={\n <Title\n {...{\n type: 'form-group',\n title: translate('learning_priorities'),\n subtitle: translate('learning_priorities_description'),\n icon: {\n iconName: 'sign-post',\n iconColor: '#A32700',\n borderRadius: '12px',\n backgroundColor: '#FFDCD1'\n },\n tag: {\n label: `${size(section.cards)}`,\n size: 'S'\n }\n }}\n />\n }\n arrows-aria-label={showMoreOnLeftOrRightAriaLabel}\n />\n );\n }\n case 'cards':\n return <CardsList {...section} arrows-aria-label={showMoreOnLeftOrRightAriaLabel} />;\n case 'news':\n return <NewsList {...section} />;\n case 'battle':\n return <StartBattle {...section} />;\n case 'review':\n return <ReviewBanner {...section} />;\n case 'learningProfile':\n return <LearningProfileBanner {...section} />;\n default:\n return null;\n }\n };\n\n const buildSection = (section, index) => {\n const sectionView = buildSectionComponent(section);\n\n return <div key={index}>{sectionView}</div>;\n };\n\n const sectionsList = [{type: 'hero', key: 'hero'}, ...sections].map(section => (\n <div key={section.key}>{buildSection(section)}</div>\n ));\n return (\n <div className={style.wrapper} data-name=\"dashboard\">\n {sectionsList}\n {cookie ? <CMPopin {...cookie} /> : null}\n {popinWithCards ? (\n <div className={style.popinWithCards}>\n <CMPopin {...popinWithCards} />\n </div>\n ) : null}\n </div>\n );\n};\n\nDashboard.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nDashboard.propTypes = {\n hero: Hero.propTypes.hero,\n welcome: Hero.propTypes.welcome,\n sections: PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.shape(BattleRequestList.propTypes),\n PropTypes.shape(CardsList.propTypes),\n PropTypes.shape(NewsList.propTypes),\n PropTypes.shape(StartBattle.propTypes),\n PropTypes.shape(ReviewBanner.propTypes),\n PropTypes.shape(LearningProfileBanner.propTypes)\n ])\n ),\n cookie: PropTypes.shape(CMPopin.propTypes),\n 'arrows-aria-label': CardsList.propTypes['arrows-aria-label'],\n popinWithCards: PropTypes.shape(CMPopin.propTypes)\n};\nexport default Dashboard;\n"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AAEA,IAAAE,SAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,MAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,KAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,kBAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAAAM,UAAA,GAAAP,sBAAA,CAAAC,OAAA;AACA,IAAAO,SAAA,GAAAR,sBAAA,CAAAC,OAAA;AACA,IAAAQ,YAAA,GAAAT,sBAAA,CAAAC,OAAA;AACA,IAAAS,QAAA,GAAAV,sBAAA,CAAAC,OAAA;AACA,IAAAU,aAAA,GAAAX,sBAAA,CAAAC,OAAA;AACA,IAAAW,sBAAA,GAAAZ,sBAAA,CAAAC,OAAA;AACA,IAAAY,MAAA,GAAAb,sBAAA,CAAAC,OAAA;AACA,IAAAa,MAAA,GAAAd,sBAAA,CAAAC,OAAA;AAAgC,SAAAD,uBAAAe,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,SAA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AA,GACa6B,SAAS","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_propTypes","_provider","_slide","_hero","_battleRequestList","_cardsList","_newsList","_startBattle","_cmPopin","_reviewBanner","_learningProfileBanner","_title","_assignmentCard","_style","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","ASSIGNED_ICON","iconName","iconColor","borderRadius","backgroundColor","Hero","React","memo","hero","welcome","createElement","className","style","propTypes","process","env","NODE_ENV","PropTypes","shape","HeroCard","Slide","Dashboard","props","context","translate","sections","cookie","popinWithCards","showMoreOnLeftOrRightAriaLabel","buildSectionComponent","section","type","title","subtitle","icon","tag","label","_size2","cards","size","String","count","alwaysShowMore","buildSection","index","sectionView","key","sectionsList","map","wrapper","contextTypes","Provider","childContextTypes","arrayOf","oneOfType","oneOf","string","number","isRequired","AssignmentCard","showMore","onShowMore","func","BattleRequestList","CardsList","NewsList","StartBattle","ReviewBanner","LearningProfileBanner","CMPopin","_default","exports"],"sources":["../../../../src/template/common/dashboard/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {size} from 'lodash/fp';\nimport Provider from '../../../atom/provider';\nimport Slide from '../../../atom/slide';\nimport HeroCard from '../../../molecule/hero';\nimport BattleRequestList from '../../../molecule/dashboard/battle-request-list';\nimport CardsList from '../../../molecule/dashboard/cards-list';\nimport NewsList from '../../../molecule/dashboard/news-list';\nimport StartBattle from '../../../molecule/dashboard/start-battle';\nimport CMPopin from '../../../molecule/cm-popin';\nimport ReviewBanner from '../../../molecule/dashboard/review-banner';\nimport LearningProfileBanner from '../../../molecule/dashboard/learning-profile-banner';\nimport Title from '../../../atom/title';\nimport AssignmentCard from '../../../molecule/assignment-card';\nimport style from './style.css';\n\nconst ASSIGNED_ICON = {\n iconName: 'clipboard-list',\n iconColor: '#A32700',\n borderRadius: '12px',\n backgroundColor: '#FFDCD1'\n};\n\nconst Hero = React.memo(function Hero({hero, welcome}) {\n return <div className={style.hero}>{hero ? <HeroCard {...hero} /> : <Slide {...welcome} />}</div>;\n});\n\nHero.propTypes = {\n hero: PropTypes.shape(HeroCard.propTypes),\n welcome: PropTypes.shape(Slide.propTypes)\n};\n\nconst Dashboard = (props, context) => {\n const {translate} = context;\n const {\n sections = [],\n hero,\n welcome,\n cookie,\n popinWithCards,\n 'arrows-aria-label': showMoreOnLeftOrRightAriaLabel\n } = props;\n const buildSectionComponent = section => {\n const {type} = section;\n switch (type) {\n case 'hero':\n return <Hero hero={hero} welcome={welcome} />;\n case 'battleRequests':\n return <BattleRequestList {...section} />;\n case 'learningPrioritiesCards': {\n return (\n <CardsList\n {...section}\n title={\n <Title\n {...{\n type: 'form-group',\n title: translate('learning_priorities'),\n subtitle: translate('learning_priorities_description'),\n icon: {\n iconName: 'sign-post',\n iconColor: '#A32700',\n borderRadius: '12px',\n backgroundColor: '#FFDCD1'\n },\n tag: {\n label: `${size(section.cards)}`,\n size: 'S'\n }\n }}\n />\n }\n arrows-aria-label={showMoreOnLeftOrRightAriaLabel}\n />\n );\n }\n case 'assignments': {\n // « Assigned to you »: a strip with arrows, and « See all » even when the strip fits. The\n // count is every open module, not the cards loaded in the strip.\n return (\n <CardsList\n {...section}\n title={\n <Title\n type=\"form-group\"\n title={section.title}\n icon={ASSIGNED_ICON}\n tag={{label: String(section.count), size: 'S'}}\n />\n }\n alwaysShowMore\n arrows-aria-label={showMoreOnLeftOrRightAriaLabel}\n />\n );\n }\n case 'cards':\n return <CardsList {...section} arrows-aria-label={showMoreOnLeftOrRightAriaLabel} />;\n case 'news':\n return <NewsList {...section} />;\n case 'battle':\n return <StartBattle {...section} />;\n case 'review':\n return <ReviewBanner {...section} />;\n case 'learningProfile':\n return <LearningProfileBanner {...section} />;\n default:\n return null;\n }\n };\n\n const buildSection = (section, index) => {\n const sectionView = buildSectionComponent(section);\n\n return <div key={index}>{sectionView}</div>;\n };\n\n const sectionsList = [{type: 'hero', key: 'hero'}, ...sections].map(section => (\n <div key={section.key}>{buildSection(section)}</div>\n ));\n return (\n <div className={style.wrapper} data-name=\"dashboard\">\n {sectionsList}\n {cookie ? <CMPopin {...cookie} /> : null}\n {popinWithCards ? (\n <div className={style.popinWithCards}>\n <CMPopin {...popinWithCards} />\n </div>\n ) : null}\n </div>\n );\n};\n\nDashboard.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nDashboard.propTypes = {\n hero: Hero.propTypes.hero,\n welcome: Hero.propTypes.welcome,\n sections: PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.shape({\n type: PropTypes.oneOf(['assignments']),\n // « Assigned to you »\n title: PropTypes.string,\n // Every open module, whatever the number of cards loaded\n count: PropTypes.number.isRequired,\n // Open modules only, already sorted by the MOOC (N3)\n cards: PropTypes.arrayOf(PropTypes.shape(AssignmentCard.propTypes)),\n // « See all », to the assignments page\n showMore: PropTypes.string,\n onShowMore: PropTypes.func\n }),\n PropTypes.shape(BattleRequestList.propTypes),\n PropTypes.shape(CardsList.propTypes),\n PropTypes.shape(NewsList.propTypes),\n PropTypes.shape(StartBattle.propTypes),\n PropTypes.shape(ReviewBanner.propTypes),\n PropTypes.shape(LearningProfileBanner.propTypes)\n ])\n ),\n cookie: PropTypes.shape(CMPopin.propTypes),\n 'arrows-aria-label': CardsList.propTypes['arrows-aria-label'],\n popinWithCards: PropTypes.shape(CMPopin.propTypes)\n};\nexport default Dashboard;\n"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AAEA,IAAAE,SAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,MAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,KAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,kBAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAAAM,UAAA,GAAAP,sBAAA,CAAAC,OAAA;AACA,IAAAO,SA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AS,CAAC,CACjD,CACH,CAAC;EACDa,MAAM,EAAET,kBAAS,CAACC,KAAK,CAACmD,gBAAO,CAACxD,SAAS,CAAC;EAC1C,mBAAmB,EAAEmD,kBAAS,CAACnD,SAAS,CAAC,mBAAmB,CAAC;EAC7Dc,cAAc,EAAEV,kBAAS,CAACC,KAAK,CAACmD,gBAAO,CAACxD,SAAS;AACnD,CAAC;AAAC,IAAAyD,QAAA,GAAAC,OAAA,CAAApF,OAAA,GACakC,SAAS","ignoreList":[]}
|
|
@@ -207,12 +207,14 @@ declare namespace SearchPage {
|
|
|
207
207
|
dataName: PropTypes.Requireable<string>;
|
|
208
208
|
title: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
|
|
209
209
|
showMore: PropTypes.Requireable<string>;
|
|
210
|
+
alwaysShowMore: PropTypes.Requireable<boolean>;
|
|
210
211
|
cards: PropTypes.Requireable<(NonNullable<PropTypes.InferProps<{
|
|
211
212
|
badge: PropTypes.Requireable<string>;
|
|
212
213
|
image: PropTypes.Requireable<string>;
|
|
213
214
|
disabled: PropTypes.Requireable<boolean>;
|
|
214
215
|
adaptiv: PropTypes.Requireable<boolean>;
|
|
215
216
|
type: PropTypes.Requireable<string>;
|
|
217
|
+
typeLabel: PropTypes.Requireable<string>;
|
|
216
218
|
title: PropTypes.Requireable<string>;
|
|
217
219
|
author: PropTypes.Requireable<string>;
|
|
218
220
|
certifiedAuthor: PropTypes.Requireable<boolean>;
|
|
@@ -272,6 +274,7 @@ declare namespace SearchPage {
|
|
|
272
274
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
273
275
|
isActive: PropTypes.Requireable<boolean>;
|
|
274
276
|
}> | null | undefined)[]>;
|
|
277
|
+
compact: PropTypes.Requireable<boolean>;
|
|
275
278
|
}>>;
|
|
276
279
|
customStyle: PropTypes.Requireable<{
|
|
277
280
|
[x: string]: string | null | undefined;
|
|
@@ -369,6 +372,7 @@ declare namespace SearchPage {
|
|
|
369
372
|
customLabelClassName: PropTypes.Requireable<string>;
|
|
370
373
|
}>>;
|
|
371
374
|
required: PropTypes.Requireable<boolean>;
|
|
375
|
+
headingLevel: PropTypes.Requireable<number>;
|
|
372
376
|
}>>;
|
|
373
377
|
headerIcon: PropTypes.Requireable<string>;
|
|
374
378
|
backgroundImage: PropTypes.Requireable<string>;
|
|
@@ -519,6 +523,15 @@ declare namespace SearchPage {
|
|
|
519
523
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
520
524
|
title: PropTypes.Validator<string>;
|
|
521
525
|
subtitle: PropTypes.Requireable<string>;
|
|
526
|
+
titleTags: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
527
|
+
label: PropTypes.Validator<string>;
|
|
528
|
+
type: PropTypes.Requireable<string>;
|
|
529
|
+
}> | null | undefined)[]>;
|
|
530
|
+
details: PropTypes.Requireable<string>;
|
|
531
|
+
progress: PropTypes.Requireable<PropTypes.InferProps<{
|
|
532
|
+
value: PropTypes.Validator<number>;
|
|
533
|
+
label: PropTypes.Validator<string>;
|
|
534
|
+
}>>;
|
|
522
535
|
'data-name': PropTypes.Requireable<string>;
|
|
523
536
|
provider: PropTypes.Requireable<PropTypes.InferProps<{
|
|
524
537
|
label: PropTypes.Requireable<string>;
|
|
@@ -965,6 +978,7 @@ declare namespace SearchPage {
|
|
|
965
978
|
customLabelClassName: PropTypes.Requireable<string>;
|
|
966
979
|
}>>;
|
|
967
980
|
required: PropTypes.Requireable<boolean>;
|
|
981
|
+
headingLevel: PropTypes.Requireable<number>;
|
|
968
982
|
}> | null | undefined>>;
|
|
969
983
|
isFetching: PropTypes.Requireable<boolean>;
|
|
970
984
|
search: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -1198,6 +1212,7 @@ declare namespace SearchPage {
|
|
|
1198
1212
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1199
1213
|
isActive: PropTypes.Requireable<boolean>;
|
|
1200
1214
|
}> | null | undefined)[]>;
|
|
1215
|
+
compact: PropTypes.Requireable<boolean>;
|
|
1201
1216
|
}>>;
|
|
1202
1217
|
const sections: PropTypes.Requireable<{
|
|
1203
1218
|
[x: string]: PropTypes.InferProps<{
|
|
@@ -1255,6 +1270,7 @@ declare namespace SearchPage {
|
|
|
1255
1270
|
disabled: PropTypes.Requireable<boolean>;
|
|
1256
1271
|
adaptiv: PropTypes.Requireable<boolean>;
|
|
1257
1272
|
type: PropTypes.Requireable<string>;
|
|
1273
|
+
typeLabel: PropTypes.Requireable<string>;
|
|
1258
1274
|
title: PropTypes.Requireable<string>;
|
|
1259
1275
|
author: PropTypes.Requireable<string>;
|
|
1260
1276
|
certifiedAuthor: PropTypes.Requireable<boolean>;
|
|
@@ -1314,6 +1330,7 @@ declare namespace SearchPage {
|
|
|
1314
1330
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1315
1331
|
isActive: PropTypes.Requireable<boolean>;
|
|
1316
1332
|
}> | null | undefined)[]>;
|
|
1333
|
+
compact: PropTypes.Requireable<boolean>;
|
|
1317
1334
|
}>>;
|
|
1318
1335
|
showMore: PropTypes.Requireable<string>;
|
|
1319
1336
|
onShowMore: PropTypes.Requireable<(...args: any[]) => any>;
|