eligius 2.3.1 → 3.0.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/README.md +158 -33
- package/dist/configuration-api.d.mts +6095 -0
- package/dist/configuration-api.mjs +3876 -0
- package/dist/configuration-api.mjs.map +1 -0
- package/dist/index.d.mts +4075 -1392
- package/dist/index.mjs +10421 -4818
- package/dist/index.mjs.map +1 -1
- package/dist/metadata.d.mts +1040 -281
- package/dist/metadata.mjs +541 -277
- package/dist/metadata.mjs.map +1 -1
- package/dist/{chunk-w6R9maHv.mjs → rolldown-runtime-BOlb2svz.mjs} +1 -0
- package/jsonschema/eligius-configuration.json +120 -9
- package/jsonschema/operations/add-class.json +2 -7
- package/jsonschema/operations/add-controller-to-element.json +4 -3
- package/jsonschema/operations/add-globals-to-operation.json +40 -0
- package/jsonschema/operations/animate-with-class.json +8 -8
- package/jsonschema/operations/animate.json +10 -9
- package/jsonschema/operations/announce-to-screen-reader.json +2 -2
- package/jsonschema/operations/break-for-each.json +27 -0
- package/jsonschema/operations/broadcast-event.json +2 -2
- package/jsonschema/operations/calc.json +16 -3
- package/jsonschema/operations/clear-element.json +5 -14
- package/jsonschema/operations/clear-operation-data.json +3 -4
- package/jsonschema/operations/clear-storage.json +48 -0
- package/jsonschema/operations/compare-date.json +2 -2
- package/jsonschema/operations/concatenate-strings.json +2 -2
- package/jsonschema/operations/continue-for-each.json +27 -0
- package/jsonschema/operations/create-element.json +21 -5
- package/jsonschema/operations/custom-function.json +2 -2
- package/jsonschema/operations/end-action.json +5 -13
- package/jsonschema/operations/end-for-each.json +27 -0
- package/jsonschema/operations/end-when.json +27 -0
- package/jsonschema/operations/extend-controller.json +9 -7
- package/jsonschema/operations/filter-array.json +4 -12
- package/jsonschema/operations/find-in-array.json +4 -12
- package/jsonschema/operations/for-each.json +2 -3
- package/jsonschema/operations/format-date.json +2 -17
- package/jsonschema/operations/format-text.json +15 -7
- package/jsonschema/operations/get-attributes-from-element.json +9 -8
- package/jsonschema/operations/get-controller-from-element.json +2 -7
- package/jsonschema/operations/get-controller-instance.json +18 -5
- package/jsonschema/operations/get-current-time.json +3 -4
- package/jsonschema/operations/get-element-dimensions.json +4 -12
- package/jsonschema/operations/get-focused-element.json +3 -4
- package/jsonschema/operations/get-form-data.json +4 -12
- package/jsonschema/operations/get-import.json +2 -2
- package/jsonschema/operations/get-query-params.json +12 -5
- package/jsonschema/operations/get-scroll-position.json +3 -4
- package/jsonschema/operations/get-text-content.json +4 -12
- package/jsonschema/operations/http-delete.json +11 -3
- package/jsonschema/operations/http-post.json +11 -3
- package/jsonschema/operations/http-put.json +11 -3
- package/jsonschema/operations/invoke-object-method.json +2 -6
- package/jsonschema/operations/is-element-in-viewport.json +4 -12
- package/jsonschema/operations/load-from-storage.json +12 -3
- package/jsonschema/operations/load-json.json +5 -5
- package/jsonschema/operations/log.json +4 -7
- package/jsonschema/operations/map-array.json +2 -7
- package/jsonschema/operations/math.json +18 -3
- package/jsonschema/operations/otherwise.json +27 -0
- package/jsonschema/operations/remove-class.json +2 -7
- package/jsonschema/operations/remove-controller-from-element.json +2 -7
- package/jsonschema/operations/remove-element.json +5 -14
- package/jsonschema/operations/remove-properties-from-operation-data.json +2 -2
- package/jsonschema/operations/reparent-element.json +2 -7
- package/jsonschema/operations/replace-string.json +2 -6
- package/jsonschema/operations/replace-text.json +2 -6
- package/jsonschema/operations/request-action.json +2 -2
- package/jsonschema/operations/save-to-storage.json +12 -3
- package/jsonschema/operations/scroll-to-element.json +23 -13
- package/jsonschema/operations/scroll-to-position.json +12 -3
- package/jsonschema/operations/select-element.json +2 -2
- package/jsonschema/operations/set-data.json +8 -3
- package/jsonschema/operations/set-element-attributes.json +10 -9
- package/jsonschema/operations/set-element-content.json +5 -15
- package/jsonschema/operations/set-focus.json +5 -14
- package/jsonschema/operations/set-form-value.json +2 -7
- package/jsonschema/operations/set-global-data.json +2 -2
- package/jsonschema/operations/{set.json → set-operation-data.json} +12 -7
- package/jsonschema/operations/set-style.json +3 -8
- package/jsonschema/operations/set-variable.json +3 -5
- package/jsonschema/operations/sort-array.json +14 -13
- package/jsonschema/operations/split-string.json +2 -6
- package/jsonschema/operations/start-action.json +4 -12
- package/jsonschema/operations/substring-text.json +2 -6
- package/jsonschema/operations/toggle-class.json +2 -7
- package/jsonschema/operations/toggle-element.json +5 -14
- package/jsonschema/operations/toggle-form-element.json +2 -7
- package/jsonschema/operations/validate-form.json +41 -13
- package/jsonschema/operations/wait.json +2 -2
- package/jsonschema/operations/when.json +2 -2
- package/package.json +49 -24
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
"title": "concatenateStrings Operation",
|
|
6
6
|
"description": "Schema for the concatenateStrings operation",
|
|
7
7
|
"required": [
|
|
8
|
+
"id",
|
|
8
9
|
"systemName",
|
|
9
10
|
"operationData"
|
|
10
11
|
],
|
|
11
12
|
"properties": {
|
|
12
13
|
"id": {
|
|
13
14
|
"type": "string",
|
|
14
|
-
"description": "Unique identifier for the operation
|
|
15
|
-
"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
|
+
"description": "Unique identifier for the operation"
|
|
16
16
|
},
|
|
17
17
|
"systemName": {
|
|
18
18
|
"const": "concatenateStrings",
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://rolandzwaga.github.io/eligius/jsonschema/operations/continue-for-each.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"title": "continueForEach Operation",
|
|
6
|
+
"description": "Schema for the continueForEach operation",
|
|
7
|
+
"required": [
|
|
8
|
+
"id",
|
|
9
|
+
"systemName"
|
|
10
|
+
],
|
|
11
|
+
"properties": {
|
|
12
|
+
"id": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "Unique identifier for the operation"
|
|
15
|
+
},
|
|
16
|
+
"systemName": {
|
|
17
|
+
"const": "continueForEach",
|
|
18
|
+
"description": "The operation system name"
|
|
19
|
+
},
|
|
20
|
+
"operationData": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"description": "Operation-specific configuration data",
|
|
23
|
+
"additionalProperties": true
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"additionalProperties": false
|
|
27
|
+
}
|
|
@@ -5,13 +5,14 @@
|
|
|
5
5
|
"title": "createElement Operation",
|
|
6
6
|
"description": "Schema for the createElement operation (generated from ICreateElementOperationData)",
|
|
7
7
|
"required": [
|
|
8
|
-
"
|
|
8
|
+
"id",
|
|
9
|
+
"systemName",
|
|
10
|
+
"operationData"
|
|
9
11
|
],
|
|
10
12
|
"properties": {
|
|
11
13
|
"id": {
|
|
12
14
|
"type": "string",
|
|
13
|
-
"description": "Unique identifier for the operation
|
|
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
|
+
"description": "Unique identifier for the operation"
|
|
15
16
|
},
|
|
16
17
|
"systemName": {
|
|
17
18
|
"const": "createElement",
|
|
@@ -19,8 +20,23 @@
|
|
|
19
20
|
},
|
|
20
21
|
"operationData": {
|
|
21
22
|
"type": "object",
|
|
22
|
-
"description": "Operation-specific configuration data
|
|
23
|
-
"
|
|
23
|
+
"description": "Operation-specific configuration data",
|
|
24
|
+
"properties": {
|
|
25
|
+
"elementName": {
|
|
26
|
+
"type": "string"
|
|
27
|
+
},
|
|
28
|
+
"text": {},
|
|
29
|
+
"attributes": {
|
|
30
|
+
"type": "object"
|
|
31
|
+
},
|
|
32
|
+
"template": {
|
|
33
|
+
"type": "object"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"additionalProperties": true,
|
|
37
|
+
"required": [
|
|
38
|
+
"elementName"
|
|
39
|
+
]
|
|
24
40
|
}
|
|
25
41
|
},
|
|
26
42
|
"additionalProperties": false
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
"title": "customFunction Operation",
|
|
6
6
|
"description": "Schema for the customFunction operation",
|
|
7
7
|
"required": [
|
|
8
|
+
"id",
|
|
8
9
|
"systemName",
|
|
9
10
|
"operationData"
|
|
10
11
|
],
|
|
11
12
|
"properties": {
|
|
12
13
|
"id": {
|
|
13
14
|
"type": "string",
|
|
14
|
-
"description": "Unique identifier for the operation
|
|
15
|
-
"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
|
+
"description": "Unique identifier for the operation"
|
|
16
16
|
},
|
|
17
17
|
"systemName": {
|
|
18
18
|
"const": "customFunction",
|
|
@@ -5,14 +5,13 @@
|
|
|
5
5
|
"title": "endAction Operation",
|
|
6
6
|
"description": "Schema for the endAction operation",
|
|
7
7
|
"required": [
|
|
8
|
-
"
|
|
9
|
-
"
|
|
8
|
+
"id",
|
|
9
|
+
"systemName"
|
|
10
10
|
],
|
|
11
11
|
"properties": {
|
|
12
12
|
"id": {
|
|
13
13
|
"type": "string",
|
|
14
|
-
"description": "Unique identifier for the operation
|
|
15
|
-
"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}$"
|
|
14
|
+
"description": "Unique identifier for the operation"
|
|
16
15
|
},
|
|
17
16
|
"systemName": {
|
|
18
17
|
"const": "endAction",
|
|
@@ -22,18 +21,11 @@
|
|
|
22
21
|
"type": "object",
|
|
23
22
|
"description": "Operation-specific configuration data",
|
|
24
23
|
"properties": {
|
|
25
|
-
"actionInstance": {
|
|
26
|
-
"$ref": "#/definitions/IEndableAction"
|
|
27
|
-
},
|
|
28
24
|
"actionOperationData": {
|
|
29
|
-
"
|
|
25
|
+
"type": "object"
|
|
30
26
|
}
|
|
31
27
|
},
|
|
32
|
-
"additionalProperties": true
|
|
33
|
-
"required": [
|
|
34
|
-
"actionInstance",
|
|
35
|
-
"actionOperationData"
|
|
36
|
-
]
|
|
28
|
+
"additionalProperties": true
|
|
37
29
|
}
|
|
38
30
|
},
|
|
39
31
|
"additionalProperties": false
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://rolandzwaga.github.io/eligius/jsonschema/operations/end-for-each.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"title": "endForEach Operation",
|
|
6
|
+
"description": "Schema for the endForEach operation",
|
|
7
|
+
"required": [
|
|
8
|
+
"id",
|
|
9
|
+
"systemName"
|
|
10
|
+
],
|
|
11
|
+
"properties": {
|
|
12
|
+
"id": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "Unique identifier for the operation"
|
|
15
|
+
},
|
|
16
|
+
"systemName": {
|
|
17
|
+
"const": "endForEach",
|
|
18
|
+
"description": "The operation system name"
|
|
19
|
+
},
|
|
20
|
+
"operationData": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"description": "Operation-specific configuration data",
|
|
23
|
+
"additionalProperties": true
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"additionalProperties": false
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://rolandzwaga.github.io/eligius/jsonschema/operations/end-when.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"title": "endWhen Operation",
|
|
6
|
+
"description": "Schema for the endWhen operation",
|
|
7
|
+
"required": [
|
|
8
|
+
"id",
|
|
9
|
+
"systemName"
|
|
10
|
+
],
|
|
11
|
+
"properties": {
|
|
12
|
+
"id": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "Unique identifier for the operation"
|
|
15
|
+
},
|
|
16
|
+
"systemName": {
|
|
17
|
+
"const": "endWhen",
|
|
18
|
+
"description": "The operation system name"
|
|
19
|
+
},
|
|
20
|
+
"operationData": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"description": "Operation-specific configuration data",
|
|
23
|
+
"additionalProperties": true
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"additionalProperties": false
|
|
27
|
+
}
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
"title": "extendController Operation",
|
|
6
6
|
"description": "This operation extends the specified controller instance with the specified extension.",
|
|
7
7
|
"required": [
|
|
8
|
+
"id",
|
|
8
9
|
"systemName",
|
|
9
10
|
"operationData"
|
|
10
11
|
],
|
|
11
12
|
"properties": {
|
|
12
13
|
"id": {
|
|
13
14
|
"type": "string",
|
|
14
|
-
"description": "Unique identifier for the operation
|
|
15
|
-
"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
|
+
"description": "Unique identifier for the operation"
|
|
16
16
|
},
|
|
17
17
|
"systemName": {
|
|
18
18
|
"const": "extendController",
|
|
@@ -22,19 +22,21 @@
|
|
|
22
22
|
"type": "object",
|
|
23
23
|
"description": "Operation-specific configuration data",
|
|
24
24
|
"properties": {
|
|
25
|
-
"controllerInstance": {
|
|
26
|
-
"$ref": "#/definitions/IController%3CTOperationData%3E"
|
|
27
|
-
},
|
|
28
25
|
"controllerExtension": {
|
|
29
26
|
"$ref": "#/definitions/Record%3CPropertyKey%2Cunknown%3E"
|
|
30
27
|
}
|
|
31
28
|
},
|
|
32
29
|
"additionalProperties": true,
|
|
33
30
|
"required": [
|
|
34
|
-
"controllerInstance",
|
|
35
31
|
"controllerExtension"
|
|
36
32
|
]
|
|
37
33
|
}
|
|
38
34
|
},
|
|
39
|
-
"additionalProperties": false
|
|
35
|
+
"additionalProperties": false,
|
|
36
|
+
"definitions": {
|
|
37
|
+
"Record<PropertyKey,unknown>": {
|
|
38
|
+
"type": "object",
|
|
39
|
+
"additionalProperties": {}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
40
42
|
}
|
|
@@ -5,14 +5,13 @@
|
|
|
5
5
|
"title": "filterArray Operation",
|
|
6
6
|
"description": "Schema for the filterArray operation",
|
|
7
7
|
"required": [
|
|
8
|
-
"
|
|
9
|
-
"
|
|
8
|
+
"id",
|
|
9
|
+
"systemName"
|
|
10
10
|
],
|
|
11
11
|
"properties": {
|
|
12
12
|
"id": {
|
|
13
13
|
"type": "string",
|
|
14
|
-
"description": "Unique identifier for the operation
|
|
15
|
-
"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}$"
|
|
14
|
+
"description": "Unique identifier for the operation"
|
|
16
15
|
},
|
|
17
16
|
"systemName": {
|
|
18
17
|
"const": "filterArray",
|
|
@@ -22,10 +21,6 @@
|
|
|
22
21
|
"type": "object",
|
|
23
22
|
"description": "Operation-specific configuration data",
|
|
24
23
|
"properties": {
|
|
25
|
-
"arrayData": {
|
|
26
|
-
"type": "array",
|
|
27
|
-
"items": {}
|
|
28
|
-
},
|
|
29
24
|
"filterProperty": {
|
|
30
25
|
"type": "string"
|
|
31
26
|
},
|
|
@@ -53,10 +48,7 @@
|
|
|
53
48
|
"items": {}
|
|
54
49
|
}
|
|
55
50
|
},
|
|
56
|
-
"additionalProperties": true
|
|
57
|
-
"required": [
|
|
58
|
-
"arrayData"
|
|
59
|
-
]
|
|
51
|
+
"additionalProperties": true
|
|
60
52
|
}
|
|
61
53
|
},
|
|
62
54
|
"additionalProperties": false
|
|
@@ -5,14 +5,13 @@
|
|
|
5
5
|
"title": "findInArray Operation",
|
|
6
6
|
"description": "Schema for the findInArray operation",
|
|
7
7
|
"required": [
|
|
8
|
-
"
|
|
9
|
-
"
|
|
8
|
+
"id",
|
|
9
|
+
"systemName"
|
|
10
10
|
],
|
|
11
11
|
"properties": {
|
|
12
12
|
"id": {
|
|
13
13
|
"type": "string",
|
|
14
|
-
"description": "Unique identifier for the operation
|
|
15
|
-
"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}$"
|
|
14
|
+
"description": "Unique identifier for the operation"
|
|
16
15
|
},
|
|
17
16
|
"systemName": {
|
|
18
17
|
"const": "findInArray",
|
|
@@ -22,10 +21,6 @@
|
|
|
22
21
|
"type": "object",
|
|
23
22
|
"description": "Operation-specific configuration data",
|
|
24
23
|
"properties": {
|
|
25
|
-
"arrayData": {
|
|
26
|
-
"type": "array",
|
|
27
|
-
"items": {}
|
|
28
|
-
},
|
|
29
24
|
"findProperty": {
|
|
30
25
|
"type": "string"
|
|
31
26
|
},
|
|
@@ -53,10 +48,7 @@
|
|
|
53
48
|
"type": "number"
|
|
54
49
|
}
|
|
55
50
|
},
|
|
56
|
-
"additionalProperties": true
|
|
57
|
-
"required": [
|
|
58
|
-
"arrayData"
|
|
59
|
-
]
|
|
51
|
+
"additionalProperties": true
|
|
60
52
|
}
|
|
61
53
|
},
|
|
62
54
|
"additionalProperties": false
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
"title": "forEach Operation",
|
|
6
6
|
"description": "Schema for the forEach operation",
|
|
7
7
|
"required": [
|
|
8
|
+
"id",
|
|
8
9
|
"systemName",
|
|
9
10
|
"operationData"
|
|
10
11
|
],
|
|
11
12
|
"properties": {
|
|
12
13
|
"id": {
|
|
13
14
|
"type": "string",
|
|
14
|
-
"description": "Unique identifier for the operation
|
|
15
|
-
"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
|
+
"description": "Unique identifier for the operation"
|
|
16
16
|
},
|
|
17
17
|
"systemName": {
|
|
18
18
|
"const": "forEach",
|
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
"description": "Operation-specific configuration data",
|
|
24
24
|
"properties": {
|
|
25
25
|
"collection": {
|
|
26
|
-
"type": "string",
|
|
27
26
|
"anyOf": [
|
|
28
27
|
{
|
|
29
28
|
"type": "array",
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
"title": "formatDate Operation",
|
|
6
6
|
"description": "Schema for the formatDate operation",
|
|
7
7
|
"required": [
|
|
8
|
+
"id",
|
|
8
9
|
"systemName",
|
|
9
10
|
"operationData"
|
|
10
11
|
],
|
|
11
12
|
"properties": {
|
|
12
13
|
"id": {
|
|
13
14
|
"type": "string",
|
|
14
|
-
"description": "Unique identifier for the operation
|
|
15
|
-
"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
|
+
"description": "Unique identifier for the operation"
|
|
16
16
|
},
|
|
17
17
|
"systemName": {
|
|
18
18
|
"const": "formatDate",
|
|
@@ -22,20 +22,6 @@
|
|
|
22
22
|
"type": "object",
|
|
23
23
|
"description": "Operation-specific configuration data",
|
|
24
24
|
"properties": {
|
|
25
|
-
"date": {
|
|
26
|
-
"anyOf": [
|
|
27
|
-
{
|
|
28
|
-
"type": "string",
|
|
29
|
-
"format": "date-time"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"type": "string"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"type": "number"
|
|
36
|
-
}
|
|
37
|
-
]
|
|
38
|
-
},
|
|
39
25
|
"format": {
|
|
40
26
|
"type": "string"
|
|
41
27
|
},
|
|
@@ -45,7 +31,6 @@
|
|
|
45
31
|
},
|
|
46
32
|
"additionalProperties": true,
|
|
47
33
|
"required": [
|
|
48
|
-
"date",
|
|
49
34
|
"format"
|
|
50
35
|
]
|
|
51
36
|
}
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
"title": "formatText Operation",
|
|
6
6
|
"description": "Schema for the formatText operation",
|
|
7
7
|
"required": [
|
|
8
|
+
"id",
|
|
8
9
|
"systemName",
|
|
9
10
|
"operationData"
|
|
10
11
|
],
|
|
11
12
|
"properties": {
|
|
12
13
|
"id": {
|
|
13
14
|
"type": "string",
|
|
14
|
-
"description": "Unique identifier for the operation
|
|
15
|
-
"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
|
+
"description": "Unique identifier for the operation"
|
|
16
16
|
},
|
|
17
17
|
"systemName": {
|
|
18
18
|
"const": "formatText",
|
|
@@ -22,9 +22,6 @@
|
|
|
22
22
|
"type": "object",
|
|
23
23
|
"description": "Operation-specific configuration data",
|
|
24
24
|
"properties": {
|
|
25
|
-
"textContent": {
|
|
26
|
-
"type": "string"
|
|
27
|
-
},
|
|
28
25
|
"transformation": {
|
|
29
26
|
"$ref": "#/definitions/TextTransformation"
|
|
30
27
|
},
|
|
@@ -34,10 +31,21 @@
|
|
|
34
31
|
},
|
|
35
32
|
"additionalProperties": true,
|
|
36
33
|
"required": [
|
|
37
|
-
"textContent",
|
|
38
34
|
"transformation"
|
|
39
35
|
]
|
|
40
36
|
}
|
|
41
37
|
},
|
|
42
|
-
"additionalProperties": false
|
|
38
|
+
"additionalProperties": false,
|
|
39
|
+
"definitions": {
|
|
40
|
+
"TextTransformation": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"enum": [
|
|
43
|
+
"uppercase",
|
|
44
|
+
"lowercase",
|
|
45
|
+
"capitalize",
|
|
46
|
+
"titlecase",
|
|
47
|
+
"trim"
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
}
|
|
43
51
|
}
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
"title": "getAttributesFromElement Operation",
|
|
6
6
|
"description": "Schema for the getAttributesFromElement operation",
|
|
7
7
|
"required": [
|
|
8
|
+
"id",
|
|
8
9
|
"systemName",
|
|
9
10
|
"operationData"
|
|
10
11
|
],
|
|
11
12
|
"properties": {
|
|
12
13
|
"id": {
|
|
13
14
|
"type": "string",
|
|
14
|
-
"description": "Unique identifier for the operation
|
|
15
|
-
"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
|
+
"description": "Unique identifier for the operation"
|
|
16
16
|
},
|
|
17
17
|
"systemName": {
|
|
18
18
|
"const": "getAttributesFromElement",
|
|
@@ -22,10 +22,6 @@
|
|
|
22
22
|
"type": "object",
|
|
23
23
|
"description": "Operation-specific configuration data",
|
|
24
24
|
"properties": {
|
|
25
|
-
"selectedElement": {
|
|
26
|
-
"description": "The HTML element whose attributes will be retrieved",
|
|
27
|
-
"type": "object"
|
|
28
|
-
},
|
|
29
25
|
"attributeNames": {
|
|
30
26
|
"type": "array",
|
|
31
27
|
"items": {
|
|
@@ -40,10 +36,15 @@
|
|
|
40
36
|
},
|
|
41
37
|
"additionalProperties": true,
|
|
42
38
|
"required": [
|
|
43
|
-
"selectedElement",
|
|
44
39
|
"attributeNames"
|
|
45
40
|
]
|
|
46
41
|
}
|
|
47
42
|
},
|
|
48
|
-
"additionalProperties": false
|
|
43
|
+
"additionalProperties": false,
|
|
44
|
+
"definitions": {
|
|
45
|
+
"Record<string,unknown>": {
|
|
46
|
+
"type": "object",
|
|
47
|
+
"additionalProperties": {}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
49
50
|
}
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
"title": "getControllerFromElement Operation",
|
|
6
6
|
"description": "Schema for the getControllerFromElement operation",
|
|
7
7
|
"required": [
|
|
8
|
+
"id",
|
|
8
9
|
"systemName",
|
|
9
10
|
"operationData"
|
|
10
11
|
],
|
|
11
12
|
"properties": {
|
|
12
13
|
"id": {
|
|
13
14
|
"type": "string",
|
|
14
|
-
"description": "Unique identifier for the operation
|
|
15
|
-
"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
|
+
"description": "Unique identifier for the operation"
|
|
16
16
|
},
|
|
17
17
|
"systemName": {
|
|
18
18
|
"const": "getControllerFromElement",
|
|
@@ -22,10 +22,6 @@
|
|
|
22
22
|
"type": "object",
|
|
23
23
|
"description": "Operation-specific configuration data",
|
|
24
24
|
"properties": {
|
|
25
|
-
"selectedElement": {
|
|
26
|
-
"type": "object",
|
|
27
|
-
"description": "DOM element (JQuery)"
|
|
28
|
-
},
|
|
29
25
|
"controllerName": {
|
|
30
26
|
"type": "string"
|
|
31
27
|
},
|
|
@@ -35,7 +31,6 @@
|
|
|
35
31
|
},
|
|
36
32
|
"additionalProperties": true,
|
|
37
33
|
"required": [
|
|
38
|
-
"selectedElement",
|
|
39
34
|
"controllerName"
|
|
40
35
|
]
|
|
41
36
|
}
|
|
@@ -5,13 +5,14 @@
|
|
|
5
5
|
"title": "getControllerInstance Operation",
|
|
6
6
|
"description": "Schema for the getControllerInstance operation (generated from IGetControllerInstanceOperationData)",
|
|
7
7
|
"required": [
|
|
8
|
-
"
|
|
8
|
+
"id",
|
|
9
|
+
"systemName",
|
|
10
|
+
"operationData"
|
|
9
11
|
],
|
|
10
12
|
"properties": {
|
|
11
13
|
"id": {
|
|
12
14
|
"type": "string",
|
|
13
|
-
"description": "Unique identifier for the operation
|
|
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
|
+
"description": "Unique identifier for the operation"
|
|
15
16
|
},
|
|
16
17
|
"systemName": {
|
|
17
18
|
"const": "getControllerInstance",
|
|
@@ -19,8 +20,20 @@
|
|
|
19
20
|
},
|
|
20
21
|
"operationData": {
|
|
21
22
|
"type": "object",
|
|
22
|
-
"description": "Operation-specific configuration data
|
|
23
|
-
"
|
|
23
|
+
"description": "Operation-specific configuration data",
|
|
24
|
+
"properties": {
|
|
25
|
+
"systemName": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "The name of a built-in controller, or of a controller registered on the\n`EligiusResourceImporter`."
|
|
28
|
+
},
|
|
29
|
+
"controllerInstance": {
|
|
30
|
+
"type": "object"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"additionalProperties": true,
|
|
34
|
+
"required": [
|
|
35
|
+
"systemName"
|
|
36
|
+
]
|
|
24
37
|
}
|
|
25
38
|
},
|
|
26
39
|
"additionalProperties": false
|
|
@@ -5,14 +5,13 @@
|
|
|
5
5
|
"title": "getCurrentTime Operation",
|
|
6
6
|
"description": "Schema for the getCurrentTime operation",
|
|
7
7
|
"required": [
|
|
8
|
-
"
|
|
9
|
-
"
|
|
8
|
+
"id",
|
|
9
|
+
"systemName"
|
|
10
10
|
],
|
|
11
11
|
"properties": {
|
|
12
12
|
"id": {
|
|
13
13
|
"type": "string",
|
|
14
|
-
"description": "Unique identifier for the operation
|
|
15
|
-
"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}$"
|
|
14
|
+
"description": "Unique identifier for the operation"
|
|
16
15
|
},
|
|
17
16
|
"systemName": {
|
|
18
17
|
"const": "getCurrentTime",
|
|
@@ -5,14 +5,13 @@
|
|
|
5
5
|
"title": "getElementDimensions Operation",
|
|
6
6
|
"description": "Schema for the getElementDimensions operation",
|
|
7
7
|
"required": [
|
|
8
|
-
"
|
|
9
|
-
"
|
|
8
|
+
"id",
|
|
9
|
+
"systemName"
|
|
10
10
|
],
|
|
11
11
|
"properties": {
|
|
12
12
|
"id": {
|
|
13
13
|
"type": "string",
|
|
14
|
-
"description": "Unique identifier for the operation
|
|
15
|
-
"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}$"
|
|
14
|
+
"description": "Unique identifier for the operation"
|
|
16
15
|
},
|
|
17
16
|
"systemName": {
|
|
18
17
|
"const": "getElementDimensions",
|
|
@@ -22,10 +21,6 @@
|
|
|
22
21
|
"type": "object",
|
|
23
22
|
"description": "Operation-specific configuration data",
|
|
24
23
|
"properties": {
|
|
25
|
-
"selectedElement": {
|
|
26
|
-
"type": "object",
|
|
27
|
-
"description": "DOM element (JQuery)"
|
|
28
|
-
},
|
|
29
24
|
"modifier": {
|
|
30
25
|
"type": "object"
|
|
31
26
|
},
|
|
@@ -41,10 +36,7 @@
|
|
|
41
36
|
}
|
|
42
37
|
}
|
|
43
38
|
},
|
|
44
|
-
"additionalProperties": true
|
|
45
|
-
"required": [
|
|
46
|
-
"selectedElement"
|
|
47
|
-
]
|
|
39
|
+
"additionalProperties": true
|
|
48
40
|
}
|
|
49
41
|
},
|
|
50
42
|
"additionalProperties": false
|
|
@@ -5,14 +5,13 @@
|
|
|
5
5
|
"title": "getFocusedElement Operation",
|
|
6
6
|
"description": "Schema for the getFocusedElement operation",
|
|
7
7
|
"required": [
|
|
8
|
-
"
|
|
9
|
-
"
|
|
8
|
+
"id",
|
|
9
|
+
"systemName"
|
|
10
10
|
],
|
|
11
11
|
"properties": {
|
|
12
12
|
"id": {
|
|
13
13
|
"type": "string",
|
|
14
|
-
"description": "Unique identifier for the operation
|
|
15
|
-
"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}$"
|
|
14
|
+
"description": "Unique identifier for the operation"
|
|
16
15
|
},
|
|
17
16
|
"systemName": {
|
|
18
17
|
"const": "getFocusedElement",
|