formeo 2.3.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- <!doctype html><html lang="en" xml:lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="chrome=1"><meta name="viewport" content="user-scalable=no,width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1"><meta name="description" content="Vanilla Javascript form building module"><meta name="theme-color" content="#232323"><title>Formeo | Drag &amp; Drop Form Creation</title><script type="module" crossorigin src="/formeo/assets/js/demo.min.js"></script><link rel="stylesheet" crossorigin href="/formeo/assets/css/demo.min.css"></head><body><div class="site-wrap"><header id="demo-header"><nav aria-label="Footer navigation"><ul><li><label for="locale">Language</label> <select name="locale" id="locale" class="form-control"><option value="af-ZA" dir="ltr">Afrikaans (Suid-Afrika)</option><option value="ar-TN" dir="rtl">العربية (تونس)</option><option value="cs-CZ" dir="ltr">čeština (Česko)</option><option value="de-DE" dir="ltr">Deutsch (Deutschland)</option><option value="en-US" dir="ltr">English</option><option value="es-ES" dir="ltr">español de España</option><option value="fa-IR" dir="rtl">فارسی (ایران)</option><option value="fi-FI" dir="ltr">suomi (Suomi)</option><option value="fr-FR" dir="ltr">français (France)</option><option value="he-IL" dir="rtl">עברית (ישראל)</option><option value="hi-IN" dir="ltr">हिन्दी (भारत)</option><option value="hu-HU" dir="ltr">magyar (Magyarország)</option><option value="it-IT" dir="ltr">italiano (Italia)</option><option value="ja-JP" dir="ltr">日本語 (日本)</option><option value="nb-NO" dir="ltr">norsk bokmål (Norge)</option><option value="pl-PL" dir="ltr">polski (Polska)</option><option value="pt-BR" dir="ltr">português (Brasil)</option><option value="pt-PT" dir="ltr">português europeu</option><option value="ro-RO" dir="ltr">română (România)</option><option value="ru-RU" dir="ltr">русский (Россия)</option><option value="th-TH" dir="ltr">ไทย (ไทย)</option><option value="tr-TR" dir="ltr">Türkçe (Türkiye)</option><option value="zh-CN" dir="ltr">中文(中国)</option><option value="zh-HK" dir="ltr">中文(中國香港特別行政區)</option></select> <label for="control-filter">Control Filter:</label> <input id="control-filter" placeholder="ex. text" class="form-control"></li><li style="float:right">v2.2.2</li></ul></nav><span id="formeo-logo-wrap"></span></header><section id="main_content" class="inner"><form class="build-form clearfix"></form><div class="render-form"><h2>Rendered Form</h2></div></section><div class="container render-btn-wrap" id="editor-action-buttons"></div><footer id="demo-footer"><nav aria-label="Footer navigation"><ul><li><a href="https://github.com/Draggable/formeo" target="_blank" title="View project on GitHub"><img src="/formeo/assets/img/github.png" width="77" alt="GitHub"></a></li></ul></nav></footer></div></body></html>
1
+ <!doctype html><html lang="en" xml:lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="chrome=1"><meta name="viewport" content="user-scalable=no,width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1"><meta name="description" content="Vanilla Javascript form building module"><meta name="theme-color" content="#232323"><title>Formeo | Drag &amp; Drop Form Creation</title><script type="module" crossorigin src="/formeo/assets/js/demo.min.js"></script><link rel="stylesheet" crossorigin href="/formeo/assets/css/demo.min.css"></head><body><div class="site-wrap"><header id="demo-header"><nav aria-label="Footer navigation"><ul><li><label for="locale">Language</label> <select name="locale" id="locale" class="form-control"><option value="af-ZA" dir="ltr">Afrikaans (Suid-Afrika)</option><option value="ar-TN" dir="rtl">العربية (تونس)</option><option value="cs-CZ" dir="ltr">čeština (Česko)</option><option value="de-DE" dir="ltr">Deutsch (Deutschland)</option><option value="en-US" dir="ltr">English</option><option value="es-ES" dir="ltr">español de España</option><option value="fa-IR" dir="rtl">فارسی (ایران)</option><option value="fi-FI" dir="ltr">suomi (Suomi)</option><option value="fr-FR" dir="ltr">français (France)</option><option value="he-IL" dir="rtl">עברית (ישראל)</option><option value="hi-IN" dir="ltr">हिन्दी (भारत)</option><option value="hu-HU" dir="ltr">magyar (Magyarország)</option><option value="it-IT" dir="ltr">italiano (Italia)</option><option value="ja-JP" dir="ltr">日本語 (日本)</option><option value="nb-NO" dir="ltr">norsk bokmål (Norge)</option><option value="pl-PL" dir="ltr">polski (Polska)</option><option value="pt-BR" dir="ltr">português (Brasil)</option><option value="pt-PT" dir="ltr">português europeu</option><option value="ro-RO" dir="ltr">română (România)</option><option value="ru-RU" dir="ltr">русский (Россия)</option><option value="th-TH" dir="ltr">ไทย (ไทย)</option><option value="tr-TR" dir="ltr">Türkçe (Türkiye)</option><option value="zh-CN" dir="ltr">中文(中国)</option><option value="zh-HK" dir="ltr">中文(中國香港特別行政區)</option></select> <label for="control-filter">Control Filter:</label> <input id="control-filter" placeholder="ex. text" class="form-control"></li><li style="float:right">v2.3.1</li></ul></nav><span id="formeo-logo-wrap"></span></header><section id="main_content" class="inner"><form class="build-form clearfix"></form><div class="render-form"><h2>Rendered Form</h2></div></section><div class="container render-btn-wrap" id="editor-action-buttons"></div><footer id="demo-footer"><nav aria-label="Footer navigation"><ul><li><a href="https://github.com/Draggable/formeo" target="_blank" title="View project on GitHub"><img src="/formeo/assets/img/github.png" width="77" alt="GitHub"></a></li></ul></nav></footer></div></body></html>
@@ -0,0 +1,359 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "formData",
4
+ "description": "Schema definition for formData",
5
+ "type": "object",
6
+ "properties": {
7
+ "$schema": {
8
+ "type": "string",
9
+ "pattern": "\\.json$"
10
+ },
11
+ "id": {
12
+ "type": "string",
13
+ "format": "uuid"
14
+ },
15
+ "stages": {
16
+ "type": "object",
17
+ "additionalProperties": {
18
+ "type": "object",
19
+ "properties": {
20
+ "id": {
21
+ "type": "string",
22
+ "format": "uuid"
23
+ },
24
+ "children": {
25
+ "type": "array",
26
+ "items": {
27
+ "type": "string",
28
+ "format": "uuid"
29
+ }
30
+ }
31
+ },
32
+ "required": [
33
+ "id",
34
+ "children"
35
+ ],
36
+ "additionalProperties": false
37
+ },
38
+ "propertyNames": {
39
+ "format": "uuid"
40
+ }
41
+ },
42
+ "rows": {
43
+ "type": "object",
44
+ "additionalProperties": {
45
+ "type": "object",
46
+ "properties": {
47
+ "id": {
48
+ "type": "string",
49
+ "format": "uuid"
50
+ },
51
+ "children": {
52
+ "type": "array",
53
+ "items": {
54
+ "type": "string",
55
+ "format": "uuid"
56
+ }
57
+ },
58
+ "className": {
59
+ "anyOf": [
60
+ {
61
+ "type": "string"
62
+ },
63
+ {
64
+ "type": "array",
65
+ "items": {
66
+ "type": "string"
67
+ }
68
+ }
69
+ ]
70
+ },
71
+ "config": {
72
+ "type": "object",
73
+ "properties": {
74
+ "fieldset": {
75
+ "type": "boolean"
76
+ },
77
+ "legend": {
78
+ "type": "string"
79
+ },
80
+ "inputGroup": {
81
+ "type": "boolean"
82
+ }
83
+ },
84
+ "additionalProperties": false
85
+ }
86
+ },
87
+ "required": [
88
+ "id",
89
+ "children"
90
+ ],
91
+ "additionalProperties": false
92
+ },
93
+ "propertyNames": {
94
+ "format": "uuid"
95
+ }
96
+ },
97
+ "columns": {
98
+ "type": "object",
99
+ "additionalProperties": {
100
+ "type": "object",
101
+ "properties": {
102
+ "id": {
103
+ "type": "string",
104
+ "format": "uuid"
105
+ },
106
+ "children": {
107
+ "type": "array",
108
+ "items": {
109
+ "type": "string",
110
+ "format": "uuid"
111
+ }
112
+ },
113
+ "className": {
114
+ "anyOf": [
115
+ {
116
+ "type": "string"
117
+ },
118
+ {
119
+ "type": "array",
120
+ "items": {
121
+ "type": "string"
122
+ }
123
+ }
124
+ ]
125
+ },
126
+ "config": {
127
+ "type": "object",
128
+ "properties": {
129
+ "width": {
130
+ "type": "string"
131
+ }
132
+ },
133
+ "additionalProperties": false
134
+ }
135
+ },
136
+ "required": [
137
+ "id",
138
+ "children"
139
+ ],
140
+ "additionalProperties": false
141
+ },
142
+ "propertyNames": {
143
+ "format": "uuid"
144
+ }
145
+ },
146
+ "fields": {
147
+ "type": "object",
148
+ "additionalProperties": {
149
+ "type": "object",
150
+ "properties": {
151
+ "id": {
152
+ "type": "string",
153
+ "format": "uuid"
154
+ },
155
+ "tag": {
156
+ "type": "string"
157
+ },
158
+ "attrs": {
159
+ "type": "object",
160
+ "additionalProperties": {
161
+ "anyOf": [
162
+ {
163
+ "type": "string"
164
+ },
165
+ {
166
+ "type": "number"
167
+ },
168
+ {
169
+ "type": "boolean"
170
+ },
171
+ {
172
+ "type": "object",
173
+ "additionalProperties": {
174
+ "type": "string"
175
+ }
176
+ },
177
+ {
178
+ "type": "array",
179
+ "items": {
180
+ "type": "object",
181
+ "properties": {
182
+ "label": {
183
+ "type": "string"
184
+ },
185
+ "value": {
186
+ "type": "string"
187
+ },
188
+ "selected": {
189
+ "type": "boolean"
190
+ }
191
+ },
192
+ "required": [
193
+ "label",
194
+ "value"
195
+ ],
196
+ "additionalProperties": false
197
+ }
198
+ }
199
+ ]
200
+ }
201
+ },
202
+ "config": {
203
+ "type": "object",
204
+ "properties": {
205
+ "label": {
206
+ "type": "string"
207
+ },
208
+ "hideLabel": {
209
+ "type": "boolean"
210
+ },
211
+ "editableContent": {
212
+ "type": "boolean"
213
+ }
214
+ },
215
+ "additionalProperties": {}
216
+ },
217
+ "meta": {
218
+ "type": "object",
219
+ "properties": {
220
+ "group": {
221
+ "type": "string"
222
+ },
223
+ "icon": {
224
+ "type": "string"
225
+ },
226
+ "id": {
227
+ "type": "string"
228
+ }
229
+ },
230
+ "additionalProperties": false
231
+ },
232
+ "content": {},
233
+ "action": {
234
+ "type": "object",
235
+ "properties": {},
236
+ "additionalProperties": false
237
+ },
238
+ "options": {
239
+ "type": "array",
240
+ "items": {
241
+ "type": "object",
242
+ "properties": {
243
+ "label": {
244
+ "type": "string"
245
+ },
246
+ "value": {
247
+ "type": "string"
248
+ },
249
+ "selected": {
250
+ "type": "boolean"
251
+ },
252
+ "checked": {
253
+ "type": "boolean"
254
+ },
255
+ "type": {
256
+ "type": "array",
257
+ "items": {
258
+ "type": "object",
259
+ "properties": {
260
+ "type": {
261
+ "type": "string"
262
+ },
263
+ "label": {
264
+ "type": "string"
265
+ },
266
+ "selected": {
267
+ "type": "boolean"
268
+ }
269
+ },
270
+ "required": [
271
+ "type",
272
+ "label"
273
+ ],
274
+ "additionalProperties": false
275
+ }
276
+ }
277
+ },
278
+ "required": [
279
+ "label"
280
+ ],
281
+ "additionalProperties": {}
282
+ }
283
+ },
284
+ "conditions": {
285
+ "type": "array",
286
+ "items": {
287
+ "type": "object",
288
+ "properties": {
289
+ "if": {
290
+ "type": "array",
291
+ "items": {
292
+ "type": "object",
293
+ "properties": {
294
+ "source": {
295
+ "type": "string"
296
+ },
297
+ "sourceProperty": {
298
+ "type": "string"
299
+ },
300
+ "comparison": {
301
+ "type": "string"
302
+ },
303
+ "target": {
304
+ "type": "string"
305
+ },
306
+ "targetProperty": {
307
+ "type": "string"
308
+ }
309
+ },
310
+ "additionalProperties": false
311
+ }
312
+ },
313
+ "then": {
314
+ "type": "array",
315
+ "items": {
316
+ "type": "object",
317
+ "properties": {
318
+ "target": {
319
+ "type": "string"
320
+ },
321
+ "targetProperty": {
322
+ "type": "string"
323
+ },
324
+ "assignment": {
325
+ "type": "string"
326
+ },
327
+ "value": {
328
+ "type": "string"
329
+ }
330
+ },
331
+ "additionalProperties": false
332
+ }
333
+ }
334
+ },
335
+ "additionalProperties": false
336
+ }
337
+ }
338
+ },
339
+ "required": [
340
+ "id",
341
+ "tag"
342
+ ],
343
+ "additionalProperties": false
344
+ },
345
+ "propertyNames": {
346
+ "format": "uuid"
347
+ }
348
+ }
349
+ },
350
+ "required": [
351
+ "$schema",
352
+ "id",
353
+ "stages",
354
+ "rows",
355
+ "columns",
356
+ "fields"
357
+ ],
358
+ "additionalProperties": false
359
+ }