eligius 1.4.0 → 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.
- package/dist/index.d.ts +840 -16
- package/dist/index.js +927 -32
- package/dist/index.js.map +1 -1
- 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-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/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-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/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 +1 -1
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/http-delete-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The httpDelete schema",
|
|
7
|
+
"description": "Performs an HTTP DELETE 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": "httpDelete"
|
|
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
|
+
"headers": {
|
|
37
|
+
"$id": "#/properties/operationData/headers",
|
|
38
|
+
"type": [
|
|
39
|
+
"object"
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/http-post-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The httpPost schema",
|
|
7
|
+
"description": "Performs an HTTP POST 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": "httpPost"
|
|
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": [
|
|
45
|
+
"object"
|
|
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/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": [
|
|
45
|
+
"object"
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/save-to-storage-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The saveToStorage schema",
|
|
7
|
+
"description": "Saves data to browser storage (localStorage or sessionStorage).\n\nSerializes the value as JSON before storing. Supports any JSON-serializable data type.",
|
|
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": "saveToStorage"
|
|
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
|
+
"value": {
|
|
37
|
+
"$id": "#/properties/operationData/value",
|
|
38
|
+
"type": [
|
|
39
|
+
"object"
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
"storageType": {
|
|
43
|
+
"$id": "#/properties/operationData/storageType",
|
|
44
|
+
"type": "array"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/scroll-to-element-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The scrollToElement schema",
|
|
7
|
+
"description": "Scrolls the viewport to bring the selected element into view.\n\nUses the browser's `scrollIntoView` API with configurable behavior.",
|
|
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": "scrollToElement"
|
|
24
|
+
},
|
|
25
|
+
"operationData": {
|
|
26
|
+
"$id": "#/properties/operationData",
|
|
27
|
+
"type": "object",
|
|
28
|
+
"title": "The Operationdata Schema",
|
|
29
|
+
"properties": {
|
|
30
|
+
"behavior": {
|
|
31
|
+
"$id": "#/properties/operationData/behavior",
|
|
32
|
+
"type": "array"
|
|
33
|
+
},
|
|
34
|
+
"block": {
|
|
35
|
+
"$id": "#/properties/operationData/block",
|
|
36
|
+
"type": "array"
|
|
37
|
+
},
|
|
38
|
+
"inline": {
|
|
39
|
+
"$id": "#/properties/operationData/inline",
|
|
40
|
+
"type": "array"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/scroll-to-position-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The scrollToPosition schema",
|
|
7
|
+
"description": "Scrolls the viewport to a specific x,y coordinate position.\n\nUses the browser's `window.scrollTo` API with configurable behavior.",
|
|
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": "scrollToPosition"
|
|
24
|
+
},
|
|
25
|
+
"operationData": {
|
|
26
|
+
"$id": "#/properties/operationData",
|
|
27
|
+
"type": "object",
|
|
28
|
+
"title": "The Operationdata Schema",
|
|
29
|
+
"properties": {
|
|
30
|
+
"x": {
|
|
31
|
+
"$id": "#/properties/operationData/x",
|
|
32
|
+
"type": [
|
|
33
|
+
"number"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"y": {
|
|
37
|
+
"$id": "#/properties/operationData/y",
|
|
38
|
+
"type": [
|
|
39
|
+
"number"
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
"behavior": {
|
|
43
|
+
"$id": "#/properties/operationData/behavior",
|
|
44
|
+
"type": "array"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/set-focus-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The setFocus schema",
|
|
7
|
+
"description": "Sets focus to the 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": "setFocus"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/set-form-value-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The setFormValue schema",
|
|
7
|
+
"description": "Sets the value of an input, select, or textarea element.\n\nHandles different input types appropriately:\n- Text inputs, textareas, selects: sets value directly\n- Checkboxes: sets checked property for boolean values\n- Radio buttons: sets checked property for boolean values\n- Number inputs: converts to string",
|
|
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": "setFormValue"
|
|
24
|
+
},
|
|
25
|
+
"operationData": {
|
|
26
|
+
"$id": "#/properties/operationData",
|
|
27
|
+
"type": "object",
|
|
28
|
+
"title": "The Operationdata Schema",
|
|
29
|
+
"properties": {
|
|
30
|
+
"value": {
|
|
31
|
+
"$id": "#/properties/operationData/value",
|
|
32
|
+
"type": "array"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/sort-array-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The sortArray schema",
|
|
7
|
+
"description": "Sorts an array by property, natural order, or custom comparator function.\n\nOperates on arrayData passed from previous operations.\nSupports three sorting modes:\n1. Property sort: `sortProperty` and `sortOrder` to sort objects by property\n2. Natural sort: `sortOrder` alone for primitive arrays\n3. Custom comparator: `sortComparator` function for complex sorting 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": "sortArray"
|
|
24
|
+
},
|
|
25
|
+
"operationData": {
|
|
26
|
+
"$id": "#/properties/operationData",
|
|
27
|
+
"type": "object",
|
|
28
|
+
"title": "The Operationdata Schema",
|
|
29
|
+
"properties": {
|
|
30
|
+
"sortProperty": {
|
|
31
|
+
"$id": "#/properties/operationData/sortProperty",
|
|
32
|
+
"type": [
|
|
33
|
+
"string"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"sortOrder": {
|
|
37
|
+
"$id": "#/properties/operationData/sortOrder",
|
|
38
|
+
"type": "array"
|
|
39
|
+
},
|
|
40
|
+
"sortComparator": {
|
|
41
|
+
"$id": "#/properties/operationData/sortComparator",
|
|
42
|
+
"type": [
|
|
43
|
+
"string"
|
|
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/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
|
+
],
|
|
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": "splitString"
|
|
24
|
+
},
|
|
25
|
+
"operationData": {
|
|
26
|
+
"$id": "#/properties/operationData",
|
|
27
|
+
"type": "object",
|
|
28
|
+
"title": "The Operationdata Schema",
|
|
29
|
+
"properties": {
|
|
30
|
+
"delimiter": {
|
|
31
|
+
"$id": "#/properties/operationData/delimiter",
|
|
32
|
+
"type": "array"
|
|
33
|
+
},
|
|
34
|
+
"limit": {
|
|
35
|
+
"$id": "#/properties/operationData/limit",
|
|
36
|
+
"type": [
|
|
37
|
+
"number"
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|