eligius 4.1.0 → 4.3.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/dist/configuration-api.d.mts +127 -101
- package/dist/configuration-api.mjs +6 -6
- package/dist/configuration-api.mjs.map +1 -1
- package/dist/{engine-factory-BHDMlt6g.mjs → engine-factory-65BHSli8.mjs} +235 -237
- package/dist/engine-factory-65BHSli8.mjs.map +1 -0
- package/dist/index.d.mts +2 -3
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/lint.d.mts +125 -101
- package/dist/lint.mjs +63 -27
- package/dist/lint.mjs.map +1 -1
- package/dist/{locale-manager-CNZ2kj0g.d.mts → locale-manager-DY4_d4Zv.d.mts} +142 -136
- package/dist/metadata.d.mts +122 -102
- package/dist/metadata.mjs +7 -73
- package/dist/metadata.mjs.map +1 -1
- package/dist/{rolldown-runtime-CGzGPw9x.mjs → rolldown-runtime-DTOZ5ltL.mjs} +4 -4
- package/dist/runtime.d.mts +21 -2
- package/dist/runtime.mjs +1 -1
- package/jsonschema/eligius-configuration.json +3 -0
- package/jsonschema/operations/math.json +6 -27
- package/package.json +25 -15
- package/dist/engine-factory-BHDMlt6g.mjs.map +0 -1
|
@@ -84,8 +84,8 @@ declare class ActionRegistryEventbusListener implements IEventbusListener {
|
|
|
84
84
|
*
|
|
85
85
|
* @example Request/Response pattern
|
|
86
86
|
* ```ts
|
|
87
|
-
* eventbus.onRequest('request-
|
|
88
|
-
* const
|
|
87
|
+
* eventbus.onRequest('request-translation', (key) => translations[key]);
|
|
88
|
+
* const label = eventbus.request<string>('request-translation', 'nav.home');
|
|
89
89
|
* ```
|
|
90
90
|
*
|
|
91
91
|
* Broadcasts isolate errors: a handler, listener or interceptor that throws, or
|
|
@@ -201,20 +201,6 @@ interface PushHistoryStateEvent {
|
|
|
201
201
|
name: 'push-history-state';
|
|
202
202
|
args: [state: any];
|
|
203
203
|
}
|
|
204
|
-
/**
|
|
205
|
-
* Request: request-action
|
|
206
|
-
* Answered through `eventbus.request('request-action', actionName)` by
|
|
207
|
-
* EngineFactory with the configured action of that name. Throws for an
|
|
208
|
-
* unknown name, with a "did you mean" hint.
|
|
209
|
-
* @param actionName - The name of the action to request
|
|
210
|
-
* @returns The action
|
|
211
|
-
* @category Engine Request
|
|
212
|
-
*/
|
|
213
|
-
interface RequestActionEvent {
|
|
214
|
-
name: 'request-action';
|
|
215
|
-
args: [actionName: string];
|
|
216
|
-
returns: IAction;
|
|
217
|
-
}
|
|
218
204
|
/**
|
|
219
205
|
* Request: request-current-language
|
|
220
206
|
* Answered through `eventbus.request('request-current-language')` by
|
|
@@ -261,50 +247,6 @@ interface RequestCurrentVideoPositionEvent {
|
|
|
261
247
|
name: 'request-current-video-position';
|
|
262
248
|
args: [callback: (position: number) => void];
|
|
263
249
|
}
|
|
264
|
-
/**
|
|
265
|
-
* Request: request-engine-root
|
|
266
|
-
* Answered through `eventbus.request('request-engine-root')` with the
|
|
267
|
-
* engine's root element (the container selector). From `engine.init()` until
|
|
268
|
-
* `engine.destroy()` every answer is the same jQuery instance. The engine also
|
|
269
|
-
* answers the legacy form, a broadcast whose last argument is a callback that
|
|
270
|
-
* receives the value.
|
|
271
|
-
* @returns The engine root element
|
|
272
|
-
* @category Engine Request
|
|
273
|
-
*/
|
|
274
|
-
interface RequestEngineRootEvent {
|
|
275
|
-
name: 'request-engine-root';
|
|
276
|
-
args: [];
|
|
277
|
-
returns: JQuery<HTMLElement>;
|
|
278
|
-
}
|
|
279
|
-
/**
|
|
280
|
-
* Request: request-function
|
|
281
|
-
* Answered through `eventbus.request('request-function', systemName)` by
|
|
282
|
-
* EngineFactory with the function (such as an operation) the resource
|
|
283
|
-
* importer provides under that name. Throws for an unknown name.
|
|
284
|
-
* @param systemName - The name of the function to request
|
|
285
|
-
* @returns The function
|
|
286
|
-
* @category Engine Request
|
|
287
|
-
*/
|
|
288
|
-
interface RequestFunctionEvent {
|
|
289
|
-
name: 'request-function';
|
|
290
|
-
args: [systemName: string];
|
|
291
|
-
returns: unknown;
|
|
292
|
-
}
|
|
293
|
-
/**
|
|
294
|
-
* Request: request-instance
|
|
295
|
-
* Answered through `eventbus.request('request-instance', systemName)` by
|
|
296
|
-
* EngineFactory with a new instance of the class the resource importer
|
|
297
|
-
* provides under that name (a controller, for example), constructed with the
|
|
298
|
-
* eventbus. Throws for an unknown name.
|
|
299
|
-
* @param systemName - The name of the class to instantiate
|
|
300
|
-
* @returns The new instance
|
|
301
|
-
* @category Engine Request
|
|
302
|
-
*/
|
|
303
|
-
interface RequestInstanceEvent {
|
|
304
|
-
name: 'request-instance';
|
|
305
|
-
args: [systemName: string];
|
|
306
|
-
returns: unknown;
|
|
307
|
-
}
|
|
308
250
|
/**
|
|
309
251
|
* Event: request-label-collection
|
|
310
252
|
* @param language - The language code
|
|
@@ -641,6 +583,54 @@ declare class RequestVideoUriInterceptor implements IEventbusInterceptor {
|
|
|
641
583
|
constructor(eventbus: IEventbus);
|
|
642
584
|
intercept(args: EventMap['request-timeline-uri']): EventMap['request-timeline-uri'];
|
|
643
585
|
}
|
|
586
|
+
/**
|
|
587
|
+
* Engine internals that actions, operations and controllers look up by name.
|
|
588
|
+
*
|
|
589
|
+
* Every engine has its own services object. Operations reach it as
|
|
590
|
+
* `this.services` (see `IOperationScope`), controllers receive it in
|
|
591
|
+
* `attach(eventbus, services)`. Because it belongs to one engine, a lookup
|
|
592
|
+
* always answers for that engine, also when several engines share an
|
|
593
|
+
* eventbus.
|
|
594
|
+
*/
|
|
595
|
+
interface IEngineServices {
|
|
596
|
+
/**
|
|
597
|
+
* Returns the configured action (from `actions` or `eventActions`) with
|
|
598
|
+
* this name.
|
|
599
|
+
*
|
|
600
|
+
* @param systemName - The action name
|
|
601
|
+
* @returns The action
|
|
602
|
+
* @throws Error for an unknown name, with a "did you mean" hint
|
|
603
|
+
*/
|
|
604
|
+
getAction(systemName: string): IAction;
|
|
605
|
+
/**
|
|
606
|
+
* Returns what the resource importer provides under this name: a custom
|
|
607
|
+
* function, registered JSON or template, or any built-in export.
|
|
608
|
+
*
|
|
609
|
+
* @param systemName - The registered name
|
|
610
|
+
* @returns The registered entry; registered JSON may be `0`, `''` or `false`
|
|
611
|
+
* @throws Error when nothing is registered under the name (the importer's
|
|
612
|
+
* "did you mean" hint is kept)
|
|
613
|
+
*/
|
|
614
|
+
getImport(systemName: string): unknown;
|
|
615
|
+
/**
|
|
616
|
+
* Creates a new instance of the class the resource importer provides under
|
|
617
|
+
* this name (a controller, for example), constructed with the engine's
|
|
618
|
+
* eventbus.
|
|
619
|
+
*
|
|
620
|
+
* @param systemName - The registered class name
|
|
621
|
+
* @returns The new instance
|
|
622
|
+
* @throws Error when nothing is registered under the name, or when it is not
|
|
623
|
+
* a class
|
|
624
|
+
*/
|
|
625
|
+
createInstance<T = unknown>(systemName: string): T;
|
|
626
|
+
/**
|
|
627
|
+
* Returns the engine's root element (its container selector). From
|
|
628
|
+
* `engine.init()` until `engine.destroy()` this is the same jQuery instance.
|
|
629
|
+
*
|
|
630
|
+
* @returns The engine root
|
|
631
|
+
*/
|
|
632
|
+
getEngineRoot(): JQuery<HTMLElement>;
|
|
633
|
+
}
|
|
644
634
|
type TOperationData = Record<string, any>;
|
|
645
635
|
type TOperationResult<T = TOperationData> = Promise<T> | T;
|
|
646
636
|
interface IOperationScope {
|
|
@@ -672,6 +662,11 @@ interface IOperationScope {
|
|
|
672
662
|
* The eventbus instance shared amongst actions and operations
|
|
673
663
|
*/
|
|
674
664
|
eventbus: IEventbus;
|
|
665
|
+
/**
|
|
666
|
+
* The services of the engine this operation runs in: looks up actions,
|
|
667
|
+
* registered imports and classes, and the engine root
|
|
668
|
+
*/
|
|
669
|
+
services: IEngineServices;
|
|
675
670
|
/**
|
|
676
671
|
* The list of operations that is currently being executed
|
|
677
672
|
*/
|
|
@@ -703,7 +698,14 @@ type ExtractReturnedOperationData<T extends TOperation<TOperationData, TOperatio
|
|
|
703
698
|
interface IController<T extends TOperationData> {
|
|
704
699
|
name: string;
|
|
705
700
|
init(operationData: T): void;
|
|
706
|
-
|
|
701
|
+
/**
|
|
702
|
+
* Starts the controller.
|
|
703
|
+
*
|
|
704
|
+
* @param eventbus - The engine's eventbus
|
|
705
|
+
* @param services - The engine's services, for looking up actions, classes
|
|
706
|
+
* and the engine root
|
|
707
|
+
*/
|
|
708
|
+
attach(eventbus: IEventbus, services: IEngineServices): Promise<any> | void;
|
|
707
709
|
detach(eventbus: IEventbus): void;
|
|
708
710
|
}
|
|
709
711
|
/** A start and end frame. Mirrors lottie-web's `AnimationSegment`. */
|
|
@@ -1381,9 +1383,28 @@ interface IEngineActionError extends Error {
|
|
|
1381
1383
|
readonly operationSystemName?: string;
|
|
1382
1384
|
/** Index of the failing operation in its operation list, when known */
|
|
1383
1385
|
readonly operationIndex?: number;
|
|
1386
|
+
/**
|
|
1387
|
+
* The operations between the failing action and the failing operation,
|
|
1388
|
+
* outermost first, when known. Entry 0 is an operation of the failing
|
|
1389
|
+
* action itself: for a failure inside a called action it is the
|
|
1390
|
+
* `startAction` or `endAction` that called it. Each further entry is an
|
|
1391
|
+
* operation of the action the previous entry started. The last entry is the
|
|
1392
|
+
* failing operation, the same as `operationSystemName` and
|
|
1393
|
+
* `operationIndex`. A direct failure has one entry.
|
|
1394
|
+
*/
|
|
1395
|
+
readonly operationPath?: readonly IOperationPathEntry[];
|
|
1384
1396
|
/** The original error */
|
|
1385
1397
|
readonly cause: unknown;
|
|
1386
1398
|
}
|
|
1399
|
+
/**
|
|
1400
|
+
* One operation on {@link IEngineActionError.operationPath}.
|
|
1401
|
+
*/
|
|
1402
|
+
interface IOperationPathEntry {
|
|
1403
|
+
/** System name of the operation */
|
|
1404
|
+
readonly systemName: string;
|
|
1405
|
+
/** Its index in the operation list of its action */
|
|
1406
|
+
readonly index: number;
|
|
1407
|
+
}
|
|
1387
1408
|
type KeysOfType<T, U> = { [P in keyof T]-?: T[P] extends U | undefined ? P : never; }[keyof T];
|
|
1388
1409
|
/**
|
|
1389
1410
|
* Result of creating an engine via the factory
|
|
@@ -1399,6 +1420,12 @@ interface IEngineFactoryResult {
|
|
|
1399
1420
|
* is cleared when the engine is destroyed.
|
|
1400
1421
|
*/
|
|
1401
1422
|
eventbus: IEventbus;
|
|
1423
|
+
/**
|
|
1424
|
+
* The engine's services, for attaching a controller by hand
|
|
1425
|
+
* (`controller.attach(eventbus, services)`). Every lookup throws once the
|
|
1426
|
+
* engine is destroyed.
|
|
1427
|
+
*/
|
|
1428
|
+
services: IEngineServices;
|
|
1402
1429
|
/**
|
|
1403
1430
|
* Destroy everything - engine, adapters, and cleanup. Calling it again
|
|
1404
1431
|
* returns the promise of the first call.
|
|
@@ -1413,10 +1440,9 @@ interface IEngineFactory {
|
|
|
1413
1440
|
/**
|
|
1414
1441
|
* Create a fully wired engine with adapters
|
|
1415
1442
|
* @param configuration - Engine configuration
|
|
1416
|
-
* @param resolver - Optional custom configuration resolver
|
|
1417
1443
|
* @returns Engine result with engine, language manager, eventbus, and destroy function
|
|
1418
1444
|
*/
|
|
1419
|
-
createEngine(configuration: IEngineConfiguration
|
|
1445
|
+
createEngine(configuration: IEngineConfiguration): IEngineFactoryResult;
|
|
1420
1446
|
/**
|
|
1421
1447
|
* Destroy the factory and its resources
|
|
1422
1448
|
*/
|
|
@@ -1430,9 +1456,10 @@ interface IEngineFactoryOptions {
|
|
|
1430
1456
|
* other's requests or react to each other's commands.
|
|
1431
1457
|
*
|
|
1432
1458
|
* Use one live engine per eventbus: request responders such as
|
|
1433
|
-
* `request-
|
|
1434
|
-
* them, and commands such as `timeline-play-request` reach every
|
|
1435
|
-
* the bus.
|
|
1459
|
+
* `request-current-timeline-position` are answered by the first engine that
|
|
1460
|
+
* registered them, and commands such as `timeline-play-request` reach every
|
|
1461
|
+
* engine on the bus. Lookups of actions, imports and the engine root are
|
|
1462
|
+
* not affected: they go through each engine's own services. The factory warns when a second engine is created on a shared
|
|
1436
1463
|
* eventbus while another one is live.
|
|
1437
1464
|
*/
|
|
1438
1465
|
eventbus?: IEventbus;
|
|
@@ -1818,7 +1845,8 @@ type RequireKeys<T, K extends keyof T> = { [P in K]-?: T[P]; };
|
|
|
1818
1845
|
* Event: engine-error
|
|
1819
1846
|
* Broadcast when a timeline action that the engine started or ended on its
|
|
1820
1847
|
* own fails. The error names the action, the phase (start or end) and, when
|
|
1821
|
-
* known, the failing operation
|
|
1848
|
+
* known, the failing operation (`operationSystemName`, `operationIndex`) and
|
|
1849
|
+
* the path to it through called actions (`operationPath`, outermost first).
|
|
1822
1850
|
* @param error - The error, with the original error as its `cause`
|
|
1823
1851
|
* @category Engine
|
|
1824
1852
|
*/
|
|
@@ -1826,7 +1854,7 @@ interface EngineErrorEvent {
|
|
|
1826
1854
|
name: 'engine-error';
|
|
1827
1855
|
args: [error: IEngineActionError];
|
|
1828
1856
|
}
|
|
1829
|
-
type AllEvents = BeforeRequestTimelineUriEvent | BeforeRequestVideoUrlEvent | DomMutationEvent | EngineCommandErrorEvent | EngineErrorEvent | HighlightNavigationEvent | LanguageChangeEvent | NavigateToVideoUrlEvent | PushHistoryStateEvent |
|
|
1857
|
+
type AllEvents = BeforeRequestTimelineUriEvent | BeforeRequestVideoUrlEvent | DomMutationEvent | EngineCommandErrorEvent | EngineErrorEvent | HighlightNavigationEvent | LanguageChangeEvent | NavigateToVideoUrlEvent | PushHistoryStateEvent | RequestCurrentLanguageEvent | RequestCurrentNavigationEvent | RequestCurrentTimelinePositionEvent | RequestCurrentVideoPositionEvent | RequestLabelCollectionEvent | RequestLabelCollectionsEvent | RequestTimelineCleanupEvent | RequestTimelineUriEvent | RequestTranslationEvent | RequestVideoCleanupEvent | RequestVideoUrlEvent | CompleteEvent | ContainerRequestEvent | CurrentTimelineChangeEvent | DurationRequestEvent | DurationEvent | FirstFrameEvent | PauseRequestEvent | PauseEvent | PlayRequestEvent | PlayToggleRequestEvent | PlayEvent | RequestCurrentTimelineEvent | ResizeRequestEvent | ResizeEvent | RestartEvent | SeekRequestEvent | SeekEvent | SeekedEvent | StopRequestEvent | StopEvent | TimeEvent | VideoCompleteEvent;
|
|
1830
1858
|
type EventMap = { [K in AllEvents as K['name']]: K extends {
|
|
1831
1859
|
returns: infer R;
|
|
1832
1860
|
} ? [...K['args'], callback?: (result: R) => void] : K['args']; };
|
|
@@ -1843,10 +1871,6 @@ type EventName = keyof EventMap;
|
|
|
1843
1871
|
* The untyped string overloads remain for custom request names.
|
|
1844
1872
|
*/
|
|
1845
1873
|
interface RequestMap {
|
|
1846
|
-
'request-action': {
|
|
1847
|
-
args: RequestActionEvent['args'];
|
|
1848
|
-
returns: RequestActionEvent['returns'];
|
|
1849
|
-
};
|
|
1850
1874
|
'request-current-language': {
|
|
1851
1875
|
args: RequestCurrentLanguageEvent['args'];
|
|
1852
1876
|
returns: RequestCurrentLanguageEvent['returns'];
|
|
@@ -1855,18 +1879,6 @@ interface RequestMap {
|
|
|
1855
1879
|
args: RequestCurrentTimelinePositionEvent['args'];
|
|
1856
1880
|
returns: RequestCurrentTimelinePositionEvent['returns'];
|
|
1857
1881
|
};
|
|
1858
|
-
'request-engine-root': {
|
|
1859
|
-
args: RequestEngineRootEvent['args'];
|
|
1860
|
-
returns: RequestEngineRootEvent['returns'];
|
|
1861
|
-
};
|
|
1862
|
-
'request-function': {
|
|
1863
|
-
args: RequestFunctionEvent['args'];
|
|
1864
|
-
returns: RequestFunctionEvent['returns'];
|
|
1865
|
-
};
|
|
1866
|
-
'request-instance': {
|
|
1867
|
-
args: RequestInstanceEvent['args'];
|
|
1868
|
-
returns: RequestInstanceEvent['returns'];
|
|
1869
|
-
};
|
|
1870
1882
|
'request-translation': {
|
|
1871
1883
|
args: RequestTranslationEvent['args'];
|
|
1872
1884
|
returns: RequestTranslationEvent['returns'];
|
|
@@ -2119,12 +2131,13 @@ declare class DOMEventListenerController$1 implements IController<IDOMEventListe
|
|
|
2119
2131
|
/**
|
|
2120
2132
|
* Looks up the configured actions and starts listening for the DOM event.
|
|
2121
2133
|
*
|
|
2122
|
-
* @param eventbus - The eventbus
|
|
2123
|
-
* @
|
|
2124
|
-
*
|
|
2125
|
-
* DOM event, and keeps the
|
|
2134
|
+
* @param eventbus - The eventbus the actions report errors on
|
|
2135
|
+
* @param services - The engine services to look the actions up in
|
|
2136
|
+
* @throws when an action name is unknown; the message names the
|
|
2137
|
+
* controller, the action and the DOM event, and keeps the "did you mean"
|
|
2138
|
+
* hint
|
|
2126
2139
|
*/
|
|
2127
|
-
attach(eventbus: IEventbus): void;
|
|
2140
|
+
attach(eventbus: IEventbus, services: IEngineServices): void;
|
|
2128
2141
|
private _eventHandler;
|
|
2129
2142
|
/**
|
|
2130
2143
|
* Removes only the handler this controller registered, so other handlers for
|
|
@@ -2224,13 +2237,13 @@ declare class KeyboardController$1 implements IController<IKeyboardControllerOpe
|
|
|
2224
2237
|
/**
|
|
2225
2238
|
* Looks up the configured actions and starts listening for the keys.
|
|
2226
2239
|
*
|
|
2227
|
-
* @param eventbus - The eventbus
|
|
2228
|
-
*
|
|
2229
|
-
*
|
|
2230
|
-
*
|
|
2231
|
-
* keys, and keeps the
|
|
2240
|
+
* @param eventbus - The eventbus the actions report errors on
|
|
2241
|
+
* @param services - The engine services to look the actions and the engine
|
|
2242
|
+
* root up in
|
|
2243
|
+
* @throws when an action name is unknown; the message names the
|
|
2244
|
+
* controller, the action and the keys, and keeps the "did you mean" hint
|
|
2232
2245
|
*/
|
|
2233
|
-
attach(eventbus: IEventbus): void;
|
|
2246
|
+
attach(eventbus: IEventbus, services: IEngineServices): void;
|
|
2234
2247
|
/**
|
|
2235
2248
|
* Removes only the handler this controller bound, so other bindings of the
|
|
2236
2249
|
* same keys keep working, and resets the action instances so a later
|
|
@@ -2239,7 +2252,7 @@ declare class KeyboardController$1 implements IController<IKeyboardControllerOpe
|
|
|
2239
2252
|
detach(_eventbus: IEventbus): void;
|
|
2240
2253
|
private _handleKey;
|
|
2241
2254
|
private _trigger;
|
|
2242
|
-
private
|
|
2255
|
+
private _engineRootElement;
|
|
2243
2256
|
/**
|
|
2244
2257
|
* @returns The keys with `' '` replaced by `space`
|
|
2245
2258
|
* @throws when the keys are empty or name a key hotkeys-js can't match
|
|
@@ -2308,7 +2321,7 @@ declare abstract class BaseController<T extends TOperationData> implements ICont
|
|
|
2308
2321
|
*/
|
|
2309
2322
|
detach(_eventbus: IEventbus): void;
|
|
2310
2323
|
abstract init(operationData: T): void;
|
|
2311
|
-
abstract attach(eventbus: IEventbus): Promise<any> | void;
|
|
2324
|
+
abstract attach(eventbus: IEventbus, services: IEngineServices): Promise<any> | void;
|
|
2312
2325
|
}
|
|
2313
2326
|
interface ILabelControllerMetadata {
|
|
2314
2327
|
/**
|
|
@@ -2674,9 +2687,10 @@ declare class NavigationController$1 extends BaseController<INavigationControlle
|
|
|
2674
2687
|
navLookup: Record<string, any>;
|
|
2675
2688
|
navVidIdLookup: Record<string, any>;
|
|
2676
2689
|
ctrlLookup: Record<string, LabelController$1>;
|
|
2677
|
-
activeNavigationPoint: any
|
|
2690
|
+
activeNavigationPoint: any;
|
|
2678
2691
|
labelControllers: LabelController$1[];
|
|
2679
2692
|
eventbus: IEventbus | null;
|
|
2693
|
+
services: IEngineServices | null;
|
|
2680
2694
|
container: JQuery | null;
|
|
2681
2695
|
private _menuElement;
|
|
2682
2696
|
private _anchorLookup;
|
|
@@ -2687,7 +2701,7 @@ declare class NavigationController$1 extends BaseController<INavigationControlle
|
|
|
2687
2701
|
* navigation id in roots, nextId or children
|
|
2688
2702
|
*/
|
|
2689
2703
|
init(operationData: INavigationControllerOperationData): void;
|
|
2690
|
-
attach(eventbus: IEventbus): void;
|
|
2704
|
+
attach(eventbus: IEventbus, services: IEngineServices): void;
|
|
2691
2705
|
/**
|
|
2692
2706
|
* Sets the active navigation point and the menu highlight from the URL hash,
|
|
2693
2707
|
* falling back to the item with videoUrlIndex 0 when the hash is missing or
|
|
@@ -3399,8 +3413,8 @@ interface ICustomFunctionOperationData {
|
|
|
3399
3413
|
* This operation retrieves a custom function defined by the given system name
|
|
3400
3414
|
* and invokes it with the current operation data and eventbus.
|
|
3401
3415
|
*
|
|
3402
|
-
* The function is looked up with
|
|
3403
|
-
*
|
|
3416
|
+
* The function is looked up with `this.services.getImport`, which answers from
|
|
3417
|
+
* the engine's resource importer. Register the function
|
|
3404
3418
|
* with the `EligiusResourceImporter` constructor:
|
|
3405
3419
|
* `new EligiusResourceImporter({functions: {myFunction}})`.
|
|
3406
3420
|
*
|
|
@@ -3560,7 +3574,7 @@ interface IFindInArrayOperationData {
|
|
|
3560
3574
|
/**
|
|
3561
3575
|
* @output
|
|
3562
3576
|
*/
|
|
3563
|
-
foundItem?: any
|
|
3577
|
+
foundItem?: any;
|
|
3564
3578
|
/**
|
|
3565
3579
|
* @output
|
|
3566
3580
|
*/
|
|
@@ -3911,8 +3925,8 @@ interface IGetImportOperationData {
|
|
|
3911
3925
|
* This operation retrieves the import specified by the given `systemName` and
|
|
3912
3926
|
* assigns it to the `importedInstance` property on the current operaton date.
|
|
3913
3927
|
*
|
|
3914
|
-
* The import is looked up with
|
|
3915
|
-
*
|
|
3928
|
+
* The import is looked up with `this.services.getImport`, which answers from
|
|
3929
|
+
* the engine's resource importer. Functions, templates
|
|
3916
3930
|
* and JSON registered with the `EligiusResourceImporter` constructor
|
|
3917
3931
|
* (`new EligiusResourceImporter({json: {settings}})`) can be imported this
|
|
3918
3932
|
* way, as can every built-in operation, controller and provider export.
|
|
@@ -4397,14 +4411,16 @@ interface IMapArrayOperationData {
|
|
|
4397
4411
|
*/
|
|
4398
4412
|
declare const mapArray$1: TOperation<IMapArrayOperationData, Omit<IMapArrayOperationData, 'mapFunction'>>;
|
|
4399
4413
|
type MathFunctionKeys = { [K in keyof Math]: Math[K] extends ((...args: any) => any) ? K : never; }[keyof Math];
|
|
4400
|
-
type MathNonFunctionKeys = { [K in keyof Math]: Math[K] extends ((...args: any) => any) ? never : K; }[keyof Math];
|
|
4401
4414
|
interface IMathOperationData {
|
|
4402
4415
|
/**
|
|
4416
|
+
* Numbers, property chains, or names of Math constants
|
|
4417
|
+
* ({@link MathNonFunctionKeys}).
|
|
4418
|
+
*
|
|
4403
4419
|
* @type=ParameterType:array
|
|
4404
4420
|
* @required
|
|
4405
4421
|
* @erased
|
|
4406
4422
|
*/
|
|
4407
|
-
args: (number | string
|
|
4423
|
+
args: (number | string)[];
|
|
4408
4424
|
/**
|
|
4409
4425
|
* @type=ParameterType:mathfunction
|
|
4410
4426
|
* @required
|
|
@@ -4663,7 +4679,7 @@ interface IRequestActionOperationData {
|
|
|
4663
4679
|
*
|
|
4664
4680
|
* @category Action
|
|
4665
4681
|
*/
|
|
4666
|
-
declare const requestAction$
|
|
4682
|
+
declare const requestAction$1: TOperation<IRequestActionOperationData, Omit<Required<IRequestActionOperationData>, 'systemName'>>;
|
|
4667
4683
|
type StorageType = 'local' | 'session';
|
|
4668
4684
|
interface ISaveToStorageOperationData {
|
|
4669
4685
|
/**
|
|
@@ -5467,7 +5483,7 @@ interface IWhenOperationData {
|
|
|
5467
5483
|
*/
|
|
5468
5484
|
declare const when$1: TOperation<IWhenOperationData, Omit<IWhenOperationData, 'expression'>>;
|
|
5469
5485
|
declare namespace index_d_exports$3 {
|
|
5470
|
-
export { ExtractOperationData, ExtractReturnedOperationData, IAddClassOperationData, IAddControllerToElementOperationData, IAnimateOperationData, IAnimateWithClassOperationData, IAnnounceToScreenReaderOperationData, IBroadcastEventOperationData, ICalcOperationData, IClearElementOperationData, IClearOperationDataOperationData, IClearStorageOperationData, ICompareDateOperationData, IConcatenateStringsOperationData, ICreateElementOperationData, ICustomFunctionOperationData, IEndActionOperationData, IExtendControllerOperationData, IFilterArrayOperationData, IFindInArrayOperationData, IForEachOperationData, IFormatDateOperationData, IFormatTextOperationData, IGetAttributesFromElementOperationData, IGetControllerFromElementOperationData, IGetControllerInstanceOperationData, IGetCurrentTimeOperationData, IGetElementDimensionsOperationData, IGetFocusedElementOperationData, IGetFormDataOperationData, IGetImportOperationData, IGetQueryParamsOperationData, IGetScrollPositionOperationData, IGetTextContentOperationData, IHttpDeleteOperationData, IHttpPostOperationData, IHttpPutOperationData, IInvokeObjectMethodOperationData, IIsElementInViewportOperationData, ILoadFromStorageOperationData, ILoadJSONOperationData, ILogOperationData, IMapArrayOperationData, IMathOperationData, IOperationScope, IRemoveClassOperationData, IRemoveControllerFromElementOperationData, IRemoveElementOperationData, IRemovePropertiesFromOperationDataOperationData, IReparentElementOperationData, IReplaceStringOperationData, IReplaceTextOperationData, IRequestActionOperationData, ISaveToStorageOperationData, IScrollToElementOperationData, IScrollToPositionOperationData, ISelectElementOperationData, ISetDataOperationData, ISetElementAttributesOperationData, ISetElementContentOperationData, ISetFocusOperationData, ISetFormValueOperationData, ISetGlobalDataOperationData, ISetOperationData, ISetStyleOperationData, ISetVariableOperationData, ISortArrayOperationData, ISplitStringOperationData, IStartActionOperationData, ISubstringTextOperationData, IToggleClassOperationData, IToggleElementOperationData, IToggleFormElementOperationData, IValidateFormOperationData, IWaitOperationData, IWhenOperationData, StorageType$2 as StorageType, TOperation, TOperationData, TOperationResult, addClass$1 as addClass, addControllerToElement$1 as addControllerToElement, addGlobalsToOperation$1 as addGlobalsToOperation, animate$1 as animate, animateWithClass$1 as animateWithClass, announceToScreenReader$1 as announceToScreenReader, breakForEach$1 as breakForEach, broadcastEvent$1 as broadcastEvent, calc$1 as calc, clearElement$1 as clearElement, clearOperationData$1 as clearOperationData, clearStorage$1 as clearStorage, compareDate$1 as compareDate, concatenateStrings$1 as concatenateStrings, continueForEach$1 as continueForEach, createElement$1 as createElement, customFunction$1 as customFunction, endAction$1 as endAction, endForEach$1 as endForEach, endWhen$1 as endWhen, extendController$1 as extendController, filterArray$1 as filterArray, findInArray$1 as findInArray, forEach$1 as forEach, formatDate$1 as formatDate, formatText$1 as formatText, getAttributesFromElement$1 as getAttributesFromElement, getControllerFromElement$1 as getControllerFromElement, getControllerInstance$1 as getControllerInstance, getCurrentTime$1 as getCurrentTime, getElementDimensions$1 as getElementDimensions, getFocusedElement$1 as getFocusedElement, getFormData$1 as getFormData, getImport$1 as getImport, getQueryParams$1 as getQueryParams, getScrollPosition$1 as getScrollPosition, getTextContent$1 as getTextContent, httpDelete$1 as httpDelete, httpPost$1 as httpPost, httpPut$1 as httpPut, invokeObjectMethod$1 as invokeObjectMethod, isElementInViewport$1 as isElementInViewport, loadFromStorage$1 as loadFromStorage, loadJson$1 as loadJson, log$1 as log, mapArray$1 as mapArray, math$1 as math, otherwise$1 as otherwise, removeClass$1 as removeClass, removeControllerFromElement$1 as removeControllerFromElement, removeElement$1 as removeElement, removePropertiesFromOperationData$1 as removePropertiesFromOperationData, reparentElement$1 as reparentElement, replaceString$1 as replaceString, replaceText$1 as replaceText, requestAction$
|
|
5486
|
+
export { ExtractOperationData, ExtractReturnedOperationData, IAddClassOperationData, IAddControllerToElementOperationData, IAnimateOperationData, IAnimateWithClassOperationData, IAnnounceToScreenReaderOperationData, IBroadcastEventOperationData, ICalcOperationData, IClearElementOperationData, IClearOperationDataOperationData, IClearStorageOperationData, ICompareDateOperationData, IConcatenateStringsOperationData, ICreateElementOperationData, ICustomFunctionOperationData, IEndActionOperationData, IExtendControllerOperationData, IFilterArrayOperationData, IFindInArrayOperationData, IForEachOperationData, IFormatDateOperationData, IFormatTextOperationData, IGetAttributesFromElementOperationData, IGetControllerFromElementOperationData, IGetControllerInstanceOperationData, IGetCurrentTimeOperationData, IGetElementDimensionsOperationData, IGetFocusedElementOperationData, IGetFormDataOperationData, IGetImportOperationData, IGetQueryParamsOperationData, IGetScrollPositionOperationData, IGetTextContentOperationData, IHttpDeleteOperationData, IHttpPostOperationData, IHttpPutOperationData, IInvokeObjectMethodOperationData, IIsElementInViewportOperationData, ILoadFromStorageOperationData, ILoadJSONOperationData, ILogOperationData, IMapArrayOperationData, IMathOperationData, IOperationScope, IRemoveClassOperationData, IRemoveControllerFromElementOperationData, IRemoveElementOperationData, IRemovePropertiesFromOperationDataOperationData, IReparentElementOperationData, IReplaceStringOperationData, IReplaceTextOperationData, IRequestActionOperationData, ISaveToStorageOperationData, IScrollToElementOperationData, IScrollToPositionOperationData, ISelectElementOperationData, ISetDataOperationData, ISetElementAttributesOperationData, ISetElementContentOperationData, ISetFocusOperationData, ISetFormValueOperationData, ISetGlobalDataOperationData, ISetOperationData, ISetStyleOperationData, ISetVariableOperationData, ISortArrayOperationData, ISplitStringOperationData, IStartActionOperationData, ISubstringTextOperationData, IToggleClassOperationData, IToggleElementOperationData, IToggleFormElementOperationData, IValidateFormOperationData, IWaitOperationData, IWhenOperationData, StorageType$2 as StorageType, TOperation, TOperationData, TOperationResult, addClass$1 as addClass, addControllerToElement$1 as addControllerToElement, addGlobalsToOperation$1 as addGlobalsToOperation, animate$1 as animate, animateWithClass$1 as animateWithClass, announceToScreenReader$1 as announceToScreenReader, breakForEach$1 as breakForEach, broadcastEvent$1 as broadcastEvent, calc$1 as calc, clearElement$1 as clearElement, clearOperationData$1 as clearOperationData, clearStorage$1 as clearStorage, compareDate$1 as compareDate, concatenateStrings$1 as concatenateStrings, continueForEach$1 as continueForEach, createElement$1 as createElement, customFunction$1 as customFunction, endAction$1 as endAction, endForEach$1 as endForEach, endWhen$1 as endWhen, extendController$1 as extendController, filterArray$1 as filterArray, findInArray$1 as findInArray, forEach$1 as forEach, formatDate$1 as formatDate, formatText$1 as formatText, getAttributesFromElement$1 as getAttributesFromElement, getControllerFromElement$1 as getControllerFromElement, getControllerInstance$1 as getControllerInstance, getCurrentTime$1 as getCurrentTime, getElementDimensions$1 as getElementDimensions, getFocusedElement$1 as getFocusedElement, getFormData$1 as getFormData, getImport$1 as getImport, getQueryParams$1 as getQueryParams, getScrollPosition$1 as getScrollPosition, getTextContent$1 as getTextContent, httpDelete$1 as httpDelete, httpPost$1 as httpPost, httpPut$1 as httpPut, invokeObjectMethod$1 as invokeObjectMethod, isElementInViewport$1 as isElementInViewport, loadFromStorage$1 as loadFromStorage, loadJson$1 as loadJson, log$1 as log, mapArray$1 as mapArray, math$1 as math, otherwise$1 as otherwise, removeClass$1 as removeClass, removeControllerFromElement$1 as removeControllerFromElement, removeElement$1 as removeElement, removePropertiesFromOperationData$1 as removePropertiesFromOperationData, reparentElement$1 as reparentElement, replaceString$1 as replaceString, replaceText$1 as replaceText, requestAction$1 as requestAction, saveToStorage$1 as saveToStorage, scrollToElement$1 as scrollToElement, scrollToPosition$1 as scrollToPosition, selectElement$1 as selectElement, setData$1 as setData, setElementAttributes$1 as setElementAttributes, setElementContent$1 as setElementContent, setFocus$1 as setFocus, setFormValue$1 as setFormValue, setGlobalData$1 as setGlobalData, setOperationData$1 as setOperationData, setStyle$1 as setStyle, setVariable$1 as setVariable, sortArray$1 as sortArray, splitString$1 as splitString, startAction$1 as startAction, substringText$1 as substringText, toggleClass$1 as toggleClass, toggleElement$1 as toggleElement, toggleFormElement$1 as toggleFormElement, validateForm$1 as validateForm, wait$1 as wait, when$1 as when };
|
|
5471
5487
|
}
|
|
5472
5488
|
/**
|
|
5473
5489
|
* Represents a language option for the available languages list.
|
|
@@ -5948,6 +5964,7 @@ declare class Action implements IAction {
|
|
|
5948
5964
|
name: string;
|
|
5949
5965
|
startOperations: IResolvedOperation[];
|
|
5950
5966
|
protected eventbus: IEventbus;
|
|
5967
|
+
protected services: IEngineServices;
|
|
5951
5968
|
id: string;
|
|
5952
5969
|
/**
|
|
5953
5970
|
* Scope stack used by {@link executeOperation} when it is called without an
|
|
@@ -5964,7 +5981,7 @@ declare class Action implements IAction {
|
|
|
5964
5981
|
* again instead of deep-copying the collection on every iteration.
|
|
5965
5982
|
*/
|
|
5966
5983
|
private _loopOperationData;
|
|
5967
|
-
constructor(name: string, startOperations: IResolvedOperation[], eventbus: IEventbus);
|
|
5984
|
+
constructor(name: string, startOperations: IResolvedOperation[], eventbus: IEventbus, services: IEngineServices);
|
|
5968
5985
|
/**
|
|
5969
5986
|
* Runs the start operations.
|
|
5970
5987
|
*
|
|
@@ -6003,11 +6020,11 @@ declare class Action implements IAction {
|
|
|
6003
6020
|
* the number of executed operations (large `forEach` loops are safe). When an
|
|
6004
6021
|
* operation returns a promise, execution continues once it resolves.
|
|
6005
6022
|
*/
|
|
6006
|
-
executeOperation(operations: IResolvedOperation[], operationIndex: number, resolve: (value?: any
|
|
6023
|
+
executeOperation(operations: IResolvedOperation[], operationIndex: number, resolve: (value?: any) => void, reject: (reason?: any) => void, previousOperationData?: TOperationData | undefined, scopeStack?: IOperationScope[]): void;
|
|
6007
6024
|
}
|
|
6008
6025
|
declare class EndableAction extends Action {
|
|
6009
6026
|
endOperations: IResolvedOperation[];
|
|
6010
|
-
constructor(name: string, startOperations: IResolvedOperation[], endOperations: IResolvedOperation[], eventBus: IEventbus);
|
|
6027
|
+
constructor(name: string, startOperations: IResolvedOperation[], endOperations: IResolvedOperation[], eventBus: IEventbus, services: IEngineServices);
|
|
6011
6028
|
/**
|
|
6012
6029
|
* Runs the end operations.
|
|
6013
6030
|
*
|
|
@@ -6039,7 +6056,7 @@ declare class TimelineAction extends EndableAction implements ITimelineAction {
|
|
|
6039
6056
|
* while playing, a revisited key) is a no-op.
|
|
6040
6057
|
*/
|
|
6041
6058
|
get active(): boolean;
|
|
6042
|
-
constructor(name: string, startOperations: IResolvedOperation[], endOperations: IResolvedOperation[], duration: IStrictDuration, eventBus: IEventbus);
|
|
6059
|
+
constructor(name: string, startOperations: IResolvedOperation[], endOperations: IResolvedOperation[], duration: IStrictDuration, eventBus: IEventbus, services: IEngineServices);
|
|
6043
6060
|
/**
|
|
6044
6061
|
* Starts the action, unless it is already active.
|
|
6045
6062
|
*
|
|
@@ -6340,7 +6357,7 @@ declare function removePropertiesFromOperationData(): IOperationMetadata<IRemove
|
|
|
6340
6357
|
declare function reparentElement(): IOperationMetadata<IReparentElementOperationData>;
|
|
6341
6358
|
declare function replaceString(): IOperationMetadata<IReplaceStringOperationData>;
|
|
6342
6359
|
declare function replaceText(): IOperationMetadata<IReplaceTextOperationData>;
|
|
6343
|
-
declare function requestAction
|
|
6360
|
+
declare function requestAction(): IOperationMetadata<IRequestActionOperationData>;
|
|
6344
6361
|
declare function saveToStorage(): IOperationMetadata<ISaveToStorageOperationData>;
|
|
6345
6362
|
declare function scrollToElement(): IOperationMetadata<IScrollToElementOperationData>;
|
|
6346
6363
|
declare function scrollToPosition(): IOperationMetadata<IScrollToPositionOperationData>;
|
|
@@ -6365,7 +6382,7 @@ declare function validateForm(): IOperationMetadata<IValidateFormOperationData>;
|
|
|
6365
6382
|
declare function wait(): IOperationMetadata<IWaitOperationData>;
|
|
6366
6383
|
declare function when(): IOperationMetadata<IWhenOperationData>;
|
|
6367
6384
|
declare namespace index_d_exports$2 {
|
|
6368
|
-
export { IOperationMetadata, TArrayProperyMetadata, TComplexPropertyMetadata, TConstantParametersTypes, THasDescription, THasErased, THasRequired, TOperationCategory, TParameterTypeName, TParameterTypes, TParameterTypesDelimited, TPropertiesMetadata, TPropertyMetadata, addClass, addControllerToElement, addGlobalsToOperation, animate, animateWithClass, announceToScreenReader, breakForEach, broadcastEvent, calc, clearElement, clearOperationData, clearStorage, compareDate, concatenateStrings, continueForEach, createElement, customFunction, endAction, endForEach, endWhen, extendController, filterArray, findInArray, forEach, formatDate, formatText, getAttributesFromElement, getControllerFromElement, getControllerInstance, getCurrentTime, getElementDimensions, getFocusedElement, getFormData, getImport, getQueryParams, getScrollPosition, getTextContent, httpDelete, httpPost, httpPut, invokeObjectMethod, isElementInViewport, loadFromStorage, loadJson, log, mapArray, math, otherwise, removeClass, removeControllerFromElement, removeElement, removePropertiesFromOperationData, reparentElement, replaceString, replaceText, requestAction
|
|
6385
|
+
export { IOperationMetadata, TArrayProperyMetadata, TComplexPropertyMetadata, TConstantParametersTypes, THasDescription, THasErased, THasRequired, TOperationCategory, TParameterTypeName, TParameterTypes, TParameterTypesDelimited, TPropertiesMetadata, TPropertyMetadata, addClass, addControllerToElement, addGlobalsToOperation, animate, animateWithClass, announceToScreenReader, breakForEach, broadcastEvent, calc, clearElement, clearOperationData, clearStorage, compareDate, concatenateStrings, continueForEach, createElement, customFunction, endAction, endForEach, endWhen, extendController, filterArray, findInArray, forEach, formatDate, formatText, getAttributesFromElement, getControllerFromElement, getControllerInstance, getCurrentTime, getElementDimensions, getFocusedElement, getFormData, getImport, getQueryParams, getScrollPosition, getTextContent, httpDelete, httpPost, httpPut, invokeObjectMethod, isElementInViewport, loadFromStorage, loadJson, log, mapArray, math, otherwise, removeClass, removeControllerFromElement, removeElement, removePropertiesFromOperationData, reparentElement, replaceString, replaceText, requestAction, saveToStorage, scrollToElement, scrollToPosition, selectElement, setData, setElementAttributes, setElementContent, setFocus, setFormValue, setGlobalData, setOperationData, setStyle, setVariable, sortArray, splitString, startAction, substringText, toggleClass, toggleElement, toggleFormElement, validateForm, wait, when };
|
|
6369
6386
|
}
|
|
6370
6387
|
/**
|
|
6371
6388
|
* Takes an `IEngineConfiguration` instance and return an `IResolvedEngineConfiguration`.
|
|
@@ -6407,14 +6424,16 @@ declare namespace index_d_exports$2 {
|
|
|
6407
6424
|
declare class ConfigurationResolver implements IConfigurationResolver {
|
|
6408
6425
|
private importer;
|
|
6409
6426
|
private eventbus;
|
|
6427
|
+
private services;
|
|
6410
6428
|
private readonly _warn;
|
|
6411
6429
|
/**
|
|
6412
6430
|
* @param importer - Resolves system names to operations, controllers and providers
|
|
6413
6431
|
* @param eventbus - The eventbus the resolved actions run on
|
|
6432
|
+
* @param services - The services of the engine the resolved actions run in
|
|
6414
6433
|
* @param options - Optional. `onWarning` receives the configuration
|
|
6415
6434
|
* warnings instead of the console.
|
|
6416
6435
|
*/
|
|
6417
|
-
constructor(importer: ISimpleResourceImporter, eventbus: IEventbus, options?: IConfigurationResolverOptions);
|
|
6436
|
+
constructor(importer: ISimpleResourceImporter, eventbus: IEventbus, services: IEngineServices, options?: IConfigurationResolverOptions);
|
|
6418
6437
|
process(configuration: IEngineConfiguration, actionRegistryListener?: ActionRegistryEventbusListener): [Record<string, IAction>, IResolvedEngineConfiguration];
|
|
6419
6438
|
}
|
|
6420
6439
|
type IControllerMetadata<T> = {
|
|
@@ -6443,14 +6462,10 @@ declare function highlightNavigation(): IEventMetadata<HighlightNavigationEvent[
|
|
|
6443
6462
|
declare function languageChange(): IEventMetadata<LanguageChangeEvent['args']>;
|
|
6444
6463
|
declare function navigateToVideoUrl(): IEventMetadata<NavigateToVideoUrlEvent['args']>;
|
|
6445
6464
|
declare function pushHistoryState(): IEventMetadata<PushHistoryStateEvent['args']>;
|
|
6446
|
-
declare function requestAction(): IEventMetadata<RequestActionEvent['args']>;
|
|
6447
6465
|
declare function requestCurrentLanguage(): IEventMetadata<RequestCurrentLanguageEvent['args']>;
|
|
6448
6466
|
declare function requestCurrentNavigation(): IEventMetadata<RequestCurrentNavigationEvent['args']>;
|
|
6449
6467
|
declare function requestCurrentTimelinePosition(): IEventMetadata<RequestCurrentTimelinePositionEvent['args']>;
|
|
6450
6468
|
declare function requestCurrentVideoPosition(): IEventMetadata<RequestCurrentVideoPositionEvent['args']>;
|
|
6451
|
-
declare function requestEngineRoot(): IEventMetadata<RequestEngineRootEvent['args']>;
|
|
6452
|
-
declare function requestFunction(): IEventMetadata<RequestFunctionEvent['args']>;
|
|
6453
|
-
declare function requestInstance(): IEventMetadata<RequestInstanceEvent['args']>;
|
|
6454
6469
|
declare function requestLabelCollection(): IEventMetadata<RequestLabelCollectionEvent['args']>;
|
|
6455
6470
|
declare function requestLabelCollections(): IEventMetadata<RequestLabelCollectionsEvent['args']>;
|
|
6456
6471
|
declare function requestTimelineCleanup(): IEventMetadata<RequestTimelineCleanupEvent['args']>;
|
|
@@ -6481,7 +6496,7 @@ declare function timelineStop(): IEventMetadata<StopEvent['args']>;
|
|
|
6481
6496
|
declare function timelineTime(): IEventMetadata<TimeEvent['args']>;
|
|
6482
6497
|
declare function videoComplete(): IEventMetadata<VideoCompleteEvent['args']>;
|
|
6483
6498
|
declare namespace index_d_exports {
|
|
6484
|
-
export { IEventMetadata, beforeRequestTimelineUri, beforeRequestVideoUrl, domMutation, engineCommandError, engineError, highlightNavigation, languageChange, navigateToVideoUrl, pushHistoryState,
|
|
6499
|
+
export { IEventMetadata, beforeRequestTimelineUri, beforeRequestVideoUrl, domMutation, engineCommandError, engineError, highlightNavigation, languageChange, navigateToVideoUrl, pushHistoryState, requestCurrentLanguage, requestCurrentNavigation, requestCurrentTimelinePosition, requestCurrentVideoPosition, requestLabelCollection, requestLabelCollections, requestTimelineCleanup, requestTimelineUri, requestTranslation, requestVideoCleanup, requestVideoUrl, timelineComplete, timelineContainerRequest, timelineCurrentTimelineChange, timelineDuration, timelineDurationRequest, timelineFirstframe, timelinePause, timelinePauseRequest, timelinePlay, timelinePlayRequest, timelinePlayToggleRequest, timelineRequestCurrentTimeline, timelineResize, timelineResizeRequest, timelineRestart, timelineSeek, timelineSeekRequest, timelineSeeked, timelineStop, timelineStopRequest, timelineTime, videoComplete };
|
|
6485
6500
|
}
|
|
6486
6501
|
/**
|
|
6487
6502
|
* Creates a resource importer that provides exactly the resources it is
|
|
@@ -7686,6 +7701,7 @@ declare class EngineActionError extends Error implements IEngineActionError {
|
|
|
7686
7701
|
readonly phase: TActionPhase;
|
|
7687
7702
|
readonly operationSystemName?: string;
|
|
7688
7703
|
readonly operationIndex?: number;
|
|
7704
|
+
readonly operationPath?: readonly IOperationPathEntry[];
|
|
7689
7705
|
readonly cause: unknown;
|
|
7690
7706
|
/**
|
|
7691
7707
|
* @param action - The failing action
|
|
@@ -8047,7 +8063,6 @@ declare class EligiusEngine implements IEligiusEngine {
|
|
|
8047
8063
|
* does not use it. Will be removed in the next major version.
|
|
8048
8064
|
*/
|
|
8049
8065
|
static sortActionsPerPosition(actions: ActionMethod[]): ActionMethod[];
|
|
8050
|
-
private _handleRequestEngineRoot;
|
|
8051
8066
|
private _getActiveActions;
|
|
8052
8067
|
/**
|
|
8053
8068
|
* Answers with {@link position}, like the `request()` responder of
|
|
@@ -8158,8 +8173,6 @@ declare class EngineFactory implements IEngineFactory {
|
|
|
8158
8173
|
* An engine's destroy() removes its own; factory.destroy() the rest.
|
|
8159
8174
|
*/
|
|
8160
8175
|
private _eventRemovers;
|
|
8161
|
-
/** Action lookups of the live engines, oldest first */
|
|
8162
|
-
private _actionLookups;
|
|
8163
8176
|
/** Live engines on the shared eventbus */
|
|
8164
8177
|
private _liveSharedEngines;
|
|
8165
8178
|
private _importer;
|
|
@@ -8178,15 +8191,6 @@ declare class EngineFactory implements IEngineFactory {
|
|
|
8178
8191
|
*/
|
|
8179
8192
|
destroy(): void;
|
|
8180
8193
|
private _importSystemEntry;
|
|
8181
|
-
/**
|
|
8182
|
-
* Registers the 'request-instance', 'request-action' and
|
|
8183
|
-
* 'request-function' responders on an eventbus. Instances are constructed
|
|
8184
|
-
* with that eventbus. 'request-action' throws for an unknown action name,
|
|
8185
|
-
* with a "did you mean" hint built from `knownActions`.
|
|
8186
|
-
*/
|
|
8187
|
-
private _registerResponders;
|
|
8188
|
-
private _findLiveAction;
|
|
8189
|
-
private _liveActionNames;
|
|
8190
8194
|
/**
|
|
8191
8195
|
* Creates a fully wired engine with adapters and event handlers.
|
|
8192
8196
|
*
|
|
@@ -8207,13 +8211,16 @@ declare class EngineFactory implements IEngineFactory {
|
|
|
8207
8211
|
* `engine.destroy()`) aborts loads that are still pending, disconnects the
|
|
8208
8212
|
* adapters and removes the engine's eventbus registrations.
|
|
8209
8213
|
*
|
|
8214
|
+
* Each engine gets its own {@link EngineServices}: its actions and
|
|
8215
|
+
* operations look up actions, imports and the engine root there, never on
|
|
8216
|
+
* the eventbus, so they always resolve against their own engine.
|
|
8217
|
+
*
|
|
8210
8218
|
* @param configuration - The engine configuration
|
|
8211
|
-
* @param resolver - Optional custom configuration resolver
|
|
8212
8219
|
* @returns Engine result with engine, locale manager, eventbus, and destroy function
|
|
8213
8220
|
* @throws Error when the configuration cannot be resolved or a provider
|
|
8214
8221
|
* cannot be created
|
|
8215
8222
|
*/
|
|
8216
|
-
createEngine(configuration: IEngineConfiguration
|
|
8223
|
+
createEngine(configuration: IEngineConfiguration): IEngineFactoryResult;
|
|
8217
8224
|
/**
|
|
8218
8225
|
* Loads the configured locales into the locale manager.
|
|
8219
8226
|
*
|
|
@@ -8533,5 +8540,4 @@ declare class LocaleManager implements ILocaleManager {
|
|
|
8533
8540
|
*/
|
|
8534
8541
|
private _emit;
|
|
8535
8542
|
}
|
|
8536
|
-
export { IAction as $, IContainerProvider as $a, TEventbusErrorSource as $i, IInvokeObjectMethodOperationData as $n, CompleteEvent as $o, compareDate$1 as $r, ISetStyleOperationData as $t, index_d_exports$2 as A, KeysOfType as Aa, INavigationControllerOperationData as Ai, reparentElement$1 as An, RequestVideoUriInterceptor as Ao, formatText$1 as Ar, TTimelineProviderSettings as At, TParameterTypes as B, ILocaleLoadResult as Ba, KeyboardController$1 as Bi, IMathOperationData as Bn, ResizeRequestEvent as Bo, extendController$1 as Br, toggleElement$1 as Bt, BasePositionSource as C, IImporterResources as Ca, addClass$1 as Ci, IRequestActionOperationData as Cn, TLottieRendererConfig as Co, IGetControllerInstanceOperationData as Cr, BeforeRequestVideoUrlEvent as Cs, ITimelineFlow as Ct, index_d_exports$1 as D, ISubtitle as Da, RoutingController$1 as Di, IReplaceStringOperationData as Dn, TOperation as Do, IGetAttributesFromElementOperationData as Dr, TControllerType as Dt, index_d_exports as E, IStrictDuration as Ea, IRoutingControllerOperationData as Ei, replaceText$1 as En, IOperationScope as Eo, getControllerFromElement$1 as Er, TControllerName as Et, THasDescription as F, TEngineInputScope as Fa, ILottieControllerMetadata as Fi, IRemoveControllerFromElementOperationData as Fn, StopEvent as Fo, IFindInArrayOperationData as Fr, IValidateFormOperationData as Ft, LocaleEventbusAdapter as G, ILocaleReference as Ga, IEventbusErrorContext as Gi, log$1 as Gn, PlayEvent as Go, ICustomFunctionOperationData as Gr, IStartActionOperationData as Gt, TPropertiesMetadata as H, ILocaleLoaderOptions as Ha, DOMEventListenerController$1 as Hi, IMapArrayOperationData as Hn, RequestCurrentTimelineEvent as Ho, endForEach$1 as Hr, toggleClass$1 as Ht, THasErased as I, TProviderClass as Ia, LottieController$1 as Ii, removeControllerFromElement$1 as In, SeekedEvent as Io, findInArray$1 as Ir, validateForm$1 as It, EngineEventbusAdapter as J, TLanguageCode as Ja, IEventbusListener as Ji, loadJson$1 as Jn, FirstFrameEvent as Jo, createElement$1 as Jr, splitString$1 as Jt, EngineInputAdapter as K, ILocalesConfiguration as Ka, IEventbusErrorReport as Ki, ILoadJSONOperationData as Kn, PauseRequestEvent as Ko, customFunction$1 as Kr, startAction$1 as Kt, THasRequired as L, TRegisteredResourceKind as La, ILabelControllerMetadata as Li, IRemoveClassOperationData as Ln, SeekRequestEvent as Lo, IFilterArrayOperationData as Lr, IToggleFormElementOperationData as Lt, TArrayProperyMetadata as M, TActionPhase as Ma, IMutationEventPayload as Mi, removePropertiesFromOperationData$1 as Mn, VideoCompleteEvent as Mo, formatDate$1 as Mr, when$1 as Mt, TComplexPropertyMetadata as N, TControllerClass as Na, IMutationObserverControllerMetadata as Ni, IRemoveElementOperationData as Nn, TimeEvent as No, IForEachOperationData as Nr, IWaitOperationData as Nt, IControllerMetadata as O, ISubtitleCollection as Oa, IProgressbarControllerOperationData as Oi, replaceString$1 as On, TOperationData as Oo, getAttributesFromElement$1 as Or, TOperationName as Ot, TConstantParametersTypes as P, TEngineClass as Pa, MutationObserverController$1 as Pi, removeElement$1 as Pn, StopRequestEvent as Po, forEach$1 as Pr, wait$1 as Pt, Action as Q, isLocaleReference as Qa, TEventbusErrorHandler as Qi, isElementInViewport$1 as Qn, ContainerRequestEvent as Qo, ICompareDateOperationData as Qr, setVariable$1 as Qt, TOperationCategory as R, TResultCallback as Ra, LabelController$1 as Ri, removeClass$1 as Rn, SeekEvent as Ro, filterArray$1 as Rr, toggleFormElement$1 as Rt, TVerticalMode as S, IEngineInputOptions as Sa, IAddClassOperationData as Si, saveToStorage$1 as Sn, TLottieAnimationSegment as So, getCurrentTime$1 as Sr, DomMutationEvent as Ss, ITimelineConfiguration as St, createImporter as T, ISimpleResourceImporter as Ta, SubtitlesController$1 as Ti, IReplaceTextOperationData as Tn, ExtractReturnedOperationData as To, IGetControllerFromElementOperationData as Tr, Operations as Tt, TPropertyMetadata as U, ILocaleManager as Ua, IDOMEventListenerControllerOperationData as Ui, mapArray$1 as Un, PlayToggleRequestEvent as Uo, IEndActionOperationData as Ur, ISubstringTextOperationData as Ut, TParameterTypesDelimited as V, ILocaleLoader as Va, TKeyboardControllerScope as Vi, math$1 as Vn, ResizeEvent as Vo, endWhen$1 as Vr, IToggleClassOperationData as Vt, PARAMETER_TYPES as W, ILocaleManagerOptions as Wa, IEventbus as Wi, ILogOperationData as Wn, PlayRequestEvent as Wo, endAction$1 as Wr, substringText$1 as Wt, TimelineAction as X, TLocaleEntry as Xa, RequestName as Xi, loadFromStorage$1 as Xn, DurationEvent as Xo, IConcatenateStringsOperationData as Xr, sortArray$1 as Xt, IAdapter as Y, TLocaleData as Ya, IEventbusOptions as Yi, ILoadFromStorageOperationData as Yn, DurationRequestEvent as Yo, continueForEach$1 as Yr, ISortArrayOperationData as Yt, EndableAction as Z, TLocaleValue as Za, TEventHandler as Zi, IIsElementInViewportOperationData as Zn, CurrentTimelineChangeEvent as Zo, concatenateStrings$1 as Zr, ISetVariableOperationData as Zt, ScrollPositionSourceConfig as _, IEngineActionError as _a, animate$1 as _i, IScrollToPositionOperationData as _n, ILottieSVGRendererConfig as _o, IGetFocusedElementOperationData as _r, LanguageChangeEvent as _s, IResolvedEndableActionConfiguration as _t, EngineActionError as a, EventName as aa, IClearElementOperationData as ai, ISetFormValueOperationData as an, isSeekable as ao, IHttpDeleteOperationData as ar, RequestLabelCollectionsEvent as as, GetOperationByName as at, KeyboardStepSource as b, IEngineFactoryOptions as ba, IAddControllerToElementOperationData as bi, scrollToElement$1 as bn, TLottieAnimationEventCallback as bo, getElementDimensions$1 as br, ActionRegistryEventbusListener as bs, IResolvedTimelineConfiguration as bt, TypedEventEmitter as c, EngineEvents as ca, calc$1 as ci, setFocus$1 as cn, ILottieAnimationItem as co, getTextContent$1 as cr, RequestFunctionEvent as cs, IEndableActionConfiguration as ct, DomContainerProvider as d, IConfigurationWarning as da, breakForEach$1 as di, ISetElementAttributesOperationData as dn, ILottieCompleteEvent as do, IGetQueryParamsOperationData as dr, RequestCurrentTimelinePositionEvent as ds, IEventActionConfiguration as dt, TEventbusRemover as ea, IClearStorageOperationData as ei, setStyle$1 as en, IPlaylist as eo, invokeObjectMethod$1 as er, RequestVideoUrlEvent as es, IEndableAction as et, DomContainerProviderConfig as f, IDimensions as fa, IAnnounceToScreenReaderOperationData as fi, setElementAttributes$1 as fn, ILottieCompleteLoopEvent as fo, getQueryParams$1 as fr, RequestCurrentNavigationEvent as fs, ILabel as ft, ScrollPositionSource as g, IEligiusResourceRegistrations as ga, IAnimateOperationData as gi, selectElement$1 as gn, ILottieHTMLRendererConfig as go, getFormData$1 as gr, NavigateToVideoUrlEvent as gs, IResolvedActionConfiguration as gt, VideoSource as h, IEligiusEngineOptions as ha, animateWithClass$1 as hi, ISelectElementOperationData as hn, ILottieFilterSizeConfig as ho, IGetFormDataOperationData as hr, PushHistoryStateEvent as hs, IPositionSourceConfig as ht, EligiusEngine as i, EventMap as ia, clearOperationData$1 as ii, setGlobalData$1 as in, TSourceState as io, httpPost$1 as ir, RequestTimelineCleanupEvent as is, GetControllerByName as it, IOperationMetadata as j, RequireKeys as ja, NavigationController$1 as ji, IRemovePropertiesFromOperationDataOperationData as jn, IEventMetadata as jo, IFormatDateOperationData as jr, IWhenOperationData as jt, ConfigurationResolver as k, ITimelineProviderInfo as ka, ProgressbarController$1 as ki, IReparentElementOperationData as kn, TOperationResult as ko, IFormatTextOperationData as kr, TOperationType as kt, SimplePlaylist as l, IConfigurationResolver as la, IBroadcastEventOperationData as li, ISetElementContentOperationData as ln, ILottieBaseRendererConfig as lo, IGetScrollPositionOperationData as lr, RequestEngineRootEvent as ls, IEngineConfiguration as lt, VideoPositionSourceConfig as m, IEligiusEngine as ma, IAnimateWithClassOperationData as mi, setData$1 as mn, ILottieEnterFrameEvent as mo, getImport$1 as mr, RequestActionEvent as ms, IPlaylistConfig as mt, LocaleLoader as n, TTypedRequestResponder as na, clearStorage$1 as ni, setOperationData$1 as nn, ISeekable as no, httpPut$1 as nr, RequestTranslationEvent as ns, Controllers as nt, EventHandler as o, RequestMap as oa, clearElement$1 as oi, setFormValue$1 as on, IController as oo, httpDelete$1 as or, RequestLabelCollectionEvent as os, IActionConfiguration as ot, VideoPositionSource as p, IDuration as pa, announceToScreenReader$1 as pi, ISetDataOperationData as pn, ILottieDestroyEvent as po, IGetImportOperationData as pr, RequestCurrentLanguageEvent as ps, IOperationConfiguration as pt, IEngineInputAdapterOptions as q, LocaleEvents as qa, IEventbusInterceptor as qi, clearJsonCache as qn, PauseEvent as qo, ICreateElementOperationData as qr, ISplitStringOperationData as qt, EngineFactory as r, AllEvents as ra, IClearOperationDataOperationData as ri, ISetGlobalDataOperationData as rn, TBoundary as ro, IHttpPostOperationData as rr, RequestTimelineUriEvent as rs, ExtractOperationDataType as rt, ITypedEventEmitter as s, EngineErrorEvent as sa, ICalcOperationData as si, ISetFocusOperationData as sn, ILottieAnimationEvents as so, IGetTextContentOperationData as sr, RequestInstanceEvent as ss, IContainerProviderConfig as st, LocaleManager as t, TRequestResponder as ta, StorageType$2 as ti, ISetOperationData as tn, IPositionSource as to, IHttpPutOperationData as tr, RequestVideoCleanupEvent as ts, ITimelineAction as tt, SimplePlaylistConfig as u, IConfigurationResolverOptions as ua, broadcastEvent$1 as ui, setElementContent$1 as un, ILottieCanvasRendererConfig as uo, getScrollPosition$1 as ur, RequestCurrentVideoPositionEvent as us, IEngineInfo as ut, RafPositionSource as v, IEngineEventSubscriptionOptions as va, IAddGlobalsToOperationData as vi, scrollToPosition$1 as vn, ILottieSegmentStartEvent as vo, getFocusedElement$1 as vr, HighlightNavigationEvent as vs, IResolvedEngineConfiguration as vt, clearGlobals as w, IResourceImporter as wa, ISubtitlesControllerOperationData as wi, requestAction$2 as wn, ExtractOperationData as wo, getControllerInstance$1 as wr, BeforeRequestTimelineUriEvent as ws, ITimelineProviderSettings as wt, KeyboardStepSourceConfig as x, IEngineFactoryResult as xa, addControllerToElement$1 as xi, ISaveToStorageOperationData as xn, TLottieAnimationEventName as xo, IGetCurrentTimeOperationData as xr, EngineCommandErrorEvent as xs, ITimelineActionConfiguration as xt, RafPositionSourceConfig as y, IEngineFactory as ya, addGlobalsToOperation$1 as yi, IScrollToElementOperationData as yn, TLottieAnimationDirection as yo, IGetElementDimensionsOperationData as yr, Eventbus as ys, IResolvedOperation as yt, TParameterTypeName as z, TimelineTypes as za, IKeyboardControllerOperationData as zi, otherwise$1 as zn, RestartEvent as zo, IExtendControllerOperationData as zr, IToggleElementOperationData as zt };
|
|
8537
|
-
//# sourceMappingURL=locale-manager-CNZ2kj0g.d.mts.map
|
|
8543
|
+
export { IAction as $, isLocaleReference as $a, TEventbusErrorSource as $i, IInvokeObjectMethodOperationData as $n, CurrentTimelineChangeEvent as $o, compareDate$1 as $r, ISetStyleOperationData as $t, index_d_exports$2 as A, ITimelineProviderInfo as Aa, INavigationControllerOperationData as Ai, reparentElement$1 as An, TOperationResult as Ao, formatText$1 as Ar, TTimelineProviderSettings as At, TParameterTypes as B, TimelineTypes as Ba, KeyboardController$1 as Bi, IMathOperationData as Bn, SeekEvent as Bo, extendController$1 as Br, toggleElement$1 as Bt, BasePositionSource as C, IImporterResources as Ca, addClass$1 as Ci, IRequestActionOperationData as Cn, TLottieAnimationSegment as Co, IGetControllerInstanceOperationData as Cr, ITimelineFlow as Ct, index_d_exports$1 as D, IStrictDuration as Da, RoutingController$1 as Di, IReplaceStringOperationData as Dn, IOperationScope as Do, IGetAttributesFromElementOperationData as Dr, TControllerType as Dt, index_d_exports as E, ISimpleResourceImporter as Ea, IRoutingControllerOperationData as Ei, replaceText$1 as En, ExtractReturnedOperationData as Eo, getControllerFromElement$1 as Er, TControllerName as Et, THasDescription as F, TEngineClass as Fa, ILottieControllerMetadata as Fi, IRemoveControllerFromElementOperationData as Fn, TimeEvent as Fo, IFindInArrayOperationData as Fr, IValidateFormOperationData as Ft, LocaleEventbusAdapter as G, ILocaleManagerOptions as Ga, IEventbusErrorContext as Gi, log$1 as Gn, PlayToggleRequestEvent as Go, ICustomFunctionOperationData as Gr, IStartActionOperationData as Gt, TPropertiesMetadata as H, ILocaleLoader as Ha, DOMEventListenerController$1 as Hi, IMapArrayOperationData as Hn, ResizeRequestEvent as Ho, endForEach$1 as Hr, toggleClass$1 as Ht, THasErased as I, TEngineInputScope as Ia, LottieController$1 as Ii, removeControllerFromElement$1 as In, StopRequestEvent as Io, findInArray$1 as Ir, validateForm$1 as It, EngineEventbusAdapter as J, LocaleEvents as Ja, IEventbusListener as Ji, loadJson$1 as Jn, PauseRequestEvent as Jo, createElement$1 as Jr, splitString$1 as Jt, EngineInputAdapter as K, ILocaleReference as Ka, IEventbusErrorReport as Ki, ILoadJSONOperationData as Kn, PlayRequestEvent as Ko, customFunction$1 as Kr, startAction$1 as Kt, THasRequired as L, TProviderClass as La, ILabelControllerMetadata as Li, IRemoveClassOperationData as Ln, StopEvent as Lo, IFilterArrayOperationData as Lr, IToggleFormElementOperationData as Lt, TArrayProperyMetadata as M, RequireKeys as Ma, IMutationEventPayload as Mi, removePropertiesFromOperationData$1 as Mn, RequestVideoUriInterceptor as Mo, formatDate$1 as Mr, when$1 as Mt, TComplexPropertyMetadata as N, TActionPhase as Na, IMutationObserverControllerMetadata as Ni, IRemoveElementOperationData as Nn, IEventMetadata as No, IForEachOperationData as Nr, IWaitOperationData as Nt, IControllerMetadata as O, ISubtitle as Oa, IProgressbarControllerOperationData as Oi, replaceString$1 as On, TOperation as Oo, getAttributesFromElement$1 as Or, TOperationName as Ot, TConstantParametersTypes as P, TControllerClass as Pa, MutationObserverController$1 as Pi, removeElement$1 as Pn, VideoCompleteEvent as Po, forEach$1 as Pr, wait$1 as Pt, Action as Q, TLocaleValue as Qa, TEventbusErrorHandler as Qi, isElementInViewport$1 as Qn, DurationEvent as Qo, ICompareDateOperationData as Qr, setVariable$1 as Qt, TOperationCategory as R, TRegisteredResourceKind as Ra, LabelController$1 as Ri, removeClass$1 as Rn, SeekedEvent as Ro, filterArray$1 as Rr, toggleFormElement$1 as Rt, TVerticalMode as S, IEngineInputOptions as Sa, IAddClassOperationData as Si, saveToStorage$1 as Sn, TLottieAnimationEventName as So, getCurrentTime$1 as Sr, BeforeRequestTimelineUriEvent as Ss, ITimelineConfiguration as St, createImporter as T, IResourceImporter as Ta, SubtitlesController$1 as Ti, IReplaceTextOperationData as Tn, ExtractOperationData as To, IGetControllerFromElementOperationData as Tr, Operations as Tt, TPropertyMetadata as U, ILocaleLoaderOptions as Ua, IDOMEventListenerControllerOperationData as Ui, mapArray$1 as Un, ResizeEvent as Uo, IEndActionOperationData as Ur, ISubstringTextOperationData as Ut, TParameterTypesDelimited as V, ILocaleLoadResult as Va, TKeyboardControllerScope as Vi, math$1 as Vn, RestartEvent as Vo, endWhen$1 as Vr, IToggleClassOperationData as Vt, PARAMETER_TYPES as W, ILocaleManager as Wa, IEventbus as Wi, ILogOperationData as Wn, RequestCurrentTimelineEvent as Wo, endAction$1 as Wr, substringText$1 as Wt, TimelineAction as X, TLocaleData as Xa, RequestName as Xi, loadFromStorage$1 as Xn, FirstFrameEvent as Xo, IConcatenateStringsOperationData as Xr, sortArray$1 as Xt, IAdapter as Y, TLanguageCode as Ya, IEventbusOptions as Yi, ILoadFromStorageOperationData as Yn, PauseEvent as Yo, continueForEach$1 as Yr, ISortArrayOperationData as Yt, EndableAction as Z, TLocaleEntry as Za, TEventHandler as Zi, IIsElementInViewportOperationData as Zn, DurationRequestEvent as Zo, concatenateStrings$1 as Zr, ISetVariableOperationData as Zt, ScrollPositionSourceConfig as _, IEngineActionError as _a, animate$1 as _i, IScrollToPositionOperationData as _n, ILottieHTMLRendererConfig as _o, IGetFocusedElementOperationData as _r, Eventbus as _s, IResolvedEndableActionConfiguration as _t, EngineActionError as a, EventName as aa, IClearElementOperationData as ai, ISetFormValueOperationData as an, TSourceState as ao, IHttpDeleteOperationData as ar, RequestTimelineUriEvent as as, GetOperationByName as at, KeyboardStepSource as b, IEngineFactoryOptions as ba, IAddControllerToElementOperationData as bi, scrollToElement$1 as bn, TLottieAnimationDirection as bo, getElementDimensions$1 as br, DomMutationEvent as bs, IResolvedTimelineConfiguration as bt, TypedEventEmitter as c, EngineEvents as ca, calc$1 as ci, setFocus$1 as cn, ILottieAnimationEvents as co, getTextContent$1 as cr, RequestLabelCollectionEvent as cs, IEndableActionConfiguration as ct, DomContainerProvider as d, IConfigurationWarning as da, breakForEach$1 as di, ISetElementAttributesOperationData as dn, ILottieCanvasRendererConfig as do, IGetQueryParamsOperationData as dr, RequestCurrentNavigationEvent as ds, IEventActionConfiguration as dt, TEventbusRemover as ea, IClearStorageOperationData as ei, setStyle$1 as en, IContainerProvider as eo, invokeObjectMethod$1 as er, ContainerRequestEvent as es, IEndableAction as et, DomContainerProviderConfig as f, IDimensions as fa, IAnnounceToScreenReaderOperationData as fi, setElementAttributes$1 as fn, ILottieCompleteEvent as fo, getQueryParams$1 as fr, RequestCurrentLanguageEvent as fs, ILabel as ft, ScrollPositionSource as g, IEligiusResourceRegistrations as ga, IAnimateOperationData as gi, selectElement$1 as gn, ILottieFilterSizeConfig as go, getFormData$1 as gr, HighlightNavigationEvent as gs, IResolvedActionConfiguration as gt, VideoSource as h, IEligiusEngineOptions as ha, animateWithClass$1 as hi, ISelectElementOperationData as hn, ILottieEnterFrameEvent as ho, IGetFormDataOperationData as hr, LanguageChangeEvent as hs, IPositionSourceConfig as ht, EligiusEngine as i, EventMap as ia, clearOperationData$1 as ii, setGlobalData$1 as in, TBoundary as io, httpPost$1 as ir, RequestTranslationEvent as is, GetControllerByName as it, IOperationMetadata as j, KeysOfType as ja, NavigationController$1 as ji, IRemovePropertiesFromOperationDataOperationData as jn, IEngineServices as jo, IFormatDateOperationData as jr, IWhenOperationData as jt, ConfigurationResolver as k, ISubtitleCollection as ka, ProgressbarController$1 as ki, IReparentElementOperationData as kn, TOperationData as ko, IFormatTextOperationData as kr, TOperationType as kt, SimplePlaylist as l, IConfigurationResolver as la, IBroadcastEventOperationData as li, ISetElementContentOperationData as ln, ILottieAnimationItem as lo, IGetScrollPositionOperationData as lr, RequestCurrentVideoPositionEvent as ls, IEngineConfiguration as lt, VideoPositionSourceConfig as m, IEligiusEngine as ma, IAnimateWithClassOperationData as mi, setData$1 as mn, ILottieDestroyEvent as mo, getImport$1 as mr, NavigateToVideoUrlEvent as ms, IPlaylistConfig as mt, LocaleLoader as n, TTypedRequestResponder as na, clearStorage$1 as ni, setOperationData$1 as nn, IPositionSource as no, httpPut$1 as nr, RequestVideoUrlEvent as ns, Controllers as nt, EventHandler as o, RequestMap as oa, clearElement$1 as oi, setFormValue$1 as on, isSeekable as oo, httpDelete$1 as or, RequestTimelineCleanupEvent as os, IActionConfiguration as ot, VideoPositionSource as p, IDuration as pa, announceToScreenReader$1 as pi, ISetDataOperationData as pn, ILottieCompleteLoopEvent as po, IGetImportOperationData as pr, PushHistoryStateEvent as ps, IOperationConfiguration as pt, IEngineInputAdapterOptions as q, ILocalesConfiguration as qa, IEventbusInterceptor as qi, clearJsonCache as qn, PlayEvent as qo, ICreateElementOperationData as qr, ISplitStringOperationData as qt, EngineFactory as r, AllEvents as ra, IClearOperationDataOperationData as ri, ISetGlobalDataOperationData as rn, ISeekable as ro, IHttpPostOperationData as rr, RequestVideoCleanupEvent as rs, ExtractOperationDataType as rt, ITypedEventEmitter as s, EngineErrorEvent as sa, ICalcOperationData as si, ISetFocusOperationData as sn, IController as so, IGetTextContentOperationData as sr, RequestLabelCollectionsEvent as ss, IContainerProviderConfig as st, LocaleManager as t, TRequestResponder as ta, StorageType$2 as ti, ISetOperationData as tn, IPlaylist as to, IHttpPutOperationData as tr, CompleteEvent as ts, ITimelineAction as tt, SimplePlaylistConfig as u, IConfigurationResolverOptions as ua, broadcastEvent$1 as ui, setElementContent$1 as un, ILottieBaseRendererConfig as uo, getScrollPosition$1 as ur, RequestCurrentTimelinePositionEvent as us, IEngineInfo as ut, RafPositionSource as v, IEngineEventSubscriptionOptions as va, IAddGlobalsToOperationData as vi, scrollToPosition$1 as vn, ILottieSVGRendererConfig as vo, getFocusedElement$1 as vr, ActionRegistryEventbusListener as vs, IResolvedEngineConfiguration as vt, clearGlobals as w, IOperationPathEntry as wa, ISubtitlesControllerOperationData as wi, requestAction$1 as wn, TLottieRendererConfig as wo, getControllerInstance$1 as wr, ITimelineProviderSettings as wt, KeyboardStepSourceConfig as x, IEngineFactoryResult as xa, addControllerToElement$1 as xi, ISaveToStorageOperationData as xn, TLottieAnimationEventCallback as xo, IGetCurrentTimeOperationData as xr, BeforeRequestVideoUrlEvent as xs, ITimelineActionConfiguration as xt, RafPositionSourceConfig as y, IEngineFactory as ya, addGlobalsToOperation$1 as yi, IScrollToElementOperationData as yn, ILottieSegmentStartEvent as yo, IGetElementDimensionsOperationData as yr, EngineCommandErrorEvent as ys, IResolvedOperation as yt, TParameterTypeName as z, TResultCallback as za, IKeyboardControllerOperationData as zi, otherwise$1 as zn, SeekRequestEvent as zo, IExtendControllerOperationData as zr, IToggleElementOperationData as zt };
|