eligius 1.5.1 → 1.5.3
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/LICENSE +21 -21
- package/README.md +309 -311
- package/dist/chunk-C6wwvPpM.mjs +18 -0
- package/dist/index.d.mts +168 -181
- package/dist/index.mjs +896 -955
- package/dist/index.mjs.map +1 -1
- package/jsonschema/eligius-configuration.json +122 -122
- package/jsonschema/engine-config.json +21 -21
- package/jsonschema/mediaplayer-timeline-provider-settings.json +40 -40
- package/jsonschema/operation-templates/animate-with-class.json +1 -3
- package/jsonschema/operation-templates/break-for-each.json +1 -1
- package/jsonschema/operation-templates/clear-operation-data.json +1 -3
- package/jsonschema/operation-templates/clear-storage.json +1 -3
- package/jsonschema/operation-templates/concatenate-strings.json +1 -3
- package/jsonschema/operation-templates/continue-for-each.json +1 -1
- package/jsonschema/operation-templates/create-element.json +1 -3
- package/jsonschema/operation-templates/filter-array.json +2 -6
- package/jsonschema/operation-templates/find-in-array.json +2 -6
- package/jsonschema/operation-templates/get-query-params.json +1 -3
- package/jsonschema/operation-templates/http-delete.json +1 -3
- package/jsonschema/operation-templates/http-post.json +1 -3
- package/jsonschema/operation-templates/http-put.json +1 -3
- package/jsonschema/operation-templates/invoke-object-method.json +1 -3
- package/jsonschema/operation-templates/load-json.json +1 -3
- package/jsonschema/operation-templates/log.json +1 -3
- package/jsonschema/operation-templates/select-element.json +1 -3
- package/jsonschema/operation-templates/set-operation-data.json +1 -3
- package/jsonschema/operation-templates/sort-array.json +2 -6
- package/jsonschema/operation-templates/split-string.json +1 -3
- package/jsonschema/operation-templates/substring-text.json +1 -3
- package/jsonschema/operation-templates/validate-form.json +1 -3
- package/jsonschema/operations/animate-with-class.json +1 -3
- package/jsonschema/operations/break-for-each.json +1 -1
- package/jsonschema/operations/clear-operation-data.json +1 -3
- package/jsonschema/operations/clear-storage.json +1 -3
- package/jsonschema/operations/concatenate-strings.json +1 -3
- package/jsonschema/operations/continue-for-each.json +1 -1
- package/jsonschema/operations/create-element.json +1 -3
- package/jsonschema/operations/filter-array.json +2 -6
- package/jsonschema/operations/find-in-array.json +2 -6
- package/jsonschema/operations/get-query-params.json +1 -3
- package/jsonschema/operations/http-delete.json +1 -3
- package/jsonschema/operations/http-post.json +1 -3
- package/jsonschema/operations/http-put.json +1 -3
- package/jsonschema/operations/invoke-object-method.json +1 -3
- package/jsonschema/operations/load-json.json +1 -3
- package/jsonschema/operations/log.json +1 -3
- package/jsonschema/operations/select-element.json +1 -3
- package/jsonschema/operations/set-operation-data.json +1 -3
- package/jsonschema/operations/sort-array.json +2 -6
- package/jsonschema/operations/split-string.json +1 -3
- package/jsonschema/operations/substring-text.json +1 -3
- package/jsonschema/operations/validate-form.json +1 -3
- package/jsonschema/raf-timeline-provider-settings.json +29 -29
- package/jsonschema/timeline-provider-settings.json +16 -16
- package/jsonschema/timeline.json +52 -52
- package/package.json +13 -16
- package/dist/chunk-z5eko27R.mjs +0 -13
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"$id": "http://eligius.com/schema/break-for-each-operation.json",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"title": "The breakForEach schema",
|
|
7
|
-
"description": "
|
|
7
|
+
"description": "This operation should only be used within a loop, so between a {@link forEach} and {@link endForEach}\noperation. This operation immediately moves to the loop end index, effectively stopping the loop.",
|
|
8
8
|
"required": [
|
|
9
9
|
"systemName"
|
|
10
10
|
],
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"$id": "http://eligius.com/schema/continue-for-each-operation.json",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"title": "The continueForEach schema",
|
|
7
|
-
"description": "
|
|
7
|
+
"description": "This operation should only be used within a loop, so between a {@link forEach} and {@link endForEach}\noperation. This operation immediately moves to the next loop index, effectively canceling the rest\nof the operations in the current iteration.",
|
|
8
8
|
"required": [
|
|
9
9
|
"systemName"
|
|
10
10
|
],
|
|
@@ -31,9 +31,7 @@
|
|
|
31
31
|
"properties": {
|
|
32
32
|
"filterProperty": {
|
|
33
33
|
"$id": "#/properties/operationData/filterProperty",
|
|
34
|
-
"type":
|
|
35
|
-
"string"
|
|
36
|
-
]
|
|
34
|
+
"type": "array"
|
|
37
35
|
},
|
|
38
36
|
"filterValue": {
|
|
39
37
|
"$id": "#/properties/operationData/filterValue",
|
|
@@ -43,9 +41,7 @@
|
|
|
43
41
|
},
|
|
44
42
|
"filterPredicate": {
|
|
45
43
|
"$id": "#/properties/operationData/filterPredicate",
|
|
46
|
-
"type":
|
|
47
|
-
"string"
|
|
48
|
-
]
|
|
44
|
+
"type": "array"
|
|
49
45
|
}
|
|
50
46
|
}
|
|
51
47
|
}
|
|
@@ -31,9 +31,7 @@
|
|
|
31
31
|
"properties": {
|
|
32
32
|
"findProperty": {
|
|
33
33
|
"$id": "#/properties/operationData/findProperty",
|
|
34
|
-
"type":
|
|
35
|
-
"string"
|
|
36
|
-
]
|
|
34
|
+
"type": "array"
|
|
37
35
|
},
|
|
38
36
|
"findValue": {
|
|
39
37
|
"$id": "#/properties/operationData/findValue",
|
|
@@ -43,9 +41,7 @@
|
|
|
43
41
|
},
|
|
44
42
|
"findPredicate": {
|
|
45
43
|
"$id": "#/properties/operationData/findPredicate",
|
|
46
|
-
"type":
|
|
47
|
-
"string"
|
|
48
|
-
]
|
|
44
|
+
"type": "array"
|
|
49
45
|
}
|
|
50
46
|
}
|
|
51
47
|
}
|
|
@@ -31,9 +31,7 @@
|
|
|
31
31
|
"properties": {
|
|
32
32
|
"sortProperty": {
|
|
33
33
|
"$id": "#/properties/operationData/sortProperty",
|
|
34
|
-
"type":
|
|
35
|
-
"string"
|
|
36
|
-
]
|
|
34
|
+
"type": "array"
|
|
37
35
|
},
|
|
38
36
|
"sortOrder": {
|
|
39
37
|
"$id": "#/properties/operationData/sortOrder",
|
|
@@ -41,9 +39,7 @@
|
|
|
41
39
|
},
|
|
42
40
|
"sortComparator": {
|
|
43
41
|
"$id": "#/properties/operationData/sortComparator",
|
|
44
|
-
"type":
|
|
45
|
-
"string"
|
|
46
|
-
]
|
|
42
|
+
"type": "array"
|
|
47
43
|
}
|
|
48
44
|
}
|
|
49
45
|
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
{
|
|
2
|
-
"definitions": {},
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"$id": "https://rolandzwaga.github.io/eligius/jsonschema/mediaplayer-timeline-provider-settings.json",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"title": "The TimelineProviderSettings Schema",
|
|
7
|
-
"required": ["id", "vendor", "systemName"],
|
|
8
|
-
"properties": {
|
|
9
|
-
"id": {
|
|
10
|
-
"$id": "#/properties/id",
|
|
11
|
-
"type": "string",
|
|
12
|
-
"title": "The Id Schema",
|
|
13
|
-
"examples": ["123e4567-e89b-12d3-a456-426614174000"],
|
|
14
|
-
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
|
|
15
|
-
},
|
|
16
|
-
"vendor": {
|
|
17
|
-
"$id": "#/properties/vendor",
|
|
18
|
-
"type": "string",
|
|
19
|
-
"title": "The Vendor Schema",
|
|
20
|
-
"examples": ["jwplayer"]
|
|
21
|
-
},
|
|
22
|
-
"systemName": {
|
|
23
|
-
"$id": "#/properties/systemName",
|
|
24
|
-
"type": "string",
|
|
25
|
-
"title": "The Systemname Schema",
|
|
26
|
-
"examples": ["RequestAnimationFrameTimelineProvider"]
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "https://rolandzwaga.github.io/eligius/jsonschema/mediaplayer-timeline-provider-settings.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The TimelineProviderSettings Schema",
|
|
7
|
+
"required": ["id", "vendor", "systemName"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"id": {
|
|
10
|
+
"$id": "#/properties/id",
|
|
11
|
+
"type": "string",
|
|
12
|
+
"title": "The Id Schema",
|
|
13
|
+
"examples": ["123e4567-e89b-12d3-a456-426614174000"],
|
|
14
|
+
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
|
|
15
|
+
},
|
|
16
|
+
"vendor": {
|
|
17
|
+
"$id": "#/properties/vendor",
|
|
18
|
+
"type": "string",
|
|
19
|
+
"title": "The Vendor Schema",
|
|
20
|
+
"examples": ["jwplayer"]
|
|
21
|
+
},
|
|
22
|
+
"systemName": {
|
|
23
|
+
"$id": "#/properties/systemName",
|
|
24
|
+
"type": "string",
|
|
25
|
+
"title": "The Systemname Schema",
|
|
26
|
+
"examples": ["RequestAnimationFrameTimelineProvider"]
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
{
|
|
2
|
-
"definitions": {},
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"$id": "https://rolandzwaga.github.io/eligius/jsonschema/timeline-provider-settings.json",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"title": "The TimelineProviderSettings Schema",
|
|
7
|
-
"required": [],
|
|
8
|
-
"properties": {
|
|
9
|
-
"animation": {
|
|
10
|
-
"$ref": "raf-timeline-provider-settings.json"
|
|
11
|
-
},
|
|
12
|
-
"mediaplayer": {
|
|
13
|
-
"$ref": "mediaplayer-timeline-provider-settings.json"
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "https://rolandzwaga.github.io/eligius/jsonschema/timeline-provider-settings.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The TimelineProviderSettings Schema",
|
|
7
|
+
"required": [],
|
|
8
|
+
"properties": {
|
|
9
|
+
"animation": {
|
|
10
|
+
"$ref": "raf-timeline-provider-settings.json"
|
|
11
|
+
},
|
|
12
|
+
"mediaplayer": {
|
|
13
|
+
"$ref": "mediaplayer-timeline-provider-settings.json"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
package/jsonschema/timeline.json
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
{
|
|
2
|
-
"definitions": {},
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"$id": "https://rolandzwaga.github.io/eligius/jsonschema/timeline.json",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"title": "The Timeline Schema",
|
|
7
|
-
"required": ["uri", "type", "duration", "selector"],
|
|
8
|
-
"properties": {
|
|
9
|
-
"id": {
|
|
10
|
-
"$id": "#/properties/id",
|
|
11
|
-
"type": "string",
|
|
12
|
-
"title": "The Id Schema",
|
|
13
|
-
"examples": ["123e4567-e89b-12d3-a456-426614174000"],
|
|
14
|
-
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
|
|
15
|
-
},
|
|
16
|
-
"uri": {
|
|
17
|
-
"$id": "#/properties/uri",
|
|
18
|
-
"type": "string",
|
|
19
|
-
"title": "The uri Schema",
|
|
20
|
-
"description": "The URI for the video or audio file, only used when type is set to mediaplayer"
|
|
21
|
-
},
|
|
22
|
-
"type": {
|
|
23
|
-
"$id": "#/properties/type",
|
|
24
|
-
"type": "string",
|
|
25
|
-
"enum": ["animation", "mediaplayer"],
|
|
26
|
-
"title": "The type Schema"
|
|
27
|
-
},
|
|
28
|
-
"duration": {
|
|
29
|
-
"$id": "#/properties/duration",
|
|
30
|
-
"type": "number",
|
|
31
|
-
"title": "The duration schema"
|
|
32
|
-
},
|
|
33
|
-
"loop": {
|
|
34
|
-
"$id": "#/properties/loop",
|
|
35
|
-
"type": "boolean",
|
|
36
|
-
"title": "The loop schema"
|
|
37
|
-
},
|
|
38
|
-
"selector": {
|
|
39
|
-
"$id": "#/properties/selector",
|
|
40
|
-
"type": "string",
|
|
41
|
-
"title": "The selector schema"
|
|
42
|
-
},
|
|
43
|
-
"timelineActions": {
|
|
44
|
-
"$id": "#/properties/timelineActions",
|
|
45
|
-
"type": "array",
|
|
46
|
-
"title": "The timelineActions schema",
|
|
47
|
-
"items": {
|
|
48
|
-
"$ref": "timeline-action.json"
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "https://rolandzwaga.github.io/eligius/jsonschema/timeline.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The Timeline Schema",
|
|
7
|
+
"required": ["uri", "type", "duration", "selector"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"id": {
|
|
10
|
+
"$id": "#/properties/id",
|
|
11
|
+
"type": "string",
|
|
12
|
+
"title": "The Id Schema",
|
|
13
|
+
"examples": ["123e4567-e89b-12d3-a456-426614174000"],
|
|
14
|
+
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
|
|
15
|
+
},
|
|
16
|
+
"uri": {
|
|
17
|
+
"$id": "#/properties/uri",
|
|
18
|
+
"type": "string",
|
|
19
|
+
"title": "The uri Schema",
|
|
20
|
+
"description": "The URI for the video or audio file, only used when type is set to mediaplayer"
|
|
21
|
+
},
|
|
22
|
+
"type": {
|
|
23
|
+
"$id": "#/properties/type",
|
|
24
|
+
"type": "string",
|
|
25
|
+
"enum": ["animation", "mediaplayer"],
|
|
26
|
+
"title": "The type Schema"
|
|
27
|
+
},
|
|
28
|
+
"duration": {
|
|
29
|
+
"$id": "#/properties/duration",
|
|
30
|
+
"type": "number",
|
|
31
|
+
"title": "The duration schema"
|
|
32
|
+
},
|
|
33
|
+
"loop": {
|
|
34
|
+
"$id": "#/properties/loop",
|
|
35
|
+
"type": "boolean",
|
|
36
|
+
"title": "The loop schema"
|
|
37
|
+
},
|
|
38
|
+
"selector": {
|
|
39
|
+
"$id": "#/properties/selector",
|
|
40
|
+
"type": "string",
|
|
41
|
+
"title": "The selector schema"
|
|
42
|
+
},
|
|
43
|
+
"timelineActions": {
|
|
44
|
+
"$id": "#/properties/timelineActions",
|
|
45
|
+
"type": "array",
|
|
46
|
+
"title": "The timelineActions schema",
|
|
47
|
+
"items": {
|
|
48
|
+
"$ref": "timeline-action.json"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eligius",
|
|
3
3
|
"author": "Roland Zwaga <rbzwaga@gmail.com>",
|
|
4
|
-
"version": "1.5.
|
|
4
|
+
"version": "1.5.3",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://rolandzwaga.github.io/eligius/",
|
|
7
7
|
"bugs": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"scripts": {
|
|
32
32
|
"typecheck": "tsc --pretty --noEmit",
|
|
33
|
-
"test": "vitest --config src/vitest.config.ts
|
|
33
|
+
"test": "vitest --config src/vitest.config.ts",
|
|
34
34
|
"test:ci": "vitest run --config src/vitest.config.ts --reporter=verbose",
|
|
35
35
|
"coverage": "vitest --config src/vitest.config.ts --coverage",
|
|
36
36
|
"generate-readmes": "tsx ./src/tools/doc-tools/generate-readmes",
|
|
@@ -49,35 +49,32 @@
|
|
|
49
49
|
"fix": "biome check --write ."
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@biomejs/biome": "2.3.
|
|
52
|
+
"@biomejs/biome": "2.3.8",
|
|
53
|
+
"@rollup/plugin-alias": "^6.0.0",
|
|
53
54
|
"@ts-morph/bootstrap": "0.28.1",
|
|
54
|
-
"@types/chai": "5.2.3",
|
|
55
55
|
"@types/fs-extra": "11.0.4",
|
|
56
56
|
"@types/jquery": "3.5.33",
|
|
57
57
|
"@types/jsdom": "27.0.0",
|
|
58
|
-
"@types/node": "24.10.
|
|
59
|
-
"@types/sinon": "17.0.4",
|
|
58
|
+
"@types/node": "24.10.1",
|
|
60
59
|
"@types/uuid": "11.0.0",
|
|
61
|
-
"@vitest/coverage-istanbul": "4.0.
|
|
62
|
-
"canvas": "3.2.0",
|
|
63
|
-
"chai": "6.2.0",
|
|
60
|
+
"@vitest/coverage-istanbul": "4.0.14",
|
|
64
61
|
"fs-extra": "11.3.2",
|
|
65
62
|
"jquery": "3.7.1",
|
|
66
|
-
"jsdom": "27.
|
|
63
|
+
"jsdom": "27.2.0",
|
|
67
64
|
"jsdom-global": "3.0.2",
|
|
68
65
|
"lottie-web": "5.13.0",
|
|
69
|
-
"rimraf": "6.1.
|
|
70
|
-
"sinon": "21.0.0",
|
|
66
|
+
"rimraf": "6.1.2",
|
|
71
67
|
"ts-morph": "27.0.2",
|
|
72
68
|
"tsconfig-paths": "4.2.0",
|
|
73
|
-
"tsdown": "0.16.
|
|
69
|
+
"tsdown": "0.16.6",
|
|
74
70
|
"tslib": "2.8.1",
|
|
75
|
-
"tsx": "4.
|
|
76
|
-
"typedoc": "0.28.
|
|
71
|
+
"tsx": "4.21.0",
|
|
72
|
+
"typedoc": "0.28.15",
|
|
77
73
|
"typedoc-plugin-missing-exports": "4.1.2",
|
|
78
74
|
"typescript": "5.9.3",
|
|
79
75
|
"video.js": "8.23.4",
|
|
80
|
-
"
|
|
76
|
+
"vite-tsconfig-paths": "^5.1.4",
|
|
77
|
+
"vitest": "4.0.14",
|
|
81
78
|
"watchlist": "0.3.1"
|
|
82
79
|
},
|
|
83
80
|
"peerDependencies": {
|
package/dist/chunk-z5eko27R.mjs
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
//#region rolldown:runtime
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __export = (all) => {
|
|
4
|
-
let target = {};
|
|
5
|
-
for (var name in all) __defProp(target, name, {
|
|
6
|
-
get: all[name],
|
|
7
|
-
enumerable: true
|
|
8
|
-
});
|
|
9
|
-
return target;
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
//#endregion
|
|
13
|
-
export { __export as t };
|