@coorpacademy/components 11.32.45 → 11.32.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/atom/button-link/index.d.ts.map +1 -1
- package/es/atom/button-link/index.js +12 -6
- package/es/atom/button-link/index.js.map +1 -1
- package/es/atom/button-link-icon/index.js +2 -2
- package/es/atom/button-link-icon/index.js.map +1 -1
- package/es/atom/input-file-draggable/index.js +2 -2
- package/es/atom/input-file-draggable/index.js.map +1 -1
- package/es/atom/link/index.d.ts +1 -1
- package/es/atom/link/index.d.ts.map +1 -1
- package/es/atom/link/index.js +33 -41
- package/es/atom/link/index.js.map +1 -1
- package/es/molecule/banner/index.js +3 -3
- package/es/molecule/banner/index.js.map +1 -1
- package/es/molecule/certification-card/index.d.ts +4 -0
- package/es/molecule/certification-card/index.d.ts.map +1 -1
- package/es/molecule/certification-card/index.js +14 -10
- package/es/molecule/certification-card/index.js.map +1 -1
- package/es/molecule/cm-popin/types.d.ts +1 -1
- package/es/molecule/progress-wrapper/index.d.ts.map +1 -1
- package/es/molecule/progress-wrapper/index.js +22 -12
- package/es/molecule/progress-wrapper/index.js.map +1 -1
- package/es/organism/accordion/coorp-manager/part/index.d.ts.map +1 -1
- package/es/organism/accordion/coorp-manager/part/index.js +3 -1
- package/es/organism/accordion/coorp-manager/part/index.js.map +1 -1
- package/es/organism/list-item/index.js +1 -1
- package/es/organism/list-item/index.js.map +1 -1
- package/es/organism/mooc-header/index.d.ts.map +1 -1
- package/es/organism/mooc-header/index.js +3 -3
- package/es/organism/mooc-header/index.js.map +1 -1
- package/es/organism/sidebar/index.d.ts +28 -3
- package/es/organism/sidebar/index.d.ts.map +1 -1
- package/es/organism/sidebar/index.js +7 -3
- package/es/organism/sidebar/index.js.map +1 -1
- package/es/template/app-player/loading/index.d.ts +1 -1
- package/es/template/app-player/player/index.d.ts +2 -2
- package/es/template/app-player/player/slides/index.d.ts +1 -1
- package/es/template/app-player/popin-correction/index.d.ts +3 -3
- package/es/template/app-player/popin-end/index.d.ts +2 -2
- package/es/template/app-player/popin-end/summary.d.ts +1 -1
- package/es/template/app-player/popin-header/index.d.ts +1 -1
- package/es/template/app-review/index.d.ts +1 -1
- package/es/template/app-review/player/prop-types.d.ts +1 -1
- package/es/template/app-review/prop-types.d.ts +1 -1
- package/es/template/back-office/brand-update/index.d.ts +1 -1
- package/es/template/certification-detail/index.d.ts +1 -0
- package/es/template/certification-detail/index.d.ts.map +1 -1
- package/es/template/certification-detail/index.js +3 -1
- package/es/template/certification-detail/index.js.map +1 -1
- package/es/template/certifications/index.d.ts +9 -0
- package/es/template/certifications/index.d.ts.map +1 -1
- package/es/template/certifications/index.js +34 -12
- package/es/template/certifications/index.js.map +1 -1
- package/es/template/common/dashboard/index.d.ts +2 -2
- package/es/template/common/search-page/index.d.ts +1 -1
- package/es/template/external-course/index.d.ts +1 -1
- package/es/template/skill-detail/index.d.ts +1 -1
- package/es/template/skill-detail/index.d.ts.map +1 -1
- package/es/template/skill-detail/index.js +5 -5
- package/es/template/skill-detail/index.js.map +1 -1
- package/es/variables/colors.d.ts +2 -0
- package/es/variables/colors.d.ts.map +1 -1
- package/es/variables/colors.js +3 -1
- package/es/variables/colors.js.map +1 -1
- package/lib/atom/button-link/index.d.ts.map +1 -1
- package/lib/atom/button-link/index.js +12 -6
- package/lib/atom/button-link/index.js.map +1 -1
- package/lib/atom/button-link-icon/index.js +2 -2
- package/lib/atom/button-link-icon/index.js.map +1 -1
- package/lib/atom/input-file-draggable/index.js.map +1 -1
- package/lib/atom/link/index.d.ts +1 -1
- package/lib/atom/link/index.d.ts.map +1 -1
- package/lib/atom/link/index.js +33 -42
- package/lib/atom/link/index.js.map +1 -1
- package/lib/molecule/banner/index.js.map +1 -1
- package/lib/molecule/certification-card/index.d.ts +4 -0
- package/lib/molecule/certification-card/index.d.ts.map +1 -1
- package/lib/molecule/certification-card/index.js +14 -10
- package/lib/molecule/certification-card/index.js.map +1 -1
- package/lib/molecule/cm-popin/types.d.ts +1 -1
- package/lib/molecule/progress-wrapper/index.d.ts.map +1 -1
- package/lib/molecule/progress-wrapper/index.js +26 -13
- package/lib/molecule/progress-wrapper/index.js.map +1 -1
- package/lib/organism/accordion/coorp-manager/part/index.d.ts.map +1 -1
- package/lib/organism/accordion/coorp-manager/part/index.js +5 -1
- package/lib/organism/accordion/coorp-manager/part/index.js.map +1 -1
- package/lib/organism/list-item/index.js +2 -2
- package/lib/organism/list-item/index.js.map +1 -1
- package/lib/organism/mooc-header/index.d.ts.map +1 -1
- package/lib/organism/mooc-header/index.js +4 -3
- package/lib/organism/mooc-header/index.js.map +1 -1
- package/lib/organism/sidebar/index.d.ts +28 -3
- package/lib/organism/sidebar/index.d.ts.map +1 -1
- package/lib/organism/sidebar/index.js +7 -3
- package/lib/organism/sidebar/index.js.map +1 -1
- package/lib/template/app-player/loading/index.d.ts +1 -1
- package/lib/template/app-player/player/index.d.ts +2 -2
- package/lib/template/app-player/player/slides/index.d.ts +1 -1
- package/lib/template/app-player/popin-correction/index.d.ts +3 -3
- package/lib/template/app-player/popin-end/index.d.ts +2 -2
- package/lib/template/app-player/popin-end/summary.d.ts +1 -1
- package/lib/template/app-player/popin-header/index.d.ts +1 -1
- package/lib/template/app-review/index.d.ts +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +1 -1
- package/lib/template/app-review/prop-types.d.ts +1 -1
- package/lib/template/back-office/brand-update/index.d.ts +1 -1
- package/lib/template/certification-detail/index.d.ts +1 -0
- package/lib/template/certification-detail/index.d.ts.map +1 -1
- package/lib/template/certification-detail/index.js +3 -1
- package/lib/template/certification-detail/index.js.map +1 -1
- package/lib/template/certifications/index.d.ts +9 -0
- package/lib/template/certifications/index.d.ts.map +1 -1
- package/lib/template/certifications/index.js +36 -14
- package/lib/template/certifications/index.js.map +1 -1
- package/lib/template/common/dashboard/index.d.ts +2 -2
- package/lib/template/common/search-page/index.d.ts +1 -1
- package/lib/template/external-course/index.d.ts +1 -1
- package/lib/template/skill-detail/index.d.ts +1 -1
- package/lib/template/skill-detail/index.d.ts.map +1 -1
- package/lib/template/skill-detail/index.js +5 -5
- package/lib/template/skill-detail/index.js.map +1 -1
- package/lib/variables/colors.d.ts +2 -0
- package/lib/variables/colors.d.ts.map +1 -1
- package/lib/variables/colors.js +3 -1
- package/lib/variables/colors.js.map +1 -1
- package/locales/bs/global.json +1 -1
- package/locales/cs/global.json +1 -1
- package/locales/de/global.json +1 -1
- package/locales/en/global.json +1 -1
- package/locales/es/global.json +1 -1
- package/locales/et/global.json +1 -1
- package/locales/fi/global.json +1 -1
- package/locales/fr/global.json +1 -1
- package/locales/hr/global.json +1 -1
- package/locales/hu/global.json +1 -1
- package/locales/hy/global.json +1 -1
- package/locales/it/global.json +1 -1
- package/locales/ja/global.json +1 -1
- package/locales/ko/global.json +1 -1
- package/locales/nl/global.json +1 -1
- package/locales/pl/global.json +1 -1
- package/locales/pt/global.json +1 -1
- package/locales/ro/global.json +1 -1
- package/locales/ru/global.json +1 -1
- package/locales/sk/global.json +1 -1
- package/locales/sl/global.json +1 -1
- package/locales/sv/global.json +1 -1
- package/locales/tl/global.json +1 -1
- package/locales/tr/global.json +1 -1
- package/locales/uk/global.json +1 -1
- package/locales/vi/global.json +1 -1
- package/locales/zh/global.json +1 -1
- package/locales/zh_TW/global.json +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["NEUTRAL_COLOR","InputTextItem","props","title","placeholder","value","onChange","disabled","name","index","uppercase","handleOnChange","useMemo","e","target","style","selectItem","classnames","selectTitle","input","propTypes","PropTypes","number","string","isRequired","bool","func","SelectItem","options","arrayOf","shape","selected","MultiSelectItem","LinkItem","href","color","onClick","styles","children","setChildrenAsHtml","activeIcon","handleOnClick","classNames","linkItem","innerHTML","itemWithoutIcon","borderStyle","borderLeftColor","textDecoration","__html","IconLinkItem","icon","TitleItem","titleItem","titleItemTitle","ButtonItem","neutralColor","cta","backgroundColor","button","rectangular","fullWidth","secondary","submitValue","buttonItem","oneOfType","Cta","InfoItem","color_","infoItem","infoItemTitle","infoItemContent","SidebarItem","item","type","oneOf","SidebarItems","items","sectionItems","map","Sidebar","context","sections","Array","isArray","skin","defaultColor","sidebar","sidebarSection","idx","sidebarPart","contextTypes","Provider","childContextTypes"],"sources":["../../../src/organism/sidebar/index.js"],"sourcesContent":["import React, {useMemo} from 'react';\nimport classnames from 'classnames';\nimport PropTypes from 'prop-types';\nimport {noop, getOr, defaults} from 'lodash/fp';\nimport {\n NovaCompositionCoorpacademyOpenInNewTab,\n NovaSolidStatusCheckCircle2 as ActiveIcon\n} from '@coorpacademy/nova-icons';\n\nimport Link from '../../atom/link';\nimport Button from '../../atom/button';\nimport Provider from '../../atom/provider';\nimport Select from '../../atom/select';\nimport Cta from '../../atom/cta';\nimport SelectMultiple from '../../molecule/select-multiple';\nimport style from './style.css';\n\nconst NEUTRAL_COLOR = '#607D8B';\n\nexport const InputTextItem = props => {\n const {\n title,\n placeholder = '',\n value,\n onChange = noop,\n disabled,\n name,\n index,\n uppercase = true\n } = props;\n const handleOnChange = useMemo(() => e => onChange(e.target.value), [onChange]);\n return (\n <li data-name={name || `inputtext-item-${index}`} className={style.selectItem}>\n <div className={classnames(style.selectTitle, {[style.uppercase]: uppercase})}>{title}</div>\n <input\n type=\"text\"\n name={title}\n className={style.input}\n placeholder={placeholder}\n value={value}\n disabled={disabled}\n onChange={handleOnChange}\n />\n </li>\n );\n};\n\nInputTextItem.propTypes = {\n index: PropTypes.number,\n title: PropTypes.string.isRequired,\n name: PropTypes.string,\n disabled: PropTypes.bool,\n value: PropTypes.string.isRequired,\n placeholder: PropTypes.string,\n onChange: PropTypes.func,\n uppercase: PropTypes.bool\n};\n\nexport const SelectItem = ({name, index, onChange, title, options, uppercase = true}) => {\n return (\n <li data-name={name || `select-item-${index}`} className={style.selectItem}>\n <div className={classnames(style.selectTitle, {[style.uppercase]: uppercase})}>{title}</div>\n <Select title={title} onChange={onChange} theme=\"header\" options={options} />\n </li>\n );\n};\n\nSelectItem.propTypes = {\n index: PropTypes.number,\n title: PropTypes.string.isRequired,\n name: PropTypes.string,\n options: PropTypes.arrayOf(\n PropTypes.shape({\n name: PropTypes.string.isRequired,\n value: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired\n })\n ).isRequired,\n onChange: PropTypes.func,\n uppercase: PropTypes.bool\n};\n\nexport const MultiSelectItem = ({name, index, onChange, title, options, uppercase = true}) => {\n return (\n <li data-name={name || `select-item-${index}`} className={style.selectItem}>\n <div className={classnames(style.selectTitle, {[style.uppercase]: uppercase})}>{title}</div>\n <SelectMultiple theme=\"sidebar\" onChange={onChange} options={options} />\n </li>\n );\n};\n\nMultiSelectItem.propTypes = SelectItem.propTypes;\n\nexport const LinkItem = ({\n href,\n index,\n name,\n selected,\n color,\n title,\n onClick,\n uppercase = true,\n styles,\n children,\n setChildrenAsHtml = true,\n target = '_self',\n activeIcon = false\n}) => {\n const handleOnClick = useMemo(\n () => e => {\n onClick && onClick(e);\n },\n [onClick]\n );\n\n const classNames = classnames(\n style.linkItem,\n style.innerHTML,\n {[style.uppercase]: uppercase},\n styles,\n !activeIcon && setChildrenAsHtml ? style.itemWithoutIcon : null\n );\n const borderStyle = {borderLeftColor: selected ? color : null};\n\n return (\n <Link\n target={target}\n onClick={handleOnClick}\n skinHover\n href={href}\n data-name={name || `link-item-${index}`}\n style={{\n textDecoration: 'none',\n color: selected ? color : NEUTRAL_COLOR\n }}\n >\n {setChildrenAsHtml ? (\n <li\n className={classNames}\n style={borderStyle}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: title}}\n />\n ) : (\n <li className={classNames} style={borderStyle}>\n {activeIcon ? <ActiveIcon className={style.activeIcon} /> : null}\n {title}\n {children}\n </li>\n )}\n </Link>\n );\n};\n\nLinkItem.propTypes = {\n index: PropTypes.number,\n title: PropTypes.string.isRequired,\n selected: PropTypes.bool,\n name: PropTypes.string,\n href: PropTypes.string,\n color: PropTypes.string,\n onClick: PropTypes.func,\n uppercase: PropTypes.bool,\n setChildrenAsHtml: PropTypes.bool,\n target: PropTypes.string,\n activeIcon: PropTypes.bool\n};\n\nexport const IconLinkItem = ({\n index,\n name = `button-link-item-${index}`,\n onClick,\n uppercase = true,\n ...props\n}) => {\n const handleOnClick = useMemo(\n () => e => {\n onClick && onClick(e);\n },\n [onClick]\n );\n return (\n <LinkItem\n {...props}\n setChildrenAsHtml={false}\n onClick={handleOnClick}\n name={name}\n uppercase={uppercase}\n index={index}\n >\n <NovaCompositionCoorpacademyOpenInNewTab className={style.icon} />\n </LinkItem>\n );\n};\n\nIconLinkItem.propTypes = LinkItem.propTypes;\n\nexport const TitleItem = ({name, index, title, uppercase}) => {\n return (\n <ul data-name={name || `item-title-${index}`} className={style.titleItem}>\n <li className={classnames(style.titleItemTitle, {[style.uppercase]: uppercase})}>{title}</li>\n </ul>\n );\n};\n\nTitleItem.propTypes = {\n index: PropTypes.number,\n title: PropTypes.string.isRequired,\n name: PropTypes.string,\n uppercase: PropTypes.bool\n};\n\nexport const ButtonItem = ({\n index,\n onClick,\n color,\n neutralColor,\n name,\n href,\n title,\n cta,\n uppercase\n}) => {\n const handleOnClick = useMemo(\n () => e => {\n onClick && onClick(e);\n },\n [onClick]\n );\n const backgroundColor = neutralColor === true ? NEUTRAL_COLOR : color;\n const button = cta ? (\n <Cta\n {...defaults(\n {\n onClick: handleOnClick,\n href,\n rectangular: true,\n fullWidth: true,\n secondary: true,\n submitValue: title\n },\n cta\n )}\n />\n ) : (\n <Button type=\"link\" href={href} onClick={handleOnClick} style={{backgroundColor}}>\n {title}\n </Button>\n );\n return (\n <li\n data-name={name || `button-item-${index}`}\n className={classnames(style.buttonItem, {[style.uppercase]: uppercase})}\n >\n {button}\n </li>\n );\n};\n\nButtonItem.propTypes = {\n index: PropTypes.number,\n title: PropTypes.string.isRequired,\n name: PropTypes.string,\n href: PropTypes.string,\n color: PropTypes.string,\n neutralColor: PropTypes.bool,\n onClick: PropTypes.func,\n cta: PropTypes.oneOfType([PropTypes.shape(Cta.propTypes), PropTypes.bool]),\n uppercase: PropTypes.bool\n};\n\nexport const InfoItem = ({onClick, index, name, color, neutralColor, title, value, uppercase}) => {\n const handleOnClick = useMemo(\n () => e => {\n onClick && onClick(e);\n },\n [onClick]\n );\n const color_ = neutralColor === true ? NEUTRAL_COLOR : color;\n return (\n <ul data-name={name || `item-info-${index}`} className={style.infoItem}>\n <li className={style.infoItemTitle}>{title}</li>\n <li\n className={classnames(style.infoItemContent, {[style.uppercase]: uppercase})}\n onClick={handleOnClick}\n style={{\n borderLeftColor: color_,\n color: color_\n }}\n >\n {value}\n </li>\n </ul>\n );\n};\n\nInfoItem.propTypes = {\n index: PropTypes.number,\n title: PropTypes.string.isRequired,\n name: PropTypes.string,\n color: PropTypes.string,\n neutralColor: PropTypes.bool,\n value: PropTypes.string.isRequired,\n onClick: PropTypes.func,\n uppercase: PropTypes.bool\n};\n\nconst SidebarItem = ({item, color, index}) => {\n switch (item.type) {\n case 'select': {\n return <SelectItem {...item} color={color} index={index} />;\n }\n case 'multi-select':\n return <MultiSelectItem {...item} color={color} index={index} />;\n case 'link':\n return <LinkItem {...item} color={color} index={index} />;\n case 'iconLink':\n return <IconLinkItem {...item} color={color} index={index} />;\n case 'title':\n return <TitleItem {...item} color={color} index={index} />;\n case 'button':\n return <ButtonItem {...item} color={color} index={index} />;\n case 'info':\n return <InfoItem {...item} color={color} index={index} />;\n case 'inputtext':\n return <InputTextItem {...item} color={color} index={index} />;\n }\n};\n\nSidebarItem.propTypes = {\n item: PropTypes.oneOfType([\n PropTypes.shape({...TitleItem.propTypes, type: PropTypes.oneOf(['title']).isRequired}),\n PropTypes.shape({...IconLinkItem.propTypes, type: PropTypes.oneOf(['iconLink']).isRequired}),\n PropTypes.shape({...ButtonItem.propTypes, type: PropTypes.oneOf(['button']).isRequired}),\n PropTypes.shape({...InfoItem.propTypes, type: PropTypes.oneOf(['info']).isRequired}),\n PropTypes.shape({...LinkItem.propTypes, type: PropTypes.oneOf(['link']).isRequired}),\n PropTypes.shape({...InputTextItem.propTypes, type: PropTypes.oneOf(['inputtext']).isRequired}),\n PropTypes.shape({...SelectItem.propTypes, type: PropTypes.oneOf(['select']).isRequired}),\n PropTypes.shape({...SelectItem.propTypes, type: PropTypes.oneOf(['multi-select']).isRequired})\n ]),\n index: PropTypes.number,\n color: PropTypes.string,\n uppercase: PropTypes.bool\n};\n\nconst SidebarItems = ({items, color}) => {\n return (\n <ul className={style.sectionItems}>\n {items.map((item, index) => (\n <SidebarItem item={item} key={index} index={index} color={color} />\n ))}\n </ul>\n );\n};\n\nSidebarItems.propTypes = {\n color: PropTypes.string,\n items: PropTypes.arrayOf(PropTypes.shape(SidebarItem.propTypes))\n};\n\nconst Sidebar = ({items}, context) => {\n const sections = Array.isArray(items[0]) ? items : [items];\n const {skin} = context;\n const defaultColor = getOr('#00B0FF', 'common.primary', skin);\n return (\n <div data-name=\"sidebar\" className={style.sidebar}>\n {sections.map((sidebarSection, idx) => (\n <div data-name={`sidebarpart-${idx + 1}`} className={style.sidebarPart} key={idx}>\n <SidebarItems items={sidebarSection} color={defaultColor} />\n </div>\n ))}\n </div>\n );\n};\n\nSidebar.propTypes = {\n items: PropTypes.arrayOf(\n PropTypes.oneOfType([\n SidebarItem.propTypes.item,\n PropTypes.arrayOf(SidebarItem.propTypes.item).isRequired\n ])\n ).isRequired\n};\n\nSidebar.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nexport default Sidebar;\n"],"mappings":";;;;;;;;;;;AAAA;;AACA;;AACA;;AAEA;;AAKA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;AAEA,MAAMA,aAAa,GAAG,SAAtB;;AAEO,MAAMC,aAAa,GAAGC,KAAK,IAAI;EACpC,MAAM;IACJC,KADI;IAEJC,WAAW,GAAG,EAFV;IAGJC,KAHI;IAIJC,QAAQ,iBAJJ;IAKJC,QALI;IAMJC,IANI;IAOJC,KAPI;IAQJ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EAA1C,GACGL,QAAQ,CAACH,GAAT,CAAa,CAACS,cAAD,EAAiBC,GAAjB,kBACZ;IAAK,aAAY,eAAcA,GAAG,GAAG,CAAE,EAAvC;IAA0C,SAAS,EAAE1E,cAAA,CAAM2E,WAA3D;IAAwE,GAAG,EAAED;EAA7E,gBACE,6BAAC,YAAD;IAAc,KAAK,EAAED,cAArB;IAAqC,KAAK,EAAEF;EAA5C,EADF,CADD,CADH,CADF;AASD,CAbD;;AAeAN,OAAO,CAAC5D,SAAR,2CAAoB;EAClByD,KAAK,EAAExD,kBAAA,CAAUQ,OAAV,CACLR,kBAAA,CAAU4C,SAAV,CAAoB,CAClBO,WAAW,CAACpD,SAAZ,CAAsBqD,IADJ,EAElBpD,kBAAA,CAAUQ,OAAV,CAAkB2C,WAAW,CAACpD,SAAZ,CAAsBqD,IAAxC,EAA8CjD,UAF5B,CAApB,CADK,EAKLA;AANgB,CAApB;AASAwD,OAAO,CAACW,YAAR,GAAuB;EACrBN,IAAI,EAAEO,iBAAA,CAASC,iBAAT,CAA2BR;AADZ,CAAvB;eAIeL,O"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["NEUTRAL_COLOR","InputTextItem","props","title","placeholder","value","onChange","disabled","name","index","uppercase","handleOnChange","useMemo","e","target","style","selectItem","classnames","selectTitle","input","propTypes","PropTypes","number","string","isRequired","bool","func","SelectItem","options","arrayOf","shape","selected","MultiSelectItem","LinkItem","href","color","onClick","styles","children","setChildrenAsHtml","activeIcon","context","skin","GetSkinFromContext","handleOnClick","classNames","linkItem","innerHTML","itemWithoutIcon","borderStyle","borderLeftColor","textDecoration","__html","contextTypes","Provider","childContextTypes","IconLinkItem","icon","TitleItem","titleItem","titleItemTitle","ButtonItem","neutralColor","cta","backgroundColor","button","rectangular","fullWidth","secondary","submitValue","buttonItem","oneOfType","Cta","InfoItem","color_","infoItem","infoItemTitle","infoItemContent","SidebarItem","item","type","oneOf","SidebarItems","items","sectionItems","map","Sidebar","sections","Array","isArray","defaultColor","sidebar","sidebarSection","idx","sidebarPart"],"sources":["../../../src/organism/sidebar/index.js"],"sourcesContent":["import React, {useMemo} from 'react';\nimport classnames from 'classnames';\nimport PropTypes from 'prop-types';\nimport {noop, getOr, defaults} from 'lodash/fp';\nimport {\n NovaCompositionCoorpacademyOpenInNewTab,\n NovaSolidStatusCheckCircle2 as ActiveIcon\n} from '@coorpacademy/nova-icons';\n\nimport Link from '../../atom/link';\nimport Button from '../../atom/button';\nimport Provider, {GetSkinFromContext} from '../../atom/provider';\nimport Select from '../../atom/select';\nimport Cta from '../../atom/cta';\nimport SelectMultiple from '../../molecule/select-multiple';\nimport style from './style.css';\n\nconst NEUTRAL_COLOR = '#607D8B';\n\nexport const InputTextItem = props => {\n const {\n title,\n placeholder = '',\n value,\n onChange = noop,\n disabled,\n name,\n index,\n uppercase = true\n } = props;\n const handleOnChange = useMemo(() => e => onChange(e.target.value), [onChange]);\n return (\n <li data-name={name || `inputtext-item-${index}`} className={style.selectItem}>\n <div className={classnames(style.selectTitle, {[style.uppercase]: uppercase})}>{title}</div>\n <input\n type=\"text\"\n name={title}\n className={style.input}\n placeholder={placeholder}\n value={value}\n disabled={disabled}\n onChange={handleOnChange}\n />\n </li>\n );\n};\n\nInputTextItem.propTypes = {\n index: PropTypes.number,\n title: PropTypes.string.isRequired,\n name: PropTypes.string,\n disabled: PropTypes.bool,\n value: PropTypes.string.isRequired,\n placeholder: PropTypes.string,\n onChange: PropTypes.func,\n uppercase: PropTypes.bool\n};\n\nexport const SelectItem = ({name, index, onChange, title, options, uppercase = true}) => {\n return (\n <li data-name={name || `select-item-${index}`} className={style.selectItem}>\n <div className={classnames(style.selectTitle, {[style.uppercase]: uppercase})}>{title}</div>\n <Select title={title} onChange={onChange} theme=\"header\" options={options} />\n </li>\n );\n};\n\nSelectItem.propTypes = {\n index: PropTypes.number,\n title: PropTypes.string.isRequired,\n name: PropTypes.string,\n options: PropTypes.arrayOf(\n PropTypes.shape({\n name: PropTypes.string.isRequired,\n value: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired\n })\n ).isRequired,\n onChange: PropTypes.func,\n uppercase: PropTypes.bool\n};\n\nexport const MultiSelectItem = ({name, index, onChange, title, options, uppercase = true}) => {\n return (\n <li data-name={name || `select-item-${index}`} className={style.selectItem}>\n <div className={classnames(style.selectTitle, {[style.uppercase]: uppercase})}>{title}</div>\n <SelectMultiple theme=\"sidebar\" onChange={onChange} options={options} />\n </li>\n );\n};\n\nMultiSelectItem.propTypes = SelectItem.propTypes;\n\nexport const LinkItem = (\n {\n href,\n index,\n name,\n selected,\n color,\n title,\n onClick,\n uppercase = true,\n styles,\n children,\n setChildrenAsHtml = true,\n target = '_self',\n activeIcon = false\n },\n context\n) => {\n const skin = GetSkinFromContext(context);\n\n const handleOnClick = useMemo(\n () => e => {\n onClick && onClick(e);\n },\n [onClick]\n );\n\n const classNames = classnames(\n style.linkItem,\n style.innerHTML,\n {[style.uppercase]: uppercase},\n styles,\n !activeIcon && setChildrenAsHtml ? style.itemWithoutIcon : null\n );\n const borderStyle = {borderLeftColor: selected ? color : null};\n\n return (\n <Link\n target={target}\n onClick={handleOnClick}\n hoverColor={getOr('#00B0FF', 'common.primary', skin)}\n href={href}\n data-name={name || `link-item-${index}`}\n style={{\n textDecoration: 'none',\n color: selected ? color : NEUTRAL_COLOR\n }}\n >\n {setChildrenAsHtml ? (\n <li\n className={classNames}\n style={borderStyle}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: title}}\n />\n ) : (\n <li className={classNames} style={borderStyle}>\n {activeIcon ? <ActiveIcon className={style.activeIcon} /> : null}\n {title}\n {children}\n </li>\n )}\n </Link>\n );\n};\n\nLinkItem.propTypes = {\n index: PropTypes.number,\n title: PropTypes.string.isRequired,\n selected: PropTypes.bool,\n name: PropTypes.string,\n href: PropTypes.string,\n color: PropTypes.string,\n onClick: PropTypes.func,\n uppercase: PropTypes.bool,\n setChildrenAsHtml: PropTypes.bool,\n target: PropTypes.string,\n activeIcon: PropTypes.bool\n};\n\nLinkItem.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nexport const IconLinkItem = ({\n index,\n name = `button-link-item-${index}`,\n onClick,\n uppercase = true,\n ...props\n}) => {\n const handleOnClick = useMemo(\n () => e => {\n onClick && onClick(e);\n },\n [onClick]\n );\n return (\n <LinkItem\n {...props}\n setChildrenAsHtml={false}\n onClick={handleOnClick}\n name={name}\n uppercase={uppercase}\n index={index}\n >\n <NovaCompositionCoorpacademyOpenInNewTab className={style.icon} />\n </LinkItem>\n );\n};\n\nIconLinkItem.propTypes = LinkItem.propTypes;\n\nexport const TitleItem = ({name, index, title, uppercase}) => {\n return (\n <ul data-name={name || `item-title-${index}`} className={style.titleItem}>\n <li className={classnames(style.titleItemTitle, {[style.uppercase]: uppercase})}>{title}</li>\n </ul>\n );\n};\n\nTitleItem.propTypes = {\n index: PropTypes.number,\n title: PropTypes.string.isRequired,\n name: PropTypes.string,\n uppercase: PropTypes.bool\n};\n\nexport const ButtonItem = ({\n index,\n onClick,\n color,\n neutralColor,\n name,\n href,\n title,\n cta,\n uppercase\n}) => {\n const handleOnClick = useMemo(\n () => e => {\n onClick && onClick(e);\n },\n [onClick]\n );\n const backgroundColor = neutralColor === true ? NEUTRAL_COLOR : color;\n const button = cta ? (\n <Cta\n {...defaults(\n {\n onClick: handleOnClick,\n href,\n rectangular: true,\n fullWidth: true,\n secondary: true,\n submitValue: title\n },\n cta\n )}\n />\n ) : (\n <Button type=\"link\" href={href} onClick={handleOnClick} style={{backgroundColor}}>\n {title}\n </Button>\n );\n return (\n <li\n data-name={name || `button-item-${index}`}\n className={classnames(style.buttonItem, {[style.uppercase]: uppercase})}\n >\n {button}\n </li>\n );\n};\n\nButtonItem.propTypes = {\n index: PropTypes.number,\n title: PropTypes.string.isRequired,\n name: PropTypes.string,\n href: PropTypes.string,\n color: PropTypes.string,\n neutralColor: PropTypes.bool,\n onClick: PropTypes.func,\n cta: PropTypes.oneOfType([PropTypes.shape(Cta.propTypes), PropTypes.bool]),\n uppercase: PropTypes.bool\n};\n\nexport const InfoItem = ({onClick, index, name, color, neutralColor, title, value, uppercase}) => {\n const handleOnClick = useMemo(\n () => e => {\n onClick && onClick(e);\n },\n [onClick]\n );\n const color_ = neutralColor === true ? NEUTRAL_COLOR : color;\n return (\n <ul data-name={name || `item-info-${index}`} className={style.infoItem}>\n <li className={style.infoItemTitle}>{title}</li>\n <li\n className={classnames(style.infoItemContent, {[style.uppercase]: uppercase})}\n onClick={handleOnClick}\n style={{\n borderLeftColor: color_,\n color: color_\n }}\n >\n {value}\n </li>\n </ul>\n );\n};\n\nInfoItem.propTypes = {\n index: PropTypes.number,\n title: PropTypes.string.isRequired,\n name: PropTypes.string,\n color: PropTypes.string,\n neutralColor: PropTypes.bool,\n value: PropTypes.string.isRequired,\n onClick: PropTypes.func,\n uppercase: PropTypes.bool\n};\n\nconst SidebarItem = ({item, color, index}) => {\n switch (item.type) {\n case 'select': {\n return <SelectItem {...item} color={color} index={index} />;\n }\n case 'multi-select':\n return <MultiSelectItem {...item} color={color} index={index} />;\n case 'link':\n return <LinkItem {...item} color={color} index={index} />;\n case 'iconLink':\n return <IconLinkItem {...item} color={color} index={index} />;\n case 'title':\n return <TitleItem {...item} color={color} index={index} />;\n case 'button':\n return <ButtonItem {...item} color={color} index={index} />;\n case 'info':\n return <InfoItem {...item} color={color} index={index} />;\n case 'inputtext':\n return <InputTextItem {...item} color={color} index={index} />;\n }\n};\n\nSidebarItem.propTypes = {\n item: PropTypes.oneOfType([\n PropTypes.shape({...TitleItem.propTypes, type: PropTypes.oneOf(['title']).isRequired}),\n PropTypes.shape({...IconLinkItem.propTypes, type: PropTypes.oneOf(['iconLink']).isRequired}),\n PropTypes.shape({...ButtonItem.propTypes, type: PropTypes.oneOf(['button']).isRequired}),\n PropTypes.shape({...InfoItem.propTypes, type: PropTypes.oneOf(['info']).isRequired}),\n PropTypes.shape({...LinkItem.propTypes, type: PropTypes.oneOf(['link']).isRequired}),\n PropTypes.shape({...InputTextItem.propTypes, type: PropTypes.oneOf(['inputtext']).isRequired}),\n PropTypes.shape({...SelectItem.propTypes, type: PropTypes.oneOf(['select']).isRequired}),\n PropTypes.shape({...SelectItem.propTypes, type: PropTypes.oneOf(['multi-select']).isRequired})\n ]),\n index: PropTypes.number,\n color: PropTypes.string,\n uppercase: PropTypes.bool\n};\n\nconst SidebarItems = ({items, color}) => {\n return (\n <ul className={style.sectionItems}>\n {items.map((item, index) => (\n <SidebarItem item={item} key={index} index={index} color={color} />\n ))}\n </ul>\n );\n};\n\nSidebarItems.propTypes = {\n color: PropTypes.string,\n items: PropTypes.arrayOf(PropTypes.shape(SidebarItem.propTypes))\n};\n\nconst Sidebar = ({items}, context) => {\n const sections = Array.isArray(items[0]) ? items : [items];\n const {skin} = context;\n const defaultColor = getOr('#00B0FF', 'common.primary', skin);\n return (\n <div data-name=\"sidebar\" className={style.sidebar}>\n {sections.map((sidebarSection, idx) => (\n <div data-name={`sidebarpart-${idx + 1}`} className={style.sidebarPart} key={idx}>\n <SidebarItems items={sidebarSection} color={defaultColor} />\n </div>\n ))}\n </div>\n );\n};\n\nSidebar.propTypes = {\n items: PropTypes.arrayOf(\n PropTypes.oneOfType([\n SidebarItem.propTypes.item,\n PropTypes.arrayOf(SidebarItem.propTypes.item).isRequired\n ])\n ).isRequired\n};\n\nSidebar.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nexport default Sidebar;\n"],"mappings":";;;;;;;;;;;AAAA;;AACA;;AACA;;AAEA;;AAKA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;AAEA,MAAMA,aAAa,GAAG,SAAtB;;AAEO,MAAMC,aAAa,GAAGC,KAAK,IAAI;EACpC,MAAM;IACJC,KADI;IAEJC,WAAW,GAAG,EAFV;IAGJC,KAHI;IAIJC,QAAQ,iBAJJ;IAKJC,QALI;IAMJC,IANI;IAOJC,KAPI;IAQJC,SAAS,GAAG;EARR,IASFR,KATJ;EAUA,MAA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A,MAAM;IAACzC;EAAD,IAASD,OAAf;EACA,MAAMiD,YAAY,GAAG,qBAAM,SAAN,EAAiB,gBAAjB,EAAmChD,IAAnC,CAArB;EACA,oBACE;IAAK,aAAU,SAAf;IAAyB,SAAS,EAAE3B,cAAA,CAAM4E;EAA1C,GACGJ,QAAQ,CAACF,GAAT,CAAa,CAACO,cAAD,EAAiBC,GAAjB,kBACZ;IAAK,aAAY,eAAcA,GAAG,GAAG,CAAE,EAAvC;IAA0C,SAAS,EAAE9E,cAAA,CAAM+E,WAA3D;IAAwE,GAAG,EAAED;EAA7E,gBACE,6BAAC,YAAD;IAAc,KAAK,EAAED,cAArB;IAAqC,KAAK,EAAEF;EAA5C,EADF,CADD,CADH,CADF;AASD,CAbD;;AAeAJ,OAAO,CAAClE,SAAR,2CAAoB;EAClB+D,KAAK,EAAE9D,kBAAA,CAAUQ,OAAV,CACLR,kBAAA,CAAUkD,SAAV,CAAoB,CAClBO,WAAW,CAAC1D,SAAZ,CAAsB2D,IADJ,EAElB1D,kBAAA,CAAUQ,OAAV,CAAkBiD,WAAW,CAAC1D,SAAZ,CAAsB2D,IAAxC,EAA8CvD,UAF5B,CAApB,CADK,EAKLA;AANgB,CAApB;AASA8D,OAAO,CAACjC,YAAR,GAAuB;EACrBX,IAAI,EAAEY,iBAAA,CAASC,iBAAT,CAA2Bb;AADZ,CAAvB;eAIe4C,O"}
|
|
@@ -298,8 +298,8 @@ declare namespace PlayerLoading {
|
|
|
298
298
|
'aria-label': PropTypes.Requireable<string>;
|
|
299
299
|
title: PropTypes.Requireable<string>;
|
|
300
300
|
target: PropTypes.Requireable<string>;
|
|
301
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
302
301
|
hoverColor: PropTypes.Requireable<string>;
|
|
302
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
303
303
|
download: PropTypes.Requireable<boolean>;
|
|
304
304
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
305
305
|
onMouseEnter: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -349,8 +349,8 @@ declare namespace SlidePlayer {
|
|
|
349
349
|
'aria-label': PropTypes.Requireable<string>;
|
|
350
350
|
title: PropTypes.Requireable<string>;
|
|
351
351
|
target: PropTypes.Requireable<string>;
|
|
352
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
353
352
|
hoverColor: PropTypes.Requireable<string>;
|
|
353
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
354
354
|
download: PropTypes.Requireable<boolean>;
|
|
355
355
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
356
356
|
onMouseEnter: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -655,8 +655,8 @@ declare namespace SlidePlayer {
|
|
|
655
655
|
'aria-label': PropTypes.Requireable<string>;
|
|
656
656
|
title: PropTypes.Requireable<string>;
|
|
657
657
|
target: PropTypes.Requireable<string>;
|
|
658
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
659
658
|
hoverColor: PropTypes.Requireable<string>;
|
|
659
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
660
660
|
download: PropTypes.Requireable<boolean>;
|
|
661
661
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
662
662
|
onMouseEnter: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -355,8 +355,8 @@ declare namespace SlidesPlayer {
|
|
|
355
355
|
'aria-label': PropTypes.Requireable<string>;
|
|
356
356
|
title: PropTypes.Requireable<string>;
|
|
357
357
|
target: PropTypes.Requireable<string>;
|
|
358
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
359
358
|
hoverColor: PropTypes.Requireable<string>;
|
|
359
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
360
360
|
download: PropTypes.Requireable<boolean>;
|
|
361
361
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
362
362
|
onMouseEnter: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -30,8 +30,8 @@ declare class PopinCorrection extends React.Component<any, any, any> {
|
|
|
30
30
|
'data-name': PropTypes.Requireable<string>;
|
|
31
31
|
'aria-label': PropTypes.Requireable<string>;
|
|
32
32
|
target: PropTypes.Requireable<string>;
|
|
33
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
34
33
|
hoverColor: PropTypes.Requireable<string>;
|
|
34
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
35
35
|
download: PropTypes.Requireable<boolean>;
|
|
36
36
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
37
37
|
onMouseEnter: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -79,8 +79,8 @@ declare class PopinCorrection extends React.Component<any, any, any> {
|
|
|
79
79
|
'data-name': PropTypes.Requireable<string>;
|
|
80
80
|
'aria-label': PropTypes.Requireable<string>;
|
|
81
81
|
target: PropTypes.Requireable<string>;
|
|
82
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
83
82
|
hoverColor: PropTypes.Requireable<string>;
|
|
83
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
84
84
|
download: PropTypes.Requireable<boolean>;
|
|
85
85
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
86
86
|
onMouseEnter: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -385,8 +385,8 @@ declare class PopinCorrection extends React.Component<any, any, any> {
|
|
|
385
385
|
'aria-label': PropTypes.Requireable<string>;
|
|
386
386
|
title: PropTypes.Requireable<string>;
|
|
387
387
|
target: PropTypes.Requireable<string>;
|
|
388
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
389
388
|
hoverColor: PropTypes.Requireable<string>;
|
|
389
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
390
390
|
download: PropTypes.Requireable<boolean>;
|
|
391
391
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
392
392
|
onMouseEnter: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -30,8 +30,8 @@ declare namespace PopinEnd {
|
|
|
30
30
|
'data-name': PropTypes.Requireable<string>;
|
|
31
31
|
'aria-label': PropTypes.Requireable<string>;
|
|
32
32
|
target: PropTypes.Requireable<string>;
|
|
33
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
34
33
|
hoverColor: PropTypes.Requireable<string>;
|
|
34
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
35
35
|
download: PropTypes.Requireable<boolean>;
|
|
36
36
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
37
37
|
onMouseEnter: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -485,8 +485,8 @@ declare namespace PopinEnd {
|
|
|
485
485
|
'aria-label': PropTypes.Requireable<string>;
|
|
486
486
|
title: PropTypes.Requireable<string>;
|
|
487
487
|
target: PropTypes.Requireable<string>;
|
|
488
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
489
488
|
hoverColor: PropTypes.Requireable<string>;
|
|
489
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
490
490
|
download: PropTypes.Requireable<boolean>;
|
|
491
491
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
492
492
|
onMouseEnter: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -36,8 +36,8 @@ declare namespace Summary {
|
|
|
36
36
|
'data-name': PropTypes.Requireable<string>;
|
|
37
37
|
'aria-label': PropTypes.Requireable<string>;
|
|
38
38
|
target: PropTypes.Requireable<string>;
|
|
39
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
40
39
|
hoverColor: PropTypes.Requireable<string>;
|
|
40
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
41
41
|
download: PropTypes.Requireable<boolean>;
|
|
42
42
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
43
43
|
onMouseEnter: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -66,8 +66,8 @@ declare namespace NextQuestionPart {
|
|
|
66
66
|
'data-name': PropTypes.Requireable<string>;
|
|
67
67
|
'aria-label': PropTypes.Requireable<string>;
|
|
68
68
|
target: PropTypes.Requireable<string>;
|
|
69
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
70
69
|
hoverColor: PropTypes.Requireable<string>;
|
|
70
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
71
71
|
download: PropTypes.Requireable<boolean>;
|
|
72
72
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
73
73
|
onMouseEnter: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -806,8 +806,8 @@ declare const AppReview: {
|
|
|
806
806
|
'aria-label': import("prop-types").Requireable<string>;
|
|
807
807
|
title: import("prop-types").Requireable<string>;
|
|
808
808
|
target: import("prop-types").Requireable<string>;
|
|
809
|
-
skinHover: import("prop-types").Requireable<boolean>;
|
|
810
809
|
hoverColor: import("prop-types").Requireable<string>;
|
|
810
|
+
hoverBackgroundColor: import("prop-types").Requireable<string>;
|
|
811
811
|
download: import("prop-types").Requireable<boolean>;
|
|
812
812
|
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
813
813
|
onMouseEnter: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
@@ -806,8 +806,8 @@ declare const propTypes: {
|
|
|
806
806
|
'aria-label': PropTypes.Requireable<string>;
|
|
807
807
|
title: PropTypes.Requireable<string>;
|
|
808
808
|
target: PropTypes.Requireable<string>;
|
|
809
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
810
809
|
hoverColor: PropTypes.Requireable<string>;
|
|
810
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
811
811
|
download: PropTypes.Requireable<boolean>;
|
|
812
812
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
813
813
|
onMouseEnter: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -810,8 +810,8 @@ declare const propTypes: {
|
|
|
810
810
|
'aria-label': PropTypes.Requireable<string>;
|
|
811
811
|
title: PropTypes.Requireable<string>;
|
|
812
812
|
target: PropTypes.Requireable<string>;
|
|
813
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
814
813
|
hoverColor: PropTypes.Requireable<string>;
|
|
814
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
815
815
|
download: PropTypes.Requireable<boolean>;
|
|
816
816
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
817
817
|
onMouseEnter: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -1207,8 +1207,8 @@ declare namespace BrandUpdate {
|
|
|
1207
1207
|
'aria-label': PropTypes.Requireable<string>;
|
|
1208
1208
|
title: PropTypes.Requireable<string>;
|
|
1209
1209
|
target: PropTypes.Requireable<string>;
|
|
1210
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
1211
1210
|
hoverColor: PropTypes.Requireable<string>;
|
|
1211
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
1212
1212
|
download: PropTypes.Requireable<boolean>;
|
|
1213
1213
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1214
1214
|
onMouseEnter: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -27,6 +27,7 @@ declare namespace CertificationDetail {
|
|
|
27
27
|
}
|
|
28
28
|
namespace propTypes {
|
|
29
29
|
const title: PropTypes.Validator<string>;
|
|
30
|
+
const tag: PropTypes.Requireable<string>;
|
|
30
31
|
const certificationRef: PropTypes.Validator<string>;
|
|
31
32
|
const description: PropTypes.Validator<string>;
|
|
32
33
|
const logoUrl: PropTypes.Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/certification-detail/index.js"],"names":[],"mappings":";AAgBA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/certification-detail/index.js"],"names":[],"mappings":";AAgBA,4EAyHC"}
|
|
@@ -49,6 +49,7 @@ const CertificationDetail = (props, context) => {
|
|
|
49
49
|
const {
|
|
50
50
|
certificationRef,
|
|
51
51
|
title,
|
|
52
|
+
tag,
|
|
52
53
|
description,
|
|
53
54
|
certificationCourses,
|
|
54
55
|
ongoingCoursesAvailable,
|
|
@@ -109,7 +110,7 @@ const CertificationDetail = (props, context) => {
|
|
|
109
110
|
className: _style.default.logo,
|
|
110
111
|
src: logoUrl
|
|
111
112
|
})), /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_tag.default, {
|
|
112
|
-
label:
|
|
113
|
+
label: tag
|
|
113
114
|
}), /*#__PURE__*/_react.default.createElement("div", {
|
|
114
115
|
className: _style.default.title
|
|
115
116
|
}, title), description ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(Description, null), isDescriptionTruncated ? /*#__PURE__*/_react.default.createElement("div", {
|
|
@@ -155,6 +156,7 @@ CertificationDetail.contextTypes = {
|
|
|
155
156
|
};
|
|
156
157
|
CertificationDetail.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
157
158
|
title: _propTypes.default.string.isRequired,
|
|
159
|
+
tag: _propTypes.default.string,
|
|
158
160
|
certificationRef: _propTypes.default.string.isRequired,
|
|
159
161
|
description: _propTypes.default.string.isRequired,
|
|
160
162
|
logoUrl: _propTypes.default.string,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["CertificationDetail","props","context","certificationRef","title","description","certificationCourses","ongoingCoursesAvailable","filters","onBackClick","onContinueLearningClick","metrics","logoUrl","diplomaUrl","badgeUrl","descriptionRef","useRef","translate","progression","mandatoryModules","stars","totalModules","isDescriptionTruncated","setIsDescriptionTruncated","useState","showMore","setShowMore","handleShowMore","useCallback","useEffect","current","clientHeight","scrollHeight","Description","classnames","style","truncate","completedModules","useMemo","backgroundContainer","container","backButton","ctaContainer","logoContainer","logo","showMoreWrapper","faSize","wrapperSize","contentStats","type","downloadUrl","contextTypes","skin","Provider","childContextTypes","propTypes","PropTypes","string","isRequired","shape","number","bool","CardsGrid","onChange","func","options","arrayOf","SelectOptionPropTypes"],"sources":["../../../src/template/certification-detail/index.js"],"sourcesContent":["import React, {useCallback, useEffect, useRef, useState, useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {compact, lowerCase, round, isNil} from 'lodash/fp';\nimport Markdown from 'markdown-to-jsx';\nimport Provider from '../../atom/provider';\nimport Tag from '../../atom/tag';\nimport {SelectOptionPropTypes} from '../../atom/select';\nimport ButtonLinkIcon from '../../atom/button-link-icon';\nimport Icon from '../../atom/icon';\nimport CardsGrid from '../../organism/cards-grid';\nimport AllCourses from '../skill-detail/all-courses';\nimport {ContinueLearningButton} from '../skill-detail';\nimport ProgressWrapper from '../../molecule/progress-wrapper';\nimport style from './style.css';\n\nconst CertificationDetail = (props, context) => {\n const {\n certificationRef,\n title,\n description,\n certificationCourses,\n ongoingCoursesAvailable,\n filters,\n onBackClick,\n onContinueLearningClick,\n metrics,\n logoUrl,\n diplomaUrl,\n badgeUrl\n } = props;\n const descriptionRef = useRef(null);\n const {translate} = context;\n const {progression, mandatoryModules, stars, totalModules} = metrics;\n\n const [isDescriptionTruncated, setIsDescriptionTruncated] = useState(false);\n const [showMore, setShowMore] = useState(false);\n\n const handleShowMore = useCallback(() => setShowMore(!showMore), [setShowMore, showMore]);\n\n useEffect(() => {\n if (descriptionRef.current) {\n const {clientHeight = 0, scrollHeight = 0} = descriptionRef.current;\n setIsDescriptionTruncated(scrollHeight > clientHeight);\n }\n }, [description]);\n\n const Description = useCallback(() => {\n return (\n <div\n ref={descriptionRef}\n className={classnames(style.description, !showMore && style.truncate)}\n >\n <Markdown>{description}</Markdown>\n </div>\n );\n }, [showMore, description]);\n\n const completedModules = useMemo(\n () => round((mandatoryModules * progression) / 100),\n [mandatoryModules, progression]\n );\n\n return (\n <div className={style.backgroundContainer}>\n <div className={style.container} data-name={certificationRef}>\n {!isNil(onBackClick) ? (\n <ButtonLinkIcon\n faIcon=\"arrow-left\"\n data-name=\"back-button\"\n aria-label={translate('back')}\n onClick={onBackClick}\n className={style.backButton}\n tooltipPlacement=\"right\"\n />\n ) : null}\n <div className={style.ctaContainer}>\n <div className={style.logoContainer}>\n <img className={style.logo} src={logoUrl} />\n </div>\n <div>\n <Tag label={translate('certification')} />\n <div className={style.title}>{title}</div>\n {description ? (\n <>\n <Description />\n {isDescriptionTruncated ? (\n <div className={style.showMoreWrapper} onClick={handleShowMore}>\n {translate(showMore ? 'Show less' : 'Show more')}\n <Icon\n iconName={showMore ? 'chevron-up' : 'chevron-down'}\n size={{faSize: 14, wrapperSize: 16}}\n />\n </div>\n ) : null}\n </>\n ) : null}\n <div className={style.contentStats}>\n <span>{`${totalModules} ${lowerCase(translate('modules'))}`}</span>\n </div>\n <ContinueLearningButton\n ongoingCoursesAvailable={ongoingCoursesAvailable}\n onClick={onContinueLearningClick}\n />\n </div>\n </div>\n <ProgressWrapper\n title={translate('your_progress')}\n subtitle={translate('certification_progress_wrapper_subtitle')}\n progression={progression}\n completedModules={completedModules}\n mandatoryModules={mandatoryModules}\n sections={compact([\n {\n type: 'diploma',\n downloadUrl: diplomaUrl\n },\n badgeUrl && {\n type: 'badge',\n downloadUrl: badgeUrl\n },\n {\n type: 'stars',\n stars\n }\n ])}\n />\n <AllCourses\n content={certificationCourses}\n filters={filters}\n data-name=\"certification-courses\"\n />\n </div>\n </div>\n );\n};\n\nCertificationDetail.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nCertificationDetail.propTypes = {\n title: PropTypes.string.isRequired,\n certificationRef: PropTypes.string.isRequired,\n description: PropTypes.string.isRequired,\n logoUrl: PropTypes.string,\n metrics: PropTypes.shape({\n progression: PropTypes.number,\n stars: PropTypes.number,\n mandatoryModules: PropTypes.number,\n totalModules: PropTypes.number\n }),\n diplomaUrl: PropTypes.string,\n badgeUrl: PropTypes.string,\n ongoingCoursesAvailable: PropTypes.bool,\n certificationCourses: PropTypes.shape(CardsGrid.propTypes),\n filters: PropTypes.shape({\n onChange: PropTypes.func,\n options: PropTypes.arrayOf(PropTypes.shape(SelectOptionPropTypes))\n }),\n onBackClick: PropTypes.func,\n onContinueLearningClick: PropTypes.func\n};\n\nexport default CertificationDetail;\n"],"mappings":";;;;;;;;;;;;;AAAA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;AAEA,MAAMA,mBAAmB,GAAG,CAACC,KAAD,EAAQC,OAAR,KAAoB;EAC9C,MAAM;IACJC,gBADI;IAEJC,KAFI;IAGJC,WAHI;IAIJC,oBAJI;IAKJC,uBALI;IAMJC,OANI;IAOJC,WAPI;IAQJC,uBARI;IASJC,OATI;IAUJC,OAVI;IAWJC,UAXI;IAYJC;EAZI,IAaFb,KAbJ;EAcA,MAAMc,cAAc,GAAG,IAAAC,aAAA,EAAO,IAAP,CAAvB;EACA,MAAM;IAACC;EAAD,IAAcf,OAApB;EACA,MAAM;IAACgB,WAAD;IAAcC,gBAAd;IAAgCC,KAAhC;IAAuCC;EAAvC,IAAuDV,OAA7D;EAEA,MAAM,CAACW,sBAAD,EAAyBC,yBAAzB,IAAsD,IAAAC,eAAA,EAAS,KAAT,CAA5D;EACA,MAAM,CAACC,QAAD,EAAWC,WAAX,IAA0B,IAAAF,eAAA,EAAS,KAAT,CAAhC;EAEA,MAAMG,cAAc,GAAG,IAAAC,kBAAA,EAAY,MAAMF,WAAW,CAAC,CAACD,QAAF,CAA7B,EAA0C,CAACC,WAAD,EAAcD,QAAd,CAA1C,CAAvB;EAEA,IAAAI,gBAAA,EAAU,MAAM;IACd,IAAId,cAAc,CAACe,OAAnB,EAA4B;MAC1B,MAAM;QAACC,YAAY,GAAG,CAAhB;QAAmBC,YAAY,GAAG;MAAlC,IAAuCjB,cAAc,CAACe,OAA5D;MACAP,yBAAyB,CAACS,YAAY,GAAGD,YAAhB,CAAzB;IACD;EACF,CALD,EAKG,CAAC1B,WAAD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AA2BrC;AAFL,CAAnC;AAKAjB,mBAAmB,CAACuD,SAApB,2CAAgC;EAC9BnD,KAAK,EAAEoD,kBAAA,CAAUC,MAAV,CAAiBC,UADM;EAE9BvD,gBAAgB,EAAEqD,kBAAA,CAAUC,MAAV,CAAiBC,UAFL;EAG9BrD,WAAW,EAAEmD,kBAAA,CAAUC,MAAV,CAAiBC,UAHA;EAI9B9C,OAAO,EAAE4C,kBAAA,CAAUC,MAJW;EAK9B9C,OAAO,EAAE6C,kBAAA,CAAUG,KAAV,CAAgB;IACvBzC,WAAW,EAAEsC,kBAAA,CAAUI,MADA;IAEvBxC,KAAK,EAAEoC,kBAAA,CAAUI,MAFM;IAGvBzC,gBAAgB,EAAEqC,kBAAA,CAAUI,MAHL;IAIvBvC,YAAY,EAAEmC,kBAAA,CAAUI;EAJD,CAAhB,CALqB;EAW9B/C,UAAU,EAAE2C,kBAAA,CAAUC,MAXQ;EAY9B3C,QAAQ,EAAE0C,kBAAA,CAAUC,MAZU;EAa9BlD,uBAAuB,EAAEiD,kBAAA,CAAUK,IAbL;EAc9BvD,oBAAoB,EAAEkD,kBAAA,CAAUG,KAAV,CAAgBG,kBAAA,CAAUP,SAA1B,CAdQ;EAe9B/C,OAAO,EAAEgD,kBAAA,CAAUG,KAAV,CAAgB;IACvBI,QAAQ,EAAEP,kBAAA,CAAUQ,IADG;IAEvBC,OAAO,EAAET,kBAAA,CAAUU,OAAV,CAAkBV,kBAAA,CAAUG,KAAV,CAAgBQ,6BAAhB,CAAlB;EAFc,CAAhB,CAfqB;EAmB9B1D,WAAW,EAAE+C,kBAAA,CAAUQ,IAnBO;EAoB9BtD,uBAAuB,EAAE8C,kBAAA,CAAUQ;AApBL,CAAhC;eAuBehE,mB"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["CertificationDetail","props","context","certificationRef","title","tag","description","certificationCourses","ongoingCoursesAvailable","filters","onBackClick","onContinueLearningClick","metrics","logoUrl","diplomaUrl","badgeUrl","descriptionRef","useRef","translate","progression","mandatoryModules","stars","totalModules","isDescriptionTruncated","setIsDescriptionTruncated","useState","showMore","setShowMore","handleShowMore","useCallback","useEffect","current","clientHeight","scrollHeight","Description","classnames","style","truncate","completedModules","useMemo","backgroundContainer","container","backButton","ctaContainer","logoContainer","logo","showMoreWrapper","faSize","wrapperSize","contentStats","type","downloadUrl","contextTypes","skin","Provider","childContextTypes","propTypes","PropTypes","string","isRequired","shape","number","bool","CardsGrid","onChange","func","options","arrayOf","SelectOptionPropTypes"],"sources":["../../../src/template/certification-detail/index.js"],"sourcesContent":["import React, {useCallback, useEffect, useRef, useState, useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {compact, lowerCase, round, isNil} from 'lodash/fp';\nimport Markdown from 'markdown-to-jsx';\nimport Provider from '../../atom/provider';\nimport Tag from '../../atom/tag';\nimport {SelectOptionPropTypes} from '../../atom/select';\nimport ButtonLinkIcon from '../../atom/button-link-icon';\nimport Icon from '../../atom/icon';\nimport CardsGrid from '../../organism/cards-grid';\nimport AllCourses from '../skill-detail/all-courses';\nimport {ContinueLearningButton} from '../skill-detail';\nimport ProgressWrapper from '../../molecule/progress-wrapper';\nimport style from './style.css';\n\nconst CertificationDetail = (props, context) => {\n const {\n certificationRef,\n title,\n tag,\n description,\n certificationCourses,\n ongoingCoursesAvailable,\n filters,\n onBackClick,\n onContinueLearningClick,\n metrics,\n logoUrl,\n diplomaUrl,\n badgeUrl\n } = props;\n const descriptionRef = useRef(null);\n const {translate} = context;\n\n const {progression, mandatoryModules, stars, totalModules} = metrics;\n\n const [isDescriptionTruncated, setIsDescriptionTruncated] = useState(false);\n const [showMore, setShowMore] = useState(false);\n\n const handleShowMore = useCallback(() => setShowMore(!showMore), [setShowMore, showMore]);\n\n useEffect(() => {\n if (descriptionRef.current) {\n const {clientHeight = 0, scrollHeight = 0} = descriptionRef.current;\n setIsDescriptionTruncated(scrollHeight > clientHeight);\n }\n }, [description]);\n\n const Description = useCallback(() => {\n return (\n <div\n ref={descriptionRef}\n className={classnames(style.description, !showMore && style.truncate)}\n >\n <Markdown>{description}</Markdown>\n </div>\n );\n }, [showMore, description]);\n\n const completedModules = useMemo(\n () => round((mandatoryModules * progression) / 100),\n [mandatoryModules, progression]\n );\n\n return (\n <div className={style.backgroundContainer}>\n <div className={style.container} data-name={certificationRef}>\n {!isNil(onBackClick) ? (\n <ButtonLinkIcon\n faIcon=\"arrow-left\"\n data-name=\"back-button\"\n aria-label={translate('back')}\n onClick={onBackClick}\n className={style.backButton}\n tooltipPlacement=\"right\"\n />\n ) : null}\n <div className={style.ctaContainer}>\n <div className={style.logoContainer}>\n <img className={style.logo} src={logoUrl} />\n </div>\n <div>\n <Tag label={tag} />\n <div className={style.title}>{title}</div>\n {description ? (\n <>\n <Description />\n {isDescriptionTruncated ? (\n <div className={style.showMoreWrapper} onClick={handleShowMore}>\n {translate(showMore ? 'Show less' : 'Show more')}\n <Icon\n iconName={showMore ? 'chevron-up' : 'chevron-down'}\n size={{faSize: 14, wrapperSize: 16}}\n />\n </div>\n ) : null}\n </>\n ) : null}\n <div className={style.contentStats}>\n <span>{`${totalModules} ${lowerCase(translate('modules'))}`}</span>\n </div>\n <ContinueLearningButton\n ongoingCoursesAvailable={ongoingCoursesAvailable}\n onClick={onContinueLearningClick}\n />\n </div>\n </div>\n <ProgressWrapper\n title={translate('your_progress')}\n subtitle={translate('certification_progress_wrapper_subtitle')}\n progression={progression}\n completedModules={completedModules}\n mandatoryModules={mandatoryModules}\n sections={compact([\n {\n type: 'diploma',\n downloadUrl: diplomaUrl\n },\n badgeUrl && {\n type: 'badge',\n downloadUrl: badgeUrl\n },\n {\n type: 'stars',\n stars\n }\n ])}\n />\n <AllCourses\n content={certificationCourses}\n filters={filters}\n data-name=\"certification-courses\"\n />\n </div>\n </div>\n );\n};\n\nCertificationDetail.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nCertificationDetail.propTypes = {\n title: PropTypes.string.isRequired,\n tag: PropTypes.string,\n certificationRef: PropTypes.string.isRequired,\n description: PropTypes.string.isRequired,\n logoUrl: PropTypes.string,\n metrics: PropTypes.shape({\n progression: PropTypes.number,\n stars: PropTypes.number,\n mandatoryModules: PropTypes.number,\n totalModules: PropTypes.number\n }),\n diplomaUrl: PropTypes.string,\n badgeUrl: PropTypes.string,\n ongoingCoursesAvailable: PropTypes.bool,\n certificationCourses: PropTypes.shape(CardsGrid.propTypes),\n filters: PropTypes.shape({\n onChange: PropTypes.func,\n options: PropTypes.arrayOf(PropTypes.shape(SelectOptionPropTypes))\n }),\n onBackClick: PropTypes.func,\n onContinueLearningClick: PropTypes.func\n};\n\nexport default CertificationDetail;\n"],"mappings":";;;;;;;;;;;;;AAAA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;AAEA,MAAMA,mBAAmB,GAAG,CAACC,KAAD,EAAQC,OAAR,KAAoB;EAC9C,MAAM;IACJC,gBADI;IAEJC,KAFI;IAGJC,GAHI;IAIJC,WAJI;IAKJC,oBALI;IAMJC,uBANI;IAOJC,OAPI;IAQJC,WARI;IASJC,uBATI;IAUJC,OAVI;IAWJC,OAXI;IAYJC,UAZI;IAaJC;EAbI,IAcFd,KAdJ;EAeA,MAAMe,cAAc,GAAG,IAAAC,aAAA,EAAO,IAAP,CAAvB;EACA,MAAM;IAACC;EAAD,IAAchB,OAApB;EAEA,MAAM;IAACiB,WAAD;IAAcC,gBAAd;IAAgCC,KAAhC;IAAuCC;EAAvC,IAAuDV,OAA7D;EAEA,MAAM,CAACW,sBAAD,EAAyBC,yBAAzB,IAAsD,IAAAC,eAAA,EAAS,KAAT,CAA5D;EACA,MAAM,CAACC,QAAD,EAAWC,WAAX,IAA0B,IAAAF,eAAA,EAAS,KAAT,CAAhC;EAEA,MAAMG,cAAc,GAAG,IAAAC,kBAAA,EAAY,MAAMF,WAAW,CAAC,CAACD,QAAF,CAA7B,EAA0C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Q,6BAAhB,CAAlB;EAFc,CAAhB,CAhBqB;EAoB9B1D,WAAW,EAAE+C,kBAAA,CAAUQ,IApBO;EAqB9BtD,uBAAuB,EAAE8C,kBAAA,CAAUQ;AArBL,CAAhC;eAwBejE,mB"}
|
|
@@ -16,7 +16,16 @@ declare namespace Certifications {
|
|
|
16
16
|
progress: PropTypes.Requireable<number>;
|
|
17
17
|
imgUrl: PropTypes.Requireable<string>;
|
|
18
18
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
19
|
+
locales: PropTypes.Requireable<PropTypes.InferProps<{
|
|
20
|
+
conditionDescriptionProgress: PropTypes.Requireable<string>;
|
|
21
|
+
}>>;
|
|
19
22
|
}> | null | undefined)[]>;
|
|
23
|
+
const locales: PropTypes.Requireable<PropTypes.InferProps<{
|
|
24
|
+
title: PropTypes.Requireable<string>;
|
|
25
|
+
subtitle: PropTypes.Requireable<string>;
|
|
26
|
+
tag: PropTypes.Requireable<string>;
|
|
27
|
+
count: PropTypes.Requireable<string>;
|
|
28
|
+
}>>;
|
|
20
29
|
const sorting: PropTypes.Requireable<PropTypes.InferProps<{
|
|
21
30
|
title: PropTypes.Requireable<string>;
|
|
22
31
|
name: PropTypes.Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/certifications/index.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/certifications/index.js"],"names":[],"mappings":";AAUA,uEAwEC"}
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.default = void 0;
|
|
5
5
|
|
|
6
|
+
var _map2 = _interopRequireDefault(require("lodash/fp/map"));
|
|
7
|
+
|
|
6
8
|
var _react = _interopRequireWildcard(require("react"));
|
|
7
9
|
|
|
8
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
@@ -19,16 +21,22 @@ var _certificationCard = _interopRequireDefault(require("../../molecule/certific
|
|
|
19
21
|
|
|
20
22
|
var _style = _interopRequireDefault(require("./style.css"));
|
|
21
23
|
|
|
22
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
23
|
-
|
|
24
24
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
25
25
|
|
|
26
26
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
27
27
|
|
|
28
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
29
|
+
|
|
28
30
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
29
31
|
|
|
30
32
|
const Certifications = (props, context) => {
|
|
31
33
|
const {
|
|
34
|
+
locales: {
|
|
35
|
+
title,
|
|
36
|
+
subtitle,
|
|
37
|
+
tag,
|
|
38
|
+
count
|
|
39
|
+
},
|
|
32
40
|
certifications,
|
|
33
41
|
sorting
|
|
34
42
|
} = props;
|
|
@@ -50,8 +58,8 @@ const Certifications = (props, context) => {
|
|
|
50
58
|
className: _style.default.container,
|
|
51
59
|
"data-name": "Certifications"
|
|
52
60
|
}, /*#__PURE__*/_react.default.createElement(_title.default, {
|
|
53
|
-
title:
|
|
54
|
-
subtitle:
|
|
61
|
+
title: title,
|
|
62
|
+
subtitle: subtitle,
|
|
55
63
|
type: "form-group",
|
|
56
64
|
titleSize: "standard-light-weight",
|
|
57
65
|
subtitleSize: "standard-without-margin",
|
|
@@ -65,7 +73,7 @@ const Certifications = (props, context) => {
|
|
|
65
73
|
className: _style.default.sortSectionWrapper
|
|
66
74
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
67
75
|
className: _style.default.certificatesCount
|
|
68
|
-
},
|
|
76
|
+
}, count), /*#__PURE__*/_react.default.createElement("div", {
|
|
69
77
|
className: _style.default.sortSection
|
|
70
78
|
}, /*#__PURE__*/_react.default.createElement(_inputSwitch.default, {
|
|
71
79
|
id: 'show-completed-courses-switch',
|
|
@@ -79,15 +87,20 @@ const Certifications = (props, context) => {
|
|
|
79
87
|
className: _style.default.sortWrapper
|
|
80
88
|
}, translate('sort_by'), sortView) : null)), /*#__PURE__*/_react.default.createElement("div", {
|
|
81
89
|
className: _style.default.certificateList
|
|
82
|
-
},
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
90
|
+
}, (0, _map2.default)(certification => {
|
|
91
|
+
const {
|
|
92
|
+
label,
|
|
93
|
+
progress
|
|
94
|
+
} = certification;
|
|
95
|
+
if (!showCompleted && progress === 100) return null;
|
|
87
96
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
88
|
-
key:
|
|
89
|
-
}, /*#__PURE__*/_react.default.createElement(_certificationCard.default, certification
|
|
90
|
-
|
|
97
|
+
key: label
|
|
98
|
+
}, /*#__PURE__*/_react.default.createElement(_certificationCard.default, _extends({}, certification, {
|
|
99
|
+
locales: _extends({}, certification.locales, {
|
|
100
|
+
tag
|
|
101
|
+
})
|
|
102
|
+
})));
|
|
103
|
+
}, certifications))));
|
|
91
104
|
};
|
|
92
105
|
|
|
93
106
|
Certifications.contextTypes = {
|
|
@@ -104,8 +117,17 @@ Certifications.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
104
117
|
}),
|
|
105
118
|
progress: _propTypes.default.number,
|
|
106
119
|
imgUrl: _propTypes.default.string,
|
|
107
|
-
onClick: _propTypes.default.func
|
|
120
|
+
onClick: _propTypes.default.func,
|
|
121
|
+
locales: _propTypes.default.shape({
|
|
122
|
+
conditionDescriptionProgress: _propTypes.default.string
|
|
123
|
+
})
|
|
108
124
|
})),
|
|
125
|
+
locales: _propTypes.default.shape({
|
|
126
|
+
title: _propTypes.default.string,
|
|
127
|
+
subtitle: _propTypes.default.string,
|
|
128
|
+
tag: _propTypes.default.string,
|
|
129
|
+
count: _propTypes.default.string
|
|
130
|
+
}),
|
|
109
131
|
sorting: _propTypes.default.shape(_select.default.propTypes)
|
|
110
132
|
} : {};
|
|
111
133
|
var _default = Certifications;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["Certifications","props","context","certifications","sorting","translate","showCompleted","setShowCompleted","useState","sortView","undefined","handleShowCompletedToggle","useCallback","style","backgroudnContainer","container","iconName","iconColor","borderRadius","backgroundColor","sortSectionWrapper","certificatesCount","
|
|
1
|
+
{"version":3,"file":"index.js","names":["Certifications","props","context","locales","title","subtitle","tag","count","certifications","sorting","translate","showCompleted","setShowCompleted","useState","sortView","undefined","handleShowCompletedToggle","useCallback","style","backgroudnContainer","container","iconName","iconColor","borderRadius","backgroundColor","sortSectionWrapper","certificatesCount","sortSection","sortWrapper","certificateList","certification","label","progress","contextTypes","Provider","childContextTypes","propTypes","PropTypes","arrayOf","shape","string","goal","condition","nbDone","number","imgUrl","onClick","func","conditionDescriptionProgress","Select"],"sources":["../../../src/template/certifications/index.js"],"sourcesContent":["import React, {useState, useCallback} from 'react';\nimport PropTypes from 'prop-types';\nimport {map} from 'lodash/fp';\nimport Provider from '../../atom/provider';\nimport Title from '../../atom/title';\nimport Select from '../../atom/select';\nimport InputSwitch from '../../atom/input-switch';\nimport CertificationCard from '../../molecule/certification-card';\nimport style from './style.css';\n\nconst Certifications = (props, context) => {\n const {\n locales: {title, subtitle, tag, count},\n certifications,\n sorting\n } = props;\n const {translate} = context;\n\n const [showCompleted, setShowCompleted] = useState(true);\n\n const sortView =\n sorting !== undefined ? (\n <div data-name=\"choice\">\n <Select {...sorting} aria-label=\"All courses sort\" />\n </div>\n ) : null;\n\n const handleShowCompletedToggle = useCallback(() => {\n setShowCompleted(!showCompleted);\n }, [showCompleted, setShowCompleted]);\n\n return (\n <div className={style.backgroudnContainer}>\n <div className={style.container} data-name=\"Certifications\">\n <Title\n title={title}\n subtitle={subtitle}\n type=\"form-group\"\n titleSize=\"standard-light-weight\"\n subtitleSize=\"standard-without-margin\"\n icon={{\n iconName: 'wreath-laurel',\n iconColor: '#B87A00',\n borderRadius: '12px',\n backgroundColor: '#FFEECC'\n }}\n />\n <div className={style.sortSectionWrapper}>\n <div className={style.certificatesCount}>{count}</div>\n <div className={style.sortSection}>\n <InputSwitch\n id={'show-completed-courses-switch'}\n type=\"switch\"\n name={translate('show_completed')}\n title={translate('show_completed')}\n aria-label={'Show completed courses aria label'}\n value={showCompleted}\n onChange={handleShowCompletedToggle}\n />\n {sorting ? (\n <div className={style.sortWrapper}>\n {translate('sort_by')}\n {sortView}\n </div>\n ) : null}\n </div>\n </div>\n <div className={style.certificateList}>\n {map(certification => {\n const {label, progress} = certification;\n if (!showCompleted && progress === 100) return null;\n\n return (\n <div key={label}>\n <CertificationCard {...certification} locales={{...certification.locales, tag}} />\n </div>\n );\n }, certifications)}\n </div>\n </div>\n </div>\n );\n};\n\nCertifications.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nCertifications.propTypes = {\n certifications: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n goal: PropTypes.shape({\n title: PropTypes.string,\n condition: PropTypes.shape({\n nbDone: PropTypes.number\n })\n }),\n progress: PropTypes.number,\n imgUrl: PropTypes.string,\n onClick: PropTypes.func,\n locales: PropTypes.shape({\n conditionDescriptionProgress: PropTypes.string\n })\n })\n ),\n locales: PropTypes.shape({\n title: PropTypes.string,\n subtitle: PropTypes.string,\n tag: PropTypes.string,\n count: PropTypes.string\n }),\n sorting: PropTypes.shape(Select.propTypes)\n};\n\nexport default Certifications;\n"],"mappings":";;;;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;AAEA,MAAMA,cAAc,GAAG,CAACC,KAAD,EAAQC,OAAR,KAAoB;EACzC,MAAM;IACJC,OAAO,EAAE;MAACC,KAAD;MAAQC,QAAR;MAAkBC,GAAlB;MAAuBC;IAAvB,CADL;IAEJC,cAFI;IAGJC;EAHI,IAIFR,KAJJ;EAKA,MAAM;IAACS;EAAD,IAAcR,OAApB;EAEA,MAAM,CAACS,aAAD,EAAgBC,gBAAhB,IAAoC,IAAAC,eAAA,EAAS,IAAT,CAA1C;EAEA,MAAMC,QAAQ,GACZL,OAAO,KAAKM,SAAZ,gBACE;IAAK,aAAU;EAAf,gBACE,6BAAC,eAAD,eAAYN,OAAZ;IAAqB,cAAW;EAAhC,GADF,CADF,GAII,IALN;EAOA,MAAMO,yBAAyB,GAAG,IAAAC,kBAAA,EAAY,MAAM;IAClDL,gBAAgB,CAAC,CAACD,aAAF,CAAhB;EACD,CAFiC,EAE/B,CAACA,aAAD,EAAgBC,gBAAhB,CAF+B,CAAlC;EAIA,oBACE;IAAK,SAAS,EAAEM,cAAA,CAAMC;EAAtB,gBACE;IAAK,SAAS,EAAED,cAAA,CAAME,SAAtB;IAAiC,aAAU;EAA3C,gBACE,6BAAC,cAAD;IACE,KAAK,EAAEhB,KADT;IAEE,QAAQ,EAAEC,QAFZ;IAGE,IAAI,EAAC,YAHP;IAIE,SAAS,EAAC,uBAJZ;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AE6B,kBAAA,CAAUC,OAAV,CACdD,kBAAA,CAAUE,KAAV,CAAgB;IACdR,KAAK,EAAEM,kBAAA,CAAUG,MADH;IAEdC,IAAI,EAAEJ,kBAAA,CAAUE,KAAV,CAAgB;MACpBnC,KAAK,EAAEiC,kBAAA,CAAUG,MADG;MAEpBE,SAAS,EAAEL,kBAAA,CAAUE,KAAV,CAAgB;QACzBI,MAAM,EAAEN,kBAAA,CAAUO;MADO,CAAhB;IAFS,CAAhB,CAFQ;IAQdZ,QAAQ,EAAEK,kBAAA,CAAUO,MARN;IASdC,MAAM,EAAER,kBAAA,CAAUG,MATJ;IAUdM,OAAO,EAAET,kBAAA,CAAUU,IAVL;IAWd5C,OAAO,EAAEkC,kBAAA,CAAUE,KAAV,CAAgB;MACvBS,4BAA4B,EAAEX,kBAAA,CAAUG;IADjB,CAAhB;EAXK,CAAhB,CADc,CADS;EAkBzBrC,OAAO,EAAEkC,kBAAA,CAAUE,KAAV,CAAgB;IACvBnC,KAAK,EAAEiC,kBAAA,CAAUG,MADM;IAEvBnC,QAAQ,EAAEgC,kBAAA,CAAUG,MAFG;IAGvBlC,GAAG,EAAE+B,kBAAA,CAAUG,MAHQ;IAIvBjC,KAAK,EAAE8B,kBAAA,CAAUG;EAJM,CAAhB,CAlBgB;EAwBzB/B,OAAO,EAAE4B,kBAAA,CAAUE,KAAV,CAAgBU,eAAA,CAAOb,SAAvB;AAxBgB,CAA3B;eA2BepC,c"}
|
|
@@ -302,8 +302,8 @@ declare namespace Dashboard {
|
|
|
302
302
|
'aria-label': PropTypes.Requireable<string>;
|
|
303
303
|
title: PropTypes.Requireable<string>;
|
|
304
304
|
target: PropTypes.Requireable<string>;
|
|
305
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
306
305
|
hoverColor: PropTypes.Requireable<string>;
|
|
306
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
307
307
|
download: PropTypes.Requireable<boolean>;
|
|
308
308
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
309
309
|
onMouseEnter: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -611,8 +611,8 @@ declare namespace Dashboard {
|
|
|
611
611
|
'aria-label': PropTypes.Requireable<string>;
|
|
612
612
|
title: PropTypes.Requireable<string>;
|
|
613
613
|
target: PropTypes.Requireable<string>;
|
|
614
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
615
614
|
hoverColor: PropTypes.Requireable<string>;
|
|
615
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
616
616
|
download: PropTypes.Requireable<boolean>;
|
|
617
617
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
618
618
|
onMouseEnter: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -483,8 +483,8 @@ declare namespace SearchPage {
|
|
|
483
483
|
'aria-label': PropTypes.Requireable<string>;
|
|
484
484
|
title: PropTypes.Requireable<string>;
|
|
485
485
|
target: PropTypes.Requireable<string>;
|
|
486
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
487
486
|
hoverColor: PropTypes.Requireable<string>;
|
|
487
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
488
488
|
download: PropTypes.Requireable<boolean>;
|
|
489
489
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
490
490
|
onMouseEnter: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -320,8 +320,8 @@ declare namespace ExternalCourse {
|
|
|
320
320
|
'aria-label': PropTypes.Requireable<string>;
|
|
321
321
|
title: PropTypes.Requireable<string>;
|
|
322
322
|
target: PropTypes.Requireable<string>;
|
|
323
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
324
323
|
hoverColor: PropTypes.Requireable<string>;
|
|
324
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
325
325
|
download: PropTypes.Requireable<boolean>;
|
|
326
326
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
327
327
|
onMouseEnter: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -67,12 +67,12 @@ declare namespace SkillDetail {
|
|
|
67
67
|
export const metrics: PropTypes.Requireable<PropTypes.InferProps<{
|
|
68
68
|
score: PropTypes.Requireable<number>;
|
|
69
69
|
questionsToReview: PropTypes.Requireable<number>;
|
|
70
|
+
totalContents: PropTypes.Requireable<number>;
|
|
70
71
|
}>>;
|
|
71
72
|
export const focused: PropTypes.Requireable<boolean>;
|
|
72
73
|
export const availableForReview: PropTypes.Requireable<boolean>;
|
|
73
74
|
const ongoingCoursesAvailable_1: PropTypes.Requireable<boolean>;
|
|
74
75
|
export { ongoingCoursesAvailable_1 as ongoingCoursesAvailable };
|
|
75
|
-
export const totalCourses: PropTypes.Requireable<number>;
|
|
76
76
|
export const skillIncludedCourses: PropTypes.Requireable<PropTypes.InferProps<{
|
|
77
77
|
list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
|
|
78
78
|
customStyle: PropTypes.Requireable<{
|