@coorpacademy/components 11.6.1 → 11.7.3-alpha.29
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/README.md +3 -3
- package/es/atom/loader/index.native.d.ts +10 -0
- package/es/atom/loader/index.native.d.ts.map +1 -0
- package/es/atom/loader/index.native.js +192 -0
- package/es/atom/loader/index.native.js.map +1 -0
- package/es/atom/select/index.d.ts +18 -0
- package/es/atom/select/index.d.ts.map +1 -1
- package/es/atom/select/index.js +69 -15
- package/es/atom/select/index.js.map +1 -1
- package/es/molecule/answer/index.d.ts.map +1 -1
- package/es/molecule/answer/index.js +17 -12
- package/es/molecule/answer/index.js.map +1 -1
- package/es/molecule/brand-form-group/index.d.ts +18 -0
- package/es/molecule/empty-state-dashboard/index.d.ts +23 -0
- package/es/molecule/empty-state-dashboard/index.d.ts.map +1 -0
- package/es/molecule/empty-state-dashboard/index.js +31 -0
- package/es/molecule/empty-state-dashboard/index.js.map +1 -0
- package/es/molecule/empty-state-dashboard/style.css +55 -0
- package/es/molecule/empty-state-dashboard/types.d.ts +19 -0
- package/es/molecule/empty-state-dashboard/types.d.ts.map +1 -0
- package/es/molecule/empty-state-dashboard/types.js +19 -0
- package/es/molecule/empty-state-dashboard/types.js.map +1 -0
- package/es/molecule/filters/filters-wrapper.d.ts +1 -0
- package/es/molecule/filters/filters-wrapper.d.ts.map +1 -1
- package/es/molecule/filters/filters-wrapper.js +9 -5
- package/es/molecule/filters/filters-wrapper.js.map +1 -1
- package/es/molecule/filters/index.d.ts +10 -0
- package/es/molecule/filters/index.d.ts.map +1 -1
- package/es/molecule/filters/index.js +6 -3
- package/es/molecule/filters/index.js.map +1 -1
- package/es/molecule/questions/drop-down/index.d.ts +1 -0
- package/es/molecule/questions/drop-down/index.d.ts.map +1 -1
- package/es/molecule/questions/drop-down/index.js +9 -5
- package/es/molecule/questions/drop-down/index.js.map +1 -1
- package/es/molecule/questions/qcm/index.d.ts +1 -0
- package/es/molecule/questions/qcm/index.d.ts.map +1 -1
- package/es/molecule/questions/qcm/index.js +9 -5
- package/es/molecule/questions/qcm/index.js.map +1 -1
- package/es/molecule/questions/qcm-drag/index.d.ts +3 -1
- package/es/molecule/questions/qcm-drag/index.d.ts.map +1 -1
- package/es/molecule/questions/qcm-drag/index.js +9 -5
- package/es/molecule/questions/qcm-drag/index.js.map +1 -1
- package/es/molecule/questions/qcm-graphic/index.d.ts +1 -0
- package/es/molecule/questions/qcm-graphic/index.d.ts.map +1 -1
- package/es/molecule/questions/qcm-graphic/index.js +9 -5
- package/es/molecule/questions/qcm-graphic/index.js.map +1 -1
- package/es/molecule/questions/question-range/index.d.ts +1 -0
- package/es/molecule/questions/question-range/index.d.ts.map +1 -1
- package/es/molecule/questions/question-range/index.js +10 -6
- package/es/molecule/questions/question-range/index.js.map +1 -1
- package/es/molecule/questions/template/index.d.ts +6 -2
- package/es/molecule/questions/template/index.d.ts.map +1 -1
- package/es/molecule/questions/template/index.js +9 -5
- package/es/molecule/questions/template/index.js.map +1 -1
- package/es/molecule/setup-slide/index.d.ts +9 -0
- package/es/molecule/setup-slider/index.d.ts +9 -0
- package/es/organism/brand-form/index.d.ts +18 -0
- package/es/organism/list-item/index.d.ts +8 -6
- package/es/organism/list-item/index.d.ts.map +1 -1
- package/es/organism/list-item/index.js +16 -2
- package/es/organism/list-item/index.js.map +1 -1
- package/es/organism/list-item/style.css +18 -0
- package/es/organism/list-items/index.d.ts +2 -0
- package/es/organism/list-items/index.js +5 -1
- package/es/organism/list-items/index.js.map +1 -1
- package/es/organism/user-preferences/index.d.ts +1 -0
- package/es/organism/user-preferences/index.d.ts.map +1 -1
- package/es/organism/user-preferences/index.js +9 -5
- package/es/organism/user-preferences/index.js.map +1 -1
- package/es/organism/wizard-contents/index.d.ts +18 -0
- package/es/template/activity/index.d.ts +36 -40
- package/es/template/activity/index.d.ts.map +1 -1
- package/es/template/activity/index.js +89 -111
- package/es/template/activity/index.js.map +1 -1
- package/es/template/activity/stars-summary.d.ts +9 -18
- package/es/template/activity/stars-summary.d.ts.map +1 -1
- package/es/template/activity/stars-summary.js +94 -122
- package/es/template/activity/stars-summary.js.map +1 -1
- package/es/template/back-office/brand-update/index.d.ts +56 -0
- package/es/template/back-office/brand-update/index.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.js +12 -3
- package/es/template/back-office/brand-update/index.js.map +1 -1
- package/es/template/back-office/brand-update/style.css +5 -1
- package/es/template/common/search-page/index.d.ts +11 -0
- package/es/template/common/search-page/index.d.ts.map +1 -1
- package/es/template/common/search-page/index.js +6 -3
- package/es/template/common/search-page/index.js.map +1 -1
- package/es/util/button-icons.d.ts +1 -0
- package/es/util/button-icons.d.ts.map +1 -1
- package/es/util/button-icons.js +3 -2
- package/es/util/button-icons.js.map +1 -1
- package/lib/atom/loader/index.native.d.ts +10 -0
- package/lib/atom/loader/index.native.d.ts.map +1 -0
- package/lib/atom/loader/index.native.js +205 -0
- package/lib/atom/loader/index.native.js.map +1 -0
- package/lib/atom/select/index.d.ts +18 -0
- package/lib/atom/select/index.d.ts.map +1 -1
- package/lib/atom/select/index.js +72 -14
- package/lib/atom/select/index.js.map +1 -1
- package/lib/molecule/answer/index.d.ts.map +1 -1
- package/lib/molecule/answer/index.js +18 -13
- package/lib/molecule/answer/index.js.map +1 -1
- package/lib/molecule/brand-form-group/index.d.ts +18 -0
- package/lib/molecule/empty-state-dashboard/index.d.ts +23 -0
- package/lib/molecule/empty-state-dashboard/index.d.ts.map +1 -0
- package/lib/molecule/empty-state-dashboard/index.js +42 -0
- package/lib/molecule/empty-state-dashboard/index.js.map +1 -0
- package/lib/molecule/empty-state-dashboard/style.css +55 -0
- package/lib/molecule/empty-state-dashboard/types.d.ts +19 -0
- package/lib/molecule/empty-state-dashboard/types.d.ts.map +1 -0
- package/lib/molecule/empty-state-dashboard/types.js +29 -0
- package/lib/molecule/empty-state-dashboard/types.js.map +1 -0
- package/lib/molecule/filters/filters-wrapper.d.ts +1 -0
- package/lib/molecule/filters/filters-wrapper.d.ts.map +1 -1
- package/lib/molecule/filters/filters-wrapper.js +9 -5
- package/lib/molecule/filters/filters-wrapper.js.map +1 -1
- package/lib/molecule/filters/index.d.ts +10 -0
- package/lib/molecule/filters/index.d.ts.map +1 -1
- package/lib/molecule/filters/index.js +6 -3
- package/lib/molecule/filters/index.js.map +1 -1
- package/lib/molecule/questions/drop-down/index.d.ts +1 -0
- package/lib/molecule/questions/drop-down/index.d.ts.map +1 -1
- package/lib/molecule/questions/drop-down/index.js +9 -5
- package/lib/molecule/questions/drop-down/index.js.map +1 -1
- package/lib/molecule/questions/qcm/index.d.ts +1 -0
- package/lib/molecule/questions/qcm/index.d.ts.map +1 -1
- package/lib/molecule/questions/qcm/index.js +9 -5
- package/lib/molecule/questions/qcm/index.js.map +1 -1
- package/lib/molecule/questions/qcm-drag/index.d.ts +3 -1
- package/lib/molecule/questions/qcm-drag/index.d.ts.map +1 -1
- package/lib/molecule/questions/qcm-drag/index.js +9 -5
- package/lib/molecule/questions/qcm-drag/index.js.map +1 -1
- package/lib/molecule/questions/qcm-graphic/index.d.ts +1 -0
- package/lib/molecule/questions/qcm-graphic/index.d.ts.map +1 -1
- package/lib/molecule/questions/qcm-graphic/index.js +9 -5
- package/lib/molecule/questions/qcm-graphic/index.js.map +1 -1
- package/lib/molecule/questions/question-range/index.d.ts +1 -0
- package/lib/molecule/questions/question-range/index.d.ts.map +1 -1
- package/lib/molecule/questions/question-range/index.js +10 -6
- package/lib/molecule/questions/question-range/index.js.map +1 -1
- package/lib/molecule/questions/template/index.d.ts +6 -2
- package/lib/molecule/questions/template/index.d.ts.map +1 -1
- package/lib/molecule/questions/template/index.js +9 -5
- package/lib/molecule/questions/template/index.js.map +1 -1
- package/lib/molecule/setup-slide/index.d.ts +9 -0
- package/lib/molecule/setup-slider/index.d.ts +9 -0
- package/lib/organism/brand-form/index.d.ts +18 -0
- package/lib/organism/list-item/index.d.ts +8 -6
- package/lib/organism/list-item/index.d.ts.map +1 -1
- package/lib/organism/list-item/index.js +16 -2
- package/lib/organism/list-item/index.js.map +1 -1
- package/lib/organism/list-item/style.css +18 -0
- package/lib/organism/list-items/index.d.ts +2 -0
- package/lib/organism/list-items/index.js +5 -1
- package/lib/organism/list-items/index.js.map +1 -1
- package/lib/organism/user-preferences/index.d.ts +1 -0
- package/lib/organism/user-preferences/index.d.ts.map +1 -1
- package/lib/organism/user-preferences/index.js +9 -5
- package/lib/organism/user-preferences/index.js.map +1 -1
- package/lib/organism/wizard-contents/index.d.ts +18 -0
- package/lib/template/activity/index.d.ts +36 -40
- package/lib/template/activity/index.d.ts.map +1 -1
- package/lib/template/activity/index.js +95 -110
- package/lib/template/activity/index.js.map +1 -1
- package/lib/template/activity/stars-summary.d.ts +9 -18
- package/lib/template/activity/stars-summary.d.ts.map +1 -1
- package/lib/template/activity/stars-summary.js +90 -119
- package/lib/template/activity/stars-summary.js.map +1 -1
- package/lib/template/back-office/brand-update/index.d.ts +56 -0
- package/lib/template/back-office/brand-update/index.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.js +13 -3
- package/lib/template/back-office/brand-update/index.js.map +1 -1
- package/lib/template/back-office/brand-update/style.css +5 -1
- package/lib/template/common/search-page/index.d.ts +11 -0
- package/lib/template/common/search-page/index.d.ts.map +1 -1
- package/lib/template/common/search-page/index.js +6 -3
- package/lib/template/common/search-page/index.js.map +1 -1
- package/lib/util/button-icons.d.ts +1 -0
- package/lib/util/button-icons.d.ts.map +1 -1
- package/lib/util/button-icons.js +2 -1
- package/lib/util/button-icons.js.map +1 -1
- package/locales/bs/global.json +8 -1
- package/locales/cs/global.json +9 -1
- package/locales/de/global.json +9 -1
- package/locales/en/global.json +1 -1
- package/locales/es/global.json +9 -1
- package/locales/et/global.json +9 -1
- package/locales/fr/global.json +1 -1
- package/locales/hr/global.json +9 -1
- package/locales/hu/global.json +9 -1
- package/locales/hy/global.json +0 -1
- package/locales/it/global.json +9 -1
- package/locales/ja/global.json +9 -1
- package/locales/ko/global.json +9 -1
- package/locales/nl/global.json +9 -1
- package/locales/pl/global.json +9 -1
- package/locales/pt/global.json +9 -1
- package/locales/ro/global.json +9 -1
- package/locales/ru/global.json +1 -1
- package/locales/sk/global.json +9 -1
- package/locales/tl/global.json +9 -1
- package/locales/tr/global.json +9 -1
- package/locales/uk/global.json +9 -1
- package/locales/vi/global.json +9 -1
- package/locales/zh/global.json +9 -1
- package/locales/zh_TW/global.json +9 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["getStyle","isSelected","style","selectedElement","unselectedElement","subTabsView","_subTabs","map","convert","cap","subTab","_index","title","type","selected","buildLeftNavigation","logo","items","onItemClick","formattedTabs","key","href","index","children","iconType","formattedTabsViews","tab","tabs","navigation","buildNotifications","notifications","isEmpty","notificationsList","notification","buildHeader","header","buildPopin","popin","buildDocumentation","documentation","show","onClose","content","classNames","open","documentationContent","__html","closeButton","buildTabs","selectedTab","pipe","find","e","get","showTabs","subTabs","undefined","buildContentView","loaderContainer","loader","buildDetailsView","details","BrandUpdate","props","leftNavigation","notificationsView","documentationView","headerView","tabsView","contentView","detailsView","popinView","contentStyle","contentWithNotifications","container","left","contentWrapper","headerSticky","defaultProps","propTypes","PropTypes","arrayOf","shape","Banner","Header","string","isRequired","bool","oneOfType","BrandForm","oneOf","BrandTable","BrandUpload","BrandAnalytics","BrandDashboard","WizardContents","ListItems","func","CmPopin"],"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 Banner from '../../../molecule/banner';\nimport Header from '../../../organism/setup-header';\nimport Loader from '../../../atom/loader';\nimport Accordion from '../../../organism/accordion/coorp-manager';\nimport CmPopin from '../../../molecule/cm-popin';\nimport ButtonLinkIconOnly from '../../../atom/button-link-icon-only';\nimport style from './style.css';\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 {...subTab} styles={getStyle(subTab.selected)} uppercase={false} />\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={style.notification} key={index}>\n <Banner {...notification} />\n </div>\n );\n });\n return <div className={style.notifications}>{notificationsList}</div>;\n};\n\nconst buildHeader = header => {\n return (\n <div className={style.header}>\n <Header {...header} />\n </div>\n );\n};\n\nconst buildPopin = popin => {\n return popin ? (\n <div className={style.popin}>\n <CmPopin {...popin} />\n </div>\n ) : null;\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 <ButtonLinkIconOnly\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 return <ListItems {...content} />;\n case 'home':\n return <BrandDashboard {...content} />;\n case 'wizard':\n return <WizardContents {...content} />;\n }\n};\n\nconst buildDetailsView = details => {\n if (!details) return;\n return <BrandTable {...details} />;\n};\n\nconst BrandUpdate = props => {\n const {notifications, header, items, content, details, popin, onItemClick, documentation} = 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\n const contentStyle = classNames([\n style.content,\n !isEmpty(notifications) && style.contentWithNotifications\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 {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.shape({...Header.propTypes}),\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'])\n })\n ]),\n documentation: PropTypes.shape({\n content: PropTypes.string,\n show: PropTypes.bool,\n onClose: PropTypes.func\n }),\n popin: PropTypes.shape({...CmPopin.propTypes}),\n details: PropTypes.shape({\n ...BrandTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list'])\n }),\n onItemClick: PropTypes.func\n};\n\nexport default BrandUpdate;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,QAAQ,GAAGC,UAAU,IAAKA,UAAU,GAAGC,cAAA,CAAMC,eAAT,GAA2BD,cAAA,CAAME,iBAA3E;;AAEA,MAAMC,WAAW,GAAG,CAACC,QAAQ,GAAG,EAAZ,KAClBC,YAAA,CAAIC,OAAJ,CAAY;EAACC,GAAG,EAAE;AAAN,CAAZ,EAA0B,CAACC,MAAD,EAASC,MAAT,kBACxB;EAAK,GAAG,EAAED,MAAM,CAACE;AAAjB,GACGF,MAAM,CAACG,IAAP,KAAgB,UAAhB,gBACC,6BAAC,qBAAD,eACMH,MADN;EAEE,MAAM,EAAEV,QAAQ,CAACU,MAAM,CAACI,QAAR,CAFlB;EAGE,SAAS,EAAE,KAHb;EAIE,MAAM,EAAE;AAJV,GADD,gBAQC,6BAAC,iBAAD,eAAcJ,MAAd;EAAsB,MAAM,EAAEV,QAAQ,CAACU,MAAM,CAACI,QAAR,CAAtC;EAAyD,SAAS,EAAE;AAApE,GATJ,CADF,EAaGR,QAbH,CADF,C,CAgBA;;;AACA,MAAMS,mBAAmB,GAAG,CAACC,IAAD,EAAOC,KAAP,E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AAA,CAAUK,MAFjB;IAGExE,IAAI,EAAEmE,kBAAA,CAAUU,KAAV,CAAgB,CAAC,QAAD,CAAhB;EAHR,GA1B2B,EA+B3BV,kBAAA,CAAUE,KAAV,cACKc,kBAAA,CAAUjB,SADf;IAEE3D,GAAG,EAAE4D,kBAAA,CAAUK,MAFjB;IAGExE,IAAI,EAAEmE,kBAAA,CAAUU,KAAV,CAAgB,CAAC,cAAD,CAAhB;EAHR,GA/B2B,CAApB,CAhCa;EAqEtBnD,aAAa,EAAEyC,kBAAA,CAAUE,KAAV,CAAgB;IAC7BxC,OAAO,EAAEsC,kBAAA,CAAUK,MADU;IAE7B7C,IAAI,EAAEwC,kBAAA,CAAUO,IAFa;IAG7B9C,OAAO,EAAEuC,kBAAA,CAAUiB;EAHU,CAAhB,CArEO;EA0EtB5D,KAAK,EAAE2C,kBAAA,CAAUE,KAAV,cAAoBgB,gBAAA,CAAQnB,SAA5B,EA1Ee;EA2EtBlB,OAAO,EAAEmB,kBAAA,CAAUE,KAAV,cACJS,mBAAA,CAAWZ,SADP;IAEP3D,GAAG,EAAE4D,kBAAA,CAAUK,MAFR;IAGPxE,IAAI,EAAEmE,kBAAA,CAAUU,KAAV,CAAgB,CAAC,MAAD,CAAhB;EAHC,GA3Ea;EAgFtBxE,WAAW,EAAE8D,kBAAA,CAAUiB;AAhFD,CAAxB;eAmFenC,W"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["getStyle","isSelected","style","selectedElement","unselectedElement","subTabsView","_subTabs","map","convert","cap","subTab","_index","title","type","selected","buildLeftNavigation","logo","items","onItemClick","formattedTabs","key","href","index","children","iconType","formattedTabsViews","tab","tabs","navigation","buildNotifications","notifications","isEmpty","notificationsList","notification","buildHeader","header","buildPopin","popin","buildDocumentation","documentation","show","onClose","content","classNames","open","documentationContent","__html","closeButton","buildTabs","selectedTab","pipe","find","e","get","showTabs","subTabs","undefined","buildContentView","loaderContainer","loader","buildDetailsView","details","BrandUpdate","props","contentFixHeight","leftNavigation","notificationsView","documentationView","headerView","tabsView","contentView","detailsView","popinView","contentStyle","contentWithNotifications","container","left","contentWrapper","headerSticky","defaultProps","propTypes","PropTypes","arrayOf","shape","Banner","Header","string","isRequired","bool","oneOfType","BrandForm","oneOf","BrandTable","BrandUpload","BrandAnalytics","BrandDashboard","WizardContents","ListItems","EmptyStateDashboard","func","CmPopin"],"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 Banner from '../../../molecule/banner';\nimport Header from '../../../organism/setup-header';\nimport Loader from '../../../atom/loader';\nimport Accordion from '../../../organism/accordion/coorp-manager';\nimport CmPopin from '../../../molecule/cm-popin';\nimport ButtonLinkIconOnly from '../../../atom/button-link-icon-only';\nimport EmptyStateDashboard from '../../../molecule/empty-state-dashboard';\nimport style from './style.css';\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 {...subTab} styles={getStyle(subTab.selected)} uppercase={false} />\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={style.notification} key={index}>\n <Banner {...notification} />\n </div>\n );\n });\n return <div className={style.notifications}>{notificationsList}</div>;\n};\n\nconst buildHeader = header => {\n return (\n <div className={style.header}>\n <Header {...header} />\n </div>\n );\n};\n\nconst buildPopin = popin => {\n return popin ? (\n <div className={style.popin}>\n <CmPopin {...popin} />\n </div>\n ) : null;\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 <ButtonLinkIconOnly\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 return <ListItems {...content} />;\n case 'home':\n return <BrandDashboard {...content} />;\n case 'wizard':\n return <WizardContents {...content} />;\n case 'empty-state-dashboard':\n return <EmptyStateDashboard {...content} />;\n }\n};\n\nconst buildDetailsView = details => {\n if (!details) return;\n return <BrandTable {...details} />;\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 } = 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\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 {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.shape({...Header.propTypes}),\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'])\n }),\n PropTypes.shape({\n ...EmptyStateDashboard.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['empty-state-dashboard'])\n })\n ]),\n documentation: PropTypes.shape({\n content: PropTypes.string,\n show: PropTypes.bool,\n onClose: PropTypes.func\n }),\n popin: PropTypes.shape({...CmPopin.propTypes}),\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};\n\nexport default BrandUpdate;\n"],"mappings":";;;;;AAAA;;AACA;;AACA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C3BV,kBAAA,CAAUE,KAAV,cACKe,4BAAA,CAAoBlB,SADzB;IAEE5D,GAAG,EAAE6D,kBAAA,CAAUK,MAFjB;IAGEzE,IAAI,EAAEoE,kBAAA,CAAUU,KAAV,CAAgB,CAAC,uBAAD,CAAhB;EAHR,GApC2B,CAApB,CAhCa;EA0EtBpD,aAAa,EAAE0C,kBAAA,CAAUE,KAAV,CAAgB;IAC7BzC,OAAO,EAAEuC,kBAAA,CAAUK,MADU;IAE7B9C,IAAI,EAAEyC,kBAAA,CAAUO,IAFa;IAG7B/C,OAAO,EAAEwC,kBAAA,CAAUkB;EAHU,CAAhB,CA1EO;EA+EtB9D,KAAK,EAAE4C,kBAAA,CAAUE,KAAV,cAAoBiB,gBAAA,CAAQpB,SAA5B,EA/Ee;EAgFtBnB,OAAO,EAAEoB,kBAAA,CAAUE,KAAV,cACJS,mBAAA,CAAWZ,SADP;IAEP5D,GAAG,EAAE6D,kBAAA,CAAUK,MAFR;IAGPzE,IAAI,EAAEoE,kBAAA,CAAUU,KAAV,CAAgB,CAAC,MAAD,CAAhB;EAHC,GAhFa;EAqFtBzE,WAAW,EAAE+D,kBAAA,CAAUkB,IArFD;EAsFtBnC,gBAAgB,EAAEiB,kBAAA,CAAUO;AAtFN,CAAxB;eAyFe1B,W"}
|
|
@@ -86,7 +86,8 @@
|
|
|
86
86
|
height: 100%;
|
|
87
87
|
overflow: scroll;
|
|
88
88
|
z-index: 999;
|
|
89
|
-
min-width: 240px
|
|
89
|
+
min-width: 240px;
|
|
90
|
+
width: 232px;
|
|
90
91
|
}
|
|
91
92
|
|
|
92
93
|
.content {
|
|
@@ -102,6 +103,9 @@
|
|
|
102
103
|
top: 100px;
|
|
103
104
|
}
|
|
104
105
|
|
|
106
|
+
.contentFixHeight {
|
|
107
|
+
height: calc(100% - 124px);
|
|
108
|
+
}
|
|
105
109
|
.selectedElement {
|
|
106
110
|
font-size: 12px;
|
|
107
111
|
background-color: cm_grey_100;
|
|
@@ -55,6 +55,15 @@ declare namespace SearchPage {
|
|
|
55
55
|
selected: PropTypes.Requireable<boolean>;
|
|
56
56
|
validOption: PropTypes.Requireable<boolean>;
|
|
57
57
|
}> | null | undefined)[]>;
|
|
58
|
+
optgroups: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
59
|
+
label: PropTypes.Validator<string>;
|
|
60
|
+
options: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
61
|
+
name: PropTypes.Validator<string>;
|
|
62
|
+
value: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
63
|
+
selected: PropTypes.Requireable<boolean>;
|
|
64
|
+
validOption: PropTypes.Requireable<boolean>;
|
|
65
|
+
}> | null | undefined)[]>;
|
|
66
|
+
}> | null | undefined)[]>;
|
|
58
67
|
modified: PropTypes.Requireable<boolean>;
|
|
59
68
|
error: PropTypes.Requireable<boolean>;
|
|
60
69
|
'aria-label': PropTypes.Requireable<string>;
|
|
@@ -64,6 +73,7 @@ declare namespace SearchPage {
|
|
|
64
73
|
onToggleSorts: PropTypes.Requireable<(...args: any[]) => any>;
|
|
65
74
|
moreSortAriaLabel: PropTypes.Requireable<string>;
|
|
66
75
|
moreFilterAriaLabel: PropTypes.Requireable<string>;
|
|
76
|
+
filterGroupAriaLabel: PropTypes.Requireable<string>;
|
|
67
77
|
}>>;
|
|
68
78
|
const cards: PropTypes.Requireable<PropTypes.InferProps<{
|
|
69
79
|
list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
|
|
@@ -100,6 +110,7 @@ declare namespace SearchPage {
|
|
|
100
110
|
}>>;
|
|
101
111
|
const moreSortAriaLabel: PropTypes.Requireable<string>;
|
|
102
112
|
const moreFilterAriaLabel: PropTypes.Requireable<string>;
|
|
113
|
+
const filterGroupAriaLabel: PropTypes.Requireable<string>;
|
|
103
114
|
}
|
|
104
115
|
}
|
|
105
116
|
import PropTypes from "prop-types";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/common/search-page/index.js"],"names":[],"mappings":";AAUA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/common/search-page/index.js"],"names":[],"mappings":";AAUA,mEAoDC"}
|
|
@@ -36,7 +36,8 @@ const SearchPage = (props, context) => {
|
|
|
36
36
|
clearFilters,
|
|
37
37
|
recommendations,
|
|
38
38
|
moreSortAriaLabel,
|
|
39
|
-
moreFilterAriaLabel
|
|
39
|
+
moreFilterAriaLabel,
|
|
40
|
+
filterGroupAriaLabel
|
|
40
41
|
} = props;
|
|
41
42
|
const {
|
|
42
43
|
skin
|
|
@@ -57,7 +58,8 @@ const SearchPage = (props, context) => {
|
|
|
57
58
|
}))), recommendationsView) : /*#__PURE__*/_react.default.createElement(_cardsGrid.default, cards);
|
|
58
59
|
return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_filters.default, _extends({}, searchFilters, {
|
|
59
60
|
moreSortAriaLabel: moreSortAriaLabel,
|
|
60
|
-
moreFilterAriaLabel: moreFilterAriaLabel
|
|
61
|
+
moreFilterAriaLabel: moreFilterAriaLabel,
|
|
62
|
+
filterGroupAriaLabel: filterGroupAriaLabel
|
|
61
63
|
})), /*#__PURE__*/_react.default.createElement("div", {
|
|
62
64
|
"data-name": "searchResult",
|
|
63
65
|
className: _style.default.cardsWrapper
|
|
@@ -78,7 +80,8 @@ SearchPage.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
78
80
|
clearFilters: _propTypes.default.shape(_button.default.propTypes),
|
|
79
81
|
recommendations: _propTypes.default.shape(_cardsList.default.propTypes),
|
|
80
82
|
moreSortAriaLabel: _propTypes.default.string,
|
|
81
|
-
moreFilterAriaLabel: _propTypes.default.string
|
|
83
|
+
moreFilterAriaLabel: _propTypes.default.string,
|
|
84
|
+
filterGroupAriaLabel: _propTypes.default.string
|
|
82
85
|
} : {};
|
|
83
86
|
var _default = SearchPage;
|
|
84
87
|
exports.default = _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["SearchPage","props","context","title","searchFilters","cards","noresultsfound","clearFilters","recommendations","moreSortAriaLabel","moreFilterAriaLabel","skin","defaultColor","recommendationsView","cardsView","list","style","noresults","noresultstxt","clear","background","cardsWrapper","contextTypes","Provider","childContextTypes","propTypes","PropTypes","string","shape","Filters","CardsGrid","Button","CardsList"],"sources":["../../../../src/template/common/search-page/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {getOr, isEmpty} from 'lodash/fp';\nimport Provider from '../../../atom/provider';\nimport Button from '../../../atom/button';\nimport Filters from '../../../molecule/filters';\nimport CardsGrid from '../../../organism/cards-grid';\nimport CardsList from '../../../molecule/dashboard/cards-list';\nimport style from './style.css';\n\nconst SearchPage = (props, context) => {\n const {\n title,\n searchFilters,\n cards,\n noresultsfound,\n clearFilters,\n recommendations,\n moreSortAriaLabel,\n moreFilterAriaLabel\n } = props;\n\n const {skin} = context;\n const defaultColor = getOr('#00B0FF', 'common.primary', skin);\n\n const recommendationsView = isEmpty(recommendations) ? null : <CardsList {...recommendations} />;\n\n const cardsView = isEmpty(cards.list) ? (\n <div>\n <div className={style.noresults}>\n <div className={style.noresultstxt}>{noresultsfound}</div>\n <Button\n {...clearFilters}\n data-name=\"searchPageClear\"\n className={style.clear}\n style={{background: defaultColor}}\n type=\"link\"\n />\n </div>\n {recommendationsView}\n </div>\n ) : (\n <CardsGrid {...cards} />\n );\n\n return (\n <div>\n <Filters\n {...searchFilters}\n moreSortAriaLabel={moreSortAriaLabel}\n moreFilterAriaLabel={moreFilterAriaLabel}\n />\n <div data-name=\"searchResult\" className={style.cardsWrapper}>\n <div className={style.title} role=\"status\">\n {title}\n </div>\n {cardsView}\n </div>\n </div>\n );\n};\n\nSearchPage.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nSearchPage.propTypes = {\n noresultsfound: PropTypes.string,\n title: PropTypes.string,\n searchFilters: PropTypes.shape(Filters.propTypes),\n cards: PropTypes.shape(CardsGrid.propTypes),\n clearFilters: PropTypes.shape(Button.propTypes),\n recommendations: PropTypes.shape(CardsList.propTypes),\n moreSortAriaLabel: PropTypes.string,\n moreFilterAriaLabel: PropTypes.string\n};\n\nexport default SearchPage;\n"],"mappings":";;;;;;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,UAAU,GAAG,CAACC,KAAD,EAAQC,OAAR,KAAoB;EACrC,MAAM;IACJC,KADI;IAEJC,aAFI;IAGJC,KAHI;IAIJC,cAJI;IAKJC,YALI;IAMJC,eANI;IAOJC,iBAPI;IAQJC;
|
|
1
|
+
{"version":3,"file":"index.js","names":["SearchPage","props","context","title","searchFilters","cards","noresultsfound","clearFilters","recommendations","moreSortAriaLabel","moreFilterAriaLabel","filterGroupAriaLabel","skin","defaultColor","recommendationsView","cardsView","list","style","noresults","noresultstxt","clear","background","cardsWrapper","contextTypes","Provider","childContextTypes","propTypes","PropTypes","string","shape","Filters","CardsGrid","Button","CardsList"],"sources":["../../../../src/template/common/search-page/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {getOr, isEmpty} from 'lodash/fp';\nimport Provider from '../../../atom/provider';\nimport Button from '../../../atom/button';\nimport Filters from '../../../molecule/filters';\nimport CardsGrid from '../../../organism/cards-grid';\nimport CardsList from '../../../molecule/dashboard/cards-list';\nimport style from './style.css';\n\nconst SearchPage = (props, context) => {\n const {\n title,\n searchFilters,\n cards,\n noresultsfound,\n clearFilters,\n recommendations,\n moreSortAriaLabel,\n moreFilterAriaLabel,\n filterGroupAriaLabel\n } = props;\n\n const {skin} = context;\n const defaultColor = getOr('#00B0FF', 'common.primary', skin);\n\n const recommendationsView = isEmpty(recommendations) ? null : <CardsList {...recommendations} />;\n\n const cardsView = isEmpty(cards.list) ? (\n <div>\n <div className={style.noresults}>\n <div className={style.noresultstxt}>{noresultsfound}</div>\n <Button\n {...clearFilters}\n data-name=\"searchPageClear\"\n className={style.clear}\n style={{background: defaultColor}}\n type=\"link\"\n />\n </div>\n {recommendationsView}\n </div>\n ) : (\n <CardsGrid {...cards} />\n );\n\n return (\n <div>\n <Filters\n {...searchFilters}\n moreSortAriaLabel={moreSortAriaLabel}\n moreFilterAriaLabel={moreFilterAriaLabel}\n filterGroupAriaLabel={filterGroupAriaLabel}\n />\n <div data-name=\"searchResult\" className={style.cardsWrapper}>\n <div className={style.title} role=\"status\">\n {title}\n </div>\n {cardsView}\n </div>\n </div>\n );\n};\n\nSearchPage.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nSearchPage.propTypes = {\n noresultsfound: PropTypes.string,\n title: PropTypes.string,\n searchFilters: PropTypes.shape(Filters.propTypes),\n cards: PropTypes.shape(CardsGrid.propTypes),\n clearFilters: PropTypes.shape(Button.propTypes),\n recommendations: PropTypes.shape(CardsList.propTypes),\n moreSortAriaLabel: PropTypes.string,\n moreFilterAriaLabel: PropTypes.string,\n filterGroupAriaLabel: PropTypes.string\n};\n\nexport default SearchPage;\n"],"mappings":";;;;;;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,UAAU,GAAG,CAACC,KAAD,EAAQC,OAAR,KAAoB;EACrC,MAAM;IACJC,KADI;IAEJC,aAFI;IAGJC,KAHI;IAIJC,cAJI;IAKJC,YALI;IAMJC,eANI;IAOJC,iBAPI;IAQJC,mBARI;IASJC;EATI,IAUFV,KAVJ;EAYA,MAAM;IAACW;EAAD,IAASV,OAAf;EACA,MAAMW,YAAY,GAAG,qBAAM,SAAN,EAAiB,gBAAjB,EAAmCD,IAAnC,CAArB;EAEA,MAAME,mBAAmB,GAAG,uBAAQN,eAAR,IAA2B,IAA3B,gBAAkC,6BAAC,kBAAD,EAAeA,eAAf,CAA9D;EAEA,MAAMO,SAAS,GAAG,uBAAQV,KAAK,CAACW,IAAd,iBAChB,uDACE;IAAK,SAAS,EAAEC,cAAA,CA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,mBAAmB,EAAEiB,kBAAA,CAAUC,MARV;EASrBjB,oBAAoB,EAAEgB,kBAAA,CAAUC;AATX,CAAvB;eAYe5B,U"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-icons.d.ts","sourceRoot":"","sources":["../../src/util/button-icons.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"button-icons.d.ts","sourceRoot":"","sources":["../../src/util/button-icons.js"],"names":[],"mappings":"AAmBA;;;;;;;;;;;;;;;;;EAiBE"}
|
package/lib/util/button-icons.js
CHANGED
|
@@ -20,7 +20,8 @@ const ICONS = {
|
|
|
20
20
|
publish: _novaIcons.NovaSolidApplicationsWindowUpload3,
|
|
21
21
|
save: _novaIcons.NovaSolidComputersSdCard,
|
|
22
22
|
see: _novaIcons.NovaCompositionCoorpacademyEye,
|
|
23
|
-
folders: _novaIcons.NovaSolidFilesFoldersFolders
|
|
23
|
+
folders: _novaIcons.NovaSolidFilesFoldersFolders,
|
|
24
|
+
upload: _novaIcons.NovaSolidFilesBasicFileUpload2
|
|
24
25
|
};
|
|
25
26
|
exports.ICONS = ICONS;
|
|
26
27
|
//# sourceMappingURL=button-icons.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-icons.js","names":["ICONS","add","AddIcon","analytics","AnalyticsIcon","bin","BinIcon","BulletPointIcon","ChevronLeftIcon","ChevronRightIcon","close","CloseIcon","edit","EditIcon","key","KlfIcon","list","ListIcon","logout","LogoutIcon","publish","PublishIcon","save","SaveIcon","see","EyeIcon","folders","FoldersIcon"],"sources":["../../src/util/button-icons.js"],"sourcesContent":["import {\n NovaSolidRemoveAddAddCircle1 as AddIcon,\n NovaCompositionCoorpacademyAnalytics as AnalyticsIcon,\n NovaSolidContentEditionBin as BinIcon,\n NovaCompositionCoorpacademyBulletPoint as BulletPointIcon,\n NovaCompositionNavigationArrowLeft as ChevronLeftIcon,\n NovaCompositionNavigationArrowRight as ChevronRightIcon,\n NovaSolidStatusClose as CloseIcon,\n NovaSolidContentEditionPencilWrite as EditIcon,\n NovaCompositionCoorpacademyEye as EyeIcon,\n NovaSolidContentContentViewModule1 as ListIcon,\n NovaSolidLoginLogout1 as LogoutIcon,\n NovaSolidApplicationsWindowUpload3 as PublishIcon,\n NovaSolidComputersSdCard as SaveIcon,\n NovaLineLoginKey1 as KlfIcon,\n NovaSolidFilesFoldersFolders as FoldersIcon\n} from '@coorpacademy/nova-icons';\n\nexport const ICONS = {\n add: AddIcon,\n analytics: AnalyticsIcon,\n bin: BinIcon,\n 'bullet-point': BulletPointIcon,\n 'chevron-left': ChevronLeftIcon,\n 'chevron-right': ChevronRightIcon,\n close: CloseIcon,\n edit: EditIcon,\n key: KlfIcon,\n list: ListIcon,\n logout: LogoutIcon,\n publish: PublishIcon,\n save: SaveIcon,\n see: EyeIcon,\n folders: FoldersIcon\n};\n"],"mappings":";;;;;AAAA;;
|
|
1
|
+
{"version":3,"file":"button-icons.js","names":["ICONS","add","AddIcon","analytics","AnalyticsIcon","bin","BinIcon","BulletPointIcon","ChevronLeftIcon","ChevronRightIcon","close","CloseIcon","edit","EditIcon","key","KlfIcon","list","ListIcon","logout","LogoutIcon","publish","PublishIcon","save","SaveIcon","see","EyeIcon","folders","FoldersIcon","upload","UploadIcon"],"sources":["../../src/util/button-icons.js"],"sourcesContent":["import {\n NovaSolidRemoveAddAddCircle1 as AddIcon,\n NovaCompositionCoorpacademyAnalytics as AnalyticsIcon,\n NovaSolidContentEditionBin as BinIcon,\n NovaCompositionCoorpacademyBulletPoint as BulletPointIcon,\n NovaCompositionNavigationArrowLeft as ChevronLeftIcon,\n NovaCompositionNavigationArrowRight as ChevronRightIcon,\n NovaSolidStatusClose as CloseIcon,\n NovaSolidContentEditionPencilWrite as EditIcon,\n NovaCompositionCoorpacademyEye as EyeIcon,\n NovaSolidContentContentViewModule1 as ListIcon,\n NovaSolidLoginLogout1 as LogoutIcon,\n NovaSolidApplicationsWindowUpload3 as PublishIcon,\n NovaSolidComputersSdCard as SaveIcon,\n NovaLineLoginKey1 as KlfIcon,\n NovaSolidFilesFoldersFolders as FoldersIcon,\n NovaSolidFilesBasicFileUpload2 as UploadIcon\n} from '@coorpacademy/nova-icons';\n\nexport const ICONS = {\n add: AddIcon,\n analytics: AnalyticsIcon,\n bin: BinIcon,\n 'bullet-point': BulletPointIcon,\n 'chevron-left': ChevronLeftIcon,\n 'chevron-right': ChevronRightIcon,\n close: CloseIcon,\n edit: EditIcon,\n key: KlfIcon,\n list: ListIcon,\n logout: LogoutIcon,\n publish: PublishIcon,\n save: SaveIcon,\n see: EyeIcon,\n folders: FoldersIcon,\n upload: UploadIcon\n};\n"],"mappings":";;;;;AAAA;;AAmBO,MAAMA,KAAK,GAAG;EACnBC,GAAG,EAAEC,uCADc;EAEnBC,SAAS,EAAEC,+CAFQ;EAGnBC,GAAG,EAAEC,qCAHc;EAInB,gBAAgBC,iDAJG;EAKnB,gBAAgBC,6CALG;EAMnB,iBAAiBC,8CANE;EAOnBC,KAAK,EAAEC,+BAPY;EAQnBC,IAAI,EAAEC,6CARa;EASnBC,GAAG,EAAEC,4BATc;EAUnBC,IAAI,EAAEC,6CAVa;EAWnBC,MAAM,EAAEC,gCAXW;EAYnBC,OAAO,EAAEC,6CAZU;EAanBC,IAAI,EAAEC,mCAba;EAcnBC,GAAG,EAAEC,yCAdc;EAenBC,OAAO,EAAEC,uCAfU;EAgBnBC,MAAM,EAAEC;AAhBW,CAAd"}
|
package/locales/bs/global.json
CHANGED
|
@@ -76,5 +76,12 @@
|
|
|
76
76
|
"zuora_discount_code_submit": "Primijeni",
|
|
77
77
|
"zuora_discount_code": "Promotivni kod",
|
|
78
78
|
"mandatory_fields": "* Obavezna polja",
|
|
79
|
-
"something_went_wrong": "Oh Snap! Something went wrong."
|
|
79
|
+
"something_went_wrong": "Oh Snap! Something went wrong.",
|
|
80
|
+
"review_header_step_item": {
|
|
81
|
+
"aria_label": "Pitanje {{headerStepValue}}",
|
|
82
|
+
"current_question": "Pitanje {{headerStepValue}} je trenutno pitanje",
|
|
83
|
+
"correct_question": "Pitanje {{headerStepValue}} je tačno",
|
|
84
|
+
"incorrect_question": "Pitanje {{headerStepValue}} je netačno",
|
|
85
|
+
"not_answered_question": "Pitanje {{headerStepValue}} još nije odgovoreno"
|
|
86
|
+
}
|
|
80
87
|
}
|
package/locales/cs/global.json
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"Create a new cohort": "Create a new cohort",
|
|
21
21
|
"Delete": "Smazat",
|
|
22
22
|
"Draft": "Návrh",
|
|
23
|
+
"answer_the_question": "Odpovězte na otázku",
|
|
23
24
|
"Edit": "Upravit",
|
|
24
25
|
"external_content_article": "DOKUMENTY",
|
|
25
26
|
"external_content_scorm": "ANIMAČNÍ SOUBORY",
|
|
@@ -76,5 +77,12 @@
|
|
|
76
77
|
"zuora_discount_code_submit": "Použít",
|
|
77
78
|
"zuora_discount_code": "Propagační kód",
|
|
78
79
|
"mandatory_fields": "*Mandatory fields",
|
|
79
|
-
"something_went_wrong": "Oh Snap! Something went wrong."
|
|
80
|
+
"something_went_wrong": "Oh Snap! Something went wrong.",
|
|
81
|
+
"review_header_step_item": {
|
|
82
|
+
"aria_label": "Otázka {{headerStepValue}}",
|
|
83
|
+
"current_question": "Otázka {{headerStepValue}} je aktuální otázka",
|
|
84
|
+
"correct_question": "Otázka {{headerStepValue}} je správná",
|
|
85
|
+
"incorrect_question": "Otázka {{headerStepValue}} je nesprávná",
|
|
86
|
+
"not_answered_question": "Otázka {{headerStepValue}} zatím není zodpovězena"
|
|
87
|
+
}
|
|
80
88
|
}
|
package/locales/de/global.json
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"Create a new cohort": "Create a new cohort",
|
|
21
21
|
"Delete": "Löschen",
|
|
22
22
|
"Draft": "Entwurf",
|
|
23
|
+
"answer_the_question": "Beantworten Sie die Frage",
|
|
23
24
|
"Edit": "Bearbeiten",
|
|
24
25
|
"external_content_article": "DOKUMENTE",
|
|
25
26
|
"external_content_scorm": "ANIMIERTE RESSOURCEN",
|
|
@@ -76,5 +77,12 @@
|
|
|
76
77
|
"zuora_discount_code_submit": "Anwenden",
|
|
77
78
|
"zuora_discount_code": "Promo-Code",
|
|
78
79
|
"mandatory_fields": "*Mandatory fields",
|
|
79
|
-
"something_went_wrong": "Oh Snap! Something went wrong."
|
|
80
|
+
"something_went_wrong": "Oh Snap! Something went wrong.",
|
|
81
|
+
"review_header_step_item": {
|
|
82
|
+
"aria_label": "Frage {{headerStepValue}}",
|
|
83
|
+
"current_question": "Frage {{headerStepValue}} ist die aktuelle Frage",
|
|
84
|
+
"correct_question": "Frage {{headerStepValue}} ist richtig",
|
|
85
|
+
"incorrect_question": "Frage {{headerStepValue}} ist falsch",
|
|
86
|
+
"not_answered_question": "Frage {{headerStepValue}} ist noch nicht beantwortet"
|
|
87
|
+
}
|
|
80
88
|
}
|
package/locales/en/global.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"Create a new cohort": "Create a new cohort",
|
|
21
21
|
"Delete": "Delete",
|
|
22
22
|
"Draft": "Draft",
|
|
23
|
-
"
|
|
23
|
+
"answer_the_question": "Answer the question",
|
|
24
24
|
"Edit": "Edit",
|
|
25
25
|
"external_content_article": "DOCUMENTS",
|
|
26
26
|
"external_content_scorm": "ANIMATED RESOURCES",
|
package/locales/es/global.json
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"Create a new cohort": "Create a new cohort",
|
|
21
21
|
"Delete": "Borrar",
|
|
22
22
|
"Draft": "Sequía",
|
|
23
|
+
"answer_the_question": "Responda a la pregunta",
|
|
23
24
|
"Edit": "Editar",
|
|
24
25
|
"external_content_article": "DOCUMENTOS",
|
|
25
26
|
"external_content_scorm": "RECURSOS ANIMADOS",
|
|
@@ -76,5 +77,12 @@
|
|
|
76
77
|
"zuora_discount_code_submit": "Aplicar",
|
|
77
78
|
"zuora_discount_code": "Código promocional",
|
|
78
79
|
"mandatory_fields": "*Mandatory fields",
|
|
79
|
-
"something_went_wrong": "Oh Snap! Something went wrong."
|
|
80
|
+
"something_went_wrong": "Oh Snap! Something went wrong.",
|
|
81
|
+
"review_header_step_item": {
|
|
82
|
+
"aria_label": "Pregunta {{headerStepValue}}",
|
|
83
|
+
"current_question": "Pregunta {{headerStepValue}} es la pregunta actual",
|
|
84
|
+
"correct_question": "La pregunta {{headerStepValue}} es correcta",
|
|
85
|
+
"incorrect_question": "La pregunta {{headerStepValue}} es incorrecta",
|
|
86
|
+
"not_answered_question": "La pregunta {{headerStepValue}} aún no ha sido respondida"
|
|
87
|
+
}
|
|
80
88
|
}
|
package/locales/et/global.json
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"Create a new cohort": "Loo uus grupp",
|
|
21
21
|
"Delete": "Kustuta",
|
|
22
22
|
"Draft": "Mustand",
|
|
23
|
+
"answer_the_question": "Vastake küsimusele",
|
|
23
24
|
"Edit": "Muuda",
|
|
24
25
|
"external_content_article": "DOCUMENTS",
|
|
25
26
|
"external_content_scorm": "ANIMATED RESOURCES",
|
|
@@ -76,5 +77,12 @@
|
|
|
76
77
|
"zuora_discount_code_submit": "Rakenda",
|
|
77
78
|
"zuora_discount_code": "Promo code",
|
|
78
79
|
"mandatory_fields": "*Kohustuslikud väljad",
|
|
79
|
-
"something_went_wrong": "Oih! Midagi läks viltu."
|
|
80
|
+
"something_went_wrong": "Oih! Midagi läks viltu.",
|
|
81
|
+
"review_header_step_item": {
|
|
82
|
+
"aria_label": "Küsimus {{headerStepValue}}",
|
|
83
|
+
"current_question": "Küsimus {{headerStepValue}} on praegune küsimus",
|
|
84
|
+
"correct_question": "Küsimus {{headerStepValue}} on õige",
|
|
85
|
+
"incorrect_question": "Küsimus {{headerStepValue}} on vale",
|
|
86
|
+
"not_answered_question": "Küsimusele {{headerStepValue}} pole veel vastust"
|
|
87
|
+
}
|
|
80
88
|
}
|
package/locales/fr/global.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"Create a new cohort": "Créer une nouvelle cohorte",
|
|
21
21
|
"Delete": "Supprimer",
|
|
22
22
|
"Draft": "Brouillon",
|
|
23
|
-
"
|
|
23
|
+
"answer_the_question": "Répondez à la question",
|
|
24
24
|
"Edit": "Modifier",
|
|
25
25
|
"external_content_article": "DOCUMENTS",
|
|
26
26
|
"external_content_scorm": "RESSOURCES ANIMÉES",
|
package/locales/hr/global.json
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"Create a new cohort": "Stvorite novu skupinu",
|
|
21
21
|
"Delete": "Izbrišite",
|
|
22
22
|
"Draft": "Nacrt",
|
|
23
|
+
"answer_the_question": "Odgovorite na pitanje",
|
|
23
24
|
"Edit": "Uredite",
|
|
24
25
|
"external_content_article": "DOKUMENTI",
|
|
25
26
|
"external_content_scorm": "ANIMACIJE",
|
|
@@ -76,5 +77,12 @@
|
|
|
76
77
|
"zuora_discount_code_submit": "Prijavite se",
|
|
77
78
|
"zuora_discount_code": "Promotivni kod",
|
|
78
79
|
"mandatory_fields": "*Obavezna polja",
|
|
79
|
-
"something_went_wrong": "Ajoj! Nešto je otišlo ukrivo."
|
|
80
|
+
"something_went_wrong": "Ajoj! Nešto je otišlo ukrivo.",
|
|
81
|
+
"review_header_step_item": {
|
|
82
|
+
"aria_label": "Pitanje {{headerStepValue}}",
|
|
83
|
+
"current_question": "Pitanje {{headerStepValue}} je trenutno pitanje",
|
|
84
|
+
"correct_question": "Pitanje {{headerStepValue}} je točno",
|
|
85
|
+
"incorrect_question": "Pitanje {{headerStepValue}} je netočno",
|
|
86
|
+
"not_answered_question": "Na pitanje {{headerStepValue}} još nije odgovoreno"
|
|
87
|
+
}
|
|
80
88
|
}
|
package/locales/hu/global.json
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"Create a new cohort": "Create a new cohort",
|
|
21
21
|
"Delete": "Törlés",
|
|
22
22
|
"Draft": "vázlat",
|
|
23
|
+
"answer_the_question": "Kérdés megválaszolása",
|
|
23
24
|
"Edit": "Szerkesztés",
|
|
24
25
|
"external_content_article": "DOKUMENTUMOK",
|
|
25
26
|
"external_content_scorm": "ANIMÁLT FORRÁSOK",
|
|
@@ -76,5 +77,12 @@
|
|
|
76
77
|
"zuora_discount_code_submit": "Alkalmaz",
|
|
77
78
|
"zuora_discount_code": "Promóciókód",
|
|
78
79
|
"mandatory_fields": "*Mandatory fields",
|
|
79
|
-
"something_went_wrong": "Oh Snap! Something went wrong."
|
|
80
|
+
"something_went_wrong": "Oh Snap! Something went wrong.",
|
|
81
|
+
"review_header_step_item": {
|
|
82
|
+
"aria_label": "Kérdés {{headerStepValue}}",
|
|
83
|
+
"current_question": "Az {{headerStepValue}} kérdés az aktuális kérdés",
|
|
84
|
+
"correct_question": "Az {{headerStepValue}} kérdés helyes",
|
|
85
|
+
"incorrect_question": "Az {{headerStepValue}} kérdés helytelen",
|
|
86
|
+
"not_answered_question": "Az {{headerStepValue}} kérdésre még nincs válasz"
|
|
87
|
+
}
|
|
80
88
|
}
|
package/locales/hy/global.json
CHANGED
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
"Create a new cohort": "Ստեղծել նոր խումբ",
|
|
21
21
|
"Delete": "Ջնջել",
|
|
22
22
|
"Draft": "Նախագիծ",
|
|
23
|
-
"drop_down_icon": "Բացվող՝ հասանելի պատասխանների ցանկը բացելու համար",
|
|
24
23
|
"Edit": "Խմբագրել",
|
|
25
24
|
"external_content_article": "ՓԱՍՏԱԹՂԹԵՐ",
|
|
26
25
|
"external_content_scorm": "ԱՆԻՄԱՏ ՌԵՍՈՒՐՍՆԵՐ",
|
package/locales/it/global.json
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"Create a new cohort": "Create a new cohort",
|
|
21
21
|
"Delete": "Elimina",
|
|
22
22
|
"Draft": "Bozza",
|
|
23
|
+
"answer_the_question": "Rispondi alla domanda",
|
|
23
24
|
"Edit": "Modifica",
|
|
24
25
|
"external_content_article": "DOCUMENTI",
|
|
25
26
|
"external_content_scorm": "RISORSE ANIMATE",
|
|
@@ -76,5 +77,12 @@
|
|
|
76
77
|
"zuora_discount_code_submit": "Applica",
|
|
77
78
|
"zuora_discount_code": "Codice promozionale",
|
|
78
79
|
"mandatory_fields": "*Mandatory fields",
|
|
79
|
-
"something_went_wrong": "Oh Snap! Something went wrong."
|
|
80
|
+
"something_went_wrong": "Oh Snap! Something went wrong.",
|
|
81
|
+
"review_header_step_item": {
|
|
82
|
+
"aria_label": "Domanda {{headerStepValue}}",
|
|
83
|
+
"current_question": "La domanda {{headerStepValue}} è la domanda attuale",
|
|
84
|
+
"correct_question": "La domanda {{headerStepValue}} è corretta",
|
|
85
|
+
"incorrect_question": "La domanda {{headerStepValue}} non è corretta",
|
|
86
|
+
"not_answered_question": "La domanda {{headerStepValue}} non ha ancora ricevuto risposta"
|
|
87
|
+
}
|
|
80
88
|
}
|
package/locales/ja/global.json
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"Create a new cohort": "Create a new cohort",
|
|
21
21
|
"Delete": "削除",
|
|
22
22
|
"Draft": "ドラフト",
|
|
23
|
+
"answer_the_question": "質問に答える",
|
|
23
24
|
"Edit": "編集",
|
|
24
25
|
"external_content_article": "ドキュメント",
|
|
25
26
|
"external_content_scorm": "アニメーション化されたリソース",
|
|
@@ -76,5 +77,12 @@
|
|
|
76
77
|
"zuora_discount_code_submit": "適用",
|
|
77
78
|
"zuora_discount_code": "プロモーション コード",
|
|
78
79
|
"mandatory_fields": "*Mandatory fields",
|
|
79
|
-
"something_went_wrong": "Oh Snap! Something went wrong."
|
|
80
|
+
"something_went_wrong": "Oh Snap! Something went wrong.",
|
|
81
|
+
"review_header_step_item": {
|
|
82
|
+
"aria_label": "質問 {{headerStepValue}}",
|
|
83
|
+
"current_question": "質問 {{headerStepValue}} が現在の質問です",
|
|
84
|
+
"correct_question": "問題 {{headerStepValue}} は正解です",
|
|
85
|
+
"incorrect_question": "質問 {{headerStepValue}} は不正解です",
|
|
86
|
+
"not_answered_question": "質問 {{headerStepValue}} はまだ回答されていません"
|
|
87
|
+
}
|
|
80
88
|
}
|
package/locales/ko/global.json
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"Create a new cohort": "Create a new cohort",
|
|
21
21
|
"Delete": "삭제",
|
|
22
22
|
"Draft": "초안",
|
|
23
|
+
"answer_the_question": "질분에 답하세요",
|
|
23
24
|
"Edit": "수정",
|
|
24
25
|
"external_content_article": "문서",
|
|
25
26
|
"external_content_scorm": "애니메이션 리소스",
|
|
@@ -76,5 +77,12 @@
|
|
|
76
77
|
"zuora_discount_code_submit": "적용",
|
|
77
78
|
"zuora_discount_code": "프로모션 코드",
|
|
78
79
|
"mandatory_fields": "*Mandatory fields",
|
|
79
|
-
"something_went_wrong": "Oh Snap! Something went wrong."
|
|
80
|
+
"something_went_wrong": "Oh Snap! Something went wrong.",
|
|
81
|
+
"review_header_step_item": {
|
|
82
|
+
"aria_label": "질문 {{headerStepValue}}",
|
|
83
|
+
"current_question": "질문 {{headerStepValue}}이 현재 질문입니다.",
|
|
84
|
+
"correct_question": "질문 {{headerStepValue}}이 맞습니다.",
|
|
85
|
+
"incorrect_question": "질문 {{headerStepValue}}이 올바르지 않습니다.",
|
|
86
|
+
"not_answered_question": "질문 {{headerStepValue}}은 아직 답변되지 않았습니다."
|
|
87
|
+
}
|
|
80
88
|
}
|
package/locales/nl/global.json
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"Create a new cohort": "Create a new cohort",
|
|
21
21
|
"Delete": "Verwijderen",
|
|
22
22
|
"Draft": "Droogte",
|
|
23
|
+
"answer_the_question": "Beantwoord de vraag",
|
|
23
24
|
"Edit": "Bewerken",
|
|
24
25
|
"external_content_article": "DOCUMENTEN",
|
|
25
26
|
"external_content_scorm": "GEANIMEERDE BRONNEN",
|
|
@@ -76,5 +77,12 @@
|
|
|
76
77
|
"zuora_discount_code_submit": "Toepassen",
|
|
77
78
|
"zuora_discount_code": "Promo-code",
|
|
78
79
|
"mandatory_fields": "*Mandatory fields",
|
|
79
|
-
"something_went_wrong": "Oh Snap! Something went wrong."
|
|
80
|
+
"something_went_wrong": "Oh Snap! Something went wrong.",
|
|
81
|
+
"review_header_step_item": {
|
|
82
|
+
"aria_label": "Vraag {{headerStepValue}}",
|
|
83
|
+
"current_question": "Vraag {{headerStepValue}} is de huidige vraag",
|
|
84
|
+
"correct_question": "Vraag {{headerStepValue}} is juist",
|
|
85
|
+
"incorrect_question": "Vraag {{headerStepValue}} is onjuist",
|
|
86
|
+
"not_answered_question": "Vraag {{headerStepValue}} is nog niet beantwoord"
|
|
87
|
+
}
|
|
80
88
|
}
|
package/locales/pl/global.json
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"Create a new cohort": "Create a new cohort",
|
|
21
21
|
"Delete": "Usuń",
|
|
22
22
|
"Draft": "Wersja robocza",
|
|
23
|
+
"answer_the_question": "Odpowiedz na pytanie",
|
|
23
24
|
"Edit": "Edycja",
|
|
24
25
|
"external_content_article": "DOKUMENTY",
|
|
25
26
|
"external_content_scorm": "ANIMOWANE źRÓDŁA",
|
|
@@ -76,5 +77,12 @@
|
|
|
76
77
|
"zuora_discount_code_submit": "Zastosuj",
|
|
77
78
|
"zuora_discount_code": "Kod promocyjny",
|
|
78
79
|
"mandatory_fields": "*Mandatory fields",
|
|
79
|
-
"something_went_wrong": "Oh Snap! Something went wrong."
|
|
80
|
+
"something_went_wrong": "Oh Snap! Something went wrong.",
|
|
81
|
+
"review_header_step_item": {
|
|
82
|
+
"aria_label": "Pytanie {{headerStepValue}}",
|
|
83
|
+
"current_question": "Pytanie {{headerStepValue}} jest aktualnym pytaniem",
|
|
84
|
+
"correct_question": "Pytanie {{headerStepValue}} jest poprawne",
|
|
85
|
+
"incorrect_question": "Pytanie {{headerStepValue}} jest nieprawidłowe",
|
|
86
|
+
"not_answered_question": "Na pytanie {{headerStepValue}} nie ma jeszcze odpowiedzi"
|
|
87
|
+
}
|
|
80
88
|
}
|
package/locales/pt/global.json
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"Create a new cohort": "Create a new cohort",
|
|
21
21
|
"Delete": "Apagar",
|
|
22
22
|
"Draft": "Esboço, projeto",
|
|
23
|
+
"answer_the_question": "Responda à pergunta",
|
|
23
24
|
"Edit": "Editar",
|
|
24
25
|
"external_content_article": "DOCUMENTOS",
|
|
25
26
|
"external_content_scorm": "RECURSOS ANIMADOS",
|
|
@@ -76,5 +77,12 @@
|
|
|
76
77
|
"zuora_discount_code_submit": "Aplicar",
|
|
77
78
|
"zuora_discount_code": "Código da promoção",
|
|
78
79
|
"mandatory_fields": "*Mandatory fields",
|
|
79
|
-
"something_went_wrong": "Oh Snap! Something went wrong."
|
|
80
|
+
"something_went_wrong": "Oh Snap! Something went wrong.",
|
|
81
|
+
"review_header_step_item": {
|
|
82
|
+
"aria_label": "Pergunta {{headerStepValue}}",
|
|
83
|
+
"current_question": "A pergunta {{headerStepValue}} é a pergunta atual",
|
|
84
|
+
"correct_question": "A questão {{headerStepValue}} está correta",
|
|
85
|
+
"incorrect_question": "A pergunta {{headerStepValue}} está incorreta",
|
|
86
|
+
"not_answered_question": "A pergunta {{headerStepValue}} ainda não foi respondida"
|
|
87
|
+
}
|
|
80
88
|
}
|
package/locales/ro/global.json
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"Create a new cohort": "Create a new cohort",
|
|
21
21
|
"Delete": "Ștergere",
|
|
22
22
|
"Draft": "Proiect",
|
|
23
|
+
"answer_the_question": "Răspundeţi la întrebare",
|
|
23
24
|
"Edit": "Editare",
|
|
24
25
|
"external_content_article": "DOCUMENTE",
|
|
25
26
|
"external_content_scorm": "RESURSE ANIMATE",
|
|
@@ -76,5 +77,12 @@
|
|
|
76
77
|
"zuora_discount_code_submit": "Aplică",
|
|
77
78
|
"zuora_discount_code": "Cod promoțional",
|
|
78
79
|
"mandatory_fields": "*Mandatory fields",
|
|
79
|
-
"something_went_wrong": "Oh Snap! Something went wrong."
|
|
80
|
+
"something_went_wrong": "Oh Snap! Something went wrong.",
|
|
81
|
+
"review_header_step_item": {
|
|
82
|
+
"aria_label": "Întrebare {{headerStepValue}}",
|
|
83
|
+
"current_question": "Întrebarea {{headerStepValue}} este întrebarea curentă",
|
|
84
|
+
"correct_question": "Întrebarea {{headerStepValue}} este corectă",
|
|
85
|
+
"incorrect_question": "Întrebarea {{headerStepValue}} este incorectă",
|
|
86
|
+
"not_answered_question": "Întrebarea {{headerStepValue}} nu a primit încă răspuns"
|
|
87
|
+
}
|
|
80
88
|
}
|
package/locales/ru/global.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"Create a new cohort": "Создать новый сегмент",
|
|
21
21
|
"Delete": "Удалить",
|
|
22
22
|
"Draft": "Черновой вариант",
|
|
23
|
-
"
|
|
23
|
+
"answer_the_question": "Ответить на вопрос",
|
|
24
24
|
"Edit": "Редактировать",
|
|
25
25
|
"external_content_article": "ДОКУМЕНТЫ",
|
|
26
26
|
"external_content_scorm": "АНИМИРОВАННЫЕ РЕСУРСЫ",
|