@coorpacademy/components 11.4.6 → 11.5.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/atom/provider/index.d.ts +1 -0
- package/es/atom/provider/index.d.ts.map +1 -1
- package/es/atom/provider/index.js +11 -1
- package/es/atom/provider/index.js.map +1 -1
- package/es/atom/provider/web-context.d.ts +1 -1
- package/es/atom/provider/web-context.d.ts.map +1 -1
- package/es/atom/provider/web-context.js +2 -1
- package/es/atom/provider/web-context.js.map +1 -1
- package/es/atom/review-header-step-item/index.d.ts.map +1 -1
- package/es/atom/review-header-step-item/index.js +24 -6
- package/es/atom/review-header-step-item/index.js.map +1 -1
- package/es/atom/review-presentation/index.js +2 -1
- package/es/atom/review-presentation/index.js.map +1 -1
- package/es/globals.d.js.map +1 -1
- package/es/molecule/answer/prop-types.d.ts +2 -0
- package/es/molecule/answer/prop-types.d.ts.map +1 -1
- package/es/molecule/discipline-header/index.d.ts +1 -0
- package/es/molecule/discipline-header/index.d.ts.map +1 -1
- package/es/molecule/questions/types.d.ts +1 -0
- package/es/molecule/questions/types.d.ts.map +1 -1
- package/es/molecule/questions/types.js.map +1 -1
- package/es/molecule/resource-player/index.d.ts +1 -0
- package/es/molecule/resource-player/index.d.ts.map +1 -1
- package/es/molecule/video-player/index.d.ts +1 -0
- package/es/molecule/video-player/index.d.ts.map +1 -1
- package/es/molecule/video-player/index.js +4 -2
- package/es/molecule/video-player/index.js.map +1 -1
- package/es/molecule/video-player/jwplayer.d.ts +1 -0
- package/es/molecule/video-player/jwplayer.d.ts.map +1 -1
- package/es/molecule/video-player/prop-types.d.ts +3 -0
- package/es/molecule/video-player/prop-types.js +2 -0
- package/es/molecule/video-player/prop-types.js.map +1 -1
- package/es/organism/review-slide/prop-types.d.ts +2 -0
- package/es/organism/review-slide/prop-types.d.ts.map +1 -1
- package/es/organism/review-stacked-slides/prop-types.d.ts +5 -0
- package/es/organism/review-stacked-slides/prop-types.d.ts.map +1 -1
- package/es/template/app-player/player/slides/index.d.ts +2 -0
- package/es/template/app-player/player/slides/index.d.ts.map +1 -1
- package/es/template/app-review/index.d.ts +5 -0
- package/es/template/app-review/index.d.ts.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +5 -0
- package/es/template/app-review/player/prop-types.d.ts.map +1 -1
- package/es/template/app-review/prop-types.d.ts +5 -0
- package/es/template/app-review/prop-types.d.ts.map +1 -1
- package/es/template/app-review/template-context.d.ts +1 -1
- package/es/template/app-review/template-context.d.ts.map +1 -1
- package/es/template/app-review/template-context.js +2 -1
- package/es/template/app-review/template-context.js.map +1 -1
- package/es/template/common/discipline/index.d.ts +1 -0
- package/lib/atom/provider/index.d.ts +1 -0
- package/lib/atom/provider/index.d.ts.map +1 -1
- package/lib/atom/provider/index.js +10 -1
- package/lib/atom/provider/index.js.map +1 -1
- package/lib/atom/provider/web-context.d.ts +1 -1
- package/lib/atom/provider/web-context.d.ts.map +1 -1
- package/lib/atom/provider/web-context.js +3 -1
- package/lib/atom/provider/web-context.js.map +1 -1
- package/lib/atom/review-header-step-item/index.d.ts.map +1 -1
- package/lib/atom/review-header-step-item/index.js +25 -6
- package/lib/atom/review-header-step-item/index.js.map +1 -1
- package/lib/atom/review-presentation/index.js +2 -1
- package/lib/atom/review-presentation/index.js.map +1 -1
- package/lib/globals.d.js.map +1 -1
- package/lib/molecule/answer/prop-types.d.ts +2 -0
- package/lib/molecule/answer/prop-types.d.ts.map +1 -1
- package/lib/molecule/discipline-header/index.d.ts +1 -0
- package/lib/molecule/discipline-header/index.d.ts.map +1 -1
- package/lib/molecule/questions/types.d.ts +1 -0
- package/lib/molecule/questions/types.d.ts.map +1 -1
- package/lib/molecule/questions/types.js.map +1 -1
- package/lib/molecule/resource-player/index.d.ts +1 -0
- package/lib/molecule/resource-player/index.d.ts.map +1 -1
- package/lib/molecule/video-player/index.d.ts +1 -0
- package/lib/molecule/video-player/index.d.ts.map +1 -1
- package/lib/molecule/video-player/index.js +5 -2
- package/lib/molecule/video-player/index.js.map +1 -1
- package/lib/molecule/video-player/jwplayer.d.ts +1 -0
- package/lib/molecule/video-player/jwplayer.d.ts.map +1 -1
- package/lib/molecule/video-player/prop-types.d.ts +3 -0
- package/lib/molecule/video-player/prop-types.js +2 -0
- package/lib/molecule/video-player/prop-types.js.map +1 -1
- package/lib/organism/review-slide/prop-types.d.ts +2 -0
- package/lib/organism/review-slide/prop-types.d.ts.map +1 -1
- package/lib/organism/review-stacked-slides/prop-types.d.ts +5 -0
- package/lib/organism/review-stacked-slides/prop-types.d.ts.map +1 -1
- package/lib/template/app-player/player/slides/index.d.ts +2 -0
- package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
- package/lib/template/app-review/index.d.ts +5 -0
- package/lib/template/app-review/index.d.ts.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +5 -0
- package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/prop-types.d.ts +5 -0
- package/lib/template/app-review/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/template-context.d.ts +1 -1
- package/lib/template/app-review/template-context.d.ts.map +1 -1
- package/lib/template/app-review/template-context.js +3 -1
- package/lib/template/app-review/template-context.js.map +1 -1
- package/lib/template/common/discipline/index.d.ts +1 -0
- package/locales/en/global.json +5 -2
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":[],"sources":["../../../src/molecule/questions/types.ts"],"sourcesContent":["import {ChoiceItem} from '../../atom/select-modal/index.native';\n\ntype Url = string;\n\ntype VideoMimeType =\n | 'application/kontiki'\n | 'application/jwplayer'\n | 'application/youtube'\n | 'application/omniPlayer'\n | 'application/vimeo';\n\ntype ResourceMimeType =\n | 'video/mp4'\n | 'audio/acc'\n | 'image/jpeg'\n | 'image/png'\n | 'application/pdf'\n | VideoMimeType;\n\nexport type Source = {\n _id?: string;\n mimeType?: ResourceMimeType;\n url: Url;\n videoId?: string;\n};\n\nexport type MediaType = 'img' | 'audio' | 'video' | 'pdf';\n\nexport type Media = {\n type?: MediaType;\n description?: string;\n mimeType?: ResourceMimeType;\n _id?: string;\n mediaUrl?: Url;\n url?: Url;\n subtitles?: Array<string>;\n posters?: Array<Url>;\n src?: Array<Source>;\n poster?: string;\n videoId?: string;\n onClick?: () => void;\n onPlay?: () => void;\n onPause?: () => void;\n onResume?: () => void;\n onEnded?: () => void;\n};\n\nexport type QuestionType = 'qcm' | 'qcmGraphic' | 'slider' | 'qcmDrag' | 'basic' | 'template';\n\ntype ChoiceBase = {\n _id: string;\n value?: string;\n name?: string;\n label?: string;\n};\n\nexport type SelectableChoice = {\n _id: string;\n label: string;\n selected: boolean;\n onPress: (value?: string) => void;\n media?: Media;\n};\n\nexport type TemplateTextChoice = {\n type: 'text';\n _id: string;\n name: string;\n value: string;\n label: string;\n selected: boolean;\n};\n\nexport type TemplateListOfChoices = {\n type: 'select';\n _id: string;\n name: string;\n value: string;\n label: string;\n items: Array<ChoiceItem>;\n};\n\nexport type Choice = ChoiceBase | SelectableChoice | TemplateListOfChoices | TemplateTextChoice;\n"],"mappings":""}
|
|
1
|
+
{"version":3,"file":"types.js","names":[],"sources":["../../../src/molecule/questions/types.ts"],"sourcesContent":["import {ChoiceItem} from '../../atom/select-modal/index.native';\n\ntype Url = string;\n\ntype VideoMimeType =\n | 'application/kontiki'\n | 'application/jwplayer'\n | 'application/youtube'\n | 'application/omniPlayer'\n | 'application/vimeo';\n\ntype ResourceMimeType =\n | 'video/mp4'\n | 'audio/acc'\n | 'image/jpeg'\n | 'image/png'\n | 'application/pdf'\n | VideoMimeType;\n\nexport type Source = {\n _id?: string;\n mimeType?: ResourceMimeType;\n url: Url;\n videoId?: string;\n};\n\nexport type MediaType = 'img' | 'audio' | 'video' | 'pdf';\n\nexport type Media = {\n type?: MediaType;\n description?: string;\n loading?: boolean;\n mimeType?: ResourceMimeType;\n _id?: string;\n mediaUrl?: Url;\n url?: Url;\n subtitles?: Array<string>;\n posters?: Array<Url>;\n src?: Array<Source>;\n poster?: string;\n videoId?: string;\n onClick?: () => void;\n onPlay?: () => void;\n onPause?: () => void;\n onResume?: () => void;\n onEnded?: () => void;\n};\n\nexport type QuestionType = 'qcm' | 'qcmGraphic' | 'slider' | 'qcmDrag' | 'basic' | 'template';\n\ntype ChoiceBase = {\n _id: string;\n value?: string;\n name?: string;\n label?: string;\n};\n\nexport type SelectableChoice = {\n _id: string;\n label: string;\n selected: boolean;\n onPress: (value?: string) => void;\n media?: Media;\n};\n\nexport type TemplateTextChoice = {\n type: 'text';\n _id: string;\n name: string;\n value: string;\n label: string;\n selected: boolean;\n};\n\nexport type TemplateListOfChoices = {\n type: 'select';\n _id: string;\n name: string;\n value: string;\n label: string;\n items: Array<ChoiceItem>;\n};\n\nexport type Choice = ChoiceBase | SelectableChoice | TemplateListOfChoices | TemplateTextChoice;\n"],"mappings":""}
|
|
@@ -18,6 +18,7 @@ declare class ResourcePlayer extends React.Component<any, any, any> {
|
|
|
18
18
|
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
19
19
|
autoplay: PropTypes.Requireable<boolean>;
|
|
20
20
|
disableAutostart: PropTypes.Requireable<boolean>;
|
|
21
|
+
loading: PropTypes.Requireable<boolean>;
|
|
21
22
|
jwpOptions: PropTypes.Requireable<PropTypes.InferProps<{
|
|
22
23
|
file: PropTypes.Requireable<any>;
|
|
23
24
|
customProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/resource-player/index.js"],"names":[],"mappings":"AAWA,+BAAgC;AAChC,6BAA8B;AAC9B,iCAAkC;AAClC,iCAAkC;;AAgGlC;IACE
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/resource-player/index.js"],"names":[],"mappings":"AAWA,+BAAgC;AAChC,6BAA8B;AAC9B,iCAAkC;AAClC,iCAAkC;;AAgGlC;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQE;IAEF,sCAQC;IANC;;;MAGC;IAKH,sBAKC;IAED,sBA0BC;CACF"}
|
|
@@ -12,6 +12,7 @@ declare class VideoPlayer extends React.Component<any, any, any> {
|
|
|
12
12
|
onError: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
13
13
|
autoplay: import("prop-types").Requireable<boolean>;
|
|
14
14
|
disableAutostart: import("prop-types").Requireable<boolean>;
|
|
15
|
+
loading: import("prop-types").Requireable<boolean>;
|
|
15
16
|
jwpOptions: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
16
17
|
file: import("prop-types").Requireable<any>;
|
|
17
18
|
customProps: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/video-player/index.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/video-player/index.js"],"names":[],"mappings":";AAQA;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAA6B;IAE7B;;;aAOC;IAED,wBAMC;IAJC;;;MAGC;IAGH,+BASE;IAEF,4CAoDE;IAEF,sBAOC;CACF"}
|
|
@@ -5,6 +5,8 @@ exports.default = void 0;
|
|
|
5
5
|
|
|
6
6
|
var _react = _interopRequireDefault(require("react"));
|
|
7
7
|
|
|
8
|
+
var _loader = _interopRequireDefault(require("../../atom/loader"));
|
|
9
|
+
|
|
8
10
|
var _videoIframe = _interopRequireDefault(require("../video-iframe"));
|
|
9
11
|
|
|
10
12
|
var _jwplayer = _interopRequireDefault(require("./jwplayer"));
|
|
@@ -15,7 +17,7 @@ var _style = _interopRequireDefault(require("./style.css"));
|
|
|
15
17
|
|
|
16
18
|
var _propTypes = _interopRequireDefault(require("./prop-types"));
|
|
17
19
|
|
|
18
|
-
const _excluded = ["disableAutostart", "jwpOptions"];
|
|
20
|
+
const _excluded = ["loading", "disableAutostart", "jwpOptions"];
|
|
19
21
|
|
|
20
22
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21
23
|
|
|
@@ -99,12 +101,13 @@ class VideoPlayer extends _react.default.Component {
|
|
|
99
101
|
{
|
|
100
102
|
const _this$props = this.props,
|
|
101
103
|
{
|
|
104
|
+
loading = false,
|
|
102
105
|
disableAutostart,
|
|
103
106
|
jwpOptions
|
|
104
107
|
} = _this$props,
|
|
105
108
|
otherProps = _objectWithoutPropertiesLoose(_this$props, _excluded);
|
|
106
109
|
|
|
107
|
-
return /*#__PURE__*/_react.default.createElement(_jwplayer.default, _extends({}, otherProps, {
|
|
110
|
+
return loading ? /*#__PURE__*/_react.default.createElement(_loader.default, null) : /*#__PURE__*/_react.default.createElement(_jwplayer.default, _extends({}, otherProps, {
|
|
108
111
|
disableAutostart: disableAutostart,
|
|
109
112
|
jwpOptions: jwpOptions,
|
|
110
113
|
onPlay: this.handleOnPlay,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["VideoPlayer","React","Component","getDerivedStateFromProps","props","state","id","played","constructor","handleOnPlay","e","onResume","onPlay","setState","renderPlayer","mimeType","url","onPause","onEnded","width","height","style","wrapper","split","disableAutostart","jwpOptions","otherProps","render","propTypes"],"sources":["../../../src/molecule/video-player/index.js"],"sourcesContent":["import React from 'react';\nimport VideoIframe from '../video-iframe';\nimport JWPlayer from './jwplayer';\nimport Vimeo from './vimeo';\nimport style from './style.css';\nimport propTypes from './prop-types';\n\nclass VideoPlayer extends React.Component {\n static propTypes = propTypes;\n\n static getDerivedStateFromProps(props, state) {\n if (props.id === state.id) return null;\n\n return {\n id: props.id,\n played: false\n };\n }\n\n constructor(props) {\n super(props);\n this.state = {\n played: false,\n id: props.id\n };\n }\n\n handleOnPlay = e => {\n const {played} = this.state;\n const {onResume, onPlay} = this.props;\n if (played) {\n if (onResume) onResume(e);\n } else if (onPlay) onPlay(e);\n this.setState({\n played: true\n });\n };\n\n renderPlayer = () => {\n const {mimeType, id, url, onPause, onEnded, width = '100%', height = '343px'} = this.props;\n switch (mimeType) {\n case 'application/vimeo':\n return (\n <Vimeo\n {...this.props}\n key={id}\n width={width}\n height={height}\n video={id}\n className={style.wrapper}\n onPlay={this.handleOnPlay}\n />\n );\n case 'application/youtube':\n case 'application/uptale':\n case 'application/h5p':\n case 'application/omniPlayer':\n return (\n <VideoIframe\n key={id}\n type={mimeType.split('application/')[1]}\n id={id}\n url={url}\n width={width}\n height={height}\n frameBorder={0}\n allowFullScreen\n onPlay={this.handleOnPlay}\n onPause={onPause}\n onEnded={onEnded}\n />\n );\n case 'application/kontiki':\n case 'application/jwplayer':\n case 'video/mp4': {\n const {disableAutostart, jwpOptions, ...otherProps} = this.props;\n\n return (\n <JWPlayer\n {...otherProps}\n disableAutostart={disableAutostart}\n jwpOptions={jwpOptions}\n onPlay={this.handleOnPlay}\n key={id}\n />\n );\n }\n }\n };\n\n render() {\n const {id} = this.props;\n return (\n <div data-name=\"video-player\" className={style.wrapper} key={id}>\n {this.renderPlayer()}\n </div>\n );\n }\n}\n\nexport default VideoPlayer;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;AAEA,MAAMA,WAAN,SAA0BC,cAAA,CAAMC,SAAhC,CAA0C;EAGT,OAAxBC,wBAAwB,CAACC,KAAD,EAAQC,KAAR,EAAe;IAC5C,IAAID,KAAK,CAACE,EAAN,KAAaD,KAAK,CAACC,EAAvB,EAA2B,OAAO,IAAP;IAE3B,OAAO;MACLA,EAAE,EAAEF,KAAK,CAACE,EADL;MAELC,MAAM,EAAE;IAFH,CAAP;EAID;;EAEDC,WAAW,CAACJ,KAAD,EAAQ;IACjB,MAAMA,KAAN;;IADiB,KAQnBK,YARmB,GAQJC,CAAC,IAAI;MAClB,MAAM;QAACH;MAAD,IAAW,KAAKF,KAAtB;MACA,MAAM;QAACM,QA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component","getDerivedStateFromProps","props","state","id","played","constructor","handleOnPlay","e","onResume","onPlay","setState","renderPlayer","mimeType","url","onPause","onEnded","width","height","style","wrapper","split","loading","disableAutostart","jwpOptions","otherProps","render","propTypes"],"sources":["../../../src/molecule/video-player/index.js"],"sourcesContent":["import React from 'react';\nimport Loader from '../../atom/loader';\nimport VideoIframe from '../video-iframe';\nimport JWPlayer from './jwplayer';\nimport Vimeo from './vimeo';\nimport style from './style.css';\nimport propTypes from './prop-types';\n\nclass VideoPlayer extends React.Component {\n static propTypes = propTypes;\n\n static getDerivedStateFromProps(props, state) {\n if (props.id === state.id) return null;\n\n return {\n id: props.id,\n played: false\n };\n }\n\n constructor(props) {\n super(props);\n this.state = {\n played: false,\n id: props.id\n };\n }\n\n handleOnPlay = e => {\n const {played} = this.state;\n const {onResume, onPlay} = this.props;\n if (played) {\n if (onResume) onResume(e);\n } else if (onPlay) onPlay(e);\n this.setState({\n played: true\n });\n };\n\n renderPlayer = () => {\n const {mimeType, id, url, onPause, onEnded, width = '100%', height = '343px'} = this.props;\n switch (mimeType) {\n case 'application/vimeo':\n return (\n <Vimeo\n {...this.props}\n key={id}\n width={width}\n height={height}\n video={id}\n className={style.wrapper}\n onPlay={this.handleOnPlay}\n />\n );\n case 'application/youtube':\n case 'application/uptale':\n case 'application/h5p':\n case 'application/omniPlayer':\n return (\n <VideoIframe\n key={id}\n type={mimeType.split('application/')[1]}\n id={id}\n url={url}\n width={width}\n height={height}\n frameBorder={0}\n allowFullScreen\n onPlay={this.handleOnPlay}\n onPause={onPause}\n onEnded={onEnded}\n />\n );\n case 'application/kontiki':\n case 'application/jwplayer':\n case 'video/mp4': {\n const {loading = false, disableAutostart, jwpOptions, ...otherProps} = this.props;\n\n return loading ? (\n <Loader />\n ) : (\n <JWPlayer\n {...otherProps}\n disableAutostart={disableAutostart}\n jwpOptions={jwpOptions}\n onPlay={this.handleOnPlay}\n key={id}\n />\n );\n }\n }\n };\n\n render() {\n const {id} = this.props;\n return (\n <div data-name=\"video-player\" className={style.wrapper} key={id}>\n {this.renderPlayer()}\n </div>\n );\n }\n}\n\nexport default VideoPlayer;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;AAEA,MAAMA,WAAN,SAA0BC,cAAA,CAAMC,SAAhC,CAA0C;EAGT,OAAxBC,wBAAwB,CAACC,KAAD,EAAQC,KAAR,EAAe;IAC5C,IAAID,KAAK,CAACE,EAAN,KAAaD,KAAK,CAACC,EAAvB,EAA2B,OAAO,IAAP;IAE3B,OAAO;MACLA,EAAE,EAAEF,KAAK,CAACE,EADL;MAELC,MAAM,EAAE;IAFH,CAAP;EAID;;EAEDC,WAAW,CAACJ,KAAD,EAAQ;IACjB,MAAMA,KAAN;;IADiB,KAQnBK,YARmB,GAQJC,CAAC,IAAI;MAClB,MAAM;QAACH;MAAD,IAAW,KAAKF,KAAtB;MACA,MAAM;QAACM,QAAD;QAAWC;MAAX,IAAqB,KAAKR,KAAhC;;MACA,IAAIG,MAAJ,EAAY;QACV,IAAII,QAAJ,EAAcA,QAAQ,CAACD,CAAD,CAAR;MACf,CAFD,MAEO,IAAIE,MAAJ,EAAYA,MAAM,CAACF,CAAD,CAAN;;MACnB,KAAKG,QAAL,CAAc;QACZN,MAAM,EAAE;MADI,CAAd;IAGD,CAjBkB;;IAAA,KAmBnBO,YAnBmB,GAmBJ,MAAM;MACnB,MAAM;QAACC,QAAD;QAAWT,EAAX;QAAeU,GAAf;QAAoBC,OAApB;QAA6BC,OAA7B;QAAsCC,KAAK,GAAG,MAA9C;QAAsDC,MAAM,GAAG;MAA/D,IAA0E,KAAKhB,KAArF;;MACA,QAAQW,QAAR;QACE,KAAK,mBAAL;UACE,oBACE,6BAAC,cAAD,eACM,KAAKX,KADX;YAEE,GAAG,EAAEE,EAFP;YAGE,KAAK,EAAEa,KAHT;YAIE,MAAM,EAAEC,MAJV;YAKE,KAAK,EAAEd,EALT;YAME,SAAS,EAAEe,cAAA,CAAM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W"}
|
|
@@ -4,6 +4,7 @@ declare class JWPlayer extends React.Component<any, any, any> {
|
|
|
4
4
|
mimeType: import("prop-types").Requireable<string>;
|
|
5
5
|
scriptErrorMessage: import("prop-types").Requireable<string>;
|
|
6
6
|
disableAutostart: import("prop-types").Requireable<boolean>;
|
|
7
|
+
loading: import("prop-types").Requireable<boolean>;
|
|
7
8
|
jwpOptions: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
8
9
|
file: import("prop-types").Requireable<any>;
|
|
9
10
|
customProps: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jwplayer.d.ts","sourceRoot":"","sources":["../../../src/molecule/video-player/jwplayer.js"],"names":[],"mappings":";AAoBA;IACE
|
|
1
|
+
{"version":3,"file":"jwplayer.d.ts","sourceRoot":"","sources":["../../../src/molecule/video-player/jwplayer.js"],"names":[],"mappings":";AAoBA;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAqC;IAqBrC,iDAEC;IArBD,sCAiBC;IAdC;;MAEC;IAgCH,yBAGC;IAED,2BAGC;IAED,0BAGC;IAED,0BAGC;IA6BD,8BAyBC;IA7CD,mCAGC;IAVD,qCAKC;IAOD,0CAGC;IAED,4CAGC;IAED,gCAGC;IA3DD,yCAYC;IA4ED,sBAoCC;CACF"}
|
|
@@ -2,6 +2,7 @@ export namespace JWPlayerPropTypes {
|
|
|
2
2
|
const mimeType: PropTypes.Requireable<string>;
|
|
3
3
|
const scriptErrorMessage: PropTypes.Requireable<string>;
|
|
4
4
|
const disableAutostart: PropTypes.Requireable<boolean>;
|
|
5
|
+
const loading: PropTypes.Requireable<boolean>;
|
|
5
6
|
const jwpOptions: PropTypes.Requireable<PropTypes.InferProps<{
|
|
6
7
|
file: PropTypes.Requireable<any>;
|
|
7
8
|
customProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -50,6 +51,8 @@ declare namespace _default {
|
|
|
50
51
|
export const autoplay: PropTypes.Requireable<boolean>;
|
|
51
52
|
const disableAutostart_1: PropTypes.Requireable<boolean>;
|
|
52
53
|
export { disableAutostart_1 as disableAutostart };
|
|
54
|
+
const loading_1: PropTypes.Requireable<boolean>;
|
|
55
|
+
export { loading_1 as loading };
|
|
53
56
|
import jwpOptions_1 = JWPlayerPropTypes.jwpOptions;
|
|
54
57
|
export { jwpOptions_1 as jwpOptions };
|
|
55
58
|
const mimeType_1: PropTypes.Validator<string>;
|
|
@@ -13,6 +13,7 @@ const JWPlayerPropTypes = {
|
|
|
13
13
|
mimeType: _propTypes.default.string,
|
|
14
14
|
scriptErrorMessage: _propTypes.default.string,
|
|
15
15
|
disableAutostart: _propTypes.default.bool,
|
|
16
|
+
loading: _propTypes.default.bool,
|
|
16
17
|
// https://developer.jwplayer.com/jwplayer/docs/jw8-player-configuration-reference
|
|
17
18
|
jwpOptions: _propTypes.default.shape({
|
|
18
19
|
file: _proptypes.SrcPropType,
|
|
@@ -57,6 +58,7 @@ var _default = {
|
|
|
57
58
|
onError: _propTypes.default.func,
|
|
58
59
|
autoplay: _propTypes.default.bool,
|
|
59
60
|
disableAutostart: _propTypes.default.bool,
|
|
61
|
+
loading: _propTypes.default.bool,
|
|
60
62
|
jwpOptions: JWPlayerPropTypes.jwpOptions,
|
|
61
63
|
mimeType: _propTypes.default.oneOf(['application/kontiki', 'application/uptale', 'application/vimeo', 'application/youtube', 'application/jwplayer', 'application/omniPlayer', 'application/h5p', 'video/mp4']).isRequired
|
|
62
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prop-types.js","names":["JWPlayerPropTypes","mimeType","PropTypes","string","scriptErrorMessage","disableAutostart","bool","jwpOptions","shape","file","SrcPropType","customProps","aspectratio","tracks","arrayOf","label","kind","default","autostart","oneOf","width","skin","name","licenseKey","isRequired","playerScript","playerId","onPlay","func","onResume","onPause","onEnded","onError","onPlayAttemptFailed","onAutostartNotAllowed","onSetupError","onWarning","id","height","url","autoplay"],"sources":["../../../src/molecule/video-player/prop-types.js"],"sourcesContent":["import PropTypes from 'prop-types';\nimport {SrcPropType} from '../../util/proptypes';\n\nexport const JWPlayerPropTypes = {\n mimeType: PropTypes.string,\n scriptErrorMessage: PropTypes.string,\n disableAutostart: PropTypes.bool,\n // https://developer.jwplayer.com/jwplayer/docs/jw8-player-configuration-reference\n jwpOptions: PropTypes.shape({\n file: SrcPropType,\n customProps: PropTypes.shape({\n aspectratio: PropTypes.string,\n tracks: PropTypes.arrayOf(\n PropTypes.shape({\n file: SrcPropType,\n label: PropTypes.string,\n kind: PropTypes.string,\n default: PropTypes.bool\n })\n ),\n autostart: PropTypes.oneOf(['true', 'viewable', 'false']),\n width: PropTypes.string,\n skin: PropTypes.shape({\n name: PropTypes.string\n })\n }),\n licenseKey: PropTypes.string.isRequired,\n playerScript: SrcPropType.isRequired,\n playerId: PropTypes.string.isRequired\n }),\n onPlay: PropTypes.func,\n onResume: PropTypes.func,\n onPause: PropTypes.func,\n onEnded: PropTypes.func,\n onError: PropTypes.func,\n onPlayAttemptFailed: PropTypes.func,\n onAutostartNotAllowed: PropTypes.func,\n onSetupError: PropTypes.func,\n onWarning: PropTypes.func\n};\n\nexport default {\n id: PropTypes.string,\n width: PropTypes.string,\n height: PropTypes.string,\n url: SrcPropType,\n onPlay: PropTypes.func,\n onResume: PropTypes.func,\n onPause: PropTypes.func,\n onEnded: PropTypes.func,\n onError: PropTypes.func,\n autoplay: PropTypes.bool,\n disableAutostart: PropTypes.bool,\n jwpOptions: JWPlayerPropTypes.jwpOptions,\n mimeType: PropTypes.oneOf([\n 'application/kontiki',\n 'application/uptale',\n 'application/vimeo',\n 'application/youtube',\n 'application/jwplayer',\n 'application/omniPlayer',\n 'application/h5p',\n 'video/mp4'\n ]).isRequired\n};\n"],"mappings":";;;;;AAAA;;AACA;;;;AAEO,MAAMA,iBAAiB,GAAG;EAC/BC,QAAQ,EAAEC,kBAAA,CAAUC,MADW;EAE/BC,kBAAkB,EAAEF,kBAAA,CAAUC,MAFC;EAG/BE,gBAAgB,EAAEH,kBAAA,CAAUI,IAHG;EAI/B;
|
|
1
|
+
{"version":3,"file":"prop-types.js","names":["JWPlayerPropTypes","mimeType","PropTypes","string","scriptErrorMessage","disableAutostart","bool","loading","jwpOptions","shape","file","SrcPropType","customProps","aspectratio","tracks","arrayOf","label","kind","default","autostart","oneOf","width","skin","name","licenseKey","isRequired","playerScript","playerId","onPlay","func","onResume","onPause","onEnded","onError","onPlayAttemptFailed","onAutostartNotAllowed","onSetupError","onWarning","id","height","url","autoplay"],"sources":["../../../src/molecule/video-player/prop-types.js"],"sourcesContent":["import PropTypes from 'prop-types';\nimport {SrcPropType} from '../../util/proptypes';\n\nexport const JWPlayerPropTypes = {\n mimeType: PropTypes.string,\n scriptErrorMessage: PropTypes.string,\n disableAutostart: PropTypes.bool,\n loading: PropTypes.bool,\n // https://developer.jwplayer.com/jwplayer/docs/jw8-player-configuration-reference\n jwpOptions: PropTypes.shape({\n file: SrcPropType,\n customProps: PropTypes.shape({\n aspectratio: PropTypes.string,\n tracks: PropTypes.arrayOf(\n PropTypes.shape({\n file: SrcPropType,\n label: PropTypes.string,\n kind: PropTypes.string,\n default: PropTypes.bool\n })\n ),\n autostart: PropTypes.oneOf(['true', 'viewable', 'false']),\n width: PropTypes.string,\n skin: PropTypes.shape({\n name: PropTypes.string\n })\n }),\n licenseKey: PropTypes.string.isRequired,\n playerScript: SrcPropType.isRequired,\n playerId: PropTypes.string.isRequired\n }),\n onPlay: PropTypes.func,\n onResume: PropTypes.func,\n onPause: PropTypes.func,\n onEnded: PropTypes.func,\n onError: PropTypes.func,\n onPlayAttemptFailed: PropTypes.func,\n onAutostartNotAllowed: PropTypes.func,\n onSetupError: PropTypes.func,\n onWarning: PropTypes.func\n};\n\nexport default {\n id: PropTypes.string,\n width: PropTypes.string,\n height: PropTypes.string,\n url: SrcPropType,\n onPlay: PropTypes.func,\n onResume: PropTypes.func,\n onPause: PropTypes.func,\n onEnded: PropTypes.func,\n onError: PropTypes.func,\n autoplay: PropTypes.bool,\n disableAutostart: PropTypes.bool,\n loading: PropTypes.bool,\n jwpOptions: JWPlayerPropTypes.jwpOptions,\n mimeType: PropTypes.oneOf([\n 'application/kontiki',\n 'application/uptale',\n 'application/vimeo',\n 'application/youtube',\n 'application/jwplayer',\n 'application/omniPlayer',\n 'application/h5p',\n 'video/mp4'\n ]).isRequired\n};\n"],"mappings":";;;;;AAAA;;AACA;;;;AAEO,MAAMA,iBAAiB,GAAG;EAC/BC,QAAQ,EAAEC,kBAAA,CAAUC,MADW;EAE/BC,kBAAkB,EAAEF,kBAAA,CAAUC,MAFC;EAG/BE,gBAAgB,EAAEH,kBAAA,CAAUI,IAHG;EAI/BC,OAAO,EAAEL,kBAAA,CAAUI,IAJY;EAK/B;EACAE,UAAU,EAAEN,kBAAA,CAAUO,KAAV,CAAgB;IAC1BC,IAAI,EAAEC,sBADoB;IAE1BC,WAAW,EAAEV,kBAAA,CAAUO,KAAV,CAAgB;MAC3BI,WAAW,EAAEX,kBAAA,CAAUC,MADI;MAE3BW,MAAM,EAAEZ,kBAAA,CAAUa,OAAV,CACNb,kBAAA,CAAUO,KAAV,CAAgB;QACdC,IAAI,EAAEC,sBADQ;QAEdK,KAAK,EAAEd,kBAAA,CAAUC,MAFH;QAGdc,IAAI,EAAEf,kBAAA,CAAUC,MAHF;QAIde,OAAO,EAAEhB,kBAAA,CAAUI;MAJL,CAAhB,CADM,CAFmB;MAU3Ba,SAAS,EAAEjB,kBAAA,CAAUkB,KAAV,CAAgB,CAAC,MAAD,EAAS,UAAT,EAAqB,OAArB,CAAhB,CAVgB;MAW3BC,KAAK,EAAEnB,kBAAA,CAAUC,MAXU;MAY3BmB,IAAI,EAAEpB,kBAAA,CAAUO,KAAV,CAAgB;QACpBc,IAAI,EAAErB,kBAAA,CAAUC;MADI,CAAhB;IAZqB,CAAhB,CAFa;IAkB1BqB,UAAU,EAAEtB,kBAAA,CAAUC,MAAV,CAAiBsB,UAlB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B,wBANwB,EAOxB,iBAPwB,EAQxB,WARwB,CAAhB,EASPK;AAvBU,C"}
|
|
@@ -48,6 +48,7 @@ export declare const SlidePropsTypes: PropTypes.Requireable<PropTypes.InferProps
|
|
|
48
48
|
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
49
49
|
autoplay: PropTypes.Requireable<boolean>;
|
|
50
50
|
disableAutostart: PropTypes.Requireable<boolean>;
|
|
51
|
+
loading: PropTypes.Requireable<boolean>;
|
|
51
52
|
jwpOptions: PropTypes.Requireable<PropTypes.InferProps<{
|
|
52
53
|
file: PropTypes.Requireable<any>;
|
|
53
54
|
customProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -125,6 +126,7 @@ declare const propTypes: {
|
|
|
125
126
|
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
126
127
|
autoplay: PropTypes.Requireable<boolean>;
|
|
127
128
|
disableAutostart: PropTypes.Requireable<boolean>;
|
|
129
|
+
loading: PropTypes.Requireable<boolean>;
|
|
128
130
|
jwpOptions: PropTypes.Requireable<PropTypes.InferProps<{
|
|
129
131
|
file: PropTypes.Requireable<any>;
|
|
130
132
|
customProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/organism/review-slide/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,sCAAsC,CAAC;AACpE,OAAuC,EACrC,0BAA0B,EAC3B,MAAM,mDAAmD,CAAC;AAC3D,OAAwB,EAAC,WAAW,EAAC,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EAAC,qBAAqB,EAAC,MAAM,4CAA4C,CAAC;AAEjF,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/organism/review-slide/prop-types.ts"],"names":[],"mappings":"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;IAC5B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,WAAW,CAAC;CACxB,CAAC;AAEF,oBAAY,gBAAgB,GAAG;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,UAAU,CAAC;IAClB,oBAAoB,CAAC,EAAE,0BAA0B,CAAC;IAClD,cAAc,EAAE;QACd,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,IAAI,CAAC;QACpB,QAAQ,EAAE,OAAO,CAAC;KACnB,CAAC;IACF,aAAa,CAAC,EAAE,SAAS,CAAC,eAAe,CAAC,EAAE,CAAC;CAC9C,CAAC;AAEF,oBAAY,OAAO,GAAG;IAAC,KAAK,EAAE,gBAAgB,CAAC;IAAC,aAAa,CAAC,EAAE,qBAAqB,CAAA;CAAC,CAAC"}
|
|
@@ -69,6 +69,7 @@ declare const propTypes: {
|
|
|
69
69
|
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
70
70
|
autoplay: PropTypes.Requireable<boolean>;
|
|
71
71
|
disableAutostart: PropTypes.Requireable<boolean>;
|
|
72
|
+
loading: PropTypes.Requireable<boolean>;
|
|
72
73
|
jwpOptions: PropTypes.Requireable<PropTypes.InferProps<{
|
|
73
74
|
file: PropTypes.Requireable<any>;
|
|
74
75
|
customProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -144,6 +145,7 @@ declare const propTypes: {
|
|
|
144
145
|
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
145
146
|
autoplay: PropTypes.Requireable<boolean>;
|
|
146
147
|
disableAutostart: PropTypes.Requireable<boolean>;
|
|
148
|
+
loading: PropTypes.Requireable<boolean>;
|
|
147
149
|
jwpOptions: PropTypes.Requireable<PropTypes.InferProps<{
|
|
148
150
|
file: PropTypes.Requireable<any>;
|
|
149
151
|
customProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -219,6 +221,7 @@ declare const propTypes: {
|
|
|
219
221
|
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
220
222
|
autoplay: PropTypes.Requireable<boolean>;
|
|
221
223
|
disableAutostart: PropTypes.Requireable<boolean>;
|
|
224
|
+
loading: PropTypes.Requireable<boolean>;
|
|
222
225
|
jwpOptions: PropTypes.Requireable<PropTypes.InferProps<{
|
|
223
226
|
file: PropTypes.Requireable<any>;
|
|
224
227
|
customProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -294,6 +297,7 @@ declare const propTypes: {
|
|
|
294
297
|
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
295
298
|
autoplay: PropTypes.Requireable<boolean>;
|
|
296
299
|
disableAutostart: PropTypes.Requireable<boolean>;
|
|
300
|
+
loading: PropTypes.Requireable<boolean>;
|
|
297
301
|
jwpOptions: PropTypes.Requireable<PropTypes.InferProps<{
|
|
298
302
|
file: PropTypes.Requireable<any>;
|
|
299
303
|
customProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -369,6 +373,7 @@ declare const propTypes: {
|
|
|
369
373
|
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
370
374
|
autoplay: PropTypes.Requireable<boolean>;
|
|
371
375
|
disableAutostart: PropTypes.Requireable<boolean>;
|
|
376
|
+
loading: PropTypes.Requireable<boolean>;
|
|
372
377
|
jwpOptions: PropTypes.Requireable<PropTypes.InferProps<{
|
|
373
378
|
file: PropTypes.Requireable<any>;
|
|
374
379
|
customProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/organism/review-stacked-slides/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAC,0BAA0B,EAAC,MAAM,mDAAmD,CAAC;AAE7F,OAA6B,EAC3B,gBAAgB,EAChB,UAAU,EAEX,MAAM,4BAA4B,CAAC;AAEpC,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/organism/review-stacked-slides/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAC,0BAA0B,EAAC,MAAM,mDAAmD,CAAC;AAE7F,OAA6B,EAC3B,gBAAgB,EAChB,UAAU,EAEX,MAAM,4BAA4B,CAAC;AAEpC,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,gBAAgB,GAAG;IAC7B,cAAc,EAAE,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;IACnD,oBAAoB,CAAC,EAAE,0BAA0B,CAAC;IAClD,MAAM,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAA;KAAC,CAAC;IACpC,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC"}
|
|
@@ -201,6 +201,7 @@ declare namespace AnswerContent {
|
|
|
201
201
|
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
202
202
|
autoplay: PropTypes.Requireable<boolean>;
|
|
203
203
|
disableAutostart: PropTypes.Requireable<boolean>;
|
|
204
|
+
loading: PropTypes.Requireable<boolean>;
|
|
204
205
|
jwpOptions: PropTypes.Requireable<PropTypes.InferProps<{
|
|
205
206
|
file: PropTypes.Requireable<any>;
|
|
206
207
|
customProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -278,6 +279,7 @@ declare namespace ContextContent {
|
|
|
278
279
|
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
279
280
|
autoplay: PropTypes.Requireable<boolean>;
|
|
280
281
|
disableAutostart: PropTypes.Requireable<boolean>;
|
|
282
|
+
loading: PropTypes.Requireable<boolean>;
|
|
281
283
|
jwpOptions: PropTypes.Requireable<PropTypes.InferProps<{
|
|
282
284
|
file: PropTypes.Requireable<any>;
|
|
283
285
|
customProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -1 +1 @@
|
|
|
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
|
|
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"}
|
|
@@ -86,6 +86,7 @@ declare const AppReview: {
|
|
|
86
86
|
onError: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
87
87
|
autoplay: import("prop-types").Requireable<boolean>;
|
|
88
88
|
disableAutostart: import("prop-types").Requireable<boolean>;
|
|
89
|
+
loading: import("prop-types").Requireable<boolean>;
|
|
89
90
|
jwpOptions: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
90
91
|
file: import("prop-types").Requireable<any>;
|
|
91
92
|
customProps: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
@@ -161,6 +162,7 @@ declare const AppReview: {
|
|
|
161
162
|
onError: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
162
163
|
autoplay: import("prop-types").Requireable<boolean>;
|
|
163
164
|
disableAutostart: import("prop-types").Requireable<boolean>;
|
|
165
|
+
loading: import("prop-types").Requireable<boolean>;
|
|
164
166
|
jwpOptions: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
165
167
|
file: import("prop-types").Requireable<any>;
|
|
166
168
|
customProps: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
@@ -236,6 +238,7 @@ declare const AppReview: {
|
|
|
236
238
|
onError: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
237
239
|
autoplay: import("prop-types").Requireable<boolean>;
|
|
238
240
|
disableAutostart: import("prop-types").Requireable<boolean>;
|
|
241
|
+
loading: import("prop-types").Requireable<boolean>;
|
|
239
242
|
jwpOptions: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
240
243
|
file: import("prop-types").Requireable<any>;
|
|
241
244
|
customProps: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
@@ -311,6 +314,7 @@ declare const AppReview: {
|
|
|
311
314
|
onError: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
312
315
|
autoplay: import("prop-types").Requireable<boolean>;
|
|
313
316
|
disableAutostart: import("prop-types").Requireable<boolean>;
|
|
317
|
+
loading: import("prop-types").Requireable<boolean>;
|
|
314
318
|
jwpOptions: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
315
319
|
file: import("prop-types").Requireable<any>;
|
|
316
320
|
customProps: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
@@ -386,6 +390,7 @@ declare const AppReview: {
|
|
|
386
390
|
onError: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
387
391
|
autoplay: import("prop-types").Requireable<boolean>;
|
|
388
392
|
disableAutostart: import("prop-types").Requireable<boolean>;
|
|
393
|
+
loading: import("prop-types").Requireable<boolean>;
|
|
389
394
|
jwpOptions: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
390
395
|
file: import("prop-types").Requireable<any>;
|
|
391
396
|
customProps: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
@@ -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"}
|
|
@@ -85,6 +85,7 @@ declare const propTypes: {
|
|
|
85
85
|
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
86
86
|
autoplay: PropTypes.Requireable<boolean>;
|
|
87
87
|
disableAutostart: PropTypes.Requireable<boolean>;
|
|
88
|
+
loading: PropTypes.Requireable<boolean>;
|
|
88
89
|
jwpOptions: PropTypes.Requireable<PropTypes.InferProps<{
|
|
89
90
|
file: PropTypes.Requireable<any>;
|
|
90
91
|
customProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -160,6 +161,7 @@ declare const propTypes: {
|
|
|
160
161
|
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
161
162
|
autoplay: PropTypes.Requireable<boolean>;
|
|
162
163
|
disableAutostart: PropTypes.Requireable<boolean>;
|
|
164
|
+
loading: PropTypes.Requireable<boolean>;
|
|
163
165
|
jwpOptions: PropTypes.Requireable<PropTypes.InferProps<{
|
|
164
166
|
file: PropTypes.Requireable<any>;
|
|
165
167
|
customProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -235,6 +237,7 @@ declare const propTypes: {
|
|
|
235
237
|
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
236
238
|
autoplay: PropTypes.Requireable<boolean>;
|
|
237
239
|
disableAutostart: PropTypes.Requireable<boolean>;
|
|
240
|
+
loading: PropTypes.Requireable<boolean>;
|
|
238
241
|
jwpOptions: PropTypes.Requireable<PropTypes.InferProps<{
|
|
239
242
|
file: PropTypes.Requireable<any>;
|
|
240
243
|
customProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -310,6 +313,7 @@ declare const propTypes: {
|
|
|
310
313
|
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
311
314
|
autoplay: PropTypes.Requireable<boolean>;
|
|
312
315
|
disableAutostart: PropTypes.Requireable<boolean>;
|
|
316
|
+
loading: PropTypes.Requireable<boolean>;
|
|
313
317
|
jwpOptions: PropTypes.Requireable<PropTypes.InferProps<{
|
|
314
318
|
file: PropTypes.Requireable<any>;
|
|
315
319
|
customProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -385,6 +389,7 @@ declare const propTypes: {
|
|
|
385
389
|
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
386
390
|
autoplay: PropTypes.Requireable<boolean>;
|
|
387
391
|
disableAutostart: PropTypes.Requireable<boolean>;
|
|
392
|
+
loading: PropTypes.Requireable<boolean>;
|
|
388
393
|
jwpOptions: PropTypes.Requireable<PropTypes.InferProps<{
|
|
389
394
|
file: PropTypes.Requireable<any>;
|
|
390
395
|
customProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -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;AAEnC,OAAO,EAAC,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAC9D,OAAgC,EAC9B,mBAAmB,EACpB,MAAM,8CAA8C,CAAC;AAGtD,OAA8B,EAAC,WAAW,EAAC,MAAM,uCAAuC,CAAC;AAEzF,OAA+B,EAC7B,gBAAgB,EACjB,MAAM,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AAM,CAAC;IACnC,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B,SAAS,CAAC,EAAE,YAAY,CAAC;CAC1B,CAAC"}
|
|
@@ -90,6 +90,7 @@ declare const propTypes: {
|
|
|
90
90
|
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
91
91
|
autoplay: PropTypes.Requireable<boolean>;
|
|
92
92
|
disableAutostart: PropTypes.Requireable<boolean>;
|
|
93
|
+
loading: PropTypes.Requireable<boolean>;
|
|
93
94
|
jwpOptions: PropTypes.Requireable<PropTypes.InferProps<{
|
|
94
95
|
file: PropTypes.Requireable<any>;
|
|
95
96
|
customProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -165,6 +166,7 @@ declare const propTypes: {
|
|
|
165
166
|
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
166
167
|
autoplay: PropTypes.Requireable<boolean>;
|
|
167
168
|
disableAutostart: PropTypes.Requireable<boolean>;
|
|
169
|
+
loading: PropTypes.Requireable<boolean>;
|
|
168
170
|
jwpOptions: PropTypes.Requireable<PropTypes.InferProps<{
|
|
169
171
|
file: PropTypes.Requireable<any>;
|
|
170
172
|
customProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -240,6 +242,7 @@ declare const propTypes: {
|
|
|
240
242
|
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
241
243
|
autoplay: PropTypes.Requireable<boolean>;
|
|
242
244
|
disableAutostart: PropTypes.Requireable<boolean>;
|
|
245
|
+
loading: PropTypes.Requireable<boolean>;
|
|
243
246
|
jwpOptions: PropTypes.Requireable<PropTypes.InferProps<{
|
|
244
247
|
file: PropTypes.Requireable<any>;
|
|
245
248
|
customProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -315,6 +318,7 @@ declare const propTypes: {
|
|
|
315
318
|
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
316
319
|
autoplay: PropTypes.Requireable<boolean>;
|
|
317
320
|
disableAutostart: PropTypes.Requireable<boolean>;
|
|
321
|
+
loading: PropTypes.Requireable<boolean>;
|
|
318
322
|
jwpOptions: PropTypes.Requireable<PropTypes.InferProps<{
|
|
319
323
|
file: PropTypes.Requireable<any>;
|
|
320
324
|
customProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -390,6 +394,7 @@ declare const propTypes: {
|
|
|
390
394
|
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
391
395
|
autoplay: PropTypes.Requireable<boolean>;
|
|
392
396
|
disableAutostart: PropTypes.Requireable<boolean>;
|
|
397
|
+
loading: PropTypes.Requireable<boolean>;
|
|
393
398
|
jwpOptions: PropTypes.Requireable<PropTypes.InferProps<{
|
|
394
399
|
file: PropTypes.Requireable<any>;
|
|
395
400
|
customProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -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"}
|
|
@@ -22,7 +22,7 @@ export declare type TemplateContextValues = {
|
|
|
22
22
|
handleBlur?: HandleBlur;
|
|
23
23
|
handleFocus?: HandleFocus;
|
|
24
24
|
};
|
|
25
|
-
translate: (
|
|
25
|
+
translate: (key: string, data?: Record<string, string>) => string;
|
|
26
26
|
};
|
|
27
27
|
declare type Props = {
|
|
28
28
|
values: TemplateContextValues;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-context.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/template-context.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAgB,SAAS,EAAa,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"template-context.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/template-context.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAgB,SAAS,EAAa,MAAM,OAAO,CAAC;AAElE,OAAO,EAAC,SAAS,EAAC,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAC,KAAK,EAAoB,MAAM,8BAA8B,CAAC;AACtE,OAAqB,EAAC,KAAK,EAAC,MAAM,8BAA8B,CAAC;AACjE,OAAkC,EAAC,YAAY,EAAC,MAAM,6CAA6C,CAAC;AACpG,OAAO,EAAC,SAAS,EAAC,MAAM,2BAA2B,CAAC;AAEpD,oBAAY,UAAU,GAAG,MAAM,IAAI,CAAC;AACpC,oBAAY,WAAW,GAAG,CAAC,EAAE,EAAE,MAAM,KAAK,MAAM,IAAI,CAAC;AACrD,oBAAY,eAAe,GAAG,MAAM,GAAG,IAAI,CAAC;AAE5C,oBAAY,qBAAqB,GAAG;IAClC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,UAAU,EAAE,KAAK,CAAC;IAClB,KAAK,EAAE,KAAK,CAAC;IACb,YAAY,EAAE,YAAY,CAAC;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,EAAE;QACP,YAAY,EAAE,MAAM,CAAC;QACrB,eAAe,EAAE,MAAM,CAAC;KACzB,CAAC;IACF,KAAK,EAAE;QACL,eAAe,CAAC,EAAE,eAAe,CAAC;QAClC,UAAU,CAAC,EAAE,UAAU,CAAC;QACxB,WAAW,CAAC,EAAE,WAAW,CAAC;KAC3B,CAAC;IACF,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,MAAM,CAAC;CACnE,CAAC;AAEF,aAAK,KAAK,GAAG;IAAC,MAAM,EAAE,qBAAqB,CAAC;IAAC,QAAQ,EAAE,SAAS,CAAA;CAAC,CAAC;AAclE,QAAA,MAAM,kBAAkB,QAAO,qBAU9B,CAAC;AAEF,QAAA,MAAM,eAAe,yBAAwB,KAAK,gBAEjD,CAAC;AAEF,OAAO,EAAC,eAAe,EAAE,kBAAkB,EAAC,CAAC"}
|
|
@@ -5,6 +5,8 @@ exports.useTemplateContext = exports.TemplateContext = void 0;
|
|
|
5
5
|
|
|
6
6
|
var _react = _interopRequireWildcard(require("react"));
|
|
7
7
|
|
|
8
|
+
var _translate = require("@coorpacademy/translate");
|
|
9
|
+
|
|
8
10
|
var _brand = require("../../variables/brand.native");
|
|
9
11
|
|
|
10
12
|
var _theme = _interopRequireDefault(require("../../variables/theme.native"));
|
|
@@ -26,7 +28,7 @@ const Context = /*#__PURE__*/(0, _react.createContext)({
|
|
|
26
28
|
statusBarHeight: 42
|
|
27
29
|
},
|
|
28
30
|
store: {},
|
|
29
|
-
translate:
|
|
31
|
+
translate: _translate.mockTranslate
|
|
30
32
|
});
|
|
31
33
|
|
|
32
34
|
const useTemplateContext = () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-context.js","names":["Context","createContext","theme","defaultTheme","brandTheme","defaultBrandTheme","translations","defaultMobileTranslations","display","headerHeight","statusBarHeight","store","translate","
|
|
1
|
+
{"version":3,"file":"template-context.js","names":["Context","createContext","theme","defaultTheme","brandTheme","defaultBrandTheme","translations","defaultMobileTranslations","display","headerHeight","statusBarHeight","store","translate","mockTranslate","useTemplateContext","context","useContext","Error","TemplateContext","values","children"],"sources":["../../../src/template/app-review/template-context.tsx"],"sourcesContent":["import React, {createContext, ReactNode, useContext} from 'react';\nimport {mockTranslate} from '@coorpacademy/translate';\nimport {Analytics} from '../../variables/analytics';\nimport {Brand, defaultBrandTheme} from '../../variables/brand.native';\nimport defaultTheme, {Theme} from '../../variables/theme.native';\nimport defaultMobileTranslations, {Translations} from '../../variables/default-mobile-translations';\nimport {Vibration} from '../../variables/vibration';\n\nexport type HandleBlur = () => void;\nexport type HandleFocus = (id: string) => () => void;\nexport type FocusedSelectId = string | null;\n\nexport type TemplateContextValues = {\n analytics?: Analytics;\n brandTheme: Brand;\n theme: Theme;\n translations: Translations;\n vibration?: Vibration;\n display: {\n headerHeight: number;\n statusBarHeight: number;\n };\n store: {\n focusedSelectId?: FocusedSelectId;\n handleBlur?: HandleBlur;\n handleFocus?: HandleFocus;\n };\n translate: (key: string, data?: Record<string, string>) => string;\n};\n\ntype Props = {values: TemplateContextValues; children: ReactNode};\n\nconst Context = createContext({\n theme: defaultTheme,\n brandTheme: defaultBrandTheme,\n translations: defaultMobileTranslations,\n display: {\n headerHeight: 67,\n statusBarHeight: 42\n },\n store: {},\n translate: mockTranslate\n});\n\nconst useTemplateContext = (): TemplateContextValues => {\n const context = useContext(Context);\n\n if (!context) {\n throw new Error(\n `❌ [TemplateContext] useTemplateContext must be used within a provider <TemplateContext>`\n );\n }\n\n return context;\n};\n\nconst TemplateContext = ({values, children}: Props) => {\n return <Context.Provider value={values}>{children}</Context.Provider>;\n};\n\nexport {TemplateContext, useTemplateContext};\n"],"mappings":";;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;;;;;;;AA2BA,MAAMA,OAAO,gBAAG,IAAAC,oBAAA,EAAc;EAC5BC,KAAK,EAAEC,cADqB;EAE5BC,UAAU,EAAEC,wBAFgB;EAG5BC,YAAY,EAAEC,kCAHc;EAI5BC,OAAO,EAAE;IACPC,YAAY,EAAE,EADP;IAEPC,eAAe,EAAE;EAFV,CAJmB;EAQ5BC,KAAK,EAAE,EARqB;EAS5BC,SAAS,EAAEC;AATiB,CAAd,CAAhB;;AAYA,MAAMC,kBAAkB,GAAG,MAA6B;EACtD,MAAMC,OAAO,GAAG,IAAAC,iBAAA,EAAWhB,OAAX,CAAhB;;EAEA,IAAI,CAACe,OAAL,EAAc;IACZ,MAAM,IAAIE,KAAJ,CACH,yFADG,CAAN;EAGD;;EAED,OAAOF,OAAP;AACD,CAVD;;;;AAYA,MAAMG,eAAe,GAAG,CAAC;EAACC,MAAD;EAASC;AAAT,CAAD,KAA+B;EACrD,oBAAO,6BAAC,OAAD,CAAS,QAAT;IAAkB,KAAK,EAAED;EAAzB,GAAkCC,QAAlC,CAAP;AACD,CAFD"}
|
|
@@ -15,6 +15,7 @@ declare namespace Discipline {
|
|
|
15
15
|
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
16
16
|
autoplay: PropTypes.Requireable<boolean>;
|
|
17
17
|
disableAutostart: PropTypes.Requireable<boolean>;
|
|
18
|
+
loading: PropTypes.Requireable<boolean>;
|
|
18
19
|
jwpOptions: PropTypes.Requireable<PropTypes.InferProps<{
|
|
19
20
|
file: PropTypes.Requireable<any>;
|
|
20
21
|
customProps: PropTypes.Requireable<PropTypes.InferProps<{
|
package/locales/en/global.json
CHANGED
|
@@ -79,7 +79,10 @@
|
|
|
79
79
|
"mandatory_fields": "*Mandatory fields",
|
|
80
80
|
"something_went_wrong": "Oh Snap! Something went wrong.",
|
|
81
81
|
"review_header_step_item": {
|
|
82
|
-
"aria_label": "Question
|
|
83
|
-
"
|
|
82
|
+
"aria_label": "Question {{headerStepValue}}",
|
|
83
|
+
"current_question": "Question {{headerStepValue}} is the current question",
|
|
84
|
+
"correct_question": "Question {{headerStepValue}} is correct",
|
|
85
|
+
"incorrect_question": "Question {{headerStepValue}} is incorrect",
|
|
86
|
+
"not_answered_question": "Question {{headerStepValue}} is not answered yet"
|
|
84
87
|
}
|
|
85
88
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coorpacademy/components",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.5.1-alpha.0+a870405f4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -160,5 +160,5 @@
|
|
|
160
160
|
"last 2 versions",
|
|
161
161
|
"IE 11"
|
|
162
162
|
],
|
|
163
|
-
"gitHead": "
|
|
163
|
+
"gitHead": "a870405f4a43dd7ac41b3fb729a332802fab330b"
|
|
164
164
|
}
|