eligius 3.0.1 → 4.1.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.
@@ -12,7 +12,6 @@ declare namespace JQuery {
12
12
  type Duration = number | 'fast' | 'slow';
13
13
  type Node = Element | Text | Comment | Document | DocumentFragment;
14
14
  }
15
- //#region src/eventbus/events/before-request-timeline-uri.d.ts
16
15
  /**
17
16
  * Event: before-request-timeline-uri
18
17
  *
@@ -27,8 +26,6 @@ interface BeforeRequestTimelineUriEvent {
27
26
  name: 'before-request-timeline-uri';
28
27
  args: [uri: string, position?: number];
29
28
  }
30
- //#endregion
31
- //#region src/eventbus/events/before-request-video-url.d.ts
32
29
  /**
33
30
  * Event: before-request-video-url
34
31
  * @param index - The video URL index
@@ -42,8 +39,6 @@ interface BeforeRequestVideoUrlEvent {
42
39
  name: 'before-request-video-url';
43
40
  args: [index: number, requestedVideoPosition?: number, isHistoryRequest?: boolean];
44
41
  }
45
- //#endregion
46
- //#region src/eventbus/events/dom-mutation.d.ts
47
42
  /**
48
43
  * Event: dom-mutation
49
44
  * @param payload - Mutation observer payload
@@ -53,8 +48,6 @@ interface DomMutationEvent {
53
48
  name: 'dom-mutation';
54
49
  args: [payload: any];
55
50
  }
56
- //#endregion
57
- //#region src/eventbus/events/engine-command-error.d.ts
58
51
  /**
59
52
  * Event: engine-command-error
60
53
  * Broadcast by EngineEventbusAdapter when an engine command that an eventbus
@@ -69,8 +62,6 @@ interface EngineCommandErrorEvent {
69
62
  name: 'engine-command-error';
70
63
  args: [command: string, error: unknown];
71
64
  }
72
- //#endregion
73
- //#region src/controllers/types.d.ts
74
65
  interface IController<T extends TOperationData> {
75
66
  name: string;
76
67
  init(operationData: T): void;
@@ -218,8 +209,6 @@ interface ILottieHTMLRendererConfig extends ILottieBaseRendererConfig {
218
209
  }
219
210
  /** The renderer settings a `LottieController` accepts. */
220
211
  type TLottieRendererConfig = ILottieSVGRendererConfig | ILottieCanvasRendererConfig | ILottieHTMLRendererConfig;
221
- //#endregion
222
- //#region src/locale/types.d.ts
223
212
  /**
224
213
  * Locale Types
225
214
  * Feature: 005-rosetta-locale-manager
@@ -257,8 +246,6 @@ type TLocaleEntry = TLocaleData | ILocaleReference;
257
246
  interface ILocalesConfiguration {
258
247
  [locale: TLanguageCode]: TLocaleEntry;
259
248
  }
260
- //#endregion
261
- //#region src/types.d.ts
262
249
  /**
263
250
  * The phase of an action in which an error occurred.
264
251
  */
@@ -310,8 +297,6 @@ interface ISubtitle {
310
297
  text: string;
311
298
  }
312
299
  type RequireKeys<T, K extends keyof T> = { [P in K]-?: T[P]; };
313
- //#endregion
314
- //#region src/eventbus/events/engine-error.d.ts
315
300
  /**
316
301
  * Event: engine-error
317
302
  * Broadcast when a timeline action that the engine started or ended on its
@@ -324,8 +309,6 @@ interface EngineErrorEvent {
324
309
  name: 'engine-error';
325
310
  args: [error: IEngineActionError];
326
311
  }
327
- //#endregion
328
- //#region src/eventbus/events/highlight-navigation.d.ts
329
312
  /**
330
313
  * Event: highlight-navigation
331
314
  * @param videoUrlIndex - The index of the video URL to highlight
@@ -335,8 +318,6 @@ interface HighlightNavigationEvent {
335
318
  name: 'highlight-navigation';
336
319
  args: [videoUrlIndex: number];
337
320
  }
338
- //#endregion
339
- //#region src/eventbus/events/language-change.d.ts
340
321
  /**
341
322
  * Event: language-change
342
323
  * @param language - The new language code
@@ -346,8 +327,6 @@ interface LanguageChangeEvent {
346
327
  name: 'language-change';
347
328
  args: [language: TLanguageCode];
348
329
  }
349
- //#endregion
350
- //#region src/eventbus/events/navigate-to-video-url.d.ts
351
330
  /**
352
331
  * Event: navigate-to-video-url
353
332
  * @param index - The video URL index to navigate to
@@ -360,8 +339,6 @@ interface NavigateToVideoUrlEvent {
360
339
  name: 'navigate-to-video-url';
361
340
  args: [index: number, requestedVideoPosition?: number];
362
341
  }
363
- //#endregion
364
- //#region src/eventbus/events/push-history-state.d.ts
365
342
  /**
366
343
  * Event: push-history-state
367
344
  * @param state - The history state to push
@@ -371,8 +348,6 @@ interface PushHistoryStateEvent {
371
348
  name: 'push-history-state';
372
349
  args: [state: any];
373
350
  }
374
- //#endregion
375
- //#region src/eventbus/events/request-action.d.ts
376
351
  /**
377
352
  * Request: request-action
378
353
  * Answered through `eventbus.request('request-action', actionName)` by
@@ -387,8 +362,6 @@ interface RequestActionEvent {
387
362
  args: [actionName: string];
388
363
  returns: IAction;
389
364
  }
390
- //#endregion
391
- //#region src/eventbus/events/request-current-language.d.ts
392
365
  /**
393
366
  * Request: request-current-language
394
367
  * Answered through `eventbus.request('request-current-language')` by
@@ -401,8 +374,6 @@ interface RequestCurrentLanguageEvent {
401
374
  args: [];
402
375
  returns: TLanguageCode;
403
376
  }
404
- //#endregion
405
- //#region src/eventbus/events/request-current-navigation.d.ts
406
377
  /**
407
378
  * Event: request-current-navigation
408
379
  * @param callback - Callback that receives the current navigation data
@@ -412,8 +383,6 @@ interface RequestCurrentNavigationEvent {
412
383
  name: 'request-current-navigation';
413
384
  args: [callback: (navigation: any) => void];
414
385
  }
415
- //#endregion
416
- //#region src/eventbus/events/request-current-timeline-position.d.ts
417
386
  /**
418
387
  * Request: request-current-timeline-position
419
388
  * Answered through `eventbus.request('request-current-timeline-position')` by
@@ -428,8 +397,6 @@ interface RequestCurrentTimelinePositionEvent {
428
397
  args: [];
429
398
  returns: number;
430
399
  }
431
- //#endregion
432
- //#region src/eventbus/events/request-current-video-position.d.ts
433
400
  /**
434
401
  * Event: request-current-video-position
435
402
  * @param callback - Callback that receives the current video position
@@ -441,8 +408,6 @@ interface RequestCurrentVideoPositionEvent {
441
408
  name: 'request-current-video-position';
442
409
  args: [callback: (position: number) => void];
443
410
  }
444
- //#endregion
445
- //#region src/eventbus/events/request-engine-root.d.ts
446
411
  /**
447
412
  * Request: request-engine-root
448
413
  * Answered through `eventbus.request('request-engine-root')` with the
@@ -458,8 +423,6 @@ interface RequestEngineRootEvent {
458
423
  args: [];
459
424
  returns: JQuery<HTMLElement>;
460
425
  }
461
- //#endregion
462
- //#region src/eventbus/events/request-function.d.ts
463
426
  /**
464
427
  * Request: request-function
465
428
  * Answered through `eventbus.request('request-function', systemName)` by
@@ -474,8 +437,6 @@ interface RequestFunctionEvent {
474
437
  args: [systemName: string];
475
438
  returns: unknown;
476
439
  }
477
- //#endregion
478
- //#region src/eventbus/events/request-instance.d.ts
479
440
  /**
480
441
  * Request: request-instance
481
442
  * Answered through `eventbus.request('request-instance', systemName)` by
@@ -491,8 +452,6 @@ interface RequestInstanceEvent {
491
452
  args: [systemName: string];
492
453
  returns: unknown;
493
454
  }
494
- //#endregion
495
- //#region src/eventbus/events/request-label-collection.d.ts
496
455
  /**
497
456
  * Event: request-label-collection
498
457
  * @param language - The language code
@@ -505,8 +464,6 @@ interface RequestLabelCollectionEvent {
505
464
  name: 'request-label-collection';
506
465
  args: [language: string, callback: (collection: any) => void];
507
466
  }
508
- //#endregion
509
- //#region src/eventbus/events/request-label-collections.d.ts
510
467
  /**
511
468
  * Event: request-label-collections
512
469
  * @param labelIds - Array of label IDs to retrieve
@@ -519,8 +476,6 @@ interface RequestLabelCollectionsEvent {
519
476
  name: 'request-label-collections';
520
477
  args: [labelIds: string[], callback: (collections: any) => void];
521
478
  }
522
- //#endregion
523
- //#region src/eventbus/events/request-timeline-cleanup.d.ts
524
479
  /**
525
480
  * Event: request-timeline-cleanup
526
481
  * @category Engine Request
@@ -529,8 +484,6 @@ interface RequestTimelineCleanupEvent {
529
484
  name: 'request-timeline-cleanup';
530
485
  args: [];
531
486
  }
532
- //#endregion
533
- //#region src/eventbus/events/request-timeline-uri.d.ts
534
487
  /**
535
488
  * Event: request-timeline-uri
536
489
  * @param uri - The timeline URI to load
@@ -541,8 +494,6 @@ interface RequestTimelineUriEvent {
541
494
  name: 'request-timeline-uri';
542
495
  args: [uri: string, position?: number];
543
496
  }
544
- //#endregion
545
- //#region src/eventbus/events/request-translation.d.ts
546
497
  /**
547
498
  * Request: request-translation
548
499
  * Answered through `eventbus.request('request-translation', key, params)` by
@@ -558,8 +509,6 @@ interface RequestTranslationEvent {
558
509
  args: [key: string | string[], params?: Record<string, unknown>];
559
510
  returns: string;
560
511
  }
561
- //#endregion
562
- //#region src/eventbus/events/request-video-cleanup.d.ts
563
512
  /**
564
513
  * Event: request-video-cleanup
565
514
  * @deprecated Legacy video navigation event; the engine does not handle it. Use a navigation entry with
@@ -570,8 +519,6 @@ interface RequestVideoCleanupEvent {
570
519
  name: 'request-video-cleanup';
571
520
  args: [];
572
521
  }
573
- //#endregion
574
- //#region src/eventbus/events/request-video-url.d.ts
575
522
  /**
576
523
  * Event: request-video-url
577
524
  * @param videoUrlIndex - The index of the video URL
@@ -585,8 +532,6 @@ interface RequestVideoUrlEvent {
585
532
  name: 'request-video-url';
586
533
  args: [videoUrlIndex: number, requestedVideoPosition?: number, fromRouting?: boolean];
587
534
  }
588
- //#endregion
589
- //#region src/eventbus/events/timeline-complete.d.ts
590
535
  /**
591
536
  * Event: timeline-complete
592
537
  * @category Timeline
@@ -595,8 +540,6 @@ interface CompleteEvent {
595
540
  name: 'timeline-complete';
596
541
  args: [];
597
542
  }
598
- //#endregion
599
- //#region src/eventbus/events/timeline-container-request.d.ts
600
543
  /**
601
544
  * Request: timeline-container-request
602
545
  * Answered through `eventbus.request('timeline-container-request')` by
@@ -611,8 +554,6 @@ interface ContainerRequestEvent {
611
554
  args: [];
612
555
  returns: JQuery<HTMLElement> | undefined;
613
556
  }
614
- //#endregion
615
- //#region src/eventbus/events/timeline-current-timeline-change.d.ts
616
557
  /**
617
558
  * Event: timeline-current-timeline-change
618
559
  * @param timelineUri - The URI of the new current timeline
@@ -622,8 +563,6 @@ interface CurrentTimelineChangeEvent {
622
563
  name: 'timeline-current-timeline-change';
623
564
  args: [timelineUri: string];
624
565
  }
625
- //#endregion
626
- //#region src/eventbus/events/timeline-duration-request.d.ts
627
566
  /**
628
567
  * Request: timeline-duration-request
629
568
  * Answered through `eventbus.request('timeline-duration-request')` by
@@ -638,8 +577,6 @@ interface DurationRequestEvent {
638
577
  args: [];
639
578
  returns: number | undefined;
640
579
  }
641
- //#endregion
642
- //#region src/eventbus/events/timeline-duration.d.ts
643
580
  /**
644
581
  * Event: timeline-duration
645
582
  * @param getDuration - Function that returns the timeline duration
@@ -649,8 +586,6 @@ interface DurationEvent {
649
586
  name: 'timeline-duration';
650
587
  args: [getDuration: (() => number) | undefined];
651
588
  }
652
- //#endregion
653
- //#region src/eventbus/events/timeline-firstframe.d.ts
654
589
  /**
655
590
  * Event: timeline-firstframe
656
591
  * @category Timeline
@@ -659,8 +594,6 @@ interface FirstFrameEvent {
659
594
  name: 'timeline-firstframe';
660
595
  args: [];
661
596
  }
662
- //#endregion
663
- //#region src/eventbus/events/timeline-pause-request.d.ts
664
597
  /**
665
598
  * Event: timeline-pause-request
666
599
  * @category Timeline
@@ -669,8 +602,6 @@ interface PauseRequestEvent {
669
602
  name: 'timeline-pause-request';
670
603
  args: [];
671
604
  }
672
- //#endregion
673
- //#region src/eventbus/events/timeline-pause.d.ts
674
605
  /**
675
606
  * Event: timeline-pause
676
607
  * @category Timeline
@@ -679,8 +610,6 @@ interface PauseEvent {
679
610
  name: 'timeline-pause';
680
611
  args: [];
681
612
  }
682
- //#endregion
683
- //#region src/eventbus/events/timeline-play-request.d.ts
684
613
  /**
685
614
  * Event: timeline-play-request
686
615
  * @category Timeline
@@ -689,8 +618,6 @@ interface PlayRequestEvent {
689
618
  name: 'timeline-play-request';
690
619
  args: [];
691
620
  }
692
- //#endregion
693
- //#region src/eventbus/events/timeline-play-toggle-request.d.ts
694
621
  /**
695
622
  * Event: timeline-play-toggle-request
696
623
  * @category Timeline
@@ -699,8 +626,6 @@ interface PlayToggleRequestEvent {
699
626
  name: 'timeline-play-toggle-request';
700
627
  args: [];
701
628
  }
702
- //#endregion
703
- //#region src/eventbus/events/timeline-play.d.ts
704
629
  /**
705
630
  * Event: timeline-play
706
631
  * @category Timeline
@@ -709,8 +634,6 @@ interface PlayEvent {
709
634
  name: 'timeline-play';
710
635
  args: [];
711
636
  }
712
- //#endregion
713
- //#region src/eventbus/events/timeline-request-current-timeline.d.ts
714
637
  /**
715
638
  * Request: timeline-request-current-timeline
716
639
  * Answered through `eventbus.request('timeline-request-current-timeline')` by
@@ -725,8 +648,6 @@ interface RequestCurrentTimelineEvent {
725
648
  args: [];
726
649
  returns: string;
727
650
  }
728
- //#endregion
729
- //#region src/eventbus/events/timeline-resize-request.d.ts
730
651
  /**
731
652
  * Event: timeline-resize-request
732
653
  * @category Timeline
@@ -735,8 +656,6 @@ interface ResizeRequestEvent {
735
656
  name: 'timeline-resize-request';
736
657
  args: [];
737
658
  }
738
- //#endregion
739
- //#region src/eventbus/events/timeline-resize.d.ts
740
659
  /**
741
660
  * Event: timeline-resize
742
661
  * @category Timeline
@@ -745,8 +664,6 @@ interface ResizeEvent {
745
664
  name: 'timeline-resize';
746
665
  args: [];
747
666
  }
748
- //#endregion
749
- //#region src/eventbus/events/timeline-restart.d.ts
750
667
  /**
751
668
  * Event: timeline-restart
752
669
  * @category Timeline
@@ -755,8 +672,6 @@ interface RestartEvent {
755
672
  name: 'timeline-restart';
756
673
  args: [];
757
674
  }
758
- //#endregion
759
- //#region src/eventbus/events/timeline-seek-request.d.ts
760
675
  /**
761
676
  * Event: timeline-seek-request
762
677
  * @param position - The timeline position to seek to
@@ -766,8 +681,6 @@ interface SeekRequestEvent {
766
681
  name: 'timeline-seek-request';
767
682
  args: [position: number];
768
683
  }
769
- //#endregion
770
- //#region src/eventbus/events/timeline-seek.d.ts
771
684
  /**
772
685
  * Event: timeline-seek
773
686
  * @param seekPosition - The position to seek to
@@ -779,8 +692,6 @@ interface SeekEvent {
779
692
  name: 'timeline-seek';
780
693
  args: [seekPosition: number, currentPosition: number, duration: number];
781
694
  }
782
- //#endregion
783
- //#region src/eventbus/events/timeline-seeked.d.ts
784
695
  /**
785
696
  * Event: timeline-seeked
786
697
  * @param position - The new timeline position after seeking
@@ -791,8 +702,6 @@ interface SeekedEvent {
791
702
  name: 'timeline-seeked';
792
703
  args: [position: number, duration: number];
793
704
  }
794
- //#endregion
795
- //#region src/eventbus/events/timeline-stop-request.d.ts
796
705
  /**
797
706
  * Event: timeline-stop-request
798
707
  * @category Timeline
@@ -801,8 +710,6 @@ interface StopRequestEvent {
801
710
  name: 'timeline-stop-request';
802
711
  args: [];
803
712
  }
804
- //#endregion
805
- //#region src/eventbus/events/timeline-stop.d.ts
806
713
  /**
807
714
  * Event: timeline-stop
808
715
  * @category Timeline
@@ -811,8 +718,6 @@ interface StopEvent {
811
718
  name: 'timeline-stop';
812
719
  args: [];
813
720
  }
814
- //#endregion
815
- //#region src/eventbus/events/timeline-time.d.ts
816
721
  /**
817
722
  * Event: timeline-time
818
723
  * @param position - The current timeline position
@@ -822,8 +727,6 @@ interface TimeEvent {
822
727
  name: 'timeline-time';
823
728
  args: [position: number];
824
729
  }
825
- //#endregion
826
- //#region src/eventbus/events/video-complete.d.ts
827
730
  /**
828
731
  * Event: video-complete
829
732
  * @param index - The video URL index that completed
@@ -835,8 +738,6 @@ interface VideoCompleteEvent {
835
738
  name: 'video-complete';
836
739
  args: [index: number];
837
740
  }
838
- //#endregion
839
- //#region src/eventbus/events/types.d.ts
840
741
  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;
841
742
  type EventMap = { [K in AllEvents as K['name']]: K extends {
842
743
  returns: infer R;
@@ -895,8 +796,6 @@ interface RequestMap {
895
796
  returns: RequestCurrentTimelineEvent['returns'];
896
797
  };
897
798
  }
898
- //#endregion
899
- //#region src/eventbus/types.d.ts
900
799
  type TEventbusRemover = () => void;
901
800
  type TRequestResponder<T = unknown> = (...args: any[]) => T;
902
801
  /**
@@ -1030,8 +929,6 @@ interface IEventbusListener {
1030
929
  interface IEventbusInterceptor {
1031
930
  intercept(eventArgs: any[]): any[];
1032
931
  }
1033
- //#endregion
1034
- //#region src/operation/types.d.ts
1035
932
  type TOperationData = Record<string, any>;
1036
933
  type TOperationResult<T = TOperationData> = Promise<T> | T;
1037
934
  interface IOperationScope {
@@ -1091,8 +988,6 @@ interface IOperationScope {
1091
988
  type TOperation<T extends TOperationData = TOperationData, RT = T> = (this: IOperationScope, operationData: T) => TOperationResult<RT>;
1092
989
  type ExtractOperationData<T extends TOperation<TOperationData>> = T extends TOperation<infer K> ? K : never;
1093
990
  type ExtractReturnedOperationData<T extends TOperation<TOperationData, TOperationData>> = T extends TOperation<any, infer K> ? unknown extends K ? ExtractOperationData<T> : K : never;
1094
- //#endregion
1095
- //#region src/action/types.d.ts
1096
991
  interface IAction {
1097
992
  id: string;
1098
993
  name: string;
@@ -1107,9 +1002,14 @@ interface ITimelineAction extends IEndableAction {
1107
1002
  get active(): boolean;
1108
1003
  duration: IStrictDuration;
1109
1004
  }
1110
- //#endregion
1111
- //#region src/controllers/dom-event-listener-controller.d.ts
1112
- interface IActionInstanceInfo {
1005
+ /**
1006
+ * Helpers shared by the controllers that run configured actions in response
1007
+ * to an input (`DOMEventListenerController`, `KeyboardController`).
1008
+ */
1009
+ /**
1010
+ * An action to run, and whether its `start` (or `end`) operations run.
1011
+ */
1012
+ interface IControllerAction {
1113
1013
  start: boolean;
1114
1014
  action: IEndableAction;
1115
1015
  }
@@ -1136,14 +1036,16 @@ interface IDOMEventListenerControllerOperationData {
1136
1036
  * By default the `start` operations of the specified actions are executed. To execute the `end` operations instead,
1137
1037
  * prefix the action name with `end:`.
1138
1038
  *
1139
- * The actions run in order, each receiving the operation data the previous one returned. When an action fails, the
1039
+ * The actions receive a copy of `actionOperationData` plus `eventTarget` (the event's target) and, for key events,
1040
+ * `eventKey` (the `KeyboardEvent.key`). They run in order, each receiving the operation data the previous one
1041
+ * returned. When an action fails, the
1140
1042
  * remaining actions are skipped and the failure is reported through the eventbus's `reportError` (an error naming
1141
1043
  * this controller, the action and the DOM event, with the original error as `cause`), or logged with
1142
1044
  * `console.error` when the eventbus has no `reportError`.
1143
1045
  */
1144
1046
  declare class DOMEventListenerController implements IController<IDOMEventListenerControllerOperationData> {
1145
1047
  operationData?: IDOMEventListenerControllerOperationData;
1146
- actionInstanceInfos?: IActionInstanceInfo[];
1048
+ actionInstanceInfos?: IControllerAction[];
1147
1049
  name: string;
1148
1050
  private _boundEventHandler;
1149
1051
  /** The eventbus passed to attach(), used to report failing actions */
@@ -1158,30 +1060,127 @@ declare class DOMEventListenerController implements IController<IDOMEventListene
1158
1060
  * DOM event, and keeps the responder's "did you mean" hint
1159
1061
  */
1160
1062
  attach(eventbus: IEventbus): void;
1161
- private _isStartAction;
1162
1063
  private _eventHandler;
1163
1064
  /**
1164
- * Runs the actions one after another, merging each action's result into the
1165
- * operation data for the next. A failing action stops the chain, since later
1166
- * actions consume the earlier actions' output, and is reported with an error
1167
- * naming this controller, the action, the phase and the DOM event (see
1168
- * `_reportFailure`). The operation data is never logged.
1065
+ * Removes only the handler this controller registered, so other handlers for
1066
+ * the same event on the element keep working, and resets the action
1067
+ * instances so a later attach registers again.
1169
1068
  */
1170
- private _executeActions;
1069
+ detach(_eventbus: IEventbus): void;
1070
+ }
1071
+ /**
1072
+ * Where a {@link KeyboardController} listens:
1073
+ * - `'document'`: while the focus is inside the engine root, or while
1074
+ * nothing has focus. With several engines on a page, a press while
1075
+ * nothing has focus runs the actions of one engine only: the engine the
1076
+ * user last clicked or focused inside, otherwise the first one that bound
1077
+ * the key.
1078
+ * - `'element'`: only while the focus is inside the selected element.
1079
+ */
1080
+ type TKeyboardControllerScope = 'document' | 'element';
1081
+ interface IKeyboardControllerOperationData {
1171
1082
  /**
1172
- * Reports through the eventbus's `reportError` when it has one, so the
1173
- * application's `onHandlerError` sees it; otherwise logs it.
1083
+ * @dependency
1174
1084
  */
1175
- private _reportFailure;
1085
+ selectedElement: JQuery;
1176
1086
  /**
1177
- * Removes only the handler this controller registered, so other handlers for
1178
- * the same event on the element keep working, and resets the action
1179
- * instances so a later attach registers again.
1087
+ * The keys that run the actions, in hotkeys-js syntax: comma separated
1088
+ * shortcuts such as `'right'`, `'shift+right'` or `'space, enter'`. Key
1089
+ * names are case insensitive. Accepted are the hotkeys-js names (`left`,
1090
+ * `up`, `right`, `down`, `space`, `enter`, `esc`, `tab`, `backspace`,
1091
+ * `del`, `ins`, `home`, `end`, `pageup`, `pagedown`, `f1` to `f19`,
1092
+ * `num_0` to `num_9`), the `KeyboardEvent.key` names of the same keys
1093
+ * (`ArrowLeft`, `ArrowUp`, `ArrowRight`, `ArrowDown`, `Enter`, `Escape`,
1094
+ * `Tab`, `Backspace`, `Delete`, `Insert`, `Home`, `End`, `PageUp`,
1095
+ * `PageDown`, `F1`), a single letter or digit, and the punctuation keys
1096
+ * `,` `.` `/` `;` `'` `[` `]` `-` `=`.
1097
+ * `' '` (the `KeyboardEvent.key` of the space bar) means `space`.
1098
+ * Modifiers: `shift`, `alt` (`option`), `ctrl` (`control`) and `meta`
1099
+ * (`cmd`, `command`).
1100
+ *
1101
+ * @type=ParameterType:string
1102
+ * @required
1103
+ */
1104
+ keys: string;
1105
+ actions: string[];
1106
+ /**
1107
+ * @type=ParameterType:object
1108
+ */
1109
+ actionOperationData?: TOperationData;
1110
+ /**
1111
+ * Defaults to `'document'`; see {@link TKeyboardControllerScope}.
1112
+ */
1113
+ scope?: TKeyboardControllerScope;
1114
+ }
1115
+ /**
1116
+ * This controller runs the given actions when one of the given keys is pressed.
1117
+ *
1118
+ * By default the `start` operations of the specified actions are executed. To execute the `end` operations instead,
1119
+ * prefix the action name with `end:`.
1120
+ *
1121
+ * The actions receive a copy of `actionOperationData` plus `eventTarget` (the focused element, or the body when
1122
+ * nothing has focus) and `eventKey` (the `KeyboardEvent.key`). They run in order, each receiving the operation data
1123
+ * the previous one returned. When an action fails, the remaining actions are skipped and the failure is reported
1124
+ * through the eventbus's `reportError`, or logged with `console.error` when the eventbus has no `reportError`.
1125
+ *
1126
+ * With `scope: 'document'` (the default) the keys work while the focus is inside the engine root, or while nothing
1127
+ * has focus. With `scope: 'element'` they only work while the focus is inside the selected element. Presses in
1128
+ * `input`, `select`, `textarea` and contenteditable elements are ignored, so typing keeps working. A handled press
1129
+ * has its default action prevented (no scrolling for arrow keys and space); a held key runs the actions once, not
1130
+ * again for every key repeat.
1131
+ *
1132
+ * When the keys include the play toggle hotkey of the engine (space by default), or a key that the engine's
1133
+ * KeyboardStepSource binds (the arrow keys, `shift+left`/`shift+right`, `home` and `end`), the controller wins: a
1134
+ * press it handles runs its actions and does not toggle playback or step the timeline. A press it ignores (for
1135
+ * example outside the selected element with `scope: 'element'`) still does.
1136
+ *
1137
+ * The keys are bound in the hotkeys-js `'all'` scope, so they work whatever scope a KeyboardStepSource sets. The
1138
+ * hotkeys-js global `filter` still applies. Detaching removes only this controller's handler.
1139
+ *
1140
+ * @example
1141
+ * ```json
1142
+ * {"systemName": "addControllerToElement", "operationData": {"keys": "ArrowRight", "actions": ["NextChapter"]}}
1143
+ * ```
1144
+ */
1145
+ declare class KeyboardController implements IController<IKeyboardControllerOperationData> {
1146
+ operationData?: IKeyboardControllerOperationData;
1147
+ actionInstanceInfos?: IControllerAction[];
1148
+ name: string;
1149
+ private _handler;
1150
+ private _leaveRegistry;
1151
+ /** The eventbus passed to attach(), used to report failing actions */
1152
+ private _eventbus;
1153
+ /**
1154
+ * @param operationData - The keys, actions and scope
1155
+ * @throws when `keys` is empty or names a key hotkeys-js can't match, or
1156
+ * when `scope` is not `'document'` or `'element'`
1157
+ */
1158
+ init(operationData: IKeyboardControllerOperationData): void;
1159
+ /**
1160
+ * Looks up the configured actions and starts listening for the keys.
1161
+ *
1162
+ * @param eventbus - The eventbus to request the actions and the engine root
1163
+ * from
1164
+ * @throws when an action name is unknown (`request-action` throws or
1165
+ * returns nothing); the message names the controller, the action and the
1166
+ * keys, and keeps the responder's "did you mean" hint
1167
+ */
1168
+ attach(eventbus: IEventbus): void;
1169
+ /**
1170
+ * Removes only the handler this controller bound, so other bindings of the
1171
+ * same keys keep working, and resets the action instances so a later
1172
+ * attach binds again.
1180
1173
  */
1181
1174
  detach(_eventbus: IEventbus): void;
1175
+ private _handleKey;
1176
+ private _trigger;
1177
+ private _requestEngineRoot;
1178
+ /**
1179
+ * @returns The keys with `' '` replaced by `space`
1180
+ * @throws when the keys are empty or name a key hotkeys-js can't match
1181
+ */
1182
+ private _normalizeKeys;
1182
1183
  }
1183
- //#endregion
1184
- //#region src/controllers/base-controller.d.ts
1185
1184
  /**
1186
1185
  * Abstract base class for controllers providing standardized event listener management
1187
1186
  *
@@ -1246,8 +1245,6 @@ declare abstract class BaseController<T extends TOperationData> implements ICont
1246
1245
  abstract init(operationData: T): void;
1247
1246
  abstract attach(eventbus: IEventbus): Promise<any> | void;
1248
1247
  }
1249
- //#endregion
1250
- //#region src/controllers/label-controller.d.ts
1251
1248
  interface ILabelControllerMetadata {
1252
1249
  /**
1253
1250
  * @dependency
@@ -1302,8 +1299,6 @@ declare class LabelController extends BaseController<ILabelControllerMetadata> {
1302
1299
  detach(eventbus: IEventbus): void;
1303
1300
  private _handleLanguageChange;
1304
1301
  }
1305
- //#endregion
1306
- //#region src/controllers/lottie-controller.d.ts
1307
1302
  interface IInnerMetadata {
1308
1303
  /**
1309
1304
  * @dependency
@@ -1424,8 +1419,6 @@ declare class LottieController extends BaseController<ILottieControllerMetadata>
1424
1419
  */
1425
1420
  private _handleLanguageChange;
1426
1421
  }
1427
- //#endregion
1428
- //#region src/controllers/mutation-observer-controller.d.ts
1429
1422
  /**
1430
1423
  * Metadata configuration for MutationObserverController
1431
1424
  *
@@ -1579,8 +1572,6 @@ declare class MutationObserverController extends BaseController<IMutationObserve
1579
1572
  */
1580
1573
  private _handleMutations;
1581
1574
  }
1582
- //#endregion
1583
- //#region src/controllers/navigation-controller.d.ts
1584
1575
  interface INavigationControllerOperationData {
1585
1576
  /**
1586
1577
  * @dependency
@@ -1681,8 +1672,6 @@ declare class NavigationController extends BaseController<INavigationControllerO
1681
1672
  private _handleTimelineChange;
1682
1673
  private _addLabel;
1683
1674
  }
1684
- //#endregion
1685
- //#region src/controllers/progressbar-controller.d.ts
1686
1675
  interface IProgressbarControllerOperationData {
1687
1676
  /**
1688
1677
  * @dependency
@@ -1724,8 +1713,6 @@ declare class ProgressbarController extends BaseController<IProgressbarControlle
1724
1713
  private _positionUpdateHandler;
1725
1714
  private _clickHandler;
1726
1715
  }
1727
- //#endregion
1728
- //#region src/controllers/routing-controller.d.ts
1729
1716
  interface IRoutingControllerOperationData {
1730
1717
  /**
1731
1718
  * The navigation json, in the same format as NavigationController's. Give
@@ -1803,8 +1790,6 @@ declare class RoutingController extends BaseController<IRoutingControllerOperati
1803
1790
  */
1804
1791
  private _resolveStatePosition;
1805
1792
  }
1806
- //#endregion
1807
- //#region src/controllers/subtitles-controller.d.ts
1808
1793
  interface ISubtitlesControllerOperationData {
1809
1794
  /**
1810
1795
  * @dependency
@@ -1901,10 +1886,8 @@ declare class SubtitlesController extends BaseController<ISubtitlesControllerOpe
1901
1886
  init(operationData: ISubtitlesControllerOperationData): void;
1902
1887
  }
1903
1888
  declare namespace index_d_exports$1 {
1904
- export { DOMEventListenerController, IDOMEventListenerControllerOperationData, ILabelControllerMetadata, ILottieControllerMetadata, IMutationEventPayload, IMutationObserverControllerMetadata, INavigationControllerOperationData, IProgressbarControllerOperationData, IRoutingControllerOperationData, ISubtitlesControllerOperationData, LabelController, LottieController, MutationObserverController, NavigationController, ProgressbarController, RoutingController, SubtitlesController };
1889
+ export { DOMEventListenerController, IDOMEventListenerControllerOperationData, IKeyboardControllerOperationData, ILabelControllerMetadata, ILottieControllerMetadata, IMutationEventPayload, IMutationObserverControllerMetadata, INavigationControllerOperationData, IProgressbarControllerOperationData, IRoutingControllerOperationData, ISubtitlesControllerOperationData, KeyboardController, LabelController, LottieController, MutationObserverController, NavigationController, ProgressbarController, RoutingController, SubtitlesController, TKeyboardControllerScope };
1905
1890
  }
1906
- //#endregion
1907
- //#region src/operation/add-class.d.ts
1908
1891
  interface IAddClassOperationData {
1909
1892
  /**
1910
1893
  * @dependency
@@ -1923,8 +1906,6 @@ interface IAddClassOperationData {
1923
1906
  * @category DOM
1924
1907
  */
1925
1908
  declare const addClass: TOperation<IAddClassOperationData, Omit<IAddClassOperationData, 'className'>>;
1926
- //#endregion
1927
- //#region src/operation/add-controller-to-element.d.ts
1928
1909
  type IAddControllerToElementOperationData<T extends TOperationData = TOperationData> = {
1929
1910
  /**
1930
1911
  * @dependency
@@ -1948,8 +1929,6 @@ type IAddControllerToElementOperationData<T extends TOperationData = TOperationD
1948
1929
  * @category Controller
1949
1930
  */
1950
1931
  declare const addControllerToElement: TOperation<IAddControllerToElementOperationData>;
1951
- //#endregion
1952
- //#region src/operation/add-globals-to-operation.d.ts
1953
1932
  interface IAddGlobalsToOperationData {
1954
1933
  /**
1955
1934
  * The names of the global properties that will be copied onto the current operation data
@@ -1971,8 +1950,6 @@ interface IAddGlobalsToOperationData {
1971
1950
  * @category Data
1972
1951
  */
1973
1952
  declare const addGlobalsToOperation: TOperation<IAddGlobalsToOperationData, Omit<IAddGlobalsToOperationData, 'globalProperties'>>;
1974
- //#endregion
1975
- //#region src/operation/animate.d.ts
1976
1953
  interface IAnimateOperationData {
1977
1954
  /**
1978
1955
  * @type=ParameterType:string
@@ -2005,8 +1982,6 @@ interface IAnimateOperationData {
2005
1982
  * @category Animation
2006
1983
  */
2007
1984
  declare const animate: TOperation<IAnimateOperationData, Omit<IAnimateOperationData, 'animationEasing' | 'animationProperties' | 'animationDuration'>>;
2008
- //#endregion
2009
- //#region src/operation/animate-with-class.d.ts
2010
1985
  interface IAnimateWithClassOperationData {
2011
1986
  /**
2012
1987
  * @dependency
@@ -2052,8 +2027,6 @@ interface IAnimateWithClassOperationData {
2052
2027
  * @category Animation
2053
2028
  */
2054
2029
  declare const animateWithClass: TOperation<IAnimateWithClassOperationData, Omit<IAnimateWithClassOperationData, 'className' | 'removeClass' | 'includeDescendants'>>;
2055
- //#endregion
2056
- //#region src/operation/announce-to-screen-reader.d.ts
2057
2030
  interface IAnnounceToScreenReaderOperationData {
2058
2031
  /**
2059
2032
  * @required
@@ -2081,8 +2054,6 @@ interface IAnnounceToScreenReaderOperationData {
2081
2054
  * @category Accessibility
2082
2055
  */
2083
2056
  declare const announceToScreenReader: TOperation<IAnnounceToScreenReaderOperationData, Omit<IAnnounceToScreenReaderOperationData, 'message' | 'priority'>>;
2084
- //#endregion
2085
- //#region src/operation/break-for-each.d.ts
2086
2057
  /**
2087
2058
  *
2088
2059
  * This operation should only be used within a loop, so between a {@link forEach} and {@link endForEach}
@@ -2093,8 +2064,6 @@ declare const announceToScreenReader: TOperation<IAnnounceToScreenReaderOperatio
2093
2064
  * @category Control Flow
2094
2065
  */
2095
2066
  declare const breakForEach: TOperation<TOperationData>;
2096
- //#endregion
2097
- //#region src/operation/broadcast-event.d.ts
2098
2067
  interface IBroadcastEventOperationData {
2099
2068
  /**
2100
2069
  * @required
@@ -2120,8 +2089,6 @@ interface IBroadcastEventOperationData {
2120
2089
  * @category Utility
2121
2090
  */
2122
2091
  declare const broadcastEvent: TOperation<IBroadcastEventOperationData, Omit<IBroadcastEventOperationData, 'eventArgs' | 'eventTopic' | 'eventName'>>;
2123
- //#endregion
2124
- //#region src/operation/calc.d.ts
2125
2092
  type TCalculationOperator = '+' | '-' | '*' | '/' | '%' | '**';
2126
2093
  interface ICalcOperationData {
2127
2094
  /**
@@ -2161,8 +2128,6 @@ interface ICalcOperationData {
2161
2128
  * @category Utility
2162
2129
  */
2163
2130
  declare const calc: TOperation<ICalcOperationData, Omit<ICalcOperationData, 'left' | 'right' | 'operator'>>;
2164
- //#endregion
2165
- //#region src/operation/clear-element.d.ts
2166
2131
  interface IClearElementOperationData {
2167
2132
  /**
2168
2133
  * @dependency
@@ -2180,8 +2145,6 @@ interface IClearElementOperationData {
2180
2145
  * @category DOM
2181
2146
  */
2182
2147
  declare const clearElement: TOperation<IClearElementOperationData>;
2183
- //#endregion
2184
- //#region src/operation/clear-operation-data.d.ts
2185
2148
  interface IClearOperationDataOperationData {
2186
2149
  /**
2187
2150
  * @erased
@@ -2195,8 +2158,6 @@ interface IClearOperationDataOperationData {
2195
2158
  * @category Data
2196
2159
  */
2197
2160
  declare const clearOperationData: TOperation<IClearOperationDataOperationData, Omit<IClearOperationDataOperationData, 'properties'>>;
2198
- //#endregion
2199
- //#region src/operation/clear-storage.d.ts
2200
2161
  type StorageType$2 = 'local' | 'session';
2201
2162
  interface IClearStorageOperationData {
2202
2163
  /**
@@ -2241,8 +2202,6 @@ interface IClearStorageOperationData {
2241
2202
  * @category Data
2242
2203
  */
2243
2204
  declare const clearStorage: TOperation<IClearStorageOperationData, Omit<IClearStorageOperationData, 'key' | 'storageType'>>;
2244
- //#endregion
2245
- //#region src/operation/compare-date.d.ts
2246
2205
  interface ICompareDateOperationData {
2247
2206
  /**
2248
2207
  * @required
@@ -2278,8 +2237,6 @@ interface ICompareDateOperationData {
2278
2237
  * @category Date
2279
2238
  */
2280
2239
  declare const compareDate: TOperation<ICompareDateOperationData, Omit<ICompareDateOperationData, 'date1' | 'date2'>>;
2281
- //#endregion
2282
- //#region src/operation/concatenate-strings.d.ts
2283
2240
  interface IConcatenateStringsOperationData {
2284
2241
  /**
2285
2242
  * @required
@@ -2313,8 +2270,6 @@ interface IConcatenateStringsOperationData {
2313
2270
  * @category String
2314
2271
  */
2315
2272
  declare const concatenateStrings: TOperation<IConcatenateStringsOperationData, Omit<IConcatenateStringsOperationData, 'strings' | 'separator'>>;
2316
- //#endregion
2317
- //#region src/operation/continue-for-each.d.ts
2318
2273
  /**
2319
2274
  *
2320
2275
  * This operation should only be used within a loop, so between a {@link forEach} and {@link endForEach}
@@ -2326,8 +2281,6 @@ declare const concatenateStrings: TOperation<IConcatenateStringsOperationData, O
2326
2281
  * @category Control Flow
2327
2282
  */
2328
2283
  declare const continueForEach: TOperation<TOperationData>;
2329
- //#endregion
2330
- //#region src/operation/create-element.d.ts
2331
2284
  type TTagNames = keyof HTMLElementTagNameMap;
2332
2285
  interface ICreateElementOperationData<T extends TTagNames> {
2333
2286
  /**
@@ -2369,8 +2322,6 @@ interface ICreateElementOperationData<T extends TTagNames> {
2369
2322
  * @category DOM
2370
2323
  */
2371
2324
  declare const createElement: TOperation<ICreateElementOperationData<TTagNames>, Omit<RequireKeys<ICreateElementOperationData<TTagNames>, 'template'>, 'elementName' | 'text' | 'attributes'>>;
2372
- //#endregion
2373
- //#region src/operation/custom-function.d.ts
2374
2325
  interface ICustomFunctionOperationData {
2375
2326
  /**
2376
2327
  * @type=ParameterType:systemName
@@ -2403,8 +2354,6 @@ interface ICustomFunctionOperationData {
2403
2354
  * @category Utility
2404
2355
  */
2405
2356
  declare const customFunction: TOperation<ICustomFunctionOperationData, Omit<ICustomFunctionOperationData, 'systemName'>>;
2406
- //#endregion
2407
- //#region src/operation/end-action.d.ts
2408
2357
  interface IEndActionOperationData {
2409
2358
  /**
2410
2359
  * @dependency
@@ -2427,24 +2376,18 @@ interface IEndActionOperationData {
2427
2376
  * @category Action
2428
2377
  */
2429
2378
  declare const endAction: TOperation<IEndActionOperationData, Omit<IEndActionOperationData, 'actionOperationData'>>;
2430
- //#endregion
2431
- //#region src/operation/end-for-each.d.ts
2432
2379
  /**
2433
2380
  * This operation checks if the current loop should end or start the next iteration.
2434
2381
  *
2435
2382
  * @category Control Flow
2436
2383
  */
2437
2384
  declare const endForEach: TOperation<TOperationData>;
2438
- //#endregion
2439
- //#region src/operation/end-when.d.ts
2440
2385
  /**
2441
2386
  * This operation cleans up after the {@link when}/{@link otherwise}/{@link endWhen} control flow ends.
2442
2387
  *
2443
2388
  * @category Control Flow
2444
2389
  */
2445
2390
  declare const endWhen: TOperation<Record<string, unknown>>;
2446
- //#endregion
2447
- //#region src/operation/extend-controller.d.ts
2448
2391
  /**
2449
2392
  * This operation extends the specified controller instance with the specified extension.
2450
2393
  */
@@ -2470,8 +2413,6 @@ interface IExtendControllerOperationData {
2470
2413
  * @category Controller
2471
2414
  */
2472
2415
  declare const extendController: TOperation<IExtendControllerOperationData, Omit<IExtendControllerOperationData, 'controllerExtension'>>;
2473
- //#endregion
2474
- //#region src/operation/filter-array.d.ts
2475
2416
  interface IFilterArrayOperationData {
2476
2417
  /**
2477
2418
  * @dependency
@@ -2531,8 +2472,6 @@ interface IFilterArrayOperationData {
2531
2472
  * @category Array
2532
2473
  */
2533
2474
  declare const filterArray: TOperation<IFilterArrayOperationData, Omit<IFilterArrayOperationData, 'filterProperty' | 'filterValue' | 'filterPredicate'>>;
2534
- //#endregion
2535
- //#region src/operation/find-in-array.d.ts
2536
2475
  interface IFindInArrayOperationData {
2537
2476
  /**
2538
2477
  * @dependency
@@ -2600,8 +2539,6 @@ interface IFindInArrayOperationData {
2600
2539
  * @category Array
2601
2540
  */
2602
2541
  declare const findInArray: TOperation<IFindInArrayOperationData, Omit<IFindInArrayOperationData, 'findProperty' | 'findValue' | 'findPredicate'>>;
2603
- //#endregion
2604
- //#region src/operation/for-each.d.ts
2605
2542
  interface IForEachOperationData {
2606
2543
  /**
2607
2544
  * @type=ParameterType:array|ParameterType:string
@@ -2628,8 +2565,6 @@ interface IForEachOperationData {
2628
2565
  * @category Control Flow
2629
2566
  */
2630
2567
  declare const forEach: TOperation<IForEachOperationData>;
2631
- //#endregion
2632
- //#region src/operation/format-date.d.ts
2633
2568
  interface IFormatDateOperationData {
2634
2569
  /**
2635
2570
  * @dependency
@@ -2667,8 +2602,6 @@ interface IFormatDateOperationData {
2667
2602
  * @category Date
2668
2603
  */
2669
2604
  declare const formatDate: TOperation<IFormatDateOperationData, Omit<IFormatDateOperationData, 'format'>>;
2670
- //#endregion
2671
- //#region src/operation/format-text.d.ts
2672
2605
  type TextTransformation = 'uppercase' | 'lowercase' | 'capitalize' | 'titlecase' | 'trim';
2673
2606
  interface IFormatTextOperationData {
2674
2607
  /**
@@ -2722,8 +2655,6 @@ interface IFormatTextOperationData {
2722
2655
  * @category Text
2723
2656
  */
2724
2657
  declare const formatText: TOperation<IFormatTextOperationData, Omit<IFormatTextOperationData, 'transformation'>>;
2725
- //#endregion
2726
- //#region src/operation/get-attributes-from-element.d.ts
2727
2658
  interface IGetAttributesFromElementOperationData {
2728
2659
  /**
2729
2660
  * The HTML element whose attributes will be retrieved
@@ -2748,8 +2679,6 @@ interface IGetAttributesFromElementOperationData {
2748
2679
  * @category DOM
2749
2680
  */
2750
2681
  declare const getAttributesFromElement: TOperation<IGetAttributesFromElementOperationData, Omit<IGetAttributesFromElementOperationData, 'attributeNames'>>;
2751
- //#endregion
2752
- //#region src/operation/get-controller-from-element.d.ts
2753
2682
  interface IGetControllerFromElementOperationData {
2754
2683
  /**
2755
2684
  * @dependency
@@ -2776,8 +2705,6 @@ interface IGetControllerFromElementOperationData {
2776
2705
  * @category Controller
2777
2706
  */
2778
2707
  declare const getControllerFromElement: TOperation<IGetControllerFromElementOperationData, Omit<IGetControllerFromElementOperationData, 'controllerName'>>;
2779
- //#endregion
2780
- //#region src/operation/get-controller-instance.d.ts
2781
2708
  type TSystemName = keyof typeof index_d_exports$1;
2782
2709
  interface IGetControllerInstanceOperationData {
2783
2710
  /**
@@ -2807,8 +2734,6 @@ interface IGetControllerInstanceOperationData {
2807
2734
  * @category Controller
2808
2735
  */
2809
2736
  declare const getControllerInstance: TOperation<IGetControllerInstanceOperationData, Omit<IGetControllerInstanceOperationData, 'systemName'>>;
2810
- //#endregion
2811
- //#region src/operation/get-current-time.d.ts
2812
2737
  interface IGetCurrentTimeOperationData {
2813
2738
  /**
2814
2739
  * @output
@@ -2825,8 +2750,6 @@ interface IGetCurrentTimeOperationData {
2825
2750
  * @category Date
2826
2751
  */
2827
2752
  declare const getCurrentTime: TOperation<IGetCurrentTimeOperationData, IGetCurrentTimeOperationData>;
2828
- //#endregion
2829
- //#region src/operation/get-element-dimensions.d.ts
2830
2753
  interface IGetElementDimensionsOperationData {
2831
2754
  /**
2832
2755
  * @dependency
@@ -2864,8 +2787,6 @@ interface IGetElementDimensionsOperationData {
2864
2787
  * @category DOM
2865
2788
  */
2866
2789
  declare const getElementDimensions: TOperation<IGetElementDimensionsOperationData, Omit<IGetElementDimensionsOperationData, 'modifier'>>;
2867
- //#endregion
2868
- //#region src/operation/get-focused-element.d.ts
2869
2790
  interface IGetFocusedElementOperationData {
2870
2791
  /**
2871
2792
  * @type=ParameterType:jQuery
@@ -2879,8 +2800,6 @@ interface IGetFocusedElementOperationData {
2879
2800
  * @category Focus
2880
2801
  */
2881
2802
  declare const getFocusedElement: TOperation<IGetFocusedElementOperationData, IGetFocusedElementOperationData>;
2882
- //#endregion
2883
- //#region src/operation/get-form-data.d.ts
2884
2803
  interface IGetFormDataOperationData {
2885
2804
  /**
2886
2805
  * @dependency
@@ -2911,8 +2830,6 @@ interface IGetFormDataOperationData {
2911
2830
  * @category Form
2912
2831
  */
2913
2832
  declare const getFormData: TOperation<IGetFormDataOperationData, IGetFormDataOperationData>;
2914
- //#endregion
2915
- //#region src/operation/get-import.d.ts
2916
2833
  interface IGetImportOperationData {
2917
2834
  /**
2918
2835
  * @type=ParameterType:systemName
@@ -2943,8 +2860,6 @@ interface IGetImportOperationData {
2943
2860
  * @category Utility
2944
2861
  */
2945
2862
  declare const getImport: TOperation<IGetImportOperationData, Omit<RequireKeys<IGetImportOperationData, 'importedInstance'>, 'systemName'>>;
2946
- //#endregion
2947
- //#region src/operation/get-query-params.d.ts
2948
2863
  interface IGetQueryParamsOperationData {
2949
2864
  /**
2950
2865
  * The query params will be added as property/values to this object.
@@ -2975,8 +2890,6 @@ interface IGetQueryParamsOperationData {
2975
2890
  * @category Utility
2976
2891
  */
2977
2892
  declare const getQueryParams: TOperation<IGetQueryParamsOperationData, Omit<IGetQueryParamsOperationData, 'defaultValues'>>;
2978
- //#endregion
2979
- //#region src/operation/get-scroll-position.d.ts
2980
2893
  interface IGetScrollPositionOperationData {
2981
2894
  /**
2982
2895
  * @output
@@ -3006,8 +2919,6 @@ interface IGetScrollPositionOperationData {
3006
2919
  * @category Scroll
3007
2920
  */
3008
2921
  declare const getScrollPosition: TOperation<IGetScrollPositionOperationData, IGetScrollPositionOperationData>;
3009
- //#endregion
3010
- //#region src/operation/get-text-content.d.ts
3011
2922
  interface IGetTextContentOperationData {
3012
2923
  /**
3013
2924
  * @dependency
@@ -3037,8 +2948,6 @@ interface IGetTextContentOperationData {
3037
2948
  * @category Text
3038
2949
  */
3039
2950
  declare const getTextContent: TOperation<IGetTextContentOperationData, IGetTextContentOperationData>;
3040
- //#endregion
3041
- //#region src/operation/http-delete.d.ts
3042
2951
  interface IHttpDeleteOperationData {
3043
2952
  /**
3044
2953
  * @required
@@ -3079,8 +2988,6 @@ interface IHttpDeleteOperationData {
3079
2988
  * @category HTTP
3080
2989
  */
3081
2990
  declare const httpDelete: TOperation<IHttpDeleteOperationData, Omit<IHttpDeleteOperationData, 'url' | 'headers'>>;
3082
- //#endregion
3083
- //#region src/operation/http-post.d.ts
3084
2991
  interface IHttpPostOperationData {
3085
2992
  /**
3086
2993
  * @required
@@ -3131,8 +3038,6 @@ interface IHttpPostOperationData {
3131
3038
  * @category HTTP
3132
3039
  */
3133
3040
  declare const httpPost: TOperation<IHttpPostOperationData, Omit<IHttpPostOperationData, 'url' | 'body' | 'headers'>>;
3134
- //#endregion
3135
- //#region src/operation/http-put.d.ts
3136
3041
  interface IHttpPutOperationData {
3137
3042
  /**
3138
3043
  * @required
@@ -3183,8 +3088,6 @@ interface IHttpPutOperationData {
3183
3088
  * @category HTTP
3184
3089
  */
3185
3090
  declare const httpPut: TOperation<IHttpPutOperationData, Omit<IHttpPutOperationData, 'url' | 'body' | 'headers'>>;
3186
- //#endregion
3187
- //#region src/operation/invoke-object-method.d.ts
3188
3091
  interface IInvokeObjectMethodOperationData {
3189
3092
  /**
3190
3093
  *
@@ -3236,8 +3139,6 @@ interface IInvokeObjectMethodOperationData {
3236
3139
  * @category Utility
3237
3140
  */
3238
3141
  declare const invokeObjectMethod: TOperation<IInvokeObjectMethodOperationData, Omit<IInvokeObjectMethodOperationData, 'methodName' | 'methodArguments'>>;
3239
- //#endregion
3240
- //#region src/operation/is-element-in-viewport.d.ts
3241
3142
  interface IIsElementInViewportOperationData {
3242
3143
  /**
3243
3144
  * @dependency
@@ -3267,8 +3168,6 @@ interface IIsElementInViewportOperationData {
3267
3168
  * @category DOM
3268
3169
  */
3269
3170
  declare const isElementInViewport: TOperation<IIsElementInViewportOperationData, IIsElementInViewportOperationData>;
3270
- //#endregion
3271
- //#region src/operation/load-from-storage.d.ts
3272
3171
  type StorageType$1 = 'local' | 'session';
3273
3172
  interface ILoadFromStorageOperationData {
3274
3173
  /**
@@ -3318,8 +3217,6 @@ interface ILoadFromStorageOperationData {
3318
3217
  * @category Data
3319
3218
  */
3320
3219
  declare const loadFromStorage: TOperation<ILoadFromStorageOperationData, Omit<ILoadFromStorageOperationData, 'key' | 'storageType'>>;
3321
- //#endregion
3322
- //#region src/operation/load-json.d.ts
3323
3220
  interface ILoadJSONOperationData {
3324
3221
  /**
3325
3222
  * The URL where the JSON will be retrieved from
@@ -3353,8 +3250,6 @@ interface ILoadJSONOperationData {
3353
3250
  * @category Utility
3354
3251
  */
3355
3252
  declare const loadJson: TOperation<ILoadJSONOperationData, Omit<ILoadJSONOperationData, 'url' | 'cache'>>;
3356
- //#endregion
3357
- //#region src/operation/log.d.ts
3358
3253
  interface ILogOperationData {
3359
3254
  /**
3360
3255
  * @type=ParameterType:object|ParameterType:string|ParameterType:number|ParameterType:boolean|ParameterType:array
@@ -3373,8 +3268,6 @@ interface ILogOperationData {
3373
3268
  * @category Utility
3374
3269
  */
3375
3270
  declare const log: TOperation<ILogOperationData, Omit<ILogOperationData, 'logValue' | 'logName'>>;
3376
- //#endregion
3377
- //#region src/operation/map-array.d.ts
3378
3271
  interface IMapArrayOperationData {
3379
3272
  /**
3380
3273
  * @dependency
@@ -3431,8 +3324,6 @@ interface IMapArrayOperationData {
3431
3324
  * @category Array
3432
3325
  */
3433
3326
  declare const mapArray: TOperation<IMapArrayOperationData, Omit<IMapArrayOperationData, 'mapFunction'>>;
3434
- //#endregion
3435
- //#region src/operation/math.d.ts
3436
3327
  type MathFunctionKeys = { [K in keyof Math]: Math[K] extends ((...args: any) => any) ? K : never; }[keyof Math];
3437
3328
  type MathNonFunctionKeys = { [K in keyof Math]: Math[K] extends ((...args: any) => any) ? never : K; }[keyof Math];
3438
3329
  interface IMathOperationData {
@@ -3465,8 +3356,6 @@ interface IMathOperationData {
3465
3356
  * @category Utility
3466
3357
  */
3467
3358
  declare const math: TOperation<IMathOperationData, Omit<IMathOperationData, 'args' | 'functionName'>>;
3468
- //#endregion
3469
- //#region src/operation/otherwise.d.ts
3470
3359
  /**
3471
3360
  * If the preceeding {@link when} operation evaluates to `true` subsequent operations will
3472
3361
  * be skipped until an {@link endWhen} operation is encountered.
@@ -3474,8 +3363,6 @@ declare const math: TOperation<IMathOperationData, Omit<IMathOperationData, 'arg
3474
3363
  * @category Control Flow
3475
3364
  */
3476
3365
  declare const otherwise: TOperation<Record<string, unknown>>;
3477
- //#endregion
3478
- //#region src/operation/remove-class.d.ts
3479
3366
  interface IRemoveClassOperationData {
3480
3367
  /**
3481
3368
  * @dependency
@@ -3496,8 +3383,6 @@ interface IRemoveClassOperationData {
3496
3383
  * @category DOM
3497
3384
  */
3498
3385
  declare const removeClass: TOperation<IRemoveClassOperationData, Omit<IRemoveClassOperationData, 'className'>>;
3499
- //#endregion
3500
- //#region src/operation/remove-controller-from-element.d.ts
3501
3386
  interface IRemoveControllerFromElementOperationData {
3502
3387
  /**
3503
3388
  * @dependency
@@ -3519,8 +3404,6 @@ interface IRemoveControllerFromElementOperationData {
3519
3404
  * @category Controller
3520
3405
  */
3521
3406
  declare const removeControllerFromElement: TOperation<IRemoveControllerFromElementOperationData, Omit<IRemoveControllerFromElementOperationData, 'controllerName'>>;
3522
- //#endregion
3523
- //#region src/operation/remove-element.d.ts
3524
3407
  interface IRemoveElementOperationData {
3525
3408
  /**
3526
3409
  * @dependency
@@ -3538,8 +3421,6 @@ interface IRemoveElementOperationData {
3538
3421
  * @category DOM
3539
3422
  */
3540
3423
  declare const removeElement: TOperation<IRemoveElementOperationData>;
3541
- //#endregion
3542
- //#region src/operation/remove-properties-from-operation-data.d.ts
3543
3424
  interface IRemovePropertiesFromOperationDataOperationData {
3544
3425
  /**
3545
3426
  * @required
@@ -3554,8 +3435,6 @@ interface IRemovePropertiesFromOperationDataOperationData {
3554
3435
  * @category Data
3555
3436
  */
3556
3437
  declare const removePropertiesFromOperationData: TOperation<IRemovePropertiesFromOperationDataOperationData, Omit<IRemovePropertiesFromOperationDataOperationData, 'propertyNames'>>;
3557
- //#endregion
3558
- //#region src/operation/reparent-element.d.ts
3559
3438
  interface IReparentElementOperationData {
3560
3439
  /**
3561
3440
  * @dependency
@@ -3585,8 +3464,6 @@ interface IReparentElementOperationData {
3585
3464
  * @category DOM
3586
3465
  */
3587
3466
  declare const reparentElement: TOperation<IReparentElementOperationData, Omit<IReparentElementOperationData, 'newParentSelector'>>;
3588
- //#endregion
3589
- //#region src/operation/replace-string.d.ts
3590
3467
  interface IReplaceStringOperationData {
3591
3468
  /**
3592
3469
  * @dependency
@@ -3632,8 +3509,6 @@ interface IReplaceStringOperationData {
3632
3509
  * @category String
3633
3510
  */
3634
3511
  declare const replaceString: TOperation<IReplaceStringOperationData, Omit<IReplaceStringOperationData, 'pattern' | 'replacement'>>;
3635
- //#endregion
3636
- //#region src/operation/replace-text.d.ts
3637
3512
  interface IReplaceTextOperationData {
3638
3513
  /**
3639
3514
  * @dependency
@@ -3693,8 +3568,6 @@ interface IReplaceTextOperationData {
3693
3568
  * @category Text
3694
3569
  */
3695
3570
  declare const replaceText: TOperation<IReplaceTextOperationData, Omit<IReplaceTextOperationData, 'searchPattern' | 'replacement'>>;
3696
- //#endregion
3697
- //#region src/operation/request-action.d.ts
3698
3571
  interface IRequestActionOperationData {
3699
3572
  /**
3700
3573
  * @type=ParameterType:actionName
@@ -3719,8 +3592,6 @@ interface IRequestActionOperationData {
3719
3592
  * @category Action
3720
3593
  */
3721
3594
  declare const requestAction: TOperation<IRequestActionOperationData, Omit<Required<IRequestActionOperationData>, 'systemName'>>;
3722
- //#endregion
3723
- //#region src/operation/save-to-storage.d.ts
3724
3595
  type StorageType = 'local' | 'session';
3725
3596
  interface ISaveToStorageOperationData {
3726
3597
  /**
@@ -3772,8 +3643,6 @@ interface ISaveToStorageOperationData {
3772
3643
  * @category Data
3773
3644
  */
3774
3645
  declare const saveToStorage: TOperation<ISaveToStorageOperationData, Omit<ISaveToStorageOperationData, 'key' | 'value' | 'storageType'>>;
3775
- //#endregion
3776
- //#region src/operation/scroll-to-element.d.ts
3777
3646
  type ScrollBehavior$1 = 'auto' | 'smooth';
3778
3647
  type ScrollLogicalPosition = 'start' | 'center' | 'end' | 'nearest';
3779
3648
  interface IScrollToElementOperationData {
@@ -3827,8 +3696,6 @@ interface IScrollToElementOperationData {
3827
3696
  * @category Scroll
3828
3697
  */
3829
3698
  declare const scrollToElement: TOperation<IScrollToElementOperationData, Omit<IScrollToElementOperationData, 'behavior' | 'block' | 'inline'>>;
3830
- //#endregion
3831
- //#region src/operation/scroll-to-position.d.ts
3832
3699
  type ScrollBehavior = 'auto' | 'smooth';
3833
3700
  interface IScrollToPositionOperationData {
3834
3701
  /**
@@ -3876,8 +3743,6 @@ interface IScrollToPositionOperationData {
3876
3743
  * @category Scroll
3877
3744
  */
3878
3745
  declare const scrollToPosition: TOperation<IScrollToPositionOperationData, Omit<IScrollToPositionOperationData, 'x' | 'y' | 'behavior'>>;
3879
- //#endregion
3880
- //#region src/operation/select-element.d.ts
3881
3746
  interface ISelectElementOperationData {
3882
3747
  /**
3883
3748
  * @type=ParameterType:selector
@@ -3905,8 +3770,6 @@ interface ISelectElementOperationData {
3905
3770
  * @category DOM
3906
3771
  */
3907
3772
  declare const selectElement: TOperation<ISelectElementOperationData, Omit<ISelectElementOperationData, 'selector' | 'useSelectedElementAsRoot'>>;
3908
- //#endregion
3909
- //#region src/operation/set-data.d.ts
3910
3773
  type TDataTarget = `$scope.${string}` | `$operationdata.${string}` | `$globaldata.${string}`;
3911
3774
  interface ISetDataOperationData {
3912
3775
  /**
@@ -3937,8 +3800,6 @@ interface ISetDataOperationData {
3937
3800
  * @category Data
3938
3801
  */
3939
3802
  declare const setData: TOperation<ISetDataOperationData, Omit<ISetDataOperationData, 'properties'>>;
3940
- //#endregion
3941
- //#region src/operation/set-element-attributes.d.ts
3942
3803
  interface ISetElementAttributesOperationData {
3943
3804
  /**
3944
3805
  * @required
@@ -3961,8 +3822,6 @@ interface ISetElementAttributesOperationData {
3961
3822
  * @category DOM
3962
3823
  */
3963
3824
  declare const setElementAttributes: TOperation<ISetElementAttributesOperationData, Omit<ISetElementAttributesOperationData, 'attributes'>>;
3964
- //#endregion
3965
- //#region src/operation/set-element-content.d.ts
3966
3825
  interface ISetElementContentOperationData {
3967
3826
  /**
3968
3827
  * @dependency
@@ -4008,8 +3867,6 @@ interface ISetElementContentOperationData {
4008
3867
  * @category DOM
4009
3868
  */
4010
3869
  declare const setElementContent: TOperation<ISetElementContentOperationData, Omit<ISetElementContentOperationData, 'template' | 'insertionType'>>;
4011
- //#endregion
4012
- //#region src/operation/set-focus.d.ts
4013
3870
  interface ISetFocusOperationData {
4014
3871
  /**
4015
3872
  * @dependency
@@ -4022,8 +3879,6 @@ interface ISetFocusOperationData {
4022
3879
  * @category Focus
4023
3880
  */
4024
3881
  declare const setFocus: TOperation<ISetFocusOperationData, ISetFocusOperationData>;
4025
- //#endregion
4026
- //#region src/operation/set-form-value.d.ts
4027
3882
  interface ISetFormValueOperationData {
4028
3883
  /**
4029
3884
  * @dependency
@@ -4061,8 +3916,6 @@ interface ISetFormValueOperationData {
4061
3916
  * @category Form
4062
3917
  */
4063
3918
  declare const setFormValue: TOperation<ISetFormValueOperationData, Omit<ISetFormValueOperationData, 'value'>>;
4064
- //#endregion
4065
- //#region src/operation/set-global-data.d.ts
4066
3919
  interface ISetGlobalDataOperationData {
4067
3920
  /**
4068
3921
  * @required
@@ -4082,8 +3935,6 @@ interface ISetGlobalDataOperationData {
4082
3935
  * @category Data
4083
3936
  */
4084
3937
  declare const setGlobalData: TOperation<ISetGlobalDataOperationData, Omit<ISetGlobalDataOperationData, 'propertyNames'>>;
4085
- //#endregion
4086
- //#region src/operation/set-operation-data.d.ts
4087
3938
  interface ISetOperationData {
4088
3939
  /**
4089
3940
  * If set to true, the plucked properties replace the current operation data.
@@ -4103,8 +3954,6 @@ interface ISetOperationData {
4103
3954
  * @category Data
4104
3955
  */
4105
3956
  declare const setOperationData: TOperation<ISetOperationData, Omit<ISetOperationData, 'override' | 'properties'>>;
4106
- //#endregion
4107
- //#region src/operation/set-style.d.ts
4108
3957
  interface ISetStyleOperationData {
4109
3958
  /**
4110
3959
  * @type=ParameterType:cssProperties
@@ -4124,8 +3973,6 @@ interface ISetStyleOperationData {
4124
3973
  * @category DOM
4125
3974
  */
4126
3975
  declare const setStyle: TOperation<ISetStyleOperationData, Omit<ISetStyleOperationData, 'properties'>>;
4127
- //#endregion
4128
- //#region src/operation/set-variable.d.ts
4129
3976
  interface ISetVariableOperationData {
4130
3977
  /**
4131
3978
  * @required
@@ -4152,8 +3999,6 @@ interface ISetVariableOperationData {
4152
3999
  * @category Data
4153
4000
  */
4154
4001
  declare const setVariable: TOperation<ISetVariableOperationData, Omit<ISetVariableOperationData, 'name' | 'value'>>;
4155
- //#endregion
4156
- //#region src/operation/sort-array.d.ts
4157
4002
  type SortOrder = 'asc' | 'desc';
4158
4003
  interface ISortArrayOperationData {
4159
4004
  /**
@@ -4224,8 +4069,6 @@ interface ISortArrayOperationData {
4224
4069
  * @category Array
4225
4070
  */
4226
4071
  declare const sortArray: TOperation<ISortArrayOperationData, Omit<ISortArrayOperationData, 'sortProperty' | 'sortOrder' | 'sortComparator'>>;
4227
- //#endregion
4228
- //#region src/operation/split-string.d.ts
4229
4072
  interface ISplitStringOperationData {
4230
4073
  /**
4231
4074
  * @dependency
@@ -4263,8 +4106,6 @@ interface ISplitStringOperationData {
4263
4106
  * @category String
4264
4107
  */
4265
4108
  declare const splitString: TOperation<ISplitStringOperationData, Omit<ISplitStringOperationData, 'delimiter' | 'limit'>>;
4266
- //#endregion
4267
- //#region src/operation/start-action.d.ts
4268
4109
  interface IStartActionOperationData {
4269
4110
  /**
4270
4111
  * @dependency
@@ -4287,8 +4128,6 @@ interface IStartActionOperationData {
4287
4128
  * @category Action
4288
4129
  */
4289
4130
  declare const startAction: TOperation<IStartActionOperationData, Omit<IStartActionOperationData, 'actionOperationData'>>;
4290
- //#endregion
4291
- //#region src/operation/substring-text.d.ts
4292
4131
  interface ISubstringTextOperationData {
4293
4132
  /**
4294
4133
  * @dependency
@@ -4327,8 +4166,6 @@ interface ISubstringTextOperationData {
4327
4166
  * @category Text
4328
4167
  */
4329
4168
  declare const substringText: TOperation<ISubstringTextOperationData, Omit<ISubstringTextOperationData, 'start' | 'end'>>;
4330
- //#endregion
4331
- //#region src/operation/toggle-class.d.ts
4332
4169
  interface IToggleClassOperationData {
4333
4170
  /**
4334
4171
  * The element on which the class will be toggled
@@ -4352,8 +4189,6 @@ interface IToggleClassOperationData {
4352
4189
  * @category DOM
4353
4190
  */
4354
4191
  declare const toggleClass: TOperation<IToggleClassOperationData, Omit<IToggleClassOperationData, 'className'>>;
4355
- //#endregion
4356
- //#region src/operation/toggle-element.d.ts
4357
4192
  interface IToggleElementOperationData {
4358
4193
  /**
4359
4194
  * The element whose visibility will be toggled
@@ -4370,8 +4205,6 @@ interface IToggleElementOperationData {
4370
4205
  * @category DOM
4371
4206
  */
4372
4207
  declare const toggleElement: TOperation<IToggleElementOperationData>;
4373
- //#endregion
4374
- //#region src/operation/toggle-form-element.d.ts
4375
4208
  interface IToggleFormElementOperationData {
4376
4209
  /**
4377
4210
  * @dependency
@@ -4406,8 +4239,6 @@ interface IToggleFormElementOperationData {
4406
4239
  * @category Form
4407
4240
  */
4408
4241
  declare const toggleFormElement: TOperation<IToggleFormElementOperationData, Omit<IToggleFormElementOperationData, 'enabled'>>;
4409
- //#endregion
4410
- //#region src/operation/validate-form.d.ts
4411
4242
  interface IValidationRules {
4412
4243
  required?: boolean;
4413
4244
  minLength?: number;
@@ -4470,8 +4301,6 @@ interface IValidateFormOperationData {
4470
4301
  * @category Form
4471
4302
  */
4472
4303
  declare const validateForm: TOperation<IValidateFormOperationData, Omit<IValidateFormOperationData, 'validationRules'>>;
4473
- //#endregion
4474
- //#region src/operation/wait.d.ts
4475
4304
  interface IWaitOperationData {
4476
4305
  /**
4477
4306
  * The amount of milliseconds the operation will wait for.
@@ -4486,8 +4315,6 @@ interface IWaitOperationData {
4486
4315
  * @category Utility
4487
4316
  */
4488
4317
  declare const wait: TOperation<IWaitOperationData, Omit<IWaitOperationData, 'milliseconds'>>;
4489
- //#endregion
4490
- //#region src/operation/when.d.ts
4491
4318
  /**
4492
4319
  * A condition expression, see {@link when} for the grammar.
4493
4320
  */
@@ -4570,8 +4397,6 @@ declare const when: TOperation<IWhenOperationData, Omit<IWhenOperationData, 'exp
4570
4397
  declare namespace index_d_exports {
4571
4398
  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, 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 };
4572
4399
  }
4573
- //#endregion
4574
- //#region src/configuration/types.d.ts
4575
4400
  /**
4576
4401
  * Represents a language option for the available languages list.
4577
4402
  * Used for UI elements like language selection dropdowns.
@@ -4694,7 +4519,7 @@ type ITimelineFlow = Record<string, never>;
4694
4519
  * Built-in position sources:
4695
4520
  * - `RafPositionSource`: RAF-based, drives timeline by elapsed time
4696
4521
  * - `ScrollPositionSource`: Scroll-based, drives timeline by scroll position
4697
- * - `VideoPositionSource`: Video.js-based, drives timeline by video playback
4522
+ * - `VideoPositionSource`: native HTML video element, drives timeline by media playback
4698
4523
  *
4699
4524
  * @example
4700
4525
  * ```typescript
@@ -4743,8 +4568,10 @@ interface IPositionSourceConfig {
4743
4568
  */
4744
4569
  tickInterval?: number;
4745
4570
  /**
4746
- * Media to load (video sources), each with its URL and MIME type.
4747
- * `VideoPositionSource` requires a non-empty list.
4571
+ * Media to load (video sources), each with its URL and MIME type, in order
4572
+ * of preference. `VideoPositionSource` requires a non-empty list of
4573
+ * browser-playable media files (video or audio, for example MP4, WebM or
4574
+ * MP3).
4748
4575
  */
4749
4576
  sources?: Array<{
4750
4577
  src: string;
@@ -4754,9 +4581,17 @@ interface IPositionSourceConfig {
4754
4581
  * Optional poster image URL (video sources).
4755
4582
  */
4756
4583
  poster?: string;
4584
+ /**
4585
+ * Milliseconds `VideoPositionSource` waits for a source to become playable
4586
+ * before `init()` rejects. `0` disables the limit.
4587
+ *
4588
+ * @default 30000
4589
+ */
4590
+ loadTimeout?: number;
4757
4591
  /**
4758
4592
  * Additional configuration options passed to the position source constructor.
4759
4593
  * Use this for custom position source implementations.
4594
+ * `VideoPositionSource` rejects an `options` key (removed in 4.0.0).
4760
4595
  */
4761
4596
  [key: string]: unknown;
4762
4597
  }
@@ -4941,7 +4776,7 @@ interface ITimelineConfiguration {
4941
4776
  * A source that renders its own container (`VideoPositionSource`) is
4942
4777
  * shared by every timeline of the type with the same effective settings,
4943
4778
  * so only an override that changes the video settings creates a second
4944
- * player. Other sources are created once per timeline, as without an
4779
+ * video element. Other sources are created once per timeline, as without an
4945
4780
  * override.
4946
4781
  *
4947
4782
  * @example
@@ -5023,8 +4858,6 @@ interface IResolvedOperation {
5023
4858
  operationData: TOperationData;
5024
4859
  instance: TOperation<any>;
5025
4860
  }
5026
- //#endregion
5027
- //#region src/configuration/api/operation-lookup.d.ts
5028
4861
  /**
5029
4862
  * An operation system name the fluent API accepts: a built-in operation name
5030
4863
  * (offered by autocompletion), or the name of a custom operation that was
@@ -5038,8 +4871,6 @@ type TFluentOperationName = TOperationName | (string & {});
5038
4871
  * custom operation.
5039
4872
  */
5040
4873
  type TFluentOperationData<N extends string> = N extends TOperationName ? Partial<ExtractOperationDataType<GetOperationByName<N>>> : TOperationData;
5041
- //#endregion
5042
- //#region src/configuration/api/action-editor.d.ts
5043
4874
  /**
5044
4875
  *
5045
4876
  * A factory that assists in editing an action.
@@ -5178,7 +5009,7 @@ export declare class EndableActionEditor<T extends IEndableActionConfiguration =
5178
5009
  * @returns
5179
5010
  * @throws Error when `systemName` is neither a built-in nor a declared custom operation
5180
5011
  */
5181
- addEndOperation<T extends TFluentOperationName, O extends TFluentOperationData<T>>(systemName: T, operationData: O): OperationEditor<this, TOperation<TOperationData> | TOperation<IAddClassOperationData, Omit<IAddClassOperationData, "className">> | TOperation<IAddControllerToElementOperationData<TOperationData>> | TOperation<IAddGlobalsToOperationData, Omit<IAddGlobalsToOperationData, "globalProperties">> | TOperation<IAnimateOperationData, Omit<IAnimateOperationData, "animationEasing" | "animationProperties" | "animationDuration">> | TOperation<IAnimateWithClassOperationData, Omit<IAnimateWithClassOperationData, "removeClass" | "className" | "includeDescendants">> | TOperation<IAnnounceToScreenReaderOperationData, Omit<IAnnounceToScreenReaderOperationData, "message" | "priority">> | TOperation<IBroadcastEventOperationData, Omit<IBroadcastEventOperationData, "eventArgs" | "eventTopic" | "eventName">> | TOperation<ICalcOperationData, Omit<ICalcOperationData, "left" | "right" | "operator">> | TOperation<IClearElementOperationData> | TOperation<IClearOperationDataOperationData, Omit<IClearOperationDataOperationData, "properties">> | TOperation<IClearStorageOperationData, Omit<IClearStorageOperationData, "key" | "storageType">> | TOperation<ICompareDateOperationData, Omit<ICompareDateOperationData, "date1" | "date2">> | TOperation<IConcatenateStringsOperationData, Omit<IConcatenateStringsOperationData, "strings" | "separator">> | TOperation<ICreateElementOperationData<keyof HTMLElementTagNameMap>, Omit<RequireKeys<ICreateElementOperationData<keyof HTMLElementTagNameMap>, "template">, "elementName" | "text" | "attributes">> | TOperation<ICustomFunctionOperationData, Omit<ICustomFunctionOperationData, "systemName">> | TOperation<IEndActionOperationData, Omit<IEndActionOperationData, "actionOperationData">> | TOperation<Record<string, unknown>> | TOperation<IExtendControllerOperationData, Omit<IExtendControllerOperationData, "controllerExtension">> | TOperation<IFilterArrayOperationData, Omit<IFilterArrayOperationData, "filterProperty" | "filterValue" | "filterPredicate">> | TOperation<IFindInArrayOperationData, Omit<IFindInArrayOperationData, "findProperty" | "findValue" | "findPredicate">> | TOperation<IForEachOperationData> | TOperation<IFormatDateOperationData, Omit<IFormatDateOperationData, "format">> | TOperation<IFormatTextOperationData, Omit<IFormatTextOperationData, "transformation">> | TOperation<IGetAttributesFromElementOperationData, Omit<IGetAttributesFromElementOperationData, "attributeNames">> | TOperation<IGetControllerFromElementOperationData, Omit<IGetControllerFromElementOperationData, "controllerName">> | TOperation<IGetControllerInstanceOperationData, Omit<IGetControllerInstanceOperationData, "systemName">> | TOperation<IGetCurrentTimeOperationData, IGetCurrentTimeOperationData> | TOperation<IGetElementDimensionsOperationData, Omit<IGetElementDimensionsOperationData, "modifier">> | TOperation<IGetFocusedElementOperationData, IGetFocusedElementOperationData> | TOperation<IGetFormDataOperationData, IGetFormDataOperationData> | TOperation<IGetImportOperationData, Omit<RequireKeys<IGetImportOperationData, "importedInstance">, "systemName">> | TOperation<IGetQueryParamsOperationData, Omit<IGetQueryParamsOperationData, "defaultValues">> | TOperation<IGetScrollPositionOperationData, IGetScrollPositionOperationData> | TOperation<IGetTextContentOperationData, IGetTextContentOperationData> | TOperation<IHttpDeleteOperationData, Omit<IHttpDeleteOperationData, "url" | "headers">> | TOperation<IHttpPostOperationData, Omit<IHttpPostOperationData, "body" | "url" | "headers">> | TOperation<IHttpPutOperationData, Omit<IHttpPutOperationData, "body" | "url" | "headers">> | TOperation<IInvokeObjectMethodOperationData, Omit<IInvokeObjectMethodOperationData, "methodName" | "methodArguments">> | TOperation<IIsElementInViewportOperationData, IIsElementInViewportOperationData> | TOperation<ILoadFromStorageOperationData, Omit<ILoadFromStorageOperationData, "key" | "storageType">> | TOperation<ILoadJSONOperationData, Omit<ILoadJSONOperationData, "url" | "cache">> | TOperation<ILogOperationData, Omit<ILogOperationData, "logValue" | "logName">> | TOperation<IMapArrayOperationData, Omit<IMapArrayOperationData, "mapFunction">> | TOperation<IMathOperationData, Omit<IMathOperationData, "args" | "functionName">> | TOperation<IRemoveClassOperationData, Omit<IRemoveClassOperationData, "className">> | TOperation<IRemoveControllerFromElementOperationData, Omit<IRemoveControllerFromElementOperationData, "controllerName">> | TOperation<IRemoveElementOperationData> | TOperation<IRemovePropertiesFromOperationDataOperationData, Omit<IRemovePropertiesFromOperationDataOperationData, "propertyNames">> | TOperation<IReparentElementOperationData, Omit<IReparentElementOperationData, "newParentSelector">> | TOperation<IReplaceStringOperationData, Omit<IReplaceStringOperationData, "pattern" | "replacement">> | TOperation<IReplaceTextOperationData, Omit<IReplaceTextOperationData, "replacement" | "searchPattern">> | TOperation<IRequestActionOperationData, Omit<Required<IRequestActionOperationData>, "systemName">> | TOperation<ISaveToStorageOperationData, Omit<ISaveToStorageOperationData, "key" | "storageType" | "value">> | TOperation<IScrollToElementOperationData, Omit<IScrollToElementOperationData, "behavior" | "block" | "inline">> | TOperation<IScrollToPositionOperationData, Omit<IScrollToPositionOperationData, "behavior" | "x" | "y">> | TOperation<ISelectElementOperationData, Omit<ISelectElementOperationData, "selector" | "useSelectedElementAsRoot">> | TOperation<ISetDataOperationData, Omit<ISetDataOperationData, "properties">> | TOperation<ISetElementAttributesOperationData, Omit<ISetElementAttributesOperationData, "attributes">> | TOperation<ISetElementContentOperationData, Omit<ISetElementContentOperationData, "template" | "insertionType">> | TOperation<ISetFocusOperationData, ISetFocusOperationData> | TOperation<ISetFormValueOperationData, Omit<ISetFormValueOperationData, "value">> | TOperation<ISetGlobalDataOperationData, Omit<ISetGlobalDataOperationData, "propertyNames">> | TOperation<ISetOperationData, Omit<ISetOperationData, "properties" | "override">> | TOperation<ISetStyleOperationData, Omit<ISetStyleOperationData, "properties">> | TOperation<ISetVariableOperationData, Omit<ISetVariableOperationData, "value" | "name">> | TOperation<ISortArrayOperationData, Omit<ISortArrayOperationData, "sortProperty" | "sortOrder" | "sortComparator">> | TOperation<ISplitStringOperationData, Omit<ISplitStringOperationData, "delimiter" | "limit">> | TOperation<IStartActionOperationData, Omit<IStartActionOperationData, "actionOperationData">> | TOperation<ISubstringTextOperationData, Omit<ISubstringTextOperationData, "start" | "end">> | TOperation<IToggleClassOperationData, Omit<IToggleClassOperationData, "className">> | TOperation<IToggleElementOperationData> | TOperation<IToggleFormElementOperationData, Omit<IToggleFormElementOperationData, "enabled">> | TOperation<IValidateFormOperationData, Omit<IValidateFormOperationData, "validationRules">> | TOperation<IWaitOperationData, Omit<IWaitOperationData, "milliseconds">> | TOperation<IWhenOperationData, Omit<IWhenOperationData, "expression">>>;
5012
+ addEndOperation<T extends TFluentOperationName, O extends TFluentOperationData<T>>(systemName: T, operationData: O): OperationEditor<this, TOperation<IAddClassOperationData, Omit<IAddClassOperationData, "className">> | TOperation<IAddControllerToElementOperationData<TOperationData>> | TOperation<IAddGlobalsToOperationData, Omit<IAddGlobalsToOperationData, "globalProperties">> | TOperation<IAnimateOperationData, Omit<IAnimateOperationData, "animationEasing" | "animationProperties" | "animationDuration">> | TOperation<IAnimateWithClassOperationData, Omit<IAnimateWithClassOperationData, "removeClass" | "className" | "includeDescendants">> | TOperation<IAnnounceToScreenReaderOperationData, Omit<IAnnounceToScreenReaderOperationData, "message" | "priority">> | TOperation<TOperationData> | TOperation<IBroadcastEventOperationData, Omit<IBroadcastEventOperationData, "eventArgs" | "eventTopic" | "eventName">> | TOperation<ICalcOperationData, Omit<ICalcOperationData, "left" | "right" | "operator">> | TOperation<IClearElementOperationData> | TOperation<IClearOperationDataOperationData, Omit<IClearOperationDataOperationData, "properties">> | TOperation<IClearStorageOperationData, Omit<IClearStorageOperationData, "key" | "storageType">> | TOperation<ICompareDateOperationData, Omit<ICompareDateOperationData, "date1" | "date2">> | TOperation<IConcatenateStringsOperationData, Omit<IConcatenateStringsOperationData, "strings" | "separator">> | TOperation<ICreateElementOperationData<keyof HTMLElementTagNameMap>, Omit<RequireKeys<ICreateElementOperationData<keyof HTMLElementTagNameMap>, "template">, "elementName" | "text" | "attributes">> | TOperation<ICustomFunctionOperationData, Omit<ICustomFunctionOperationData, "systemName">> | TOperation<IEndActionOperationData, Omit<IEndActionOperationData, "actionOperationData">> | TOperation<Record<string, unknown>> | TOperation<IExtendControllerOperationData, Omit<IExtendControllerOperationData, "controllerExtension">> | TOperation<IFilterArrayOperationData, Omit<IFilterArrayOperationData, "filterProperty" | "filterValue" | "filterPredicate">> | TOperation<IFindInArrayOperationData, Omit<IFindInArrayOperationData, "findProperty" | "findValue" | "findPredicate">> | TOperation<IForEachOperationData> | TOperation<IFormatDateOperationData, Omit<IFormatDateOperationData, "format">> | TOperation<IFormatTextOperationData, Omit<IFormatTextOperationData, "transformation">> | TOperation<IGetAttributesFromElementOperationData, Omit<IGetAttributesFromElementOperationData, "attributeNames">> | TOperation<IGetControllerFromElementOperationData, Omit<IGetControllerFromElementOperationData, "controllerName">> | TOperation<IGetControllerInstanceOperationData, Omit<IGetControllerInstanceOperationData, "systemName">> | TOperation<IGetCurrentTimeOperationData, IGetCurrentTimeOperationData> | TOperation<IGetElementDimensionsOperationData, Omit<IGetElementDimensionsOperationData, "modifier">> | TOperation<IGetFocusedElementOperationData, IGetFocusedElementOperationData> | TOperation<IGetFormDataOperationData, IGetFormDataOperationData> | TOperation<IGetImportOperationData, Omit<RequireKeys<IGetImportOperationData, "importedInstance">, "systemName">> | TOperation<IGetQueryParamsOperationData, Omit<IGetQueryParamsOperationData, "defaultValues">> | TOperation<IGetScrollPositionOperationData, IGetScrollPositionOperationData> | TOperation<IGetTextContentOperationData, IGetTextContentOperationData> | TOperation<IHttpDeleteOperationData, Omit<IHttpDeleteOperationData, "url" | "headers">> | TOperation<IHttpPostOperationData, Omit<IHttpPostOperationData, "body" | "url" | "headers">> | TOperation<IHttpPutOperationData, Omit<IHttpPutOperationData, "body" | "url" | "headers">> | TOperation<IInvokeObjectMethodOperationData, Omit<IInvokeObjectMethodOperationData, "methodName" | "methodArguments">> | TOperation<IIsElementInViewportOperationData, IIsElementInViewportOperationData> | TOperation<ILoadFromStorageOperationData, Omit<ILoadFromStorageOperationData, "key" | "storageType">> | TOperation<ILoadJSONOperationData, Omit<ILoadJSONOperationData, "url" | "cache">> | TOperation<ILogOperationData, Omit<ILogOperationData, "logValue" | "logName">> | TOperation<IMapArrayOperationData, Omit<IMapArrayOperationData, "mapFunction">> | TOperation<IMathOperationData, Omit<IMathOperationData, "args" | "functionName">> | TOperation<IRemoveClassOperationData, Omit<IRemoveClassOperationData, "className">> | TOperation<IRemoveControllerFromElementOperationData, Omit<IRemoveControllerFromElementOperationData, "controllerName">> | TOperation<IRemoveElementOperationData> | TOperation<IRemovePropertiesFromOperationDataOperationData, Omit<IRemovePropertiesFromOperationDataOperationData, "propertyNames">> | TOperation<IReparentElementOperationData, Omit<IReparentElementOperationData, "newParentSelector">> | TOperation<IReplaceStringOperationData, Omit<IReplaceStringOperationData, "pattern" | "replacement">> | TOperation<IReplaceTextOperationData, Omit<IReplaceTextOperationData, "replacement" | "searchPattern">> | TOperation<IRequestActionOperationData, Omit<Required<IRequestActionOperationData>, "systemName">> | TOperation<ISaveToStorageOperationData, Omit<ISaveToStorageOperationData, "key" | "storageType" | "value">> | TOperation<IScrollToElementOperationData, Omit<IScrollToElementOperationData, "behavior" | "block" | "inline">> | TOperation<IScrollToPositionOperationData, Omit<IScrollToPositionOperationData, "behavior" | "x" | "y">> | TOperation<ISelectElementOperationData, Omit<ISelectElementOperationData, "selector" | "useSelectedElementAsRoot">> | TOperation<ISetDataOperationData, Omit<ISetDataOperationData, "properties">> | TOperation<ISetElementAttributesOperationData, Omit<ISetElementAttributesOperationData, "attributes">> | TOperation<ISetElementContentOperationData, Omit<ISetElementContentOperationData, "template" | "insertionType">> | TOperation<ISetFocusOperationData, ISetFocusOperationData> | TOperation<ISetFormValueOperationData, Omit<ISetFormValueOperationData, "value">> | TOperation<ISetGlobalDataOperationData, Omit<ISetGlobalDataOperationData, "propertyNames">> | TOperation<ISetOperationData, Omit<ISetOperationData, "properties" | "override">> | TOperation<ISetStyleOperationData, Omit<ISetStyleOperationData, "properties">> | TOperation<ISetVariableOperationData, Omit<ISetVariableOperationData, "name" | "value">> | TOperation<ISortArrayOperationData, Omit<ISortArrayOperationData, "sortProperty" | "sortOrder" | "sortComparator">> | TOperation<ISplitStringOperationData, Omit<ISplitStringOperationData, "delimiter" | "limit">> | TOperation<IStartActionOperationData, Omit<IStartActionOperationData, "actionOperationData">> | TOperation<ISubstringTextOperationData, Omit<ISubstringTextOperationData, "start" | "end">> | TOperation<IToggleClassOperationData, Omit<IToggleClassOperationData, "className">> | TOperation<IToggleElementOperationData> | TOperation<IToggleFormElementOperationData, Omit<IToggleFormElementOperationData, "enabled">> | TOperation<IValidateFormOperationData, Omit<IValidateFormOperationData, "validationRules">> | TOperation<IWaitOperationData, Omit<IWaitOperationData, "milliseconds">> | TOperation<IWhenOperationData, Omit<IWhenOperationData, "expression">>>;
5182
5013
  /**
5183
5014
  *
5184
5015
  * Starts an editor for the end operation associated with the given id
@@ -5296,8 +5127,6 @@ export declare class OperationEditor<T extends ActionEditor, O extends TOperatio
5296
5127
  */
5297
5128
  next(): T;
5298
5129
  }
5299
- //#endregion
5300
- //#region src/configuration/api/timeline-provider-settings-editor.d.ts
5301
5130
  export declare class TimelineProvidersSettingsEditor {
5302
5131
  private providersSettings;
5303
5132
  private configurationFactory;
@@ -5386,8 +5215,6 @@ export declare class TimelineProviderSettingsEditor {
5386
5215
  next(): TimelineProvidersSettingsEditor;
5387
5216
  end(): ConfigurationFactory;
5388
5217
  }
5389
- //#endregion
5390
- //#region src/configuration/api/configuration-factory.d.ts
5391
5218
  /** */
5392
5219
  export type TEngineConfigurationLists = KeysOfType<IEngineConfiguration, any[]>;
5393
5220
  /**
@@ -5678,7 +5505,8 @@ export declare class ConfigurationFactory {
5678
5505
  *
5679
5506
  * @param name
5680
5507
  * @param eventName the event that starts the action. Without it the action can
5681
- * only be started by name (for example by a `DOMEventListenerController`).
5508
+ * only be started by name (for example by a `DOMEventListenerController` or
5509
+ * `KeyboardController`).
5682
5510
  * @param eventTopic optional topic of the event
5683
5511
  * @returns
5684
5512
  *
@@ -5797,8 +5625,6 @@ export declare class ConfigurationFactory {
5797
5625
  */
5798
5626
  editTimelineAction(uri: string, id: string): TimelineActionEditor;
5799
5627
  }
5800
- //#endregion
5801
- //#region src/configuration/api/action-creator-factory.d.ts
5802
5628
  /**
5803
5629
  *
5804
5630
  * Container factory capable of creating the different kinds of actions.
@@ -5830,7 +5656,8 @@ export declare class ActionCreatorFactory {
5830
5656
  *
5831
5657
  * @param name
5832
5658
  * @param eventName the event that starts the action. Without it the action can
5833
- * only be started by name (for example by a `DOMEventListenerController`).
5659
+ * only be started by name (for example by a `DOMEventListenerController` or
5660
+ * `KeyboardController`).
5834
5661
  * @param eventTopic optional topic of the event
5835
5662
  * @returns
5836
5663
  */
@@ -5981,8 +5808,6 @@ export declare class TimelineActionCreator extends EndableActionCreator<ITimelin
5981
5808
  */
5982
5809
  addDuration(start: number, end?: number): this;
5983
5810
  }
5984
- //#endregion
5985
- //#region src/operation/metadata/parameter-types.d.ts
5986
5811
  /**
5987
5812
  * Every parameter type the operation and controller metadata may use. The
5988
5813
  * metadata generator fails on a type name that is not in this list.
@@ -5996,8 +5821,6 @@ export declare class TimelineActionCreator extends EndableActionCreator<ITimelin
5996
5821
  * functions there.
5997
5822
  */
5998
5823
  declare const PARAMETER_TYPES: readonly ["ParameterType:htmlElementName", "ParameterType:className", "ParameterType:selector", "ParameterType:string", "ParameterType:number", "ParameterType:object", "ParameterType:boolean", "ParameterType:array", "ParameterType:eventTopic", "ParameterType:eventName", "ParameterType:systemName", "ParameterType:actionName", "ParameterType:controllerName", "ParameterType:dimensions", "ParameterType:dimensionsModifier", "ParameterType:url", "ParameterType:htmlContent", "ParameterType:labelId", "ParameterType:ImagePath", "ParameterType:QuadrantPosition", "ParameterType:jQuery", "ParameterType:expression", "ParameterType:mathfunction", "ParameterType:cssProperties", "ParameterType:function", "ParameterType:Date", "ParameterType:languagecode", "ParameterType:RegExp", "ParameterType:Element", "ParameterType:Text", "ParameterType:Comment", "ParameterType:Document", "ParameterType:DocumentFragment"];
5999
- //#endregion
6000
- //#region src/operation/metadata/types.d.ts
6001
5824
  type THasRequired = {
6002
5825
  required?: boolean;
6003
5826
  };
@@ -6031,8 +5854,6 @@ interface IOperationMetadata<T> {
6031
5854
  type TParameterTypesDelimited = `${TParameterTypes}` | `${TParameterTypes}|${string}`;
6032
5855
  type TParameterTypes = (typeof PARAMETER_TYPES)[number];
6033
5856
  type TOperationCategory = 'DOM' | 'Controller' | 'Data' | 'Control Flow' | 'Animation' | 'Form' | 'Scroll' | 'Focus' | 'Array' | 'String' | 'Text' | 'Date' | 'HTTP' | 'Action' | 'Utility' | 'Accessibility';
6034
- //#endregion
6035
- //#region src/configuration/api/name-providers.d.ts
6036
5857
  /**
6037
5858
  *
6038
5859
  * Provider for all the available operation names
@@ -6057,8 +5878,6 @@ export declare class ControllerNamesProvider {
6057
5878
  export declare class OperationMetadataProvider {
6058
5879
  getOperationMetadata(operationName: TOperationName): IOperationMetadata<TOperationData>;
6059
5880
  }
6060
- //#endregion
6061
- //#region src/configuration/api/subtitle-converter.d.ts
6062
5881
  /**
6063
5882
  * This class converts an AVID subtitle file to an `ISubtitle` array.
6064
5883
  *
@@ -6072,8 +5891,6 @@ export declare class SubtitleImporter {
6072
5891
  convertDuration(time: string): IStrictDuration;
6073
5892
  convertTimeToSeconds(time: string): number;
6074
5893
  }
6075
- //#endregion
6076
- //#region src/configuration/api/subtitle-editor.d.ts
6077
5894
  /**
6078
5895
  * Used to edit and add to an {@link ISubtitleCollection}.
6079
5896
  */
@@ -6105,6 +5922,5 @@ export declare class SubtitleEditor {
6105
5922
  setSubtitle(languageCode: TLanguageCode, subtitle: ISubtitle): this;
6106
5923
  export(): ISubtitleCollection[];
6107
5924
  }
6108
- //#endregion
6109
5925
  export type { Controllers, ExtractOperationDataType, GetControllerByName, GetOperationByName, IActionConfiguration, IContainerProviderConfig, IEndableActionConfiguration, IEngineConfiguration, IEngineInfo, IEventActionConfiguration, ILabel, IOperationConfiguration, IPlaylistConfig, IPositionSourceConfig, IResolvedActionConfiguration, IResolvedEndableActionConfiguration, IResolvedEngineConfiguration, IResolvedOperation, IResolvedTimelineConfiguration, ITimelineActionConfiguration, ITimelineConfiguration, ITimelineFlow, ITimelineProviderSettings, Operations, TControllerName, TControllerType, TLanguageCode, TOperationName, TOperationType, TTimelineProviderSettings, TimelineTypes };
6110
5926
  //# sourceMappingURL=configuration-api.d.mts.map