@coorpacademy/components 11.18.4-alpha.4 → 11.18.4
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/picture-background/index.d.ts +1 -0
- package/es/atom/picture-background/index.js +10 -5
- package/es/atom/picture-background/index.js.map +1 -1
- package/es/molecule/card/index.d.ts.map +1 -1
- package/es/molecule/card/index.js +9 -10
- package/es/molecule/card/index.js.map +1 -1
- package/es/molecule/card/style.css +5 -41
- package/es/molecule/cm-popin/index.d.ts.map +1 -1
- package/es/molecule/cm-popin/index.js +9 -45
- package/es/molecule/cm-popin/index.js.map +1 -1
- package/es/molecule/cm-popin/style.css +0 -29
- package/es/molecule/cm-popin/types.d.ts +1 -31
- package/es/molecule/cm-popin/types.d.ts.map +1 -1
- package/es/molecule/cm-popin/types.js +3 -13
- package/es/molecule/cm-popin/types.js.map +1 -1
- package/es/template/app-player/loading/index.d.ts +1 -19
- package/es/template/app-player/player/index.d.ts +2 -38
- package/es/template/app-player/player/slides/index.d.ts +1 -19
- package/es/template/app-player/player/slides/index.d.ts.map +1 -1
- package/es/template/app-player/popin-correction/index.d.ts +1 -19
- package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/es/template/app-player/popin-end/index.d.ts +1 -19
- package/es/template/app-review/index.d.ts +1 -19
- package/es/template/app-review/index.d.ts.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +1 -19
- package/es/template/app-review/player/prop-types.d.ts.map +1 -1
- package/es/template/app-review/prop-types.d.ts +1 -19
- package/es/template/app-review/prop-types.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.d.ts +1 -19
- package/es/template/common/dashboard/index.d.ts +1 -89
- package/es/template/common/dashboard/index.d.ts.map +1 -1
- package/es/template/common/dashboard/index.js +2 -4
- package/es/template/common/dashboard/index.js.map +1 -1
- package/es/template/common/search-page/index.d.ts +0 -70
- package/es/template/common/search-page/index.d.ts.map +1 -1
- package/es/template/common/search-page/index.js +3 -8
- package/es/template/common/search-page/index.js.map +1 -1
- package/es/template/common/search-page/style.css +0 -5
- package/es/template/external-course/index.d.ts +1 -19
- package/es/variables/colors.css +1 -1
- package/lib/atom/picture-background/index.d.ts +1 -0
- package/lib/atom/picture-background/index.js +10 -5
- package/lib/atom/picture-background/index.js.map +1 -1
- package/lib/molecule/card/index.d.ts.map +1 -1
- package/lib/molecule/card/index.js +7 -9
- package/lib/molecule/card/index.js.map +1 -1
- package/lib/molecule/card/style.css +5 -41
- package/lib/molecule/cm-popin/index.d.ts.map +1 -1
- package/lib/molecule/cm-popin/index.js +8 -47
- package/lib/molecule/cm-popin/index.js.map +1 -1
- package/lib/molecule/cm-popin/style.css +0 -29
- package/lib/molecule/cm-popin/types.d.ts +1 -31
- package/lib/molecule/cm-popin/types.d.ts.map +1 -1
- package/lib/molecule/cm-popin/types.js +3 -15
- package/lib/molecule/cm-popin/types.js.map +1 -1
- package/lib/template/app-player/loading/index.d.ts +1 -19
- package/lib/template/app-player/player/index.d.ts +2 -38
- package/lib/template/app-player/player/slides/index.d.ts +1 -19
- package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-correction/index.d.ts +1 -19
- package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-end/index.d.ts +1 -19
- package/lib/template/app-review/index.d.ts +1 -19
- package/lib/template/app-review/index.d.ts.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +1 -19
- package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/prop-types.d.ts +1 -19
- package/lib/template/app-review/prop-types.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.d.ts +1 -19
- package/lib/template/common/dashboard/index.d.ts +1 -89
- package/lib/template/common/dashboard/index.d.ts.map +1 -1
- package/lib/template/common/dashboard/index.js +2 -4
- package/lib/template/common/dashboard/index.js.map +1 -1
- package/lib/template/common/search-page/index.d.ts +0 -70
- package/lib/template/common/search-page/index.d.ts.map +1 -1
- package/lib/template/common/search-page/index.js +3 -9
- package/lib/template/common/search-page/index.js.map +1 -1
- package/lib/template/common/search-page/style.css +0 -5
- package/lib/template/external-course/index.d.ts +1 -19
- package/lib/variables/colors.css +1 -1
- package/package.json +2 -2
- package/es/atom/title/types.d.ts +0 -9
- package/es/atom/title/types.d.ts.map +0 -1
- package/es/atom/title/types.js +0 -2
- package/es/atom/title/types.js.map +0 -1
- package/lib/atom/title/types.d.ts +0 -9
- package/lib/atom/title/types.d.ts.map +0 -1
- package/lib/atom/title/types.js +0 -2
- package/lib/atom/title/types.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["IconType","lockedContent","style","lockIcon","CMPopin","props","content","mode","firstButton","secondButton","onClose","header","icon","backgroundImageUrl","descriptionText","thirdButton","cookieTitle","descriptionBtnTxt","listBtnSwicth","items","logo","AlertDiamond","WindowUpload","MoonRocket","CheckCircle1","LogoComponent","backgroundImageStyle","backgroundImage","backgroundSize","renderHeader","title","headerIcon","TopTitleIcon","headerContent","headerTitle","headerBackground","cookieHeader","cookieIconContainer","cookieIcon","getClassBtnSwitch","index","btnList","firstBtnSwitchContainer","length","lastBtnSwitchContainer","singleSwitchContainer","renderBtnSwitch","map","convert","cap","el","type","value","onChange","titlePosition","theme","details","requiredSelection","disabled","id","dataName","renderItems","list","background","popinCookie","popin","popinHeader","cookieTitleContainer","titleContainer","contentSection","message","__html","descriptionBtn","itemsContainer","buttonContainer","largeButton","button","label","handleOnclick","customStyle","propTypes"],"sources":["../../../src/molecule/cm-popin/index.js"],"sourcesContent":["import React from 'react';\nimport {\n NovaSolidInterfaceFeedbackInterfaceAlertDiamond as AlertDiamond,\n NovaSolidApplicationsWindowUpload3 as WindowUpload,\n NovaLineSettingsCookie as Cookie,\n NovaSolidSpaceMoonRocket as MoonRocket,\n NovaCompositionCoorpacademyPadlock as LockIcon,\n NovaLineStatusCheckCircle1 as CheckCircle1\n} from '@coorpacademy/nova-icons';\nimport map from 'lodash/fp/map';\nimport Cta from '../../atom/button-link';\nimport ButtonLinkIconOnly from '../../atom/button-link-icon-only';\nimport InputSwitch from '../../atom/input-switch';\nimport Title from '../../atom/title';\nimport CardsGrid from '../../organism/cards-grid';\nimport style from './style.css';\nimport propTypes from './types';\n\nconst IconType = {\n lockedContent: <LockIcon className={style.lockIcon} />\n};\n\nconst CMPopin = props => {\n const {\n content,\n mode = 'alert',\n firstButton,\n secondButton,\n onClose,\n header,\n icon,\n backgroundImageUrl,\n descriptionText,\n thirdButton,\n cookieTitle,\n descriptionBtnTxt,\n listBtnSwicth,\n items\n } = props;\n const logo = {\n AlertDiamond,\n WindowUpload,\n MoonRocket,\n CheckCircle1\n };\n const LogoComponent = logo[icon];\n\n const backgroundImageStyle = backgroundImageUrl\n ? {\n backgroundImage: `url(${backgroundImageUrl})`,\n backgroundSize: 'cover'\n }\n : null;\n const renderHeader = () => {\n if (header) {\n const {title, headerIcon, backgroundImage} = header;\n const TopTitleIcon = IconType[headerIcon];\n if (title) {\n return (\n <div className={style.headerContent}>\n {TopTitleIcon}\n <div className={style.headerTitle}>\n <Title {...title} />\n </div>\n </div>\n );\n }\n return <img className={style.headerBackground} src={backgroundImage} />;\n }\n if (mode === 'cookie')\n return (\n <div className={style.cookieHeader}>\n <div className={style.cookieIconContainer}>\n <Cookie className={style.cookieIcon} />\n </div>\n <div className={style.cookieTitle}>{cookieTitle}</div>\n </div>\n );\n return null;\n };\n const getClassBtnSwitch = (index, btnList) => {\n switch (index) {\n case 0:\n return style.firstBtnSwitchContainer;\n case btnList.length - 1:\n return style.lastBtnSwitchContainer;\n default:\n return style.singleSwitchContainer;\n }\n };\n const renderBtnSwitch = () => {\n return map.convert({cap: false})((el, index) => {\n const {\n type,\n title,\n value,\n onChange,\n titlePosition,\n theme,\n details,\n requiredSelection,\n disabled,\n id,\n 'data-name': dataName\n } = el;\n return (\n <div key={index} className={getClassBtnSwitch(index, listBtnSwicth)}>\n <InputSwitch\n {...{\n type,\n title,\n value,\n onChange,\n titlePosition,\n theme,\n details,\n requiredSelection,\n disabled,\n id,\n 'data-name': dataName\n }}\n />\n </div>\n );\n })(listBtnSwicth);\n };\n const renderItems = () => {\n const {type, list} = items;\n return type === 'content' ? <CardsGrid {...list} /> : null;\n };\n return (\n <div\n className={mode !== 'cookie' ? style.background : null}\n style={backgroundImageStyle}\n data-name={'cm-popin-container'}\n >\n <div className={mode === 'cookie' ? style.popinCookie : style.popin}>\n <header className={style.popinHeader}>\n {renderHeader()}\n {onClose ? (\n <ButtonLinkIconOnly\n onClick={onClose}\n data-name={'close-icon'}\n aria-label={'close-icon'}\n size=\"small\"\n icon=\"close\"\n />\n ) : null}\n </header>\n {mode !== 'items' ? (\n <div\n className={\n mode === 'cookie' || mode === 'information'\n ? style.cookieTitleContainer\n : style.titleContainer\n }\n >\n <div className={style.contentSection}>\n {LogoComponent ? <LogoComponent className={style.icon} /> : null}\n {content ? (\n <p\n className={mode === 'alert' ? style.content : style.message}\n data-name={'cm-popin-content'}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: content}}\n />\n ) : null}\n </div>\n {descriptionText ? (\n <p\n className={style.descriptionText}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: descriptionText}}\n />\n ) : null}\n </div>\n ) : null}\n {descriptionBtnTxt ? <div className={style.descriptionBtn}>{descriptionBtnTxt}</div> : null}\n {items ? <div className={style.itemsContainer}>{renderItems()}</div> : null}\n {renderBtnSwitch()}\n {firstButton || secondButton || thirdButton ? (\n <div className={style.buttonContainer}>\n {firstButton ? (\n <div className={firstButton.largeButton ? style.largeButton : style.button}>\n <Cta\n label={firstButton.label}\n onClick={firstButton.handleOnclick}\n data-name={'cm-popin-cta'}\n aria-label={firstButton['aria-label']}\n type={firstButton.type}\n customStyle={firstButton.customStyle}\n />\n </div>\n ) : null}\n {secondButton ? (\n <div className={secondButton.largeButton ? style.largeButton : style.button}>\n <Cta\n label={secondButton.label}\n onClick={secondButton.handleOnclick}\n data-name={`cm-popin-cta-${secondButton.type}`}\n aria-label={secondButton['aria-label']}\n type={secondButton.type}\n customStyle={secondButton.customStyle}\n />\n </div>\n ) : null}\n {thirdButton ? (\n <div className={thirdButton.largeButton ? style.largeButton : style.button}>\n <Cta\n label={thirdButton.label}\n onClick={thirdButton.handleOnclick}\n data-name={`cm-popin-cta-${thirdButton.type}`}\n aria-label={thirdButton['aria-label']}\n type={thirdButton.type}\n customStyle={thirdButton.customStyle}\n />\n </div>\n ) : null}\n </div>\n ) : null}\n </div>\n </div>\n );\n};\n\nCMPopin.propTypes = propTypes;\n\nexport default CMPopin;\n"],"mappings":";;;;;AAAA;;AACA;;AAQA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,MAAMA,QAAQ,GAAG;EACfC,aAAa,eAAE,6BAAC,6CAAD;IAAU,SAAS,EAAEC,cAAA,CAAMC;EAA3B;AADA,CAAjB;;AAIA,MAAMC,OAAO,GAAGC,KAAK,IAAI;EACvB,MAAM;IACJC,OADI;IAEJC,IAAI,GAAG,OAFH;IAGJC,WAHI;IAIJC,YAJI;IAKJC,OALI;IAMJC,MANI;IAOJC,IAPI;IAQJC,kBARI;IASJC,eATI;IAUJC,WAVI;IAWJC,WAXI;IAYJC,iBAZI;IAaJC,aAbI;IAcJC;EAdI,IAeFd,KAfJ;EAgBA,MAAMe,IAAI,GAAG;IACXC,YAAY,EAAZA,0DADW;IAEXC,YAAY,EAAZA,6CAFW;IAGXC,UAAU,EAAVA,mCAHW;IAIXC,YAAY,EAAZA;EAJW,CAAb;EAMA,MAAMC,aAAa,GAAGL,IAAI,CAACR,IAAD,CAA1B;EAEA,MAAMc,oBAAoB,GAAGb,kBAAkB,GAC3C;IACEc,eAAe,EAAG,OAAMd,kBAAmB,GAD7C;IAEEe,cAAc,EAAE;EAFlB,CAD2C,GAK3C,IALJ;;EAMA,MAAMC,YAAY,GAAG,MAAM;IACzB,IAAIlB,MAAJ,EAAY;MACV,MA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N,EAaGtE,YAAY,gBACX;IAAK,SAAS,EAAEA,YAAY,CAACkE,WAAb,GAA2BzE,cAAA,CAAMyE,WAAjC,GAA+CzE,cAAA,CAAM0E;EAArE,gBACE,6BAAC,mBAAD;IACE,KAAK,EAAEnE,YAAY,CAACoE,KADtB;IAEE,OAAO,EAAEpE,YAAY,CAACqE,aAFxB;IAGE,aAAY,gBAAerE,YAAY,CAAC0C,IAAK,EAH/C;IAIE,cAAY1C,YAAY,CAAC,YAAD,CAJ1B;IAKE,IAAI,EAAEA,YAAY,CAAC0C,IALrB;IAME,WAAW,EAAE1C,YAAY,CAACsE;EAN5B,EADF,CADW,GAWT,IAxBN,EAyBGhE,WAAW,gBACV;IAAK,SAAS,EAAEA,WAAW,CAAC4D,WAAZ,GAA0BzE,cAAA,CAAMyE,WAAhC,GAA8CzE,cAAA,CAAM0E;EAApE,gBACE,6BAAC,mBAAD;IACE,KAAK,EAAE7D,WAAW,CAAC8D,KADrB;IAEE,OAAO,EAAE9D,WAAW,CAAC+D,aAFvB;IAGE,aAAY,gBAAe/D,WAAW,CAACoC,IAAK,EAH9C;IAIE,cAAYpC,WAAW,CAAC,YAAD,CAJzB;IAKE,IAAI,EAAEA,WAAW,CAACoC,IALpB;IAME,WAAW,EAAEpC,WAAW,CAACgE;EAN3B,EADF,CADU,GAWR,IApCN,CADD,GAuCG,IAnFN,CALF,CADF;AA6FD,CAzMD;;AA2MA3E,OAAO,CAAC4E,SAAR,2CAAoBA,cAApB;eAEe5E,O"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["CMPopin","props","content","mode","firstButton","secondButton","onClose","header","icon","backgroundImageUrl","descriptionText","thirdButton","cookieTitle","descriptionBtnTxt","listBtnSwicth","logo","AlertDiamond","WindowUpload","MoonRocket","CheckCircle1","LogoComponent","backgroundImageStyle","backgroundImage","backgroundSize","renderHeader","style","headerBackground","cookieHeader","cookieIconContainer","cookieIcon","getClassBtnSwitch","index","btnList","firstBtnSwitchContainer","length","lastBtnSwitchContainer","singleSwitchContainer","renderBtnSwitch","map","convert","cap","el","type","title","value","onChange","titlePosition","theme","details","requiredSelection","disabled","id","dataName","background","popinCookie","popin","popinHeader","cookieTitleContainer","titleContainer","contentSection","message","__html","descriptionBtn","buttonContainer","largeButton","button","label","handleOnclick","customStyle","propTypes"],"sources":["../../../src/molecule/cm-popin/index.js"],"sourcesContent":["import React from 'react';\nimport {\n NovaSolidInterfaceFeedbackInterfaceAlertDiamond as AlertDiamond,\n NovaSolidApplicationsWindowUpload3 as WindowUpload,\n NovaLineSettingsCookie as Cookie,\n NovaSolidSpaceMoonRocket as MoonRocket,\n NovaLineStatusCheckCircle1 as CheckCircle1\n} from '@coorpacademy/nova-icons';\nimport map from 'lodash/fp/map';\nimport Cta from '../../atom/button-link';\nimport ButtonLinkIconOnly from '../../atom/button-link-icon-only';\nimport InputSwitch from '../../atom/input-switch';\nimport style from './style.css';\nimport propTypes from './types';\n\nconst CMPopin = props => {\n const {\n content,\n mode = 'alert',\n firstButton,\n secondButton,\n onClose,\n header,\n icon,\n backgroundImageUrl,\n descriptionText,\n thirdButton,\n cookieTitle,\n descriptionBtnTxt,\n listBtnSwicth\n } = props;\n\n const logo = {\n AlertDiamond,\n WindowUpload,\n MoonRocket,\n CheckCircle1\n };\n const LogoComponent = logo[icon];\n\n const backgroundImageStyle = backgroundImageUrl\n ? {\n backgroundImage: `url(${backgroundImageUrl})`,\n backgroundSize: 'cover'\n }\n : null;\n const renderHeader = () => {\n if (header) return <img className={style.headerBackground} src={header} />;\n if (mode === 'cookie')\n return (\n <div className={style.cookieHeader}>\n <div className={style.cookieIconContainer}>\n <Cookie className={style.cookieIcon} />\n </div>\n <div className={style.cookieTitle}>{cookieTitle}</div>\n </div>\n );\n return null;\n };\n const getClassBtnSwitch = (index, btnList) => {\n switch (index) {\n case 0:\n return style.firstBtnSwitchContainer;\n case btnList.length - 1:\n return style.lastBtnSwitchContainer;\n default:\n return style.singleSwitchContainer;\n }\n };\n const renderBtnSwitch = () => {\n return map.convert({cap: false})((el, index) => {\n const {\n type,\n title,\n value,\n onChange,\n titlePosition,\n theme,\n details,\n requiredSelection,\n disabled,\n id,\n 'data-name': dataName\n } = el;\n return (\n <div key={index} className={getClassBtnSwitch(index, listBtnSwicth)}>\n <InputSwitch\n {...{\n type,\n title,\n value,\n onChange,\n titlePosition,\n theme,\n details,\n requiredSelection,\n disabled,\n id,\n 'data-name': dataName\n }}\n />\n </div>\n );\n })(listBtnSwicth);\n };\n return (\n <div\n className={mode !== 'cookie' ? style.background : null}\n style={backgroundImageStyle}\n data-name={'cm-popin-container'}\n >\n <div className={mode === 'cookie' ? style.popinCookie : style.popin}>\n <header className={style.popinHeader}>\n {renderHeader()}\n {onClose ? (\n <ButtonLinkIconOnly\n onClick={onClose}\n data-name={'close-icon'}\n aria-label={'close-icon'}\n size=\"small\"\n icon=\"close\"\n />\n ) : null}\n </header>\n <div\n className={\n mode === 'cookie' || mode === 'information'\n ? style.cookieTitleContainer\n : style.titleContainer\n }\n >\n <div className={style.contentSection}>\n {LogoComponent ? <LogoComponent className={style.icon} /> : null}\n {content ? (\n <p\n className={mode === 'alert' ? style.content : style.message}\n data-name={'cm-popin-content'}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: content}}\n />\n ) : null}\n </div>\n {descriptionText ? (\n <p\n className={style.descriptionText}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: descriptionText}}\n />\n ) : null}\n </div>\n {descriptionBtnTxt ? <div className={style.descriptionBtn}>{descriptionBtnTxt}</div> : null}\n {renderBtnSwitch()}\n {firstButton || secondButton || thirdButton ? (\n <div className={style.buttonContainer}>\n {firstButton ? (\n <div className={firstButton.largeButton ? style.largeButton : style.button}>\n <Cta\n label={firstButton.label}\n onClick={firstButton.handleOnclick}\n data-name={'cm-popin-cta'}\n aria-label={firstButton['aria-label']}\n type={firstButton.type}\n customStyle={firstButton.customStyle}\n />\n </div>\n ) : null}\n {secondButton ? (\n <div className={secondButton.largeButton ? style.largeButton : style.button}>\n <Cta\n label={secondButton.label}\n onClick={secondButton.handleOnclick}\n data-name={`cm-popin-cta-${secondButton.type}`}\n aria-label={secondButton['aria-label']}\n type={secondButton.type}\n customStyle={secondButton.customStyle}\n />\n </div>\n ) : null}\n {thirdButton ? (\n <div className={thirdButton.largeButton ? style.largeButton : style.button}>\n <Cta\n label={thirdButton.label}\n onClick={thirdButton.handleOnclick}\n data-name={`cm-popin-cta-${thirdButton.type}`}\n aria-label={thirdButton['aria-label']}\n type={thirdButton.type}\n customStyle={thirdButton.customStyle}\n />\n </div>\n ) : null}\n </div>\n ) : null}\n </div>\n </div>\n );\n};\n\nCMPopin.propTypes = propTypes;\n\nexport default CMPopin;\n"],"mappings":";;;;;AAAA;;AACA;;AAOA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,MAAMA,OAAO,GAAGC,KAAK,IAAI;EACvB,MAAM;IACJC,OADI;IAEJC,IAAI,GAAG,OAFH;IAGJC,WAHI;IAIJC,YAJI;IAKJC,OALI;IAMJC,MANI;IAOJC,IAPI;IAQJC,kBARI;IASJC,eATI;IAUJC,WAVI;IAWJC,WAXI;IAYJC,iBAZI;IAaJC;EAbI,IAcFb,KAdJ;EAgBA,MAAMc,IAAI,GAAG;IACXC,YAAY,EAAZA,0DADW;IAEXC,YAAY,EAAZA,6CAFW;IAGXC,UAAU,EAAVA,mCAHW;IAIXC,YAAY,EAAZA;EAJW,CAAb;EAMA,MAAMC,aAAa,GAAGL,IAAI,CAACP,IAAD,CAA1B;EAEA,MAAMa,oBAAoB,GAAGZ,kBAAkB,GAC3C;IACEa,eAAe,EAAG,OAAMb,kBAAmB,GAD7C;IAEEc,cAAc,EAAE;EAFlB,CAD2C,GAK3C,IALJ;;EAMA,MAAMC,YAAY,GAAG,MAAM;IACzB,IAAIjB,MAAJ,EAAY,oBAAO;MAAK,SAAS,EAAEkB,cAAA,CAAMC,gBAAtB;MAAwC,GAAG,EAAEnB;IAA7C,EAAP;IACZ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,CAAC+B,IALpB;IAME,WAAW,EAAE/B,WAAW,CAACyD;EAN3B,EADF,CADU,GAWR,IApCN,CADD,GAuCG,IAhFN,CALF,CADF;AA0FD,CApLD;;AAsLApE,OAAO,CAACqE,SAAR,2CAAoBA,cAApB;eAEerE,O"}
|
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
@value mobile from breakpoints;
|
|
23
23
|
@value tablet from breakpoints;
|
|
24
24
|
@value cm_grey_75 from colors;
|
|
25
|
-
@value negative_100 from colors;
|
|
26
25
|
|
|
27
26
|
.background {
|
|
28
27
|
top: 0px;
|
|
@@ -138,26 +137,6 @@
|
|
|
138
137
|
.popinHeader button {
|
|
139
138
|
position: absolute;
|
|
140
139
|
}
|
|
141
|
-
|
|
142
|
-
.headerContent {
|
|
143
|
-
display: flex;
|
|
144
|
-
width: 100%;
|
|
145
|
-
gap: 16px;
|
|
146
|
-
padding: 8px;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.headerTitle {
|
|
150
|
-
margin-bottom: 16px;
|
|
151
|
-
padding: 2px 0px 2px;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.lockIcon {
|
|
155
|
-
height: 48px;
|
|
156
|
-
background-color: negative_100;
|
|
157
|
-
border-radius: 16px;
|
|
158
|
-
color: cm_negative_200;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
140
|
.descriptionText {
|
|
162
141
|
text-align: center;
|
|
163
142
|
font-family: Gilroy;
|
|
@@ -301,14 +280,6 @@ a {
|
|
|
301
280
|
padding: 0px 8px 0px 0px
|
|
302
281
|
}
|
|
303
282
|
|
|
304
|
-
.itemsContainer {
|
|
305
|
-
height: 369px;
|
|
306
|
-
overflow-y: auto;
|
|
307
|
-
padding: inherit;
|
|
308
|
-
width: 100%;
|
|
309
|
-
border-top: 1px solid cm_grey_100;
|
|
310
|
-
}
|
|
311
|
-
|
|
312
283
|
@media tablet {
|
|
313
284
|
.popin {
|
|
314
285
|
width: 80%;
|
|
@@ -1,21 +1,8 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
|
-
import { TitleProps } from '../../atom/title/types';
|
|
3
|
-
import CardsGrid from '../../organism/cards-grid';
|
|
4
2
|
declare const propTypes: {
|
|
5
3
|
content: PropTypes.Requireable<string>;
|
|
6
4
|
mode: PropTypes.Requireable<string>;
|
|
7
|
-
header: PropTypes.Requireable<
|
|
8
|
-
title: PropTypes.Requireable<PropTypes.InferProps<{
|
|
9
|
-
title: PropTypes.Requireable<string>;
|
|
10
|
-
subtitle: PropTypes.Requireable<string>;
|
|
11
|
-
type: PropTypes.Requireable<string>;
|
|
12
|
-
'data-name': PropTypes.Requireable<string>;
|
|
13
|
-
titleSize: PropTypes.Requireable<string>;
|
|
14
|
-
subtitleSize: PropTypes.Requireable<string>;
|
|
15
|
-
}>>;
|
|
16
|
-
headerIcon: PropTypes.Requireable<string>;
|
|
17
|
-
backgroundImage: PropTypes.Requireable<string>;
|
|
18
|
-
}>>;
|
|
5
|
+
header: PropTypes.Requireable<string>;
|
|
19
6
|
firstButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
20
7
|
label: PropTypes.Requireable<string>;
|
|
21
8
|
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -63,18 +50,6 @@ declare const propTypes: {
|
|
|
63
50
|
'data-name': PropTypes.Requireable<string>;
|
|
64
51
|
requiredSelection: PropTypes.Requireable<boolean>;
|
|
65
52
|
}> | null | undefined)[]>;
|
|
66
|
-
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
67
|
-
type: PropTypes.Requireable<string>;
|
|
68
|
-
list: PropTypes.Requireable<PropTypes.InferProps<{
|
|
69
|
-
list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
|
|
70
|
-
loading: PropTypes.Requireable<boolean>;
|
|
71
|
-
}>>;
|
|
72
|
-
}>>;
|
|
73
|
-
};
|
|
74
|
-
declare type PopinHeaderProps = {
|
|
75
|
-
title: TitleProps;
|
|
76
|
-
backgroundImage: string;
|
|
77
|
-
headerIcon: string;
|
|
78
53
|
};
|
|
79
54
|
export declare type QuitPopinButton = {
|
|
80
55
|
'aria-label'?: string;
|
|
@@ -90,14 +65,9 @@ export declare type CMPopinProps = {
|
|
|
90
65
|
content: string;
|
|
91
66
|
icon: string;
|
|
92
67
|
mode: string;
|
|
93
|
-
popinHeader?: PopinHeaderProps;
|
|
94
68
|
descriptionText: string;
|
|
95
69
|
firstButton?: QuitPopinButton;
|
|
96
70
|
secondButton?: QuitPopinButton;
|
|
97
|
-
items?: {
|
|
98
|
-
type: string;
|
|
99
|
-
list: PropTypes.InferProps<typeof CardsGrid.propTypes>;
|
|
100
|
-
};
|
|
101
71
|
};
|
|
102
72
|
export default propTypes;
|
|
103
73
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/cm-popin/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAInC,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/cm-popin/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAInC,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmCd,CAAC;AAEF,oBAAY,eAAe,GAAG;IAC5B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE;QACZ,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAEF,oBAAY,YAAY,GAAG;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B,YAAY,CAAC,EAAE,eAAe,CAAC;CAChC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -9,20 +9,12 @@ var _buttonLink = _interopRequireDefault(require("../../atom/button-link"));
|
|
|
9
9
|
|
|
10
10
|
var _inputSwitch = _interopRequireDefault(require("../../atom/input-switch"));
|
|
11
11
|
|
|
12
|
-
var _title = _interopRequireDefault(require("../../atom/title"));
|
|
13
|
-
|
|
14
|
-
var _cardsGrid = _interopRequireDefault(require("../../organism/cards-grid"));
|
|
15
|
-
|
|
16
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
13
|
|
|
18
14
|
const propTypes = {
|
|
19
15
|
content: _propTypes.default.string,
|
|
20
|
-
mode: _propTypes.default.oneOf(['alert', 'information', 'cookie'
|
|
21
|
-
header: _propTypes.default.
|
|
22
|
-
title: _propTypes.default.shape(_title.default.propTypes),
|
|
23
|
-
headerIcon: _propTypes.default.string,
|
|
24
|
-
backgroundImage: _propTypes.default.string
|
|
25
|
-
}),
|
|
16
|
+
mode: _propTypes.default.oneOf(['alert', 'information', 'cookie']),
|
|
17
|
+
header: _propTypes.default.string,
|
|
26
18
|
firstButton: _propTypes.default.shape({
|
|
27
19
|
label: _propTypes.default.string,
|
|
28
20
|
handleOnclick: _propTypes.default.func,
|
|
@@ -53,11 +45,7 @@ const propTypes = {
|
|
|
53
45
|
descriptionText: _propTypes.default.string,
|
|
54
46
|
cookieTitle: _propTypes.default.string,
|
|
55
47
|
descriptionBtnTxt: _propTypes.default.string,
|
|
56
|
-
listBtnSwicth: _propTypes.default.arrayOf(_propTypes.default.shape(_inputSwitch.default.propTypes))
|
|
57
|
-
items: _propTypes.default.shape({
|
|
58
|
-
type: _propTypes.default.string,
|
|
59
|
-
list: _propTypes.default.shape(_cardsGrid.default.propTypes)
|
|
60
|
-
})
|
|
48
|
+
listBtnSwicth: _propTypes.default.arrayOf(_propTypes.default.shape(_inputSwitch.default.propTypes))
|
|
61
49
|
};
|
|
62
50
|
var _default = propTypes;
|
|
63
51
|
exports.default = _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":["propTypes","content","PropTypes","string","mode","oneOf","header","
|
|
1
|
+
{"version":3,"file":"types.js","names":["propTypes","content","PropTypes","string","mode","oneOf","header","firstButton","shape","label","handleOnclick","func","largeButton","bool","type","customStyle","Cta","secondButton","thirdButton","onClose","icon","backgroundImageUrl","descriptionText","cookieTitle","descriptionBtnTxt","listBtnSwicth","arrayOf","InputSwitch"],"sources":["../../../src/molecule/cm-popin/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport Cta from '../../atom/button-link';\nimport InputSwitch from '../../atom/input-switch';\n\nconst propTypes = {\n content: PropTypes.string,\n mode: PropTypes.oneOf(['alert', 'information', 'cookie']),\n header: PropTypes.string,\n firstButton: PropTypes.shape({\n label: PropTypes.string,\n handleOnclick: PropTypes.func,\n 'aria-label': PropTypes.string,\n largeButton: PropTypes.bool,\n type: PropTypes.oneOf(['dangerous', 'primary', 'secondary', 'tertiary']),\n customStyle: Cta.propTypes.customStyle\n }),\n secondButton: PropTypes.shape({\n label: PropTypes.string,\n handleOnclick: PropTypes.func,\n type: PropTypes.oneOf(['dangerous', 'primary', 'secondary']),\n 'aria-label': PropTypes.string,\n largeButton: PropTypes.bool,\n customStyle: Cta.propTypes.customStyle\n }),\n thirdButton: PropTypes.shape({\n label: PropTypes.string,\n handleOnclick: PropTypes.func,\n type: PropTypes.oneOf(['dangerous', 'primary', 'secondary']),\n 'aria-label': PropTypes.string,\n largeButton: PropTypes.bool,\n customStyle: Cta.propTypes.customStyle\n }),\n onClose: PropTypes.func,\n icon: PropTypes.string,\n backgroundImageUrl: PropTypes.string,\n descriptionText: PropTypes.string,\n cookieTitle: PropTypes.string,\n descriptionBtnTxt: PropTypes.string,\n listBtnSwicth: PropTypes.arrayOf(PropTypes.shape(InputSwitch.propTypes))\n};\n\nexport type QuitPopinButton = {\n 'aria-label'?: string;\n label: string;\n type: string;\n customStyle?: {\n backgroundColor?: string;\n color?: string;\n };\n handleOnclick: () => void;\n};\n\nexport type CMPopinProps = {\n content: string;\n icon: string;\n mode: string;\n descriptionText: string;\n firstButton?: QuitPopinButton;\n secondButton?: QuitPopinButton;\n};\n\nexport default propTypes;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;;;AAEA,MAAMA,SAAS,GAAG;EAChBC,OAAO,EAAEC,kBAAA,CAAUC,MADH;EAEhBC,IAAI,EAAEF,kBAAA,CAAUG,KAAV,CAAgB,CAAC,OAAD,EAAU,aAAV,EAAyB,QAAzB,CAAhB,CAFU;EAGhBC,MAAM,EAAEJ,kBAAA,CAAUC,MAHF;EAIhBI,WAAW,EAAEL,kBAAA,CAAUM,KAAV,CAAgB;IAC3BC,KAAK,EAAEP,kBAAA,CAAUC,MADU;IAE3BO,aAAa,EAAER,kBAAA,CAAUS,IAFE;IAG3B,cAAcT,kBAAA,CAAUC,MAHG;IAI3BS,WAAW,EAAEV,kBAAA,CAAUW,IAJI;IAK3BC,IAAI,EAAEZ,kBAAA,CAAUG,KAAV,CAAgB,CAAC,WAAD,EAAc,SAAd,EAAyB,WAAzB,EAAsC,UAAtC,CAAhB,CALqB;IAM3BU,WAAW,EAAEC,mBAAA,CAAIhB,SAAJ,CAAce;EANA,CAAhB,CAJG;EAYhBE,YAAY,EAAEf,kBAAA,CAAUM,KAAV,CAAgB;IAC5BC,KAAK,EAAEP,kBAAA,CAAUC,MADW;IAE5BO,aAAa,EAAER,kBAAA,CAAUS,IAFG;IAG5BG,IAAI,EAAEZ,kBAAA,CAAUG,KAAV,CAAgB,CAAC,WAAD,EAAc,SAAd,EAAyB,WAAzB,CAAhB,CAHsB;IAI5B,cAAcH,kBAAA,CAAUC,MAJI;IAK5BS,WAAW,EAAEV,kBAAA,CAAUW,IALK;IAM5BE,WAAW,EAAEC,mBAAA,CAAIhB,SAAJ,CAAce;EANC,CAAhB,CAZE;EAoBhBG,WAAW,EAAEhB,kBAAA,CAAUM,KAAV,CAAgB;IAC3BC,KAAK,EAAEP,kBAAA,CAAUC,MADU;IAE3BO,aAAa,EAAER,kBAAA,CAAUS,IAFE;IAG3BG,IAAI,EAAEZ,kBAAA,CAAUG,KAAV,CAAgB,CAAC,WAAD,EAAc,SAAd,EAAyB,WAAzB,CAAhB,CAHqB;IAI3B,cAAcH,kBAAA,CAAUC,MAJG;IAK3BS,WAAW,EAAEV,kBAAA,CAAUW,IALI;IAM3BE,WAAW,EAAEC,mBAAA,CAAIhB,SAAJ,CAAce;EANA,CAAhB,CApBG;EA4BhBI,OAAO,EAAEjB,kBAAA,CAAUS,IA5BH;EA6BhBS,IAAI,EAAElB,kBAAA,CAAUC,MA7BA;EA8BhBkB,kBAAkB,EAAEnB,kBAAA,CAAUC,MA9Bd;EA+BhBmB,eAAe,EAAEpB,kBAAA,CAAUC,MA/BX;EAgChBoB,WAAW,EAAErB,kBAAA,CAAUC,MAhCP;EAiChBqB,iBAAiB,EAAEtB,kBAAA,CAAUC,MAjCb;EAkChBsB,aAAa,EAAEvB,kBAAA,CAAUwB,OAAV,CAAkBxB,kBAAA,CAAUM,KAAV,CAAgBmB,oBAAA,CAAY3B,SAA5B,CAAlB;AAlCC,CAAlB;eAyDeA,S"}
|
|
@@ -7,18 +7,7 @@ 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<
|
|
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
|
-
}>>;
|
|
10
|
+
header: PropTypes.Requireable<string>;
|
|
22
11
|
firstButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
23
12
|
label: PropTypes.Requireable<string>;
|
|
24
13
|
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -66,13 +55,6 @@ declare namespace PlayerLoading {
|
|
|
66
55
|
'data-name': PropTypes.Requireable<string>;
|
|
67
56
|
requiredSelection: PropTypes.Requireable<boolean>;
|
|
68
57
|
}> | 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
|
-
}>>;
|
|
76
58
|
}>>;
|
|
77
59
|
}
|
|
78
60
|
}
|
|
@@ -58,18 +58,7 @@ 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<
|
|
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
|
-
}>>;
|
|
61
|
+
header: PropTypes.Requireable<string>;
|
|
73
62
|
firstButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
74
63
|
label: PropTypes.Requireable<string>;
|
|
75
64
|
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -117,30 +106,12 @@ declare namespace SlidePlayer {
|
|
|
117
106
|
'data-name': PropTypes.Requireable<string>;
|
|
118
107
|
requiredSelection: PropTypes.Requireable<boolean>;
|
|
119
108
|
}> | 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
|
-
}>>;
|
|
127
109
|
}>>;
|
|
128
110
|
}>>;
|
|
129
111
|
const popin: PropTypes.Requireable<PropTypes.InferProps<{
|
|
130
112
|
content: PropTypes.Requireable<string>;
|
|
131
113
|
mode: PropTypes.Requireable<string>;
|
|
132
|
-
header: PropTypes.Requireable<
|
|
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
|
-
}>>;
|
|
114
|
+
header: PropTypes.Requireable<string>;
|
|
144
115
|
firstButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
145
116
|
label: PropTypes.Requireable<string>;
|
|
146
117
|
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -188,13 +159,6 @@ declare namespace SlidePlayer {
|
|
|
188
159
|
'data-name': PropTypes.Requireable<string>;
|
|
189
160
|
requiredSelection: PropTypes.Requireable<boolean>;
|
|
190
161
|
}> | 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
|
-
}>>;
|
|
198
162
|
}>>;
|
|
199
163
|
}
|
|
200
164
|
}
|
|
@@ -64,18 +64,7 @@ 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<
|
|
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
|
-
}>>;
|
|
67
|
+
header: PropTypes.Requireable<string>;
|
|
79
68
|
firstButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
80
69
|
label: PropTypes.Requireable<string>;
|
|
81
70
|
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -123,13 +112,6 @@ declare namespace SlidesPlayer {
|
|
|
123
112
|
'data-name': PropTypes.Requireable<string>;
|
|
124
113
|
requiredSelection: PropTypes.Requireable<boolean>;
|
|
125
114
|
}> | 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
|
-
}>>;
|
|
133
115
|
}>>;
|
|
134
116
|
}
|
|
135
117
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/template/app-player/player/slides/index.js"],"names":[],"mappings":";AA4aA,qEAkBC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/template/app-player/player/slides/index.js"],"names":[],"mappings":";AA4aA,qEAkBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA1ID;;uBAyBC;;;;;;;;;;;;;;;;;;;;;;;;;AAlPD;;;gBAaC;;;;;;;;;;;;;AAyDD;;;gBAAoF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAhHpF,oEAQC;;;;;;;;;AA6MD;;gBAiBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA/GD,qEAaC"}
|
|
@@ -92,18 +92,7 @@ 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<
|
|
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
|
-
}>>;
|
|
95
|
+
header: PropTypes.Requireable<string>;
|
|
107
96
|
firstButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
108
97
|
label: PropTypes.Requireable<string>;
|
|
109
98
|
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -151,13 +140,6 @@ declare class PopinCorrection extends React.Component<any, any, any> {
|
|
|
151
140
|
'data-name': PropTypes.Requireable<string>;
|
|
152
141
|
requiredSelection: PropTypes.Requireable<boolean>;
|
|
153
142
|
}> | 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
|
-
}>>;
|
|
161
143
|
}>>;
|
|
162
144
|
};
|
|
163
145
|
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"}
|
|
@@ -132,18 +132,7 @@ declare namespace PopinEnd {
|
|
|
132
132
|
const popinError: PropTypes.Requireable<PropTypes.InferProps<{
|
|
133
133
|
content: PropTypes.Requireable<string>;
|
|
134
134
|
mode: PropTypes.Requireable<string>;
|
|
135
|
-
header: PropTypes.Requireable<
|
|
136
|
-
title: PropTypes.Requireable<PropTypes.InferProps<{
|
|
137
|
-
title: PropTypes.Requireable<string>;
|
|
138
|
-
subtitle: PropTypes.Requireable<string>;
|
|
139
|
-
type: PropTypes.Requireable<string>;
|
|
140
|
-
'data-name': PropTypes.Requireable<string>;
|
|
141
|
-
titleSize: PropTypes.Requireable<string>;
|
|
142
|
-
subtitleSize: PropTypes.Requireable<string>;
|
|
143
|
-
}>>;
|
|
144
|
-
headerIcon: PropTypes.Requireable<string>;
|
|
145
|
-
backgroundImage: PropTypes.Requireable<string>;
|
|
146
|
-
}>>;
|
|
135
|
+
header: PropTypes.Requireable<string>;
|
|
147
136
|
firstButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
148
137
|
label: PropTypes.Requireable<string>;
|
|
149
138
|
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -191,13 +180,6 @@ declare namespace PopinEnd {
|
|
|
191
180
|
'data-name': PropTypes.Requireable<string>;
|
|
192
181
|
requiredSelection: PropTypes.Requireable<boolean>;
|
|
193
182
|
}> | null | undefined)[]>;
|
|
194
|
-
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
195
|
-
type: PropTypes.Requireable<string>;
|
|
196
|
-
list: PropTypes.Requireable<PropTypes.InferProps<{
|
|
197
|
-
list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
|
|
198
|
-
loading: PropTypes.Requireable<boolean>;
|
|
199
|
-
}>>;
|
|
200
|
-
}>>;
|
|
201
183
|
}>>;
|
|
202
184
|
}
|
|
203
185
|
}
|
|
@@ -509,18 +509,7 @@ declare const AppReview: {
|
|
|
509
509
|
quitPopin: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
510
510
|
content: import("prop-types").Requireable<string>;
|
|
511
511
|
mode: import("prop-types").Requireable<string>;
|
|
512
|
-
header: import("prop-types").Requireable<
|
|
513
|
-
title: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
514
|
-
title: import("prop-types").Requireable<string>;
|
|
515
|
-
subtitle: import("prop-types").Requireable<string>;
|
|
516
|
-
type: import("prop-types").Requireable<string>;
|
|
517
|
-
'data-name': import("prop-types").Requireable<string>;
|
|
518
|
-
titleSize: import("prop-types").Requireable<string>;
|
|
519
|
-
subtitleSize: import("prop-types").Requireable<string>;
|
|
520
|
-
}>>;
|
|
521
|
-
headerIcon: import("prop-types").Requireable<string>;
|
|
522
|
-
backgroundImage: import("prop-types").Requireable<string>;
|
|
523
|
-
}>>;
|
|
512
|
+
header: import("prop-types").Requireable<string>;
|
|
524
513
|
firstButton: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
525
514
|
label: import("prop-types").Requireable<string>;
|
|
526
515
|
handleOnclick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
@@ -568,13 +557,6 @@ declare const AppReview: {
|
|
|
568
557
|
'data-name': import("prop-types").Requireable<string>;
|
|
569
558
|
requiredSelection: import("prop-types").Requireable<boolean>;
|
|
570
559
|
}> | null | undefined)[]>;
|
|
571
|
-
items: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
572
|
-
type: import("prop-types").Requireable<string>;
|
|
573
|
-
list: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
574
|
-
list: import("prop-types").Requireable<(import("prop-types").InferProps<any> | null | undefined)[]>;
|
|
575
|
-
loading: import("prop-types").Requireable<boolean>;
|
|
576
|
-
}>>;
|
|
577
|
-
}>>;
|
|
578
560
|
}>>;
|
|
579
561
|
}>>;
|
|
580
562
|
};
|
|
@@ -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"}
|
|
@@ -509,18 +509,7 @@ declare const propTypes: {
|
|
|
509
509
|
quitPopin: PropTypes.Requireable<PropTypes.InferProps<{
|
|
510
510
|
content: PropTypes.Requireable<string>;
|
|
511
511
|
mode: PropTypes.Requireable<string>;
|
|
512
|
-
header: PropTypes.Requireable<
|
|
513
|
-
title: PropTypes.Requireable<PropTypes.InferProps<{
|
|
514
|
-
title: PropTypes.Requireable<string>;
|
|
515
|
-
subtitle: PropTypes.Requireable<string>;
|
|
516
|
-
type: PropTypes.Requireable<string>;
|
|
517
|
-
'data-name': PropTypes.Requireable<string>;
|
|
518
|
-
titleSize: PropTypes.Requireable<string>;
|
|
519
|
-
subtitleSize: PropTypes.Requireable<string>;
|
|
520
|
-
}>>;
|
|
521
|
-
headerIcon: PropTypes.Requireable<string>;
|
|
522
|
-
backgroundImage: PropTypes.Requireable<string>;
|
|
523
|
-
}>>;
|
|
512
|
+
header: PropTypes.Requireable<string>;
|
|
524
513
|
firstButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
525
514
|
label: PropTypes.Requireable<string>;
|
|
526
515
|
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -568,13 +557,6 @@ declare const propTypes: {
|
|
|
568
557
|
'data-name': PropTypes.Requireable<string>;
|
|
569
558
|
requiredSelection: PropTypes.Requireable<boolean>;
|
|
570
559
|
}> | null | undefined)[]>;
|
|
571
|
-
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
572
|
-
type: PropTypes.Requireable<string>;
|
|
573
|
-
list: PropTypes.Requireable<PropTypes.InferProps<{
|
|
574
|
-
list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
|
|
575
|
-
loading: PropTypes.Requireable<boolean>;
|
|
576
|
-
}>>;
|
|
577
|
-
}>>;
|
|
578
560
|
}>>;
|
|
579
561
|
};
|
|
580
562
|
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"}
|
|
@@ -513,18 +513,7 @@ declare const propTypes: {
|
|
|
513
513
|
quitPopin: PropTypes.Requireable<PropTypes.InferProps<{
|
|
514
514
|
content: PropTypes.Requireable<string>;
|
|
515
515
|
mode: PropTypes.Requireable<string>;
|
|
516
|
-
header: PropTypes.Requireable<
|
|
517
|
-
title: PropTypes.Requireable<PropTypes.InferProps<{
|
|
518
|
-
title: PropTypes.Requireable<string>;
|
|
519
|
-
subtitle: PropTypes.Requireable<string>;
|
|
520
|
-
type: PropTypes.Requireable<string>;
|
|
521
|
-
'data-name': PropTypes.Requireable<string>;
|
|
522
|
-
titleSize: PropTypes.Requireable<string>;
|
|
523
|
-
subtitleSize: PropTypes.Requireable<string>;
|
|
524
|
-
}>>;
|
|
525
|
-
headerIcon: PropTypes.Requireable<string>;
|
|
526
|
-
backgroundImage: PropTypes.Requireable<string>;
|
|
527
|
-
}>>;
|
|
516
|
+
header: PropTypes.Requireable<string>;
|
|
528
517
|
firstButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
529
518
|
label: PropTypes.Requireable<string>;
|
|
530
519
|
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -572,13 +561,6 @@ declare const propTypes: {
|
|
|
572
561
|
'data-name': PropTypes.Requireable<string>;
|
|
573
562
|
requiredSelection: PropTypes.Requireable<boolean>;
|
|
574
563
|
}> | null | undefined)[]>;
|
|
575
|
-
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
576
|
-
type: PropTypes.Requireable<string>;
|
|
577
|
-
list: PropTypes.Requireable<PropTypes.InferProps<{
|
|
578
|
-
list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
|
|
579
|
-
loading: PropTypes.Requireable<boolean>;
|
|
580
|
-
}>>;
|
|
581
|
-
}>>;
|
|
582
564
|
}>>;
|
|
583
565
|
}>>;
|
|
584
566
|
};
|
|
@@ -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,iBAAiB,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1204,18 +1204,7 @@ declare namespace BrandUpdate {
|
|
|
1204
1204
|
export const popin: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1205
1205
|
content: PropTypes.Requireable<string>;
|
|
1206
1206
|
mode: PropTypes.Requireable<string>;
|
|
1207
|
-
header: PropTypes.Requireable<
|
|
1208
|
-
title: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1209
|
-
title: PropTypes.Requireable<string>;
|
|
1210
|
-
subtitle: PropTypes.Requireable<string>;
|
|
1211
|
-
type: PropTypes.Requireable<string>;
|
|
1212
|
-
'data-name': PropTypes.Requireable<string>;
|
|
1213
|
-
titleSize: PropTypes.Requireable<string>;
|
|
1214
|
-
subtitleSize: PropTypes.Requireable<string>;
|
|
1215
|
-
}>>;
|
|
1216
|
-
headerIcon: PropTypes.Requireable<string>;
|
|
1217
|
-
backgroundImage: PropTypes.Requireable<string>;
|
|
1218
|
-
}>>;
|
|
1207
|
+
header: PropTypes.Requireable<string>;
|
|
1219
1208
|
firstButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1220
1209
|
label: PropTypes.Requireable<string>;
|
|
1221
1210
|
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -1263,13 +1252,6 @@ declare namespace BrandUpdate {
|
|
|
1263
1252
|
'data-name': PropTypes.Requireable<string>;
|
|
1264
1253
|
requiredSelection: PropTypes.Requireable<boolean>;
|
|
1265
1254
|
}> | null | undefined)[]>;
|
|
1266
|
-
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1267
|
-
type: PropTypes.Requireable<string>;
|
|
1268
|
-
list: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1269
|
-
list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
|
|
1270
|
-
loading: PropTypes.Requireable<boolean>;
|
|
1271
|
-
}>>;
|
|
1272
|
-
}>>;
|
|
1273
1255
|
}>>;
|
|
1274
1256
|
export const details: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1275
1257
|
key: PropTypes.Requireable<string>;
|