eligius 1.1.4 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -7
- package/dist/chunk-CTAAG5j7.js +13 -0
- package/dist/index.d.ts +2984 -22
- package/dist/index.js +5857 -7
- package/dist/index.js.map +1 -0
- package/package.json +53 -44
- package/dist/action/action.d.ts +0 -17
- package/dist/action/endable-action.d.ts +0 -9
- package/dist/action/index.d.ts +0 -3
- package/dist/action/timeline-action.d.ts +0 -14
- package/dist/action/types.d.ts +0 -17
- package/dist/build/generate-importer-source-code.d.ts +0 -15
- package/dist/build/index.d.ts +0 -1
- package/dist/configuration/api/action-creator-factory.d.ts +0 -31
- package/dist/configuration/api/action-editor.d.ts +0 -44
- package/dist/configuration/api/configuration-factory.d.ts +0 -135
- package/dist/configuration/api/index.d.ts +0 -7
- package/dist/configuration/api/label-editor.d.ts +0 -11
- package/dist/configuration/api/name-providers.d.ts +0 -13
- package/dist/configuration/api/subtitle-converter.d.ts +0 -11
- package/dist/configuration/api/subtitle-editor.d.ts +0 -24
- package/dist/configuration/api/timeline-provider-settings-editor.d.ts +0 -22
- package/dist/configuration/configuration-resolver.d.ts +0 -18
- package/dist/configuration/types.d.ts +0 -102
- package/dist/controllers/event-listener-controller.d.ts +0 -36
- package/dist/controllers/index.d.ts +0 -7
- package/dist/controllers/label-controller.d.ts +0 -31
- package/dist/controllers/lottie-controller.d.ts +0 -47
- package/dist/controllers/metadata/event-listener-controller.d.ts +0 -4
- package/dist/controllers/metadata/index.d.ts +0 -7
- package/dist/controllers/metadata/label-controller.d.ts +0 -4
- package/dist/controllers/metadata/lottie-controller.d.ts +0 -4
- package/dist/controllers/metadata/navigation-controller.d.ts +0 -4
- package/dist/controllers/metadata/progressbar-controller.d.ts +0 -4
- package/dist/controllers/metadata/routing-controller.d.ts +0 -4
- package/dist/controllers/metadata/subtitles-controller.d.ts +0 -4
- package/dist/controllers/metadata/types.d.ts +0 -6
- package/dist/controllers/navigation-controller.d.ts +0 -39
- package/dist/controllers/progressbar-controller.d.ts +0 -26
- package/dist/controllers/routing-controller.d.ts +0 -27
- package/dist/controllers/subtitles-controller.d.ts +0 -27
- package/dist/controllers/types.d.ts +0 -8
- package/dist/diagnostics/devtool-event-listener.d.ts +0 -7
- package/dist/diagnostics/diagnostics.d.ts +0 -5
- package/dist/diagnostics/index.d.ts +0 -3
- package/dist/diagnostics/types.d.ts +0 -28
- package/dist/eligius-engine.d.ts +0 -88
- package/dist/eligius-flow-controller.d.ts +0 -8
- package/dist/engine-factory.d.ts +0 -38
- package/dist/eventbus/actionregistry-eventbus-listener.d.ts +0 -11
- package/dist/eventbus/eventbus.d.ts +0 -18
- package/dist/eventbus/index.d.ts +0 -4
- package/dist/eventbus/request-video-uri-interceptor.d.ts +0 -6
- package/dist/eventbus/types.d.ts +0 -18
- package/dist/importer/eligius-resource-importer.d.ts +0 -9
- package/dist/importer/index.d.ts +0 -1
- package/dist/index.cjs +0 -6417
- package/dist/index.cjs.map +0 -7
- package/dist/index.cjs.min.js +0 -8
- package/dist/index.cjs.min.js.map +0 -7
- package/dist/index.esm.js +0 -8
- package/dist/index.esm.js.map +0 -7
- package/dist/language-manager.d.ts +0 -24
- package/dist/operation/add-class.d.ts +0 -14
- package/dist/operation/add-controller-to-element.d.ts +0 -15
- package/dist/operation/add-globals-to-operation.d.ts +0 -12
- package/dist/operation/animate-with-class.d.ts +0 -17
- package/dist/operation/animate.d.ts +0 -17
- package/dist/operation/broadcast-event.d.ts +0 -13
- package/dist/operation/calc.d.ts +0 -14
- package/dist/operation/clear-element.d.ts +0 -11
- package/dist/operation/clear-operation-data.d.ts +0 -10
- package/dist/operation/create-element.d.ts +0 -18
- package/dist/operation/custom-function.d.ts +0 -12
- package/dist/operation/end-action.d.ts +0 -17
- package/dist/operation/end-for-each.d.ts +0 -8
- package/dist/operation/end-when.d.ts +0 -8
- package/dist/operation/extend-controller.d.ts +0 -10
- package/dist/operation/for-each.d.ts +0 -19
- package/dist/operation/get-attributes-from-element.d.ts +0 -21
- package/dist/operation/get-controller-from-element.d.ts +0 -16
- package/dist/operation/get-controller-instance.d.ts +0 -17
- package/dist/operation/get-element-dimensions.d.ts +0 -30
- package/dist/operation/get-import.d.ts +0 -13
- package/dist/operation/get-query-params.d.ts +0 -28
- package/dist/operation/helper/attach-controller-to-element.d.ts +0 -3
- package/dist/operation/helper/deep-copy.d.ts +0 -1
- package/dist/operation/helper/find-matching-operation-index.d.ts +0 -35
- package/dist/operation/helper/get-element-data.d.ts +0 -7
- package/dist/operation/helper/get-property-chain-value.d.ts +0 -24
- package/dist/operation/helper/globals.d.ts +0 -4
- package/dist/operation/helper/internal-resolve.d.ts +0 -2
- package/dist/operation/helper/merge-operation-data.d.ts +0 -2
- package/dist/operation/helper/modify-dimensions.d.ts +0 -20
- package/dist/operation/helper/remove-event-data-from-operation-data.d.ts +0 -2
- package/dist/operation/helper/remove-global.d.ts +0 -1
- package/dist/operation/helper/resolve-event-arguments.d.ts +0 -2
- package/dist/operation/helper/resolve-external-property-chain.d.ts +0 -14
- package/dist/operation/helper/resolve-property-chain.d.ts +0 -23
- package/dist/operation/helper/resolve-property-values.d.ts +0 -11
- package/dist/operation/helper/set-global.d.ts +0 -1
- package/dist/operation/index.d.ts +0 -46
- package/dist/operation/invoke-object-method.d.ts +0 -28
- package/dist/operation/load-json.d.ts +0 -28
- package/dist/operation/log.d.ts +0 -8
- package/dist/operation/math.d.ts +0 -12
- package/dist/operation/metadata/add-class.d.ts +0 -4
- package/dist/operation/metadata/add-controller-to-element.d.ts +0 -4
- package/dist/operation/metadata/add-globals-to-operation.d.ts +0 -4
- package/dist/operation/metadata/animate-with-class.d.ts +0 -4
- package/dist/operation/metadata/animate.d.ts +0 -4
- package/dist/operation/metadata/broadcast-event.d.ts +0 -4
- package/dist/operation/metadata/calc.d.ts +0 -4
- package/dist/operation/metadata/clear-element.d.ts +0 -4
- package/dist/operation/metadata/clear-operation-data.d.ts +0 -4
- package/dist/operation/metadata/create-element.d.ts +0 -4
- package/dist/operation/metadata/custom-function.d.ts +0 -4
- package/dist/operation/metadata/end-action.d.ts +0 -4
- package/dist/operation/metadata/end-for-each.d.ts +0 -3
- package/dist/operation/metadata/end-when.d.ts +0 -3
- package/dist/operation/metadata/extend-controller.d.ts +0 -4
- package/dist/operation/metadata/for-each.d.ts +0 -4
- package/dist/operation/metadata/get-attributes-from-element.d.ts +0 -4
- package/dist/operation/metadata/get-controller-from-element.d.ts +0 -4
- package/dist/operation/metadata/get-controller-instance.d.ts +0 -4
- package/dist/operation/metadata/get-element-dimensions.d.ts +0 -4
- package/dist/operation/metadata/get-import.d.ts +0 -4
- package/dist/operation/metadata/get-query-params.d.ts +0 -4
- package/dist/operation/metadata/index.d.ts +0 -45
- package/dist/operation/metadata/invoke-object-method.d.ts +0 -4
- package/dist/operation/metadata/load-json.d.ts +0 -4
- package/dist/operation/metadata/log.d.ts +0 -3
- package/dist/operation/metadata/math.d.ts +0 -4
- package/dist/operation/metadata/otherwise.d.ts +0 -3
- package/dist/operation/metadata/remove-class.d.ts +0 -4
- package/dist/operation/metadata/remove-controller-from-element.d.ts +0 -4
- package/dist/operation/metadata/remove-element.d.ts +0 -4
- package/dist/operation/metadata/remove-properties-from-operation-data.d.ts +0 -4
- package/dist/operation/metadata/reparent-element.d.ts +0 -4
- package/dist/operation/metadata/request-action.d.ts +0 -4
- package/dist/operation/metadata/resize-action.d.ts +0 -4
- package/dist/operation/metadata/select-element.d.ts +0 -4
- package/dist/operation/metadata/set-data.d.ts +0 -4
- package/dist/operation/metadata/set-element-attributes.d.ts +0 -4
- package/dist/operation/metadata/set-element-content.d.ts +0 -4
- package/dist/operation/metadata/set-global-data.d.ts +0 -4
- package/dist/operation/metadata/set-operation-data.d.ts +0 -4
- package/dist/operation/metadata/set-style.d.ts +0 -4
- package/dist/operation/metadata/start-action.d.ts +0 -4
- package/dist/operation/metadata/toggle-class.d.ts +0 -4
- package/dist/operation/metadata/toggle-element.d.ts +0 -4
- package/dist/operation/metadata/types.d.ts +0 -29
- package/dist/operation/metadata/wait.d.ts +0 -4
- package/dist/operation/metadata/when.d.ts +0 -4
- package/dist/operation/otherwise.d.ts +0 -9
- package/dist/operation/remove-class.d.ts +0 -14
- package/dist/operation/remove-controller-from-element.d.ts +0 -14
- package/dist/operation/remove-element.d.ts +0 -13
- package/dist/operation/remove-properties-from-operation-data.d.ts +0 -12
- package/dist/operation/reparent-element.d.ts +0 -15
- package/dist/operation/request-action.d.ts +0 -14
- package/dist/operation/resize-action.d.ts +0 -12
- package/dist/operation/select-element.d.ts +0 -19
- package/dist/operation/set-data.d.ts +0 -21
- package/dist/operation/set-element-attributes.d.ts +0 -14
- package/dist/operation/set-element-content.d.ts +0 -21
- package/dist/operation/set-global-data.d.ts +0 -11
- package/dist/operation/set-operation-data.d.ts +0 -13
- package/dist/operation/set-style.d.ts +0 -15
- package/dist/operation/start-action.d.ts +0 -17
- package/dist/operation/toggle-class.d.ts +0 -23
- package/dist/operation/toggle-element.d.ts +0 -19
- package/dist/operation/types.d.ts +0 -55
- package/dist/operation/wait.d.ts +0 -14
- package/dist/operation/when.d.ts +0 -21
- package/dist/test/integration/create-language-selector.spec.d.ts +0 -1
- package/dist/test/integration/end-in-correct-order.spec.d.ts +0 -1
- package/dist/test/integration/for-each-loop.spec.d.ts +0 -1
- package/dist/test/integration/re-use-image-action.spec.d.ts +0 -1
- package/dist/test/integration/when-construction.spec.d.ts +0 -1
- package/dist/test/unit/action/action.spec.d.ts +0 -1
- package/dist/test/unit/build/generate-importer-source-code.spec.d.ts +0 -1
- package/dist/test/unit/chrono-trigger-engine.spec.d.ts +0 -1
- package/dist/test/unit/configuration/api/action-editor.spec.d.ts +0 -1
- package/dist/test/unit/configuration/api/configuration-factory.spec.d.ts +0 -1
- package/dist/test/unit/configuration/api/endable-action-editor.spec.d.ts +0 -1
- package/dist/test/unit/configuration/api/name-providers.spec.d.ts +0 -1
- package/dist/test/unit/configuration/api/subtitle-editor.spec.d.ts +0 -1
- package/dist/test/unit/configuration/api/timeline-action-editor.spec.d.ts +0 -1
- package/dist/test/unit/configuration/api/timeline-provider-settings-editor.spec.d.ts +0 -1
- package/dist/test/unit/configuration/configuration-resolver.spec.d.ts +0 -1
- package/dist/test/unit/controllers/EventListenerController.spec.d.ts +0 -1
- package/dist/test/unit/controllers/LabelController.spec.d.ts +0 -1
- package/dist/test/unit/engine-factory.spec.d.ts +0 -1
- package/dist/test/unit/eventbus/eventbus.spec.d.ts +0 -1
- package/dist/test/unit/importer/eligius-resource-importer.spec.d.ts +0 -1
- package/dist/test/unit/language-manager.spec.d.ts +0 -1
- package/dist/test/unit/operation/_operation-metadata.spec.d.ts +0 -1
- package/dist/test/unit/operation/add-class.spec.d.ts +0 -1
- package/dist/test/unit/operation/add-controller-to-element.spec.d.ts +0 -1
- package/dist/test/unit/operation/add-globals-to-operation.spec.d.ts +0 -1
- package/dist/test/unit/operation/animate-with-class.spec.d.ts +0 -1
- package/dist/test/unit/operation/animate.spec.d.ts +0 -1
- package/dist/test/unit/operation/broadcast-event.spec.d.ts +0 -1
- package/dist/test/unit/operation/calc.spec.d.ts +0 -1
- package/dist/test/unit/operation/clear-element.spec.d.ts +0 -1
- package/dist/test/unit/operation/clear-operation-data.spec.d.ts +0 -1
- package/dist/test/unit/operation/create-element.spec.d.ts +0 -1
- package/dist/test/unit/operation/custom-function.spec.d.ts +0 -1
- package/dist/test/unit/operation/end-action.spec.d.ts +0 -1
- package/dist/test/unit/operation/end-for-each.spec.d.ts +0 -1
- package/dist/test/unit/operation/end-when.spec.d.ts +0 -1
- package/dist/test/unit/operation/extend-controller.spec.d.ts +0 -1
- package/dist/test/unit/operation/for-each.spec.d.ts +0 -1
- package/dist/test/unit/operation/get-attributes-from-element.spec.d.ts +0 -1
- package/dist/test/unit/operation/get-controller-from-element.spec.d.ts +0 -1
- package/dist/test/unit/operation/get-controller-instance.spec.d.ts +0 -1
- package/dist/test/unit/operation/get-element-dimensions.spec.d.ts +0 -1
- package/dist/test/unit/operation/get-query-params.spec.d.ts +0 -1
- package/dist/test/unit/operation/helper/attach-controller-to-element.spec.d.ts +0 -1
- package/dist/test/unit/operation/helper/get-element-data.spec.d.ts +0 -1
- package/dist/test/unit/operation/helper/get-property-chain-value.spec.d.ts +0 -1
- package/dist/test/unit/operation/helper/globals.spec.d.ts +0 -1
- package/dist/test/unit/operation/helper/internal-resolve.spec.d.ts +0 -1
- package/dist/test/unit/operation/helper/merge-operation-data.spec.d.ts +0 -1
- package/dist/test/unit/operation/helper/modify-dimensions.spec.d.ts +0 -1
- package/dist/test/unit/operation/helper/remove-event-data-from-operation-data.spec.d.ts +0 -1
- package/dist/test/unit/operation/helper/remove-global.spec.d.ts +0 -1
- package/dist/test/unit/operation/helper/resolve-event-arguments.spec.d.ts +0 -1
- package/dist/test/unit/operation/helper/resolve-external-property-chain.spec.d.ts +0 -1
- package/dist/test/unit/operation/helper/resolve-property-values.spec.d.ts +0 -1
- package/dist/test/unit/operation/helper/set-global.spec.d.ts +0 -1
- package/dist/test/unit/operation/invoke-object-method.spec.d.ts +0 -1
- package/dist/test/unit/operation/load-json.spec.d.ts +0 -1
- package/dist/test/unit/operation/log.spec.d.ts +0 -1
- package/dist/test/unit/operation/math.spec.d.ts +0 -1
- package/dist/test/unit/operation/otherwise.spec.d.ts +0 -1
- package/dist/test/unit/operation/remove-class.spec.d.ts +0 -1
- package/dist/test/unit/operation/remove-properties-from-operation-data.spec.d.ts +0 -1
- package/dist/test/unit/operation/reparent-element.spec.d.ts +0 -1
- package/dist/test/unit/operation/request-action.spec.d.ts +0 -1
- package/dist/test/unit/operation/resize-action.spec.d.ts +0 -1
- package/dist/test/unit/operation/select-element.spec.d.ts +0 -1
- package/dist/test/unit/operation/set-data.spec.d.ts +0 -1
- package/dist/test/unit/operation/set-element-attributes.spec.d.ts +0 -1
- package/dist/test/unit/operation/set-element-content.spec.d.ts +0 -1
- package/dist/test/unit/operation/set-global-data.spec.d.ts +0 -1
- package/dist/test/unit/operation/set-operation-data.spec.d.ts +0 -1
- package/dist/test/unit/operation/set-style.spec.d.ts +0 -1
- package/dist/test/unit/operation/start-action.spec.d.ts +0 -1
- package/dist/test/unit/operation/toggle-class.spec.d.ts +0 -1
- package/dist/test/unit/operation/toggle-element.spec.d.ts +0 -1
- package/dist/test/unit/operation/wait.spec.d.ts +0 -1
- package/dist/test/unit/operation/when.spec.d.ts +0 -1
- package/dist/test/unit/timelineproviders/request-animation-frame-timeline-provider.spec.d.ts +0 -1
- package/dist/test/unit/util/prepare-value-for-serialization.spec.d.ts +0 -1
- package/dist/timeline-event-names.d.ts +0 -81
- package/dist/timelineproviders/index.d.ts +0 -2
- package/dist/timelineproviders/request-animation-frame-timeline-provider.d.ts +0 -40
- package/dist/timelineproviders/types.d.ts +0 -21
- package/dist/timelineproviders/video-js-timeline-provider.d.ts +0 -39
- package/dist/tools/doc-tools/generate-readmes.d.ts +0 -1
- package/dist/tools/schema-tools/generate-operation-schemas.d.ts +0 -1
- package/dist/tools/schema-tools/html-tag-names.d.ts +0 -1
- package/dist/types.d.ts +0 -103
- package/dist/util/animation-interval.d.ts +0 -1
- package/dist/util/apply-operation.d.ts +0 -3
- package/dist/util/camel-case-to-dash.d.ts +0 -1
- package/dist/util/dash-to-camel-case.d.ts +0 -1
- package/dist/util/guards/is-function.d.ts +0 -1
- package/dist/util/guards/is-object.d.ts +0 -1
- package/dist/util/guards/is-promise.d.ts +0 -1
- package/dist/util/guards/is-string.d.ts +0 -1
- package/dist/util/prepare-value-for-serialization.d.ts +0 -1
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/// <reference types="jquery" />
|
|
2
|
-
/// <reference types="jquery" />
|
|
3
|
-
export type TPlayState = 'stopped' | 'running';
|
|
4
|
-
export interface ITimelineProvider {
|
|
5
|
-
playState: TPlayState;
|
|
6
|
-
loop: boolean;
|
|
7
|
-
init(): Promise<void>;
|
|
8
|
-
start(): void;
|
|
9
|
-
stop(): void;
|
|
10
|
-
pause(): void;
|
|
11
|
-
seek(position: number): Promise<number>;
|
|
12
|
-
playlistItem(uri: string): void;
|
|
13
|
-
getPosition(): number;
|
|
14
|
-
getDuration(): number;
|
|
15
|
-
getContainer(): JQuery<HTMLElement> | undefined;
|
|
16
|
-
destroy(): void;
|
|
17
|
-
onTime(callback: (position: number) => void): void;
|
|
18
|
-
onComplete(callback: () => void): void;
|
|
19
|
-
onRestart(callback: () => void): void;
|
|
20
|
-
onFirstFrame(callback: () => void): void;
|
|
21
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/// <reference types="jquery" />
|
|
2
|
-
/// <reference types="jquery" />
|
|
3
|
-
import { IResolvedEngineConfiguration } from '../configuration/types';
|
|
4
|
-
import { ITimelineProvider, TPlayState } from './types';
|
|
5
|
-
export declare class VideoJsTimelineProvider implements ITimelineProvider {
|
|
6
|
-
private config;
|
|
7
|
-
private _videoElementId;
|
|
8
|
-
private _eventHandlers;
|
|
9
|
-
private _playState;
|
|
10
|
-
get playState(): TPlayState;
|
|
11
|
-
loop: boolean;
|
|
12
|
-
private _urls;
|
|
13
|
-
private _onTime;
|
|
14
|
-
private _onComplete;
|
|
15
|
-
private _onRestart;
|
|
16
|
-
private _onFirstFrame;
|
|
17
|
-
private _player;
|
|
18
|
-
constructor(config: IResolvedEngineConfiguration);
|
|
19
|
-
init(): Promise<void>;
|
|
20
|
-
private _addPlayerListener;
|
|
21
|
-
private _handleEnded;
|
|
22
|
-
private _handleTimeUpdate;
|
|
23
|
-
start(): void;
|
|
24
|
-
stop(): void;
|
|
25
|
-
pause(): void;
|
|
26
|
-
seek(position: number): Promise<number>;
|
|
27
|
-
playlistItem(uri: string): void;
|
|
28
|
-
getPosition(): number;
|
|
29
|
-
getDuration(): number;
|
|
30
|
-
getContainer(): JQuery<HTMLElement> | undefined;
|
|
31
|
-
destroy(): void;
|
|
32
|
-
onTime(callback: (position: number) => void): void;
|
|
33
|
-
onComplete(callback: () => void): void;
|
|
34
|
-
onRestart(callback: () => void): void;
|
|
35
|
-
onFirstFrame(callback: () => void): void;
|
|
36
|
-
private _extractUrls;
|
|
37
|
-
private _addVideoElements;
|
|
38
|
-
_extractFileType(url: string): string;
|
|
39
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const htmlTagNames: string[];
|
package/dist/types.d.ts
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { IAction } from './action/types';
|
|
2
|
-
import { IEngineConfiguration, IResolvedEngineConfiguration } from './configuration/types';
|
|
3
|
-
import { IEventbus, IEventbusListener } from './eventbus/types';
|
|
4
|
-
import { ITimelineProvider } from './timelineproviders/types';
|
|
5
|
-
export type KeysOfType<T, U, B = false> = {
|
|
6
|
-
[P in keyof T]: B extends true ? T[P] extends U ? U extends T[P] ? P : never : never : T[P] extends U ? P : never;
|
|
7
|
-
}[keyof T];
|
|
8
|
-
/**
|
|
9
|
-
* Describes an object that is capable of processing the given configuration and constructing an IEligiusEngine
|
|
10
|
-
* based on this configuration.
|
|
11
|
-
*/
|
|
12
|
-
export interface IEngineFactory {
|
|
13
|
-
/**
|
|
14
|
-
* Returns a fully configured IEligiusEngine instance.
|
|
15
|
-
*
|
|
16
|
-
* @param engineConfig The given configuration
|
|
17
|
-
* @param resolver An optional resolver to process the given IEngineConfiguration. When not provided the IEngineFactory is expected to create their own instance.
|
|
18
|
-
*/
|
|
19
|
-
createEngine(engineConfig: IEngineConfiguration, resolver?: IConfigurationResolver): IEligiusEngine;
|
|
20
|
-
}
|
|
21
|
-
export interface IEngineFactoryOptions {
|
|
22
|
-
eventbus?: IEventbus;
|
|
23
|
-
devtools?: boolean;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Describes an object that is play one or more timelines, defined by a given set of ITimelineProviders.
|
|
27
|
-
*/
|
|
28
|
-
export interface IEligiusEngine {
|
|
29
|
-
/**
|
|
30
|
-
* Do the preparations needed in order to run the given timelines.
|
|
31
|
-
*/
|
|
32
|
-
init(): Promise<ITimelineProvider>;
|
|
33
|
-
/**
|
|
34
|
-
* Do the necessary cleanup before discarding this instance.
|
|
35
|
-
*/
|
|
36
|
-
destroy(): Promise<void>;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Describes an object that acts as a registry for imported resources.
|
|
40
|
-
*/
|
|
41
|
-
export interface ISimpleResourceImporter {
|
|
42
|
-
import(name: string): Record<string, any>;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Describes an object that acts as a registry for imported resources and
|
|
46
|
-
* is able to return all of the registered operation, controller and provider names.
|
|
47
|
-
*/
|
|
48
|
-
export interface IResourceImporter extends ISimpleResourceImporter {
|
|
49
|
-
getOperationNames(): string[];
|
|
50
|
-
getControllerNames(): string[];
|
|
51
|
-
getProviderNames(): string[];
|
|
52
|
-
}
|
|
53
|
-
export interface IConfigurationResolver {
|
|
54
|
-
process(configuration: IEngineConfiguration, actionRegistryListener?: IEventbusListener): [Record<string, IAction>, IResolvedEngineConfiguration];
|
|
55
|
-
}
|
|
56
|
-
export type TResultCallback = (result: any) => void;
|
|
57
|
-
/**
|
|
58
|
-
* Describes a duration of time expressed in a start and an optional end range with a one second interval.
|
|
59
|
-
*/
|
|
60
|
-
export interface IDuration {
|
|
61
|
-
start: number;
|
|
62
|
-
end?: number;
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* Describes a duration of time expressed in a start and an end range with a one second interval.
|
|
66
|
-
*/
|
|
67
|
-
export interface IStrictDuration extends Required<IDuration> {
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* Describes the different kinds of timeline providers.
|
|
71
|
-
*/
|
|
72
|
-
export type TimelineTypes = 'animation' | 'mediaplayer';
|
|
73
|
-
/**
|
|
74
|
-
*
|
|
75
|
-
*/
|
|
76
|
-
export interface ITimelineProviderInfo {
|
|
77
|
-
id: string;
|
|
78
|
-
vendor: string;
|
|
79
|
-
provider: ITimelineProvider;
|
|
80
|
-
}
|
|
81
|
-
export interface ILanguageLabel {
|
|
82
|
-
id: string;
|
|
83
|
-
labels: ILabel[];
|
|
84
|
-
}
|
|
85
|
-
export interface ILabel {
|
|
86
|
-
id: string;
|
|
87
|
-
languageCode: TLanguageCode;
|
|
88
|
-
label: string;
|
|
89
|
-
}
|
|
90
|
-
export interface IDimensions {
|
|
91
|
-
width: number;
|
|
92
|
-
height: number;
|
|
93
|
-
}
|
|
94
|
-
export type TLanguageCode = `${Lowercase<string>}-${Uppercase<string>}`;
|
|
95
|
-
export interface ISubtitleCollection {
|
|
96
|
-
languageCode: TLanguageCode;
|
|
97
|
-
titles: ISubtitle[];
|
|
98
|
-
}
|
|
99
|
-
export interface ISubtitle {
|
|
100
|
-
id: string;
|
|
101
|
-
duration: IStrictDuration;
|
|
102
|
-
text: string;
|
|
103
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function animationInterval(ms: number, signal: AbortSignal, callback: (time: number) => void): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function camelCaseToDash(input: string): string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function dashToCamelCase(input: string): string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function isFunction(value: any): value is Function;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function isObject(value: any): value is Object;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function isPromise(obj: any): obj is Promise<any>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function isString(value: any): value is string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function prepareValueForSerialization(value: unknown): any;
|