@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":["React","getOr","PropTypes","ButtonLink","ButtonLinkIconOnly","WizardSteps","WizardSummary","BrandForm","ContentTranslate","OrganismSearchAndChipsResults","CourseSelection","CourseSections","RewardsForm","ExpandibleActionableErrorsTable","style","buildHeader","wizardHeader","steps","title","onClick","buttonCloseIcon","size","icon","header","headerTitle","buildForm","content","type","buildButton","step","side","ICONS","previous","position","next","publish","label","buttonProps","buildActionZone","previousStep","nextStep","previousButton","nextStepType","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","bool","shape","string","func","isRequired","oneOfType","oneOf"],"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,OAAOA,KAAP,MAAkB,OAAlB;AACA,OA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wE,MADW;IAE5BvD,OAAO,EAAEjB,SAAS,CAACyE;EAFS,CAAhB,CAxCW;EA4CzBnC,QAAQ,EAAEtC,SAAS,CAACuE,KAAV,CAAgB;IACxB9C,IAAI,EAAEzB,SAAS,CAAC4E,KAAV,CAAgB,CAAC,MAAD,EAAS,SAAT,CAAhB,CADkB;IAExB1C,KAAK,EAAElC,SAAS,CAACwE,MAFO;IAGxBvD,OAAO,EAAEjB,SAAS,CAACyE;EAHK,CAAhB;AA5Ce,CAA3B;AAmDA,eAAelB,cAAf"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","getOr","PropTypes","ButtonLink","ButtonLinkIconOnly","WizardSteps","WizardSummary","BrandForm","ContentTranslate","OrganismSearchAndChipsResults","CourseSelection","CourseSections","BrandTabs","BulletPointMenuButton","RewardsForm","ExpandibleActionableErrorsTable","style","buildHeader","wizardHeader","actions","steps","tabs","title","onClick","buttonCloseIcon","size","icon","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","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","bool","shape","string","func","isRequired","buttonAriaLabel","menuAriaLabel","buttons","arrayOf","oneOfType","oneOf"],"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,OAAOA,KAAP,MAAkB,O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,GArB2B,EAyB3B1F,SAAS,CAACiF,KAAV,cACKpE,+BAA+B,CAACkE,SADrC;IAEE5C,IAAI,EAAEnC,SAAS,CAAC0F,KAAV,CAAgB,CAAC,kBAAD,CAAhB;EAFR,GAzB2B,CAApB,CA5BgB;EA0DzB3C,YAAY,EAAE/C,SAAS,CAACiF,KAAV,CAAgB;IAC5BrC,KAAK,EAAE5C,SAAS,CAACkF,MADW;IAE5B7D,OAAO,EAAErB,SAAS,CAACmF;EAFS,CAAhB,CA1DW;EA8DzBnC,QAAQ,EAAEhD,SAAS,CAACiF,KAAV,CAAgB;IACxB9C,IAAI,EAAEnC,SAAS,CAAC0F,KAAV,CAAgB,CAAC,MAAD,EAAS,SAAT,CAAhB,CADkB;IAExB9C,KAAK,EAAE5C,SAAS,CAACkF,MAFO;IAGxB7D,OAAO,EAAErB,SAAS,CAACmF;EAHK,CAAhB;AA9De,CAA3B;AAqEA,eAAelB,cAAf"}
|
|
@@ -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,C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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,EAAE,iBAAiB,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,SAAS
|
|
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,EAAE,iBA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