eligius 1.4.1 → 1.5.1

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.
@@ -1,122 +1,49 @@
1
1
  import { AnimationItem, CanvasRendererConfig, HTMLRendererConfig, SVGRendererConfig } from "lottie-web";
2
2
 
3
- //#region src/eventbus/types.d.ts
4
- type TEventHandler = (...args: any[]) => void;
5
- type TEventbusRemover = () => void;
6
- interface IEventbus {
7
- clear(): void;
8
- on(eventName: string, eventHandler: TEventHandler, eventTopic?: string): TEventbusRemover;
9
- off(eventName: string, eventHandler: TEventHandler, eventTopic?: string): void;
10
- once(eventName: string, eventHandler: TEventHandler, eventTopic?: string): TEventbusRemover;
11
- broadcast(eventName: string, args?: any[]): void;
12
- broadcastForTopic(eventName: string, eventTopic: string, args?: any[]): void;
13
- registerEventlistener(eventbusListener: IEventbusListener): TEventbusRemover;
14
- registerInterceptor(eventName: string, interceptor: IEventbusInterceptor, eventTopic?: string): TEventbusRemover;
15
- }
16
- interface IEventbusListener {
17
- handleEvent(eventName: string, eventTopic: string | undefined, args: any[]): void;
18
- }
19
- interface IEventbusInterceptor {
20
- intercept(eventArgs: any[]): any[];
21
- }
22
- //#endregion
23
- //#region src/eventbus/actionregistry-eventbus-listener.d.ts
3
+ //#region src/eventbus/events/before-request-timeline-uri.d.ts
24
4
  /**
25
- * The `IEventbusListener` first registers a number of actions that are then
26
- * executed when the specified event is broadcast.
5
+ * Event: before-request-timeline-uri
6
+ * @category Timeline
27
7
  */
28
- declare class ActionRegistryEventbusListener implements IEventbusListener {
29
- private _actionRegistry;
30
- registerAction(action: IAction, eventName: string, eventTopic?: string): void;
31
- handleEvent(eventName: string, eventTopic: string | undefined, args: any[]): void;
8
+ interface BeforeRequestTimelineUriEvent {
9
+ name: 'before-request-timeline-uri';
10
+ args: [];
32
11
  }
33
12
  //#endregion
34
- //#region src/eventbus/eventbus.d.ts
35
- declare class Eventbus implements IEventbus {
36
- private eventHandlers;
37
- private eventInterceptors;
38
- private eventListeners;
39
- constructor();
40
- clear(): void;
41
- _getEventInterceptors(eventName: string, eventTopic?: string): IEventbusInterceptor[];
42
- _getEventHandlers(eventName: string, eventTopic?: string): TEventHandler[];
43
- on(eventName: string, eventHandler: TEventHandler, eventTopic?: string): TEventbusRemover;
44
- once(eventName: string, eventHandler: TEventHandler, eventTopic?: string): TEventbusRemover;
45
- off(eventName: string, eventHandler: TEventHandler, eventTopic?: string): void;
46
- broadcast(eventName: string, args: any[]): void;
47
- broadcastForTopic(eventName: string, eventTopic: string, args: any[]): void;
48
- registerEventlistener(eventbusListener: IEventbusListener): TEventbusRemover;
49
- registerInterceptor(eventName: string, interceptor: IEventbusInterceptor, eventTopic?: string): TEventbusRemover;
50
- _callHandlers(eventName: string, eventTopic: string | undefined, args?: any): void;
13
+ //#region src/eventbus/events/before-request-video-url.d.ts
14
+ /**
15
+ * Event: before-request-video-url
16
+ * @param index - The video URL index
17
+ * @param requestedVideoPosition - Optional video position to seek to
18
+ * @param isHistoryRequest - Flag indicating if this is a history request
19
+ * @category Navigation
20
+ */
21
+ interface BeforeRequestVideoUrlEvent {
22
+ name: 'before-request-video-url';
23
+ args: [index: number, requestedVideoPosition?: number, isHistoryRequest?: boolean];
51
24
  }
52
25
  //#endregion
53
- //#region src/eventbus/request-video-uri-interceptor.d.ts
54
- declare class RequestVideoUriInterceptor implements IEventbusInterceptor {
55
- private eventbus;
56
- constructor(eventbus: IEventbus);
57
- intercept(args: any[]): any[];
26
+ //#region src/eventbus/events/dom-mutation.d.ts
27
+ /**
28
+ * Event: dom-mutation
29
+ * @param payload - Mutation observer payload
30
+ * @category Controller
31
+ */
32
+ interface DomMutationEvent {
33
+ name: 'dom-mutation';
34
+ args: [payload: any];
58
35
  }
59
36
  //#endregion
60
- //#region src/operation/types.d.ts
61
- type TOperationData = Record<string, any>;
62
- type TOperationResult<T$1 = TOperationData> = Promise<T$1> | T$1;
63
- interface IOperationScope {
64
- /**
65
- * When inside a loop, this is the current iteration of said loop
66
- */
67
- loopIndex?: number;
68
- /**
69
- * The number of iterations for the current loop
70
- */
71
- loopLength?: number;
72
- /**
73
- * The start index of the loop within the total number of operations
74
- */
75
- loopStartIndex?: number;
76
- /**
77
- * The end index of the loop within the total number of operations
78
- */
79
- loopEndIndex?: number;
80
- /**
81
- * Set this index to change the current item in the main operations loop
82
- */
83
- newIndex?: number;
84
- /**
85
- * The current index with in the main operations loop
86
- */
87
- currentIndex: number;
88
- /**
89
- * The eventbus instance shared amongst actions and operations
90
- */
91
- eventbus: IEventbus;
92
- /**
93
- * The list of operations that is currently being executed
94
- */
95
- operations: IResolvedOperation[];
96
- /**
97
- * The result of the last when evaluation, if any
98
- */
99
- whenEvaluation?: boolean;
100
- /**
101
- *
102
- */
103
- owner?: any;
104
- /**
105
- *
106
- */
107
- currentItem?: any;
108
- /**
109
- *
110
- */
111
- parent?: IOperationScope;
112
- /**
113
- *
114
- */
115
- variables?: Record<string, unknown>;
37
+ //#region src/eventbus/events/highlight-navigation.d.ts
38
+ /**
39
+ * Event: highlight-navigation
40
+ * @param videoUrlIndex - The index of the video URL to highlight
41
+ * @category Navigation
42
+ */
43
+ interface HighlightNavigationEvent {
44
+ name: 'highlight-navigation';
45
+ args: [videoUrlIndex: number];
116
46
  }
117
- type TOperation<T$1 extends TOperationData = TOperationData, RT = T$1> = (this: IOperationScope, operationData: T$1) => TOperationResult<RT>;
118
- type ExtractOperationData<T$1 extends TOperation<TOperationData>> = T$1 extends TOperation<infer K> ? K : never;
119
- type ExtractReturnedOperationData<T$1 extends TOperation<TOperationData, TOperationData>> = T$1 extends TOperation<any, infer K> ? unknown extends K ? ExtractOperationData<T$1> : K : never;
120
47
  //#endregion
121
48
  //#region src/timelineproviders/types.d.ts
122
49
  type TPlayState = 'stopped' | 'running';
@@ -250,153 +177,736 @@ interface ISubtitle {
250
177
  }
251
178
  type RequireKeys<T$1, K$1 extends keyof T$1> = { [P in K$1]-?: T$1[P] };
252
179
  //#endregion
253
- //#region src/action/types.d.ts
254
- interface IAction {
255
- id: string;
256
- name: string;
257
- startOperations: IResolvedOperation[];
258
- start(initOperationData?: TOperationData): Promise<TOperationData>;
259
- }
260
- interface IEndableAction extends IAction {
261
- endOperations: IResolvedOperation[];
262
- end(initOperationData?: TOperationData): Promise<TOperationData>;
263
- }
264
- interface ITimelineAction extends IEndableAction {
265
- get active(): boolean;
266
- duration: IStrictDuration;
180
+ //#region src/eventbus/events/language-change.d.ts
181
+ /**
182
+ * Event: language-change
183
+ * @param language - The new language code
184
+ * @category Language Manager
185
+ */
186
+ interface LanguageChangeEvent {
187
+ name: 'language-change';
188
+ args: [language: TLanguageCode];
267
189
  }
268
190
  //#endregion
269
- //#region src/controllers/types.d.ts
270
- interface IController<T$1 extends TOperationData> {
271
- name: string;
272
- init(operationData: T$1): void;
273
- attach(eventbus: IEventbus): Promise<any> | void;
274
- detach(eventbus: IEventbus): void;
191
+ //#region src/eventbus/events/navigate-to-video-url.d.ts
192
+ /**
193
+ * Event: navigate-to-video-url
194
+ * @param index - The video URL index to navigate to
195
+ * @param requestedVideoPosition - Optional video position to seek to
196
+ * @category Navigation
197
+ */
198
+ interface NavigateToVideoUrlEvent {
199
+ name: 'navigate-to-video-url';
200
+ args: [index: number, requestedVideoPosition?: number];
275
201
  }
276
202
  //#endregion
277
- //#region src/controllers/dom-event-listener-controller.d.ts
278
- interface IActionInstanceInfo {
279
- start: boolean;
280
- action: IEndableAction;
203
+ //#region src/eventbus/events/push-history-state.d.ts
204
+ /**
205
+ * Event: push-history-state
206
+ * @param state - The history state to push
207
+ * @category Navigation
208
+ */
209
+ interface PushHistoryStateEvent {
210
+ name: 'push-history-state';
211
+ args: [state: any];
281
212
  }
282
- interface IDOMEventListenerControllerOperationData {
283
- /**
284
- * @dependency
285
- */
286
- selectedElement: JQuery;
287
- /**
288
- * @type=ParameterType:eventName
289
- * @required
290
- */
291
- eventName: string;
292
- actions: string[];
293
- /**
294
- * @type=ParameterType:object
295
- */
296
- actionOperationData?: TOperationData;
213
+ //#endregion
214
+ //#region src/eventbus/events/request-action.d.ts
215
+ /**
216
+ * Event: request-action
217
+ * @param actionName - The name of the action to request
218
+ * @param callback - Callback that receives the action instance
219
+ * @category Engine Request
220
+ */
221
+ interface RequestActionEvent {
222
+ name: 'request-action';
223
+ args: [actionName: string, callback: (actionInstance: any) => void];
297
224
  }
225
+ //#endregion
226
+ //#region src/eventbus/events/request-current-language.d.ts
298
227
  /**
299
- * This controller attaches to the given selected element and adds a DOM event listener for the specified event name that
300
- * executes the given actions with the given operation data.
301
- *
302
- * By default the `start` operations of the specified actions are executed. To execute the `end` operations instead,
303
- * prefix the action name with `end:`.
228
+ * Event: request-current-language
229
+ * @param callback - Callback that receives the current language
230
+ * @category Engine Request
304
231
  */
305
- declare class DOMEventListenerController implements IController<IDOMEventListenerControllerOperationData> {
306
- operationData?: IDOMEventListenerControllerOperationData;
307
- actionInstanceInfos?: IActionInstanceInfo[];
308
- name: string;
309
- init(operationData: IDOMEventListenerControllerOperationData): void;
310
- attach(eventbus: IEventbus): void;
311
- private _isStartAction;
312
- private _eventHandler;
313
- private _executeAction;
314
- detach(_eventbus: IEventbus): void;
232
+ interface RequestCurrentLanguageEvent {
233
+ name: 'request-current-language';
234
+ args: [callback: (language: TLanguageCode) => void];
315
235
  }
316
236
  //#endregion
317
- //#region src/controllers/base-controller.d.ts
237
+ //#region src/eventbus/events/request-current-navigation.d.ts
318
238
  /**
319
- * Abstract base class for controllers providing standardized event listener management
320
- *
321
- * Benefits:
322
- * - Eliminates boilerplate event listener tracking code
323
- * - Automatic binding of event handlers to controller instance
324
- * - Centralized cleanup preventing memory leaks
325
- * - Consistent event management pattern across all controllers
326
- *
327
- * @example
328
- * ```typescript
329
- * class MyController extends BaseController<IMyOperationData> {
330
- * name = 'MyController';
331
- *
332
- * init(operationData: IMyOperationData): void {
333
- * this.operationData = operationData;
334
- * }
335
- *
336
- * attach(eventbus: IEventbus): void {
337
- * this.addListener(eventbus, 'my-event', this.handleMyEvent);
338
- * // Handler automatically bound, cleanup tracked
339
- * }
340
- *
341
- * private handleMyEvent(): void {
342
- * // 'this' context preserved
343
- * }
344
- * }
345
- * ```
239
+ * Event: request-current-navigation
240
+ * @param callback - Callback that receives the current navigation data
241
+ * @category Navigation
346
242
  */
347
- declare abstract class BaseController<T$1 extends TOperationData> implements IController<T$1> {
348
- operationData: T$1 | null;
349
- abstract name: string;
350
- protected eventListeners: TEventbusRemover[];
351
- /**
352
- * Register event listener with automatic binding and cleanup tracking
353
- *
354
- * @param eventbus - The eventbus to register with
355
- * @param eventName - Name of the event to listen for
356
- * @param handler - Event handler function (will be bound to this controller)
357
- */
358
- protected addListener(eventbus: IEventbus, eventName: string, handler: (...args: any[]) => void): void;
359
- /**
360
- * Register multiple event listeners at once
361
- *
362
- * @param eventbus - The eventbus to register with
363
- * @param listeners - Array of {eventName, handler} pairs
364
- */
365
- protected attachMultiple(eventbus: IEventbus, listeners: Array<{
366
- eventName: string;
367
- handler: (...args: any[]) => void;
368
- }>): void;
369
- /**
370
- * Clean up all tracked event listeners
371
- * Prevents memory leaks by removing all registered handlers
372
- *
373
- * @param _eventbus - The eventbus (ignored, included for IController compatibility)
374
- */
375
- detach(_eventbus: IEventbus): void;
376
- abstract init(operationData: T$1): void;
377
- abstract attach(eventbus: IEventbus): Promise<any> | void;
243
+ interface RequestCurrentNavigationEvent {
244
+ name: 'request-current-navigation';
245
+ args: [callback: (navigation: any) => void];
378
246
  }
379
247
  //#endregion
380
- //#region src/controllers/label-controller.d.ts
381
- interface ILabelControllerMetadata {
382
- /**
383
- * @dependency
384
- */
385
- selectedElement: JQuery;
386
- /**
387
- * @type=ParameterType:labelId
388
- * @required
389
- */
390
- labelId: string;
391
- /**
392
- * By default the label is added to the inner HTML of the `selectedElement`,
393
- * otherwise if this property is set, the label text is added to the specified attribute
394
- * of the `selectedElement`.
395
- */
396
- attributeName?: string;
248
+ //#region src/eventbus/events/request-current-timeline-position.d.ts
249
+ /**
250
+ * Event: request-current-timeline-position
251
+ * @category Engine Request
252
+ */
253
+ interface RequestCurrentTimelinePositionEvent {
254
+ name: 'request-current-timeline-position';
255
+ args: [];
397
256
  }
257
+ //#endregion
258
+ //#region src/eventbus/events/request-current-video-position.d.ts
398
259
  /**
399
- * This controller attaches to the given selected element and renders the text associated with the given label id in it.
260
+ * Event: request-current-video-position
261
+ * @param callback - Callback that receives the current video position
262
+ * @category Navigation
263
+ */
264
+ interface RequestCurrentVideoPositionEvent {
265
+ name: 'request-current-video-position';
266
+ args: [callback: (position: number) => void];
267
+ }
268
+ //#endregion
269
+ //#region src/eventbus/events/request-engine-root.d.ts
270
+ /**
271
+ * Event: request-engine-root
272
+ * @param callback - Callback that receives the engine root element
273
+ * @category Engine Request
274
+ */
275
+ interface RequestEngineRootEvent {
276
+ name: 'request-engine-root';
277
+ args: [callback: (root: any) => void];
278
+ }
279
+ //#endregion
280
+ //#region src/eventbus/events/request-function.d.ts
281
+ /**
282
+ * Event: request-function
283
+ * @param systemName - The name of the function to request
284
+ * @param callback - Callback that receives the function
285
+ * @category Engine Request
286
+ */
287
+ interface RequestFunctionEvent {
288
+ name: 'request-function';
289
+ args: [systemName: string, callback: (fn: any) => void];
290
+ }
291
+ //#endregion
292
+ //#region src/eventbus/events/request-instance.d.ts
293
+ /**
294
+ * Event: request-instance
295
+ * @param instanceName - The name of the instance to request
296
+ * @param callback - Callback that receives the instance
297
+ * @category Engine Request
298
+ */
299
+ interface RequestInstanceEvent {
300
+ name: 'request-instance';
301
+ args: [instanceName: string, callback: (instance: any) => void];
302
+ }
303
+ //#endregion
304
+ //#region src/eventbus/events/request-label-collection.d.ts
305
+ /**
306
+ * Event: request-label-collection
307
+ * @param language - The language code
308
+ * @param callback - Callback that receives the label collection
309
+ * @category Engine Request
310
+ */
311
+ interface RequestLabelCollectionEvent {
312
+ name: 'request-label-collection';
313
+ args: [language: string, callback: (collection: any) => void];
314
+ }
315
+ //#endregion
316
+ //#region src/eventbus/events/request-label-collections.d.ts
317
+ /**
318
+ * Event: request-label-collections
319
+ * @param labelIds - Array of label IDs to retrieve
320
+ * @param callback - Callback that receives the label collections
321
+ * @category Engine Request
322
+ */
323
+ interface RequestLabelCollectionsEvent {
324
+ name: 'request-label-collections';
325
+ args: [labelIds: string[], callback: (collections: any) => void];
326
+ }
327
+ //#endregion
328
+ //#region src/eventbus/events/request-timeline-cleanup.d.ts
329
+ /**
330
+ * Event: request-timeline-cleanup
331
+ * @category Engine Request
332
+ */
333
+ interface RequestTimelineCleanupEvent {
334
+ name: 'request-timeline-cleanup';
335
+ args: [];
336
+ }
337
+ //#endregion
338
+ //#region src/eventbus/events/request-timeline-uri.d.ts
339
+ /**
340
+ * Event: request-timeline-uri
341
+ * @category Engine Request
342
+ */
343
+ interface RequestTimelineUriEvent {
344
+ name: 'request-timeline-uri';
345
+ args: [];
346
+ }
347
+ //#endregion
348
+ //#region src/eventbus/events/request-video-cleanup.d.ts
349
+ /**
350
+ * Event: request-video-cleanup
351
+ * @category Navigation
352
+ */
353
+ interface RequestVideoCleanupEvent {
354
+ name: 'request-video-cleanup';
355
+ args: [];
356
+ }
357
+ //#endregion
358
+ //#region src/eventbus/events/request-video-url.d.ts
359
+ /**
360
+ * Event: request-video-url
361
+ * @param videoUrlIndex - The index of the video URL
362
+ * @param requestedVideoPosition - Optional video position to seek to
363
+ * @param fromRouting - Optional flag indicating if request came from routing
364
+ * @category Navigation
365
+ */
366
+ interface RequestVideoUrlEvent {
367
+ name: 'request-video-url';
368
+ args: [videoUrlIndex: number, requestedVideoPosition?: number, fromRouting?: boolean];
369
+ }
370
+ //#endregion
371
+ //#region src/eventbus/events/timeline-complete.d.ts
372
+ /**
373
+ * Event: timeline-complete
374
+ * @category Timeline
375
+ */
376
+ interface CompleteEvent {
377
+ name: 'timeline-complete';
378
+ args: [];
379
+ }
380
+ //#endregion
381
+ //#region src/eventbus/events/timeline-container-request.d.ts
382
+ /**
383
+ * Event: timeline-container-request
384
+ * @param callback - Callback that receives the container element
385
+ * @category Timeline
386
+ */
387
+ interface ContainerRequestEvent {
388
+ name: 'timeline-container-request';
389
+ args: [callback: (element: HTMLElement) => void];
390
+ }
391
+ //#endregion
392
+ //#region src/eventbus/events/timeline-current-timeline-change.d.ts
393
+ /**
394
+ * Event: timeline-current-timeline-change
395
+ * @param timelineUri - The URI of the new current timeline
396
+ * @category Timeline
397
+ */
398
+ interface CurrentTimelineChangeEvent {
399
+ name: 'timeline-current-timeline-change';
400
+ args: [timelineUri: string];
401
+ }
402
+ //#endregion
403
+ //#region src/eventbus/events/timeline-duration-request.d.ts
404
+ /**
405
+ * Event: timeline-duration-request
406
+ * @param callback - Callback that receives the duration
407
+ * @category Timeline
408
+ */
409
+ interface DurationRequestEvent {
410
+ name: 'timeline-duration-request';
411
+ args: [callback: (duration: number) => void];
412
+ }
413
+ //#endregion
414
+ //#region src/eventbus/events/timeline-duration.d.ts
415
+ /**
416
+ * Event: timeline-duration
417
+ * @param getDuration - Function that returns the timeline duration
418
+ * @category Timeline
419
+ */
420
+ interface DurationEvent {
421
+ name: 'timeline-duration';
422
+ args: [getDuration: (() => number) | undefined];
423
+ }
424
+ //#endregion
425
+ //#region src/eventbus/events/timeline-firstframe.d.ts
426
+ /**
427
+ * Event: timeline-firstframe
428
+ * @category Timeline
429
+ */
430
+ interface FirstFrameEvent {
431
+ name: 'timeline-firstframe';
432
+ args: [];
433
+ }
434
+ //#endregion
435
+ //#region src/eventbus/events/timeline-pause-request.d.ts
436
+ /**
437
+ * Event: timeline-pause-request
438
+ * @category Timeline
439
+ */
440
+ interface PauseRequestEvent {
441
+ name: 'timeline-pause-request';
442
+ args: [];
443
+ }
444
+ //#endregion
445
+ //#region src/eventbus/events/timeline-pause.d.ts
446
+ /**
447
+ * Event: timeline-pause
448
+ * @category Timeline
449
+ */
450
+ interface PauseEvent {
451
+ name: 'timeline-pause';
452
+ args: [];
453
+ }
454
+ //#endregion
455
+ //#region src/eventbus/events/timeline-play-request.d.ts
456
+ /**
457
+ * Event: timeline-play-request
458
+ * @category Timeline
459
+ */
460
+ interface PlayRequestEvent {
461
+ name: 'timeline-play-request';
462
+ args: [];
463
+ }
464
+ //#endregion
465
+ //#region src/eventbus/events/timeline-play-toggle-request.d.ts
466
+ /**
467
+ * Event: timeline-play-toggle-request
468
+ * @category Timeline
469
+ */
470
+ interface PlayToggleRequestEvent {
471
+ name: 'timeline-play-toggle-request';
472
+ args: [];
473
+ }
474
+ //#endregion
475
+ //#region src/eventbus/events/timeline-play.d.ts
476
+ /**
477
+ * Event: timeline-play
478
+ * @category Timeline
479
+ */
480
+ interface PlayEvent {
481
+ name: 'timeline-play';
482
+ args: [];
483
+ }
484
+ //#endregion
485
+ //#region src/eventbus/events/timeline-request-current-timeline.d.ts
486
+ /**
487
+ * Event: timeline-request-current-timeline
488
+ * @category Engine Request
489
+ */
490
+ interface RequestCurrentTimelineEvent {
491
+ name: 'timeline-request-current-timeline';
492
+ args: [];
493
+ }
494
+ //#endregion
495
+ //#region src/eventbus/events/timeline-resize-request.d.ts
496
+ /**
497
+ * Event: timeline-resize-request
498
+ * @category Timeline
499
+ */
500
+ interface ResizeRequestEvent {
501
+ name: 'timeline-resize-request';
502
+ args: [];
503
+ }
504
+ //#endregion
505
+ //#region src/eventbus/events/timeline-resize.d.ts
506
+ /**
507
+ * Event: timeline-resize
508
+ * @category Timeline
509
+ */
510
+ interface ResizeEvent {
511
+ name: 'timeline-resize';
512
+ args: [];
513
+ }
514
+ //#endregion
515
+ //#region src/eventbus/events/timeline-restart.d.ts
516
+ /**
517
+ * Event: timeline-restart
518
+ * @category Timeline
519
+ */
520
+ interface RestartEvent {
521
+ name: 'timeline-restart';
522
+ args: [];
523
+ }
524
+ //#endregion
525
+ //#region src/eventbus/events/timeline-seek-request.d.ts
526
+ /**
527
+ * Event: timeline-seek-request
528
+ * @param position - The timeline position to seek to
529
+ * @category Timeline
530
+ */
531
+ interface SeekRequestEvent {
532
+ name: 'timeline-seek-request';
533
+ args: [position: number];
534
+ }
535
+ //#endregion
536
+ //#region src/eventbus/events/timeline-seek.d.ts
537
+ /**
538
+ * Event: timeline-seek
539
+ * @param seekPosition - The position to seek to
540
+ * @param currentPosition - The current position
541
+ * @param duration - The timeline duration
542
+ * @category Timeline
543
+ */
544
+ interface SeekEvent {
545
+ name: 'timeline-seek';
546
+ args: [seekPosition: number, currentPosition: number, duration: number];
547
+ }
548
+ //#endregion
549
+ //#region src/eventbus/events/timeline-seeked.d.ts
550
+ /**
551
+ * Event: timeline-seeked
552
+ * @param position - The new timeline position after seeking
553
+ * @param duration - The timeline duration
554
+ * @category Timeline
555
+ */
556
+ interface SeekedEvent {
557
+ name: 'timeline-seeked';
558
+ args: [position: number, duration: number];
559
+ }
560
+ //#endregion
561
+ //#region src/eventbus/events/timeline-stop-request.d.ts
562
+ /**
563
+ * Event: timeline-stop-request
564
+ * @category Timeline
565
+ */
566
+ interface StopRequestEvent {
567
+ name: 'timeline-stop-request';
568
+ args: [];
569
+ }
570
+ //#endregion
571
+ //#region src/eventbus/events/timeline-stop.d.ts
572
+ /**
573
+ * Event: timeline-stop
574
+ * @category Timeline
575
+ */
576
+ interface StopEvent {
577
+ name: 'timeline-stop';
578
+ args: [];
579
+ }
580
+ //#endregion
581
+ //#region src/eventbus/events/timeline-time.d.ts
582
+ /**
583
+ * Event: timeline-time
584
+ * @param position - The current timeline position
585
+ * @category Timeline
586
+ */
587
+ interface TimeEvent {
588
+ name: 'timeline-time';
589
+ args: [position: number];
590
+ }
591
+ //#endregion
592
+ //#region src/eventbus/events/video-complete.d.ts
593
+ /**
594
+ * Event: video-complete
595
+ * @param index - The video URL index that completed
596
+ * @category Navigation
597
+ */
598
+ interface VideoCompleteEvent {
599
+ name: 'video-complete';
600
+ args: [index: number];
601
+ }
602
+ //#endregion
603
+ //#region src/eventbus/events/types.d.ts
604
+ type AllEvents = BeforeRequestTimelineUriEvent | BeforeRequestVideoUrlEvent | DomMutationEvent | HighlightNavigationEvent | LanguageChangeEvent | NavigateToVideoUrlEvent | PushHistoryStateEvent | RequestActionEvent | RequestCurrentLanguageEvent | RequestCurrentNavigationEvent | RequestCurrentTimelinePositionEvent | RequestCurrentVideoPositionEvent | RequestEngineRootEvent | RequestFunctionEvent | RequestInstanceEvent | RequestLabelCollectionEvent | RequestLabelCollectionsEvent | RequestTimelineCleanupEvent | RequestTimelineUriEvent | RequestVideoCleanupEvent | RequestVideoUrlEvent | CompleteEvent | ContainerRequestEvent | CurrentTimelineChangeEvent | DurationRequestEvent | DurationEvent | FirstFrameEvent | PauseRequestEvent | PauseEvent | PlayRequestEvent | PlayToggleRequestEvent | PlayEvent | RequestCurrentTimelineEvent | ResizeRequestEvent | ResizeEvent | RestartEvent | SeekRequestEvent | SeekEvent | SeekedEvent | StopRequestEvent | StopEvent | TimeEvent | VideoCompleteEvent;
605
+ type EventMap = { [K in AllEvents as K['name']]: K['args'] };
606
+ type EventName = keyof EventMap;
607
+ //#endregion
608
+ //#region src/eventbus/types.d.ts
609
+ type TEventHandler = (...args: any[]) => void;
610
+ type TEventbusRemover = () => void;
611
+ interface IEventbus {
612
+ clear(): void;
613
+ on<E extends EventName>(eventName: E, eventHandler: (...args: EventMap[E]) => void, eventTopic?: string): TEventbusRemover;
614
+ off<E extends EventName>(eventName: E, eventHandler: (...args: EventMap[E]) => void, eventTopic?: string): void;
615
+ once<E extends EventName>(eventName: E, eventHandler: (...args: EventMap[E]) => void, eventTopic?: string): TEventbusRemover;
616
+ broadcast<E extends EventName>(eventName: E, args: EventMap[E]): void;
617
+ broadcastForTopic<E extends EventName>(eventName: E, eventTopic: string, args: EventMap[E]): void;
618
+ registerEventlistener(eventbusListener: IEventbusListener): TEventbusRemover;
619
+ registerInterceptor(eventName: string, interceptor: IEventbusInterceptor, eventTopic?: string): TEventbusRemover;
620
+ }
621
+ interface IEventbusListener {
622
+ handleEvent(eventName: string, eventTopic: string | undefined, args: any[]): void;
623
+ }
624
+ interface IEventbusInterceptor {
625
+ intercept(eventArgs: any[]): any[];
626
+ }
627
+ //#endregion
628
+ //#region src/eventbus/actionregistry-eventbus-listener.d.ts
629
+ /**
630
+ * The `IEventbusListener` first registers a number of actions that are then
631
+ * executed when the specified event is broadcast.
632
+ */
633
+ declare class ActionRegistryEventbusListener implements IEventbusListener {
634
+ private _actionRegistry;
635
+ registerAction(action: IAction, eventName: string, eventTopic?: string): void;
636
+ handleEvent(eventName: string, eventTopic: string | undefined, args: any[]): void;
637
+ }
638
+ //#endregion
639
+ //#region src/eventbus/eventbus.d.ts
640
+ declare class Eventbus implements IEventbus {
641
+ private eventHandlers;
642
+ private eventInterceptors;
643
+ private eventListeners;
644
+ constructor();
645
+ clear(): void;
646
+ _getEventInterceptors(eventName: string, eventTopic?: string): IEventbusInterceptor[];
647
+ _getEventHandlers(eventName: string, eventTopic?: string): TEventHandler[];
648
+ on(eventName: string, eventHandler: TEventHandler, eventTopic?: string): TEventbusRemover;
649
+ once(eventName: string, eventHandler: TEventHandler, eventTopic?: string): TEventbusRemover;
650
+ off(eventName: string, eventHandler: TEventHandler, eventTopic?: string): void;
651
+ broadcast(eventName: string, args: any[]): void;
652
+ broadcastForTopic(eventName: string, eventTopic: string, args: any[]): void;
653
+ registerEventlistener(eventbusListener: IEventbusListener): TEventbusRemover;
654
+ registerInterceptor(eventName: string, interceptor: IEventbusInterceptor, eventTopic?: string): TEventbusRemover;
655
+ _callHandlers(eventName: string, eventTopic: string | undefined, args?: any): void;
656
+ }
657
+ //#endregion
658
+ //#region src/eventbus/events/metadata/types.d.ts
659
+ /**
660
+ * Metadata for an event in the EventBus system.
661
+ *
662
+ * This interface describes the structure of event metadata generated from
663
+ * event interface definitions. Metadata is used for documentation, tooling,
664
+ * and runtime validation.
665
+ *
666
+ * @template TArgs - The tuple type of event arguments
667
+ *
668
+ * @example
669
+ * ```typescript
670
+ * const seekMetadata: IEventMetadata<[position: number]> = {
671
+ * description: 'Event: timeline-seek-request',
672
+ * category: 'Timeline',
673
+ * args: [
674
+ * { name: 'position', type: 'number', description: 'Timeline position to seek to' }
675
+ * ]
676
+ * };
677
+ * ```
678
+ */
679
+ interface IEventMetadata<_TArgs extends any[] = any[]> {
680
+ /** Human-readable description of the event, typically "Event: {event-name}" */
681
+ description: string;
682
+ /** Category grouping for the event (e.g., "Timeline", "Language", "Engine") */
683
+ category: string;
684
+ /** Metadata for each argument in the event's args tuple */
685
+ args: Array<{
686
+ /** Name of the argument (from labeled tuple element) */
687
+ name: string;
688
+ /** TypeScript type of the argument as a string (e.g., "number", "string") */
689
+ type: string;
690
+ /** Optional description of the argument from JSDoc @param tag */
691
+ description?: string;
692
+ }>;
693
+ }
694
+ //#endregion
695
+ //#region src/eventbus/request-video-uri-interceptor.d.ts
696
+ declare class RequestVideoUriInterceptor implements IEventbusInterceptor {
697
+ private eventbus;
698
+ constructor(eventbus: IEventbus);
699
+ intercept(args: any[]): any[];
700
+ }
701
+ //#endregion
702
+ //#region src/operation/types.d.ts
703
+ type TOperationData = Record<string, any>;
704
+ type TOperationResult<T$1 = TOperationData> = Promise<T$1> | T$1;
705
+ interface IOperationScope {
706
+ /**
707
+ * When inside a loop, this is the current iteration of said loop
708
+ */
709
+ loopIndex?: number;
710
+ /**
711
+ * The number of iterations for the current loop
712
+ */
713
+ loopLength?: number;
714
+ /**
715
+ * The start index of the loop within the total number of operations
716
+ */
717
+ loopStartIndex?: number;
718
+ /**
719
+ * The end index of the loop within the total number of operations
720
+ */
721
+ loopEndIndex?: number;
722
+ /**
723
+ * Set this index to change the current item in the main operations loop
724
+ */
725
+ newIndex?: number;
726
+ /**
727
+ * The current index with in the main operations loop
728
+ */
729
+ currentIndex: number;
730
+ /**
731
+ * The eventbus instance shared amongst actions and operations
732
+ */
733
+ eventbus: IEventbus;
734
+ /**
735
+ * The list of operations that is currently being executed
736
+ */
737
+ operations: IResolvedOperation[];
738
+ /**
739
+ * The result of the last when evaluation, if any
740
+ */
741
+ whenEvaluation?: boolean;
742
+ /**
743
+ *
744
+ */
745
+ owner?: any;
746
+ /**
747
+ *
748
+ */
749
+ currentItem?: any;
750
+ /**
751
+ *
752
+ */
753
+ parent?: IOperationScope;
754
+ /**
755
+ *
756
+ */
757
+ variables?: Record<string, unknown>;
758
+ }
759
+ type TOperation<T$1 extends TOperationData = TOperationData, RT = T$1> = (this: IOperationScope, operationData: T$1) => TOperationResult<RT>;
760
+ type ExtractOperationData<T$1 extends TOperation<TOperationData>> = T$1 extends TOperation<infer K> ? K : never;
761
+ type ExtractReturnedOperationData<T$1 extends TOperation<TOperationData, TOperationData>> = T$1 extends TOperation<any, infer K> ? unknown extends K ? ExtractOperationData<T$1> : K : never;
762
+ //#endregion
763
+ //#region src/action/types.d.ts
764
+ interface IAction {
765
+ id: string;
766
+ name: string;
767
+ startOperations: IResolvedOperation[];
768
+ start(initOperationData?: TOperationData): Promise<TOperationData>;
769
+ }
770
+ interface IEndableAction extends IAction {
771
+ endOperations: IResolvedOperation[];
772
+ end(initOperationData?: TOperationData): Promise<TOperationData>;
773
+ }
774
+ interface ITimelineAction extends IEndableAction {
775
+ get active(): boolean;
776
+ duration: IStrictDuration;
777
+ }
778
+ //#endregion
779
+ //#region src/controllers/types.d.ts
780
+ interface IController<T$1 extends TOperationData> {
781
+ name: string;
782
+ init(operationData: T$1): void;
783
+ attach(eventbus: IEventbus): Promise<any> | void;
784
+ detach(eventbus: IEventbus): void;
785
+ }
786
+ //#endregion
787
+ //#region src/controllers/dom-event-listener-controller.d.ts
788
+ interface IActionInstanceInfo {
789
+ start: boolean;
790
+ action: IEndableAction;
791
+ }
792
+ interface IDOMEventListenerControllerOperationData {
793
+ /**
794
+ * @dependency
795
+ */
796
+ selectedElement: JQuery;
797
+ /**
798
+ * @type=ParameterType:eventName
799
+ * @required
800
+ */
801
+ eventName: string;
802
+ actions: string[];
803
+ /**
804
+ * @type=ParameterType:object
805
+ */
806
+ actionOperationData?: TOperationData;
807
+ }
808
+ /**
809
+ * This controller attaches to the given selected element and adds a DOM event listener for the specified event name that
810
+ * executes the given actions with the given operation data.
811
+ *
812
+ * By default the `start` operations of the specified actions are executed. To execute the `end` operations instead,
813
+ * prefix the action name with `end:`.
814
+ */
815
+ declare class DOMEventListenerController implements IController<IDOMEventListenerControllerOperationData> {
816
+ operationData?: IDOMEventListenerControllerOperationData;
817
+ actionInstanceInfos?: IActionInstanceInfo[];
818
+ name: string;
819
+ init(operationData: IDOMEventListenerControllerOperationData): void;
820
+ attach(eventbus: IEventbus): void;
821
+ private _isStartAction;
822
+ private _eventHandler;
823
+ private _executeAction;
824
+ detach(_eventbus: IEventbus): void;
825
+ }
826
+ //#endregion
827
+ //#region src/controllers/base-controller.d.ts
828
+ /**
829
+ * Abstract base class for controllers providing standardized event listener management
830
+ *
831
+ * Benefits:
832
+ * - Eliminates boilerplate event listener tracking code
833
+ * - Automatic binding of event handlers to controller instance
834
+ * - Centralized cleanup preventing memory leaks
835
+ * - Consistent event management pattern across all controllers
836
+ *
837
+ * @example
838
+ * ```typescript
839
+ * class MyController extends BaseController<IMyOperationData> {
840
+ * name = 'MyController';
841
+ *
842
+ * init(operationData: IMyOperationData): void {
843
+ * this.operationData = operationData;
844
+ * }
845
+ *
846
+ * attach(eventbus: IEventbus): void {
847
+ * this.addListener(eventbus, 'my-event', this.handleMyEvent);
848
+ * // Handler automatically bound, cleanup tracked
849
+ * }
850
+ *
851
+ * private handleMyEvent(): void {
852
+ * // 'this' context preserved
853
+ * }
854
+ * }
855
+ * ```
856
+ */
857
+ declare abstract class BaseController<T$1 extends TOperationData> implements IController<T$1> {
858
+ operationData: T$1 | null;
859
+ abstract name: string;
860
+ protected eventListeners: TEventbusRemover[];
861
+ /**
862
+ * Register event listener with automatic binding and cleanup tracking
863
+ *
864
+ * @param eventbus - The eventbus to register with
865
+ * @param eventName - Name of the event to listen for
866
+ * @param handler - Event handler function (will be bound to this controller)
867
+ */
868
+ protected addListener(eventbus: IEventbus, eventName: EventName, handler: (...args: any[]) => void): void;
869
+ /**
870
+ * Register multiple event listeners at once
871
+ *
872
+ * @param eventbus - The eventbus to register with
873
+ * @param listeners - Array of {eventName, handler} pairs
874
+ */
875
+ protected attachMultiple(eventbus: IEventbus, listeners: Array<{
876
+ eventName: string;
877
+ handler: (...args: any[]) => void;
878
+ }>): void;
879
+ /**
880
+ * Clean up all tracked event listeners
881
+ * Prevents memory leaks by removing all registered handlers
882
+ *
883
+ * @param _eventbus - The eventbus (ignored, included for IController compatibility)
884
+ */
885
+ detach(_eventbus: IEventbus): void;
886
+ abstract init(operationData: T$1): void;
887
+ abstract attach(eventbus: IEventbus): Promise<any> | void;
888
+ }
889
+ //#endregion
890
+ //#region src/controllers/label-controller.d.ts
891
+ interface ILabelControllerMetadata {
892
+ /**
893
+ * @dependency
894
+ */
895
+ selectedElement: JQuery;
896
+ /**
897
+ * @type=ParameterType:labelId
898
+ * @required
899
+ */
900
+ labelId: string;
901
+ /**
902
+ * By default the label is added to the inner HTML of the `selectedElement`,
903
+ * otherwise if this property is set, the label text is added to the specified attribute
904
+ * of the `selectedElement`.
905
+ */
906
+ attributeName?: string;
907
+ }
908
+ /**
909
+ * This controller attaches to the given selected element and renders the text associated with the given label id in it.
400
910
  *
401
911
  * The controller also listen for the `LANGUAGE_CHANGE` event and re-renders the text with the new language after such an event.
402
912
  *
@@ -421,60 +931,209 @@ interface IInnerMetadata {
421
931
  /**
422
932
  * @dependency
423
933
  */
424
- selectedElement: JQuery;
934
+ selectedElement: JQuery;
935
+ /**
936
+ * @type=ParameterType:string
937
+ */
938
+ renderer: SVGRendererConfig | CanvasRendererConfig | HTMLRendererConfig;
939
+ loop: boolean;
940
+ autoplay: boolean;
941
+ /**
942
+ * ParameterType:object
943
+ */
944
+ animationData: any;
945
+ /**
946
+ * @required
947
+ */
948
+ json: any;
949
+ /**
950
+ * @type=ParameterType:array
951
+ * @itemType=ParameterType:labelId
952
+ */
953
+ labelIds: string[];
954
+ viewBox: string;
955
+ iefallback: any;
956
+ }
957
+ interface ILottieControllerMetadata extends IInnerMetadata {
958
+ /**
959
+ * @type=ParameterType:url
960
+ * @required
961
+ */
962
+ url: string;
963
+ }
964
+ /**
965
+ * This controller renders a [lottie-web](https://github.com/airbnb/lottie-web) animation inside the given selected element.
966
+ *
967
+ * The url may encode freeze and end positions like this: my-url/filename[freeze=10,end=21].json
968
+ *
969
+ */
970
+ declare class LottieController extends BaseController<ILottieControllerMetadata> {
971
+ name: string;
972
+ currentLanguage: TLanguageCode;
973
+ labelData: Record<string, Record<string, string>>;
974
+ animationItem: AnimationItem | null;
975
+ serializedData: string | null;
976
+ serializedIEData: string | null;
977
+ freezePosition: number;
978
+ endPosition: number;
979
+ init(operationData: ILottieControllerMetadata): void;
980
+ private _parseFilename;
981
+ attach(eventbus: IEventbus): void;
982
+ detach(eventbus: IEventbus): void;
983
+ private _destroy;
984
+ private _createAnimation;
985
+ private _createTextDataLookup;
986
+ private _handleLanguageChange;
987
+ private _isIE;
988
+ }
989
+ //#endregion
990
+ //#region src/controllers/mutation-observer-controller.d.ts
991
+ /**
992
+ * Metadata configuration for MutationObserverController
993
+ *
994
+ * Configures what types of DOM mutations to observe and how to observe them.
995
+ */
996
+ interface IMutationObserverControllerMetadata {
997
+ /**
998
+ * jQuery-wrapped DOM element to observe for mutations
999
+ * @dependency
1000
+ * @required
1001
+ */
1002
+ selectedElement: JQuery;
1003
+ /**
1004
+ * Observe changes to element attributes
1005
+ * @optional
1006
+ * @default true
1007
+ */
1008
+ observeAttributes?: boolean;
1009
+ /**
1010
+ * Observe additions and removals of child nodes
1011
+ * @optional
1012
+ * @default true
1013
+ */
1014
+ observeChildList?: boolean;
1015
+ /**
1016
+ * Observe changes to text content (character data)
1017
+ * @optional
1018
+ * @default true
1019
+ */
1020
+ observeCharacterData?: boolean;
1021
+ /**
1022
+ * Observe mutations in the entire subtree (all descendants)
1023
+ * @optional
1024
+ * @default false
1025
+ */
1026
+ observeSubtree?: boolean;
1027
+ /**
1028
+ * Record the previous value of attributes that change
1029
+ * Requires observeAttributes to be true
1030
+ * @optional
1031
+ * @default false
1032
+ */
1033
+ attributeOldValue?: boolean;
425
1034
  /**
426
- * @type=ParameterType:string
1035
+ * Record the previous value of text content that changes
1036
+ * Requires observeCharacterData to be true
1037
+ * @optional
1038
+ * @default false
427
1039
  */
428
- renderer: SVGRendererConfig | CanvasRendererConfig | HTMLRendererConfig;
429
- loop: boolean;
430
- autoplay: boolean;
1040
+ characterDataOldValue?: boolean;
431
1041
  /**
432
- * ParameterType:object
1042
+ * Array of specific attribute local names to observe
1043
+ * If omitted, all attribute changes are observed when observeAttributes is true
1044
+ * @optional
433
1045
  */
434
- animationData: any;
1046
+ attributeFilter?: string[];
1047
+ }
1048
+ /**
1049
+ * Mutation event payload broadcasted through Eligius eventbus
1050
+ */
1051
+ interface IMutationEventPayload {
435
1052
  /**
436
- * @required
1053
+ * Array of mutation records from the MutationObserver callback
437
1054
  */
438
- json: any;
1055
+ mutations: MutationRecord[];
439
1056
  /**
440
- * @type=ParameterType:array
441
- * @itemType=ParameterType:labelId
1057
+ * Reference to the observed element (native DOM node)
442
1058
  */
443
- labelIds: string[];
444
- viewBox: string;
445
- iefallback: any;
446
- }
447
- interface ILottieControllerMetadata extends IInnerMetadata {
1059
+ target: Element;
448
1060
  /**
449
- * @type=ParameterType:url
450
- * @required
1061
+ * Timestamp when the mutations were detected
451
1062
  */
452
- url: string;
1063
+ timestamp: number;
453
1064
  }
454
1065
  /**
455
- * This controller renders a [lottie-web](https://github.com/airbnb/lottie-web) animation inside the given selected element.
1066
+ * Controller that observes DOM mutations on a selected element and broadcasts events.
456
1067
  *
457
- * The url may encode freeze and end positions like this: my-url/filename[freeze=10,end=21].json
1068
+ * This controller creates a MutationObserver to monitor DOM changes (attributes, child nodes,
1069
+ * text content) on a specified element. All detected mutations are broadcasted through the
1070
+ * Eligius eventbus, enabling reactive behavior in response to DOM changes.
1071
+ *
1072
+ * The controller follows the standard Eligius lifecycle:
1073
+ * - init(): Store configuration metadata
1074
+ * - attach(): Create and start the MutationObserver
1075
+ * - detach(): Disconnect the observer and clean up resources
1076
+ *
1077
+ * @example
1078
+ * ```typescript
1079
+ * // JSON configuration
1080
+ * {
1081
+ * "systemName": "addControllerToElement",
1082
+ * "operationData": {
1083
+ * "controllerName": "MutationObserverController",
1084
+ * "observeAttributes": true,
1085
+ * "observeChildList": true,
1086
+ * "observeCharacterData": false
1087
+ * }
1088
+ * }
458
1089
  *
1090
+ * // Listen for mutations
1091
+ * eventbus.on('dom-mutation', (payload: IMutationEventPayload) => {
1092
+ * console.log('Mutations detected:', payload.mutations);
1093
+ * });
1094
+ * ```
459
1095
  */
460
- declare class LottieController extends BaseController<ILottieControllerMetadata> {
1096
+ declare class MutationObserverController extends BaseController<IMutationObserverControllerMetadata> {
461
1097
  name: string;
462
- currentLanguage: string;
463
- labelData: Record<string, Record<string, string>>;
464
- animationItem: AnimationItem | null;
465
- serializedData: string | null;
466
- serializedIEData: string | null;
467
- freezePosition: number;
468
- endPosition: number;
469
- init(operationData: ILottieControllerMetadata): void;
470
- private _parseFilename;
1098
+ private observer;
1099
+ /**
1100
+ * Initialize the controller with configuration metadata.
1101
+ *
1102
+ * @param operationData - Configuration for observation behavior
1103
+ */
1104
+ init(operationData: IMutationObserverControllerMetadata): void;
1105
+ /**
1106
+ * Attach the controller and start observing mutations.
1107
+ * Creates MutationObserver instance and begins monitoring the target element.
1108
+ *
1109
+ * @param eventbus - Eligius eventbus for broadcasting mutation events
1110
+ */
471
1111
  attach(eventbus: IEventbus): void;
1112
+ /**
1113
+ * Detach the controller and stop observing mutations.
1114
+ * Disconnects MutationObserver and cleans up resources.
1115
+ *
1116
+ * @param eventbus - Eligius eventbus (used by BaseController for cleanup)
1117
+ */
472
1118
  detach(eventbus: IEventbus): void;
473
- private _destroy;
474
- private _createAnimation;
475
- private _createTextDataLookup;
476
- private _handleLanguageChange;
477
- private _isIE;
1119
+ /**
1120
+ * Build MutationObserverInit options from controller metadata.
1121
+ * Applies default values for optional configuration properties.
1122
+ *
1123
+ * @returns MutationObserverInit options object
1124
+ * @private
1125
+ */
1126
+ private _buildObserverOptions;
1127
+ /**
1128
+ * Handle mutations detected by the MutationObserver.
1129
+ * Broadcasts mutation events through the eventbus with mutation details.
1130
+ *
1131
+ * @param eventbus - Eligius eventbus for broadcasting
1132
+ * @param target - The observed element
1133
+ * @param mutations - Array of mutation records from observer callback
1134
+ * @private
1135
+ */
1136
+ private _handleMutations;
478
1137
  }
479
1138
  //#endregion
480
1139
  //#region src/controllers/navigation-controller.d.ts
@@ -577,7 +1236,7 @@ interface ISubtitlesControllerOperationData {
577
1236
  * @dependency
578
1237
  */
579
1238
  selectedElement: JQuery;
580
- language: string;
1239
+ language: TLanguageCode;
581
1240
  /**
582
1241
  * @type=ParameterType:array
583
1242
  * @itemType=ParameterType:object
@@ -586,22 +1245,22 @@ interface ISubtitlesControllerOperationData {
586
1245
  }
587
1246
  declare class SubtitlesController extends BaseController<ISubtitlesControllerOperationData> {
588
1247
  actionLookup: Record<string, any>;
589
- currentLanguage: string | null;
1248
+ currentLanguage: TLanguageCode | null;
590
1249
  lastFunc: (() => void) | null;
591
1250
  name: string;
592
1251
  subtitleDurations: IStrictDuration[] | null;
593
1252
  attach(eventbus: IEventbus): void;
594
1253
  detach(eventbus: IEventbus): void;
595
- languageChangeHandler(newLanguage: string): void;
1254
+ languageChangeHandler(newLanguage: TLanguageCode): void;
596
1255
  removeTitle(container?: JQuery): void;
597
1256
  onTimeHandler(position: number): void;
598
- onSeekedHandler(args: any[]): void;
1257
+ onSeekedHandler(position: number, _duration: number): void;
599
1258
  setTitle(container: JQuery, titleLanguageLookup: Record<string, string>): void;
600
1259
  createActionLookup(operationData: ISubtitlesControllerOperationData, container: JQuery): Record<number, () => void>;
601
1260
  init(operationData: ISubtitlesControllerOperationData): void;
602
1261
  }
603
- declare namespace index_d_exports$2 {
604
- export { DOMEventListenerController, IDOMEventListenerControllerOperationData, ILabelControllerMetadata, ILottieControllerMetadata, INavigationControllerOperationData, IProgressbarControllerOperationData, IRoutingControllerOperationData, ISubtitlesControllerOperationData, LabelController, LottieController, NavigationController, ProgressbarController, RoutingController, SubtitlesController };
1262
+ declare namespace index_d_exports$4 {
1263
+ export { DOMEventListenerController, IDOMEventListenerControllerOperationData, ILabelControllerMetadata, ILottieControllerMetadata, IMutationEventPayload, IMutationObserverControllerMetadata, INavigationControllerOperationData, IProgressbarControllerOperationData, IRoutingControllerOperationData, ISubtitlesControllerOperationData, LabelController, LottieController, MutationObserverController, NavigationController, ProgressbarController, RoutingController, SubtitlesController };
605
1264
  }
606
1265
  //#endregion
607
1266
  //#region src/operation/add-class.d.ts
@@ -716,6 +1375,26 @@ interface IAnimateWithClassOperationData {
716
1375
  */
717
1376
  declare const animateWithClass: TOperation<IAnimateWithClassOperationData, Promise<IAnimateWithClassOperationData>>;
718
1377
  //#endregion
1378
+ //#region src/operation/announce-to-screen-reader.d.ts
1379
+ interface IAnnounceToScreenReaderOperationData {
1380
+ /**
1381
+ * @required
1382
+ * @erased
1383
+ */
1384
+ message: string;
1385
+ /**
1386
+ * @optional
1387
+ * @erased
1388
+ */
1389
+ priority?: 'polite' | 'assertive';
1390
+ }
1391
+ /**
1392
+ * Announces a message to screen readers using an ARIA live region.
1393
+ *
1394
+ * @category Accessibility
1395
+ */
1396
+ declare const announceToScreenReader: TOperation<IAnnounceToScreenReaderOperationData, Omit<IAnnounceToScreenReaderOperationData, 'message' | 'priority'>>;
1397
+ //#endregion
719
1398
  //#region src/operation/break-for-each.d.ts
720
1399
  /**
721
1400
  *
@@ -818,6 +1497,120 @@ interface IClearOperationDataOperationData {
818
1497
  */
819
1498
  declare const clearOperationData: TOperation<IClearOperationDataOperationData, Omit<IClearOperationDataOperationData, 'properties'>>;
820
1499
  //#endregion
1500
+ //#region src/operation/clear-storage.d.ts
1501
+ type StorageType = 'local' | 'session';
1502
+ interface IClearStorageOperationData {
1503
+ /**
1504
+ * @optional
1505
+ * @erased
1506
+ */
1507
+ key?: string;
1508
+ /**
1509
+ * @required
1510
+ * @erased
1511
+ */
1512
+ storageType: StorageType;
1513
+ }
1514
+ /**
1515
+ * Clears data from browser storage (localStorage or sessionStorage).
1516
+ *
1517
+ * If `key` is provided, removes only that key. If `key` is omitted, clears all storage.
1518
+ *
1519
+ * @returns Operation data with storage properties erased
1520
+ *
1521
+ * @example
1522
+ * ```typescript
1523
+ * // Clear specific key
1524
+ * const result = clearStorage({
1525
+ * key: 'user-settings',
1526
+ * storageType: 'local'
1527
+ * });
1528
+ * ```
1529
+ *
1530
+ * @example
1531
+ * ```typescript
1532
+ * // Clear all localStorage
1533
+ * const result = clearStorage({
1534
+ * storageType: 'local'
1535
+ * });
1536
+ * ```
1537
+ *
1538
+ * @category Data
1539
+ */
1540
+ declare const clearStorage: TOperation<IClearStorageOperationData, Omit<IClearStorageOperationData, 'key' | 'storageType'>>;
1541
+ //#endregion
1542
+ //#region src/operation/compare-date.d.ts
1543
+ interface ICompareDateOperationData {
1544
+ /**
1545
+ * @required
1546
+ * @erased
1547
+ */
1548
+ date1: Date | string | number;
1549
+ /**
1550
+ * @required
1551
+ * @erased
1552
+ */
1553
+ date2: Date | string | number;
1554
+ /**
1555
+ * @output
1556
+ */
1557
+ comparison: number;
1558
+ /**
1559
+ * @output
1560
+ */
1561
+ isEqual: boolean;
1562
+ /**
1563
+ * @output
1564
+ */
1565
+ isBefore: boolean;
1566
+ /**
1567
+ * @output
1568
+ */
1569
+ isAfter: boolean;
1570
+ }
1571
+ /**
1572
+ * Compares two dates.
1573
+ * comparison: -1 (before), 0 (equal), 1 (after)
1574
+ *
1575
+ * @category Date
1576
+ */
1577
+ declare const compareDate: TOperation<ICompareDateOperationData, Omit<ICompareDateOperationData, 'date1' | 'date2'>>;
1578
+ //#endregion
1579
+ //#region src/operation/concatenate-strings.d.ts
1580
+ interface IConcatenateStringsOperationData {
1581
+ /**
1582
+ * @required
1583
+ * @erased
1584
+ */
1585
+ strings: string[];
1586
+ /**
1587
+ * @optional
1588
+ * @erased
1589
+ */
1590
+ separator?: string;
1591
+ /**
1592
+ * @output
1593
+ */
1594
+ result: string;
1595
+ }
1596
+ /**
1597
+ * Concatenates multiple strings with an optional separator.
1598
+ *
1599
+ * @returns Operation data with `result` containing the concatenated string
1600
+ *
1601
+ * @example
1602
+ * ```typescript
1603
+ * const result = concatenateStrings({
1604
+ * strings: ['Hello', 'World'],
1605
+ * separator: ' '
1606
+ * });
1607
+ * // result.result = "Hello World"
1608
+ * ```
1609
+ *
1610
+ * @category String
1611
+ */
1612
+ declare const concatenateStrings: TOperation<IConcatenateStringsOperationData, Omit<IConcatenateStringsOperationData, 'strings' | 'separator'>>;
1613
+ //#endregion
821
1614
  //#region src/operation/continue-for-each.d.ts
822
1615
  /**
823
1616
  *
@@ -939,9 +1732,141 @@ interface IExtendControllerOperationData {
939
1732
  /**
940
1733
  * Extends the current controller with given extension.
941
1734
  *
942
- * @category Controller
1735
+ * @category Controller
1736
+ */
1737
+ declare const extendController: TOperation<IExtendControllerOperationData, Omit<IExtendControllerOperationData, 'controllerExtension'>>;
1738
+ //#endregion
1739
+ //#region src/operation/filter-array.d.ts
1740
+ interface IFilterArrayOperationData {
1741
+ /**
1742
+ * @required
1743
+ * @dependency
1744
+ */
1745
+ arrayData: any[];
1746
+ /**
1747
+ * @optional
1748
+ * @erased
1749
+ */
1750
+ filterProperty?: string;
1751
+ /**
1752
+ * @optional
1753
+ * @erased
1754
+ */
1755
+ filterValue?: any;
1756
+ /**
1757
+ * @optional
1758
+ * @erased
1759
+ */
1760
+ filterPredicate?: (item: any, index?: number) => boolean;
1761
+ /**
1762
+ * @output
1763
+ */
1764
+ filteredArray: any[];
1765
+ }
1766
+ /**
1767
+ * Filters an array based on property equality or custom predicate function.
1768
+ *
1769
+ * Operates on arrayData passed from previous operations.
1770
+ * Supports two filtering modes:
1771
+ * 1. Property equality: `filterProperty` and `filterValue` to filter by property match
1772
+ * 2. Custom predicate: `filterPredicate` function for complex filtering logic
1773
+ *
1774
+ * @returns Operation data with `filteredArray` containing filtered results
1775
+ *
1776
+ * @example
1777
+ * ```typescript
1778
+ * // Filter by property equality
1779
+ * const result = filterArray({
1780
+ * arrayData: [{name: 'Alice', age: 25}, {name: 'Bob', age: 30}],
1781
+ * filterProperty: 'age',
1782
+ * filterValue: 25
1783
+ * });
1784
+ * // result.filteredArray = [{name: 'Alice', age: 25}]
1785
+ * ```
1786
+ *
1787
+ * @example
1788
+ * ```typescript
1789
+ * // Filter with custom predicate
1790
+ * const result = filterArray({
1791
+ * arrayData: [1, 2, 3, 4, 5],
1792
+ * filterPredicate: (item) => item % 2 === 0
1793
+ * });
1794
+ * // result.filteredArray = [2, 4]
1795
+ * ```
1796
+ *
1797
+ * @category Array
1798
+ */
1799
+ declare const filterArray: TOperation<IFilterArrayOperationData, Omit<IFilterArrayOperationData, 'filterProperty' | 'filterValue' | 'filterPredicate'>>;
1800
+ //#endregion
1801
+ //#region src/operation/find-in-array.d.ts
1802
+ interface IFindInArrayOperationData {
1803
+ /**
1804
+ * @required
1805
+ * @dependency
1806
+ */
1807
+ arrayData: any[];
1808
+ /**
1809
+ * @optional
1810
+ * @erased
1811
+ */
1812
+ findProperty?: string;
1813
+ /**
1814
+ * @optional
1815
+ * @erased
1816
+ */
1817
+ findValue?: any;
1818
+ /**
1819
+ * @optional
1820
+ * @erased
1821
+ */
1822
+ findPredicate?: (item: any, index?: number) => boolean;
1823
+ /**
1824
+ * @output
1825
+ */
1826
+ foundItem: any | undefined;
1827
+ /**
1828
+ * @output
1829
+ */
1830
+ foundIndex: number;
1831
+ }
1832
+ /**
1833
+ * Finds the first element in an array matching criteria.
1834
+ *
1835
+ * Operates on arrayData passed from previous operations.
1836
+ * Supports two search modes:
1837
+ * 1. Property equality: `findProperty` and `findValue` to find by property match
1838
+ * 2. Custom predicate: `findPredicate` function for complex search logic
1839
+ *
1840
+ * Returns `undefined` for `foundItem` and `-1` for `foundIndex` if no match found.
1841
+ *
1842
+ * @returns Operation data with `foundItem` (the matching element) and `foundIndex` (its position)
1843
+ *
1844
+ * @example
1845
+ * ```typescript
1846
+ * // Find by property equality
1847
+ * const result = findInArray({
1848
+ * arrayData: [{id: 1, name: 'Alice'}, {id: 2, name: 'Bob'}],
1849
+ * findProperty: 'id',
1850
+ * findValue: 2
1851
+ * });
1852
+ * // result.foundItem = {id: 2, name: 'Bob'}
1853
+ * // result.foundIndex = 1
1854
+ * ```
1855
+ *
1856
+ * @example
1857
+ * ```typescript
1858
+ * // Find with custom predicate
1859
+ * const result = findInArray({
1860
+ * arrayData: [10, 25, 30, 45],
1861
+ * findPredicate: (item) => item > 30
1862
+ * });
1863
+ * // result.foundItem = 45
1864
+ * // result.foundIndex = 3
1865
+ * ```
1866
+ *
1867
+ * @category Array
943
1868
  */
944
- declare const extendController: TOperation<IExtendControllerOperationData, Omit<IExtendControllerOperationData, 'controllerExtension'>>;
1869
+ declare const findInArray: TOperation<IFindInArrayOperationData, Omit<IFindInArrayOperationData, 'findProperty' | 'findValue' | 'findPredicate'>>;
945
1870
  //#endregion
946
1871
  //#region src/operation/for-each.d.ts
947
1872
  interface IForEachOperationData {
@@ -967,6 +1892,86 @@ interface IForEachOperationData {
967
1892
  */
968
1893
  declare const forEach: TOperation<IForEachOperationData>;
969
1894
  //#endregion
1895
+ //#region src/operation/format-date.d.ts
1896
+ interface IFormatDateOperationData {
1897
+ /**
1898
+ * @required
1899
+ * @dependency
1900
+ */
1901
+ date: Date | string | number;
1902
+ /**
1903
+ * @required
1904
+ * @erased
1905
+ */
1906
+ format: string;
1907
+ /**
1908
+ * @output
1909
+ */
1910
+ formattedDate: string;
1911
+ }
1912
+ /**
1913
+ * Formats a date using Intl.DateTimeFormat or simple patterns.
1914
+ *
1915
+ * @category Date
1916
+ */
1917
+ declare const formatDate: TOperation<IFormatDateOperationData, Omit<IFormatDateOperationData, 'format'>>;
1918
+ //#endregion
1919
+ //#region src/operation/format-text.d.ts
1920
+ type TextTransformation = 'uppercase' | 'lowercase' | 'capitalize' | 'titlecase' | 'trim';
1921
+ interface IFormatTextOperationData {
1922
+ /**
1923
+ * @required
1924
+ * @dependency
1925
+ */
1926
+ textContent: string;
1927
+ /**
1928
+ * @required
1929
+ * @erased
1930
+ */
1931
+ transformation: TextTransformation;
1932
+ /**
1933
+ * @output
1934
+ */
1935
+ formattedText: string;
1936
+ }
1937
+ /**
1938
+ * Transforms text using format operations: uppercase, lowercase, capitalize, titlecase, or trim.
1939
+ *
1940
+ * Operates on textContent passed from previous operations (e.g., getTextContent).
1941
+ *
1942
+ * Transformations:
1943
+ * - `uppercase`: Convert all characters to uppercase
1944
+ * - `lowercase`: Convert all characters to lowercase
1945
+ * - `capitalize`: Capitalize only the first letter
1946
+ * - `titlecase`: Capitalize first letter of each word
1947
+ * - `trim`: Remove leading and trailing whitespace
1948
+ *
1949
+ * @returns Operation data with `formattedText` containing the transformed text
1950
+ *
1951
+ * @example
1952
+ * ```typescript
1953
+ * // Convert to uppercase
1954
+ * const result = formatText({
1955
+ * textContent: 'hello',
1956
+ * transformation: 'uppercase'
1957
+ * });
1958
+ * // result.formattedText = "HELLO"
1959
+ * ```
1960
+ *
1961
+ * @example
1962
+ * ```typescript
1963
+ * // Title case
1964
+ * const result = formatText({
1965
+ * textContent: 'hello world',
1966
+ * transformation: 'titlecase'
1967
+ * });
1968
+ * // result.formattedText = "Hello World"
1969
+ * ```
1970
+ *
1971
+ * @category Text
1972
+ */
1973
+ declare const formatText: TOperation<IFormatTextOperationData, Omit<IFormatTextOperationData, 'transformation'>>;
1974
+ //#endregion
970
1975
  //#region src/operation/get-attributes-from-element.d.ts
971
1976
  interface IGetAttributesFromElementOperationData {
972
1977
  /**
@@ -1022,7 +2027,7 @@ interface IGetControllerFromElementOperationData {
1022
2027
  declare const getControllerFromElement: TOperation<IGetControllerFromElementOperationData, Omit<IGetControllerFromElementOperationData, 'controllerName'>>;
1023
2028
  //#endregion
1024
2029
  //#region src/operation/get-controller-instance.d.ts
1025
- type TSystemName = keyof typeof index_d_exports$2;
2030
+ type TSystemName = keyof typeof index_d_exports$4;
1026
2031
  interface IGetControllerInstanceOperationData {
1027
2032
  /**
1028
2033
  * @required
@@ -1043,6 +2048,24 @@ interface IGetControllerInstanceOperationData {
1043
2048
  */
1044
2049
  declare const getControllerInstance: TOperation<IGetControllerInstanceOperationData, Omit<IGetControllerInstanceOperationData, 'systemName'>>;
1045
2050
  //#endregion
2051
+ //#region src/operation/get-current-time.d.ts
2052
+ interface IGetCurrentTimeOperationData {
2053
+ /**
2054
+ * @output
2055
+ */
2056
+ timestamp: number;
2057
+ /**
2058
+ * @output
2059
+ */
2060
+ date: Date;
2061
+ }
2062
+ /**
2063
+ * Gets the current time as timestamp and Date object.
2064
+ *
2065
+ * @category Date
2066
+ */
2067
+ declare const getCurrentTime: TOperation<IGetCurrentTimeOperationData, IGetCurrentTimeOperationData>;
2068
+ //#endregion
1046
2069
  //#region src/operation/get-element-dimensions.d.ts
1047
2070
  interface IGetElementDimensionsOperationData {
1048
2071
  /**
@@ -1082,6 +2105,54 @@ interface IGetElementDimensionsOperationData {
1082
2105
  */
1083
2106
  declare const getElementDimensions: TOperation<IGetElementDimensionsOperationData, Omit<IGetElementDimensionsOperationData, 'modifier'>>;
1084
2107
  //#endregion
2108
+ //#region src/operation/get-focused-element.d.ts
2109
+ interface IGetFocusedElementOperationData {
2110
+ /**
2111
+ * @type=ParameterType:jQuery
2112
+ * @output
2113
+ */
2114
+ focusedElement: JQuery;
2115
+ }
2116
+ /**
2117
+ * Gets the currently focused element.
2118
+ *
2119
+ * @category Focus
2120
+ */
2121
+ declare const getFocusedElement: TOperation<IGetFocusedElementOperationData, IGetFocusedElementOperationData>;
2122
+ //#endregion
2123
+ //#region src/operation/get-form-data.d.ts
2124
+ interface IGetFormDataOperationData {
2125
+ /**
2126
+ * @required
2127
+ * @dependency
2128
+ */
2129
+ selectedElement: JQuery;
2130
+ /**
2131
+ * @output
2132
+ * @type=ParameterType:object
2133
+ */
2134
+ formData?: Record<string, any>;
2135
+ }
2136
+ /**
2137
+ * Extracts all input, select, and textarea values from form element into operation data.
2138
+ *
2139
+ * This operation reads form field values and returns them as an object with field names as keys.
2140
+ * Only processes form elements that are enabled and not hidden. Handles checkboxes, radio buttons,
2141
+ * select elements, textareas, and text inputs.
2142
+ *
2143
+ * @returns Operation data with `formData` object containing field values
2144
+ *
2145
+ * @example
2146
+ * ```typescript
2147
+ * // Given a form with fields: name="John", email="john@example.com"
2148
+ * const result = getFormData({selectedElement: $form});
2149
+ * // Returns: {selectedElement: $form, formData: {name: "John", email: "john@example.com"}}
2150
+ * ```
2151
+ *
2152
+ * @category Form
2153
+ */
2154
+ declare const getFormData: TOperation<IGetFormDataOperationData, IGetFormDataOperationData>;
2155
+ //#endregion
1085
2156
  //#region src/operation/get-import.d.ts
1086
2157
  interface IGetImportOperationData {
1087
2158
  /**
@@ -1121,21 +2192,216 @@ interface IGetQueryParamsOperationData {
1121
2192
  */
1122
2193
  queryParams?: Record<string, string>;
1123
2194
  /**
1124
- * The properties on this object will be assigned to the queryParams result
1125
- * when the given property name is not part of the query string.
1126
- *
1127
- * @erased
1128
- *
2195
+ * The properties on this object will be assigned to the queryParams result
2196
+ * when the given property name is not part of the query string.
2197
+ *
2198
+ * @erased
2199
+ *
2200
+ */
2201
+ defaultValues?: Record<string, string>;
2202
+ }
2203
+ /**
2204
+ * This operation retrieves the current query parameters from the browser's address bar and places
2205
+ * them on the returned operation data.
2206
+ *
2207
+ * @category Utility
2208
+ */
2209
+ declare const getQueryParams: TOperation<IGetQueryParamsOperationData, Omit<IGetQueryParamsOperationData, 'defaultValues'>>;
2210
+ //#endregion
2211
+ //#region src/operation/get-scroll-position.d.ts
2212
+ interface IGetScrollPositionOperationData {
2213
+ /**
2214
+ * @output
2215
+ */
2216
+ scrollX: number;
2217
+ /**
2218
+ * @output
2219
+ */
2220
+ scrollY: number;
2221
+ }
2222
+ /**
2223
+ * Gets the current scroll position of the viewport.
2224
+ *
2225
+ * Returns x (horizontal) and y (vertical) scroll positions in pixels.
2226
+ * Uses cross-browser compatible methods to retrieve scroll position.
2227
+ *
2228
+ * @returns Operation data with `scrollX` and `scrollY` values
2229
+ *
2230
+ * @example
2231
+ * ```typescript
2232
+ * // Get current scroll position
2233
+ * const result = getScrollPosition({});
2234
+ * // result.scrollX = 150
2235
+ * // result.scrollY = 400
2236
+ * ```
2237
+ *
2238
+ * @category Scroll
2239
+ */
2240
+ declare const getScrollPosition: TOperation<IGetScrollPositionOperationData, IGetScrollPositionOperationData>;
2241
+ //#endregion
2242
+ //#region src/operation/get-text-content.d.ts
2243
+ interface IGetTextContentOperationData {
2244
+ /**
2245
+ * @required
2246
+ * @dependency
2247
+ */
2248
+ selectedElement: JQuery;
2249
+ /**
2250
+ * @output
2251
+ */
2252
+ textContent?: string;
2253
+ }
2254
+ /**
2255
+ * Extracts text content from element, stripping all HTML markup.
2256
+ *
2257
+ * Uses jQuery's `.text()` method which is XSS-safe and returns only the text content
2258
+ * without any HTML tags. Preserves whitespace and text from nested elements.
2259
+ *
2260
+ * @returns Operation data with `textContent` containing the extracted plain text
2261
+ *
2262
+ * @example
2263
+ * ```typescript
2264
+ * // Extract text from element with HTML
2265
+ * const result = getTextContent({selectedElement: $div});
2266
+ * // Given: <div>Hello <strong>World</strong>!</div>
2267
+ * // Returns: {textContent: "Hello World!"}
2268
+ * ```
2269
+ *
2270
+ * @category Text
2271
+ */
2272
+ declare const getTextContent: TOperation<IGetTextContentOperationData, IGetTextContentOperationData>;
2273
+ //#endregion
2274
+ //#region src/operation/http-delete.d.ts
2275
+ interface IHttpDeleteOperationData {
2276
+ /**
2277
+ * @required
2278
+ * @erased
2279
+ */
2280
+ url: string;
2281
+ /**
2282
+ * @optional
2283
+ * @erased
2284
+ */
2285
+ headers?: Record<string, string>;
2286
+ /**
2287
+ * @output
2288
+ */
2289
+ response: any;
2290
+ /**
2291
+ * @output
2292
+ */
2293
+ status: number;
2294
+ }
2295
+ /**
2296
+ * Performs an HTTP DELETE request to the specified URL.
2297
+ *
2298
+ * @returns Operation data with `response` (parsed JSON or empty) and `status` (HTTP status code)
2299
+ *
2300
+ * @example
2301
+ * ```typescript
2302
+ * const result = await httpDelete({
2303
+ * url: 'https://api.example.com/users/123',
2304
+ * headers: { 'Authorization': 'Bearer token' }
2305
+ * });
2306
+ * // result.response = {} or null
2307
+ * // result.status = 204
2308
+ * ```
2309
+ *
2310
+ * @category HTTP
2311
+ */
2312
+ declare const httpDelete: TOperation<IHttpDeleteOperationData, Omit<IHttpDeleteOperationData, 'url' | 'headers'>>;
2313
+ //#endregion
2314
+ //#region src/operation/http-post.d.ts
2315
+ interface IHttpPostOperationData {
2316
+ /**
2317
+ * @required
2318
+ * @erased
2319
+ */
2320
+ url: string;
2321
+ /**
2322
+ * @optional
2323
+ * @erased
2324
+ */
2325
+ body?: any;
2326
+ /**
2327
+ * @optional
2328
+ * @erased
2329
+ */
2330
+ headers?: Record<string, string>;
2331
+ /**
2332
+ * @output
2333
+ */
2334
+ response: any;
2335
+ /**
2336
+ * @output
2337
+ */
2338
+ status: number;
2339
+ }
2340
+ /**
2341
+ * Performs an HTTP POST request to the specified URL.
2342
+ *
2343
+ * @returns Operation data with `response` (parsed JSON) and `status` (HTTP status code)
2344
+ *
2345
+ * @example
2346
+ * ```typescript
2347
+ * const result = await httpPost({
2348
+ * url: 'https://api.example.com/users',
2349
+ * body: { name: 'John', email: 'john@example.com' },
2350
+ * headers: { 'Content-Type': 'application/json' }
2351
+ * });
2352
+ * // result.response = { id: 123, name: 'John', ... }
2353
+ * // result.status = 201
2354
+ * ```
2355
+ *
2356
+ * @category HTTP
2357
+ */
2358
+ declare const httpPost: TOperation<IHttpPostOperationData, Omit<IHttpPostOperationData, 'url' | 'body' | 'headers'>>;
2359
+ //#endregion
2360
+ //#region src/operation/http-put.d.ts
2361
+ interface IHttpPutOperationData {
2362
+ /**
2363
+ * @required
2364
+ * @erased
2365
+ */
2366
+ url: string;
2367
+ /**
2368
+ * @optional
2369
+ * @erased
2370
+ */
2371
+ body?: any;
2372
+ /**
2373
+ * @optional
2374
+ * @erased
2375
+ */
2376
+ headers?: Record<string, string>;
2377
+ /**
2378
+ * @output
2379
+ */
2380
+ response: any;
2381
+ /**
2382
+ * @output
1129
2383
  */
1130
- defaultValues?: Record<string, string>;
2384
+ status: number;
1131
2385
  }
1132
2386
  /**
1133
- * This operation retrieves the current query parameters from the browser's address bar and places
1134
- * them on the returned operation data.
2387
+ * Performs an HTTP PUT request to the specified URL.
1135
2388
  *
1136
- * @category Utility
2389
+ * @returns Operation data with `response` (parsed JSON) and `status` (HTTP status code)
2390
+ *
2391
+ * @example
2392
+ * ```typescript
2393
+ * const result = await httpPut({
2394
+ * url: 'https://api.example.com/users/123',
2395
+ * body: { name: 'John Updated', email: 'john.new@example.com' },
2396
+ * headers: { 'Content-Type': 'application/json' }
2397
+ * });
2398
+ * // result.response = { id: 123, name: 'John Updated', ... }
2399
+ * // result.status = 200
2400
+ * ```
2401
+ *
2402
+ * @category HTTP
1137
2403
  */
1138
- declare const getQueryParams: TOperation<IGetQueryParamsOperationData, Omit<IGetQueryParamsOperationData, 'defaultValues'>>;
2404
+ declare const httpPut: TOperation<IHttpPutOperationData, Omit<IHttpPutOperationData, 'url' | 'body' | 'headers'>>;
1139
2405
  //#endregion
1140
2406
  //#region src/operation/invoke-object-method.d.ts
1141
2407
  interface IInvokeObjectMethodOperationData {
@@ -1173,6 +2439,87 @@ interface IInvokeObjectMethodOperationData {
1173
2439
  */
1174
2440
  declare const invokeObjectMethod: TOperation<IInvokeObjectMethodOperationData, Omit<IInvokeObjectMethodOperationData, 'methodName' | 'methodArguments'>>;
1175
2441
  //#endregion
2442
+ //#region src/operation/is-element-in-viewport.d.ts
2443
+ interface IIsElementInViewportOperationData {
2444
+ /**
2445
+ * @required
2446
+ * @dependency
2447
+ */
2448
+ selectedElement: JQuery;
2449
+ /**
2450
+ * @output
2451
+ */
2452
+ isInViewport: boolean;
2453
+ }
2454
+ /**
2455
+ * Checks if an element is currently visible within the viewport.
2456
+ *
2457
+ * Uses `getBoundingClientRect()` to determine if the element is within the viewport boundaries.
2458
+ *
2459
+ * @returns Operation data with `isInViewport` boolean indicating visibility
2460
+ *
2461
+ * @example
2462
+ * ```typescript
2463
+ * // Check if element is in view
2464
+ * const result = isElementInViewport({
2465
+ * selectedElement: $targetElement
2466
+ * });
2467
+ * // result.isInViewport = true or false
2468
+ * ```
2469
+ *
2470
+ * @category DOM
2471
+ */
2472
+ declare const isElementInViewport: TOperation<IIsElementInViewportOperationData, IIsElementInViewportOperationData>;
2473
+ //#endregion
2474
+ //#region src/operation/load-from-storage.d.ts
2475
+ type StorageType$2 = 'local' | 'session';
2476
+ interface ILoadFromStorageOperationData {
2477
+ /**
2478
+ * @required
2479
+ * @erased
2480
+ */
2481
+ key: string;
2482
+ /**
2483
+ * @required
2484
+ * @erased
2485
+ */
2486
+ storageType: StorageType$2;
2487
+ /**
2488
+ * @output
2489
+ */
2490
+ loadedValue: any;
2491
+ }
2492
+ /**
2493
+ * Loads data from browser storage (localStorage or sessionStorage).
2494
+ *
2495
+ * Deserializes the stored JSON value. Returns `null` if key doesn't exist.
2496
+ *
2497
+ * @returns Operation data with `loadedValue` containing the deserialized data
2498
+ *
2499
+ * @example
2500
+ * ```typescript
2501
+ * // Load user settings from localStorage
2502
+ * const result = loadFromStorage({
2503
+ * key: 'user-settings',
2504
+ * storageType: 'local'
2505
+ * });
2506
+ * // result.loadedValue = { theme: 'dark', language: 'en' }
2507
+ * ```
2508
+ *
2509
+ * @example
2510
+ * ```typescript
2511
+ * // Load session data
2512
+ * const result = loadFromStorage({
2513
+ * key: 'session-id',
2514
+ * storageType: 'session'
2515
+ * });
2516
+ * // result.loadedValue = 'abc123' or null if not found
2517
+ * ```
2518
+ *
2519
+ * @category Data
2520
+ */
2521
+ declare const loadFromStorage: TOperation<ILoadFromStorageOperationData, Omit<ILoadFromStorageOperationData, 'storageType'>>;
2522
+ //#endregion
1176
2523
  //#region src/operation/load-json.d.ts
1177
2524
  interface ILoadJSONOperationData {
1178
2525
  /**
@@ -1223,6 +2570,65 @@ interface ILogOperationData {
1223
2570
  */
1224
2571
  declare const log: TOperation<ILogOperationData, Omit<ILogOperationData, 'logValue' | 'logName'>>;
1225
2572
  //#endregion
2573
+ //#region src/operation/map-array.d.ts
2574
+ interface IMapArrayOperationData {
2575
+ /**
2576
+ * @required
2577
+ * @dependency
2578
+ */
2579
+ arrayData: any[];
2580
+ /**
2581
+ * @required
2582
+ * @erased
2583
+ */
2584
+ mapFunction: (item: any, index?: number) => any;
2585
+ /**
2586
+ * @output
2587
+ */
2588
+ mappedArray?: any[];
2589
+ }
2590
+ /**
2591
+ * Transforms each element of an array using a mapping function.
2592
+ *
2593
+ * Operates on arrayData passed from previous operations.
2594
+ * The mapFunction receives each item and optionally its index.
2595
+ *
2596
+ * @returns Operation data with `mappedArray` containing transformed elements
2597
+ *
2598
+ * @example
2599
+ * ```typescript
2600
+ * // Double each number
2601
+ * const result = mapArray({
2602
+ * arrayData: [1, 2, 3, 4],
2603
+ * mapFunction: (item) => item * 2
2604
+ * });
2605
+ * // result.mappedArray = [2, 4, 6, 8]
2606
+ * ```
2607
+ *
2608
+ * @example
2609
+ * ```typescript
2610
+ * // Extract property from objects
2611
+ * const result = mapArray({
2612
+ * arrayData: [{name: 'Alice', age: 25}, {name: 'Bob', age: 30}],
2613
+ * mapFunction: (item) => item.name
2614
+ * });
2615
+ * // result.mappedArray = ['Alice', 'Bob']
2616
+ * ```
2617
+ *
2618
+ * @example
2619
+ * ```typescript
2620
+ * // Use index in transformation
2621
+ * const result = mapArray({
2622
+ * arrayData: ['a', 'b', 'c'],
2623
+ * mapFunction: (item, index) => `${index}-${item}`
2624
+ * });
2625
+ * // result.mappedArray = ['0-a', '1-b', '2-c']
2626
+ * ```
2627
+ *
2628
+ * @category Array
2629
+ */
2630
+ declare const mapArray: TOperation<IMapArrayOperationData, Omit<IMapArrayOperationData, 'mapFunction'>>;
2631
+ //#endregion
1226
2632
  //#region src/operation/math.d.ts
1227
2633
  type MathFunctionKeys = { [K in keyof Math]: Math[K] extends ((...args: any) => any) ? K : never }[keyof Math];
1228
2634
  type MathNonFunctionKeys = { [K in keyof Math]: Math[K] extends ((...args: any) => any) ? never : K }[keyof Math];
@@ -1342,44 +2748,299 @@ interface IReparentElementOperationData {
1342
2748
  */
1343
2749
  selectedElement: JQuery;
1344
2750
  /**
1345
- * @type=ParameterType:selector
1346
- * @required
2751
+ * @type=ParameterType:selector
2752
+ * @required
2753
+ * @erased
2754
+ */
2755
+ newParentSelector: string;
2756
+ }
2757
+ /**
2758
+ * This operation moves the given selected element to the new parent that is defined
2759
+ * by the specified `newParentSelector`.
2760
+ *
2761
+ * @param operationData
2762
+ * @returns
2763
+ *
2764
+ * @category DOM
2765
+ */
2766
+ declare const reparentElement: TOperation<IReparentElementOperationData, Omit<IReparentElementOperationData, 'newParentSelector'>>;
2767
+ //#endregion
2768
+ //#region src/operation/replace-string.d.ts
2769
+ interface IReplaceStringOperationData {
2770
+ /**
2771
+ * @required
2772
+ * @dependency
2773
+ */
2774
+ textContent: string;
2775
+ /**
2776
+ * @required
2777
+ * @erased
2778
+ */
2779
+ pattern: string | RegExp;
2780
+ /**
2781
+ * @required
2782
+ * @erased
2783
+ */
2784
+ replacement: string;
2785
+ /**
2786
+ * @output
2787
+ */
2788
+ result: string;
2789
+ }
2790
+ /**
2791
+ * Replaces occurrences of a pattern in a string (alias for replaceText for string context).
2792
+ *
2793
+ * @returns Operation data with `result` containing the replaced string
2794
+ *
2795
+ * @example
2796
+ * ```typescript
2797
+ * const result = replaceString({
2798
+ * textContent: 'Hello World',
2799
+ * pattern: 'World',
2800
+ * replacement: 'Universe'
2801
+ * });
2802
+ * // result.result = "Hello Universe"
2803
+ * ```
2804
+ *
2805
+ * @category String
2806
+ */
2807
+ declare const replaceString: TOperation<IReplaceStringOperationData, Omit<IReplaceStringOperationData, 'pattern' | 'replacement'>>;
2808
+ //#endregion
2809
+ //#region src/operation/replace-text.d.ts
2810
+ interface IReplaceTextOperationData {
2811
+ /**
2812
+ * @required
2813
+ * @dependency
2814
+ */
2815
+ textContent: string;
2816
+ /**
2817
+ * @required
2818
+ * @erased
2819
+ */
2820
+ searchPattern: string | RegExp;
2821
+ /**
2822
+ * @required
2823
+ * @erased
2824
+ */
2825
+ replacement: string;
2826
+ /**
2827
+ * @output
2828
+ */
2829
+ replacementCount: number;
2830
+ }
2831
+ /**
2832
+ * Finds and replaces text using literal string or regex pattern.
2833
+ *
2834
+ * Operates on textContent passed from previous operations (e.g., getTextContent).
2835
+ * Supports regex patterns with global flag for multiple replacements.
2836
+ * Updates textContent with replaced text and sets replacementCount.
2837
+ *
2838
+ * @returns Operation data with updated `textContent` and `replacementCount` indicating number of replacements made
2839
+ *
2840
+ * @example
2841
+ * ```typescript
2842
+ * // Replace placeholder with value
2843
+ * const result = replaceText({
2844
+ * textContent: 'Hello {{name}}',
2845
+ * searchPattern: '{{name}}',
2846
+ * replacement: 'John'
2847
+ * });
2848
+ * // result.textContent = "Hello John"
2849
+ * // result.replacementCount = 1
2850
+ * ```
2851
+ *
2852
+ * @example
2853
+ * ```typescript
2854
+ * // Replace with regex pattern
2855
+ * const result = replaceText({
2856
+ * textContent: 'Test 123 and 456',
2857
+ * searchPattern: /\d+/g,
2858
+ * replacement: 'NUM'
2859
+ * });
2860
+ * // result.textContent = "Test NUM and NUM"
2861
+ * // result.replacementCount = 2
2862
+ * ```
2863
+ *
2864
+ * @category Text
2865
+ */
2866
+ declare const replaceText: TOperation<IReplaceTextOperationData, Omit<IReplaceTextOperationData, 'searchPattern' | 'replacement'>>;
2867
+ //#endregion
2868
+ //#region src/operation/request-action.d.ts
2869
+ interface IRequestActionOperationData {
2870
+ /**
2871
+ * @type=ParameterType:actionName
2872
+ * @required
2873
+ * @erased
2874
+ */
2875
+ systemName: string;
2876
+ /**
2877
+ * @type=ParameterType:object
2878
+ * @output
2879
+ */
2880
+ actionInstance?: IAction;
2881
+ }
2882
+ /**
2883
+ * This operation requests an action instance with the specified name and assigns it
2884
+ * to the `actionInstance` property on the current operation data.
2885
+ *
2886
+ * @category Action
2887
+ */
2888
+ declare const requestAction: TOperation<IRequestActionOperationData, Omit<Required<IRequestActionOperationData>, 'systemName'>>;
2889
+ //#endregion
2890
+ //#region src/operation/save-to-storage.d.ts
2891
+ type StorageType$1 = 'local' | 'session';
2892
+ interface ISaveToStorageOperationData {
2893
+ /**
2894
+ * @required
2895
+ * @erased
2896
+ */
2897
+ key: string;
2898
+ /**
2899
+ * @required
2900
+ * @erased
2901
+ */
2902
+ value: any;
2903
+ /**
2904
+ * @required
2905
+ * @erased
2906
+ */
2907
+ storageType: StorageType$1;
2908
+ }
2909
+ /**
2910
+ * Saves data to browser storage (localStorage or sessionStorage).
2911
+ *
2912
+ * Serializes the value as JSON before storing. Supports any JSON-serializable data type.
2913
+ *
2914
+ * @returns Operation data with storage properties erased
2915
+ *
2916
+ * @example
2917
+ * ```typescript
2918
+ * // Save user settings to localStorage
2919
+ * const result = saveToStorage({
2920
+ * key: 'user-settings',
2921
+ * value: { theme: 'dark', language: 'en' },
2922
+ * storageType: 'local'
2923
+ * });
2924
+ * ```
2925
+ *
2926
+ * @example
2927
+ * ```typescript
2928
+ * // Save session data
2929
+ * const result = saveToStorage({
2930
+ * key: 'session-id',
2931
+ * value: 'abc123',
2932
+ * storageType: 'session'
2933
+ * });
2934
+ * ```
2935
+ *
2936
+ * @category Data
2937
+ */
2938
+ declare const saveToStorage: TOperation<ISaveToStorageOperationData, Omit<ISaveToStorageOperationData, 'value' | 'storageType'>>;
2939
+ //#endregion
2940
+ //#region src/operation/scroll-to-element.d.ts
2941
+ type ScrollBehavior$1 = 'auto' | 'smooth';
2942
+ type ScrollLogicalPosition = 'start' | 'center' | 'end' | 'nearest';
2943
+ interface IScrollToElementOperationData {
2944
+ /**
2945
+ * @required
2946
+ * @dependency
2947
+ */
2948
+ selectedElement: JQuery;
2949
+ /**
2950
+ * @optional
1347
2951
  * @erased
1348
2952
  */
1349
- newParentSelector: string;
2953
+ behavior?: ScrollBehavior$1;
2954
+ /**
2955
+ * @optional
2956
+ * @erased
2957
+ */
2958
+ block?: ScrollLogicalPosition;
2959
+ /**
2960
+ * @optional
2961
+ * @erased
2962
+ */
2963
+ inline?: ScrollLogicalPosition;
1350
2964
  }
1351
2965
  /**
1352
- * This operation moves the given selected element to the new parent that is defined
1353
- * by the specified `newParentSelector`.
2966
+ * Scrolls the viewport to bring the selected element into view.
1354
2967
  *
1355
- * @param operationData
1356
- * @returns
2968
+ * Uses the browser's `scrollIntoView` API with configurable behavior.
1357
2969
  *
1358
- * @category DOM
2970
+ * @returns Operation data with scroll properties erased
2971
+ *
2972
+ * @example
2973
+ * ```typescript
2974
+ * // Smooth scroll to element at top of viewport
2975
+ * const result = scrollToElement({
2976
+ * selectedElement: $targetElement,
2977
+ * behavior: 'smooth',
2978
+ * block: 'start'
2979
+ * });
2980
+ * ```
2981
+ *
2982
+ * @example
2983
+ * ```typescript
2984
+ * // Center element in viewport
2985
+ * const result = scrollToElement({
2986
+ * selectedElement: $targetElement,
2987
+ * behavior: 'smooth',
2988
+ * block: 'center'
2989
+ * });
2990
+ * ```
2991
+ *
2992
+ * @category Scroll
1359
2993
  */
1360
- declare const reparentElement: TOperation<IReparentElementOperationData, Omit<IReparentElementOperationData, 'newParentSelector'>>;
2994
+ declare const scrollToElement: TOperation<IScrollToElementOperationData, Omit<IScrollToElementOperationData, 'behavior' | 'block' | 'inline'>>;
1361
2995
  //#endregion
1362
- //#region src/operation/request-action.d.ts
1363
- interface IRequestActionOperationData {
2996
+ //#region src/operation/scroll-to-position.d.ts
2997
+ type ScrollBehavior = 'auto' | 'smooth';
2998
+ interface IScrollToPositionOperationData {
1364
2999
  /**
1365
- * @type=ParameterType:actionName
1366
3000
  * @required
1367
3001
  * @erased
1368
3002
  */
1369
- systemName: string;
3003
+ x: number;
1370
3004
  /**
1371
- * @type=ParameterType:object
1372
- * @output
3005
+ * @required
3006
+ * @erased
1373
3007
  */
1374
- actionInstance?: IAction;
3008
+ y: number;
3009
+ /**
3010
+ * @optional
3011
+ * @erased
3012
+ */
3013
+ behavior?: ScrollBehavior;
1375
3014
  }
1376
3015
  /**
1377
- * This operation requests an action instance with the specified name and assigns it
1378
- * to the `actionInstance` property on the current operation data.
3016
+ * Scrolls the viewport to a specific x,y coordinate position.
1379
3017
  *
1380
- * @category Action
3018
+ * Uses the browser's `window.scrollTo` API with configurable behavior.
3019
+ *
3020
+ * @returns Operation data with scroll properties erased
3021
+ *
3022
+ * @example
3023
+ * ```typescript
3024
+ * // Smooth scroll to position
3025
+ * const result = scrollToPosition({
3026
+ * x: 0,
3027
+ * y: 500,
3028
+ * behavior: 'smooth'
3029
+ * });
3030
+ * ```
3031
+ *
3032
+ * @example
3033
+ * ```typescript
3034
+ * // Instant scroll to top
3035
+ * const result = scrollToPosition({
3036
+ * x: 0,
3037
+ * y: 0
3038
+ * });
3039
+ * ```
3040
+ *
3041
+ * @category Scroll
1381
3042
  */
1382
- declare const requestAction: TOperation<IRequestActionOperationData, Omit<Required<IRequestActionOperationData>, 'systemName'>>;
3043
+ declare const scrollToPosition: TOperation<IScrollToPositionOperationData, Omit<IScrollToPositionOperationData, 'x' | 'y' | 'behavior'>>;
1383
3044
  //#endregion
1384
3045
  //#region src/operation/select-element.d.ts
1385
3046
  interface ISelectElementOperationData {
@@ -1488,6 +3149,61 @@ interface ISetElementContentOperationData {
1488
3149
  */
1489
3150
  declare const setElementContent: TOperation<ISetElementContentOperationData, Omit<ISetElementContentOperationData, 'template' | 'insertionType'>>;
1490
3151
  //#endregion
3152
+ //#region src/operation/set-focus.d.ts
3153
+ interface ISetFocusOperationData {
3154
+ /**
3155
+ * @required
3156
+ * @dependency
3157
+ */
3158
+ selectedElement: JQuery;
3159
+ }
3160
+ /**
3161
+ * Sets focus to the selected element.
3162
+ *
3163
+ * @category Focus
3164
+ */
3165
+ declare const setFocus: TOperation<ISetFocusOperationData, ISetFocusOperationData>;
3166
+ //#endregion
3167
+ //#region src/operation/set-form-value.d.ts
3168
+ interface ISetFormValueOperationData {
3169
+ /**
3170
+ * @required
3171
+ * @dependency
3172
+ */
3173
+ selectedElement: JQuery;
3174
+ /**
3175
+ * @required
3176
+ * @erased
3177
+ */
3178
+ value: string | number | boolean;
3179
+ }
3180
+ /**
3181
+ * Sets the value of an input, select, or textarea element.
3182
+ *
3183
+ * Handles different input types appropriately:
3184
+ * - Text inputs, textareas, selects: sets value directly
3185
+ * - Checkboxes: sets checked property for boolean values
3186
+ * - Radio buttons: sets checked property for boolean values
3187
+ * - Number inputs: converts to string
3188
+ *
3189
+ * @example
3190
+ * ```typescript
3191
+ * // Set text input value
3192
+ * const result = setFormValue({selectedElement: $input, value: 'test@example.com'});
3193
+ * // Element value is now 'test@example.com'
3194
+ * ```
3195
+ *
3196
+ * @example
3197
+ * ```typescript
3198
+ * // Set checkbox checked state
3199
+ * const result = setFormValue({selectedElement: $checkbox, value: true});
3200
+ * // Checkbox is now checked
3201
+ * ```
3202
+ *
3203
+ * @category Form
3204
+ */
3205
+ declare const setFormValue: TOperation<ISetFormValueOperationData, Omit<ISetFormValueOperationData, 'value'>>;
3206
+ //#endregion
1491
3207
  //#region src/operation/set-global-data.d.ts
1492
3208
  interface ISetGlobalDataOperationData {
1493
3209
  /**
@@ -1566,6 +3282,119 @@ interface ISetVariableOperationData {
1566
3282
  */
1567
3283
  declare const setVariable: TOperation<ISetVariableOperationData, Omit<ISetVariableOperationData, 'name' | 'value'>>;
1568
3284
  //#endregion
3285
+ //#region src/operation/sort-array.d.ts
3286
+ type SortOrder = 'asc' | 'desc';
3287
+ interface ISortArrayOperationData {
3288
+ /**
3289
+ * @required
3290
+ * @dependency
3291
+ */
3292
+ arrayData: any[];
3293
+ /**
3294
+ * @optional
3295
+ * @erased
3296
+ */
3297
+ sortProperty?: string;
3298
+ /**
3299
+ * @optional
3300
+ * @erased
3301
+ */
3302
+ sortOrder?: SortOrder;
3303
+ /**
3304
+ * @optional
3305
+ * @erased
3306
+ */
3307
+ sortComparator?: (a: any, b: any) => number;
3308
+ /**
3309
+ * @output
3310
+ */
3311
+ sortedArray: any[];
3312
+ }
3313
+ /**
3314
+ * Sorts an array by property, natural order, or custom comparator function.
3315
+ *
3316
+ * Operates on arrayData passed from previous operations.
3317
+ * Supports three sorting modes:
3318
+ * 1. Property sort: `sortProperty` and `sortOrder` to sort objects by property
3319
+ * 2. Natural sort: `sortOrder` alone for primitive arrays
3320
+ * 3. Custom comparator: `sortComparator` function for complex sorting logic
3321
+ *
3322
+ * @returns Operation data with `sortedArray` containing sorted results
3323
+ *
3324
+ * @example
3325
+ * ```typescript
3326
+ * // Sort objects by property
3327
+ * const result = sortArray({
3328
+ * arrayData: [{name: 'Bob', age: 30}, {name: 'Alice', age: 25}],
3329
+ * sortProperty: 'age',
3330
+ * sortOrder: 'asc'
3331
+ * });
3332
+ * // result.sortedArray = [{name: 'Alice', age: 25}, {name: 'Bob', age: 30}]
3333
+ * ```
3334
+ *
3335
+ * @example
3336
+ * ```typescript
3337
+ * // Sort primitives
3338
+ * const result = sortArray({
3339
+ * arrayData: [5, 2, 8, 1],
3340
+ * sortOrder: 'desc'
3341
+ * });
3342
+ * // result.sortedArray = [8, 5, 2, 1]
3343
+ * ```
3344
+ *
3345
+ * @example
3346
+ * ```typescript
3347
+ * // Custom comparator
3348
+ * const result = sortArray({
3349
+ * arrayData: ['apple', 'Banana', 'cherry'],
3350
+ * sortComparator: (a, b) => a.toLowerCase().localeCompare(b.toLowerCase())
3351
+ * });
3352
+ * ```
3353
+ *
3354
+ * @category Array
3355
+ */
3356
+ declare const sortArray: TOperation<ISortArrayOperationData, Omit<ISortArrayOperationData, 'sortProperty' | 'sortOrder' | 'sortComparator'>>;
3357
+ //#endregion
3358
+ //#region src/operation/split-string.d.ts
3359
+ interface ISplitStringOperationData {
3360
+ /**
3361
+ * @required
3362
+ * @dependency
3363
+ */
3364
+ textContent: string;
3365
+ /**
3366
+ * @required
3367
+ * @erased
3368
+ */
3369
+ delimiter: string | RegExp;
3370
+ /**
3371
+ * @optional
3372
+ * @erased
3373
+ */
3374
+ limit?: number;
3375
+ /**
3376
+ * @output
3377
+ */
3378
+ resultArray: string[];
3379
+ }
3380
+ /**
3381
+ * Splits a string into an array by delimiter (string or regex).
3382
+ *
3383
+ * @returns Operation data with `resultArray` containing the split strings
3384
+ *
3385
+ * @example
3386
+ * ```typescript
3387
+ * const result = splitString({
3388
+ * textContent: 'apple,banana,cherry',
3389
+ * delimiter: ','
3390
+ * });
3391
+ * // result.resultArray = ['apple', 'banana', 'cherry']
3392
+ * ```
3393
+ *
3394
+ * @category String
3395
+ */
3396
+ declare const splitString: TOperation<ISplitStringOperationData, Omit<ISplitStringOperationData, 'delimiter' | 'limit'>>;
3397
+ //#endregion
1569
3398
  //#region src/operation/start-action.d.ts
1570
3399
  interface IStartActionOperationData {
1571
3400
  /**
@@ -1589,6 +3418,47 @@ interface IStartActionOperationData {
1589
3418
  */
1590
3419
  declare const startAction: TOperation<IStartActionOperationData, Omit<IStartActionOperationData, 'actionOperationData'>>;
1591
3420
  //#endregion
3421
+ //#region src/operation/substring-text.d.ts
3422
+ interface ISubstringTextOperationData {
3423
+ /**
3424
+ * @required
3425
+ * @dependency
3426
+ */
3427
+ textContent: string;
3428
+ /**
3429
+ * @required
3430
+ * @erased
3431
+ */
3432
+ start: number;
3433
+ /**
3434
+ * @optional
3435
+ * @erased
3436
+ */
3437
+ end?: number;
3438
+ /**
3439
+ * @output
3440
+ */
3441
+ substring: string;
3442
+ }
3443
+ /**
3444
+ * Extracts a substring from text between start and end indices.
3445
+ *
3446
+ * @returns Operation data with `substring` containing the extracted text
3447
+ *
3448
+ * @example
3449
+ * ```typescript
3450
+ * const result = substringText({
3451
+ * textContent: 'Hello World',
3452
+ * start: 0,
3453
+ * end: 5
3454
+ * });
3455
+ * // result.substring = "Hello"
3456
+ * ```
3457
+ *
3458
+ * @category Text
3459
+ */
3460
+ declare const substringText: TOperation<ISubstringTextOperationData, Omit<ISubstringTextOperationData, 'start' | 'end'>>;
3461
+ //#endregion
1592
3462
  //#region src/operation/toggle-class.d.ts
1593
3463
  interface IToggleClassOperationData {
1594
3464
  /**
@@ -1617,20 +3487,117 @@ declare const toggleClass: TOperation<IToggleClassOperationData, Omit<IToggleCla
1617
3487
  //#region src/operation/toggle-element.d.ts
1618
3488
  interface IToggleElementOperationData {
1619
3489
  /**
1620
- * The element whose visibility will be toggled
3490
+ * The element whose visibility will be toggled
3491
+ * @dependency
3492
+ */
3493
+ selectedElement: JQuery;
3494
+ }
3495
+ /**
3496
+ * This operation toggles the visibility of the given selected element.
3497
+ *
3498
+ * Meaning, if the element is hidden, it will be made visible, otherwise
3499
+ * it will be hidden.
3500
+ *
3501
+ * @category DOM
3502
+ */
3503
+ declare const toggleElement: TOperation<IToggleElementOperationData>;
3504
+ //#endregion
3505
+ //#region src/operation/toggle-form-element.d.ts
3506
+ interface IToggleFormElementOperationData {
3507
+ /**
3508
+ * @required
3509
+ * @dependency
3510
+ */
3511
+ selectedElement: JQuery;
3512
+ /**
3513
+ * @required
3514
+ * @erased
3515
+ */
3516
+ enabled: boolean;
3517
+ }
3518
+ /**
3519
+ * Enables or disables form input elements (inputs, selects, textareas, buttons).
3520
+ *
3521
+ * Sets the `disabled` property on the element. When `enabled` is true, removes the disabled
3522
+ * attribute; when false, adds the disabled attribute.
3523
+ *
3524
+ * @example
3525
+ * ```typescript
3526
+ * // Disable an input field
3527
+ * toggleFormElement({selectedElement: $input, enabled: false});
3528
+ * // Input is now disabled
3529
+ * ```
3530
+ *
3531
+ * @example
3532
+ * ```typescript
3533
+ * // Enable a previously disabled button
3534
+ * toggleFormElement({selectedElement: $button, enabled: true});
3535
+ * // Button is now enabled
3536
+ * ```
3537
+ *
3538
+ * @category Form
3539
+ */
3540
+ declare const toggleFormElement: TOperation<IToggleFormElementOperationData, Omit<IToggleFormElementOperationData, 'enabled'>>;
3541
+ //#endregion
3542
+ //#region src/operation/validate-form.d.ts
3543
+ interface IValidationRules {
3544
+ required?: boolean;
3545
+ minLength?: number;
3546
+ maxLength?: number;
3547
+ pattern?: string | RegExp;
3548
+ email?: boolean;
3549
+ }
3550
+ interface IValidateFormOperationData {
3551
+ /**
3552
+ * @required
1621
3553
  * @dependency
1622
3554
  */
1623
3555
  selectedElement: JQuery;
3556
+ /**
3557
+ * @erased
3558
+ */
3559
+ validationRules?: Record<string, IValidationRules>;
3560
+ /**
3561
+ * @output
3562
+ * @type=ParameterType:object
3563
+ */
3564
+ validationErrors?: Record<string, string>;
3565
+ /**
3566
+ * @output
3567
+ */
3568
+ isValid?: boolean;
1624
3569
  }
1625
3570
  /**
1626
- * This operation toggles the visibility of the given selected element.
3571
+ * Validates form fields against HTML5 validation and custom rules.
1627
3572
  *
1628
- * Meaning, if the element is hidden, it will be made visible, otherwise
1629
- * it will be hidden.
3573
+ * Uses HTML5 validation API (checkValidity()) for native validation, and supports
3574
+ * custom validation rules for: required, minLength, maxLength, pattern (regex), and email format.
1630
3575
  *
1631
- * @category DOM
3576
+ * @returns Operation data with `validationErrors` object (field names → error messages) and `isValid` boolean
3577
+ *
3578
+ * @example
3579
+ * ```typescript
3580
+ * // Validate with HTML5 validation
3581
+ * const result = validateForm({selectedElement: $form});
3582
+ * // Returns: {isValid: true, validationErrors: {}}
3583
+ * ```
3584
+ *
3585
+ * @example
3586
+ * ```typescript
3587
+ * // Validate with custom rules
3588
+ * const result = validateForm({
3589
+ * selectedElement: $form,
3590
+ * validationRules: {
3591
+ * password: { required: true, minLength: 8 },
3592
+ * email: { email: true }
3593
+ * }
3594
+ * });
3595
+ * // Returns: {isValid: false, validationErrors: {password: "Must be at least 8 characters"}}
3596
+ * ```
3597
+ *
3598
+ * @category Form
1632
3599
  */
1633
- declare const toggleElement: TOperation<IToggleElementOperationData>;
3600
+ declare const validateForm: TOperation<IValidateFormOperationData, Omit<IValidateFormOperationData, 'validationRules'>>;
1634
3601
  //#endregion
1635
3602
  //#region src/operation/wait.d.ts
1636
3603
  interface IWaitOperationData {
@@ -1689,16 +3656,16 @@ interface IWhenOperationData {
1689
3656
  * @category Control Flow
1690
3657
  */
1691
3658
  declare const when: TOperation<IWhenOperationData, Omit<IWhenOperationData, 'expression'>>;
1692
- declare namespace index_d_exports$1 {
1693
- export { ExtractOperationData, ExtractReturnedOperationData, IAddClassOperationData, IAddControllerToElementOperationData, IAnimateOperationData, IAnimateWithClassOperationData, IBroadcastEventOperationData, ICalcOperationData, IClearElementOperationData, IClearOperationDataOperationData, ICreateElementOperationData, ICustomFunctionOperationData, IEndActionOperationData, IExtendControllerOperationData, IForEachOperationData, IGetAttributesFromElementOperationData, IGetControllerFromElementOperationData, IGetControllerInstanceOperationData, IGetElementDimensionsOperationData, IGetImportOperationData, IGetQueryParamsOperationData, IInvokeObjectMethodOperationData, ILogOperationData, IMathOperationData, IOperationScope, IRemoveClassOperationData, IRemoveControllerFromElementOperationData, IRemoveElementOperationData, IRemovePropertiesFromOperationDataOperationData, IReparentElementOperationData, IRequestActionOperationData, ISelectElementOperationData, ISetDataOperationData, ISetElementAttributesOperationData, ISetElementContentOperationData, ISetGlobalDataOperationData, ISetStyleOperationData, ISetVariableOperationData, IStartActionOperationData, IToggleClassOperationData, IToggleElementOperationData, IWaitOperationData, IWhenOperationData, TOperation, TOperationData, TOperationResult, addClass, addControllerToElement, addGlobalsToOperation, animate, animateWithClass, breakForEach, broadcastEvent, calc, clearElement, clearOperationData, continueForEach, createElement, customFunction, endAction, endForEach, endWhen, extendController, forEach, getAttributesFromElement, getControllerFromElement, getControllerInstance, getElementDimensions, getImport, getQueryParams, invokeObjectMethod, loadJson, log, math, otherwise, removeClass, removeControllerFromElement, removeElement, removePropertiesFromOperationData, reparentElement, requestAction, selectElement, setData, setElementAttributes, setElementContent, setGlobalData, setOperationData, setStyle, setVariable, startAction, toggleClass, toggleElement, wait, when };
3659
+ declare namespace index_d_exports$3 {
3660
+ 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, 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 };
1694
3661
  }
1695
3662
  //#endregion
1696
3663
  //#region src/configuration/types.d.ts
1697
- type Controllers = typeof index_d_exports$2;
3664
+ type Controllers = typeof index_d_exports$4;
1698
3665
  type TControllerName = keyof Controllers;
1699
3666
  type TControllerType = Controllers[TControllerName];
1700
3667
  type GetControllerByName<T$1 extends TControllerName> = Controllers[T$1];
1701
- type Operations = typeof index_d_exports$1;
3668
+ type Operations = typeof index_d_exports$3;
1702
3669
  type TOperationName = keyof Operations;
1703
3670
  type TOperationType = Operations[TOperationName];
1704
3671
  type GetOperationByName<T$1 extends TOperationName> = Operations[T$1];
@@ -1960,7 +3927,7 @@ declare class EndableActionEditor<T$1 extends IEndableActionConfiguration = IEnd
1960
3927
  * @param operationData
1961
3928
  * @returns
1962
3929
  */
1963
- addEndOperation<T$1 extends TOperationName, O extends Partial<ExtractOperationDataType<GetOperationByName<T$1>>>>(systemName: TOperationName, operationData: O): OperationEditor<this, TOperation<TOperationData> | TOperation<IForEachOperationData> | TOperation<IAddClassOperationData, Omit<IAddClassOperationData, "className">> | TOperation<IAddControllerToElementOperationData<TOperationData>> | TOperation<IAddGlobalsToOperationData, Omit<IAddGlobalsToOperationData, "globalProperties">> | TOperation<IAnimateOperationData, Omit<IAnimateOperationData, "animationEasing" | "animationProperties" | "animationDuration">> | TOperation<IAnimateWithClassOperationData, Promise<IAnimateWithClassOperationData>> | TOperation<IBroadcastEventOperationData, Omit<IBroadcastEventOperationData, "eventArgs" | "eventTopic" | "eventName">> | TOperation<ICalcOperationData, Omit<ICalcOperationData, "left" | "right" | "operator">> | TOperation<IClearElementOperationData> | TOperation<IClearOperationDataOperationData, Omit<IClearOperationDataOperationData, "properties">> | 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<IGetAttributesFromElementOperationData, Omit<IGetAttributesFromElementOperationData, "attributeNames">> | TOperation<IGetControllerFromElementOperationData, Omit<IGetControllerFromElementOperationData, "controllerName">> | TOperation<IGetControllerInstanceOperationData, Omit<IGetControllerInstanceOperationData, "systemName">> | TOperation<IGetElementDimensionsOperationData, Omit<IGetElementDimensionsOperationData, "modifier">> | TOperation<IGetImportOperationData, Omit<RequireKeys<IGetImportOperationData, "importedInstance">, "systemName">> | TOperation<IGetQueryParamsOperationData, Omit<IGetQueryParamsOperationData, "defaultValues">> | TOperation<IInvokeObjectMethodOperationData, Omit<IInvokeObjectMethodOperationData, "methodName" | "methodArguments">> | TOperation<ILoadJSONOperationData, Omit<ILoadJSONOperationData, "url" | "cache">> | TOperation<ILogOperationData, Omit<ILogOperationData, "logValue" | "logName">> | 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<IRequestActionOperationData, Omit<Required<IRequestActionOperationData>, "systemName">> | TOperation<ISelectElementOperationData, Omit<ISelectElementOperationData, "selector" | "useSelectedElementAsRoot">> | TOperation<ISetDataOperationData, Omit<ISetDataOperationData, "properties">> | TOperation<ISetElementAttributesOperationData, Omit<ISetElementAttributesOperationData, "attributes">> | TOperation<ISetElementContentOperationData, Omit<ISetElementContentOperationData, "template" | "insertionType">> | TOperation<ISetGlobalDataOperationData, Omit<ISetGlobalDataOperationData, "propertyNames">> | TOperation<ISetOperationData, Omit<ISetOperationData, "properties" | "override">> | TOperation<ISetStyleOperationData, Omit<ISetStyleOperationData, "properties">> | TOperation<ISetVariableOperationData, Omit<ISetVariableOperationData, "name" | "value">> | TOperation<IStartActionOperationData, Omit<IStartActionOperationData, "actionOperationData">> | TOperation<IToggleClassOperationData, Omit<IToggleClassOperationData, "className">> | TOperation<IToggleElementOperationData> | TOperation<IWaitOperationData, Omit<IWaitOperationData, "milliseconds">> | TOperation<IWhenOperationData, Omit<IWhenOperationData, "expression">>>;
3930
+ addEndOperation<T$1 extends TOperationName, O extends Partial<ExtractOperationDataType<GetOperationByName<T$1>>>>(systemName: TOperationName, 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, Promise<IAnimateWithClassOperationData>> | 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, "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, "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">>>;
1964
3931
  /**
1965
3932
  *
1966
3933
  * Starts an editor for the end operation associated with the given id
@@ -2671,37 +4638,7 @@ interface IOperationMetadata<T$1> {
2671
4638
  }
2672
4639
  type TParameterTypesDelimited = `${TParameterTypes}` | `${TParameterTypes}|${string}`;
2673
4640
  type TParameterTypes = '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';
2674
- type TOperationCategory = 'DOM' |
2675
- //DOM manipulation and element operations
2676
- 'Controller' |
2677
- //Controller lifecycle management
2678
- 'Data' |
2679
- //Data storage, operation data, and global state
2680
- 'Control Flow' |
2681
- //Conditionals, loops, and flow control
2682
- 'Animation' |
2683
- //CSS and jQuery animations
2684
- 'Form' |
2685
- //Form field manipulation and validation
2686
- 'Scroll' |
2687
- //Viewport scrolling operations
2688
- 'Focus' |
2689
- //Focus management
2690
- 'Array' |
2691
- //Array transformations and queries
2692
- 'String' |
2693
- //String manipulation
2694
- 'Text' |
2695
- //Text content operations
2696
- 'Date' |
2697
- //Date comparison and formatting
2698
- 'HTTP' |
2699
- //HTTP requests (POST, PUT, DELETE)
2700
- 'Action' |
2701
- //Action lifecycle operations
2702
- 'Utility' |
2703
- //Logging, math, events, and miscellaneous
2704
- 'Accessibility';
4641
+ type TOperationCategory = 'DOM' | 'Controller' | 'Data' | 'Control Flow' | 'Animation' | 'Form' | 'Scroll' | 'Focus' | 'Array' | 'String' | 'Text' | 'Date' | 'HTTP' | 'Action' | 'Utility' | 'Accessibility';
2705
4642
  //#endregion
2706
4643
  //#region src/operation/metadata/add-class.d.ts
2707
4644
  declare function addClass$1(): IOperationMetadata<IAddClassOperationData>;
@@ -2718,22 +4655,8 @@ declare function animateWithClass$1(): IOperationMetadata<IAnimateWithClassOpera
2718
4655
  //#region src/operation/metadata/animate.d.ts
2719
4656
  declare function animate$1(): IOperationMetadata<IAnimateOperationData>;
2720
4657
  //#endregion
2721
- //#region src/operation/announce-to-screen-reader.d.ts
2722
- interface IAnnounceToScreenReaderOperationData {
2723
- /**
2724
- * @required
2725
- * @erased
2726
- */
2727
- message: string;
2728
- /**
2729
- * @optional
2730
- * @erased
2731
- */
2732
- priority?: 'polite' | 'assertive';
2733
- }
2734
- //#endregion
2735
4658
  //#region src/operation/metadata/announce-to-screen-reader.d.ts
2736
- declare function announceToScreenReader(): IOperationMetadata<IAnnounceToScreenReaderOperationData>;
4659
+ declare function announceToScreenReader$1(): IOperationMetadata<IAnnounceToScreenReaderOperationData>;
2737
4660
  //#endregion
2738
4661
  //#region src/operation/metadata/break-for-each.d.ts
2739
4662
  declare function breakForEach$1(): IOperationMetadata<undefined>;
@@ -2750,77 +4673,14 @@ declare function clearElement$1(): IOperationMetadata<IClearElementOperationData
2750
4673
  //#region src/operation/metadata/clear-operation-data.d.ts
2751
4674
  declare function clearOperationData$1(): IOperationMetadata<IClearOperationDataOperationData>;
2752
4675
  //#endregion
2753
- //#region src/operation/clear-storage.d.ts
2754
- type StorageType$2 = 'local' | 'session';
2755
- interface IClearStorageOperationData {
2756
- /**
2757
- * @optional
2758
- * @erased
2759
- */
2760
- key?: string;
2761
- /**
2762
- * @required
2763
- * @erased
2764
- */
2765
- storageType: StorageType$2;
2766
- }
2767
- //#endregion
2768
4676
  //#region src/operation/metadata/clear-storage.d.ts
2769
- declare function clearStorage(): IOperationMetadata<IClearStorageOperationData>;
2770
- //#endregion
2771
- //#region src/operation/compare-date.d.ts
2772
- interface ICompareDateOperationData {
2773
- /**
2774
- * @required
2775
- * @erased
2776
- */
2777
- date1: Date | string | number;
2778
- /**
2779
- * @required
2780
- * @erased
2781
- */
2782
- date2: Date | string | number;
2783
- /**
2784
- * @output
2785
- */
2786
- comparison: number;
2787
- /**
2788
- * @output
2789
- */
2790
- isEqual: boolean;
2791
- /**
2792
- * @output
2793
- */
2794
- isBefore: boolean;
2795
- /**
2796
- * @output
2797
- */
2798
- isAfter: boolean;
2799
- }
4677
+ declare function clearStorage$1(): IOperationMetadata<IClearStorageOperationData>;
2800
4678
  //#endregion
2801
4679
  //#region src/operation/metadata/compare-date.d.ts
2802
- declare function compareDate(): IOperationMetadata<ICompareDateOperationData>;
2803
- //#endregion
2804
- //#region src/operation/concatenate-strings.d.ts
2805
- interface IConcatenateStringsOperationData {
2806
- /**
2807
- * @required
2808
- * @erased
2809
- */
2810
- strings: string[];
2811
- /**
2812
- * @optional
2813
- * @erased
2814
- */
2815
- separator?: string;
2816
- /**
2817
- * @output
2818
- */
2819
- result: string;
2820
- }
4680
+ declare function compareDate$1(): IOperationMetadata<ICompareDateOperationData>;
2821
4681
  //#endregion
2822
4682
  //#region src/operation/metadata/concatenate-strings.d.ts
2823
- declare function concatenateStrings(): IOperationMetadata<IConcatenateStringsOperationData>;
4683
+ declare function concatenateStrings$1(): IOperationMetadata<IConcatenateStringsOperationData>;
2824
4684
  //#endregion
2825
4685
  //#region src/operation/metadata/continue-for-each.d.ts
2826
4686
  declare function continueForEach$1(): IOperationMetadata<undefined>;
@@ -2843,117 +4703,20 @@ declare function endWhen$1(): IOperationMetadata<undefined>;
2843
4703
  //#region src/operation/metadata/extend-controller.d.ts
2844
4704
  declare function extendController$1(): IOperationMetadata<IExtendControllerOperationData>;
2845
4705
  //#endregion
2846
- //#region src/operation/filter-array.d.ts
2847
- interface IFilterArrayOperationData {
2848
- /**
2849
- * @required
2850
- * @dependency
2851
- */
2852
- arrayData: any[];
2853
- /**
2854
- * @optional
2855
- * @erased
2856
- */
2857
- filterProperty?: string;
2858
- /**
2859
- * @optional
2860
- * @erased
2861
- */
2862
- filterValue?: any;
2863
- /**
2864
- * @optional
2865
- * @erased
2866
- */
2867
- filterPredicate?: (item: any, index?: number) => boolean;
2868
- /**
2869
- * @output
2870
- */
2871
- filteredArray: any[];
2872
- }
2873
- //#endregion
2874
4706
  //#region src/operation/metadata/filter-array.d.ts
2875
- declare function filterArray(): IOperationMetadata<IFilterArrayOperationData>;
2876
- //#endregion
2877
- //#region src/operation/find-in-array.d.ts
2878
- interface IFindInArrayOperationData {
2879
- /**
2880
- * @required
2881
- * @dependency
2882
- */
2883
- arrayData: any[];
2884
- /**
2885
- * @optional
2886
- * @erased
2887
- */
2888
- findProperty?: string;
2889
- /**
2890
- * @optional
2891
- * @erased
2892
- */
2893
- findValue?: any;
2894
- /**
2895
- * @optional
2896
- * @erased
2897
- */
2898
- findPredicate?: (item: any, index?: number) => boolean;
2899
- /**
2900
- * @output
2901
- */
2902
- foundItem: any | undefined;
2903
- /**
2904
- * @output
2905
- */
2906
- foundIndex: number;
2907
- }
4707
+ declare function filterArray$1(): IOperationMetadata<IFilterArrayOperationData>;
2908
4708
  //#endregion
2909
4709
  //#region src/operation/metadata/find-in-array.d.ts
2910
- declare function findInArray(): IOperationMetadata<IFindInArrayOperationData>;
4710
+ declare function findInArray$1(): IOperationMetadata<IFindInArrayOperationData>;
2911
4711
  //#endregion
2912
4712
  //#region src/operation/metadata/for-each.d.ts
2913
4713
  declare function forEach$1(): IOperationMetadata<IForEachOperationData>;
2914
4714
  //#endregion
2915
- //#region src/operation/format-date.d.ts
2916
- interface IFormatDateOperationData {
2917
- /**
2918
- * @required
2919
- * @dependency
2920
- */
2921
- date: Date | string | number;
2922
- /**
2923
- * @required
2924
- * @erased
2925
- */
2926
- format: string;
2927
- /**
2928
- * @output
2929
- */
2930
- formattedDate: string;
2931
- }
2932
- //#endregion
2933
4715
  //#region src/operation/metadata/format-date.d.ts
2934
- declare function formatDate(): IOperationMetadata<IFormatDateOperationData>;
2935
- //#endregion
2936
- //#region src/operation/format-text.d.ts
2937
- type TextTransformation = 'uppercase' | 'lowercase' | 'capitalize' | 'titlecase' | 'trim';
2938
- interface IFormatTextOperationData {
2939
- /**
2940
- * @required
2941
- * @dependency
2942
- */
2943
- textContent: string;
2944
- /**
2945
- * @required
2946
- * @erased
2947
- */
2948
- transformation: TextTransformation;
2949
- /**
2950
- * @output
2951
- */
2952
- formattedText: string;
2953
- }
4716
+ declare function formatDate$1(): IOperationMetadata<IFormatDateOperationData>;
2954
4717
  //#endregion
2955
4718
  //#region src/operation/metadata/format-text.d.ts
2956
- declare function formatText(): IOperationMetadata<IFormatTextOperationData>;
4719
+ declare function formatText$1(): IOperationMetadata<IFormatTextOperationData>;
2957
4720
  //#endregion
2958
4721
  //#region src/operation/metadata/get-attributes-from-element.d.ts
2959
4722
  declare function getAttributesFromElement$1(): IOperationMetadata<IGetAttributesFromElementOperationData>;
@@ -2961,55 +4724,20 @@ declare function getAttributesFromElement$1(): IOperationMetadata<IGetAttributes
2961
4724
  //#region src/operation/metadata/get-controller-from-element.d.ts
2962
4725
  declare function getControllerFromElement$1(): IOperationMetadata<IGetControllerFromElementOperationData>;
2963
4726
  //#endregion
2964
- //#region src/operation/metadata/get-controller-instance.d.ts
2965
- declare function getControllerInstance$1(): IOperationMetadata<IGetControllerInstanceOperationData>;
2966
- //#endregion
2967
- //#region src/operation/get-current-time.d.ts
2968
- interface IGetCurrentTimeOperationData {
2969
- /**
2970
- * @output
2971
- */
2972
- timestamp: number;
2973
- /**
2974
- * @output
2975
- */
2976
- date: Date;
2977
- }
2978
- //#endregion
2979
- //#region src/operation/metadata/get-current-time.d.ts
2980
- declare function getCurrentTime(): IOperationMetadata<IGetCurrentTimeOperationData>;
2981
- //#endregion
2982
- //#region src/operation/metadata/get-element-dimensions.d.ts
2983
- declare function getElementDimensions$1(): IOperationMetadata<IGetElementDimensionsOperationData>;
2984
- //#endregion
2985
- //#region src/operation/get-focused-element.d.ts
2986
- interface IGetFocusedElementOperationData {
2987
- /**
2988
- * @type=ParameterType:jQuery
2989
- * @output
2990
- */
2991
- focusedElement: JQuery;
2992
- }
2993
- //#endregion
2994
- //#region src/operation/metadata/get-focused-element.d.ts
2995
- declare function getFocusedElement(): IOperationMetadata<IGetFocusedElementOperationData>;
2996
- //#endregion
2997
- //#region src/operation/get-form-data.d.ts
2998
- interface IGetFormDataOperationData {
2999
- /**
3000
- * @required
3001
- * @dependency
3002
- */
3003
- selectedElement: JQuery;
3004
- /**
3005
- * @output
3006
- * @type=ParameterType:object
3007
- */
3008
- formData?: Record<string, any>;
3009
- }
3010
- //#endregion
4727
+ //#region src/operation/metadata/get-controller-instance.d.ts
4728
+ declare function getControllerInstance$1(): IOperationMetadata<IGetControllerInstanceOperationData>;
4729
+ //#endregion
4730
+ //#region src/operation/metadata/get-current-time.d.ts
4731
+ declare function getCurrentTime$1(): IOperationMetadata<IGetCurrentTimeOperationData>;
4732
+ //#endregion
4733
+ //#region src/operation/metadata/get-element-dimensions.d.ts
4734
+ declare function getElementDimensions$1(): IOperationMetadata<IGetElementDimensionsOperationData>;
4735
+ //#endregion
4736
+ //#region src/operation/metadata/get-focused-element.d.ts
4737
+ declare function getFocusedElement$1(): IOperationMetadata<IGetFocusedElementOperationData>;
4738
+ //#endregion
3011
4739
  //#region src/operation/metadata/get-form-data.d.ts
3012
- declare function getFormData(): IOperationMetadata<IGetFormDataOperationData>;
4740
+ declare function getFormData$1(): IOperationMetadata<IGetFormDataOperationData>;
3013
4741
  //#endregion
3014
4742
  //#region src/operation/metadata/get-import.d.ts
3015
4743
  declare function getImport$1(): IOperationMetadata<IGetImportOperationData>;
@@ -3017,162 +4745,29 @@ declare function getImport$1(): IOperationMetadata<IGetImportOperationData>;
3017
4745
  //#region src/operation/metadata/get-query-params.d.ts
3018
4746
  declare function getQueryParams$1(): IOperationMetadata<IGetQueryParamsOperationData>;
3019
4747
  //#endregion
3020
- //#region src/operation/get-scroll-position.d.ts
3021
- interface IGetScrollPositionOperationData {
3022
- /**
3023
- * @output
3024
- */
3025
- scrollX: number;
3026
- /**
3027
- * @output
3028
- */
3029
- scrollY: number;
3030
- }
3031
- //#endregion
3032
4748
  //#region src/operation/metadata/get-scroll-position.d.ts
3033
- declare function getScrollPosition(): IOperationMetadata<IGetScrollPositionOperationData>;
3034
- //#endregion
3035
- //#region src/operation/get-text-content.d.ts
3036
- interface IGetTextContentOperationData {
3037
- /**
3038
- * @required
3039
- * @dependency
3040
- */
3041
- selectedElement: JQuery;
3042
- /**
3043
- * @output
3044
- */
3045
- textContent?: string;
3046
- }
4749
+ declare function getScrollPosition$1(): IOperationMetadata<IGetScrollPositionOperationData>;
3047
4750
  //#endregion
3048
4751
  //#region src/operation/metadata/get-text-content.d.ts
3049
- declare function getTextContent(): IOperationMetadata<IGetTextContentOperationData>;
3050
- //#endregion
3051
- //#region src/operation/http-delete.d.ts
3052
- interface IHttpDeleteOperationData {
3053
- /**
3054
- * @required
3055
- * @erased
3056
- */
3057
- url: string;
3058
- /**
3059
- * @optional
3060
- * @erased
3061
- */
3062
- headers?: Record<string, string>;
3063
- /**
3064
- * @output
3065
- */
3066
- response: any;
3067
- /**
3068
- * @output
3069
- */
3070
- status: number;
3071
- }
4752
+ declare function getTextContent$1(): IOperationMetadata<IGetTextContentOperationData>;
3072
4753
  //#endregion
3073
4754
  //#region src/operation/metadata/http-delete.d.ts
3074
- declare function httpDelete(): IOperationMetadata<IHttpDeleteOperationData>;
3075
- //#endregion
3076
- //#region src/operation/http-post.d.ts
3077
- interface IHttpPostOperationData {
3078
- /**
3079
- * @required
3080
- * @erased
3081
- */
3082
- url: string;
3083
- /**
3084
- * @optional
3085
- * @erased
3086
- */
3087
- body?: any;
3088
- /**
3089
- * @optional
3090
- * @erased
3091
- */
3092
- headers?: Record<string, string>;
3093
- /**
3094
- * @output
3095
- */
3096
- response: any;
3097
- /**
3098
- * @output
3099
- */
3100
- status: number;
3101
- }
4755
+ declare function httpDelete$1(): IOperationMetadata<IHttpDeleteOperationData>;
3102
4756
  //#endregion
3103
4757
  //#region src/operation/metadata/http-post.d.ts
3104
- declare function httpPost(): IOperationMetadata<IHttpPostOperationData>;
3105
- //#endregion
3106
- //#region src/operation/http-put.d.ts
3107
- interface IHttpPutOperationData {
3108
- /**
3109
- * @required
3110
- * @erased
3111
- */
3112
- url: string;
3113
- /**
3114
- * @optional
3115
- * @erased
3116
- */
3117
- body?: any;
3118
- /**
3119
- * @optional
3120
- * @erased
3121
- */
3122
- headers?: Record<string, string>;
3123
- /**
3124
- * @output
3125
- */
3126
- response: any;
3127
- /**
3128
- * @output
3129
- */
3130
- status: number;
3131
- }
4758
+ declare function httpPost$1(): IOperationMetadata<IHttpPostOperationData>;
3132
4759
  //#endregion
3133
4760
  //#region src/operation/metadata/http-put.d.ts
3134
- declare function httpPut(): IOperationMetadata<IHttpPutOperationData>;
4761
+ declare function httpPut$1(): IOperationMetadata<IHttpPutOperationData>;
3135
4762
  //#endregion
3136
4763
  //#region src/operation/metadata/invoke-object-method.d.ts
3137
4764
  declare function invokeObjectMethod$1(): IOperationMetadata<IInvokeObjectMethodOperationData>;
3138
4765
  //#endregion
3139
- //#region src/operation/is-element-in-viewport.d.ts
3140
- interface IIsElementInViewportOperationData {
3141
- /**
3142
- * @required
3143
- * @dependency
3144
- */
3145
- selectedElement: JQuery;
3146
- /**
3147
- * @output
3148
- */
3149
- isInViewport: boolean;
3150
- }
3151
- //#endregion
3152
4766
  //#region src/operation/metadata/is-element-in-viewport.d.ts
3153
- declare function isElementInViewport(): IOperationMetadata<IIsElementInViewportOperationData>;
3154
- //#endregion
3155
- //#region src/operation/load-from-storage.d.ts
3156
- type StorageType$1 = 'local' | 'session';
3157
- interface ILoadFromStorageOperationData {
3158
- /**
3159
- * @required
3160
- * @erased
3161
- */
3162
- key: string;
3163
- /**
3164
- * @required
3165
- * @erased
3166
- */
3167
- storageType: StorageType$1;
3168
- /**
3169
- * @output
3170
- */
3171
- loadedValue: any;
3172
- }
4767
+ declare function isElementInViewport$1(): IOperationMetadata<IIsElementInViewportOperationData>;
3173
4768
  //#endregion
3174
4769
  //#region src/operation/metadata/load-from-storage.d.ts
3175
- declare function loadFromStorage(): IOperationMetadata<ILoadFromStorageOperationData>;
4770
+ declare function loadFromStorage$1(): IOperationMetadata<ILoadFromStorageOperationData>;
3176
4771
  //#endregion
3177
4772
  //#region src/operation/metadata/load-json.d.ts
3178
4773
  declare function loadJson$1(): IOperationMetadata<ILoadJSONOperationData>;
@@ -3180,26 +4775,8 @@ declare function loadJson$1(): IOperationMetadata<ILoadJSONOperationData>;
3180
4775
  //#region src/operation/metadata/log.d.ts
3181
4776
  declare function log$1(): IOperationMetadata<ILogOperationData>;
3182
4777
  //#endregion
3183
- //#region src/operation/map-array.d.ts
3184
- interface IMapArrayOperationData {
3185
- /**
3186
- * @required
3187
- * @dependency
3188
- */
3189
- arrayData: any[];
3190
- /**
3191
- * @required
3192
- * @erased
3193
- */
3194
- mapFunction: (item: any, index?: number) => any;
3195
- /**
3196
- * @output
3197
- */
3198
- mappedArray?: any[];
3199
- }
3200
- //#endregion
3201
4778
  //#region src/operation/metadata/map-array.d.ts
3202
- declare function mapArray(): IOperationMetadata<IMapArrayOperationData>;
4779
+ declare function mapArray$1(): IOperationMetadata<IMapArrayOperationData>;
3203
4780
  //#endregion
3204
4781
  //#region src/operation/metadata/math.d.ts
3205
4782
  declare function math$1(): IOperationMetadata<IMathOperationData>;
@@ -3222,135 +4799,23 @@ declare function removePropertiesFromOperationData$1(): IOperationMetadata<IRemo
3222
4799
  //#region src/operation/metadata/reparent-element.d.ts
3223
4800
  declare function reparentElement$1(): IOperationMetadata<IReparentElementOperationData>;
3224
4801
  //#endregion
3225
- //#region src/operation/replace-string.d.ts
3226
- interface IReplaceStringOperationData {
3227
- /**
3228
- * @required
3229
- * @dependency
3230
- */
3231
- textContent: string;
3232
- /**
3233
- * @required
3234
- * @erased
3235
- */
3236
- pattern: string | RegExp;
3237
- /**
3238
- * @required
3239
- * @erased
3240
- */
3241
- replacement: string;
3242
- /**
3243
- * @output
3244
- */
3245
- result: string;
3246
- }
3247
- //#endregion
3248
4802
  //#region src/operation/metadata/replace-string.d.ts
3249
- declare function replaceString(): IOperationMetadata<IReplaceStringOperationData>;
3250
- //#endregion
3251
- //#region src/operation/replace-text.d.ts
3252
- interface IReplaceTextOperationData {
3253
- /**
3254
- * @required
3255
- * @dependency
3256
- */
3257
- textContent: string;
3258
- /**
3259
- * @required
3260
- * @erased
3261
- */
3262
- searchPattern: string | RegExp;
3263
- /**
3264
- * @required
3265
- * @erased
3266
- */
3267
- replacement: string;
3268
- /**
3269
- * @output
3270
- */
3271
- replacementCount: number;
3272
- }
4803
+ declare function replaceString$1(): IOperationMetadata<IReplaceStringOperationData>;
3273
4804
  //#endregion
3274
4805
  //#region src/operation/metadata/replace-text.d.ts
3275
- declare function replaceText(): IOperationMetadata<IReplaceTextOperationData>;
3276
- //#endregion
3277
- //#region src/operation/metadata/request-action.d.ts
3278
- declare function requestAction$1(): IOperationMetadata<IRequestActionOperationData>;
3279
- //#endregion
3280
- //#region src/operation/save-to-storage.d.ts
3281
- type StorageType = 'local' | 'session';
3282
- interface ISaveToStorageOperationData {
3283
- /**
3284
- * @required
3285
- * @erased
3286
- */
3287
- key: string;
3288
- /**
3289
- * @required
3290
- * @erased
3291
- */
3292
- value: any;
3293
- /**
3294
- * @required
3295
- * @erased
3296
- */
3297
- storageType: StorageType;
3298
- }
3299
- //#endregion
3300
- //#region src/operation/metadata/save-to-storage.d.ts
3301
- declare function saveToStorage(): IOperationMetadata<ISaveToStorageOperationData>;
4806
+ declare function replaceText$1(): IOperationMetadata<IReplaceTextOperationData>;
3302
4807
  //#endregion
3303
- //#region src/operation/scroll-to-element.d.ts
3304
- type ScrollBehavior$1 = 'auto' | 'smooth';
3305
- type ScrollLogicalPosition = 'start' | 'center' | 'end' | 'nearest';
3306
- interface IScrollToElementOperationData {
3307
- /**
3308
- * @required
3309
- * @dependency
3310
- */
3311
- selectedElement: JQuery;
3312
- /**
3313
- * @optional
3314
- * @erased
3315
- */
3316
- behavior?: ScrollBehavior$1;
3317
- /**
3318
- * @optional
3319
- * @erased
3320
- */
3321
- block?: ScrollLogicalPosition;
3322
- /**
3323
- * @optional
3324
- * @erased
3325
- */
3326
- inline?: ScrollLogicalPosition;
3327
- }
4808
+ //#region src/operation/metadata/request-action.d.ts
4809
+ declare function requestAction$2(): IOperationMetadata<IRequestActionOperationData>;
3328
4810
  //#endregion
3329
- //#region src/operation/metadata/scroll-to-element.d.ts
3330
- declare function scrollToElement(): IOperationMetadata<IScrollToElementOperationData>;
4811
+ //#region src/operation/metadata/save-to-storage.d.ts
4812
+ declare function saveToStorage$1(): IOperationMetadata<ISaveToStorageOperationData>;
3331
4813
  //#endregion
3332
- //#region src/operation/scroll-to-position.d.ts
3333
- type ScrollBehavior = 'auto' | 'smooth';
3334
- interface IScrollToPositionOperationData {
3335
- /**
3336
- * @required
3337
- * @erased
3338
- */
3339
- x: number;
3340
- /**
3341
- * @required
3342
- * @erased
3343
- */
3344
- y: number;
3345
- /**
3346
- * @optional
3347
- * @erased
3348
- */
3349
- behavior?: ScrollBehavior;
3350
- }
4814
+ //#region src/operation/metadata/scroll-to-element.d.ts
4815
+ declare function scrollToElement$1(): IOperationMetadata<IScrollToElementOperationData>;
3351
4816
  //#endregion
3352
4817
  //#region src/operation/metadata/scroll-to-position.d.ts
3353
- declare function scrollToPosition(): IOperationMetadata<IScrollToPositionOperationData>;
4818
+ declare function scrollToPosition$1(): IOperationMetadata<IScrollToPositionOperationData>;
3354
4819
  //#endregion
3355
4820
  //#region src/operation/metadata/select-element.d.ts
3356
4821
  declare function selectElement$1(): IOperationMetadata<ISelectElementOperationData>;
@@ -3364,34 +4829,11 @@ declare function setElementAttributes$1(): IOperationMetadata<ISetElementAttribu
3364
4829
  //#region src/operation/metadata/set-element-content.d.ts
3365
4830
  declare function setElementContent$1(): IOperationMetadata<ISetElementContentOperationData>;
3366
4831
  //#endregion
3367
- //#region src/operation/set-focus.d.ts
3368
- interface ISetFocusOperationData {
3369
- /**
3370
- * @required
3371
- * @dependency
3372
- */
3373
- selectedElement: JQuery;
3374
- }
3375
- //#endregion
3376
4832
  //#region src/operation/metadata/set-focus.d.ts
3377
- declare function setFocus(): IOperationMetadata<ISetFocusOperationData>;
3378
- //#endregion
3379
- //#region src/operation/set-form-value.d.ts
3380
- interface ISetFormValueOperationData {
3381
- /**
3382
- * @required
3383
- * @dependency
3384
- */
3385
- selectedElement: JQuery;
3386
- /**
3387
- * @required
3388
- * @erased
3389
- */
3390
- value: string | number | boolean;
3391
- }
4833
+ declare function setFocus$1(): IOperationMetadata<ISetFocusOperationData>;
3392
4834
  //#endregion
3393
4835
  //#region src/operation/metadata/set-form-value.d.ts
3394
- declare function setFormValue(): IOperationMetadata<ISetFormValueOperationData>;
4836
+ declare function setFormValue$1(): IOperationMetadata<ISetFormValueOperationData>;
3395
4837
  //#endregion
3396
4838
  //#region src/operation/metadata/set-global-data.d.ts
3397
4839
  declare function setGlobalData$1(): IOperationMetadata<ISetGlobalDataOperationData>;
@@ -3405,92 +4847,17 @@ declare function setStyle$1(): IOperationMetadata<ISetStyleOperationData>;
3405
4847
  //#region src/operation/metadata/set-variable.d.ts
3406
4848
  declare function setVariable$1(): IOperationMetadata<ISetVariableOperationData>;
3407
4849
  //#endregion
3408
- //#region src/operation/sort-array.d.ts
3409
- type SortOrder = 'asc' | 'desc';
3410
- interface ISortArrayOperationData {
3411
- /**
3412
- * @required
3413
- * @dependency
3414
- */
3415
- arrayData: any[];
3416
- /**
3417
- * @optional
3418
- * @erased
3419
- */
3420
- sortProperty?: string;
3421
- /**
3422
- * @optional
3423
- * @erased
3424
- */
3425
- sortOrder?: SortOrder;
3426
- /**
3427
- * @optional
3428
- * @erased
3429
- */
3430
- sortComparator?: (a: any, b: any) => number;
3431
- /**
3432
- * @output
3433
- */
3434
- sortedArray: any[];
3435
- }
3436
- //#endregion
3437
4850
  //#region src/operation/metadata/sort-array.d.ts
3438
- declare function sortArray(): IOperationMetadata<ISortArrayOperationData>;
3439
- //#endregion
3440
- //#region src/operation/split-string.d.ts
3441
- interface ISplitStringOperationData {
3442
- /**
3443
- * @required
3444
- * @dependency
3445
- */
3446
- textContent: string;
3447
- /**
3448
- * @required
3449
- * @erased
3450
- */
3451
- delimiter: string | RegExp;
3452
- /**
3453
- * @optional
3454
- * @erased
3455
- */
3456
- limit?: number;
3457
- /**
3458
- * @output
3459
- */
3460
- resultArray: string[];
3461
- }
4851
+ declare function sortArray$1(): IOperationMetadata<ISortArrayOperationData>;
3462
4852
  //#endregion
3463
4853
  //#region src/operation/metadata/split-string.d.ts
3464
- declare function splitString(): IOperationMetadata<ISplitStringOperationData>;
4854
+ declare function splitString$1(): IOperationMetadata<ISplitStringOperationData>;
3465
4855
  //#endregion
3466
4856
  //#region src/operation/metadata/start-action.d.ts
3467
4857
  declare function startAction$1(): IOperationMetadata<IStartActionOperationData>;
3468
4858
  //#endregion
3469
- //#region src/operation/substring-text.d.ts
3470
- interface ISubstringTextOperationData {
3471
- /**
3472
- * @required
3473
- * @dependency
3474
- */
3475
- textContent: string;
3476
- /**
3477
- * @required
3478
- * @erased
3479
- */
3480
- start: number;
3481
- /**
3482
- * @optional
3483
- * @erased
3484
- */
3485
- end?: number;
3486
- /**
3487
- * @output
3488
- */
3489
- substring: string;
3490
- }
3491
- //#endregion
3492
4859
  //#region src/operation/metadata/substring-text.d.ts
3493
- declare function substringText(): IOperationMetadata<ISubstringTextOperationData>;
4860
+ declare function substringText$1(): IOperationMetadata<ISubstringTextOperationData>;
3494
4861
  //#endregion
3495
4862
  //#region src/operation/metadata/toggle-class.d.ts
3496
4863
  declare function toggleClass$1(): IOperationMetadata<IToggleClassOperationData>;
@@ -3498,146 +4865,19 @@ declare function toggleClass$1(): IOperationMetadata<IToggleClassOperationData>;
3498
4865
  //#region src/operation/metadata/toggle-element.d.ts
3499
4866
  declare function toggleElement$1(): IOperationMetadata<IToggleElementOperationData>;
3500
4867
  //#endregion
3501
- //#region src/operation/toggle-form-element.d.ts
3502
- interface IToggleFormElementOperationData {
3503
- /**
3504
- * @required
3505
- * @dependency
3506
- */
3507
- selectedElement: JQuery;
3508
- /**
3509
- * @required
3510
- * @erased
3511
- */
3512
- enabled: boolean;
3513
- }
3514
- //#endregion
3515
4868
  //#region src/operation/metadata/toggle-form-element.d.ts
3516
- declare function toggleFormElement(): IOperationMetadata<IToggleFormElementOperationData>;
3517
- //#endregion
3518
- //#region src/operation/validate-form.d.ts
3519
- interface IValidationRules {
3520
- required?: boolean;
3521
- minLength?: number;
3522
- maxLength?: number;
3523
- pattern?: string | RegExp;
3524
- email?: boolean;
3525
- }
3526
- interface IValidateFormOperationData {
3527
- /**
3528
- * @required
3529
- * @dependency
3530
- */
3531
- selectedElement: JQuery;
3532
- /**
3533
- * @erased
3534
- */
3535
- validationRules?: Record<string, IValidationRules>;
3536
- /**
3537
- * @output
3538
- * @type=ParameterType:object
3539
- */
3540
- validationErrors?: Record<string, string>;
3541
- /**
3542
- * @output
3543
- */
3544
- isValid?: boolean;
3545
- }
4869
+ declare function toggleFormElement$1(): IOperationMetadata<IToggleFormElementOperationData>;
3546
4870
  //#endregion
3547
4871
  //#region src/operation/metadata/validate-form.d.ts
3548
- declare function validateForm(): IOperationMetadata<IValidateFormOperationData>;
4872
+ declare function validateForm$1(): IOperationMetadata<IValidateFormOperationData>;
3549
4873
  //#endregion
3550
4874
  //#region src/operation/metadata/wait.d.ts
3551
4875
  declare function wait$1(): IOperationMetadata<IWaitOperationData>;
3552
4876
  //#endregion
3553
4877
  //#region src/operation/metadata/when.d.ts
3554
4878
  declare function when$1(): IOperationMetadata<IWhenOperationData>;
3555
- declare namespace index_d_exports {
3556
- export { IOperationMetadata, TArrayProperyMetadata, TComplexPropertyMetadata, TConstantParametersTypes, THasDescription, THasErased, THasRequired, TOperationCategory, TParameterTypes, TParameterTypesDelimited, TPropertiesMetadata, TPropertyMetadata, addClass$1 as addClass, addControllerToElement$1 as addControllerToElement, addGlobalsToOperation$1 as addGlobalsToOperation, animate$1 as animate, animateWithClass$1 as animateWithClass, announceToScreenReader, breakForEach$1 as breakForEach, broadcastEvent$1 as broadcastEvent, calc$1 as calc, clearElement$1 as clearElement, clearOperationData$1 as clearOperationData, clearStorage, compareDate, concatenateStrings, continueForEach$1 as continueForEach, createElement$1 as createElement, customFunction$1 as customFunction, endAction$1 as endAction, endForEach$1 as endForEach, endWhen$1 as endWhen, extendController$1 as extendController, filterArray, findInArray, forEach$1 as forEach, formatDate, formatText, getAttributesFromElement$1 as getAttributesFromElement, getControllerFromElement$1 as getControllerFromElement, getControllerInstance$1 as getControllerInstance, getCurrentTime, getElementDimensions$1 as getElementDimensions, getFocusedElement, getFormData, getImport$1 as getImport, getQueryParams$1 as getQueryParams, getScrollPosition, getTextContent, httpDelete, httpPost, httpPut, invokeObjectMethod$1 as invokeObjectMethod, isElementInViewport, loadFromStorage, loadJson$1 as loadJson, log$1 as log, mapArray, math$1 as math, otherwise$1 as otherwise, removeClass$1 as removeClass, removeControllerFromElement$1 as removeControllerFromElement, removeElement$1 as removeElement, removePropertiesFromOperationData$1 as removePropertiesFromOperationData, reparentElement$1 as reparentElement, replaceString, replaceText, requestAction$1 as requestAction, saveToStorage, scrollToElement, scrollToPosition, selectElement$1 as selectElement, setData$1 as setData, setElementAttributes$1 as setElementAttributes, setElementContent$1 as setElementContent, setFocus, setFormValue, setGlobalData$1 as setGlobalData, setOperationData$1 as setOperationData, setStyle$1 as setStyle, setVariable$1 as setVariable, sortArray, splitString, startAction$1 as startAction, substringText, toggleClass$1 as toggleClass, toggleElement$1 as toggleElement, toggleFormElement, validateForm, wait$1 as wait, when$1 as when };
3557
- }
3558
- //#endregion
3559
- //#region src/timeline-event-names.d.ts
3560
- type TimelineEventName = keyof typeof TimelineEventNames;
3561
- /**
3562
- * These are the event names that are being broadcast and/or handled by Eligius.
3563
- */
3564
- declare class TimelineEventNames {
3565
- /**
3566
- * Broadcasting this event will start the current timeline when it is currently paused, or pauses when it is playing.
3567
- */
3568
- static PLAY_TOGGLE_REQUEST: string;
3569
- /**
3570
- * Broadcasting this event will start the current timeline.
3571
- */
3572
- static PLAY_REQUEST: string;
3573
- /**
3574
- * Broadcasting this event will stop the current timeline.
3575
- */
3576
- static STOP_REQUEST: string;
3577
- /**
3578
- * Broadcasting this event will pause the current timeline.
3579
- */
3580
- static PAUSE_REQUEST: string;
3581
- /**
3582
- * Broadcasting this event will seek the specified position in the current timeline.
3583
- * This event takes one argument: A numeric value that represents the new position.
3584
- */
3585
- static SEEK_REQUEST: string;
3586
- /**
3587
- * Broadcasting this event will tell the current {@link ITimelineProvider} to resize.
3588
- */
3589
- static RESIZE_REQUEST: string;
3590
- /**
3591
- * Broadcasting this event will return the element in which the current timeline is being rendered.
3592
- * This event takes one argument: The callback function that will return the specified element.
3593
- */
3594
- static CONTAINER_REQUEST: string;
3595
- /**
3596
- * Broadcasting this event will return the duration of the current timeline.
3597
- * This event takes one argument: The callback function that will return the duration.
3598
- */
3599
- static DURATION_REQUEST: string;
3600
- /**
3601
- * Broadcasting this event will return the uri of the current timeline.
3602
- * This event takes one argument: The callback function that will return the uri.
3603
- */
3604
- static REQUEST_CURRENT_TIMELINE: string;
3605
- /**
3606
- * This event is broadcast by {@link ITimelineProvider} instances to announce their duration.
3607
- */
3608
- static DURATION: string;
3609
- /**
3610
- * This event is broadcast by {@link ITimelineProvider} instances to announce the current play position whenever it changes.
3611
- */
3612
- static TIME: string;
3613
- /**
3614
- * This event is broadcast by {@link ITimelineProvider} instances to announce the new play position and duration after a seek was executed.
3615
- */
3616
- static SEEKED: string;
3617
- /**
3618
- *
3619
- */
3620
- static COMPLETE: string;
3621
- static RESTART: string;
3622
- static PLAY: string;
3623
- static STOP: string;
3624
- static PAUSE: string;
3625
- static SEEK: string;
3626
- static RESIZE: string;
3627
- static CURRENT_TIMELINE_CHANGE: string;
3628
- static FIRST_FRAME: string;
3629
- static REQUEST_INSTANCE: string;
3630
- static REQUEST_ACTION: string;
3631
- static REQUEST_FUNCTION: string;
3632
- static REQUEST_TIMELINE_URI: string;
3633
- static BEFORE_REQUEST_TIMELINE_URI: string;
3634
- static REQUEST_ENGINE_ROOT: string;
3635
- static REQUEST_CURRENT_TIMELINE_POSITION: string;
3636
- static REQUEST_TIMELINE_CLEANUP: string;
3637
- static REQUEST_LABEL_COLLECTION: string;
3638
- static REQUEST_LABEL_COLLECTIONS: string;
3639
- static REQUEST_CURRENT_LANGUAGE: string;
3640
- static LANGUAGE_CHANGE: string;
4879
+ declare namespace index_d_exports$2 {
4880
+ export { IOperationMetadata, TArrayProperyMetadata, TComplexPropertyMetadata, TConstantParametersTypes, THasDescription, THasErased, THasRequired, TOperationCategory, TParameterTypes, TParameterTypesDelimited, TPropertiesMetadata, TPropertyMetadata, addClass$1 as addClass, addControllerToElement$1 as addControllerToElement, addGlobalsToOperation$1 as addGlobalsToOperation, animate$1 as animate, animateWithClass$1 as animateWithClass, announceToScreenReader$1 as announceToScreenReader, breakForEach$1 as breakForEach, broadcastEvent$1 as broadcastEvent, calc$1 as calc, clearElement$1 as clearElement, clearOperationData$1 as clearOperationData, clearStorage$1 as clearStorage, compareDate$1 as compareDate, concatenateStrings$1 as concatenateStrings, continueForEach$1 as continueForEach, createElement$1 as createElement, customFunction$1 as customFunction, endAction$1 as endAction, endForEach$1 as endForEach, endWhen$1 as endWhen, extendController$1 as extendController, filterArray$1 as filterArray, findInArray$1 as findInArray, forEach$1 as forEach, formatDate$1 as formatDate, formatText$1 as formatText, getAttributesFromElement$1 as getAttributesFromElement, getControllerFromElement$1 as getControllerFromElement, getControllerInstance$1 as getControllerInstance, getCurrentTime$1 as getCurrentTime, getElementDimensions$1 as getElementDimensions, getFocusedElement$1 as getFocusedElement, getFormData$1 as getFormData, getImport$1 as getImport, getQueryParams$1 as getQueryParams, getScrollPosition$1 as getScrollPosition, getTextContent$1 as getTextContent, httpDelete$1 as httpDelete, httpPost$1 as httpPost, httpPut$1 as httpPut, invokeObjectMethod$1 as invokeObjectMethod, isElementInViewport$1 as isElementInViewport, loadFromStorage$1 as loadFromStorage, loadJson$1 as loadJson, log$1 as log, mapArray$1 as mapArray, math$1 as math, otherwise$1 as otherwise, removeClass$1 as removeClass, removeControllerFromElement$1 as removeControllerFromElement, removeElement$1 as removeElement, removePropertiesFromOperationData$1 as removePropertiesFromOperationData, reparentElement$1 as reparentElement, replaceString$1 as replaceString, replaceText$1 as replaceText, requestAction$2 as requestAction, saveToStorage$1 as saveToStorage, scrollToElement$1 as scrollToElement, scrollToPosition$1 as scrollToPosition, selectElement$1 as selectElement, setData$1 as setData, setElementAttributes$1 as setElementAttributes, setElementContent$1 as setElementContent, setFocus$1 as setFocus, setFormValue$1 as setFormValue, setGlobalData$1 as setGlobalData, setOperationData$1 as setOperationData, setStyle$1 as setStyle, setVariable$1 as setVariable, sortArray$1 as sortArray, splitString$1 as splitString, startAction$1 as startAction, substringText$1 as substringText, toggleClass$1 as toggleClass, toggleElement$1 as toggleElement, toggleFormElement$1 as toggleFormElement, validateForm$1 as validateForm, wait$1 as wait, when$1 as when };
3641
4881
  }
3642
4882
  //#endregion
3643
4883
  //#region src/configuration/api/name-providers.d.ts
@@ -3671,7 +4911,7 @@ declare class OperationMetadataProvider {
3671
4911
  *
3672
4912
  */
3673
4913
  declare class TimeLineEventNamesProvider {
3674
- getEventNames(): TimelineEventName;
4914
+ getEventNames(): EventName[];
3675
4915
  }
3676
4916
  //#endregion
3677
4917
  //#region src/configuration/api/subtitle-converter.d.ts
@@ -3734,6 +4974,40 @@ declare class ConfigurationResolver implements IConfigurationResolver {
3734
4974
  process(configuration: IEngineConfiguration, actionRegistryListener?: ActionRegistryEventbusListener): [Record<string, IAction>, IResolvedEngineConfiguration];
3735
4975
  }
3736
4976
  //#endregion
4977
+ //#region src/controllers/metadata/types.d.ts
4978
+ type IControllerMetadata<T$1> = {
4979
+ description: string;
4980
+ dependentProperties?: (keyof T$1)[];
4981
+ properties?: Partial<Record<keyof T$1, TPropertyMetadata>>;
4982
+ };
4983
+ //#endregion
4984
+ //#region src/controllers/metadata/dom-event-listener-controller.d.ts
4985
+ declare function DOMEventListenerController$1(): IControllerMetadata<IDOMEventListenerControllerOperationData>;
4986
+ //#endregion
4987
+ //#region src/controllers/metadata/label-controller.d.ts
4988
+ declare function LabelController$1(): IControllerMetadata<ILabelControllerMetadata>;
4989
+ //#endregion
4990
+ //#region src/controllers/metadata/lottie-controller.d.ts
4991
+ declare function LottieController$1(): IControllerMetadata<ILottieControllerMetadata>;
4992
+ //#endregion
4993
+ //#region src/controllers/metadata/mutation-observer-controller.d.ts
4994
+ declare function MutationObserverController$1(): IControllerMetadata<IMutationObserverControllerMetadata>;
4995
+ //#endregion
4996
+ //#region src/controllers/metadata/navigation-controller.d.ts
4997
+ declare function NavigationController$1(): IControllerMetadata<INavigationControllerOperationData>;
4998
+ //#endregion
4999
+ //#region src/controllers/metadata/progressbar-controller.d.ts
5000
+ declare function ProgressbarController$1(): IControllerMetadata<IProgressbarControllerOperationData>;
5001
+ //#endregion
5002
+ //#region src/controllers/metadata/routing-controller.d.ts
5003
+ declare function RoutingController$1(): IControllerMetadata<IRoutingControllerOperationData>;
5004
+ //#endregion
5005
+ //#region src/controllers/metadata/subtitles-controller.d.ts
5006
+ declare function SubtitlesController$1(): IControllerMetadata<ISubtitlesControllerOperationData>;
5007
+ declare namespace index_d_exports {
5008
+ export { DOMEventListenerController$1 as DOMEventListenerController, IControllerMetadata, LabelController$1 as LabelController, LottieController$1 as LottieController, MutationObserverController$1 as MutationObserverController, NavigationController$1 as NavigationController, ProgressbarController$1 as ProgressbarController, RoutingController$1 as RoutingController, SubtitlesController$1 as SubtitlesController };
5009
+ }
5010
+ //#endregion
3737
5011
  //#region src/diagnostics/types.d.ts
3738
5012
  type TDevToolsEventSubscriber = (event: TEventData) => void;
3739
5013
  type TPlayControlEventKind = 'play' | 'stop' | 'pause' | 'seek';
@@ -3784,7 +5058,7 @@ declare const Diagnostics: {
3784
5058
  /**
3785
5059
  * This class manages the labels for an {@link IEligiusEngine} instance.
3786
5060
  *
3787
- * It handles the {@link TimelineEventNames.REQUEST_LABEL_COLLECTION}, {@link TimelineEventNames.REQUEST_LABEL_COLLECTIONS}, {@link TimelineEventNames.REQUEST_CURRENT_LANGUAGE} and {@link TimelineEventNames.LANGUAGE_CHANGE} events.
5061
+ * It handles the request-label-collection, request-label-collections, request-current-language and language-change events.
3788
5062
  *
3789
5063
  */
3790
5064
  declare class LanguageManager {
@@ -3926,6 +5200,138 @@ declare class EngineFactory implements IEngineFactory {
3926
5200
  private _createTimelineProviders;
3927
5201
  }
3928
5202
  //#endregion
5203
+ //#region src/eventbus/events/metadata/before-request-timeline-uri.d.ts
5204
+ declare function beforeRequestTimelineUri(): IEventMetadata<BeforeRequestTimelineUriEvent['args']>;
5205
+ //#endregion
5206
+ //#region src/eventbus/events/metadata/before-request-video-url.d.ts
5207
+ declare function beforeRequestVideoUrl(): IEventMetadata<BeforeRequestVideoUrlEvent['args']>;
5208
+ //#endregion
5209
+ //#region src/eventbus/events/metadata/dom-mutation.d.ts
5210
+ declare function domMutation(): IEventMetadata<DomMutationEvent['args']>;
5211
+ //#endregion
5212
+ //#region src/eventbus/events/metadata/highlight-navigation.d.ts
5213
+ declare function highlightNavigation(): IEventMetadata<HighlightNavigationEvent['args']>;
5214
+ //#endregion
5215
+ //#region src/eventbus/events/metadata/language-change.d.ts
5216
+ declare function languageChange(): IEventMetadata<LanguageChangeEvent['args']>;
5217
+ //#endregion
5218
+ //#region src/eventbus/events/metadata/navigate-to-video-url.d.ts
5219
+ declare function navigateToVideoUrl(): IEventMetadata<NavigateToVideoUrlEvent['args']>;
5220
+ //#endregion
5221
+ //#region src/eventbus/events/metadata/push-history-state.d.ts
5222
+ declare function pushHistoryState(): IEventMetadata<PushHistoryStateEvent['args']>;
5223
+ //#endregion
5224
+ //#region src/eventbus/events/metadata/request-action.d.ts
5225
+ declare function requestAction$1(): IEventMetadata<RequestActionEvent['args']>;
5226
+ //#endregion
5227
+ //#region src/eventbus/events/metadata/request-current-language.d.ts
5228
+ declare function requestCurrentLanguage(): IEventMetadata<RequestCurrentLanguageEvent['args']>;
5229
+ //#endregion
5230
+ //#region src/eventbus/events/metadata/request-current-navigation.d.ts
5231
+ declare function requestCurrentNavigation(): IEventMetadata<RequestCurrentNavigationEvent['args']>;
5232
+ //#endregion
5233
+ //#region src/eventbus/events/metadata/request-current-timeline-position.d.ts
5234
+ declare function requestCurrentTimelinePosition(): IEventMetadata<RequestCurrentTimelinePositionEvent['args']>;
5235
+ //#endregion
5236
+ //#region src/eventbus/events/metadata/request-current-video-position.d.ts
5237
+ declare function requestCurrentVideoPosition(): IEventMetadata<RequestCurrentVideoPositionEvent['args']>;
5238
+ //#endregion
5239
+ //#region src/eventbus/events/metadata/request-engine-root.d.ts
5240
+ declare function requestEngineRoot(): IEventMetadata<RequestEngineRootEvent['args']>;
5241
+ //#endregion
5242
+ //#region src/eventbus/events/metadata/request-function.d.ts
5243
+ declare function requestFunction(): IEventMetadata<RequestFunctionEvent['args']>;
5244
+ //#endregion
5245
+ //#region src/eventbus/events/metadata/request-instance.d.ts
5246
+ declare function requestInstance(): IEventMetadata<RequestInstanceEvent['args']>;
5247
+ //#endregion
5248
+ //#region src/eventbus/events/metadata/request-label-collection.d.ts
5249
+ declare function requestLabelCollection(): IEventMetadata<RequestLabelCollectionEvent['args']>;
5250
+ //#endregion
5251
+ //#region src/eventbus/events/metadata/request-label-collections.d.ts
5252
+ declare function requestLabelCollections(): IEventMetadata<RequestLabelCollectionsEvent['args']>;
5253
+ //#endregion
5254
+ //#region src/eventbus/events/metadata/request-timeline-cleanup.d.ts
5255
+ declare function requestTimelineCleanup(): IEventMetadata<RequestTimelineCleanupEvent['args']>;
5256
+ //#endregion
5257
+ //#region src/eventbus/events/metadata/request-timeline-uri.d.ts
5258
+ declare function requestTimelineUri(): IEventMetadata<RequestTimelineUriEvent['args']>;
5259
+ //#endregion
5260
+ //#region src/eventbus/events/metadata/request-video-cleanup.d.ts
5261
+ declare function requestVideoCleanup(): IEventMetadata<RequestVideoCleanupEvent['args']>;
5262
+ //#endregion
5263
+ //#region src/eventbus/events/metadata/request-video-url.d.ts
5264
+ declare function requestVideoUrl(): IEventMetadata<RequestVideoUrlEvent['args']>;
5265
+ //#endregion
5266
+ //#region src/eventbus/events/metadata/timeline-complete.d.ts
5267
+ declare function timelineComplete(): IEventMetadata<CompleteEvent['args']>;
5268
+ //#endregion
5269
+ //#region src/eventbus/events/metadata/timeline-container-request.d.ts
5270
+ declare function timelineContainerRequest(): IEventMetadata<ContainerRequestEvent['args']>;
5271
+ //#endregion
5272
+ //#region src/eventbus/events/metadata/timeline-current-timeline-change.d.ts
5273
+ declare function timelineCurrentTimelineChange(): IEventMetadata<CurrentTimelineChangeEvent['args']>;
5274
+ //#endregion
5275
+ //#region src/eventbus/events/metadata/timeline-duration-request.d.ts
5276
+ declare function timelineDurationRequest(): IEventMetadata<DurationRequestEvent['args']>;
5277
+ //#endregion
5278
+ //#region src/eventbus/events/metadata/timeline-duration.d.ts
5279
+ declare function timelineDuration(): IEventMetadata<DurationEvent['args']>;
5280
+ //#endregion
5281
+ //#region src/eventbus/events/metadata/timeline-firstframe.d.ts
5282
+ declare function timelineFirstframe(): IEventMetadata<FirstFrameEvent['args']>;
5283
+ //#endregion
5284
+ //#region src/eventbus/events/metadata/timeline-pause-request.d.ts
5285
+ declare function timelinePauseRequest(): IEventMetadata<PauseRequestEvent['args']>;
5286
+ //#endregion
5287
+ //#region src/eventbus/events/metadata/timeline-pause.d.ts
5288
+ declare function timelinePause(): IEventMetadata<PauseEvent['args']>;
5289
+ //#endregion
5290
+ //#region src/eventbus/events/metadata/timeline-play-request.d.ts
5291
+ declare function timelinePlayRequest(): IEventMetadata<PlayRequestEvent['args']>;
5292
+ //#endregion
5293
+ //#region src/eventbus/events/metadata/timeline-play-toggle-request.d.ts
5294
+ declare function timelinePlayToggleRequest(): IEventMetadata<PlayToggleRequestEvent['args']>;
5295
+ //#endregion
5296
+ //#region src/eventbus/events/metadata/timeline-play.d.ts
5297
+ declare function timelinePlay(): IEventMetadata<PlayEvent['args']>;
5298
+ //#endregion
5299
+ //#region src/eventbus/events/metadata/timeline-request-current-timeline.d.ts
5300
+ declare function timelineRequestCurrentTimeline(): IEventMetadata<RequestCurrentTimelineEvent['args']>;
5301
+ //#endregion
5302
+ //#region src/eventbus/events/metadata/timeline-resize-request.d.ts
5303
+ declare function timelineResizeRequest(): IEventMetadata<ResizeRequestEvent['args']>;
5304
+ //#endregion
5305
+ //#region src/eventbus/events/metadata/timeline-resize.d.ts
5306
+ declare function timelineResize(): IEventMetadata<ResizeEvent['args']>;
5307
+ //#endregion
5308
+ //#region src/eventbus/events/metadata/timeline-restart.d.ts
5309
+ declare function timelineRestart(): IEventMetadata<RestartEvent['args']>;
5310
+ //#endregion
5311
+ //#region src/eventbus/events/metadata/timeline-seek-request.d.ts
5312
+ declare function timelineSeekRequest(): IEventMetadata<SeekRequestEvent['args']>;
5313
+ //#endregion
5314
+ //#region src/eventbus/events/metadata/timeline-seek.d.ts
5315
+ declare function timelineSeek(): IEventMetadata<SeekEvent['args']>;
5316
+ //#endregion
5317
+ //#region src/eventbus/events/metadata/timeline-seeked.d.ts
5318
+ declare function timelineSeeked(): IEventMetadata<SeekedEvent['args']>;
5319
+ //#endregion
5320
+ //#region src/eventbus/events/metadata/timeline-stop-request.d.ts
5321
+ declare function timelineStopRequest(): IEventMetadata<StopRequestEvent['args']>;
5322
+ //#endregion
5323
+ //#region src/eventbus/events/metadata/timeline-stop.d.ts
5324
+ declare function timelineStop(): IEventMetadata<StopEvent['args']>;
5325
+ //#endregion
5326
+ //#region src/eventbus/events/metadata/timeline-time.d.ts
5327
+ declare function timelineTime(): IEventMetadata<TimeEvent['args']>;
5328
+ //#endregion
5329
+ //#region src/eventbus/events/metadata/video-complete.d.ts
5330
+ declare function videoComplete(): IEventMetadata<VideoCompleteEvent['args']>;
5331
+ declare namespace index_d_exports$1 {
5332
+ export { IEventMetadata, beforeRequestTimelineUri, beforeRequestVideoUrl, domMutation, highlightNavigation, languageChange, navigateToVideoUrl, pushHistoryState, requestAction$1 as requestAction, requestCurrentLanguage, requestCurrentNavigation, requestCurrentTimelinePosition, requestCurrentVideoPosition, requestEngineRoot, requestFunction, requestInstance, requestLabelCollection, requestLabelCollections, requestTimelineCleanup, requestTimelineUri, requestVideoCleanup, requestVideoUrl, timelineComplete, timelineContainerRequest, timelineCurrentTimelineChange, timelineDuration, timelineDurationRequest, timelineFirstframe, timelinePause, timelinePauseRequest, timelinePlay, timelinePlayRequest, timelinePlayToggleRequest, timelineRequestCurrentTimeline, timelineResize, timelineResizeRequest, timelineRestart, timelineSeek, timelineSeekRequest, timelineSeeked, timelineStop, timelineStopRequest, timelineTime, videoComplete };
5333
+ }
5334
+ //#endregion
3929
5335
  //#region src/importer/eligius-resource-importer.d.ts
3930
5336
  declare class EligiusResourceImporter implements IResourceImporter {
3931
5337
  engines: Map<any, any>;
@@ -4012,5 +5418,5 @@ declare class VideoJsTimelineProvider implements ITimelineProvider {
4012
5418
  _extractFileType(url: string): string;
4013
5419
  }
4014
5420
  //#endregion
4015
- export { Action, ActionCreator, ActionCreatorFactory, ActionEditor, ActionRegistryEventbusListener, ConfigurationFactory, ConfigurationResolver, ControllerNamesProvider, Controllers, DEV_TOOLS_KEY, DOMEventListenerController, DevToolEventListener, Diagnostics, EligiusEngine, EligiusResourceImporter, EndableAction, EndableActionCreator, EndableActionEditor, EngineFactory, Eventbus, ExtractOperationData, ExtractOperationDataType, ExtractReturnedOperationData, GetControllerByName, GetOperationByName, IAction, IActionConfiguration, type IAddClassOperationData, type IAddControllerToElementOperationData, type IAnimateOperationData, type IAnimateWithClassOperationData, type IBroadcastEventOperationData, type ICalcOperationData, type IClearElementOperationData, type IClearOperationDataOperationData, IConfigurationResolver, IController, type ICreateElementOperationData, type ICustomFunctionOperationData, type IDOMEventListenerControllerOperationData, IDiagnosticsAgent, IDiagnosticsInfo, IDimensions, IDuration, IEligiusEngine, type IEndActionOperationData, IEndableAction, IEndableActionConfiguration, IEngineConfiguration, IEngineFactory, IEngineFactoryOptions, IEngineInfo, IEventActionConfiguration, IEventbus, IEventbusInterceptor, IEventbusListener, type IExtendControllerOperationData, type IForEachOperationData, type IGetAttributesFromElementOperationData, type IGetControllerFromElementOperationData, type IGetControllerInstanceOperationData, type IGetElementDimensionsOperationData, type IGetImportOperationData, type IGetQueryParamsOperationData, type IInvokeObjectMethodOperationData, ILabel, type ILabelControllerMetadata, ILanguageLabel, type ILogOperationData, type ILottieControllerMetadata, type IMathOperationData, type INavigationControllerOperationData, IOperationConfiguration, IOperationScope, IPlayControlEvent, type IProgressbarControllerOperationData, type IRemoveClassOperationData, type IRemoveControllerFromElementOperationData, type IRemoveElementOperationData, type IRemovePropertiesFromOperationDataOperationData, type IReparentElementOperationData, type IRequestActionOperationData, IResolvedActionConfiguration, IResolvedEndableActionConfiguration, IResolvedEngineConfiguration, IResolvedOperation, IResolvedTimelineConfiguration, IResourceImporter, type IRoutingControllerOperationData, type ISelectElementOperationData, type ISetDataOperationData, type ISetElementAttributesOperationData, type ISetElementContentOperationData, type ISetGlobalDataOperationData, type ISetStyleOperationData, type ISetVariableOperationData, ISimpleResourceImporter, type IStartActionOperationData, IStrictDuration, ISubtitle, ISubtitleCollection, type ISubtitlesControllerOperationData, ITimelineAction, ITimelineActionConfiguration, ITimelineConfiguration, ITimelineFlow, ITimelineProvider, ITimelineProviderInfo, ITimelineProviderSettings, type IToggleClassOperationData, type IToggleElementOperationData, type IWaitOperationData, type IWhenOperationData, KeysOfType, LabelController, LanguageManager, LottieController, NavigationController, OperationEditor, OperationMetadataProvider, OperationNamesProvider, Operations, ProgressbarController, RequestAnimationFrameTimelineProvider, RequestVideoUriInterceptor, RequireKeys, RoutingController, SubtitleEditor, SubtitleImporter, SubtitlesController, TControllerName, TControllerType, TDevToolsEventSubscriber, TDevToolsMessage, TDiagnosticType, TDiagnosticsMessageSource, TEngineConfigurationLists, TEventData, TEventHandler, TEventbusRemover, TLanguageCode, TOperation, TOperationData, TOperationName, TOperationResult, TOperationType, TPlayControlEventKind, TPlayState, TResultCallback, TTimelineProviderSettings, TWindowWithDevtools, TimeLineEventNamesProvider, TimelineAction, TimelineActionCreator, TimelineActionEditor, TimelineEventNames, TimelineProviderSettingsEditor, TimelineProvidersSettingsEditor, TimelineTypes, VideoJsTimelineProvider, addClass, addControllerToElement, addGlobalsToOperation, animate, animateWithClass, breakForEach, broadcastEvent, calc, clearElement, clearOperationData, continueForEach, createElement, customFunction, endAction, endForEach, endWhen, extendController, forEach, generateImporterSourceCode, getAttributesFromElement, getControllerFromElement, getControllerInstance, getElementDimensions, getImport, getQueryParams, invokeObjectMethod, isActive, loadJson, log, math, index_d_exports as metadata, otherwise, removeClass, removeControllerFromElement, removeElement, removePropertiesFromOperationData, reparentElement, requestAction, selectElement, send, setActive, setData, setElementAttributes, setElementContent, setGlobalData, setOperationData, setStyle, setVariable, startAction, toggleClass, toggleElement, wait, when };
4016
- //# sourceMappingURL=index.d.ts.map
5421
+ export { Action, ActionCreator, ActionCreatorFactory, ActionEditor, ActionRegistryEventbusListener, AllEvents, BeforeRequestTimelineUriEvent, CompleteEvent, ConfigurationFactory, ConfigurationResolver, ContainerRequestEvent, ControllerNamesProvider, Controllers, CurrentTimelineChangeEvent, DEV_TOOLS_KEY, DOMEventListenerController, DevToolEventListener, Diagnostics, DomMutationEvent, DurationEvent, DurationRequestEvent, EligiusEngine, EligiusResourceImporter, EndableAction, EndableActionCreator, EndableActionEditor, EngineFactory, type EventMap, type EventName, Eventbus, ExtractOperationData, ExtractOperationDataType, ExtractReturnedOperationData, FirstFrameEvent, GetControllerByName, GetOperationByName, IAction, IActionConfiguration, type IAddClassOperationData, type IAddControllerToElementOperationData, type IAnimateOperationData, type IAnimateWithClassOperationData, type IAnnounceToScreenReaderOperationData, type IBroadcastEventOperationData, type ICalcOperationData, type IClearElementOperationData, type IClearOperationDataOperationData, type IClearStorageOperationData, type ICompareDateOperationData, type IConcatenateStringsOperationData, IConfigurationResolver, IController, IControllerMetadata, type ICreateElementOperationData, type ICustomFunctionOperationData, type IDOMEventListenerControllerOperationData, IDiagnosticsAgent, IDiagnosticsInfo, IDimensions, IDuration, IEligiusEngine, type IEndActionOperationData, IEndableAction, IEndableActionConfiguration, IEngineConfiguration, IEngineFactory, IEngineFactoryOptions, IEngineInfo, IEventActionConfiguration, IEventMetadata, IEventbus, IEventbusInterceptor, IEventbusListener, type IExtendControllerOperationData, type IFilterArrayOperationData, type IFindInArrayOperationData, type IForEachOperationData, type IFormatDateOperationData, type IFormatTextOperationData, type IGetAttributesFromElementOperationData, type IGetControllerFromElementOperationData, type IGetControllerInstanceOperationData, type IGetCurrentTimeOperationData, type IGetElementDimensionsOperationData, type IGetFocusedElementOperationData, type IGetFormDataOperationData, type IGetImportOperationData, type IGetQueryParamsOperationData, type IGetScrollPositionOperationData, type IGetTextContentOperationData, type IHttpDeleteOperationData, type IHttpPostOperationData, type IHttpPutOperationData, type IInvokeObjectMethodOperationData, type IIsElementInViewportOperationData, ILabel, type ILabelControllerMetadata, ILanguageLabel, type ILoadFromStorageOperationData, type ILoadJSONOperationData, type ILogOperationData, type ILottieControllerMetadata, type IMapArrayOperationData, type IMathOperationData, type IMutationEventPayload, type IMutationObserverControllerMetadata, type INavigationControllerOperationData, IOperationConfiguration, IOperationMetadata, IOperationScope, IPlayControlEvent, type IProgressbarControllerOperationData, type IRemoveClassOperationData, type IRemoveControllerFromElementOperationData, type IRemoveElementOperationData, type IRemovePropertiesFromOperationDataOperationData, type IReparentElementOperationData, type IReplaceStringOperationData, type IReplaceTextOperationData, type IRequestActionOperationData, IResolvedActionConfiguration, IResolvedEndableActionConfiguration, IResolvedEngineConfiguration, IResolvedOperation, IResolvedTimelineConfiguration, IResourceImporter, type IRoutingControllerOperationData, type ISaveToStorageOperationData, type IScrollToElementOperationData, type IScrollToPositionOperationData, type ISelectElementOperationData, type ISetDataOperationData, type ISetElementAttributesOperationData, type ISetElementContentOperationData, type ISetFocusOperationData, type ISetFormValueOperationData, type ISetGlobalDataOperationData, type ISetOperationData, type ISetStyleOperationData, type ISetVariableOperationData, ISimpleResourceImporter, type ISortArrayOperationData, type ISplitStringOperationData, type IStartActionOperationData, IStrictDuration, type ISubstringTextOperationData, ISubtitle, ISubtitleCollection, type ISubtitlesControllerOperationData, ITimelineAction, ITimelineActionConfiguration, ITimelineConfiguration, ITimelineFlow, ITimelineProvider, ITimelineProviderInfo, ITimelineProviderSettings, type IToggleClassOperationData, type IToggleElementOperationData, type IToggleFormElementOperationData, type IValidateFormOperationData, type IWaitOperationData, type IWhenOperationData, KeysOfType, LabelController, LanguageChangeEvent, LanguageManager, LottieController, MutationObserverController, NavigationController, OperationEditor, OperationMetadataProvider, OperationNamesProvider, Operations, PauseEvent, PauseRequestEvent, PlayEvent, PlayRequestEvent, PlayToggleRequestEvent, ProgressbarController, RequestActionEvent, RequestAnimationFrameTimelineProvider, RequestCurrentLanguageEvent, RequestCurrentTimelineEvent, RequestCurrentTimelinePositionEvent, RequestEngineRootEvent, RequestFunctionEvent, RequestInstanceEvent, RequestLabelCollectionEvent, RequestLabelCollectionsEvent, RequestTimelineCleanupEvent, RequestTimelineUriEvent, RequestVideoUriInterceptor, RequireKeys, ResizeEvent, ResizeRequestEvent, RestartEvent, RoutingController, SeekEvent, SeekRequestEvent, SeekedEvent, StopEvent, StopRequestEvent, type StorageType, SubtitleEditor, SubtitleImporter, SubtitlesController, TArrayProperyMetadata, TComplexPropertyMetadata, TConstantParametersTypes, TControllerName, TControllerType, TDevToolsEventSubscriber, TDevToolsMessage, TDiagnosticType, TDiagnosticsMessageSource, TEngineConfigurationLists, TEventData, TEventHandler, TEventbusRemover, THasDescription, THasErased, THasRequired, TLanguageCode, TOperation, TOperationCategory, TOperationData, TOperationName, TOperationResult, TOperationType, TParameterTypes, TParameterTypesDelimited, TPlayControlEventKind, TPlayState, TPropertiesMetadata, TPropertyMetadata, TResultCallback, TTimelineProviderSettings, TWindowWithDevtools, TimeEvent, TimeLineEventNamesProvider, TimelineAction, TimelineActionCreator, TimelineActionEditor, TimelineProviderSettingsEditor, TimelineProvidersSettingsEditor, TimelineTypes, VideoJsTimelineProvider, addClass, addControllerToElement, addGlobalsToOperation, animate, animateWithClass, announceToScreenReader, breakForEach, broadcastEvent, calc, clearElement, clearOperationData, clearStorage, compareDate, concatenateStrings, continueForEach, createElement, index_d_exports as ctrlmetadata, customFunction, endAction, endForEach, endWhen, index_d_exports$1 as eventmetadata, extendController, filterArray, findInArray, forEach, formatDate, formatText, generateImporterSourceCode, getAttributesFromElement, getControllerFromElement, getControllerInstance, getCurrentTime, getElementDimensions, getFocusedElement, getFormData, getImport, getQueryParams, getScrollPosition, getTextContent, httpDelete, httpPost, httpPut, invokeObjectMethod, isActive, isElementInViewport, loadFromStorage, loadJson, log, mapArray, math, index_d_exports$2 as metadata, otherwise, removeClass, removeControllerFromElement, removeElement, removePropertiesFromOperationData, reparentElement, replaceString, replaceText, requestAction, saveToStorage, scrollToElement, scrollToPosition, selectElement, send, setActive, setData, setElementAttributes, setElementContent, setFocus, setFormValue, setGlobalData, setOperationData, setStyle, setVariable, sortArray, splitString, startAction, substringText, toggleClass, toggleElement, toggleFormElement, validateForm, wait, when };
5422
+ //# sourceMappingURL=index.d.mts.map