eligius 2.1.0 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/dist/index.d.mts +452 -227
  2. package/dist/index.mjs +356 -283
  3. package/dist/index.mjs.map +1 -1
  4. package/jsonschema/eligius-configuration.json +698 -125
  5. package/jsonschema/operations/add-class.json +20 -23
  6. package/jsonschema/operations/add-controller-to-element.json +13 -12
  7. package/jsonschema/operations/animate-with-class.json +21 -25
  8. package/jsonschema/operations/animate.json +23 -31
  9. package/jsonschema/operations/announce-to-screen-reader.json +20 -24
  10. package/jsonschema/operations/broadcast-event.json +19 -31
  11. package/jsonschema/operations/calc.json +24 -30
  12. package/jsonschema/operations/clear-element.json +24 -13
  13. package/jsonschema/operations/clear-operation-data.json +15 -18
  14. package/jsonschema/operations/compare-date.json +51 -23
  15. package/jsonschema/operations/concatenate-strings.json +22 -24
  16. package/jsonschema/operations/create-element.json +11 -144
  17. package/jsonschema/operations/custom-function.json +15 -22
  18. package/jsonschema/operations/end-action.json +19 -22
  19. package/jsonschema/operations/extend-controller.json +19 -22
  20. package/jsonschema/operations/filter-array.json +40 -26
  21. package/jsonschema/operations/find-in-array.json +40 -26
  22. package/jsonschema/operations/for-each.json +23 -22
  23. package/jsonschema/operations/format-date.json +33 -22
  24. package/jsonschema/operations/format-text.json +22 -20
  25. package/jsonschema/operations/get-attributes-from-element.json +28 -22
  26. package/jsonschema/operations/get-controller-from-element.json +23 -34
  27. package/jsonschema/operations/get-controller-instance.json +11 -25
  28. package/jsonschema/operations/get-current-time.json +23 -13
  29. package/jsonschema/operations/get-element-dimensions.json +30 -20
  30. package/jsonschema/operations/get-focused-element.json +20 -13
  31. package/jsonschema/operations/get-form-data.json +27 -13
  32. package/jsonschema/operations/get-import.json +17 -23
  33. package/jsonschema/operations/get-query-params.json +17 -18
  34. package/jsonschema/operations/get-scroll-position.json +23 -13
  35. package/jsonschema/operations/get-text-content.json +27 -13
  36. package/jsonschema/operations/http-delete.json +20 -24
  37. package/jsonschema/operations/http-post.json +21 -30
  38. package/jsonschema/operations/http-put.json +21 -30
  39. package/jsonschema/operations/invoke-object-method.json +26 -24
  40. package/jsonschema/operations/is-element-in-viewport.json +27 -13
  41. package/jsonschema/operations/load-from-storage.json +19 -26
  42. package/jsonschema/operations/load-json.json +21 -24
  43. package/jsonschema/operations/log.json +13 -26
  44. package/jsonschema/operations/map-array.json +39 -22
  45. package/jsonschema/operations/math.json +33 -27
  46. package/jsonschema/operations/remove-class.json +20 -23
  47. package/jsonschema/operations/remove-controller-from-element.json +20 -34
  48. package/jsonschema/operations/remove-element.json +24 -13
  49. package/jsonschema/operations/remove-properties-from-operation-data.json +18 -22
  50. package/jsonschema/operations/reparent-element.json +20 -22
  51. package/jsonschema/operations/replace-string.json +32 -25
  52. package/jsonschema/operations/replace-text.json +32 -25
  53. package/jsonschema/operations/request-action.json +18 -22
  54. package/jsonschema/operations/save-to-storage.json +19 -32
  55. package/jsonschema/operations/scroll-to-element.json +21 -22
  56. package/jsonschema/operations/scroll-to-position.json +18 -29
  57. package/jsonschema/operations/select-element.json +19 -24
  58. package/jsonschema/operations/set-data.json +15 -22
  59. package/jsonschema/operations/set-element-attributes.json +20 -22
  60. package/jsonschema/operations/set-element-content.json +36 -20
  61. package/jsonschema/operations/set-focus.json +24 -13
  62. package/jsonschema/operations/set-form-value.json +24 -20
  63. package/jsonschema/operations/set-global-data.json +18 -22
  64. package/jsonschema/operations/set-style.json +20 -22
  65. package/jsonschema/operations/set-variable.json +17 -31
  66. package/jsonschema/operations/set.json +40 -0
  67. package/jsonschema/operations/sort-array.json +39 -22
  68. package/jsonschema/operations/split-string.json +34 -22
  69. package/jsonschema/operations/start-action.json +19 -20
  70. package/jsonschema/operations/substring-text.json +23 -24
  71. package/jsonschema/operations/toggle-class.json +21 -23
  72. package/jsonschema/operations/toggle-element.json +24 -13
  73. package/jsonschema/operations/toggle-form-element.json +20 -22
  74. package/jsonschema/operations/validate-form.json +25 -18
  75. package/jsonschema/operations/wait.json +16 -22
  76. package/jsonschema/operations/when.json +15 -22
  77. package/package.json +4 -2
  78. package/jsonschema/endable-action-template.json +0 -527
  79. package/jsonschema/endable-action.json +0 -527
  80. package/jsonschema/engine-config.json +0 -21
  81. package/jsonschema/event-action.json +0 -295
  82. package/jsonschema/mediaplayer-timeline-provider-settings.json +0 -95
  83. package/jsonschema/operation-templates/add-class.json +0 -40
  84. package/jsonschema/operation-templates/add-controller-to-element.json +0 -26
  85. package/jsonschema/operation-templates/add-globals-to-operation.json +0 -39
  86. package/jsonschema/operation-templates/animate-with-class.json +0 -44
  87. package/jsonschema/operation-templates/animate.json +0 -51
  88. package/jsonschema/operation-templates/announce-to-screen-reader.json +0 -43
  89. package/jsonschema/operation-templates/break-for-each.json +0 -26
  90. package/jsonschema/operation-templates/broadcast-event.json +0 -51
  91. package/jsonschema/operation-templates/calc.json +0 -49
  92. package/jsonschema/operation-templates/clear-element.json +0 -26
  93. package/jsonschema/operation-templates/clear-operation-data.json +0 -37
  94. package/jsonschema/operation-templates/clear-storage.json +0 -41
  95. package/jsonschema/operation-templates/compare-date.json +0 -41
  96. package/jsonschema/operation-templates/concatenate-strings.json +0 -43
  97. package/jsonschema/operation-templates/continue-for-each.json +0 -26
  98. package/jsonschema/operation-templates/create-element.json +0 -156
  99. package/jsonschema/operation-templates/custom-function.json +0 -39
  100. package/jsonschema/operation-templates/end-action.json +0 -39
  101. package/jsonschema/operation-templates/end-for-each.json +0 -26
  102. package/jsonschema/operation-templates/end-when.json +0 -26
  103. package/jsonschema/operation-templates/extend-controller.json +0 -39
  104. package/jsonschema/operation-templates/filter-array.json +0 -47
  105. package/jsonschema/operation-templates/find-in-array.json +0 -47
  106. package/jsonschema/operation-templates/for-each.json +0 -40
  107. package/jsonschema/operation-templates/format-date.json +0 -39
  108. package/jsonschema/operation-templates/format-text.json +0 -37
  109. package/jsonschema/operation-templates/get-attributes-from-element.json +0 -39
  110. package/jsonschema/operation-templates/get-controller-from-element.json +0 -51
  111. package/jsonschema/operation-templates/get-controller-instance.json +0 -37
  112. package/jsonschema/operation-templates/get-current-time.json +0 -26
  113. package/jsonschema/operation-templates/get-element-dimensions.json +0 -39
  114. package/jsonschema/operation-templates/get-focused-element.json +0 -26
  115. package/jsonschema/operation-templates/get-form-data.json +0 -26
  116. package/jsonschema/operation-templates/get-import.json +0 -39
  117. package/jsonschema/operation-templates/get-query-params.json +0 -37
  118. package/jsonschema/operation-templates/get-scroll-position.json +0 -26
  119. package/jsonschema/operation-templates/get-text-content.json +0 -26
  120. package/jsonschema/operation-templates/http-delete.json +0 -43
  121. package/jsonschema/operation-templates/http-post.json +0 -49
  122. package/jsonschema/operation-templates/http-put.json +0 -49
  123. package/jsonschema/operation-templates/invoke-object-method.json +0 -43
  124. package/jsonschema/operation-templates/is-element-in-viewport.json +0 -26
  125. package/jsonschema/operation-templates/load-from-storage.json +0 -43
  126. package/jsonschema/operation-templates/load-json.json +0 -43
  127. package/jsonschema/operation-templates/log.json +0 -47
  128. package/jsonschema/operation-templates/map-array.json +0 -39
  129. package/jsonschema/operation-templates/math.json +0 -45
  130. package/jsonschema/operation-templates/otherwise.json +0 -26
  131. package/jsonschema/operation-templates/remove-class.json +0 -40
  132. package/jsonschema/operation-templates/remove-controller-from-element.json +0 -51
  133. package/jsonschema/operation-templates/remove-element.json +0 -26
  134. package/jsonschema/operation-templates/remove-properties-from-operation-data.json +0 -39
  135. package/jsonschema/operation-templates/reparent-element.json +0 -39
  136. package/jsonschema/operation-templates/replace-string.json +0 -43
  137. package/jsonschema/operation-templates/replace-text.json +0 -43
  138. package/jsonschema/operation-templates/request-action.json +0 -39
  139. package/jsonschema/operation-templates/save-to-storage.json +0 -49
  140. package/jsonschema/operation-templates/scroll-to-element.json +0 -45
  141. package/jsonschema/operation-templates/scroll-to-position.json +0 -49
  142. package/jsonschema/operation-templates/select-element.json +0 -43
  143. package/jsonschema/operation-templates/set-data.json +0 -39
  144. package/jsonschema/operation-templates/set-element-attributes.json +0 -39
  145. package/jsonschema/operation-templates/set-element-content.json +0 -41
  146. package/jsonschema/operation-templates/set-focus.json +0 -26
  147. package/jsonschema/operation-templates/set-form-value.json +0 -37
  148. package/jsonschema/operation-templates/set-global-data.json +0 -39
  149. package/jsonschema/operation-templates/set-operation-data.json +0 -43
  150. package/jsonschema/operation-templates/set-style.json +0 -39
  151. package/jsonschema/operation-templates/set-variable.json +0 -49
  152. package/jsonschema/operation-templates/sort-array.json +0 -45
  153. package/jsonschema/operation-templates/split-string.json +0 -41
  154. package/jsonschema/operation-templates/start-action.json +0 -39
  155. package/jsonschema/operation-templates/substring-text.json +0 -43
  156. package/jsonschema/operation-templates/toggle-class.json +0 -40
  157. package/jsonschema/operation-templates/toggle-element.json +0 -26
  158. package/jsonschema/operation-templates/toggle-form-element.json +0 -39
  159. package/jsonschema/operation-templates/validate-form.json +0 -37
  160. package/jsonschema/operation-templates/wait.json +0 -39
  161. package/jsonschema/operation-templates/when.json +0 -39
  162. package/jsonschema/operations/add-globals-to-operation.json +0 -43
  163. package/jsonschema/operations/break-for-each.json +0 -26
  164. package/jsonschema/operations/clear-storage.json +0 -45
  165. package/jsonschema/operations/continue-for-each.json +0 -26
  166. package/jsonschema/operations/end-for-each.json +0 -26
  167. package/jsonschema/operations/end-when.json +0 -26
  168. package/jsonschema/operations/otherwise.json +0 -26
  169. package/jsonschema/operations/set-operation-data.json +0 -47
  170. package/jsonschema/raf-timeline-provider-settings.json +0 -141
  171. package/jsonschema/timeline-action.json +0 -542
  172. package/jsonschema/timeline-provider-settings.json +0 -19
  173. package/jsonschema/timeline.json +0 -73
@@ -1,295 +0,0 @@
1
- {
2
- "definitions": {},
3
- "$schema": "http://json-schema.org/draft-07/schema#",
4
- "$id": "https://rolandzwaga.github.io/eligius/jsonschema/event-action.json",
5
- "type": "object",
6
- "title": "Event Action Schema",
7
- "description": "An action triggered by an event",
8
- "required": [
9
- "id",
10
- "name",
11
- "startOperations",
12
- "eventName"
13
- ],
14
- "properties": {
15
- "id": {
16
- "$id": "#/properties/id",
17
- "type": "string",
18
- "title": "The Id Schema",
19
- "examples": [
20
- "123e4567-e89b-12d3-a456-426614174000"
21
- ],
22
- "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}$"
23
- },
24
- "eventName": {
25
- "$id": "#/properties/eventName",
26
- "type": "string",
27
- "title": "The eventName Schema",
28
- "examples": [
29
- "PLAY_TOGGLE_REQUEST"
30
- ]
31
- },
32
- "eventTopic": {
33
- "$id": "#/properties/eventTopic",
34
- "type": "string",
35
- "title": "The eventTopic Schema",
36
- "examples": [
37
- "SOME_UNIQUE_STRING"
38
- ]
39
- },
40
- "name": {
41
- "$id": "#/properties/name",
42
- "type": "string",
43
- "title": "The Name Schema",
44
- "examples": [
45
- "ProgressbarSetup"
46
- ]
47
- },
48
- "startOperations": {
49
- "$id": "#/properties/startOperations",
50
- "type": "array",
51
- "title": "The Startoperations Schema",
52
- "items": {
53
- "anyOf": [
54
- {
55
- "$ref": "operations/add-class.json"
56
- },
57
- {
58
- "$ref": "operations/add-controller-to-element.json"
59
- },
60
- {
61
- "$ref": "operations/add-globals-to-operation.json"
62
- },
63
- {
64
- "$ref": "operations/animate.json"
65
- },
66
- {
67
- "$ref": "operations/animate-with-class.json"
68
- },
69
- {
70
- "$ref": "operations/announce-to-screen-reader.json"
71
- },
72
- {
73
- "$ref": "operations/break-for-each.json"
74
- },
75
- {
76
- "$ref": "operations/broadcast-event.json"
77
- },
78
- {
79
- "$ref": "operations/calc.json"
80
- },
81
- {
82
- "$ref": "operations/clear-element.json"
83
- },
84
- {
85
- "$ref": "operations/clear-operation-data.json"
86
- },
87
- {
88
- "$ref": "operations/clear-storage.json"
89
- },
90
- {
91
- "$ref": "operations/compare-date.json"
92
- },
93
- {
94
- "$ref": "operations/concatenate-strings.json"
95
- },
96
- {
97
- "$ref": "operations/continue-for-each.json"
98
- },
99
- {
100
- "$ref": "operations/create-element.json"
101
- },
102
- {
103
- "$ref": "operations/custom-function.json"
104
- },
105
- {
106
- "$ref": "operations/end-action.json"
107
- },
108
- {
109
- "$ref": "operations/end-for-each.json"
110
- },
111
- {
112
- "$ref": "operations/end-when.json"
113
- },
114
- {
115
- "$ref": "operations/extend-controller.json"
116
- },
117
- {
118
- "$ref": "operations/filter-array.json"
119
- },
120
- {
121
- "$ref": "operations/find-in-array.json"
122
- },
123
- {
124
- "$ref": "operations/for-each.json"
125
- },
126
- {
127
- "$ref": "operations/format-date.json"
128
- },
129
- {
130
- "$ref": "operations/format-text.json"
131
- },
132
- {
133
- "$ref": "operations/get-attributes-from-element.json"
134
- },
135
- {
136
- "$ref": "operations/get-controller-from-element.json"
137
- },
138
- {
139
- "$ref": "operations/get-controller-instance.json"
140
- },
141
- {
142
- "$ref": "operations/get-current-time.json"
143
- },
144
- {
145
- "$ref": "operations/get-element-dimensions.json"
146
- },
147
- {
148
- "$ref": "operations/get-focused-element.json"
149
- },
150
- {
151
- "$ref": "operations/get-form-data.json"
152
- },
153
- {
154
- "$ref": "operations/get-import.json"
155
- },
156
- {
157
- "$ref": "operations/get-query-params.json"
158
- },
159
- {
160
- "$ref": "operations/get-scroll-position.json"
161
- },
162
- {
163
- "$ref": "operations/get-text-content.json"
164
- },
165
- {
166
- "$ref": "operations/http-delete.json"
167
- },
168
- {
169
- "$ref": "operations/http-post.json"
170
- },
171
- {
172
- "$ref": "operations/http-put.json"
173
- },
174
- {
175
- "$ref": "operations/invoke-object-method.json"
176
- },
177
- {
178
- "$ref": "operations/is-element-in-viewport.json"
179
- },
180
- {
181
- "$ref": "operations/load-from-storage.json"
182
- },
183
- {
184
- "$ref": "operations/load-json.json"
185
- },
186
- {
187
- "$ref": "operations/log.json"
188
- },
189
- {
190
- "$ref": "operations/map-array.json"
191
- },
192
- {
193
- "$ref": "operations/math.json"
194
- },
195
- {
196
- "$ref": "operations/otherwise.json"
197
- },
198
- {
199
- "$ref": "operations/remove-class.json"
200
- },
201
- {
202
- "$ref": "operations/remove-controller-from-element.json"
203
- },
204
- {
205
- "$ref": "operations/remove-element.json"
206
- },
207
- {
208
- "$ref": "operations/remove-properties-from-operation-data.json"
209
- },
210
- {
211
- "$ref": "operations/reparent-element.json"
212
- },
213
- {
214
- "$ref": "operations/replace-string.json"
215
- },
216
- {
217
- "$ref": "operations/replace-text.json"
218
- },
219
- {
220
- "$ref": "operations/request-action.json"
221
- },
222
- {
223
- "$ref": "operations/save-to-storage.json"
224
- },
225
- {
226
- "$ref": "operations/scroll-to-element.json"
227
- },
228
- {
229
- "$ref": "operations/scroll-to-position.json"
230
- },
231
- {
232
- "$ref": "operations/select-element.json"
233
- },
234
- {
235
- "$ref": "operations/set-data.json"
236
- },
237
- {
238
- "$ref": "operations/set-element-attributes.json"
239
- },
240
- {
241
- "$ref": "operations/set-element-content.json"
242
- },
243
- {
244
- "$ref": "operations/set-focus.json"
245
- },
246
- {
247
- "$ref": "operations/set-form-value.json"
248
- },
249
- {
250
- "$ref": "operations/set-global-data.json"
251
- },
252
- {
253
- "$ref": "operations/set-operation-data.json"
254
- },
255
- {
256
- "$ref": "operations/set-style.json"
257
- },
258
- {
259
- "$ref": "operations/set-variable.json"
260
- },
261
- {
262
- "$ref": "operations/sort-array.json"
263
- },
264
- {
265
- "$ref": "operations/split-string.json"
266
- },
267
- {
268
- "$ref": "operations/start-action.json"
269
- },
270
- {
271
- "$ref": "operations/substring-text.json"
272
- },
273
- {
274
- "$ref": "operations/toggle-class.json"
275
- },
276
- {
277
- "$ref": "operations/toggle-element.json"
278
- },
279
- {
280
- "$ref": "operations/toggle-form-element.json"
281
- },
282
- {
283
- "$ref": "operations/validate-form.json"
284
- },
285
- {
286
- "$ref": "operations/wait.json"
287
- },
288
- {
289
- "$ref": "operations/when.json"
290
- }
291
- ]
292
- }
293
- }
294
- }
295
- }
@@ -1,95 +0,0 @@
1
- {
2
- "definitions": {
3
- "positionSourceConfig": {
4
- "type": "object",
5
- "title": "Position Source Configuration",
6
- "description": "Configuration for a video-based position source that drives timeline position",
7
- "required": ["systemName"],
8
- "properties": {
9
- "systemName": {
10
- "type": "string",
11
- "title": "System Name",
12
- "description": "Name of the position source class to instantiate",
13
- "examples": ["VideoPositionSource"]
14
- },
15
- "selector": {
16
- "type": "string",
17
- "title": "Selector",
18
- "description": "CSS selector for the video player element"
19
- },
20
- "poster": {
21
- "type": "string",
22
- "title": "Poster",
23
- "description": "Optional poster image URL for video sources"
24
- }
25
- },
26
- "additionalProperties": true
27
- },
28
- "containerProviderConfig": {
29
- "type": "object",
30
- "title": "Container Provider Configuration",
31
- "description": "Configuration for a container provider that manages DOM elements",
32
- "required": ["systemName", "selector"],
33
- "properties": {
34
- "systemName": {
35
- "type": "string",
36
- "title": "System Name",
37
- "description": "Name of the container provider class to instantiate",
38
- "examples": ["DomContainerProvider"]
39
- },
40
- "selector": {
41
- "type": "string",
42
- "title": "Selector",
43
- "description": "CSS selector for the container element"
44
- }
45
- },
46
- "additionalProperties": true
47
- },
48
- "playlistConfig": {
49
- "type": "object",
50
- "title": "Playlist Configuration",
51
- "description": "Configuration for a playlist that manages collections of items",
52
- "required": ["systemName", "items", "identifierKey"],
53
- "properties": {
54
- "systemName": {
55
- "type": "string",
56
- "title": "System Name",
57
- "description": "Name of the playlist class to instantiate",
58
- "examples": ["SimplePlaylist"]
59
- },
60
- "items": {
61
- "type": "array",
62
- "title": "Items",
63
- "description": "The items in the playlist"
64
- },
65
- "identifierKey": {
66
- "type": "string",
67
- "title": "Identifier Key",
68
- "description": "Property key used to identify items",
69
- "examples": ["uri", "id", "chapterId"]
70
- }
71
- },
72
- "additionalProperties": true
73
- }
74
- },
75
- "$schema": "http://json-schema.org/draft-07/schema#",
76
- "$id": "https://rolandzwaga.github.io/eligius/jsonschema/mediaplayer-timeline-provider-settings.json",
77
- "type": "object",
78
- "title": "Media Player Timeline Provider Settings",
79
- "description": "Settings for mediaplayer-type timeline providers using video.js or similar",
80
- "required": ["positionSource"],
81
- "properties": {
82
- "positionSource": {
83
- "$ref": "#/definitions/positionSourceConfig",
84
- "description": "Configuration for the video position source (required)"
85
- },
86
- "container": {
87
- "$ref": "#/definitions/containerProviderConfig",
88
- "description": "Optional container provider configuration"
89
- },
90
- "playlist": {
91
- "$ref": "#/definitions/playlistConfig",
92
- "description": "Optional playlist configuration for multi-video timelines"
93
- }
94
- }
95
- }
@@ -1,40 +0,0 @@
1
- {
2
- "definitions": {},
3
- "$schema": "http://json-schema.org/draft-07/schema#",
4
- "$id": "http://eligius.com/schema/add-class-operation.json",
5
- "type": "object",
6
- "title": "The addClass schema",
7
- "description": "This operation adds the specified class name to the specified 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": "addClass"
24
- },
25
- "operationData": {
26
- "$id": "#/properties/operationData",
27
- "type": "object",
28
- "title": "The Operationdata Schema",
29
- "properties": {
30
- "className": {
31
- "$id": "#/properties/operationData/className",
32
- "type": [
33
- "string"
34
- ],
35
- "pattern": ".-?[_a-zA-Z]+[_a-zA-Z0-9-]*"
36
- }
37
- }
38
- }
39
- }
40
- }
@@ -1,26 +0,0 @@
1
- {
2
- "definitions": {},
3
- "$schema": "http://json-schema.org/draft-07/schema#",
4
- "$id": "http://eligius.com/schema/add-controller-to-element-operation.json",
5
- "type": "object",
6
- "title": "The addControllerToElement schema",
7
- "description": "This operation adds the specified controller instance to the given selected element.",
8
- "required": [
9
- "systemName"
10
- ],
11
- "properties": {
12
- "id": {
13
- "$id": "#/properties/id",
14
- "type": "string",
15
- "title": "The Id Schema",
16
- "examples": [
17
- "123e4567-e89b-12d3-a456-426614174000"
18
- ],
19
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
20
- },
21
- "systemName": {
22
- "$id": "#/properties/systemName",
23
- "const": "addControllerToElement"
24
- }
25
- }
26
- }
@@ -1,39 +0,0 @@
1
- {
2
- "definitions": {},
3
- "$schema": "http://json-schema.org/draft-07/schema#",
4
- "$id": "http://eligius.com/schema/add-globals-to-operation-operation.json",
5
- "type": "object",
6
- "title": "The addGlobalsToOperation schema",
7
- "description": "This operation adds the specified global property names to the current operation data.\nIt finally removes the `globalProperties` property from the current operation data.",
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": "addGlobalsToOperation"
24
- },
25
- "operationData": {
26
- "$id": "#/properties/operationData",
27
- "type": "object",
28
- "title": "The Operationdata Schema",
29
- "properties": {
30
- "globalProperties": {
31
- "$id": "#/properties/operationData/globalProperties",
32
- "type": [
33
- "array"
34
- ]
35
- }
36
- }
37
- }
38
- }
39
- }
@@ -1,44 +0,0 @@
1
- {
2
- "definitions": {},
3
- "$schema": "http://json-schema.org/draft-07/schema#",
4
- "$id": "http://eligius.com/schema/animate-with-class-operation.json",
5
- "type": "object",
6
- "title": "The animateWithClass schema",
7
- "description": "This operation adds the specified class name to the specified selected element and assumes that this\nclass triggers and animation on the selected element. It then waits for this animation to complete\nbefore it resolves.",
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": "animateWithClass"
24
- },
25
- "operationData": {
26
- "$id": "#/properties/operationData",
27
- "type": "object",
28
- "title": "The Operationdata Schema",
29
- "properties": {
30
- "className": {
31
- "$id": "#/properties/operationData/className",
32
- "type": [
33
- "string"
34
- ],
35
- "pattern": ".-?[_a-zA-Z]+[_a-zA-Z0-9-]*"
36
- },
37
- "removeClass": {
38
- "$id": "#/properties/operationData/removeClass",
39
- "type": "array"
40
- }
41
- }
42
- }
43
- }
44
- }
@@ -1,51 +0,0 @@
1
- {
2
- "definitions": {},
3
- "$schema": "http://json-schema.org/draft-07/schema#",
4
- "$id": "http://eligius.com/schema/animate-operation.json",
5
- "type": "object",
6
- "title": "The animate schema",
7
- "description": "This operation animates the specified selected element with the given [jQuery animation](https://api.jquery.com/animate/) properties, duration and easing.\nIt resolves after the animation completes.",
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": "animate"
24
- },
25
- "operationData": {
26
- "$id": "#/properties/operationData",
27
- "type": "object",
28
- "title": "The Operationdata Schema",
29
- "properties": {
30
- "animationEasing": {
31
- "$id": "#/properties/operationData/animationEasing",
32
- "type": [
33
- "boolean"
34
- ]
35
- },
36
- "animationProperties": {
37
- "$id": "#/properties/operationData/animationProperties",
38
- "type": [
39
- "object"
40
- ]
41
- },
42
- "animationDuration": {
43
- "$id": "#/properties/operationData/animationDuration",
44
- "type": [
45
- "number"
46
- ]
47
- }
48
- }
49
- }
50
- }
51
- }
@@ -1,43 +0,0 @@
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
- }
@@ -1,26 +0,0 @@
1
- {
2
- "definitions": {},
3
- "$schema": "http://json-schema.org/draft-07/schema#",
4
- "$id": "http://eligius.com/schema/break-for-each-operation.json",
5
- "type": "object",
6
- "title": "The breakForEach schema",
7
- "description": "This operation should only be used within a loop, so between a {@link forEach} and {@link endForEach}\noperation. This operation immediately moves to the loop end index, effectively stopping the loop.",
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": "breakForEach"
24
- }
25
- }
26
- }