eligius 3.0.1 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +102 -6
- package/dist/configuration-api.d.mts +144 -328
- package/dist/configuration-api.mjs +197 -241
- package/dist/configuration-api.mjs.map +1 -1
- package/dist/engine-factory-BHDMlt6g.mjs +14404 -0
- package/dist/engine-factory-BHDMlt6g.mjs.map +1 -0
- package/dist/index.d.mts +835 -9673
- package/dist/index.mjs +1555 -15430
- package/dist/index.mjs.map +1 -1
- package/dist/lint.d.mts +5005 -0
- package/dist/lint.mjs +4406 -0
- package/dist/lint.mjs.map +1 -0
- package/dist/locale-manager-CNZ2kj0g.d.mts +8537 -0
- package/dist/metadata.d.mts +128 -567
- package/dist/metadata.mjs +184 -276
- package/dist/metadata.mjs.map +1 -1
- package/dist/{rolldown-runtime-BOlb2svz.mjs → rolldown-runtime-CGzGPw9x.mjs} +1 -2
- package/dist/runtime.d.mts +3 -0
- package/dist/runtime.mjs +4 -0
- package/jsonschema/eligius-configuration.json +53 -7
- package/package.json +24 -11
package/dist/metadata.d.mts
CHANGED
|
@@ -12,7 +12,6 @@ declare namespace JQuery {
|
|
|
12
12
|
type Duration = number | 'fast' | 'slow';
|
|
13
13
|
type Node = Element | Text | Comment | Document | DocumentFragment;
|
|
14
14
|
}
|
|
15
|
-
//#region src/eventbus/events/before-request-timeline-uri.d.ts
|
|
16
15
|
/**
|
|
17
16
|
* Event: before-request-timeline-uri
|
|
18
17
|
*
|
|
@@ -27,8 +26,6 @@ interface BeforeRequestTimelineUriEvent {
|
|
|
27
26
|
name: 'before-request-timeline-uri';
|
|
28
27
|
args: [uri: string, position?: number];
|
|
29
28
|
}
|
|
30
|
-
//#endregion
|
|
31
|
-
//#region src/eventbus/events/before-request-video-url.d.ts
|
|
32
29
|
/**
|
|
33
30
|
* Event: before-request-video-url
|
|
34
31
|
* @param index - The video URL index
|
|
@@ -42,8 +39,6 @@ interface BeforeRequestVideoUrlEvent {
|
|
|
42
39
|
name: 'before-request-video-url';
|
|
43
40
|
args: [index: number, requestedVideoPosition?: number, isHistoryRequest?: boolean];
|
|
44
41
|
}
|
|
45
|
-
//#endregion
|
|
46
|
-
//#region src/eventbus/events/dom-mutation.d.ts
|
|
47
42
|
/**
|
|
48
43
|
* Event: dom-mutation
|
|
49
44
|
* @param payload - Mutation observer payload
|
|
@@ -53,8 +48,6 @@ interface DomMutationEvent {
|
|
|
53
48
|
name: 'dom-mutation';
|
|
54
49
|
args: [payload: any];
|
|
55
50
|
}
|
|
56
|
-
//#endregion
|
|
57
|
-
//#region src/eventbus/events/engine-command-error.d.ts
|
|
58
51
|
/**
|
|
59
52
|
* Event: engine-command-error
|
|
60
53
|
* Broadcast by EngineEventbusAdapter when an engine command that an eventbus
|
|
@@ -69,8 +62,6 @@ interface EngineCommandErrorEvent {
|
|
|
69
62
|
name: 'engine-command-error';
|
|
70
63
|
args: [command: string, error: unknown];
|
|
71
64
|
}
|
|
72
|
-
//#endregion
|
|
73
|
-
//#region src/eventbus/events/highlight-navigation.d.ts
|
|
74
65
|
/**
|
|
75
66
|
* Event: highlight-navigation
|
|
76
67
|
* @param videoUrlIndex - The index of the video URL to highlight
|
|
@@ -80,8 +71,6 @@ interface HighlightNavigationEvent {
|
|
|
80
71
|
name: 'highlight-navigation';
|
|
81
72
|
args: [videoUrlIndex: number];
|
|
82
73
|
}
|
|
83
|
-
//#endregion
|
|
84
|
-
//#region src/eventbus/events/language-change.d.ts
|
|
85
74
|
/**
|
|
86
75
|
* Event: language-change
|
|
87
76
|
* @param language - The new language code
|
|
@@ -91,8 +80,6 @@ interface LanguageChangeEvent {
|
|
|
91
80
|
name: 'language-change';
|
|
92
81
|
args: [language: TLanguageCode];
|
|
93
82
|
}
|
|
94
|
-
//#endregion
|
|
95
|
-
//#region src/eventbus/events/navigate-to-video-url.d.ts
|
|
96
83
|
/**
|
|
97
84
|
* Event: navigate-to-video-url
|
|
98
85
|
* @param index - The video URL index to navigate to
|
|
@@ -105,8 +92,6 @@ interface NavigateToVideoUrlEvent {
|
|
|
105
92
|
name: 'navigate-to-video-url';
|
|
106
93
|
args: [index: number, requestedVideoPosition?: number];
|
|
107
94
|
}
|
|
108
|
-
//#endregion
|
|
109
|
-
//#region src/eventbus/events/push-history-state.d.ts
|
|
110
95
|
/**
|
|
111
96
|
* Event: push-history-state
|
|
112
97
|
* @param state - The history state to push
|
|
@@ -116,8 +101,6 @@ interface PushHistoryStateEvent {
|
|
|
116
101
|
name: 'push-history-state';
|
|
117
102
|
args: [state: any];
|
|
118
103
|
}
|
|
119
|
-
//#endregion
|
|
120
|
-
//#region src/eventbus/events/request-action.d.ts
|
|
121
104
|
/**
|
|
122
105
|
* Request: request-action
|
|
123
106
|
* Answered through `eventbus.request('request-action', actionName)` by
|
|
@@ -132,8 +115,6 @@ interface RequestActionEvent {
|
|
|
132
115
|
args: [actionName: string];
|
|
133
116
|
returns: IAction;
|
|
134
117
|
}
|
|
135
|
-
//#endregion
|
|
136
|
-
//#region src/eventbus/events/request-current-language.d.ts
|
|
137
118
|
/**
|
|
138
119
|
* Request: request-current-language
|
|
139
120
|
* Answered through `eventbus.request('request-current-language')` by
|
|
@@ -146,8 +127,6 @@ interface RequestCurrentLanguageEvent {
|
|
|
146
127
|
args: [];
|
|
147
128
|
returns: TLanguageCode;
|
|
148
129
|
}
|
|
149
|
-
//#endregion
|
|
150
|
-
//#region src/eventbus/events/request-current-navigation.d.ts
|
|
151
130
|
/**
|
|
152
131
|
* Event: request-current-navigation
|
|
153
132
|
* @param callback - Callback that receives the current navigation data
|
|
@@ -157,8 +136,6 @@ interface RequestCurrentNavigationEvent {
|
|
|
157
136
|
name: 'request-current-navigation';
|
|
158
137
|
args: [callback: (navigation: any) => void];
|
|
159
138
|
}
|
|
160
|
-
//#endregion
|
|
161
|
-
//#region src/eventbus/events/request-current-timeline-position.d.ts
|
|
162
139
|
/**
|
|
163
140
|
* Request: request-current-timeline-position
|
|
164
141
|
* Answered through `eventbus.request('request-current-timeline-position')` by
|
|
@@ -173,8 +150,6 @@ interface RequestCurrentTimelinePositionEvent {
|
|
|
173
150
|
args: [];
|
|
174
151
|
returns: number;
|
|
175
152
|
}
|
|
176
|
-
//#endregion
|
|
177
|
-
//#region src/eventbus/events/request-current-video-position.d.ts
|
|
178
153
|
/**
|
|
179
154
|
* Event: request-current-video-position
|
|
180
155
|
* @param callback - Callback that receives the current video position
|
|
@@ -186,8 +161,6 @@ interface RequestCurrentVideoPositionEvent {
|
|
|
186
161
|
name: 'request-current-video-position';
|
|
187
162
|
args: [callback: (position: number) => void];
|
|
188
163
|
}
|
|
189
|
-
//#endregion
|
|
190
|
-
//#region src/eventbus/events/request-engine-root.d.ts
|
|
191
164
|
/**
|
|
192
165
|
* Request: request-engine-root
|
|
193
166
|
* Answered through `eventbus.request('request-engine-root')` with the
|
|
@@ -203,8 +176,6 @@ interface RequestEngineRootEvent {
|
|
|
203
176
|
args: [];
|
|
204
177
|
returns: JQuery<HTMLElement>;
|
|
205
178
|
}
|
|
206
|
-
//#endregion
|
|
207
|
-
//#region src/eventbus/events/request-function.d.ts
|
|
208
179
|
/**
|
|
209
180
|
* Request: request-function
|
|
210
181
|
* Answered through `eventbus.request('request-function', systemName)` by
|
|
@@ -219,8 +190,6 @@ interface RequestFunctionEvent {
|
|
|
219
190
|
args: [systemName: string];
|
|
220
191
|
returns: unknown;
|
|
221
192
|
}
|
|
222
|
-
//#endregion
|
|
223
|
-
//#region src/eventbus/events/request-instance.d.ts
|
|
224
193
|
/**
|
|
225
194
|
* Request: request-instance
|
|
226
195
|
* Answered through `eventbus.request('request-instance', systemName)` by
|
|
@@ -236,8 +205,6 @@ interface RequestInstanceEvent {
|
|
|
236
205
|
args: [systemName: string];
|
|
237
206
|
returns: unknown;
|
|
238
207
|
}
|
|
239
|
-
//#endregion
|
|
240
|
-
//#region src/eventbus/events/request-label-collection.d.ts
|
|
241
208
|
/**
|
|
242
209
|
* Event: request-label-collection
|
|
243
210
|
* @param language - The language code
|
|
@@ -250,8 +217,6 @@ interface RequestLabelCollectionEvent {
|
|
|
250
217
|
name: 'request-label-collection';
|
|
251
218
|
args: [language: string, callback: (collection: any) => void];
|
|
252
219
|
}
|
|
253
|
-
//#endregion
|
|
254
|
-
//#region src/eventbus/events/request-label-collections.d.ts
|
|
255
220
|
/**
|
|
256
221
|
* Event: request-label-collections
|
|
257
222
|
* @param labelIds - Array of label IDs to retrieve
|
|
@@ -264,8 +229,6 @@ interface RequestLabelCollectionsEvent {
|
|
|
264
229
|
name: 'request-label-collections';
|
|
265
230
|
args: [labelIds: string[], callback: (collections: any) => void];
|
|
266
231
|
}
|
|
267
|
-
//#endregion
|
|
268
|
-
//#region src/eventbus/events/request-timeline-cleanup.d.ts
|
|
269
232
|
/**
|
|
270
233
|
* Event: request-timeline-cleanup
|
|
271
234
|
* @category Engine Request
|
|
@@ -274,8 +237,6 @@ interface RequestTimelineCleanupEvent {
|
|
|
274
237
|
name: 'request-timeline-cleanup';
|
|
275
238
|
args: [];
|
|
276
239
|
}
|
|
277
|
-
//#endregion
|
|
278
|
-
//#region src/eventbus/events/request-timeline-uri.d.ts
|
|
279
240
|
/**
|
|
280
241
|
* Event: request-timeline-uri
|
|
281
242
|
* @param uri - The timeline URI to load
|
|
@@ -286,8 +247,6 @@ interface RequestTimelineUriEvent {
|
|
|
286
247
|
name: 'request-timeline-uri';
|
|
287
248
|
args: [uri: string, position?: number];
|
|
288
249
|
}
|
|
289
|
-
//#endregion
|
|
290
|
-
//#region src/eventbus/events/request-translation.d.ts
|
|
291
250
|
/**
|
|
292
251
|
* Request: request-translation
|
|
293
252
|
* Answered through `eventbus.request('request-translation', key, params)` by
|
|
@@ -303,8 +262,6 @@ interface RequestTranslationEvent {
|
|
|
303
262
|
args: [key: string | string[], params?: Record<string, unknown>];
|
|
304
263
|
returns: string;
|
|
305
264
|
}
|
|
306
|
-
//#endregion
|
|
307
|
-
//#region src/eventbus/events/request-video-cleanup.d.ts
|
|
308
265
|
/**
|
|
309
266
|
* Event: request-video-cleanup
|
|
310
267
|
* @deprecated Legacy video navigation event; the engine does not handle it. Use a navigation entry with
|
|
@@ -315,8 +272,6 @@ interface RequestVideoCleanupEvent {
|
|
|
315
272
|
name: 'request-video-cleanup';
|
|
316
273
|
args: [];
|
|
317
274
|
}
|
|
318
|
-
//#endregion
|
|
319
|
-
//#region src/eventbus/events/request-video-url.d.ts
|
|
320
275
|
/**
|
|
321
276
|
* Event: request-video-url
|
|
322
277
|
* @param videoUrlIndex - The index of the video URL
|
|
@@ -330,8 +285,6 @@ interface RequestVideoUrlEvent {
|
|
|
330
285
|
name: 'request-video-url';
|
|
331
286
|
args: [videoUrlIndex: number, requestedVideoPosition?: number, fromRouting?: boolean];
|
|
332
287
|
}
|
|
333
|
-
//#endregion
|
|
334
|
-
//#region src/eventbus/events/timeline-complete.d.ts
|
|
335
288
|
/**
|
|
336
289
|
* Event: timeline-complete
|
|
337
290
|
* @category Timeline
|
|
@@ -340,8 +293,6 @@ interface CompleteEvent {
|
|
|
340
293
|
name: 'timeline-complete';
|
|
341
294
|
args: [];
|
|
342
295
|
}
|
|
343
|
-
//#endregion
|
|
344
|
-
//#region src/eventbus/events/timeline-container-request.d.ts
|
|
345
296
|
/**
|
|
346
297
|
* Request: timeline-container-request
|
|
347
298
|
* Answered through `eventbus.request('timeline-container-request')` by
|
|
@@ -356,8 +307,6 @@ interface ContainerRequestEvent {
|
|
|
356
307
|
args: [];
|
|
357
308
|
returns: JQuery<HTMLElement> | undefined;
|
|
358
309
|
}
|
|
359
|
-
//#endregion
|
|
360
|
-
//#region src/eventbus/events/timeline-current-timeline-change.d.ts
|
|
361
310
|
/**
|
|
362
311
|
* Event: timeline-current-timeline-change
|
|
363
312
|
* @param timelineUri - The URI of the new current timeline
|
|
@@ -367,8 +316,6 @@ interface CurrentTimelineChangeEvent {
|
|
|
367
316
|
name: 'timeline-current-timeline-change';
|
|
368
317
|
args: [timelineUri: string];
|
|
369
318
|
}
|
|
370
|
-
//#endregion
|
|
371
|
-
//#region src/eventbus/events/timeline-duration.d.ts
|
|
372
319
|
/**
|
|
373
320
|
* Event: timeline-duration
|
|
374
321
|
* @param getDuration - Function that returns the timeline duration
|
|
@@ -378,8 +325,6 @@ interface DurationEvent {
|
|
|
378
325
|
name: 'timeline-duration';
|
|
379
326
|
args: [getDuration: (() => number) | undefined];
|
|
380
327
|
}
|
|
381
|
-
//#endregion
|
|
382
|
-
//#region src/eventbus/events/timeline-duration-request.d.ts
|
|
383
328
|
/**
|
|
384
329
|
* Request: timeline-duration-request
|
|
385
330
|
* Answered through `eventbus.request('timeline-duration-request')` by
|
|
@@ -394,8 +339,6 @@ interface DurationRequestEvent {
|
|
|
394
339
|
args: [];
|
|
395
340
|
returns: number | undefined;
|
|
396
341
|
}
|
|
397
|
-
//#endregion
|
|
398
|
-
//#region src/eventbus/events/timeline-firstframe.d.ts
|
|
399
342
|
/**
|
|
400
343
|
* Event: timeline-firstframe
|
|
401
344
|
* @category Timeline
|
|
@@ -404,8 +347,6 @@ interface FirstFrameEvent {
|
|
|
404
347
|
name: 'timeline-firstframe';
|
|
405
348
|
args: [];
|
|
406
349
|
}
|
|
407
|
-
//#endregion
|
|
408
|
-
//#region src/eventbus/events/timeline-pause.d.ts
|
|
409
350
|
/**
|
|
410
351
|
* Event: timeline-pause
|
|
411
352
|
* @category Timeline
|
|
@@ -414,8 +355,6 @@ interface PauseEvent {
|
|
|
414
355
|
name: 'timeline-pause';
|
|
415
356
|
args: [];
|
|
416
357
|
}
|
|
417
|
-
//#endregion
|
|
418
|
-
//#region src/eventbus/events/timeline-pause-request.d.ts
|
|
419
358
|
/**
|
|
420
359
|
* Event: timeline-pause-request
|
|
421
360
|
* @category Timeline
|
|
@@ -424,8 +363,6 @@ interface PauseRequestEvent {
|
|
|
424
363
|
name: 'timeline-pause-request';
|
|
425
364
|
args: [];
|
|
426
365
|
}
|
|
427
|
-
//#endregion
|
|
428
|
-
//#region src/eventbus/events/timeline-play.d.ts
|
|
429
366
|
/**
|
|
430
367
|
* Event: timeline-play
|
|
431
368
|
* @category Timeline
|
|
@@ -434,8 +371,6 @@ interface PlayEvent {
|
|
|
434
371
|
name: 'timeline-play';
|
|
435
372
|
args: [];
|
|
436
373
|
}
|
|
437
|
-
//#endregion
|
|
438
|
-
//#region src/eventbus/events/timeline-play-request.d.ts
|
|
439
374
|
/**
|
|
440
375
|
* Event: timeline-play-request
|
|
441
376
|
* @category Timeline
|
|
@@ -444,8 +379,6 @@ interface PlayRequestEvent {
|
|
|
444
379
|
name: 'timeline-play-request';
|
|
445
380
|
args: [];
|
|
446
381
|
}
|
|
447
|
-
//#endregion
|
|
448
|
-
//#region src/eventbus/events/timeline-play-toggle-request.d.ts
|
|
449
382
|
/**
|
|
450
383
|
* Event: timeline-play-toggle-request
|
|
451
384
|
* @category Timeline
|
|
@@ -454,8 +387,6 @@ interface PlayToggleRequestEvent {
|
|
|
454
387
|
name: 'timeline-play-toggle-request';
|
|
455
388
|
args: [];
|
|
456
389
|
}
|
|
457
|
-
//#endregion
|
|
458
|
-
//#region src/eventbus/events/timeline-request-current-timeline.d.ts
|
|
459
390
|
/**
|
|
460
391
|
* Request: timeline-request-current-timeline
|
|
461
392
|
* Answered through `eventbus.request('timeline-request-current-timeline')` by
|
|
@@ -470,8 +401,6 @@ interface RequestCurrentTimelineEvent {
|
|
|
470
401
|
args: [];
|
|
471
402
|
returns: string;
|
|
472
403
|
}
|
|
473
|
-
//#endregion
|
|
474
|
-
//#region src/eventbus/events/timeline-resize.d.ts
|
|
475
404
|
/**
|
|
476
405
|
* Event: timeline-resize
|
|
477
406
|
* @category Timeline
|
|
@@ -480,8 +409,6 @@ interface ResizeEvent {
|
|
|
480
409
|
name: 'timeline-resize';
|
|
481
410
|
args: [];
|
|
482
411
|
}
|
|
483
|
-
//#endregion
|
|
484
|
-
//#region src/eventbus/events/timeline-resize-request.d.ts
|
|
485
412
|
/**
|
|
486
413
|
* Event: timeline-resize-request
|
|
487
414
|
* @category Timeline
|
|
@@ -490,8 +417,6 @@ interface ResizeRequestEvent {
|
|
|
490
417
|
name: 'timeline-resize-request';
|
|
491
418
|
args: [];
|
|
492
419
|
}
|
|
493
|
-
//#endregion
|
|
494
|
-
//#region src/eventbus/events/timeline-restart.d.ts
|
|
495
420
|
/**
|
|
496
421
|
* Event: timeline-restart
|
|
497
422
|
* @category Timeline
|
|
@@ -500,8 +425,6 @@ interface RestartEvent {
|
|
|
500
425
|
name: 'timeline-restart';
|
|
501
426
|
args: [];
|
|
502
427
|
}
|
|
503
|
-
//#endregion
|
|
504
|
-
//#region src/eventbus/events/timeline-seek.d.ts
|
|
505
428
|
/**
|
|
506
429
|
* Event: timeline-seek
|
|
507
430
|
* @param seekPosition - The position to seek to
|
|
@@ -513,8 +436,6 @@ interface SeekEvent {
|
|
|
513
436
|
name: 'timeline-seek';
|
|
514
437
|
args: [seekPosition: number, currentPosition: number, duration: number];
|
|
515
438
|
}
|
|
516
|
-
//#endregion
|
|
517
|
-
//#region src/eventbus/events/timeline-seek-request.d.ts
|
|
518
439
|
/**
|
|
519
440
|
* Event: timeline-seek-request
|
|
520
441
|
* @param position - The timeline position to seek to
|
|
@@ -524,8 +445,6 @@ interface SeekRequestEvent {
|
|
|
524
445
|
name: 'timeline-seek-request';
|
|
525
446
|
args: [position: number];
|
|
526
447
|
}
|
|
527
|
-
//#endregion
|
|
528
|
-
//#region src/eventbus/events/timeline-seeked.d.ts
|
|
529
448
|
/**
|
|
530
449
|
* Event: timeline-seeked
|
|
531
450
|
* @param position - The new timeline position after seeking
|
|
@@ -536,8 +455,6 @@ interface SeekedEvent {
|
|
|
536
455
|
name: 'timeline-seeked';
|
|
537
456
|
args: [position: number, duration: number];
|
|
538
457
|
}
|
|
539
|
-
//#endregion
|
|
540
|
-
//#region src/eventbus/events/timeline-stop.d.ts
|
|
541
458
|
/**
|
|
542
459
|
* Event: timeline-stop
|
|
543
460
|
* @category Timeline
|
|
@@ -546,8 +463,6 @@ interface StopEvent {
|
|
|
546
463
|
name: 'timeline-stop';
|
|
547
464
|
args: [];
|
|
548
465
|
}
|
|
549
|
-
//#endregion
|
|
550
|
-
//#region src/eventbus/events/timeline-stop-request.d.ts
|
|
551
466
|
/**
|
|
552
467
|
* Event: timeline-stop-request
|
|
553
468
|
* @category Timeline
|
|
@@ -556,8 +471,6 @@ interface StopRequestEvent {
|
|
|
556
471
|
name: 'timeline-stop-request';
|
|
557
472
|
args: [];
|
|
558
473
|
}
|
|
559
|
-
//#endregion
|
|
560
|
-
//#region src/eventbus/events/timeline-time.d.ts
|
|
561
474
|
/**
|
|
562
475
|
* Event: timeline-time
|
|
563
476
|
* @param position - The current timeline position
|
|
@@ -567,8 +480,6 @@ interface TimeEvent {
|
|
|
567
480
|
name: 'timeline-time';
|
|
568
481
|
args: [position: number];
|
|
569
482
|
}
|
|
570
|
-
//#endregion
|
|
571
|
-
//#region src/eventbus/events/video-complete.d.ts
|
|
572
483
|
/**
|
|
573
484
|
* Event: video-complete
|
|
574
485
|
* @param index - The video URL index that completed
|
|
@@ -580,8 +491,6 @@ interface VideoCompleteEvent {
|
|
|
580
491
|
name: 'video-complete';
|
|
581
492
|
args: [index: number];
|
|
582
493
|
}
|
|
583
|
-
//#endregion
|
|
584
|
-
//#region src/eventbus/events/metadata/types.d.ts
|
|
585
494
|
/**
|
|
586
495
|
* Metadata for an event in the EventBus system.
|
|
587
496
|
*
|
|
@@ -622,8 +531,6 @@ export interface IEventMetadata<_TArgs extends any[] = any[]> {
|
|
|
622
531
|
optional?: boolean;
|
|
623
532
|
}>;
|
|
624
533
|
}
|
|
625
|
-
//#endregion
|
|
626
|
-
//#region src/operation/types.d.ts
|
|
627
534
|
type TOperationData = Record<string, any>;
|
|
628
535
|
type TOperationResult<T = TOperationData> = Promise<T> | T;
|
|
629
536
|
interface IOperationScope {
|
|
@@ -681,8 +588,6 @@ interface IOperationScope {
|
|
|
681
588
|
variables?: Record<string, unknown>;
|
|
682
589
|
}
|
|
683
590
|
type TOperation<T extends TOperationData = TOperationData, RT = T> = (this: IOperationScope, operationData: T) => TOperationResult<RT>;
|
|
684
|
-
//#endregion
|
|
685
|
-
//#region src/locale/types.d.ts
|
|
686
591
|
/**
|
|
687
592
|
* Locale Types
|
|
688
593
|
* Feature: 005-rosetta-locale-manager
|
|
@@ -693,8 +598,6 @@ type TOperation<T extends TOperationData = TOperationData, RT = T> = (this: IOpe
|
|
|
693
598
|
* IETF language tag format (e.g., 'en-US', 'nl-NL')
|
|
694
599
|
*/
|
|
695
600
|
type TLanguageCode = `${Lowercase<string>}-${Uppercase<string>}`;
|
|
696
|
-
//#endregion
|
|
697
|
-
//#region src/types.d.ts
|
|
698
601
|
/**
|
|
699
602
|
* The phase of an action in which an error occurred.
|
|
700
603
|
*/
|
|
@@ -740,8 +643,6 @@ interface ISubtitle {
|
|
|
740
643
|
duration: IStrictDuration;
|
|
741
644
|
text: string;
|
|
742
645
|
}
|
|
743
|
-
//#endregion
|
|
744
|
-
//#region src/eventbus/events/engine-error.d.ts
|
|
745
646
|
/**
|
|
746
647
|
* Event: engine-error
|
|
747
648
|
* Broadcast when a timeline action that the engine started or ended on its
|
|
@@ -754,8 +655,6 @@ interface EngineErrorEvent {
|
|
|
754
655
|
name: 'engine-error';
|
|
755
656
|
args: [error: IEngineActionError];
|
|
756
657
|
}
|
|
757
|
-
//#endregion
|
|
758
|
-
//#region src/eventbus/events/types.d.ts
|
|
759
658
|
type AllEvents = BeforeRequestTimelineUriEvent | BeforeRequestVideoUrlEvent | DomMutationEvent | EngineCommandErrorEvent | EngineErrorEvent | HighlightNavigationEvent | LanguageChangeEvent | NavigateToVideoUrlEvent | PushHistoryStateEvent | RequestActionEvent | RequestCurrentLanguageEvent | RequestCurrentNavigationEvent | RequestCurrentTimelinePositionEvent | RequestCurrentVideoPositionEvent | RequestEngineRootEvent | RequestFunctionEvent | RequestInstanceEvent | RequestLabelCollectionEvent | RequestLabelCollectionsEvent | RequestTimelineCleanupEvent | RequestTimelineUriEvent | RequestTranslationEvent | RequestVideoCleanupEvent | RequestVideoUrlEvent | CompleteEvent | ContainerRequestEvent | CurrentTimelineChangeEvent | DurationRequestEvent | DurationEvent | FirstFrameEvent | PauseRequestEvent | PauseEvent | PlayRequestEvent | PlayToggleRequestEvent | PlayEvent | RequestCurrentTimelineEvent | ResizeRequestEvent | ResizeEvent | RestartEvent | SeekRequestEvent | SeekEvent | SeekedEvent | StopRequestEvent | StopEvent | TimeEvent | VideoCompleteEvent;
|
|
760
659
|
type EventMap = { [K in AllEvents as K['name']]: K extends {
|
|
761
660
|
returns: infer R;
|
|
@@ -814,8 +713,6 @@ interface RequestMap {
|
|
|
814
713
|
returns: RequestCurrentTimelineEvent['returns'];
|
|
815
714
|
};
|
|
816
715
|
}
|
|
817
|
-
//#endregion
|
|
818
|
-
//#region src/eventbus/types.d.ts
|
|
819
716
|
type TEventbusRemover = () => void;
|
|
820
717
|
type TRequestResponder<T = unknown> = (...args: any[]) => T;
|
|
821
718
|
/**
|
|
@@ -949,8 +846,6 @@ interface IEventbusListener {
|
|
|
949
846
|
interface IEventbusInterceptor {
|
|
950
847
|
intercept(eventArgs: any[]): any[];
|
|
951
848
|
}
|
|
952
|
-
//#endregion
|
|
953
|
-
//#region src/controllers/types.d.ts
|
|
954
849
|
interface IController<T extends TOperationData> {
|
|
955
850
|
name: string;
|
|
956
851
|
init(operationData: T): void;
|
|
@@ -1098,8 +993,119 @@ interface ILottieHTMLRendererConfig extends ILottieBaseRendererConfig {
|
|
|
1098
993
|
}
|
|
1099
994
|
/** The renderer settings a `LottieController` accepts. */
|
|
1100
995
|
type TLottieRendererConfig = ILottieSVGRendererConfig | ILottieCanvasRendererConfig | ILottieHTMLRendererConfig;
|
|
1101
|
-
|
|
1102
|
-
|
|
996
|
+
/**
|
|
997
|
+
* Where a {@link KeyboardController} listens:
|
|
998
|
+
* - `'document'`: while the focus is inside the engine root, or while
|
|
999
|
+
* nothing has focus. With several engines on a page, a press while
|
|
1000
|
+
* nothing has focus runs the actions of one engine only: the engine the
|
|
1001
|
+
* user last clicked or focused inside, otherwise the first one that bound
|
|
1002
|
+
* the key.
|
|
1003
|
+
* - `'element'`: only while the focus is inside the selected element.
|
|
1004
|
+
*/
|
|
1005
|
+
type TKeyboardControllerScope = 'document' | 'element';
|
|
1006
|
+
interface IKeyboardControllerOperationData {
|
|
1007
|
+
/**
|
|
1008
|
+
* @dependency
|
|
1009
|
+
*/
|
|
1010
|
+
selectedElement: JQuery;
|
|
1011
|
+
/**
|
|
1012
|
+
* The keys that run the actions, in hotkeys-js syntax: comma separated
|
|
1013
|
+
* shortcuts such as `'right'`, `'shift+right'` or `'space, enter'`. Key
|
|
1014
|
+
* names are case insensitive. Accepted are the hotkeys-js names (`left`,
|
|
1015
|
+
* `up`, `right`, `down`, `space`, `enter`, `esc`, `tab`, `backspace`,
|
|
1016
|
+
* `del`, `ins`, `home`, `end`, `pageup`, `pagedown`, `f1` to `f19`,
|
|
1017
|
+
* `num_0` to `num_9`), the `KeyboardEvent.key` names of the same keys
|
|
1018
|
+
* (`ArrowLeft`, `ArrowUp`, `ArrowRight`, `ArrowDown`, `Enter`, `Escape`,
|
|
1019
|
+
* `Tab`, `Backspace`, `Delete`, `Insert`, `Home`, `End`, `PageUp`,
|
|
1020
|
+
* `PageDown`, `F1`), a single letter or digit, and the punctuation keys
|
|
1021
|
+
* `,` `.` `/` `;` `'` `[` `]` `-` `=`.
|
|
1022
|
+
* `' '` (the `KeyboardEvent.key` of the space bar) means `space`.
|
|
1023
|
+
* Modifiers: `shift`, `alt` (`option`), `ctrl` (`control`) and `meta`
|
|
1024
|
+
* (`cmd`, `command`).
|
|
1025
|
+
*
|
|
1026
|
+
* @type=ParameterType:string
|
|
1027
|
+
* @required
|
|
1028
|
+
*/
|
|
1029
|
+
keys: string;
|
|
1030
|
+
actions: string[];
|
|
1031
|
+
/**
|
|
1032
|
+
* @type=ParameterType:object
|
|
1033
|
+
*/
|
|
1034
|
+
actionOperationData?: TOperationData;
|
|
1035
|
+
/**
|
|
1036
|
+
* Defaults to `'document'`; see {@link TKeyboardControllerScope}.
|
|
1037
|
+
*/
|
|
1038
|
+
scope?: TKeyboardControllerScope;
|
|
1039
|
+
}
|
|
1040
|
+
/**
|
|
1041
|
+
* This controller runs the given actions when one of the given keys is pressed.
|
|
1042
|
+
*
|
|
1043
|
+
* By default the `start` operations of the specified actions are executed. To execute the `end` operations instead,
|
|
1044
|
+
* prefix the action name with `end:`.
|
|
1045
|
+
*
|
|
1046
|
+
* The actions receive a copy of `actionOperationData` plus `eventTarget` (the focused element, or the body when
|
|
1047
|
+
* nothing has focus) and `eventKey` (the `KeyboardEvent.key`). They run in order, each receiving the operation data
|
|
1048
|
+
* the previous one returned. When an action fails, the remaining actions are skipped and the failure is reported
|
|
1049
|
+
* through the eventbus's `reportError`, or logged with `console.error` when the eventbus has no `reportError`.
|
|
1050
|
+
*
|
|
1051
|
+
* With `scope: 'document'` (the default) the keys work while the focus is inside the engine root, or while nothing
|
|
1052
|
+
* has focus. With `scope: 'element'` they only work while the focus is inside the selected element. Presses in
|
|
1053
|
+
* `input`, `select`, `textarea` and contenteditable elements are ignored, so typing keeps working. A handled press
|
|
1054
|
+
* has its default action prevented (no scrolling for arrow keys and space); a held key runs the actions once, not
|
|
1055
|
+
* again for every key repeat.
|
|
1056
|
+
*
|
|
1057
|
+
* When the keys include the play toggle hotkey of the engine (space by default), or a key that the engine's
|
|
1058
|
+
* KeyboardStepSource binds (the arrow keys, `shift+left`/`shift+right`, `home` and `end`), the controller wins: a
|
|
1059
|
+
* press it handles runs its actions and does not toggle playback or step the timeline. A press it ignores (for
|
|
1060
|
+
* example outside the selected element with `scope: 'element'`) still does.
|
|
1061
|
+
*
|
|
1062
|
+
* The keys are bound in the hotkeys-js `'all'` scope, so they work whatever scope a KeyboardStepSource sets. The
|
|
1063
|
+
* hotkeys-js global `filter` still applies. Detaching removes only this controller's handler.
|
|
1064
|
+
*
|
|
1065
|
+
* @example
|
|
1066
|
+
* ```json
|
|
1067
|
+
* {"systemName": "addControllerToElement", "operationData": {"keys": "ArrowRight", "actions": ["NextChapter"]}}
|
|
1068
|
+
* ```
|
|
1069
|
+
*/
|
|
1070
|
+
declare class KeyboardController$1 implements IController<IKeyboardControllerOperationData> {
|
|
1071
|
+
operationData?: IKeyboardControllerOperationData;
|
|
1072
|
+
actionInstanceInfos?: IControllerAction[];
|
|
1073
|
+
name: string;
|
|
1074
|
+
private _handler;
|
|
1075
|
+
private _leaveRegistry;
|
|
1076
|
+
/** The eventbus passed to attach(), used to report failing actions */
|
|
1077
|
+
private _eventbus;
|
|
1078
|
+
/**
|
|
1079
|
+
* @param operationData - The keys, actions and scope
|
|
1080
|
+
* @throws when `keys` is empty or names a key hotkeys-js can't match, or
|
|
1081
|
+
* when `scope` is not `'document'` or `'element'`
|
|
1082
|
+
*/
|
|
1083
|
+
init(operationData: IKeyboardControllerOperationData): void;
|
|
1084
|
+
/**
|
|
1085
|
+
* Looks up the configured actions and starts listening for the keys.
|
|
1086
|
+
*
|
|
1087
|
+
* @param eventbus - The eventbus to request the actions and the engine root
|
|
1088
|
+
* from
|
|
1089
|
+
* @throws when an action name is unknown (`request-action` throws or
|
|
1090
|
+
* returns nothing); the message names the controller, the action and the
|
|
1091
|
+
* keys, and keeps the responder's "did you mean" hint
|
|
1092
|
+
*/
|
|
1093
|
+
attach(eventbus: IEventbus): void;
|
|
1094
|
+
/**
|
|
1095
|
+
* Removes only the handler this controller bound, so other bindings of the
|
|
1096
|
+
* same keys keep working, and resets the action instances so a later
|
|
1097
|
+
* attach binds again.
|
|
1098
|
+
*/
|
|
1099
|
+
detach(_eventbus: IEventbus): void;
|
|
1100
|
+
private _handleKey;
|
|
1101
|
+
private _trigger;
|
|
1102
|
+
private _requestEngineRoot;
|
|
1103
|
+
/**
|
|
1104
|
+
* @returns The keys with `' '` replaced by `space`
|
|
1105
|
+
* @throws when the keys are empty or name a key hotkeys-js can't match
|
|
1106
|
+
*/
|
|
1107
|
+
private _normalizeKeys;
|
|
1108
|
+
}
|
|
1103
1109
|
/**
|
|
1104
1110
|
* Abstract base class for controllers providing standardized event listener management
|
|
1105
1111
|
*
|
|
@@ -1164,8 +1170,6 @@ declare abstract class BaseController<T extends TOperationData> implements ICont
|
|
|
1164
1170
|
abstract init(operationData: T): void;
|
|
1165
1171
|
abstract attach(eventbus: IEventbus): Promise<any> | void;
|
|
1166
1172
|
}
|
|
1167
|
-
//#endregion
|
|
1168
|
-
//#region src/controllers/label-controller.d.ts
|
|
1169
1173
|
interface ILabelControllerMetadata {
|
|
1170
1174
|
/**
|
|
1171
1175
|
* @dependency
|
|
@@ -1220,8 +1224,6 @@ declare class LabelController$1 extends BaseController<ILabelControllerMetadata>
|
|
|
1220
1224
|
detach(eventbus: IEventbus): void;
|
|
1221
1225
|
private _handleLanguageChange;
|
|
1222
1226
|
}
|
|
1223
|
-
//#endregion
|
|
1224
|
-
//#region src/controllers/lottie-controller.d.ts
|
|
1225
1227
|
interface IInnerMetadata {
|
|
1226
1228
|
/**
|
|
1227
1229
|
* @dependency
|
|
@@ -1342,8 +1344,6 @@ declare class LottieController$1 extends BaseController<ILottieControllerMetadat
|
|
|
1342
1344
|
*/
|
|
1343
1345
|
private _handleLanguageChange;
|
|
1344
1346
|
}
|
|
1345
|
-
//#endregion
|
|
1346
|
-
//#region src/controllers/mutation-observer-controller.d.ts
|
|
1347
1347
|
/**
|
|
1348
1348
|
* Metadata configuration for MutationObserverController
|
|
1349
1349
|
*
|
|
@@ -1497,8 +1497,6 @@ declare class MutationObserverController$1 extends BaseController<IMutationObser
|
|
|
1497
1497
|
*/
|
|
1498
1498
|
private _handleMutations;
|
|
1499
1499
|
}
|
|
1500
|
-
//#endregion
|
|
1501
|
-
//#region src/controllers/navigation-controller.d.ts
|
|
1502
1500
|
interface INavigationControllerOperationData {
|
|
1503
1501
|
/**
|
|
1504
1502
|
* @dependency
|
|
@@ -1599,8 +1597,6 @@ declare class NavigationController$1 extends BaseController<INavigationControlle
|
|
|
1599
1597
|
private _handleTimelineChange;
|
|
1600
1598
|
private _addLabel;
|
|
1601
1599
|
}
|
|
1602
|
-
//#endregion
|
|
1603
|
-
//#region src/controllers/progressbar-controller.d.ts
|
|
1604
1600
|
interface IProgressbarControllerOperationData {
|
|
1605
1601
|
/**
|
|
1606
1602
|
* @dependency
|
|
@@ -1642,8 +1638,6 @@ declare class ProgressbarController$1 extends BaseController<IProgressbarControl
|
|
|
1642
1638
|
private _positionUpdateHandler;
|
|
1643
1639
|
private _clickHandler;
|
|
1644
1640
|
}
|
|
1645
|
-
//#endregion
|
|
1646
|
-
//#region src/controllers/routing-controller.d.ts
|
|
1647
1641
|
interface IRoutingControllerOperationData {
|
|
1648
1642
|
/**
|
|
1649
1643
|
* The navigation json, in the same format as NavigationController's. Give
|
|
@@ -1721,8 +1715,6 @@ declare class RoutingController$1 extends BaseController<IRoutingControllerOpera
|
|
|
1721
1715
|
*/
|
|
1722
1716
|
private _resolveStatePosition;
|
|
1723
1717
|
}
|
|
1724
|
-
//#endregion
|
|
1725
|
-
//#region src/controllers/subtitles-controller.d.ts
|
|
1726
1718
|
interface ISubtitlesControllerOperationData {
|
|
1727
1719
|
/**
|
|
1728
1720
|
* @dependency
|
|
@@ -1819,10 +1811,8 @@ declare class SubtitlesController$1 extends BaseController<ISubtitlesControllerO
|
|
|
1819
1811
|
init(operationData: ISubtitlesControllerOperationData): void;
|
|
1820
1812
|
}
|
|
1821
1813
|
declare namespace index_d_exports$3 {
|
|
1822
|
-
export { DOMEventListenerController$1 as DOMEventListenerController, IDOMEventListenerControllerOperationData, ILabelControllerMetadata, ILottieControllerMetadata, IMutationEventPayload, IMutationObserverControllerMetadata, INavigationControllerOperationData, IProgressbarControllerOperationData, IRoutingControllerOperationData, ISubtitlesControllerOperationData, 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 };
|
|
1814
|
+
export { DOMEventListenerController$1 as DOMEventListenerController, IDOMEventListenerControllerOperationData, IKeyboardControllerOperationData, ILabelControllerMetadata, ILottieControllerMetadata, IMutationEventPayload, IMutationObserverControllerMetadata, INavigationControllerOperationData, IProgressbarControllerOperationData, IRoutingControllerOperationData, ISubtitlesControllerOperationData, KeyboardController$1 as KeyboardController, 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, TKeyboardControllerScope };
|
|
1823
1815
|
}
|
|
1824
|
-
//#endregion
|
|
1825
|
-
//#region src/operation/add-class.d.ts
|
|
1826
1816
|
interface IAddClassOperationData {
|
|
1827
1817
|
/**
|
|
1828
1818
|
* @dependency
|
|
@@ -1835,8 +1825,6 @@ interface IAddClassOperationData {
|
|
|
1835
1825
|
*/
|
|
1836
1826
|
className: string;
|
|
1837
1827
|
}
|
|
1838
|
-
//#endregion
|
|
1839
|
-
//#region src/operation/add-controller-to-element.d.ts
|
|
1840
1828
|
type IAddControllerToElementOperationData<T extends TOperationData = TOperationData> = {
|
|
1841
1829
|
/**
|
|
1842
1830
|
* @dependency
|
|
@@ -1847,8 +1835,6 @@ type IAddControllerToElementOperationData<T extends TOperationData = TOperationD
|
|
|
1847
1835
|
*/
|
|
1848
1836
|
controllerInstance: IController<T>;
|
|
1849
1837
|
} & T;
|
|
1850
|
-
//#endregion
|
|
1851
|
-
//#region src/operation/add-globals-to-operation.d.ts
|
|
1852
1838
|
interface IAddGlobalsToOperationData {
|
|
1853
1839
|
/**
|
|
1854
1840
|
* The names of the global properties that will be copied onto the current operation data
|
|
@@ -1858,8 +1844,6 @@ interface IAddGlobalsToOperationData {
|
|
|
1858
1844
|
*/
|
|
1859
1845
|
globalProperties: string[];
|
|
1860
1846
|
}
|
|
1861
|
-
//#endregion
|
|
1862
|
-
//#region src/operation/animate.d.ts
|
|
1863
1847
|
interface IAnimateOperationData {
|
|
1864
1848
|
/**
|
|
1865
1849
|
* @type=ParameterType:string
|
|
@@ -1882,8 +1866,6 @@ interface IAnimateOperationData {
|
|
|
1882
1866
|
*/
|
|
1883
1867
|
animationDuration: JQuery.Duration;
|
|
1884
1868
|
}
|
|
1885
|
-
//#endregion
|
|
1886
|
-
//#region src/operation/animate-with-class.d.ts
|
|
1887
1869
|
interface IAnimateWithClassOperationData {
|
|
1888
1870
|
/**
|
|
1889
1871
|
* @dependency
|
|
@@ -1910,8 +1892,6 @@ interface IAnimateWithClassOperationData {
|
|
|
1910
1892
|
*/
|
|
1911
1893
|
includeDescendants?: boolean;
|
|
1912
1894
|
}
|
|
1913
|
-
//#endregion
|
|
1914
|
-
//#region src/operation/announce-to-screen-reader.d.ts
|
|
1915
1895
|
interface IAnnounceToScreenReaderOperationData {
|
|
1916
1896
|
/**
|
|
1917
1897
|
* @required
|
|
@@ -1924,8 +1904,6 @@ interface IAnnounceToScreenReaderOperationData {
|
|
|
1924
1904
|
*/
|
|
1925
1905
|
priority?: 'polite' | 'assertive';
|
|
1926
1906
|
}
|
|
1927
|
-
//#endregion
|
|
1928
|
-
//#region src/operation/broadcast-event.d.ts
|
|
1929
1907
|
interface IBroadcastEventOperationData {
|
|
1930
1908
|
/**
|
|
1931
1909
|
* @required
|
|
@@ -1944,8 +1922,6 @@ interface IBroadcastEventOperationData {
|
|
|
1944
1922
|
*/
|
|
1945
1923
|
eventName: string;
|
|
1946
1924
|
}
|
|
1947
|
-
//#endregion
|
|
1948
|
-
//#region src/operation/calc.d.ts
|
|
1949
1925
|
type TCalculationOperator = '+' | '-' | '*' | '/' | '%' | '**';
|
|
1950
1926
|
interface ICalcOperationData {
|
|
1951
1927
|
/**
|
|
@@ -1972,24 +1948,18 @@ interface ICalcOperationData {
|
|
|
1972
1948
|
*/
|
|
1973
1949
|
calculationResult?: number;
|
|
1974
1950
|
}
|
|
1975
|
-
//#endregion
|
|
1976
|
-
//#region src/operation/clear-element.d.ts
|
|
1977
1951
|
interface IClearElementOperationData {
|
|
1978
1952
|
/**
|
|
1979
1953
|
* @dependency
|
|
1980
1954
|
*/
|
|
1981
1955
|
selectedElement: JQuery;
|
|
1982
1956
|
}
|
|
1983
|
-
//#endregion
|
|
1984
|
-
//#region src/operation/clear-operation-data.d.ts
|
|
1985
1957
|
interface IClearOperationDataOperationData {
|
|
1986
1958
|
/**
|
|
1987
1959
|
* @erased
|
|
1988
1960
|
*/
|
|
1989
1961
|
properties?: string[];
|
|
1990
1962
|
}
|
|
1991
|
-
//#endregion
|
|
1992
|
-
//#region src/operation/clear-storage.d.ts
|
|
1993
1963
|
type StorageType$2 = 'local' | 'session';
|
|
1994
1964
|
interface IClearStorageOperationData {
|
|
1995
1965
|
/**
|
|
@@ -2003,8 +1973,6 @@ interface IClearStorageOperationData {
|
|
|
2003
1973
|
*/
|
|
2004
1974
|
storageType: StorageType$2;
|
|
2005
1975
|
}
|
|
2006
|
-
//#endregion
|
|
2007
|
-
//#region src/operation/compare-date.d.ts
|
|
2008
1976
|
interface ICompareDateOperationData {
|
|
2009
1977
|
/**
|
|
2010
1978
|
* @required
|
|
@@ -2033,8 +2001,6 @@ interface ICompareDateOperationData {
|
|
|
2033
2001
|
*/
|
|
2034
2002
|
isAfter?: boolean;
|
|
2035
2003
|
}
|
|
2036
|
-
//#endregion
|
|
2037
|
-
//#region src/operation/concatenate-strings.d.ts
|
|
2038
2004
|
interface IConcatenateStringsOperationData {
|
|
2039
2005
|
/**
|
|
2040
2006
|
* @required
|
|
@@ -2051,8 +2017,6 @@ interface IConcatenateStringsOperationData {
|
|
|
2051
2017
|
*/
|
|
2052
2018
|
result?: string;
|
|
2053
2019
|
}
|
|
2054
|
-
//#endregion
|
|
2055
|
-
//#region src/operation/create-element.d.ts
|
|
2056
2020
|
type TTagNames = keyof HTMLElementTagNameMap;
|
|
2057
2021
|
interface ICreateElementOperationData<T extends TTagNames> {
|
|
2058
2022
|
/**
|
|
@@ -2076,8 +2040,6 @@ interface ICreateElementOperationData<T extends TTagNames> {
|
|
|
2076
2040
|
*/
|
|
2077
2041
|
template?: JQuery;
|
|
2078
2042
|
}
|
|
2079
|
-
//#endregion
|
|
2080
|
-
//#region src/operation/custom-function.d.ts
|
|
2081
2043
|
interface ICustomFunctionOperationData {
|
|
2082
2044
|
/**
|
|
2083
2045
|
* @type=ParameterType:systemName
|
|
@@ -2086,8 +2048,6 @@ interface ICustomFunctionOperationData {
|
|
|
2086
2048
|
*/
|
|
2087
2049
|
systemName: string;
|
|
2088
2050
|
}
|
|
2089
|
-
//#endregion
|
|
2090
|
-
//#region src/operation/end-action.d.ts
|
|
2091
2051
|
interface IEndActionOperationData {
|
|
2092
2052
|
/**
|
|
2093
2053
|
* @dependency
|
|
@@ -2099,8 +2059,6 @@ interface IEndActionOperationData {
|
|
|
2099
2059
|
*/
|
|
2100
2060
|
actionOperationData?: Record<string, unknown>;
|
|
2101
2061
|
}
|
|
2102
|
-
//#endregion
|
|
2103
|
-
//#region src/operation/extend-controller.d.ts
|
|
2104
2062
|
/**
|
|
2105
2063
|
* This operation extends the specified controller instance with the specified extension.
|
|
2106
2064
|
*/
|
|
@@ -2115,8 +2073,6 @@ interface IExtendControllerOperationData {
|
|
|
2115
2073
|
*/
|
|
2116
2074
|
controllerExtension: Record<PropertyKey, unknown>;
|
|
2117
2075
|
}
|
|
2118
|
-
//#endregion
|
|
2119
|
-
//#region src/operation/filter-array.d.ts
|
|
2120
2076
|
interface IFilterArrayOperationData {
|
|
2121
2077
|
/**
|
|
2122
2078
|
* @dependency
|
|
@@ -2142,8 +2098,6 @@ interface IFilterArrayOperationData {
|
|
|
2142
2098
|
*/
|
|
2143
2099
|
filteredArray?: any[];
|
|
2144
2100
|
}
|
|
2145
|
-
//#endregion
|
|
2146
|
-
//#region src/operation/find-in-array.d.ts
|
|
2147
2101
|
interface IFindInArrayOperationData {
|
|
2148
2102
|
/**
|
|
2149
2103
|
* @dependency
|
|
@@ -2173,8 +2127,6 @@ interface IFindInArrayOperationData {
|
|
|
2173
2127
|
*/
|
|
2174
2128
|
foundIndex?: number;
|
|
2175
2129
|
}
|
|
2176
|
-
//#endregion
|
|
2177
|
-
//#region src/operation/for-each.d.ts
|
|
2178
2130
|
interface IForEachOperationData {
|
|
2179
2131
|
/**
|
|
2180
2132
|
* @type=ParameterType:array|ParameterType:string
|
|
@@ -2182,8 +2134,6 @@ interface IForEachOperationData {
|
|
|
2182
2134
|
*/
|
|
2183
2135
|
collection: unknown[] | string;
|
|
2184
2136
|
}
|
|
2185
|
-
//#endregion
|
|
2186
|
-
//#region src/operation/format-date.d.ts
|
|
2187
2137
|
interface IFormatDateOperationData {
|
|
2188
2138
|
/**
|
|
2189
2139
|
* @dependency
|
|
@@ -2199,8 +2149,6 @@ interface IFormatDateOperationData {
|
|
|
2199
2149
|
*/
|
|
2200
2150
|
formattedDate?: string;
|
|
2201
2151
|
}
|
|
2202
|
-
//#endregion
|
|
2203
|
-
//#region src/operation/format-text.d.ts
|
|
2204
2152
|
type TextTransformation = 'uppercase' | 'lowercase' | 'capitalize' | 'titlecase' | 'trim';
|
|
2205
2153
|
interface IFormatTextOperationData {
|
|
2206
2154
|
/**
|
|
@@ -2217,8 +2165,6 @@ interface IFormatTextOperationData {
|
|
|
2217
2165
|
*/
|
|
2218
2166
|
formattedText?: string;
|
|
2219
2167
|
}
|
|
2220
|
-
//#endregion
|
|
2221
|
-
//#region src/operation/get-attributes-from-element.d.ts
|
|
2222
2168
|
interface IGetAttributesFromElementOperationData {
|
|
2223
2169
|
/**
|
|
2224
2170
|
* The HTML element whose attributes will be retrieved
|
|
@@ -2237,8 +2183,6 @@ interface IGetAttributesFromElementOperationData {
|
|
|
2237
2183
|
*/
|
|
2238
2184
|
attributeValues?: Record<string, unknown>;
|
|
2239
2185
|
}
|
|
2240
|
-
//#endregion
|
|
2241
|
-
//#region src/operation/get-controller-from-element.d.ts
|
|
2242
2186
|
interface IGetControllerFromElementOperationData {
|
|
2243
2187
|
/**
|
|
2244
2188
|
* @dependency
|
|
@@ -2256,8 +2200,6 @@ interface IGetControllerFromElementOperationData {
|
|
|
2256
2200
|
*/
|
|
2257
2201
|
controllerInstance?: IController<any>;
|
|
2258
2202
|
}
|
|
2259
|
-
//#endregion
|
|
2260
|
-
//#region src/operation/get-controller-instance.d.ts
|
|
2261
2203
|
type TSystemName = keyof typeof index_d_exports$3;
|
|
2262
2204
|
interface IGetControllerInstanceOperationData {
|
|
2263
2205
|
/**
|
|
@@ -2275,8 +2217,6 @@ interface IGetControllerInstanceOperationData {
|
|
|
2275
2217
|
*/
|
|
2276
2218
|
controllerInstance?: IController<TOperationData>;
|
|
2277
2219
|
}
|
|
2278
|
-
//#endregion
|
|
2279
|
-
//#region src/operation/get-current-time.d.ts
|
|
2280
2220
|
interface IGetCurrentTimeOperationData {
|
|
2281
2221
|
/**
|
|
2282
2222
|
* @output
|
|
@@ -2287,8 +2227,6 @@ interface IGetCurrentTimeOperationData {
|
|
|
2287
2227
|
*/
|
|
2288
2228
|
date?: Date;
|
|
2289
2229
|
}
|
|
2290
|
-
//#endregion
|
|
2291
|
-
//#region src/operation/get-element-dimensions.d.ts
|
|
2292
2230
|
interface IGetElementDimensionsOperationData {
|
|
2293
2231
|
/**
|
|
2294
2232
|
* @dependency
|
|
@@ -2308,8 +2246,6 @@ interface IGetElementDimensionsOperationData {
|
|
|
2308
2246
|
height?: number;
|
|
2309
2247
|
};
|
|
2310
2248
|
}
|
|
2311
|
-
//#endregion
|
|
2312
|
-
//#region src/operation/get-focused-element.d.ts
|
|
2313
2249
|
interface IGetFocusedElementOperationData {
|
|
2314
2250
|
/**
|
|
2315
2251
|
* @type=ParameterType:jQuery
|
|
@@ -2317,8 +2253,6 @@ interface IGetFocusedElementOperationData {
|
|
|
2317
2253
|
*/
|
|
2318
2254
|
focusedElement?: JQuery;
|
|
2319
2255
|
}
|
|
2320
|
-
//#endregion
|
|
2321
|
-
//#region src/operation/get-form-data.d.ts
|
|
2322
2256
|
interface IGetFormDataOperationData {
|
|
2323
2257
|
/**
|
|
2324
2258
|
* @dependency
|
|
@@ -2330,8 +2264,6 @@ interface IGetFormDataOperationData {
|
|
|
2330
2264
|
*/
|
|
2331
2265
|
formData?: Record<string, any>;
|
|
2332
2266
|
}
|
|
2333
|
-
//#endregion
|
|
2334
|
-
//#region src/operation/get-import.d.ts
|
|
2335
2267
|
interface IGetImportOperationData {
|
|
2336
2268
|
/**
|
|
2337
2269
|
* @type=ParameterType:systemName
|
|
@@ -2344,8 +2276,6 @@ interface IGetImportOperationData {
|
|
|
2344
2276
|
*/
|
|
2345
2277
|
importedInstance?: unknown;
|
|
2346
2278
|
}
|
|
2347
|
-
//#endregion
|
|
2348
|
-
//#region src/operation/get-query-params.d.ts
|
|
2349
2279
|
interface IGetQueryParamsOperationData {
|
|
2350
2280
|
/**
|
|
2351
2281
|
* The query params will be added as property/values to this object.
|
|
@@ -2369,8 +2299,6 @@ interface IGetQueryParamsOperationData {
|
|
|
2369
2299
|
*/
|
|
2370
2300
|
defaultValues?: Record<string, string>;
|
|
2371
2301
|
}
|
|
2372
|
-
//#endregion
|
|
2373
|
-
//#region src/operation/get-scroll-position.d.ts
|
|
2374
2302
|
interface IGetScrollPositionOperationData {
|
|
2375
2303
|
/**
|
|
2376
2304
|
* @output
|
|
@@ -2381,8 +2309,6 @@ interface IGetScrollPositionOperationData {
|
|
|
2381
2309
|
*/
|
|
2382
2310
|
scrollY?: number;
|
|
2383
2311
|
}
|
|
2384
|
-
//#endregion
|
|
2385
|
-
//#region src/operation/get-text-content.d.ts
|
|
2386
2312
|
interface IGetTextContentOperationData {
|
|
2387
2313
|
/**
|
|
2388
2314
|
* @dependency
|
|
@@ -2393,8 +2319,6 @@ interface IGetTextContentOperationData {
|
|
|
2393
2319
|
*/
|
|
2394
2320
|
textContent?: string;
|
|
2395
2321
|
}
|
|
2396
|
-
//#endregion
|
|
2397
|
-
//#region src/operation/http-delete.d.ts
|
|
2398
2322
|
interface IHttpDeleteOperationData {
|
|
2399
2323
|
/**
|
|
2400
2324
|
* @required
|
|
@@ -2415,8 +2339,6 @@ interface IHttpDeleteOperationData {
|
|
|
2415
2339
|
*/
|
|
2416
2340
|
status?: number;
|
|
2417
2341
|
}
|
|
2418
|
-
//#endregion
|
|
2419
|
-
//#region src/operation/http-post.d.ts
|
|
2420
2342
|
interface IHttpPostOperationData {
|
|
2421
2343
|
/**
|
|
2422
2344
|
* @required
|
|
@@ -2442,8 +2364,6 @@ interface IHttpPostOperationData {
|
|
|
2442
2364
|
*/
|
|
2443
2365
|
status?: number;
|
|
2444
2366
|
}
|
|
2445
|
-
//#endregion
|
|
2446
|
-
//#region src/operation/http-put.d.ts
|
|
2447
2367
|
interface IHttpPutOperationData {
|
|
2448
2368
|
/**
|
|
2449
2369
|
* @required
|
|
@@ -2469,8 +2389,6 @@ interface IHttpPutOperationData {
|
|
|
2469
2389
|
*/
|
|
2470
2390
|
status?: number;
|
|
2471
2391
|
}
|
|
2472
|
-
//#endregion
|
|
2473
|
-
//#region src/operation/invoke-object-method.d.ts
|
|
2474
2392
|
interface IInvokeObjectMethodOperationData {
|
|
2475
2393
|
/**
|
|
2476
2394
|
*
|
|
@@ -2496,8 +2414,6 @@ interface IInvokeObjectMethodOperationData {
|
|
|
2496
2414
|
*/
|
|
2497
2415
|
methodResult?: unknown;
|
|
2498
2416
|
}
|
|
2499
|
-
//#endregion
|
|
2500
|
-
//#region src/operation/is-element-in-viewport.d.ts
|
|
2501
2417
|
interface IIsElementInViewportOperationData {
|
|
2502
2418
|
/**
|
|
2503
2419
|
* @dependency
|
|
@@ -2508,8 +2424,6 @@ interface IIsElementInViewportOperationData {
|
|
|
2508
2424
|
*/
|
|
2509
2425
|
isInViewport?: boolean;
|
|
2510
2426
|
}
|
|
2511
|
-
//#endregion
|
|
2512
|
-
//#region src/operation/load-from-storage.d.ts
|
|
2513
2427
|
type StorageType$1 = 'local' | 'session';
|
|
2514
2428
|
interface ILoadFromStorageOperationData {
|
|
2515
2429
|
/**
|
|
@@ -2527,8 +2441,6 @@ interface ILoadFromStorageOperationData {
|
|
|
2527
2441
|
*/
|
|
2528
2442
|
loadedValue?: any;
|
|
2529
2443
|
}
|
|
2530
|
-
//#endregion
|
|
2531
|
-
//#region src/operation/load-json.d.ts
|
|
2532
2444
|
interface ILoadJSONOperationData {
|
|
2533
2445
|
/**
|
|
2534
2446
|
* The URL where the JSON will be retrieved from
|
|
@@ -2547,8 +2459,6 @@ interface ILoadJSONOperationData {
|
|
|
2547
2459
|
*/
|
|
2548
2460
|
json?: any;
|
|
2549
2461
|
}
|
|
2550
|
-
//#endregion
|
|
2551
|
-
//#region src/operation/log.d.ts
|
|
2552
2462
|
interface ILogOperationData {
|
|
2553
2463
|
/**
|
|
2554
2464
|
* @type=ParameterType:object|ParameterType:string|ParameterType:number|ParameterType:boolean|ParameterType:array
|
|
@@ -2560,8 +2470,6 @@ interface ILogOperationData {
|
|
|
2560
2470
|
*/
|
|
2561
2471
|
logName?: string;
|
|
2562
2472
|
}
|
|
2563
|
-
//#endregion
|
|
2564
|
-
//#region src/operation/map-array.d.ts
|
|
2565
2473
|
interface IMapArrayOperationData {
|
|
2566
2474
|
/**
|
|
2567
2475
|
* @dependency
|
|
@@ -2577,8 +2485,6 @@ interface IMapArrayOperationData {
|
|
|
2577
2485
|
*/
|
|
2578
2486
|
mappedArray?: any[];
|
|
2579
2487
|
}
|
|
2580
|
-
//#endregion
|
|
2581
|
-
//#region src/operation/math.d.ts
|
|
2582
2488
|
type MathFunctionKeys = { [K in keyof Math]: Math[K] extends ((...args: any) => any) ? K : never; }[keyof Math];
|
|
2583
2489
|
type MathNonFunctionKeys = { [K in keyof Math]: Math[K] extends ((...args: any) => any) ? never : K; }[keyof Math];
|
|
2584
2490
|
interface IMathOperationData {
|
|
@@ -2599,8 +2505,6 @@ interface IMathOperationData {
|
|
|
2599
2505
|
*/
|
|
2600
2506
|
mathResult?: number;
|
|
2601
2507
|
}
|
|
2602
|
-
//#endregion
|
|
2603
|
-
//#region src/operation/remove-class.d.ts
|
|
2604
2508
|
interface IRemoveClassOperationData {
|
|
2605
2509
|
/**
|
|
2606
2510
|
* @dependency
|
|
@@ -2613,8 +2517,6 @@ interface IRemoveClassOperationData {
|
|
|
2613
2517
|
*/
|
|
2614
2518
|
className: string;
|
|
2615
2519
|
}
|
|
2616
|
-
//#endregion
|
|
2617
|
-
//#region src/operation/remove-controller-from-element.d.ts
|
|
2618
2520
|
interface IRemoveControllerFromElementOperationData {
|
|
2619
2521
|
/**
|
|
2620
2522
|
* @dependency
|
|
@@ -2627,16 +2529,12 @@ interface IRemoveControllerFromElementOperationData {
|
|
|
2627
2529
|
*/
|
|
2628
2530
|
controllerName: string;
|
|
2629
2531
|
}
|
|
2630
|
-
//#endregion
|
|
2631
|
-
//#region src/operation/remove-element.d.ts
|
|
2632
2532
|
interface IRemoveElementOperationData {
|
|
2633
2533
|
/**
|
|
2634
2534
|
* @dependency
|
|
2635
2535
|
*/
|
|
2636
2536
|
selectedElement: JQuery;
|
|
2637
2537
|
}
|
|
2638
|
-
//#endregion
|
|
2639
|
-
//#region src/operation/remove-properties-from-operation-data.d.ts
|
|
2640
2538
|
interface IRemovePropertiesFromOperationDataOperationData {
|
|
2641
2539
|
/**
|
|
2642
2540
|
* @required
|
|
@@ -2644,8 +2542,6 @@ interface IRemovePropertiesFromOperationDataOperationData {
|
|
|
2644
2542
|
*/
|
|
2645
2543
|
propertyNames: string[];
|
|
2646
2544
|
}
|
|
2647
|
-
//#endregion
|
|
2648
|
-
//#region src/operation/reparent-element.d.ts
|
|
2649
2545
|
interface IReparentElementOperationData {
|
|
2650
2546
|
/**
|
|
2651
2547
|
* @dependency
|
|
@@ -2658,8 +2554,6 @@ interface IReparentElementOperationData {
|
|
|
2658
2554
|
*/
|
|
2659
2555
|
newParentSelector: string;
|
|
2660
2556
|
}
|
|
2661
|
-
//#endregion
|
|
2662
|
-
//#region src/operation/replace-string.d.ts
|
|
2663
2557
|
interface IReplaceStringOperationData {
|
|
2664
2558
|
/**
|
|
2665
2559
|
* @dependency
|
|
@@ -2680,8 +2574,6 @@ interface IReplaceStringOperationData {
|
|
|
2680
2574
|
*/
|
|
2681
2575
|
result?: string;
|
|
2682
2576
|
}
|
|
2683
|
-
//#endregion
|
|
2684
|
-
//#region src/operation/replace-text.d.ts
|
|
2685
2577
|
interface IReplaceTextOperationData {
|
|
2686
2578
|
/**
|
|
2687
2579
|
* @dependency
|
|
@@ -2702,8 +2594,6 @@ interface IReplaceTextOperationData {
|
|
|
2702
2594
|
*/
|
|
2703
2595
|
replacementCount?: number;
|
|
2704
2596
|
}
|
|
2705
|
-
//#endregion
|
|
2706
|
-
//#region src/operation/request-action.d.ts
|
|
2707
2597
|
interface IRequestActionOperationData {
|
|
2708
2598
|
/**
|
|
2709
2599
|
* @type=ParameterType:actionName
|
|
@@ -2717,8 +2607,6 @@ interface IRequestActionOperationData {
|
|
|
2717
2607
|
*/
|
|
2718
2608
|
actionInstance?: IAction;
|
|
2719
2609
|
}
|
|
2720
|
-
//#endregion
|
|
2721
|
-
//#region src/operation/save-to-storage.d.ts
|
|
2722
2610
|
type StorageType = 'local' | 'session';
|
|
2723
2611
|
interface ISaveToStorageOperationData {
|
|
2724
2612
|
/**
|
|
@@ -2737,8 +2625,6 @@ interface ISaveToStorageOperationData {
|
|
|
2737
2625
|
*/
|
|
2738
2626
|
storageType: StorageType;
|
|
2739
2627
|
}
|
|
2740
|
-
//#endregion
|
|
2741
|
-
//#region src/operation/scroll-to-element.d.ts
|
|
2742
2628
|
type ScrollBehavior$1 = 'auto' | 'smooth';
|
|
2743
2629
|
type ScrollLogicalPosition = 'start' | 'center' | 'end' | 'nearest';
|
|
2744
2630
|
interface IScrollToElementOperationData {
|
|
@@ -2762,8 +2648,6 @@ interface IScrollToElementOperationData {
|
|
|
2762
2648
|
*/
|
|
2763
2649
|
inline?: ScrollLogicalPosition;
|
|
2764
2650
|
}
|
|
2765
|
-
//#endregion
|
|
2766
|
-
//#region src/operation/scroll-to-position.d.ts
|
|
2767
2651
|
type ScrollBehavior = 'auto' | 'smooth';
|
|
2768
2652
|
interface IScrollToPositionOperationData {
|
|
2769
2653
|
/**
|
|
@@ -2782,8 +2666,6 @@ interface IScrollToPositionOperationData {
|
|
|
2782
2666
|
*/
|
|
2783
2667
|
behavior?: ScrollBehavior;
|
|
2784
2668
|
}
|
|
2785
|
-
//#endregion
|
|
2786
|
-
//#region src/operation/select-element.d.ts
|
|
2787
2669
|
interface ISelectElementOperationData {
|
|
2788
2670
|
/**
|
|
2789
2671
|
* @type=ParameterType:selector
|
|
@@ -2801,8 +2683,6 @@ interface ISelectElementOperationData {
|
|
|
2801
2683
|
*/
|
|
2802
2684
|
selectedElement?: JQuery;
|
|
2803
2685
|
}
|
|
2804
|
-
//#endregion
|
|
2805
|
-
//#region src/operation/set-data.d.ts
|
|
2806
2686
|
type TDataTarget = `$scope.${string}` | `$operationdata.${string}` | `$globaldata.${string}`;
|
|
2807
2687
|
interface ISetDataOperationData {
|
|
2808
2688
|
/**
|
|
@@ -2811,8 +2691,6 @@ interface ISetDataOperationData {
|
|
|
2811
2691
|
*/
|
|
2812
2692
|
properties: Record<TDataTarget, any>;
|
|
2813
2693
|
}
|
|
2814
|
-
//#endregion
|
|
2815
|
-
//#region src/operation/set-element-attributes.d.ts
|
|
2816
2694
|
interface ISetElementAttributesOperationData {
|
|
2817
2695
|
/**
|
|
2818
2696
|
* @required
|
|
@@ -2824,8 +2702,6 @@ interface ISetElementAttributesOperationData {
|
|
|
2824
2702
|
*/
|
|
2825
2703
|
selectedElement: JQuery;
|
|
2826
2704
|
}
|
|
2827
|
-
//#endregion
|
|
2828
|
-
//#region src/operation/set-element-content.d.ts
|
|
2829
2705
|
interface ISetElementContentOperationData {
|
|
2830
2706
|
/**
|
|
2831
2707
|
* @dependency
|
|
@@ -2848,16 +2724,12 @@ interface ISetElementContentOperationData {
|
|
|
2848
2724
|
*/
|
|
2849
2725
|
insertionType?: 'overwrite' | 'append' | 'prepend';
|
|
2850
2726
|
}
|
|
2851
|
-
//#endregion
|
|
2852
|
-
//#region src/operation/set-focus.d.ts
|
|
2853
2727
|
interface ISetFocusOperationData {
|
|
2854
2728
|
/**
|
|
2855
2729
|
* @dependency
|
|
2856
2730
|
*/
|
|
2857
2731
|
selectedElement: JQuery;
|
|
2858
2732
|
}
|
|
2859
|
-
//#endregion
|
|
2860
|
-
//#region src/operation/set-form-value.d.ts
|
|
2861
2733
|
interface ISetFormValueOperationData {
|
|
2862
2734
|
/**
|
|
2863
2735
|
* @dependency
|
|
@@ -2869,8 +2741,6 @@ interface ISetFormValueOperationData {
|
|
|
2869
2741
|
*/
|
|
2870
2742
|
value: string | number | boolean;
|
|
2871
2743
|
}
|
|
2872
|
-
//#endregion
|
|
2873
|
-
//#region src/operation/set-global-data.d.ts
|
|
2874
2744
|
interface ISetGlobalDataOperationData {
|
|
2875
2745
|
/**
|
|
2876
2746
|
* @required
|
|
@@ -2878,8 +2748,6 @@ interface ISetGlobalDataOperationData {
|
|
|
2878
2748
|
*/
|
|
2879
2749
|
propertyNames: string[];
|
|
2880
2750
|
}
|
|
2881
|
-
//#endregion
|
|
2882
|
-
//#region src/operation/set-operation-data.d.ts
|
|
2883
2751
|
interface ISetOperationData {
|
|
2884
2752
|
/**
|
|
2885
2753
|
* If set to true, the plucked properties replace the current operation data.
|
|
@@ -2892,8 +2760,6 @@ interface ISetOperationData {
|
|
|
2892
2760
|
*/
|
|
2893
2761
|
properties: Record<string, any>;
|
|
2894
2762
|
}
|
|
2895
|
-
//#endregion
|
|
2896
|
-
//#region src/operation/set-style.d.ts
|
|
2897
2763
|
interface ISetStyleOperationData {
|
|
2898
2764
|
/**
|
|
2899
2765
|
* @type=ParameterType:cssProperties
|
|
@@ -2906,8 +2772,6 @@ interface ISetStyleOperationData {
|
|
|
2906
2772
|
*/
|
|
2907
2773
|
selectedElement: JQuery;
|
|
2908
2774
|
}
|
|
2909
|
-
//#endregion
|
|
2910
|
-
//#region src/operation/set-variable.d.ts
|
|
2911
2775
|
interface ISetVariableOperationData {
|
|
2912
2776
|
/**
|
|
2913
2777
|
* @required
|
|
@@ -2921,8 +2785,6 @@ interface ISetVariableOperationData {
|
|
|
2921
2785
|
*/
|
|
2922
2786
|
value: any;
|
|
2923
2787
|
}
|
|
2924
|
-
//#endregion
|
|
2925
|
-
//#region src/operation/sort-array.d.ts
|
|
2926
2788
|
type SortOrder = 'asc' | 'desc';
|
|
2927
2789
|
interface ISortArrayOperationData {
|
|
2928
2790
|
/**
|
|
@@ -2949,8 +2811,6 @@ interface ISortArrayOperationData {
|
|
|
2949
2811
|
*/
|
|
2950
2812
|
sortedArray?: any[];
|
|
2951
2813
|
}
|
|
2952
|
-
//#endregion
|
|
2953
|
-
//#region src/operation/split-string.d.ts
|
|
2954
2814
|
interface ISplitStringOperationData {
|
|
2955
2815
|
/**
|
|
2956
2816
|
* @dependency
|
|
@@ -2971,8 +2831,6 @@ interface ISplitStringOperationData {
|
|
|
2971
2831
|
*/
|
|
2972
2832
|
resultArray?: string[];
|
|
2973
2833
|
}
|
|
2974
|
-
//#endregion
|
|
2975
|
-
//#region src/operation/start-action.d.ts
|
|
2976
2834
|
interface IStartActionOperationData {
|
|
2977
2835
|
/**
|
|
2978
2836
|
* @dependency
|
|
@@ -2984,8 +2842,6 @@ interface IStartActionOperationData {
|
|
|
2984
2842
|
*/
|
|
2985
2843
|
actionOperationData?: TOperationData;
|
|
2986
2844
|
}
|
|
2987
|
-
//#endregion
|
|
2988
|
-
//#region src/operation/substring-text.d.ts
|
|
2989
2845
|
interface ISubstringTextOperationData {
|
|
2990
2846
|
/**
|
|
2991
2847
|
* @dependency
|
|
@@ -3006,8 +2862,6 @@ interface ISubstringTextOperationData {
|
|
|
3006
2862
|
*/
|
|
3007
2863
|
substring?: string;
|
|
3008
2864
|
}
|
|
3009
|
-
//#endregion
|
|
3010
|
-
//#region src/operation/toggle-class.d.ts
|
|
3011
2865
|
interface IToggleClassOperationData {
|
|
3012
2866
|
/**
|
|
3013
2867
|
* The element on which the class will be toggled
|
|
@@ -3022,8 +2876,6 @@ interface IToggleClassOperationData {
|
|
|
3022
2876
|
*/
|
|
3023
2877
|
className: string;
|
|
3024
2878
|
}
|
|
3025
|
-
//#endregion
|
|
3026
|
-
//#region src/operation/toggle-element.d.ts
|
|
3027
2879
|
interface IToggleElementOperationData {
|
|
3028
2880
|
/**
|
|
3029
2881
|
* The element whose visibility will be toggled
|
|
@@ -3031,8 +2883,6 @@ interface IToggleElementOperationData {
|
|
|
3031
2883
|
*/
|
|
3032
2884
|
selectedElement: JQuery;
|
|
3033
2885
|
}
|
|
3034
|
-
//#endregion
|
|
3035
|
-
//#region src/operation/toggle-form-element.d.ts
|
|
3036
2886
|
interface IToggleFormElementOperationData {
|
|
3037
2887
|
/**
|
|
3038
2888
|
* @dependency
|
|
@@ -3044,8 +2894,6 @@ interface IToggleFormElementOperationData {
|
|
|
3044
2894
|
*/
|
|
3045
2895
|
enabled: boolean;
|
|
3046
2896
|
}
|
|
3047
|
-
//#endregion
|
|
3048
|
-
//#region src/operation/validate-form.d.ts
|
|
3049
2897
|
interface IValidationRules {
|
|
3050
2898
|
required?: boolean;
|
|
3051
2899
|
minLength?: number;
|
|
@@ -3072,8 +2920,6 @@ interface IValidateFormOperationData {
|
|
|
3072
2920
|
*/
|
|
3073
2921
|
isValid?: boolean;
|
|
3074
2922
|
}
|
|
3075
|
-
//#endregion
|
|
3076
|
-
//#region src/operation/wait.d.ts
|
|
3077
2923
|
interface IWaitOperationData {
|
|
3078
2924
|
/**
|
|
3079
2925
|
* The amount of milliseconds the operation will wait for.
|
|
@@ -3082,8 +2928,6 @@ interface IWaitOperationData {
|
|
|
3082
2928
|
*/
|
|
3083
2929
|
milliseconds: number;
|
|
3084
2930
|
}
|
|
3085
|
-
//#endregion
|
|
3086
|
-
//#region src/operation/when.d.ts
|
|
3087
2931
|
/**
|
|
3088
2932
|
* A condition expression, see {@link when} for the grammar.
|
|
3089
2933
|
*/
|
|
@@ -3096,16 +2940,12 @@ interface IWhenOperationData {
|
|
|
3096
2940
|
*/
|
|
3097
2941
|
expression: TExpression;
|
|
3098
2942
|
}
|
|
3099
|
-
//#endregion
|
|
3100
|
-
//#region src/configuration/types.d.ts
|
|
3101
2943
|
interface IResolvedOperation {
|
|
3102
2944
|
id: string;
|
|
3103
2945
|
systemName: string;
|
|
3104
2946
|
operationData: TOperationData;
|
|
3105
2947
|
instance: TOperation<any>;
|
|
3106
2948
|
}
|
|
3107
|
-
//#endregion
|
|
3108
|
-
//#region src/action/types.d.ts
|
|
3109
2949
|
interface IAction {
|
|
3110
2950
|
id: string;
|
|
3111
2951
|
name: string;
|
|
@@ -3116,9 +2956,14 @@ interface IEndableAction extends IAction {
|
|
|
3116
2956
|
endOperations: IResolvedOperation[];
|
|
3117
2957
|
end(initOperationData?: TOperationData): Promise<TOperationData>;
|
|
3118
2958
|
}
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
2959
|
+
/**
|
|
2960
|
+
* Helpers shared by the controllers that run configured actions in response
|
|
2961
|
+
* to an input (`DOMEventListenerController`, `KeyboardController`).
|
|
2962
|
+
*/
|
|
2963
|
+
/**
|
|
2964
|
+
* An action to run, and whether its `start` (or `end`) operations run.
|
|
2965
|
+
*/
|
|
2966
|
+
interface IControllerAction {
|
|
3122
2967
|
start: boolean;
|
|
3123
2968
|
action: IEndableAction;
|
|
3124
2969
|
}
|
|
@@ -3145,14 +2990,16 @@ interface IDOMEventListenerControllerOperationData {
|
|
|
3145
2990
|
* By default the `start` operations of the specified actions are executed. To execute the `end` operations instead,
|
|
3146
2991
|
* prefix the action name with `end:`.
|
|
3147
2992
|
*
|
|
3148
|
-
* The actions
|
|
2993
|
+
* The actions receive a copy of `actionOperationData` plus `eventTarget` (the event's target) and, for key events,
|
|
2994
|
+
* `eventKey` (the `KeyboardEvent.key`). They run in order, each receiving the operation data the previous one
|
|
2995
|
+
* returned. When an action fails, the
|
|
3149
2996
|
* remaining actions are skipped and the failure is reported through the eventbus's `reportError` (an error naming
|
|
3150
2997
|
* this controller, the action and the DOM event, with the original error as `cause`), or logged with
|
|
3151
2998
|
* `console.error` when the eventbus has no `reportError`.
|
|
3152
2999
|
*/
|
|
3153
3000
|
declare class DOMEventListenerController$1 implements IController<IDOMEventListenerControllerOperationData> {
|
|
3154
3001
|
operationData?: IDOMEventListenerControllerOperationData;
|
|
3155
|
-
actionInstanceInfos?:
|
|
3002
|
+
actionInstanceInfos?: IControllerAction[];
|
|
3156
3003
|
name: string;
|
|
3157
3004
|
private _boundEventHandler;
|
|
3158
3005
|
/** The eventbus passed to attach(), used to report failing actions */
|
|
@@ -3167,21 +3014,7 @@ declare class DOMEventListenerController$1 implements IController<IDOMEventListe
|
|
|
3167
3014
|
* DOM event, and keeps the responder's "did you mean" hint
|
|
3168
3015
|
*/
|
|
3169
3016
|
attach(eventbus: IEventbus): void;
|
|
3170
|
-
private _isStartAction;
|
|
3171
3017
|
private _eventHandler;
|
|
3172
|
-
/**
|
|
3173
|
-
* Runs the actions one after another, merging each action's result into the
|
|
3174
|
-
* operation data for the next. A failing action stops the chain, since later
|
|
3175
|
-
* actions consume the earlier actions' output, and is reported with an error
|
|
3176
|
-
* naming this controller, the action, the phase and the DOM event (see
|
|
3177
|
-
* `_reportFailure`). The operation data is never logged.
|
|
3178
|
-
*/
|
|
3179
|
-
private _executeActions;
|
|
3180
|
-
/**
|
|
3181
|
-
* Reports through the eventbus's `reportError` when it has one, so the
|
|
3182
|
-
* application's `onHandlerError` sees it; otherwise logs it.
|
|
3183
|
-
*/
|
|
3184
|
-
private _reportFailure;
|
|
3185
3018
|
/**
|
|
3186
3019
|
* Removes only the handler this controller registered, so other handlers for
|
|
3187
3020
|
* the same event on the element keep working, and resets the action
|
|
@@ -3189,8 +3022,6 @@ declare class DOMEventListenerController$1 implements IController<IDOMEventListe
|
|
|
3189
3022
|
*/
|
|
3190
3023
|
detach(_eventbus: IEventbus): void;
|
|
3191
3024
|
}
|
|
3192
|
-
//#endregion
|
|
3193
|
-
//#region src/operation/metadata/parameter-types.d.ts
|
|
3194
3025
|
/**
|
|
3195
3026
|
* Every parameter type the operation and controller metadata may use. The
|
|
3196
3027
|
* metadata generator fails on a type name that is not in this list.
|
|
@@ -3204,8 +3035,6 @@ declare class DOMEventListenerController$1 implements IController<IDOMEventListe
|
|
|
3204
3035
|
* functions there.
|
|
3205
3036
|
*/
|
|
3206
3037
|
export declare const PARAMETER_TYPES: readonly ["ParameterType:htmlElementName", "ParameterType:className", "ParameterType:selector", "ParameterType:string", "ParameterType:number", "ParameterType:object", "ParameterType:boolean", "ParameterType:array", "ParameterType:eventTopic", "ParameterType:eventName", "ParameterType:systemName", "ParameterType:actionName", "ParameterType:controllerName", "ParameterType:dimensions", "ParameterType:dimensionsModifier", "ParameterType:url", "ParameterType:htmlContent", "ParameterType:labelId", "ParameterType:ImagePath", "ParameterType:QuadrantPosition", "ParameterType:jQuery", "ParameterType:expression", "ParameterType:mathfunction", "ParameterType:cssProperties", "ParameterType:function", "ParameterType:Date", "ParameterType:languagecode", "ParameterType:RegExp", "ParameterType:Element", "ParameterType:Text", "ParameterType:Comment", "ParameterType:Document", "ParameterType:DocumentFragment"];
|
|
3207
|
-
//#endregion
|
|
3208
|
-
//#region src/operation/metadata/types.d.ts
|
|
3209
3038
|
export type THasRequired = {
|
|
3210
3039
|
required?: boolean;
|
|
3211
3040
|
};
|
|
@@ -3243,421 +3072,153 @@ export type TParameterTypes = (typeof PARAMETER_TYPES)[number];
|
|
|
3243
3072
|
*/
|
|
3244
3073
|
export type TParameterTypeName = TParameterTypes extends `ParameterType:${infer Name}` ? Name : never;
|
|
3245
3074
|
export type TOperationCategory = 'DOM' | 'Controller' | 'Data' | 'Control Flow' | 'Animation' | 'Form' | 'Scroll' | 'Focus' | 'Array' | 'String' | 'Text' | 'Date' | 'HTTP' | 'Action' | 'Utility' | 'Accessibility';
|
|
3246
|
-
//#endregion
|
|
3247
|
-
//#region src/controllers/metadata/types.d.ts
|
|
3248
3075
|
export type IControllerMetadata<T> = {
|
|
3249
3076
|
description: string;
|
|
3250
3077
|
dependentProperties?: (keyof T)[];
|
|
3251
3078
|
properties?: Partial<Record<keyof T, TPropertyMetadata>>;
|
|
3252
3079
|
};
|
|
3253
|
-
//#endregion
|
|
3254
|
-
//#region src/controllers/metadata/dom-event-listener-controller.d.ts
|
|
3255
3080
|
declare function DOMEventListenerController(): IControllerMetadata<IDOMEventListenerControllerOperationData>;
|
|
3256
|
-
|
|
3257
|
-
//#region src/controllers/metadata/label-controller.d.ts
|
|
3081
|
+
declare function KeyboardController(): IControllerMetadata<IKeyboardControllerOperationData>;
|
|
3258
3082
|
declare function LabelController(): IControllerMetadata<ILabelControllerMetadata>;
|
|
3259
|
-
//#endregion
|
|
3260
|
-
//#region src/controllers/metadata/lottie-controller.d.ts
|
|
3261
3083
|
declare function LottieController(): IControllerMetadata<ILottieControllerMetadata>;
|
|
3262
|
-
//#endregion
|
|
3263
|
-
//#region src/controllers/metadata/mutation-observer-controller.d.ts
|
|
3264
3084
|
declare function MutationObserverController(): IControllerMetadata<IMutationObserverControllerMetadata>;
|
|
3265
|
-
//#endregion
|
|
3266
|
-
//#region src/controllers/metadata/navigation-controller.d.ts
|
|
3267
3085
|
declare function NavigationController(): IControllerMetadata<INavigationControllerOperationData>;
|
|
3268
|
-
//#endregion
|
|
3269
|
-
//#region src/controllers/metadata/progressbar-controller.d.ts
|
|
3270
3086
|
declare function ProgressbarController(): IControllerMetadata<IProgressbarControllerOperationData>;
|
|
3271
|
-
//#endregion
|
|
3272
|
-
//#region src/controllers/metadata/routing-controller.d.ts
|
|
3273
3087
|
declare function RoutingController(): IControllerMetadata<IRoutingControllerOperationData>;
|
|
3274
|
-
//#endregion
|
|
3275
|
-
//#region src/controllers/metadata/subtitles-controller.d.ts
|
|
3276
3088
|
declare function SubtitlesController(): IControllerMetadata<ISubtitlesControllerOperationData>;
|
|
3277
3089
|
declare namespace index_d_exports {
|
|
3278
|
-
export { DOMEventListenerController, IControllerMetadata, LabelController, LottieController, MutationObserverController, NavigationController, ProgressbarController, RoutingController, SubtitlesController };
|
|
3090
|
+
export { DOMEventListenerController, IControllerMetadata, KeyboardController, LabelController, LottieController, MutationObserverController, NavigationController, ProgressbarController, RoutingController, SubtitlesController };
|
|
3279
3091
|
}
|
|
3280
|
-
//#endregion
|
|
3281
|
-
//#region src/eventbus/events/metadata/before-request-timeline-uri.d.ts
|
|
3282
3092
|
declare function beforeRequestTimelineUri(): IEventMetadata<BeforeRequestTimelineUriEvent['args']>;
|
|
3283
|
-
//#endregion
|
|
3284
|
-
//#region src/eventbus/events/metadata/before-request-video-url.d.ts
|
|
3285
3093
|
declare function beforeRequestVideoUrl(): IEventMetadata<BeforeRequestVideoUrlEvent['args']>;
|
|
3286
|
-
//#endregion
|
|
3287
|
-
//#region src/eventbus/events/metadata/dom-mutation.d.ts
|
|
3288
3094
|
declare function domMutation(): IEventMetadata<DomMutationEvent['args']>;
|
|
3289
|
-
//#endregion
|
|
3290
|
-
//#region src/eventbus/events/metadata/engine-command-error.d.ts
|
|
3291
3095
|
declare function engineCommandError(): IEventMetadata<EngineCommandErrorEvent['args']>;
|
|
3292
|
-
//#endregion
|
|
3293
|
-
//#region src/eventbus/events/metadata/engine-error.d.ts
|
|
3294
3096
|
declare function engineError(): IEventMetadata<EngineErrorEvent['args']>;
|
|
3295
|
-
//#endregion
|
|
3296
|
-
//#region src/eventbus/events/metadata/highlight-navigation.d.ts
|
|
3297
3097
|
declare function highlightNavigation(): IEventMetadata<HighlightNavigationEvent['args']>;
|
|
3298
|
-
//#endregion
|
|
3299
|
-
//#region src/eventbus/events/metadata/language-change.d.ts
|
|
3300
3098
|
declare function languageChange(): IEventMetadata<LanguageChangeEvent['args']>;
|
|
3301
|
-
//#endregion
|
|
3302
|
-
//#region src/eventbus/events/metadata/navigate-to-video-url.d.ts
|
|
3303
3099
|
declare function navigateToVideoUrl(): IEventMetadata<NavigateToVideoUrlEvent['args']>;
|
|
3304
|
-
//#endregion
|
|
3305
|
-
//#region src/eventbus/events/metadata/push-history-state.d.ts
|
|
3306
3100
|
declare function pushHistoryState(): IEventMetadata<PushHistoryStateEvent['args']>;
|
|
3307
|
-
//#endregion
|
|
3308
|
-
//#region src/eventbus/events/metadata/request-action.d.ts
|
|
3309
3101
|
declare function requestAction$1(): IEventMetadata<RequestActionEvent['args']>;
|
|
3310
|
-
//#endregion
|
|
3311
|
-
//#region src/eventbus/events/metadata/request-current-language.d.ts
|
|
3312
3102
|
declare function requestCurrentLanguage(): IEventMetadata<RequestCurrentLanguageEvent['args']>;
|
|
3313
|
-
//#endregion
|
|
3314
|
-
//#region src/eventbus/events/metadata/request-current-navigation.d.ts
|
|
3315
3103
|
declare function requestCurrentNavigation(): IEventMetadata<RequestCurrentNavigationEvent['args']>;
|
|
3316
|
-
//#endregion
|
|
3317
|
-
//#region src/eventbus/events/metadata/request-current-timeline-position.d.ts
|
|
3318
3104
|
declare function requestCurrentTimelinePosition(): IEventMetadata<RequestCurrentTimelinePositionEvent['args']>;
|
|
3319
|
-
//#endregion
|
|
3320
|
-
//#region src/eventbus/events/metadata/request-current-video-position.d.ts
|
|
3321
3105
|
declare function requestCurrentVideoPosition(): IEventMetadata<RequestCurrentVideoPositionEvent['args']>;
|
|
3322
|
-
//#endregion
|
|
3323
|
-
//#region src/eventbus/events/metadata/request-engine-root.d.ts
|
|
3324
3106
|
declare function requestEngineRoot(): IEventMetadata<RequestEngineRootEvent['args']>;
|
|
3325
|
-
//#endregion
|
|
3326
|
-
//#region src/eventbus/events/metadata/request-function.d.ts
|
|
3327
3107
|
declare function requestFunction(): IEventMetadata<RequestFunctionEvent['args']>;
|
|
3328
|
-
//#endregion
|
|
3329
|
-
//#region src/eventbus/events/metadata/request-instance.d.ts
|
|
3330
3108
|
declare function requestInstance(): IEventMetadata<RequestInstanceEvent['args']>;
|
|
3331
|
-
//#endregion
|
|
3332
|
-
//#region src/eventbus/events/metadata/request-label-collection.d.ts
|
|
3333
3109
|
declare function requestLabelCollection(): IEventMetadata<RequestLabelCollectionEvent['args']>;
|
|
3334
|
-
//#endregion
|
|
3335
|
-
//#region src/eventbus/events/metadata/request-label-collections.d.ts
|
|
3336
3110
|
declare function requestLabelCollections(): IEventMetadata<RequestLabelCollectionsEvent['args']>;
|
|
3337
|
-
//#endregion
|
|
3338
|
-
//#region src/eventbus/events/metadata/request-timeline-cleanup.d.ts
|
|
3339
3111
|
declare function requestTimelineCleanup(): IEventMetadata<RequestTimelineCleanupEvent['args']>;
|
|
3340
|
-
//#endregion
|
|
3341
|
-
//#region src/eventbus/events/metadata/request-timeline-uri.d.ts
|
|
3342
3112
|
declare function requestTimelineUri(): IEventMetadata<RequestTimelineUriEvent['args']>;
|
|
3343
|
-
//#endregion
|
|
3344
|
-
//#region src/eventbus/events/metadata/request-translation.d.ts
|
|
3345
3113
|
declare function requestTranslation(): IEventMetadata<RequestTranslationEvent['args']>;
|
|
3346
|
-
//#endregion
|
|
3347
|
-
//#region src/eventbus/events/metadata/request-video-cleanup.d.ts
|
|
3348
3114
|
declare function requestVideoCleanup(): IEventMetadata<RequestVideoCleanupEvent['args']>;
|
|
3349
|
-
//#endregion
|
|
3350
|
-
//#region src/eventbus/events/metadata/request-video-url.d.ts
|
|
3351
3115
|
declare function requestVideoUrl(): IEventMetadata<RequestVideoUrlEvent['args']>;
|
|
3352
|
-
//#endregion
|
|
3353
|
-
//#region src/eventbus/events/metadata/timeline-complete.d.ts
|
|
3354
3116
|
declare function timelineComplete(): IEventMetadata<CompleteEvent['args']>;
|
|
3355
|
-
//#endregion
|
|
3356
|
-
//#region src/eventbus/events/metadata/timeline-container-request.d.ts
|
|
3357
3117
|
declare function timelineContainerRequest(): IEventMetadata<ContainerRequestEvent['args']>;
|
|
3358
|
-
//#endregion
|
|
3359
|
-
//#region src/eventbus/events/metadata/timeline-current-timeline-change.d.ts
|
|
3360
3118
|
declare function timelineCurrentTimelineChange(): IEventMetadata<CurrentTimelineChangeEvent['args']>;
|
|
3361
|
-
//#endregion
|
|
3362
|
-
//#region src/eventbus/events/metadata/timeline-duration-request.d.ts
|
|
3363
3119
|
declare function timelineDurationRequest(): IEventMetadata<DurationRequestEvent['args']>;
|
|
3364
|
-
//#endregion
|
|
3365
|
-
//#region src/eventbus/events/metadata/timeline-duration.d.ts
|
|
3366
3120
|
declare function timelineDuration(): IEventMetadata<DurationEvent['args']>;
|
|
3367
|
-
//#endregion
|
|
3368
|
-
//#region src/eventbus/events/metadata/timeline-firstframe.d.ts
|
|
3369
3121
|
declare function timelineFirstframe(): IEventMetadata<FirstFrameEvent['args']>;
|
|
3370
|
-
//#endregion
|
|
3371
|
-
//#region src/eventbus/events/metadata/timeline-pause-request.d.ts
|
|
3372
3122
|
declare function timelinePauseRequest(): IEventMetadata<PauseRequestEvent['args']>;
|
|
3373
|
-
//#endregion
|
|
3374
|
-
//#region src/eventbus/events/metadata/timeline-pause.d.ts
|
|
3375
3123
|
declare function timelinePause(): IEventMetadata<PauseEvent['args']>;
|
|
3376
|
-
//#endregion
|
|
3377
|
-
//#region src/eventbus/events/metadata/timeline-play-request.d.ts
|
|
3378
3124
|
declare function timelinePlayRequest(): IEventMetadata<PlayRequestEvent['args']>;
|
|
3379
|
-
//#endregion
|
|
3380
|
-
//#region src/eventbus/events/metadata/timeline-play-toggle-request.d.ts
|
|
3381
3125
|
declare function timelinePlayToggleRequest(): IEventMetadata<PlayToggleRequestEvent['args']>;
|
|
3382
|
-
//#endregion
|
|
3383
|
-
//#region src/eventbus/events/metadata/timeline-play.d.ts
|
|
3384
3126
|
declare function timelinePlay(): IEventMetadata<PlayEvent['args']>;
|
|
3385
|
-
//#endregion
|
|
3386
|
-
//#region src/eventbus/events/metadata/timeline-request-current-timeline.d.ts
|
|
3387
3127
|
declare function timelineRequestCurrentTimeline(): IEventMetadata<RequestCurrentTimelineEvent['args']>;
|
|
3388
|
-
//#endregion
|
|
3389
|
-
//#region src/eventbus/events/metadata/timeline-resize-request.d.ts
|
|
3390
3128
|
declare function timelineResizeRequest(): IEventMetadata<ResizeRequestEvent['args']>;
|
|
3391
|
-
//#endregion
|
|
3392
|
-
//#region src/eventbus/events/metadata/timeline-resize.d.ts
|
|
3393
3129
|
declare function timelineResize(): IEventMetadata<ResizeEvent['args']>;
|
|
3394
|
-
//#endregion
|
|
3395
|
-
//#region src/eventbus/events/metadata/timeline-restart.d.ts
|
|
3396
3130
|
declare function timelineRestart(): IEventMetadata<RestartEvent['args']>;
|
|
3397
|
-
//#endregion
|
|
3398
|
-
//#region src/eventbus/events/metadata/timeline-seek-request.d.ts
|
|
3399
3131
|
declare function timelineSeekRequest(): IEventMetadata<SeekRequestEvent['args']>;
|
|
3400
|
-
//#endregion
|
|
3401
|
-
//#region src/eventbus/events/metadata/timeline-seek.d.ts
|
|
3402
3132
|
declare function timelineSeek(): IEventMetadata<SeekEvent['args']>;
|
|
3403
|
-
//#endregion
|
|
3404
|
-
//#region src/eventbus/events/metadata/timeline-seeked.d.ts
|
|
3405
3133
|
declare function timelineSeeked(): IEventMetadata<SeekedEvent['args']>;
|
|
3406
|
-
//#endregion
|
|
3407
|
-
//#region src/eventbus/events/metadata/timeline-stop-request.d.ts
|
|
3408
3134
|
declare function timelineStopRequest(): IEventMetadata<StopRequestEvent['args']>;
|
|
3409
|
-
//#endregion
|
|
3410
|
-
//#region src/eventbus/events/metadata/timeline-stop.d.ts
|
|
3411
3135
|
declare function timelineStop(): IEventMetadata<StopEvent['args']>;
|
|
3412
|
-
//#endregion
|
|
3413
|
-
//#region src/eventbus/events/metadata/timeline-time.d.ts
|
|
3414
3136
|
declare function timelineTime(): IEventMetadata<TimeEvent['args']>;
|
|
3415
|
-
//#endregion
|
|
3416
|
-
//#region src/eventbus/events/metadata/video-complete.d.ts
|
|
3417
3137
|
declare function videoComplete(): IEventMetadata<VideoCompleteEvent['args']>;
|
|
3418
3138
|
declare namespace index_d_exports$1 {
|
|
3419
3139
|
export { IEventMetadata, beforeRequestTimelineUri, beforeRequestVideoUrl, domMutation, engineCommandError, engineError, highlightNavigation, languageChange, navigateToVideoUrl, pushHistoryState, requestAction$1 as requestAction, requestCurrentLanguage, requestCurrentNavigation, requestCurrentTimelinePosition, requestCurrentVideoPosition, requestEngineRoot, requestFunction, requestInstance, requestLabelCollection, requestLabelCollections, requestTimelineCleanup, requestTimelineUri, requestTranslation, requestVideoCleanup, requestVideoUrl, timelineComplete, timelineContainerRequest, timelineCurrentTimelineChange, timelineDuration, timelineDurationRequest, timelineFirstframe, timelinePause, timelinePauseRequest, timelinePlay, timelinePlayRequest, timelinePlayToggleRequest, timelineRequestCurrentTimeline, timelineResize, timelineResizeRequest, timelineRestart, timelineSeek, timelineSeekRequest, timelineSeeked, timelineStop, timelineStopRequest, timelineTime, videoComplete };
|
|
3420
3140
|
}
|
|
3421
|
-
//#endregion
|
|
3422
|
-
//#region src/operation/metadata/add-class.d.ts
|
|
3423
3141
|
declare function addClass(): IOperationMetadata<IAddClassOperationData>;
|
|
3424
|
-
//#endregion
|
|
3425
|
-
//#region src/operation/metadata/add-controller-to-element.d.ts
|
|
3426
3142
|
declare function addControllerToElement(): IOperationMetadata<IAddControllerToElementOperationData<TOperationData>>;
|
|
3427
|
-
//#endregion
|
|
3428
|
-
//#region src/operation/metadata/add-globals-to-operation.d.ts
|
|
3429
3143
|
declare function addGlobalsToOperation(): IOperationMetadata<IAddGlobalsToOperationData>;
|
|
3430
|
-
//#endregion
|
|
3431
|
-
//#region src/operation/metadata/animate-with-class.d.ts
|
|
3432
3144
|
declare function animateWithClass(): IOperationMetadata<IAnimateWithClassOperationData>;
|
|
3433
|
-
//#endregion
|
|
3434
|
-
//#region src/operation/metadata/animate.d.ts
|
|
3435
3145
|
declare function animate(): IOperationMetadata<IAnimateOperationData>;
|
|
3436
|
-
//#endregion
|
|
3437
|
-
//#region src/operation/metadata/announce-to-screen-reader.d.ts
|
|
3438
3146
|
declare function announceToScreenReader(): IOperationMetadata<IAnnounceToScreenReaderOperationData>;
|
|
3439
|
-
//#endregion
|
|
3440
|
-
//#region src/operation/metadata/break-for-each.d.ts
|
|
3441
3147
|
declare function breakForEach(): IOperationMetadata<TOperationData>;
|
|
3442
|
-
//#endregion
|
|
3443
|
-
//#region src/operation/metadata/broadcast-event.d.ts
|
|
3444
3148
|
declare function broadcastEvent(): IOperationMetadata<IBroadcastEventOperationData>;
|
|
3445
|
-
//#endregion
|
|
3446
|
-
//#region src/operation/metadata/calc.d.ts
|
|
3447
3149
|
declare function calc(): IOperationMetadata<ICalcOperationData>;
|
|
3448
|
-
//#endregion
|
|
3449
|
-
//#region src/operation/metadata/clear-element.d.ts
|
|
3450
3150
|
declare function clearElement(): IOperationMetadata<IClearElementOperationData>;
|
|
3451
|
-
//#endregion
|
|
3452
|
-
//#region src/operation/metadata/clear-operation-data.d.ts
|
|
3453
3151
|
declare function clearOperationData(): IOperationMetadata<IClearOperationDataOperationData>;
|
|
3454
|
-
//#endregion
|
|
3455
|
-
//#region src/operation/metadata/clear-storage.d.ts
|
|
3456
3152
|
declare function clearStorage(): IOperationMetadata<IClearStorageOperationData>;
|
|
3457
|
-
//#endregion
|
|
3458
|
-
//#region src/operation/metadata/compare-date.d.ts
|
|
3459
3153
|
declare function compareDate(): IOperationMetadata<ICompareDateOperationData>;
|
|
3460
|
-
//#endregion
|
|
3461
|
-
//#region src/operation/metadata/concatenate-strings.d.ts
|
|
3462
3154
|
declare function concatenateStrings(): IOperationMetadata<IConcatenateStringsOperationData>;
|
|
3463
|
-
//#endregion
|
|
3464
|
-
//#region src/operation/metadata/continue-for-each.d.ts
|
|
3465
3155
|
declare function continueForEach(): IOperationMetadata<TOperationData>;
|
|
3466
|
-
//#endregion
|
|
3467
|
-
//#region src/operation/metadata/create-element.d.ts
|
|
3468
3156
|
declare function createElement(): IOperationMetadata<ICreateElementOperationData<TTagNames>>;
|
|
3469
|
-
//#endregion
|
|
3470
|
-
//#region src/operation/metadata/custom-function.d.ts
|
|
3471
3157
|
declare function customFunction(): IOperationMetadata<ICustomFunctionOperationData>;
|
|
3472
|
-
//#endregion
|
|
3473
|
-
//#region src/operation/metadata/end-action.d.ts
|
|
3474
3158
|
declare function endAction(): IOperationMetadata<IEndActionOperationData>;
|
|
3475
|
-
//#endregion
|
|
3476
|
-
//#region src/operation/metadata/end-for-each.d.ts
|
|
3477
3159
|
declare function endForEach(): IOperationMetadata<TOperationData>;
|
|
3478
|
-
//#endregion
|
|
3479
|
-
//#region src/operation/metadata/end-when.d.ts
|
|
3480
3160
|
declare function endWhen(): IOperationMetadata<TOperationData>;
|
|
3481
|
-
//#endregion
|
|
3482
|
-
//#region src/operation/metadata/extend-controller.d.ts
|
|
3483
3161
|
declare function extendController(): IOperationMetadata<IExtendControllerOperationData>;
|
|
3484
|
-
//#endregion
|
|
3485
|
-
//#region src/operation/metadata/filter-array.d.ts
|
|
3486
3162
|
declare function filterArray(): IOperationMetadata<IFilterArrayOperationData>;
|
|
3487
|
-
//#endregion
|
|
3488
|
-
//#region src/operation/metadata/find-in-array.d.ts
|
|
3489
3163
|
declare function findInArray(): IOperationMetadata<IFindInArrayOperationData>;
|
|
3490
|
-
//#endregion
|
|
3491
|
-
//#region src/operation/metadata/for-each.d.ts
|
|
3492
3164
|
declare function forEach(): IOperationMetadata<IForEachOperationData>;
|
|
3493
|
-
//#endregion
|
|
3494
|
-
//#region src/operation/metadata/format-date.d.ts
|
|
3495
3165
|
declare function formatDate(): IOperationMetadata<IFormatDateOperationData>;
|
|
3496
|
-
//#endregion
|
|
3497
|
-
//#region src/operation/metadata/format-text.d.ts
|
|
3498
3166
|
declare function formatText(): IOperationMetadata<IFormatTextOperationData>;
|
|
3499
|
-
//#endregion
|
|
3500
|
-
//#region src/operation/metadata/get-attributes-from-element.d.ts
|
|
3501
3167
|
declare function getAttributesFromElement(): IOperationMetadata<IGetAttributesFromElementOperationData>;
|
|
3502
|
-
//#endregion
|
|
3503
|
-
//#region src/operation/metadata/get-controller-from-element.d.ts
|
|
3504
3168
|
declare function getControllerFromElement(): IOperationMetadata<IGetControllerFromElementOperationData>;
|
|
3505
|
-
//#endregion
|
|
3506
|
-
//#region src/operation/metadata/get-controller-instance.d.ts
|
|
3507
3169
|
declare function getControllerInstance(): IOperationMetadata<IGetControllerInstanceOperationData>;
|
|
3508
|
-
//#endregion
|
|
3509
|
-
//#region src/operation/metadata/get-current-time.d.ts
|
|
3510
3170
|
declare function getCurrentTime(): IOperationMetadata<IGetCurrentTimeOperationData>;
|
|
3511
|
-
//#endregion
|
|
3512
|
-
//#region src/operation/metadata/get-element-dimensions.d.ts
|
|
3513
3171
|
declare function getElementDimensions(): IOperationMetadata<IGetElementDimensionsOperationData>;
|
|
3514
|
-
//#endregion
|
|
3515
|
-
//#region src/operation/metadata/get-focused-element.d.ts
|
|
3516
3172
|
declare function getFocusedElement(): IOperationMetadata<IGetFocusedElementOperationData>;
|
|
3517
|
-
//#endregion
|
|
3518
|
-
//#region src/operation/metadata/get-form-data.d.ts
|
|
3519
3173
|
declare function getFormData(): IOperationMetadata<IGetFormDataOperationData>;
|
|
3520
|
-
//#endregion
|
|
3521
|
-
//#region src/operation/metadata/get-import.d.ts
|
|
3522
3174
|
declare function getImport(): IOperationMetadata<IGetImportOperationData>;
|
|
3523
|
-
//#endregion
|
|
3524
|
-
//#region src/operation/metadata/get-query-params.d.ts
|
|
3525
3175
|
declare function getQueryParams(): IOperationMetadata<IGetQueryParamsOperationData>;
|
|
3526
|
-
//#endregion
|
|
3527
|
-
//#region src/operation/metadata/get-scroll-position.d.ts
|
|
3528
3176
|
declare function getScrollPosition(): IOperationMetadata<IGetScrollPositionOperationData>;
|
|
3529
|
-
//#endregion
|
|
3530
|
-
//#region src/operation/metadata/get-text-content.d.ts
|
|
3531
3177
|
declare function getTextContent(): IOperationMetadata<IGetTextContentOperationData>;
|
|
3532
|
-
//#endregion
|
|
3533
|
-
//#region src/operation/metadata/http-delete.d.ts
|
|
3534
3178
|
declare function httpDelete(): IOperationMetadata<IHttpDeleteOperationData>;
|
|
3535
|
-
//#endregion
|
|
3536
|
-
//#region src/operation/metadata/http-post.d.ts
|
|
3537
3179
|
declare function httpPost(): IOperationMetadata<IHttpPostOperationData>;
|
|
3538
|
-
//#endregion
|
|
3539
|
-
//#region src/operation/metadata/http-put.d.ts
|
|
3540
3180
|
declare function httpPut(): IOperationMetadata<IHttpPutOperationData>;
|
|
3541
|
-
//#endregion
|
|
3542
|
-
//#region src/operation/metadata/invoke-object-method.d.ts
|
|
3543
3181
|
declare function invokeObjectMethod(): IOperationMetadata<IInvokeObjectMethodOperationData>;
|
|
3544
|
-
//#endregion
|
|
3545
|
-
//#region src/operation/metadata/is-element-in-viewport.d.ts
|
|
3546
3182
|
declare function isElementInViewport(): IOperationMetadata<IIsElementInViewportOperationData>;
|
|
3547
|
-
//#endregion
|
|
3548
|
-
//#region src/operation/metadata/load-from-storage.d.ts
|
|
3549
3183
|
declare function loadFromStorage(): IOperationMetadata<ILoadFromStorageOperationData>;
|
|
3550
|
-
//#endregion
|
|
3551
|
-
//#region src/operation/metadata/load-json.d.ts
|
|
3552
3184
|
declare function loadJson(): IOperationMetadata<ILoadJSONOperationData>;
|
|
3553
|
-
//#endregion
|
|
3554
|
-
//#region src/operation/metadata/log.d.ts
|
|
3555
3185
|
declare function log(): IOperationMetadata<ILogOperationData>;
|
|
3556
|
-
//#endregion
|
|
3557
|
-
//#region src/operation/metadata/map-array.d.ts
|
|
3558
3186
|
declare function mapArray(): IOperationMetadata<IMapArrayOperationData>;
|
|
3559
|
-
//#endregion
|
|
3560
|
-
//#region src/operation/metadata/math.d.ts
|
|
3561
3187
|
declare function math(): IOperationMetadata<IMathOperationData>;
|
|
3562
|
-
//#endregion
|
|
3563
|
-
//#region src/operation/metadata/otherwise.d.ts
|
|
3564
3188
|
declare function otherwise(): IOperationMetadata<TOperationData>;
|
|
3565
|
-
//#endregion
|
|
3566
|
-
//#region src/operation/metadata/remove-class.d.ts
|
|
3567
3189
|
declare function removeClass(): IOperationMetadata<IRemoveClassOperationData>;
|
|
3568
|
-
//#endregion
|
|
3569
|
-
//#region src/operation/metadata/remove-controller-from-element.d.ts
|
|
3570
3190
|
declare function removeControllerFromElement(): IOperationMetadata<IRemoveControllerFromElementOperationData>;
|
|
3571
|
-
//#endregion
|
|
3572
|
-
//#region src/operation/metadata/remove-element.d.ts
|
|
3573
3191
|
declare function removeElement(): IOperationMetadata<IRemoveElementOperationData>;
|
|
3574
|
-
//#endregion
|
|
3575
|
-
//#region src/operation/metadata/remove-properties-from-operation-data.d.ts
|
|
3576
3192
|
declare function removePropertiesFromOperationData(): IOperationMetadata<IRemovePropertiesFromOperationDataOperationData>;
|
|
3577
|
-
//#endregion
|
|
3578
|
-
//#region src/operation/metadata/reparent-element.d.ts
|
|
3579
3193
|
declare function reparentElement(): IOperationMetadata<IReparentElementOperationData>;
|
|
3580
|
-
//#endregion
|
|
3581
|
-
//#region src/operation/metadata/replace-string.d.ts
|
|
3582
3194
|
declare function replaceString(): IOperationMetadata<IReplaceStringOperationData>;
|
|
3583
|
-
//#endregion
|
|
3584
|
-
//#region src/operation/metadata/replace-text.d.ts
|
|
3585
3195
|
declare function replaceText(): IOperationMetadata<IReplaceTextOperationData>;
|
|
3586
|
-
//#endregion
|
|
3587
|
-
//#region src/operation/metadata/request-action.d.ts
|
|
3588
3196
|
declare function requestAction(): IOperationMetadata<IRequestActionOperationData>;
|
|
3589
|
-
//#endregion
|
|
3590
|
-
//#region src/operation/metadata/save-to-storage.d.ts
|
|
3591
3197
|
declare function saveToStorage(): IOperationMetadata<ISaveToStorageOperationData>;
|
|
3592
|
-
//#endregion
|
|
3593
|
-
//#region src/operation/metadata/scroll-to-element.d.ts
|
|
3594
3198
|
declare function scrollToElement(): IOperationMetadata<IScrollToElementOperationData>;
|
|
3595
|
-
//#endregion
|
|
3596
|
-
//#region src/operation/metadata/scroll-to-position.d.ts
|
|
3597
3199
|
declare function scrollToPosition(): IOperationMetadata<IScrollToPositionOperationData>;
|
|
3598
|
-
//#endregion
|
|
3599
|
-
//#region src/operation/metadata/select-element.d.ts
|
|
3600
3200
|
declare function selectElement(): IOperationMetadata<ISelectElementOperationData>;
|
|
3601
|
-
//#endregion
|
|
3602
|
-
//#region src/operation/metadata/set-data.d.ts
|
|
3603
3201
|
declare function setData(): IOperationMetadata<ISetDataOperationData>;
|
|
3604
|
-
//#endregion
|
|
3605
|
-
//#region src/operation/metadata/set-element-attributes.d.ts
|
|
3606
3202
|
declare function setElementAttributes(): IOperationMetadata<ISetElementAttributesOperationData>;
|
|
3607
|
-
//#endregion
|
|
3608
|
-
//#region src/operation/metadata/set-element-content.d.ts
|
|
3609
3203
|
declare function setElementContent(): IOperationMetadata<ISetElementContentOperationData>;
|
|
3610
|
-
//#endregion
|
|
3611
|
-
//#region src/operation/metadata/set-focus.d.ts
|
|
3612
3204
|
declare function setFocus(): IOperationMetadata<ISetFocusOperationData>;
|
|
3613
|
-
//#endregion
|
|
3614
|
-
//#region src/operation/metadata/set-form-value.d.ts
|
|
3615
3205
|
declare function setFormValue(): IOperationMetadata<ISetFormValueOperationData>;
|
|
3616
|
-
//#endregion
|
|
3617
|
-
//#region src/operation/metadata/set-global-data.d.ts
|
|
3618
3206
|
declare function setGlobalData(): IOperationMetadata<ISetGlobalDataOperationData>;
|
|
3619
|
-
//#endregion
|
|
3620
|
-
//#region src/operation/metadata/set-operation-data.d.ts
|
|
3621
3207
|
declare function setOperationData(): IOperationMetadata<ISetOperationData>;
|
|
3622
|
-
//#endregion
|
|
3623
|
-
//#region src/operation/metadata/set-style.d.ts
|
|
3624
3208
|
declare function setStyle(): IOperationMetadata<ISetStyleOperationData>;
|
|
3625
|
-
//#endregion
|
|
3626
|
-
//#region src/operation/metadata/set-variable.d.ts
|
|
3627
3209
|
declare function setVariable(): IOperationMetadata<ISetVariableOperationData>;
|
|
3628
|
-
//#endregion
|
|
3629
|
-
//#region src/operation/metadata/sort-array.d.ts
|
|
3630
3210
|
declare function sortArray(): IOperationMetadata<ISortArrayOperationData>;
|
|
3631
|
-
//#endregion
|
|
3632
|
-
//#region src/operation/metadata/split-string.d.ts
|
|
3633
3211
|
declare function splitString(): IOperationMetadata<ISplitStringOperationData>;
|
|
3634
|
-
//#endregion
|
|
3635
|
-
//#region src/operation/metadata/start-action.d.ts
|
|
3636
3212
|
declare function startAction(): IOperationMetadata<IStartActionOperationData>;
|
|
3637
|
-
//#endregion
|
|
3638
|
-
//#region src/operation/metadata/substring-text.d.ts
|
|
3639
3213
|
declare function substringText(): IOperationMetadata<ISubstringTextOperationData>;
|
|
3640
|
-
//#endregion
|
|
3641
|
-
//#region src/operation/metadata/toggle-class.d.ts
|
|
3642
3214
|
declare function toggleClass(): IOperationMetadata<IToggleClassOperationData>;
|
|
3643
|
-
//#endregion
|
|
3644
|
-
//#region src/operation/metadata/toggle-element.d.ts
|
|
3645
3215
|
declare function toggleElement(): IOperationMetadata<IToggleElementOperationData>;
|
|
3646
|
-
//#endregion
|
|
3647
|
-
//#region src/operation/metadata/toggle-form-element.d.ts
|
|
3648
3216
|
declare function toggleFormElement(): IOperationMetadata<IToggleFormElementOperationData>;
|
|
3649
|
-
//#endregion
|
|
3650
|
-
//#region src/operation/metadata/validate-form.d.ts
|
|
3651
3217
|
declare function validateForm(): IOperationMetadata<IValidateFormOperationData>;
|
|
3652
|
-
//#endregion
|
|
3653
|
-
//#region src/operation/metadata/wait.d.ts
|
|
3654
3218
|
declare function wait(): IOperationMetadata<IWaitOperationData>;
|
|
3655
|
-
//#endregion
|
|
3656
|
-
//#region src/operation/metadata/when.d.ts
|
|
3657
3219
|
declare function when(): IOperationMetadata<IWhenOperationData>;
|
|
3658
3220
|
declare namespace index_d_exports$2 {
|
|
3659
3221
|
export { IOperationMetadata, TArrayProperyMetadata, TComplexPropertyMetadata, TConstantParametersTypes, THasDescription, THasErased, THasRequired, TOperationCategory, TParameterTypeName, TParameterTypes, TParameterTypesDelimited, TPropertiesMetadata, TPropertyMetadata, addClass, addControllerToElement, addGlobalsToOperation, animate, animateWithClass, announceToScreenReader, breakForEach, broadcastEvent, calc, clearElement, clearOperationData, clearStorage, compareDate, concatenateStrings, continueForEach, createElement, customFunction, endAction, endForEach, endWhen, extendController, filterArray, findInArray, forEach, formatDate, formatText, getAttributesFromElement, getControllerFromElement, getControllerInstance, getCurrentTime, getElementDimensions, getFocusedElement, getFormData, getImport, getQueryParams, getScrollPosition, getTextContent, httpDelete, httpPost, httpPut, invokeObjectMethod, isElementInViewport, loadFromStorage, loadJson, log, mapArray, math, otherwise, removeClass, removeControllerFromElement, removeElement, removePropertiesFromOperationData, reparentElement, replaceString, replaceText, requestAction, saveToStorage, scrollToElement, scrollToPosition, selectElement, setData, setElementAttributes, setElementContent, setFocus, setFormValue, setGlobalData, setOperationData, setStyle, setVariable, sortArray, splitString, startAction, substringText, toggleClass, toggleElement, toggleFormElement, validateForm, wait, when };
|
|
3660
3222
|
}
|
|
3661
|
-
//#endregion
|
|
3662
3223
|
export { index_d_exports as ctrlmetadata, index_d_exports$1 as eventmetadata, index_d_exports$2 as metadata };
|
|
3663
3224
|
//# sourceMappingURL=metadata.d.mts.map
|