@coorpacademy/components 11.7.3-alpha.7 → 11.7.4-alpha.26
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/README.md +3 -3
- package/es/atom/input-search/index.d.ts.map +1 -1
- package/es/atom/input-search/index.js +0 -1
- package/es/atom/input-search/index.js.map +1 -1
- package/es/atom/input-switch/index.d.ts +0 -1
- package/es/atom/input-switch/index.d.ts.map +1 -1
- package/es/atom/input-switch/index.js +2 -5
- package/es/atom/input-switch/index.js.map +1 -1
- package/es/atom/loader/index.native.d.ts +10 -0
- package/es/atom/loader/index.native.d.ts.map +1 -0
- package/es/atom/loader/index.native.js +192 -0
- package/es/atom/loader/index.native.js.map +1 -0
- package/es/atom/select/index.d.ts +18 -1
- package/es/atom/select/index.d.ts.map +1 -1
- package/es/atom/select/index.js +29 -17
- package/es/atom/select/index.js.map +1 -1
- package/es/molecule/answer/index.d.ts.map +1 -1
- package/es/molecule/answer/index.js +19 -6
- package/es/molecule/answer/index.js.map +1 -1
- package/es/molecule/brand-form-group/index.d.ts +18 -5
- package/es/molecule/cm-popin/types.d.ts +0 -1
- package/es/molecule/cm-popin/types.d.ts.map +1 -1
- package/es/molecule/draggable-list/index.d.ts +0 -1
- package/es/molecule/filters/filters-wrapper.d.ts +1 -0
- package/es/molecule/filters/filters-wrapper.d.ts.map +1 -1
- package/es/molecule/filters/filters-wrapper.js +10 -9
- package/es/molecule/filters/filters-wrapper.js.map +1 -1
- package/es/molecule/filters/index.d.ts +10 -2
- package/es/molecule/filters/index.d.ts.map +1 -1
- package/es/molecule/filters/index.js +5 -9
- package/es/molecule/filters/index.js.map +1 -1
- package/es/molecule/questions/drop-down/index.d.ts +1 -0
- package/es/molecule/questions/drop-down/index.d.ts.map +1 -1
- package/es/molecule/questions/drop-down/index.js +9 -5
- package/es/molecule/questions/drop-down/index.js.map +1 -1
- package/es/molecule/questions/qcm/index.d.ts +1 -0
- package/es/molecule/questions/qcm/index.d.ts.map +1 -1
- package/es/molecule/questions/qcm/index.js +9 -5
- package/es/molecule/questions/qcm/index.js.map +1 -1
- package/es/molecule/questions/qcm-drag/index.d.ts +3 -1
- package/es/molecule/questions/qcm-drag/index.d.ts.map +1 -1
- package/es/molecule/questions/qcm-drag/index.js +9 -5
- package/es/molecule/questions/qcm-drag/index.js.map +1 -1
- package/es/molecule/questions/qcm-graphic/index.d.ts +1 -0
- package/es/molecule/questions/qcm-graphic/index.d.ts.map +1 -1
- package/es/molecule/questions/qcm-graphic/index.js +9 -5
- package/es/molecule/questions/qcm-graphic/index.js.map +1 -1
- package/es/molecule/questions/question-range/index.d.ts +1 -0
- package/es/molecule/questions/question-range/index.d.ts.map +1 -1
- package/es/molecule/questions/question-range/index.js +10 -6
- package/es/molecule/questions/question-range/index.js.map +1 -1
- package/es/molecule/questions/template/index.d.ts +6 -2
- package/es/molecule/questions/template/index.d.ts.map +1 -1
- package/es/molecule/questions/template/index.js +9 -5
- package/es/molecule/questions/template/index.js.map +1 -1
- package/es/molecule/setup-section/index.d.ts +0 -1
- package/es/molecule/setup-section/index.d.ts.map +1 -1
- package/es/molecule/setup-sections/index.d.ts +0 -1
- package/es/molecule/setup-slide/index.d.ts +9 -2
- package/es/molecule/setup-slider/index.d.ts +9 -2
- package/es/organism/brand-form/index.d.ts +18 -5
- package/es/organism/mooc-header/index.d.ts +5 -0
- package/es/organism/mooc-header/index.d.ts.map +1 -1
- package/es/organism/mooc-header/index.js +62 -12
- package/es/organism/mooc-header/index.js.map +1 -1
- package/es/organism/mooc-header/style.css +46 -0
- package/es/organism/user-preferences/index.d.ts +1 -1
- package/es/organism/user-preferences/index.d.ts.map +1 -1
- package/es/organism/user-preferences/index.js +9 -5
- package/es/organism/user-preferences/index.js.map +1 -1
- package/es/organism/wizard-contents/index.d.ts +18 -5
- package/es/template/activity/index.d.ts +11 -12
- package/es/template/activity/index.d.ts.map +1 -1
- package/es/template/activity/index.js +3 -6
- package/es/template/activity/index.js.map +1 -1
- package/es/template/app-player/loading/index.d.ts +0 -1
- package/es/template/app-player/player/index.d.ts +0 -2
- package/es/template/app-player/player/slides/index.d.ts +0 -1
- package/es/template/app-player/player/slides/index.d.ts.map +1 -1
- package/es/template/app-player/popin-correction/index.d.ts +0 -1
- package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/es/template/app-player/popin-end/index.d.ts +0 -1
- package/es/template/app-review/index.d.ts +0 -1
- package/es/template/app-review/index.d.ts.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +0 -1
- package/es/template/app-review/player/prop-types.d.ts.map +1 -1
- package/es/template/app-review/prop-types.d.ts +0 -1
- package/es/template/app-review/prop-types.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.d.ts +36 -11
- package/es/template/common/dashboard/index.d.ts +0 -1
- package/es/template/common/search-page/index.d.ts +11 -3
- package/es/template/common/search-page/index.js +3 -3
- package/es/template/common/search-page/index.js.map +1 -1
- package/es/template/teams-dashboard/index.d.ts +1 -0
- package/lib/atom/input-search/index.d.ts.map +1 -1
- package/lib/atom/input-search/index.js +0 -1
- package/lib/atom/input-search/index.js.map +1 -1
- package/lib/atom/input-switch/index.d.ts +0 -1
- package/lib/atom/input-switch/index.d.ts.map +1 -1
- package/lib/atom/input-switch/index.js +2 -5
- package/lib/atom/input-switch/index.js.map +1 -1
- package/lib/atom/loader/index.native.d.ts +10 -0
- package/lib/atom/loader/index.native.d.ts.map +1 -0
- package/lib/atom/loader/index.native.js +205 -0
- package/lib/atom/loader/index.native.js.map +1 -0
- package/lib/atom/select/index.d.ts +18 -1
- package/lib/atom/select/index.d.ts.map +1 -1
- package/lib/atom/select/index.js +34 -18
- package/lib/atom/select/index.js.map +1 -1
- package/lib/molecule/answer/index.d.ts.map +1 -1
- package/lib/molecule/answer/index.js +20 -6
- package/lib/molecule/answer/index.js.map +1 -1
- package/lib/molecule/brand-form-group/index.d.ts +18 -5
- package/lib/molecule/cm-popin/types.d.ts +0 -1
- package/lib/molecule/cm-popin/types.d.ts.map +1 -1
- package/lib/molecule/draggable-list/index.d.ts +0 -1
- package/lib/molecule/filters/filters-wrapper.d.ts +1 -0
- package/lib/molecule/filters/filters-wrapper.d.ts.map +1 -1
- package/lib/molecule/filters/filters-wrapper.js +10 -9
- package/lib/molecule/filters/filters-wrapper.js.map +1 -1
- package/lib/molecule/filters/index.d.ts +10 -2
- package/lib/molecule/filters/index.d.ts.map +1 -1
- package/lib/molecule/filters/index.js +5 -8
- package/lib/molecule/filters/index.js.map +1 -1
- package/lib/molecule/questions/drop-down/index.d.ts +1 -0
- package/lib/molecule/questions/drop-down/index.d.ts.map +1 -1
- package/lib/molecule/questions/drop-down/index.js +9 -5
- package/lib/molecule/questions/drop-down/index.js.map +1 -1
- package/lib/molecule/questions/qcm/index.d.ts +1 -0
- package/lib/molecule/questions/qcm/index.d.ts.map +1 -1
- package/lib/molecule/questions/qcm/index.js +9 -5
- package/lib/molecule/questions/qcm/index.js.map +1 -1
- package/lib/molecule/questions/qcm-drag/index.d.ts +3 -1
- package/lib/molecule/questions/qcm-drag/index.d.ts.map +1 -1
- package/lib/molecule/questions/qcm-drag/index.js +9 -5
- package/lib/molecule/questions/qcm-drag/index.js.map +1 -1
- package/lib/molecule/questions/qcm-graphic/index.d.ts +1 -0
- package/lib/molecule/questions/qcm-graphic/index.d.ts.map +1 -1
- package/lib/molecule/questions/qcm-graphic/index.js +9 -5
- package/lib/molecule/questions/qcm-graphic/index.js.map +1 -1
- package/lib/molecule/questions/question-range/index.d.ts +1 -0
- package/lib/molecule/questions/question-range/index.d.ts.map +1 -1
- package/lib/molecule/questions/question-range/index.js +10 -6
- package/lib/molecule/questions/question-range/index.js.map +1 -1
- package/lib/molecule/questions/template/index.d.ts +6 -2
- package/lib/molecule/questions/template/index.d.ts.map +1 -1
- package/lib/molecule/questions/template/index.js +9 -5
- package/lib/molecule/questions/template/index.js.map +1 -1
- package/lib/molecule/setup-section/index.d.ts +0 -1
- package/lib/molecule/setup-section/index.d.ts.map +1 -1
- package/lib/molecule/setup-sections/index.d.ts +0 -1
- package/lib/molecule/setup-slide/index.d.ts +9 -2
- package/lib/molecule/setup-slider/index.d.ts +9 -2
- package/lib/organism/brand-form/index.d.ts +18 -5
- package/lib/organism/mooc-header/index.d.ts +5 -0
- package/lib/organism/mooc-header/index.d.ts.map +1 -1
- package/lib/organism/mooc-header/index.js +61 -11
- package/lib/organism/mooc-header/index.js.map +1 -1
- package/lib/organism/mooc-header/style.css +46 -0
- package/lib/organism/user-preferences/index.d.ts +1 -1
- package/lib/organism/user-preferences/index.d.ts.map +1 -1
- package/lib/organism/user-preferences/index.js +9 -5
- package/lib/organism/user-preferences/index.js.map +1 -1
- package/lib/organism/wizard-contents/index.d.ts +18 -5
- package/lib/template/activity/index.d.ts +11 -12
- package/lib/template/activity/index.d.ts.map +1 -1
- package/lib/template/activity/index.js +3 -6
- package/lib/template/activity/index.js.map +1 -1
- package/lib/template/app-player/loading/index.d.ts +0 -1
- package/lib/template/app-player/player/index.d.ts +0 -2
- package/lib/template/app-player/player/slides/index.d.ts +0 -1
- package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-correction/index.d.ts +0 -1
- package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-end/index.d.ts +0 -1
- package/lib/template/app-review/index.d.ts +0 -1
- package/lib/template/app-review/index.d.ts.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +0 -1
- package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/prop-types.d.ts +0 -1
- package/lib/template/app-review/prop-types.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.d.ts +36 -11
- package/lib/template/common/dashboard/index.d.ts +0 -1
- package/lib/template/common/search-page/index.d.ts +11 -3
- package/lib/template/common/search-page/index.js +3 -3
- package/lib/template/common/search-page/index.js.map +1 -1
- package/lib/template/teams-dashboard/index.d.ts +1 -0
- package/locales/cs/global.json +1 -0
- package/locales/de/global.json +1 -0
- package/locales/en/global.json +1 -0
- package/locales/es/global.json +1 -0
- package/locales/et/global.json +1 -0
- package/locales/fr/global.json +1 -0
- package/locales/hr/global.json +1 -0
- package/locales/hu/global.json +1 -0
- package/locales/it/global.json +1 -0
- package/locales/ja/global.json +1 -0
- package/locales/ko/global.json +1 -0
- package/locales/nl/global.json +1 -0
- package/locales/pl/global.json +1 -0
- package/locales/pt/global.json +1 -0
- package/locales/ro/global.json +1 -0
- package/locales/ru/global.json +1 -0
- package/locales/sk/global.json +1 -0
- package/locales/tl/global.json +1 -0
- package/locales/tr/global.json +1 -0
- package/locales/uk/global.json +1 -0
- package/locales/vi/global.json +1 -0
- package/locales/zh/global.json +1 -0
- package/locales/zh_TW/global.json +1 -0
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","useCallback","get","isEmpty","omit","PropTypes","classnames","Provider","GetSkinFromContext","Button","Select","Loader","ProgressionItem","EngineStars","StarsSummary","style","Progression","props","legacyContext","mainTitle","mainSubtitle","recommendation","progressions","adaptiveAriaLabel","total","engines","themeFilter","loading","
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","useCallback","get","isEmpty","omit","PropTypes","classnames","Provider","GetSkinFromContext","Button","Select","Loader","ProgressionItem","EngineStars","StarsSummary","style","Progression","props","legacyContext","mainTitle","mainSubtitle","recommendation","progressions","adaptiveAriaLabel","total","engines","themeFilter","loading","skin","onChange","themeFilterOnChange","handleClick","e","stopPropagation","preventDefault","onClick","handleSelectTheme","primary","loader","allProgressions","map","progression","ref","coreProgression","core","themeSelect","options","selectBorder","select","recommendationSection","recommendationWrapper","title","subtitle","course","innerHTML","__html","courseTitle","cta","backgroundColor","default","headerProgression","wrapperCta","wrapperProgression","contextTypes","childContextTypes","propTypes","string","isRequired","shape","label","stars","number","arrayOf","bool","func"],"sources":["../../../src/template/activity/index.js"],"sourcesContent":["import React, {useCallback} from 'react';\nimport get from 'lodash/fp/get';\nimport isEmpty from 'lodash/fp/isEmpty';\nimport omit from 'lodash/fp/omit';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport Provider, {GetSkinFromContext} from '../../atom/provider';\nimport Button from '../../atom/button';\nimport Select from '../../atom/select';\nimport Loader from '../../atom/loader';\nimport ProgressionItem from './progression-item';\nimport EngineStars from './engine-stars';\nimport StarsSummary from './stars-summary';\nimport style from './style.css';\n\nconst Progression = (props, legacyContext) => {\n const {\n mainTitle,\n mainSubtitle,\n recommendation = {},\n progressions = [],\n adaptiveAriaLabel,\n total,\n engines = [],\n themeFilter = {},\n loading\n } = props;\n const skin = GetSkinFromContext(legacyContext);\n const {onChange: themeFilterOnChange} = themeFilter;\n\n const handleClick = useCallback(\n e => {\n e.stopPropagation();\n e.preventDefault();\n const {onClick} = recommendation;\n onClick && onClick(e);\n },\n [recommendation]\n );\n\n const handleSelectTheme = useCallback(\n e => {\n themeFilterOnChange && themeFilterOnChange(e);\n },\n [themeFilterOnChange]\n );\n\n const primary = get('common.primary', skin);\n const loader = loading ? (\n <div className={style.loader}>\n <Loader />\n </div>\n ) : null;\n const allProgressions = progressions.map(progression => (\n <ProgressionItem\n {...omit(['ref'], progression)}\n key={progression.ref}\n adaptiveAriaLabel={adaptiveAriaLabel}\n />\n ));\n\n const coreProgression = (\n <div data-name=\"activityCore\" className={style.core}>\n {allProgressions}\n </div>\n );\n const themeSelect = !isEmpty(themeFilter.options) ? (\n <Select\n borderClassName={style.selectBorder}\n className={style.select}\n theme=\"thematiques\"\n options={themeFilter.options}\n onChange={handleSelectTheme}\n />\n ) : null;\n const recommendationSection = !isEmpty(recommendation) ? (\n <div className={style.recommendationWrapper}>\n <p className={style.recommendationSection}>{recommendation.title} </p>\n <p className={style.recommendationSection}>\n <span>{recommendation.subtitle} </span>\n <span\n className={classnames(style.course, style.innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: recommendation.courseTitle}}\n />\n </p>\n <Button\n type=\"link\"\n onClick={handleClick}\n submitValue={recommendation.cta}\n style={{\n backgroundColor: primary\n }}\n className={style.cta}\n />\n </div>\n ) : null;\n\n return (\n <div className={style.default}>\n <div data-name=\"activity-header\">\n <div className={style.mainTitle}>\n <span>{mainTitle}</span> {mainSubtitle}\n </div>\n <div className={style.headerProgression}>\n <div className={style.wrapperCta}>\n {themeSelect}\n {recommendationSection}\n </div>\n <StarsSummary engines={engines} total={total} />\n </div>\n </div>\n <div className={style.wrapperProgression} data-name=\"activityList\">\n {coreProgression}\n {loader}\n </div>\n </div>\n );\n};\n\nProgression.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nProgression.propTypes = {\n mainTitle: PropTypes.string.isRequired,\n mainSubtitle: PropTypes.string.isRequired,\n adaptiveAriaLabel: PropTypes.string,\n total: PropTypes.shape({\n label: PropTypes.string.isRequired,\n stars: PropTypes.number.isRequired\n }).isRequired,\n engines: PropTypes.arrayOf(PropTypes.shape(EngineStars.propTypes)),\n loading: PropTypes.bool.isRequired,\n progressions: PropTypes.arrayOf(\n PropTypes.shape({...ProgressionItem.propTypes, ref: PropTypes.string.isRequired})\n ),\n themeFilter: PropTypes.shape({\n options: Select.propTypes.options.isRequired,\n onChange: Select.propTypes.onChange\n }),\n recommendation: PropTypes.shape({\n cta: PropTypes.string.isRequired,\n title: PropTypes.string.isRequired,\n subtitle: PropTypes.string.isRequired,\n courseTitle: PropTypes.string.isRequired,\n onClick: PropTypes.func\n })\n};\n\nexport default Progression;\n"],"mappings":";;AAAA,OAAOA,KAAP,IAAeC,WAAf,QAAiC,OAAjC;AACA,OAAOC,GAAP,MAAgB,eAAhB;AACA,OAAOC,OAAP,MAAoB,mBAApB;AACA,OAAOC,IAAP,MAAiB,gBAAjB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,UAAP,MAAuB,YAAvB;AACA,OAAOC,QAAP,IAAkBC,kBAAlB,QAA2C,qBAA3C;AACA,OAAOC,MAAP,MAAmB,mBAAnB;AACA,OAAOC,MAAP,MAAmB,mBA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,CAAiBC;EAArE,GADY,CAVQ;EAatBzC,WAAW,EAAErB,SAAS,CAAC+D,KAAV,CAAgB;IAC3BtB,OAAO,EAAEpC,MAAM,CAACuD,SAAP,CAAiBnB,OAAjB,CAAyBqB,UADP;IAE3BtC,QAAQ,EAAEnB,MAAM,CAACuD,SAAP,CAAiBpC;EAFA,CAAhB,CAbS;EAiBtBR,cAAc,EAAEhB,SAAS,CAAC+D,KAAV,CAAgB;IAC9BX,GAAG,EAAEpD,SAAS,CAAC6D,MAAV,CAAiBC,UADQ;IAE9BhB,KAAK,EAAE9C,SAAS,CAAC6D,MAAV,CAAiBC,UAFM;IAG9Bf,QAAQ,EAAE/C,SAAS,CAAC6D,MAAV,CAAiBC,UAHG;IAI9BX,WAAW,EAAEnD,SAAS,CAAC6D,MAAV,CAAiBC,UAJA;IAK9BhC,OAAO,EAAE9B,SAAS,CAACqE;EALW,CAAhB;AAjBM,CAAxB;AA0BA,eAAe1D,WAAf"}
|
|
@@ -46,7 +46,6 @@ declare namespace PlayerLoading {
|
|
|
46
46
|
disabled: PropTypes.Requireable<boolean>;
|
|
47
47
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
48
48
|
description: PropTypes.Requireable<string>;
|
|
49
|
-
'aria-labelledby': PropTypes.Requireable<string>;
|
|
50
49
|
modified: PropTypes.Requireable<boolean>;
|
|
51
50
|
titlePosition: PropTypes.Requireable<string>;
|
|
52
51
|
theme: PropTypes.Requireable<string>;
|
|
@@ -95,7 +95,6 @@ declare namespace SlidePlayer {
|
|
|
95
95
|
disabled: PropTypes.Requireable<boolean>;
|
|
96
96
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
97
97
|
description: PropTypes.Requireable<string>;
|
|
98
|
-
'aria-labelledby': PropTypes.Requireable<string>;
|
|
99
98
|
modified: PropTypes.Requireable<boolean>;
|
|
100
99
|
titlePosition: PropTypes.Requireable<string>;
|
|
101
100
|
theme: PropTypes.Requireable<string>;
|
|
@@ -147,7 +146,6 @@ declare namespace SlidePlayer {
|
|
|
147
146
|
disabled: PropTypes.Requireable<boolean>;
|
|
148
147
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
149
148
|
description: PropTypes.Requireable<string>;
|
|
150
|
-
'aria-labelledby': PropTypes.Requireable<string>;
|
|
151
149
|
modified: PropTypes.Requireable<boolean>;
|
|
152
150
|
titlePosition: PropTypes.Requireable<string>;
|
|
153
151
|
theme: PropTypes.Requireable<string>;
|
|
@@ -103,7 +103,6 @@ declare namespace SlidesPlayer {
|
|
|
103
103
|
disabled: PropTypes.Requireable<boolean>;
|
|
104
104
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
105
105
|
description: PropTypes.Requireable<string>;
|
|
106
|
-
'aria-labelledby': PropTypes.Requireable<string>;
|
|
107
106
|
modified: PropTypes.Requireable<boolean>;
|
|
108
107
|
titlePosition: PropTypes.Requireable<string>;
|
|
109
108
|
theme: PropTypes.Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/template/app-player/player/slides/index.js"],"names":[],"mappings":";AAgZA,qEAkBC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/template/app-player/player/slides/index.js"],"names":[],"mappings":";AAgZA,qEAkBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA1HD;;uBAUC;;;;;;;;;;;;;;;;;;;;;;;AAnOD;;;gBAaC;;;;;;;;;;;;;AAyDD;;;gBAAoF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAhHpF,oEAQC;;;;;;;;;AA6MD;;gBAiBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA/GD,qEAaC"}
|
|
@@ -129,7 +129,6 @@ declare class PopinCorrection extends React.Component<any, any, any> {
|
|
|
129
129
|
disabled: PropTypes.Requireable<boolean>;
|
|
130
130
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
131
131
|
description: PropTypes.Requireable<string>;
|
|
132
|
-
'aria-labelledby': PropTypes.Requireable<string>;
|
|
133
132
|
modified: PropTypes.Requireable<boolean>;
|
|
134
133
|
titlePosition: PropTypes.Requireable<string>;
|
|
135
134
|
theme: PropTypes.Requireable<string>;
|
|
@@ -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"}
|
|
@@ -170,7 +170,6 @@ declare namespace PopinEnd {
|
|
|
170
170
|
disabled: PropTypes.Requireable<boolean>;
|
|
171
171
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
172
172
|
description: PropTypes.Requireable<string>;
|
|
173
|
-
'aria-labelledby': PropTypes.Requireable<string>;
|
|
174
173
|
modified: PropTypes.Requireable<boolean>;
|
|
175
174
|
titlePosition: PropTypes.Requireable<string>;
|
|
176
175
|
theme: PropTypes.Requireable<string>;
|
|
@@ -548,7 +548,6 @@ declare const AppReview: {
|
|
|
548
548
|
disabled: import("prop-types").Requireable<boolean>;
|
|
549
549
|
onChange: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
550
550
|
description: import("prop-types").Requireable<string>;
|
|
551
|
-
'aria-labelledby': import("prop-types").Requireable<string>;
|
|
552
551
|
modified: import("prop-types").Requireable<boolean>;
|
|
553
552
|
titlePosition: import("prop-types").Requireable<string>;
|
|
554
553
|
theme: import("prop-types").Requireable<string>;
|
|
@@ -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"}
|
|
@@ -548,7 +548,6 @@ declare const propTypes: {
|
|
|
548
548
|
disabled: PropTypes.Requireable<boolean>;
|
|
549
549
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
550
550
|
description: PropTypes.Requireable<string>;
|
|
551
|
-
'aria-labelledby': PropTypes.Requireable<string>;
|
|
552
551
|
modified: PropTypes.Requireable<boolean>;
|
|
553
552
|
titlePosition: PropTypes.Requireable<string>;
|
|
554
553
|
theme: PropTypes.Requireable<string>;
|
|
@@ -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,CAAC;IACxB,eAAe,CAAC,EAAE,mBAAmB,CAAC;IACtC,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B,SAAS,CAAC,EAAE,YAAY,CAAC;CAC1B,CAAC"}
|
|
@@ -552,7 +552,6 @@ declare const propTypes: {
|
|
|
552
552
|
disabled: PropTypes.Requireable<boolean>;
|
|
553
553
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
554
554
|
description: PropTypes.Requireable<string>;
|
|
555
|
-
'aria-labelledby': PropTypes.Requireable<string>;
|
|
556
555
|
modified: PropTypes.Requireable<boolean>;
|
|
557
556
|
titlePosition: PropTypes.Requireable<string>;
|
|
558
557
|
theme: PropTypes.Requireable<string>;
|
|
@@ -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"}
|
|
@@ -187,7 +187,6 @@ declare namespace BrandUpdate {
|
|
|
187
187
|
disabled: PropTypes.Requireable<boolean>;
|
|
188
188
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
189
189
|
description: PropTypes.Requireable<string>;
|
|
190
|
-
'aria-labelledby': PropTypes.Requireable<string>;
|
|
191
190
|
modified: PropTypes.Requireable<boolean>;
|
|
192
191
|
titlePosition: PropTypes.Requireable<string>;
|
|
193
192
|
theme: PropTypes.Requireable<string>;
|
|
@@ -229,10 +228,18 @@ declare namespace BrandUpdate {
|
|
|
229
228
|
selected: PropTypes.Requireable<boolean>;
|
|
230
229
|
validOption: PropTypes.Requireable<boolean>;
|
|
231
230
|
}> | null | undefined)[]>;
|
|
231
|
+
optgroups: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
232
|
+
label: PropTypes.Validator<string>;
|
|
233
|
+
options: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
234
|
+
name: PropTypes.Validator<string>;
|
|
235
|
+
value: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
236
|
+
selected: PropTypes.Requireable<boolean>;
|
|
237
|
+
validOption: PropTypes.Requireable<boolean>;
|
|
238
|
+
}> | null | undefined)[]>;
|
|
239
|
+
}> | null | undefined)[]>;
|
|
232
240
|
modified: PropTypes.Requireable<boolean>;
|
|
233
241
|
error: PropTypes.Requireable<boolean>;
|
|
234
242
|
'aria-label': PropTypes.Requireable<string>;
|
|
235
|
-
'aria-labelledby': PropTypes.Requireable<string>;
|
|
236
243
|
}> | PropTypes.InferProps<{
|
|
237
244
|
type: PropTypes.Requireable<string>;
|
|
238
245
|
title: PropTypes.Validator<string>;
|
|
@@ -310,7 +317,6 @@ declare namespace BrandUpdate {
|
|
|
310
317
|
disabled: PropTypes.Requireable<boolean>;
|
|
311
318
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
312
319
|
description: PropTypes.Requireable<string>;
|
|
313
|
-
'aria-labelledby': PropTypes.Requireable<string>;
|
|
314
320
|
modified: PropTypes.Requireable<boolean>;
|
|
315
321
|
titlePosition: PropTypes.Requireable<string>;
|
|
316
322
|
theme: PropTypes.Requireable<string>;
|
|
@@ -335,10 +341,18 @@ declare namespace BrandUpdate {
|
|
|
335
341
|
selected: PropTypes.Requireable<boolean>;
|
|
336
342
|
validOption: PropTypes.Requireable<boolean>;
|
|
337
343
|
}> | null | undefined)[]>;
|
|
344
|
+
optgroups: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
345
|
+
label: PropTypes.Validator<string>;
|
|
346
|
+
options: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
347
|
+
name: PropTypes.Validator<string>;
|
|
348
|
+
value: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
349
|
+
selected: PropTypes.Requireable<boolean>;
|
|
350
|
+
validOption: PropTypes.Requireable<boolean>;
|
|
351
|
+
}> | null | undefined)[]>;
|
|
352
|
+
}> | null | undefined)[]>;
|
|
338
353
|
modified: PropTypes.Requireable<boolean>;
|
|
339
354
|
error: PropTypes.Requireable<boolean>;
|
|
340
355
|
'aria-label': PropTypes.Requireable<string>;
|
|
341
|
-
'aria-labelledby': PropTypes.Requireable<string>;
|
|
342
356
|
}> | PropTypes.InferProps<{
|
|
343
357
|
type: PropTypes.Requireable<string>;
|
|
344
358
|
title: PropTypes.Validator<string>;
|
|
@@ -441,7 +455,6 @@ declare namespace BrandUpdate {
|
|
|
441
455
|
disabled: PropTypes.Requireable<boolean>;
|
|
442
456
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
443
457
|
description: PropTypes.Requireable<string>;
|
|
444
|
-
'aria-labelledby': PropTypes.Requireable<string>;
|
|
445
458
|
modified: PropTypes.Requireable<boolean>;
|
|
446
459
|
titlePosition: PropTypes.Requireable<string>;
|
|
447
460
|
theme: PropTypes.Requireable<string>;
|
|
@@ -815,7 +828,6 @@ declare namespace BrandUpdate {
|
|
|
815
828
|
disabled: PropTypes.Requireable<boolean>;
|
|
816
829
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
817
830
|
description: PropTypes.Requireable<string>;
|
|
818
|
-
'aria-labelledby': PropTypes.Requireable<string>;
|
|
819
831
|
modified: PropTypes.Requireable<boolean>;
|
|
820
832
|
titlePosition: PropTypes.Requireable<string>;
|
|
821
833
|
theme: PropTypes.Requireable<string>;
|
|
@@ -857,10 +869,18 @@ declare namespace BrandUpdate {
|
|
|
857
869
|
selected: PropTypes.Requireable<boolean>;
|
|
858
870
|
validOption: PropTypes.Requireable<boolean>;
|
|
859
871
|
}> | null | undefined)[]>;
|
|
872
|
+
optgroups: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
873
|
+
label: PropTypes.Validator<string>;
|
|
874
|
+
options: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
875
|
+
name: PropTypes.Validator<string>;
|
|
876
|
+
value: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
877
|
+
selected: PropTypes.Requireable<boolean>;
|
|
878
|
+
validOption: PropTypes.Requireable<boolean>;
|
|
879
|
+
}> | null | undefined)[]>;
|
|
880
|
+
}> | null | undefined)[]>;
|
|
860
881
|
modified: PropTypes.Requireable<boolean>;
|
|
861
882
|
error: PropTypes.Requireable<boolean>;
|
|
862
883
|
'aria-label': PropTypes.Requireable<string>;
|
|
863
|
-
'aria-labelledby': PropTypes.Requireable<string>;
|
|
864
884
|
}> | PropTypes.InferProps<{
|
|
865
885
|
type: PropTypes.Requireable<string>;
|
|
866
886
|
title: PropTypes.Validator<string>;
|
|
@@ -938,7 +958,6 @@ declare namespace BrandUpdate {
|
|
|
938
958
|
disabled: PropTypes.Requireable<boolean>;
|
|
939
959
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
940
960
|
description: PropTypes.Requireable<string>;
|
|
941
|
-
'aria-labelledby': PropTypes.Requireable<string>;
|
|
942
961
|
modified: PropTypes.Requireable<boolean>;
|
|
943
962
|
titlePosition: PropTypes.Requireable<string>;
|
|
944
963
|
theme: PropTypes.Requireable<string>;
|
|
@@ -963,10 +982,18 @@ declare namespace BrandUpdate {
|
|
|
963
982
|
selected: PropTypes.Requireable<boolean>;
|
|
964
983
|
validOption: PropTypes.Requireable<boolean>;
|
|
965
984
|
}> | null | undefined)[]>;
|
|
985
|
+
optgroups: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
986
|
+
label: PropTypes.Validator<string>;
|
|
987
|
+
options: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
988
|
+
name: PropTypes.Validator<string>;
|
|
989
|
+
value: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
990
|
+
selected: PropTypes.Requireable<boolean>;
|
|
991
|
+
validOption: PropTypes.Requireable<boolean>;
|
|
992
|
+
}> | null | undefined)[]>;
|
|
993
|
+
}> | null | undefined)[]>;
|
|
966
994
|
modified: PropTypes.Requireable<boolean>;
|
|
967
995
|
error: PropTypes.Requireable<boolean>;
|
|
968
996
|
'aria-label': PropTypes.Requireable<string>;
|
|
969
|
-
'aria-labelledby': PropTypes.Requireable<string>;
|
|
970
997
|
}> | PropTypes.InferProps<{
|
|
971
998
|
type: PropTypes.Requireable<string>;
|
|
972
999
|
title: PropTypes.Validator<string>;
|
|
@@ -1069,7 +1096,6 @@ declare namespace BrandUpdate {
|
|
|
1069
1096
|
disabled: PropTypes.Requireable<boolean>;
|
|
1070
1097
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1071
1098
|
description: PropTypes.Requireable<string>;
|
|
1072
|
-
'aria-labelledby': PropTypes.Requireable<string>;
|
|
1073
1099
|
modified: PropTypes.Requireable<boolean>;
|
|
1074
1100
|
titlePosition: PropTypes.Requireable<string>;
|
|
1075
1101
|
theme: PropTypes.Requireable<string>;
|
|
@@ -1522,7 +1548,6 @@ declare namespace BrandUpdate {
|
|
|
1522
1548
|
disabled: PropTypes.Requireable<boolean>;
|
|
1523
1549
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1524
1550
|
description: PropTypes.Requireable<string>;
|
|
1525
|
-
'aria-labelledby': PropTypes.Requireable<string>;
|
|
1526
1551
|
modified: PropTypes.Requireable<boolean>;
|
|
1527
1552
|
titlePosition: PropTypes.Requireable<string>;
|
|
1528
1553
|
theme: PropTypes.Requireable<string>;
|
|
@@ -47,7 +47,6 @@ declare namespace Dashboard {
|
|
|
47
47
|
disabled: PropTypes.Requireable<boolean>;
|
|
48
48
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
49
49
|
description: PropTypes.Requireable<string>;
|
|
50
|
-
'aria-labelledby': PropTypes.Requireable<string>;
|
|
51
50
|
modified: PropTypes.Requireable<boolean>;
|
|
52
51
|
titlePosition: PropTypes.Requireable<string>;
|
|
53
52
|
theme: PropTypes.Requireable<string>;
|
|
@@ -55,17 +55,25 @@ declare namespace SearchPage {
|
|
|
55
55
|
selected: PropTypes.Requireable<boolean>;
|
|
56
56
|
validOption: PropTypes.Requireable<boolean>;
|
|
57
57
|
}> | null | undefined)[]>;
|
|
58
|
+
optgroups: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
59
|
+
label: PropTypes.Validator<string>;
|
|
60
|
+
options: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
61
|
+
name: PropTypes.Validator<string>;
|
|
62
|
+
value: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
63
|
+
selected: PropTypes.Requireable<boolean>;
|
|
64
|
+
validOption: PropTypes.Requireable<boolean>;
|
|
65
|
+
}> | null | undefined)[]>;
|
|
66
|
+
}> | null | undefined)[]>;
|
|
58
67
|
modified: PropTypes.Requireable<boolean>;
|
|
59
68
|
error: PropTypes.Requireable<boolean>;
|
|
60
69
|
'aria-label': PropTypes.Requireable<string>;
|
|
61
|
-
'aria-labelledby': PropTypes.Requireable<string>;
|
|
62
70
|
}>>;
|
|
63
71
|
onSearch: PropTypes.Requireable<(...args: any[]) => any>;
|
|
64
72
|
onToggleFilters: PropTypes.Requireable<(...args: any[]) => any>;
|
|
65
73
|
onToggleSorts: PropTypes.Requireable<(...args: any[]) => any>;
|
|
66
74
|
moreSortAriaLabel: PropTypes.Requireable<string>;
|
|
67
75
|
moreFilterAriaLabel: PropTypes.Requireable<string>;
|
|
68
|
-
|
|
76
|
+
filterGroupAriaLabel: PropTypes.Requireable<string>;
|
|
69
77
|
}>>;
|
|
70
78
|
const cards: PropTypes.Requireable<PropTypes.InferProps<{
|
|
71
79
|
list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
|
|
@@ -102,7 +110,7 @@ declare namespace SearchPage {
|
|
|
102
110
|
}>>;
|
|
103
111
|
const moreSortAriaLabel: PropTypes.Requireable<string>;
|
|
104
112
|
const moreFilterAriaLabel: PropTypes.Requireable<string>;
|
|
105
|
-
const
|
|
113
|
+
const filterGroupAriaLabel: PropTypes.Requireable<string>;
|
|
106
114
|
}
|
|
107
115
|
}
|
|
108
116
|
import PropTypes from "prop-types";
|
|
@@ -22,7 +22,7 @@ const SearchPage = (props, context) => {
|
|
|
22
22
|
recommendations,
|
|
23
23
|
moreSortAriaLabel,
|
|
24
24
|
moreFilterAriaLabel,
|
|
25
|
-
|
|
25
|
+
filterGroupAriaLabel
|
|
26
26
|
} = props;
|
|
27
27
|
const {
|
|
28
28
|
skin
|
|
@@ -46,7 +46,7 @@ const SearchPage = (props, context) => {
|
|
|
46
46
|
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Filters, _extends({}, searchFilters, {
|
|
47
47
|
moreSortAriaLabel: moreSortAriaLabel,
|
|
48
48
|
moreFilterAriaLabel: moreFilterAriaLabel,
|
|
49
|
-
|
|
49
|
+
filterGroupAriaLabel: filterGroupAriaLabel
|
|
50
50
|
})), /*#__PURE__*/React.createElement("div", {
|
|
51
51
|
"data-name": "searchResult",
|
|
52
52
|
className: style.cardsWrapper
|
|
@@ -68,7 +68,7 @@ SearchPage.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
68
68
|
recommendations: PropTypes.shape(CardsList.propTypes),
|
|
69
69
|
moreSortAriaLabel: PropTypes.string,
|
|
70
70
|
moreFilterAriaLabel: PropTypes.string,
|
|
71
|
-
|
|
71
|
+
filterGroupAriaLabel: PropTypes.string
|
|
72
72
|
} : {};
|
|
73
73
|
export default SearchPage;
|
|
74
74
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","PropTypes","Provider","Button","Filters","CardsGrid","CardsList","style","SearchPage","props","context","title","searchFilters","cards","noresultsfound","clearFilters","recommendations","moreSortAriaLabel","moreFilterAriaLabel","
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","PropTypes","Provider","Button","Filters","CardsGrid","CardsList","style","SearchPage","props","context","title","searchFilters","cards","noresultsfound","clearFilters","recommendations","moreSortAriaLabel","moreFilterAriaLabel","filterGroupAriaLabel","skin","defaultColor","recommendationsView","cardsView","list","noresults","noresultstxt","clear","background","cardsWrapper","contextTypes","childContextTypes","propTypes","string","shape"],"sources":["../../../../src/template/common/search-page/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {getOr, isEmpty} from 'lodash/fp';\nimport Provider from '../../../atom/provider';\nimport Button from '../../../atom/button';\nimport Filters from '../../../molecule/filters';\nimport CardsGrid from '../../../organism/cards-grid';\nimport CardsList from '../../../molecule/dashboard/cards-list';\nimport style from './style.css';\n\nconst SearchPage = (props, context) => {\n const {\n title,\n searchFilters,\n cards,\n noresultsfound,\n clearFilters,\n recommendations,\n moreSortAriaLabel,\n moreFilterAriaLabel,\n filterGroupAriaLabel\n } = props;\n\n const {skin} = context;\n const defaultColor = getOr('#00B0FF', 'common.primary', skin);\n\n const recommendationsView = isEmpty(recommendations) ? null : <CardsList {...recommendations} />;\n\n const cardsView = isEmpty(cards.list) ? (\n <div>\n <div className={style.noresults}>\n <div className={style.noresultstxt}>{noresultsfound}</div>\n <Button\n {...clearFilters}\n data-name=\"searchPageClear\"\n className={style.clear}\n style={{background: defaultColor}}\n type=\"link\"\n />\n </div>\n {recommendationsView}\n </div>\n ) : (\n <CardsGrid {...cards} />\n );\n\n return (\n <div>\n <Filters\n {...searchFilters}\n moreSortAriaLabel={moreSortAriaLabel}\n moreFilterAriaLabel={moreFilterAriaLabel}\n filterGroupAriaLabel={filterGroupAriaLabel}\n />\n <div data-name=\"searchResult\" className={style.cardsWrapper}>\n <div className={style.title} role=\"status\">\n {title}\n </div>\n {cardsView}\n </div>\n </div>\n );\n};\n\nSearchPage.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nSearchPage.propTypes = {\n noresultsfound: PropTypes.string,\n title: PropTypes.string,\n searchFilters: PropTypes.shape(Filters.propTypes),\n cards: PropTypes.shape(CardsGrid.propTypes),\n clearFilters: PropTypes.shape(Button.propTypes),\n recommendations: PropTypes.shape(CardsList.propTypes),\n moreSortAriaLabel: PropTypes.string,\n moreFilterAriaLabel: PropTypes.string,\n filterGroupAriaLabel: PropTypes.string\n};\n\nexport default SearchPage;\n"],"mappings":";;;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,OAAOC,QAAP,MAAqB,wBAArB;AACA,OAAOC,MAAP,MAAmB,sBAAnB;AACA,OAAOC,OAAP,MAAoB,2BAApB;AACA,OAAOC,SAAP,MAAsB,8BAAtB;AACA,OAAOC,S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V,IAAI,EAAElB,QAAQ,CAAC6B,iBAAT,CAA2BX;AADT,CAA1B;AAIAZ,UAAU,CAACwB,SAAX,2CAAuB;EACrBlB,cAAc,EAAEb,SAAS,CAACgC,MADL;EAErBtB,KAAK,EAAEV,SAAS,CAACgC,MAFI;EAGrBrB,aAAa,EAAEX,SAAS,CAACiC,KAAV,CAAgB9B,OAAO,CAAC4B,SAAxB,CAHM;EAIrBnB,KAAK,EAAEZ,SAAS,CAACiC,KAAV,CAAgB7B,SAAS,CAAC2B,SAA1B,CAJc;EAKrBjB,YAAY,EAAEd,SAAS,CAACiC,KAAV,CAAgB/B,MAAM,CAAC6B,SAAvB,CALO;EAMrBhB,eAAe,EAAEf,SAAS,CAACiC,KAAV,CAAgB5B,SAAS,CAAC0B,SAA1B,CANI;EAOrBf,iBAAiB,EAAEhB,SAAS,CAACgC,MAPR;EAQrBf,mBAAmB,EAAEjB,SAAS,CAACgC,MARV;EASrBd,oBAAoB,EAAElB,SAAS,CAACgC;AATX,CAAvB;AAYA,eAAezB,UAAf"}
|
|
@@ -13,6 +13,7 @@ declare namespace TeamsDashboard {
|
|
|
13
13
|
href: PropTypes.Requireable<string>;
|
|
14
14
|
'aria-label': PropTypes.Requireable<string>;
|
|
15
15
|
'button-aria-label': PropTypes.Requireable<string>;
|
|
16
|
+
toolTipText: PropTypes.Requireable<string>;
|
|
16
17
|
}>>;
|
|
17
18
|
const platformLinks: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
18
19
|
submitValue: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/input-search/index.js"],"names":[],"mappings":";AAYA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/input-search/index.js"],"names":[],"mappings":";AAYA,iDA+CC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["Search","props","value","placeholder","onChange","onClear","onFocus","onBlur","theme","handleChange","useMemo","e","target","cmStyle","classnames","style","coorpmanager","isDefaultTheme","wrapperSearch","searchIcon","title","noValue","search","clearIcon","contextTypes","skin","Provider","childContextTypes","propTypes","PropTypes","string","isRequired","func","oneOf"],"sources":["../../../src/atom/input-search/index.js"],"sourcesContent":["import React, {useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {\n NovaCompositionCoorpacademySearchThin as CMSearchIcon,\n NovaCompositionCoorpacademySearch as SearchIcon,\n NovaSolidStatusClose as CloseIcon\n} from '@coorpacademy/nova-icons';\nimport {noop, isEmpty} from 'lodash/fp';\nimport Provider from '../provider';\nimport style from './style.css';\n\nconst Search = props => {\n const {\n value,\n placeholder,\n onChange = noop,\n onClear = noop,\n onFocus,\n onBlur,\n theme = 'default'\n } = props;\n const handleChange = useMemo(() => e => onChange(e.target.value), [onChange]);\n const cmStyle = classnames(style.coorpmanager);\n const isDefaultTheme = theme === 'default';\n\n return (\n <div className={isDefaultTheme ? style.wrapperSearch : cmStyle}>\n <label htmlFor=\"search\" title={placeholder}>\n {!isDefaultTheme ? (\n <CMSearchIcon className={style.searchIcon} />\n ) : (\n <SearchIcon className={style.searchIcon} />\n )}\n {!isDefaultTheme ? (\n <span className={classnames(style.title, isEmpty(value) && style.noValue)}>\n {placeholder}\n </span>\n ) : null}\n </label>\n <input\n data-name=\"search-input\"\n className={style.search}\n aria-label={placeholder}\n type=\"text\"\n name=\"search\"\n id=\"search\"\n placeholder={placeholder}\n
|
|
1
|
+
{"version":3,"file":"index.js","names":["Search","props","value","placeholder","onChange","onClear","onFocus","onBlur","theme","handleChange","useMemo","e","target","cmStyle","classnames","style","coorpmanager","isDefaultTheme","wrapperSearch","searchIcon","title","noValue","search","clearIcon","contextTypes","skin","Provider","childContextTypes","propTypes","PropTypes","string","isRequired","func","oneOf"],"sources":["../../../src/atom/input-search/index.js"],"sourcesContent":["import React, {useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {\n NovaCompositionCoorpacademySearchThin as CMSearchIcon,\n NovaCompositionCoorpacademySearch as SearchIcon,\n NovaSolidStatusClose as CloseIcon\n} from '@coorpacademy/nova-icons';\nimport {noop, isEmpty} from 'lodash/fp';\nimport Provider from '../provider';\nimport style from './style.css';\n\nconst Search = props => {\n const {\n value,\n placeholder,\n onChange = noop,\n onClear = noop,\n onFocus,\n onBlur,\n theme = 'default'\n } = props;\n const handleChange = useMemo(() => e => onChange(e.target.value), [onChange]);\n const cmStyle = classnames(style.coorpmanager);\n const isDefaultTheme = theme === 'default';\n\n return (\n <div className={isDefaultTheme ? style.wrapperSearch : cmStyle}>\n <label htmlFor=\"search\" title={placeholder}>\n {!isDefaultTheme ? (\n <CMSearchIcon className={style.searchIcon} />\n ) : (\n <SearchIcon className={style.searchIcon} />\n )}\n {!isDefaultTheme ? (\n <span className={classnames(style.title, isEmpty(value) && style.noValue)}>\n {placeholder}\n </span>\n ) : null}\n </label>\n <input\n data-name=\"search-input\"\n className={style.search}\n aria-label={placeholder}\n type=\"text\"\n name=\"search\"\n id=\"search\"\n placeholder={placeholder}\n value={value}\n onInput={handleChange}\n onFocus={onFocus}\n onChange={noop}\n onBlur={onBlur}\n />\n {value && !isDefaultTheme ? (\n <CloseIcon onClick={onClear} className={style.clearIcon} />\n ) : null}\n </div>\n );\n};\n\nSearch.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nSearch.propTypes = {\n value: PropTypes.string,\n placeholder: PropTypes.string.isRequired,\n onChange: PropTypes.func,\n onClear: PropTypes.func,\n onFocus: PropTypes.func,\n onBlur: PropTypes.func,\n theme: PropTypes.oneOf(['default', 'coorpmanager'])\n};\n\nexport default Search;\n"],"mappings":";;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AAMA;;AACA;;;;;;;;AAEA,MAAMA,MAAM,GAAGC,KAAK,IAAI;EACtB,MAAM;IACJC,KADI;IAEJC,WAFI;IAGJC,QAAQ,iB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;EAA9C,EADD,GAEG,IA7BN,CADF;AAiCD,CA/CD;;AAiDAvB,MAAM,CAACwB,YAAP,GAAsB;EACpBC,IAAI,EAAEC,iBAAA,CAASC,iBAAT,CAA2BF;AADb,CAAtB;AAIAzB,MAAM,CAAC4B,SAAP,2CAAmB;EACjB1B,KAAK,EAAE2B,kBAAA,CAAUC,MADA;EAEjB3B,WAAW,EAAE0B,kBAAA,CAAUC,MAAV,CAAiBC,UAFb;EAGjB3B,QAAQ,EAAEyB,kBAAA,CAAUG,IAHH;EAIjB3B,OAAO,EAAEwB,kBAAA,CAAUG,IAJF;EAKjB1B,OAAO,EAAEuB,kBAAA,CAAUG,IALF;EAMjBzB,MAAM,EAAEsB,kBAAA,CAAUG,IAND;EAOjBxB,KAAK,EAAEqB,kBAAA,CAAUI,KAAV,CAAgB,CAAC,SAAD,EAAY,cAAZ,CAAhB;AAPU,CAAnB;eAUejC,M"}
|
|
@@ -9,7 +9,6 @@ declare namespace InputSwitch {
|
|
|
9
9
|
disabled: PropTypes.Requireable<boolean>;
|
|
10
10
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
11
11
|
description: PropTypes.Requireable<string>;
|
|
12
|
-
'aria-labelledby': PropTypes.Requireable<string>;
|
|
13
12
|
modified: PropTypes.Requireable<boolean>;
|
|
14
13
|
titlePosition: PropTypes.Requireable<string>;
|
|
15
14
|
theme: PropTypes.Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/input-switch/index.js"],"names":[],"mappings":";AAMA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/input-switch/index.js"],"names":[],"mappings":";AAMA,sDAsEC"}
|
|
@@ -35,8 +35,7 @@ const InputSwitch = props => {
|
|
|
35
35
|
titlePosition = 'left',
|
|
36
36
|
details = '',
|
|
37
37
|
requiredSelection = false,
|
|
38
|
-
'data-name': dataName
|
|
39
|
-
'aria-labelledby': ariaLabelledBy
|
|
38
|
+
'data-name': dataName
|
|
40
39
|
} = props;
|
|
41
40
|
const idSwitch = id || (0, _uniqueId2.default)('input-switch-');
|
|
42
41
|
const isDisabled = disabled ? 'disabled' : '';
|
|
@@ -89,8 +88,7 @@ const InputSwitch = props => {
|
|
|
89
88
|
onChange: handleChange,
|
|
90
89
|
checked: value,
|
|
91
90
|
disabled: isDisabled,
|
|
92
|
-
className: _style.default.checkbox
|
|
93
|
-
"aria-labelledby": ariaLabelledBy
|
|
91
|
+
className: _style.default.checkbox
|
|
94
92
|
}), /*#__PURE__*/_react.default.createElement("label", {
|
|
95
93
|
htmlFor: idSwitch,
|
|
96
94
|
"data-name": "input-switch-label"
|
|
@@ -109,7 +107,6 @@ InputSwitch.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
109
107
|
disabled: _propTypes.default.bool,
|
|
110
108
|
onChange: _propTypes.default.func,
|
|
111
109
|
description: _propTypes.default.string,
|
|
112
|
-
'aria-labelledby': _propTypes.default.string,
|
|
113
110
|
modified: _propTypes.default.bool,
|
|
114
111
|
titlePosition: _propTypes.default.oneOf(['right', 'left']),
|
|
115
112
|
theme: _propTypes.default.oneOf(['default', 'coorpmanager', 'mooc']),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["InputSwitch","props","title","name","id","value","disabled","onChange","description","modified","theme","titlePosition","details","requiredSelection","dataName","
|
|
1
|
+
{"version":3,"file":"index.js","names":["InputSwitch","props","title","name","id","value","disabled","onChange","description","modified","theme","titlePosition","details","requiredSelection","dataName","idSwitch","isDisabled","handleChange","useMemo","e","target","checked","titleView","style","descriptionView","getClass","defaultClass","coorpmanager","modifiedClass","coorpmanagerModified","partielUncheck","default","className","getClassState","btnSwitchContainer","checkbox","alignedTextContainer","detailsTxt","propTypes","PropTypes","string","bool","func","oneOf"],"sources":["../../../src/atom/input-switch/index.js"],"sourcesContent":["import React, {useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport {noop, uniqueId} from 'lodash/fp';\nimport getClassState from '../../util/get-class-state';\nimport style from './style.css';\n\nconst InputSwitch = props => {\n const {\n title,\n name,\n id,\n value,\n disabled,\n onChange = noop,\n description,\n modified = false,\n theme = 'default',\n titlePosition = 'left',\n details = '',\n requiredSelection = false,\n 'data-name': dataName\n } = props;\n\n const idSwitch = id || uniqueId('input-switch-');\n const isDisabled = disabled ? 'disabled' : '';\n const handleChange = useMemo(() => e => onChange(e.target.checked), [onChange]);\n\n const titleView = title ? <span className={style.title}>{`${title} `}</span> : null;\n\n const descriptionView = description ? (\n <div className={style.description}>{description}</div>\n ) : null;\n\n const getClass = () => {\n switch (theme) {\n case 'coorpmanager':\n return {\n defaultClass: style.coorpmanager,\n modifiedClass: style.coorpmanagerModified\n };\n case 'mooc':\n return {\n defaultClass: style.partielUncheck,\n modifiedClass: style.coorpmanagerModified\n };\n default:\n return {defaultClass: style.default, modifiedClass: style.modified};\n }\n };\n const {defaultClass, modifiedClass} = getClass();\n const className = getClassState(defaultClass, modifiedClass, null, modified);\n\n return (\n <div className={className} data-name={`switch-input-${theme}${dataName}`}>\n {titlePosition === 'left' ? titleView : null}\n <div className={requiredSelection ? style.requiredSelection : null}>\n <div className={style.btnSwitchContainer}>\n <input\n type=\"checkbox\"\n id={idSwitch}\n name={name}\n onChange={handleChange}\n checked={value}\n disabled={isDisabled}\n className={style.checkbox}\n />\n <label htmlFor={idSwitch} data-name=\"input-switch-label\" />\n </div>\n </div>\n <div className={!details ? style.alignedTextContainer : null}>\n {titlePosition === 'right' ? titleView : null}\n {details ? <div className={style.detailsTxt}>{details}</div> : null}\n </div>\n {descriptionView}\n </div>\n );\n};\n\nInputSwitch.propTypes = {\n title: PropTypes.string,\n name: PropTypes.string,\n id: PropTypes.string,\n value: PropTypes.bool,\n disabled: PropTypes.bool,\n onChange: PropTypes.func,\n description: PropTypes.string,\n modified: PropTypes.bool,\n titlePosition: PropTypes.oneOf(['right', 'left']),\n theme: PropTypes.oneOf(['default', 'coorpmanager', 'mooc']),\n details: PropTypes.string,\n 'data-name': PropTypes.string,\n requiredSelection: PropTypes.bool\n};\nexport default InputSwitch;\n"],"mappings":";;;;;;;;;AAAA;;AACA;;AAEA;;AACA;;;;;;;;AAEA,MAAMA,WAAW,GAAGC,KAAK,IAAI;EAC3B,MAAM;IACJC,KADI;IAEJC,IAFI;IAGJC,EAHI;IAIJC,KAJI;IAKJC,QALI;IAMJC,QAAQ,iBANJ;IAOJC,WAPI;IAQJC,QAAQ,GAAG,KARP;IASJC,KAAK,GAAG,SATJ;IAUJC,aAAa,GAAG,MAVZ;IAWJC,OAAO,GAAG,EAXN;IAYJC,iBAAiB,GAAG,KAZhB;IAaJ,aAAaC;EAbT,IAcFb,KAdJ;EAgBA,MAAMc,QAAQ,GAAGX,EAAE,IAAI,wBAAS,eAAT,CAAvB;EACA,MAAMY,UAAU,GAAGV,QAAQ,GAAG,UAAH,GAAgB,EAA3C;EACA,MAAMW,YAAY,GAAG,IAAAC,cAAA,EAAQ,MAAMC,CAAC,IAAIZ,QAAQ,CAACY,CAAC,CAACC,MAAF,CAASC,OAAV,CAA3B,EAA+C,CAACd,QAAD,CAA/C,CAArB;EAEA,MAAMe,SAAS,GAAGpB,KAAK,gBAAG;IAAM,SAAS,EAAEqB,cAAA,CAAMrB;EAAvB,GAAgC,GAAEA,KAAM,GAAxC,CAAH,GAAwD,IAA/E;EAEA,MAAMsB,eAAe,GAAGhB,WAAW,gBACjC;IAAK,SAAS,EAAEe,cAAA,CAAMf;EAAtB,GAAoCA,WAApC,CADiC,GAE/B,IAFJ;;EAIA,MAAMiB,QAAQ,GAAG,MAAM;IACrB,QAAQf,KAAR;MACE,KAAK,cAAL;QACE,OAAO;UACLgB,YAAY,EAAEH,cAAA,CAAMI,YADf;UAELC,aAAa,EAAEL,cAAA,CAAMM;QAFhB,CAAP;;MAIF,KAAK,MAAL;QACE,OAAO;UACLH,YAAY,EAAEH,cAAA,CAAMO,cADf;UAELF,aAAa,EAAE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EAAEoC,kBAAA,CAAUC,MAFM;EAGtBpC,EAAE,EAAEmC,kBAAA,CAAUC,MAHQ;EAItBnC,KAAK,EAAEkC,kBAAA,CAAUE,IAJK;EAKtBnC,QAAQ,EAAEiC,kBAAA,CAAUE,IALE;EAMtBlC,QAAQ,EAAEgC,kBAAA,CAAUG,IANE;EAOtBlC,WAAW,EAAE+B,kBAAA,CAAUC,MAPD;EAQtB/B,QAAQ,EAAE8B,kBAAA,CAAUE,IARE;EAStB9B,aAAa,EAAE4B,kBAAA,CAAUI,KAAV,CAAgB,CAAC,OAAD,EAAU,MAAV,CAAhB,CATO;EAUtBjC,KAAK,EAAE6B,kBAAA,CAAUI,KAAV,CAAgB,CAAC,SAAD,EAAY,cAAZ,EAA4B,MAA5B,CAAhB,CAVe;EAWtB/B,OAAO,EAAE2B,kBAAA,CAAUC,MAXG;EAYtB,aAAaD,kBAAA,CAAUC,MAZD;EAatB3B,iBAAiB,EAAE0B,kBAAA,CAAUE;AAbP,CAAxB;eAeezC,W"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ColorValue } from 'react-native';
|
|
3
|
+
export declare type Props = {
|
|
4
|
+
color?: ColorValue;
|
|
5
|
+
height?: number;
|
|
6
|
+
readyToHide: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const Loader: (props: Props) => JSX.Element | null;
|
|
9
|
+
export default Loader;
|
|
10
|
+
//# sourceMappingURL=index.native.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../src/atom/loader/index.native.tsx"],"names":[],"mappings":";AAEA,OAAO,EAA0C,UAAU,EAAC,MAAM,cAAc,CAAC;AAoCjF,oBAAY,KAAK,GAAG;IAClB,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,OAAO,CAAC;CACtB,CAAC;AAKF,QAAA,MAAM,MAAM,UAAW,KAAK,uBAqK3B,CAAC;AAEF,eAAe,MAAM,CAAC"}
|