eligius 2.0.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +602 -235
- package/dist/index.mjs +639 -331
- package/dist/index.mjs.map +1 -1
- package/jsonschema/eligius-configuration.json +708 -81
- package/jsonschema/operations/add-class.json +20 -23
- package/jsonschema/operations/add-controller-to-element.json +13 -12
- package/jsonschema/operations/animate-with-class.json +21 -25
- package/jsonschema/operations/animate.json +23 -31
- package/jsonschema/operations/announce-to-screen-reader.json +20 -24
- package/jsonschema/operations/broadcast-event.json +19 -31
- package/jsonschema/operations/calc.json +24 -30
- package/jsonschema/operations/clear-element.json +24 -13
- package/jsonschema/operations/clear-operation-data.json +15 -18
- package/jsonschema/operations/compare-date.json +51 -23
- package/jsonschema/operations/concatenate-strings.json +22 -24
- package/jsonschema/operations/create-element.json +11 -144
- package/jsonschema/operations/custom-function.json +15 -22
- package/jsonschema/operations/end-action.json +19 -22
- package/jsonschema/operations/extend-controller.json +19 -22
- package/jsonschema/operations/filter-array.json +40 -26
- package/jsonschema/operations/find-in-array.json +40 -26
- package/jsonschema/operations/for-each.json +23 -22
- package/jsonschema/operations/format-date.json +33 -22
- package/jsonschema/operations/format-text.json +22 -20
- package/jsonschema/operations/get-attributes-from-element.json +28 -22
- package/jsonschema/operations/get-controller-from-element.json +23 -34
- package/jsonschema/operations/get-controller-instance.json +11 -25
- package/jsonschema/operations/get-current-time.json +23 -13
- package/jsonschema/operations/get-element-dimensions.json +30 -20
- package/jsonschema/operations/get-focused-element.json +20 -13
- package/jsonschema/operations/get-form-data.json +27 -13
- package/jsonschema/operations/get-import.json +17 -23
- package/jsonschema/operations/get-query-params.json +17 -18
- package/jsonschema/operations/get-scroll-position.json +23 -13
- package/jsonschema/operations/get-text-content.json +27 -13
- package/jsonschema/operations/http-delete.json +20 -24
- package/jsonschema/operations/http-post.json +21 -30
- package/jsonschema/operations/http-put.json +21 -30
- package/jsonschema/operations/invoke-object-method.json +26 -24
- package/jsonschema/operations/is-element-in-viewport.json +27 -13
- package/jsonschema/operations/load-from-storage.json +19 -26
- package/jsonschema/operations/load-json.json +21 -24
- package/jsonschema/operations/log.json +13 -26
- package/jsonschema/operations/map-array.json +39 -22
- package/jsonschema/operations/math.json +33 -27
- package/jsonschema/operations/remove-class.json +20 -23
- package/jsonschema/operations/remove-controller-from-element.json +20 -34
- package/jsonschema/operations/remove-element.json +24 -13
- package/jsonschema/operations/remove-properties-from-operation-data.json +18 -22
- package/jsonschema/operations/reparent-element.json +20 -22
- package/jsonschema/operations/replace-string.json +32 -25
- package/jsonschema/operations/replace-text.json +32 -25
- package/jsonschema/operations/request-action.json +18 -22
- package/jsonschema/operations/save-to-storage.json +19 -32
- package/jsonschema/operations/scroll-to-element.json +21 -22
- package/jsonschema/operations/scroll-to-position.json +18 -29
- package/jsonschema/operations/select-element.json +19 -24
- package/jsonschema/operations/set-data.json +15 -22
- package/jsonschema/operations/set-element-attributes.json +20 -22
- package/jsonschema/operations/set-element-content.json +36 -20
- package/jsonschema/operations/set-focus.json +24 -13
- package/jsonschema/operations/set-form-value.json +24 -20
- package/jsonschema/operations/set-global-data.json +18 -22
- package/jsonschema/operations/set-style.json +20 -22
- package/jsonschema/operations/set-variable.json +17 -31
- package/jsonschema/operations/set.json +40 -0
- package/jsonschema/operations/sort-array.json +39 -22
- package/jsonschema/operations/split-string.json +34 -22
- package/jsonschema/operations/start-action.json +19 -20
- package/jsonschema/operations/substring-text.json +23 -24
- package/jsonschema/operations/toggle-class.json +21 -23
- package/jsonschema/operations/toggle-element.json +24 -13
- package/jsonschema/operations/toggle-form-element.json +20 -22
- package/jsonschema/operations/validate-form.json +25 -18
- package/jsonschema/operations/wait.json +16 -22
- package/jsonschema/operations/when.json +15 -22
- package/package.json +4 -2
- package/jsonschema/endable-action-template.json +0 -525
- package/jsonschema/endable-action.json +0 -525
- package/jsonschema/engine-config.json +0 -21
- package/jsonschema/event-action.json +0 -293
- package/jsonschema/mediaplayer-timeline-provider-settings.json +0 -40
- package/jsonschema/operation-templates/add-class.json +0 -40
- package/jsonschema/operation-templates/add-controller-to-element.json +0 -26
- package/jsonschema/operation-templates/add-globals-to-operation.json +0 -39
- package/jsonschema/operation-templates/animate-with-class.json +0 -44
- package/jsonschema/operation-templates/animate.json +0 -51
- package/jsonschema/operation-templates/announce-to-screen-reader.json +0 -43
- package/jsonschema/operation-templates/break-for-each.json +0 -26
- package/jsonschema/operation-templates/broadcast-event.json +0 -51
- package/jsonschema/operation-templates/calc.json +0 -49
- package/jsonschema/operation-templates/clear-element.json +0 -26
- package/jsonschema/operation-templates/clear-operation-data.json +0 -37
- package/jsonschema/operation-templates/clear-storage.json +0 -41
- package/jsonschema/operation-templates/compare-date.json +0 -41
- package/jsonschema/operation-templates/concatenate-strings.json +0 -43
- package/jsonschema/operation-templates/continue-for-each.json +0 -26
- package/jsonschema/operation-templates/create-element.json +0 -156
- package/jsonschema/operation-templates/custom-function.json +0 -39
- package/jsonschema/operation-templates/end-action.json +0 -39
- package/jsonschema/operation-templates/end-for-each.json +0 -26
- package/jsonschema/operation-templates/end-when.json +0 -26
- package/jsonschema/operation-templates/extend-controller.json +0 -39
- package/jsonschema/operation-templates/filter-array.json +0 -47
- package/jsonschema/operation-templates/find-in-array.json +0 -47
- package/jsonschema/operation-templates/for-each.json +0 -40
- package/jsonschema/operation-templates/format-date.json +0 -39
- package/jsonschema/operation-templates/format-text.json +0 -37
- package/jsonschema/operation-templates/get-attributes-from-element.json +0 -39
- package/jsonschema/operation-templates/get-controller-from-element.json +0 -51
- package/jsonschema/operation-templates/get-controller-instance.json +0 -37
- package/jsonschema/operation-templates/get-current-time.json +0 -26
- package/jsonschema/operation-templates/get-element-dimensions.json +0 -39
- package/jsonschema/operation-templates/get-focused-element.json +0 -26
- package/jsonschema/operation-templates/get-form-data.json +0 -26
- package/jsonschema/operation-templates/get-import.json +0 -39
- package/jsonschema/operation-templates/get-query-params.json +0 -37
- package/jsonschema/operation-templates/get-scroll-position.json +0 -26
- package/jsonschema/operation-templates/get-text-content.json +0 -26
- package/jsonschema/operation-templates/http-delete.json +0 -43
- package/jsonschema/operation-templates/http-post.json +0 -49
- package/jsonschema/operation-templates/http-put.json +0 -49
- package/jsonschema/operation-templates/invoke-object-method.json +0 -43
- package/jsonschema/operation-templates/is-element-in-viewport.json +0 -26
- package/jsonschema/operation-templates/load-from-storage.json +0 -43
- package/jsonschema/operation-templates/load-json.json +0 -43
- package/jsonschema/operation-templates/log.json +0 -47
- package/jsonschema/operation-templates/map-array.json +0 -39
- package/jsonschema/operation-templates/math.json +0 -45
- package/jsonschema/operation-templates/otherwise.json +0 -26
- package/jsonschema/operation-templates/remove-class.json +0 -40
- package/jsonschema/operation-templates/remove-controller-from-element.json +0 -51
- package/jsonschema/operation-templates/remove-element.json +0 -26
- package/jsonschema/operation-templates/remove-properties-from-operation-data.json +0 -39
- package/jsonschema/operation-templates/reparent-element.json +0 -39
- package/jsonschema/operation-templates/replace-string.json +0 -43
- package/jsonschema/operation-templates/replace-text.json +0 -43
- package/jsonschema/operation-templates/request-action.json +0 -39
- package/jsonschema/operation-templates/save-to-storage.json +0 -49
- package/jsonschema/operation-templates/scroll-to-element.json +0 -45
- package/jsonschema/operation-templates/scroll-to-position.json +0 -49
- package/jsonschema/operation-templates/select-element.json +0 -43
- package/jsonschema/operation-templates/set-data.json +0 -39
- package/jsonschema/operation-templates/set-element-attributes.json +0 -39
- package/jsonschema/operation-templates/set-element-content.json +0 -41
- package/jsonschema/operation-templates/set-focus.json +0 -26
- package/jsonschema/operation-templates/set-form-value.json +0 -37
- package/jsonschema/operation-templates/set-global-data.json +0 -39
- package/jsonschema/operation-templates/set-operation-data.json +0 -43
- package/jsonschema/operation-templates/set-style.json +0 -39
- package/jsonschema/operation-templates/set-variable.json +0 -49
- package/jsonschema/operation-templates/sort-array.json +0 -45
- package/jsonschema/operation-templates/split-string.json +0 -41
- package/jsonschema/operation-templates/start-action.json +0 -39
- package/jsonschema/operation-templates/substring-text.json +0 -43
- package/jsonschema/operation-templates/toggle-class.json +0 -40
- package/jsonschema/operation-templates/toggle-element.json +0 -26
- package/jsonschema/operation-templates/toggle-form-element.json +0 -39
- package/jsonschema/operation-templates/validate-form.json +0 -37
- package/jsonschema/operation-templates/wait.json +0 -39
- package/jsonschema/operation-templates/when.json +0 -39
- package/jsonschema/operations/add-globals-to-operation.json +0 -43
- package/jsonschema/operations/break-for-each.json +0 -26
- package/jsonschema/operations/clear-storage.json +0 -45
- package/jsonschema/operations/continue-for-each.json +0 -26
- package/jsonschema/operations/end-for-each.json +0 -26
- package/jsonschema/operations/end-when.json +0 -26
- package/jsonschema/operations/otherwise.json +0 -26
- package/jsonschema/operations/set-operation-data.json +0 -47
- package/jsonschema/raf-timeline-provider-settings.json +0 -29
- package/jsonschema/timeline-action.json +0 -540
- package/jsonschema/timeline-provider-settings.json +0 -16
- package/jsonschema/timeline.json +0 -52
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"definitions": {},
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"$id": "http://eligius.com/schema/http-put-operation.json",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"title": "The httpPut schema",
|
|
7
|
-
"description": "Performs an HTTP PUT request to the specified URL.",
|
|
8
|
-
"required": [
|
|
9
|
-
"systemName"
|
|
10
|
-
],
|
|
11
|
-
"properties": {
|
|
12
|
-
"id": {
|
|
13
|
-
"$id": "#/properties/id",
|
|
14
|
-
"type": "string",
|
|
15
|
-
"title": "The Id Schema",
|
|
16
|
-
"examples": [
|
|
17
|
-
"123e4567-e89b-12d3-a456-426614174000"
|
|
18
|
-
],
|
|
19
|
-
"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}$"
|
|
20
|
-
},
|
|
21
|
-
"systemName": {
|
|
22
|
-
"$id": "#/properties/systemName",
|
|
23
|
-
"const": "httpPut"
|
|
24
|
-
},
|
|
25
|
-
"operationData": {
|
|
26
|
-
"$id": "#/properties/operationData",
|
|
27
|
-
"type": "object",
|
|
28
|
-
"title": "The Operationdata Schema",
|
|
29
|
-
"properties": {
|
|
30
|
-
"url": {
|
|
31
|
-
"$id": "#/properties/operationData/url",
|
|
32
|
-
"type": [
|
|
33
|
-
"string"
|
|
34
|
-
]
|
|
35
|
-
},
|
|
36
|
-
"body": {
|
|
37
|
-
"$id": "#/properties/operationData/body",
|
|
38
|
-
"type": [
|
|
39
|
-
"object"
|
|
40
|
-
]
|
|
41
|
-
},
|
|
42
|
-
"headers": {
|
|
43
|
-
"$id": "#/properties/operationData/headers",
|
|
44
|
-
"type": "array"
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"definitions": {},
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"$id": "http://eligius.com/schema/invoke-object-method-operation.json",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"title": "The invokeObjectMethod schema",
|
|
7
|
-
"description": "This operation invokes the specified method on the given object with the given optional arguments\nand assigns the result to the `methodResult` operationdata property.",
|
|
8
|
-
"required": [
|
|
9
|
-
"systemName"
|
|
10
|
-
],
|
|
11
|
-
"properties": {
|
|
12
|
-
"id": {
|
|
13
|
-
"$id": "#/properties/id",
|
|
14
|
-
"type": "string",
|
|
15
|
-
"title": "The Id Schema",
|
|
16
|
-
"examples": [
|
|
17
|
-
"123e4567-e89b-12d3-a456-426614174000"
|
|
18
|
-
],
|
|
19
|
-
"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}$"
|
|
20
|
-
},
|
|
21
|
-
"systemName": {
|
|
22
|
-
"$id": "#/properties/systemName",
|
|
23
|
-
"const": "invokeObjectMethod"
|
|
24
|
-
},
|
|
25
|
-
"operationData": {
|
|
26
|
-
"$id": "#/properties/operationData",
|
|
27
|
-
"type": "object",
|
|
28
|
-
"title": "The Operationdata Schema",
|
|
29
|
-
"properties": {
|
|
30
|
-
"methodName": {
|
|
31
|
-
"$id": "#/properties/operationData/methodName",
|
|
32
|
-
"type": [
|
|
33
|
-
"string"
|
|
34
|
-
]
|
|
35
|
-
},
|
|
36
|
-
"methodArguments": {
|
|
37
|
-
"$id": "#/properties/operationData/methodArguments",
|
|
38
|
-
"type": "array"
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"definitions": {},
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"$id": "http://eligius.com/schema/is-element-in-viewport-operation.json",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"title": "The isElementInViewport schema",
|
|
7
|
-
"description": "Checks if an element is currently visible within the viewport.\n\nUses `getBoundingClientRect()` to determine if the element is within the viewport boundaries.",
|
|
8
|
-
"required": [
|
|
9
|
-
"systemName"
|
|
10
|
-
],
|
|
11
|
-
"properties": {
|
|
12
|
-
"id": {
|
|
13
|
-
"$id": "#/properties/id",
|
|
14
|
-
"type": "string",
|
|
15
|
-
"title": "The Id Schema",
|
|
16
|
-
"examples": [
|
|
17
|
-
"123e4567-e89b-12d3-a456-426614174000"
|
|
18
|
-
],
|
|
19
|
-
"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}$"
|
|
20
|
-
},
|
|
21
|
-
"systemName": {
|
|
22
|
-
"$id": "#/properties/systemName",
|
|
23
|
-
"const": "isElementInViewport"
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"definitions": {},
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"$id": "http://eligius.com/schema/load-from-storage-operation.json",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"title": "The loadFromStorage schema",
|
|
7
|
-
"description": "Loads data from browser storage (localStorage or sessionStorage).\n\nDeserializes the stored JSON value. Returns `null` if key doesn't exist.",
|
|
8
|
-
"required": [
|
|
9
|
-
"systemName"
|
|
10
|
-
],
|
|
11
|
-
"properties": {
|
|
12
|
-
"id": {
|
|
13
|
-
"$id": "#/properties/id",
|
|
14
|
-
"type": "string",
|
|
15
|
-
"title": "The Id Schema",
|
|
16
|
-
"examples": [
|
|
17
|
-
"123e4567-e89b-12d3-a456-426614174000"
|
|
18
|
-
],
|
|
19
|
-
"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}$"
|
|
20
|
-
},
|
|
21
|
-
"systemName": {
|
|
22
|
-
"$id": "#/properties/systemName",
|
|
23
|
-
"const": "loadFromStorage"
|
|
24
|
-
},
|
|
25
|
-
"operationData": {
|
|
26
|
-
"$id": "#/properties/operationData",
|
|
27
|
-
"type": "object",
|
|
28
|
-
"title": "The Operationdata Schema",
|
|
29
|
-
"properties": {
|
|
30
|
-
"key": {
|
|
31
|
-
"$id": "#/properties/operationData/key",
|
|
32
|
-
"type": [
|
|
33
|
-
"string"
|
|
34
|
-
]
|
|
35
|
-
},
|
|
36
|
-
"storageType": {
|
|
37
|
-
"$id": "#/properties/operationData/storageType",
|
|
38
|
-
"type": "array"
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"definitions": {},
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"$id": "http://eligius.com/schema/load-json-operation.json",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"title": "The loadJson schema",
|
|
7
|
-
"description": "This operation loads a JSON file from the specified url and assigns it to the json\nproperty on the current operation data.\n\nIf the cache property is set to true and a cached value already exists, this is assigned\ninstead of re-retrieving it from the url.",
|
|
8
|
-
"required": [
|
|
9
|
-
"systemName"
|
|
10
|
-
],
|
|
11
|
-
"properties": {
|
|
12
|
-
"id": {
|
|
13
|
-
"$id": "#/properties/id",
|
|
14
|
-
"type": "string",
|
|
15
|
-
"title": "The Id Schema",
|
|
16
|
-
"examples": [
|
|
17
|
-
"123e4567-e89b-12d3-a456-426614174000"
|
|
18
|
-
],
|
|
19
|
-
"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}$"
|
|
20
|
-
},
|
|
21
|
-
"systemName": {
|
|
22
|
-
"$id": "#/properties/systemName",
|
|
23
|
-
"const": "loadJson"
|
|
24
|
-
},
|
|
25
|
-
"operationData": {
|
|
26
|
-
"$id": "#/properties/operationData",
|
|
27
|
-
"type": "object",
|
|
28
|
-
"title": "The Operationdata Schema",
|
|
29
|
-
"properties": {
|
|
30
|
-
"url": {
|
|
31
|
-
"$id": "#/properties/operationData/url",
|
|
32
|
-
"type": [
|
|
33
|
-
"string"
|
|
34
|
-
]
|
|
35
|
-
},
|
|
36
|
-
"cache": {
|
|
37
|
-
"$id": "#/properties/operationData/cache",
|
|
38
|
-
"type": "array"
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"definitions": {},
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"$id": "http://eligius.com/schema/log-operation.json",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"title": "The log schema",
|
|
7
|
-
"description": "This operation logs the specified value, or, when no logValue property has been assigned\nit will log the current operation data, global data and scope to the console",
|
|
8
|
-
"required": [
|
|
9
|
-
"systemName"
|
|
10
|
-
],
|
|
11
|
-
"properties": {
|
|
12
|
-
"id": {
|
|
13
|
-
"$id": "#/properties/id",
|
|
14
|
-
"type": "string",
|
|
15
|
-
"title": "The Id Schema",
|
|
16
|
-
"examples": [
|
|
17
|
-
"123e4567-e89b-12d3-a456-426614174000"
|
|
18
|
-
],
|
|
19
|
-
"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}$"
|
|
20
|
-
},
|
|
21
|
-
"systemName": {
|
|
22
|
-
"$id": "#/properties/systemName",
|
|
23
|
-
"const": "log"
|
|
24
|
-
},
|
|
25
|
-
"operationData": {
|
|
26
|
-
"$id": "#/properties/operationData",
|
|
27
|
-
"type": "object",
|
|
28
|
-
"title": "The Operationdata Schema",
|
|
29
|
-
"properties": {
|
|
30
|
-
"logValue": {
|
|
31
|
-
"$id": "#/properties/operationData/logValue",
|
|
32
|
-
"type": [
|
|
33
|
-
"object",
|
|
34
|
-
"string",
|
|
35
|
-
"number",
|
|
36
|
-
"boolean",
|
|
37
|
-
"array"
|
|
38
|
-
]
|
|
39
|
-
},
|
|
40
|
-
"logName": {
|
|
41
|
-
"$id": "#/properties/operationData/logName",
|
|
42
|
-
"type": "array"
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"definitions": {},
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"$id": "http://eligius.com/schema/map-array-operation.json",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"title": "The mapArray schema",
|
|
7
|
-
"description": "Transforms each element of an array using a mapping function.\n\nOperates on arrayData passed from previous operations.\nThe mapFunction receives each item and optionally its index.",
|
|
8
|
-
"required": [
|
|
9
|
-
"systemName"
|
|
10
|
-
],
|
|
11
|
-
"properties": {
|
|
12
|
-
"id": {
|
|
13
|
-
"$id": "#/properties/id",
|
|
14
|
-
"type": "string",
|
|
15
|
-
"title": "The Id Schema",
|
|
16
|
-
"examples": [
|
|
17
|
-
"123e4567-e89b-12d3-a456-426614174000"
|
|
18
|
-
],
|
|
19
|
-
"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}$"
|
|
20
|
-
},
|
|
21
|
-
"systemName": {
|
|
22
|
-
"$id": "#/properties/systemName",
|
|
23
|
-
"const": "mapArray"
|
|
24
|
-
},
|
|
25
|
-
"operationData": {
|
|
26
|
-
"$id": "#/properties/operationData",
|
|
27
|
-
"type": "object",
|
|
28
|
-
"title": "The Operationdata Schema",
|
|
29
|
-
"properties": {
|
|
30
|
-
"mapFunction": {
|
|
31
|
-
"$id": "#/properties/operationData/mapFunction",
|
|
32
|
-
"type": [
|
|
33
|
-
"string"
|
|
34
|
-
]
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"definitions": {},
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"$id": "http://eligius.com/schema/math-operation.json",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"title": "The math schema",
|
|
7
|
-
"description": "This operation performs the given math function with the specified arguments.",
|
|
8
|
-
"required": [
|
|
9
|
-
"systemName"
|
|
10
|
-
],
|
|
11
|
-
"properties": {
|
|
12
|
-
"id": {
|
|
13
|
-
"$id": "#/properties/id",
|
|
14
|
-
"type": "string",
|
|
15
|
-
"title": "The Id Schema",
|
|
16
|
-
"examples": [
|
|
17
|
-
"123e4567-e89b-12d3-a456-426614174000"
|
|
18
|
-
],
|
|
19
|
-
"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}$"
|
|
20
|
-
},
|
|
21
|
-
"systemName": {
|
|
22
|
-
"$id": "#/properties/systemName",
|
|
23
|
-
"const": "math"
|
|
24
|
-
},
|
|
25
|
-
"operationData": {
|
|
26
|
-
"$id": "#/properties/operationData",
|
|
27
|
-
"type": "object",
|
|
28
|
-
"title": "The Operationdata Schema",
|
|
29
|
-
"properties": {
|
|
30
|
-
"args": {
|
|
31
|
-
"$id": "#/properties/operationData/args",
|
|
32
|
-
"type": [
|
|
33
|
-
"array"
|
|
34
|
-
]
|
|
35
|
-
},
|
|
36
|
-
"functionName": {
|
|
37
|
-
"$id": "#/properties/operationData/functionName",
|
|
38
|
-
"type": [
|
|
39
|
-
"string"
|
|
40
|
-
]
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"definitions": {},
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"$id": "http://eligius.com/schema/otherwise-operation.json",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"title": "The otherwise schema",
|
|
7
|
-
"description": "If the preceeding {@link when} operation evaluates to `true` subsequent operations will\nbe skipped until an {@link endWhen} operation is encountered.",
|
|
8
|
-
"required": [
|
|
9
|
-
"systemName"
|
|
10
|
-
],
|
|
11
|
-
"properties": {
|
|
12
|
-
"id": {
|
|
13
|
-
"$id": "#/properties/id",
|
|
14
|
-
"type": "string",
|
|
15
|
-
"title": "The Id Schema",
|
|
16
|
-
"examples": [
|
|
17
|
-
"123e4567-e89b-12d3-a456-426614174000"
|
|
18
|
-
],
|
|
19
|
-
"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}$"
|
|
20
|
-
},
|
|
21
|
-
"systemName": {
|
|
22
|
-
"$id": "#/properties/systemName",
|
|
23
|
-
"const": "otherwise"
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"definitions": {},
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"$id": "http://eligius.com/schema/remove-class-operation.json",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"title": "The removeClass schema",
|
|
7
|
-
"description": "This operation removes the spcified class name from the given selected element.",
|
|
8
|
-
"required": [
|
|
9
|
-
"systemName"
|
|
10
|
-
],
|
|
11
|
-
"properties": {
|
|
12
|
-
"id": {
|
|
13
|
-
"$id": "#/properties/id",
|
|
14
|
-
"type": "string",
|
|
15
|
-
"title": "The Id Schema",
|
|
16
|
-
"examples": [
|
|
17
|
-
"123e4567-e89b-12d3-a456-426614174000"
|
|
18
|
-
],
|
|
19
|
-
"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}$"
|
|
20
|
-
},
|
|
21
|
-
"systemName": {
|
|
22
|
-
"$id": "#/properties/systemName",
|
|
23
|
-
"const": "removeClass"
|
|
24
|
-
},
|
|
25
|
-
"operationData": {
|
|
26
|
-
"$id": "#/properties/operationData",
|
|
27
|
-
"type": "object",
|
|
28
|
-
"title": "The Operationdata Schema",
|
|
29
|
-
"properties": {
|
|
30
|
-
"className": {
|
|
31
|
-
"$id": "#/properties/operationData/className",
|
|
32
|
-
"type": [
|
|
33
|
-
"string"
|
|
34
|
-
],
|
|
35
|
-
"pattern": ".-?[_a-zA-Z]+[_a-zA-Z0-9-]*"
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"definitions": {},
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"$id": "http://eligius.com/schema/remove-controller-from-element-operation.json",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"title": "The removeControllerFromElement schema",
|
|
7
|
-
"description": "This operation removes the controller with the specified name from the given selected element.",
|
|
8
|
-
"required": [
|
|
9
|
-
"systemName"
|
|
10
|
-
],
|
|
11
|
-
"properties": {
|
|
12
|
-
"id": {
|
|
13
|
-
"$id": "#/properties/id",
|
|
14
|
-
"type": "string",
|
|
15
|
-
"title": "The Id Schema",
|
|
16
|
-
"examples": [
|
|
17
|
-
"123e4567-e89b-12d3-a456-426614174000"
|
|
18
|
-
],
|
|
19
|
-
"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}$"
|
|
20
|
-
},
|
|
21
|
-
"systemName": {
|
|
22
|
-
"$id": "#/properties/systemName",
|
|
23
|
-
"const": "removeControllerFromElement"
|
|
24
|
-
},
|
|
25
|
-
"operationData": {
|
|
26
|
-
"$id": "#/properties/operationData",
|
|
27
|
-
"type": "object",
|
|
28
|
-
"title": "The Operationdata Schema",
|
|
29
|
-
"properties": {
|
|
30
|
-
"controllerName": {
|
|
31
|
-
"$id": "#/properties/operationData/controllerName",
|
|
32
|
-
"type": [
|
|
33
|
-
{
|
|
34
|
-
"type": "string",
|
|
35
|
-
"enum": [
|
|
36
|
-
"DOMEventListenerController",
|
|
37
|
-
"LabelController",
|
|
38
|
-
"LottieController",
|
|
39
|
-
"MutationObserverController",
|
|
40
|
-
"NavigationController",
|
|
41
|
-
"ProgressbarController",
|
|
42
|
-
"RoutingController",
|
|
43
|
-
"SubtitlesController"
|
|
44
|
-
]
|
|
45
|
-
}
|
|
46
|
-
]
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"definitions": {},
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"$id": "http://eligius.com/schema/remove-element-operation.json",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"title": "The removeElement schema",
|
|
7
|
-
"description": "This operation removes the given selected element from the DOM.",
|
|
8
|
-
"required": [
|
|
9
|
-
"systemName"
|
|
10
|
-
],
|
|
11
|
-
"properties": {
|
|
12
|
-
"id": {
|
|
13
|
-
"$id": "#/properties/id",
|
|
14
|
-
"type": "string",
|
|
15
|
-
"title": "The Id Schema",
|
|
16
|
-
"examples": [
|
|
17
|
-
"123e4567-e89b-12d3-a456-426614174000"
|
|
18
|
-
],
|
|
19
|
-
"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}$"
|
|
20
|
-
},
|
|
21
|
-
"systemName": {
|
|
22
|
-
"$id": "#/properties/systemName",
|
|
23
|
-
"const": "removeElement"
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"definitions": {},
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"$id": "http://eligius.com/schema/remove-properties-from-operation-data-operation.json",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"title": "The removePropertiesFromOperationData schema",
|
|
7
|
-
"description": "This operation removes the given list of properties from the current operation data.\nIt will also remove the property `propertyNames` from the result.",
|
|
8
|
-
"required": [
|
|
9
|
-
"systemName"
|
|
10
|
-
],
|
|
11
|
-
"properties": {
|
|
12
|
-
"id": {
|
|
13
|
-
"$id": "#/properties/id",
|
|
14
|
-
"type": "string",
|
|
15
|
-
"title": "The Id Schema",
|
|
16
|
-
"examples": [
|
|
17
|
-
"123e4567-e89b-12d3-a456-426614174000"
|
|
18
|
-
],
|
|
19
|
-
"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}$"
|
|
20
|
-
},
|
|
21
|
-
"systemName": {
|
|
22
|
-
"$id": "#/properties/systemName",
|
|
23
|
-
"const": "removePropertiesFromOperationData"
|
|
24
|
-
},
|
|
25
|
-
"operationData": {
|
|
26
|
-
"$id": "#/properties/operationData",
|
|
27
|
-
"type": "object",
|
|
28
|
-
"title": "The Operationdata Schema",
|
|
29
|
-
"properties": {
|
|
30
|
-
"propertyNames": {
|
|
31
|
-
"$id": "#/properties/operationData/propertyNames",
|
|
32
|
-
"type": [
|
|
33
|
-
"array"
|
|
34
|
-
]
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"definitions": {},
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"$id": "http://eligius.com/schema/reparent-element-operation.json",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"title": "The reparentElement schema",
|
|
7
|
-
"description": "This operation moves the given selected element to the new parent that is defined\nby the specified `newParentSelector`.",
|
|
8
|
-
"required": [
|
|
9
|
-
"systemName"
|
|
10
|
-
],
|
|
11
|
-
"properties": {
|
|
12
|
-
"id": {
|
|
13
|
-
"$id": "#/properties/id",
|
|
14
|
-
"type": "string",
|
|
15
|
-
"title": "The Id Schema",
|
|
16
|
-
"examples": [
|
|
17
|
-
"123e4567-e89b-12d3-a456-426614174000"
|
|
18
|
-
],
|
|
19
|
-
"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}$"
|
|
20
|
-
},
|
|
21
|
-
"systemName": {
|
|
22
|
-
"$id": "#/properties/systemName",
|
|
23
|
-
"const": "reparentElement"
|
|
24
|
-
},
|
|
25
|
-
"operationData": {
|
|
26
|
-
"$id": "#/properties/operationData",
|
|
27
|
-
"type": "object",
|
|
28
|
-
"title": "The Operationdata Schema",
|
|
29
|
-
"properties": {
|
|
30
|
-
"newParentSelector": {
|
|
31
|
-
"$id": "#/properties/operationData/newParentSelector",
|
|
32
|
-
"type": [
|
|
33
|
-
"string"
|
|
34
|
-
]
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"definitions": {},
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"$id": "http://eligius.com/schema/replace-string-operation.json",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"title": "The replaceString schema",
|
|
7
|
-
"description": "Replaces occurrences of a pattern in a string (alias for replaceText for string context).",
|
|
8
|
-
"required": [
|
|
9
|
-
"systemName"
|
|
10
|
-
],
|
|
11
|
-
"properties": {
|
|
12
|
-
"id": {
|
|
13
|
-
"$id": "#/properties/id",
|
|
14
|
-
"type": "string",
|
|
15
|
-
"title": "The Id Schema",
|
|
16
|
-
"examples": [
|
|
17
|
-
"123e4567-e89b-12d3-a456-426614174000"
|
|
18
|
-
],
|
|
19
|
-
"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}$"
|
|
20
|
-
},
|
|
21
|
-
"systemName": {
|
|
22
|
-
"$id": "#/properties/systemName",
|
|
23
|
-
"const": "replaceString"
|
|
24
|
-
},
|
|
25
|
-
"operationData": {
|
|
26
|
-
"$id": "#/properties/operationData",
|
|
27
|
-
"type": "object",
|
|
28
|
-
"title": "The Operationdata Schema",
|
|
29
|
-
"properties": {
|
|
30
|
-
"pattern": {
|
|
31
|
-
"$id": "#/properties/operationData/pattern",
|
|
32
|
-
"type": "array"
|
|
33
|
-
},
|
|
34
|
-
"replacement": {
|
|
35
|
-
"$id": "#/properties/operationData/replacement",
|
|
36
|
-
"type": [
|
|
37
|
-
"string"
|
|
38
|
-
]
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"definitions": {},
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"$id": "http://eligius.com/schema/replace-text-operation.json",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"title": "The replaceText schema",
|
|
7
|
-
"description": "Finds and replaces text using literal string or regex pattern.\n\nOperates on textContent passed from previous operations (e.g., getTextContent).\nSupports regex patterns with global flag for multiple replacements.\nUpdates textContent with replaced text and sets replacementCount.",
|
|
8
|
-
"required": [
|
|
9
|
-
"systemName"
|
|
10
|
-
],
|
|
11
|
-
"properties": {
|
|
12
|
-
"id": {
|
|
13
|
-
"$id": "#/properties/id",
|
|
14
|
-
"type": "string",
|
|
15
|
-
"title": "The Id Schema",
|
|
16
|
-
"examples": [
|
|
17
|
-
"123e4567-e89b-12d3-a456-426614174000"
|
|
18
|
-
],
|
|
19
|
-
"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}$"
|
|
20
|
-
},
|
|
21
|
-
"systemName": {
|
|
22
|
-
"$id": "#/properties/systemName",
|
|
23
|
-
"const": "replaceText"
|
|
24
|
-
},
|
|
25
|
-
"operationData": {
|
|
26
|
-
"$id": "#/properties/operationData",
|
|
27
|
-
"type": "object",
|
|
28
|
-
"title": "The Operationdata Schema",
|
|
29
|
-
"properties": {
|
|
30
|
-
"searchPattern": {
|
|
31
|
-
"$id": "#/properties/operationData/searchPattern",
|
|
32
|
-
"type": "array"
|
|
33
|
-
},
|
|
34
|
-
"replacement": {
|
|
35
|
-
"$id": "#/properties/operationData/replacement",
|
|
36
|
-
"type": [
|
|
37
|
-
"string"
|
|
38
|
-
]
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|