@bpmn-io/form-js-playground 0.7.2 → 0.8.0-alpha.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 +1 -0
- package/dist/form-playground.umd.js +3728 -1177
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js.map +1 -1
- package/package.json +7 -4
- package/karma.conf.js +0 -100
- package/resources/screenshot.png +0 -0
- package/rollup.config.js +0 -60
- package/src/FileDrop.css +0 -33
- package/src/JSONView.js +0 -78
- package/src/Playground.css +0 -158
- package/src/Playground.js +0 -375
- package/src/index.js +0 -1
- package/test/.eslintrc +0 -8
- package/test/TestHelper.js +0 -26
- package/test/coverageBundle.js +0 -9
- package/test/spec/Playground.spec.js +0 -90
- package/test/spec/form.json +0 -86
- package/test/spec/other-form.json +0 -11
- package/test/test.css +0 -9
- package/test/testBundle.js +0 -4
package/test/spec/form.json
DELETED
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"components": [
|
|
3
|
-
{
|
|
4
|
-
"type": "text",
|
|
5
|
-
"text": "# Invoice\nLorem _ipsum_ __dolor__ `sit`.\n \n \nA list of BPMN symbols:\n* Start Event\n* Task\nLearn more about [forms](https://bpmn.io).\n \n \nThis [malicious link](javascript:throw onerror=alert,'some string',123,'haha') __should not work__."
|
|
6
|
-
},
|
|
7
|
-
{
|
|
8
|
-
"key": "creditor",
|
|
9
|
-
"label": "Creditor",
|
|
10
|
-
"type": "textfield",
|
|
11
|
-
"validate": {
|
|
12
|
-
"required": true
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"description": "An invoice number in the format: C-123.",
|
|
17
|
-
"key": "invoiceNumber",
|
|
18
|
-
"label": "Invoice Number",
|
|
19
|
-
"type": "textfield",
|
|
20
|
-
"validate": {
|
|
21
|
-
"pattern": "^C-[0-9]+$"
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"key": "amount",
|
|
26
|
-
"label": "Amount",
|
|
27
|
-
"type": "number",
|
|
28
|
-
"validate": {
|
|
29
|
-
"min": 0,
|
|
30
|
-
"max": 1000
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"key": "approved",
|
|
35
|
-
"label": "Approved",
|
|
36
|
-
"type": "checkbox"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"key": "approvedBy",
|
|
40
|
-
"label": "Approved By",
|
|
41
|
-
"type": "textfield"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"key": "product",
|
|
45
|
-
"label": "Product",
|
|
46
|
-
"type": "radio",
|
|
47
|
-
"values": [
|
|
48
|
-
{
|
|
49
|
-
"label": "Camunda Platform",
|
|
50
|
-
"value": "camunda-platform"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"label": "Camunda Cloud",
|
|
54
|
-
"value": "camunda-cloud"
|
|
55
|
-
}
|
|
56
|
-
]
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"key": "language",
|
|
60
|
-
"label": "Language",
|
|
61
|
-
"type": "select",
|
|
62
|
-
"values": [
|
|
63
|
-
{
|
|
64
|
-
"label": "German",
|
|
65
|
-
"value": "german"
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"label": "English",
|
|
69
|
-
"value": "english"
|
|
70
|
-
}
|
|
71
|
-
]
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"key": "submit",
|
|
75
|
-
"label": "Submit",
|
|
76
|
-
"type": "button"
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"action": "reset",
|
|
80
|
-
"key": "reset",
|
|
81
|
-
"label": "Reset",
|
|
82
|
-
"type": "button"
|
|
83
|
-
}
|
|
84
|
-
],
|
|
85
|
-
"type": "default"
|
|
86
|
-
}
|
package/test/test.css
DELETED
package/test/testBundle.js
DELETED