eligius 1.1.6 → 1.1.7
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/dist/index.d.ts +53 -8
- package/dist/index.js +75 -160
- package/dist/index.js.map +1 -1
- package/package.json +2 -4
package/dist/index.d.ts
CHANGED
|
@@ -109,6 +109,10 @@ interface IOperationContext {
|
|
|
109
109
|
*
|
|
110
110
|
*/
|
|
111
111
|
parent?: IOperationContext;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
*/
|
|
115
|
+
variables?: Record<string, unknown>;
|
|
112
116
|
}
|
|
113
117
|
type TOperation<T extends TOperationData = TOperationData, RT = T> = (this: IOperationContext, operationData: T) => TOperationResult<RT>;
|
|
114
118
|
type ExtractOperationData<T extends TOperation<TOperationData>> = T extends TOperation<infer K> ? K : never;
|
|
@@ -792,13 +796,16 @@ interface IExtendControllerOperationData {
|
|
|
792
796
|
*/
|
|
793
797
|
declare const extendController: TOperation<IExtendControllerOperationData>;
|
|
794
798
|
//#endregion
|
|
799
|
+
//#region src/operation/helper/get-context-var.d.ts
|
|
800
|
+
type VariableName = `@${string}`;
|
|
801
|
+
//#endregion
|
|
795
802
|
//#region src/operation/for-each.d.ts
|
|
796
803
|
interface IForEachOperationData {
|
|
797
804
|
/**
|
|
798
|
-
* @type=ParameterType:array
|
|
805
|
+
* @type=ParameterType:array|string
|
|
799
806
|
* @required
|
|
800
807
|
*/
|
|
801
|
-
collection: unknown[] | string;
|
|
808
|
+
collection: unknown[] | string | VariableName;
|
|
802
809
|
}
|
|
803
810
|
/**
|
|
804
811
|
* This operation iterates over the given collection.
|
|
@@ -1312,6 +1319,22 @@ interface ISetStyleOperationData {
|
|
|
1312
1319
|
*/
|
|
1313
1320
|
declare const setStyle: TOperation<ISetStyleOperationData>;
|
|
1314
1321
|
//#endregion
|
|
1322
|
+
//#region src/operation/set-variable.d.ts
|
|
1323
|
+
interface ISetVariableOperationData {
|
|
1324
|
+
/**
|
|
1325
|
+
* @required
|
|
1326
|
+
*/
|
|
1327
|
+
name: string;
|
|
1328
|
+
/**
|
|
1329
|
+
* @required
|
|
1330
|
+
*/
|
|
1331
|
+
value: any;
|
|
1332
|
+
}
|
|
1333
|
+
/**
|
|
1334
|
+
* This operation sets a variable with the specified name on the context with the specified value.
|
|
1335
|
+
*/
|
|
1336
|
+
declare const setVariable: TOperation<ISetVariableOperationData>;
|
|
1337
|
+
//#endregion
|
|
1315
1338
|
//#region src/operation/start-action.d.ts
|
|
1316
1339
|
interface IStartActionOperationData {
|
|
1317
1340
|
/**
|
|
@@ -1385,10 +1408,11 @@ declare const wait: TOperation<IWaitOperationData>;
|
|
|
1385
1408
|
//#endregion
|
|
1386
1409
|
//#region src/operation/when.d.ts
|
|
1387
1410
|
type TOperator = '!=' | '==' | '>=' | '<=' | '>' | '<';
|
|
1388
|
-
type TValue = `'${string}'` | number | `operationdata.${string}` | `globaldata.${string}` | `context.${string}`;
|
|
1411
|
+
type TValue = `'${string}'` | number | `operationdata.${string}` | `globaldata.${string}` | `context.${string}` | `@${string}`;
|
|
1389
1412
|
type TExpression = `${TValue}${TOperator}${TValue}`;
|
|
1390
1413
|
interface IWhenOperationData {
|
|
1391
1414
|
/**
|
|
1415
|
+
* @type=ParameterType:expression
|
|
1392
1416
|
* @required
|
|
1393
1417
|
*/
|
|
1394
1418
|
expression: TExpression;
|
|
@@ -1399,12 +1423,29 @@ interface IWhenOperationData {
|
|
|
1399
1423
|
*
|
|
1400
1424
|
* Practically, this means an `if` or `if`/`else` statement control flow implementation in a list of operations.
|
|
1401
1425
|
*
|
|
1426
|
+
* The expression is passed in as a formatted string.
|
|
1427
|
+
* The left and right values of the expression can be defined like this:
|
|
1428
|
+
*
|
|
1429
|
+
* 'constant': for a constant string
|
|
1430
|
+
* 100: for a constant number
|
|
1431
|
+
* operationData.foo: for an operation data value
|
|
1432
|
+
* globaldata.foo: for a global data value
|
|
1433
|
+
* context.loopIndex: for a context value
|
|
1434
|
+
* @foo: for a variable value
|
|
1435
|
+
*
|
|
1436
|
+
* @example
|
|
1437
|
+
* @foo=='bar'
|
|
1438
|
+
* @example
|
|
1439
|
+
* globalData.foo>@bar
|
|
1440
|
+
* @example
|
|
1441
|
+
* operationData.foo!=100
|
|
1442
|
+
*
|
|
1402
1443
|
* @param operationData
|
|
1403
1444
|
* @returns
|
|
1404
1445
|
*/
|
|
1405
1446
|
declare const when: TOperation<IWhenOperationData>;
|
|
1406
1447
|
declare namespace index_d_exports$1 {
|
|
1407
|
-
export { ExtractOperationData, ExtractReturnedOperationData, IOperationContext, TOperation, TOperationData, TOperationResult, addClass, addControllerToElement, animate, animateWithClass, broadcastEvent, calc, clearElement, clearOperationData, createElement, customFunction, endAction, endForEach, endWhen, extendController, forEach, getAttributesFromElement, getControllerFromElement, getControllerInstance, getElementDimensions, getImport, getQueryParams, invokeObjectMethod, loadJson, log, math, otherwise, removeClass, removeControllerFromElement, removeElement, removePropertiesFromOperationData, reparentElement, requestAction, resizeAction, selectElement, setData, setElementAttributes, setElementContent, setGlobalData, setOperationData, setStyle, startAction, toggleClass, toggleElement, wait, when };
|
|
1448
|
+
export { ExtractOperationData, ExtractReturnedOperationData, IOperationContext, TOperation, TOperationData, TOperationResult, addClass, addControllerToElement, animate, animateWithClass, broadcastEvent, calc, clearElement, clearOperationData, createElement, customFunction, endAction, endForEach, endWhen, extendController, forEach, getAttributesFromElement, getControllerFromElement, getControllerInstance, getElementDimensions, getImport, getQueryParams, invokeObjectMethod, loadJson, log, math, otherwise, removeClass, removeControllerFromElement, removeElement, removePropertiesFromOperationData, reparentElement, requestAction, resizeAction, selectElement, setData, setElementAttributes, setElementContent, setGlobalData, setOperationData, setStyle, setVariable, startAction, toggleClass, toggleElement, wait, when };
|
|
1408
1449
|
}
|
|
1409
1450
|
//#endregion
|
|
1410
1451
|
//#region src/configuration/types.d.ts
|
|
@@ -1672,7 +1713,7 @@ declare class EndableActionEditor<T extends IEndableActionConfiguration = IEndab
|
|
|
1672
1713
|
* @param operationData
|
|
1673
1714
|
* @returns
|
|
1674
1715
|
*/
|
|
1675
|
-
addEndOperation<T extends TOperationName, O extends Partial<ExtractOperationDataType<GetOperationByName<T>>>>(systemName: TOperationName, operationData: O): OperationEditor<this, TOperation<
|
|
1716
|
+
addEndOperation<T extends TOperationName, O extends Partial<ExtractOperationDataType<GetOperationByName<T>>>>(systemName: TOperationName, operationData: O): OperationEditor<this, TOperation<IAddClassOperationData> | TOperation<IAddControllerToElementOperationData<TOperationData>> | TOperation<IAnimateOperationData> | TOperation<IAnimateWithClassOperationData, Promise<IAnimateWithClassOperationData>> | TOperation<IBroadcastEventOperationData> | TOperation<ICalcOperationData> | TOperation<IClearElementOperationData> | TOperation<IClearOperationDataOperationData> | TOperation<ICreateElementOperationData<keyof HTMLElementTagNameMap>, RequireKeys<ICreateElementOperationData<keyof HTMLElementTagNameMap>, "template">> | TOperation<ICustomFunctionOperationData> | TOperation<IEndActionOperationData> | TOperation<TOperationData> | TOperation<Record<string, unknown>> | TOperation<IExtendControllerOperationData> | TOperation<IForEachOperationData> | TOperation<IGetAttributesFromElementOperationData> | TOperation<IGetControllerFromElementOperationData> | TOperation<IGetControllerInstanceOperationData> | TOperation<IGetElementDimensionsOperationData> | TOperation<IGetImportOperationData, Omit<RequireKeys<IGetImportOperationData, "importedInstance">, "systemName">> | TOperation<IGetQueryParamsOperationData> | TOperation<IInvokeObjectMethodOperationData, Omit<IInvokeObjectMethodOperationData, "methodName" | "methodArguments">> | TOperation<ILoadJSONOperationData> | TOperation<IMathOperationData, Omit<IMathOperationData, "args" | "functionName">> | TOperation<IRemoveClassOperationData> | TOperation<IRemoveControllerFromElementOperationData> | TOperation<IRemoveElementOperationData> | TOperation<IRemovePropertiesFromOperationDataOperationData, Omit<IRemovePropertiesFromOperationDataOperationData, "propertyNames">> | TOperation<IReparentElementOperationData> | TOperation<IRequestActionOperationData, Required<IRequestActionOperationData>> | TOperation<IResizeActionOperationData> | TOperation<ISelectElementOperationData> | TOperation<ISetDataOperationData> | TOperation<ISetElementAttributesOperationData> | TOperation<ISetElementContentOperationData> | TOperation<ISetGlobalDataOperationData, Omit<ISetGlobalDataOperationData, "propertyNames">> | TOperation<ISetOperationData, Omit<ISetOperationData, "override" | "properties">> | TOperation<ISetStyleOperationData> | TOperation<ISetVariableOperationData> | TOperation<IStartActionOperationData> | TOperation<IToggleClassOperationData> | TOperation<IToggleElementOperationData> | TOperation<IWaitOperationData> | TOperation<IWhenOperationData>>;
|
|
1676
1717
|
/**
|
|
1677
1718
|
*
|
|
1678
1719
|
* Starts an editor for the end operation associated with the given id
|
|
@@ -2358,7 +2399,7 @@ type THasDescription = {
|
|
|
2358
2399
|
description?: string;
|
|
2359
2400
|
};
|
|
2360
2401
|
type TComplexPropertyMetadata = {
|
|
2361
|
-
type: TConstantParametersTypes[] | TParameterTypes;
|
|
2402
|
+
type: TConstantParametersTypes[] | TParameterTypes | TParameterTypesDelimited;
|
|
2362
2403
|
defaultValue?: unknown;
|
|
2363
2404
|
} & THasRequired & THasDescription;
|
|
2364
2405
|
type TArrayProperyMetadata = {
|
|
@@ -2377,6 +2418,7 @@ interface IOperationMetadata<T> {
|
|
|
2377
2418
|
properties?: TPropertiesMetadata<T>;
|
|
2378
2419
|
outputProperties?: TPropertiesMetadata<T>;
|
|
2379
2420
|
}
|
|
2421
|
+
type TParameterTypesDelimited = `${TParameterTypes}` | `${TParameterTypes}|${string}`;
|
|
2380
2422
|
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';
|
|
2381
2423
|
//#endregion
|
|
2382
2424
|
//#region src/operation/metadata/add-class.d.ts
|
|
@@ -2510,6 +2552,9 @@ declare function setOperationData$1(): IOperationMetadata<ISetOperationData>;
|
|
|
2510
2552
|
//#region src/operation/metadata/set-style.d.ts
|
|
2511
2553
|
declare function setStyle$1(): IOperationMetadata<ISetStyleOperationData>;
|
|
2512
2554
|
//#endregion
|
|
2555
|
+
//#region src/operation/metadata/set-variable.d.ts
|
|
2556
|
+
declare function setVariable$1(): IOperationMetadata<ISetVariableOperationData>;
|
|
2557
|
+
//#endregion
|
|
2513
2558
|
//#region src/operation/metadata/start-action.d.ts
|
|
2514
2559
|
declare function startAction$1(): IOperationMetadata<IStartActionOperationData>;
|
|
2515
2560
|
//#endregion
|
|
@@ -2525,7 +2570,7 @@ declare function wait$1(): IOperationMetadata<IWaitOperationData>;
|
|
|
2525
2570
|
//#region src/operation/metadata/when.d.ts
|
|
2526
2571
|
declare function when$1(): IOperationMetadata<IWhenOperationData>;
|
|
2527
2572
|
declare namespace index_d_exports {
|
|
2528
|
-
export { IOperationMetadata, TArrayProperyMetadata, TComplexPropertyMetadata, TConstantParametersTypes, THasDescription, THasRequired, TParameterTypes, TPropertiesMetadata, TPropertyMetadata, addClass$1 as addClass, addControllerToElement$1 as addControllerToElement, addGlobalsToOperation, animate$1 as animate, animateWithClass$1 as animateWithClass, broadcastEvent$1 as broadcastEvent, calc$1 as calc, clearElement$1 as clearElement, clearOperationData$1 as clearOperationData, createElement$1 as createElement, customFunction$1 as customFunction, endAction$1 as endAction, endForEach$1 as endForEach, endWhen$1 as endWhen, extendController$1 as extendController, forEach$1 as forEach, getAttributesFromElement$1 as getAttributesFromElement, getControllerFromElement$1 as getControllerFromElement, getControllerInstance$1 as getControllerInstance, getElementDimensions$1 as getElementDimensions, getImport$1 as getImport, getQueryParams$1 as getQueryParams, invokeObjectMethod$1 as invokeObjectMethod, loadJson$1 as loadJson, log$1 as log, math$1 as math, otherwise$1 as otherwise, removeClass$1 as removeClass, removeControllerFromElement$1 as removeControllerFromElement, removeElement$1 as removeElement, removePropertiesFromOperationData$1 as removePropertiesFromOperationData, reparentElement$1 as reparentElement, requestAction$1 as requestAction, resizeAction$1 as resizeAction, selectElement$1 as selectElement, setData$1 as setData, setElementAttributes$1 as setElementAttributes, setElementContent$1 as setElementContent, setGlobalData$1 as setGlobalData, setOperationData$1 as setOperationData, setStyle$1 as setStyle, startAction$1 as startAction, toggleClass$1 as toggleClass, toggleElement$1 as toggleElement, wait$1 as wait, when$1 as when };
|
|
2573
|
+
export { IOperationMetadata, TArrayProperyMetadata, TComplexPropertyMetadata, TConstantParametersTypes, THasDescription, THasRequired, TParameterTypes, TParameterTypesDelimited, TPropertiesMetadata, TPropertyMetadata, addClass$1 as addClass, addControllerToElement$1 as addControllerToElement, addGlobalsToOperation, animate$1 as animate, animateWithClass$1 as animateWithClass, broadcastEvent$1 as broadcastEvent, calc$1 as calc, clearElement$1 as clearElement, clearOperationData$1 as clearOperationData, createElement$1 as createElement, customFunction$1 as customFunction, endAction$1 as endAction, endForEach$1 as endForEach, endWhen$1 as endWhen, extendController$1 as extendController, forEach$1 as forEach, getAttributesFromElement$1 as getAttributesFromElement, getControllerFromElement$1 as getControllerFromElement, getControllerInstance$1 as getControllerInstance, getElementDimensions$1 as getElementDimensions, getImport$1 as getImport, getQueryParams$1 as getQueryParams, invokeObjectMethod$1 as invokeObjectMethod, loadJson$1 as loadJson, log$1 as log, math$1 as math, otherwise$1 as otherwise, removeClass$1 as removeClass, removeControllerFromElement$1 as removeControllerFromElement, removeElement$1 as removeElement, removePropertiesFromOperationData$1 as removePropertiesFromOperationData, reparentElement$1 as reparentElement, requestAction$1 as requestAction, resizeAction$1 as resizeAction, selectElement$1 as selectElement, setData$1 as setData, setElementAttributes$1 as setElementAttributes, setElementContent$1 as setElementContent, setGlobalData$1 as setGlobalData, setOperationData$1 as setOperationData, setStyle$1 as setStyle, setVariable$1 as setVariable, startAction$1 as startAction, toggleClass$1 as toggleClass, toggleElement$1 as toggleElement, wait$1 as wait, when$1 as when };
|
|
2529
2574
|
}
|
|
2530
2575
|
//#endregion
|
|
2531
2576
|
//#region src/timeline-event-names.d.ts
|
|
@@ -2980,5 +3025,5 @@ declare class VideoJsTimelineProvider implements ITimelineProvider {
|
|
|
2980
3025
|
_extractFileType(url: string): string;
|
|
2981
3026
|
}
|
|
2982
3027
|
//#endregion
|
|
2983
|
-
export { Action, ActionCreator, ActionCreatorFactory, ActionEditor, ActionRegistryEventbusListener, ConfigurationFactory, ConfigurationResolver, ControllerNamesProvider, Controllers, DEV_TOOLS_KEY, DevToolEventListener, Diagnostics, EligiusEngine, EligiusResourceImporter, EndableAction, EndableActionCreator, EndableActionEditor, EngineFactory, EventListenerController, Eventbus, ExtractOperationData, ExtractOperationDataType, ExtractReturnedOperationData, GetControllerByName, GetOperationByName, IAction, IActionConfiguration, IConfigurationResolver, IController, IDiagnosticsAgent, IDiagnosticsInfo, IDimensions, IDuration, IEligiusEngine, IEndableAction, IEndableActionConfiguration, IEngineConfiguration, IEngineFactory, IEngineFactoryOptions, IEngineInfo, IEventActionConfiguration, IEventbus, IEventbusInterceptor, IEventbusListener, ILabel, ILanguageLabel, IOperationConfiguration, IOperationContext, IPlayControlEvent, IResolvedActionConfiguration, IResolvedEndableActionConfiguration, IResolvedEngineConfiguration, IResolvedOperation, IResolvedTimelineConfiguration, IResourceImporter, ISimpleResourceImporter, IStrictDuration, ISubtitle, ISubtitleCollection, ITimelineAction, ITimelineActionConfiguration, ITimelineConfiguration, ITimelineFlow, ITimelineProvider, ITimelineProviderInfo, ITimelineProviderSettings, KeysOfType, LabelController, LanguageManager, LottieController, NavigationController, OperationEditor, OperationMetadataProvider, OperationNamesProvider, Operations, ProgressbarController, RequestAnimationFrameTimelineProvider, RequestVideoUriInterceptor, RequireKeys, RoutingController, SubtitleEditor, SubtitleImporter, SubtitlesController, TControllerName, TControllerType, TDevToolsEventSubscriber, TDevToolsMessage, TDiagnosticType, TDiagnosticsMessageSource, TEngineConfigurationLists, TEventData, TEventHandler, TEventbusRemover, TLanguageCode, TOperation, TOperationData, TOperationName, TOperationResult, TOperationType, TPlayControlEventKind, TPlayState, TResultCallback, TTimelineProviderSettings, TWindowWithDevtools, TimeLineEventNamesProvider, TimelineAction, TimelineActionCreator, TimelineActionEditor, TimelineEventNames, TimelineProviderSettingsEditor, TimelineProvidersSettingsEditor, TimelineTypes, VideoJsTimelineProvider, addClass, addControllerToElement, animate, animateWithClass, broadcastEvent, calc, clearElement, clearOperationData, createElement, customFunction, endAction, endForEach, endWhen, extendController, forEach, generateImporterSourceCode, getAttributesFromElement, getControllerFromElement, getControllerInstance, getElementDimensions, getImport, getQueryParams, invokeObjectMethod, loadJson, log, math, index_d_exports as metadata, otherwise, removeClass, removeControllerFromElement, removeElement, removePropertiesFromOperationData, reparentElement, requestAction, resizeAction, selectElement, setData, setElementAttributes, setElementContent, setGlobalData, setOperationData, setStyle, startAction, toggleClass, toggleElement, wait, when };
|
|
3028
|
+
export { Action, ActionCreator, ActionCreatorFactory, ActionEditor, ActionRegistryEventbusListener, ConfigurationFactory, ConfigurationResolver, ControllerNamesProvider, Controllers, DEV_TOOLS_KEY, DevToolEventListener, Diagnostics, EligiusEngine, EligiusResourceImporter, EndableAction, EndableActionCreator, EndableActionEditor, EngineFactory, EventListenerController, Eventbus, ExtractOperationData, ExtractOperationDataType, ExtractReturnedOperationData, GetControllerByName, GetOperationByName, IAction, IActionConfiguration, IConfigurationResolver, IController, IDiagnosticsAgent, IDiagnosticsInfo, IDimensions, IDuration, IEligiusEngine, IEndableAction, IEndableActionConfiguration, IEngineConfiguration, IEngineFactory, IEngineFactoryOptions, IEngineInfo, IEventActionConfiguration, IEventbus, IEventbusInterceptor, IEventbusListener, ILabel, ILanguageLabel, IOperationConfiguration, IOperationContext, IPlayControlEvent, IResolvedActionConfiguration, IResolvedEndableActionConfiguration, IResolvedEngineConfiguration, IResolvedOperation, IResolvedTimelineConfiguration, IResourceImporter, ISimpleResourceImporter, IStrictDuration, ISubtitle, ISubtitleCollection, ITimelineAction, ITimelineActionConfiguration, ITimelineConfiguration, ITimelineFlow, ITimelineProvider, ITimelineProviderInfo, ITimelineProviderSettings, KeysOfType, LabelController, LanguageManager, LottieController, NavigationController, OperationEditor, OperationMetadataProvider, OperationNamesProvider, Operations, ProgressbarController, RequestAnimationFrameTimelineProvider, RequestVideoUriInterceptor, RequireKeys, RoutingController, SubtitleEditor, SubtitleImporter, SubtitlesController, TControllerName, TControllerType, TDevToolsEventSubscriber, TDevToolsMessage, TDiagnosticType, TDiagnosticsMessageSource, TEngineConfigurationLists, TEventData, TEventHandler, TEventbusRemover, TLanguageCode, TOperation, TOperationData, TOperationName, TOperationResult, TOperationType, TPlayControlEventKind, TPlayState, TResultCallback, TTimelineProviderSettings, TWindowWithDevtools, TimeLineEventNamesProvider, TimelineAction, TimelineActionCreator, TimelineActionEditor, TimelineEventNames, TimelineProviderSettingsEditor, TimelineProvidersSettingsEditor, TimelineTypes, VideoJsTimelineProvider, addClass, addControllerToElement, animate, animateWithClass, broadcastEvent, calc, clearElement, clearOperationData, createElement, customFunction, endAction, endForEach, endWhen, extendController, forEach, generateImporterSourceCode, getAttributesFromElement, getControllerFromElement, getControllerInstance, getElementDimensions, getImport, getQueryParams, invokeObjectMethod, loadJson, log, math, index_d_exports as metadata, otherwise, removeClass, removeControllerFromElement, removeElement, removePropertiesFromOperationData, reparentElement, requestAction, resizeAction, selectElement, setData, setElementAttributes, setElementContent, setGlobalData, setOperationData, setStyle, setVariable, startAction, toggleClass, toggleElement, wait, when };
|
|
2984
3029
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -114,6 +114,14 @@ function findMatchingOperationIndex(operation) {
|
|
|
114
114
|
return false;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
+
//#endregion
|
|
118
|
+
//#region src/operation/helper/get-context-var.ts
|
|
119
|
+
const getContextVar = (variables, identifier) => {
|
|
120
|
+
const name = identifier.substring(1);
|
|
121
|
+
return variables ? variables[name] : void 0;
|
|
122
|
+
};
|
|
123
|
+
const isVariableName = (value) => value.startsWith("@");
|
|
124
|
+
|
|
117
125
|
//#endregion
|
|
118
126
|
//#region src/operation/helper/get-property-chain-value.ts
|
|
119
127
|
/**
|
|
@@ -215,7 +223,7 @@ function isExternalProperty(value) {
|
|
|
215
223
|
*/
|
|
216
224
|
const forEach = function(operationData) {
|
|
217
225
|
const { collection } = operationData;
|
|
218
|
-
const resolvedCollection = typeof collection === "string" ? resolveExternalPropertyChain(operationData, this, collection) : collection;
|
|
226
|
+
const resolvedCollection = typeof collection === "string" ? isVariableName(collection) ? getContextVar(this.variables, collection) : resolveExternalPropertyChain(operationData, this, collection) : collection;
|
|
219
227
|
if (resolvedCollection !== null && resolvedCollection !== void 0 && !Array.isArray(resolvedCollection)) throw new Error("Expected collection to be array type, string value was probably not resolved correctly");
|
|
220
228
|
if (this.loopIndex === void 0) {
|
|
221
229
|
this.loopEndIndex = findEndForEachIndex(this);
|
|
@@ -253,6 +261,23 @@ const endForEachSystemName = "endForEach";
|
|
|
253
261
|
* until an {@link endWhen} or {@link otherwise} operation is encountered.
|
|
254
262
|
*
|
|
255
263
|
* Practically, this means an `if` or `if`/`else` statement control flow implementation in a list of operations.
|
|
264
|
+
*
|
|
265
|
+
* The expression is passed in as a formatted string.
|
|
266
|
+
* The left and right values of the expression can be defined like this:
|
|
267
|
+
*
|
|
268
|
+
* 'constant': for a constant string
|
|
269
|
+
* 100: for a constant number
|
|
270
|
+
* operationData.foo: for an operation data value
|
|
271
|
+
* globaldata.foo: for a global data value
|
|
272
|
+
* context.loopIndex: for a context value
|
|
273
|
+
* @foo: for a variable value
|
|
274
|
+
*
|
|
275
|
+
* @example
|
|
276
|
+
* @foo=='bar'
|
|
277
|
+
* @example
|
|
278
|
+
* globalData.foo>@bar
|
|
279
|
+
* @example
|
|
280
|
+
* operationData.foo!=100
|
|
256
281
|
*
|
|
257
282
|
* @param operationData
|
|
258
283
|
* @returns
|
|
@@ -267,12 +292,12 @@ const when = function(operationData) {
|
|
|
267
292
|
function parseExpression(expression, operationData, operationContext) {
|
|
268
293
|
const [left, right] = expression.split(/!=|==|>=|<=|>|</);
|
|
269
294
|
const operator = expression.substring(left.length, expression.length - right.length);
|
|
270
|
-
const leftNr =
|
|
271
|
-
const rightNr =
|
|
295
|
+
const leftNr = parseFloat(left);
|
|
296
|
+
const rightNr = parseFloat(right);
|
|
272
297
|
return [
|
|
273
|
-
isNaN(leftNr) ? resolveExternalPropertyChain(operationData, operationContext, left) : leftNr,
|
|
298
|
+
Number.isNaN(leftNr) ? isVariableName(left) ? getContextVar(operationContext.variables, left) : resolveExternalPropertyChain(operationData, operationContext, left) : leftNr,
|
|
274
299
|
operator,
|
|
275
|
-
isNaN(rightNr) ? resolveExternalPropertyChain(operationData, operationContext, right) : rightNr
|
|
300
|
+
Number.isNaN(rightNr) ? isVariableName(right) ? getContextVar(operationContext.variables, right) : resolveExternalPropertyChain(operationData, operationContext, right) : rightNr
|
|
276
301
|
];
|
|
277
302
|
}
|
|
278
303
|
const evaluations = {
|
|
@@ -1580,6 +1605,18 @@ const setStyle = function(operationData) {
|
|
|
1580
1605
|
return operationData;
|
|
1581
1606
|
};
|
|
1582
1607
|
|
|
1608
|
+
//#endregion
|
|
1609
|
+
//#region src/operation/set-variable.ts
|
|
1610
|
+
/**
|
|
1611
|
+
* This operation sets a variable with the specified name on the context with the specified value.
|
|
1612
|
+
*/
|
|
1613
|
+
const setVariable = function(operationData) {
|
|
1614
|
+
const { name, value } = operationData;
|
|
1615
|
+
if (!this.variables) this.variables = {};
|
|
1616
|
+
this.variables[name] = value;
|
|
1617
|
+
return operationData;
|
|
1618
|
+
};
|
|
1619
|
+
|
|
1583
1620
|
//#endregion
|
|
1584
1621
|
//#region src/operation/start-action.ts
|
|
1585
1622
|
/**
|
|
@@ -1689,6 +1726,7 @@ var operation_exports = /* @__PURE__ */ __export({
|
|
|
1689
1726
|
setGlobalData: () => setGlobalData,
|
|
1690
1727
|
setOperationData: () => setOperationData,
|
|
1691
1728
|
setStyle: () => setStyle,
|
|
1729
|
+
setVariable: () => setVariable,
|
|
1692
1730
|
startAction: () => startAction,
|
|
1693
1731
|
toggleClass: () => toggleClass,
|
|
1694
1732
|
toggleElement: () => toggleElement,
|
|
@@ -4187,7 +4225,7 @@ assigned to the {@link IOperationContext.currentItem} property on the operation
|
|
|
4187
4225
|
At the start of the loop, the associated {@link endForEach} operation is determined and when
|
|
4188
4226
|
the last iteration is completed the flow control is set to the index of that operation.`,
|
|
4189
4227
|
properties: { collection: {
|
|
4190
|
-
type: "ParameterType:array",
|
|
4228
|
+
type: "ParameterType:array|string",
|
|
4191
4229
|
required: true
|
|
4192
4230
|
} }
|
|
4193
4231
|
};
|
|
@@ -4587,6 +4625,24 @@ given selected element.`,
|
|
|
4587
4625
|
};
|
|
4588
4626
|
}
|
|
4589
4627
|
|
|
4628
|
+
//#endregion
|
|
4629
|
+
//#region src/operation/metadata/set-variable.ts
|
|
4630
|
+
function setVariable$1() {
|
|
4631
|
+
return {
|
|
4632
|
+
description: `This operation sets a variable with the specified name on the context with the specified value.`,
|
|
4633
|
+
properties: {
|
|
4634
|
+
name: {
|
|
4635
|
+
type: "ParameterType:string",
|
|
4636
|
+
required: true
|
|
4637
|
+
},
|
|
4638
|
+
value: {
|
|
4639
|
+
type: "ParameterType:object",
|
|
4640
|
+
required: true
|
|
4641
|
+
}
|
|
4642
|
+
}
|
|
4643
|
+
};
|
|
4644
|
+
}
|
|
4645
|
+
|
|
4590
4646
|
//#endregion
|
|
4591
4647
|
//#region src/operation/metadata/start-action.ts
|
|
4592
4648
|
function startAction$1() {
|
|
@@ -4648,160 +4704,18 @@ function when$1() {
|
|
|
4648
4704
|
description: `When the given expression evaluates to false, subsequent operations will be skipped
|
|
4649
4705
|
until an {@link endWhen} or {@link otherwise} operation is encountered.
|
|
4650
4706
|
|
|
4651
|
-
Practically, this means an \`if\` or \`if\`/\`else\` statement control flow implementation in a list of operations
|
|
4707
|
+
Practically, this means an \`if\` or \`if\`/\`else\` statement control flow implementation in a list of operations.
|
|
4708
|
+
|
|
4709
|
+
The expression is passed in as a formatted string.
|
|
4710
|
+
The left and right values of the expression can be defined like this:
|
|
4711
|
+
|
|
4712
|
+
'constant': for a constant string
|
|
4713
|
+
100: for a constant number
|
|
4714
|
+
operationData.foo: for an operation data value
|
|
4715
|
+
globaldata.foo: for a global data value
|
|
4716
|
+
context.loopIndex: for a context value`,
|
|
4652
4717
|
properties: { expression: {
|
|
4653
|
-
type:
|
|
4654
|
-
{ value: "`${number}!=${number}`" },
|
|
4655
|
-
{ value: "`${number}!='${string}'`" },
|
|
4656
|
-
{ value: "`${number}!=operationdata.${string}`" },
|
|
4657
|
-
{ value: "`${number}!=globaldata.${string}`" },
|
|
4658
|
-
{ value: "`${number}!=context.${string}`" },
|
|
4659
|
-
{ value: "`${number}==${number}`" },
|
|
4660
|
-
{ value: "`${number}=='${string}'`" },
|
|
4661
|
-
{ value: "`${number}==operationdata.${string}`" },
|
|
4662
|
-
{ value: "`${number}==globaldata.${string}`" },
|
|
4663
|
-
{ value: "`${number}==context.${string}`" },
|
|
4664
|
-
{ value: "`${number}>=${number}`" },
|
|
4665
|
-
{ value: "`${number}>='${string}'`" },
|
|
4666
|
-
{ value: "`${number}>=operationdata.${string}`" },
|
|
4667
|
-
{ value: "`${number}>=globaldata.${string}`" },
|
|
4668
|
-
{ value: "`${number}>=context.${string}`" },
|
|
4669
|
-
{ value: "`${number}<=${number}`" },
|
|
4670
|
-
{ value: "`${number}<='${string}'`" },
|
|
4671
|
-
{ value: "`${number}<=operationdata.${string}`" },
|
|
4672
|
-
{ value: "`${number}<=globaldata.${string}`" },
|
|
4673
|
-
{ value: "`${number}<=context.${string}`" },
|
|
4674
|
-
{ value: "`${number}>${number}`" },
|
|
4675
|
-
{ value: "`${number}>'${string}'`" },
|
|
4676
|
-
{ value: "`${number}>operationdata.${string}`" },
|
|
4677
|
-
{ value: "`${number}>globaldata.${string}`" },
|
|
4678
|
-
{ value: "`${number}>context.${string}`" },
|
|
4679
|
-
{ value: "`${number}<${number}`" },
|
|
4680
|
-
{ value: "`${number}<'${string}'`" },
|
|
4681
|
-
{ value: "`${number}<operationdata.${string}`" },
|
|
4682
|
-
{ value: "`${number}<globaldata.${string}`" },
|
|
4683
|
-
{ value: "`${number}<context.${string}`" },
|
|
4684
|
-
{ value: "`'${string}'!=${number}`" },
|
|
4685
|
-
{ value: "`'${string}'!='${string}'`" },
|
|
4686
|
-
{ value: "`'${string}'!=operationdata.${string}`" },
|
|
4687
|
-
{ value: "`'${string}'!=globaldata.${string}`" },
|
|
4688
|
-
{ value: "`'${string}'!=context.${string}`" },
|
|
4689
|
-
{ value: "`'${string}'==${number}`" },
|
|
4690
|
-
{ value: "`'${string}'=='${string}'`" },
|
|
4691
|
-
{ value: "`'${string}'==operationdata.${string}`" },
|
|
4692
|
-
{ value: "`'${string}'==globaldata.${string}`" },
|
|
4693
|
-
{ value: "`'${string}'==context.${string}`" },
|
|
4694
|
-
{ value: "`'${string}'>=${number}`" },
|
|
4695
|
-
{ value: "`'${string}'>='${string}'`" },
|
|
4696
|
-
{ value: "`'${string}'>=operationdata.${string}`" },
|
|
4697
|
-
{ value: "`'${string}'>=globaldata.${string}`" },
|
|
4698
|
-
{ value: "`'${string}'>=context.${string}`" },
|
|
4699
|
-
{ value: "`'${string}'<=${number}`" },
|
|
4700
|
-
{ value: "`'${string}'<='${string}'`" },
|
|
4701
|
-
{ value: "`'${string}'<=operationdata.${string}`" },
|
|
4702
|
-
{ value: "`'${string}'<=globaldata.${string}`" },
|
|
4703
|
-
{ value: "`'${string}'<=context.${string}`" },
|
|
4704
|
-
{ value: "`'${string}'>${number}`" },
|
|
4705
|
-
{ value: "`'${string}'>'${string}'`" },
|
|
4706
|
-
{ value: "`'${string}'>operationdata.${string}`" },
|
|
4707
|
-
{ value: "`'${string}'>globaldata.${string}`" },
|
|
4708
|
-
{ value: "`'${string}'>context.${string}`" },
|
|
4709
|
-
{ value: "`'${string}'<${number}`" },
|
|
4710
|
-
{ value: "`'${string}'<'${string}'`" },
|
|
4711
|
-
{ value: "`'${string}'<operationdata.${string}`" },
|
|
4712
|
-
{ value: "`'${string}'<globaldata.${string}`" },
|
|
4713
|
-
{ value: "`'${string}'<context.${string}`" },
|
|
4714
|
-
{ value: "`operationdata.${string}!=${number}`" },
|
|
4715
|
-
{ value: "`operationdata.${string}!='${string}'`" },
|
|
4716
|
-
{ value: "`operationdata.${string}!=operationdata.${string}`" },
|
|
4717
|
-
{ value: "`operationdata.${string}!=globaldata.${string}`" },
|
|
4718
|
-
{ value: "`operationdata.${string}!=context.${string}`" },
|
|
4719
|
-
{ value: "`operationdata.${string}==${number}`" },
|
|
4720
|
-
{ value: "`operationdata.${string}=='${string}'`" },
|
|
4721
|
-
{ value: "`operationdata.${string}==operationdata.${string}`" },
|
|
4722
|
-
{ value: "`operationdata.${string}==globaldata.${string}`" },
|
|
4723
|
-
{ value: "`operationdata.${string}==context.${string}`" },
|
|
4724
|
-
{ value: "`operationdata.${string}>=${number}`" },
|
|
4725
|
-
{ value: "`operationdata.${string}>='${string}'`" },
|
|
4726
|
-
{ value: "`operationdata.${string}>=operationdata.${string}`" },
|
|
4727
|
-
{ value: "`operationdata.${string}>=globaldata.${string}`" },
|
|
4728
|
-
{ value: "`operationdata.${string}>=context.${string}`" },
|
|
4729
|
-
{ value: "`operationdata.${string}<=${number}`" },
|
|
4730
|
-
{ value: "`operationdata.${string}<='${string}'`" },
|
|
4731
|
-
{ value: "`operationdata.${string}<=operationdata.${string}`" },
|
|
4732
|
-
{ value: "`operationdata.${string}<=globaldata.${string}`" },
|
|
4733
|
-
{ value: "`operationdata.${string}<=context.${string}`" },
|
|
4734
|
-
{ value: "`operationdata.${string}>${number}`" },
|
|
4735
|
-
{ value: "`operationdata.${string}>'${string}'`" },
|
|
4736
|
-
{ value: "`operationdata.${string}>operationdata.${string}`" },
|
|
4737
|
-
{ value: "`operationdata.${string}>globaldata.${string}`" },
|
|
4738
|
-
{ value: "`operationdata.${string}>context.${string}`" },
|
|
4739
|
-
{ value: "`operationdata.${string}<${number}`" },
|
|
4740
|
-
{ value: "`operationdata.${string}<'${string}'`" },
|
|
4741
|
-
{ value: "`operationdata.${string}<operationdata.${string}`" },
|
|
4742
|
-
{ value: "`operationdata.${string}<globaldata.${string}`" },
|
|
4743
|
-
{ value: "`operationdata.${string}<context.${string}`" },
|
|
4744
|
-
{ value: "`globaldata.${string}!=${number}`" },
|
|
4745
|
-
{ value: "`globaldata.${string}!='${string}'`" },
|
|
4746
|
-
{ value: "`globaldata.${string}!=operationdata.${string}`" },
|
|
4747
|
-
{ value: "`globaldata.${string}!=globaldata.${string}`" },
|
|
4748
|
-
{ value: "`globaldata.${string}!=context.${string}`" },
|
|
4749
|
-
{ value: "`globaldata.${string}==${number}`" },
|
|
4750
|
-
{ value: "`globaldata.${string}=='${string}'`" },
|
|
4751
|
-
{ value: "`globaldata.${string}==operationdata.${string}`" },
|
|
4752
|
-
{ value: "`globaldata.${string}==globaldata.${string}`" },
|
|
4753
|
-
{ value: "`globaldata.${string}==context.${string}`" },
|
|
4754
|
-
{ value: "`globaldata.${string}>=${number}`" },
|
|
4755
|
-
{ value: "`globaldata.${string}>='${string}'`" },
|
|
4756
|
-
{ value: "`globaldata.${string}>=operationdata.${string}`" },
|
|
4757
|
-
{ value: "`globaldata.${string}>=globaldata.${string}`" },
|
|
4758
|
-
{ value: "`globaldata.${string}>=context.${string}`" },
|
|
4759
|
-
{ value: "`globaldata.${string}<=${number}`" },
|
|
4760
|
-
{ value: "`globaldata.${string}<='${string}'`" },
|
|
4761
|
-
{ value: "`globaldata.${string}<=operationdata.${string}`" },
|
|
4762
|
-
{ value: "`globaldata.${string}<=globaldata.${string}`" },
|
|
4763
|
-
{ value: "`globaldata.${string}<=context.${string}`" },
|
|
4764
|
-
{ value: "`globaldata.${string}>${number}`" },
|
|
4765
|
-
{ value: "`globaldata.${string}>'${string}'`" },
|
|
4766
|
-
{ value: "`globaldata.${string}>operationdata.${string}`" },
|
|
4767
|
-
{ value: "`globaldata.${string}>globaldata.${string}`" },
|
|
4768
|
-
{ value: "`globaldata.${string}>context.${string}`" },
|
|
4769
|
-
{ value: "`globaldata.${string}<${number}`" },
|
|
4770
|
-
{ value: "`globaldata.${string}<'${string}'`" },
|
|
4771
|
-
{ value: "`globaldata.${string}<operationdata.${string}`" },
|
|
4772
|
-
{ value: "`globaldata.${string}<globaldata.${string}`" },
|
|
4773
|
-
{ value: "`globaldata.${string}<context.${string}`" },
|
|
4774
|
-
{ value: "`context.${string}!=${number}`" },
|
|
4775
|
-
{ value: "`context.${string}!='${string}'`" },
|
|
4776
|
-
{ value: "`context.${string}!=operationdata.${string}`" },
|
|
4777
|
-
{ value: "`context.${string}!=globaldata.${string}`" },
|
|
4778
|
-
{ value: "`context.${string}!=context.${string}`" },
|
|
4779
|
-
{ value: "`context.${string}==${number}`" },
|
|
4780
|
-
{ value: "`context.${string}=='${string}'`" },
|
|
4781
|
-
{ value: "`context.${string}==operationdata.${string}`" },
|
|
4782
|
-
{ value: "`context.${string}==globaldata.${string}`" },
|
|
4783
|
-
{ value: "`context.${string}==context.${string}`" },
|
|
4784
|
-
{ value: "`context.${string}>=${number}`" },
|
|
4785
|
-
{ value: "`context.${string}>='${string}'`" },
|
|
4786
|
-
{ value: "`context.${string}>=operationdata.${string}`" },
|
|
4787
|
-
{ value: "`context.${string}>=globaldata.${string}`" },
|
|
4788
|
-
{ value: "`context.${string}>=context.${string}`" },
|
|
4789
|
-
{ value: "`context.${string}<=${number}`" },
|
|
4790
|
-
{ value: "`context.${string}<='${string}'`" },
|
|
4791
|
-
{ value: "`context.${string}<=operationdata.${string}`" },
|
|
4792
|
-
{ value: "`context.${string}<=globaldata.${string}`" },
|
|
4793
|
-
{ value: "`context.${string}<=context.${string}`" },
|
|
4794
|
-
{ value: "`context.${string}>${number}`" },
|
|
4795
|
-
{ value: "`context.${string}>'${string}'`" },
|
|
4796
|
-
{ value: "`context.${string}>operationdata.${string}`" },
|
|
4797
|
-
{ value: "`context.${string}>globaldata.${string}`" },
|
|
4798
|
-
{ value: "`context.${string}>context.${string}`" },
|
|
4799
|
-
{ value: "`context.${string}<${number}`" },
|
|
4800
|
-
{ value: "`context.${string}<'${string}'`" },
|
|
4801
|
-
{ value: "`context.${string}<operationdata.${string}`" },
|
|
4802
|
-
{ value: "`context.${string}<globaldata.${string}`" },
|
|
4803
|
-
{ value: "`context.${string}<context.${string}`" }
|
|
4804
|
-
],
|
|
4718
|
+
type: "ParameterType:expression",
|
|
4805
4719
|
required: true
|
|
4806
4720
|
} }
|
|
4807
4721
|
};
|
|
@@ -4851,6 +4765,7 @@ var metadata_exports = /* @__PURE__ */ __export({
|
|
|
4851
4765
|
setGlobalData: () => setGlobalData$1,
|
|
4852
4766
|
setOperationData: () => setOperationData$1,
|
|
4853
4767
|
setStyle: () => setStyle$1,
|
|
4768
|
+
setVariable: () => setVariable$1,
|
|
4854
4769
|
startAction: () => startAction$1,
|
|
4855
4770
|
toggleClass: () => toggleClass$1,
|
|
4856
4771
|
toggleElement: () => toggleElement$1,
|
|
@@ -5853,5 +5768,5 @@ var EligiusResourceImporter = class {
|
|
|
5853
5768
|
};
|
|
5854
5769
|
|
|
5855
5770
|
//#endregion
|
|
5856
|
-
export { Action, ActionCreator, ActionCreatorFactory, ActionEditor, ActionRegistryEventbusListener, ConfigurationFactory, ConfigurationResolver, ControllerNamesProvider, DEV_TOOLS_KEY, DevToolEventListener, Diagnostics, EligiusEngine, EligiusResourceImporter, EndableAction, EndableActionCreator, EndableActionEditor, EngineFactory, EventListenerController, Eventbus, LabelController, LanguageManager, LottieController, NavigationController, OperationEditor, OperationMetadataProvider, OperationNamesProvider, ProgressbarController, RequestAnimationFrameTimelineProvider, RequestVideoUriInterceptor, RoutingController, SubtitleEditor, SubtitleImporter, SubtitlesController, TimeLineEventNamesProvider, TimelineAction, TimelineActionCreator, TimelineActionEditor, TimelineEventNames, TimelineProviderSettingsEditor, TimelineProvidersSettingsEditor, VideoJsTimelineProvider, addClass, addControllerToElement, animate, animateWithClass, broadcastEvent, calc, clearElement, clearOperationData, createElement, customFunction, endAction, endForEach, endWhen, extendController, forEach, generateImporterSourceCode, getAttributesFromElement, getControllerFromElement, getControllerInstance, getElementDimensions, getImport, getQueryParams, invokeObjectMethod, loadJson, log, math, metadata_exports as metadata, otherwise, removeClass, removeControllerFromElement, removeElement, removePropertiesFromOperationData, reparentElement, requestAction, resizeAction, selectElement, setData, setElementAttributes, setElementContent, setGlobalData, setOperationData, setStyle, startAction, toggleClass, toggleElement, wait, when };
|
|
5771
|
+
export { Action, ActionCreator, ActionCreatorFactory, ActionEditor, ActionRegistryEventbusListener, ConfigurationFactory, ConfigurationResolver, ControllerNamesProvider, DEV_TOOLS_KEY, DevToolEventListener, Diagnostics, EligiusEngine, EligiusResourceImporter, EndableAction, EndableActionCreator, EndableActionEditor, EngineFactory, EventListenerController, Eventbus, LabelController, LanguageManager, LottieController, NavigationController, OperationEditor, OperationMetadataProvider, OperationNamesProvider, ProgressbarController, RequestAnimationFrameTimelineProvider, RequestVideoUriInterceptor, RoutingController, SubtitleEditor, SubtitleImporter, SubtitlesController, TimeLineEventNamesProvider, TimelineAction, TimelineActionCreator, TimelineActionEditor, TimelineEventNames, TimelineProviderSettingsEditor, TimelineProvidersSettingsEditor, VideoJsTimelineProvider, addClass, addControllerToElement, animate, animateWithClass, broadcastEvent, calc, clearElement, clearOperationData, createElement, customFunction, endAction, endForEach, endWhen, extendController, forEach, generateImporterSourceCode, getAttributesFromElement, getControllerFromElement, getControllerInstance, getElementDimensions, getImport, getQueryParams, invokeObjectMethod, loadJson, log, math, metadata_exports as metadata, otherwise, removeClass, removeControllerFromElement, removeElement, removePropertiesFromOperationData, reparentElement, requestAction, resizeAction, selectElement, setData, setElementAttributes, setElementContent, setGlobalData, setOperationData, setStyle, setVariable, startAction, toggleClass, toggleElement, wait, when };
|
|
5857
5772
|
//# sourceMappingURL=index.js.map
|