@coorpacademy/components 11.35.2-forcedeploy.13 → 11.35.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/atom/button-link/index.js +1 -1
- package/es/atom/button-link/index.js.map +1 -1
- package/es/atom/button-link/style.css +2 -2
- package/es/atom/icon/index.d.ts +17 -35
- package/es/atom/icon/index.d.ts.map +1 -1
- package/es/atom/icon/index.js +15 -32
- package/es/atom/icon/index.js.map +1 -1
- package/es/atom/radio-with-title/index.d.ts +3 -13
- package/es/atom/radio-with-title/index.d.ts.map +1 -1
- package/es/atom/radio-with-title/types.d.ts +2 -13
- package/es/atom/radio-with-title/types.d.ts.map +1 -1
- package/es/atom/status-item/index.native.js +1 -1
- package/es/atom/status-item/index.native.js.map +1 -1
- package/es/atom/tag/index.d.ts +1 -12
- package/es/atom/tag/style.css +0 -1
- package/es/atom/title/index.d.ts +2 -13
- package/es/molecule/banner/style.css +0 -1
- package/es/molecule/base-modal/style.css +1 -0
- package/es/molecule/bulk-progress-bar/index.js +2 -2
- package/es/molecule/bulk-progress-bar/index.js.map +1 -1
- package/es/molecule/certification-card/index.js +1 -1
- package/es/molecule/certification-card/index.js.map +1 -1
- package/es/molecule/cm-popin/types.d.ts +7 -28
- package/es/molecule/cm-popin/types.d.ts.map +1 -1
- package/es/molecule/cm-popin/types.js +1 -1
- package/es/molecule/cm-popin/types.js.map +1 -1
- package/es/molecule/dashboard/cards-list/index.d.ts.map +1 -1
- package/es/molecule/dashboard/cards-list/index.js +0 -2
- package/es/molecule/dashboard/cards-list/index.js.map +1 -1
- package/es/molecule/learner-skill-card/index.js +8 -10
- package/es/molecule/learner-skill-card/index.js.map +1 -1
- package/es/molecule/learner-skill-card/style.css +0 -1
- package/es/molecule/learning-priority-modal/style.css +2 -3
- package/es/molecule/progress-wrapper/index.js +1 -1
- package/es/molecule/progress-wrapper/index.js.map +1 -1
- package/es/molecule/skills-chart-side-information-item/index.d.ts +1 -1
- package/es/molecule/skills-chart-side-information-panel/index.d.ts +1 -1
- package/es/molecule/title-and-checkbox-wrapper/index.d.ts +2 -13
- package/es/molecule/title-radio-wrapper/index.d.ts +3 -13
- package/es/molecule/title-radio-wrapper/index.d.ts.map +1 -1
- package/es/molecule/title-radio-wrapper/types.d.ts +2 -13
- package/es/molecule/title-radio-wrapper/types.d.ts.map +1 -1
- package/es/molecule/translation-modal/index.d.ts +1 -0
- package/es/molecule/translation-modal/index.d.ts.map +1 -1
- package/es/molecule/translation-modal/index.js +7 -24
- package/es/molecule/translation-modal/index.js.map +1 -1
- package/es/organism/cards-grid/index.d.ts +10 -48
- package/es/organism/cards-grid/index.d.ts.map +1 -1
- package/es/organism/cards-grid/index.js +2 -3
- package/es/organism/cards-grid/index.js.map +1 -1
- package/es/organism/content-skill-modal/index.d.ts +3 -13
- package/es/organism/content-skill-modal/index.d.ts.map +1 -1
- package/es/organism/content-skill-modal/types.d.ts +2 -12
- package/es/organism/content-skill-modal/types.d.ts.map +1 -1
- package/es/organism/list-item/index.js +5 -5
- package/es/organism/list-item/index.js.map +1 -1
- package/es/organism/list-item/style.css +17 -23
- package/es/organism/list-items/index.d.ts +2 -13
- package/es/organism/list-items/style.css +0 -1
- package/es/organism/rewards-form/index.d.ts +2 -13
- package/es/organism/select-opponents/index.d.ts +3 -13
- package/es/organism/select-opponents/index.d.ts.map +1 -1
- package/es/organism/select-opponents/types.d.ts +2 -13
- package/es/organism/select-opponents/types.d.ts.map +1 -1
- package/es/organism/sidebar/index.d.ts +2 -2
- package/es/organism/skill-edition/index.d.ts +52 -1261
- package/es/organism/skill-edition/index.d.ts.map +1 -1
- package/es/organism/skill-edition/index.js +224 -3
- package/es/organism/skill-edition/index.js.map +1 -1
- package/es/organism/skill-edition/types.d.ts +117 -1268
- package/es/organism/skill-edition/types.d.ts.map +1 -1
- package/es/organism/skill-edition/types.js +59 -7
- package/es/organism/skill-edition/types.js.map +1 -1
- package/es/organism/title-and-input/index.d.ts +5 -25
- package/es/organism/title-and-input/index.d.ts.map +1 -1
- package/es/organism/title-and-input/types.d.ts +4 -24
- package/es/organism/title-and-input/types.d.ts.map +1 -1
- package/es/organism/wizard-contents/index.d.ts +2 -13
- package/es/template/app-player/loading/index.d.ts +6 -27
- package/es/template/app-player/player/index.d.ts +12 -53
- package/es/template/app-player/player/slides/index.d.ts +6 -27
- package/es/template/app-player/player/slides/index.d.ts.map +1 -1
- package/es/template/app-player/popin-correction/index.d.ts +6 -26
- package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/es/template/app-player/popin-end/index.d.ts +6 -27
- package/es/template/app-review/index.d.ts +7 -27
- package/es/template/app-review/index.d.ts.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +6 -27
- package/es/template/app-review/player/prop-types.d.ts.map +1 -1
- package/es/template/app-review/prop-types.d.ts +6 -27
- package/es/template/app-review/prop-types.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.d.ts +1113 -1713
- package/es/template/back-office/brand-update/index.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.js +12 -0
- package/es/template/back-office/brand-update/index.js.map +1 -1
- package/es/template/back-office/brand-update/utils.d.ts +1 -1
- package/es/template/common/dashboard/index.d.ts +12 -53
- package/es/template/common/search-page/index.d.ts +6 -27
- package/es/template/external-course/index.d.ts +6 -27
- package/es/template/skill-detail/all-courses.css +2 -3
- package/es/template/skill-detail/all-courses.d.ts +17 -52
- package/es/template/skill-detail/all-courses.d.ts.map +1 -1
- package/es/template/skill-detail/all-courses.js +11 -12
- package/es/template/skill-detail/all-courses.js.map +1 -1
- package/es/template/skill-detail/continue-learning.css +2 -7
- package/es/template/skill-detail/continue-learning.d.ts +12 -25
- package/es/template/skill-detail/continue-learning.d.ts.map +1 -1
- package/es/template/skill-detail/continue-learning.js.map +1 -1
- package/es/template/skill-detail/index.d.ts +71 -81
- package/es/template/skill-detail/index.d.ts.map +1 -1
- package/es/template/skill-detail/index.js +55 -87
- package/es/template/skill-detail/index.js.map +1 -1
- package/es/template/skill-detail/style.css +39 -97
- package/es/variables/colors.css +0 -2
- package/es/variables/colors.d.ts +2 -3
- package/es/variables/colors.d.ts.map +1 -1
- package/es/variables/colors.js +3 -4
- package/es/variables/colors.js.map +1 -1
- package/es/variables/theme.native.js +1 -1
- package/es/variables/theme.native.js.map +1 -1
- package/lib/atom/button-link/index.js +1 -1
- package/lib/atom/button-link/index.js.map +1 -1
- package/lib/atom/button-link/style.css +2 -2
- package/lib/atom/icon/index.d.ts +17 -35
- package/lib/atom/icon/index.d.ts.map +1 -1
- package/lib/atom/icon/index.js +18 -34
- package/lib/atom/icon/index.js.map +1 -1
- package/lib/atom/radio-with-title/index.d.ts +3 -13
- package/lib/atom/radio-with-title/index.d.ts.map +1 -1
- package/lib/atom/radio-with-title/types.d.ts +2 -13
- package/lib/atom/radio-with-title/types.d.ts.map +1 -1
- package/lib/atom/status-item/index.native.js +1 -1
- package/lib/atom/status-item/index.native.js.map +1 -1
- package/lib/atom/tag/index.d.ts +1 -12
- package/lib/atom/tag/style.css +0 -1
- package/lib/atom/title/index.d.ts +2 -13
- package/lib/molecule/banner/style.css +0 -1
- package/lib/molecule/base-modal/style.css +1 -0
- package/lib/molecule/bulk-progress-bar/index.js +2 -2
- package/lib/molecule/bulk-progress-bar/index.js.map +1 -1
- package/lib/molecule/certification-card/index.js +1 -1
- package/lib/molecule/certification-card/index.js.map +1 -1
- package/lib/molecule/cm-popin/types.d.ts +7 -28
- package/lib/molecule/cm-popin/types.d.ts.map +1 -1
- package/lib/molecule/cm-popin/types.js +1 -1
- package/lib/molecule/cm-popin/types.js.map +1 -1
- package/lib/molecule/dashboard/cards-list/index.d.ts.map +1 -1
- package/lib/molecule/dashboard/cards-list/index.js +0 -2
- package/lib/molecule/dashboard/cards-list/index.js.map +1 -1
- package/lib/molecule/learner-skill-card/index.js +8 -10
- package/lib/molecule/learner-skill-card/index.js.map +1 -1
- package/lib/molecule/learner-skill-card/style.css +0 -1
- package/lib/molecule/learning-priority-modal/style.css +2 -3
- package/lib/molecule/progress-wrapper/index.js +1 -1
- package/lib/molecule/progress-wrapper/index.js.map +1 -1
- package/lib/molecule/skills-chart-side-information-item/index.d.ts +1 -1
- package/lib/molecule/skills-chart-side-information-panel/index.d.ts +1 -1
- package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +2 -13
- package/lib/molecule/title-radio-wrapper/index.d.ts +3 -13
- package/lib/molecule/title-radio-wrapper/index.d.ts.map +1 -1
- package/lib/molecule/title-radio-wrapper/types.d.ts +2 -13
- package/lib/molecule/title-radio-wrapper/types.d.ts.map +1 -1
- package/lib/molecule/translation-modal/index.d.ts +1 -0
- package/lib/molecule/translation-modal/index.d.ts.map +1 -1
- package/lib/molecule/translation-modal/index.js +6 -23
- package/lib/molecule/translation-modal/index.js.map +1 -1
- package/lib/organism/cards-grid/index.d.ts +10 -48
- package/lib/organism/cards-grid/index.d.ts.map +1 -1
- package/lib/organism/cards-grid/index.js +2 -3
- package/lib/organism/cards-grid/index.js.map +1 -1
- package/lib/organism/content-skill-modal/index.d.ts +3 -13
- package/lib/organism/content-skill-modal/index.d.ts.map +1 -1
- package/lib/organism/content-skill-modal/types.d.ts +2 -12
- package/lib/organism/content-skill-modal/types.d.ts.map +1 -1
- package/lib/organism/list-item/index.js +5 -5
- package/lib/organism/list-item/index.js.map +1 -1
- package/lib/organism/list-item/style.css +17 -23
- package/lib/organism/list-items/index.d.ts +2 -13
- package/lib/organism/list-items/style.css +0 -1
- package/lib/organism/rewards-form/index.d.ts +2 -13
- package/lib/organism/select-opponents/index.d.ts +3 -13
- package/lib/organism/select-opponents/index.d.ts.map +1 -1
- package/lib/organism/select-opponents/types.d.ts +2 -13
- package/lib/organism/select-opponents/types.d.ts.map +1 -1
- package/lib/organism/sidebar/index.d.ts +2 -2
- package/lib/organism/skill-edition/index.d.ts +52 -1261
- package/lib/organism/skill-edition/index.d.ts.map +1 -1
- package/lib/organism/skill-edition/index.js +224 -3
- package/lib/organism/skill-edition/index.js.map +1 -1
- package/lib/organism/skill-edition/types.d.ts +117 -1268
- package/lib/organism/skill-edition/types.d.ts.map +1 -1
- package/lib/organism/skill-edition/types.js +59 -7
- package/lib/organism/skill-edition/types.js.map +1 -1
- package/lib/organism/title-and-input/index.d.ts +5 -25
- package/lib/organism/title-and-input/index.d.ts.map +1 -1
- package/lib/organism/title-and-input/types.d.ts +4 -24
- package/lib/organism/title-and-input/types.d.ts.map +1 -1
- package/lib/organism/wizard-contents/index.d.ts +2 -13
- package/lib/template/app-player/loading/index.d.ts +6 -27
- package/lib/template/app-player/player/index.d.ts +12 -53
- package/lib/template/app-player/player/slides/index.d.ts +6 -27
- package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-correction/index.d.ts +6 -26
- package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-end/index.d.ts +6 -27
- package/lib/template/app-review/index.d.ts +7 -27
- package/lib/template/app-review/index.d.ts.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +6 -27
- package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/prop-types.d.ts +6 -27
- package/lib/template/app-review/prop-types.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.d.ts +1113 -1713
- package/lib/template/back-office/brand-update/index.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.js +12 -0
- package/lib/template/back-office/brand-update/index.js.map +1 -1
- package/lib/template/back-office/brand-update/utils.d.ts +1 -1
- package/lib/template/common/dashboard/index.d.ts +12 -53
- package/lib/template/common/search-page/index.d.ts +6 -27
- package/lib/template/external-course/index.d.ts +6 -27
- package/lib/template/skill-detail/all-courses.css +2 -3
- package/lib/template/skill-detail/all-courses.d.ts +17 -52
- package/lib/template/skill-detail/all-courses.d.ts.map +1 -1
- package/lib/template/skill-detail/all-courses.js +11 -11
- package/lib/template/skill-detail/all-courses.js.map +1 -1
- package/lib/template/skill-detail/continue-learning.css +2 -7
- package/lib/template/skill-detail/continue-learning.d.ts +12 -25
- package/lib/template/skill-detail/continue-learning.d.ts.map +1 -1
- package/lib/template/skill-detail/continue-learning.js.map +1 -1
- package/lib/template/skill-detail/index.d.ts +71 -81
- package/lib/template/skill-detail/index.d.ts.map +1 -1
- package/lib/template/skill-detail/index.js +55 -87
- package/lib/template/skill-detail/index.js.map +1 -1
- package/lib/template/skill-detail/style.css +39 -97
- package/lib/variables/colors.css +0 -2
- package/lib/variables/colors.d.ts +2 -3
- package/lib/variables/colors.d.ts.map +1 -1
- package/lib/variables/colors.js +3 -4
- package/lib/variables/colors.js.map +1 -1
- package/lib/variables/theme.native.js +1 -1
- package/lib/variables/theme.native.js.map +1 -1
- package/locales/bs/global.json +1 -0
- package/locales/de/global.json +1 -0
- package/locales/es/global.json +1 -0
- package/locales/et/global.json +1 -0
- package/locales/fi/global.json +1 -0
- package/locales/fr/global.json +1 -0
- package/locales/hu/global.json +1 -0
- package/locales/hy/global.json +1 -0
- package/locales/ja/global.json +1 -0
- package/locales/nl/global.json +1 -0
- package/locales/pl/global.json +1 -0
- package/locales/pt/global.json +1 -0
- package/locales/ro/global.json +1 -0
- package/locales/sk/global.json +1 -0
- package/locales/sl/global.json +1 -0
- package/locales/sv/global.json +1 -0
- package/locales/tl/global.json +1 -0
- package/locales/tr/global.json +1 -0
- package/locales/uk/global.json +1 -0
- package/locales/vi/global.json +1 -0
- package/locales/zh/global.json +1 -0
- package/locales/zh_TW/global.json +1 -0
- package/package.json +2 -2
|
@@ -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":";AAmPA,sDAgDC"}
|
|
@@ -29,6 +29,8 @@ import BulkInfos from '../../../molecule/bulk-infos';
|
|
|
29
29
|
import Title from '../../../atom/title';
|
|
30
30
|
import SkillEdition from '../../../organism/skill-edition';
|
|
31
31
|
import IconPickerModal from '../../../molecule/icon-picker-modal';
|
|
32
|
+
import TranslationModal from '../../../molecule/translation-modal';
|
|
33
|
+
import ContentSkillModal from '../../../organism/content-skill-modal';
|
|
32
34
|
import style from './style.css';
|
|
33
35
|
import { POPIN_THEMES } from './utils';
|
|
34
36
|
const getStyle = isSelected => isSelected ? style.selectedElement : style.unselectedElement;
|
|
@@ -127,6 +129,10 @@ const buildPopin = popin => {
|
|
|
127
129
|
switch (popin.type) {
|
|
128
130
|
case 'icon-picker':
|
|
129
131
|
return /*#__PURE__*/React.createElement(IconPickerModal, popin);
|
|
132
|
+
case 'translation':
|
|
133
|
+
return /*#__PURE__*/React.createElement(TranslationModal, popin);
|
|
134
|
+
case 'content':
|
|
135
|
+
return /*#__PURE__*/React.createElement(ContentSkillModal, popin);
|
|
130
136
|
default:
|
|
131
137
|
return buildDefaultPopin(popin);
|
|
132
138
|
}
|
|
@@ -348,6 +354,12 @@ BrandUpdate.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
348
354
|
}), PropTypes.shape({
|
|
349
355
|
...IconPickerModal.propTypes,
|
|
350
356
|
type: PropTypes.oneOf(['icon-picker'])
|
|
357
|
+
}), PropTypes.shape({
|
|
358
|
+
...TranslationModal.propTypes,
|
|
359
|
+
type: PropTypes.oneOf(['translation'])
|
|
360
|
+
}), PropTypes.shape({
|
|
361
|
+
...ContentSkillModal.propTypes,
|
|
362
|
+
type: PropTypes.oneOf(['content'])
|
|
351
363
|
})]),
|
|
352
364
|
details: PropTypes.shape({
|
|
353
365
|
...BrandTable.propTypes,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","PropTypes","map","pipe","get","isEmpty","find","classNames","BrandTabs","IconLinkItem","LinkItem","BrandForm","BrandTable","BrandUpload","BrandAnalytics","BrandDashboard","WizardContents","ListItems","BrandLearningPriorities","Banner","Header","HeaderWithActions","Loader","Accordion","CmPopin","ButtonLinkIcon","ExpandibleActionableTable","BulkInfos","Title","SkillEdition","IconPickerModal","style","POPIN_THEMES","getStyle","isSelected","selectedElement","unselectedElement","subTabsView","_subTabs","convert","cap","subTab","_index","createElement","key","title","type","_extends","styles","selected","uppercase","target","setChildrenAsHtml","buildLeftNavigation","logo","items","onItemClick","formattedTabs","href","index","children","iconType","formattedTabsViews","tab","className","tabs","navigation","src","tabProps","theme","onClick","buildNotifications","notifications","notificationsList","notification","temporary","permanentNotification","permanentNotifications","buildHeader","header","buildDefaultPopin","popin","icon","popinIcon","secondButton","popinSecondButton","themeIcon","actionButton","themeActionButton","buildPopin","buildDocumentation","documentation","show","onClose","content","open","documentationContent","dangerouslySetInnerHTML","__html","closeButton","size","buildTabs","selectedTab","e","showTabs","subTabs","undefined","buildContentView","loaderContainer","loader","buildDetailsView","details","buildTitle","BrandUpdate","props","contentFixHeight","leftNavigation","notificationsView","documentationView","headerView","tabsView","contentView","detailsView","popinView","titleView","contentStyle","contentWithNotifications","container","left","contentWrapper","headerSticky","defaultProps","propTypes","process","env","NODE_ENV","arrayOf","shape","oneOfType","oneOf","isRequired","string","bool","func"],"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 isEmpty from 'lodash/fp/isEmpty';\nimport find from 'lodash/fp/find';\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 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 return (\n <div className={style.header}>\n {header.type === 'header-with-actions' ? (\n <HeaderWithActions {...header} />\n ) : (\n <Header {...header} />\n )}\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 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 contentStyle = classNames([\n style.content,\n !isEmpty(notifications) && style.contentWithNotifications,\n contentFixHeight && style.contentFixHeight\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'])\n }),\n PropTypes.shape({\n ...IconPickerModal.propTypes,\n type: PropTypes.oneOf(['icon-picker'])\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,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAClC,OAAOC,GAAG,MAAM,eAAe;AAC/B,OAAOC,IAAI,MAAM,gBAAgB;AACjC,OAAOC,GAAG,MAAM,eAAe;AAC/B,OAAOC,OAAO,MAAM,mBAAmB;AACvC,OAAOC,IAAI,MAAM,gBAAgB;AACjC,OAAOC,UAAU,MAAM,YAAY;AACnC,OAAOC,SAAS,MAAM,8BAA8B;AACpD,SAAQC,YAAY,EAAEC,QAAQ,QAAO,2BAA2B;AAChE,OAAOC,SAAS,MAAM,8BAA8B;AACpD,OAAOC,UAAU,MAAM,+BAA+B;AACtD,OAAOC,WAAW,MAAM,gCAAgC;AACxD,OAAOC,cAAc,MAAM,mCAAmC;AAC9D,OAAOC,cAAc,MA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,SAAS,CAACwI,KAAK,CAAC;IACvB,GAAG7H,UAAU,CAACwH,SAAS;IACvBxF,GAAG,EAAE3C,SAAS,CAAC4I,MAAM;IACrB/F,IAAI,EAAE7C,SAAS,CAAC0I,KAAK,CAAC,CAAC,MAAM,CAAC;EAChC,CAAC,CAAC;EACFnF,WAAW,EAAEvD,SAAS,CAAC8I,IAAI;EAC3B5B,gBAAgB,EAAElH,SAAS,CAAC6I,IAAI;EAChCjG,KAAK,EAAE5C,SAAS,CAACwI,KAAK,CAAC7G,KAAK,CAACwG,SAAS;AACxC,CAAC;AAED,eAAenB,WAAW","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","PropTypes","map","pipe","get","isEmpty","find","classNames","BrandTabs","IconLinkItem","LinkItem","BrandForm","BrandTable","BrandUpload","BrandAnalytics","BrandDashboard","WizardContents","ListItems","BrandLearningPriorities","Banner","Header","HeaderWithActions","Loader","Accordion","CmPopin","ButtonLinkIcon","ExpandibleActionableTable","BulkInfos","Title","SkillEdition","IconPickerModal","TranslationModal","ContentSkillModal","style","POPIN_THEMES","getStyle","isSelected","selectedElement","unselectedElement","subTabsView","_subTabs","convert","cap","subTab","_index","createElement","key","title","type","_extends","styles","selected","uppercase","target","setChildrenAsHtml","buildLeftNavigation","logo","items","onItemClick","formattedTabs","href","index","children","iconType","formattedTabsViews","tab","className","tabs","navigation","src","tabProps","theme","onClick","buildNotifications","notifications","notificationsList","notification","temporary","permanentNotification","permanentNotifications","buildHeader","header","buildDefaultPopin","popin","icon","popinIcon","secondButton","popinSecondButton","themeIcon","actionButton","themeActionButton","buildPopin","buildDocumentation","documentation","show","onClose","content","open","documentationContent","dangerouslySetInnerHTML","__html","closeButton","size","buildTabs","selectedTab","e","showTabs","subTabs","undefined","buildContentView","loaderContainer","loader","buildDetailsView","details","buildTitle","BrandUpdate","props","contentFixHeight","leftNavigation","notificationsView","documentationView","headerView","tabsView","contentView","detailsView","popinView","titleView","contentStyle","contentWithNotifications","container","left","contentWrapper","headerSticky","defaultProps","propTypes","process","env","NODE_ENV","arrayOf","shape","oneOfType","oneOf","isRequired","string","bool","func"],"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 isEmpty from 'lodash/fp/isEmpty';\nimport find from 'lodash/fp/find';\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 return (\n <div className={style.header}>\n {header.type === 'header-with-actions' ? (\n <HeaderWithActions {...header} />\n ) : (\n <Header {...header} />\n )}\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 contentStyle = classNames([\n style.content,\n !isEmpty(notifications) && style.contentWithNotifications,\n contentFixHeight && style.contentFixHeight\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'])\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,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAClC,OAAOC,GAAG,MAAM,eAAe;AAC/B,OAAOC,IAAI,MAAM,gBAAgB;AACjC,OAAOC,GAAG,MAAM,eAAe;AAC/B,OAAOC,OAAO,MAAM,mBAAmB;AACvC,OAAOC,IAAI,MAAM,gBAAgB;AACjC,OAAOC,UAAU,MAAM,YAAY;AACnC,OAAOC,SAAS,MAAM,8BAA8B;AACpD,SAAQC,YAAY,EAAEC,QAAQ,QAAO,2BAA2B;AAChE,OAAOC,SAAS,MAAM,8BAA8B;AACpD,OAAOC,UAAU,MAAM,+BAA+B;AACtD,OAAOC,WAAW,MAAM,gCAAgC;AACxD,OAAOC,cAAc,MAAM,mCAAmC;AAC9D,OAAOC,cAAc,MAAM,mCAAmC;AAC9D,OAAOC,cAAc,MAAM,mCAAmC;AAC9D,OAAOC,SAAS,MAAM,8BAA8B;AACpD,OAAOC,uBAAuB,MAAM,6CAA6C;AACjF,OAAOC,MAAM,MAAM,0BAA0B;AAC7C,OAAOC,MAAM,MAAM,gCAAgC;AACnD,OAAOC,iBAAiB,MAAM,uCAAuC;AACrE,OAAOC,MAAM,MAAM,sBAAsB;AACzC,OAAOC,SAAS,MAAM,2CAA2C;AACjE,OAAOC,OAAO,MAAM,4BAA4B;AAChD,OAAOC,cAAc,MAAM,gCAAgC;AAC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,KAAK,CAAC,CAAC,aAAa,CAAC;EACvC,CAAC,CAAC,EACF5I,SAAS,CAAC0I,KAAK,CAAC;IACd,GAAG3G,iBAAiB,CAACsG,SAAS;IAC9BtF,IAAI,EAAE/C,SAAS,CAAC4I,KAAK,CAAC,CAAC,SAAS,CAAC;EACnC,CAAC,CAAC,CACH,CAAC;EACF5B,OAAO,EAAEhH,SAAS,CAAC0I,KAAK,CAAC;IACvB,GAAG/H,UAAU,CAAC0H,SAAS;IACvBxF,GAAG,EAAE7C,SAAS,CAAC8I,MAAM;IACrB/F,IAAI,EAAE/C,SAAS,CAAC4I,KAAK,CAAC,CAAC,MAAM,CAAC;EAChC,CAAC,CAAC;EACFnF,WAAW,EAAEzD,SAAS,CAACgJ,IAAI;EAC3B5B,gBAAgB,EAAEpH,SAAS,CAAC+I,IAAI;EAChCjG,KAAK,EAAE9C,SAAS,CAAC0I,KAAK,CAAC/G,KAAK,CAAC0G,SAAS;AACxC,CAAC;AAED,eAAenB,WAAW","ignoreList":[]}
|
|
@@ -19,7 +19,7 @@ declare namespace Dashboard {
|
|
|
19
19
|
'data-name': PropTypes.Requireable<string>;
|
|
20
20
|
titleSize: PropTypes.Requireable<string>;
|
|
21
21
|
subtitleSize: PropTypes.Requireable<string>;
|
|
22
|
-
icon: PropTypes.Requireable<PropTypes.InferProps<
|
|
22
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
23
23
|
tag: PropTypes.Requireable<PropTypes.InferProps<{
|
|
24
24
|
label: PropTypes.Requireable<string>;
|
|
25
25
|
type: PropTypes.Requireable<string>;
|
|
@@ -27,17 +27,7 @@ declare namespace Dashboard {
|
|
|
27
27
|
customStyle: PropTypes.Requireable<{
|
|
28
28
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
29
29
|
}>;
|
|
30
|
-
icon: PropTypes.Requireable<PropTypes.InferProps<
|
|
31
|
-
position: PropTypes.Requireable<string>;
|
|
32
|
-
iconName?: React.Validator<string> | undefined;
|
|
33
|
-
iconColor?: React.Validator<string | null | undefined> | undefined;
|
|
34
|
-
backgroundColor?: React.Validator<string | null | undefined> | undefined;
|
|
35
|
-
gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
|
|
36
|
-
borderRadius?: React.Validator<string | null | undefined> | undefined;
|
|
37
|
-
preset?: React.Validator<string | null | undefined> | undefined;
|
|
38
|
-
size?: React.Validator<import("../../../atom/icon").IconSize | null | undefined> | undefined;
|
|
39
|
-
customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
|
|
40
|
-
}>>;
|
|
30
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
41
31
|
}>>;
|
|
42
32
|
button: PropTypes.Requireable<PropTypes.InferProps<{
|
|
43
33
|
type: PropTypes.Requireable<string>;
|
|
@@ -124,8 +114,8 @@ declare namespace Dashboard {
|
|
|
124
114
|
borderRadius: PropTypes.Requireable<string>;
|
|
125
115
|
preset: PropTypes.Requireable<string>;
|
|
126
116
|
size: PropTypes.Requireable<PropTypes.InferProps<{
|
|
127
|
-
faSize: PropTypes.
|
|
128
|
-
wrapperSize: PropTypes.
|
|
117
|
+
faSize: PropTypes.Requireable<number>;
|
|
118
|
+
wrapperSize: PropTypes.Requireable<number>;
|
|
129
119
|
}>>;
|
|
130
120
|
customStyle: PropTypes.Requireable<{
|
|
131
121
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
@@ -563,7 +553,7 @@ declare namespace Dashboard {
|
|
|
563
553
|
'data-name': PropTypes.Requireable<string>;
|
|
564
554
|
titleSize: PropTypes.Requireable<string>;
|
|
565
555
|
subtitleSize: PropTypes.Requireable<string>;
|
|
566
|
-
icon: PropTypes.Requireable<PropTypes.InferProps<
|
|
556
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
567
557
|
tag: PropTypes.Requireable<PropTypes.InferProps<{
|
|
568
558
|
label: PropTypes.Requireable<string>;
|
|
569
559
|
type: PropTypes.Requireable<string>;
|
|
@@ -571,17 +561,7 @@ declare namespace Dashboard {
|
|
|
571
561
|
customStyle: PropTypes.Requireable<{
|
|
572
562
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
573
563
|
}>;
|
|
574
|
-
icon: PropTypes.Requireable<PropTypes.InferProps<
|
|
575
|
-
position: PropTypes.Requireable<string>;
|
|
576
|
-
iconName?: React.Validator<string> | undefined;
|
|
577
|
-
iconColor?: React.Validator<string | null | undefined> | undefined;
|
|
578
|
-
backgroundColor?: React.Validator<string | null | undefined> | undefined;
|
|
579
|
-
gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
|
|
580
|
-
borderRadius?: React.Validator<string | null | undefined> | undefined;
|
|
581
|
-
preset?: React.Validator<string | null | undefined> | undefined;
|
|
582
|
-
size?: React.Validator<import("../../../atom/icon").IconSize | null | undefined> | undefined;
|
|
583
|
-
customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
|
|
584
|
-
}>>;
|
|
564
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
585
565
|
}>>;
|
|
586
566
|
button: PropTypes.Requireable<PropTypes.InferProps<{
|
|
587
567
|
type: PropTypes.Requireable<string>;
|
|
@@ -796,7 +776,7 @@ declare namespace Dashboard {
|
|
|
796
776
|
'data-name': PropTypes.Requireable<string>;
|
|
797
777
|
titleSize: PropTypes.Requireable<string>;
|
|
798
778
|
subtitleSize: PropTypes.Requireable<string>;
|
|
799
|
-
icon: PropTypes.Requireable<PropTypes.InferProps<
|
|
779
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
800
780
|
tag: PropTypes.Requireable<PropTypes.InferProps<{
|
|
801
781
|
label: PropTypes.Requireable<string>;
|
|
802
782
|
type: PropTypes.Requireable<string>;
|
|
@@ -804,17 +784,7 @@ declare namespace Dashboard {
|
|
|
804
784
|
customStyle: PropTypes.Requireable<{
|
|
805
785
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
806
786
|
}>;
|
|
807
|
-
icon: PropTypes.Requireable<PropTypes.InferProps<
|
|
808
|
-
position: PropTypes.Requireable<string>;
|
|
809
|
-
iconName?: React.Validator<string> | undefined;
|
|
810
|
-
iconColor?: React.Validator<string | null | undefined> | undefined;
|
|
811
|
-
backgroundColor?: React.Validator<string | null | undefined> | undefined;
|
|
812
|
-
gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
|
|
813
|
-
borderRadius?: React.Validator<string | null | undefined> | undefined;
|
|
814
|
-
preset?: React.Validator<string | null | undefined> | undefined;
|
|
815
|
-
size?: React.Validator<import("../../../atom/icon").IconSize | null | undefined> | undefined;
|
|
816
|
-
customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
|
|
817
|
-
}>>;
|
|
787
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
818
788
|
}>>;
|
|
819
789
|
button: PropTypes.Requireable<PropTypes.InferProps<{
|
|
820
790
|
type: PropTypes.Requireable<string>;
|
|
@@ -901,8 +871,8 @@ declare namespace Dashboard {
|
|
|
901
871
|
borderRadius: PropTypes.Requireable<string>;
|
|
902
872
|
preset: PropTypes.Requireable<string>;
|
|
903
873
|
size: PropTypes.Requireable<PropTypes.InferProps<{
|
|
904
|
-
faSize: PropTypes.
|
|
905
|
-
wrapperSize: PropTypes.
|
|
874
|
+
faSize: PropTypes.Requireable<number>;
|
|
875
|
+
wrapperSize: PropTypes.Requireable<number>;
|
|
906
876
|
}>>;
|
|
907
877
|
customStyle: PropTypes.Requireable<{
|
|
908
878
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
@@ -1340,7 +1310,7 @@ declare namespace Dashboard {
|
|
|
1340
1310
|
'data-name': PropTypes.Requireable<string>;
|
|
1341
1311
|
titleSize: PropTypes.Requireable<string>;
|
|
1342
1312
|
subtitleSize: PropTypes.Requireable<string>;
|
|
1343
|
-
icon: PropTypes.Requireable<PropTypes.InferProps<
|
|
1313
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
1344
1314
|
tag: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1345
1315
|
label: PropTypes.Requireable<string>;
|
|
1346
1316
|
type: PropTypes.Requireable<string>;
|
|
@@ -1348,17 +1318,7 @@ declare namespace Dashboard {
|
|
|
1348
1318
|
customStyle: PropTypes.Requireable<{
|
|
1349
1319
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
1350
1320
|
}>;
|
|
1351
|
-
icon: PropTypes.Requireable<PropTypes.InferProps<
|
|
1352
|
-
position: PropTypes.Requireable<string>;
|
|
1353
|
-
iconName?: React.Validator<string> | undefined;
|
|
1354
|
-
iconColor?: React.Validator<string | null | undefined> | undefined;
|
|
1355
|
-
backgroundColor?: React.Validator<string | null | undefined> | undefined;
|
|
1356
|
-
gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
|
|
1357
|
-
borderRadius?: React.Validator<string | null | undefined> | undefined;
|
|
1358
|
-
preset?: React.Validator<string | null | undefined> | undefined;
|
|
1359
|
-
size?: React.Validator<import("../../../atom/icon").IconSize | null | undefined> | undefined;
|
|
1360
|
-
customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
|
|
1361
|
-
}>>;
|
|
1321
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
1362
1322
|
}>>;
|
|
1363
1323
|
button: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1364
1324
|
type: PropTypes.Requireable<string>;
|
|
@@ -1561,5 +1521,4 @@ declare namespace Dashboard {
|
|
|
1561
1521
|
};
|
|
1562
1522
|
}
|
|
1563
1523
|
import PropTypes from "prop-types";
|
|
1564
|
-
import React from "react";
|
|
1565
1524
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -200,7 +200,7 @@ declare namespace SearchPage {
|
|
|
200
200
|
'data-name': PropTypes.Requireable<string>;
|
|
201
201
|
titleSize: PropTypes.Requireable<string>;
|
|
202
202
|
subtitleSize: PropTypes.Requireable<string>;
|
|
203
|
-
icon: PropTypes.Requireable<PropTypes.InferProps<
|
|
203
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
204
204
|
tag: PropTypes.Requireable<PropTypes.InferProps<{
|
|
205
205
|
label: PropTypes.Requireable<string>;
|
|
206
206
|
type: PropTypes.Requireable<string>;
|
|
@@ -208,17 +208,7 @@ declare namespace SearchPage {
|
|
|
208
208
|
customStyle: PropTypes.Requireable<{
|
|
209
209
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
210
210
|
}>;
|
|
211
|
-
icon: PropTypes.Requireable<PropTypes.InferProps<
|
|
212
|
-
position: PropTypes.Requireable<string>;
|
|
213
|
-
iconName?: React.Validator<string> | undefined;
|
|
214
|
-
iconColor?: React.Validator<string | null | undefined> | undefined;
|
|
215
|
-
backgroundColor?: React.Validator<string | null | undefined> | undefined;
|
|
216
|
-
gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
|
|
217
|
-
borderRadius?: React.Validator<string | null | undefined> | undefined;
|
|
218
|
-
preset?: React.Validator<string | null | undefined> | undefined;
|
|
219
|
-
size?: React.Validator<import("../../../atom/icon").IconSize | null | undefined> | undefined;
|
|
220
|
-
customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
|
|
221
|
-
}>>;
|
|
211
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
222
212
|
}>>;
|
|
223
213
|
button: PropTypes.Requireable<PropTypes.InferProps<{
|
|
224
214
|
type: PropTypes.Requireable<string>;
|
|
@@ -305,8 +295,8 @@ declare namespace SearchPage {
|
|
|
305
295
|
borderRadius: PropTypes.Requireable<string>;
|
|
306
296
|
preset: PropTypes.Requireable<string>;
|
|
307
297
|
size: PropTypes.Requireable<PropTypes.InferProps<{
|
|
308
|
-
faSize: PropTypes.
|
|
309
|
-
wrapperSize: PropTypes.
|
|
298
|
+
faSize: PropTypes.Requireable<number>;
|
|
299
|
+
wrapperSize: PropTypes.Requireable<number>;
|
|
310
300
|
}>>;
|
|
311
301
|
customStyle: PropTypes.Requireable<{
|
|
312
302
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
@@ -744,7 +734,7 @@ declare namespace SearchPage {
|
|
|
744
734
|
'data-name': PropTypes.Requireable<string>;
|
|
745
735
|
titleSize: PropTypes.Requireable<string>;
|
|
746
736
|
subtitleSize: PropTypes.Requireable<string>;
|
|
747
|
-
icon: PropTypes.Requireable<PropTypes.InferProps<
|
|
737
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
748
738
|
tag: PropTypes.Requireable<PropTypes.InferProps<{
|
|
749
739
|
label: PropTypes.Requireable<string>;
|
|
750
740
|
type: PropTypes.Requireable<string>;
|
|
@@ -752,17 +742,7 @@ declare namespace SearchPage {
|
|
|
752
742
|
customStyle: PropTypes.Requireable<{
|
|
753
743
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
754
744
|
}>;
|
|
755
|
-
icon: PropTypes.Requireable<PropTypes.InferProps<
|
|
756
|
-
position: PropTypes.Requireable<string>;
|
|
757
|
-
iconName?: React.Validator<string> | undefined;
|
|
758
|
-
iconColor?: React.Validator<string | null | undefined> | undefined;
|
|
759
|
-
backgroundColor?: React.Validator<string | null | undefined> | undefined;
|
|
760
|
-
gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
|
|
761
|
-
borderRadius?: React.Validator<string | null | undefined> | undefined;
|
|
762
|
-
preset?: React.Validator<string | null | undefined> | undefined;
|
|
763
|
-
size?: React.Validator<import("../../../atom/icon").IconSize | null | undefined> | undefined;
|
|
764
|
-
customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
|
|
765
|
-
}>>;
|
|
745
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
766
746
|
}>>;
|
|
767
747
|
button: PropTypes.Requireable<PropTypes.InferProps<{
|
|
768
748
|
type: PropTypes.Requireable<string>;
|
|
@@ -965,5 +945,4 @@ declare namespace SearchPage {
|
|
|
965
945
|
}
|
|
966
946
|
}
|
|
967
947
|
import PropTypes from "prop-types";
|
|
968
|
-
import React from "react";
|
|
969
948
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -37,7 +37,7 @@ declare namespace ExternalCourse {
|
|
|
37
37
|
'data-name': PropTypes.Requireable<string>;
|
|
38
38
|
titleSize: PropTypes.Requireable<string>;
|
|
39
39
|
subtitleSize: PropTypes.Requireable<string>;
|
|
40
|
-
icon: PropTypes.Requireable<PropTypes.InferProps<
|
|
40
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
41
41
|
tag: PropTypes.Requireable<PropTypes.InferProps<{
|
|
42
42
|
label: PropTypes.Requireable<string>;
|
|
43
43
|
type: PropTypes.Requireable<string>;
|
|
@@ -45,17 +45,7 @@ declare namespace ExternalCourse {
|
|
|
45
45
|
customStyle: PropTypes.Requireable<{
|
|
46
46
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
47
47
|
}>;
|
|
48
|
-
icon: PropTypes.Requireable<PropTypes.InferProps<
|
|
49
|
-
position: PropTypes.Requireable<string>;
|
|
50
|
-
iconName?: React.Validator<string> | undefined;
|
|
51
|
-
iconColor?: React.Validator<string | null | undefined> | undefined;
|
|
52
|
-
backgroundColor?: React.Validator<string | null | undefined> | undefined;
|
|
53
|
-
gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
|
|
54
|
-
borderRadius?: React.Validator<string | null | undefined> | undefined;
|
|
55
|
-
preset?: React.Validator<string | null | undefined> | undefined;
|
|
56
|
-
size?: React.Validator<import("../../atom/icon").IconSize | null | undefined> | undefined;
|
|
57
|
-
customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
|
|
58
|
-
}>>;
|
|
48
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
59
49
|
}>>;
|
|
60
50
|
button: PropTypes.Requireable<PropTypes.InferProps<{
|
|
61
51
|
type: PropTypes.Requireable<string>;
|
|
@@ -142,8 +132,8 @@ declare namespace ExternalCourse {
|
|
|
142
132
|
borderRadius: PropTypes.Requireable<string>;
|
|
143
133
|
preset: PropTypes.Requireable<string>;
|
|
144
134
|
size: PropTypes.Requireable<PropTypes.InferProps<{
|
|
145
|
-
faSize: PropTypes.
|
|
146
|
-
wrapperSize: PropTypes.
|
|
135
|
+
faSize: PropTypes.Requireable<number>;
|
|
136
|
+
wrapperSize: PropTypes.Requireable<number>;
|
|
147
137
|
}>>;
|
|
148
138
|
customStyle: PropTypes.Requireable<{
|
|
149
139
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
@@ -581,7 +571,7 @@ declare namespace ExternalCourse {
|
|
|
581
571
|
'data-name': PropTypes.Requireable<string>;
|
|
582
572
|
titleSize: PropTypes.Requireable<string>;
|
|
583
573
|
subtitleSize: PropTypes.Requireable<string>;
|
|
584
|
-
icon: PropTypes.Requireable<PropTypes.InferProps<
|
|
574
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
585
575
|
tag: PropTypes.Requireable<PropTypes.InferProps<{
|
|
586
576
|
label: PropTypes.Requireable<string>;
|
|
587
577
|
type: PropTypes.Requireable<string>;
|
|
@@ -589,17 +579,7 @@ declare namespace ExternalCourse {
|
|
|
589
579
|
customStyle: PropTypes.Requireable<{
|
|
590
580
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
591
581
|
}>;
|
|
592
|
-
icon: PropTypes.Requireable<PropTypes.InferProps<
|
|
593
|
-
position: PropTypes.Requireable<string>;
|
|
594
|
-
iconName?: React.Validator<string> | undefined;
|
|
595
|
-
iconColor?: React.Validator<string | null | undefined> | undefined;
|
|
596
|
-
backgroundColor?: React.Validator<string | null | undefined> | undefined;
|
|
597
|
-
gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
|
|
598
|
-
borderRadius?: React.Validator<string | null | undefined> | undefined;
|
|
599
|
-
preset?: React.Validator<string | null | undefined> | undefined;
|
|
600
|
-
size?: React.Validator<import("../../atom/icon").IconSize | null | undefined> | undefined;
|
|
601
|
-
customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
|
|
602
|
-
}>>;
|
|
582
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
603
583
|
}>>;
|
|
604
584
|
button: PropTypes.Requireable<PropTypes.InferProps<{
|
|
605
585
|
type: PropTypes.Requireable<string>;
|
|
@@ -825,5 +805,4 @@ declare namespace ExternalCourse {
|
|
|
825
805
|
}
|
|
826
806
|
}
|
|
827
807
|
import PropTypes from "prop-types";
|
|
828
|
-
import React from "react";
|
|
829
808
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
|
|
22
22
|
.continueLearningNumber {
|
|
23
23
|
border-radius: 12px;
|
|
24
|
-
background-color:
|
|
25
|
-
color:
|
|
24
|
+
background-color: #EAEAEB;
|
|
25
|
+
color: #515161;
|
|
26
26
|
padding: 2px 4px;
|
|
27
27
|
margin-left: 8px;
|
|
28
28
|
font-size: 10px;
|
|
@@ -49,7 +49,6 @@
|
|
|
49
49
|
font-size: 14px;
|
|
50
50
|
font-style: normal;
|
|
51
51
|
font-weight: 600;
|
|
52
|
-
margin-right: 16px;
|
|
53
52
|
}
|
|
54
53
|
|
|
55
54
|
.sortWrapper {
|
|
@@ -1,43 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
common: {
|
|
7
|
-
primary: string;
|
|
8
|
-
secondary: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
translate: (key: string, options?: any) => string;
|
|
12
|
-
}
|
|
13
|
-
declare const AllCourses: {
|
|
14
|
-
(props: {
|
|
15
|
-
dataName?: string | undefined;
|
|
16
|
-
ariaLabel?: string | undefined;
|
|
17
|
-
selected?: boolean | undefined;
|
|
18
|
-
label?: string | undefined;
|
|
19
|
-
content: {
|
|
20
|
-
list: CardsGridProps['list'];
|
|
21
|
-
loading?: boolean;
|
|
22
|
-
};
|
|
23
|
-
totalContents?: number | undefined;
|
|
24
|
-
search: {
|
|
25
|
-
oldValue: string;
|
|
26
|
-
onChange: (value: string) => void;
|
|
27
|
-
};
|
|
28
|
-
bannerMicrolearning?: {
|
|
29
|
-
type: 'skill' | 'playlist';
|
|
30
|
-
action: () => void;
|
|
31
|
-
oldSwitchValue: boolean;
|
|
32
|
-
} | undefined;
|
|
33
|
-
filters: {
|
|
34
|
-
onChange?: ((value: string) => void) | undefined;
|
|
35
|
-
options?: unknown[] | undefined;
|
|
36
|
-
};
|
|
37
|
-
sorting?: unknown;
|
|
38
|
-
}, context: ProviderContext): JSX.Element;
|
|
39
|
-
contextTypes: {
|
|
40
|
-
skin: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1
|
+
export default AllCourses;
|
|
2
|
+
declare function AllCourses(props: any, context: any): JSX.Element;
|
|
3
|
+
declare namespace AllCourses {
|
|
4
|
+
namespace contextTypes {
|
|
5
|
+
const skin: PropTypes.Requireable<PropTypes.InferProps<{
|
|
41
6
|
common: PropTypes.Requireable<{
|
|
42
7
|
[x: string]: any;
|
|
43
8
|
}>;
|
|
@@ -58,18 +23,18 @@ declare const AllCourses: {
|
|
|
58
23
|
[x: string]: any;
|
|
59
24
|
}>;
|
|
60
25
|
}>>;
|
|
61
|
-
translate: PropTypes.Requireable<(...args: any[]) => any>;
|
|
62
|
-
}
|
|
63
|
-
propTypes
|
|
64
|
-
content: PropTypes.Requireable<PropTypes.InferProps<{
|
|
26
|
+
const translate: PropTypes.Requireable<(...args: any[]) => any>;
|
|
27
|
+
}
|
|
28
|
+
namespace propTypes {
|
|
29
|
+
const content: PropTypes.Requireable<PropTypes.InferProps<{
|
|
65
30
|
list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
|
|
66
31
|
customStyle: PropTypes.Requireable<{
|
|
67
32
|
[x: string]: string | null | undefined;
|
|
68
33
|
}>;
|
|
69
34
|
loading: PropTypes.Requireable<boolean>;
|
|
70
35
|
}>>;
|
|
71
|
-
totalContents: PropTypes.Requireable<number>;
|
|
72
|
-
filters: PropTypes.Requireable<PropTypes.InferProps<{
|
|
36
|
+
const totalContents: PropTypes.Requireable<number>;
|
|
37
|
+
const filters: PropTypes.Requireable<PropTypes.InferProps<{
|
|
73
38
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
74
39
|
options: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
75
40
|
name: PropTypes.Validator<string>;
|
|
@@ -78,7 +43,7 @@ declare const AllCourses: {
|
|
|
78
43
|
validOption: PropTypes.Requireable<boolean>;
|
|
79
44
|
}> | null | undefined)[]>;
|
|
80
45
|
}>>;
|
|
81
|
-
sorting: PropTypes.Requireable<PropTypes.InferProps<{
|
|
46
|
+
const sorting: PropTypes.Requireable<PropTypes.InferProps<{
|
|
82
47
|
title: PropTypes.Requireable<string>;
|
|
83
48
|
name: PropTypes.Requireable<string>;
|
|
84
49
|
className: PropTypes.Requireable<string>;
|
|
@@ -109,16 +74,16 @@ declare const AllCourses: {
|
|
|
109
74
|
'aria-label': PropTypes.Requireable<string>;
|
|
110
75
|
'aria-labelledby': PropTypes.Requireable<string>;
|
|
111
76
|
}>>;
|
|
112
|
-
bannerMicrolearning: PropTypes.Requireable<PropTypes.InferProps<{
|
|
77
|
+
const bannerMicrolearning: PropTypes.Requireable<PropTypes.InferProps<{
|
|
113
78
|
type: PropTypes.Requireable<string>;
|
|
114
79
|
action: PropTypes.Requireable<(...args: any[]) => any>;
|
|
115
80
|
oldSwitchValue: PropTypes.Requireable<boolean>;
|
|
116
81
|
}>>;
|
|
117
|
-
search: PropTypes.Requireable<PropTypes.InferProps<{
|
|
82
|
+
const search: PropTypes.Requireable<PropTypes.InferProps<{
|
|
118
83
|
oldValue: PropTypes.Requireable<string>;
|
|
119
84
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
120
85
|
}>>;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
import PropTypes from "prop-types";
|
|
124
89
|
//# sourceMappingURL=all-courses.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"all-courses.d.ts","sourceRoot":"","sources":["../../../src/template/skill-detail/all-courses.
|
|
1
|
+
{"version":3,"file":"all-courses.d.ts","sourceRoot":"","sources":["../../../src/template/skill-detail/all-courses.js"],"names":[],"mappings":";AAgDA,mEA8JC"}
|