eligius 1.3.1 → 1.4.1

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.
Files changed (78) hide show
  1. package/dist/index.d.ts +980 -104
  2. package/dist/index.js +1146 -185
  3. package/dist/index.js.map +1 -1
  4. package/jsonschema/endable-action-template.json +186 -0
  5. package/jsonschema/endable-action.json +186 -0
  6. package/jsonschema/event-action.json +93 -0
  7. package/jsonschema/operation-templates/announce-to-screen-reader.json +43 -0
  8. package/jsonschema/operation-templates/clear-storage.json +43 -0
  9. package/jsonschema/operation-templates/compare-date.json +41 -0
  10. package/jsonschema/operation-templates/concatenate-strings.json +45 -0
  11. package/jsonschema/operation-templates/continue-for-each.json +1 -1
  12. package/jsonschema/operation-templates/filter-array.json +51 -0
  13. package/jsonschema/operation-templates/find-in-array.json +51 -0
  14. package/jsonschema/operation-templates/for-each.json +1 -1
  15. package/jsonschema/operation-templates/format-date.json +39 -0
  16. package/jsonschema/operation-templates/format-text.json +37 -0
  17. package/jsonschema/operation-templates/get-controller-from-element.json +1 -1
  18. package/jsonschema/operation-templates/get-current-time.json +26 -0
  19. package/jsonschema/operation-templates/get-focused-element.json +26 -0
  20. package/jsonschema/operation-templates/get-form-data.json +26 -0
  21. package/jsonschema/operation-templates/get-scroll-position.json +26 -0
  22. package/jsonschema/operation-templates/get-text-content.json +26 -0
  23. package/jsonschema/operation-templates/http-delete.json +45 -0
  24. package/jsonschema/operation-templates/http-post.json +51 -0
  25. package/jsonschema/operation-templates/http-put.json +51 -0
  26. package/jsonschema/operation-templates/is-element-in-viewport.json +26 -0
  27. package/jsonschema/operation-templates/load-from-storage.json +43 -0
  28. package/jsonschema/operation-templates/map-array.json +39 -0
  29. package/jsonschema/operation-templates/remove-controller-from-element.json +1 -1
  30. package/jsonschema/operation-templates/replace-string.json +43 -0
  31. package/jsonschema/operation-templates/replace-text.json +43 -0
  32. package/jsonschema/operation-templates/save-to-storage.json +49 -0
  33. package/jsonschema/operation-templates/scroll-to-element.json +45 -0
  34. package/jsonschema/operation-templates/scroll-to-position.json +49 -0
  35. package/jsonschema/operation-templates/set-focus.json +26 -0
  36. package/jsonschema/operation-templates/set-form-value.json +37 -0
  37. package/jsonschema/operation-templates/sort-array.json +49 -0
  38. package/jsonschema/operation-templates/split-string.json +43 -0
  39. package/jsonschema/operation-templates/substring-text.json +45 -0
  40. package/jsonschema/operation-templates/toggle-form-element.json +39 -0
  41. package/jsonschema/operation-templates/validate-form.json +39 -0
  42. package/jsonschema/operations/announce-to-screen-reader.json +47 -0
  43. package/jsonschema/operations/clear-storage.json +47 -0
  44. package/jsonschema/operations/compare-date.json +46 -0
  45. package/jsonschema/operations/concatenate-strings.json +49 -0
  46. package/jsonschema/operations/continue-for-each.json +1 -1
  47. package/jsonschema/operations/filter-array.json +53 -0
  48. package/jsonschema/operations/find-in-array.json +53 -0
  49. package/jsonschema/operations/for-each.json +1 -1
  50. package/jsonschema/operations/format-date.json +43 -0
  51. package/jsonschema/operations/format-text.json +41 -0
  52. package/jsonschema/operations/get-controller-from-element.json +1 -1
  53. package/jsonschema/operations/get-current-time.json +26 -0
  54. package/jsonschema/operations/get-focused-element.json +26 -0
  55. package/jsonschema/operations/get-form-data.json +26 -0
  56. package/jsonschema/operations/get-scroll-position.json +26 -0
  57. package/jsonschema/operations/get-text-content.json +26 -0
  58. package/jsonschema/operations/http-delete.json +49 -0
  59. package/jsonschema/operations/http-post.json +55 -0
  60. package/jsonschema/operations/http-put.json +55 -0
  61. package/jsonschema/operations/is-element-in-viewport.json +26 -0
  62. package/jsonschema/operations/load-from-storage.json +48 -0
  63. package/jsonschema/operations/map-array.json +43 -0
  64. package/jsonschema/operations/remove-controller-from-element.json +1 -1
  65. package/jsonschema/operations/replace-string.json +48 -0
  66. package/jsonschema/operations/replace-text.json +48 -0
  67. package/jsonschema/operations/save-to-storage.json +55 -0
  68. package/jsonschema/operations/scroll-to-element.json +47 -0
  69. package/jsonschema/operations/scroll-to-position.json +54 -0
  70. package/jsonschema/operations/set-focus.json +26 -0
  71. package/jsonschema/operations/set-form-value.json +41 -0
  72. package/jsonschema/operations/sort-array.json +51 -0
  73. package/jsonschema/operations/split-string.json +47 -0
  74. package/jsonschema/operations/substring-text.json +49 -0
  75. package/jsonschema/operations/toggle-form-element.json +43 -0
  76. package/jsonschema/operations/validate-form.json +41 -0
  77. package/jsonschema/timeline-action.json +186 -0
  78. package/package.json +7 -6
@@ -64,6 +64,9 @@
64
64
  {
65
65
  "$ref": "operations/animate-with-class.json"
66
66
  },
67
+ {
68
+ "$ref": "operations/announce-to-screen-reader.json"
69
+ },
67
70
  {
68
71
  "$ref": "operations/break-for-each.json"
69
72
  },
@@ -79,6 +82,15 @@
79
82
  {
80
83
  "$ref": "operations/clear-operation-data.json"
81
84
  },
85
+ {
86
+ "$ref": "operations/clear-storage.json"
87
+ },
88
+ {
89
+ "$ref": "operations/compare-date.json"
90
+ },
91
+ {
92
+ "$ref": "operations/concatenate-strings.json"
93
+ },
82
94
  {
83
95
  "$ref": "operations/continue-for-each.json"
84
96
  },
@@ -100,9 +112,21 @@
100
112
  {
101
113
  "$ref": "operations/extend-controller.json"
102
114
  },
115
+ {
116
+ "$ref": "operations/filter-array.json"
117
+ },
118
+ {
119
+ "$ref": "operations/find-in-array.json"
120
+ },
103
121
  {
104
122
  "$ref": "operations/for-each.json"
105
123
  },
124
+ {
125
+ "$ref": "operations/format-date.json"
126
+ },
127
+ {
128
+ "$ref": "operations/format-text.json"
129
+ },
106
130
  {
107
131
  "$ref": "operations/get-attributes-from-element.json"
108
132
  },
@@ -112,24 +136,57 @@
112
136
  {
113
137
  "$ref": "operations/get-controller-instance.json"
114
138
  },
139
+ {
140
+ "$ref": "operations/get-current-time.json"
141
+ },
115
142
  {
116
143
  "$ref": "operations/get-element-dimensions.json"
117
144
  },
145
+ {
146
+ "$ref": "operations/get-focused-element.json"
147
+ },
148
+ {
149
+ "$ref": "operations/get-form-data.json"
150
+ },
118
151
  {
119
152
  "$ref": "operations/get-import.json"
120
153
  },
121
154
  {
122
155
  "$ref": "operations/get-query-params.json"
123
156
  },
157
+ {
158
+ "$ref": "operations/get-scroll-position.json"
159
+ },
160
+ {
161
+ "$ref": "operations/get-text-content.json"
162
+ },
163
+ {
164
+ "$ref": "operations/http-delete.json"
165
+ },
166
+ {
167
+ "$ref": "operations/http-post.json"
168
+ },
169
+ {
170
+ "$ref": "operations/http-put.json"
171
+ },
124
172
  {
125
173
  "$ref": "operations/invoke-object-method.json"
126
174
  },
175
+ {
176
+ "$ref": "operations/is-element-in-viewport.json"
177
+ },
178
+ {
179
+ "$ref": "operations/load-from-storage.json"
180
+ },
127
181
  {
128
182
  "$ref": "operations/load-json.json"
129
183
  },
130
184
  {
131
185
  "$ref": "operations/log.json"
132
186
  },
187
+ {
188
+ "$ref": "operations/map-array.json"
189
+ },
133
190
  {
134
191
  "$ref": "operations/math.json"
135
192
  },
@@ -151,9 +208,24 @@
151
208
  {
152
209
  "$ref": "operations/reparent-element.json"
153
210
  },
211
+ {
212
+ "$ref": "operations/replace-string.json"
213
+ },
214
+ {
215
+ "$ref": "operations/replace-text.json"
216
+ },
154
217
  {
155
218
  "$ref": "operations/request-action.json"
156
219
  },
220
+ {
221
+ "$ref": "operations/save-to-storage.json"
222
+ },
223
+ {
224
+ "$ref": "operations/scroll-to-element.json"
225
+ },
226
+ {
227
+ "$ref": "operations/scroll-to-position.json"
228
+ },
157
229
  {
158
230
  "$ref": "operations/select-element.json"
159
231
  },
@@ -166,6 +238,12 @@
166
238
  {
167
239
  "$ref": "operations/set-element-content.json"
168
240
  },
241
+ {
242
+ "$ref": "operations/set-focus.json"
243
+ },
244
+ {
245
+ "$ref": "operations/set-form-value.json"
246
+ },
169
247
  {
170
248
  "$ref": "operations/set-global-data.json"
171
249
  },
@@ -178,15 +256,30 @@
178
256
  {
179
257
  "$ref": "operations/set-variable.json"
180
258
  },
259
+ {
260
+ "$ref": "operations/sort-array.json"
261
+ },
262
+ {
263
+ "$ref": "operations/split-string.json"
264
+ },
181
265
  {
182
266
  "$ref": "operations/start-action.json"
183
267
  },
268
+ {
269
+ "$ref": "operations/substring-text.json"
270
+ },
184
271
  {
185
272
  "$ref": "operations/toggle-class.json"
186
273
  },
187
274
  {
188
275
  "$ref": "operations/toggle-element.json"
189
276
  },
277
+ {
278
+ "$ref": "operations/toggle-form-element.json"
279
+ },
280
+ {
281
+ "$ref": "operations/validate-form.json"
282
+ },
190
283
  {
191
284
  "$ref": "operations/wait.json"
192
285
  },
@@ -0,0 +1,43 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/announce-to-screen-reader-operation.json",
5
+ "type": "object",
6
+ "title": "The announceToScreenReader schema",
7
+ "description": "Announces a message to screen readers using an ARIA live region.",
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": "announceToScreenReader"
24
+ },
25
+ "operationData": {
26
+ "$id": "#/properties/operationData",
27
+ "type": "object",
28
+ "title": "The Operationdata Schema",
29
+ "properties": {
30
+ "message": {
31
+ "$id": "#/properties/operationData/message",
32
+ "type": [
33
+ "string"
34
+ ]
35
+ },
36
+ "priority": {
37
+ "$id": "#/properties/operationData/priority",
38
+ "type": "array"
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/clear-storage-operation.json",
5
+ "type": "object",
6
+ "title": "The clearStorage schema",
7
+ "description": "Clears data from browser storage (localStorage or sessionStorage).\n\nIf `key` is provided, removes only that key. If `key` is omitted, clears all storage.",
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": "clearStorage"
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
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/compare-date-operation.json",
5
+ "type": "object",
6
+ "title": "The compareDate schema",
7
+ "description": "Compares two dates.\ncomparison: -1 (before), 0 (equal), 1 (after)",
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": "compareDate"
24
+ },
25
+ "operationData": {
26
+ "$id": "#/properties/operationData",
27
+ "type": "object",
28
+ "title": "The Operationdata Schema",
29
+ "properties": {
30
+ "date1": {
31
+ "$id": "#/properties/operationData/date1",
32
+ "type": "array"
33
+ },
34
+ "date2": {
35
+ "$id": "#/properties/operationData/date2",
36
+ "type": "array"
37
+ }
38
+ }
39
+ }
40
+ }
41
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/concatenate-strings-operation.json",
5
+ "type": "object",
6
+ "title": "The concatenateStrings schema",
7
+ "description": "Concatenates multiple strings with an optional separator.",
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": "concatenateStrings"
24
+ },
25
+ "operationData": {
26
+ "$id": "#/properties/operationData",
27
+ "type": "object",
28
+ "title": "The Operationdata Schema",
29
+ "properties": {
30
+ "strings": {
31
+ "$id": "#/properties/operationData/strings",
32
+ "type": [
33
+ "array"
34
+ ]
35
+ },
36
+ "separator": {
37
+ "$id": "#/properties/operationData/separator",
38
+ "type": [
39
+ "string"
40
+ ]
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }
@@ -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": "\nThis 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.",
7
+ "description": "\nThis 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
  ],
@@ -0,0 +1,51 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/filter-array-operation.json",
5
+ "type": "object",
6
+ "title": "The filterArray schema",
7
+ "description": "Filters an array based on property equality or custom predicate function.\n\nOperates on arrayData passed from previous operations.\nSupports two filtering modes:\n1. Property equality: `filterProperty` and `filterValue` to filter by property match\n2. Custom predicate: `filterPredicate` function for complex filtering logic",
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": "filterArray"
24
+ },
25
+ "operationData": {
26
+ "$id": "#/properties/operationData",
27
+ "type": "object",
28
+ "title": "The Operationdata Schema",
29
+ "properties": {
30
+ "filterProperty": {
31
+ "$id": "#/properties/operationData/filterProperty",
32
+ "type": [
33
+ "string"
34
+ ]
35
+ },
36
+ "filterValue": {
37
+ "$id": "#/properties/operationData/filterValue",
38
+ "type": [
39
+ "object"
40
+ ]
41
+ },
42
+ "filterPredicate": {
43
+ "$id": "#/properties/operationData/filterPredicate",
44
+ "type": [
45
+ "string"
46
+ ]
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/find-in-array-operation.json",
5
+ "type": "object",
6
+ "title": "The findInArray schema",
7
+ "description": "Finds the first element in an array matching criteria.\n\nOperates on arrayData passed from previous operations.\nSupports two search modes:\n1. Property equality: `findProperty` and `findValue` to find by property match\n2. Custom predicate: `findPredicate` function for complex search logic\n\nReturns `undefined` for `foundItem` and `-1` for `foundIndex` if no match found.",
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": "findInArray"
24
+ },
25
+ "operationData": {
26
+ "$id": "#/properties/operationData",
27
+ "type": "object",
28
+ "title": "The Operationdata Schema",
29
+ "properties": {
30
+ "findProperty": {
31
+ "$id": "#/properties/operationData/findProperty",
32
+ "type": [
33
+ "string"
34
+ ]
35
+ },
36
+ "findValue": {
37
+ "$id": "#/properties/operationData/findValue",
38
+ "type": [
39
+ "object"
40
+ ]
41
+ },
42
+ "findPredicate": {
43
+ "$id": "#/properties/operationData/findPredicate",
44
+ "type": [
45
+ "string"
46
+ ]
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
@@ -4,7 +4,7 @@
4
4
  "$id": "http://eligius.com/schema/for-each-operation.json",
5
5
  "type": "object",
6
6
  "title": "The forEach schema",
7
- "description": "This operation iterates over the given collection.\n\nEach iteration the current item from the specified collection is\nassigned to the {@link IOperationScope.currentItem |currentItem} property on the {@link IOperationScope |operation scope}.\n\nAt the start of the loop, the associated {@link endForEach} operation is determined and when\nthe last iteration is completed the flow control is set to the index of that operation.\n\nThe {@link continueForEach |continue} and {@link breakForEach |break} operations can be used to control the \nloop iterations.",
7
+ "description": "This operation iterates over the given collection.\n\nEach iteration the current item from the specified collection is\nassigned to the {@link IOperationScope.currentItem |currentItem} property on the {@link IOperationScope |operation scope}.\n\nAt the start of the loop, the associated {@link endForEach} operation is determined and when\nthe last iteration is completed the flow control is set to the index of that operation.\n\nThe {@link continueForEach |continue} and {@link breakForEach |break} operations can be used to control the\nloop iterations.",
8
8
  "required": [
9
9
  "systemName"
10
10
  ],
@@ -0,0 +1,39 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/format-date-operation.json",
5
+ "type": "object",
6
+ "title": "The formatDate schema",
7
+ "description": "Formats a date using Intl.DateTimeFormat or simple patterns.",
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": "formatDate"
24
+ },
25
+ "operationData": {
26
+ "$id": "#/properties/operationData",
27
+ "type": "object",
28
+ "title": "The Operationdata Schema",
29
+ "properties": {
30
+ "format": {
31
+ "$id": "#/properties/operationData/format",
32
+ "type": [
33
+ "string"
34
+ ]
35
+ }
36
+ }
37
+ }
38
+ }
39
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/format-text-operation.json",
5
+ "type": "object",
6
+ "title": "The formatText schema",
7
+ "description": "Transforms text using format operations: uppercase, lowercase, capitalize, titlecase, or trim.\n\nOperates on textContent passed from previous operations (e.g., getTextContent).\n\nTransformations:\n- `uppercase`: Convert all characters to uppercase\n- `lowercase`: Convert all characters to lowercase\n- `capitalize`: Capitalize only the first letter\n- `titlecase`: Capitalize first letter of each word\n- `trim`: Remove leading and trailing whitespace",
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": "formatText"
24
+ },
25
+ "operationData": {
26
+ "$id": "#/properties/operationData",
27
+ "type": "object",
28
+ "title": "The Operationdata Schema",
29
+ "properties": {
30
+ "transformation": {
31
+ "$id": "#/properties/operationData/transformation",
32
+ "type": "array"
33
+ }
34
+ }
35
+ }
36
+ }
37
+ }
@@ -33,7 +33,7 @@
33
33
  {
34
34
  "type": "string",
35
35
  "enum": [
36
- "EventListenerController",
36
+ "DOMEventListenerController",
37
37
  "LabelController",
38
38
  "LottieController",
39
39
  "NavigationController",
@@ -0,0 +1,26 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/get-current-time-operation.json",
5
+ "type": "object",
6
+ "title": "The getCurrentTime schema",
7
+ "description": "Gets the current time as timestamp and Date object.",
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": "getCurrentTime"
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/get-focused-element-operation.json",
5
+ "type": "object",
6
+ "title": "The getFocusedElement schema",
7
+ "description": "Gets the currently focused 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": "getFocusedElement"
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/get-form-data-operation.json",
5
+ "type": "object",
6
+ "title": "The getFormData schema",
7
+ "description": "Extracts all input, select, and textarea values from form element into operation data.\n\nThis operation reads form field values and returns them as an object with field names as keys.\nOnly processes form elements that are enabled and not hidden. Handles checkboxes, radio buttons,\nselect elements, textareas, and text inputs.",
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": "getFormData"
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/get-scroll-position-operation.json",
5
+ "type": "object",
6
+ "title": "The getScrollPosition schema",
7
+ "description": "Gets the current scroll position of the viewport.\n\nReturns x (horizontal) and y (vertical) scroll positions in pixels.\nUses cross-browser compatible methods to retrieve scroll position.",
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": "getScrollPosition"
24
+ }
25
+ }
26
+ }