@coorpacademy/components 11.20.6 → 11.21.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.
Files changed (60) hide show
  1. package/es/molecule/cm-popin/index.d.ts.map +1 -1
  2. package/es/molecule/cm-popin/index.js +9 -5
  3. package/es/molecule/cm-popin/index.js.map +1 -1
  4. package/es/molecule/cm-popin/types.d.ts +23 -0
  5. package/es/molecule/cm-popin/types.d.ts.map +1 -1
  6. package/es/molecule/cm-popin/types.js +10 -2
  7. package/es/molecule/cm-popin/types.js.map +1 -1
  8. package/es/organism/list-item/style.css +0 -1
  9. package/es/template/app-player/loading/index.d.ts +21 -0
  10. package/es/template/app-player/player/index.d.ts +42 -0
  11. package/es/template/app-player/player/slides/index.d.ts +21 -0
  12. package/es/template/app-player/player/slides/index.d.ts.map +1 -1
  13. package/es/template/app-player/popin-correction/index.d.ts +21 -0
  14. package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
  15. package/es/template/app-player/popin-end/index.d.ts +21 -0
  16. package/es/template/app-review/index.d.ts +21 -0
  17. package/es/template/app-review/index.d.ts.map +1 -1
  18. package/es/template/app-review/player/prop-types.d.ts +21 -0
  19. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  20. package/es/template/app-review/prop-types.d.ts +21 -0
  21. package/es/template/app-review/prop-types.d.ts.map +1 -1
  22. package/es/template/back-office/brand-update/index.d.ts +21 -0
  23. package/es/template/common/dashboard/index.d.ts +42 -0
  24. package/es/template/common/search-page/index.d.ts +21 -0
  25. package/es/template/external-course/index.d.ts +21 -0
  26. package/es/util/button-icons.d.ts +1 -0
  27. package/es/util/button-icons.d.ts.map +1 -1
  28. package/es/util/button-icons.js +3 -2
  29. package/es/util/button-icons.js.map +1 -1
  30. package/lib/molecule/cm-popin/index.d.ts.map +1 -1
  31. package/lib/molecule/cm-popin/index.js +9 -4
  32. package/lib/molecule/cm-popin/index.js.map +1 -1
  33. package/lib/molecule/cm-popin/types.d.ts +23 -0
  34. package/lib/molecule/cm-popin/types.d.ts.map +1 -1
  35. package/lib/molecule/cm-popin/types.js +13 -2
  36. package/lib/molecule/cm-popin/types.js.map +1 -1
  37. package/lib/organism/list-item/style.css +0 -1
  38. package/lib/template/app-player/loading/index.d.ts +21 -0
  39. package/lib/template/app-player/player/index.d.ts +42 -0
  40. package/lib/template/app-player/player/slides/index.d.ts +21 -0
  41. package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
  42. package/lib/template/app-player/popin-correction/index.d.ts +21 -0
  43. package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
  44. package/lib/template/app-player/popin-end/index.d.ts +21 -0
  45. package/lib/template/app-review/index.d.ts +21 -0
  46. package/lib/template/app-review/index.d.ts.map +1 -1
  47. package/lib/template/app-review/player/prop-types.d.ts +21 -0
  48. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  49. package/lib/template/app-review/prop-types.d.ts +21 -0
  50. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  51. package/lib/template/back-office/brand-update/index.d.ts +21 -0
  52. package/lib/template/common/dashboard/index.d.ts +42 -0
  53. package/lib/template/common/search-page/index.d.ts +21 -0
  54. package/lib/template/external-course/index.d.ts +21 -0
  55. package/lib/util/button-icons.d.ts +1 -0
  56. package/lib/util/button-icons.d.ts.map +1 -1
  57. package/lib/util/button-icons.js +2 -1
  58. package/lib/util/button-icons.js.map +1 -1
  59. package/locales/.mtslconfig.json +1 -0
  60. package/package.json +3 -3
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/cm-popin/index.js"],"names":[],"mappings":";AAgCA,kDAgQC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/cm-popin/index.js"],"names":[],"mappings":";AAkCA,kDAoQC"}
@@ -1,5 +1,5 @@
1
1
  import React, { useRef, useEffect, useMemo } from 'react';
2
- import { NovaSolidInterfaceFeedbackInterfaceAlertDiamond as AlertDiamond, NovaSolidApplicationsWindowUpload3 as WindowUpload, NovaLineSettingsCookie as Cookie, NovaSolidSpaceMoonRocket as MoonRocket, NovaCompositionCoorpacademyPadlock as LockIcon, NovaLineStatusCheckCircle1 as CheckCircle1, NovaSolidFilesBasicFileLines as FileLinesIcon } from '@coorpacademy/nova-icons';
2
+ import { NovaSolidInterfaceFeedbackInterfaceAlertDiamond as AlertDiamond, NovaSolidApplicationsWindowUpload3 as WindowUpload, NovaLineSettingsCookie as Cookie, NovaSolidSpaceMoonRocket as MoonRocket, NovaCompositionCoorpacademyPadlock as LockIcon, NovaLineStatusCheckCircle1 as CheckCircle1, NovaSolidFilesBasicFileLines as FileLinesIcon, NovaSolidInterfaceFeedbackInterfaceAlertRounded as AlertIcon } from '@coorpacademy/nova-icons';
3
3
  import map from 'lodash/fp/map';
4
4
  import isEmpty from 'lodash/fp/isEmpty';
5
5
  import classNames from 'classnames';
@@ -10,6 +10,7 @@ import InputSwitch from '../../atom/input-switch';
10
10
  import Title from '../../atom/title';
11
11
  import CardsGrid from '../../organism/cards-grid';
12
12
  import ListItems from '../../organism/list-items';
13
+ import Link from '../../atom/link';
13
14
  import style from './style.css';
14
15
  import propTypes from './types';
15
16
  const IconType = {
@@ -38,13 +39,15 @@ const CMPopin = props => {
38
39
  cookieTitle,
39
40
  descriptionBtnTxt,
40
41
  listBtnSwicth,
41
- items
42
+ items,
43
+ link
42
44
  } = props;
43
45
  const logo = {
44
46
  AlertDiamond,
45
47
  WindowUpload,
46
48
  MoonRocket,
47
- CheckCircle1
49
+ CheckCircle1,
50
+ AlertIcon
48
51
  };
49
52
  const LogoComponent = logo[icon];
50
53
  const backgroundImageStyle = backgroundImageUrl ? {
@@ -208,7 +211,7 @@ const CMPopin = props => {
208
211
  dangerouslySetInnerHTML: {
209
212
  __html: descriptionText
210
213
  }
211
- }) : null) : null, descriptionBtnTxt ? /*#__PURE__*/React.createElement("div", {
214
+ }) : null, link ? /*#__PURE__*/React.createElement(Link, link) : null) : null, descriptionBtnTxt ? /*#__PURE__*/React.createElement("div", {
212
215
  className: style.descriptionBtn
213
216
  }, descriptionBtnTxt) : null, !isEmpty(items) ? renderItems() : null, renderBtnSwitch(), firstButton || secondButton || thirdButton ? /*#__PURE__*/React.createElement("div", {
214
217
  className: style.buttonContainer
@@ -229,7 +232,8 @@ const CMPopin = props => {
229
232
  "data-name": `cm-popin-cta-${secondButton.type}`,
230
233
  "aria-label": secondButton['aria-label'],
231
234
  type: secondButton.type,
232
- customStyle: secondButton.customStyle
235
+ customStyle: secondButton.customStyle,
236
+ icon: secondButton.icon
233
237
  })) : null, thirdButton ? /*#__PURE__*/React.createElement("div", {
234
238
  className: thirdButton.largeButton ? style.largeButton : style.button
235
239
  }, /*#__PURE__*/React.createElement(Cta, {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","useRef","useEffect","useMemo","NovaSolidInterfaceFeedbackInterfaceAlertDiamond","AlertDiamond","NovaSolidApplicationsWindowUpload3","WindowUpload","NovaLineSettingsCookie","Cookie","NovaSolidSpaceMoonRocket","MoonRocket","NovaCompositionCoorpacademyPadlock","LockIcon","NovaLineStatusCheckCircle1","CheckCircle1","NovaSolidFilesBasicFileLines","FileLinesIcon","map","isEmpty","classNames","Provider","Cta","ButtonLinkIconOnly","InputSwitch","Title","CardsGrid","ListItems","style","propTypes","IconType","lockedContent","lockIcon","fileZipped","filesListIconContainer","filesListIcon","CMPopin","props","content","mode","firstButton","secondButton","onClose","header","icon","backgroundImageUrl","descriptionText","thirdButton","cookieTitle","descriptionBtnTxt","listBtnSwicth","items","logo","LogoComponent","backgroundImageStyle","backgroundImage","backgroundSize","handleCloseButton","nodeRef","closePopin","e","current","contains","target","handleKeyDown","key","document","addEventListener","removeEventListener","renderHeader","title","headerIcon","TopTitleIcon","headerContent","headerBackground","cookieHeader","cookieIconContainer","cookieIcon","getClassBtnSwitch","index","btnList","firstBtnSwitchContainer","length","lastBtnSwitchContainer","singleSwitchContainer","renderBtnSwitch","convert","cap","el","type","value","onChange","titlePosition","theme","details","requiredSelection","disabled","id","dataName","renderItems","list","itemsContainer","filesListContainer","wrapperPopinStyle","popinCookie","popinFilesList","popinItems","popin","background","popinHeader","onCloseButton","cookieTitleContainer","titleContainer","contentSection","message","__html","descriptionBtn","buttonContainer","largeButton","button","label","handleOnclick","customStyle","contextTypes","translate","childContextTypes"],"sources":["../../../src/molecule/cm-popin/index.js"],"sourcesContent":["import React, {useRef, useEffect, useMemo} 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 NovaSolidFilesBasicFileLines as FileLinesIcon\n} from '@coorpacademy/nova-icons';\nimport map from 'lodash/fp/map';\nimport isEmpty from 'lodash/fp/isEmpty';\nimport classNames from 'classnames';\nimport Provider from '../../atom/provider';\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 ListItems from '../../organism/list-items';\nimport style from './style.css';\nimport propTypes from './types';\n\nconst IconType = {\n lockedContent: <LockIcon className={style.lockIcon} />,\n fileZipped: (\n <div className={style.filesListIconContainer}>\n <FileLinesIcon className={style.filesListIcon} />\n </div>\n )\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 handleCloseButton = useMemo(() => () => onClose(), [onClose]);\n const nodeRef = useRef(null);\n useEffect(() => {\n if (mode === 'items') {\n const closePopin = e => {\n if (nodeRef && nodeRef.current && !nodeRef.current.contains(e.target)) {\n handleCloseButton();\n }\n };\n const handleKeyDown = e => {\n if (e?.key === 'Escape') {\n handleCloseButton();\n }\n };\n document.addEventListener('click', closePopin);\n document.addEventListener('touchstart', closePopin);\n document.addEventListener('keydown', handleKeyDown);\n return () => {\n document.removeEventListener('click', closePopin);\n document.removeEventListener('touchstart', closePopin);\n document.removeEventListener('keydown', handleKeyDown);\n };\n }\n }, [handleCloseButton, mode, onClose]);\n const renderHeader = () => {\n if (header) {\n const {title, headerIcon, backgroundImage} = header;\n const TopTitleIcon = IconType[headerIcon];\n\n return (\n <>\n {title ? (\n <div className={style.headerContent}>\n {TopTitleIcon}\n <Title {...title} />\n </div>\n ) : null}\n {backgroundImage ? (\n <img className={style.headerBackground} src={backgroundImage} />\n ) : null}\n </>\n );\n }\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\n return null;\n };\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\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\n const renderItems = () => {\n const {type, list} = items;\n if (isEmpty(list)) return null;\n\n if (type === 'content')\n return (\n <div className={style.itemsContainer} data-name={'cm-popin-cards'}>\n <CardsGrid {...list} />\n </div>\n );\n if (type === 'list')\n return (\n <div className={style.filesListContainer}>\n <ListItems {...list} />\n </div>\n );\n\n return null;\n };\n const wrapperPopinStyle = classNames(\n mode === 'cookie' && style.popinCookie,\n mode === 'list' && style.popinFilesList,\n mode === 'items' && style.popinItems,\n style.popin\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={wrapperPopinStyle} ref={nodeRef}>\n <header className={style.popinHeader}>\n {renderHeader()}\n {onClose ? (\n <div className={style.onCloseButton}>\n <ButtonLinkIconOnly\n onClick={handleCloseButton}\n data-name={'close-icon'}\n aria-label={'close-icon'}\n size=\"small\"\n icon=\"close\"\n />\n </div>\n ) : null}\n </header>\n {mode !== 'items' && mode !== 'list' ? (\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 {!isEmpty(items) ? renderItems() : 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;\nCMPopin.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nexport default CMPopin;\n"],"mappings":"AAAA,OAAOA,KAAP,IAAeC,MAAf,EAAuBC,SAAvB,EAAkCC,OAAlC,QAAgD,OAAhD;AACA,SACEC,+CAA+C,IAAIC,YADrD,EAEEC,kCAAkC,IAAIC,YAFxC,EAGEC,sBAAsB,IAAIC,MAH5B,EAIEC,wBAAwB,IAAIC,UAJ9B,EAKEC,kCAAkC,IAAIC,QALxC,EAMEC,0BAA0B,IAAIC,YANhC,EAOEC,4BAA4B,IAAIC,aAPlC,QAQO,0BARP;AASA,OAAOC,GAAP,MAAgB,eAAhB;AACA,OAAOC,OAAP,MAAoB,mBAApB;AACA,OAAOC,UAAP,MAAuB,YAAvB;AACA,OAAOC,QAAP,MAAqB,qBAArB;AACA,OAAOC,GAAP,MAAgB,wBAAhB;AACA,OAAOC,kBAAP,MAA+B,kCAA/B;AACA,OAAOC,WAAP,MAAwB,yBAAxB;AACA,OAAOC,KAAP,MAAkB,kBAAlB;AACA,OAAOC,SAAP,MAAsB,2BAAtB;AACA,OAAOC,SAAP,MA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C,GAA+C1F,KAAK,CAAC2F;EAArE,gBACE,oBAAC,GAAD;IACE,KAAK,EAAE9E,YAAY,CAAC+E,KADtB;IAEE,OAAO,EAAE/E,YAAY,CAACgF,aAFxB;IAGE,aAAY,gBAAehF,YAAY,CAACgD,IAAK,EAH/C;IAIE,cAAYhD,YAAY,CAAC,YAAD,CAJ1B;IAKE,IAAI,EAAEA,YAAY,CAACgD,IALrB;IAME,WAAW,EAAEhD,YAAY,CAACiF;EAN5B,EADF,CADW,GAWT,IAxBN,EAyBG3E,WAAW,gBACV;IAAK,SAAS,EAAEA,WAAW,CAACuE,WAAZ,GAA0B1F,KAAK,CAAC0F,WAAhC,GAA8C1F,KAAK,CAAC2F;EAApE,gBACE,oBAAC,GAAD;IACE,KAAK,EAAExE,WAAW,CAACyE,KADrB;IAEE,OAAO,EAAEzE,WAAW,CAAC0E,aAFvB;IAGE,aAAY,gBAAe1E,WAAW,CAAC0C,IAAK,EAH9C;IAIE,cAAY1C,WAAW,CAAC,YAAD,CAJzB;IAKE,IAAI,EAAEA,WAAW,CAAC0C,IALpB;IAME,WAAW,EAAE1C,WAAW,CAAC2E;EAN3B,EADF,CADU,GAWR,IApCN,CADD,GAuCG,IArFN,CALF,CADF;AA+FD,CAhQD;;AAkQAtF,OAAO,CAACP,SAAR,2CAAoBA,SAApB;AACAO,OAAO,CAACuF,YAAR,GAAuB;EACrBC,SAAS,EAAEvG,QAAQ,CAACwG,iBAAT,CAA2BD;AADjB,CAAvB;AAIA,eAAexF,OAAf"}
1
+ {"version":3,"file":"index.js","names":["React","useRef","useEffect","useMemo","NovaSolidInterfaceFeedbackInterfaceAlertDiamond","AlertDiamond","NovaSolidApplicationsWindowUpload3","WindowUpload","NovaLineSettingsCookie","Cookie","NovaSolidSpaceMoonRocket","MoonRocket","NovaCompositionCoorpacademyPadlock","LockIcon","NovaLineStatusCheckCircle1","CheckCircle1","NovaSolidFilesBasicFileLines","FileLinesIcon","NovaSolidInterfaceFeedbackInterfaceAlertRounded","AlertIcon","map","isEmpty","classNames","Provider","Cta","ButtonLinkIconOnly","InputSwitch","Title","CardsGrid","ListItems","Link","style","propTypes","IconType","lockedContent","lockIcon","fileZipped","filesListIconContainer","filesListIcon","CMPopin","props","content","mode","firstButton","secondButton","onClose","header","icon","backgroundImageUrl","descriptionText","thirdButton","cookieTitle","descriptionBtnTxt","listBtnSwicth","items","link","logo","LogoComponent","backgroundImageStyle","backgroundImage","backgroundSize","handleCloseButton","nodeRef","closePopin","e","current","contains","target","handleKeyDown","key","document","addEventListener","removeEventListener","renderHeader","title","headerIcon","TopTitleIcon","headerContent","headerBackground","cookieHeader","cookieIconContainer","cookieIcon","getClassBtnSwitch","index","btnList","firstBtnSwitchContainer","length","lastBtnSwitchContainer","singleSwitchContainer","renderBtnSwitch","convert","cap","el","type","value","onChange","titlePosition","theme","details","requiredSelection","disabled","id","dataName","renderItems","list","itemsContainer","filesListContainer","wrapperPopinStyle","popinCookie","popinFilesList","popinItems","popin","background","popinHeader","onCloseButton","cookieTitleContainer","titleContainer","contentSection","message","__html","descriptionBtn","buttonContainer","largeButton","button","label","handleOnclick","customStyle","contextTypes","translate","childContextTypes"],"sources":["../../../src/molecule/cm-popin/index.js"],"sourcesContent":["import React, {useRef, useEffect, useMemo} 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 NovaSolidFilesBasicFileLines as FileLinesIcon,\n NovaSolidInterfaceFeedbackInterfaceAlertRounded as AlertIcon\n} from '@coorpacademy/nova-icons';\nimport map from 'lodash/fp/map';\nimport isEmpty from 'lodash/fp/isEmpty';\nimport classNames from 'classnames';\nimport Provider from '../../atom/provider';\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 ListItems from '../../organism/list-items';\nimport Link from '../../atom/link';\nimport style from './style.css';\nimport propTypes from './types';\n\nconst IconType = {\n lockedContent: <LockIcon className={style.lockIcon} />,\n fileZipped: (\n <div className={style.filesListIconContainer}>\n <FileLinesIcon className={style.filesListIcon} />\n </div>\n )\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 link\n } = props;\n const logo = {\n AlertDiamond,\n WindowUpload,\n MoonRocket,\n CheckCircle1,\n AlertIcon\n };\n const LogoComponent = logo[icon];\n\n const backgroundImageStyle = backgroundImageUrl\n ? {\n backgroundImage: `url(${backgroundImageUrl})`,\n backgroundSize: 'cover'\n }\n : null;\n const handleCloseButton = useMemo(() => () => onClose(), [onClose]);\n const nodeRef = useRef(null);\n useEffect(() => {\n if (mode === 'items') {\n const closePopin = e => {\n if (nodeRef && nodeRef.current && !nodeRef.current.contains(e.target)) {\n handleCloseButton();\n }\n };\n const handleKeyDown = e => {\n if (e?.key === 'Escape') {\n handleCloseButton();\n }\n };\n document.addEventListener('click', closePopin);\n document.addEventListener('touchstart', closePopin);\n document.addEventListener('keydown', handleKeyDown);\n return () => {\n document.removeEventListener('click', closePopin);\n document.removeEventListener('touchstart', closePopin);\n document.removeEventListener('keydown', handleKeyDown);\n };\n }\n }, [handleCloseButton, mode, onClose]);\n const renderHeader = () => {\n if (header) {\n const {title, headerIcon, backgroundImage} = header;\n const TopTitleIcon = IconType[headerIcon];\n\n return (\n <>\n {title ? (\n <div className={style.headerContent}>\n {TopTitleIcon}\n <Title {...title} />\n </div>\n ) : null}\n {backgroundImage ? (\n <img className={style.headerBackground} src={backgroundImage} />\n ) : null}\n </>\n );\n }\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\n return null;\n };\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\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\n const renderItems = () => {\n const {type, list} = items;\n if (isEmpty(list)) return null;\n\n if (type === 'content')\n return (\n <div className={style.itemsContainer} data-name={'cm-popin-cards'}>\n <CardsGrid {...list} />\n </div>\n );\n if (type === 'list')\n return (\n <div className={style.filesListContainer}>\n <ListItems {...list} />\n </div>\n );\n\n return null;\n };\n const wrapperPopinStyle = classNames(\n mode === 'cookie' && style.popinCookie,\n mode === 'list' && style.popinFilesList,\n mode === 'items' && style.popinItems,\n style.popin\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={wrapperPopinStyle} ref={nodeRef}>\n <header className={style.popinHeader}>\n {renderHeader()}\n {onClose ? (\n <div className={style.onCloseButton}>\n <ButtonLinkIconOnly\n onClick={handleCloseButton}\n data-name={'close-icon'}\n aria-label={'close-icon'}\n size=\"small\"\n icon=\"close\"\n />\n </div>\n ) : null}\n </header>\n {mode !== 'items' && mode !== 'list' ? (\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 {link ? <Link {...link} /> : null}\n </div>\n ) : null}\n {descriptionBtnTxt ? <div className={style.descriptionBtn}>{descriptionBtnTxt}</div> : null}\n {!isEmpty(items) ? renderItems() : 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 icon={secondButton.icon}\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;\nCMPopin.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nexport default CMPopin;\n"],"mappings":"AAA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C3F,KAAK,CAAC4F;EAApE,gBACE,oBAAC,GAAD;IACE,KAAK,EAAEzE,WAAW,CAAC0E,KADrB;IAEE,OAAO,EAAE1E,WAAW,CAAC2E,aAFvB;IAGE,aAAY,gBAAe3E,WAAW,CAAC2C,IAAK,EAH9C;IAIE,cAAY3C,WAAW,CAAC,YAAD,CAJzB;IAKE,IAAI,EAAEA,WAAW,CAAC2C,IALpB;IAME,WAAW,EAAE3C,WAAW,CAAC4E;EAN3B,EADF,CADU,GAWR,IArCN,CADD,GAwCG,IAvFN,CALF,CADF;AAiGD,CApQD;;AAsQAvF,OAAO,CAACP,SAAR,2CAAoBA,SAApB;AACAO,OAAO,CAACwF,YAAR,GAAuB;EACrBC,SAAS,EAAEzG,QAAQ,CAAC0G,iBAAT,CAA2BD;AADjB,CAAvB;AAIA,eAAezF,OAAf"}
@@ -1,4 +1,5 @@
1
1
  import PropTypes from 'prop-types';
2
+ import Link from '../../atom/link';
2
3
  import { TitleProps } from '../../atom/title/types';
3
4
  import CardsGrid from '../../organism/cards-grid';
4
5
  import ListItems from '../../organism/list-items';
@@ -32,6 +33,10 @@ declare const propTypes: {
32
33
  'aria-label': PropTypes.Requireable<string>;
33
34
  largeButton: PropTypes.Requireable<boolean>;
34
35
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
36
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
37
+ position: PropTypes.Requireable<string>;
38
+ type: PropTypes.Requireable<string>;
39
+ }>>;
35
40
  }>>;
36
41
  thirdButton: PropTypes.Requireable<PropTypes.InferProps<{
37
42
  label: PropTypes.Requireable<string>;
@@ -244,6 +249,23 @@ declare const propTypes: {
244
249
  title: PropTypes.Requireable<string>;
245
250
  }> | null | undefined>>;
246
251
  }>>;
252
+ link: PropTypes.Requireable<PropTypes.InferProps<{
253
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
254
+ className: PropTypes.Requireable<string>;
255
+ href: PropTypes.Requireable<string>;
256
+ 'data-name': PropTypes.Requireable<string>;
257
+ 'aria-label': PropTypes.Requireable<string>;
258
+ title: PropTypes.Requireable<string>;
259
+ target: PropTypes.Requireable<string>;
260
+ skinHover: PropTypes.Requireable<boolean>;
261
+ hoverColor: PropTypes.Requireable<string>;
262
+ download: PropTypes.Requireable<boolean>;
263
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
264
+ onMouseEnter: PropTypes.Requireable<(...args: any[]) => any>;
265
+ onMouseLeave: PropTypes.Requireable<(...args: any[]) => any>;
266
+ useButtonTag: PropTypes.Requireable<boolean>;
267
+ style: PropTypes.Requireable<PropTypes.InferProps<{}>>;
268
+ }>>;
247
269
  };
248
270
  declare type PopinHeaderProps = {
249
271
  title: TitleProps;
@@ -273,6 +295,7 @@ export declare type CMPopinProps = {
273
295
  type: 'content' | 'list';
274
296
  list: PropTypes.InferProps<typeof CardsGrid.propTypes> | PropTypes.InferProps<typeof ListItems.propTypes>;
275
297
  };
298
+ link?: PropTypes.InferProps<typeof Link.propTypes>;
276
299
  };
277
300
  export default propTypes;
278
301
  //# 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,OAAO,EAAC,UAAU,EAAC,MAAM,wBAAwB,CAAC;AAClD,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAClD,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAElD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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E,SAAS,GAAG,MAAM,CAAC;QACzB,IAAI,EACA,SAAS,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,GAChD,SAAS,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,CAAC;KACtD,CAAC;IACF,IAAI,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,OAAO,IAAI,CAAC,SAAS,CAAC,CAAC;CACpD,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1,9 +1,12 @@
1
+ import _keys from "lodash/fp/keys";
1
2
  import PropTypes from 'prop-types';
2
3
  import Cta from '../../atom/button-link';
3
4
  import InputSwitch from '../../atom/input-switch';
4
5
  import Title from '../../atom/title';
6
+ import Link from '../../atom/link';
5
7
  import CardsGrid from '../../organism/cards-grid';
6
8
  import ListItems from '../../organism/list-items';
9
+ import { ICONS } from '../../util/button-icons';
7
10
  const propTypes = {
8
11
  content: PropTypes.string,
9
12
  mode: PropTypes.oneOf(['alert', 'information', 'cookie', 'items', 'list']),
@@ -26,7 +29,11 @@ const propTypes = {
26
29
  type: PropTypes.oneOf(['dangerous', 'primary', 'secondary']),
27
30
  'aria-label': PropTypes.string,
28
31
  largeButton: PropTypes.bool,
29
- customStyle: Cta.propTypes.customStyle
32
+ customStyle: Cta.propTypes.customStyle,
33
+ icon: PropTypes.shape({
34
+ position: PropTypes.oneOf(['right', 'left']),
35
+ type: PropTypes.oneOf(_keys(ICONS))
36
+ })
30
37
  }),
31
38
  thirdButton: PropTypes.shape({
32
39
  label: PropTypes.string,
@@ -47,7 +54,8 @@ const propTypes = {
47
54
  items: PropTypes.shape({
48
55
  type: PropTypes.oneOf(['content', 'list']),
49
56
  list: PropTypes.oneOfType([PropTypes.shape(CardsGrid.propTypes), PropTypes.shape(ListItems.propTypes)])
50
- })
57
+ }),
58
+ link: PropTypes.shape(Link.propTypes)
51
59
  };
52
60
  export default propTypes;
53
61
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","names":["PropTypes","Cta","InputSwitch","Title","CardsGrid","ListItems","propTypes","content","string","mode","oneOf","header","shape","title","headerIcon","backgroundImage","firstButton","label","handleOnclick","func","largeButton","bool","type","customStyle","secondButton","thirdButton","onClose","icon","backgroundImageUrl","descriptionText","cookieTitle","headerSubtitle","descriptionBtnTxt","listBtnSwicth","arrayOf","items","list","oneOfType"],"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';\nimport Title from '../../atom/title';\nimport {TitleProps} from '../../atom/title/types';\nimport CardsGrid from '../../organism/cards-grid';\nimport ListItems from '../../organism/list-items';\n\nconst propTypes = {\n content: PropTypes.string,\n mode: PropTypes.oneOf(['alert', 'information', 'cookie', 'items', 'list']),\n header: PropTypes.shape({\n title: PropTypes.shape(Title.propTypes),\n headerIcon: PropTypes.string,\n backgroundImage: PropTypes.string\n }),\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 headerSubtitle: PropTypes.string,\n descriptionBtnTxt: PropTypes.string,\n listBtnSwicth: PropTypes.arrayOf(PropTypes.shape(InputSwitch.propTypes)),\n items: PropTypes.shape({\n type: PropTypes.oneOf(['content', 'list']),\n list: PropTypes.oneOfType([\n PropTypes.shape(CardsGrid.propTypes),\n PropTypes.shape(ListItems.propTypes)\n ])\n })\n};\n\ntype PopinHeaderProps = {\n title: TitleProps;\n backgroundImage: string;\n headerIcon: string;\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: 'alert' | 'information' | 'cookie' | 'items' | 'list';\n onClose?: () => void;\n popinHeader?: PopinHeaderProps;\n descriptionText: string;\n firstButton?: QuitPopinButton;\n secondButton?: QuitPopinButton;\n items?: {\n type: 'content' | 'list';\n list:\n | PropTypes.InferProps<typeof CardsGrid.propTypes>\n | PropTypes.InferProps<typeof ListItems.propTypes>;\n };\n};\n\nexport default propTypes;\n"],"mappings":"AAAA,OAAOA,SAAP,MAAsB,YAAtB;AACA,OAAOC,GAAP,MAAgB,wBAAhB;AACA,OAAOC,WAAP,MAAwB,yBAAxB;AACA,OAAOC,KAAP,MAAkB,kBAAlB;AAEA,OAAOC,SAAP,MAAsB,2BAAtB;AACA,OAAOC,SAAP,MAAsB,2BAAtB;AAEA,MAAMC,SAAS,GAAG;EAChBC,OAAO,EAAEP,SAAS,CAACQ,MADH;EAEhBC,IAAI,EAAET,SAAS,CAACU,KAAV,CAAgB,CAAC,OAAD,EAAU,aAAV,EAAyB,QAAzB,EAAmC,OAAnC,EAA4C,MAA5C,CAAhB,CAFU;EAGhBC,MAAM,EAAEX,SAAS,CAACY,KAAV,CAAgB;IACtBC,KAAK,EAAEb,SAAS,CAACY,KAAV,CAAgBT,KAAK,CAACG,SAAtB,CADe;IAEtBQ,UAAU,EAAEd,SAAS,CAACQ,MAFA;IAGtBO,eAAe,EAAEf,SAAS,C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,SAAS,CAACQ,MAjCA;EAkChBoB,kBAAkB,EAAE5B,SAAS,CAACQ,MAlCd;EAmChBqB,eAAe,EAAE7B,SAAS,CAACQ,MAnCX;EAoChBsB,WAAW,EAAE9B,SAAS,CAACQ,MApCP;EAqChBuB,cAAc,EAAE/B,SAAS,CAACQ,MArCV;EAsChBwB,iBAAiB,EAAEhC,SAAS,CAACQ,MAtCb;EAuChByB,aAAa,EAAEjC,SAAS,CAACkC,OAAV,CAAkBlC,SAAS,CAACY,KAAV,CAAgBV,WAAW,CAACI,SAA5B,CAAlB,CAvCC;EAwChB6B,KAAK,EAAEnC,SAAS,CAACY,KAAV,CAAgB;IACrBU,IAAI,EAAEtB,SAAS,CAACU,KAAV,CAAgB,CAAC,SAAD,EAAY,MAAZ,CAAhB,CADe;IAErB0B,IAAI,EAAEpC,SAAS,CAACqC,SAAV,CAAoB,CACxBrC,SAAS,CAACY,KAAV,CAAgBR,SAAS,CAACE,SAA1B,CADwB,EAExBN,SAAS,CAACY,KAAV,CAAgBP,SAAS,CAACC,SAA1B,CAFwB,CAApB;EAFe,CAAhB;AAxCS,CAAlB;AAmFA,eAAeA,SAAf"}
1
+ {"version":3,"file":"types.js","names":["PropTypes","Cta","InputSwitch","Title","Link","CardsGrid","ListItems","ICONS","propTypes","content","string","mode","oneOf","header","shape","title","headerIcon","backgroundImage","firstButton","label","handleOnclick","func","largeButton","bool","type","customStyle","secondButton","icon","position","thirdButton","onClose","backgroundImageUrl","descriptionText","cookieTitle","headerSubtitle","descriptionBtnTxt","listBtnSwicth","arrayOf","items","list","oneOfType","link"],"sources":["../../../src/molecule/cm-popin/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport {keys} from 'lodash/fp';\nimport Cta from '../../atom/button-link';\nimport InputSwitch from '../../atom/input-switch';\nimport Title from '../../atom/title';\nimport Link from '../../atom/link';\nimport {TitleProps} from '../../atom/title/types';\nimport CardsGrid from '../../organism/cards-grid';\nimport ListItems from '../../organism/list-items';\nimport {ICONS} from '../../util/button-icons';\n\nconst propTypes = {\n content: PropTypes.string,\n mode: PropTypes.oneOf(['alert', 'information', 'cookie', 'items', 'list']),\n header: PropTypes.shape({\n title: PropTypes.shape(Title.propTypes),\n headerIcon: PropTypes.string,\n backgroundImage: PropTypes.string\n }),\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 icon: PropTypes.shape({\n position: PropTypes.oneOf(['right', 'left']),\n type: PropTypes.oneOf(keys(ICONS))\n })\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 headerSubtitle: PropTypes.string,\n descriptionBtnTxt: PropTypes.string,\n listBtnSwicth: PropTypes.arrayOf(PropTypes.shape(InputSwitch.propTypes)),\n items: PropTypes.shape({\n type: PropTypes.oneOf(['content', 'list']),\n list: PropTypes.oneOfType([\n PropTypes.shape(CardsGrid.propTypes),\n PropTypes.shape(ListItems.propTypes)\n ])\n }),\n link: PropTypes.shape(Link.propTypes)\n};\n\ntype PopinHeaderProps = {\n title: TitleProps;\n backgroundImage: string;\n headerIcon: string;\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: 'alert' | 'information' | 'cookie' | 'items' | 'list';\n onClose?: () => void;\n popinHeader?: PopinHeaderProps;\n descriptionText: string;\n firstButton?: QuitPopinButton;\n secondButton?: QuitPopinButton;\n items?: {\n type: 'content' | 'list';\n list:\n | PropTypes.InferProps<typeof CardsGrid.propTypes>\n | PropTypes.InferProps<typeof ListItems.propTypes>;\n };\n link?: PropTypes.InferProps<typeof Link.propTypes>;\n};\n\nexport default propTypes;\n"],"mappings":";AAAA,OAAOA,SAAP,MAAsB,YAAtB;AAEA,OAAOC,GAAP,MAAgB,wBAAhB;AACA,OAAOC,WAAP,MAAwB,yBAAxB;AACA,OAAOC,KAAP,MAAkB,kBAAlB;AACA,OAAOC,IAAP,MAAiB,iBAAjB;AAEA,OAAOC,SAAP,MAAsB,2BAAtB;AACA,OAAOC,SAAP,MAAsB,2BAAtB;AACA,SAAQC,KAAR,QAAoB,yBAApB;AAEA,MAAMC,SAAS,GAAG;EAChBC,OAAO,EAAET,SAAS,CAACU,MADH;EAEhBC,IAAI,EAAEX,SAAS,CAACY,KAAV,CAAgB,CAAC,OAAD,EAAU,aAAV,EAAyB,QAAzB,EAAmC,OAAnC,EAA4C,MAA5C,CAAhB,CAFU;EAGhBC,MAAM,EAAEb,SAAS,CAACc,KAAV,CAAgB;IACtBC,KAAK,EAAEf,SAAS,CAACc,KAAV,CAAgBX,KAAK,CAACK,SAAtB,CADe;IAEtBQ,UAAU,EAAEhB,SAAS,CAACU,MAFA;IAGtBO,eAAe,EAAEjB,SAAS,CAACU;EAHL,CAAhB,CAHQ;EAQhBQ,WAAW,EAAElB,SAAS,CAACc,KAAV,CAAgB;IAC3BK,KAAK,EAAEnB,SAAS,CAACU,MADU;IAE3BU,aAAa,EAAEpB,SAAS,CAACqB,IAFE;IAG3B,cAAcrB,SAAS,CAACU,MAHG;IAI3BY,WAAW,EAAEtB,SAAS,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AACU,MArCA;EAsChBqB,kBAAkB,EAAE/B,SAAS,CAACU,MAtCd;EAuChBsB,eAAe,EAAEhC,SAAS,CAACU,MAvCX;EAwChBuB,WAAW,EAAEjC,SAAS,CAACU,MAxCP;EAyChBwB,cAAc,EAAElC,SAAS,CAACU,MAzCV;EA0ChByB,iBAAiB,EAAEnC,SAAS,CAACU,MA1Cb;EA2ChB0B,aAAa,EAAEpC,SAAS,CAACqC,OAAV,CAAkBrC,SAAS,CAACc,KAAV,CAAgBZ,WAAW,CAACM,SAA5B,CAAlB,CA3CC;EA4ChB8B,KAAK,EAAEtC,SAAS,CAACc,KAAV,CAAgB;IACrBU,IAAI,EAAExB,SAAS,CAACY,KAAV,CAAgB,CAAC,SAAD,EAAY,MAAZ,CAAhB,CADe;IAErB2B,IAAI,EAAEvC,SAAS,CAACwC,SAAV,CAAoB,CACxBxC,SAAS,CAACc,KAAV,CAAgBT,SAAS,CAACG,SAA1B,CADwB,EAExBR,SAAS,CAACc,KAAV,CAAgBR,SAAS,CAACE,SAA1B,CAFwB,CAApB;EAFe,CAAhB,CA5CS;EAmDhBiC,IAAI,EAAEzC,SAAS,CAACc,KAAV,CAAgBV,IAAI,CAACI,SAArB;AAnDU,CAAlB;AAyFA,eAAeA,SAAf"}
@@ -37,7 +37,6 @@
37
37
  font-weight: bold;
38
38
  line-height: 1.38;
39
39
  letter-spacing: normal;
40
- overflow: hidden;
41
40
  text-align: left;
42
41
  text-overflow: ellipsis;
43
42
  white-space: nowrap;
@@ -34,6 +34,10 @@ declare namespace PlayerLoading {
34
34
  'aria-label': PropTypes.Requireable<string>;
35
35
  largeButton: PropTypes.Requireable<boolean>;
36
36
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
37
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
38
+ position: PropTypes.Requireable<string>;
39
+ type: PropTypes.Requireable<string>;
40
+ }>>;
37
41
  }>>;
38
42
  thirdButton: PropTypes.Requireable<PropTypes.InferProps<{
39
43
  label: PropTypes.Requireable<string>;
@@ -246,6 +250,23 @@ declare namespace PlayerLoading {
246
250
  title: PropTypes.Requireable<string>;
247
251
  }> | null | undefined>>;
248
252
  }>>;
253
+ link: PropTypes.Requireable<PropTypes.InferProps<{
254
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
255
+ className: PropTypes.Requireable<string>;
256
+ href: PropTypes.Requireable<string>;
257
+ 'data-name': PropTypes.Requireable<string>;
258
+ 'aria-label': PropTypes.Requireable<string>;
259
+ title: PropTypes.Requireable<string>;
260
+ target: PropTypes.Requireable<string>;
261
+ skinHover: PropTypes.Requireable<boolean>;
262
+ hoverColor: PropTypes.Requireable<string>;
263
+ download: PropTypes.Requireable<boolean>;
264
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
265
+ onMouseEnter: PropTypes.Requireable<(...args: any[]) => any>;
266
+ onMouseLeave: PropTypes.Requireable<(...args: any[]) => any>;
267
+ useButtonTag: PropTypes.Requireable<boolean>;
268
+ style: PropTypes.Requireable<PropTypes.InferProps<{}>>;
269
+ }>>;
249
270
  }>>;
250
271
  }
251
272
  }
@@ -85,6 +85,10 @@ declare namespace SlidePlayer {
85
85
  'aria-label': PropTypes.Requireable<string>;
86
86
  largeButton: PropTypes.Requireable<boolean>;
87
87
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
88
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
89
+ position: PropTypes.Requireable<string>;
90
+ type: PropTypes.Requireable<string>;
91
+ }>>;
88
92
  }>>;
89
93
  thirdButton: PropTypes.Requireable<PropTypes.InferProps<{
90
94
  label: PropTypes.Requireable<string>;
@@ -297,6 +301,23 @@ declare namespace SlidePlayer {
297
301
  title: PropTypes.Requireable<string>;
298
302
  }> | null | undefined>>;
299
303
  }>>;
304
+ link: PropTypes.Requireable<PropTypes.InferProps<{
305
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
306
+ className: PropTypes.Requireable<string>;
307
+ href: PropTypes.Requireable<string>;
308
+ 'data-name': PropTypes.Requireable<string>;
309
+ 'aria-label': PropTypes.Requireable<string>;
310
+ title: PropTypes.Requireable<string>;
311
+ target: PropTypes.Requireable<string>;
312
+ skinHover: PropTypes.Requireable<boolean>;
313
+ hoverColor: PropTypes.Requireable<string>;
314
+ download: PropTypes.Requireable<boolean>;
315
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
316
+ onMouseEnter: PropTypes.Requireable<(...args: any[]) => any>;
317
+ onMouseLeave: PropTypes.Requireable<(...args: any[]) => any>;
318
+ useButtonTag: PropTypes.Requireable<boolean>;
319
+ style: PropTypes.Requireable<PropTypes.InferProps<{}>>;
320
+ }>>;
300
321
  }>>;
301
322
  }>>;
302
323
  const popin: PropTypes.Requireable<PropTypes.InferProps<{
@@ -329,6 +350,10 @@ declare namespace SlidePlayer {
329
350
  'aria-label': PropTypes.Requireable<string>;
330
351
  largeButton: PropTypes.Requireable<boolean>;
331
352
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
353
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
354
+ position: PropTypes.Requireable<string>;
355
+ type: PropTypes.Requireable<string>;
356
+ }>>;
332
357
  }>>;
333
358
  thirdButton: PropTypes.Requireable<PropTypes.InferProps<{
334
359
  label: PropTypes.Requireable<string>;
@@ -541,6 +566,23 @@ declare namespace SlidePlayer {
541
566
  title: PropTypes.Requireable<string>;
542
567
  }> | null | undefined>>;
543
568
  }>>;
569
+ link: PropTypes.Requireable<PropTypes.InferProps<{
570
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
571
+ className: PropTypes.Requireable<string>;
572
+ href: PropTypes.Requireable<string>;
573
+ 'data-name': PropTypes.Requireable<string>;
574
+ 'aria-label': PropTypes.Requireable<string>;
575
+ title: PropTypes.Requireable<string>;
576
+ target: PropTypes.Requireable<string>;
577
+ skinHover: PropTypes.Requireable<boolean>;
578
+ hoverColor: PropTypes.Requireable<string>;
579
+ download: PropTypes.Requireable<boolean>;
580
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
581
+ onMouseEnter: PropTypes.Requireable<(...args: any[]) => any>;
582
+ onMouseLeave: PropTypes.Requireable<(...args: any[]) => any>;
583
+ useButtonTag: PropTypes.Requireable<boolean>;
584
+ style: PropTypes.Requireable<PropTypes.InferProps<{}>>;
585
+ }>>;
544
586
  }>>;
545
587
  }
546
588
  }
@@ -91,6 +91,10 @@ declare namespace SlidesPlayer {
91
91
  'aria-label': PropTypes.Requireable<string>;
92
92
  largeButton: PropTypes.Requireable<boolean>;
93
93
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
94
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
95
+ position: PropTypes.Requireable<string>;
96
+ type: PropTypes.Requireable<string>;
97
+ }>>;
94
98
  }>>;
95
99
  thirdButton: PropTypes.Requireable<PropTypes.InferProps<{
96
100
  label: PropTypes.Requireable<string>;
@@ -303,6 +307,23 @@ declare namespace SlidesPlayer {
303
307
  title: PropTypes.Requireable<string>;
304
308
  }> | null | undefined>>;
305
309
  }>>;
310
+ link: PropTypes.Requireable<PropTypes.InferProps<{
311
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
312
+ className: PropTypes.Requireable<string>;
313
+ href: PropTypes.Requireable<string>;
314
+ 'data-name': PropTypes.Requireable<string>;
315
+ 'aria-label': PropTypes.Requireable<string>;
316
+ title: PropTypes.Requireable<string>;
317
+ target: PropTypes.Requireable<string>;
318
+ skinHover: PropTypes.Requireable<boolean>;
319
+ hoverColor: PropTypes.Requireable<string>;
320
+ download: PropTypes.Requireable<boolean>;
321
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
322
+ onMouseEnter: PropTypes.Requireable<(...args: any[]) => any>;
323
+ onMouseLeave: PropTypes.Requireable<(...args: any[]) => any>;
324
+ useButtonTag: PropTypes.Requireable<boolean>;
325
+ style: PropTypes.Requireable<PropTypes.InferProps<{}>>;
326
+ }>>;
306
327
  }>>;
307
328
  }
308
329
  }
@@ -1 +1 @@
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"}
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"}
@@ -119,6 +119,10 @@ declare class PopinCorrection extends React.Component<any, any, any> {
119
119
  'aria-label': PropTypes.Requireable<string>;
120
120
  largeButton: PropTypes.Requireable<boolean>;
121
121
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
122
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
123
+ position: PropTypes.Requireable<string>;
124
+ type: PropTypes.Requireable<string>;
125
+ }>>;
122
126
  }>>;
123
127
  thirdButton: PropTypes.Requireable<PropTypes.InferProps<{
124
128
  label: PropTypes.Requireable<string>;
@@ -331,6 +335,23 @@ declare class PopinCorrection extends React.Component<any, any, any> {
331
335
  title: PropTypes.Requireable<string>;
332
336
  }> | null | undefined>>;
333
337
  }>>;
338
+ link: PropTypes.Requireable<PropTypes.InferProps<{
339
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
340
+ className: PropTypes.Requireable<string>;
341
+ href: PropTypes.Requireable<string>;
342
+ 'data-name': PropTypes.Requireable<string>;
343
+ 'aria-label': PropTypes.Requireable<string>;
344
+ title: PropTypes.Requireable<string>;
345
+ target: PropTypes.Requireable<string>;
346
+ skinHover: PropTypes.Requireable<boolean>;
347
+ hoverColor: PropTypes.Requireable<string>;
348
+ download: PropTypes.Requireable<boolean>;
349
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
350
+ onMouseEnter: PropTypes.Requireable<(...args: any[]) => any>;
351
+ onMouseLeave: PropTypes.Requireable<(...args: any[]) => any>;
352
+ useButtonTag: PropTypes.Requireable<boolean>;
353
+ style: PropTypes.Requireable<PropTypes.InferProps<{}>>;
354
+ }>>;
334
355
  }>>;
335
356
  };
336
357
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmBE;IAEF;;;;;;;;;;;;;;;;;;;;;;MAEE;IAEF,wBAIC;IAFC;;MAA0B;IAkB5B,gCAEC;IAhBD,0BAEC;IAED,kBAQC;IALC,gCAIE;IAIF,aAAsB;IAGxB,sBAsEC;CACF"}
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"}
@@ -211,6 +211,10 @@ declare namespace PopinEnd {
211
211
  'aria-label': PropTypes.Requireable<string>;
212
212
  largeButton: PropTypes.Requireable<boolean>;
213
213
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
214
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
215
+ position: PropTypes.Requireable<string>;
216
+ type: PropTypes.Requireable<string>;
217
+ }>>;
214
218
  }>>;
215
219
  thirdButton: PropTypes.Requireable<PropTypes.InferProps<{
216
220
  label: PropTypes.Requireable<string>;
@@ -423,6 +427,23 @@ declare namespace PopinEnd {
423
427
  title: PropTypes.Requireable<string>;
424
428
  }> | null | undefined>>;
425
429
  }>>;
430
+ link: PropTypes.Requireable<PropTypes.InferProps<{
431
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
432
+ className: PropTypes.Requireable<string>;
433
+ href: PropTypes.Requireable<string>;
434
+ 'data-name': PropTypes.Requireable<string>;
435
+ 'aria-label': PropTypes.Requireable<string>;
436
+ title: PropTypes.Requireable<string>;
437
+ target: PropTypes.Requireable<string>;
438
+ skinHover: PropTypes.Requireable<boolean>;
439
+ hoverColor: PropTypes.Requireable<string>;
440
+ download: PropTypes.Requireable<boolean>;
441
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
442
+ onMouseEnter: PropTypes.Requireable<(...args: any[]) => any>;
443
+ onMouseLeave: PropTypes.Requireable<(...args: any[]) => any>;
444
+ useButtonTag: PropTypes.Requireable<boolean>;
445
+ style: PropTypes.Requireable<PropTypes.InferProps<{}>>;
446
+ }>>;
426
447
  }>>;
427
448
  }
428
449
  }
@@ -542,6 +542,10 @@ declare const AppReview: {
542
542
  'aria-label': import("prop-types").Requireable<string>;
543
543
  largeButton: import("prop-types").Requireable<boolean>;
544
544
  customStyle: import("prop-types").Requireable<import("prop-types").InferProps<{}>>;
545
+ icon: import("prop-types").Requireable<import("prop-types").InferProps<{
546
+ position: import("prop-types").Requireable<string>;
547
+ type: import("prop-types").Requireable<string>;
548
+ }>>;
545
549
  }>>;
546
550
  thirdButton: import("prop-types").Requireable<import("prop-types").InferProps<{
547
551
  label: import("prop-types").Requireable<string>;
@@ -754,6 +758,23 @@ declare const AppReview: {
754
758
  title: import("prop-types").Requireable<string>;
755
759
  }> | null | undefined>>;
756
760
  }>>;
761
+ link: import("prop-types").Requireable<import("prop-types").InferProps<{
762
+ children: import("prop-types").Requireable<import("prop-types").ReactNodeLike>;
763
+ className: import("prop-types").Requireable<string>;
764
+ href: import("prop-types").Requireable<string>;
765
+ 'data-name': import("prop-types").Requireable<string>;
766
+ 'aria-label': import("prop-types").Requireable<string>;
767
+ title: import("prop-types").Requireable<string>;
768
+ target: import("prop-types").Requireable<string>;
769
+ skinHover: import("prop-types").Requireable<boolean>;
770
+ hoverColor: import("prop-types").Requireable<string>;
771
+ download: import("prop-types").Requireable<boolean>;
772
+ onClick: import("prop-types").Requireable<(...args: any[]) => any>;
773
+ onMouseEnter: import("prop-types").Requireable<(...args: any[]) => any>;
774
+ onMouseLeave: import("prop-types").Requireable<(...args: any[]) => any>;
775
+ useButtonTag: import("prop-types").Requireable<boolean>;
776
+ style: import("prop-types").Requireable<import("prop-types").InferProps<{}>>;
777
+ }>>;
757
778
  }>>;
758
779
  }>>;
759
780
  };
@@ -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;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOpD,CAAC;AAIF,eAAe,SAAS,CAAC"}
@@ -542,6 +542,10 @@ declare const propTypes: {
542
542
  'aria-label': PropTypes.Requireable<string>;
543
543
  largeButton: PropTypes.Requireable<boolean>;
544
544
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
545
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
546
+ position: PropTypes.Requireable<string>;
547
+ type: PropTypes.Requireable<string>;
548
+ }>>;
545
549
  }>>;
546
550
  thirdButton: PropTypes.Requireable<PropTypes.InferProps<{
547
551
  label: PropTypes.Requireable<string>;
@@ -754,6 +758,23 @@ declare const propTypes: {
754
758
  title: PropTypes.Requireable<string>;
755
759
  }> | null | undefined>>;
756
760
  }>>;
761
+ link: PropTypes.Requireable<PropTypes.InferProps<{
762
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
763
+ className: PropTypes.Requireable<string>;
764
+ href: PropTypes.Requireable<string>;
765
+ 'data-name': PropTypes.Requireable<string>;
766
+ 'aria-label': PropTypes.Requireable<string>;
767
+ title: PropTypes.Requireable<string>;
768
+ target: PropTypes.Requireable<string>;
769
+ skinHover: PropTypes.Requireable<boolean>;
770
+ hoverColor: PropTypes.Requireable<string>;
771
+ download: PropTypes.Requireable<boolean>;
772
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
773
+ onMouseEnter: PropTypes.Requireable<(...args: any[]) => any>;
774
+ onMouseLeave: PropTypes.Requireable<(...args: any[]) => any>;
775
+ useButtonTag: PropTypes.Requireable<boolean>;
776
+ style: PropTypes.Requireable<PropTypes.InferProps<{}>>;
777
+ }>>;
757
778
  }>>;
758
779
  };
759
780
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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