From fe7719cec8bd50d9b16700edc68b7fbb5f5e32da Mon Sep 17 00:00:00 2001 From: JonathanTGold <62672270+JonathanTGold@users.noreply.github.com> Date: Tue, 23 Jan 2024 13:30:39 +0200 Subject: [PATCH] fix(FEC-13604): Amendments following the refactor (#843) ### Description of the Changes Amendments following the refactor #### Related PRs https://github.com/kaltura/kaltura-player-js/pull/704 https://github.com/kaltura/playkit-js-plugin-example/pull/6 #### Resolves FEC-FEC-1360 --------- Co-authored-by: JonathanTGold --- .eslintignore | 1 - .gitignore | 3 - .prettierignore | 1 + api-extractor.json | 4 +- api-extractor/playkit-js-ui.api.json | 27759 ---------------- .../report-temp/playkit-js-ui.api.md | 2786 -- api-extractor/report/playkit-js-ui.api.md | 2786 -- package.json | 13 +- playkit-js-kaltura-player-js-3.17.7.tgz | Bin 5332703 -> 0 bytes .../player-area/player-area-provider.tsx | 2 +- src/components/player-area/player-area.tsx | 4 +- src/components/settings/settings.tsx | 2 +- src/ui-manager.tsx | 4 +- yarn.lock | 61 +- 14 files changed, 53 insertions(+), 33373 deletions(-) delete mode 100644 api-extractor/playkit-js-ui.api.json delete mode 100644 api-extractor/report-temp/playkit-js-ui.api.md delete mode 100644 api-extractor/report/playkit-js-ui.api.md delete mode 100644 playkit-js-kaltura-player-js-3.17.7.tgz diff --git a/.eslintignore b/.eslintignore index eac0de8d1..7dbd5c55a 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,2 +1 @@ src/types/kaltura-player-js.d.ts -p diff --git a/.gitignore b/.gitignore index d2f568fd9..4296c10c8 100644 --- a/.gitignore +++ b/.gitignore @@ -44,6 +44,3 @@ jspm_packages dist/ lib/ -api-extractor/report/ -api-extractor/report-temp/ -api-extractor/playkit-js-ui.api.json diff --git a/.prettierignore b/.prettierignore index 08c862833..f37d6a9dc 100644 --- a/.prettierignore +++ b/.prettierignore @@ -11,4 +11,5 @@ yarn.lock yarn-error.log LICENSE README.md +src/types/kaltura-player-js.d.ts diff --git a/api-extractor.json b/api-extractor.json index 0378c56ab..2ae4083b1 100644 --- a/api-extractor.json +++ b/api-extractor.json @@ -4,12 +4,12 @@ "bundledPackages": [], "compiler": {}, "apiReport": { - "enabled": true, + "enabled": false, "reportFolder": "/api-extractor/report", "reportTempFolder": "/api-extractor/report-temp" }, "docModel": { - "enabled": true, + "enabled": false, "apiJsonFilePath": "/api-extractor/.api.json" }, "dtsRollup": { diff --git a/api-extractor/playkit-js-ui.api.json b/api-extractor/playkit-js-ui.api.json deleted file mode 100644 index d0efd705c..000000000 --- a/api-extractor/playkit-js-ui.api.json +++ /dev/null @@ -1,27759 +0,0 @@ -{ - "metadata": { - "toolPackage": "@microsoft/api-extractor", - "toolVersion": "7.39.1", - "schemaVersion": 1011, - "oldestForwardsCompatibleVersion": 1001, - "tsdocConfig": { - "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json", - "noStandardTags": true, - "tagDefinitions": [ - { - "tagName": "@alpha", - "syntaxKind": "modifier" - }, - { - "tagName": "@beta", - "syntaxKind": "modifier" - }, - { - "tagName": "@defaultValue", - "syntaxKind": "block" - }, - { - "tagName": "@decorator", - "syntaxKind": "block", - "allowMultiple": true - }, - { - "tagName": "@deprecated", - "syntaxKind": "block" - }, - { - "tagName": "@eventProperty", - "syntaxKind": "modifier" - }, - { - "tagName": "@example", - "syntaxKind": "block", - "allowMultiple": true - }, - { - "tagName": "@experimental", - "syntaxKind": "modifier" - }, - { - "tagName": "@inheritDoc", - "syntaxKind": "inline" - }, - { - "tagName": "@internal", - "syntaxKind": "modifier" - }, - { - "tagName": "@label", - "syntaxKind": "inline" - }, - { - "tagName": "@link", - "syntaxKind": "inline", - "allowMultiple": true - }, - { - "tagName": "@override", - "syntaxKind": "modifier" - }, - { - "tagName": "@packageDocumentation", - "syntaxKind": "modifier" - }, - { - "tagName": "@param", - "syntaxKind": "block", - "allowMultiple": true - }, - { - "tagName": "@privateRemarks", - "syntaxKind": "block" - }, - { - "tagName": "@public", - "syntaxKind": "modifier" - }, - { - "tagName": "@readonly", - "syntaxKind": "modifier" - }, - { - "tagName": "@remarks", - "syntaxKind": "block" - }, - { - "tagName": "@returns", - "syntaxKind": "block" - }, - { - "tagName": "@sealed", - "syntaxKind": "modifier" - }, - { - "tagName": "@see", - "syntaxKind": "block" - }, - { - "tagName": "@throws", - "syntaxKind": "block", - "allowMultiple": true - }, - { - "tagName": "@typeParam", - "syntaxKind": "block", - "allowMultiple": true - }, - { - "tagName": "@virtual", - "syntaxKind": "modifier" - }, - { - "tagName": "@betaDocumentation", - "syntaxKind": "modifier" - }, - { - "tagName": "@internalRemarks", - "syntaxKind": "block" - }, - { - "tagName": "@preapproved", - "syntaxKind": "modifier" - } - ], - "supportForTags": { - "@alpha": true, - "@beta": true, - "@defaultValue": true, - "@decorator": true, - "@deprecated": true, - "@eventProperty": true, - "@example": true, - "@experimental": true, - "@inheritDoc": true, - "@internal": true, - "@label": true, - "@link": true, - "@override": true, - "@packageDocumentation": true, - "@param": true, - "@privateRemarks": true, - "@public": true, - "@readonly": true, - "@remarks": true, - "@returns": true, - "@sealed": true, - "@see": true, - "@throws": true, - "@typeParam": true, - "@virtual": true, - "@betaDocumentation": true, - "@internalRemarks": true, - "@preapproved": true - }, - "reportUnsupportedHtmlElements": false - } - }, - "kind": "Package", - "canonicalReference": "@playkit-js/playkit-js-ui!", - "docComment": "", - "name": "@playkit-js/playkit-js-ui", - "preserveMemberOrder": false, - "members": [ - { - "kind": "EntryPoint", - "canonicalReference": "@playkit-js/playkit-js-ui!", - "name": "", - "preserveMemberOrder": false, - "members": [ - { - "kind": "TypeAlias", - "canonicalReference": "@playkit-js/playkit-js-ui!ColorType:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export type ColorType = " - }, - { - "kind": "Content", - "text": "{\n primary: string;\n secondary: string;\n success: string;\n danger: string;\n warning: string;\n live: string;\n playerBackground: string;\n}" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/types/user-theme.ts", - "releaseTag": "Public", - "name": "ColorType", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 2 - } - }, - { - "kind": "Namespace", - "canonicalReference": "@playkit-js/playkit-js-ui!Components:namespace", - "docComment": "", - "excerptTokens": [], - "fileUrlPath": "src/index.ts", - "releaseTag": "None", - "name": "Components", - "preserveMemberOrder": false, - "members": [ - { - "kind": "Class", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.AdLearnMore:class", - "docComment": "/**\n * AdLearnMore component\n *\n * @class AdLearnMore\n *\n * @example\n *\n * @extends {Component}\n */\n", - "excerptTokens": [ - { - "kind": "Content", - "text": "declare class AdLearnMore extends " - }, - { - "kind": "Reference", - "text": "Component", - "canonicalReference": "preact!preact.Component:class" - }, - { - "kind": "Content", - "text": "<" - }, - { - "kind": "Reference", - "text": "AdLearnMoreProps", - "canonicalReference": "@playkit-js/playkit-js-ui!~AdLearnMoreProps:type" - }, - { - "kind": "Content", - "text": ", {}>" - }, - { - "kind": "Content", - "text": " " - } - ], - "fileUrlPath": "src/components/ad-learn-more/ad-learn-more.tsx", - "releaseTag": "Public", - "isAbstract": false, - "name": "AdLearnMore", - "preserveMemberOrder": false, - "members": [ - { - "kind": "Method", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.AdLearnMore#render:member(1)", - "docComment": "/**\n * render component\n *\n * @param props - component props\n *\n * @returns {React$Element} - component element @memberof AdLearnMore\n */\n", - "excerptTokens": [ - { - "kind": "Content", - "text": "render(props: " - }, - { - "kind": "Content", - "text": "any" - }, - { - "kind": "Content", - "text": "): " - }, - { - "kind": "Reference", - "text": "h.JSX.Element", - "canonicalReference": "preact!JSXInternal.Element:interface" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isStatic": false, - "returnTypeTokenRange": { - "startIndex": 3, - "endIndex": 4 - }, - "releaseTag": "Public", - "isProtected": false, - "overloadIndex": 1, - "parameters": [ - { - "parameterName": "props", - "parameterTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isOptional": false - } - ], - "isOptional": false, - "isAbstract": false, - "name": "render" - } - ], - "extendsTokenRange": { - "startIndex": 1, - "endIndex": 5 - }, - "implementsTokenRanges": [] - }, - { - "kind": "Class", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.AdNotice:class", - "docComment": "/**\n * AdNotice component\n *\n * @class AdNotice\n *\n * @example\n *\n * @extends {Component}\n */\n", - "excerptTokens": [ - { - "kind": "Content", - "text": "declare class AdNotice extends " - }, - { - "kind": "Reference", - "text": "Component", - "canonicalReference": "preact!preact.Component:class" - }, - { - "kind": "Content", - "text": "<{}, {}>" - }, - { - "kind": "Content", - "text": " " - } - ], - "fileUrlPath": "src/components/ad-notice/ad-notice.tsx", - "releaseTag": "Public", - "isAbstract": false, - "name": "AdNotice", - "preserveMemberOrder": false, - "members": [ - { - "kind": "Method", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.AdNotice#render:member(1)", - "docComment": "/**\n * render component\n *\n * @returns {React$Element} - component element @memberof AdNotice\n */\n", - "excerptTokens": [ - { - "kind": "Content", - "text": "render(): " - }, - { - "kind": "Reference", - "text": "h.JSX.Element", - "canonicalReference": "preact!JSXInternal.Element:interface" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isStatic": false, - "returnTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "releaseTag": "Public", - "isProtected": false, - "overloadIndex": 1, - "parameters": [], - "isOptional": false, - "isAbstract": false, - "name": "render" - } - ], - "extendsTokenRange": { - "startIndex": 1, - "endIndex": 3 - }, - "implementsTokenRanges": [] - }, - { - "kind": "Class", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.AdSkip:class", - "docComment": "/**\n * AdSkip component\n *\n * @class AdSkip\n *\n * @example\n *\n * @extends {Component}\n */\n", - "excerptTokens": [ - { - "kind": "Content", - "text": "declare class AdSkip extends " - }, - { - "kind": "Reference", - "text": "Component", - "canonicalReference": "preact!preact.Component:class" - }, - { - "kind": "Content", - "text": "<" - }, - { - "kind": "Reference", - "text": "AdSkipProps", - "canonicalReference": "@playkit-js/playkit-js-ui!~AdSkipProps:type" - }, - { - "kind": "Content", - "text": " & " - }, - { - "kind": "Reference", - "text": "WithPlayerProps", - "canonicalReference": "@playkit-js/playkit-js-ui!~WithPlayerProps:type" - }, - { - "kind": "Content", - "text": " & " - }, - { - "kind": "Reference", - "text": "WithLoggerProps", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.WithLoggerProps:type" - }, - { - "kind": "Content", - "text": ", any>" - }, - { - "kind": "Content", - "text": " " - } - ], - "fileUrlPath": "src/components/ad-skip/ad-skip.tsx", - "releaseTag": "Public", - "isAbstract": false, - "name": "AdSkip", - "preserveMemberOrder": false, - "members": [ - { - "kind": "Method", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.AdSkip#render:member(1)", - "docComment": "/**\n * render component\n *\n * @returns {React$Element} - component @memberof AdSkip\n */\n", - "excerptTokens": [ - { - "kind": "Content", - "text": "render(): " - }, - { - "kind": "Reference", - "text": "h.JSX.Element", - "canonicalReference": "preact!JSXInternal.Element:interface" - }, - { - "kind": "Content", - "text": " | undefined" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isStatic": false, - "returnTypeTokenRange": { - "startIndex": 1, - "endIndex": 3 - }, - "releaseTag": "Public", - "isProtected": false, - "overloadIndex": 1, - "parameters": [], - "isOptional": false, - "isAbstract": false, - "name": "render" - } - ], - "extendsTokenRange": { - "startIndex": 1, - "endIndex": 9 - }, - "implementsTokenRanges": [] - }, - { - "kind": "Class", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.AdvancedAudioDescToggle:class", - "docComment": "/**\n * AdvancedAudioDescToggle component\n *\n * @class AdvancedAudioDescToggle\n *\n * @example\n *\n * @extends {Component}\n */\n", - "excerptTokens": [ - { - "kind": "Content", - "text": "declare class AdvancedAudioDescToggle extends " - }, - { - "kind": "Reference", - "text": "Component", - "canonicalReference": "preact!preact.Component:class" - }, - { - "kind": "Content", - "text": "" - }, - { - "kind": "Content", - "text": " " - } - ], - "fileUrlPath": "src/components/advanced-audio-desc-toggle/advanced-audio-desc-toggle.tsx", - "releaseTag": "Public", - "isAbstract": false, - "name": "AdvancedAudioDescToggle", - "preserveMemberOrder": false, - "members": [ - { - "kind": "Property", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.AdvancedAudioDescToggle#onAdvancedAudioClick:member", - "docComment": "/**\n * Toggle the Advanced Audio Description option and update it in the store state\n *\n * @param isChecked - Whether the feature is enabled or not\n *\n * @returns {void} @memberof AdvancedAudioDescToggle\n */\n", - "excerptTokens": [ - { - "kind": "Content", - "text": "onAdvancedAudioClick: " - }, - { - "kind": "Content", - "text": "(isChecked: boolean) => void" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isReadonly": false, - "isOptional": false, - "releaseTag": "Public", - "name": "onAdvancedAudioClick", - "propertyTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isStatic": false, - "isProtected": false, - "isAbstract": false - }, - { - "kind": "Method", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.AdvancedAudioDescToggle#render:member(1)", - "docComment": "/**\n * render function\n *\n * @param props - component props\n *\n * @returns {React$Element} - component @memberof AdvancedAudioDescToggle\n */\n", - "excerptTokens": [ - { - "kind": "Content", - "text": "render(props: " - }, - { - "kind": "Content", - "text": "any" - }, - { - "kind": "Content", - "text": "): " - }, - { - "kind": "Reference", - "text": "h.JSX.Element", - "canonicalReference": "preact!JSXInternal.Element:interface" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isStatic": false, - "returnTypeTokenRange": { - "startIndex": 3, - "endIndex": 4 - }, - "releaseTag": "Public", - "isProtected": false, - "overloadIndex": 1, - "parameters": [ - { - "parameterName": "props", - "parameterTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isOptional": false - } - ], - "isOptional": false, - "isAbstract": false, - "name": "render" - } - ], - "extendsTokenRange": { - "startIndex": 1, - "endIndex": 3 - }, - "implementsTokenRanges": [] - }, - { - "kind": "Class", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.AudioMenu:class", - "docComment": "/**\n * AudioMenu component\n *\n * @class AudioMenu\n *\n * @example\n *\n * @extends {Component}\n */\n", - "excerptTokens": [ - { - "kind": "Content", - "text": "declare class AudioMenu extends " - }, - { - "kind": "Reference", - "text": "Component", - "canonicalReference": "preact!preact.Component:class" - }, - { - "kind": "Content", - "text": "<" - }, - { - "kind": "Reference", - "text": "AudioMenuProps", - "canonicalReference": "@playkit-js/playkit-js-ui!~AudioMenuProps:type" - }, - { - "kind": "Content", - "text": " & " - }, - { - "kind": "Reference", - "text": "WithPlayerProps", - "canonicalReference": "@playkit-js/playkit-js-ui!~WithPlayerProps:type" - }, - { - "kind": "Content", - "text": " & " - }, - { - "kind": "Reference", - "text": "WithEventDispatcherProps", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.WithEventDispatcherProps:type" - }, - { - "kind": "Content", - "text": ", any>" - }, - { - "kind": "Content", - "text": " " - } - ], - "fileUrlPath": "src/components/audio-menu/audio-menu.tsx", - "releaseTag": "Public", - "isAbstract": false, - "name": "AudioMenu", - "preserveMemberOrder": false, - "members": [ - { - "kind": "Method", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.AudioMenu#onAudioChange:member(1)", - "docComment": "/**\n * call to player selectTrack method and change audio track\n *\n * @param audioTrack - audio track\n *\n * @returns {void} @memberof Settings\n */\n", - "excerptTokens": [ - { - "kind": "Content", - "text": "onAudioChange(audioTrack: " - }, - { - "kind": "Content", - "text": "any" - }, - { - "kind": "Content", - "text": "): " - }, - { - "kind": "Content", - "text": "void" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isStatic": false, - "returnTypeTokenRange": { - "startIndex": 3, - "endIndex": 4 - }, - "releaseTag": "Public", - "isProtected": false, - "overloadIndex": 1, - "parameters": [ - { - "parameterName": "audioTrack", - "parameterTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isOptional": false - } - ], - "isOptional": false, - "isAbstract": false, - "name": "onAudioChange" - }, - { - "kind": "Method", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.AudioMenu#render:member(1)", - "docComment": "/**\n * render function\n *\n * @param props - component props\n *\n * @returns {React$Element} - component @memberof AudioMenu\n */\n", - "excerptTokens": [ - { - "kind": "Content", - "text": "render(props: " - }, - { - "kind": "Content", - "text": "any" - }, - { - "kind": "Content", - "text": "): " - }, - { - "kind": "Reference", - "text": "h.JSX.Element", - "canonicalReference": "preact!JSXInternal.Element:interface" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isStatic": false, - "returnTypeTokenRange": { - "startIndex": 3, - "endIndex": 4 - }, - "releaseTag": "Public", - "isProtected": false, - "overloadIndex": 1, - "parameters": [ - { - "parameterName": "props", - "parameterTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isOptional": false - } - ], - "isOptional": false, - "isAbstract": false, - "name": "render" - } - ], - "extendsTokenRange": { - "startIndex": 1, - "endIndex": 9 - }, - "implementsTokenRanges": [] - }, - { - "kind": "Variable", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.BadgeType:var", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "BadgeType: " - }, - { - "kind": "Content", - "text": "{\n qualityHd: string;\n qualityHdActive: string;\n quality4k: string;\n quality4kActive: string;\n quality8k: string;\n quality8kActive: string;\n}" - } - ], - "fileUrlPath": "src/components/icon/icon.tsx", - "isReadonly": true, - "releaseTag": "Public", - "name": "BadgeType", - "variableTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - } - }, - { - "kind": "Class", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.BaseComponent:class", - "docComment": "/**\n * Base component to be extended by other player UI components\n *\n * @class BaseComponent @extends {Component}\n */\n", - "excerptTokens": [ - { - "kind": "Content", - "text": "declare class BaseComponent extends " - }, - { - "kind": "Reference", - "text": "Component", - "canonicalReference": "preact!preact.Component:class" - }, - { - "kind": "Content", - "text": "" - }, - { - "kind": "Content", - "text": " " - } - ], - "fileUrlPath": "src/components/base.tsx", - "releaseTag": "Public", - "isAbstract": false, - "name": "BaseComponent", - "preserveMemberOrder": false, - "members": [ - { - "kind": "Constructor", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.BaseComponent:constructor(1)", - "docComment": "/**\n * Creates an instance of BaseComponent.\n *\n * @param obj - obj @memberof BaseComponent\n */\n", - "excerptTokens": [ - { - "kind": "Content", - "text": "constructor(obj?: " - }, - { - "kind": "Content", - "text": "any" - }, - { - "kind": "Content", - "text": ");" - } - ], - "releaseTag": "Public", - "isProtected": false, - "overloadIndex": 1, - "parameters": [ - { - "parameterName": "obj", - "parameterTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isOptional": true - } - ] - }, - { - "kind": "Method", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.BaseComponent#componentWillUnmount:member(1)", - "docComment": "/**\n * Before component is mounted remove all event manager listeners.\n *\n * @returns {void}\n *\n * @memberof BaseComponent\n */\n", - "excerptTokens": [ - { - "kind": "Content", - "text": "componentWillUnmount(): " - }, - { - "kind": "Content", - "text": "void" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isStatic": false, - "returnTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "releaseTag": "Public", - "isProtected": false, - "overloadIndex": 1, - "parameters": [], - "isOptional": false, - "isAbstract": false, - "name": "componentWillUnmount" - }, - { - "kind": "Property", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.BaseComponent#config:member", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "protected config: " - }, - { - "kind": "Content", - "text": "any" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isReadonly": false, - "isOptional": false, - "releaseTag": "Public", - "name": "config", - "propertyTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isStatic": false, - "isProtected": true, - "isAbstract": false - }, - { - "kind": "Property", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.BaseComponent.defaultProps:member", - "docComment": "/**\n * Components default props. @type {Object} @static\n */\n", - "excerptTokens": [ - { - "kind": "Content", - "text": "static defaultProps: " - }, - { - "kind": "Content", - "text": "any" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isReadonly": false, - "isOptional": false, - "releaseTag": "Public", - "name": "defaultProps", - "propertyTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isStatic": true, - "isProtected": false, - "isAbstract": false - }, - { - "kind": "Property", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.BaseComponent#eventManager:member", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "protected eventManager: " - }, - { - "kind": "Reference", - "text": "EventManager", - "canonicalReference": "@playkit-js/playkit-js!EventManager:class" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isReadonly": false, - "isOptional": false, - "releaseTag": "Public", - "name": "eventManager", - "propertyTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isStatic": false, - "isProtected": true, - "isAbstract": false - }, - { - "kind": "Property", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.BaseComponent#logger:member", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "protected logger: " - }, - { - "kind": "Content", - "text": "any" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isReadonly": false, - "isOptional": false, - "releaseTag": "Public", - "name": "logger", - "propertyTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isStatic": false, - "isProtected": true, - "isAbstract": false - }, - { - "kind": "Property", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.BaseComponent#name:member", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "protected name: " - }, - { - "kind": "Content", - "text": "string" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isReadonly": false, - "isOptional": false, - "releaseTag": "Public", - "name": "name", - "propertyTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isStatic": false, - "isProtected": true, - "isAbstract": false - }, - { - "kind": "Method", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.BaseComponent#notifyChange:member(1)", - "docComment": "/**\n * Notify the store that a changeable component has been change.\n *\n * @param payload - Optional payload.\n *\n * @returns {void}\n *\n * @memberof BaseComponent\n */\n", - "excerptTokens": [ - { - "kind": "Content", - "text": "notifyChange(payload?: " - }, - { - "kind": "Content", - "text": "any" - }, - { - "kind": "Content", - "text": "): " - }, - { - "kind": "Content", - "text": "void" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isStatic": false, - "returnTypeTokenRange": { - "startIndex": 3, - "endIndex": 4 - }, - "releaseTag": "Public", - "isProtected": false, - "overloadIndex": 1, - "parameters": [ - { - "parameterName": "payload", - "parameterTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isOptional": true - } - ], - "isOptional": false, - "isAbstract": false, - "name": "notifyChange" - }, - { - "kind": "Method", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.BaseComponent#notifyClick:member(1)", - "docComment": "/**\n * Notify the store that a clickable component has been clicked.\n *\n * @param payload - Optional payload.\n *\n * @returns {void}\n *\n * @memberof BaseComponent\n */\n", - "excerptTokens": [ - { - "kind": "Content", - "text": "notifyClick(payload?: " - }, - { - "kind": "Content", - "text": "any" - }, - { - "kind": "Content", - "text": "): " - }, - { - "kind": "Content", - "text": "void" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isStatic": false, - "returnTypeTokenRange": { - "startIndex": 3, - "endIndex": 4 - }, - "releaseTag": "Public", - "isProtected": false, - "overloadIndex": 1, - "parameters": [ - { - "parameterName": "payload", - "parameterTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isOptional": true - } - ], - "isOptional": false, - "isAbstract": false, - "name": "notifyClick" - }, - { - "kind": "Property", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.BaseComponent#player:member", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "protected player: " - }, - { - "kind": "Reference", - "text": "KalturaPlayer", - "canonicalReference": "@playkit-js/playkit-js-ui!~KalturaPlayer:class" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isReadonly": false, - "isOptional": false, - "releaseTag": "Public", - "name": "player", - "propertyTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isStatic": false, - "isProtected": true, - "isAbstract": false - }, - { - "kind": "Method", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.BaseComponent#render:member(1)", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "render(props?: " - }, - { - "kind": "Reference", - "text": "RenderableProps", - "canonicalReference": "preact!preact.RenderableProps:type" - }, - { - "kind": "Content", - "text": "" - }, - { - "kind": "Content", - "text": ", state?: " - }, - { - "kind": "Reference", - "text": "Readonly", - "canonicalReference": "!Readonly:type" - }, - { - "kind": "Content", - "text": "" - }, - { - "kind": "Content", - "text": ", context?: " - }, - { - "kind": "Content", - "text": "any" - }, - { - "kind": "Content", - "text": "): " - }, - { - "kind": "Reference", - "text": "ComponentChild", - "canonicalReference": "preact!preact.ComponentChild:type" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isStatic": false, - "returnTypeTokenRange": { - "startIndex": 9, - "endIndex": 10 - }, - "releaseTag": "Public", - "isProtected": false, - "overloadIndex": 1, - "parameters": [ - { - "parameterName": "props", - "parameterTypeTokenRange": { - "startIndex": 1, - "endIndex": 3 - }, - "isOptional": true - }, - { - "parameterName": "state", - "parameterTypeTokenRange": { - "startIndex": 4, - "endIndex": 6 - }, - "isOptional": true - }, - { - "parameterName": "context", - "parameterTypeTokenRange": { - "startIndex": 7, - "endIndex": 8 - }, - "isOptional": true - } - ], - "isOptional": false, - "isAbstract": false, - "name": "render" - } - ], - "extendsTokenRange": { - "startIndex": 1, - "endIndex": 3 - }, - "implementsTokenRanges": [] - }, - { - "kind": "Class", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.BottomBar:class", - "docComment": "/**\n * BottomBar component\n *\n * @class BottomBar\n *\n * @example\n *\n * ... @extends {Component}\n */\n", - "excerptTokens": [ - { - "kind": "Content", - "text": "declare class BottomBar extends " - }, - { - "kind": "Reference", - "text": "Component", - "canonicalReference": "preact!preact.Component:class" - }, - { - "kind": "Content", - "text": "" - }, - { - "kind": "Content", - "text": " " - } - ], - "fileUrlPath": "src/components/bottom-bar/bottom-bar.tsx", - "releaseTag": "Public", - "isAbstract": false, - "name": "BottomBar", - "preserveMemberOrder": false, - "members": [ - { - "kind": "Constructor", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.BottomBar:constructor(1)", - "docComment": "/**\n * Constructs a new instance of the `BottomBar` class\n */\n", - "excerptTokens": [ - { - "kind": "Content", - "text": "constructor(props: " - }, - { - "kind": "Content", - "text": "any" - }, - { - "kind": "Content", - "text": ");" - } - ], - "releaseTag": "Public", - "isProtected": false, - "overloadIndex": 1, - "parameters": [ - { - "parameterName": "props", - "parameterTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isOptional": false - } - ] - }, - { - "kind": "Property", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.BottomBar#bottomBarContainerRef:member", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "bottomBarContainerRef: " - }, - { - "kind": "Reference", - "text": "RefObject", - "canonicalReference": "preact!preact.RefObject:type" - }, - { - "kind": "Content", - "text": "<" - }, - { - "kind": "Reference", - "text": "HTMLDivElement", - "canonicalReference": "!HTMLDivElement:interface" - }, - { - "kind": "Content", - "text": ">" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isReadonly": false, - "isOptional": false, - "releaseTag": "Public", - "name": "bottomBarContainerRef", - "propertyTypeTokenRange": { - "startIndex": 1, - "endIndex": 5 - }, - "isStatic": false, - "isProtected": false, - "isAbstract": false - }, - { - "kind": "Method", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.BottomBar#componentDidMount:member(1)", - "docComment": "/**\n * when component did update\n *\n * @returns {void} @memberof BottomBar\n */\n", - "excerptTokens": [ - { - "kind": "Content", - "text": "componentDidMount(): " - }, - { - "kind": "Content", - "text": "void" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isStatic": false, - "returnTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "releaseTag": "Public", - "isProtected": false, - "overloadIndex": 1, - "parameters": [], - "isOptional": false, - "isAbstract": false, - "name": "componentDidMount" - }, - { - "kind": "Method", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.BottomBar#componentWillUnmount:member(1)", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "componentWillUnmount(): " - }, - { - "kind": "Content", - "text": "void" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isStatic": false, - "returnTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "releaseTag": "Public", - "isProtected": false, - "overloadIndex": 1, - "parameters": [], - "isOptional": false, - "isAbstract": false, - "name": "componentWillUnmount" - }, - { - "kind": "Property", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.BottomBar#currentBarWidth:member", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "currentBarWidth: " - }, - { - "kind": "Content", - "text": "number" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isReadonly": false, - "isOptional": false, - "releaseTag": "Public", - "name": "currentBarWidth", - "propertyTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isStatic": false, - "isProtected": false, - "isAbstract": false - }, - { - "kind": "Method", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.BottomBar#filterControls:member(1)", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "filterControls(currentBarWidth: " - }, - { - "kind": "Content", - "text": "number" - }, - { - "kind": "Content", - "text": ", currentMinBreakPointWidth: " - }, - { - "kind": "Content", - "text": "number" - }, - { - "kind": "Content", - "text": ", currentControlWidth: " - }, - { - "kind": "Content", - "text": "number" - }, - { - "kind": "Content", - "text": ", lowerPriorityControls: " - }, - { - "kind": "Content", - "text": "string[][]" - }, - { - "kind": "Content", - "text": "): " - }, - { - "kind": "Content", - "text": "void" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isStatic": false, - "returnTypeTokenRange": { - "startIndex": 9, - "endIndex": 10 - }, - "releaseTag": "Public", - "isProtected": false, - "overloadIndex": 1, - "parameters": [ - { - "parameterName": "currentBarWidth", - "parameterTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isOptional": false - }, - { - "parameterName": "currentMinBreakPointWidth", - "parameterTypeTokenRange": { - "startIndex": 3, - "endIndex": 4 - }, - "isOptional": false - }, - { - "parameterName": "currentControlWidth", - "parameterTypeTokenRange": { - "startIndex": 5, - "endIndex": 6 - }, - "isOptional": false - }, - { - "parameterName": "lowerPriorityControls", - "parameterTypeTokenRange": { - "startIndex": 7, - "endIndex": 8 - }, - "isOptional": false - } - ], - "isOptional": false, - "isAbstract": false, - "name": "filterControls" - }, - { - "kind": "Method", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.BottomBar#onBarWidthChange:member(1)", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "onBarWidthChange(entry: " - }, - { - "kind": "Reference", - "text": "ResizeObserverEntry", - "canonicalReference": "!ResizeObserverEntry:interface" - }, - { - "kind": "Content", - "text": "[]" - }, - { - "kind": "Content", - "text": "): " - }, - { - "kind": "Content", - "text": "void" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isStatic": false, - "returnTypeTokenRange": { - "startIndex": 4, - "endIndex": 5 - }, - "releaseTag": "Public", - "isProtected": false, - "overloadIndex": 1, - "parameters": [ - { - "parameterName": "entry", - "parameterTypeTokenRange": { - "startIndex": 1, - "endIndex": 3 - }, - "isOptional": false - } - ], - "isOptional": false, - "isAbstract": false, - "name": "onBarWidthChange" - }, - { - "kind": "Property", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.BottomBar#onToggleControl:member", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "onToggleControl: " - }, - { - "kind": "Content", - "text": "(controlName: string, isActive: boolean) => void" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isReadonly": false, - "isOptional": false, - "releaseTag": "Public", - "name": "onToggleControl", - "propertyTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isStatic": false, - "isProtected": false, - "isAbstract": false - }, - { - "kind": "Property", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.BottomBar#presetControls:member", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "presetControls: " - }, - { - "kind": "Content", - "text": "{\n [controlName: string]: boolean;\n }" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isReadonly": false, - "isOptional": false, - "releaseTag": "Public", - "name": "presetControls", - "propertyTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isStatic": false, - "isProtected": false, - "isAbstract": false - }, - { - "kind": "Method", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.BottomBar#render:member(1)", - "docComment": "/**\n * render component\n *\n * @param props - component props\n *\n * @returns {?React$Element} - component element @memberof BottomBar\n */\n", - "excerptTokens": [ - { - "kind": "Content", - "text": "render(props: " - }, - { - "kind": "Content", - "text": "any" - }, - { - "kind": "Content", - "text": "): " - }, - { - "kind": "Reference", - "text": "h.JSX.Element", - "canonicalReference": "preact!JSXInternal.Element:interface" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isStatic": false, - "returnTypeTokenRange": { - "startIndex": 3, - "endIndex": 4 - }, - "releaseTag": "Public", - "isProtected": false, - "overloadIndex": 1, - "parameters": [ - { - "parameterName": "props", - "parameterTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isOptional": false - } - ], - "isOptional": false, - "isAbstract": false, - "name": "render" - }, - { - "kind": "Property", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.BottomBar#resizeObserver:member", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "resizeObserver: " - }, - { - "kind": "Reference", - "text": "ResizeObserver", - "canonicalReference": "!ResizeObserver:interface" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isReadonly": false, - "isOptional": false, - "releaseTag": "Public", - "name": "resizeObserver", - "propertyTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isStatic": false, - "isProtected": false, - "isAbstract": false - } - ], - "extendsTokenRange": { - "startIndex": 1, - "endIndex": 3 - }, - "implementsTokenRanges": [] - }, - { - "kind": "Variable", - "canonicalReference": "@playkit-js/playkit-js-ui!Components.Button:var", - "docComment": "/**\n * Button component\n *\n * @const Button\n *\n * @example\n *\n *