eligius 4.0.0 → 4.2.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 +80 -1
- package/dist/configuration-api.d.mts +22 -310
- package/dist/configuration-api.mjs +148 -240
- package/dist/configuration-api.mjs.map +1 -1
- package/dist/engine-factory-39T5FByM.mjs +14431 -0
- package/dist/engine-factory-39T5FByM.mjs.map +1 -0
- package/dist/index.d.mts +839 -9881
- package/dist/index.mjs +1553 -15895
- package/dist/index.mjs.map +1 -1
- package/dist/lint.d.mts +5025 -0
- package/dist/lint.mjs +4412 -0
- package/dist/lint.mjs.map +1 -0
- package/dist/locale-manager-CJy3musb.d.mts +8558 -0
- package/dist/metadata.d.mts +21 -555
- package/dist/metadata.mjs +141 -278
- package/dist/metadata.mjs.map +1 -1
- package/dist/{rolldown-runtime-BOlb2svz.mjs → rolldown-runtime-CGzGPw9x.mjs} +1 -2
- package/dist/runtime.d.mts +3 -0
- package/dist/runtime.mjs +4 -0
- package/package.json +22 -4
package/dist/metadata.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
import { t as __exportAll } from "./rolldown-runtime-
|
|
2
|
+
import { t as __exportAll } from "./rolldown-runtime-CGzGPw9x.mjs";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/controllers/metadata/dom-event-listener-controller.ts
|
|
5
5
|
function DOMEventListenerController() {
|
|
6
6
|
return {
|
|
7
7
|
description: `This controller attaches to the given selected element and adds a DOM event listener for the specified event name that
|
|
@@ -31,8 +31,7 @@ this controller, the action and the DOM event, with the original error as \`caus
|
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
//#region src/controllers/metadata/keyboard-controller.ts
|
|
34
|
+
// src/controllers/metadata/keyboard-controller.ts
|
|
36
35
|
function KeyboardController() {
|
|
37
36
|
return {
|
|
38
37
|
description: `This controller runs the given actions when one of the given keys is pressed.
|
|
@@ -74,8 +73,7 @@ hotkeys-js global \`filter\` still applies. Detaching removes only this controll
|
|
|
74
73
|
};
|
|
75
74
|
}
|
|
76
75
|
|
|
77
|
-
|
|
78
|
-
//#region src/controllers/metadata/label-controller.ts
|
|
76
|
+
// src/controllers/metadata/label-controller.ts
|
|
79
77
|
function LabelController() {
|
|
80
78
|
return {
|
|
81
79
|
description: `This controller attaches to the given selected element and renders the text
|
|
@@ -101,8 +99,7 @@ Uses the rosetta-based locale system via \`request-translation\` event.`,
|
|
|
101
99
|
};
|
|
102
100
|
}
|
|
103
101
|
|
|
104
|
-
|
|
105
|
-
//#region src/controllers/metadata/lottie-controller.ts
|
|
102
|
+
// src/controllers/metadata/lottie-controller.ts
|
|
106
103
|
function LottieController() {
|
|
107
104
|
return {
|
|
108
105
|
description: `This controller renders a [lottie-web](https://github.com/airbnb/lottie-web) animation inside the given selected element.
|
|
@@ -116,8 +113,7 @@ never use this controller do not need it installed.`,
|
|
|
116
113
|
};
|
|
117
114
|
}
|
|
118
115
|
|
|
119
|
-
|
|
120
|
-
//#region src/controllers/metadata/mutation-observer-controller.ts
|
|
116
|
+
// src/controllers/metadata/mutation-observer-controller.ts
|
|
121
117
|
function MutationObserverController() {
|
|
122
118
|
return {
|
|
123
119
|
description: `Controller that observes DOM mutations on a selected element and broadcasts events.
|
|
@@ -146,8 +142,7 @@ The controller follows the standard Eligius lifecycle:
|
|
|
146
142
|
};
|
|
147
143
|
}
|
|
148
144
|
|
|
149
|
-
|
|
150
|
-
//#region src/controllers/metadata/navigation-controller.ts
|
|
145
|
+
// src/controllers/metadata/navigation-controller.ts
|
|
151
146
|
function NavigationController() {
|
|
152
147
|
return {
|
|
153
148
|
description: `Renders a navigation menu in the selected element and keeps it in sync with
|
|
@@ -171,8 +166,7 @@ When the engine switches to a timeline that an entry names
|
|
|
171
166
|
};
|
|
172
167
|
}
|
|
173
168
|
|
|
174
|
-
|
|
175
|
-
//#region src/controllers/metadata/progressbar-controller.ts
|
|
169
|
+
// src/controllers/metadata/progressbar-controller.ts
|
|
176
170
|
function ProgressbarController() {
|
|
177
171
|
return {
|
|
178
172
|
description: `This controller renders a progressbar that displays the progress of the current timeline in the given selected element.
|
|
@@ -182,8 +176,7 @@ The current progress as a percentage is rendered in the given text element.`,
|
|
|
182
176
|
};
|
|
183
177
|
}
|
|
184
178
|
|
|
185
|
-
|
|
186
|
-
//#region src/controllers/metadata/routing-controller.ts
|
|
179
|
+
// src/controllers/metadata/routing-controller.ts
|
|
187
180
|
function RoutingController() {
|
|
188
181
|
return {
|
|
189
182
|
description: `Keeps the browser history in sync with the navigation entries: each entry
|
|
@@ -203,8 +196,7 @@ This is a work in progress, do not use this yet please....`,
|
|
|
203
196
|
};
|
|
204
197
|
}
|
|
205
198
|
|
|
206
|
-
|
|
207
|
-
//#region src/controllers/metadata/subtitles-controller.ts
|
|
199
|
+
// src/controllers/metadata/subtitles-controller.ts
|
|
208
200
|
function SubtitlesController() {
|
|
209
201
|
return {
|
|
210
202
|
description: `This controller shows the subtitle whose duration contains the current
|
|
@@ -227,8 +219,7 @@ Subtitle texts may contain simple inline markup. They are passed through
|
|
|
227
219
|
};
|
|
228
220
|
}
|
|
229
221
|
|
|
230
|
-
|
|
231
|
-
//#region src/controllers/metadata/index.ts
|
|
222
|
+
// src/controllers/metadata/index.ts
|
|
232
223
|
var metadata_exports = /* @__PURE__ */ __exportAll({
|
|
233
224
|
DOMEventListenerController: () => DOMEventListenerController,
|
|
234
225
|
KeyboardController: () => KeyboardController,
|
|
@@ -241,8 +232,7 @@ var metadata_exports = /* @__PURE__ */ __exportAll({
|
|
|
241
232
|
SubtitlesController: () => SubtitlesController
|
|
242
233
|
});
|
|
243
234
|
|
|
244
|
-
|
|
245
|
-
//#region src/eventbus/events/metadata/before-request-timeline-uri.ts
|
|
235
|
+
// src/eventbus/events/metadata/before-request-timeline-uri.ts
|
|
246
236
|
function beforeRequestTimelineUri() {
|
|
247
237
|
return {
|
|
248
238
|
description: `Event: before-request-timeline-uri
|
|
@@ -263,8 +253,7 @@ Broadcast by \`RequestVideoUriInterceptor\` just before a
|
|
|
263
253
|
};
|
|
264
254
|
}
|
|
265
255
|
|
|
266
|
-
|
|
267
|
-
//#region src/eventbus/events/metadata/before-request-video-url.ts
|
|
256
|
+
// src/eventbus/events/metadata/before-request-video-url.ts
|
|
268
257
|
function beforeRequestVideoUrl() {
|
|
269
258
|
return {
|
|
270
259
|
description: `Event: before-request-video-url`,
|
|
@@ -291,8 +280,7 @@ function beforeRequestVideoUrl() {
|
|
|
291
280
|
};
|
|
292
281
|
}
|
|
293
282
|
|
|
294
|
-
|
|
295
|
-
//#region src/eventbus/events/metadata/dom-mutation.ts
|
|
283
|
+
// src/eventbus/events/metadata/dom-mutation.ts
|
|
296
284
|
function domMutation() {
|
|
297
285
|
return {
|
|
298
286
|
description: `Event: dom-mutation`,
|
|
@@ -305,8 +293,7 @@ function domMutation() {
|
|
|
305
293
|
};
|
|
306
294
|
}
|
|
307
295
|
|
|
308
|
-
|
|
309
|
-
//#region src/eventbus/events/metadata/engine-command-error.ts
|
|
296
|
+
// src/eventbus/events/metadata/engine-command-error.ts
|
|
310
297
|
function engineCommandError() {
|
|
311
298
|
return {
|
|
312
299
|
description: `Event: engine-command-error
|
|
@@ -327,14 +314,14 @@ also logged with \`console.error\`.`,
|
|
|
327
314
|
};
|
|
328
315
|
}
|
|
329
316
|
|
|
330
|
-
|
|
331
|
-
//#region src/eventbus/events/metadata/engine-error.ts
|
|
317
|
+
// src/eventbus/events/metadata/engine-error.ts
|
|
332
318
|
function engineError() {
|
|
333
319
|
return {
|
|
334
320
|
description: `Event: engine-error
|
|
335
321
|
Broadcast when a timeline action that the engine started or ended on its
|
|
336
322
|
own fails. The error names the action, the phase (start or end) and, when
|
|
337
|
-
known, the failing operation
|
|
323
|
+
known, the failing operation (\`operationSystemName\`, \`operationIndex\`) and
|
|
324
|
+
the path to it through called actions (\`operationPath\`, outermost first).`,
|
|
338
325
|
category: `Engine`,
|
|
339
326
|
args: [{
|
|
340
327
|
name: "error",
|
|
@@ -344,8 +331,7 @@ known, the failing operation.`,
|
|
|
344
331
|
};
|
|
345
332
|
}
|
|
346
333
|
|
|
347
|
-
|
|
348
|
-
//#region src/eventbus/events/metadata/highlight-navigation.ts
|
|
334
|
+
// src/eventbus/events/metadata/highlight-navigation.ts
|
|
349
335
|
function highlightNavigation() {
|
|
350
336
|
return {
|
|
351
337
|
description: `Event: highlight-navigation`,
|
|
@@ -358,8 +344,7 @@ function highlightNavigation() {
|
|
|
358
344
|
};
|
|
359
345
|
}
|
|
360
346
|
|
|
361
|
-
|
|
362
|
-
//#region src/eventbus/events/metadata/language-change.ts
|
|
347
|
+
// src/eventbus/events/metadata/language-change.ts
|
|
363
348
|
function languageChange() {
|
|
364
349
|
return {
|
|
365
350
|
description: `Event: language-change`,
|
|
@@ -372,8 +357,7 @@ function languageChange() {
|
|
|
372
357
|
};
|
|
373
358
|
}
|
|
374
359
|
|
|
375
|
-
|
|
376
|
-
//#region src/eventbus/events/metadata/navigate-to-video-url.ts
|
|
360
|
+
// src/eventbus/events/metadata/navigate-to-video-url.ts
|
|
377
361
|
function navigateToVideoUrl() {
|
|
378
362
|
return {
|
|
379
363
|
description: `Event: navigate-to-video-url`,
|
|
@@ -391,8 +375,7 @@ function navigateToVideoUrl() {
|
|
|
391
375
|
};
|
|
392
376
|
}
|
|
393
377
|
|
|
394
|
-
|
|
395
|
-
//#region src/eventbus/events/metadata/push-history-state.ts
|
|
378
|
+
// src/eventbus/events/metadata/push-history-state.ts
|
|
396
379
|
function pushHistoryState() {
|
|
397
380
|
return {
|
|
398
381
|
description: `Event: push-history-state`,
|
|
@@ -405,8 +388,7 @@ function pushHistoryState() {
|
|
|
405
388
|
};
|
|
406
389
|
}
|
|
407
390
|
|
|
408
|
-
|
|
409
|
-
//#region src/eventbus/events/metadata/request-action.ts
|
|
391
|
+
// src/eventbus/events/metadata/request-action.ts
|
|
410
392
|
function requestAction$1() {
|
|
411
393
|
return {
|
|
412
394
|
description: `Request: request-action
|
|
@@ -422,8 +404,7 @@ unknown name, with a "did you mean" hint.`,
|
|
|
422
404
|
};
|
|
423
405
|
}
|
|
424
406
|
|
|
425
|
-
|
|
426
|
-
//#region src/eventbus/events/metadata/request-current-language.ts
|
|
407
|
+
// src/eventbus/events/metadata/request-current-language.ts
|
|
427
408
|
function requestCurrentLanguage() {
|
|
428
409
|
return {
|
|
429
410
|
description: `Request: request-current-language
|
|
@@ -434,8 +415,7 @@ LocaleEventbusAdapter with the active locale.`,
|
|
|
434
415
|
};
|
|
435
416
|
}
|
|
436
417
|
|
|
437
|
-
|
|
438
|
-
//#region src/eventbus/events/metadata/request-current-navigation.ts
|
|
418
|
+
// src/eventbus/events/metadata/request-current-navigation.ts
|
|
439
419
|
function requestCurrentNavigation() {
|
|
440
420
|
return {
|
|
441
421
|
description: `Event: request-current-navigation`,
|
|
@@ -448,8 +428,7 @@ function requestCurrentNavigation() {
|
|
|
448
428
|
};
|
|
449
429
|
}
|
|
450
430
|
|
|
451
|
-
|
|
452
|
-
//#region src/eventbus/events/metadata/request-current-timeline-position.ts
|
|
431
|
+
// src/eventbus/events/metadata/request-current-timeline-position.ts
|
|
453
432
|
function requestCurrentTimelinePosition() {
|
|
454
433
|
return {
|
|
455
434
|
description: `Request: request-current-timeline-position
|
|
@@ -462,8 +441,7 @@ callback that receives the value.`,
|
|
|
462
441
|
};
|
|
463
442
|
}
|
|
464
443
|
|
|
465
|
-
|
|
466
|
-
//#region src/eventbus/events/metadata/request-current-video-position.ts
|
|
444
|
+
// src/eventbus/events/metadata/request-current-video-position.ts
|
|
467
445
|
function requestCurrentVideoPosition() {
|
|
468
446
|
return {
|
|
469
447
|
description: `Event: request-current-video-position`,
|
|
@@ -476,8 +454,7 @@ function requestCurrentVideoPosition() {
|
|
|
476
454
|
};
|
|
477
455
|
}
|
|
478
456
|
|
|
479
|
-
|
|
480
|
-
//#region src/eventbus/events/metadata/request-engine-root.ts
|
|
457
|
+
// src/eventbus/events/metadata/request-engine-root.ts
|
|
481
458
|
function requestEngineRoot() {
|
|
482
459
|
return {
|
|
483
460
|
description: `Request: request-engine-root
|
|
@@ -491,8 +468,7 @@ receives the value.`,
|
|
|
491
468
|
};
|
|
492
469
|
}
|
|
493
470
|
|
|
494
|
-
|
|
495
|
-
//#region src/eventbus/events/metadata/request-function.ts
|
|
471
|
+
// src/eventbus/events/metadata/request-function.ts
|
|
496
472
|
function requestFunction() {
|
|
497
473
|
return {
|
|
498
474
|
description: `Request: request-function
|
|
@@ -508,8 +484,7 @@ importer provides under that name. Throws for an unknown name.`,
|
|
|
508
484
|
};
|
|
509
485
|
}
|
|
510
486
|
|
|
511
|
-
|
|
512
|
-
//#region src/eventbus/events/metadata/request-instance.ts
|
|
487
|
+
// src/eventbus/events/metadata/request-instance.ts
|
|
513
488
|
function requestInstance() {
|
|
514
489
|
return {
|
|
515
490
|
description: `Request: request-instance
|
|
@@ -526,8 +501,7 @@ eventbus. Throws for an unknown name.`,
|
|
|
526
501
|
};
|
|
527
502
|
}
|
|
528
503
|
|
|
529
|
-
|
|
530
|
-
//#region src/eventbus/events/metadata/request-label-collection.ts
|
|
504
|
+
// src/eventbus/events/metadata/request-label-collection.ts
|
|
531
505
|
function requestLabelCollection() {
|
|
532
506
|
return {
|
|
533
507
|
description: `Event: request-label-collection`,
|
|
@@ -544,8 +518,7 @@ function requestLabelCollection() {
|
|
|
544
518
|
};
|
|
545
519
|
}
|
|
546
520
|
|
|
547
|
-
|
|
548
|
-
//#region src/eventbus/events/metadata/request-label-collections.ts
|
|
521
|
+
// src/eventbus/events/metadata/request-label-collections.ts
|
|
549
522
|
function requestLabelCollections() {
|
|
550
523
|
return {
|
|
551
524
|
description: `Event: request-label-collections`,
|
|
@@ -562,8 +535,7 @@ function requestLabelCollections() {
|
|
|
562
535
|
};
|
|
563
536
|
}
|
|
564
537
|
|
|
565
|
-
|
|
566
|
-
//#region src/eventbus/events/metadata/request-timeline-cleanup.ts
|
|
538
|
+
// src/eventbus/events/metadata/request-timeline-cleanup.ts
|
|
567
539
|
function requestTimelineCleanup() {
|
|
568
540
|
return {
|
|
569
541
|
description: `Event: request-timeline-cleanup`,
|
|
@@ -572,8 +544,7 @@ function requestTimelineCleanup() {
|
|
|
572
544
|
};
|
|
573
545
|
}
|
|
574
546
|
|
|
575
|
-
|
|
576
|
-
//#region src/eventbus/events/metadata/request-timeline-uri.ts
|
|
547
|
+
// src/eventbus/events/metadata/request-timeline-uri.ts
|
|
577
548
|
function requestTimelineUri() {
|
|
578
549
|
return {
|
|
579
550
|
description: `Event: request-timeline-uri`,
|
|
@@ -591,8 +562,7 @@ function requestTimelineUri() {
|
|
|
591
562
|
};
|
|
592
563
|
}
|
|
593
564
|
|
|
594
|
-
|
|
595
|
-
//#region src/eventbus/events/metadata/request-translation.ts
|
|
565
|
+
// src/eventbus/events/metadata/request-translation.ts
|
|
596
566
|
function requestTranslation() {
|
|
597
567
|
return {
|
|
598
568
|
description: `Request: request-translation
|
|
@@ -613,8 +583,7 @@ locale, see \`ILocaleManager.t\`.`,
|
|
|
613
583
|
};
|
|
614
584
|
}
|
|
615
585
|
|
|
616
|
-
|
|
617
|
-
//#region src/eventbus/events/metadata/request-video-cleanup.ts
|
|
586
|
+
// src/eventbus/events/metadata/request-video-cleanup.ts
|
|
618
587
|
function requestVideoCleanup() {
|
|
619
588
|
return {
|
|
620
589
|
description: `Event: request-video-cleanup`,
|
|
@@ -623,8 +592,7 @@ function requestVideoCleanup() {
|
|
|
623
592
|
};
|
|
624
593
|
}
|
|
625
594
|
|
|
626
|
-
|
|
627
|
-
//#region src/eventbus/events/metadata/request-video-url.ts
|
|
595
|
+
// src/eventbus/events/metadata/request-video-url.ts
|
|
628
596
|
function requestVideoUrl() {
|
|
629
597
|
return {
|
|
630
598
|
description: `Event: request-video-url`,
|
|
@@ -651,8 +619,7 @@ function requestVideoUrl() {
|
|
|
651
619
|
};
|
|
652
620
|
}
|
|
653
621
|
|
|
654
|
-
|
|
655
|
-
//#region src/eventbus/events/metadata/timeline-complete.ts
|
|
622
|
+
// src/eventbus/events/metadata/timeline-complete.ts
|
|
656
623
|
function timelineComplete() {
|
|
657
624
|
return {
|
|
658
625
|
description: `Event: timeline-complete`,
|
|
@@ -661,8 +628,7 @@ function timelineComplete() {
|
|
|
661
628
|
};
|
|
662
629
|
}
|
|
663
630
|
|
|
664
|
-
|
|
665
|
-
//#region src/eventbus/events/metadata/timeline-container-request.ts
|
|
631
|
+
// src/eventbus/events/metadata/timeline-container-request.ts
|
|
666
632
|
function timelineContainerRequest() {
|
|
667
633
|
return {
|
|
668
634
|
description: `Request: timeline-container-request
|
|
@@ -675,8 +641,7 @@ callback that receives the value.`,
|
|
|
675
641
|
};
|
|
676
642
|
}
|
|
677
643
|
|
|
678
|
-
|
|
679
|
-
//#region src/eventbus/events/metadata/timeline-current-timeline-change.ts
|
|
644
|
+
// src/eventbus/events/metadata/timeline-current-timeline-change.ts
|
|
680
645
|
function timelineCurrentTimelineChange() {
|
|
681
646
|
return {
|
|
682
647
|
description: `Event: timeline-current-timeline-change`,
|
|
@@ -689,8 +654,7 @@ function timelineCurrentTimelineChange() {
|
|
|
689
654
|
};
|
|
690
655
|
}
|
|
691
656
|
|
|
692
|
-
|
|
693
|
-
//#region src/eventbus/events/metadata/timeline-duration-request.ts
|
|
657
|
+
// src/eventbus/events/metadata/timeline-duration-request.ts
|
|
694
658
|
function timelineDurationRequest() {
|
|
695
659
|
return {
|
|
696
660
|
description: `Request: timeline-duration-request
|
|
@@ -703,8 +667,7 @@ callback that receives the value.`,
|
|
|
703
667
|
};
|
|
704
668
|
}
|
|
705
669
|
|
|
706
|
-
|
|
707
|
-
//#region src/eventbus/events/metadata/timeline-duration.ts
|
|
670
|
+
// src/eventbus/events/metadata/timeline-duration.ts
|
|
708
671
|
function timelineDuration() {
|
|
709
672
|
return {
|
|
710
673
|
description: `Event: timeline-duration`,
|
|
@@ -717,8 +680,7 @@ function timelineDuration() {
|
|
|
717
680
|
};
|
|
718
681
|
}
|
|
719
682
|
|
|
720
|
-
|
|
721
|
-
//#region src/eventbus/events/metadata/timeline-firstframe.ts
|
|
683
|
+
// src/eventbus/events/metadata/timeline-firstframe.ts
|
|
722
684
|
function timelineFirstframe() {
|
|
723
685
|
return {
|
|
724
686
|
description: `Event: timeline-firstframe`,
|
|
@@ -727,8 +689,7 @@ function timelineFirstframe() {
|
|
|
727
689
|
};
|
|
728
690
|
}
|
|
729
691
|
|
|
730
|
-
|
|
731
|
-
//#region src/eventbus/events/metadata/timeline-pause-request.ts
|
|
692
|
+
// src/eventbus/events/metadata/timeline-pause-request.ts
|
|
732
693
|
function timelinePauseRequest() {
|
|
733
694
|
return {
|
|
734
695
|
description: `Event: timeline-pause-request`,
|
|
@@ -737,8 +698,7 @@ function timelinePauseRequest() {
|
|
|
737
698
|
};
|
|
738
699
|
}
|
|
739
700
|
|
|
740
|
-
|
|
741
|
-
//#region src/eventbus/events/metadata/timeline-pause.ts
|
|
701
|
+
// src/eventbus/events/metadata/timeline-pause.ts
|
|
742
702
|
function timelinePause() {
|
|
743
703
|
return {
|
|
744
704
|
description: `Event: timeline-pause`,
|
|
@@ -747,8 +707,7 @@ function timelinePause() {
|
|
|
747
707
|
};
|
|
748
708
|
}
|
|
749
709
|
|
|
750
|
-
|
|
751
|
-
//#region src/eventbus/events/metadata/timeline-play-request.ts
|
|
710
|
+
// src/eventbus/events/metadata/timeline-play-request.ts
|
|
752
711
|
function timelinePlayRequest() {
|
|
753
712
|
return {
|
|
754
713
|
description: `Event: timeline-play-request`,
|
|
@@ -757,8 +716,7 @@ function timelinePlayRequest() {
|
|
|
757
716
|
};
|
|
758
717
|
}
|
|
759
718
|
|
|
760
|
-
|
|
761
|
-
//#region src/eventbus/events/metadata/timeline-play-toggle-request.ts
|
|
719
|
+
// src/eventbus/events/metadata/timeline-play-toggle-request.ts
|
|
762
720
|
function timelinePlayToggleRequest() {
|
|
763
721
|
return {
|
|
764
722
|
description: `Event: timeline-play-toggle-request`,
|
|
@@ -767,8 +725,7 @@ function timelinePlayToggleRequest() {
|
|
|
767
725
|
};
|
|
768
726
|
}
|
|
769
727
|
|
|
770
|
-
|
|
771
|
-
//#region src/eventbus/events/metadata/timeline-play.ts
|
|
728
|
+
// src/eventbus/events/metadata/timeline-play.ts
|
|
772
729
|
function timelinePlay() {
|
|
773
730
|
return {
|
|
774
731
|
description: `Event: timeline-play`,
|
|
@@ -777,8 +734,7 @@ function timelinePlay() {
|
|
|
777
734
|
};
|
|
778
735
|
}
|
|
779
736
|
|
|
780
|
-
|
|
781
|
-
//#region src/eventbus/events/metadata/timeline-request-current-timeline.ts
|
|
737
|
+
// src/eventbus/events/metadata/timeline-request-current-timeline.ts
|
|
782
738
|
function timelineRequestCurrentTimeline() {
|
|
783
739
|
return {
|
|
784
740
|
description: `Request: timeline-request-current-timeline
|
|
@@ -791,8 +747,7 @@ receives the value.`,
|
|
|
791
747
|
};
|
|
792
748
|
}
|
|
793
749
|
|
|
794
|
-
|
|
795
|
-
//#region src/eventbus/events/metadata/timeline-resize-request.ts
|
|
750
|
+
// src/eventbus/events/metadata/timeline-resize-request.ts
|
|
796
751
|
function timelineResizeRequest() {
|
|
797
752
|
return {
|
|
798
753
|
description: `Event: timeline-resize-request`,
|
|
@@ -801,8 +756,7 @@ function timelineResizeRequest() {
|
|
|
801
756
|
};
|
|
802
757
|
}
|
|
803
758
|
|
|
804
|
-
|
|
805
|
-
//#region src/eventbus/events/metadata/timeline-resize.ts
|
|
759
|
+
// src/eventbus/events/metadata/timeline-resize.ts
|
|
806
760
|
function timelineResize() {
|
|
807
761
|
return {
|
|
808
762
|
description: `Event: timeline-resize`,
|
|
@@ -811,8 +765,7 @@ function timelineResize() {
|
|
|
811
765
|
};
|
|
812
766
|
}
|
|
813
767
|
|
|
814
|
-
|
|
815
|
-
//#region src/eventbus/events/metadata/timeline-restart.ts
|
|
768
|
+
// src/eventbus/events/metadata/timeline-restart.ts
|
|
816
769
|
function timelineRestart() {
|
|
817
770
|
return {
|
|
818
771
|
description: `Event: timeline-restart`,
|
|
@@ -821,8 +774,7 @@ function timelineRestart() {
|
|
|
821
774
|
};
|
|
822
775
|
}
|
|
823
776
|
|
|
824
|
-
|
|
825
|
-
//#region src/eventbus/events/metadata/timeline-seek-request.ts
|
|
777
|
+
// src/eventbus/events/metadata/timeline-seek-request.ts
|
|
826
778
|
function timelineSeekRequest() {
|
|
827
779
|
return {
|
|
828
780
|
description: `Event: timeline-seek-request`,
|
|
@@ -835,8 +787,7 @@ function timelineSeekRequest() {
|
|
|
835
787
|
};
|
|
836
788
|
}
|
|
837
789
|
|
|
838
|
-
|
|
839
|
-
//#region src/eventbus/events/metadata/timeline-seek.ts
|
|
790
|
+
// src/eventbus/events/metadata/timeline-seek.ts
|
|
840
791
|
function timelineSeek() {
|
|
841
792
|
return {
|
|
842
793
|
description: `Event: timeline-seek`,
|
|
@@ -861,8 +812,7 @@ function timelineSeek() {
|
|
|
861
812
|
};
|
|
862
813
|
}
|
|
863
814
|
|
|
864
|
-
|
|
865
|
-
//#region src/eventbus/events/metadata/timeline-seeked.ts
|
|
815
|
+
// src/eventbus/events/metadata/timeline-seeked.ts
|
|
866
816
|
function timelineSeeked() {
|
|
867
817
|
return {
|
|
868
818
|
description: `Event: timeline-seeked`,
|
|
@@ -879,8 +829,7 @@ function timelineSeeked() {
|
|
|
879
829
|
};
|
|
880
830
|
}
|
|
881
831
|
|
|
882
|
-
|
|
883
|
-
//#region src/eventbus/events/metadata/timeline-stop-request.ts
|
|
832
|
+
// src/eventbus/events/metadata/timeline-stop-request.ts
|
|
884
833
|
function timelineStopRequest() {
|
|
885
834
|
return {
|
|
886
835
|
description: `Event: timeline-stop-request`,
|
|
@@ -889,8 +838,7 @@ function timelineStopRequest() {
|
|
|
889
838
|
};
|
|
890
839
|
}
|
|
891
840
|
|
|
892
|
-
|
|
893
|
-
//#region src/eventbus/events/metadata/timeline-stop.ts
|
|
841
|
+
// src/eventbus/events/metadata/timeline-stop.ts
|
|
894
842
|
function timelineStop() {
|
|
895
843
|
return {
|
|
896
844
|
description: `Event: timeline-stop`,
|
|
@@ -899,8 +847,7 @@ function timelineStop() {
|
|
|
899
847
|
};
|
|
900
848
|
}
|
|
901
849
|
|
|
902
|
-
|
|
903
|
-
//#region src/eventbus/events/metadata/timeline-time.ts
|
|
850
|
+
// src/eventbus/events/metadata/timeline-time.ts
|
|
904
851
|
function timelineTime() {
|
|
905
852
|
return {
|
|
906
853
|
description: `Event: timeline-time`,
|
|
@@ -913,8 +860,7 @@ function timelineTime() {
|
|
|
913
860
|
};
|
|
914
861
|
}
|
|
915
862
|
|
|
916
|
-
|
|
917
|
-
//#region src/eventbus/events/metadata/video-complete.ts
|
|
863
|
+
// src/eventbus/events/metadata/video-complete.ts
|
|
918
864
|
function videoComplete() {
|
|
919
865
|
return {
|
|
920
866
|
description: `Event: video-complete`,
|
|
@@ -927,8 +873,7 @@ function videoComplete() {
|
|
|
927
873
|
};
|
|
928
874
|
}
|
|
929
875
|
|
|
930
|
-
|
|
931
|
-
//#region src/eventbus/events/metadata/index.ts
|
|
876
|
+
// src/eventbus/events/metadata/index.ts
|
|
932
877
|
var metadata_exports$1 = /* @__PURE__ */ __exportAll({
|
|
933
878
|
beforeRequestTimelineUri: () => beforeRequestTimelineUri,
|
|
934
879
|
beforeRequestVideoUrl: () => beforeRequestVideoUrl,
|
|
@@ -978,8 +923,7 @@ var metadata_exports$1 = /* @__PURE__ */ __exportAll({
|
|
|
978
923
|
videoComplete: () => videoComplete
|
|
979
924
|
});
|
|
980
925
|
|
|
981
|
-
|
|
982
|
-
//#region src/operation/metadata/add-class.ts
|
|
926
|
+
// src/operation/metadata/add-class.ts
|
|
983
927
|
function addClass() {
|
|
984
928
|
return {
|
|
985
929
|
description: `This operation adds the specified class name to the specified selected element.`,
|
|
@@ -993,8 +937,7 @@ function addClass() {
|
|
|
993
937
|
};
|
|
994
938
|
}
|
|
995
939
|
|
|
996
|
-
|
|
997
|
-
//#region src/operation/metadata/add-controller-to-element.ts
|
|
940
|
+
// src/operation/metadata/add-controller-to-element.ts
|
|
998
941
|
function addControllerToElement() {
|
|
999
942
|
return {
|
|
1000
943
|
description: `This operation adds the specified controller instance to the given selected element.
|
|
@@ -1008,8 +951,7 @@ the element again when the promise rejects.`,
|
|
|
1008
951
|
};
|
|
1009
952
|
}
|
|
1010
953
|
|
|
1011
|
-
|
|
1012
|
-
//#region src/operation/metadata/add-globals-to-operation.ts
|
|
954
|
+
// src/operation/metadata/add-globals-to-operation.ts
|
|
1013
955
|
function addGlobalsToOperation() {
|
|
1014
956
|
return {
|
|
1015
957
|
description: `This operation adds the specified global property names to the current operation data.
|
|
@@ -1027,8 +969,7 @@ nodes, functions and class instances (such as controllers) are added by referenc
|
|
|
1027
969
|
};
|
|
1028
970
|
}
|
|
1029
971
|
|
|
1030
|
-
|
|
1031
|
-
//#region src/operation/metadata/animate-with-class.ts
|
|
972
|
+
// src/operation/metadata/animate-with-class.ts
|
|
1032
973
|
function animateWithClass() {
|
|
1033
974
|
return {
|
|
1034
975
|
description: `This operation adds the specified class name to the specified selected element and assumes that this
|
|
@@ -1065,8 +1006,7 @@ animation is waited for until it is ended by an \`animationend\` event.`,
|
|
|
1065
1006
|
};
|
|
1066
1007
|
}
|
|
1067
1008
|
|
|
1068
|
-
|
|
1069
|
-
//#region src/operation/metadata/animate.ts
|
|
1009
|
+
// src/operation/metadata/animate.ts
|
|
1070
1010
|
function animate() {
|
|
1071
1011
|
return {
|
|
1072
1012
|
description: `This operation animates the specified selected element with the given [jQuery animation](https://api.jquery.com/animate/) properties, duration and easing.
|
|
@@ -1092,8 +1032,7 @@ It resolves after the animation completes, or immediately when the selected elem
|
|
|
1092
1032
|
};
|
|
1093
1033
|
}
|
|
1094
1034
|
|
|
1095
|
-
|
|
1096
|
-
//#region src/operation/metadata/announce-to-screen-reader.ts
|
|
1035
|
+
// src/operation/metadata/announce-to-screen-reader.ts
|
|
1097
1036
|
function announceToScreenReader() {
|
|
1098
1037
|
return {
|
|
1099
1038
|
description: `Announces a message to screen readers using an ARIA live region.
|
|
@@ -1119,8 +1058,7 @@ The operation returns at once and does not wait for the message to be written.`,
|
|
|
1119
1058
|
};
|
|
1120
1059
|
}
|
|
1121
1060
|
|
|
1122
|
-
|
|
1123
|
-
//#region src/operation/metadata/break-for-each.ts
|
|
1061
|
+
// src/operation/metadata/break-for-each.ts
|
|
1124
1062
|
function breakForEach() {
|
|
1125
1063
|
return {
|
|
1126
1064
|
description: `This operation should only be used within a loop, so between a {@link forEach} and {@link endForEach}
|
|
@@ -1131,8 +1069,7 @@ It can be placed inside a \`when\`/\`otherwise\`/\`endWhen\` block within the lo
|
|
|
1131
1069
|
};
|
|
1132
1070
|
}
|
|
1133
1071
|
|
|
1134
|
-
|
|
1135
|
-
//#region src/operation/metadata/broadcast-event.ts
|
|
1072
|
+
// src/operation/metadata/broadcast-event.ts
|
|
1136
1073
|
function broadcastEvent() {
|
|
1137
1074
|
return {
|
|
1138
1075
|
description: `This operation broadcasts the given event through the eventbus, along with the
|
|
@@ -1157,8 +1094,7 @@ event arguments and optional event topic.`,
|
|
|
1157
1094
|
};
|
|
1158
1095
|
}
|
|
1159
1096
|
|
|
1160
|
-
|
|
1161
|
-
//#region src/operation/metadata/calc.ts
|
|
1097
|
+
// src/operation/metadata/calc.ts
|
|
1162
1098
|
function calc() {
|
|
1163
1099
|
return {
|
|
1164
1100
|
description: `This operation calculates the given left and right hand operands using the specified operator.
|
|
@@ -1195,8 +1131,7 @@ it is.`,
|
|
|
1195
1131
|
};
|
|
1196
1132
|
}
|
|
1197
1133
|
|
|
1198
|
-
|
|
1199
|
-
//#region src/operation/metadata/clear-element.ts
|
|
1134
|
+
// src/operation/metadata/clear-element.ts
|
|
1200
1135
|
function clearElement() {
|
|
1201
1136
|
return {
|
|
1202
1137
|
description: `This operation removes all of the children from the given selected element.
|
|
@@ -1208,8 +1143,7 @@ are detached first. Controllers on the selected element itself stay attached.`,
|
|
|
1208
1143
|
};
|
|
1209
1144
|
}
|
|
1210
1145
|
|
|
1211
|
-
|
|
1212
|
-
//#region src/operation/metadata/clear-operation-data.ts
|
|
1146
|
+
// src/operation/metadata/clear-operation-data.ts
|
|
1213
1147
|
function clearOperationData() {
|
|
1214
1148
|
return {
|
|
1215
1149
|
description: `This operation removes all of the properties on the current operation date.
|
|
@@ -1223,8 +1157,7 @@ Or, if the \`properties\` property is set only removes the properties defined by
|
|
|
1223
1157
|
};
|
|
1224
1158
|
}
|
|
1225
1159
|
|
|
1226
|
-
|
|
1227
|
-
//#region src/operation/metadata/clear-storage.ts
|
|
1160
|
+
// src/operation/metadata/clear-storage.ts
|
|
1228
1161
|
function clearStorage() {
|
|
1229
1162
|
return {
|
|
1230
1163
|
description: `Clears data from browser storage (localStorage or sessionStorage).
|
|
@@ -1247,8 +1180,7 @@ from missing data never wipes the whole storage.`,
|
|
|
1247
1180
|
};
|
|
1248
1181
|
}
|
|
1249
1182
|
|
|
1250
|
-
|
|
1251
|
-
//#region src/operation/metadata/compare-date.ts
|
|
1183
|
+
// src/operation/metadata/compare-date.ts
|
|
1252
1184
|
function compareDate() {
|
|
1253
1185
|
return {
|
|
1254
1186
|
description: `Compares two dates.
|
|
@@ -1275,8 +1207,7 @@ comparison: -1 (before), 0 (equal), 1 (after)`,
|
|
|
1275
1207
|
};
|
|
1276
1208
|
}
|
|
1277
1209
|
|
|
1278
|
-
|
|
1279
|
-
//#region src/operation/metadata/concatenate-strings.ts
|
|
1210
|
+
// src/operation/metadata/concatenate-strings.ts
|
|
1280
1211
|
function concatenateStrings() {
|
|
1281
1212
|
return {
|
|
1282
1213
|
description: `Concatenates multiple strings with an optional separator.`,
|
|
@@ -1297,8 +1228,7 @@ function concatenateStrings() {
|
|
|
1297
1228
|
};
|
|
1298
1229
|
}
|
|
1299
1230
|
|
|
1300
|
-
|
|
1301
|
-
//#region src/operation/metadata/continue-for-each.ts
|
|
1231
|
+
// src/operation/metadata/continue-for-each.ts
|
|
1302
1232
|
function continueForEach() {
|
|
1303
1233
|
return {
|
|
1304
1234
|
description: `This operation should only be used within a loop, so between a {@link forEach} and {@link endForEach}
|
|
@@ -1310,8 +1240,7 @@ It can be placed inside a \`when\`/\`otherwise\`/\`endWhen\` block within the lo
|
|
|
1310
1240
|
};
|
|
1311
1241
|
}
|
|
1312
1242
|
|
|
1313
|
-
|
|
1314
|
-
//#region src/operation/metadata/create-element.ts
|
|
1243
|
+
// src/operation/metadata/create-element.ts
|
|
1315
1244
|
function createElement() {
|
|
1316
1245
|
return {
|
|
1317
1246
|
description: `This operation creates the DOM element described by the given elementName and attributes and assigns
|
|
@@ -1343,8 +1272,7 @@ URLs in URL attributes such as \`href\`, \`src\` and \`formaction\` are refused.
|
|
|
1343
1272
|
};
|
|
1344
1273
|
}
|
|
1345
1274
|
|
|
1346
|
-
|
|
1347
|
-
//#region src/operation/metadata/custom-function.ts
|
|
1275
|
+
// src/operation/metadata/custom-function.ts
|
|
1348
1276
|
function customFunction() {
|
|
1349
1277
|
return {
|
|
1350
1278
|
description: `This operation retrieves a custom function defined by the given system name
|
|
@@ -1370,8 +1298,7 @@ operation runs in.`,
|
|
|
1370
1298
|
};
|
|
1371
1299
|
}
|
|
1372
1300
|
|
|
1373
|
-
|
|
1374
|
-
//#region src/operation/metadata/end-action.ts
|
|
1301
|
+
// src/operation/metadata/end-action.ts
|
|
1375
1302
|
function endAction() {
|
|
1376
1303
|
return {
|
|
1377
1304
|
description: `This operation invokes the {@link EndableAction}.end method on the specified action instance.
|
|
@@ -1389,8 +1316,7 @@ had before, without the \`actionOperationData\` property.`,
|
|
|
1389
1316
|
};
|
|
1390
1317
|
}
|
|
1391
1318
|
|
|
1392
|
-
|
|
1393
|
-
//#region src/operation/metadata/end-for-each.ts
|
|
1319
|
+
// src/operation/metadata/end-for-each.ts
|
|
1394
1320
|
function endForEach() {
|
|
1395
1321
|
return {
|
|
1396
1322
|
description: `This operation checks if the current loop should end or start the next iteration.`,
|
|
@@ -1398,8 +1324,7 @@ function endForEach() {
|
|
|
1398
1324
|
};
|
|
1399
1325
|
}
|
|
1400
1326
|
|
|
1401
|
-
|
|
1402
|
-
//#region src/operation/metadata/end-when.ts
|
|
1327
|
+
// src/operation/metadata/end-when.ts
|
|
1403
1328
|
function endWhen() {
|
|
1404
1329
|
return {
|
|
1405
1330
|
description: `This operation cleans up after the {@link when}/{@link otherwise}/{@link endWhen} control flow ends.`,
|
|
@@ -1407,8 +1332,7 @@ function endWhen() {
|
|
|
1407
1332
|
};
|
|
1408
1333
|
}
|
|
1409
1334
|
|
|
1410
|
-
|
|
1411
|
-
//#region src/operation/metadata/extend-controller.ts
|
|
1335
|
+
// src/operation/metadata/extend-controller.ts
|
|
1412
1336
|
function extendController() {
|
|
1413
1337
|
return {
|
|
1414
1338
|
description: `Extends the current controller with given extension.
|
|
@@ -1424,8 +1348,7 @@ The extension's own properties are copied onto the controller instance.`,
|
|
|
1424
1348
|
};
|
|
1425
1349
|
}
|
|
1426
1350
|
|
|
1427
|
-
|
|
1428
|
-
//#region src/operation/metadata/filter-array.ts
|
|
1351
|
+
// src/operation/metadata/filter-array.ts
|
|
1429
1352
|
function filterArray() {
|
|
1430
1353
|
return {
|
|
1431
1354
|
description: `Filters an array based on property equality or custom predicate function.
|
|
@@ -1454,8 +1377,7 @@ Supports two filtering modes:
|
|
|
1454
1377
|
};
|
|
1455
1378
|
}
|
|
1456
1379
|
|
|
1457
|
-
|
|
1458
|
-
//#region src/operation/metadata/find-in-array.ts
|
|
1380
|
+
// src/operation/metadata/find-in-array.ts
|
|
1459
1381
|
function findInArray() {
|
|
1460
1382
|
return {
|
|
1461
1383
|
description: `Finds the first element in an array matching criteria.
|
|
@@ -1489,8 +1411,7 @@ Returns \`undefined\` for \`foundItem\` and \`-1\` for \`foundIndex\` if no matc
|
|
|
1489
1411
|
};
|
|
1490
1412
|
}
|
|
1491
1413
|
|
|
1492
|
-
|
|
1493
|
-
//#region src/operation/metadata/for-each.ts
|
|
1414
|
+
// src/operation/metadata/for-each.ts
|
|
1494
1415
|
function forEach() {
|
|
1495
1416
|
return {
|
|
1496
1417
|
description: `This operation iterates over the given collection.
|
|
@@ -1515,8 +1436,7 @@ change the items or the number of iterations of the running loop.`,
|
|
|
1515
1436
|
};
|
|
1516
1437
|
}
|
|
1517
1438
|
|
|
1518
|
-
|
|
1519
|
-
//#region src/operation/metadata/format-date.ts
|
|
1439
|
+
// src/operation/metadata/format-date.ts
|
|
1520
1440
|
function formatDate() {
|
|
1521
1441
|
return {
|
|
1522
1442
|
description: `Formats a date with a simple token pattern, in the local time zone.
|
|
@@ -1539,8 +1459,7 @@ Supported tokens (every occurrence is replaced, other characters are kept as is)
|
|
|
1539
1459
|
};
|
|
1540
1460
|
}
|
|
1541
1461
|
|
|
1542
|
-
|
|
1543
|
-
//#region src/operation/metadata/format-text.ts
|
|
1462
|
+
// src/operation/metadata/format-text.ts
|
|
1544
1463
|
function formatText() {
|
|
1545
1464
|
return {
|
|
1546
1465
|
description: `Transforms text using format operations: uppercase, lowercase, capitalize, titlecase, or trim.
|
|
@@ -1570,8 +1489,7 @@ Transformations:
|
|
|
1570
1489
|
};
|
|
1571
1490
|
}
|
|
1572
1491
|
|
|
1573
|
-
|
|
1574
|
-
//#region src/operation/metadata/get-attributes-from-element.ts
|
|
1492
|
+
// src/operation/metadata/get-attributes-from-element.ts
|
|
1575
1493
|
function getAttributesFromElement() {
|
|
1576
1494
|
return {
|
|
1577
1495
|
description: `This operation retrieves the values for the specified attribute names from the given selected element.`,
|
|
@@ -1587,8 +1505,7 @@ function getAttributesFromElement() {
|
|
|
1587
1505
|
};
|
|
1588
1506
|
}
|
|
1589
1507
|
|
|
1590
|
-
|
|
1591
|
-
//#region src/operation/metadata/get-controller-from-element.ts
|
|
1508
|
+
// src/operation/metadata/get-controller-from-element.ts
|
|
1592
1509
|
function getControllerFromElement() {
|
|
1593
1510
|
return {
|
|
1594
1511
|
description: `This operation retrieves the controller instance with the specified name that is assigned to the given selected element.`,
|
|
@@ -1603,8 +1520,7 @@ function getControllerFromElement() {
|
|
|
1603
1520
|
};
|
|
1604
1521
|
}
|
|
1605
1522
|
|
|
1606
|
-
|
|
1607
|
-
//#region src/operation/metadata/get-controller-instance.ts
|
|
1523
|
+
// src/operation/metadata/get-controller-instance.ts
|
|
1608
1524
|
function getControllerInstance() {
|
|
1609
1525
|
return {
|
|
1610
1526
|
description: `This operation retrieves an instance of the given controller name.
|
|
@@ -1619,8 +1535,7 @@ It assigns this instance to the \`controllerInstance\` property on the current o
|
|
|
1619
1535
|
};
|
|
1620
1536
|
}
|
|
1621
1537
|
|
|
1622
|
-
|
|
1623
|
-
//#region src/operation/metadata/get-current-time.ts
|
|
1538
|
+
// src/operation/metadata/get-current-time.ts
|
|
1624
1539
|
function getCurrentTime() {
|
|
1625
1540
|
return {
|
|
1626
1541
|
description: `Gets the current time as timestamp and Date object.`,
|
|
@@ -1632,8 +1547,7 @@ function getCurrentTime() {
|
|
|
1632
1547
|
};
|
|
1633
1548
|
}
|
|
1634
1549
|
|
|
1635
|
-
|
|
1636
|
-
//#region src/operation/metadata/get-element-dimensions.ts
|
|
1550
|
+
// src/operation/metadata/get-element-dimensions.ts
|
|
1637
1551
|
function getElementDimensions() {
|
|
1638
1552
|
return {
|
|
1639
1553
|
description: `This operation calculates the width and height of the given selected element.
|
|
@@ -1659,8 +1573,7 @@ it will add a value of 100 to the height and modify the width by a ratio of 8 to
|
|
|
1659
1573
|
};
|
|
1660
1574
|
}
|
|
1661
1575
|
|
|
1662
|
-
|
|
1663
|
-
//#region src/operation/metadata/get-focused-element.ts
|
|
1576
|
+
// src/operation/metadata/get-focused-element.ts
|
|
1664
1577
|
function getFocusedElement() {
|
|
1665
1578
|
return {
|
|
1666
1579
|
description: `Gets the currently focused element.`,
|
|
@@ -1669,8 +1582,7 @@ function getFocusedElement() {
|
|
|
1669
1582
|
};
|
|
1670
1583
|
}
|
|
1671
1584
|
|
|
1672
|
-
|
|
1673
|
-
//#region src/operation/metadata/get-form-data.ts
|
|
1585
|
+
// src/operation/metadata/get-form-data.ts
|
|
1674
1586
|
function getFormData() {
|
|
1675
1587
|
return {
|
|
1676
1588
|
description: `Extracts all input, select, and textarea values from form element into operation data.
|
|
@@ -1684,8 +1596,7 @@ select elements, textareas, and text inputs.`,
|
|
|
1684
1596
|
};
|
|
1685
1597
|
}
|
|
1686
1598
|
|
|
1687
|
-
|
|
1688
|
-
//#region src/operation/metadata/get-import.ts
|
|
1599
|
+
// src/operation/metadata/get-import.ts
|
|
1689
1600
|
function getImport() {
|
|
1690
1601
|
return {
|
|
1691
1602
|
description: `This operation retrieves the import specified by the given \`systemName\` and
|
|
@@ -1706,8 +1617,7 @@ way, as can every built-in operation, controller and provider export.`,
|
|
|
1706
1617
|
};
|
|
1707
1618
|
}
|
|
1708
1619
|
|
|
1709
|
-
|
|
1710
|
-
//#region src/operation/metadata/get-query-params.ts
|
|
1620
|
+
// src/operation/metadata/get-query-params.ts
|
|
1711
1621
|
function getQueryParams() {
|
|
1712
1622
|
return {
|
|
1713
1623
|
description: `This operation retrieves the current query parameters from the browser's address bar and places
|
|
@@ -1721,8 +1631,7 @@ them on the returned operation data.`,
|
|
|
1721
1631
|
};
|
|
1722
1632
|
}
|
|
1723
1633
|
|
|
1724
|
-
|
|
1725
|
-
//#region src/operation/metadata/get-scroll-position.ts
|
|
1634
|
+
// src/operation/metadata/get-scroll-position.ts
|
|
1726
1635
|
function getScrollPosition() {
|
|
1727
1636
|
return {
|
|
1728
1637
|
description: `Gets the current scroll position of the viewport.
|
|
@@ -1737,8 +1646,7 @@ Uses cross-browser compatible methods to retrieve scroll position.`,
|
|
|
1737
1646
|
};
|
|
1738
1647
|
}
|
|
1739
1648
|
|
|
1740
|
-
|
|
1741
|
-
//#region src/operation/metadata/get-text-content.ts
|
|
1649
|
+
// src/operation/metadata/get-text-content.ts
|
|
1742
1650
|
function getTextContent() {
|
|
1743
1651
|
return {
|
|
1744
1652
|
description: `Extracts text content from element, stripping all HTML markup.
|
|
@@ -1751,8 +1659,7 @@ without any HTML tags. Preserves whitespace and text from nested elements.`,
|
|
|
1751
1659
|
};
|
|
1752
1660
|
}
|
|
1753
1661
|
|
|
1754
|
-
|
|
1755
|
-
//#region src/operation/metadata/http-delete.ts
|
|
1662
|
+
// src/operation/metadata/http-delete.ts
|
|
1756
1663
|
function httpDelete() {
|
|
1757
1664
|
return {
|
|
1758
1665
|
description: `Performs an HTTP DELETE request to the specified URL.`,
|
|
@@ -1775,8 +1682,7 @@ function httpDelete() {
|
|
|
1775
1682
|
};
|
|
1776
1683
|
}
|
|
1777
1684
|
|
|
1778
|
-
|
|
1779
|
-
//#region src/operation/metadata/http-post.ts
|
|
1685
|
+
// src/operation/metadata/http-post.ts
|
|
1780
1686
|
function httpPost() {
|
|
1781
1687
|
return {
|
|
1782
1688
|
description: `Performs an HTTP POST request to the specified URL.
|
|
@@ -1807,8 +1713,7 @@ body is sent as is; other bodies are still JSON encoded.`,
|
|
|
1807
1713
|
};
|
|
1808
1714
|
}
|
|
1809
1715
|
|
|
1810
|
-
|
|
1811
|
-
//#region src/operation/metadata/http-put.ts
|
|
1716
|
+
// src/operation/metadata/http-put.ts
|
|
1812
1717
|
function httpPut() {
|
|
1813
1718
|
return {
|
|
1814
1719
|
description: `Performs an HTTP PUT request to the specified URL.
|
|
@@ -1839,8 +1744,7 @@ body is sent as is; other bodies are still JSON encoded.`,
|
|
|
1839
1744
|
};
|
|
1840
1745
|
}
|
|
1841
1746
|
|
|
1842
|
-
|
|
1843
|
-
//#region src/operation/metadata/invoke-object-method.ts
|
|
1747
|
+
// src/operation/metadata/invoke-object-method.ts
|
|
1844
1748
|
function invokeObjectMethod() {
|
|
1845
1749
|
return {
|
|
1846
1750
|
description: `This operation invokes the specified method on the given object with the given optional arguments
|
|
@@ -1877,8 +1781,7 @@ only expose methods that are safe to call with configured data.`,
|
|
|
1877
1781
|
};
|
|
1878
1782
|
}
|
|
1879
1783
|
|
|
1880
|
-
|
|
1881
|
-
//#region src/operation/metadata/is-element-in-viewport.ts
|
|
1784
|
+
// src/operation/metadata/is-element-in-viewport.ts
|
|
1882
1785
|
function isElementInViewport() {
|
|
1883
1786
|
return {
|
|
1884
1787
|
description: `Checks if an element is currently visible within the viewport.
|
|
@@ -1890,8 +1793,7 @@ Uses \`getBoundingClientRect()\` to determine if the element is within the viewp
|
|
|
1890
1793
|
};
|
|
1891
1794
|
}
|
|
1892
1795
|
|
|
1893
|
-
|
|
1894
|
-
//#region src/operation/metadata/load-from-storage.ts
|
|
1796
|
+
// src/operation/metadata/load-from-storage.ts
|
|
1895
1797
|
function loadFromStorage() {
|
|
1896
1798
|
return {
|
|
1897
1799
|
description: `Loads data from browser storage (localStorage or sessionStorage).
|
|
@@ -1915,8 +1817,7 @@ When \`storageType\` is omitted, localStorage is used.`,
|
|
|
1915
1817
|
};
|
|
1916
1818
|
}
|
|
1917
1819
|
|
|
1918
|
-
|
|
1919
|
-
//#region src/operation/metadata/load-json.ts
|
|
1820
|
+
// src/operation/metadata/load-json.ts
|
|
1920
1821
|
function loadJson() {
|
|
1921
1822
|
return {
|
|
1922
1823
|
description: `This operation loads a JSON file from the specified url and assigns it to the json
|
|
@@ -1943,8 +1844,7 @@ The cache is shared by every engine. It is emptied when the last live engine cre
|
|
|
1943
1844
|
};
|
|
1944
1845
|
}
|
|
1945
1846
|
|
|
1946
|
-
|
|
1947
|
-
//#region src/operation/metadata/log.ts
|
|
1847
|
+
// src/operation/metadata/log.ts
|
|
1948
1848
|
function log() {
|
|
1949
1849
|
return {
|
|
1950
1850
|
description: `This operation logs the specified value, or, when no logValue property has been assigned
|
|
@@ -1963,8 +1863,7 @@ it will log the current operation data, global data and scope to the console`,
|
|
|
1963
1863
|
};
|
|
1964
1864
|
}
|
|
1965
1865
|
|
|
1966
|
-
|
|
1967
|
-
//#region src/operation/metadata/map-array.ts
|
|
1866
|
+
// src/operation/metadata/map-array.ts
|
|
1968
1867
|
function mapArray() {
|
|
1969
1868
|
return {
|
|
1970
1869
|
description: `Transforms each element of an array using a mapping function.
|
|
@@ -1982,8 +1881,7 @@ The mapFunction receives each item and optionally its index.`,
|
|
|
1982
1881
|
};
|
|
1983
1882
|
}
|
|
1984
1883
|
|
|
1985
|
-
|
|
1986
|
-
//#region src/operation/metadata/math.ts
|
|
1884
|
+
// src/operation/metadata/math.ts
|
|
1987
1885
|
function math() {
|
|
1988
1886
|
return {
|
|
1989
1887
|
description: `This operation performs the given math function with the specified arguments.
|
|
@@ -2008,8 +1906,7 @@ is. Arguments that name a Math constant (such as \`'PI'\`) are replaced by its v
|
|
|
2008
1906
|
};
|
|
2009
1907
|
}
|
|
2010
1908
|
|
|
2011
|
-
|
|
2012
|
-
//#region src/operation/metadata/otherwise.ts
|
|
1909
|
+
// src/operation/metadata/otherwise.ts
|
|
2013
1910
|
function otherwise() {
|
|
2014
1911
|
return {
|
|
2015
1912
|
description: `If the preceeding {@link when} operation evaluates to \`true\` subsequent operations will
|
|
@@ -2018,8 +1915,7 @@ be skipped until an {@link endWhen} operation is encountered.`,
|
|
|
2018
1915
|
};
|
|
2019
1916
|
}
|
|
2020
1917
|
|
|
2021
|
-
|
|
2022
|
-
//#region src/operation/metadata/remove-class.ts
|
|
1918
|
+
// src/operation/metadata/remove-class.ts
|
|
2023
1919
|
function removeClass() {
|
|
2024
1920
|
return {
|
|
2025
1921
|
description: `This operation removes the spcified class name from the given selected element.`,
|
|
@@ -2033,8 +1929,7 @@ function removeClass() {
|
|
|
2033
1929
|
};
|
|
2034
1930
|
}
|
|
2035
1931
|
|
|
2036
|
-
|
|
2037
|
-
//#region src/operation/metadata/remove-controller-from-element.ts
|
|
1932
|
+
// src/operation/metadata/remove-controller-from-element.ts
|
|
2038
1933
|
function removeControllerFromElement() {
|
|
2039
1934
|
return {
|
|
2040
1935
|
description: `This operation removes the controller with the specified name from the given selected element.`,
|
|
@@ -2048,8 +1943,7 @@ function removeControllerFromElement() {
|
|
|
2048
1943
|
};
|
|
2049
1944
|
}
|
|
2050
1945
|
|
|
2051
|
-
|
|
2052
|
-
//#region src/operation/metadata/remove-element.ts
|
|
1946
|
+
// src/operation/metadata/remove-element.ts
|
|
2053
1947
|
function removeElement() {
|
|
2054
1948
|
return {
|
|
2055
1949
|
description: `This operation removes the given selected element from the DOM.
|
|
@@ -2061,8 +1955,7 @@ detached first, so their eventbus and window listeners do not outlive the elemen
|
|
|
2061
1955
|
};
|
|
2062
1956
|
}
|
|
2063
1957
|
|
|
2064
|
-
|
|
2065
|
-
//#region src/operation/metadata/remove-properties-from-operation-data.ts
|
|
1958
|
+
// src/operation/metadata/remove-properties-from-operation-data.ts
|
|
2066
1959
|
function removePropertiesFromOperationData() {
|
|
2067
1960
|
return {
|
|
2068
1961
|
description: `This operation removes the given list of properties from the current operation data.
|
|
@@ -2077,8 +1970,7 @@ It will also remove the property \`propertyNames\` from the result.`,
|
|
|
2077
1970
|
};
|
|
2078
1971
|
}
|
|
2079
1972
|
|
|
2080
|
-
|
|
2081
|
-
//#region src/operation/metadata/reparent-element.ts
|
|
1973
|
+
// src/operation/metadata/reparent-element.ts
|
|
2082
1974
|
function reparentElement() {
|
|
2083
1975
|
return {
|
|
2084
1976
|
description: `This operation moves the given selected element to the new parent that is defined
|
|
@@ -2098,8 +1990,7 @@ not accepted.`,
|
|
|
2098
1990
|
};
|
|
2099
1991
|
}
|
|
2100
1992
|
|
|
2101
|
-
|
|
2102
|
-
//#region src/operation/metadata/replace-string.ts
|
|
1993
|
+
// src/operation/metadata/replace-string.ts
|
|
2103
1994
|
function replaceString() {
|
|
2104
1995
|
return {
|
|
2105
1996
|
description: `Replaces occurrences of a pattern in a string (alias for replaceText for string context).
|
|
@@ -2127,8 +2018,7 @@ and \`textContent\` is left unchanged.`,
|
|
|
2127
2018
|
};
|
|
2128
2019
|
}
|
|
2129
2020
|
|
|
2130
|
-
|
|
2131
|
-
//#region src/operation/metadata/replace-text.ts
|
|
2021
|
+
// src/operation/metadata/replace-text.ts
|
|
2132
2022
|
function replaceText() {
|
|
2133
2023
|
return {
|
|
2134
2024
|
description: `Finds and replaces text using literal string or regex pattern.
|
|
@@ -2156,8 +2046,7 @@ A string pattern replaces every occurrence and inserts the replacement literally
|
|
|
2156
2046
|
};
|
|
2157
2047
|
}
|
|
2158
2048
|
|
|
2159
|
-
|
|
2160
|
-
//#region src/operation/metadata/request-action.ts
|
|
2049
|
+
// src/operation/metadata/request-action.ts
|
|
2161
2050
|
function requestAction() {
|
|
2162
2051
|
return {
|
|
2163
2052
|
description: `This operation requests an action instance with the specified name and assigns it
|
|
@@ -2172,8 +2061,7 @@ to the \`actionInstance\` property on the current operation data.`,
|
|
|
2172
2061
|
};
|
|
2173
2062
|
}
|
|
2174
2063
|
|
|
2175
|
-
|
|
2176
|
-
//#region src/operation/metadata/save-to-storage.ts
|
|
2064
|
+
// src/operation/metadata/save-to-storage.ts
|
|
2177
2065
|
function saveToStorage() {
|
|
2178
2066
|
return {
|
|
2179
2067
|
description: `Saves data to browser storage (localStorage or sessionStorage).
|
|
@@ -2202,8 +2090,7 @@ When \`storageType\` is omitted, localStorage is used.`,
|
|
|
2202
2090
|
};
|
|
2203
2091
|
}
|
|
2204
2092
|
|
|
2205
|
-
|
|
2206
|
-
//#region src/operation/metadata/scroll-to-element.ts
|
|
2093
|
+
// src/operation/metadata/scroll-to-element.ts
|
|
2207
2094
|
function scrollToElement() {
|
|
2208
2095
|
return {
|
|
2209
2096
|
description: `Scrolls the viewport to bring the selected element into view.
|
|
@@ -2238,8 +2125,7 @@ Uses the browser's \`scrollIntoView\` API with configurable behavior.`,
|
|
|
2238
2125
|
};
|
|
2239
2126
|
}
|
|
2240
2127
|
|
|
2241
|
-
|
|
2242
|
-
//#region src/operation/metadata/scroll-to-position.ts
|
|
2128
|
+
// src/operation/metadata/scroll-to-position.ts
|
|
2243
2129
|
function scrollToPosition() {
|
|
2244
2130
|
return {
|
|
2245
2131
|
description: `Scrolls the viewport to a specific x,y coordinate position.
|
|
@@ -2265,8 +2151,7 @@ Uses the browser's \`window.scrollTo\` API with configurable behavior.`,
|
|
|
2265
2151
|
};
|
|
2266
2152
|
}
|
|
2267
2153
|
|
|
2268
|
-
|
|
2269
|
-
//#region src/operation/metadata/select-element.ts
|
|
2154
|
+
// src/operation/metadata/select-element.ts
|
|
2270
2155
|
function selectElement() {
|
|
2271
2156
|
return {
|
|
2272
2157
|
description: `This operation selects one or more elements using the specified selector.
|
|
@@ -2290,8 +2175,7 @@ then the element will be looked for only in the descendant elements of this DOM
|
|
|
2290
2175
|
};
|
|
2291
2176
|
}
|
|
2292
2177
|
|
|
2293
|
-
|
|
2294
|
-
//#region src/operation/metadata/set-data.ts
|
|
2178
|
+
// src/operation/metadata/set-data.ts
|
|
2295
2179
|
function setData() {
|
|
2296
2180
|
return {
|
|
2297
2181
|
description: `This operation assigns the specified properties to the specified data targets.`,
|
|
@@ -2304,8 +2188,7 @@ function setData() {
|
|
|
2304
2188
|
};
|
|
2305
2189
|
}
|
|
2306
2190
|
|
|
2307
|
-
|
|
2308
|
-
//#region src/operation/metadata/set-element-attributes.ts
|
|
2191
|
+
// src/operation/metadata/set-element-attributes.ts
|
|
2309
2192
|
function setElementAttributes() {
|
|
2310
2193
|
return {
|
|
2311
2194
|
description: `This operation sets the specified set of attributes on the given selected element.
|
|
@@ -2322,8 +2205,7 @@ attributes such as \`href\`, \`src\` and \`formaction\`, are refused, the same a
|
|
|
2322
2205
|
};
|
|
2323
2206
|
}
|
|
2324
2207
|
|
|
2325
|
-
|
|
2326
|
-
//#region src/operation/metadata/set-element-content.ts
|
|
2208
|
+
// src/operation/metadata/set-element-content.ts
|
|
2327
2209
|
function setElementContent() {
|
|
2328
2210
|
return {
|
|
2329
2211
|
description: `This operation sets the specified content defined by the value assigned to the template property
|
|
@@ -2360,8 +2242,7 @@ never parsed as HTML.`,
|
|
|
2360
2242
|
};
|
|
2361
2243
|
}
|
|
2362
2244
|
|
|
2363
|
-
|
|
2364
|
-
//#region src/operation/metadata/set-focus.ts
|
|
2245
|
+
// src/operation/metadata/set-focus.ts
|
|
2365
2246
|
function setFocus() {
|
|
2366
2247
|
return {
|
|
2367
2248
|
description: `Sets focus to the selected element.`,
|
|
@@ -2370,8 +2251,7 @@ function setFocus() {
|
|
|
2370
2251
|
};
|
|
2371
2252
|
}
|
|
2372
2253
|
|
|
2373
|
-
|
|
2374
|
-
//#region src/operation/metadata/set-form-value.ts
|
|
2254
|
+
// src/operation/metadata/set-form-value.ts
|
|
2375
2255
|
function setFormValue() {
|
|
2376
2256
|
return {
|
|
2377
2257
|
description: `Sets the value of an input, select, or textarea element.
|
|
@@ -2391,8 +2271,7 @@ Handles different input types appropriately:
|
|
|
2391
2271
|
};
|
|
2392
2272
|
}
|
|
2393
2273
|
|
|
2394
|
-
|
|
2395
|
-
//#region src/operation/metadata/set-global-data.ts
|
|
2274
|
+
// src/operation/metadata/set-global-data.ts
|
|
2396
2275
|
function setGlobalData() {
|
|
2397
2276
|
return {
|
|
2398
2277
|
description: `This operation copies the specified properties from the operationData to the global data.
|
|
@@ -2410,8 +2289,7 @@ are stored by reference.`,
|
|
|
2410
2289
|
};
|
|
2411
2290
|
}
|
|
2412
2291
|
|
|
2413
|
-
|
|
2414
|
-
//#region src/operation/metadata/set-operation-data.ts
|
|
2292
|
+
// src/operation/metadata/set-operation-data.ts
|
|
2415
2293
|
function setOperationData() {
|
|
2416
2294
|
return {
|
|
2417
2295
|
description: `This operation assigns the specified properties to the current operation data.
|
|
@@ -2431,8 +2309,7 @@ When override is set to true the properties replace the current operation data e
|
|
|
2431
2309
|
};
|
|
2432
2310
|
}
|
|
2433
2311
|
|
|
2434
|
-
|
|
2435
|
-
//#region src/operation/metadata/set-style.ts
|
|
2312
|
+
// src/operation/metadata/set-style.ts
|
|
2436
2313
|
function setStyle() {
|
|
2437
2314
|
return {
|
|
2438
2315
|
description: `This operation assigns the specified CSS style properties to the
|
|
@@ -2447,8 +2324,7 @@ given selected element.`,
|
|
|
2447
2324
|
};
|
|
2448
2325
|
}
|
|
2449
2326
|
|
|
2450
|
-
|
|
2451
|
-
//#region src/operation/metadata/set-variable.ts
|
|
2327
|
+
// src/operation/metadata/set-variable.ts
|
|
2452
2328
|
function setVariable() {
|
|
2453
2329
|
return {
|
|
2454
2330
|
description: `This operation sets a variable with the specified name on the scope with the specified value.
|
|
@@ -2473,8 +2349,7 @@ variables set before the block can be read and changed inside it. Read variables
|
|
|
2473
2349
|
};
|
|
2474
2350
|
}
|
|
2475
2351
|
|
|
2476
|
-
|
|
2477
|
-
//#region src/operation/metadata/sort-array.ts
|
|
2352
|
+
// src/operation/metadata/sort-array.ts
|
|
2478
2353
|
function sortArray() {
|
|
2479
2354
|
return {
|
|
2480
2355
|
description: `Sorts an array by property, natural order, or custom comparator function.
|
|
@@ -2504,8 +2379,7 @@ Supports three sorting modes:
|
|
|
2504
2379
|
};
|
|
2505
2380
|
}
|
|
2506
2381
|
|
|
2507
|
-
|
|
2508
|
-
//#region src/operation/metadata/split-string.ts
|
|
2382
|
+
// src/operation/metadata/split-string.ts
|
|
2509
2383
|
function splitString() {
|
|
2510
2384
|
return {
|
|
2511
2385
|
description: `Splits a string into an array by delimiter (string or regex).`,
|
|
@@ -2529,8 +2403,7 @@ function splitString() {
|
|
|
2529
2403
|
};
|
|
2530
2404
|
}
|
|
2531
2405
|
|
|
2532
|
-
|
|
2533
|
-
//#region src/operation/metadata/start-action.ts
|
|
2406
|
+
// src/operation/metadata/start-action.ts
|
|
2534
2407
|
function startAction() {
|
|
2535
2408
|
return {
|
|
2536
2409
|
description: `This operation starts the specified action instance using the given action operation data.
|
|
@@ -2548,8 +2421,7 @@ had before, plus \`actionInstance\`, without the \`actionOperationData\` propert
|
|
|
2548
2421
|
};
|
|
2549
2422
|
}
|
|
2550
2423
|
|
|
2551
|
-
|
|
2552
|
-
//#region src/operation/metadata/substring-text.ts
|
|
2424
|
+
// src/operation/metadata/substring-text.ts
|
|
2553
2425
|
function substringText() {
|
|
2554
2426
|
return {
|
|
2555
2427
|
description: `Extracts a substring from text between start and end indices.`,
|
|
@@ -2570,8 +2442,7 @@ function substringText() {
|
|
|
2570
2442
|
};
|
|
2571
2443
|
}
|
|
2572
2444
|
|
|
2573
|
-
|
|
2574
|
-
//#region src/operation/metadata/toggle-class.ts
|
|
2445
|
+
// src/operation/metadata/toggle-class.ts
|
|
2575
2446
|
function toggleClass() {
|
|
2576
2447
|
return {
|
|
2577
2448
|
description: `This operation toggles the specfied class name on the given selected element.
|
|
@@ -2588,8 +2459,7 @@ otherwise it will be added.`,
|
|
|
2588
2459
|
};
|
|
2589
2460
|
}
|
|
2590
2461
|
|
|
2591
|
-
|
|
2592
|
-
//#region src/operation/metadata/toggle-element.ts
|
|
2462
|
+
// src/operation/metadata/toggle-element.ts
|
|
2593
2463
|
function toggleElement() {
|
|
2594
2464
|
return {
|
|
2595
2465
|
description: `This operation toggles the visibility of the given selected element.
|
|
@@ -2601,8 +2471,7 @@ it will be hidden.`,
|
|
|
2601
2471
|
};
|
|
2602
2472
|
}
|
|
2603
2473
|
|
|
2604
|
-
|
|
2605
|
-
//#region src/operation/metadata/toggle-form-element.ts
|
|
2474
|
+
// src/operation/metadata/toggle-form-element.ts
|
|
2606
2475
|
function toggleFormElement() {
|
|
2607
2476
|
return {
|
|
2608
2477
|
description: `Enables or disables form input elements (inputs, selects, textareas, buttons).
|
|
@@ -2619,8 +2488,7 @@ attribute; when false, adds the disabled attribute.`,
|
|
|
2619
2488
|
};
|
|
2620
2489
|
}
|
|
2621
2490
|
|
|
2622
|
-
|
|
2623
|
-
//#region src/operation/metadata/validate-form.ts
|
|
2491
|
+
// src/operation/metadata/validate-form.ts
|
|
2624
2492
|
function validateForm() {
|
|
2625
2493
|
return {
|
|
2626
2494
|
description: `Validates form fields against HTML5 validation and custom rules.
|
|
@@ -2645,8 +2513,7 @@ apply to each selected value.`,
|
|
|
2645
2513
|
};
|
|
2646
2514
|
}
|
|
2647
2515
|
|
|
2648
|
-
|
|
2649
|
-
//#region src/operation/metadata/wait.ts
|
|
2516
|
+
// src/operation/metadata/wait.ts
|
|
2650
2517
|
function wait() {
|
|
2651
2518
|
return {
|
|
2652
2519
|
description: `This operation waits for the specified amount of milliseconds.`,
|
|
@@ -2659,8 +2526,7 @@ function wait() {
|
|
|
2659
2526
|
};
|
|
2660
2527
|
}
|
|
2661
2528
|
|
|
2662
|
-
|
|
2663
|
-
//#region src/operation/metadata/when.ts
|
|
2529
|
+
// src/operation/metadata/when.ts
|
|
2664
2530
|
function when() {
|
|
2665
2531
|
return {
|
|
2666
2532
|
description: `When the given expression evaluates to false, subsequent operations will be skipped
|
|
@@ -2710,8 +2576,7 @@ guards.`,
|
|
|
2710
2576
|
};
|
|
2711
2577
|
}
|
|
2712
2578
|
|
|
2713
|
-
|
|
2714
|
-
//#region src/operation/metadata/index.ts
|
|
2579
|
+
// src/operation/metadata/index.ts
|
|
2715
2580
|
var metadata_exports$2 = /* @__PURE__ */ __exportAll({
|
|
2716
2581
|
addClass: () => addClass,
|
|
2717
2582
|
addControllerToElement: () => addControllerToElement,
|
|
@@ -2794,8 +2659,7 @@ var metadata_exports$2 = /* @__PURE__ */ __exportAll({
|
|
|
2794
2659
|
when: () => when
|
|
2795
2660
|
});
|
|
2796
2661
|
|
|
2797
|
-
|
|
2798
|
-
//#region src/operation/metadata/parameter-types.ts
|
|
2662
|
+
// src/operation/metadata/parameter-types.ts
|
|
2799
2663
|
/**
|
|
2800
2664
|
* Every parameter type the operation and controller metadata may use. The
|
|
2801
2665
|
* metadata generator fails on a type name that is not in this list.
|
|
@@ -2844,6 +2708,5 @@ const PARAMETER_TYPES = [
|
|
|
2844
2708
|
"ParameterType:DocumentFragment"
|
|
2845
2709
|
];
|
|
2846
2710
|
|
|
2847
|
-
//#endregion
|
|
2848
2711
|
export { PARAMETER_TYPES, metadata_exports as ctrlmetadata, metadata_exports$1 as eventmetadata, metadata_exports$2 as metadata };
|
|
2849
2712
|
//# sourceMappingURL=metadata.mjs.map
|