eligius 2.2.2 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -0
- package/dist/index.mjs.map +1 -1
- package/dist/metadata.d.mts +2885 -0
- package/dist/metadata.mjs +2489 -0
- package/dist/metadata.mjs.map +1 -0
- package/package.json +2 -1
|
@@ -0,0 +1,2885 @@
|
|
|
1
|
+
import { AnimationItem, CanvasRendererConfig, HTMLRendererConfig, SVGRendererConfig } from "lottie-web";
|
|
2
|
+
|
|
3
|
+
//#region src/eventbus/events/before-request-timeline-uri.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Event: before-request-timeline-uri
|
|
6
|
+
* @category Timeline
|
|
7
|
+
*/
|
|
8
|
+
interface BeforeRequestTimelineUriEvent {
|
|
9
|
+
name: 'before-request-timeline-uri';
|
|
10
|
+
args: [];
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region src/eventbus/events/before-request-video-url.d.ts
|
|
14
|
+
/**
|
|
15
|
+
* Event: before-request-video-url
|
|
16
|
+
* @param index - The video URL index
|
|
17
|
+
* @param requestedVideoPosition - Optional video position to seek to
|
|
18
|
+
* @param isHistoryRequest - Flag indicating if this is a history request
|
|
19
|
+
* @category Navigation
|
|
20
|
+
*/
|
|
21
|
+
interface BeforeRequestVideoUrlEvent {
|
|
22
|
+
name: 'before-request-video-url';
|
|
23
|
+
args: [index: number, requestedVideoPosition?: number, isHistoryRequest?: boolean];
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region src/eventbus/events/dom-mutation.d.ts
|
|
27
|
+
/**
|
|
28
|
+
* Event: dom-mutation
|
|
29
|
+
* @param payload - Mutation observer payload
|
|
30
|
+
* @category Controller
|
|
31
|
+
*/
|
|
32
|
+
interface DomMutationEvent {
|
|
33
|
+
name: 'dom-mutation';
|
|
34
|
+
args: [payload: any];
|
|
35
|
+
}
|
|
36
|
+
//#endregion
|
|
37
|
+
//#region src/eventbus/events/highlight-navigation.d.ts
|
|
38
|
+
/**
|
|
39
|
+
* Event: highlight-navigation
|
|
40
|
+
* @param videoUrlIndex - The index of the video URL to highlight
|
|
41
|
+
* @category Navigation
|
|
42
|
+
*/
|
|
43
|
+
interface HighlightNavigationEvent {
|
|
44
|
+
name: 'highlight-navigation';
|
|
45
|
+
args: [videoUrlIndex: number];
|
|
46
|
+
}
|
|
47
|
+
//#endregion
|
|
48
|
+
//#region src/locale/types.d.ts
|
|
49
|
+
/**
|
|
50
|
+
* Locale Types
|
|
51
|
+
* Feature: 005-rosetta-locale-manager
|
|
52
|
+
*
|
|
53
|
+
* These types define the public API for the locale management system.
|
|
54
|
+
*/
|
|
55
|
+
/**
|
|
56
|
+
* IETF language tag format (e.g., 'en-US', 'nl-NL')
|
|
57
|
+
*/
|
|
58
|
+
type TLanguageCode = `${Lowercase<string>}-${Uppercase<string>}`;
|
|
59
|
+
//#endregion
|
|
60
|
+
//#region src/types.d.ts
|
|
61
|
+
type TResultCallback<T> = (result: T) => void;
|
|
62
|
+
/**
|
|
63
|
+
* Describes a duration of time expressed in a start and an optional end range with a one second interval.
|
|
64
|
+
*/
|
|
65
|
+
interface IDuration {
|
|
66
|
+
start: number;
|
|
67
|
+
end?: number;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Describes a duration of time expressed in a start and an end range with a one second interval.
|
|
71
|
+
*/
|
|
72
|
+
interface IStrictDuration extends Required<IDuration> {}
|
|
73
|
+
interface ISubtitleCollection {
|
|
74
|
+
languageCode: TLanguageCode;
|
|
75
|
+
titles: ISubtitle[];
|
|
76
|
+
}
|
|
77
|
+
interface ISubtitle {
|
|
78
|
+
id: string;
|
|
79
|
+
duration: IStrictDuration;
|
|
80
|
+
text: string;
|
|
81
|
+
}
|
|
82
|
+
//#endregion
|
|
83
|
+
//#region src/eventbus/events/language-change.d.ts
|
|
84
|
+
/**
|
|
85
|
+
* Event: language-change
|
|
86
|
+
* @param language - The new language code
|
|
87
|
+
* @category Language Manager
|
|
88
|
+
*/
|
|
89
|
+
interface LanguageChangeEvent {
|
|
90
|
+
name: 'language-change';
|
|
91
|
+
args: [language: TLanguageCode];
|
|
92
|
+
}
|
|
93
|
+
//#endregion
|
|
94
|
+
//#region src/eventbus/events/navigate-to-video-url.d.ts
|
|
95
|
+
/**
|
|
96
|
+
* Event: navigate-to-video-url
|
|
97
|
+
* @param index - The video URL index to navigate to
|
|
98
|
+
* @param requestedVideoPosition - Optional video position to seek to
|
|
99
|
+
* @category Navigation
|
|
100
|
+
*/
|
|
101
|
+
interface NavigateToVideoUrlEvent {
|
|
102
|
+
name: 'navigate-to-video-url';
|
|
103
|
+
args: [index: number, requestedVideoPosition?: number];
|
|
104
|
+
}
|
|
105
|
+
//#endregion
|
|
106
|
+
//#region src/eventbus/events/push-history-state.d.ts
|
|
107
|
+
/**
|
|
108
|
+
* Event: push-history-state
|
|
109
|
+
* @param state - The history state to push
|
|
110
|
+
* @category Navigation
|
|
111
|
+
*/
|
|
112
|
+
interface PushHistoryStateEvent {
|
|
113
|
+
name: 'push-history-state';
|
|
114
|
+
args: [state: any];
|
|
115
|
+
}
|
|
116
|
+
//#endregion
|
|
117
|
+
//#region src/eventbus/events/request-action.d.ts
|
|
118
|
+
/**
|
|
119
|
+
* Event: request-action
|
|
120
|
+
* @param actionName - The name of the action to request
|
|
121
|
+
* @param callback - Callback that receives the action instance
|
|
122
|
+
* @category Engine Request
|
|
123
|
+
*/
|
|
124
|
+
interface RequestActionEvent {
|
|
125
|
+
name: 'request-action';
|
|
126
|
+
args: [actionName: string, callback: (actionInstance: any) => void];
|
|
127
|
+
}
|
|
128
|
+
//#endregion
|
|
129
|
+
//#region src/eventbus/events/request-current-language.d.ts
|
|
130
|
+
/**
|
|
131
|
+
* Event: request-current-language
|
|
132
|
+
* @param callback - Callback that receives the current language
|
|
133
|
+
* @category Engine Request
|
|
134
|
+
*/
|
|
135
|
+
interface RequestCurrentLanguageEvent {
|
|
136
|
+
name: 'request-current-language';
|
|
137
|
+
args: [callback: (language: TLanguageCode) => void];
|
|
138
|
+
}
|
|
139
|
+
//#endregion
|
|
140
|
+
//#region src/eventbus/events/request-current-navigation.d.ts
|
|
141
|
+
/**
|
|
142
|
+
* Event: request-current-navigation
|
|
143
|
+
* @param callback - Callback that receives the current navigation data
|
|
144
|
+
* @category Navigation
|
|
145
|
+
*/
|
|
146
|
+
interface RequestCurrentNavigationEvent {
|
|
147
|
+
name: 'request-current-navigation';
|
|
148
|
+
args: [callback: (navigation: any) => void];
|
|
149
|
+
}
|
|
150
|
+
//#endregion
|
|
151
|
+
//#region src/eventbus/events/request-current-timeline-position.d.ts
|
|
152
|
+
/**
|
|
153
|
+
* Event: request-current-timeline-position
|
|
154
|
+
* @param callback - Callback that receives the current timeline position
|
|
155
|
+
* @category Engine Request
|
|
156
|
+
*/
|
|
157
|
+
interface RequestCurrentTimelinePositionEvent {
|
|
158
|
+
name: 'request-current-timeline-position';
|
|
159
|
+
args: [callback: TResultCallback<number>];
|
|
160
|
+
}
|
|
161
|
+
//#endregion
|
|
162
|
+
//#region src/eventbus/events/request-current-video-position.d.ts
|
|
163
|
+
/**
|
|
164
|
+
* Event: request-current-video-position
|
|
165
|
+
* @param callback - Callback that receives the current video position
|
|
166
|
+
* @category Navigation
|
|
167
|
+
*/
|
|
168
|
+
interface RequestCurrentVideoPositionEvent {
|
|
169
|
+
name: 'request-current-video-position';
|
|
170
|
+
args: [callback: (position: number) => void];
|
|
171
|
+
}
|
|
172
|
+
//#endregion
|
|
173
|
+
//#region src/eventbus/events/request-engine-root.d.ts
|
|
174
|
+
/**
|
|
175
|
+
* Event: request-engine-root
|
|
176
|
+
* @param callback - Callback that receives the engine root element
|
|
177
|
+
* @category Engine Request
|
|
178
|
+
*/
|
|
179
|
+
interface RequestEngineRootEvent {
|
|
180
|
+
name: 'request-engine-root';
|
|
181
|
+
args: [callback: (root: any) => void];
|
|
182
|
+
}
|
|
183
|
+
//#endregion
|
|
184
|
+
//#region src/eventbus/events/request-function.d.ts
|
|
185
|
+
/**
|
|
186
|
+
* Event: request-function
|
|
187
|
+
* @param systemName - The name of the function to request
|
|
188
|
+
* @param callback - Callback that receives the function
|
|
189
|
+
* @category Engine Request
|
|
190
|
+
*/
|
|
191
|
+
interface RequestFunctionEvent {
|
|
192
|
+
name: 'request-function';
|
|
193
|
+
args: [systemName: string, callback: (fn: any) => void];
|
|
194
|
+
}
|
|
195
|
+
//#endregion
|
|
196
|
+
//#region src/eventbus/events/request-instance.d.ts
|
|
197
|
+
/**
|
|
198
|
+
* Event: request-instance
|
|
199
|
+
* @param instanceName - The name of the instance to request
|
|
200
|
+
* @param callback - Callback that receives the instance
|
|
201
|
+
* @category Engine Request
|
|
202
|
+
*/
|
|
203
|
+
interface RequestInstanceEvent {
|
|
204
|
+
name: 'request-instance';
|
|
205
|
+
args: [instanceName: string, callback: (instance: any) => void];
|
|
206
|
+
}
|
|
207
|
+
//#endregion
|
|
208
|
+
//#region src/eventbus/events/request-label-collection.d.ts
|
|
209
|
+
/**
|
|
210
|
+
* Event: request-label-collection
|
|
211
|
+
* @param language - The language code
|
|
212
|
+
* @param callback - Callback that receives the label collection
|
|
213
|
+
* @category Engine Request
|
|
214
|
+
*/
|
|
215
|
+
interface RequestLabelCollectionEvent {
|
|
216
|
+
name: 'request-label-collection';
|
|
217
|
+
args: [language: string, callback: (collection: any) => void];
|
|
218
|
+
}
|
|
219
|
+
//#endregion
|
|
220
|
+
//#region src/eventbus/events/request-label-collections.d.ts
|
|
221
|
+
/**
|
|
222
|
+
* Event: request-label-collections
|
|
223
|
+
* @param labelIds - Array of label IDs to retrieve
|
|
224
|
+
* @param callback - Callback that receives the label collections
|
|
225
|
+
* @category Engine Request
|
|
226
|
+
*/
|
|
227
|
+
interface RequestLabelCollectionsEvent {
|
|
228
|
+
name: 'request-label-collections';
|
|
229
|
+
args: [labelIds: string[], callback: (collections: any) => void];
|
|
230
|
+
}
|
|
231
|
+
//#endregion
|
|
232
|
+
//#region src/eventbus/events/request-timeline-cleanup.d.ts
|
|
233
|
+
/**
|
|
234
|
+
* Event: request-timeline-cleanup
|
|
235
|
+
* @category Engine Request
|
|
236
|
+
*/
|
|
237
|
+
interface RequestTimelineCleanupEvent {
|
|
238
|
+
name: 'request-timeline-cleanup';
|
|
239
|
+
args: [];
|
|
240
|
+
}
|
|
241
|
+
//#endregion
|
|
242
|
+
//#region src/eventbus/events/request-timeline-uri.d.ts
|
|
243
|
+
/**
|
|
244
|
+
* Event: request-timeline-uri
|
|
245
|
+
* @param uri - The timeline URI to load
|
|
246
|
+
* @param position - Optional start position (defaults to 0)
|
|
247
|
+
* @category Engine Request
|
|
248
|
+
*/
|
|
249
|
+
interface RequestTimelineUriEvent {
|
|
250
|
+
name: 'request-timeline-uri';
|
|
251
|
+
args: [uri: string, position?: number];
|
|
252
|
+
}
|
|
253
|
+
//#endregion
|
|
254
|
+
//#region src/eventbus/events/request-video-cleanup.d.ts
|
|
255
|
+
/**
|
|
256
|
+
* Event: request-video-cleanup
|
|
257
|
+
* @category Navigation
|
|
258
|
+
*/
|
|
259
|
+
interface RequestVideoCleanupEvent {
|
|
260
|
+
name: 'request-video-cleanup';
|
|
261
|
+
args: [];
|
|
262
|
+
}
|
|
263
|
+
//#endregion
|
|
264
|
+
//#region src/eventbus/events/request-video-url.d.ts
|
|
265
|
+
/**
|
|
266
|
+
* Event: request-video-url
|
|
267
|
+
* @param videoUrlIndex - The index of the video URL
|
|
268
|
+
* @param requestedVideoPosition - Optional video position to seek to
|
|
269
|
+
* @param fromRouting - Optional flag indicating if request came from routing
|
|
270
|
+
* @category Navigation
|
|
271
|
+
*/
|
|
272
|
+
interface RequestVideoUrlEvent {
|
|
273
|
+
name: 'request-video-url';
|
|
274
|
+
args: [videoUrlIndex: number, requestedVideoPosition?: number, fromRouting?: boolean];
|
|
275
|
+
}
|
|
276
|
+
//#endregion
|
|
277
|
+
//#region src/eventbus/events/timeline-complete.d.ts
|
|
278
|
+
/**
|
|
279
|
+
* Event: timeline-complete
|
|
280
|
+
* @category Timeline
|
|
281
|
+
*/
|
|
282
|
+
interface CompleteEvent {
|
|
283
|
+
name: 'timeline-complete';
|
|
284
|
+
args: [];
|
|
285
|
+
}
|
|
286
|
+
//#endregion
|
|
287
|
+
//#region src/eventbus/events/timeline-container-request.d.ts
|
|
288
|
+
/**
|
|
289
|
+
* Event: timeline-container-request
|
|
290
|
+
* @param callback - Callback that receives the container element
|
|
291
|
+
* @category Timeline
|
|
292
|
+
*/
|
|
293
|
+
interface ContainerRequestEvent {
|
|
294
|
+
name: 'timeline-container-request';
|
|
295
|
+
args: [callback: (element: HTMLElement) => void];
|
|
296
|
+
}
|
|
297
|
+
//#endregion
|
|
298
|
+
//#region src/eventbus/events/timeline-current-timeline-change.d.ts
|
|
299
|
+
/**
|
|
300
|
+
* Event: timeline-current-timeline-change
|
|
301
|
+
* @param timelineUri - The URI of the new current timeline
|
|
302
|
+
* @category Timeline
|
|
303
|
+
*/
|
|
304
|
+
interface CurrentTimelineChangeEvent {
|
|
305
|
+
name: 'timeline-current-timeline-change';
|
|
306
|
+
args: [timelineUri: string];
|
|
307
|
+
}
|
|
308
|
+
//#endregion
|
|
309
|
+
//#region src/eventbus/events/timeline-duration-request.d.ts
|
|
310
|
+
/**
|
|
311
|
+
* Event: timeline-duration-request
|
|
312
|
+
* @param callback - Callback that receives the duration
|
|
313
|
+
* @category Timeline
|
|
314
|
+
*/
|
|
315
|
+
interface DurationRequestEvent {
|
|
316
|
+
name: 'timeline-duration-request';
|
|
317
|
+
args: [callback: (duration: number) => void];
|
|
318
|
+
}
|
|
319
|
+
//#endregion
|
|
320
|
+
//#region src/eventbus/events/timeline-duration.d.ts
|
|
321
|
+
/**
|
|
322
|
+
* Event: timeline-duration
|
|
323
|
+
* @param getDuration - Function that returns the timeline duration
|
|
324
|
+
* @category Timeline
|
|
325
|
+
*/
|
|
326
|
+
interface DurationEvent {
|
|
327
|
+
name: 'timeline-duration';
|
|
328
|
+
args: [getDuration: (() => number) | undefined];
|
|
329
|
+
}
|
|
330
|
+
//#endregion
|
|
331
|
+
//#region src/eventbus/events/timeline-firstframe.d.ts
|
|
332
|
+
/**
|
|
333
|
+
* Event: timeline-firstframe
|
|
334
|
+
* @category Timeline
|
|
335
|
+
*/
|
|
336
|
+
interface FirstFrameEvent {
|
|
337
|
+
name: 'timeline-firstframe';
|
|
338
|
+
args: [];
|
|
339
|
+
}
|
|
340
|
+
//#endregion
|
|
341
|
+
//#region src/eventbus/events/timeline-pause-request.d.ts
|
|
342
|
+
/**
|
|
343
|
+
* Event: timeline-pause-request
|
|
344
|
+
* @category Timeline
|
|
345
|
+
*/
|
|
346
|
+
interface PauseRequestEvent {
|
|
347
|
+
name: 'timeline-pause-request';
|
|
348
|
+
args: [];
|
|
349
|
+
}
|
|
350
|
+
//#endregion
|
|
351
|
+
//#region src/eventbus/events/timeline-pause.d.ts
|
|
352
|
+
/**
|
|
353
|
+
* Event: timeline-pause
|
|
354
|
+
* @category Timeline
|
|
355
|
+
*/
|
|
356
|
+
interface PauseEvent {
|
|
357
|
+
name: 'timeline-pause';
|
|
358
|
+
args: [];
|
|
359
|
+
}
|
|
360
|
+
//#endregion
|
|
361
|
+
//#region src/eventbus/events/timeline-play-request.d.ts
|
|
362
|
+
/**
|
|
363
|
+
* Event: timeline-play-request
|
|
364
|
+
* @category Timeline
|
|
365
|
+
*/
|
|
366
|
+
interface PlayRequestEvent {
|
|
367
|
+
name: 'timeline-play-request';
|
|
368
|
+
args: [];
|
|
369
|
+
}
|
|
370
|
+
//#endregion
|
|
371
|
+
//#region src/eventbus/events/timeline-play-toggle-request.d.ts
|
|
372
|
+
/**
|
|
373
|
+
* Event: timeline-play-toggle-request
|
|
374
|
+
* @category Timeline
|
|
375
|
+
*/
|
|
376
|
+
interface PlayToggleRequestEvent {
|
|
377
|
+
name: 'timeline-play-toggle-request';
|
|
378
|
+
args: [];
|
|
379
|
+
}
|
|
380
|
+
//#endregion
|
|
381
|
+
//#region src/eventbus/events/timeline-play.d.ts
|
|
382
|
+
/**
|
|
383
|
+
* Event: timeline-play
|
|
384
|
+
* @category Timeline
|
|
385
|
+
*/
|
|
386
|
+
interface PlayEvent {
|
|
387
|
+
name: 'timeline-play';
|
|
388
|
+
args: [];
|
|
389
|
+
}
|
|
390
|
+
//#endregion
|
|
391
|
+
//#region src/eventbus/events/timeline-request-current-timeline.d.ts
|
|
392
|
+
/**
|
|
393
|
+
* Event: timeline-request-current-timeline
|
|
394
|
+
* @param callback - Callback that receives the current timeline URI
|
|
395
|
+
* @category Engine Request
|
|
396
|
+
*/
|
|
397
|
+
interface RequestCurrentTimelineEvent {
|
|
398
|
+
name: 'timeline-request-current-timeline';
|
|
399
|
+
args: [callback: TResultCallback<string>];
|
|
400
|
+
}
|
|
401
|
+
//#endregion
|
|
402
|
+
//#region src/eventbus/events/timeline-resize-request.d.ts
|
|
403
|
+
/**
|
|
404
|
+
* Event: timeline-resize-request
|
|
405
|
+
* @category Timeline
|
|
406
|
+
*/
|
|
407
|
+
interface ResizeRequestEvent {
|
|
408
|
+
name: 'timeline-resize-request';
|
|
409
|
+
args: [];
|
|
410
|
+
}
|
|
411
|
+
//#endregion
|
|
412
|
+
//#region src/eventbus/events/timeline-resize.d.ts
|
|
413
|
+
/**
|
|
414
|
+
* Event: timeline-resize
|
|
415
|
+
* @category Timeline
|
|
416
|
+
*/
|
|
417
|
+
interface ResizeEvent {
|
|
418
|
+
name: 'timeline-resize';
|
|
419
|
+
args: [];
|
|
420
|
+
}
|
|
421
|
+
//#endregion
|
|
422
|
+
//#region src/eventbus/events/timeline-restart.d.ts
|
|
423
|
+
/**
|
|
424
|
+
* Event: timeline-restart
|
|
425
|
+
* @category Timeline
|
|
426
|
+
*/
|
|
427
|
+
interface RestartEvent {
|
|
428
|
+
name: 'timeline-restart';
|
|
429
|
+
args: [];
|
|
430
|
+
}
|
|
431
|
+
//#endregion
|
|
432
|
+
//#region src/eventbus/events/timeline-seek-request.d.ts
|
|
433
|
+
/**
|
|
434
|
+
* Event: timeline-seek-request
|
|
435
|
+
* @param position - The timeline position to seek to
|
|
436
|
+
* @category Timeline
|
|
437
|
+
*/
|
|
438
|
+
interface SeekRequestEvent {
|
|
439
|
+
name: 'timeline-seek-request';
|
|
440
|
+
args: [position: number];
|
|
441
|
+
}
|
|
442
|
+
//#endregion
|
|
443
|
+
//#region src/eventbus/events/timeline-seek.d.ts
|
|
444
|
+
/**
|
|
445
|
+
* Event: timeline-seek
|
|
446
|
+
* @param seekPosition - The position to seek to
|
|
447
|
+
* @param currentPosition - The current position
|
|
448
|
+
* @param duration - The timeline duration
|
|
449
|
+
* @category Timeline
|
|
450
|
+
*/
|
|
451
|
+
interface SeekEvent {
|
|
452
|
+
name: 'timeline-seek';
|
|
453
|
+
args: [seekPosition: number, currentPosition: number, duration: number];
|
|
454
|
+
}
|
|
455
|
+
//#endregion
|
|
456
|
+
//#region src/eventbus/events/timeline-seeked.d.ts
|
|
457
|
+
/**
|
|
458
|
+
* Event: timeline-seeked
|
|
459
|
+
* @param position - The new timeline position after seeking
|
|
460
|
+
* @param duration - The timeline duration
|
|
461
|
+
* @category Timeline
|
|
462
|
+
*/
|
|
463
|
+
interface SeekedEvent {
|
|
464
|
+
name: 'timeline-seeked';
|
|
465
|
+
args: [position: number, duration: number];
|
|
466
|
+
}
|
|
467
|
+
//#endregion
|
|
468
|
+
//#region src/eventbus/events/timeline-stop-request.d.ts
|
|
469
|
+
/**
|
|
470
|
+
* Event: timeline-stop-request
|
|
471
|
+
* @category Timeline
|
|
472
|
+
*/
|
|
473
|
+
interface StopRequestEvent {
|
|
474
|
+
name: 'timeline-stop-request';
|
|
475
|
+
args: [];
|
|
476
|
+
}
|
|
477
|
+
//#endregion
|
|
478
|
+
//#region src/eventbus/events/timeline-stop.d.ts
|
|
479
|
+
/**
|
|
480
|
+
* Event: timeline-stop
|
|
481
|
+
* @category Timeline
|
|
482
|
+
*/
|
|
483
|
+
interface StopEvent {
|
|
484
|
+
name: 'timeline-stop';
|
|
485
|
+
args: [];
|
|
486
|
+
}
|
|
487
|
+
//#endregion
|
|
488
|
+
//#region src/eventbus/events/timeline-time.d.ts
|
|
489
|
+
/**
|
|
490
|
+
* Event: timeline-time
|
|
491
|
+
* @param position - The current timeline position
|
|
492
|
+
* @category Timeline
|
|
493
|
+
*/
|
|
494
|
+
interface TimeEvent {
|
|
495
|
+
name: 'timeline-time';
|
|
496
|
+
args: [position: number];
|
|
497
|
+
}
|
|
498
|
+
//#endregion
|
|
499
|
+
//#region src/eventbus/events/video-complete.d.ts
|
|
500
|
+
/**
|
|
501
|
+
* Event: video-complete
|
|
502
|
+
* @param index - The video URL index that completed
|
|
503
|
+
* @category Navigation
|
|
504
|
+
*/
|
|
505
|
+
interface VideoCompleteEvent {
|
|
506
|
+
name: 'video-complete';
|
|
507
|
+
args: [index: number];
|
|
508
|
+
}
|
|
509
|
+
//#endregion
|
|
510
|
+
//#region src/eventbus/events/types.d.ts
|
|
511
|
+
type AllEvents = BeforeRequestTimelineUriEvent | BeforeRequestVideoUrlEvent | DomMutationEvent | HighlightNavigationEvent | LanguageChangeEvent | NavigateToVideoUrlEvent | PushHistoryStateEvent | RequestActionEvent | RequestCurrentLanguageEvent | RequestCurrentNavigationEvent | RequestCurrentTimelinePositionEvent | RequestCurrentVideoPositionEvent | RequestEngineRootEvent | RequestFunctionEvent | RequestInstanceEvent | RequestLabelCollectionEvent | RequestLabelCollectionsEvent | RequestTimelineCleanupEvent | RequestTimelineUriEvent | RequestVideoCleanupEvent | RequestVideoUrlEvent | CompleteEvent | ContainerRequestEvent | CurrentTimelineChangeEvent | DurationRequestEvent | DurationEvent | FirstFrameEvent | PauseRequestEvent | PauseEvent | PlayRequestEvent | PlayToggleRequestEvent | PlayEvent | RequestCurrentTimelineEvent | ResizeRequestEvent | ResizeEvent | RestartEvent | SeekRequestEvent | SeekEvent | SeekedEvent | StopRequestEvent | StopEvent | TimeEvent | VideoCompleteEvent;
|
|
512
|
+
type EventMap = { [K in AllEvents as K['name']]: K['args'] };
|
|
513
|
+
type EventName = keyof EventMap;
|
|
514
|
+
//#endregion
|
|
515
|
+
//#region src/eventbus/types.d.ts
|
|
516
|
+
type TEventbusRemover = () => void;
|
|
517
|
+
type TRequestResponder<T = unknown> = (...args: any[]) => T;
|
|
518
|
+
interface IEventbus {
|
|
519
|
+
clear(): void;
|
|
520
|
+
on<E extends EventName>(eventName: E, eventHandler: (...args: EventMap[E]) => void, eventTopic?: string): TEventbusRemover;
|
|
521
|
+
off<E extends EventName>(eventName: E, eventHandler: (...args: EventMap[E]) => void, eventTopic?: string): void;
|
|
522
|
+
once<E extends EventName>(eventName: E, eventHandler: (...args: EventMap[E]) => void, eventTopic?: string): TEventbusRemover;
|
|
523
|
+
broadcast<E extends EventName>(eventName: E, args: EventMap[E]): void;
|
|
524
|
+
broadcastForTopic<E extends EventName>(eventName: E, eventTopic: string, args: EventMap[E]): void;
|
|
525
|
+
/**
|
|
526
|
+
* Register a responder for synchronous request/response queries.
|
|
527
|
+
* Only the first registered responder for an event will be called.
|
|
528
|
+
*
|
|
529
|
+
* @param eventName - The request event name
|
|
530
|
+
* @param responder - Function that returns the response value
|
|
531
|
+
* @param eventTopic - Optional topic for topic-specific responders
|
|
532
|
+
* @returns Function to unregister the responder
|
|
533
|
+
*/
|
|
534
|
+
onRequest<T>(eventName: string, responder: TRequestResponder<T>, eventTopic?: string): TEventbusRemover;
|
|
535
|
+
/**
|
|
536
|
+
* Send a synchronous request and get an immediate response.
|
|
537
|
+
* Returns undefined if no responder is registered.
|
|
538
|
+
*
|
|
539
|
+
* @param eventName - The request event name
|
|
540
|
+
* @param args - Arguments to pass to the responder
|
|
541
|
+
* @returns The response value, or undefined if no responder
|
|
542
|
+
*/
|
|
543
|
+
request<T>(eventName: string, ...args: unknown[]): T | undefined;
|
|
544
|
+
/**
|
|
545
|
+
* Send a synchronous request for a specific topic.
|
|
546
|
+
* Returns undefined if no responder is registered for that topic.
|
|
547
|
+
*
|
|
548
|
+
* @param eventName - The request event name
|
|
549
|
+
* @param eventTopic - The topic to target
|
|
550
|
+
* @param args - Arguments to pass to the responder
|
|
551
|
+
* @returns The response value, or undefined if no responder
|
|
552
|
+
*/
|
|
553
|
+
requestForTopic<T>(eventName: string, eventTopic: string, ...args: unknown[]): T | undefined;
|
|
554
|
+
registerEventlistener(eventbusListener: IEventbusListener): TEventbusRemover;
|
|
555
|
+
registerInterceptor(eventName: string, interceptor: IEventbusInterceptor, eventTopic?: string): TEventbusRemover;
|
|
556
|
+
}
|
|
557
|
+
interface IEventbusListener {
|
|
558
|
+
handleEvent(eventName: string, eventTopic: string | undefined, args: any[]): void;
|
|
559
|
+
}
|
|
560
|
+
interface IEventbusInterceptor {
|
|
561
|
+
intercept(eventArgs: any[]): any[];
|
|
562
|
+
}
|
|
563
|
+
//#endregion
|
|
564
|
+
//#region src/eventbus/events/metadata/types.d.ts
|
|
565
|
+
/**
|
|
566
|
+
* Metadata for an event in the EventBus system.
|
|
567
|
+
*
|
|
568
|
+
* This interface describes the structure of event metadata generated from
|
|
569
|
+
* event interface definitions. Metadata is used for documentation, tooling,
|
|
570
|
+
* and runtime validation.
|
|
571
|
+
*
|
|
572
|
+
* @template TArgs - The tuple type of event arguments
|
|
573
|
+
*
|
|
574
|
+
* @example
|
|
575
|
+
* ```typescript
|
|
576
|
+
* const seekMetadata: IEventMetadata<[position: number]> = {
|
|
577
|
+
* description: 'Event: timeline-seek-request',
|
|
578
|
+
* category: 'Timeline',
|
|
579
|
+
* args: [
|
|
580
|
+
* { name: 'position', type: 'number', description: 'Timeline position to seek to' }
|
|
581
|
+
* ]
|
|
582
|
+
* };
|
|
583
|
+
* ```
|
|
584
|
+
*/
|
|
585
|
+
interface IEventMetadata<_TArgs extends any[] = any[]> {
|
|
586
|
+
/** Human-readable description of the event, typically "Event: {event-name}" */
|
|
587
|
+
description: string;
|
|
588
|
+
/** Category grouping for the event (e.g., "Timeline", "Language", "Engine") */
|
|
589
|
+
category: string;
|
|
590
|
+
/** Metadata for each argument in the event's args tuple */
|
|
591
|
+
args: Array<{
|
|
592
|
+
/** Name of the argument (from labeled tuple element) */name: string; /** TypeScript type of the argument as a string (e.g., "number", "string") */
|
|
593
|
+
type: string; /** Optional description of the argument from JSDoc @param tag */
|
|
594
|
+
description?: string;
|
|
595
|
+
}>;
|
|
596
|
+
}
|
|
597
|
+
//#endregion
|
|
598
|
+
//#region src/operation/types.d.ts
|
|
599
|
+
type TOperationData = Record<string, any>;
|
|
600
|
+
type TOperationResult<T = TOperationData> = Promise<T> | T;
|
|
601
|
+
interface IOperationScope {
|
|
602
|
+
/**
|
|
603
|
+
* When inside a loop, this is the current iteration of said loop
|
|
604
|
+
*/
|
|
605
|
+
loopIndex?: number;
|
|
606
|
+
/**
|
|
607
|
+
* The number of iterations for the current loop
|
|
608
|
+
*/
|
|
609
|
+
loopLength?: number;
|
|
610
|
+
/**
|
|
611
|
+
* The start index of the loop within the total number of operations
|
|
612
|
+
*/
|
|
613
|
+
loopStartIndex?: number;
|
|
614
|
+
/**
|
|
615
|
+
* The end index of the loop within the total number of operations
|
|
616
|
+
*/
|
|
617
|
+
loopEndIndex?: number;
|
|
618
|
+
/**
|
|
619
|
+
* Set this index to change the current item in the main operations loop
|
|
620
|
+
*/
|
|
621
|
+
newIndex?: number;
|
|
622
|
+
/**
|
|
623
|
+
* The current index with in the main operations loop
|
|
624
|
+
*/
|
|
625
|
+
currentIndex: number;
|
|
626
|
+
/**
|
|
627
|
+
* The eventbus instance shared amongst actions and operations
|
|
628
|
+
*/
|
|
629
|
+
eventbus: IEventbus;
|
|
630
|
+
/**
|
|
631
|
+
* The list of operations that is currently being executed
|
|
632
|
+
*/
|
|
633
|
+
operations: IResolvedOperation[];
|
|
634
|
+
/**
|
|
635
|
+
* The result of the last when evaluation, if any
|
|
636
|
+
*/
|
|
637
|
+
whenEvaluation?: boolean;
|
|
638
|
+
/**
|
|
639
|
+
*
|
|
640
|
+
*/
|
|
641
|
+
owner?: any;
|
|
642
|
+
/**
|
|
643
|
+
*
|
|
644
|
+
*/
|
|
645
|
+
currentItem?: any;
|
|
646
|
+
/**
|
|
647
|
+
*
|
|
648
|
+
*/
|
|
649
|
+
parent?: IOperationScope;
|
|
650
|
+
/**
|
|
651
|
+
*
|
|
652
|
+
*/
|
|
653
|
+
variables?: Record<string, unknown>;
|
|
654
|
+
}
|
|
655
|
+
type TOperation<T extends TOperationData = TOperationData, RT = T> = (this: IOperationScope, operationData: T) => TOperationResult<RT>;
|
|
656
|
+
//#endregion
|
|
657
|
+
//#region src/controllers/types.d.ts
|
|
658
|
+
interface IController<T extends TOperationData> {
|
|
659
|
+
name: string;
|
|
660
|
+
init(operationData: T): void;
|
|
661
|
+
attach(eventbus: IEventbus): Promise<any> | void;
|
|
662
|
+
detach(eventbus: IEventbus): void;
|
|
663
|
+
}
|
|
664
|
+
//#endregion
|
|
665
|
+
//#region src/controllers/base-controller.d.ts
|
|
666
|
+
/**
|
|
667
|
+
* Abstract base class for controllers providing standardized event listener management
|
|
668
|
+
*
|
|
669
|
+
* Benefits:
|
|
670
|
+
* - Eliminates boilerplate event listener tracking code
|
|
671
|
+
* - Automatic binding of event handlers to controller instance
|
|
672
|
+
* - Centralized cleanup preventing memory leaks
|
|
673
|
+
* - Consistent event management pattern across all controllers
|
|
674
|
+
*
|
|
675
|
+
* @example
|
|
676
|
+
* ```typescript
|
|
677
|
+
* class MyController extends BaseController<IMyOperationData> {
|
|
678
|
+
* name = 'MyController';
|
|
679
|
+
*
|
|
680
|
+
* init(operationData: IMyOperationData): void {
|
|
681
|
+
* this.operationData = operationData;
|
|
682
|
+
* }
|
|
683
|
+
*
|
|
684
|
+
* attach(eventbus: IEventbus): void {
|
|
685
|
+
* this.addListener(eventbus, 'my-event', this.handleMyEvent);
|
|
686
|
+
* // Handler automatically bound, cleanup tracked
|
|
687
|
+
* }
|
|
688
|
+
*
|
|
689
|
+
* private handleMyEvent(): void {
|
|
690
|
+
* // 'this' context preserved
|
|
691
|
+
* }
|
|
692
|
+
* }
|
|
693
|
+
* ```
|
|
694
|
+
*/
|
|
695
|
+
declare abstract class BaseController<T extends TOperationData> implements IController<T> {
|
|
696
|
+
operationData: T | null;
|
|
697
|
+
abstract name: string;
|
|
698
|
+
protected eventListeners: TEventbusRemover[];
|
|
699
|
+
/**
|
|
700
|
+
* Register event listener with automatic binding and cleanup tracking
|
|
701
|
+
*
|
|
702
|
+
* @param eventbus - The eventbus to register with
|
|
703
|
+
* @param eventName - Name of the event to listen for
|
|
704
|
+
* @param handler - Event handler function (will be bound to this controller)
|
|
705
|
+
*/
|
|
706
|
+
protected addListener(eventbus: IEventbus, eventName: EventName, handler: (...args: any[]) => void): void;
|
|
707
|
+
/**
|
|
708
|
+
* Register multiple event listeners at once
|
|
709
|
+
*
|
|
710
|
+
* @param eventbus - The eventbus to register with
|
|
711
|
+
* @param listeners - Array of {eventName, handler} pairs
|
|
712
|
+
*/
|
|
713
|
+
protected attachMultiple(eventbus: IEventbus, listeners: Array<{
|
|
714
|
+
eventName: string;
|
|
715
|
+
handler: (...args: any[]) => void;
|
|
716
|
+
}>): void;
|
|
717
|
+
/**
|
|
718
|
+
* Clean up all tracked event listeners
|
|
719
|
+
* Prevents memory leaks by removing all registered handlers
|
|
720
|
+
*
|
|
721
|
+
* @param _eventbus - The eventbus (ignored, included for IController compatibility)
|
|
722
|
+
*/
|
|
723
|
+
detach(_eventbus: IEventbus): void;
|
|
724
|
+
abstract init(operationData: T): void;
|
|
725
|
+
abstract attach(eventbus: IEventbus): Promise<any> | void;
|
|
726
|
+
}
|
|
727
|
+
//#endregion
|
|
728
|
+
//#region src/controllers/label-controller.d.ts
|
|
729
|
+
interface ILabelControllerMetadata {
|
|
730
|
+
/**
|
|
731
|
+
* @dependency
|
|
732
|
+
*/
|
|
733
|
+
selectedElement: JQuery;
|
|
734
|
+
/**
|
|
735
|
+
* Translation key for rosetta-based locale system.
|
|
736
|
+
* Example: 'nav.home', 'buttons.submit'
|
|
737
|
+
* @required
|
|
738
|
+
*/
|
|
739
|
+
translationKey: string;
|
|
740
|
+
/**
|
|
741
|
+
* By default the label is added to the inner HTML of the `selectedElement`,
|
|
742
|
+
* otherwise if this property is set, the label text is added to the specified attribute
|
|
743
|
+
* of the `selectedElement`.
|
|
744
|
+
*/
|
|
745
|
+
attributeName?: string;
|
|
746
|
+
}
|
|
747
|
+
/**
|
|
748
|
+
* This controller attaches to the given selected element and renders the text
|
|
749
|
+
* associated with the given translation key.
|
|
750
|
+
*
|
|
751
|
+
* The controller listens for the `language-change` event and re-renders the text
|
|
752
|
+
* with the new language after such an event.
|
|
753
|
+
*
|
|
754
|
+
* Uses the rosetta-based locale system via `request-translation` event.
|
|
755
|
+
*/
|
|
756
|
+
declare class LabelController$1 extends BaseController<ILabelControllerMetadata> {
|
|
757
|
+
name: string;
|
|
758
|
+
private _eventbus;
|
|
759
|
+
init(operationData: ILabelControllerMetadata): void;
|
|
760
|
+
/**
|
|
761
|
+
* Sets the translation key and re-renders the label.
|
|
762
|
+
*/
|
|
763
|
+
setTranslationKey(newKey: string): void;
|
|
764
|
+
attach(eventbus: IEventbus): void;
|
|
765
|
+
private _setLabel;
|
|
766
|
+
private _applyText;
|
|
767
|
+
detach(eventbus: IEventbus): void;
|
|
768
|
+
private _handleLanguageChange;
|
|
769
|
+
}
|
|
770
|
+
//#endregion
|
|
771
|
+
//#region src/controllers/lottie-controller.d.ts
|
|
772
|
+
interface IInnerMetadata {
|
|
773
|
+
/**
|
|
774
|
+
* @dependency
|
|
775
|
+
*/
|
|
776
|
+
selectedElement: JQuery;
|
|
777
|
+
/**
|
|
778
|
+
* @type=ParameterType:string
|
|
779
|
+
*/
|
|
780
|
+
renderer: SVGRendererConfig | CanvasRendererConfig | HTMLRendererConfig;
|
|
781
|
+
loop: boolean;
|
|
782
|
+
autoplay: boolean;
|
|
783
|
+
/**
|
|
784
|
+
* ParameterType:object
|
|
785
|
+
*/
|
|
786
|
+
animationData: any;
|
|
787
|
+
/**
|
|
788
|
+
* @required
|
|
789
|
+
*/
|
|
790
|
+
json: any;
|
|
791
|
+
/**
|
|
792
|
+
* @type=ParameterType:array
|
|
793
|
+
* @itemType=ParameterType:labelId
|
|
794
|
+
*/
|
|
795
|
+
labelIds: string[];
|
|
796
|
+
viewBox: string;
|
|
797
|
+
iefallback: any;
|
|
798
|
+
}
|
|
799
|
+
interface ILottieControllerMetadata extends IInnerMetadata {
|
|
800
|
+
/**
|
|
801
|
+
* @type=ParameterType:url
|
|
802
|
+
* @required
|
|
803
|
+
*/
|
|
804
|
+
url: string;
|
|
805
|
+
}
|
|
806
|
+
/**
|
|
807
|
+
* This controller renders a [lottie-web](https://github.com/airbnb/lottie-web) animation inside the given selected element.
|
|
808
|
+
*
|
|
809
|
+
* The url may encode freeze and end positions like this: my-url/filename[freeze=10,end=21].json
|
|
810
|
+
*
|
|
811
|
+
*/
|
|
812
|
+
declare class LottieController$1 extends BaseController<ILottieControllerMetadata> {
|
|
813
|
+
name: string;
|
|
814
|
+
currentLanguage: TLanguageCode;
|
|
815
|
+
labelData: Record<string, Record<string, string>>;
|
|
816
|
+
animationItem: AnimationItem | null;
|
|
817
|
+
serializedData: string | null;
|
|
818
|
+
serializedIEData: string | null;
|
|
819
|
+
freezePosition: number;
|
|
820
|
+
endPosition: number;
|
|
821
|
+
init(operationData: ILottieControllerMetadata): void;
|
|
822
|
+
private _parseFilename;
|
|
823
|
+
attach(eventbus: IEventbus): void;
|
|
824
|
+
detach(eventbus: IEventbus): void;
|
|
825
|
+
private _destroy;
|
|
826
|
+
private _createAnimation;
|
|
827
|
+
private _createTextDataLookup;
|
|
828
|
+
private _handleLanguageChange;
|
|
829
|
+
private _isIE;
|
|
830
|
+
}
|
|
831
|
+
//#endregion
|
|
832
|
+
//#region src/controllers/mutation-observer-controller.d.ts
|
|
833
|
+
/**
|
|
834
|
+
* Metadata configuration for MutationObserverController
|
|
835
|
+
*
|
|
836
|
+
* Configures what types of DOM mutations to observe and how to observe them.
|
|
837
|
+
*/
|
|
838
|
+
interface IMutationObserverControllerMetadata {
|
|
839
|
+
/**
|
|
840
|
+
* jQuery-wrapped DOM element to observe for mutations
|
|
841
|
+
* @dependency
|
|
842
|
+
* @required
|
|
843
|
+
*/
|
|
844
|
+
selectedElement: JQuery;
|
|
845
|
+
/**
|
|
846
|
+
* Observe changes to element attributes
|
|
847
|
+
* @optional
|
|
848
|
+
* @default true
|
|
849
|
+
*/
|
|
850
|
+
observeAttributes?: boolean;
|
|
851
|
+
/**
|
|
852
|
+
* Observe additions and removals of child nodes
|
|
853
|
+
* @optional
|
|
854
|
+
* @default true
|
|
855
|
+
*/
|
|
856
|
+
observeChildList?: boolean;
|
|
857
|
+
/**
|
|
858
|
+
* Observe changes to text content (character data)
|
|
859
|
+
* @optional
|
|
860
|
+
* @default true
|
|
861
|
+
*/
|
|
862
|
+
observeCharacterData?: boolean;
|
|
863
|
+
/**
|
|
864
|
+
* Observe mutations in the entire subtree (all descendants)
|
|
865
|
+
* @optional
|
|
866
|
+
* @default false
|
|
867
|
+
*/
|
|
868
|
+
observeSubtree?: boolean;
|
|
869
|
+
/**
|
|
870
|
+
* Record the previous value of attributes that change
|
|
871
|
+
* Requires observeAttributes to be true
|
|
872
|
+
* @optional
|
|
873
|
+
* @default false
|
|
874
|
+
*/
|
|
875
|
+
attributeOldValue?: boolean;
|
|
876
|
+
/**
|
|
877
|
+
* Record the previous value of text content that changes
|
|
878
|
+
* Requires observeCharacterData to be true
|
|
879
|
+
* @optional
|
|
880
|
+
* @default false
|
|
881
|
+
*/
|
|
882
|
+
characterDataOldValue?: boolean;
|
|
883
|
+
/**
|
|
884
|
+
* Array of specific attribute local names to observe
|
|
885
|
+
* If omitted, all attribute changes are observed when observeAttributes is true
|
|
886
|
+
* @optional
|
|
887
|
+
*/
|
|
888
|
+
attributeFilter?: string[];
|
|
889
|
+
}
|
|
890
|
+
/**
|
|
891
|
+
* Mutation event payload broadcasted through Eligius eventbus
|
|
892
|
+
*/
|
|
893
|
+
interface IMutationEventPayload {
|
|
894
|
+
/**
|
|
895
|
+
* Array of mutation records from the MutationObserver callback
|
|
896
|
+
*/
|
|
897
|
+
mutations: MutationRecord[];
|
|
898
|
+
/**
|
|
899
|
+
* Reference to the observed element (native DOM node)
|
|
900
|
+
*/
|
|
901
|
+
target: Element;
|
|
902
|
+
/**
|
|
903
|
+
* Timestamp when the mutations were detected
|
|
904
|
+
*/
|
|
905
|
+
timestamp: number;
|
|
906
|
+
}
|
|
907
|
+
/**
|
|
908
|
+
* Controller that observes DOM mutations on a selected element and broadcasts events.
|
|
909
|
+
*
|
|
910
|
+
* This controller creates a MutationObserver to monitor DOM changes (attributes, child nodes,
|
|
911
|
+
* text content) on a specified element. All detected mutations are broadcasted through the
|
|
912
|
+
* Eligius eventbus, enabling reactive behavior in response to DOM changes.
|
|
913
|
+
*
|
|
914
|
+
* The controller follows the standard Eligius lifecycle:
|
|
915
|
+
* - init(): Store configuration metadata
|
|
916
|
+
* - attach(): Create and start the MutationObserver
|
|
917
|
+
* - detach(): Disconnect the observer and clean up resources
|
|
918
|
+
*
|
|
919
|
+
* @example
|
|
920
|
+
* ```typescript
|
|
921
|
+
* // JSON configuration
|
|
922
|
+
* {
|
|
923
|
+
* "systemName": "addControllerToElement",
|
|
924
|
+
* "operationData": {
|
|
925
|
+
* "controllerName": "MutationObserverController",
|
|
926
|
+
* "observeAttributes": true,
|
|
927
|
+
* "observeChildList": true,
|
|
928
|
+
* "observeCharacterData": false
|
|
929
|
+
* }
|
|
930
|
+
* }
|
|
931
|
+
*
|
|
932
|
+
* // Listen for mutations
|
|
933
|
+
* eventbus.on('dom-mutation', (payload: IMutationEventPayload) => {
|
|
934
|
+
* console.log('Mutations detected:', payload.mutations);
|
|
935
|
+
* });
|
|
936
|
+
* ```
|
|
937
|
+
*/
|
|
938
|
+
declare class MutationObserverController$1 extends BaseController<IMutationObserverControllerMetadata> {
|
|
939
|
+
name: string;
|
|
940
|
+
private observer;
|
|
941
|
+
/**
|
|
942
|
+
* Initialize the controller with configuration metadata.
|
|
943
|
+
*
|
|
944
|
+
* @param operationData - Configuration for observation behavior
|
|
945
|
+
*/
|
|
946
|
+
init(operationData: IMutationObserverControllerMetadata): void;
|
|
947
|
+
/**
|
|
948
|
+
* Attach the controller and start observing mutations.
|
|
949
|
+
* Creates MutationObserver instance and begins monitoring the target element.
|
|
950
|
+
*
|
|
951
|
+
* @param eventbus - Eligius eventbus for broadcasting mutation events
|
|
952
|
+
*/
|
|
953
|
+
attach(eventbus: IEventbus): void;
|
|
954
|
+
/**
|
|
955
|
+
* Detach the controller and stop observing mutations.
|
|
956
|
+
* Disconnects MutationObserver and cleans up resources.
|
|
957
|
+
*
|
|
958
|
+
* @param eventbus - Eligius eventbus (used by BaseController for cleanup)
|
|
959
|
+
*/
|
|
960
|
+
detach(eventbus: IEventbus): void;
|
|
961
|
+
/**
|
|
962
|
+
* Build MutationObserverInit options from controller metadata.
|
|
963
|
+
* Applies default values for optional configuration properties.
|
|
964
|
+
*
|
|
965
|
+
* @returns MutationObserverInit options object
|
|
966
|
+
* @private
|
|
967
|
+
*/
|
|
968
|
+
private _buildObserverOptions;
|
|
969
|
+
/**
|
|
970
|
+
* Handle mutations detected by the MutationObserver.
|
|
971
|
+
* Broadcasts mutation events through the eventbus with mutation details.
|
|
972
|
+
*
|
|
973
|
+
* @param eventbus - Eligius eventbus for broadcasting
|
|
974
|
+
* @param target - The observed element
|
|
975
|
+
* @param mutations - Array of mutation records from observer callback
|
|
976
|
+
* @private
|
|
977
|
+
*/
|
|
978
|
+
private _handleMutations;
|
|
979
|
+
}
|
|
980
|
+
//#endregion
|
|
981
|
+
//#region src/controllers/navigation-controller.d.ts
|
|
982
|
+
interface INavigationControllerOperationData {
|
|
983
|
+
/**
|
|
984
|
+
* @dependency
|
|
985
|
+
*/
|
|
986
|
+
selectedElement: JQuery;
|
|
987
|
+
/**
|
|
988
|
+
* @required
|
|
989
|
+
*/
|
|
990
|
+
json: any;
|
|
991
|
+
}
|
|
992
|
+
declare class NavigationController$1 extends BaseController<INavigationControllerOperationData> {
|
|
993
|
+
name: string;
|
|
994
|
+
navigation: any[];
|
|
995
|
+
navLookup: Record<string, any>;
|
|
996
|
+
navVidIdLookup: Record<string, any>;
|
|
997
|
+
ctrlLookup: Record<string, LabelController$1>;
|
|
998
|
+
activeNavigationPoint: any | null;
|
|
999
|
+
labelControllers: LabelController$1[];
|
|
1000
|
+
eventbus: IEventbus | null;
|
|
1001
|
+
container: JQuery | null;
|
|
1002
|
+
init(operationData: TOperationData): void;
|
|
1003
|
+
attach(eventbus: IEventbus): void;
|
|
1004
|
+
private _initHistory;
|
|
1005
|
+
private _getQueryVariable;
|
|
1006
|
+
private _handleRequestCurrentNavigation;
|
|
1007
|
+
detach(eventbus: IEventbus): void;
|
|
1008
|
+
private _pushCurrentState;
|
|
1009
|
+
private _buildHtml;
|
|
1010
|
+
private _addNavElement;
|
|
1011
|
+
private _addClickHandler;
|
|
1012
|
+
private _menuMouseupHandler;
|
|
1013
|
+
private _handleNavigateVideoUrl;
|
|
1014
|
+
private _highlightMenu;
|
|
1015
|
+
private _handleVideoComplete;
|
|
1016
|
+
private _addLabel;
|
|
1017
|
+
private _buildNavigationData;
|
|
1018
|
+
}
|
|
1019
|
+
//#endregion
|
|
1020
|
+
//#region src/controllers/progressbar-controller.d.ts
|
|
1021
|
+
interface IProgressbarControllerOperationData {
|
|
1022
|
+
/**
|
|
1023
|
+
* @dependency
|
|
1024
|
+
*/
|
|
1025
|
+
selectedElement: JQuery;
|
|
1026
|
+
/**
|
|
1027
|
+
* @dependency
|
|
1028
|
+
*/
|
|
1029
|
+
textElement: JQuery;
|
|
1030
|
+
}
|
|
1031
|
+
/**
|
|
1032
|
+
* This controller renders a progressbar that displays the progress of the current timeline in the given selected element.
|
|
1033
|
+
*
|
|
1034
|
+
* The current progress as a percentage is rendered in the given text element.
|
|
1035
|
+
*/
|
|
1036
|
+
declare class ProgressbarController$1 extends BaseController<IProgressbarControllerOperationData> {
|
|
1037
|
+
name: string;
|
|
1038
|
+
selectedElement: JQuery | null;
|
|
1039
|
+
textElement: JQuery | null;
|
|
1040
|
+
duration: number;
|
|
1041
|
+
init(operationData: TOperationData): void;
|
|
1042
|
+
attach(eventbus: IEventbus): void;
|
|
1043
|
+
detach(eventbus: IEventbus): void;
|
|
1044
|
+
private _positionUpdateHandler;
|
|
1045
|
+
private _clickHandler;
|
|
1046
|
+
}
|
|
1047
|
+
//#endregion
|
|
1048
|
+
//#region src/controllers/routing-controller.d.ts
|
|
1049
|
+
interface IRoutingControllerOperationData {
|
|
1050
|
+
/**
|
|
1051
|
+
* @required
|
|
1052
|
+
*/
|
|
1053
|
+
json: any;
|
|
1054
|
+
}
|
|
1055
|
+
/**
|
|
1056
|
+
* This is a work in progress, do not use this yet please....
|
|
1057
|
+
*/
|
|
1058
|
+
declare class RoutingController$1 extends BaseController<IRoutingControllerOperationData> {
|
|
1059
|
+
name: string;
|
|
1060
|
+
navLookup: Record<string, any>;
|
|
1061
|
+
navVidIdLookup: Record<string, any>;
|
|
1062
|
+
navigation: any;
|
|
1063
|
+
eventbus: IEventbus | null;
|
|
1064
|
+
init(operationData: TOperationData): void;
|
|
1065
|
+
attach(eventbus: IEventbus): void;
|
|
1066
|
+
private _handlePopstate;
|
|
1067
|
+
detach(eventbus: IEventbus): void;
|
|
1068
|
+
private _handleBeforeRequestVideoUrl;
|
|
1069
|
+
private _getQueryVariable;
|
|
1070
|
+
private _handlePushHistoryState;
|
|
1071
|
+
private _pushState;
|
|
1072
|
+
private _buildNavigationData;
|
|
1073
|
+
}
|
|
1074
|
+
//#endregion
|
|
1075
|
+
//#region src/controllers/subtitles-controller.d.ts
|
|
1076
|
+
interface ISubtitlesControllerOperationData {
|
|
1077
|
+
/**
|
|
1078
|
+
* @dependency
|
|
1079
|
+
*/
|
|
1080
|
+
selectedElement: JQuery;
|
|
1081
|
+
/**
|
|
1082
|
+
* @type=ParameterType:languagecode
|
|
1083
|
+
*/
|
|
1084
|
+
language: TLanguageCode;
|
|
1085
|
+
/**
|
|
1086
|
+
* @type=ParameterType:array
|
|
1087
|
+
* @itemType=ParameterType:object
|
|
1088
|
+
*/
|
|
1089
|
+
subtitleData: ISubtitleCollection[];
|
|
1090
|
+
}
|
|
1091
|
+
declare class SubtitlesController$1 extends BaseController<ISubtitlesControllerOperationData> {
|
|
1092
|
+
actionLookup: Record<string, any>;
|
|
1093
|
+
currentLanguage: TLanguageCode | null;
|
|
1094
|
+
lastFunc: (() => void) | null;
|
|
1095
|
+
name: string;
|
|
1096
|
+
subtitleDurations: IStrictDuration[] | null;
|
|
1097
|
+
attach(eventbus: IEventbus): void;
|
|
1098
|
+
detach(eventbus: IEventbus): void;
|
|
1099
|
+
languageChangeHandler(newLanguage: TLanguageCode): void;
|
|
1100
|
+
removeTitle(container?: JQuery): void;
|
|
1101
|
+
onTimeHandler(position: number): void;
|
|
1102
|
+
onSeekedHandler(position: number, _duration: number): void;
|
|
1103
|
+
setTitle(container: JQuery, titleLanguageLookup: Record<string, string>): void;
|
|
1104
|
+
createActionLookup(operationData: ISubtitlesControllerOperationData, container: JQuery): Record<number, () => void>;
|
|
1105
|
+
init(operationData: ISubtitlesControllerOperationData): void;
|
|
1106
|
+
}
|
|
1107
|
+
declare namespace index_d_exports$3 {
|
|
1108
|
+
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 };
|
|
1109
|
+
}
|
|
1110
|
+
//#endregion
|
|
1111
|
+
//#region src/operation/add-class.d.ts
|
|
1112
|
+
interface IAddClassOperationData {
|
|
1113
|
+
/**
|
|
1114
|
+
* @dependency
|
|
1115
|
+
*/
|
|
1116
|
+
selectedElement: JQuery;
|
|
1117
|
+
/**
|
|
1118
|
+
* @type=ParameterType:className
|
|
1119
|
+
* @required
|
|
1120
|
+
* @erased
|
|
1121
|
+
*/
|
|
1122
|
+
className: string;
|
|
1123
|
+
}
|
|
1124
|
+
//#endregion
|
|
1125
|
+
//#region src/operation/add-controller-to-element.d.ts
|
|
1126
|
+
type IAddControllerToElementOperationData<T extends TOperationData = TOperationData> = {
|
|
1127
|
+
/**
|
|
1128
|
+
* @dependency
|
|
1129
|
+
*/
|
|
1130
|
+
selectedElement: JQuery;
|
|
1131
|
+
/**
|
|
1132
|
+
* @dependency
|
|
1133
|
+
*/
|
|
1134
|
+
controllerInstance: IController<T>;
|
|
1135
|
+
} & T;
|
|
1136
|
+
//#endregion
|
|
1137
|
+
//#region src/operation/add-globals-to-operation.d.ts
|
|
1138
|
+
interface IAddGlobalsToOperationData {
|
|
1139
|
+
/**
|
|
1140
|
+
* The names of the global properties that will be copied onto the current operation data
|
|
1141
|
+
*
|
|
1142
|
+
* @required
|
|
1143
|
+
* @erased
|
|
1144
|
+
*/
|
|
1145
|
+
globalProperties: string[];
|
|
1146
|
+
}
|
|
1147
|
+
//#endregion
|
|
1148
|
+
//#region src/operation/animate.d.ts
|
|
1149
|
+
interface IAnimateOperationData {
|
|
1150
|
+
/**
|
|
1151
|
+
* @type=ParameterType:boolean
|
|
1152
|
+
* @erased
|
|
1153
|
+
*/
|
|
1154
|
+
animationEasing?: string;
|
|
1155
|
+
/**
|
|
1156
|
+
* @dependency
|
|
1157
|
+
*/
|
|
1158
|
+
selectedElement: JQuery;
|
|
1159
|
+
/**
|
|
1160
|
+
* @required
|
|
1161
|
+
* @erased
|
|
1162
|
+
*/
|
|
1163
|
+
animationProperties: Record<string, unknown>;
|
|
1164
|
+
/**
|
|
1165
|
+
* @type=ParameterType:number
|
|
1166
|
+
* @required
|
|
1167
|
+
* @erased
|
|
1168
|
+
*/
|
|
1169
|
+
animationDuration: JQuery.Duration;
|
|
1170
|
+
}
|
|
1171
|
+
//#endregion
|
|
1172
|
+
//#region src/operation/animate-with-class.d.ts
|
|
1173
|
+
interface IAnimateWithClassOperationData {
|
|
1174
|
+
/**
|
|
1175
|
+
* @dependency
|
|
1176
|
+
*/
|
|
1177
|
+
selectedElement: JQuery;
|
|
1178
|
+
/**
|
|
1179
|
+
* @type=ParameterType:className
|
|
1180
|
+
* @required
|
|
1181
|
+
*/
|
|
1182
|
+
className: string;
|
|
1183
|
+
removeClass?: boolean;
|
|
1184
|
+
}
|
|
1185
|
+
//#endregion
|
|
1186
|
+
//#region src/operation/announce-to-screen-reader.d.ts
|
|
1187
|
+
interface IAnnounceToScreenReaderOperationData {
|
|
1188
|
+
/**
|
|
1189
|
+
* @required
|
|
1190
|
+
* @erased
|
|
1191
|
+
*/
|
|
1192
|
+
message: string;
|
|
1193
|
+
/**
|
|
1194
|
+
* @optional
|
|
1195
|
+
* @erased
|
|
1196
|
+
*/
|
|
1197
|
+
priority?: 'polite' | 'assertive';
|
|
1198
|
+
}
|
|
1199
|
+
//#endregion
|
|
1200
|
+
//#region src/operation/broadcast-event.d.ts
|
|
1201
|
+
interface IBroadcastEventOperationData {
|
|
1202
|
+
/**
|
|
1203
|
+
* @required
|
|
1204
|
+
* @erased
|
|
1205
|
+
*/
|
|
1206
|
+
eventArgs: unknown[];
|
|
1207
|
+
/**
|
|
1208
|
+
* @type=ParameterType:eventTopic
|
|
1209
|
+
* @erased
|
|
1210
|
+
*/
|
|
1211
|
+
eventTopic?: string;
|
|
1212
|
+
/**
|
|
1213
|
+
* @type=ParameterType:eventName
|
|
1214
|
+
* @required
|
|
1215
|
+
* @erased
|
|
1216
|
+
*/
|
|
1217
|
+
eventName: string;
|
|
1218
|
+
}
|
|
1219
|
+
//#endregion
|
|
1220
|
+
//#region src/operation/calc.d.ts
|
|
1221
|
+
type TCalculationOperator = '+' | '-' | '*' | '/' | '%' | '**';
|
|
1222
|
+
interface ICalcOperationData {
|
|
1223
|
+
/**
|
|
1224
|
+
* The left operand
|
|
1225
|
+
* @type=ParameterType:number
|
|
1226
|
+
* @required
|
|
1227
|
+
* @erased
|
|
1228
|
+
*/
|
|
1229
|
+
left: string | number;
|
|
1230
|
+
/**
|
|
1231
|
+
* The right operand
|
|
1232
|
+
* @type=ParameterType:number
|
|
1233
|
+
* @required
|
|
1234
|
+
* @erased
|
|
1235
|
+
*/
|
|
1236
|
+
right: string | number;
|
|
1237
|
+
/**
|
|
1238
|
+
* @required
|
|
1239
|
+
* @erased
|
|
1240
|
+
*/
|
|
1241
|
+
operator: TCalculationOperator;
|
|
1242
|
+
/**
|
|
1243
|
+
* @output
|
|
1244
|
+
*/
|
|
1245
|
+
calculationResult?: number;
|
|
1246
|
+
}
|
|
1247
|
+
//#endregion
|
|
1248
|
+
//#region src/operation/clear-element.d.ts
|
|
1249
|
+
interface IClearElementOperationData {
|
|
1250
|
+
/**
|
|
1251
|
+
* @dependency
|
|
1252
|
+
*/
|
|
1253
|
+
selectedElement: JQuery;
|
|
1254
|
+
}
|
|
1255
|
+
//#endregion
|
|
1256
|
+
//#region src/operation/clear-operation-data.d.ts
|
|
1257
|
+
interface IClearOperationDataOperationData {
|
|
1258
|
+
/**
|
|
1259
|
+
* @erased
|
|
1260
|
+
*/
|
|
1261
|
+
properties?: string[];
|
|
1262
|
+
}
|
|
1263
|
+
//#endregion
|
|
1264
|
+
//#region src/operation/clear-storage.d.ts
|
|
1265
|
+
type StorageType$2 = 'local' | 'session';
|
|
1266
|
+
interface IClearStorageOperationData {
|
|
1267
|
+
/**
|
|
1268
|
+
* @optional
|
|
1269
|
+
* @erased
|
|
1270
|
+
*/
|
|
1271
|
+
key?: string;
|
|
1272
|
+
/**
|
|
1273
|
+
* @required
|
|
1274
|
+
* @erased
|
|
1275
|
+
*/
|
|
1276
|
+
storageType: StorageType$2;
|
|
1277
|
+
}
|
|
1278
|
+
//#endregion
|
|
1279
|
+
//#region src/operation/compare-date.d.ts
|
|
1280
|
+
interface ICompareDateOperationData {
|
|
1281
|
+
/**
|
|
1282
|
+
* @required
|
|
1283
|
+
* @erased
|
|
1284
|
+
*/
|
|
1285
|
+
date1: Date | string | number;
|
|
1286
|
+
/**
|
|
1287
|
+
* @required
|
|
1288
|
+
* @erased
|
|
1289
|
+
*/
|
|
1290
|
+
date2: Date | string | number;
|
|
1291
|
+
/**
|
|
1292
|
+
* @output
|
|
1293
|
+
*/
|
|
1294
|
+
comparison: number;
|
|
1295
|
+
/**
|
|
1296
|
+
* @output
|
|
1297
|
+
*/
|
|
1298
|
+
isEqual: boolean;
|
|
1299
|
+
/**
|
|
1300
|
+
* @output
|
|
1301
|
+
*/
|
|
1302
|
+
isBefore: boolean;
|
|
1303
|
+
/**
|
|
1304
|
+
* @output
|
|
1305
|
+
*/
|
|
1306
|
+
isAfter: boolean;
|
|
1307
|
+
}
|
|
1308
|
+
//#endregion
|
|
1309
|
+
//#region src/operation/concatenate-strings.d.ts
|
|
1310
|
+
interface IConcatenateStringsOperationData {
|
|
1311
|
+
/**
|
|
1312
|
+
* @required
|
|
1313
|
+
* @erased
|
|
1314
|
+
*/
|
|
1315
|
+
strings: string[];
|
|
1316
|
+
/**
|
|
1317
|
+
* @optional
|
|
1318
|
+
* @erased
|
|
1319
|
+
*/
|
|
1320
|
+
separator?: string;
|
|
1321
|
+
/**
|
|
1322
|
+
* @output
|
|
1323
|
+
*/
|
|
1324
|
+
result: string;
|
|
1325
|
+
}
|
|
1326
|
+
//#endregion
|
|
1327
|
+
//#region src/operation/create-element.d.ts
|
|
1328
|
+
type TTagNames = keyof HTMLElementTagNameMap;
|
|
1329
|
+
interface ICreateElementOperationData<T extends TTagNames> {
|
|
1330
|
+
/**
|
|
1331
|
+
* @type=ParameterType:htmlElementName
|
|
1332
|
+
* @required
|
|
1333
|
+
* @erased
|
|
1334
|
+
*/
|
|
1335
|
+
elementName: T;
|
|
1336
|
+
/**
|
|
1337
|
+
* @erased
|
|
1338
|
+
*/
|
|
1339
|
+
text?: string;
|
|
1340
|
+
/**
|
|
1341
|
+
* @type=ParameterType:object
|
|
1342
|
+
* @erased
|
|
1343
|
+
*/
|
|
1344
|
+
attributes?: Partial<HTMLElementTagNameMap[T]>;
|
|
1345
|
+
/**
|
|
1346
|
+
* @type=ParameterType:object
|
|
1347
|
+
* @output
|
|
1348
|
+
*/
|
|
1349
|
+
template?: JQuery;
|
|
1350
|
+
}
|
|
1351
|
+
//#endregion
|
|
1352
|
+
//#region src/operation/custom-function.d.ts
|
|
1353
|
+
interface ICustomFunctionOperationData {
|
|
1354
|
+
/**
|
|
1355
|
+
* @type=ParameterType:systemName
|
|
1356
|
+
* @erased
|
|
1357
|
+
* @required
|
|
1358
|
+
*/
|
|
1359
|
+
systemName: string;
|
|
1360
|
+
}
|
|
1361
|
+
//#endregion
|
|
1362
|
+
//#region src/operation/end-action.d.ts
|
|
1363
|
+
interface IEndActionOperationData {
|
|
1364
|
+
/**
|
|
1365
|
+
* @dependency
|
|
1366
|
+
*/
|
|
1367
|
+
actionInstance: IEndableAction;
|
|
1368
|
+
/**
|
|
1369
|
+
* @required
|
|
1370
|
+
* @erased
|
|
1371
|
+
*/
|
|
1372
|
+
actionOperationData: Record<string, unknown>;
|
|
1373
|
+
}
|
|
1374
|
+
//#endregion
|
|
1375
|
+
//#region src/operation/extend-controller.d.ts
|
|
1376
|
+
/**
|
|
1377
|
+
* This operation extends the specified controller instance with the specified extension.
|
|
1378
|
+
*/
|
|
1379
|
+
interface IExtendControllerOperationData {
|
|
1380
|
+
/**
|
|
1381
|
+
* @dependency
|
|
1382
|
+
*/
|
|
1383
|
+
controllerInstance: IController<TOperationData>;
|
|
1384
|
+
/**
|
|
1385
|
+
* @erased
|
|
1386
|
+
* @required
|
|
1387
|
+
*/
|
|
1388
|
+
controllerExtension: Record<PropertyKey, unknown>;
|
|
1389
|
+
}
|
|
1390
|
+
//#endregion
|
|
1391
|
+
//#region src/operation/filter-array.d.ts
|
|
1392
|
+
interface IFilterArrayOperationData {
|
|
1393
|
+
/**
|
|
1394
|
+
* @required
|
|
1395
|
+
* @dependency
|
|
1396
|
+
*/
|
|
1397
|
+
arrayData: any[];
|
|
1398
|
+
/**
|
|
1399
|
+
* @optional
|
|
1400
|
+
* @erased
|
|
1401
|
+
*/
|
|
1402
|
+
filterProperty?: string;
|
|
1403
|
+
/**
|
|
1404
|
+
* @optional
|
|
1405
|
+
* @erased
|
|
1406
|
+
*/
|
|
1407
|
+
filterValue?: any;
|
|
1408
|
+
/**
|
|
1409
|
+
* @optional
|
|
1410
|
+
* @erased
|
|
1411
|
+
*/
|
|
1412
|
+
filterPredicate?: (item: any, index?: number) => boolean;
|
|
1413
|
+
/**
|
|
1414
|
+
* @output
|
|
1415
|
+
*/
|
|
1416
|
+
filteredArray: any[];
|
|
1417
|
+
}
|
|
1418
|
+
//#endregion
|
|
1419
|
+
//#region src/operation/find-in-array.d.ts
|
|
1420
|
+
interface IFindInArrayOperationData {
|
|
1421
|
+
/**
|
|
1422
|
+
* @required
|
|
1423
|
+
* @dependency
|
|
1424
|
+
*/
|
|
1425
|
+
arrayData: any[];
|
|
1426
|
+
/**
|
|
1427
|
+
* @optional
|
|
1428
|
+
* @erased
|
|
1429
|
+
*/
|
|
1430
|
+
findProperty?: string;
|
|
1431
|
+
/**
|
|
1432
|
+
* @optional
|
|
1433
|
+
* @erased
|
|
1434
|
+
*/
|
|
1435
|
+
findValue?: any;
|
|
1436
|
+
/**
|
|
1437
|
+
* @optional
|
|
1438
|
+
* @erased
|
|
1439
|
+
*/
|
|
1440
|
+
findPredicate?: (item: any, index?: number) => boolean;
|
|
1441
|
+
/**
|
|
1442
|
+
* @output
|
|
1443
|
+
*/
|
|
1444
|
+
foundItem: any | undefined;
|
|
1445
|
+
/**
|
|
1446
|
+
* @output
|
|
1447
|
+
*/
|
|
1448
|
+
foundIndex: number;
|
|
1449
|
+
}
|
|
1450
|
+
//#endregion
|
|
1451
|
+
//#region src/operation/for-each.d.ts
|
|
1452
|
+
interface IForEachOperationData {
|
|
1453
|
+
/**
|
|
1454
|
+
* @type=ParameterType:array|ParameterType:string
|
|
1455
|
+
* @required
|
|
1456
|
+
*/
|
|
1457
|
+
collection: unknown[] | string;
|
|
1458
|
+
}
|
|
1459
|
+
//#endregion
|
|
1460
|
+
//#region src/operation/format-date.d.ts
|
|
1461
|
+
interface IFormatDateOperationData {
|
|
1462
|
+
/**
|
|
1463
|
+
* @required
|
|
1464
|
+
* @dependency
|
|
1465
|
+
*/
|
|
1466
|
+
date: Date | string | number;
|
|
1467
|
+
/**
|
|
1468
|
+
* @required
|
|
1469
|
+
* @erased
|
|
1470
|
+
*/
|
|
1471
|
+
format: string;
|
|
1472
|
+
/**
|
|
1473
|
+
* @output
|
|
1474
|
+
*/
|
|
1475
|
+
formattedDate: string;
|
|
1476
|
+
}
|
|
1477
|
+
//#endregion
|
|
1478
|
+
//#region src/operation/format-text.d.ts
|
|
1479
|
+
type TextTransformation = 'uppercase' | 'lowercase' | 'capitalize' | 'titlecase' | 'trim';
|
|
1480
|
+
interface IFormatTextOperationData {
|
|
1481
|
+
/**
|
|
1482
|
+
* @required
|
|
1483
|
+
* @dependency
|
|
1484
|
+
*/
|
|
1485
|
+
textContent: string;
|
|
1486
|
+
/**
|
|
1487
|
+
* @required
|
|
1488
|
+
* @erased
|
|
1489
|
+
*/
|
|
1490
|
+
transformation: TextTransformation;
|
|
1491
|
+
/**
|
|
1492
|
+
* @output
|
|
1493
|
+
*/
|
|
1494
|
+
formattedText: string;
|
|
1495
|
+
}
|
|
1496
|
+
//#endregion
|
|
1497
|
+
//#region src/operation/get-attributes-from-element.d.ts
|
|
1498
|
+
interface IGetAttributesFromElementOperationData {
|
|
1499
|
+
/**
|
|
1500
|
+
* The HTML element whose attributes will be retrieved
|
|
1501
|
+
* @dependency
|
|
1502
|
+
*/
|
|
1503
|
+
selectedElement: JQuery;
|
|
1504
|
+
/**
|
|
1505
|
+
* The specified attribute names that will be retrieved
|
|
1506
|
+
* @required
|
|
1507
|
+
* @erased
|
|
1508
|
+
*/
|
|
1509
|
+
attributeNames: string[];
|
|
1510
|
+
/**
|
|
1511
|
+
* The retrieved attributes
|
|
1512
|
+
* @output
|
|
1513
|
+
*/
|
|
1514
|
+
attributeValues?: Record<string, unknown>;
|
|
1515
|
+
}
|
|
1516
|
+
//#endregion
|
|
1517
|
+
//#region src/operation/get-controller-from-element.d.ts
|
|
1518
|
+
interface IGetControllerFromElementOperationData {
|
|
1519
|
+
/**
|
|
1520
|
+
* @dependency
|
|
1521
|
+
*/
|
|
1522
|
+
selectedElement: JQuery;
|
|
1523
|
+
/**
|
|
1524
|
+
* @type=ParameterType:controllerName
|
|
1525
|
+
* @required
|
|
1526
|
+
* @erased
|
|
1527
|
+
*/
|
|
1528
|
+
controllerName: string;
|
|
1529
|
+
/**
|
|
1530
|
+
* @type=ParameterType:object
|
|
1531
|
+
* @output
|
|
1532
|
+
*/
|
|
1533
|
+
controllerInstance?: IController<any>;
|
|
1534
|
+
}
|
|
1535
|
+
//#endregion
|
|
1536
|
+
//#region src/operation/get-controller-instance.d.ts
|
|
1537
|
+
type TSystemName = keyof typeof index_d_exports$3;
|
|
1538
|
+
interface IGetControllerInstanceOperationData {
|
|
1539
|
+
/**
|
|
1540
|
+
* @required
|
|
1541
|
+
* @erased
|
|
1542
|
+
*/
|
|
1543
|
+
systemName: TSystemName;
|
|
1544
|
+
/**
|
|
1545
|
+
* @type=ParameterType:object
|
|
1546
|
+
* @output
|
|
1547
|
+
*/
|
|
1548
|
+
controllerInstance?: IController<TOperationData>;
|
|
1549
|
+
}
|
|
1550
|
+
//#endregion
|
|
1551
|
+
//#region src/operation/get-current-time.d.ts
|
|
1552
|
+
interface IGetCurrentTimeOperationData {
|
|
1553
|
+
/**
|
|
1554
|
+
* @output
|
|
1555
|
+
*/
|
|
1556
|
+
timestamp: number;
|
|
1557
|
+
/**
|
|
1558
|
+
* @output
|
|
1559
|
+
*/
|
|
1560
|
+
date: Date;
|
|
1561
|
+
}
|
|
1562
|
+
//#endregion
|
|
1563
|
+
//#region src/operation/get-element-dimensions.d.ts
|
|
1564
|
+
interface IGetElementDimensionsOperationData {
|
|
1565
|
+
/**
|
|
1566
|
+
* @dependency
|
|
1567
|
+
*/
|
|
1568
|
+
selectedElement: JQuery;
|
|
1569
|
+
/**
|
|
1570
|
+
* @type=ParameterType:dimensionsModifier
|
|
1571
|
+
* @erased
|
|
1572
|
+
*/
|
|
1573
|
+
modifier?: string;
|
|
1574
|
+
/**
|
|
1575
|
+
* @type=ParameterType:object
|
|
1576
|
+
* @output
|
|
1577
|
+
*/
|
|
1578
|
+
dimensions?: {
|
|
1579
|
+
width?: number;
|
|
1580
|
+
height?: number;
|
|
1581
|
+
};
|
|
1582
|
+
}
|
|
1583
|
+
//#endregion
|
|
1584
|
+
//#region src/operation/get-focused-element.d.ts
|
|
1585
|
+
interface IGetFocusedElementOperationData {
|
|
1586
|
+
/**
|
|
1587
|
+
* @type=ParameterType:jQuery
|
|
1588
|
+
* @output
|
|
1589
|
+
*/
|
|
1590
|
+
focusedElement: JQuery;
|
|
1591
|
+
}
|
|
1592
|
+
//#endregion
|
|
1593
|
+
//#region src/operation/get-form-data.d.ts
|
|
1594
|
+
interface IGetFormDataOperationData {
|
|
1595
|
+
/**
|
|
1596
|
+
* @required
|
|
1597
|
+
* @dependency
|
|
1598
|
+
*/
|
|
1599
|
+
selectedElement: JQuery;
|
|
1600
|
+
/**
|
|
1601
|
+
* @output
|
|
1602
|
+
* @type=ParameterType:object
|
|
1603
|
+
*/
|
|
1604
|
+
formData?: Record<string, any>;
|
|
1605
|
+
}
|
|
1606
|
+
//#endregion
|
|
1607
|
+
//#region src/operation/get-import.d.ts
|
|
1608
|
+
interface IGetImportOperationData {
|
|
1609
|
+
/**
|
|
1610
|
+
* @type=ParameterType:systemName
|
|
1611
|
+
* @required
|
|
1612
|
+
* @erased
|
|
1613
|
+
*/
|
|
1614
|
+
systemName: string;
|
|
1615
|
+
/**
|
|
1616
|
+
* @output
|
|
1617
|
+
*/
|
|
1618
|
+
importedInstance?: unknown;
|
|
1619
|
+
}
|
|
1620
|
+
//#endregion
|
|
1621
|
+
//#region src/operation/get-query-params.d.ts
|
|
1622
|
+
interface IGetQueryParamsOperationData {
|
|
1623
|
+
/**
|
|
1624
|
+
* The query params will be added as property/values to this object.
|
|
1625
|
+
* So, the query string `?foo=bar&bar=foo` will result in:
|
|
1626
|
+
* ```json
|
|
1627
|
+
* {
|
|
1628
|
+
* foo: "bar",
|
|
1629
|
+
* bar: "foo"
|
|
1630
|
+
* }
|
|
1631
|
+
* ```
|
|
1632
|
+
* This object will be assigned to the `queryParams` property.
|
|
1633
|
+
* @output
|
|
1634
|
+
*/
|
|
1635
|
+
queryParams?: Record<string, string>;
|
|
1636
|
+
/**
|
|
1637
|
+
* The properties on this object will be assigned to the queryParams result
|
|
1638
|
+
* when the given property name is not part of the query string.
|
|
1639
|
+
*
|
|
1640
|
+
* @erased
|
|
1641
|
+
*
|
|
1642
|
+
*/
|
|
1643
|
+
defaultValues?: Record<string, string>;
|
|
1644
|
+
}
|
|
1645
|
+
//#endregion
|
|
1646
|
+
//#region src/operation/get-scroll-position.d.ts
|
|
1647
|
+
interface IGetScrollPositionOperationData {
|
|
1648
|
+
/**
|
|
1649
|
+
* @output
|
|
1650
|
+
*/
|
|
1651
|
+
scrollX: number;
|
|
1652
|
+
/**
|
|
1653
|
+
* @output
|
|
1654
|
+
*/
|
|
1655
|
+
scrollY: number;
|
|
1656
|
+
}
|
|
1657
|
+
//#endregion
|
|
1658
|
+
//#region src/operation/get-text-content.d.ts
|
|
1659
|
+
interface IGetTextContentOperationData {
|
|
1660
|
+
/**
|
|
1661
|
+
* @required
|
|
1662
|
+
* @dependency
|
|
1663
|
+
*/
|
|
1664
|
+
selectedElement: JQuery;
|
|
1665
|
+
/**
|
|
1666
|
+
* @output
|
|
1667
|
+
*/
|
|
1668
|
+
textContent?: string;
|
|
1669
|
+
}
|
|
1670
|
+
//#endregion
|
|
1671
|
+
//#region src/operation/http-delete.d.ts
|
|
1672
|
+
interface IHttpDeleteOperationData {
|
|
1673
|
+
/**
|
|
1674
|
+
* @required
|
|
1675
|
+
* @erased
|
|
1676
|
+
*/
|
|
1677
|
+
url: string;
|
|
1678
|
+
/**
|
|
1679
|
+
* @optional
|
|
1680
|
+
* @erased
|
|
1681
|
+
*/
|
|
1682
|
+
headers?: Record<string, string>;
|
|
1683
|
+
/**
|
|
1684
|
+
* @output
|
|
1685
|
+
*/
|
|
1686
|
+
response: any;
|
|
1687
|
+
/**
|
|
1688
|
+
* @output
|
|
1689
|
+
*/
|
|
1690
|
+
status: number;
|
|
1691
|
+
}
|
|
1692
|
+
//#endregion
|
|
1693
|
+
//#region src/operation/http-post.d.ts
|
|
1694
|
+
interface IHttpPostOperationData {
|
|
1695
|
+
/**
|
|
1696
|
+
* @required
|
|
1697
|
+
* @erased
|
|
1698
|
+
*/
|
|
1699
|
+
url: string;
|
|
1700
|
+
/**
|
|
1701
|
+
* @optional
|
|
1702
|
+
* @erased
|
|
1703
|
+
*/
|
|
1704
|
+
body?: any;
|
|
1705
|
+
/**
|
|
1706
|
+
* @optional
|
|
1707
|
+
* @erased
|
|
1708
|
+
*/
|
|
1709
|
+
headers?: Record<string, string>;
|
|
1710
|
+
/**
|
|
1711
|
+
* @output
|
|
1712
|
+
*/
|
|
1713
|
+
response: any;
|
|
1714
|
+
/**
|
|
1715
|
+
* @output
|
|
1716
|
+
*/
|
|
1717
|
+
status: number;
|
|
1718
|
+
}
|
|
1719
|
+
//#endregion
|
|
1720
|
+
//#region src/operation/http-put.d.ts
|
|
1721
|
+
interface IHttpPutOperationData {
|
|
1722
|
+
/**
|
|
1723
|
+
* @required
|
|
1724
|
+
* @erased
|
|
1725
|
+
*/
|
|
1726
|
+
url: string;
|
|
1727
|
+
/**
|
|
1728
|
+
* @optional
|
|
1729
|
+
* @erased
|
|
1730
|
+
*/
|
|
1731
|
+
body?: any;
|
|
1732
|
+
/**
|
|
1733
|
+
* @optional
|
|
1734
|
+
* @erased
|
|
1735
|
+
*/
|
|
1736
|
+
headers?: Record<string, string>;
|
|
1737
|
+
/**
|
|
1738
|
+
* @output
|
|
1739
|
+
*/
|
|
1740
|
+
response: any;
|
|
1741
|
+
/**
|
|
1742
|
+
* @output
|
|
1743
|
+
*/
|
|
1744
|
+
status: number;
|
|
1745
|
+
}
|
|
1746
|
+
//#endregion
|
|
1747
|
+
//#region src/operation/invoke-object-method.d.ts
|
|
1748
|
+
interface IInvokeObjectMethodOperationData {
|
|
1749
|
+
/**
|
|
1750
|
+
*
|
|
1751
|
+
* The given object instance
|
|
1752
|
+
* @dependency
|
|
1753
|
+
*
|
|
1754
|
+
*/
|
|
1755
|
+
instance: any;
|
|
1756
|
+
/**
|
|
1757
|
+
* The method name on the given object that will be invoked
|
|
1758
|
+
* @required
|
|
1759
|
+
* @erased
|
|
1760
|
+
*/
|
|
1761
|
+
methodName: string;
|
|
1762
|
+
/**
|
|
1763
|
+
* Arguments that will be passed to the specified method
|
|
1764
|
+
* @erased
|
|
1765
|
+
*/
|
|
1766
|
+
methodArguments?: unknown[];
|
|
1767
|
+
/**
|
|
1768
|
+
* If any, the results of the method invocation are assigned to the property
|
|
1769
|
+
* @output
|
|
1770
|
+
*/
|
|
1771
|
+
methodResult?: unknown;
|
|
1772
|
+
}
|
|
1773
|
+
//#endregion
|
|
1774
|
+
//#region src/operation/is-element-in-viewport.d.ts
|
|
1775
|
+
interface IIsElementInViewportOperationData {
|
|
1776
|
+
/**
|
|
1777
|
+
* @required
|
|
1778
|
+
* @dependency
|
|
1779
|
+
*/
|
|
1780
|
+
selectedElement: JQuery;
|
|
1781
|
+
/**
|
|
1782
|
+
* @output
|
|
1783
|
+
*/
|
|
1784
|
+
isInViewport: boolean;
|
|
1785
|
+
}
|
|
1786
|
+
//#endregion
|
|
1787
|
+
//#region src/operation/load-from-storage.d.ts
|
|
1788
|
+
type StorageType$1 = 'local' | 'session';
|
|
1789
|
+
interface ILoadFromStorageOperationData {
|
|
1790
|
+
/**
|
|
1791
|
+
* @required
|
|
1792
|
+
* @erased
|
|
1793
|
+
*/
|
|
1794
|
+
key: string;
|
|
1795
|
+
/**
|
|
1796
|
+
* @required
|
|
1797
|
+
* @erased
|
|
1798
|
+
*/
|
|
1799
|
+
storageType: StorageType$1;
|
|
1800
|
+
/**
|
|
1801
|
+
* @output
|
|
1802
|
+
*/
|
|
1803
|
+
loadedValue: any;
|
|
1804
|
+
}
|
|
1805
|
+
//#endregion
|
|
1806
|
+
//#region src/operation/load-json.d.ts
|
|
1807
|
+
interface ILoadJSONOperationData {
|
|
1808
|
+
/**
|
|
1809
|
+
* The URL where the JSON will be retrieved from
|
|
1810
|
+
* @required
|
|
1811
|
+
* @erased
|
|
1812
|
+
*/
|
|
1813
|
+
url: string;
|
|
1814
|
+
/**
|
|
1815
|
+
* If true, the results will be added to the cache and any subsequent call will use this cache
|
|
1816
|
+
* @erased
|
|
1817
|
+
*/
|
|
1818
|
+
cache?: boolean;
|
|
1819
|
+
/**
|
|
1820
|
+
* The JSON retrieved from the given URL
|
|
1821
|
+
* @output
|
|
1822
|
+
*/
|
|
1823
|
+
json?: any;
|
|
1824
|
+
}
|
|
1825
|
+
//#endregion
|
|
1826
|
+
//#region src/operation/log.d.ts
|
|
1827
|
+
interface ILogOperationData {
|
|
1828
|
+
/**
|
|
1829
|
+
* @type=ParameterType:object|ParameterType:string|ParameterType:number|ParameterType:boolean|ParameterType:array
|
|
1830
|
+
* @erased
|
|
1831
|
+
*/
|
|
1832
|
+
logValue?: any;
|
|
1833
|
+
/**
|
|
1834
|
+
* @erased
|
|
1835
|
+
*/
|
|
1836
|
+
logName?: string;
|
|
1837
|
+
}
|
|
1838
|
+
//#endregion
|
|
1839
|
+
//#region src/operation/map-array.d.ts
|
|
1840
|
+
interface IMapArrayOperationData {
|
|
1841
|
+
/**
|
|
1842
|
+
* @required
|
|
1843
|
+
* @dependency
|
|
1844
|
+
*/
|
|
1845
|
+
arrayData: any[];
|
|
1846
|
+
/**
|
|
1847
|
+
* @required
|
|
1848
|
+
* @erased
|
|
1849
|
+
*/
|
|
1850
|
+
mapFunction: (item: any, index?: number) => any;
|
|
1851
|
+
/**
|
|
1852
|
+
* @output
|
|
1853
|
+
*/
|
|
1854
|
+
mappedArray?: any[];
|
|
1855
|
+
}
|
|
1856
|
+
//#endregion
|
|
1857
|
+
//#region src/operation/math.d.ts
|
|
1858
|
+
type MathFunctionKeys = { [K in keyof Math]: Math[K] extends ((...args: any) => any) ? K : never }[keyof Math];
|
|
1859
|
+
type MathNonFunctionKeys = { [K in keyof Math]: Math[K] extends ((...args: any) => any) ? never : K }[keyof Math];
|
|
1860
|
+
interface IMathOperationData {
|
|
1861
|
+
/**
|
|
1862
|
+
* @type=ParameterType:array
|
|
1863
|
+
* @required
|
|
1864
|
+
* @erased
|
|
1865
|
+
*/
|
|
1866
|
+
args: (number | string | MathNonFunctionKeys)[];
|
|
1867
|
+
/**
|
|
1868
|
+
* @type=ParameterType:mathfunction
|
|
1869
|
+
* @required
|
|
1870
|
+
* @erased
|
|
1871
|
+
*/
|
|
1872
|
+
functionName: MathFunctionKeys;
|
|
1873
|
+
/**
|
|
1874
|
+
* @output
|
|
1875
|
+
*/
|
|
1876
|
+
mathResult?: number;
|
|
1877
|
+
}
|
|
1878
|
+
//#endregion
|
|
1879
|
+
//#region src/operation/remove-class.d.ts
|
|
1880
|
+
interface IRemoveClassOperationData {
|
|
1881
|
+
/**
|
|
1882
|
+
* @dependency
|
|
1883
|
+
*/
|
|
1884
|
+
selectedElement: JQuery;
|
|
1885
|
+
/**
|
|
1886
|
+
* @type=ParameterType:className
|
|
1887
|
+
* @required
|
|
1888
|
+
* @erased
|
|
1889
|
+
*/
|
|
1890
|
+
className: string;
|
|
1891
|
+
}
|
|
1892
|
+
//#endregion
|
|
1893
|
+
//#region src/operation/remove-controller-from-element.d.ts
|
|
1894
|
+
interface IRemoveControllerFromElementOperationData {
|
|
1895
|
+
/**
|
|
1896
|
+
* @dependency
|
|
1897
|
+
*/
|
|
1898
|
+
selectedElement: JQuery;
|
|
1899
|
+
/**
|
|
1900
|
+
* @type=ParameterType:controllerName
|
|
1901
|
+
* @required
|
|
1902
|
+
* @erased
|
|
1903
|
+
*/
|
|
1904
|
+
controllerName: string;
|
|
1905
|
+
}
|
|
1906
|
+
//#endregion
|
|
1907
|
+
//#region src/operation/remove-element.d.ts
|
|
1908
|
+
interface IRemoveElementOperationData {
|
|
1909
|
+
/**
|
|
1910
|
+
* @dependency
|
|
1911
|
+
*/
|
|
1912
|
+
selectedElement: JQuery;
|
|
1913
|
+
}
|
|
1914
|
+
//#endregion
|
|
1915
|
+
//#region src/operation/remove-properties-from-operation-data.d.ts
|
|
1916
|
+
interface IRemovePropertiesFromOperationDataOperationData {
|
|
1917
|
+
/**
|
|
1918
|
+
* @required
|
|
1919
|
+
* @erased
|
|
1920
|
+
*/
|
|
1921
|
+
propertyNames: string[];
|
|
1922
|
+
}
|
|
1923
|
+
//#endregion
|
|
1924
|
+
//#region src/operation/reparent-element.d.ts
|
|
1925
|
+
interface IReparentElementOperationData {
|
|
1926
|
+
/**
|
|
1927
|
+
* @dependency
|
|
1928
|
+
*/
|
|
1929
|
+
selectedElement: JQuery;
|
|
1930
|
+
/**
|
|
1931
|
+
* @type=ParameterType:selector
|
|
1932
|
+
* @required
|
|
1933
|
+
* @erased
|
|
1934
|
+
*/
|
|
1935
|
+
newParentSelector: string;
|
|
1936
|
+
}
|
|
1937
|
+
//#endregion
|
|
1938
|
+
//#region src/operation/replace-string.d.ts
|
|
1939
|
+
interface IReplaceStringOperationData {
|
|
1940
|
+
/**
|
|
1941
|
+
* @required
|
|
1942
|
+
* @dependency
|
|
1943
|
+
*/
|
|
1944
|
+
textContent: string;
|
|
1945
|
+
/**
|
|
1946
|
+
* @required
|
|
1947
|
+
* @erased
|
|
1948
|
+
*/
|
|
1949
|
+
pattern: string | RegExp;
|
|
1950
|
+
/**
|
|
1951
|
+
* @required
|
|
1952
|
+
* @erased
|
|
1953
|
+
*/
|
|
1954
|
+
replacement: string;
|
|
1955
|
+
/**
|
|
1956
|
+
* @output
|
|
1957
|
+
*/
|
|
1958
|
+
result: string;
|
|
1959
|
+
}
|
|
1960
|
+
//#endregion
|
|
1961
|
+
//#region src/operation/replace-text.d.ts
|
|
1962
|
+
interface IReplaceTextOperationData {
|
|
1963
|
+
/**
|
|
1964
|
+
* @required
|
|
1965
|
+
* @dependency
|
|
1966
|
+
*/
|
|
1967
|
+
textContent: string;
|
|
1968
|
+
/**
|
|
1969
|
+
* @required
|
|
1970
|
+
* @erased
|
|
1971
|
+
*/
|
|
1972
|
+
searchPattern: string | RegExp;
|
|
1973
|
+
/**
|
|
1974
|
+
* @required
|
|
1975
|
+
* @erased
|
|
1976
|
+
*/
|
|
1977
|
+
replacement: string;
|
|
1978
|
+
/**
|
|
1979
|
+
* @output
|
|
1980
|
+
*/
|
|
1981
|
+
replacementCount: number;
|
|
1982
|
+
}
|
|
1983
|
+
//#endregion
|
|
1984
|
+
//#region src/operation/request-action.d.ts
|
|
1985
|
+
interface IRequestActionOperationData {
|
|
1986
|
+
/**
|
|
1987
|
+
* @type=ParameterType:actionName
|
|
1988
|
+
* @required
|
|
1989
|
+
* @erased
|
|
1990
|
+
*/
|
|
1991
|
+
systemName: string;
|
|
1992
|
+
/**
|
|
1993
|
+
* @type=ParameterType:object
|
|
1994
|
+
* @output
|
|
1995
|
+
*/
|
|
1996
|
+
actionInstance?: IAction;
|
|
1997
|
+
}
|
|
1998
|
+
//#endregion
|
|
1999
|
+
//#region src/operation/save-to-storage.d.ts
|
|
2000
|
+
type StorageType = 'local' | 'session';
|
|
2001
|
+
interface ISaveToStorageOperationData {
|
|
2002
|
+
/**
|
|
2003
|
+
* @required
|
|
2004
|
+
* @erased
|
|
2005
|
+
*/
|
|
2006
|
+
key: string;
|
|
2007
|
+
/**
|
|
2008
|
+
* @required
|
|
2009
|
+
* @erased
|
|
2010
|
+
*/
|
|
2011
|
+
value: any;
|
|
2012
|
+
/**
|
|
2013
|
+
* @required
|
|
2014
|
+
* @erased
|
|
2015
|
+
*/
|
|
2016
|
+
storageType: StorageType;
|
|
2017
|
+
}
|
|
2018
|
+
//#endregion
|
|
2019
|
+
//#region src/operation/scroll-to-element.d.ts
|
|
2020
|
+
type ScrollBehavior$1 = 'auto' | 'smooth';
|
|
2021
|
+
type ScrollLogicalPosition = 'start' | 'center' | 'end' | 'nearest';
|
|
2022
|
+
interface IScrollToElementOperationData {
|
|
2023
|
+
/**
|
|
2024
|
+
* @required
|
|
2025
|
+
* @dependency
|
|
2026
|
+
*/
|
|
2027
|
+
selectedElement: JQuery;
|
|
2028
|
+
/**
|
|
2029
|
+
* @optional
|
|
2030
|
+
* @erased
|
|
2031
|
+
*/
|
|
2032
|
+
behavior?: ScrollBehavior$1;
|
|
2033
|
+
/**
|
|
2034
|
+
* @optional
|
|
2035
|
+
* @erased
|
|
2036
|
+
*/
|
|
2037
|
+
block?: ScrollLogicalPosition;
|
|
2038
|
+
/**
|
|
2039
|
+
* @optional
|
|
2040
|
+
* @erased
|
|
2041
|
+
*/
|
|
2042
|
+
inline?: ScrollLogicalPosition;
|
|
2043
|
+
}
|
|
2044
|
+
//#endregion
|
|
2045
|
+
//#region src/operation/scroll-to-position.d.ts
|
|
2046
|
+
type ScrollBehavior = 'auto' | 'smooth';
|
|
2047
|
+
interface IScrollToPositionOperationData {
|
|
2048
|
+
/**
|
|
2049
|
+
* @required
|
|
2050
|
+
* @erased
|
|
2051
|
+
*/
|
|
2052
|
+
x: number;
|
|
2053
|
+
/**
|
|
2054
|
+
* @required
|
|
2055
|
+
* @erased
|
|
2056
|
+
*/
|
|
2057
|
+
y: number;
|
|
2058
|
+
/**
|
|
2059
|
+
* @optional
|
|
2060
|
+
* @erased
|
|
2061
|
+
*/
|
|
2062
|
+
behavior?: ScrollBehavior;
|
|
2063
|
+
}
|
|
2064
|
+
//#endregion
|
|
2065
|
+
//#region src/operation/select-element.d.ts
|
|
2066
|
+
interface ISelectElementOperationData {
|
|
2067
|
+
/**
|
|
2068
|
+
* @type=ParameterType:selector
|
|
2069
|
+
* @required
|
|
2070
|
+
* @erased
|
|
2071
|
+
*/
|
|
2072
|
+
selector: string;
|
|
2073
|
+
/**
|
|
2074
|
+
* @erased
|
|
2075
|
+
*/
|
|
2076
|
+
useSelectedElementAsRoot?: boolean;
|
|
2077
|
+
/**
|
|
2078
|
+
* @type=ParameterType:object
|
|
2079
|
+
* @output
|
|
2080
|
+
*/
|
|
2081
|
+
selectedElement?: JQuery;
|
|
2082
|
+
}
|
|
2083
|
+
//#endregion
|
|
2084
|
+
//#region src/operation/set-data.d.ts
|
|
2085
|
+
type TDataTarget = `$scope.${string}` | `$operationdata.${string}` | `$globaldata.${string}`;
|
|
2086
|
+
interface ISetDataOperationData {
|
|
2087
|
+
/**
|
|
2088
|
+
* @required
|
|
2089
|
+
* @erased
|
|
2090
|
+
*/
|
|
2091
|
+
properties: Record<TDataTarget, any>;
|
|
2092
|
+
}
|
|
2093
|
+
//#endregion
|
|
2094
|
+
//#region src/operation/set-element-attributes.d.ts
|
|
2095
|
+
interface ISetElementAttributesOperationData {
|
|
2096
|
+
/**
|
|
2097
|
+
* @required
|
|
2098
|
+
* @erased
|
|
2099
|
+
*/
|
|
2100
|
+
attributes: Record<string, unknown>;
|
|
2101
|
+
/**
|
|
2102
|
+
* @dependency
|
|
2103
|
+
*/
|
|
2104
|
+
selectedElement: JQuery;
|
|
2105
|
+
}
|
|
2106
|
+
//#endregion
|
|
2107
|
+
//#region src/operation/set-element-content.d.ts
|
|
2108
|
+
interface ISetElementContentOperationData {
|
|
2109
|
+
/**
|
|
2110
|
+
* @dependency
|
|
2111
|
+
*/
|
|
2112
|
+
selectedElement: JQuery;
|
|
2113
|
+
/**
|
|
2114
|
+
* @erased
|
|
2115
|
+
*/
|
|
2116
|
+
template: string | JQuery.Node;
|
|
2117
|
+
/**
|
|
2118
|
+
* overwite = the contents of the selected element are replaced by the given template
|
|
2119
|
+
*
|
|
2120
|
+
* append = the new content will be inserted after the current content
|
|
2121
|
+
*
|
|
2122
|
+
* prepend = the new content will be inserted before the current content
|
|
2123
|
+
*
|
|
2124
|
+
* @erased
|
|
2125
|
+
*/
|
|
2126
|
+
insertionType: 'overwrite' | 'append' | 'prepend';
|
|
2127
|
+
}
|
|
2128
|
+
//#endregion
|
|
2129
|
+
//#region src/operation/set-focus.d.ts
|
|
2130
|
+
interface ISetFocusOperationData {
|
|
2131
|
+
/**
|
|
2132
|
+
* @required
|
|
2133
|
+
* @dependency
|
|
2134
|
+
*/
|
|
2135
|
+
selectedElement: JQuery;
|
|
2136
|
+
}
|
|
2137
|
+
//#endregion
|
|
2138
|
+
//#region src/operation/set-form-value.d.ts
|
|
2139
|
+
interface ISetFormValueOperationData {
|
|
2140
|
+
/**
|
|
2141
|
+
* @required
|
|
2142
|
+
* @dependency
|
|
2143
|
+
*/
|
|
2144
|
+
selectedElement: JQuery;
|
|
2145
|
+
/**
|
|
2146
|
+
* @required
|
|
2147
|
+
* @erased
|
|
2148
|
+
*/
|
|
2149
|
+
value: string | number | boolean;
|
|
2150
|
+
}
|
|
2151
|
+
//#endregion
|
|
2152
|
+
//#region src/operation/set-global-data.d.ts
|
|
2153
|
+
interface ISetGlobalDataOperationData {
|
|
2154
|
+
/**
|
|
2155
|
+
* @required
|
|
2156
|
+
* @erased
|
|
2157
|
+
*/
|
|
2158
|
+
propertyNames: string[];
|
|
2159
|
+
}
|
|
2160
|
+
//#endregion
|
|
2161
|
+
//#region src/operation/set-operation-data.d.ts
|
|
2162
|
+
interface ISetOperationData {
|
|
2163
|
+
/**
|
|
2164
|
+
* If set to true, the plucked properties replace the current operation data.
|
|
2165
|
+
* @erased
|
|
2166
|
+
*/
|
|
2167
|
+
override?: boolean;
|
|
2168
|
+
/**
|
|
2169
|
+
* @required
|
|
2170
|
+
* @erased
|
|
2171
|
+
*/
|
|
2172
|
+
properties: Record<string, any>;
|
|
2173
|
+
}
|
|
2174
|
+
//#endregion
|
|
2175
|
+
//#region src/operation/set-style.d.ts
|
|
2176
|
+
interface ISetStyleOperationData {
|
|
2177
|
+
/**
|
|
2178
|
+
* @type=ParameterType:cssProperties
|
|
2179
|
+
* @required
|
|
2180
|
+
* @erased
|
|
2181
|
+
*/
|
|
2182
|
+
properties: Record<string, any>;
|
|
2183
|
+
/**
|
|
2184
|
+
* @dependency
|
|
2185
|
+
*/
|
|
2186
|
+
selectedElement: JQuery;
|
|
2187
|
+
}
|
|
2188
|
+
//#endregion
|
|
2189
|
+
//#region src/operation/set-variable.d.ts
|
|
2190
|
+
interface ISetVariableOperationData {
|
|
2191
|
+
/**
|
|
2192
|
+
* @required
|
|
2193
|
+
* @erased
|
|
2194
|
+
*/
|
|
2195
|
+
name: string;
|
|
2196
|
+
/**
|
|
2197
|
+
* @type=ParameterType:object|ParameterType:string|ParameterType:number|ParameterType:boolean|ParameterType:array
|
|
2198
|
+
* @required
|
|
2199
|
+
* @erased
|
|
2200
|
+
*/
|
|
2201
|
+
value: any;
|
|
2202
|
+
}
|
|
2203
|
+
//#endregion
|
|
2204
|
+
//#region src/operation/sort-array.d.ts
|
|
2205
|
+
type SortOrder = 'asc' | 'desc';
|
|
2206
|
+
interface ISortArrayOperationData {
|
|
2207
|
+
/**
|
|
2208
|
+
* @required
|
|
2209
|
+
* @dependency
|
|
2210
|
+
*/
|
|
2211
|
+
arrayData: any[];
|
|
2212
|
+
/**
|
|
2213
|
+
* @optional
|
|
2214
|
+
* @erased
|
|
2215
|
+
*/
|
|
2216
|
+
sortProperty?: string;
|
|
2217
|
+
/**
|
|
2218
|
+
* @optional
|
|
2219
|
+
* @erased
|
|
2220
|
+
*/
|
|
2221
|
+
sortOrder?: SortOrder;
|
|
2222
|
+
/**
|
|
2223
|
+
* @optional
|
|
2224
|
+
* @erased
|
|
2225
|
+
*/
|
|
2226
|
+
sortComparator?: (a: any, b: any) => number;
|
|
2227
|
+
/**
|
|
2228
|
+
* @output
|
|
2229
|
+
*/
|
|
2230
|
+
sortedArray: any[];
|
|
2231
|
+
}
|
|
2232
|
+
//#endregion
|
|
2233
|
+
//#region src/operation/split-string.d.ts
|
|
2234
|
+
interface ISplitStringOperationData {
|
|
2235
|
+
/**
|
|
2236
|
+
* @required
|
|
2237
|
+
* @dependency
|
|
2238
|
+
*/
|
|
2239
|
+
textContent: string;
|
|
2240
|
+
/**
|
|
2241
|
+
* @required
|
|
2242
|
+
* @erased
|
|
2243
|
+
*/
|
|
2244
|
+
delimiter: string | RegExp;
|
|
2245
|
+
/**
|
|
2246
|
+
* @optional
|
|
2247
|
+
* @erased
|
|
2248
|
+
*/
|
|
2249
|
+
limit?: number;
|
|
2250
|
+
/**
|
|
2251
|
+
* @output
|
|
2252
|
+
*/
|
|
2253
|
+
resultArray: string[];
|
|
2254
|
+
}
|
|
2255
|
+
//#endregion
|
|
2256
|
+
//#region src/operation/start-action.d.ts
|
|
2257
|
+
interface IStartActionOperationData {
|
|
2258
|
+
/**
|
|
2259
|
+
* @dependency
|
|
2260
|
+
*/
|
|
2261
|
+
actionInstance: IAction;
|
|
2262
|
+
/**
|
|
2263
|
+
* @type=ParameterType:object
|
|
2264
|
+
* @erased
|
|
2265
|
+
*/
|
|
2266
|
+
actionOperationData: TOperationData;
|
|
2267
|
+
}
|
|
2268
|
+
//#endregion
|
|
2269
|
+
//#region src/operation/substring-text.d.ts
|
|
2270
|
+
interface ISubstringTextOperationData {
|
|
2271
|
+
/**
|
|
2272
|
+
* @required
|
|
2273
|
+
* @dependency
|
|
2274
|
+
*/
|
|
2275
|
+
textContent: string;
|
|
2276
|
+
/**
|
|
2277
|
+
* @required
|
|
2278
|
+
* @erased
|
|
2279
|
+
*/
|
|
2280
|
+
start: number;
|
|
2281
|
+
/**
|
|
2282
|
+
* @optional
|
|
2283
|
+
* @erased
|
|
2284
|
+
*/
|
|
2285
|
+
end?: number;
|
|
2286
|
+
/**
|
|
2287
|
+
* @output
|
|
2288
|
+
*/
|
|
2289
|
+
substring: string;
|
|
2290
|
+
}
|
|
2291
|
+
//#endregion
|
|
2292
|
+
//#region src/operation/toggle-class.d.ts
|
|
2293
|
+
interface IToggleClassOperationData {
|
|
2294
|
+
/**
|
|
2295
|
+
* The element on which the class will be toggled
|
|
2296
|
+
* @dependency
|
|
2297
|
+
*/
|
|
2298
|
+
selectedElement: JQuery;
|
|
2299
|
+
/**
|
|
2300
|
+
* The class that will be toggled
|
|
2301
|
+
* @type=ParameterType:className
|
|
2302
|
+
* @required
|
|
2303
|
+
* @erased
|
|
2304
|
+
*/
|
|
2305
|
+
className: string;
|
|
2306
|
+
}
|
|
2307
|
+
//#endregion
|
|
2308
|
+
//#region src/operation/toggle-element.d.ts
|
|
2309
|
+
interface IToggleElementOperationData {
|
|
2310
|
+
/**
|
|
2311
|
+
* The element whose visibility will be toggled
|
|
2312
|
+
* @dependency
|
|
2313
|
+
*/
|
|
2314
|
+
selectedElement: JQuery;
|
|
2315
|
+
}
|
|
2316
|
+
//#endregion
|
|
2317
|
+
//#region src/operation/toggle-form-element.d.ts
|
|
2318
|
+
interface IToggleFormElementOperationData {
|
|
2319
|
+
/**
|
|
2320
|
+
* @required
|
|
2321
|
+
* @dependency
|
|
2322
|
+
*/
|
|
2323
|
+
selectedElement: JQuery;
|
|
2324
|
+
/**
|
|
2325
|
+
* @required
|
|
2326
|
+
* @erased
|
|
2327
|
+
*/
|
|
2328
|
+
enabled: boolean;
|
|
2329
|
+
}
|
|
2330
|
+
//#endregion
|
|
2331
|
+
//#region src/operation/validate-form.d.ts
|
|
2332
|
+
interface IValidationRules {
|
|
2333
|
+
required?: boolean;
|
|
2334
|
+
minLength?: number;
|
|
2335
|
+
maxLength?: number;
|
|
2336
|
+
pattern?: string | RegExp;
|
|
2337
|
+
email?: boolean;
|
|
2338
|
+
}
|
|
2339
|
+
interface IValidateFormOperationData {
|
|
2340
|
+
/**
|
|
2341
|
+
* @required
|
|
2342
|
+
* @dependency
|
|
2343
|
+
*/
|
|
2344
|
+
selectedElement: JQuery;
|
|
2345
|
+
/**
|
|
2346
|
+
* @erased
|
|
2347
|
+
*/
|
|
2348
|
+
validationRules?: Record<string, IValidationRules>;
|
|
2349
|
+
/**
|
|
2350
|
+
* @output
|
|
2351
|
+
* @type=ParameterType:object
|
|
2352
|
+
*/
|
|
2353
|
+
validationErrors?: Record<string, string>;
|
|
2354
|
+
/**
|
|
2355
|
+
* @output
|
|
2356
|
+
*/
|
|
2357
|
+
isValid?: boolean;
|
|
2358
|
+
}
|
|
2359
|
+
//#endregion
|
|
2360
|
+
//#region src/operation/wait.d.ts
|
|
2361
|
+
interface IWaitOperationData {
|
|
2362
|
+
/**
|
|
2363
|
+
* The amount of milliseconds the operation will wait for.
|
|
2364
|
+
* @required
|
|
2365
|
+
* @erased
|
|
2366
|
+
*/
|
|
2367
|
+
milliseconds: number;
|
|
2368
|
+
}
|
|
2369
|
+
//#endregion
|
|
2370
|
+
//#region src/operation/when.d.ts
|
|
2371
|
+
type TOperator = '!=' | '==' | '>=' | '<=' | '>' | '<';
|
|
2372
|
+
type TValue = `'${string}'` | number | `$operationdata.${string}` | `$globaldata.${string}` | `$scope.${string}`;
|
|
2373
|
+
type TExpression = `${TValue}${TOperator}${TValue}`;
|
|
2374
|
+
interface IWhenOperationData {
|
|
2375
|
+
/**
|
|
2376
|
+
* @type=ParameterType:expression
|
|
2377
|
+
* @required
|
|
2378
|
+
* @erased
|
|
2379
|
+
*/
|
|
2380
|
+
expression: TExpression;
|
|
2381
|
+
}
|
|
2382
|
+
//#endregion
|
|
2383
|
+
//#region src/configuration/types.d.ts
|
|
2384
|
+
interface IResolvedOperation {
|
|
2385
|
+
id: string;
|
|
2386
|
+
systemName: string;
|
|
2387
|
+
operationData: TOperationData;
|
|
2388
|
+
instance: TOperation<any>;
|
|
2389
|
+
}
|
|
2390
|
+
//#endregion
|
|
2391
|
+
//#region src/action/types.d.ts
|
|
2392
|
+
interface IAction {
|
|
2393
|
+
id: string;
|
|
2394
|
+
name: string;
|
|
2395
|
+
startOperations: IResolvedOperation[];
|
|
2396
|
+
start(initOperationData?: TOperationData): Promise<TOperationData>;
|
|
2397
|
+
}
|
|
2398
|
+
interface IEndableAction extends IAction {
|
|
2399
|
+
endOperations: IResolvedOperation[];
|
|
2400
|
+
end(initOperationData?: TOperationData): Promise<TOperationData>;
|
|
2401
|
+
}
|
|
2402
|
+
//#endregion
|
|
2403
|
+
//#region src/controllers/dom-event-listener-controller.d.ts
|
|
2404
|
+
interface IActionInstanceInfo {
|
|
2405
|
+
start: boolean;
|
|
2406
|
+
action: IEndableAction;
|
|
2407
|
+
}
|
|
2408
|
+
interface IDOMEventListenerControllerOperationData {
|
|
2409
|
+
/**
|
|
2410
|
+
* @dependency
|
|
2411
|
+
*/
|
|
2412
|
+
selectedElement: JQuery;
|
|
2413
|
+
/**
|
|
2414
|
+
* @type=ParameterType:eventName
|
|
2415
|
+
* @required
|
|
2416
|
+
*/
|
|
2417
|
+
eventName: string;
|
|
2418
|
+
actions: string[];
|
|
2419
|
+
/**
|
|
2420
|
+
* @type=ParameterType:object
|
|
2421
|
+
*/
|
|
2422
|
+
actionOperationData?: TOperationData;
|
|
2423
|
+
}
|
|
2424
|
+
/**
|
|
2425
|
+
* This controller attaches to the given selected element and adds a DOM event listener for the specified event name that
|
|
2426
|
+
* executes the given actions with the given operation data.
|
|
2427
|
+
*
|
|
2428
|
+
* By default the `start` operations of the specified actions are executed. To execute the `end` operations instead,
|
|
2429
|
+
* prefix the action name with `end:`.
|
|
2430
|
+
*/
|
|
2431
|
+
declare class DOMEventListenerController$1 implements IController<IDOMEventListenerControllerOperationData> {
|
|
2432
|
+
operationData?: IDOMEventListenerControllerOperationData;
|
|
2433
|
+
actionInstanceInfos?: IActionInstanceInfo[];
|
|
2434
|
+
name: string;
|
|
2435
|
+
init(operationData: IDOMEventListenerControllerOperationData): void;
|
|
2436
|
+
attach(eventbus: IEventbus): void;
|
|
2437
|
+
private _isStartAction;
|
|
2438
|
+
private _eventHandler;
|
|
2439
|
+
private _executeAction;
|
|
2440
|
+
detach(_eventbus: IEventbus): void;
|
|
2441
|
+
}
|
|
2442
|
+
//#endregion
|
|
2443
|
+
//#region src/operation/metadata/types.d.ts
|
|
2444
|
+
type THasRequired = {
|
|
2445
|
+
required?: boolean;
|
|
2446
|
+
};
|
|
2447
|
+
type THasErased = {
|
|
2448
|
+
erased?: boolean;
|
|
2449
|
+
};
|
|
2450
|
+
type THasDescription = {
|
|
2451
|
+
description?: string;
|
|
2452
|
+
};
|
|
2453
|
+
type TComplexPropertyMetadata = {
|
|
2454
|
+
type: TConstantParametersTypes[] | TParameterTypes | TParameterTypesDelimited;
|
|
2455
|
+
defaultValue?: unknown;
|
|
2456
|
+
} & THasRequired & THasErased & THasDescription;
|
|
2457
|
+
type TArrayProperyMetadata = {
|
|
2458
|
+
type: 'ParameterType:array';
|
|
2459
|
+
itemType: TParameterTypes;
|
|
2460
|
+
} & THasRequired & THasErased & THasDescription;
|
|
2461
|
+
type TConstantParametersTypes = {
|
|
2462
|
+
value: string;
|
|
2463
|
+
default?: boolean;
|
|
2464
|
+
} & THasDescription;
|
|
2465
|
+
type TPropertyMetadata = TComplexPropertyMetadata | TArrayProperyMetadata | TParameterTypes;
|
|
2466
|
+
type TPropertiesMetadata<T> = { [P in keyof T]?: TPropertyMetadata };
|
|
2467
|
+
interface IOperationMetadata<T> {
|
|
2468
|
+
category: TOperationCategory;
|
|
2469
|
+
description: string;
|
|
2470
|
+
dependentProperties?: (keyof T)[];
|
|
2471
|
+
properties?: TPropertiesMetadata<T>;
|
|
2472
|
+
outputProperties?: TPropertiesMetadata<T>;
|
|
2473
|
+
}
|
|
2474
|
+
type TParameterTypesDelimited = `${TParameterTypes}` | `${TParameterTypes}|${string}`;
|
|
2475
|
+
type TParameterTypes = 'ParameterType:htmlElementName' | 'ParameterType:className' | 'ParameterType:selector' | 'ParameterType:string' | 'ParameterType:number' | 'ParameterType:object' | 'ParameterType:boolean' | 'ParameterType:array' | 'ParameterType:eventTopic' | 'ParameterType:eventName' | 'ParameterType:systemName' | 'ParameterType:actionName' | 'ParameterType:controllerName' | 'ParameterType:dimensions' | 'ParameterType:dimensionsModifier' | 'ParameterType:url' | 'ParameterType:htmlContent' | 'ParameterType:labelId' | 'ParameterType:ImagePath' | 'ParameterType:QuadrantPosition' | 'ParameterType:jQuery' | 'ParameterType:expression' | 'ParameterType:mathfunction' | 'ParameterType:cssProperties' | 'ParameterType:function' | 'ParameterType:Date' | 'ParameterType:languagecode';
|
|
2476
|
+
type TOperationCategory = 'DOM' | 'Controller' | 'Data' | 'Control Flow' | 'Animation' | 'Form' | 'Scroll' | 'Focus' | 'Array' | 'String' | 'Text' | 'Date' | 'HTTP' | 'Action' | 'Utility' | 'Accessibility';
|
|
2477
|
+
//#endregion
|
|
2478
|
+
//#region src/controllers/metadata/types.d.ts
|
|
2479
|
+
type IControllerMetadata<T> = {
|
|
2480
|
+
description: string;
|
|
2481
|
+
dependentProperties?: (keyof T)[];
|
|
2482
|
+
properties?: Partial<Record<keyof T, TPropertyMetadata>>;
|
|
2483
|
+
};
|
|
2484
|
+
//#endregion
|
|
2485
|
+
//#region src/controllers/metadata/dom-event-listener-controller.d.ts
|
|
2486
|
+
declare function DOMEventListenerController(): IControllerMetadata<IDOMEventListenerControllerOperationData>;
|
|
2487
|
+
//#endregion
|
|
2488
|
+
//#region src/controllers/metadata/label-controller.d.ts
|
|
2489
|
+
declare function LabelController(): IControllerMetadata<ILabelControllerMetadata>;
|
|
2490
|
+
//#endregion
|
|
2491
|
+
//#region src/controllers/metadata/lottie-controller.d.ts
|
|
2492
|
+
declare function LottieController(): IControllerMetadata<ILottieControllerMetadata>;
|
|
2493
|
+
//#endregion
|
|
2494
|
+
//#region src/controllers/metadata/mutation-observer-controller.d.ts
|
|
2495
|
+
declare function MutationObserverController(): IControllerMetadata<IMutationObserverControllerMetadata>;
|
|
2496
|
+
//#endregion
|
|
2497
|
+
//#region src/controllers/metadata/navigation-controller.d.ts
|
|
2498
|
+
declare function NavigationController(): IControllerMetadata<INavigationControllerOperationData>;
|
|
2499
|
+
//#endregion
|
|
2500
|
+
//#region src/controllers/metadata/progressbar-controller.d.ts
|
|
2501
|
+
declare function ProgressbarController(): IControllerMetadata<IProgressbarControllerOperationData>;
|
|
2502
|
+
//#endregion
|
|
2503
|
+
//#region src/controllers/metadata/routing-controller.d.ts
|
|
2504
|
+
declare function RoutingController(): IControllerMetadata<IRoutingControllerOperationData>;
|
|
2505
|
+
//#endregion
|
|
2506
|
+
//#region src/controllers/metadata/subtitles-controller.d.ts
|
|
2507
|
+
declare function SubtitlesController(): IControllerMetadata<ISubtitlesControllerOperationData>;
|
|
2508
|
+
declare namespace index_d_exports {
|
|
2509
|
+
export { DOMEventListenerController, IControllerMetadata, LabelController, LottieController, MutationObserverController, NavigationController, ProgressbarController, RoutingController, SubtitlesController };
|
|
2510
|
+
}
|
|
2511
|
+
//#endregion
|
|
2512
|
+
//#region src/eventbus/events/metadata/before-request-timeline-uri.d.ts
|
|
2513
|
+
declare function beforeRequestTimelineUri(): IEventMetadata<BeforeRequestTimelineUriEvent['args']>;
|
|
2514
|
+
//#endregion
|
|
2515
|
+
//#region src/eventbus/events/metadata/before-request-video-url.d.ts
|
|
2516
|
+
declare function beforeRequestVideoUrl(): IEventMetadata<BeforeRequestVideoUrlEvent['args']>;
|
|
2517
|
+
//#endregion
|
|
2518
|
+
//#region src/eventbus/events/metadata/dom-mutation.d.ts
|
|
2519
|
+
declare function domMutation(): IEventMetadata<DomMutationEvent['args']>;
|
|
2520
|
+
//#endregion
|
|
2521
|
+
//#region src/eventbus/events/metadata/highlight-navigation.d.ts
|
|
2522
|
+
declare function highlightNavigation(): IEventMetadata<HighlightNavigationEvent['args']>;
|
|
2523
|
+
//#endregion
|
|
2524
|
+
//#region src/eventbus/events/metadata/language-change.d.ts
|
|
2525
|
+
declare function languageChange(): IEventMetadata<LanguageChangeEvent['args']>;
|
|
2526
|
+
//#endregion
|
|
2527
|
+
//#region src/eventbus/events/metadata/navigate-to-video-url.d.ts
|
|
2528
|
+
declare function navigateToVideoUrl(): IEventMetadata<NavigateToVideoUrlEvent['args']>;
|
|
2529
|
+
//#endregion
|
|
2530
|
+
//#region src/eventbus/events/metadata/push-history-state.d.ts
|
|
2531
|
+
declare function pushHistoryState(): IEventMetadata<PushHistoryStateEvent['args']>;
|
|
2532
|
+
//#endregion
|
|
2533
|
+
//#region src/eventbus/events/metadata/request-action.d.ts
|
|
2534
|
+
declare function requestAction$1(): IEventMetadata<RequestActionEvent['args']>;
|
|
2535
|
+
//#endregion
|
|
2536
|
+
//#region src/eventbus/events/metadata/request-current-language.d.ts
|
|
2537
|
+
declare function requestCurrentLanguage(): IEventMetadata<RequestCurrentLanguageEvent['args']>;
|
|
2538
|
+
//#endregion
|
|
2539
|
+
//#region src/eventbus/events/metadata/request-current-navigation.d.ts
|
|
2540
|
+
declare function requestCurrentNavigation(): IEventMetadata<RequestCurrentNavigationEvent['args']>;
|
|
2541
|
+
//#endregion
|
|
2542
|
+
//#region src/eventbus/events/metadata/request-current-timeline-position.d.ts
|
|
2543
|
+
declare function requestCurrentTimelinePosition(): IEventMetadata<RequestCurrentTimelinePositionEvent['args']>;
|
|
2544
|
+
//#endregion
|
|
2545
|
+
//#region src/eventbus/events/metadata/request-current-video-position.d.ts
|
|
2546
|
+
declare function requestCurrentVideoPosition(): IEventMetadata<RequestCurrentVideoPositionEvent['args']>;
|
|
2547
|
+
//#endregion
|
|
2548
|
+
//#region src/eventbus/events/metadata/request-engine-root.d.ts
|
|
2549
|
+
declare function requestEngineRoot(): IEventMetadata<RequestEngineRootEvent['args']>;
|
|
2550
|
+
//#endregion
|
|
2551
|
+
//#region src/eventbus/events/metadata/request-function.d.ts
|
|
2552
|
+
declare function requestFunction(): IEventMetadata<RequestFunctionEvent['args']>;
|
|
2553
|
+
//#endregion
|
|
2554
|
+
//#region src/eventbus/events/metadata/request-instance.d.ts
|
|
2555
|
+
declare function requestInstance(): IEventMetadata<RequestInstanceEvent['args']>;
|
|
2556
|
+
//#endregion
|
|
2557
|
+
//#region src/eventbus/events/metadata/request-label-collection.d.ts
|
|
2558
|
+
declare function requestLabelCollection(): IEventMetadata<RequestLabelCollectionEvent['args']>;
|
|
2559
|
+
//#endregion
|
|
2560
|
+
//#region src/eventbus/events/metadata/request-label-collections.d.ts
|
|
2561
|
+
declare function requestLabelCollections(): IEventMetadata<RequestLabelCollectionsEvent['args']>;
|
|
2562
|
+
//#endregion
|
|
2563
|
+
//#region src/eventbus/events/metadata/request-timeline-cleanup.d.ts
|
|
2564
|
+
declare function requestTimelineCleanup(): IEventMetadata<RequestTimelineCleanupEvent['args']>;
|
|
2565
|
+
//#endregion
|
|
2566
|
+
//#region src/eventbus/events/metadata/request-timeline-uri.d.ts
|
|
2567
|
+
declare function requestTimelineUri(): IEventMetadata<RequestTimelineUriEvent['args']>;
|
|
2568
|
+
//#endregion
|
|
2569
|
+
//#region src/eventbus/events/metadata/request-video-cleanup.d.ts
|
|
2570
|
+
declare function requestVideoCleanup(): IEventMetadata<RequestVideoCleanupEvent['args']>;
|
|
2571
|
+
//#endregion
|
|
2572
|
+
//#region src/eventbus/events/metadata/request-video-url.d.ts
|
|
2573
|
+
declare function requestVideoUrl(): IEventMetadata<RequestVideoUrlEvent['args']>;
|
|
2574
|
+
//#endregion
|
|
2575
|
+
//#region src/eventbus/events/metadata/timeline-complete.d.ts
|
|
2576
|
+
declare function timelineComplete(): IEventMetadata<CompleteEvent['args']>;
|
|
2577
|
+
//#endregion
|
|
2578
|
+
//#region src/eventbus/events/metadata/timeline-container-request.d.ts
|
|
2579
|
+
declare function timelineContainerRequest(): IEventMetadata<ContainerRequestEvent['args']>;
|
|
2580
|
+
//#endregion
|
|
2581
|
+
//#region src/eventbus/events/metadata/timeline-current-timeline-change.d.ts
|
|
2582
|
+
declare function timelineCurrentTimelineChange(): IEventMetadata<CurrentTimelineChangeEvent['args']>;
|
|
2583
|
+
//#endregion
|
|
2584
|
+
//#region src/eventbus/events/metadata/timeline-duration-request.d.ts
|
|
2585
|
+
declare function timelineDurationRequest(): IEventMetadata<DurationRequestEvent['args']>;
|
|
2586
|
+
//#endregion
|
|
2587
|
+
//#region src/eventbus/events/metadata/timeline-duration.d.ts
|
|
2588
|
+
declare function timelineDuration(): IEventMetadata<DurationEvent['args']>;
|
|
2589
|
+
//#endregion
|
|
2590
|
+
//#region src/eventbus/events/metadata/timeline-firstframe.d.ts
|
|
2591
|
+
declare function timelineFirstframe(): IEventMetadata<FirstFrameEvent['args']>;
|
|
2592
|
+
//#endregion
|
|
2593
|
+
//#region src/eventbus/events/metadata/timeline-pause-request.d.ts
|
|
2594
|
+
declare function timelinePauseRequest(): IEventMetadata<PauseRequestEvent['args']>;
|
|
2595
|
+
//#endregion
|
|
2596
|
+
//#region src/eventbus/events/metadata/timeline-pause.d.ts
|
|
2597
|
+
declare function timelinePause(): IEventMetadata<PauseEvent['args']>;
|
|
2598
|
+
//#endregion
|
|
2599
|
+
//#region src/eventbus/events/metadata/timeline-play-request.d.ts
|
|
2600
|
+
declare function timelinePlayRequest(): IEventMetadata<PlayRequestEvent['args']>;
|
|
2601
|
+
//#endregion
|
|
2602
|
+
//#region src/eventbus/events/metadata/timeline-play-toggle-request.d.ts
|
|
2603
|
+
declare function timelinePlayToggleRequest(): IEventMetadata<PlayToggleRequestEvent['args']>;
|
|
2604
|
+
//#endregion
|
|
2605
|
+
//#region src/eventbus/events/metadata/timeline-play.d.ts
|
|
2606
|
+
declare function timelinePlay(): IEventMetadata<PlayEvent['args']>;
|
|
2607
|
+
//#endregion
|
|
2608
|
+
//#region src/eventbus/events/metadata/timeline-request-current-timeline.d.ts
|
|
2609
|
+
declare function timelineRequestCurrentTimeline(): IEventMetadata<RequestCurrentTimelineEvent['args']>;
|
|
2610
|
+
//#endregion
|
|
2611
|
+
//#region src/eventbus/events/metadata/timeline-resize-request.d.ts
|
|
2612
|
+
declare function timelineResizeRequest(): IEventMetadata<ResizeRequestEvent['args']>;
|
|
2613
|
+
//#endregion
|
|
2614
|
+
//#region src/eventbus/events/metadata/timeline-resize.d.ts
|
|
2615
|
+
declare function timelineResize(): IEventMetadata<ResizeEvent['args']>;
|
|
2616
|
+
//#endregion
|
|
2617
|
+
//#region src/eventbus/events/metadata/timeline-restart.d.ts
|
|
2618
|
+
declare function timelineRestart(): IEventMetadata<RestartEvent['args']>;
|
|
2619
|
+
//#endregion
|
|
2620
|
+
//#region src/eventbus/events/metadata/timeline-seek-request.d.ts
|
|
2621
|
+
declare function timelineSeekRequest(): IEventMetadata<SeekRequestEvent['args']>;
|
|
2622
|
+
//#endregion
|
|
2623
|
+
//#region src/eventbus/events/metadata/timeline-seek.d.ts
|
|
2624
|
+
declare function timelineSeek(): IEventMetadata<SeekEvent['args']>;
|
|
2625
|
+
//#endregion
|
|
2626
|
+
//#region src/eventbus/events/metadata/timeline-seeked.d.ts
|
|
2627
|
+
declare function timelineSeeked(): IEventMetadata<SeekedEvent['args']>;
|
|
2628
|
+
//#endregion
|
|
2629
|
+
//#region src/eventbus/events/metadata/timeline-stop-request.d.ts
|
|
2630
|
+
declare function timelineStopRequest(): IEventMetadata<StopRequestEvent['args']>;
|
|
2631
|
+
//#endregion
|
|
2632
|
+
//#region src/eventbus/events/metadata/timeline-stop.d.ts
|
|
2633
|
+
declare function timelineStop(): IEventMetadata<StopEvent['args']>;
|
|
2634
|
+
//#endregion
|
|
2635
|
+
//#region src/eventbus/events/metadata/timeline-time.d.ts
|
|
2636
|
+
declare function timelineTime(): IEventMetadata<TimeEvent['args']>;
|
|
2637
|
+
//#endregion
|
|
2638
|
+
//#region src/eventbus/events/metadata/video-complete.d.ts
|
|
2639
|
+
declare function videoComplete(): IEventMetadata<VideoCompleteEvent['args']>;
|
|
2640
|
+
declare namespace index_d_exports$1 {
|
|
2641
|
+
export { IEventMetadata, beforeRequestTimelineUri, beforeRequestVideoUrl, domMutation, highlightNavigation, languageChange, navigateToVideoUrl, pushHistoryState, requestAction$1 as requestAction, requestCurrentLanguage, requestCurrentNavigation, requestCurrentTimelinePosition, requestCurrentVideoPosition, requestEngineRoot, requestFunction, requestInstance, requestLabelCollection, requestLabelCollections, requestTimelineCleanup, requestTimelineUri, requestVideoCleanup, requestVideoUrl, timelineComplete, timelineContainerRequest, timelineCurrentTimelineChange, timelineDuration, timelineDurationRequest, timelineFirstframe, timelinePause, timelinePauseRequest, timelinePlay, timelinePlayRequest, timelinePlayToggleRequest, timelineRequestCurrentTimeline, timelineResize, timelineResizeRequest, timelineRestart, timelineSeek, timelineSeekRequest, timelineSeeked, timelineStop, timelineStopRequest, timelineTime, videoComplete };
|
|
2642
|
+
}
|
|
2643
|
+
//#endregion
|
|
2644
|
+
//#region src/operation/metadata/add-class.d.ts
|
|
2645
|
+
declare function addClass(): IOperationMetadata<IAddClassOperationData>;
|
|
2646
|
+
//#endregion
|
|
2647
|
+
//#region src/operation/metadata/add-controller-to-element.d.ts
|
|
2648
|
+
declare function addControllerToElement(): IOperationMetadata<IAddControllerToElementOperationData<TOperationData>>;
|
|
2649
|
+
//#endregion
|
|
2650
|
+
//#region src/operation/metadata/add-globals-to-operation.d.ts
|
|
2651
|
+
declare function addGlobalsToOperation(): IOperationMetadata<IAddGlobalsToOperationData>;
|
|
2652
|
+
//#endregion
|
|
2653
|
+
//#region src/operation/metadata/animate-with-class.d.ts
|
|
2654
|
+
declare function animateWithClass(): IOperationMetadata<IAnimateWithClassOperationData>;
|
|
2655
|
+
//#endregion
|
|
2656
|
+
//#region src/operation/metadata/animate.d.ts
|
|
2657
|
+
declare function animate(): IOperationMetadata<IAnimateOperationData>;
|
|
2658
|
+
//#endregion
|
|
2659
|
+
//#region src/operation/metadata/announce-to-screen-reader.d.ts
|
|
2660
|
+
declare function announceToScreenReader(): IOperationMetadata<IAnnounceToScreenReaderOperationData>;
|
|
2661
|
+
//#endregion
|
|
2662
|
+
//#region src/operation/metadata/break-for-each.d.ts
|
|
2663
|
+
declare function breakForEach(): IOperationMetadata<undefined>;
|
|
2664
|
+
//#endregion
|
|
2665
|
+
//#region src/operation/metadata/broadcast-event.d.ts
|
|
2666
|
+
declare function broadcastEvent(): IOperationMetadata<IBroadcastEventOperationData>;
|
|
2667
|
+
//#endregion
|
|
2668
|
+
//#region src/operation/metadata/calc.d.ts
|
|
2669
|
+
declare function calc(): IOperationMetadata<ICalcOperationData>;
|
|
2670
|
+
//#endregion
|
|
2671
|
+
//#region src/operation/metadata/clear-element.d.ts
|
|
2672
|
+
declare function clearElement(): IOperationMetadata<IClearElementOperationData>;
|
|
2673
|
+
//#endregion
|
|
2674
|
+
//#region src/operation/metadata/clear-operation-data.d.ts
|
|
2675
|
+
declare function clearOperationData(): IOperationMetadata<IClearOperationDataOperationData>;
|
|
2676
|
+
//#endregion
|
|
2677
|
+
//#region src/operation/metadata/clear-storage.d.ts
|
|
2678
|
+
declare function clearStorage(): IOperationMetadata<IClearStorageOperationData>;
|
|
2679
|
+
//#endregion
|
|
2680
|
+
//#region src/operation/metadata/compare-date.d.ts
|
|
2681
|
+
declare function compareDate(): IOperationMetadata<ICompareDateOperationData>;
|
|
2682
|
+
//#endregion
|
|
2683
|
+
//#region src/operation/metadata/concatenate-strings.d.ts
|
|
2684
|
+
declare function concatenateStrings(): IOperationMetadata<IConcatenateStringsOperationData>;
|
|
2685
|
+
//#endregion
|
|
2686
|
+
//#region src/operation/metadata/continue-for-each.d.ts
|
|
2687
|
+
declare function continueForEach(): IOperationMetadata<undefined>;
|
|
2688
|
+
//#endregion
|
|
2689
|
+
//#region src/operation/metadata/create-element.d.ts
|
|
2690
|
+
declare function createElement(): IOperationMetadata<ICreateElementOperationData<TTagNames>>;
|
|
2691
|
+
//#endregion
|
|
2692
|
+
//#region src/operation/metadata/custom-function.d.ts
|
|
2693
|
+
declare function customFunction(): IOperationMetadata<ICustomFunctionOperationData>;
|
|
2694
|
+
//#endregion
|
|
2695
|
+
//#region src/operation/metadata/end-action.d.ts
|
|
2696
|
+
declare function endAction(): IOperationMetadata<IEndActionOperationData>;
|
|
2697
|
+
//#endregion
|
|
2698
|
+
//#region src/operation/metadata/end-for-each.d.ts
|
|
2699
|
+
declare function endForEach(): IOperationMetadata<undefined>;
|
|
2700
|
+
//#endregion
|
|
2701
|
+
//#region src/operation/metadata/end-when.d.ts
|
|
2702
|
+
declare function endWhen(): IOperationMetadata<undefined>;
|
|
2703
|
+
//#endregion
|
|
2704
|
+
//#region src/operation/metadata/extend-controller.d.ts
|
|
2705
|
+
declare function extendController(): IOperationMetadata<IExtendControllerOperationData>;
|
|
2706
|
+
//#endregion
|
|
2707
|
+
//#region src/operation/metadata/filter-array.d.ts
|
|
2708
|
+
declare function filterArray(): IOperationMetadata<IFilterArrayOperationData>;
|
|
2709
|
+
//#endregion
|
|
2710
|
+
//#region src/operation/metadata/find-in-array.d.ts
|
|
2711
|
+
declare function findInArray(): IOperationMetadata<IFindInArrayOperationData>;
|
|
2712
|
+
//#endregion
|
|
2713
|
+
//#region src/operation/metadata/for-each.d.ts
|
|
2714
|
+
declare function forEach(): IOperationMetadata<IForEachOperationData>;
|
|
2715
|
+
//#endregion
|
|
2716
|
+
//#region src/operation/metadata/format-date.d.ts
|
|
2717
|
+
declare function formatDate(): IOperationMetadata<IFormatDateOperationData>;
|
|
2718
|
+
//#endregion
|
|
2719
|
+
//#region src/operation/metadata/format-text.d.ts
|
|
2720
|
+
declare function formatText(): IOperationMetadata<IFormatTextOperationData>;
|
|
2721
|
+
//#endregion
|
|
2722
|
+
//#region src/operation/metadata/get-attributes-from-element.d.ts
|
|
2723
|
+
declare function getAttributesFromElement(): IOperationMetadata<IGetAttributesFromElementOperationData>;
|
|
2724
|
+
//#endregion
|
|
2725
|
+
//#region src/operation/metadata/get-controller-from-element.d.ts
|
|
2726
|
+
declare function getControllerFromElement(): IOperationMetadata<IGetControllerFromElementOperationData>;
|
|
2727
|
+
//#endregion
|
|
2728
|
+
//#region src/operation/metadata/get-controller-instance.d.ts
|
|
2729
|
+
declare function getControllerInstance(): IOperationMetadata<IGetControllerInstanceOperationData>;
|
|
2730
|
+
//#endregion
|
|
2731
|
+
//#region src/operation/metadata/get-current-time.d.ts
|
|
2732
|
+
declare function getCurrentTime(): IOperationMetadata<IGetCurrentTimeOperationData>;
|
|
2733
|
+
//#endregion
|
|
2734
|
+
//#region src/operation/metadata/get-element-dimensions.d.ts
|
|
2735
|
+
declare function getElementDimensions(): IOperationMetadata<IGetElementDimensionsOperationData>;
|
|
2736
|
+
//#endregion
|
|
2737
|
+
//#region src/operation/metadata/get-focused-element.d.ts
|
|
2738
|
+
declare function getFocusedElement(): IOperationMetadata<IGetFocusedElementOperationData>;
|
|
2739
|
+
//#endregion
|
|
2740
|
+
//#region src/operation/metadata/get-form-data.d.ts
|
|
2741
|
+
declare function getFormData(): IOperationMetadata<IGetFormDataOperationData>;
|
|
2742
|
+
//#endregion
|
|
2743
|
+
//#region src/operation/metadata/get-import.d.ts
|
|
2744
|
+
declare function getImport(): IOperationMetadata<IGetImportOperationData>;
|
|
2745
|
+
//#endregion
|
|
2746
|
+
//#region src/operation/metadata/get-query-params.d.ts
|
|
2747
|
+
declare function getQueryParams(): IOperationMetadata<IGetQueryParamsOperationData>;
|
|
2748
|
+
//#endregion
|
|
2749
|
+
//#region src/operation/metadata/get-scroll-position.d.ts
|
|
2750
|
+
declare function getScrollPosition(): IOperationMetadata<IGetScrollPositionOperationData>;
|
|
2751
|
+
//#endregion
|
|
2752
|
+
//#region src/operation/metadata/get-text-content.d.ts
|
|
2753
|
+
declare function getTextContent(): IOperationMetadata<IGetTextContentOperationData>;
|
|
2754
|
+
//#endregion
|
|
2755
|
+
//#region src/operation/metadata/http-delete.d.ts
|
|
2756
|
+
declare function httpDelete(): IOperationMetadata<IHttpDeleteOperationData>;
|
|
2757
|
+
//#endregion
|
|
2758
|
+
//#region src/operation/metadata/http-post.d.ts
|
|
2759
|
+
declare function httpPost(): IOperationMetadata<IHttpPostOperationData>;
|
|
2760
|
+
//#endregion
|
|
2761
|
+
//#region src/operation/metadata/http-put.d.ts
|
|
2762
|
+
declare function httpPut(): IOperationMetadata<IHttpPutOperationData>;
|
|
2763
|
+
//#endregion
|
|
2764
|
+
//#region src/operation/metadata/invoke-object-method.d.ts
|
|
2765
|
+
declare function invokeObjectMethod(): IOperationMetadata<IInvokeObjectMethodOperationData>;
|
|
2766
|
+
//#endregion
|
|
2767
|
+
//#region src/operation/metadata/is-element-in-viewport.d.ts
|
|
2768
|
+
declare function isElementInViewport(): IOperationMetadata<IIsElementInViewportOperationData>;
|
|
2769
|
+
//#endregion
|
|
2770
|
+
//#region src/operation/metadata/load-from-storage.d.ts
|
|
2771
|
+
declare function loadFromStorage(): IOperationMetadata<ILoadFromStorageOperationData>;
|
|
2772
|
+
//#endregion
|
|
2773
|
+
//#region src/operation/metadata/load-json.d.ts
|
|
2774
|
+
declare function loadJson(): IOperationMetadata<ILoadJSONOperationData>;
|
|
2775
|
+
//#endregion
|
|
2776
|
+
//#region src/operation/metadata/log.d.ts
|
|
2777
|
+
declare function log(): IOperationMetadata<ILogOperationData>;
|
|
2778
|
+
//#endregion
|
|
2779
|
+
//#region src/operation/metadata/map-array.d.ts
|
|
2780
|
+
declare function mapArray(): IOperationMetadata<IMapArrayOperationData>;
|
|
2781
|
+
//#endregion
|
|
2782
|
+
//#region src/operation/metadata/math.d.ts
|
|
2783
|
+
declare function math(): IOperationMetadata<IMathOperationData>;
|
|
2784
|
+
//#endregion
|
|
2785
|
+
//#region src/operation/metadata/otherwise.d.ts
|
|
2786
|
+
declare function otherwise(): IOperationMetadata<undefined>;
|
|
2787
|
+
//#endregion
|
|
2788
|
+
//#region src/operation/metadata/remove-class.d.ts
|
|
2789
|
+
declare function removeClass(): IOperationMetadata<IRemoveClassOperationData>;
|
|
2790
|
+
//#endregion
|
|
2791
|
+
//#region src/operation/metadata/remove-controller-from-element.d.ts
|
|
2792
|
+
declare function removeControllerFromElement(): IOperationMetadata<IRemoveControllerFromElementOperationData>;
|
|
2793
|
+
//#endregion
|
|
2794
|
+
//#region src/operation/metadata/remove-element.d.ts
|
|
2795
|
+
declare function removeElement(): IOperationMetadata<IRemoveElementOperationData>;
|
|
2796
|
+
//#endregion
|
|
2797
|
+
//#region src/operation/metadata/remove-properties-from-operation-data.d.ts
|
|
2798
|
+
declare function removePropertiesFromOperationData(): IOperationMetadata<IRemovePropertiesFromOperationDataOperationData>;
|
|
2799
|
+
//#endregion
|
|
2800
|
+
//#region src/operation/metadata/reparent-element.d.ts
|
|
2801
|
+
declare function reparentElement(): IOperationMetadata<IReparentElementOperationData>;
|
|
2802
|
+
//#endregion
|
|
2803
|
+
//#region src/operation/metadata/replace-string.d.ts
|
|
2804
|
+
declare function replaceString(): IOperationMetadata<IReplaceStringOperationData>;
|
|
2805
|
+
//#endregion
|
|
2806
|
+
//#region src/operation/metadata/replace-text.d.ts
|
|
2807
|
+
declare function replaceText(): IOperationMetadata<IReplaceTextOperationData>;
|
|
2808
|
+
//#endregion
|
|
2809
|
+
//#region src/operation/metadata/request-action.d.ts
|
|
2810
|
+
declare function requestAction(): IOperationMetadata<IRequestActionOperationData>;
|
|
2811
|
+
//#endregion
|
|
2812
|
+
//#region src/operation/metadata/save-to-storage.d.ts
|
|
2813
|
+
declare function saveToStorage(): IOperationMetadata<ISaveToStorageOperationData>;
|
|
2814
|
+
//#endregion
|
|
2815
|
+
//#region src/operation/metadata/scroll-to-element.d.ts
|
|
2816
|
+
declare function scrollToElement(): IOperationMetadata<IScrollToElementOperationData>;
|
|
2817
|
+
//#endregion
|
|
2818
|
+
//#region src/operation/metadata/scroll-to-position.d.ts
|
|
2819
|
+
declare function scrollToPosition(): IOperationMetadata<IScrollToPositionOperationData>;
|
|
2820
|
+
//#endregion
|
|
2821
|
+
//#region src/operation/metadata/select-element.d.ts
|
|
2822
|
+
declare function selectElement(): IOperationMetadata<ISelectElementOperationData>;
|
|
2823
|
+
//#endregion
|
|
2824
|
+
//#region src/operation/metadata/set-data.d.ts
|
|
2825
|
+
declare function setData(): IOperationMetadata<ISetDataOperationData>;
|
|
2826
|
+
//#endregion
|
|
2827
|
+
//#region src/operation/metadata/set-element-attributes.d.ts
|
|
2828
|
+
declare function setElementAttributes(): IOperationMetadata<ISetElementAttributesOperationData>;
|
|
2829
|
+
//#endregion
|
|
2830
|
+
//#region src/operation/metadata/set-element-content.d.ts
|
|
2831
|
+
declare function setElementContent(): IOperationMetadata<ISetElementContentOperationData>;
|
|
2832
|
+
//#endregion
|
|
2833
|
+
//#region src/operation/metadata/set-focus.d.ts
|
|
2834
|
+
declare function setFocus(): IOperationMetadata<ISetFocusOperationData>;
|
|
2835
|
+
//#endregion
|
|
2836
|
+
//#region src/operation/metadata/set-form-value.d.ts
|
|
2837
|
+
declare function setFormValue(): IOperationMetadata<ISetFormValueOperationData>;
|
|
2838
|
+
//#endregion
|
|
2839
|
+
//#region src/operation/metadata/set-global-data.d.ts
|
|
2840
|
+
declare function setGlobalData(): IOperationMetadata<ISetGlobalDataOperationData>;
|
|
2841
|
+
//#endregion
|
|
2842
|
+
//#region src/operation/metadata/set-operation-data.d.ts
|
|
2843
|
+
declare function setOperationData(): IOperationMetadata<ISetOperationData>;
|
|
2844
|
+
//#endregion
|
|
2845
|
+
//#region src/operation/metadata/set-style.d.ts
|
|
2846
|
+
declare function setStyle(): IOperationMetadata<ISetStyleOperationData>;
|
|
2847
|
+
//#endregion
|
|
2848
|
+
//#region src/operation/metadata/set-variable.d.ts
|
|
2849
|
+
declare function setVariable(): IOperationMetadata<ISetVariableOperationData>;
|
|
2850
|
+
//#endregion
|
|
2851
|
+
//#region src/operation/metadata/sort-array.d.ts
|
|
2852
|
+
declare function sortArray(): IOperationMetadata<ISortArrayOperationData>;
|
|
2853
|
+
//#endregion
|
|
2854
|
+
//#region src/operation/metadata/split-string.d.ts
|
|
2855
|
+
declare function splitString(): IOperationMetadata<ISplitStringOperationData>;
|
|
2856
|
+
//#endregion
|
|
2857
|
+
//#region src/operation/metadata/start-action.d.ts
|
|
2858
|
+
declare function startAction(): IOperationMetadata<IStartActionOperationData>;
|
|
2859
|
+
//#endregion
|
|
2860
|
+
//#region src/operation/metadata/substring-text.d.ts
|
|
2861
|
+
declare function substringText(): IOperationMetadata<ISubstringTextOperationData>;
|
|
2862
|
+
//#endregion
|
|
2863
|
+
//#region src/operation/metadata/toggle-class.d.ts
|
|
2864
|
+
declare function toggleClass(): IOperationMetadata<IToggleClassOperationData>;
|
|
2865
|
+
//#endregion
|
|
2866
|
+
//#region src/operation/metadata/toggle-element.d.ts
|
|
2867
|
+
declare function toggleElement(): IOperationMetadata<IToggleElementOperationData>;
|
|
2868
|
+
//#endregion
|
|
2869
|
+
//#region src/operation/metadata/toggle-form-element.d.ts
|
|
2870
|
+
declare function toggleFormElement(): IOperationMetadata<IToggleFormElementOperationData>;
|
|
2871
|
+
//#endregion
|
|
2872
|
+
//#region src/operation/metadata/validate-form.d.ts
|
|
2873
|
+
declare function validateForm(): IOperationMetadata<IValidateFormOperationData>;
|
|
2874
|
+
//#endregion
|
|
2875
|
+
//#region src/operation/metadata/wait.d.ts
|
|
2876
|
+
declare function wait(): IOperationMetadata<IWaitOperationData>;
|
|
2877
|
+
//#endregion
|
|
2878
|
+
//#region src/operation/metadata/when.d.ts
|
|
2879
|
+
declare function when(): IOperationMetadata<IWhenOperationData>;
|
|
2880
|
+
declare namespace index_d_exports$2 {
|
|
2881
|
+
export { IOperationMetadata, TArrayProperyMetadata, TComplexPropertyMetadata, TConstantParametersTypes, THasDescription, THasErased, THasRequired, TOperationCategory, 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 };
|
|
2882
|
+
}
|
|
2883
|
+
//#endregion
|
|
2884
|
+
export { IControllerMetadata, IEventMetadata, IOperationMetadata, TArrayProperyMetadata, TComplexPropertyMetadata, TConstantParametersTypes, THasDescription, THasErased, THasRequired, TOperationCategory, TParameterTypes, TParameterTypesDelimited, TPropertiesMetadata, TPropertyMetadata, index_d_exports as ctrlmetadata, index_d_exports$1 as eventmetadata, index_d_exports$2 as metadata };
|
|
2885
|
+
//# sourceMappingURL=metadata.d.mts.map
|