eligius 4.2.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.
@@ -84,8 +84,8 @@ declare class ActionRegistryEventbusListener implements IEventbusListener {
84
84
  *
85
85
  * @example Request/Response pattern
86
86
  * ```ts
87
- * eventbus.onRequest('request-instance', (name) => new MyClass(name));
88
- * const instance = eventbus.request<MyClass>('request-instance', 'test');
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
- attach(eventbus: IEventbus): Promise<any> | void;
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`. */
@@ -1418,6 +1420,12 @@ interface IEngineFactoryResult {
1418
1420
  * is cleared when the engine is destroyed.
1419
1421
  */
1420
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;
1421
1429
  /**
1422
1430
  * Destroy everything - engine, adapters, and cleanup. Calling it again
1423
1431
  * returns the promise of the first call.
@@ -1432,10 +1440,9 @@ interface IEngineFactory {
1432
1440
  /**
1433
1441
  * Create a fully wired engine with adapters
1434
1442
  * @param configuration - Engine configuration
1435
- * @param resolver - Optional custom configuration resolver
1436
1443
  * @returns Engine result with engine, language manager, eventbus, and destroy function
1437
1444
  */
1438
- createEngine(configuration: IEngineConfiguration, resolver?: IConfigurationResolver): IEngineFactoryResult;
1445
+ createEngine(configuration: IEngineConfiguration): IEngineFactoryResult;
1439
1446
  /**
1440
1447
  * Destroy the factory and its resources
1441
1448
  */
@@ -1449,9 +1456,10 @@ interface IEngineFactoryOptions {
1449
1456
  * other's requests or react to each other's commands.
1450
1457
  *
1451
1458
  * Use one live engine per eventbus: request responders such as
1452
- * `request-engine-root` are answered by the first engine that registered
1453
- * them, and commands such as `timeline-play-request` reach every engine on
1454
- * the bus. The factory warns when a second engine is created on a shared
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
1455
1463
  * eventbus while another one is live.
1456
1464
  */
1457
1465
  eventbus?: IEventbus;
@@ -1846,7 +1854,7 @@ interface EngineErrorEvent {
1846
1854
  name: 'engine-error';
1847
1855
  args: [error: IEngineActionError];
1848
1856
  }
1849
- type AllEvents = BeforeRequestTimelineUriEvent | BeforeRequestVideoUrlEvent | DomMutationEvent | EngineCommandErrorEvent | EngineErrorEvent | HighlightNavigationEvent | LanguageChangeEvent | NavigateToVideoUrlEvent | PushHistoryStateEvent | RequestActionEvent | RequestCurrentLanguageEvent | RequestCurrentNavigationEvent | RequestCurrentTimelinePositionEvent | RequestCurrentVideoPositionEvent | RequestEngineRootEvent | RequestFunctionEvent | RequestInstanceEvent | 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;
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;
1850
1858
  type EventMap = { [K in AllEvents as K['name']]: K extends {
1851
1859
  returns: infer R;
1852
1860
  } ? [...K['args'], callback?: (result: R) => void] : K['args']; };
@@ -1863,10 +1871,6 @@ type EventName = keyof EventMap;
1863
1871
  * The untyped string overloads remain for custom request names.
1864
1872
  */
1865
1873
  interface RequestMap {
1866
- 'request-action': {
1867
- args: RequestActionEvent['args'];
1868
- returns: RequestActionEvent['returns'];
1869
- };
1870
1874
  'request-current-language': {
1871
1875
  args: RequestCurrentLanguageEvent['args'];
1872
1876
  returns: RequestCurrentLanguageEvent['returns'];
@@ -1875,18 +1879,6 @@ interface RequestMap {
1875
1879
  args: RequestCurrentTimelinePositionEvent['args'];
1876
1880
  returns: RequestCurrentTimelinePositionEvent['returns'];
1877
1881
  };
1878
- 'request-engine-root': {
1879
- args: RequestEngineRootEvent['args'];
1880
- returns: RequestEngineRootEvent['returns'];
1881
- };
1882
- 'request-function': {
1883
- args: RequestFunctionEvent['args'];
1884
- returns: RequestFunctionEvent['returns'];
1885
- };
1886
- 'request-instance': {
1887
- args: RequestInstanceEvent['args'];
1888
- returns: RequestInstanceEvent['returns'];
1889
- };
1890
1882
  'request-translation': {
1891
1883
  args: RequestTranslationEvent['args'];
1892
1884
  returns: RequestTranslationEvent['returns'];
@@ -2139,12 +2131,13 @@ declare class DOMEventListenerController$1 implements IController<IDOMEventListe
2139
2131
  /**
2140
2132
  * Looks up the configured actions and starts listening for the DOM event.
2141
2133
  *
2142
- * @param eventbus - The eventbus to request the actions from
2143
- * @throws when an action name is unknown (`request-action` throws or
2144
- * returns nothing); the message names the controller, the action and the
2145
- * DOM event, and keeps the responder's "did you mean" hint
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
2146
2139
  */
2147
- attach(eventbus: IEventbus): void;
2140
+ attach(eventbus: IEventbus, services: IEngineServices): void;
2148
2141
  private _eventHandler;
2149
2142
  /**
2150
2143
  * Removes only the handler this controller registered, so other handlers for
@@ -2244,13 +2237,13 @@ declare class KeyboardController$1 implements IController<IKeyboardControllerOpe
2244
2237
  /**
2245
2238
  * Looks up the configured actions and starts listening for the keys.
2246
2239
  *
2247
- * @param eventbus - The eventbus to request the actions and the engine root
2248
- * from
2249
- * @throws when an action name is unknown (`request-action` throws or
2250
- * returns nothing); the message names the controller, the action and the
2251
- * keys, and keeps the responder's "did you mean" hint
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
2252
2245
  */
2253
- attach(eventbus: IEventbus): void;
2246
+ attach(eventbus: IEventbus, services: IEngineServices): void;
2254
2247
  /**
2255
2248
  * Removes only the handler this controller bound, so other bindings of the
2256
2249
  * same keys keep working, and resets the action instances so a later
@@ -2259,7 +2252,7 @@ declare class KeyboardController$1 implements IController<IKeyboardControllerOpe
2259
2252
  detach(_eventbus: IEventbus): void;
2260
2253
  private _handleKey;
2261
2254
  private _trigger;
2262
- private _requestEngineRoot;
2255
+ private _engineRootElement;
2263
2256
  /**
2264
2257
  * @returns The keys with `' '` replaced by `space`
2265
2258
  * @throws when the keys are empty or name a key hotkeys-js can't match
@@ -2328,7 +2321,7 @@ declare abstract class BaseController<T extends TOperationData> implements ICont
2328
2321
  */
2329
2322
  detach(_eventbus: IEventbus): void;
2330
2323
  abstract init(operationData: T): void;
2331
- abstract attach(eventbus: IEventbus): Promise<any> | void;
2324
+ abstract attach(eventbus: IEventbus, services: IEngineServices): Promise<any> | void;
2332
2325
  }
2333
2326
  interface ILabelControllerMetadata {
2334
2327
  /**
@@ -2694,9 +2687,10 @@ declare class NavigationController$1 extends BaseController<INavigationControlle
2694
2687
  navLookup: Record<string, any>;
2695
2688
  navVidIdLookup: Record<string, any>;
2696
2689
  ctrlLookup: Record<string, LabelController$1>;
2697
- activeNavigationPoint: any | null;
2690
+ activeNavigationPoint: any;
2698
2691
  labelControllers: LabelController$1[];
2699
2692
  eventbus: IEventbus | null;
2693
+ services: IEngineServices | null;
2700
2694
  container: JQuery | null;
2701
2695
  private _menuElement;
2702
2696
  private _anchorLookup;
@@ -2707,7 +2701,7 @@ declare class NavigationController$1 extends BaseController<INavigationControlle
2707
2701
  * navigation id in roots, nextId or children
2708
2702
  */
2709
2703
  init(operationData: INavigationControllerOperationData): void;
2710
- attach(eventbus: IEventbus): void;
2704
+ attach(eventbus: IEventbus, services: IEngineServices): void;
2711
2705
  /**
2712
2706
  * Sets the active navigation point and the menu highlight from the URL hash,
2713
2707
  * falling back to the item with videoUrlIndex 0 when the hash is missing or
@@ -3419,8 +3413,8 @@ interface ICustomFunctionOperationData {
3419
3413
  * This operation retrieves a custom function defined by the given system name
3420
3414
  * and invokes it with the current operation data and eventbus.
3421
3415
  *
3422
- * The function is looked up with the `request-function` event, which the
3423
- * `EngineFactory` answers from its resource importer. Register the function
3416
+ * The function is looked up with `this.services.getImport`, which answers from
3417
+ * the engine's resource importer. Register the function
3424
3418
  * with the `EligiusResourceImporter` constructor:
3425
3419
  * `new EligiusResourceImporter({functions: {myFunction}})`.
3426
3420
  *
@@ -3580,7 +3574,7 @@ interface IFindInArrayOperationData {
3580
3574
  /**
3581
3575
  * @output
3582
3576
  */
3583
- foundItem?: any | undefined;
3577
+ foundItem?: any;
3584
3578
  /**
3585
3579
  * @output
3586
3580
  */
@@ -3931,8 +3925,8 @@ interface IGetImportOperationData {
3931
3925
  * This operation retrieves the import specified by the given `systemName` and
3932
3926
  * assigns it to the `importedInstance` property on the current operaton date.
3933
3927
  *
3934
- * The import is looked up with the `request-function` event, which the
3935
- * `EngineFactory` answers from its resource importer. Functions, templates
3928
+ * The import is looked up with `this.services.getImport`, which answers from
3929
+ * the engine's resource importer. Functions, templates
3936
3930
  * and JSON registered with the `EligiusResourceImporter` constructor
3937
3931
  * (`new EligiusResourceImporter({json: {settings}})`) can be imported this
3938
3932
  * way, as can every built-in operation, controller and provider export.
@@ -4417,14 +4411,16 @@ interface IMapArrayOperationData {
4417
4411
  */
4418
4412
  declare const mapArray$1: TOperation<IMapArrayOperationData, Omit<IMapArrayOperationData, 'mapFunction'>>;
4419
4413
  type MathFunctionKeys = { [K in keyof Math]: Math[K] extends ((...args: any) => any) ? K : never; }[keyof Math];
4420
- type MathNonFunctionKeys = { [K in keyof Math]: Math[K] extends ((...args: any) => any) ? never : K; }[keyof Math];
4421
4414
  interface IMathOperationData {
4422
4415
  /**
4416
+ * Numbers, property chains, or names of Math constants
4417
+ * ({@link MathNonFunctionKeys}).
4418
+ *
4423
4419
  * @type=ParameterType:array
4424
4420
  * @required
4425
4421
  * @erased
4426
4422
  */
4427
- args: (number | string | MathNonFunctionKeys)[];
4423
+ args: (number | string)[];
4428
4424
  /**
4429
4425
  * @type=ParameterType:mathfunction
4430
4426
  * @required
@@ -4683,7 +4679,7 @@ interface IRequestActionOperationData {
4683
4679
  *
4684
4680
  * @category Action
4685
4681
  */
4686
- declare const requestAction$2: TOperation<IRequestActionOperationData, Omit<Required<IRequestActionOperationData>, 'systemName'>>;
4682
+ declare const requestAction$1: TOperation<IRequestActionOperationData, Omit<Required<IRequestActionOperationData>, 'systemName'>>;
4687
4683
  type StorageType = 'local' | 'session';
4688
4684
  interface ISaveToStorageOperationData {
4689
4685
  /**
@@ -5487,7 +5483,7 @@ interface IWhenOperationData {
5487
5483
  */
5488
5484
  declare const when$1: TOperation<IWhenOperationData, Omit<IWhenOperationData, 'expression'>>;
5489
5485
  declare namespace index_d_exports$3 {
5490
- 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$2 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 };
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 };
5491
5487
  }
5492
5488
  /**
5493
5489
  * Represents a language option for the available languages list.
@@ -5968,6 +5964,7 @@ declare class Action implements IAction {
5968
5964
  name: string;
5969
5965
  startOperations: IResolvedOperation[];
5970
5966
  protected eventbus: IEventbus;
5967
+ protected services: IEngineServices;
5971
5968
  id: string;
5972
5969
  /**
5973
5970
  * Scope stack used by {@link executeOperation} when it is called without an
@@ -5984,7 +5981,7 @@ declare class Action implements IAction {
5984
5981
  * again instead of deep-copying the collection on every iteration.
5985
5982
  */
5986
5983
  private _loopOperationData;
5987
- constructor(name: string, startOperations: IResolvedOperation[], eventbus: IEventbus);
5984
+ constructor(name: string, startOperations: IResolvedOperation[], eventbus: IEventbus, services: IEngineServices);
5988
5985
  /**
5989
5986
  * Runs the start operations.
5990
5987
  *
@@ -6023,11 +6020,11 @@ declare class Action implements IAction {
6023
6020
  * the number of executed operations (large `forEach` loops are safe). When an
6024
6021
  * operation returns a promise, execution continues once it resolves.
6025
6022
  */
6026
- executeOperation(operations: IResolvedOperation[], operationIndex: number, resolve: (value?: any | PromiseLike<any>) => void, reject: (reason?: any) => void, previousOperationData?: TOperationData | undefined, scopeStack?: IOperationScope[]): void;
6023
+ executeOperation(operations: IResolvedOperation[], operationIndex: number, resolve: (value?: any) => void, reject: (reason?: any) => void, previousOperationData?: TOperationData | undefined, scopeStack?: IOperationScope[]): void;
6027
6024
  }
6028
6025
  declare class EndableAction extends Action {
6029
6026
  endOperations: IResolvedOperation[];
6030
- constructor(name: string, startOperations: IResolvedOperation[], endOperations: IResolvedOperation[], eventBus: IEventbus);
6027
+ constructor(name: string, startOperations: IResolvedOperation[], endOperations: IResolvedOperation[], eventBus: IEventbus, services: IEngineServices);
6031
6028
  /**
6032
6029
  * Runs the end operations.
6033
6030
  *
@@ -6059,7 +6056,7 @@ declare class TimelineAction extends EndableAction implements ITimelineAction {
6059
6056
  * while playing, a revisited key) is a no-op.
6060
6057
  */
6061
6058
  get active(): boolean;
6062
- 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);
6063
6060
  /**
6064
6061
  * Starts the action, unless it is already active.
6065
6062
  *
@@ -6360,7 +6357,7 @@ declare function removePropertiesFromOperationData(): IOperationMetadata<IRemove
6360
6357
  declare function reparentElement(): IOperationMetadata<IReparentElementOperationData>;
6361
6358
  declare function replaceString(): IOperationMetadata<IReplaceStringOperationData>;
6362
6359
  declare function replaceText(): IOperationMetadata<IReplaceTextOperationData>;
6363
- declare function requestAction$1(): IOperationMetadata<IRequestActionOperationData>;
6360
+ declare function requestAction(): IOperationMetadata<IRequestActionOperationData>;
6364
6361
  declare function saveToStorage(): IOperationMetadata<ISaveToStorageOperationData>;
6365
6362
  declare function scrollToElement(): IOperationMetadata<IScrollToElementOperationData>;
6366
6363
  declare function scrollToPosition(): IOperationMetadata<IScrollToPositionOperationData>;
@@ -6385,7 +6382,7 @@ declare function validateForm(): IOperationMetadata<IValidateFormOperationData>;
6385
6382
  declare function wait(): IOperationMetadata<IWaitOperationData>;
6386
6383
  declare function when(): IOperationMetadata<IWhenOperationData>;
6387
6384
  declare namespace index_d_exports$2 {
6388
- 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$1 as requestAction, saveToStorage, scrollToElement, scrollToPosition, selectElement, setData, setElementAttributes, setElementContent, setFocus, setFormValue, setGlobalData, setOperationData, setStyle, setVariable, sortArray, splitString, startAction, substringText, toggleClass, toggleElement, toggleFormElement, validateForm, wait, when };
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 };
6389
6386
  }
6390
6387
  /**
6391
6388
  * Takes an `IEngineConfiguration` instance and return an `IResolvedEngineConfiguration`.
@@ -6427,14 +6424,16 @@ declare namespace index_d_exports$2 {
6427
6424
  declare class ConfigurationResolver implements IConfigurationResolver {
6428
6425
  private importer;
6429
6426
  private eventbus;
6427
+ private services;
6430
6428
  private readonly _warn;
6431
6429
  /**
6432
6430
  * @param importer - Resolves system names to operations, controllers and providers
6433
6431
  * @param eventbus - The eventbus the resolved actions run on
6432
+ * @param services - The services of the engine the resolved actions run in
6434
6433
  * @param options - Optional. `onWarning` receives the configuration
6435
6434
  * warnings instead of the console.
6436
6435
  */
6437
- constructor(importer: ISimpleResourceImporter, eventbus: IEventbus, options?: IConfigurationResolverOptions);
6436
+ constructor(importer: ISimpleResourceImporter, eventbus: IEventbus, services: IEngineServices, options?: IConfigurationResolverOptions);
6438
6437
  process(configuration: IEngineConfiguration, actionRegistryListener?: ActionRegistryEventbusListener): [Record<string, IAction>, IResolvedEngineConfiguration];
6439
6438
  }
6440
6439
  type IControllerMetadata<T> = {
@@ -6463,14 +6462,10 @@ declare function highlightNavigation(): IEventMetadata<HighlightNavigationEvent[
6463
6462
  declare function languageChange(): IEventMetadata<LanguageChangeEvent['args']>;
6464
6463
  declare function navigateToVideoUrl(): IEventMetadata<NavigateToVideoUrlEvent['args']>;
6465
6464
  declare function pushHistoryState(): IEventMetadata<PushHistoryStateEvent['args']>;
6466
- declare function requestAction(): IEventMetadata<RequestActionEvent['args']>;
6467
6465
  declare function requestCurrentLanguage(): IEventMetadata<RequestCurrentLanguageEvent['args']>;
6468
6466
  declare function requestCurrentNavigation(): IEventMetadata<RequestCurrentNavigationEvent['args']>;
6469
6467
  declare function requestCurrentTimelinePosition(): IEventMetadata<RequestCurrentTimelinePositionEvent['args']>;
6470
6468
  declare function requestCurrentVideoPosition(): IEventMetadata<RequestCurrentVideoPositionEvent['args']>;
6471
- declare function requestEngineRoot(): IEventMetadata<RequestEngineRootEvent['args']>;
6472
- declare function requestFunction(): IEventMetadata<RequestFunctionEvent['args']>;
6473
- declare function requestInstance(): IEventMetadata<RequestInstanceEvent['args']>;
6474
6469
  declare function requestLabelCollection(): IEventMetadata<RequestLabelCollectionEvent['args']>;
6475
6470
  declare function requestLabelCollections(): IEventMetadata<RequestLabelCollectionsEvent['args']>;
6476
6471
  declare function requestTimelineCleanup(): IEventMetadata<RequestTimelineCleanupEvent['args']>;
@@ -6501,7 +6496,7 @@ declare function timelineStop(): IEventMetadata<StopEvent['args']>;
6501
6496
  declare function timelineTime(): IEventMetadata<TimeEvent['args']>;
6502
6497
  declare function videoComplete(): IEventMetadata<VideoCompleteEvent['args']>;
6503
6498
  declare namespace index_d_exports {
6504
- export { IEventMetadata, beforeRequestTimelineUri, beforeRequestVideoUrl, domMutation, engineCommandError, engineError, highlightNavigation, languageChange, navigateToVideoUrl, pushHistoryState, requestAction, requestCurrentLanguage, requestCurrentNavigation, requestCurrentTimelinePosition, requestCurrentVideoPosition, requestEngineRoot, requestFunction, requestInstance, 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 };
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 };
6505
6500
  }
6506
6501
  /**
6507
6502
  * Creates a resource importer that provides exactly the resources it is
@@ -8068,7 +8063,6 @@ declare class EligiusEngine implements IEligiusEngine {
8068
8063
  * does not use it. Will be removed in the next major version.
8069
8064
  */
8070
8065
  static sortActionsPerPosition(actions: ActionMethod[]): ActionMethod[];
8071
- private _handleRequestEngineRoot;
8072
8066
  private _getActiveActions;
8073
8067
  /**
8074
8068
  * Answers with {@link position}, like the `request()` responder of
@@ -8179,8 +8173,6 @@ declare class EngineFactory implements IEngineFactory {
8179
8173
  * An engine's destroy() removes its own; factory.destroy() the rest.
8180
8174
  */
8181
8175
  private _eventRemovers;
8182
- /** Action lookups of the live engines, oldest first */
8183
- private _actionLookups;
8184
8176
  /** Live engines on the shared eventbus */
8185
8177
  private _liveSharedEngines;
8186
8178
  private _importer;
@@ -8199,15 +8191,6 @@ declare class EngineFactory implements IEngineFactory {
8199
8191
  */
8200
8192
  destroy(): void;
8201
8193
  private _importSystemEntry;
8202
- /**
8203
- * Registers the 'request-instance', 'request-action' and
8204
- * 'request-function' responders on an eventbus. Instances are constructed
8205
- * with that eventbus. 'request-action' throws for an unknown action name,
8206
- * with a "did you mean" hint built from `knownActions`.
8207
- */
8208
- private _registerResponders;
8209
- private _findLiveAction;
8210
- private _liveActionNames;
8211
8194
  /**
8212
8195
  * Creates a fully wired engine with adapters and event handlers.
8213
8196
  *
@@ -8228,13 +8211,16 @@ declare class EngineFactory implements IEngineFactory {
8228
8211
  * `engine.destroy()`) aborts loads that are still pending, disconnects the
8229
8212
  * adapters and removes the engine's eventbus registrations.
8230
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
+ *
8231
8218
  * @param configuration - The engine configuration
8232
- * @param resolver - Optional custom configuration resolver
8233
8219
  * @returns Engine result with engine, locale manager, eventbus, and destroy function
8234
8220
  * @throws Error when the configuration cannot be resolved or a provider
8235
8221
  * cannot be created
8236
8222
  */
8237
- createEngine(configuration: IEngineConfiguration, resolver?: IConfigurationResolver): IEngineFactoryResult;
8223
+ createEngine(configuration: IEngineConfiguration): IEngineFactoryResult;
8238
8224
  /**
8239
8225
  * Loads the configured locales into the locale manager.
8240
8226
  *
@@ -8554,5 +8540,4 @@ declare class LocaleManager implements ILocaleManager {
8554
8540
  */
8555
8541
  private _emit;
8556
8542
  }
8557
- export { IAction as $, isLocaleReference as $a, TEventbusErrorSource as $i, IInvokeObjectMethodOperationData as $n, ContainerRequestEvent 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, RestartEvent 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, DomMutationEvent as Cs, 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, StopRequestEvent as Fo, IFindInArrayOperationData as Fr, IValidateFormOperationData as Ft, LocaleEventbusAdapter as G, ILocaleManagerOptions as Ga, IEventbusErrorContext as Gi, log$1 as Gn, PlayRequestEvent as Go, ICustomFunctionOperationData as Gr, IStartActionOperationData as Gt, TPropertiesMetadata as H, ILocaleLoader as Ha, DOMEventListenerController$1 as Hi, IMapArrayOperationData as Hn, ResizeEvent as Ho, endForEach$1 as Hr, toggleClass$1 as Ht, THasErased as I, TEngineInputScope as Ia, LottieController$1 as Ii, removeControllerFromElement$1 as In, StopEvent as Io, findInArray$1 as Ir, validateForm$1 as It, EngineEventbusAdapter as J, LocaleEvents as Ja, IEventbusListener as Ji, loadJson$1 as Jn, PauseEvent as Jo, createElement$1 as Jr, splitString$1 as Jt, EngineInputAdapter as K, ILocaleReference as Ka, IEventbusErrorReport as Ki, ILoadJSONOperationData as Kn, PlayEvent as Ko, customFunction$1 as Kr, startAction$1 as Kt, THasRequired as L, TProviderClass as La, ILabelControllerMetadata as Li, IRemoveClassOperationData as Ln, SeekedEvent as Lo, IFilterArrayOperationData as Lr, IToggleFormElementOperationData as Lt, TArrayProperyMetadata as M, RequireKeys as Ma, IMutationEventPayload as Mi, removePropertiesFromOperationData$1 as Mn, IEventMetadata as Mo, formatDate$1 as Mr, when$1 as Mt, TComplexPropertyMetadata as N, TActionPhase as Na, IMutationObserverControllerMetadata as Ni, IRemoveElementOperationData as Nn, VideoCompleteEvent 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, TimeEvent as Po, forEach$1 as Pr, wait$1 as Pt, Action as Q, TLocaleValue as Qa, TEventbusErrorHandler as Qi, isElementInViewport$1 as Qn, CurrentTimelineChangeEvent as Qo, ICompareDateOperationData as Qr, setVariable$1 as Qt, TOperationCategory as R, TRegisteredResourceKind as Ra, LabelController$1 as Ri, removeClass$1 as Rn, SeekRequestEvent 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, EngineCommandErrorEvent as Ss, ITimelineConfiguration as St, createImporter as T, IResourceImporter as Ta, SubtitlesController$1 as Ti, IReplaceTextOperationData as Tn, ExtractOperationData as To, IGetControllerFromElementOperationData as Tr, BeforeRequestTimelineUriEvent as Ts, Operations as Tt, TPropertyMetadata as U, ILocaleLoaderOptions as Ua, IDOMEventListenerControllerOperationData as Ui, mapArray$1 as Un, RequestCurrentTimelineEvent as Uo, IEndActionOperationData as Ur, ISubstringTextOperationData as Ut, TParameterTypesDelimited as V, ILocaleLoadResult as Va, TKeyboardControllerScope as Vi, math$1 as Vn, ResizeRequestEvent as Vo, endWhen$1 as Vr, IToggleClassOperationData as Vt, PARAMETER_TYPES as W, ILocaleManager as Wa, IEventbus as Wi, ILogOperationData as Wn, PlayToggleRequestEvent as Wo, endAction$1 as Wr, substringText$1 as Wt, TimelineAction as X, TLocaleData as Xa, RequestName as Xi, loadFromStorage$1 as Xn, DurationRequestEvent as Xo, IConcatenateStringsOperationData as Xr, sortArray$1 as Xt, IAdapter as Y, TLanguageCode as Ya, IEventbusOptions as Yi, ILoadFromStorageOperationData as Yn, FirstFrameEvent as Yo, continueForEach$1 as Yr, ISortArrayOperationData as Yt, EndableAction as Z, TLocaleEntry as Za, TEventHandler as Zi, IIsElementInViewportOperationData as Zn, DurationEvent 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, NavigateToVideoUrlEvent as _s, IResolvedEndableActionConfiguration as _t, EngineActionError as a, EventName as aa, IClearElementOperationData as ai, ISetFormValueOperationData as an, TSourceState as ao, IHttpDeleteOperationData as ar, RequestTimelineCleanupEvent 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, Eventbus 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, RequestInstanceEvent as cs, IEndableActionConfiguration as ct, DomContainerProvider as d, IConfigurationWarning as da, breakForEach$1 as di, ISetElementAttributesOperationData as dn, ILottieCanvasRendererConfig as do, IGetQueryParamsOperationData as dr, RequestCurrentVideoPositionEvent as ds, IEventActionConfiguration as dt, TEventbusRemover as ea, IClearStorageOperationData as ei, setStyle$1 as en, IContainerProvider as eo, invokeObjectMethod$1 as er, CompleteEvent 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, RequestCurrentTimelinePositionEvent 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, PushHistoryStateEvent as gs, IResolvedActionConfiguration as gt, VideoSource as h, IEligiusEngineOptions as ha, animateWithClass$1 as hi, ISelectElementOperationData as hn, ILottieEnterFrameEvent as ho, IGetFormDataOperationData as hr, RequestActionEvent 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, RequestTimelineUriEvent as is, GetControllerByName as it, IOperationMetadata as j, KeysOfType as ja, NavigationController$1 as ji, IRemovePropertiesFromOperationDataOperationData as jn, RequestVideoUriInterceptor 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, RequestFunctionEvent 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, RequestCurrentLanguageEvent 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, RequestVideoCleanupEvent 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, RequestLabelCollectionsEvent as os, IActionConfiguration as ot, VideoPositionSource as p, IDuration as pa, announceToScreenReader$1 as pi, ISetDataOperationData as pn, ILottieCompleteLoopEvent as po, IGetImportOperationData as pr, RequestCurrentNavigationEvent as ps, IOperationConfiguration as pt, IEngineInputAdapterOptions as q, ILocalesConfiguration as qa, IEventbusInterceptor as qi, clearJsonCache as qn, PauseRequestEvent 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, RequestTranslationEvent as rs, ExtractOperationDataType as rt, ITypedEventEmitter as s, EngineErrorEvent as sa, ICalcOperationData as si, ISetFocusOperationData as sn, IController as so, IGetTextContentOperationData as sr, RequestLabelCollectionEvent as ss, IContainerProviderConfig as st, LocaleManager as t, TRequestResponder as ta, StorageType$2 as ti, ISetOperationData as tn, IPlaylist as to, IHttpPutOperationData as tr, RequestVideoUrlEvent 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, RequestEngineRootEvent 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, LanguageChangeEvent as vs, IResolvedEngineConfiguration as vt, clearGlobals as w, IOperationPathEntry as wa, ISubtitlesControllerOperationData as wi, requestAction$2 as wn, TLottieRendererConfig as wo, getControllerInstance$1 as wr, BeforeRequestVideoUrlEvent as ws, ITimelineProviderSettings as wt, KeyboardStepSourceConfig as x, IEngineFactoryResult as xa, addControllerToElement$1 as xi, ISaveToStorageOperationData as xn, TLottieAnimationEventCallback as xo, IGetCurrentTimeOperationData as xr, ActionRegistryEventbusListener as xs, ITimelineActionConfiguration as xt, RafPositionSourceConfig as y, IEngineFactory as ya, addGlobalsToOperation$1 as yi, IScrollToElementOperationData as yn, ILottieSegmentStartEvent as yo, IGetElementDimensionsOperationData as yr, HighlightNavigationEvent as ys, IResolvedOperation as yt, TParameterTypeName as z, TResultCallback as za, IKeyboardControllerOperationData as zi, otherwise$1 as zn, SeekEvent as zo, IExtendControllerOperationData as zr, IToggleElementOperationData as zt };
8558
- //# sourceMappingURL=locale-manager-CJy3musb.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 };