eligius 1.4.0 → 1.5.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 +2 -2
- package/dist/{index.d.ts → index.d.mts} +2518 -288
- package/dist/{index.js → index.mjs} +3164 -244
- package/dist/index.mjs.map +1 -0
- package/jsonschema/endable-action-template.json +186 -0
- package/jsonschema/endable-action.json +186 -0
- package/jsonschema/event-action.json +93 -0
- package/jsonschema/operation-templates/announce-to-screen-reader.json +43 -0
- package/jsonschema/operation-templates/clear-storage.json +43 -0
- package/jsonschema/operation-templates/compare-date.json +41 -0
- package/jsonschema/operation-templates/concatenate-strings.json +45 -0
- package/jsonschema/operation-templates/filter-array.json +51 -0
- package/jsonschema/operation-templates/find-in-array.json +51 -0
- package/jsonschema/operation-templates/format-date.json +39 -0
- package/jsonschema/operation-templates/format-text.json +37 -0
- package/jsonschema/operation-templates/get-controller-from-element.json +1 -0
- package/jsonschema/operation-templates/get-current-time.json +26 -0
- package/jsonschema/operation-templates/get-focused-element.json +26 -0
- package/jsonschema/operation-templates/get-form-data.json +26 -0
- package/jsonschema/operation-templates/get-scroll-position.json +26 -0
- package/jsonschema/operation-templates/get-text-content.json +26 -0
- package/jsonschema/operation-templates/http-delete.json +45 -0
- package/jsonschema/operation-templates/http-post.json +51 -0
- package/jsonschema/operation-templates/http-put.json +51 -0
- package/jsonschema/operation-templates/is-element-in-viewport.json +26 -0
- package/jsonschema/operation-templates/load-from-storage.json +43 -0
- package/jsonschema/operation-templates/map-array.json +39 -0
- package/jsonschema/operation-templates/remove-controller-from-element.json +1 -0
- package/jsonschema/operation-templates/replace-string.json +43 -0
- package/jsonschema/operation-templates/replace-text.json +43 -0
- package/jsonschema/operation-templates/save-to-storage.json +49 -0
- package/jsonschema/operation-templates/scroll-to-element.json +45 -0
- package/jsonschema/operation-templates/scroll-to-position.json +49 -0
- package/jsonschema/operation-templates/set-focus.json +26 -0
- package/jsonschema/operation-templates/set-form-value.json +37 -0
- package/jsonschema/operation-templates/sort-array.json +49 -0
- package/jsonschema/operation-templates/split-string.json +43 -0
- package/jsonschema/operation-templates/substring-text.json +45 -0
- package/jsonschema/operation-templates/toggle-form-element.json +39 -0
- package/jsonschema/operation-templates/validate-form.json +39 -0
- package/jsonschema/operations/announce-to-screen-reader.json +47 -0
- package/jsonschema/operations/clear-storage.json +47 -0
- package/jsonschema/operations/compare-date.json +46 -0
- package/jsonschema/operations/concatenate-strings.json +49 -0
- package/jsonschema/operations/filter-array.json +53 -0
- package/jsonschema/operations/find-in-array.json +53 -0
- package/jsonschema/operations/format-date.json +43 -0
- package/jsonschema/operations/format-text.json +41 -0
- package/jsonschema/operations/get-controller-from-element.json +1 -0
- package/jsonschema/operations/get-current-time.json +26 -0
- package/jsonschema/operations/get-focused-element.json +26 -0
- package/jsonschema/operations/get-form-data.json +26 -0
- package/jsonschema/operations/get-scroll-position.json +26 -0
- package/jsonschema/operations/get-text-content.json +26 -0
- package/jsonschema/operations/http-delete.json +49 -0
- package/jsonschema/operations/http-post.json +55 -0
- package/jsonschema/operations/http-put.json +55 -0
- package/jsonschema/operations/is-element-in-viewport.json +26 -0
- package/jsonschema/operations/load-from-storage.json +48 -0
- package/jsonschema/operations/map-array.json +43 -0
- package/jsonschema/operations/remove-controller-from-element.json +1 -0
- package/jsonschema/operations/replace-string.json +48 -0
- package/jsonschema/operations/replace-text.json +48 -0
- package/jsonschema/operations/save-to-storage.json +55 -0
- package/jsonschema/operations/scroll-to-element.json +47 -0
- package/jsonschema/operations/scroll-to-position.json +54 -0
- package/jsonschema/operations/set-focus.json +26 -0
- package/jsonschema/operations/set-form-value.json +41 -0
- package/jsonschema/operations/sort-array.json +51 -0
- package/jsonschema/operations/split-string.json +47 -0
- package/jsonschema/operations/substring-text.json +49 -0
- package/jsonschema/operations/toggle-form-element.json +43 -0
- package/jsonschema/operations/validate-form.json +41 -0
- package/jsonschema/timeline-action.json +186 -0
- package/package.json +15 -15
- package/dist/index.js.map +0 -1
- /package/dist/{chunk-Bp6m_JJh.js → chunk-z5eko27R.mjs} +0 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/split-string-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The splitString schema",
|
|
7
|
+
"description": "Splits a string into an array by delimiter (string or regex).",
|
|
8
|
+
"required": [
|
|
9
|
+
"systemName",
|
|
10
|
+
"operationData"
|
|
11
|
+
],
|
|
12
|
+
"properties": {
|
|
13
|
+
"id": {
|
|
14
|
+
"$id": "#/properties/id",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"title": "The Id Schema",
|
|
17
|
+
"examples": [
|
|
18
|
+
"123e4567-e89b-12d3-a456-426614174000"
|
|
19
|
+
],
|
|
20
|
+
"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}$"
|
|
21
|
+
},
|
|
22
|
+
"systemName": {
|
|
23
|
+
"$id": "#/properties/systemName",
|
|
24
|
+
"const": "splitString"
|
|
25
|
+
},
|
|
26
|
+
"operationData": {
|
|
27
|
+
"$id": "#/properties/operationData",
|
|
28
|
+
"type": "object",
|
|
29
|
+
"title": "The Operationdata Schema",
|
|
30
|
+
"required": [
|
|
31
|
+
"delimiter"
|
|
32
|
+
],
|
|
33
|
+
"properties": {
|
|
34
|
+
"delimiter": {
|
|
35
|
+
"$id": "#/properties/operationData/delimiter",
|
|
36
|
+
"type": "array"
|
|
37
|
+
},
|
|
38
|
+
"limit": {
|
|
39
|
+
"$id": "#/properties/operationData/limit",
|
|
40
|
+
"type": [
|
|
41
|
+
"number"
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/substring-text-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The substringText schema",
|
|
7
|
+
"description": "Extracts a substring from text between start and end indices.",
|
|
8
|
+
"required": [
|
|
9
|
+
"systemName",
|
|
10
|
+
"operationData"
|
|
11
|
+
],
|
|
12
|
+
"properties": {
|
|
13
|
+
"id": {
|
|
14
|
+
"$id": "#/properties/id",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"title": "The Id Schema",
|
|
17
|
+
"examples": [
|
|
18
|
+
"123e4567-e89b-12d3-a456-426614174000"
|
|
19
|
+
],
|
|
20
|
+
"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}$"
|
|
21
|
+
},
|
|
22
|
+
"systemName": {
|
|
23
|
+
"$id": "#/properties/systemName",
|
|
24
|
+
"const": "substringText"
|
|
25
|
+
},
|
|
26
|
+
"operationData": {
|
|
27
|
+
"$id": "#/properties/operationData",
|
|
28
|
+
"type": "object",
|
|
29
|
+
"title": "The Operationdata Schema",
|
|
30
|
+
"required": [
|
|
31
|
+
"start"
|
|
32
|
+
],
|
|
33
|
+
"properties": {
|
|
34
|
+
"start": {
|
|
35
|
+
"$id": "#/properties/operationData/start",
|
|
36
|
+
"type": [
|
|
37
|
+
"number"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
"end": {
|
|
41
|
+
"$id": "#/properties/operationData/end",
|
|
42
|
+
"type": [
|
|
43
|
+
"number"
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/toggle-form-element-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The toggleFormElement schema",
|
|
7
|
+
"description": "Enables or disables form input elements (inputs, selects, textareas, buttons).\n\nSets the `disabled` property on the element. When `enabled` is true, removes the disabled\nattribute; when false, adds the disabled attribute.",
|
|
8
|
+
"required": [
|
|
9
|
+
"systemName",
|
|
10
|
+
"operationData"
|
|
11
|
+
],
|
|
12
|
+
"properties": {
|
|
13
|
+
"id": {
|
|
14
|
+
"$id": "#/properties/id",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"title": "The Id Schema",
|
|
17
|
+
"examples": [
|
|
18
|
+
"123e4567-e89b-12d3-a456-426614174000"
|
|
19
|
+
],
|
|
20
|
+
"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}$"
|
|
21
|
+
},
|
|
22
|
+
"systemName": {
|
|
23
|
+
"$id": "#/properties/systemName",
|
|
24
|
+
"const": "toggleFormElement"
|
|
25
|
+
},
|
|
26
|
+
"operationData": {
|
|
27
|
+
"$id": "#/properties/operationData",
|
|
28
|
+
"type": "object",
|
|
29
|
+
"title": "The Operationdata Schema",
|
|
30
|
+
"required": [
|
|
31
|
+
"enabled"
|
|
32
|
+
],
|
|
33
|
+
"properties": {
|
|
34
|
+
"enabled": {
|
|
35
|
+
"$id": "#/properties/operationData/enabled",
|
|
36
|
+
"type": [
|
|
37
|
+
"boolean"
|
|
38
|
+
]
|
|
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/validate-form-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The validateForm schema",
|
|
7
|
+
"description": "Validates form fields against HTML5 validation and custom rules.\n\nUses HTML5 validation API (checkValidity()) for native validation, and supports\ncustom validation rules for: required, minLength, maxLength, pattern (regex), and email format.",
|
|
8
|
+
"required": [
|
|
9
|
+
"systemName",
|
|
10
|
+
"operationData"
|
|
11
|
+
],
|
|
12
|
+
"properties": {
|
|
13
|
+
"id": {
|
|
14
|
+
"$id": "#/properties/id",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"title": "The Id Schema",
|
|
17
|
+
"examples": [
|
|
18
|
+
"123e4567-e89b-12d3-a456-426614174000"
|
|
19
|
+
],
|
|
20
|
+
"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}$"
|
|
21
|
+
},
|
|
22
|
+
"systemName": {
|
|
23
|
+
"$id": "#/properties/systemName",
|
|
24
|
+
"const": "validateForm"
|
|
25
|
+
},
|
|
26
|
+
"operationData": {
|
|
27
|
+
"$id": "#/properties/operationData",
|
|
28
|
+
"type": "object",
|
|
29
|
+
"title": "The Operationdata Schema",
|
|
30
|
+
"required": [],
|
|
31
|
+
"properties": {
|
|
32
|
+
"validationRules": {
|
|
33
|
+
"$id": "#/properties/operationData/validationRules",
|
|
34
|
+
"type": [
|
|
35
|
+
"object"
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -65,6 +65,9 @@
|
|
|
65
65
|
{
|
|
66
66
|
"$ref": "operations/animate-with-class.json"
|
|
67
67
|
},
|
|
68
|
+
{
|
|
69
|
+
"$ref": "operations/announce-to-screen-reader.json"
|
|
70
|
+
},
|
|
68
71
|
{
|
|
69
72
|
"$ref": "operations/break-for-each.json"
|
|
70
73
|
},
|
|
@@ -80,6 +83,15 @@
|
|
|
80
83
|
{
|
|
81
84
|
"$ref": "operations/clear-operation-data.json"
|
|
82
85
|
},
|
|
86
|
+
{
|
|
87
|
+
"$ref": "operations/clear-storage.json"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"$ref": "operations/compare-date.json"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"$ref": "operations/concatenate-strings.json"
|
|
94
|
+
},
|
|
83
95
|
{
|
|
84
96
|
"$ref": "operations/continue-for-each.json"
|
|
85
97
|
},
|
|
@@ -101,9 +113,21 @@
|
|
|
101
113
|
{
|
|
102
114
|
"$ref": "operations/extend-controller.json"
|
|
103
115
|
},
|
|
116
|
+
{
|
|
117
|
+
"$ref": "operations/filter-array.json"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"$ref": "operations/find-in-array.json"
|
|
121
|
+
},
|
|
104
122
|
{
|
|
105
123
|
"$ref": "operations/for-each.json"
|
|
106
124
|
},
|
|
125
|
+
{
|
|
126
|
+
"$ref": "operations/format-date.json"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"$ref": "operations/format-text.json"
|
|
130
|
+
},
|
|
107
131
|
{
|
|
108
132
|
"$ref": "operations/get-attributes-from-element.json"
|
|
109
133
|
},
|
|
@@ -113,24 +137,57 @@
|
|
|
113
137
|
{
|
|
114
138
|
"$ref": "operations/get-controller-instance.json"
|
|
115
139
|
},
|
|
140
|
+
{
|
|
141
|
+
"$ref": "operations/get-current-time.json"
|
|
142
|
+
},
|
|
116
143
|
{
|
|
117
144
|
"$ref": "operations/get-element-dimensions.json"
|
|
118
145
|
},
|
|
146
|
+
{
|
|
147
|
+
"$ref": "operations/get-focused-element.json"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"$ref": "operations/get-form-data.json"
|
|
151
|
+
},
|
|
119
152
|
{
|
|
120
153
|
"$ref": "operations/get-import.json"
|
|
121
154
|
},
|
|
122
155
|
{
|
|
123
156
|
"$ref": "operations/get-query-params.json"
|
|
124
157
|
},
|
|
158
|
+
{
|
|
159
|
+
"$ref": "operations/get-scroll-position.json"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"$ref": "operations/get-text-content.json"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"$ref": "operations/http-delete.json"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"$ref": "operations/http-post.json"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"$ref": "operations/http-put.json"
|
|
172
|
+
},
|
|
125
173
|
{
|
|
126
174
|
"$ref": "operations/invoke-object-method.json"
|
|
127
175
|
},
|
|
176
|
+
{
|
|
177
|
+
"$ref": "operations/is-element-in-viewport.json"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"$ref": "operations/load-from-storage.json"
|
|
181
|
+
},
|
|
128
182
|
{
|
|
129
183
|
"$ref": "operations/load-json.json"
|
|
130
184
|
},
|
|
131
185
|
{
|
|
132
186
|
"$ref": "operations/log.json"
|
|
133
187
|
},
|
|
188
|
+
{
|
|
189
|
+
"$ref": "operations/map-array.json"
|
|
190
|
+
},
|
|
134
191
|
{
|
|
135
192
|
"$ref": "operations/math.json"
|
|
136
193
|
},
|
|
@@ -152,9 +209,24 @@
|
|
|
152
209
|
{
|
|
153
210
|
"$ref": "operations/reparent-element.json"
|
|
154
211
|
},
|
|
212
|
+
{
|
|
213
|
+
"$ref": "operations/replace-string.json"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"$ref": "operations/replace-text.json"
|
|
217
|
+
},
|
|
155
218
|
{
|
|
156
219
|
"$ref": "operations/request-action.json"
|
|
157
220
|
},
|
|
221
|
+
{
|
|
222
|
+
"$ref": "operations/save-to-storage.json"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"$ref": "operations/scroll-to-element.json"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"$ref": "operations/scroll-to-position.json"
|
|
229
|
+
},
|
|
158
230
|
{
|
|
159
231
|
"$ref": "operations/select-element.json"
|
|
160
232
|
},
|
|
@@ -167,6 +239,12 @@
|
|
|
167
239
|
{
|
|
168
240
|
"$ref": "operations/set-element-content.json"
|
|
169
241
|
},
|
|
242
|
+
{
|
|
243
|
+
"$ref": "operations/set-focus.json"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"$ref": "operations/set-form-value.json"
|
|
247
|
+
},
|
|
170
248
|
{
|
|
171
249
|
"$ref": "operations/set-global-data.json"
|
|
172
250
|
},
|
|
@@ -179,15 +257,30 @@
|
|
|
179
257
|
{
|
|
180
258
|
"$ref": "operations/set-variable.json"
|
|
181
259
|
},
|
|
260
|
+
{
|
|
261
|
+
"$ref": "operations/sort-array.json"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"$ref": "operations/split-string.json"
|
|
265
|
+
},
|
|
182
266
|
{
|
|
183
267
|
"$ref": "operations/start-action.json"
|
|
184
268
|
},
|
|
269
|
+
{
|
|
270
|
+
"$ref": "operations/substring-text.json"
|
|
271
|
+
},
|
|
185
272
|
{
|
|
186
273
|
"$ref": "operations/toggle-class.json"
|
|
187
274
|
},
|
|
188
275
|
{
|
|
189
276
|
"$ref": "operations/toggle-element.json"
|
|
190
277
|
},
|
|
278
|
+
{
|
|
279
|
+
"$ref": "operations/toggle-form-element.json"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"$ref": "operations/validate-form.json"
|
|
283
|
+
},
|
|
191
284
|
{
|
|
192
285
|
"$ref": "operations/wait.json"
|
|
193
286
|
},
|
|
@@ -218,6 +311,9 @@
|
|
|
218
311
|
{
|
|
219
312
|
"$ref": "operations/animate-with-class.json"
|
|
220
313
|
},
|
|
314
|
+
{
|
|
315
|
+
"$ref": "operations/announce-to-screen-reader.json"
|
|
316
|
+
},
|
|
221
317
|
{
|
|
222
318
|
"$ref": "operations/break-for-each.json"
|
|
223
319
|
},
|
|
@@ -233,6 +329,15 @@
|
|
|
233
329
|
{
|
|
234
330
|
"$ref": "operations/clear-operation-data.json"
|
|
235
331
|
},
|
|
332
|
+
{
|
|
333
|
+
"$ref": "operations/clear-storage.json"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"$ref": "operations/compare-date.json"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"$ref": "operations/concatenate-strings.json"
|
|
340
|
+
},
|
|
236
341
|
{
|
|
237
342
|
"$ref": "operations/continue-for-each.json"
|
|
238
343
|
},
|
|
@@ -254,9 +359,21 @@
|
|
|
254
359
|
{
|
|
255
360
|
"$ref": "operations/extend-controller.json"
|
|
256
361
|
},
|
|
362
|
+
{
|
|
363
|
+
"$ref": "operations/filter-array.json"
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"$ref": "operations/find-in-array.json"
|
|
367
|
+
},
|
|
257
368
|
{
|
|
258
369
|
"$ref": "operations/for-each.json"
|
|
259
370
|
},
|
|
371
|
+
{
|
|
372
|
+
"$ref": "operations/format-date.json"
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"$ref": "operations/format-text.json"
|
|
376
|
+
},
|
|
260
377
|
{
|
|
261
378
|
"$ref": "operations/get-attributes-from-element.json"
|
|
262
379
|
},
|
|
@@ -266,24 +383,57 @@
|
|
|
266
383
|
{
|
|
267
384
|
"$ref": "operations/get-controller-instance.json"
|
|
268
385
|
},
|
|
386
|
+
{
|
|
387
|
+
"$ref": "operations/get-current-time.json"
|
|
388
|
+
},
|
|
269
389
|
{
|
|
270
390
|
"$ref": "operations/get-element-dimensions.json"
|
|
271
391
|
},
|
|
392
|
+
{
|
|
393
|
+
"$ref": "operations/get-focused-element.json"
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"$ref": "operations/get-form-data.json"
|
|
397
|
+
},
|
|
272
398
|
{
|
|
273
399
|
"$ref": "operations/get-import.json"
|
|
274
400
|
},
|
|
275
401
|
{
|
|
276
402
|
"$ref": "operations/get-query-params.json"
|
|
277
403
|
},
|
|
404
|
+
{
|
|
405
|
+
"$ref": "operations/get-scroll-position.json"
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"$ref": "operations/get-text-content.json"
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"$ref": "operations/http-delete.json"
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"$ref": "operations/http-post.json"
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"$ref": "operations/http-put.json"
|
|
418
|
+
},
|
|
278
419
|
{
|
|
279
420
|
"$ref": "operations/invoke-object-method.json"
|
|
280
421
|
},
|
|
422
|
+
{
|
|
423
|
+
"$ref": "operations/is-element-in-viewport.json"
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"$ref": "operations/load-from-storage.json"
|
|
427
|
+
},
|
|
281
428
|
{
|
|
282
429
|
"$ref": "operations/load-json.json"
|
|
283
430
|
},
|
|
284
431
|
{
|
|
285
432
|
"$ref": "operations/log.json"
|
|
286
433
|
},
|
|
434
|
+
{
|
|
435
|
+
"$ref": "operations/map-array.json"
|
|
436
|
+
},
|
|
287
437
|
{
|
|
288
438
|
"$ref": "operations/math.json"
|
|
289
439
|
},
|
|
@@ -305,9 +455,24 @@
|
|
|
305
455
|
{
|
|
306
456
|
"$ref": "operations/reparent-element.json"
|
|
307
457
|
},
|
|
458
|
+
{
|
|
459
|
+
"$ref": "operations/replace-string.json"
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"$ref": "operations/replace-text.json"
|
|
463
|
+
},
|
|
308
464
|
{
|
|
309
465
|
"$ref": "operations/request-action.json"
|
|
310
466
|
},
|
|
467
|
+
{
|
|
468
|
+
"$ref": "operations/save-to-storage.json"
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"$ref": "operations/scroll-to-element.json"
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"$ref": "operations/scroll-to-position.json"
|
|
475
|
+
},
|
|
311
476
|
{
|
|
312
477
|
"$ref": "operations/select-element.json"
|
|
313
478
|
},
|
|
@@ -320,6 +485,12 @@
|
|
|
320
485
|
{
|
|
321
486
|
"$ref": "operations/set-element-content.json"
|
|
322
487
|
},
|
|
488
|
+
{
|
|
489
|
+
"$ref": "operations/set-focus.json"
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"$ref": "operations/set-form-value.json"
|
|
493
|
+
},
|
|
323
494
|
{
|
|
324
495
|
"$ref": "operations/set-global-data.json"
|
|
325
496
|
},
|
|
@@ -332,15 +503,30 @@
|
|
|
332
503
|
{
|
|
333
504
|
"$ref": "operations/set-variable.json"
|
|
334
505
|
},
|
|
506
|
+
{
|
|
507
|
+
"$ref": "operations/sort-array.json"
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
"$ref": "operations/split-string.json"
|
|
511
|
+
},
|
|
335
512
|
{
|
|
336
513
|
"$ref": "operations/start-action.json"
|
|
337
514
|
},
|
|
515
|
+
{
|
|
516
|
+
"$ref": "operations/substring-text.json"
|
|
517
|
+
},
|
|
338
518
|
{
|
|
339
519
|
"$ref": "operations/toggle-class.json"
|
|
340
520
|
},
|
|
341
521
|
{
|
|
342
522
|
"$ref": "operations/toggle-element.json"
|
|
343
523
|
},
|
|
524
|
+
{
|
|
525
|
+
"$ref": "operations/toggle-form-element.json"
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"$ref": "operations/validate-form.json"
|
|
529
|
+
},
|
|
344
530
|
{
|
|
345
531
|
"$ref": "operations/wait.json"
|
|
346
532
|
},
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eligius",
|
|
3
3
|
"author": "Roland Zwaga <rbzwaga@gmail.com>",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.5.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://rolandzwaga.github.io/eligius/",
|
|
7
7
|
"bugs": {
|
|
8
8
|
"url": "https://github.com/rolandzwaga/eligius/issues?q=is%3Aissue+is%3Aopen+label%3ABug"
|
|
9
9
|
},
|
|
10
10
|
"type": "module",
|
|
11
|
-
"module": "./dist/index.
|
|
11
|
+
"module": "./dist/index.mjs",
|
|
12
12
|
"exports": {
|
|
13
|
-
".": "./dist/index.
|
|
13
|
+
".": "./dist/index.mjs",
|
|
14
14
|
"./package.json": "./package.json"
|
|
15
15
|
},
|
|
16
16
|
"typesVersions": {
|
|
@@ -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 --no-file-parallelism",
|
|
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",
|
|
@@ -39,7 +39,8 @@
|
|
|
39
39
|
"docs": "npm run generate-schema && npm run typedoc && node copy-schema && npm run generate-readmes",
|
|
40
40
|
"opers-metadata": "tsx src/tools/code-generator/metadata-generator.ts",
|
|
41
41
|
"ctrls-metadata": "tsx src/tools/code-generator/ctrls-metadata-generator.ts",
|
|
42
|
-
"metadata": "
|
|
42
|
+
"events-metadata": "tsx src/tools/code-generator/events-metadata-generator.ts",
|
|
43
|
+
"metadata": "npm run opers-metadata && npm run ctrls-metadata && npm run events-metadata",
|
|
43
44
|
"ts-types": " tsc --noEmit false --emitDeclarationOnly --outDir dist",
|
|
44
45
|
"build": "rimraf dist && npm run metadata && npm run generate-schema && tsdown",
|
|
45
46
|
"codemod": "tsx src/tools/code-generator/uvu2vitest-codemod.ts",
|
|
@@ -48,36 +49,35 @@
|
|
|
48
49
|
"fix": "biome check --write ."
|
|
49
50
|
},
|
|
50
51
|
"devDependencies": {
|
|
51
|
-
"@biomejs/biome": "2.3.
|
|
52
|
+
"@biomejs/biome": "2.3.4",
|
|
52
53
|
"@ts-morph/bootstrap": "0.28.1",
|
|
53
54
|
"@types/chai": "5.2.3",
|
|
54
55
|
"@types/fs-extra": "11.0.4",
|
|
55
56
|
"@types/jquery": "3.5.33",
|
|
56
57
|
"@types/jsdom": "27.0.0",
|
|
57
|
-
"@types/node": "24.
|
|
58
|
+
"@types/node": "24.10.0",
|
|
58
59
|
"@types/sinon": "17.0.4",
|
|
59
60
|
"@types/uuid": "11.0.0",
|
|
60
|
-
"@vitest/coverage-istanbul": "
|
|
61
|
+
"@vitest/coverage-istanbul": "4.0.8",
|
|
61
62
|
"canvas": "3.2.0",
|
|
62
63
|
"chai": "6.2.0",
|
|
63
64
|
"fs-extra": "11.3.2",
|
|
64
65
|
"jquery": "3.7.1",
|
|
65
|
-
"jsdom": "27.0
|
|
66
|
+
"jsdom": "27.1.0",
|
|
66
67
|
"jsdom-global": "3.0.2",
|
|
67
68
|
"lottie-web": "5.13.0",
|
|
68
|
-
"rimraf": "6.0
|
|
69
|
+
"rimraf": "6.1.0",
|
|
69
70
|
"sinon": "21.0.0",
|
|
70
71
|
"ts-morph": "27.0.2",
|
|
71
72
|
"tsconfig-paths": "4.2.0",
|
|
72
|
-
"tsdown": "0.
|
|
73
|
+
"tsdown": "0.16.1",
|
|
73
74
|
"tslib": "2.8.1",
|
|
74
75
|
"tsx": "4.20.6",
|
|
75
76
|
"typedoc": "0.28.14",
|
|
76
77
|
"typedoc-plugin-missing-exports": "4.1.2",
|
|
77
78
|
"typescript": "5.9.3",
|
|
78
|
-
"uvu": "0.5.6",
|
|
79
79
|
"video.js": "8.23.4",
|
|
80
|
-
"vitest": "
|
|
80
|
+
"vitest": "4.0.8",
|
|
81
81
|
"watchlist": "0.3.1"
|
|
82
82
|
},
|
|
83
83
|
"peerDependencies": {
|
|
@@ -90,6 +90,6 @@
|
|
|
90
90
|
"ts-is-present": "1.2.2",
|
|
91
91
|
"uuid": "13.0.0"
|
|
92
92
|
},
|
|
93
|
-
"main": "./dist/index.
|
|
94
|
-
"types": "./dist/index.d.
|
|
93
|
+
"main": "./dist/index.mjs",
|
|
94
|
+
"types": "./dist/index.d.mts"
|
|
95
95
|
}
|