eligius 1.0.11 → 1.0.13

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.
@@ -7,6 +7,10 @@ export interface IEndActionOperationData {
7
7
  /**
8
8
  * This operation invokes the end() method on the specified action instance.
9
9
  *
10
+ * The action operation data is first merged with the current operation data before it is
11
+ * passed on to the action. After the action has completed the action operation data properties
12
+ * are removed from the current operation data.
13
+ *
10
14
  * @param operationData
11
15
  * @returns
12
16
  */
@@ -0,0 +1,3 @@
1
+ export declare const getGlobals: (name?: string) => Record<string, any> | any;
2
+ export declare const setGlobals: (newValues: Record<string, any>) => void;
3
+ export declare const clearGlobals: () => void;
@@ -30,6 +30,7 @@ export { resizeAction } from './resize-action';
30
30
  export { selectElement } from './select-element';
31
31
  export { setElementAttributes } from './set-element-attributes';
32
32
  export { setElementContent } from './set-element-content';
33
+ export { setGlobalData } from './set-global-data';
33
34
  export { setOperationData } from './set-operation-data';
34
35
  export { setStyle } from './set-style';
35
36
  export { startAction } from './start-action';
@@ -30,6 +30,7 @@ export { default as resizeAction } from './resize-action';
30
30
  export { default as selectElement } from './select-element';
31
31
  export { default as setElementAttributes } from './set-element-attributes';
32
32
  export { default as setElementContent } from './set-element-content';
33
+ export { default as setGlobalData } from './set-global-data';
33
34
  export { default as setOperationData } from './set-operation-data';
34
35
  export { default as setStyle } from './set-style';
35
36
  export { default as startAction } from './start-action';
@@ -0,0 +1,4 @@
1
+ import { ISetGlobalDataOperationData } from '../set-global-data';
2
+ import { IOperationMetadata } from './types';
3
+ declare function setGlobalData(): IOperationMetadata<ISetGlobalDataOperationData>;
4
+ export default setGlobalData;
@@ -0,0 +1,11 @@
1
+ import { TOperation } from './types';
2
+ export interface ISetGlobalDataOperationData {
3
+ properties: string[];
4
+ }
5
+ /**
6
+ * This operation copies the specified values from the operationData to the global data.
7
+ *
8
+ * @param operationData
9
+ * @returns
10
+ */
11
+ export declare const setGlobalData: TOperation<ISetGlobalDataOperationData>;
@@ -22,6 +22,7 @@ export declare class RequestAnimationFrameTimelineProvider implements ITimelineP
22
22
  playlistItem(uri: string): void;
23
23
  private _addEventListeners;
24
24
  private _update;
25
+ private _broadCastPosition;
25
26
  private _start;
26
27
  private _resetToStartPosition;
27
28
  private _resize;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.11",
2
+ "version": "1.0.13",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "homepage": "https://rolandzwaga.github.io/eligius/",
@@ -50,14 +50,14 @@
50
50
  "@types/jasmine": "4.3.0",
51
51
  "@types/jquery": "3.5.14",
52
52
  "@types/jsdom": "^20.0.0",
53
- "@types/node": "18.11.5",
53
+ "@types/node": "18.11.7",
54
54
  "@types/sinon": "10.0.13",
55
55
  "@types/uuid": "8.3.4",
56
56
  "acorn": "8.8.1",
57
57
  "ajv": "8.11.0",
58
58
  "astring": "1.8.3",
59
59
  "babel-jest": "29.2.2",
60
- "canvas": "2.10.1",
60
+ "canvas": "2.10.2",
61
61
  "chai": "4.3.6",
62
62
  "cross-env": "7.0.3",
63
63
  "dts-cli": "1.6.0",
@@ -72,9 +72,9 @@
72
72
  "size-limit": "8.1.0",
73
73
  "ts-morph": "16.0.0",
74
74
  "ts-node": "10.9.1",
75
- "tsconfig-paths": "^4.1.0",
75
+ "tsconfig-paths": "4.1.0",
76
76
  "tslib": "2.4.0",
77
- "typedoc": "0.23.18",
77
+ "typedoc": "0.23.19",
78
78
  "typedoc-plugin-missing-exports": "1.0.0",
79
79
  "typescript": "4.8.4",
80
80
  "uvu": "0.5.6"
@@ -1 +0,0 @@
1
- export declare const getGlobals: (name?: string) => any;