@coorpacademy/components 11.6.0 → 11.7.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/review-presentation/index.native.js +1 -1
- package/es/atom/review-presentation/index.native.js.map +1 -1
- package/es/atom/select/index.d.ts.map +1 -1
- package/es/atom/select/index.js +48 -11
- 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 +1 -9
- package/es/molecule/answer/index.js.map +1 -1
- 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/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/review-header/index.native.d.ts.map +1 -1
- package/es/organism/review-header/index.native.js +8 -7
- package/es/organism/review-header/index.native.js.map +1 -1
- 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 +20 -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/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/review-presentation/index.native.js +1 -1
- package/lib/atom/review-presentation/index.native.js.map +1 -1
- package/lib/atom/select/index.d.ts.map +1 -1
- package/lib/atom/select/index.js +46 -9
- 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 +1 -10
- package/lib/molecule/answer/index.js.map +1 -1
- 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/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/review-header/index.native.d.ts.map +1 -1
- package/lib/organism/review-header/index.native.js +8 -7
- package/lib/organism/review-header/index.native.js.map +1 -1
- 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 +20 -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/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 +8 -1
- package/locales/de/global.json +8 -1
- package/locales/en/global.json +0 -1
- package/locales/es/global.json +8 -1
- package/locales/et/global.json +8 -1
- package/locales/fr/global.json +0 -1
- package/locales/hr/global.json +8 -1
- package/locales/hu/global.json +8 -1
- package/locales/hy/global.json +0 -1
- package/locales/it/global.json +8 -1
- package/locales/ja/global.json +8 -1
- package/locales/ko/global.json +8 -1
- package/locales/nl/global.json +8 -1
- package/locales/pl/global.json +8 -1
- package/locales/pt/global.json +8 -1
- package/locales/ro/global.json +8 -1
- package/locales/ru/global.json +0 -1
- package/locales/sk/global.json +8 -1
- package/locales/tl/global.json +8 -1
- package/locales/tr/global.json +8 -1
- package/locales/uk/global.json +8 -1
- package/locales/vi/global.json +8 -1
- package/locales/zh/global.json +8 -1
- package/locales/zh_TW/global.json +8 -1
- package/package.json +2 -2
- package/locales/.mtslconfig.json +0 -1
|
@@ -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;;AAC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AAA,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;;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,QA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AV,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;
|
|
@@ -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
|
@@ -76,5 +76,12 @@
|
|
|
76
76
|
"zuora_discount_code_submit": "Použít",
|
|
77
77
|
"zuora_discount_code": "Propagační kód",
|
|
78
78
|
"mandatory_fields": "*Mandatory fields",
|
|
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": "Otázka {{headerStepValue}}",
|
|
82
|
+
"current_question": "Otázka {{headerStepValue}} je aktuální otázka",
|
|
83
|
+
"correct_question": "Otázka {{headerStepValue}} je správná",
|
|
84
|
+
"incorrect_question": "Otázka {{headerStepValue}} je nesprávná",
|
|
85
|
+
"not_answered_question": "Otázka {{headerStepValue}} zatím není zodpovězena"
|
|
86
|
+
}
|
|
80
87
|
}
|
package/locales/de/global.json
CHANGED
|
@@ -76,5 +76,12 @@
|
|
|
76
76
|
"zuora_discount_code_submit": "Anwenden",
|
|
77
77
|
"zuora_discount_code": "Promo-Code",
|
|
78
78
|
"mandatory_fields": "*Mandatory fields",
|
|
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": "Frage {{headerStepValue}}",
|
|
82
|
+
"current_question": "Frage {{headerStepValue}} ist die aktuelle Frage",
|
|
83
|
+
"correct_question": "Frage {{headerStepValue}} ist richtig",
|
|
84
|
+
"incorrect_question": "Frage {{headerStepValue}} ist falsch",
|
|
85
|
+
"not_answered_question": "Frage {{headerStepValue}} ist noch nicht beantwortet"
|
|
86
|
+
}
|
|
80
87
|
}
|
package/locales/en/global.json
CHANGED
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
"Create a new cohort": "Create a new cohort",
|
|
21
21
|
"Delete": "Delete",
|
|
22
22
|
"Draft": "Draft",
|
|
23
|
-
"drop_down_icon": "Dropdown to open the list of available answers",
|
|
24
23
|
"Edit": "Edit",
|
|
25
24
|
"external_content_article": "DOCUMENTS",
|
|
26
25
|
"external_content_scorm": "ANIMATED RESOURCES",
|
package/locales/es/global.json
CHANGED
|
@@ -76,5 +76,12 @@
|
|
|
76
76
|
"zuora_discount_code_submit": "Aplicar",
|
|
77
77
|
"zuora_discount_code": "Código promocional",
|
|
78
78
|
"mandatory_fields": "*Mandatory fields",
|
|
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": "Pregunta {{headerStepValue}}",
|
|
82
|
+
"current_question": "Pregunta {{headerStepValue}} es la pregunta actual",
|
|
83
|
+
"correct_question": "La pregunta {{headerStepValue}} es correcta",
|
|
84
|
+
"incorrect_question": "La pregunta {{headerStepValue}} es incorrecta",
|
|
85
|
+
"not_answered_question": "La pregunta {{headerStepValue}} aún no ha sido respondida"
|
|
86
|
+
}
|
|
80
87
|
}
|
package/locales/et/global.json
CHANGED
|
@@ -76,5 +76,12 @@
|
|
|
76
76
|
"zuora_discount_code_submit": "Rakenda",
|
|
77
77
|
"zuora_discount_code": "Promo code",
|
|
78
78
|
"mandatory_fields": "*Kohustuslikud väljad",
|
|
79
|
-
"something_went_wrong": "Oih! Midagi läks viltu."
|
|
79
|
+
"something_went_wrong": "Oih! Midagi läks viltu.",
|
|
80
|
+
"review_header_step_item": {
|
|
81
|
+
"aria_label": "Küsimus {{headerStepValue}}",
|
|
82
|
+
"current_question": "Küsimus {{headerStepValue}} on praegune küsimus",
|
|
83
|
+
"correct_question": "Küsimus {{headerStepValue}} on õige",
|
|
84
|
+
"incorrect_question": "Küsimus {{headerStepValue}} on vale",
|
|
85
|
+
"not_answered_question": "Küsimusele {{headerStepValue}} pole veel vastust"
|
|
86
|
+
}
|
|
80
87
|
}
|
package/locales/fr/global.json
CHANGED
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
"Create a new cohort": "Créer une nouvelle cohorte",
|
|
21
21
|
"Delete": "Supprimer",
|
|
22
22
|
"Draft": "Brouillon",
|
|
23
|
-
"drop_down_icon": "Liste déroulante pour ouvrir la liste des réponses disponibles",
|
|
24
23
|
"Edit": "Modifier",
|
|
25
24
|
"external_content_article": "DOCUMENTS",
|
|
26
25
|
"external_content_scorm": "RESSOURCES ANIMÉES",
|
package/locales/hr/global.json
CHANGED
|
@@ -76,5 +76,12 @@
|
|
|
76
76
|
"zuora_discount_code_submit": "Prijavite se",
|
|
77
77
|
"zuora_discount_code": "Promotivni kod",
|
|
78
78
|
"mandatory_fields": "*Obavezna polja",
|
|
79
|
-
"something_went_wrong": "Ajoj! Nešto je otišlo ukrivo."
|
|
79
|
+
"something_went_wrong": "Ajoj! Nešto je otišlo ukrivo.",
|
|
80
|
+
"review_header_step_item": {
|
|
81
|
+
"aria_label": "Pitanje {{headerStepValue}}",
|
|
82
|
+
"current_question": "Pitanje {{headerStepValue}} je trenutno pitanje",
|
|
83
|
+
"correct_question": "Pitanje {{headerStepValue}} je točno",
|
|
84
|
+
"incorrect_question": "Pitanje {{headerStepValue}} je netočno",
|
|
85
|
+
"not_answered_question": "Na pitanje {{headerStepValue}} još nije odgovoreno"
|
|
86
|
+
}
|
|
80
87
|
}
|
package/locales/hu/global.json
CHANGED
|
@@ -76,5 +76,12 @@
|
|
|
76
76
|
"zuora_discount_code_submit": "Alkalmaz",
|
|
77
77
|
"zuora_discount_code": "Promóciókód",
|
|
78
78
|
"mandatory_fields": "*Mandatory fields",
|
|
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": "Kérdés {{headerStepValue}}",
|
|
82
|
+
"current_question": "Az {{headerStepValue}} kérdés az aktuális kérdés",
|
|
83
|
+
"correct_question": "Az {{headerStepValue}} kérdés helyes",
|
|
84
|
+
"incorrect_question": "Az {{headerStepValue}} kérdés helytelen",
|
|
85
|
+
"not_answered_question": "Az {{headerStepValue}} kérdésre még nincs válasz"
|
|
86
|
+
}
|
|
80
87
|
}
|
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
|
@@ -76,5 +76,12 @@
|
|
|
76
76
|
"zuora_discount_code_submit": "Applica",
|
|
77
77
|
"zuora_discount_code": "Codice promozionale",
|
|
78
78
|
"mandatory_fields": "*Mandatory fields",
|
|
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": "Domanda {{headerStepValue}}",
|
|
82
|
+
"current_question": "La domanda {{headerStepValue}} è la domanda attuale",
|
|
83
|
+
"correct_question": "La domanda {{headerStepValue}} è corretta",
|
|
84
|
+
"incorrect_question": "La domanda {{headerStepValue}} non è corretta",
|
|
85
|
+
"not_answered_question": "La domanda {{headerStepValue}} non ha ancora ricevuto risposta"
|
|
86
|
+
}
|
|
80
87
|
}
|
package/locales/ja/global.json
CHANGED
|
@@ -76,5 +76,12 @@
|
|
|
76
76
|
"zuora_discount_code_submit": "適用",
|
|
77
77
|
"zuora_discount_code": "プロモーション コード",
|
|
78
78
|
"mandatory_fields": "*Mandatory fields",
|
|
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": "質問 {{headerStepValue}}",
|
|
82
|
+
"current_question": "質問 {{headerStepValue}} が現在の質問です",
|
|
83
|
+
"correct_question": "問題 {{headerStepValue}} は正解です",
|
|
84
|
+
"incorrect_question": "質問 {{headerStepValue}} は不正解です",
|
|
85
|
+
"not_answered_question": "質問 {{headerStepValue}} はまだ回答されていません"
|
|
86
|
+
}
|
|
80
87
|
}
|
package/locales/ko/global.json
CHANGED
|
@@ -76,5 +76,12 @@
|
|
|
76
76
|
"zuora_discount_code_submit": "적용",
|
|
77
77
|
"zuora_discount_code": "프로모션 코드",
|
|
78
78
|
"mandatory_fields": "*Mandatory fields",
|
|
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": "질문 {{headerStepValue}}",
|
|
82
|
+
"current_question": "질문 {{headerStepValue}}이 현재 질문입니다.",
|
|
83
|
+
"correct_question": "질문 {{headerStepValue}}이 맞습니다.",
|
|
84
|
+
"incorrect_question": "질문 {{headerStepValue}}이 올바르지 않습니다.",
|
|
85
|
+
"not_answered_question": "질문 {{headerStepValue}}은 아직 답변되지 않았습니다."
|
|
86
|
+
}
|
|
80
87
|
}
|
package/locales/nl/global.json
CHANGED
|
@@ -76,5 +76,12 @@
|
|
|
76
76
|
"zuora_discount_code_submit": "Toepassen",
|
|
77
77
|
"zuora_discount_code": "Promo-code",
|
|
78
78
|
"mandatory_fields": "*Mandatory fields",
|
|
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": "Vraag {{headerStepValue}}",
|
|
82
|
+
"current_question": "Vraag {{headerStepValue}} is de huidige vraag",
|
|
83
|
+
"correct_question": "Vraag {{headerStepValue}} is juist",
|
|
84
|
+
"incorrect_question": "Vraag {{headerStepValue}} is onjuist",
|
|
85
|
+
"not_answered_question": "Vraag {{headerStepValue}} is nog niet beantwoord"
|
|
86
|
+
}
|
|
80
87
|
}
|
package/locales/pl/global.json
CHANGED
|
@@ -76,5 +76,12 @@
|
|
|
76
76
|
"zuora_discount_code_submit": "Zastosuj",
|
|
77
77
|
"zuora_discount_code": "Kod promocyjny",
|
|
78
78
|
"mandatory_fields": "*Mandatory fields",
|
|
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": "Pytanie {{headerStepValue}}",
|
|
82
|
+
"current_question": "Pytanie {{headerStepValue}} jest aktualnym pytaniem",
|
|
83
|
+
"correct_question": "Pytanie {{headerStepValue}} jest poprawne",
|
|
84
|
+
"incorrect_question": "Pytanie {{headerStepValue}} jest nieprawidłowe",
|
|
85
|
+
"not_answered_question": "Na pytanie {{headerStepValue}} nie ma jeszcze odpowiedzi"
|
|
86
|
+
}
|
|
80
87
|
}
|
package/locales/pt/global.json
CHANGED
|
@@ -76,5 +76,12 @@
|
|
|
76
76
|
"zuora_discount_code_submit": "Aplicar",
|
|
77
77
|
"zuora_discount_code": "Código da promoção",
|
|
78
78
|
"mandatory_fields": "*Mandatory fields",
|
|
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": "Pergunta {{headerStepValue}}",
|
|
82
|
+
"current_question": "A pergunta {{headerStepValue}} é a pergunta atual",
|
|
83
|
+
"correct_question": "A questão {{headerStepValue}} está correta",
|
|
84
|
+
"incorrect_question": "A pergunta {{headerStepValue}} está incorreta",
|
|
85
|
+
"not_answered_question": "A pergunta {{headerStepValue}} ainda não foi respondida"
|
|
86
|
+
}
|
|
80
87
|
}
|
package/locales/ro/global.json
CHANGED
|
@@ -76,5 +76,12 @@
|
|
|
76
76
|
"zuora_discount_code_submit": "Aplică",
|
|
77
77
|
"zuora_discount_code": "Cod promoțional",
|
|
78
78
|
"mandatory_fields": "*Mandatory fields",
|
|
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": "Întrebare {{headerStepValue}}",
|
|
82
|
+
"current_question": "Întrebarea {{headerStepValue}} este întrebarea curentă",
|
|
83
|
+
"correct_question": "Întrebarea {{headerStepValue}} este corectă",
|
|
84
|
+
"incorrect_question": "Întrebarea {{headerStepValue}} este incorectă",
|
|
85
|
+
"not_answered_question": "Întrebarea {{headerStepValue}} nu a primit încă răspuns"
|
|
86
|
+
}
|
|
80
87
|
}
|
package/locales/ru/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/sk/global.json
CHANGED
|
@@ -76,5 +76,12 @@
|
|
|
76
76
|
"zuora_discount_code_submit": "Aplikovať",
|
|
77
77
|
"zuora_discount_code": "Promo kód",
|
|
78
78
|
"mandatory_fields": "*Povinné polia",
|
|
79
|
-
"something_went_wrong": "Och! Niečo sa pokazilo."
|
|
79
|
+
"something_went_wrong": "Och! Niečo sa pokazilo.",
|
|
80
|
+
"review_header_step_item": {
|
|
81
|
+
"aria_label": "Otázka {{headerStepValue}}",
|
|
82
|
+
"current_question": "Otázka {{headerStepValue}} je aktuálna otázka",
|
|
83
|
+
"correct_question": "Otázka {{headerStepValue}} je správna",
|
|
84
|
+
"incorrect_question": "Otázka {{headerStepValue}} je nesprávna",
|
|
85
|
+
"not_answered_question": "Otázka {{headerStepValue}} zatiaľ nie je zodpovedaná"
|
|
86
|
+
}
|
|
80
87
|
}
|
package/locales/tl/global.json
CHANGED
|
@@ -76,5 +76,12 @@
|
|
|
76
76
|
"zuora_discount_code_submit": "Mag-apply",
|
|
77
77
|
"zuora_discount_code": "Promo code",
|
|
78
78
|
"mandatory_fields": "* Mga patlang na ipinag-uutos",
|
|
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": "Tanong {{headerStepValue}}",
|
|
82
|
+
"current_question": "Tanong {{headerStepValue}} ang kasalukuyang tanong",
|
|
83
|
+
"correct_question": "Tama ang tanong na {{headerStepValue}}",
|
|
84
|
+
"incorrect_question": "Ang tanong na {{headerStepValue}} ay hindi tama",
|
|
85
|
+
"not_answered_question": "Ang tanong na {{headerStepValue}} ay hindi pa nasasagot"
|
|
86
|
+
}
|
|
80
87
|
}
|
package/locales/tr/global.json
CHANGED
|
@@ -76,5 +76,12 @@
|
|
|
76
76
|
"zuora_discount_code_submit": "Uygula",
|
|
77
77
|
"zuora_discount_code": "Promosyon kodu",
|
|
78
78
|
"mandatory_fields": "*Mandatory fields",
|
|
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": "Soru {{headerStepValue}}",
|
|
82
|
+
"current_question": "Soru {{headerStepValue}} şu anki soru",
|
|
83
|
+
"correct_question": "{{headerStepValue}} sorusu doğru",
|
|
84
|
+
"incorrect_question": "{{headerStepValue}} sorusu yanlış",
|
|
85
|
+
"not_answered_question": "{{headerStepValue}} sorusu henüz cevaplanmadı"
|
|
86
|
+
}
|
|
80
87
|
}
|
package/locales/uk/global.json
CHANGED
|
@@ -76,5 +76,12 @@
|
|
|
76
76
|
"zuora_discount_code_submit": "Застосувати",
|
|
77
77
|
"zuora_discount_code": "Промокод",
|
|
78
78
|
"mandatory_fields": "*Mandatory fields",
|
|
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": "Питання {{headerStepValue}}",
|
|
82
|
+
"current_question": "Питання {{headerStepValue}} є поточним питанням",
|
|
83
|
+
"correct_question": "Питання {{headerStepValue}} правильне",
|
|
84
|
+
"incorrect_question": "Питання {{headerStepValue}} некоректне",
|
|
85
|
+
"not_answered_question": "На запитання {{headerStepValue}} ще немає відповіді"
|
|
86
|
+
}
|
|
80
87
|
}
|
package/locales/vi/global.json
CHANGED
|
@@ -76,5 +76,12 @@
|
|
|
76
76
|
"zuora_discount_code_submit": "Áp dụng",
|
|
77
77
|
"zuora_discount_code": "Mã khuyến mại",
|
|
78
78
|
"mandatory_fields": "*Mandatory fields",
|
|
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": "Câu hỏi {{headerStepValue}}",
|
|
82
|
+
"current_question": "Câu hỏi {{headerStepValue}} là câu hỏi hiện tại",
|
|
83
|
+
"correct_question": "Câu {{headerStepValue}} đúng không",
|
|
84
|
+
"incorrect_question": "Câu {{headerStepValue}} sai",
|
|
85
|
+
"not_answered_question": "Câu hỏi {{headerStepValue}} chưa có câu trả lời"
|
|
86
|
+
}
|
|
80
87
|
}
|
package/locales/zh/global.json
CHANGED
|
@@ -76,5 +76,12 @@
|
|
|
76
76
|
"zuora_discount_code_submit": "应用",
|
|
77
77
|
"zuora_discount_code": "促销码",
|
|
78
78
|
"mandatory_fields": "*Mandatory fields",
|
|
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": "问题{{headerStepValue}}",
|
|
82
|
+
"current_question": "问题 {{headerStepValue}} 是当前问题",
|
|
83
|
+
"correct_question": "问题{{headerStepValue}}是正确的",
|
|
84
|
+
"incorrect_question": "问题 {{headerStepValue}} 不正确",
|
|
85
|
+
"not_answered_question": "问题 {{headerStepValue}} 尚未回答"
|
|
86
|
+
}
|
|
80
87
|
}
|
|
@@ -76,5 +76,12 @@
|
|
|
76
76
|
"zuora_discount_code_submit": "應用",
|
|
77
77
|
"zuora_discount_code": "優惠代碼",
|
|
78
78
|
"mandatory_fields": "*Mandatory fields",
|
|
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": "問題{{headerStepValue}}",
|
|
82
|
+
"current_question": "問題 {{headerStepValue}} 是當前問題",
|
|
83
|
+
"correct_question": "問題{{headerStepValue}}是正確的",
|
|
84
|
+
"incorrect_question": "問題 {{headerStepValue}} 不正確",
|
|
85
|
+
"not_answered_question": "問題 {{headerStepValue}} 尚未回答"
|
|
86
|
+
}
|
|
80
87
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coorpacademy/components",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.7.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -160,5 +160,5 @@
|
|
|
160
160
|
"last 2 versions",
|
|
161
161
|
"IE 11"
|
|
162
162
|
],
|
|
163
|
-
"gitHead": "
|
|
163
|
+
"gitHead": "eb82d50689b9018562300e8c8cdcd7435e549808"
|
|
164
164
|
}
|
package/locales/.mtslconfig.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ignore_dirs":[]}
|