eligius 1.1.4 → 1.1.5
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 +8 -7
- package/dist/chunk-CTAAG5j7.js +13 -0
- package/dist/index.d.ts +2984 -22
- package/dist/index.js +5857 -7
- package/dist/index.js.map +1 -0
- package/package.json +53 -44
- package/dist/action/action.d.ts +0 -17
- package/dist/action/endable-action.d.ts +0 -9
- package/dist/action/index.d.ts +0 -3
- package/dist/action/timeline-action.d.ts +0 -14
- package/dist/action/types.d.ts +0 -17
- package/dist/build/generate-importer-source-code.d.ts +0 -15
- package/dist/build/index.d.ts +0 -1
- package/dist/configuration/api/action-creator-factory.d.ts +0 -31
- package/dist/configuration/api/action-editor.d.ts +0 -44
- package/dist/configuration/api/configuration-factory.d.ts +0 -135
- package/dist/configuration/api/index.d.ts +0 -7
- package/dist/configuration/api/label-editor.d.ts +0 -11
- package/dist/configuration/api/name-providers.d.ts +0 -13
- package/dist/configuration/api/subtitle-converter.d.ts +0 -11
- package/dist/configuration/api/subtitle-editor.d.ts +0 -24
- package/dist/configuration/api/timeline-provider-settings-editor.d.ts +0 -22
- package/dist/configuration/configuration-resolver.d.ts +0 -18
- package/dist/configuration/types.d.ts +0 -102
- package/dist/controllers/event-listener-controller.d.ts +0 -36
- package/dist/controllers/index.d.ts +0 -7
- package/dist/controllers/label-controller.d.ts +0 -31
- package/dist/controllers/lottie-controller.d.ts +0 -47
- package/dist/controllers/metadata/event-listener-controller.d.ts +0 -4
- package/dist/controllers/metadata/index.d.ts +0 -7
- package/dist/controllers/metadata/label-controller.d.ts +0 -4
- package/dist/controllers/metadata/lottie-controller.d.ts +0 -4
- package/dist/controllers/metadata/navigation-controller.d.ts +0 -4
- package/dist/controllers/metadata/progressbar-controller.d.ts +0 -4
- package/dist/controllers/metadata/routing-controller.d.ts +0 -4
- package/dist/controllers/metadata/subtitles-controller.d.ts +0 -4
- package/dist/controllers/metadata/types.d.ts +0 -6
- package/dist/controllers/navigation-controller.d.ts +0 -39
- package/dist/controllers/progressbar-controller.d.ts +0 -26
- package/dist/controllers/routing-controller.d.ts +0 -27
- package/dist/controllers/subtitles-controller.d.ts +0 -27
- package/dist/controllers/types.d.ts +0 -8
- package/dist/diagnostics/devtool-event-listener.d.ts +0 -7
- package/dist/diagnostics/diagnostics.d.ts +0 -5
- package/dist/diagnostics/index.d.ts +0 -3
- package/dist/diagnostics/types.d.ts +0 -28
- package/dist/eligius-engine.d.ts +0 -88
- package/dist/eligius-flow-controller.d.ts +0 -8
- package/dist/engine-factory.d.ts +0 -38
- package/dist/eventbus/actionregistry-eventbus-listener.d.ts +0 -11
- package/dist/eventbus/eventbus.d.ts +0 -18
- package/dist/eventbus/index.d.ts +0 -4
- package/dist/eventbus/request-video-uri-interceptor.d.ts +0 -6
- package/dist/eventbus/types.d.ts +0 -18
- package/dist/importer/eligius-resource-importer.d.ts +0 -9
- package/dist/importer/index.d.ts +0 -1
- package/dist/index.cjs +0 -6417
- package/dist/index.cjs.map +0 -7
- package/dist/index.cjs.min.js +0 -8
- package/dist/index.cjs.min.js.map +0 -7
- package/dist/index.esm.js +0 -8
- package/dist/index.esm.js.map +0 -7
- package/dist/language-manager.d.ts +0 -24
- package/dist/operation/add-class.d.ts +0 -14
- package/dist/operation/add-controller-to-element.d.ts +0 -15
- package/dist/operation/add-globals-to-operation.d.ts +0 -12
- package/dist/operation/animate-with-class.d.ts +0 -17
- package/dist/operation/animate.d.ts +0 -17
- package/dist/operation/broadcast-event.d.ts +0 -13
- package/dist/operation/calc.d.ts +0 -14
- package/dist/operation/clear-element.d.ts +0 -11
- package/dist/operation/clear-operation-data.d.ts +0 -10
- package/dist/operation/create-element.d.ts +0 -18
- package/dist/operation/custom-function.d.ts +0 -12
- package/dist/operation/end-action.d.ts +0 -17
- package/dist/operation/end-for-each.d.ts +0 -8
- package/dist/operation/end-when.d.ts +0 -8
- package/dist/operation/extend-controller.d.ts +0 -10
- package/dist/operation/for-each.d.ts +0 -19
- package/dist/operation/get-attributes-from-element.d.ts +0 -21
- package/dist/operation/get-controller-from-element.d.ts +0 -16
- package/dist/operation/get-controller-instance.d.ts +0 -17
- package/dist/operation/get-element-dimensions.d.ts +0 -30
- package/dist/operation/get-import.d.ts +0 -13
- package/dist/operation/get-query-params.d.ts +0 -28
- package/dist/operation/helper/attach-controller-to-element.d.ts +0 -3
- package/dist/operation/helper/deep-copy.d.ts +0 -1
- package/dist/operation/helper/find-matching-operation-index.d.ts +0 -35
- package/dist/operation/helper/get-element-data.d.ts +0 -7
- package/dist/operation/helper/get-property-chain-value.d.ts +0 -24
- package/dist/operation/helper/globals.d.ts +0 -4
- package/dist/operation/helper/internal-resolve.d.ts +0 -2
- package/dist/operation/helper/merge-operation-data.d.ts +0 -2
- package/dist/operation/helper/modify-dimensions.d.ts +0 -20
- package/dist/operation/helper/remove-event-data-from-operation-data.d.ts +0 -2
- package/dist/operation/helper/remove-global.d.ts +0 -1
- package/dist/operation/helper/resolve-event-arguments.d.ts +0 -2
- package/dist/operation/helper/resolve-external-property-chain.d.ts +0 -14
- package/dist/operation/helper/resolve-property-chain.d.ts +0 -23
- package/dist/operation/helper/resolve-property-values.d.ts +0 -11
- package/dist/operation/helper/set-global.d.ts +0 -1
- package/dist/operation/index.d.ts +0 -46
- package/dist/operation/invoke-object-method.d.ts +0 -28
- package/dist/operation/load-json.d.ts +0 -28
- package/dist/operation/log.d.ts +0 -8
- package/dist/operation/math.d.ts +0 -12
- package/dist/operation/metadata/add-class.d.ts +0 -4
- package/dist/operation/metadata/add-controller-to-element.d.ts +0 -4
- package/dist/operation/metadata/add-globals-to-operation.d.ts +0 -4
- package/dist/operation/metadata/animate-with-class.d.ts +0 -4
- package/dist/operation/metadata/animate.d.ts +0 -4
- package/dist/operation/metadata/broadcast-event.d.ts +0 -4
- package/dist/operation/metadata/calc.d.ts +0 -4
- package/dist/operation/metadata/clear-element.d.ts +0 -4
- package/dist/operation/metadata/clear-operation-data.d.ts +0 -4
- package/dist/operation/metadata/create-element.d.ts +0 -4
- package/dist/operation/metadata/custom-function.d.ts +0 -4
- package/dist/operation/metadata/end-action.d.ts +0 -4
- package/dist/operation/metadata/end-for-each.d.ts +0 -3
- package/dist/operation/metadata/end-when.d.ts +0 -3
- package/dist/operation/metadata/extend-controller.d.ts +0 -4
- package/dist/operation/metadata/for-each.d.ts +0 -4
- package/dist/operation/metadata/get-attributes-from-element.d.ts +0 -4
- package/dist/operation/metadata/get-controller-from-element.d.ts +0 -4
- package/dist/operation/metadata/get-controller-instance.d.ts +0 -4
- package/dist/operation/metadata/get-element-dimensions.d.ts +0 -4
- package/dist/operation/metadata/get-import.d.ts +0 -4
- package/dist/operation/metadata/get-query-params.d.ts +0 -4
- package/dist/operation/metadata/index.d.ts +0 -45
- package/dist/operation/metadata/invoke-object-method.d.ts +0 -4
- package/dist/operation/metadata/load-json.d.ts +0 -4
- package/dist/operation/metadata/log.d.ts +0 -3
- package/dist/operation/metadata/math.d.ts +0 -4
- package/dist/operation/metadata/otherwise.d.ts +0 -3
- package/dist/operation/metadata/remove-class.d.ts +0 -4
- package/dist/operation/metadata/remove-controller-from-element.d.ts +0 -4
- package/dist/operation/metadata/remove-element.d.ts +0 -4
- package/dist/operation/metadata/remove-properties-from-operation-data.d.ts +0 -4
- package/dist/operation/metadata/reparent-element.d.ts +0 -4
- package/dist/operation/metadata/request-action.d.ts +0 -4
- package/dist/operation/metadata/resize-action.d.ts +0 -4
- package/dist/operation/metadata/select-element.d.ts +0 -4
- package/dist/operation/metadata/set-data.d.ts +0 -4
- package/dist/operation/metadata/set-element-attributes.d.ts +0 -4
- package/dist/operation/metadata/set-element-content.d.ts +0 -4
- package/dist/operation/metadata/set-global-data.d.ts +0 -4
- package/dist/operation/metadata/set-operation-data.d.ts +0 -4
- package/dist/operation/metadata/set-style.d.ts +0 -4
- package/dist/operation/metadata/start-action.d.ts +0 -4
- package/dist/operation/metadata/toggle-class.d.ts +0 -4
- package/dist/operation/metadata/toggle-element.d.ts +0 -4
- package/dist/operation/metadata/types.d.ts +0 -29
- package/dist/operation/metadata/wait.d.ts +0 -4
- package/dist/operation/metadata/when.d.ts +0 -4
- package/dist/operation/otherwise.d.ts +0 -9
- package/dist/operation/remove-class.d.ts +0 -14
- package/dist/operation/remove-controller-from-element.d.ts +0 -14
- package/dist/operation/remove-element.d.ts +0 -13
- package/dist/operation/remove-properties-from-operation-data.d.ts +0 -12
- package/dist/operation/reparent-element.d.ts +0 -15
- package/dist/operation/request-action.d.ts +0 -14
- package/dist/operation/resize-action.d.ts +0 -12
- package/dist/operation/select-element.d.ts +0 -19
- package/dist/operation/set-data.d.ts +0 -21
- package/dist/operation/set-element-attributes.d.ts +0 -14
- package/dist/operation/set-element-content.d.ts +0 -21
- package/dist/operation/set-global-data.d.ts +0 -11
- package/dist/operation/set-operation-data.d.ts +0 -13
- package/dist/operation/set-style.d.ts +0 -15
- package/dist/operation/start-action.d.ts +0 -17
- package/dist/operation/toggle-class.d.ts +0 -23
- package/dist/operation/toggle-element.d.ts +0 -19
- package/dist/operation/types.d.ts +0 -55
- package/dist/operation/wait.d.ts +0 -14
- package/dist/operation/when.d.ts +0 -21
- package/dist/test/integration/create-language-selector.spec.d.ts +0 -1
- package/dist/test/integration/end-in-correct-order.spec.d.ts +0 -1
- package/dist/test/integration/for-each-loop.spec.d.ts +0 -1
- package/dist/test/integration/re-use-image-action.spec.d.ts +0 -1
- package/dist/test/integration/when-construction.spec.d.ts +0 -1
- package/dist/test/unit/action/action.spec.d.ts +0 -1
- package/dist/test/unit/build/generate-importer-source-code.spec.d.ts +0 -1
- package/dist/test/unit/chrono-trigger-engine.spec.d.ts +0 -1
- package/dist/test/unit/configuration/api/action-editor.spec.d.ts +0 -1
- package/dist/test/unit/configuration/api/configuration-factory.spec.d.ts +0 -1
- package/dist/test/unit/configuration/api/endable-action-editor.spec.d.ts +0 -1
- package/dist/test/unit/configuration/api/name-providers.spec.d.ts +0 -1
- package/dist/test/unit/configuration/api/subtitle-editor.spec.d.ts +0 -1
- package/dist/test/unit/configuration/api/timeline-action-editor.spec.d.ts +0 -1
- package/dist/test/unit/configuration/api/timeline-provider-settings-editor.spec.d.ts +0 -1
- package/dist/test/unit/configuration/configuration-resolver.spec.d.ts +0 -1
- package/dist/test/unit/controllers/EventListenerController.spec.d.ts +0 -1
- package/dist/test/unit/controllers/LabelController.spec.d.ts +0 -1
- package/dist/test/unit/engine-factory.spec.d.ts +0 -1
- package/dist/test/unit/eventbus/eventbus.spec.d.ts +0 -1
- package/dist/test/unit/importer/eligius-resource-importer.spec.d.ts +0 -1
- package/dist/test/unit/language-manager.spec.d.ts +0 -1
- package/dist/test/unit/operation/_operation-metadata.spec.d.ts +0 -1
- package/dist/test/unit/operation/add-class.spec.d.ts +0 -1
- package/dist/test/unit/operation/add-controller-to-element.spec.d.ts +0 -1
- package/dist/test/unit/operation/add-globals-to-operation.spec.d.ts +0 -1
- package/dist/test/unit/operation/animate-with-class.spec.d.ts +0 -1
- package/dist/test/unit/operation/animate.spec.d.ts +0 -1
- package/dist/test/unit/operation/broadcast-event.spec.d.ts +0 -1
- package/dist/test/unit/operation/calc.spec.d.ts +0 -1
- package/dist/test/unit/operation/clear-element.spec.d.ts +0 -1
- package/dist/test/unit/operation/clear-operation-data.spec.d.ts +0 -1
- package/dist/test/unit/operation/create-element.spec.d.ts +0 -1
- package/dist/test/unit/operation/custom-function.spec.d.ts +0 -1
- package/dist/test/unit/operation/end-action.spec.d.ts +0 -1
- package/dist/test/unit/operation/end-for-each.spec.d.ts +0 -1
- package/dist/test/unit/operation/end-when.spec.d.ts +0 -1
- package/dist/test/unit/operation/extend-controller.spec.d.ts +0 -1
- package/dist/test/unit/operation/for-each.spec.d.ts +0 -1
- package/dist/test/unit/operation/get-attributes-from-element.spec.d.ts +0 -1
- package/dist/test/unit/operation/get-controller-from-element.spec.d.ts +0 -1
- package/dist/test/unit/operation/get-controller-instance.spec.d.ts +0 -1
- package/dist/test/unit/operation/get-element-dimensions.spec.d.ts +0 -1
- package/dist/test/unit/operation/get-query-params.spec.d.ts +0 -1
- package/dist/test/unit/operation/helper/attach-controller-to-element.spec.d.ts +0 -1
- package/dist/test/unit/operation/helper/get-element-data.spec.d.ts +0 -1
- package/dist/test/unit/operation/helper/get-property-chain-value.spec.d.ts +0 -1
- package/dist/test/unit/operation/helper/globals.spec.d.ts +0 -1
- package/dist/test/unit/operation/helper/internal-resolve.spec.d.ts +0 -1
- package/dist/test/unit/operation/helper/merge-operation-data.spec.d.ts +0 -1
- package/dist/test/unit/operation/helper/modify-dimensions.spec.d.ts +0 -1
- package/dist/test/unit/operation/helper/remove-event-data-from-operation-data.spec.d.ts +0 -1
- package/dist/test/unit/operation/helper/remove-global.spec.d.ts +0 -1
- package/dist/test/unit/operation/helper/resolve-event-arguments.spec.d.ts +0 -1
- package/dist/test/unit/operation/helper/resolve-external-property-chain.spec.d.ts +0 -1
- package/dist/test/unit/operation/helper/resolve-property-values.spec.d.ts +0 -1
- package/dist/test/unit/operation/helper/set-global.spec.d.ts +0 -1
- package/dist/test/unit/operation/invoke-object-method.spec.d.ts +0 -1
- package/dist/test/unit/operation/load-json.spec.d.ts +0 -1
- package/dist/test/unit/operation/log.spec.d.ts +0 -1
- package/dist/test/unit/operation/math.spec.d.ts +0 -1
- package/dist/test/unit/operation/otherwise.spec.d.ts +0 -1
- package/dist/test/unit/operation/remove-class.spec.d.ts +0 -1
- package/dist/test/unit/operation/remove-properties-from-operation-data.spec.d.ts +0 -1
- package/dist/test/unit/operation/reparent-element.spec.d.ts +0 -1
- package/dist/test/unit/operation/request-action.spec.d.ts +0 -1
- package/dist/test/unit/operation/resize-action.spec.d.ts +0 -1
- package/dist/test/unit/operation/select-element.spec.d.ts +0 -1
- package/dist/test/unit/operation/set-data.spec.d.ts +0 -1
- package/dist/test/unit/operation/set-element-attributes.spec.d.ts +0 -1
- package/dist/test/unit/operation/set-element-content.spec.d.ts +0 -1
- package/dist/test/unit/operation/set-global-data.spec.d.ts +0 -1
- package/dist/test/unit/operation/set-operation-data.spec.d.ts +0 -1
- package/dist/test/unit/operation/set-style.spec.d.ts +0 -1
- package/dist/test/unit/operation/start-action.spec.d.ts +0 -1
- package/dist/test/unit/operation/toggle-class.spec.d.ts +0 -1
- package/dist/test/unit/operation/toggle-element.spec.d.ts +0 -1
- package/dist/test/unit/operation/wait.spec.d.ts +0 -1
- package/dist/test/unit/operation/when.spec.d.ts +0 -1
- package/dist/test/unit/timelineproviders/request-animation-frame-timeline-provider.spec.d.ts +0 -1
- package/dist/test/unit/util/prepare-value-for-serialization.spec.d.ts +0 -1
- package/dist/timeline-event-names.d.ts +0 -81
- package/dist/timelineproviders/index.d.ts +0 -2
- package/dist/timelineproviders/request-animation-frame-timeline-provider.d.ts +0 -40
- package/dist/timelineproviders/types.d.ts +0 -21
- package/dist/timelineproviders/video-js-timeline-provider.d.ts +0 -39
- package/dist/tools/doc-tools/generate-readmes.d.ts +0 -1
- package/dist/tools/schema-tools/generate-operation-schemas.d.ts +0 -1
- package/dist/tools/schema-tools/html-tag-names.d.ts +0 -1
- package/dist/types.d.ts +0 -103
- package/dist/util/animation-interval.d.ts +0 -1
- package/dist/util/apply-operation.d.ts +0 -3
- package/dist/util/camel-case-to-dash.d.ts +0 -1
- package/dist/util/dash-to-camel-case.d.ts +0 -1
- package/dist/util/guards/is-function.d.ts +0 -1
- package/dist/util/guards/is-object.d.ts +0 -1
- package/dist/util/guards/is-promise.d.ts +0 -1
- package/dist/util/guards/is-string.d.ts +0 -1
- package/dist/util/prepare-value-for-serialization.d.ts +0 -1
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { TOperation } from './types';
|
|
2
|
-
export interface IInvokeObjectMethodOperationData {
|
|
3
|
-
/**
|
|
4
|
-
* The given object instance
|
|
5
|
-
*
|
|
6
|
-
*/
|
|
7
|
-
instance: any;
|
|
8
|
-
/**
|
|
9
|
-
* The method name on the given object that will be invoked
|
|
10
|
-
*/
|
|
11
|
-
methodName: string;
|
|
12
|
-
/**
|
|
13
|
-
* Arguments that will be passed to the specified method
|
|
14
|
-
*/
|
|
15
|
-
methodArguments?: any[];
|
|
16
|
-
/**
|
|
17
|
-
* If any, the results of the method invocation are assigned to the property
|
|
18
|
-
*/
|
|
19
|
-
methodResult?: any;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* This operation invokes the specified method on the given object with the given optional arguments
|
|
23
|
-
* and assigns the result to the `methodResult` operationdata property.
|
|
24
|
-
*
|
|
25
|
-
* @param operationData
|
|
26
|
-
* @returns
|
|
27
|
-
*/
|
|
28
|
-
export declare const invokeObjectMethod: TOperation<IInvokeObjectMethodOperationData>;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { TOperation } from './types';
|
|
2
|
-
export interface ILoadJSONOperationData {
|
|
3
|
-
/**
|
|
4
|
-
* The URL where the JSON will be retrieved from
|
|
5
|
-
*/
|
|
6
|
-
url: string;
|
|
7
|
-
/**
|
|
8
|
-
* If true, the results will be added to the cache and any subsequent call will use this cache
|
|
9
|
-
*/
|
|
10
|
-
cache: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* The JSON retrieved from the given URL
|
|
13
|
-
*/
|
|
14
|
-
json?: any;
|
|
15
|
-
}
|
|
16
|
-
export declare const clearCache: () => void;
|
|
17
|
-
export declare const addToCache: (key: string, value: any) => void;
|
|
18
|
-
/**
|
|
19
|
-
* This operation loads a JSON file from the specified url and assigns it to the json
|
|
20
|
-
* property on the current operation data.
|
|
21
|
-
*
|
|
22
|
-
* If the cache property is set to true and a cached value already exists, this is assigned
|
|
23
|
-
* instead of re-retrieving it from the url.
|
|
24
|
-
*
|
|
25
|
-
* @param operationData
|
|
26
|
-
* @returns
|
|
27
|
-
*/
|
|
28
|
-
export declare const loadJSON: TOperation<ILoadJSONOperationData>;
|
package/dist/operation/log.d.ts
DELETED
package/dist/operation/math.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { TOperation } from './types';
|
|
2
|
-
export interface IMathOperationData {
|
|
3
|
-
args: (number | string | keyof Math)[];
|
|
4
|
-
functionName: keyof Math;
|
|
5
|
-
mathResult?: number;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* This operation performs the given math function with the specified arguments.
|
|
9
|
-
*
|
|
10
|
-
* @param operationData
|
|
11
|
-
*/
|
|
12
|
-
export declare const math: TOperation<IMathOperationData>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { IAddControllerToElementOperationData } from '../../operation/add-controller-to-element';
|
|
2
|
-
import { IOperationMetadata } from './types';
|
|
3
|
-
declare function addControllerToElement(): IOperationMetadata<IAddControllerToElementOperationData>;
|
|
4
|
-
export default addControllerToElement;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { IGetAttributesFromElementOperationData } from '../get-attributes-from-element';
|
|
2
|
-
import { IOperationMetadata } from './types';
|
|
3
|
-
declare function getAttributesFromElement(): IOperationMetadata<IGetAttributesFromElementOperationData>;
|
|
4
|
-
export default getAttributesFromElement;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { IGetControllerFromElementOperationData } from '../../operation/get-controller-from-element';
|
|
2
|
-
import { IOperationMetadata } from './types';
|
|
3
|
-
declare function getControllerFromElement(): IOperationMetadata<IGetControllerFromElementOperationData>;
|
|
4
|
-
export default getControllerFromElement;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { IGetControllerInstanceOperationData } from '../../operation/get-controller-instance';
|
|
2
|
-
import { IOperationMetadata } from './types';
|
|
3
|
-
declare function getControllerInstance(): IOperationMetadata<IGetControllerInstanceOperationData>;
|
|
4
|
-
export default getControllerInstance;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { IGetElementDimensionsOperationData } from '../../operation/get-element-dimensions';
|
|
2
|
-
import { IOperationMetadata } from './types';
|
|
3
|
-
declare function getElementDimensions(): IOperationMetadata<IGetElementDimensionsOperationData>;
|
|
4
|
-
export default getElementDimensions;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
export { default as addClass } from './add-class';
|
|
2
|
-
export { default as addControllerToElement } from './add-controller-to-element';
|
|
3
|
-
export { default as animate } from './animate';
|
|
4
|
-
export { default as animateWithClass } from './animate-with-class';
|
|
5
|
-
export { default as broadcastEvent } from './broadcast-event';
|
|
6
|
-
export { default as calc } from './calc';
|
|
7
|
-
export { default as clearElement } from './clear-element';
|
|
8
|
-
export { default as clearOperationData } from './clear-operation-data';
|
|
9
|
-
export { default as createElement } from './create-element';
|
|
10
|
-
export { default as customFunction } from './custom-function';
|
|
11
|
-
export { default as endAction } from './end-action';
|
|
12
|
-
export { default as endForEach } from './end-for-each';
|
|
13
|
-
export { default as endWhen } from './end-when';
|
|
14
|
-
export { default as extendController } from './extend-controller';
|
|
15
|
-
export { default as forEach } from './for-each';
|
|
16
|
-
export { default as getAttributesFromElement } from './get-attributes-from-element';
|
|
17
|
-
export { default as getControllerFromElement } from './get-controller-from-element';
|
|
18
|
-
export { default as getControllerInstance } from './get-controller-instance';
|
|
19
|
-
export { default as getElementDimensions } from './get-element-dimensions';
|
|
20
|
-
export { default as getImport } from './get-import';
|
|
21
|
-
export { default as getQueryParams } from './get-query-params';
|
|
22
|
-
export { default as invokeObjectMethod } from './invoke-object-method';
|
|
23
|
-
export { default as loadJSON } from './load-json';
|
|
24
|
-
export { default as log } from './log';
|
|
25
|
-
export { default as math } from './math';
|
|
26
|
-
export { default as otherwise } from './otherwise';
|
|
27
|
-
export { default as removeClass } from './remove-class';
|
|
28
|
-
export { default as removeControllerFromElement } from './remove-controller-from-element';
|
|
29
|
-
export { default as removeElement } from './remove-element';
|
|
30
|
-
export { default as removePropertiesFromOperationData } from './remove-properties-from-operation-data';
|
|
31
|
-
export { default as reparentElement } from './reparent-element';
|
|
32
|
-
export { default as requestAction } from './request-action';
|
|
33
|
-
export { default as resizeAction } from './resize-action';
|
|
34
|
-
export { default as selectElement } from './select-element';
|
|
35
|
-
export { default as setData } from './set-data';
|
|
36
|
-
export { default as setElementAttributes } from './set-element-attributes';
|
|
37
|
-
export { default as setElementContent } from './set-element-content';
|
|
38
|
-
export { default as setGlobalData } from './set-global-data';
|
|
39
|
-
export { default as setOperationData } from './set-operation-data';
|
|
40
|
-
export { default as setStyle } from './set-style';
|
|
41
|
-
export { default as startAction } from './start-action';
|
|
42
|
-
export { default as toggleClass } from './toggle-class';
|
|
43
|
-
export { default as toggleElement } from './toggle-element';
|
|
44
|
-
export { default as wait } from './wait';
|
|
45
|
-
export { default as when } from './when';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { IRemoveControllerFromElementOperationData } from '../../operation/remove-controller-from-element';
|
|
2
|
-
import { IOperationMetadata } from './types';
|
|
3
|
-
declare function removeControllerFromElement(): IOperationMetadata<IRemoveControllerFromElementOperationData>;
|
|
4
|
-
export default removeControllerFromElement;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { IRemovePropertiesFromOperationDataOperationData } from '../../operation/remove-properties-from-operation-data';
|
|
2
|
-
import { IOperationMetadata } from './types';
|
|
3
|
-
declare function removePropertiesFromOperationData(): IOperationMetadata<IRemovePropertiesFromOperationDataOperationData>;
|
|
4
|
-
export default removePropertiesFromOperationData;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ISetElementAttributesOperationData } from '../../operation/set-element-attributes';
|
|
2
|
-
import { IOperationMetadata } from './types';
|
|
3
|
-
declare function setElementAttributes(): IOperationMetadata<ISetElementAttributesOperationData>;
|
|
4
|
-
export default setElementAttributes;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export type THasRequired = {
|
|
2
|
-
required?: boolean;
|
|
3
|
-
};
|
|
4
|
-
export type THasDescription = {
|
|
5
|
-
description?: string;
|
|
6
|
-
};
|
|
7
|
-
export type TComplexProperyMetadata = {
|
|
8
|
-
type: TParameterTypes;
|
|
9
|
-
defaultValue?: any;
|
|
10
|
-
} & THasRequired & THasDescription;
|
|
11
|
-
export type TArrayProperyMetadata = {
|
|
12
|
-
type: 'ParameterType:array';
|
|
13
|
-
itemType: TParameterTypes;
|
|
14
|
-
} & THasRequired & THasDescription;
|
|
15
|
-
export type TConstantParametersTypes = {
|
|
16
|
-
value: string;
|
|
17
|
-
default?: boolean;
|
|
18
|
-
} & THasRequired & THasDescription;
|
|
19
|
-
export type TPropertyMetadata = TComplexProperyMetadata | TArrayProperyMetadata | TParameterTypes | TConstantParametersTypes[];
|
|
20
|
-
export type TPropertiesMetadata<T> = {
|
|
21
|
-
[P in keyof T]?: TPropertyMetadata;
|
|
22
|
-
};
|
|
23
|
-
export interface IOperationMetadata<T> {
|
|
24
|
-
description: string;
|
|
25
|
-
dependentProperties?: (keyof T)[];
|
|
26
|
-
properties?: TPropertiesMetadata<T>;
|
|
27
|
-
outputProperties?: TPropertiesMetadata<T>;
|
|
28
|
-
}
|
|
29
|
-
export 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';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { TOperation } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* If the preceeding {@link when} operation evaluates to `true` subsequent operations will
|
|
4
|
-
* be skipped until an {@link endWhen} operation is encountered.
|
|
5
|
-
*
|
|
6
|
-
* @param operationData
|
|
7
|
-
* @returns
|
|
8
|
-
*/
|
|
9
|
-
export declare const otherwise: TOperation<{}>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="jquery" />
|
|
2
|
-
/// <reference types="jquery" />
|
|
3
|
-
import { TOperation } from './types';
|
|
4
|
-
export interface IRemoveClassOperationData {
|
|
5
|
-
selectedElement: JQuery;
|
|
6
|
-
className: string;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* This operation removes the spcified class name from the given selected element.
|
|
10
|
-
*
|
|
11
|
-
* @param operationData
|
|
12
|
-
* @returns
|
|
13
|
-
*/
|
|
14
|
-
export declare const removeClass: TOperation<IRemoveClassOperationData>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="jquery" />
|
|
2
|
-
/// <reference types="jquery" />
|
|
3
|
-
import { TOperation } from './types';
|
|
4
|
-
export interface IRemoveControllerFromElementOperationData {
|
|
5
|
-
selectedElement: JQuery;
|
|
6
|
-
controllerName: string;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* This operation removes the controller with the specified name from the given selected element.
|
|
10
|
-
*
|
|
11
|
-
* @param operationData
|
|
12
|
-
* @returns
|
|
13
|
-
*/
|
|
14
|
-
export declare const removeControllerFromElement: TOperation<IRemoveControllerFromElementOperationData>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="jquery" />
|
|
2
|
-
/// <reference types="jquery" />
|
|
3
|
-
import { TOperation } from './types';
|
|
4
|
-
export interface IRemoveElementOperationData {
|
|
5
|
-
selectedElement: JQuery;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* This operation removes the given selected element from the DOM.
|
|
9
|
-
*
|
|
10
|
-
* @param operationData
|
|
11
|
-
* @returns
|
|
12
|
-
*/
|
|
13
|
-
export declare const removeElement: TOperation<IRemoveElementOperationData>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { TOperation } from './types';
|
|
2
|
-
export interface IRemovePropertiesFromOperationDataOperationData {
|
|
3
|
-
propertyNames: string[];
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* This operation removes the given list of properties from the current operation data.
|
|
7
|
-
* It will also omit the property 'propertyNames' from the result.
|
|
8
|
-
*
|
|
9
|
-
* @param operationData
|
|
10
|
-
* @returns
|
|
11
|
-
*/
|
|
12
|
-
export declare const removePropertiesFromOperationData: TOperation<IRemovePropertiesFromOperationDataOperationData>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/// <reference types="jquery" />
|
|
2
|
-
/// <reference types="jquery" />
|
|
3
|
-
import { TOperation } from './types';
|
|
4
|
-
export interface IReparentElementOperationData {
|
|
5
|
-
selectedElement: JQuery;
|
|
6
|
-
newParentSelector: string;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* This operation moves the given selected element to the new parent that is defined
|
|
10
|
-
* by the specified `newParentSelector`.
|
|
11
|
-
*
|
|
12
|
-
* @param operationData
|
|
13
|
-
* @returns
|
|
14
|
-
*/
|
|
15
|
-
export declare const reparentElement: TOperation<IReparentElementOperationData>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { IAction } from '../action/types';
|
|
2
|
-
import { TOperation } from './types';
|
|
3
|
-
export interface IRequestActionOperationData {
|
|
4
|
-
systemName: string;
|
|
5
|
-
actionInstance?: IAction;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* This operation requests an action instance with the specified name and assigns it
|
|
9
|
-
* to the `actionInstance` property on the current operation data.
|
|
10
|
-
*
|
|
11
|
-
* @param operationData
|
|
12
|
-
* @returns
|
|
13
|
-
*/
|
|
14
|
-
export declare const requestAction: TOperation<IRequestActionOperationData>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { TOperation } from './types';
|
|
2
|
-
export interface IResizeActionOperationData {
|
|
3
|
-
actionInstance: any;
|
|
4
|
-
actionOperationData: any;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated
|
|
8
|
-
*
|
|
9
|
-
* @param operationData
|
|
10
|
-
* @returns
|
|
11
|
-
*/
|
|
12
|
-
export declare const resizeAction: TOperation<IResizeActionOperationData>;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/// <reference types="jquery" />
|
|
2
|
-
/// <reference types="jquery" />
|
|
3
|
-
import { TOperation } from './types';
|
|
4
|
-
export interface ISelectElementOperationData {
|
|
5
|
-
selector: string;
|
|
6
|
-
useSelectedElementAsRoot?: boolean;
|
|
7
|
-
selectedElement?: JQuery;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* This operation selects one or more elements using the specified selector.
|
|
11
|
-
*
|
|
12
|
-
* If `useSelectedElementAsRoot` is set to true and a valid DOM element is assigned
|
|
13
|
-
* to the current operation data's `selectedElement` property
|
|
14
|
-
* then the element will be looked for only in the descendant elements of this DOM element.
|
|
15
|
-
*
|
|
16
|
-
* @param operationData
|
|
17
|
-
* @returns
|
|
18
|
-
*/
|
|
19
|
-
export declare const selectElement: TOperation<ISelectElementOperationData>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { TOperation } from './types';
|
|
2
|
-
export type TDataTarget = `context.${string}` | `operationdata.${string}` | `globaldata.${string}`;
|
|
3
|
-
export interface ISetDataOperationData {
|
|
4
|
-
properties: Record<TDataTarget, any>;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* This operation assigns the specified properties to the specified data targets.
|
|
8
|
-
*
|
|
9
|
-
* @example The various ways of assigning data
|
|
10
|
-
* ```ts
|
|
11
|
-
* setData({
|
|
12
|
-
* 'operationdata.foo': 'context.currentItem', // context.currentItem will be assigned to operationdata.foo
|
|
13
|
-
* 'globaldata.foo': 'context.currentItem', // context.currentItem will be assigned to globaldata.foo
|
|
14
|
-
* 'context.newIndex': 100, // The constant 100 will be assigned to context.newIndex
|
|
15
|
-
* })
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @param operationData
|
|
19
|
-
* @returns
|
|
20
|
-
*/
|
|
21
|
-
export declare const setData: TOperation<ISetDataOperationData>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="jquery" />
|
|
2
|
-
/// <reference types="jquery" />
|
|
3
|
-
import { TOperation } from './types';
|
|
4
|
-
export interface ISetElementAttributesOperationData {
|
|
5
|
-
attributes: Record<string, any>;
|
|
6
|
-
selectedElement: JQuery;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* This operation sets the specified set of attributes on the given selected element.
|
|
10
|
-
*
|
|
11
|
-
* @param operationData
|
|
12
|
-
* @returns
|
|
13
|
-
*/
|
|
14
|
-
export declare const setElementAttributes: TOperation<ISetElementAttributesOperationData>;
|