@coorpacademy/components 11.18.9 → 11.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/atom/button-menu/index.d.ts.map +1 -1
- package/es/atom/button-menu/index.js +1 -1
- package/es/atom/button-menu/index.js.map +1 -1
- package/es/atom/button-menu/style.css +10 -0
- package/es/atom/button-menu/types.d.ts +1 -1
- package/es/atom/button-menu/types.d.ts.map +1 -1
- package/es/atom/button-menu/types.js +1 -1
- package/es/atom/button-menu/types.js.map +1 -1
- package/es/atom/empty-search-result/index.d.ts +1 -0
- package/es/atom/empty-search-result/index.d.ts.map +1 -1
- package/es/atom/empty-search-result/index.js +6 -4
- package/es/atom/empty-search-result/index.js.map +1 -1
- package/es/atom/empty-search-result/style.css +16 -1
- package/es/atom/status-item/index.d.ts +1 -0
- package/es/atom/status-item/index.d.ts.map +1 -1
- package/es/atom/status-item/index.js +3 -2
- package/es/atom/status-item/index.js.map +1 -1
- package/es/atom/status-item/style.css +15 -17
- package/es/atom/status-item/types.d.ts +2 -0
- package/es/atom/status-item/types.d.ts.map +1 -1
- package/es/atom/status-item/types.js +1 -0
- package/es/atom/status-item/types.js.map +1 -1
- package/es/atom/tag/index.js +4 -4
- package/es/atom/tag/index.js.map +1 -1
- package/es/atom/tag/style.css +11 -8
- package/es/atom/title/types.d.ts +9 -0
- package/es/atom/title/types.d.ts.map +1 -0
- package/es/atom/title/types.js +2 -0
- package/es/atom/title/types.js.map +1 -0
- package/es/molecule/brand-tabs/index.d.ts +1 -0
- package/es/molecule/brand-tabs/index.d.ts.map +1 -1
- package/es/molecule/brand-tabs/index.js +10 -1
- package/es/molecule/brand-tabs/index.js.map +1 -1
- package/es/molecule/brand-tabs/style.css +7 -4
- package/es/molecule/bulk-progress-bar/index.d.ts.map +1 -1
- package/es/molecule/bulk-progress-bar/index.js +4 -2
- package/es/molecule/bulk-progress-bar/index.js.map +1 -1
- package/es/molecule/bulk-progress-bar/style.css +5 -0
- package/es/molecule/card/index.d.ts +1 -0
- package/es/molecule/card/index.d.ts.map +1 -1
- package/es/molecule/card/index.js +11 -10
- package/es/molecule/card/index.js.map +1 -1
- package/es/molecule/card/style.css +47 -5
- package/es/molecule/cm-popin/index.d.ts.map +1 -1
- package/es/molecule/cm-popin/index.js +46 -9
- package/es/molecule/cm-popin/index.js.map +1 -1
- package/es/molecule/cm-popin/style.css +32 -0
- package/es/molecule/cm-popin/types.d.ts +31 -1
- package/es/molecule/cm-popin/types.d.ts.map +1 -1
- package/es/molecule/cm-popin/types.js +13 -3
- package/es/molecule/cm-popin/types.js.map +1 -1
- package/es/molecule/dashboard/cards-list/index.d.ts +1 -0
- package/es/molecule/dashboard/cards-list/index.d.ts.map +1 -1
- package/es/molecule/draggable-list/index.d.ts +32 -12
- package/es/molecule/expandible-actionable-table/index.d.ts +3 -0
- package/es/molecule/expandible-actionable-table/index.d.ts.map +1 -1
- package/es/molecule/expandible-actionable-table/index.js +15 -2
- package/es/molecule/expandible-actionable-table/index.js.map +1 -1
- package/es/molecule/expandible-actionable-table/style.css +5 -0
- package/es/molecule/expandible-actionable-table/types.d.ts +5 -0
- package/es/molecule/expandible-actionable-table/types.d.ts.map +1 -1
- package/es/molecule/expandible-actionable-table/types.js +3 -1
- package/es/molecule/expandible-actionable-table/types.js.map +1 -1
- package/es/molecule/review-header-steps/index.d.ts.map +1 -1
- package/es/molecule/review-header-steps/index.js +3 -4
- package/es/molecule/review-header-steps/index.js.map +1 -1
- package/es/molecule/review-header-steps/prop-types.d.ts +1 -0
- package/es/molecule/review-header-steps/prop-types.d.ts.map +1 -1
- package/es/molecule/review-header-steps/style.css +6 -1
- package/es/organism/list-item/index.d.ts +44 -13
- package/es/organism/list-item/index.d.ts.map +1 -1
- package/es/organism/list-item/index.js +72 -38
- package/es/organism/list-item/index.js.map +1 -1
- package/es/organism/list-item/style.css +28 -5
- package/es/organism/list-items/index.d.ts +36 -12
- package/es/organism/list-items/index.d.ts.map +1 -1
- package/es/organism/list-items/index.js +19 -4
- package/es/organism/list-items/index.js.map +1 -1
- package/es/organism/list-items/style.css +42 -0
- package/es/organism/review-header/types.d.ts +1 -0
- package/es/organism/review-header/types.d.ts.map +1 -1
- package/es/organism/wizard-contents/index.d.ts +67 -0
- package/es/organism/wizard-contents/index.d.ts.map +1 -1
- package/es/organism/wizard-contents/index.js +37 -4
- package/es/organism/wizard-contents/index.js.map +1 -1
- package/es/organism/wizard-contents/style.css +22 -0
- package/es/template/app-player/loading/index.d.ts +19 -1
- package/es/template/app-player/player/index.d.ts +38 -2
- package/es/template/app-player/player/slides/index.d.ts +19 -1
- package/es/template/app-player/player/slides/index.d.ts.map +1 -1
- package/es/template/app-player/popin-correction/index.d.ts +19 -1
- package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/es/template/app-player/popin-end/index.d.ts +20 -1
- package/es/template/app-player/popin-end/summary.d.ts +1 -0
- package/es/template/app-review/index.d.ts +20 -1
- package/es/template/app-review/index.d.ts.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +20 -1
- package/es/template/app-review/player/prop-types.d.ts.map +1 -1
- package/es/template/app-review/prop-types.d.ts +20 -1
- package/es/template/app-review/prop-types.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.d.ts +122 -13
- package/es/template/common/dashboard/index.d.ts +89 -1
- package/es/template/common/dashboard/index.d.ts.map +1 -1
- package/es/template/common/dashboard/index.js +6 -2
- package/es/template/common/dashboard/index.js.map +1 -1
- package/es/template/common/dashboard/style.css +5 -0
- package/es/template/common/search-page/index.d.ts +71 -0
- package/es/template/common/search-page/index.d.ts.map +1 -1
- package/es/template/common/search-page/index.js +8 -3
- package/es/template/common/search-page/index.js.map +1 -1
- package/es/template/common/search-page/style.css +5 -0
- package/es/template/external-course/index.d.ts +19 -1
- package/es/template/teams-dashboard/index.d.ts +1 -0
- package/es/variables/colors.css +1 -1
- package/lib/atom/button-menu/index.d.ts.map +1 -1
- package/lib/atom/button-menu/index.js +1 -1
- package/lib/atom/button-menu/index.js.map +1 -1
- package/lib/atom/button-menu/style.css +10 -0
- package/lib/atom/button-menu/types.d.ts +1 -1
- package/lib/atom/button-menu/types.d.ts.map +1 -1
- package/lib/atom/button-menu/types.js +1 -1
- package/lib/atom/button-menu/types.js.map +1 -1
- package/lib/atom/empty-search-result/index.d.ts +1 -0
- package/lib/atom/empty-search-result/index.d.ts.map +1 -1
- package/lib/atom/empty-search-result/index.js +6 -4
- package/lib/atom/empty-search-result/index.js.map +1 -1
- package/lib/atom/empty-search-result/style.css +16 -1
- package/lib/atom/status-item/index.d.ts +1 -0
- package/lib/atom/status-item/index.d.ts.map +1 -1
- package/lib/atom/status-item/index.js +3 -2
- package/lib/atom/status-item/index.js.map +1 -1
- package/lib/atom/status-item/style.css +15 -17
- package/lib/atom/status-item/types.d.ts +2 -0
- package/lib/atom/status-item/types.d.ts.map +1 -1
- package/lib/atom/status-item/types.js +1 -0
- package/lib/atom/status-item/types.js.map +1 -1
- package/lib/atom/tag/index.js +4 -4
- package/lib/atom/tag/index.js.map +1 -1
- package/lib/atom/tag/style.css +11 -8
- package/lib/atom/title/types.d.ts +9 -0
- package/lib/atom/title/types.d.ts.map +1 -0
- package/lib/atom/title/types.js +2 -0
- package/lib/atom/title/types.js.map +1 -0
- package/lib/molecule/brand-tabs/index.d.ts +1 -0
- package/lib/molecule/brand-tabs/index.d.ts.map +1 -1
- package/lib/molecule/brand-tabs/index.js +11 -1
- package/lib/molecule/brand-tabs/index.js.map +1 -1
- package/lib/molecule/brand-tabs/style.css +7 -4
- package/lib/molecule/bulk-progress-bar/index.d.ts.map +1 -1
- package/lib/molecule/bulk-progress-bar/index.js +4 -2
- package/lib/molecule/bulk-progress-bar/index.js.map +1 -1
- package/lib/molecule/bulk-progress-bar/style.css +5 -0
- package/lib/molecule/card/index.d.ts +1 -0
- package/lib/molecule/card/index.d.ts.map +1 -1
- package/lib/molecule/card/index.js +10 -8
- package/lib/molecule/card/index.js.map +1 -1
- package/lib/molecule/card/style.css +47 -5
- package/lib/molecule/cm-popin/index.d.ts.map +1 -1
- package/lib/molecule/cm-popin/index.js +48 -8
- package/lib/molecule/cm-popin/index.js.map +1 -1
- package/lib/molecule/cm-popin/style.css +32 -0
- package/lib/molecule/cm-popin/types.d.ts +31 -1
- package/lib/molecule/cm-popin/types.d.ts.map +1 -1
- package/lib/molecule/cm-popin/types.js +15 -3
- package/lib/molecule/cm-popin/types.js.map +1 -1
- package/lib/molecule/dashboard/cards-list/index.d.ts +1 -0
- package/lib/molecule/dashboard/cards-list/index.d.ts.map +1 -1
- package/lib/molecule/draggable-list/index.d.ts +32 -12
- package/lib/molecule/expandible-actionable-table/index.d.ts +3 -0
- package/lib/molecule/expandible-actionable-table/index.d.ts.map +1 -1
- package/lib/molecule/expandible-actionable-table/index.js +17 -2
- package/lib/molecule/expandible-actionable-table/index.js.map +1 -1
- package/lib/molecule/expandible-actionable-table/style.css +5 -0
- package/lib/molecule/expandible-actionable-table/types.d.ts +5 -0
- package/lib/molecule/expandible-actionable-table/types.d.ts.map +1 -1
- package/lib/molecule/expandible-actionable-table/types.js +3 -1
- package/lib/molecule/expandible-actionable-table/types.js.map +1 -1
- package/lib/molecule/review-header-steps/index.d.ts.map +1 -1
- package/lib/molecule/review-header-steps/index.js +3 -4
- package/lib/molecule/review-header-steps/index.js.map +1 -1
- package/lib/molecule/review-header-steps/prop-types.d.ts +1 -0
- package/lib/molecule/review-header-steps/prop-types.d.ts.map +1 -1
- package/lib/molecule/review-header-steps/style.css +6 -1
- package/lib/organism/list-item/index.d.ts +44 -13
- package/lib/organism/list-item/index.d.ts.map +1 -1
- package/lib/organism/list-item/index.js +73 -37
- package/lib/organism/list-item/index.js.map +1 -1
- package/lib/organism/list-item/style.css +28 -5
- package/lib/organism/list-items/index.d.ts +36 -12
- package/lib/organism/list-items/index.d.ts.map +1 -1
- package/lib/organism/list-items/index.js +21 -4
- package/lib/organism/list-items/index.js.map +1 -1
- package/lib/organism/list-items/style.css +42 -0
- package/lib/organism/review-header/types.d.ts +1 -0
- package/lib/organism/review-header/types.d.ts.map +1 -1
- package/lib/organism/wizard-contents/index.d.ts +67 -0
- package/lib/organism/wizard-contents/index.d.ts.map +1 -1
- package/lib/organism/wizard-contents/index.js +39 -4
- package/lib/organism/wizard-contents/index.js.map +1 -1
- package/lib/organism/wizard-contents/style.css +22 -0
- package/lib/template/app-player/loading/index.d.ts +19 -1
- package/lib/template/app-player/player/index.d.ts +38 -2
- package/lib/template/app-player/player/slides/index.d.ts +19 -1
- package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-correction/index.d.ts +19 -1
- package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-end/index.d.ts +20 -1
- package/lib/template/app-player/popin-end/summary.d.ts +1 -0
- package/lib/template/app-review/index.d.ts +20 -1
- package/lib/template/app-review/index.d.ts.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +20 -1
- package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/prop-types.d.ts +20 -1
- package/lib/template/app-review/prop-types.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.d.ts +122 -13
- package/lib/template/common/dashboard/index.d.ts +89 -1
- package/lib/template/common/dashboard/index.d.ts.map +1 -1
- package/lib/template/common/dashboard/index.js +6 -2
- package/lib/template/common/dashboard/index.js.map +1 -1
- package/lib/template/common/dashboard/style.css +5 -0
- package/lib/template/common/search-page/index.d.ts +71 -0
- package/lib/template/common/search-page/index.d.ts.map +1 -1
- package/lib/template/common/search-page/index.js +9 -3
- package/lib/template/common/search-page/index.js.map +1 -1
- package/lib/template/common/search-page/style.css +5 -0
- package/lib/template/external-course/index.d.ts +19 -1
- package/lib/template/teams-dashboard/index.d.ts +1 -0
- package/lib/variables/colors.css +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["buildHeader","wizardHeader","steps","title","onClick","buttonCloseIcon","size","icon","style","header","headerTitle","buildForm","content","type","buildButton","step","side","ICONS","previous","position","next","publish","label","buttonProps","buildActionZone","previousStep","nextStep","previousButton","nextStepType","getOr","nextButton","actionZone","button","THEMES","container","containerWithoutSummary","footer","footerWithoutSummary","actionFooter","actionFooterWithoutSummary","leftSection","leftSectionWithoutSummary","summary","getTheme","WizardContents","props","isLoading","headerView","formView","rightActionView","footerActionView","currentStyle","summaryWrapper","rightSection","stickySection","summaryZone","form","summaryFooter","propTypes","PropTypes","bool","shape","string","func","isRequired","WizardSteps","WizardSummary","oneOfType","BrandForm","oneOf","ContentTranslate","OrganismSearchAndChipsResults","CourseSelection","CourseSections","RewardsForm","ExpandibleActionableErrorsTable"],"sources":["../../../src/organism/wizard-contents/index.js"],"sourcesContent":["import React from 'react';\nimport getOr from 'lodash/fp/getOr';\nimport PropTypes from 'prop-types';\nimport ButtonLink from '../../atom/button-link';\nimport ButtonLinkIconOnly from '../../atom/button-link-icon-only';\nimport WizardSteps from '../../atom/wizard-steps';\nimport WizardSummary from '../../molecule/wizard-summary';\nimport BrandForm from '../brand-form';\nimport ContentTranslate from '../content-translation';\nimport OrganismSearchAndChipsResults from '../search-and-chips-results';\nimport CourseSelection from '../course-selection';\nimport CourseSections from '../../molecule/course-sections';\nimport RewardsForm from '../rewards-form';\nimport ExpandibleActionableErrorsTable from '../../molecule/expandible-actionable-table';\nimport style from './style.css';\n\nconst buildHeader = (wizardHeader, steps) => {\n const {title, onClick} = wizardHeader;\n\n const buttonCloseIcon = {\n size: 'small',\n 'data-name': 'close-button',\n 'aria-label': 'close button',\n icon: 'close',\n onClick\n };\n\n return (\n <div>\n <div className={style.header}>\n <ButtonLinkIconOnly {...buttonCloseIcon} />\n <div className={style.headerTitle} data-name={'content-title'}>\n {title}\n </div>\n </div>\n <WizardSteps steps={steps} />\n </div>\n );\n};\n\nconst buildForm = content => {\n const {type} = content;\n switch (type) {\n case 'form':\n return <BrandForm {...content} />;\n case 'translate':\n return <ContentTranslate {...content} />;\n case 'populations':\n return <OrganismSearchAndChipsResults {...content} />;\n case 'courses':\n return <CourseSelection {...content} />;\n case 'organize-courses':\n return <CourseSections {...content} />;\n case 'rewards':\n return <RewardsForm {...content} />;\n case 'expandible-table':\n return <ExpandibleActionableErrorsTable {...content} />;\n }\n};\n\nconst buildButton = (type, step, side) => {\n const ICONS = {\n previous: {\n position: 'left',\n type: 'chevron-left'\n },\n next: {\n position: 'right',\n type: 'chevron-right'\n },\n publish: {\n position: 'left',\n type: 'publish'\n }\n };\n\n const {label, onClick} = step;\n const buttonProps = {\n type: type === 'previous' ? 'secondary' : 'primary',\n 'aria-label': `${type} step button`,\n 'data-name': `${type}-step-button-${side}`,\n icon: ICONS[type],\n label,\n onClick\n };\n\n return <ButtonLink {...buttonProps} />;\n};\n\nconst buildActionZone = (previousStep, nextStep, side) => {\n const previousButton = previousStep ? buildButton('previous', previousStep, side) : null;\n const nextStepType = getOr('next', 'type', nextStep);\n const nextButton = nextStep ? buildButton(nextStepType, nextStep, side) : null;\n return (\n <div className={style.actionZone}>\n <div className={style.button}>{previousButton}</div>\n <div className={style.button}>{nextButton}</div>\n </div>\n );\n};\n\nconst THEMES = {\n 'no-summary': {\n container: style.containerWithoutSummary,\n footer: style.footerWithoutSummary,\n actionFooter: style.actionFooterWithoutSummary,\n leftSection: style.leftSectionWithoutSummary\n },\n summary: {\n container: style.container,\n footer: style.footer,\n actionFooter: style.actionFooter,\n leftSection: style.leftSection\n }\n};\n\nconst getTheme = summary => (summary ? 'summary' : 'no-summary');\n\nconst WizardContents = props => {\n const {isLoading, wizardHeader, steps, summary, content, nextStep, previousStep} = props;\n const headerView = buildHeader(wizardHeader, steps);\n const formView = buildForm({...content, isLoading});\n const rightActionView = buildActionZone(previousStep, nextStep, 'right');\n const footerActionView = buildActionZone(previousStep, nextStep, 'footer');\n const currentStyle = THEMES[getTheme(summary)];\n\n const summaryWrapper = (\n <div className={style.rightSection} data-name=\"summary-right-section\">\n <div className={style.stickySection}>\n <div className={style.summaryZone} data-name=\"summary-zone\">\n <WizardSummary {...summary} side={'right'} />\n </div>\n {rightActionView}\n </div>\n </div>\n );\n\n return (\n <div className={currentStyle.container} data-name=\"content-summary\">\n <div className={currentStyle.leftSection}>\n {headerView}\n <div className={style.form}>{formView}</div>\n </div>\n {summary ? summaryWrapper : null}\n <div className={currentStyle.footer} data-name=\"footer-section\">\n {summary ? (\n <div className={style.summaryFooter}>\n <WizardSummary {...summary} side={'footer'} />\n </div>\n ) : null}\n <div className={currentStyle.actionFooter}>{footerActionView}</div>\n </div>\n </div>\n );\n};\n\nWizardContents.propTypes = {\n isLoading: PropTypes.bool,\n wizardHeader: PropTypes.shape({\n title: PropTypes.string,\n onClick: PropTypes.func\n }).isRequired,\n steps: WizardSteps.propTypes.steps,\n summary: PropTypes.shape({\n ...WizardSummary.propTypes\n }),\n content: PropTypes.oneOfType([\n PropTypes.shape({\n ...BrandForm.propTypes,\n type: PropTypes.oneOf(['form'])\n }),\n PropTypes.shape({\n ...ContentTranslate.propTypes,\n type: PropTypes.oneOf(['translate'])\n }),\n PropTypes.shape({\n ...OrganismSearchAndChipsResults.propTypes,\n type: PropTypes.oneOf(['populations'])\n }),\n PropTypes.shape({\n ...CourseSelection.propTypes,\n type: PropTypes.oneOf(['courses'])\n }),\n PropTypes.shape({\n ...CourseSections.propTypes,\n type: PropTypes.oneOf(['organize-courses'])\n }),\n PropTypes.shape({\n ...RewardsForm.propTypes,\n type: PropTypes.oneOf(['rewards'])\n }),\n PropTypes.shape({\n ...ExpandibleActionableErrorsTable.propTypes,\n type: PropTypes.oneOf(['expandible-table'])\n })\n ]),\n previousStep: PropTypes.shape({\n label: PropTypes.string,\n onClick: PropTypes.func\n }),\n nextStep: PropTypes.shape({\n type: PropTypes.oneOf(['next', 'publish']),\n label: PropTypes.string,\n onClick: PropTypes.func\n })\n};\n\nexport default WizardContents;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AAC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","title","onClick","buttonCloseIcon","size","icon","style","header","titleWrapper","headerTitle","actionsWrapper","bulletPointMenuButton","buttonLink","firstButtonLink","secondButtonLink","buildForm","content","type","buildButton","step","side","ICONS","previous","position","next","publish","label","buttonProps","buildActionZone","previousStep","nextStep","previousButton","nextStepType","getOr","nextButton","actionZone","button","THEMES","container","containerWithoutSummary","footer","footerWithoutSummary","actionFooter","actionFooterWithoutSummary","leftSection","leftSectionWithoutSummary","summary","getTheme","WizardContents","props","isLoading","headerView","formView","rightActionView","footerActionView","currentStyle","summaryWrapper","rightSection","stickySection","summaryZone","form","summaryFooter","propTypes","PropTypes","bool","shape","string","func","isRequired","buttonAriaLabel","menuAriaLabel","buttons","arrayOf","ButtonLink","WizardSteps","BrandTabs","WizardSummary","oneOfType","BrandForm","oneOf","ContentTranslate","OrganismSearchAndChipsResults","CourseSelection","CourseSections","RewardsForm","ExpandibleActionableErrorsTable"],"sources":["../../../src/organism/wizard-contents/index.js"],"sourcesContent":["import React from 'react';\nimport getOr from 'lodash/fp/getOr';\nimport PropTypes from 'prop-types';\nimport ButtonLink from '../../atom/button-link';\nimport ButtonLinkIconOnly from '../../atom/button-link-icon-only';\nimport WizardSteps from '../../atom/wizard-steps';\nimport WizardSummary from '../../molecule/wizard-summary';\nimport BrandForm from '../brand-form';\nimport ContentTranslate from '../content-translation';\nimport OrganismSearchAndChipsResults from '../search-and-chips-results';\nimport CourseSelection from '../course-selection';\nimport CourseSections from '../../molecule/course-sections';\nimport BrandTabs from '../../molecule/brand-tabs';\nimport BulletPointMenuButton from '../../molecule/bullet-point-menu-button';\nimport RewardsForm from '../rewards-form';\nimport ExpandibleActionableErrorsTable from '../../molecule/expandible-actionable-table';\nimport style from './style.css';\n\nconst buildHeader = (wizardHeader, actions, steps, tabs) => {\n const {title, onClick} = wizardHeader;\n\n const buttonCloseIcon = {\n size: 'small',\n 'data-name': 'close-button',\n 'aria-label': 'close button',\n icon: 'close',\n onClick\n };\n\n return (\n <div>\n <div className={style.header}>\n <div className={style.titleWrapper}>\n <ButtonLinkIconOnly {...buttonCloseIcon} />\n <div className={style.headerTitle} data-name={'content-title'}>\n {title}\n </div>\n </div>\n {actions ? (\n <div className={style.actionsWrapper}>\n <BulletPointMenuButton {...actions.bulletPointMenuButton} />\n <div className={style.buttonLink}>\n <ButtonLink {...actions.firstButtonLink} />\n </div>\n <div className={style.buttonLink}>\n <ButtonLink {...actions.secondButtonLink} />\n </div>\n </div>\n ) : null}\n </div>\n {steps ? <WizardSteps steps={steps} /> : null}\n {tabs ? (\n <div className={style.tabs}>\n <BrandTabs type=\"light\" tabs={tabs} />\n </div>\n ) : null}\n </div>\n );\n};\n\nconst buildForm = content => {\n const {type} = content;\n switch (type) {\n case 'form':\n return <BrandForm {...content} />;\n case 'translate':\n return <ContentTranslate {...content} />;\n case 'populations':\n return <OrganismSearchAndChipsResults {...content} />;\n case 'courses':\n return <CourseSelection {...content} />;\n case 'organize-courses':\n return <CourseSections {...content} />;\n case 'rewards':\n return <RewardsForm {...content} />;\n case 'expandible-table':\n return <ExpandibleActionableErrorsTable {...content} />;\n }\n};\n\nconst buildButton = (type, step, side) => {\n const ICONS = {\n previous: {\n position: 'left',\n type: 'chevron-left'\n },\n next: {\n position: 'right',\n type: 'chevron-right'\n },\n publish: {\n position: 'left',\n type: 'publish'\n }\n };\n\n const {label, onClick} = step;\n const buttonProps = {\n type: type === 'previous' ? 'secondary' : 'primary',\n 'aria-label': `${type} step button`,\n 'data-name': `${type}-step-button-${side}`,\n icon: ICONS[type],\n label,\n onClick\n };\n\n return <ButtonLink {...buttonProps} />;\n};\n\nconst buildActionZone = (previousStep, nextStep, side) => {\n const previousButton = previousStep ? buildButton('previous', previousStep, side) : null;\n const nextStepType = getOr('next', 'type', nextStep);\n const nextButton = nextStep ? buildButton(nextStepType, nextStep, side) : null;\n return (\n <div className={style.actionZone}>\n <div className={style.button}>{previousButton}</div>\n <div className={style.button}>{nextButton}</div>\n </div>\n );\n};\n\nconst THEMES = {\n 'no-summary': {\n container: style.containerWithoutSummary,\n footer: style.footerWithoutSummary,\n actionFooter: style.actionFooterWithoutSummary,\n leftSection: style.leftSectionWithoutSummary\n },\n summary: {\n container: style.container,\n footer: style.footer,\n actionFooter: style.actionFooter,\n leftSection: style.leftSection\n }\n};\n\nconst getTheme = summary => (summary ? 'summary' : 'no-summary');\n\nconst WizardContents = props => {\n const {isLoading, wizardHeader, actions, steps, tabs, summary, content, nextStep, previousStep} =\n props;\n const headerView = buildHeader(wizardHeader, actions, steps, tabs);\n const formView = buildForm({...content, isLoading});\n const rightActionView = buildActionZone(previousStep, nextStep, 'right');\n const footerActionView = buildActionZone(previousStep, nextStep, 'footer');\n const currentStyle = THEMES[getTheme(summary)];\n\n const summaryWrapper = (\n <div className={style.rightSection} data-name=\"summary-right-section\">\n <div className={style.stickySection}>\n <div className={style.summaryZone} data-name=\"summary-zone\">\n <WizardSummary {...summary} side={'right'} />\n </div>\n {rightActionView}\n </div>\n </div>\n );\n\n return (\n <div className={currentStyle.container} data-name=\"content-summary\">\n <div className={currentStyle.leftSection}>\n {headerView}\n <div className={style.form}>{formView}</div>\n </div>\n {summary ? summaryWrapper : null}\n <div className={currentStyle.footer} data-name=\"footer-section\">\n {summary ? (\n <div className={style.summaryFooter}>\n <WizardSummary {...summary} side={'footer'} />\n </div>\n ) : null}\n <div className={currentStyle.actionFooter}>{footerActionView}</div>\n </div>\n </div>\n );\n};\n\nWizardContents.propTypes = {\n isLoading: PropTypes.bool,\n wizardHeader: PropTypes.shape({\n title: PropTypes.string,\n onClick: PropTypes.func\n }).isRequired,\n actions: PropTypes.shape({\n bulletPointMenuButton: PropTypes.shape({\n buttonAriaLabel: PropTypes.string,\n menuAriaLabel: PropTypes.string,\n buttons: PropTypes.arrayOf(\n PropTypes.shape({\n 'data-name': PropTypes.string,\n label: PropTypes.string,\n type: PropTypes.string,\n onClick: PropTypes.func\n })\n ),\n onClick: PropTypes.func\n }),\n firstButtonLink: PropTypes.shape(ButtonLink.propTypes),\n secondButtonLink: PropTypes.shape(ButtonLink.propTypes)\n }),\n steps: WizardSteps.propTypes.steps,\n tabs: BrandTabs.propTypes.tabs,\n summary: PropTypes.shape({\n ...WizardSummary.propTypes\n }),\n content: PropTypes.oneOfType([\n PropTypes.shape({\n ...BrandForm.propTypes,\n type: PropTypes.oneOf(['form'])\n }),\n PropTypes.shape({\n ...ContentTranslate.propTypes,\n type: PropTypes.oneOf(['translate'])\n }),\n PropTypes.shape({\n ...OrganismSearchAndChipsResults.propTypes,\n type: PropTypes.oneOf(['populations'])\n }),\n PropTypes.shape({\n ...CourseSelection.propTypes,\n type: PropTypes.oneOf(['courses'])\n }),\n PropTypes.shape({\n ...CourseSections.propTypes,\n type: PropTypes.oneOf(['organize-courses'])\n }),\n PropTypes.shape({\n ...RewardsForm.propTypes,\n type: PropTypes.oneOf(['rewards'])\n }),\n PropTypes.shape({\n ...ExpandibleActionableErrorsTable.propTypes,\n type: PropTypes.oneOf(['expandible-table'])\n })\n ]),\n previousStep: PropTypes.shape({\n label: PropTypes.string,\n onClick: PropTypes.func\n }),\n nextStep: PropTypes.shape({\n type: PropTypes.oneOf(['next', 'publish']),\n label: PropTypes.string,\n onClick: PropTypes.func\n })\n};\n\nexport default WizardContents;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,WAAW,GAAG,CAACC,YAAD,EAAeC,OAAf,EAAwBC,KAAxB,EAA+BC,IAA/B,KAAwC;EAC1D,MAAM;IAACC,KAAD;IAAQC;EAAR,IAAmBL,YAAzB;EAEA,MAAMM,eAAe,GAAG;IACtBC,IAAI,EAAE,OADgB;IAEtB,aAAa,cAFS;IAGtB,cAAc,cAHQ;IAItBC,IAAI,EAAE,OAJgB;IAKtBH;EALsB,CAAxB;EAQA,oBACE,uDACE;IAAK,SAAS,EAAEI,cAAA,CAAMC;EAAtB,gBAC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kBAAA,CAAUE,KAAV,cACKiB,wBAAA,CAAgBpB,SADrB;IAEE7C,IAAI,EAAE8C,kBAAA,CAAUgB,KAAV,CAAgB,CAAC,SAAD,CAAhB;EAFR,GAb2B,EAiB3BhB,kBAAA,CAAUE,KAAV,cACKkB,uBAAA,CAAerB,SADpB;IAEE7C,IAAI,EAAE8C,kBAAA,CAAUgB,KAAV,CAAgB,CAAC,kBAAD,CAAhB;EAFR,GAjB2B,EAqB3BhB,kBAAA,CAAUE,KAAV,cACKmB,oBAAA,CAAYtB,SADjB;IAEE7C,IAAI,EAAE8C,kBAAA,CAAUgB,KAAV,CAAgB,CAAC,SAAD,CAAhB;EAFR,GArB2B,EAyB3BhB,kBAAA,CAAUE,KAAV,cACKoB,kCAAA,CAAgCvB,SADrC;IAEE7C,IAAI,EAAE8C,kBAAA,CAAUgB,KAAV,CAAgB,CAAC,kBAAD,CAAhB;EAFR,GAzB2B,CAApB,CA5BgB;EA0DzBlD,YAAY,EAAEkC,kBAAA,CAAUE,KAAV,CAAgB;IAC5BvC,KAAK,EAAEqC,kBAAA,CAAUG,MADW;IAE5BhE,OAAO,EAAE6D,kBAAA,CAAUI;EAFS,CAAhB,CA1DW;EA8DzBrC,QAAQ,EAAEiC,kBAAA,CAAUE,KAAV,CAAgB;IACxBhD,IAAI,EAAE8C,kBAAA,CAAUgB,KAAV,CAAgB,CAAC,MAAD,EAAS,SAAT,CAAhB,CADkB;IAExBrD,KAAK,EAAEqC,kBAAA,CAAUG,MAFO;IAGxBhE,OAAO,EAAE6D,kBAAA,CAAUI;EAHK,CAAhB;AA9De,CAA3B;eAqEenB,c"}
|
|
@@ -17,6 +17,17 @@
|
|
|
17
17
|
flex-direction: column;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
.actionsWrapper {
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
justify-content: space-between;
|
|
24
|
+
gap: 10px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.buttonLink {
|
|
28
|
+
max-width: 190px;
|
|
29
|
+
}
|
|
30
|
+
|
|
20
31
|
.leftSection {
|
|
21
32
|
display: flex;
|
|
22
33
|
flex-direction: column;
|
|
@@ -58,6 +69,13 @@
|
|
|
58
69
|
display: flex;
|
|
59
70
|
flex-direction: row;
|
|
60
71
|
align-items: center;
|
|
72
|
+
justify-content: space-between;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.titleWrapper {
|
|
76
|
+
display: flex;
|
|
77
|
+
flex-direction: row;
|
|
78
|
+
align-items: center;
|
|
61
79
|
}
|
|
62
80
|
|
|
63
81
|
.headerTitle {
|
|
@@ -67,6 +85,10 @@
|
|
|
67
85
|
margin: 0 0 0 16px;
|
|
68
86
|
}
|
|
69
87
|
|
|
88
|
+
.tabs {
|
|
89
|
+
padding: 31px 0 0 0;
|
|
90
|
+
}
|
|
91
|
+
|
|
70
92
|
.form {
|
|
71
93
|
margin: 45px 32px 0 0;
|
|
72
94
|
}
|
|
@@ -7,7 +7,18 @@ declare namespace PlayerLoading {
|
|
|
7
7
|
const popinError: PropTypes.Requireable<PropTypes.InferProps<{
|
|
8
8
|
content: PropTypes.Requireable<string>;
|
|
9
9
|
mode: PropTypes.Requireable<string>;
|
|
10
|
-
header: PropTypes.Requireable<
|
|
10
|
+
header: PropTypes.Requireable<PropTypes.InferProps<{
|
|
11
|
+
title: PropTypes.Requireable<PropTypes.InferProps<{
|
|
12
|
+
title: PropTypes.Requireable<string>;
|
|
13
|
+
subtitle: PropTypes.Requireable<string>;
|
|
14
|
+
type: PropTypes.Requireable<string>;
|
|
15
|
+
'data-name': PropTypes.Requireable<string>;
|
|
16
|
+
titleSize: PropTypes.Requireable<string>;
|
|
17
|
+
subtitleSize: PropTypes.Requireable<string>;
|
|
18
|
+
}>>;
|
|
19
|
+
headerIcon: PropTypes.Requireable<string>;
|
|
20
|
+
backgroundImage: PropTypes.Requireable<string>;
|
|
21
|
+
}>>;
|
|
11
22
|
firstButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
12
23
|
label: PropTypes.Requireable<string>;
|
|
13
24
|
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -55,6 +66,13 @@ declare namespace PlayerLoading {
|
|
|
55
66
|
'data-name': PropTypes.Requireable<string>;
|
|
56
67
|
requiredSelection: PropTypes.Requireable<boolean>;
|
|
57
68
|
}> | null | undefined)[]>;
|
|
69
|
+
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
70
|
+
type: PropTypes.Requireable<string>;
|
|
71
|
+
list: PropTypes.Requireable<PropTypes.InferProps<{
|
|
72
|
+
list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
|
|
73
|
+
loading: PropTypes.Requireable<boolean>;
|
|
74
|
+
}>>;
|
|
75
|
+
}>>;
|
|
58
76
|
}>>;
|
|
59
77
|
}
|
|
60
78
|
}
|
|
@@ -58,7 +58,18 @@ declare namespace SlidePlayer {
|
|
|
58
58
|
popinError: PropTypes.Requireable<PropTypes.InferProps<{
|
|
59
59
|
content: PropTypes.Requireable<string>;
|
|
60
60
|
mode: PropTypes.Requireable<string>;
|
|
61
|
-
header: PropTypes.Requireable<
|
|
61
|
+
header: PropTypes.Requireable<PropTypes.InferProps<{
|
|
62
|
+
title: PropTypes.Requireable<PropTypes.InferProps<{
|
|
63
|
+
title: PropTypes.Requireable<string>;
|
|
64
|
+
subtitle: PropTypes.Requireable<string>;
|
|
65
|
+
type: PropTypes.Requireable<string>;
|
|
66
|
+
'data-name': PropTypes.Requireable<string>;
|
|
67
|
+
titleSize: PropTypes.Requireable<string>;
|
|
68
|
+
subtitleSize: PropTypes.Requireable<string>;
|
|
69
|
+
}>>;
|
|
70
|
+
headerIcon: PropTypes.Requireable<string>;
|
|
71
|
+
backgroundImage: PropTypes.Requireable<string>;
|
|
72
|
+
}>>;
|
|
62
73
|
firstButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
63
74
|
label: PropTypes.Requireable<string>;
|
|
64
75
|
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -106,12 +117,30 @@ declare namespace SlidePlayer {
|
|
|
106
117
|
'data-name': PropTypes.Requireable<string>;
|
|
107
118
|
requiredSelection: PropTypes.Requireable<boolean>;
|
|
108
119
|
}> | null | undefined)[]>;
|
|
120
|
+
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
121
|
+
type: PropTypes.Requireable<string>;
|
|
122
|
+
list: PropTypes.Requireable<PropTypes.InferProps<{
|
|
123
|
+
list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
|
|
124
|
+
loading: PropTypes.Requireable<boolean>;
|
|
125
|
+
}>>;
|
|
126
|
+
}>>;
|
|
109
127
|
}>>;
|
|
110
128
|
}>>;
|
|
111
129
|
const popin: PropTypes.Requireable<PropTypes.InferProps<{
|
|
112
130
|
content: PropTypes.Requireable<string>;
|
|
113
131
|
mode: PropTypes.Requireable<string>;
|
|
114
|
-
header: PropTypes.Requireable<
|
|
132
|
+
header: PropTypes.Requireable<PropTypes.InferProps<{
|
|
133
|
+
title: PropTypes.Requireable<PropTypes.InferProps<{
|
|
134
|
+
title: PropTypes.Requireable<string>;
|
|
135
|
+
subtitle: PropTypes.Requireable<string>;
|
|
136
|
+
type: PropTypes.Requireable<string>;
|
|
137
|
+
'data-name': PropTypes.Requireable<string>;
|
|
138
|
+
titleSize: PropTypes.Requireable<string>;
|
|
139
|
+
subtitleSize: PropTypes.Requireable<string>;
|
|
140
|
+
}>>;
|
|
141
|
+
headerIcon: PropTypes.Requireable<string>;
|
|
142
|
+
backgroundImage: PropTypes.Requireable<string>;
|
|
143
|
+
}>>;
|
|
115
144
|
firstButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
116
145
|
label: PropTypes.Requireable<string>;
|
|
117
146
|
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -159,6 +188,13 @@ declare namespace SlidePlayer {
|
|
|
159
188
|
'data-name': PropTypes.Requireable<string>;
|
|
160
189
|
requiredSelection: PropTypes.Requireable<boolean>;
|
|
161
190
|
}> | null | undefined)[]>;
|
|
191
|
+
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
192
|
+
type: PropTypes.Requireable<string>;
|
|
193
|
+
list: PropTypes.Requireable<PropTypes.InferProps<{
|
|
194
|
+
list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
|
|
195
|
+
loading: PropTypes.Requireable<boolean>;
|
|
196
|
+
}>>;
|
|
197
|
+
}>>;
|
|
162
198
|
}>>;
|
|
163
199
|
}
|
|
164
200
|
}
|
|
@@ -64,7 +64,18 @@ declare namespace SlidesPlayer {
|
|
|
64
64
|
export const popinError: PropTypes.Requireable<PropTypes.InferProps<{
|
|
65
65
|
content: PropTypes.Requireable<string>;
|
|
66
66
|
mode: PropTypes.Requireable<string>;
|
|
67
|
-
header: PropTypes.Requireable<
|
|
67
|
+
header: PropTypes.Requireable<PropTypes.InferProps<{
|
|
68
|
+
title: PropTypes.Requireable<PropTypes.InferProps<{
|
|
69
|
+
title: PropTypes.Requireable<string>;
|
|
70
|
+
subtitle: PropTypes.Requireable<string>;
|
|
71
|
+
type: PropTypes.Requireable<string>;
|
|
72
|
+
'data-name': PropTypes.Requireable<string>;
|
|
73
|
+
titleSize: PropTypes.Requireable<string>;
|
|
74
|
+
subtitleSize: PropTypes.Requireable<string>;
|
|
75
|
+
}>>;
|
|
76
|
+
headerIcon: PropTypes.Requireable<string>;
|
|
77
|
+
backgroundImage: PropTypes.Requireable<string>;
|
|
78
|
+
}>>;
|
|
68
79
|
firstButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
69
80
|
label: PropTypes.Requireable<string>;
|
|
70
81
|
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -112,6 +123,13 @@ declare namespace SlidesPlayer {
|
|
|
112
123
|
'data-name': PropTypes.Requireable<string>;
|
|
113
124
|
requiredSelection: PropTypes.Requireable<boolean>;
|
|
114
125
|
}> | null | undefined)[]>;
|
|
126
|
+
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
127
|
+
type: PropTypes.Requireable<string>;
|
|
128
|
+
list: PropTypes.Requireable<PropTypes.InferProps<{
|
|
129
|
+
list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
|
|
130
|
+
loading: PropTypes.Requireable<boolean>;
|
|
131
|
+
}>>;
|
|
132
|
+
}>>;
|
|
115
133
|
}>>;
|
|
116
134
|
}
|
|
117
135
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/template/app-player/player/slides/index.js"],"names":[],"mappings":";AA+aA,qEAkBC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/template/app-player/player/slides/index.js"],"names":[],"mappings":";AA+aA,qEAkBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA1ID;;uBAyBC;;;;;;;;;;;;;;;;;;;;;;;;;AArPD;;;gBAaC;;;;;;;;;;;;;AAyDD;;;;gBAEC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAlHD,oEAQC;;;;;;;;;AAgND;;gBAiBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA/GD,qEAaC"}
|
|
@@ -92,7 +92,18 @@ declare class PopinCorrection extends React.Component<any, any, any> {
|
|
|
92
92
|
popinError: PropTypes.Requireable<PropTypes.InferProps<{
|
|
93
93
|
content: PropTypes.Requireable<string>;
|
|
94
94
|
mode: PropTypes.Requireable<string>;
|
|
95
|
-
header: PropTypes.Requireable<
|
|
95
|
+
header: PropTypes.Requireable<PropTypes.InferProps<{
|
|
96
|
+
title: PropTypes.Requireable<PropTypes.InferProps<{
|
|
97
|
+
title: PropTypes.Requireable<string>;
|
|
98
|
+
subtitle: PropTypes.Requireable<string>;
|
|
99
|
+
type: PropTypes.Requireable<string>;
|
|
100
|
+
'data-name': PropTypes.Requireable<string>;
|
|
101
|
+
titleSize: PropTypes.Requireable<string>;
|
|
102
|
+
subtitleSize: PropTypes.Requireable<string>;
|
|
103
|
+
}>>;
|
|
104
|
+
headerIcon: PropTypes.Requireable<string>;
|
|
105
|
+
backgroundImage: PropTypes.Requireable<string>;
|
|
106
|
+
}>>;
|
|
96
107
|
firstButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
97
108
|
label: PropTypes.Requireable<string>;
|
|
98
109
|
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -140,6 +151,13 @@ declare class PopinCorrection extends React.Component<any, any, any> {
|
|
|
140
151
|
'data-name': PropTypes.Requireable<string>;
|
|
141
152
|
requiredSelection: PropTypes.Requireable<boolean>;
|
|
142
153
|
}> | null | undefined)[]>;
|
|
154
|
+
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
155
|
+
type: PropTypes.Requireable<string>;
|
|
156
|
+
list: PropTypes.Requireable<PropTypes.InferProps<{
|
|
157
|
+
list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
|
|
158
|
+
loading: PropTypes.Requireable<boolean>;
|
|
159
|
+
}>>;
|
|
160
|
+
}>>;
|
|
143
161
|
}>>;
|
|
144
162
|
};
|
|
145
163
|
static contextTypes: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/app-player/popin-correction/index.js"],"names":[],"mappings":";AAmGA;IACE
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/app-player/popin-correction/index.js"],"names":[],"mappings":";AAmGA;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmBE;IAEF;;;;;;;;;;;;;;;;;;;;;;MAEE;IAEF,wBAIC;IAFC;;MAA0B;IAkB5B,gCAEC;IAhBD,0BAEC;IAED,kBAQC;IALC,gCAIE;IAIF,aAAsB;IAGxB,sBAsEC;CACF"}
|
|
@@ -140,6 +140,7 @@ declare namespace PopinEnd {
|
|
|
140
140
|
badgeCategory: PropTypes.Requireable<string>;
|
|
141
141
|
badgeLabel: PropTypes.Requireable<string>;
|
|
142
142
|
theme: PropTypes.Requireable<string>;
|
|
143
|
+
disabledContent: PropTypes.Requireable<string>;
|
|
143
144
|
'aria-label': PropTypes.Requireable<string>;
|
|
144
145
|
'background-aria-label': PropTypes.Requireable<string>;
|
|
145
146
|
'favorite-aria-label': PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -183,7 +184,18 @@ declare namespace PopinEnd {
|
|
|
183
184
|
const popinError: PropTypes.Requireable<PropTypes.InferProps<{
|
|
184
185
|
content: PropTypes.Requireable<string>;
|
|
185
186
|
mode: PropTypes.Requireable<string>;
|
|
186
|
-
header: PropTypes.Requireable<
|
|
187
|
+
header: PropTypes.Requireable<PropTypes.InferProps<{
|
|
188
|
+
title: PropTypes.Requireable<PropTypes.InferProps<{
|
|
189
|
+
title: PropTypes.Requireable<string>;
|
|
190
|
+
subtitle: PropTypes.Requireable<string>;
|
|
191
|
+
type: PropTypes.Requireable<string>;
|
|
192
|
+
'data-name': PropTypes.Requireable<string>;
|
|
193
|
+
titleSize: PropTypes.Requireable<string>;
|
|
194
|
+
subtitleSize: PropTypes.Requireable<string>;
|
|
195
|
+
}>>;
|
|
196
|
+
headerIcon: PropTypes.Requireable<string>;
|
|
197
|
+
backgroundImage: PropTypes.Requireable<string>;
|
|
198
|
+
}>>;
|
|
187
199
|
firstButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
188
200
|
label: PropTypes.Requireable<string>;
|
|
189
201
|
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -231,6 +243,13 @@ declare namespace PopinEnd {
|
|
|
231
243
|
'data-name': PropTypes.Requireable<string>;
|
|
232
244
|
requiredSelection: PropTypes.Requireable<boolean>;
|
|
233
245
|
}> | null | undefined)[]>;
|
|
246
|
+
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
247
|
+
type: PropTypes.Requireable<string>;
|
|
248
|
+
list: PropTypes.Requireable<PropTypes.InferProps<{
|
|
249
|
+
list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
|
|
250
|
+
loading: PropTypes.Requireable<boolean>;
|
|
251
|
+
}>>;
|
|
252
|
+
}>>;
|
|
234
253
|
}>>;
|
|
235
254
|
}
|
|
236
255
|
}
|
|
@@ -146,6 +146,7 @@ declare namespace Summary {
|
|
|
146
146
|
badgeCategory: PropTypes.Requireable<string>;
|
|
147
147
|
badgeLabel: PropTypes.Requireable<string>;
|
|
148
148
|
theme: PropTypes.Requireable<string>;
|
|
149
|
+
disabledContent: PropTypes.Requireable<string>;
|
|
149
150
|
'aria-label': PropTypes.Requireable<string>;
|
|
150
151
|
'background-aria-label': PropTypes.Requireable<string>;
|
|
151
152
|
'favorite-aria-label': PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -8,6 +8,7 @@ declare const AppReview: {
|
|
|
8
8
|
header: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
9
9
|
steps: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
10
10
|
current: import("prop-types").Requireable<boolean>;
|
|
11
|
+
selected: import("prop-types").Requireable<boolean>;
|
|
11
12
|
icon: import("prop-types").Requireable<string>;
|
|
12
13
|
value: import("prop-types").Requireable<string>;
|
|
13
14
|
}> | null | undefined)[]>;
|
|
@@ -514,7 +515,18 @@ declare const AppReview: {
|
|
|
514
515
|
quitPopin: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
515
516
|
content: import("prop-types").Requireable<string>;
|
|
516
517
|
mode: import("prop-types").Requireable<string>;
|
|
517
|
-
header: import("prop-types").Requireable<
|
|
518
|
+
header: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
519
|
+
title: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
520
|
+
title: import("prop-types").Requireable<string>;
|
|
521
|
+
subtitle: import("prop-types").Requireable<string>;
|
|
522
|
+
type: import("prop-types").Requireable<string>;
|
|
523
|
+
'data-name': import("prop-types").Requireable<string>;
|
|
524
|
+
titleSize: import("prop-types").Requireable<string>;
|
|
525
|
+
subtitleSize: import("prop-types").Requireable<string>;
|
|
526
|
+
}>>;
|
|
527
|
+
headerIcon: import("prop-types").Requireable<string>;
|
|
528
|
+
backgroundImage: import("prop-types").Requireable<string>;
|
|
529
|
+
}>>;
|
|
518
530
|
firstButton: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
519
531
|
label: import("prop-types").Requireable<string>;
|
|
520
532
|
handleOnclick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
@@ -562,6 +574,13 @@ declare const AppReview: {
|
|
|
562
574
|
'data-name': import("prop-types").Requireable<string>;
|
|
563
575
|
requiredSelection: import("prop-types").Requireable<boolean>;
|
|
564
576
|
}> | null | undefined)[]>;
|
|
577
|
+
items: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
578
|
+
type: import("prop-types").Requireable<string>;
|
|
579
|
+
list: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
580
|
+
list: import("prop-types").Requireable<(import("prop-types").InferProps<any> | null | undefined)[]>;
|
|
581
|
+
loading: import("prop-types").Requireable<boolean>;
|
|
582
|
+
}>>;
|
|
583
|
+
}>>;
|
|
565
584
|
}>>;
|
|
566
585
|
}>>;
|
|
567
586
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/index.tsx"],"names":[],"mappings":";AAGA,OAAkB,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAEvD,QAAA,MAAM,SAAS;2BAAwB,cAAc
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/index.tsx"],"names":[],"mappings":";AAGA,OAAkB,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAEvD,QAAA,MAAM,SAAS;2BAAwB,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOpD,CAAC;AAIF,eAAe,SAAS,CAAC"}
|
|
@@ -8,6 +8,7 @@ declare const propTypes: {
|
|
|
8
8
|
header: PropTypes.Requireable<PropTypes.InferProps<{
|
|
9
9
|
steps: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
10
10
|
current: PropTypes.Requireable<boolean>;
|
|
11
|
+
selected: PropTypes.Requireable<boolean>;
|
|
11
12
|
icon: PropTypes.Requireable<string>;
|
|
12
13
|
value: PropTypes.Requireable<string>;
|
|
13
14
|
}> | null | undefined)[]>;
|
|
@@ -514,7 +515,18 @@ declare const propTypes: {
|
|
|
514
515
|
quitPopin: PropTypes.Requireable<PropTypes.InferProps<{
|
|
515
516
|
content: PropTypes.Requireable<string>;
|
|
516
517
|
mode: PropTypes.Requireable<string>;
|
|
517
|
-
header: PropTypes.Requireable<
|
|
518
|
+
header: PropTypes.Requireable<PropTypes.InferProps<{
|
|
519
|
+
title: PropTypes.Requireable<PropTypes.InferProps<{
|
|
520
|
+
title: PropTypes.Requireable<string>;
|
|
521
|
+
subtitle: PropTypes.Requireable<string>;
|
|
522
|
+
type: PropTypes.Requireable<string>;
|
|
523
|
+
'data-name': PropTypes.Requireable<string>;
|
|
524
|
+
titleSize: PropTypes.Requireable<string>;
|
|
525
|
+
subtitleSize: PropTypes.Requireable<string>;
|
|
526
|
+
}>>;
|
|
527
|
+
headerIcon: PropTypes.Requireable<string>;
|
|
528
|
+
backgroundImage: PropTypes.Requireable<string>;
|
|
529
|
+
}>>;
|
|
518
530
|
firstButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
519
531
|
label: PropTypes.Requireable<string>;
|
|
520
532
|
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -562,6 +574,13 @@ declare const propTypes: {
|
|
|
562
574
|
'data-name': PropTypes.Requireable<string>;
|
|
563
575
|
requiredSelection: PropTypes.Requireable<boolean>;
|
|
564
576
|
}> | null | undefined)[]>;
|
|
577
|
+
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
578
|
+
type: PropTypes.Requireable<string>;
|
|
579
|
+
list: PropTypes.Requireable<PropTypes.InferProps<{
|
|
580
|
+
list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
|
|
581
|
+
loading: PropTypes.Requireable<boolean>;
|
|
582
|
+
}>>;
|
|
583
|
+
}>>;
|
|
565
584
|
}>>;
|
|
566
585
|
};
|
|
567
586
|
export default propTypes;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../../src/template/app-review/player/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,cAAc,CAAC;AACtD,OAAO,EAAC,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAC9D,OAAgC,EAC9B,mBAAmB,EACpB,MAAM,8CAA8C,CAAC;AAEtD,OAA8B,EAAC,WAAW,EAAC,MAAM,uCAAuC,CAAC;AAEzF,OAA+B,EAC7B,gBAAgB,EACjB,MAAM,oDAAoD,CAAC;AAE5D,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../../src/template/app-review/player/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,cAAc,CAAC;AACtD,OAAO,EAAC,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAC9D,OAAgC,EAC9B,mBAAmB,EACpB,MAAM,8CAA8C,CAAC;AAEtD,OAA8B,EAAC,WAAW,EAAC,MAAM,uCAAuC,CAAC;AAEzF,OAA+B,EAC7B,gBAAgB,EACjB,MAAM,oDAAoD,CAAC;AAE5D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,iBAAiB,GAAG;IAC9B,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAC/B,eAAe,CAAC,EAAE,mBAAmB,CAAC;IACtC,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B,SAAS,CAAC,EAAE,YAAY,CAAC;CAC1B,CAAC"}
|
|
@@ -12,6 +12,7 @@ declare const propTypes: {
|
|
|
12
12
|
header: PropTypes.Requireable<PropTypes.InferProps<{
|
|
13
13
|
steps: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
14
14
|
current: PropTypes.Requireable<boolean>;
|
|
15
|
+
selected: PropTypes.Requireable<boolean>;
|
|
15
16
|
icon: PropTypes.Requireable<string>;
|
|
16
17
|
value: PropTypes.Requireable<string>;
|
|
17
18
|
}> | null | undefined)[]>;
|
|
@@ -518,7 +519,18 @@ declare const propTypes: {
|
|
|
518
519
|
quitPopin: PropTypes.Requireable<PropTypes.InferProps<{
|
|
519
520
|
content: PropTypes.Requireable<string>;
|
|
520
521
|
mode: PropTypes.Requireable<string>;
|
|
521
|
-
header: PropTypes.Requireable<
|
|
522
|
+
header: PropTypes.Requireable<PropTypes.InferProps<{
|
|
523
|
+
title: PropTypes.Requireable<PropTypes.InferProps<{
|
|
524
|
+
title: PropTypes.Requireable<string>;
|
|
525
|
+
subtitle: PropTypes.Requireable<string>;
|
|
526
|
+
type: PropTypes.Requireable<string>;
|
|
527
|
+
'data-name': PropTypes.Requireable<string>;
|
|
528
|
+
titleSize: PropTypes.Requireable<string>;
|
|
529
|
+
subtitleSize: PropTypes.Requireable<string>;
|
|
530
|
+
}>>;
|
|
531
|
+
headerIcon: PropTypes.Requireable<string>;
|
|
532
|
+
backgroundImage: PropTypes.Requireable<string>;
|
|
533
|
+
}>>;
|
|
522
534
|
firstButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
523
535
|
label: PropTypes.Requireable<string>;
|
|
524
536
|
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -566,6 +578,13 @@ declare const propTypes: {
|
|
|
566
578
|
'data-name': PropTypes.Requireable<string>;
|
|
567
579
|
requiredSelection: PropTypes.Requireable<boolean>;
|
|
568
580
|
}> | null | undefined)[]>;
|
|
581
|
+
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
582
|
+
type: PropTypes.Requireable<string>;
|
|
583
|
+
list: PropTypes.Requireable<PropTypes.InferProps<{
|
|
584
|
+
list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
|
|
585
|
+
loading: PropTypes.Requireable<boolean>;
|
|
586
|
+
}>>;
|
|
587
|
+
}>>;
|
|
569
588
|
}>>;
|
|
570
589
|
}>>;
|
|
571
590
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AAEtD,oBAAY,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE3C,oBAAY,cAAc,GAAG;IAC3B,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,CAAC,E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