@formio/js 5.0.0-dev.5702.41702de → 5.0.0-dev.5703.20a26ed

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 (36) hide show
  1. package/Changelog.md +11 -0
  2. package/dist/formio.embed.js +1 -1
  3. package/dist/formio.embed.min.js +1 -1
  4. package/dist/formio.form.js +6 -102
  5. package/dist/formio.form.min.js +1 -1
  6. package/dist/formio.full.js +6 -6
  7. package/dist/formio.full.min.js +1 -1
  8. package/dist/formio.js +1 -1
  9. package/dist/formio.min.js +1 -1
  10. package/lib/cjs/CDN.d.ts +1 -0
  11. package/lib/cjs/CDN.js +1 -0
  12. package/lib/cjs/Webform.js +0 -2
  13. package/lib/cjs/components/_classes/component/Component.d.ts +1 -0
  14. package/lib/cjs/components/_classes/component/Component.js +18 -0
  15. package/lib/cjs/components/datagrid/DataGrid.d.ts +2 -0
  16. package/lib/cjs/components/datagrid/DataGrid.js +38 -26
  17. package/lib/cjs/components/datamap/DataMap.js +2 -2
  18. package/lib/cjs/components/editgrid/EditGrid.js +2 -1
  19. package/lib/cjs/components/editgrid/fixtures/comp16.d.ts +52 -0
  20. package/lib/cjs/components/editgrid/fixtures/comp16.js +71 -0
  21. package/lib/cjs/components/editgrid/fixtures/index.d.ts +2 -1
  22. package/lib/cjs/components/editgrid/fixtures/index.js +3 -1
  23. package/lib/mjs/CDN.d.ts +1 -0
  24. package/lib/mjs/CDN.js +1 -0
  25. package/lib/mjs/Webform.js +0 -2
  26. package/lib/mjs/components/_classes/component/Component.d.ts +1 -0
  27. package/lib/mjs/components/_classes/component/Component.js +7 -0
  28. package/lib/mjs/components/datagrid/DataGrid.d.ts +2 -0
  29. package/lib/mjs/components/datagrid/DataGrid.js +37 -25
  30. package/lib/mjs/components/datamap/DataMap.js +1 -1
  31. package/lib/mjs/components/editgrid/EditGrid.js +2 -1
  32. package/lib/mjs/components/editgrid/fixtures/comp16.d.ts +52 -0
  33. package/lib/mjs/components/editgrid/fixtures/comp16.js +69 -0
  34. package/lib/mjs/components/editgrid/fixtures/index.d.ts +2 -1
  35. package/lib/mjs/components/editgrid/fixtures/index.js +2 -1
  36. package/package.json +1 -1
@@ -0,0 +1,69 @@
1
+ export default {
2
+ type: 'form',
3
+ display: 'wizard',
4
+ components: [
5
+ {
6
+ title: 'Page 1',
7
+ breadcrumbClickable: true,
8
+ buttonSettings: {
9
+ previous: true,
10
+ cancel: true,
11
+ next: true
12
+ },
13
+ collapsible: false,
14
+ tableView: false,
15
+ key: 'page3',
16
+ type: 'panel',
17
+ label: 'Page 2',
18
+ input: false,
19
+ components: [
20
+ {
21
+ label: 'Edit Grid',
22
+ tableView: true,
23
+ rowDrafts: false,
24
+ key: 'editGrid',
25
+ type: 'editgrid',
26
+ input: true,
27
+ components: [
28
+ {
29
+ label: 'Text Field',
30
+ tableView: true,
31
+ key: 'textField',
32
+ type: 'textfield',
33
+ input: true,
34
+ alwaysEnabled: false
35
+ }
36
+ ],
37
+ alwaysEnabled: false
38
+ }
39
+ ],
40
+ alwaysEnabled: false
41
+ },
42
+ {
43
+ title: 'Page 2',
44
+ breadcrumbClickable: true,
45
+ buttonSettings: {
46
+ previous: true,
47
+ cancel: true,
48
+ next: true
49
+ },
50
+ collapsible: false,
51
+ tableView: false,
52
+ key: 'page2',
53
+ type: 'panel',
54
+ label: 'Page 1',
55
+ input: false,
56
+ alwaysEnabled: false,
57
+ components: []
58
+ },
59
+ {
60
+ label: 'Submit',
61
+ showValidations: false,
62
+ alwaysEnabled: false,
63
+ tableView: false,
64
+ key: 'submit',
65
+ type: 'button',
66
+ input: true
67
+ }
68
+ ]
69
+ };
@@ -13,8 +13,9 @@ import comp6 from './comp6';
13
13
  import comp7 from './comp7';
14
14
  import comp8 from './comp8';
15
15
  import comp9 from './comp9';
16
+ import comp16 from './comp16';
16
17
  import compOpenWhenEmpty from './comp-openWhenEmpty';
17
18
  import withOpenWhenEmptyAndConditions from './comp-with-conditions-and-openWhenEmpty';
18
19
  import compWithCustomDefaultValue from './comp-with-custom-default-value';
19
20
  import compTestEvents from './comp-test-events';
20
- export { comp1, comp2, comp3, comp10, comp11, comp12, comp13, comp14, comp15, comp4, comp5, comp6, comp7, comp8, comp9, compOpenWhenEmpty, withOpenWhenEmptyAndConditions, compWithCustomDefaultValue, compTestEvents };
21
+ export { comp1, comp2, comp3, comp10, comp11, comp12, comp13, comp14, comp15, comp4, comp5, comp6, comp7, comp8, comp9, comp16, compOpenWhenEmpty, withOpenWhenEmptyAndConditions, compWithCustomDefaultValue, compTestEvents };
@@ -13,8 +13,9 @@ import comp12 from './comp12';
13
13
  import comp13 from './comp13';
14
14
  import comp14 from './comp14';
15
15
  import comp15 from './comp15';
16
+ import comp16 from './comp16';
16
17
  import withOpenWhenEmptyAndConditions from './comp-with-conditions-and-openWhenEmpty';
17
18
  import compOpenWhenEmpty from './comp-openWhenEmpty';
18
19
  import compWithCustomDefaultValue from './comp-with-custom-default-value';
19
20
  import compTestEvents from './comp-test-events';
20
- export { comp1, comp2, comp3, comp10, comp11, comp12, comp13, comp14, comp15, comp4, comp5, comp6, comp7, comp8, comp9, compOpenWhenEmpty, withOpenWhenEmptyAndConditions, compWithCustomDefaultValue, compTestEvents };
21
+ export { comp1, comp2, comp3, comp10, comp11, comp12, comp13, comp14, comp15, comp4, comp5, comp6, comp7, comp8, comp9, comp16, compOpenWhenEmpty, withOpenWhenEmptyAndConditions, compWithCustomDefaultValue, compTestEvents };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formio/js",
3
- "version": "5.0.0-dev.5702.41702de",
3
+ "version": "5.0.0-dev.5703.20a26ed",
4
4
  "description": "JavaScript powered Forms with JSON Form Builder",
5
5
  "main": "lib/cjs/index.js",
6
6
  "exports": {