@formio/js 5.0.0-rc.76 → 5.0.0-rc.77

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. package/dist/formio.embed.js +1 -1
  2. package/dist/formio.embed.min.js +1 -1
  3. package/dist/formio.embed.min.js.LICENSE.txt +1 -1
  4. package/dist/formio.form.js +8 -8
  5. package/dist/formio.form.min.js +1 -1
  6. package/dist/formio.form.min.js.LICENSE.txt +1 -1
  7. package/dist/formio.full.js +8 -8
  8. package/dist/formio.full.min.js +1 -1
  9. package/dist/formio.full.min.js.LICENSE.txt +1 -1
  10. package/dist/formio.js +2 -2
  11. package/dist/formio.min.js +1 -1
  12. package/dist/formio.min.js.LICENSE.txt +1 -1
  13. package/dist/formio.utils.min.js.LICENSE.txt +1 -1
  14. package/lib/cjs/components/_classes/multivalue/Multivalue.d.ts +0 -1
  15. package/lib/cjs/components/_classes/multivalue/Multivalue.js +43 -25
  16. package/lib/cjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +1 -0
  17. package/lib/cjs/components/_classes/nestedarray/NestedArrayComponent.js +6 -0
  18. package/lib/cjs/components/address/Address.d.ts +6 -0
  19. package/lib/cjs/components/address/Address.js +7 -1
  20. package/lib/cjs/components/datagrid/DataGrid.js +1 -0
  21. package/lib/cjs/components/datagrid/fixtures/comp11.d.ts +50 -0
  22. package/lib/cjs/components/datagrid/fixtures/comp11.js +55 -0
  23. package/lib/cjs/components/datagrid/fixtures/index.d.ts +2 -1
  24. package/lib/cjs/components/datagrid/fixtures/index.js +5 -1
  25. package/lib/cjs/components/editgrid/EditGrid.js +1 -0
  26. package/lib/cjs/components/tags/Tags.js +3 -3
  27. package/lib/mjs/components/_classes/multivalue/Multivalue.d.ts +0 -1
  28. package/lib/mjs/components/_classes/multivalue/Multivalue.js +43 -25
  29. package/lib/mjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +1 -0
  30. package/lib/mjs/components/_classes/nestedarray/NestedArrayComponent.js +6 -0
  31. package/lib/mjs/components/address/Address.d.ts +6 -0
  32. package/lib/mjs/components/address/Address.js +10 -1
  33. package/lib/mjs/components/datagrid/DataGrid.js +1 -0
  34. package/lib/mjs/components/datagrid/fixtures/comp11.d.ts +50 -0
  35. package/lib/mjs/components/datagrid/fixtures/comp11.js +53 -0
  36. package/lib/mjs/components/datagrid/fixtures/index.d.ts +2 -1
  37. package/lib/mjs/components/datagrid/fixtures/index.js +3 -1
  38. package/lib/mjs/components/editgrid/EditGrid.js +1 -0
  39. package/lib/mjs/components/tags/Tags.js +3 -3
  40. package/package.json +2 -2
@@ -875,6 +875,7 @@ export default class EditGridComponent extends NestedArrayComponent {
875
875
  }
876
876
  this.clearErrors(rowIndex);
877
877
  this.baseRemoveRow(rowIndex);
878
+ this.removeSubmissionMetadataRow(rowIndex);
878
879
  this.splice(rowIndex);
879
880
  this.emit('editGridDeleteRow', {
880
881
  index: rowIndex
@@ -116,12 +116,12 @@ export default class TagsComponent extends Input {
116
116
  }
117
117
  normalizeValue(value) {
118
118
  if (this.component.storeas === 'string' && Array.isArray(value)) {
119
- return value.join(this.delimiter);
119
+ return super.normalizeValue(value.join(this.delimiter));
120
120
  }
121
121
  else if (this.component.storeas === 'array' && typeof value === 'string') {
122
- return value.split(this.delimiter).filter(result => result);
122
+ return super.normalizeValue(value.split(this.delimiter).filter(result => result));
123
123
  }
124
- return value;
124
+ return super.normalizeValue(value);
125
125
  }
126
126
  setValue(value, flags = {}) {
127
127
  const changed = super.setValue(value, flags);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formio/js",
3
- "version": "5.0.0-rc.76",
3
+ "version": "5.0.0-rc.77",
4
4
  "description": "JavaScript powered Forms with JSON Form Builder",
5
5
  "main": "lib/cjs/index.js",
6
6
  "exports": {
@@ -81,7 +81,7 @@
81
81
  "dependencies": {
82
82
  "@formio/bootstrap": "3.0.0-rc.37",
83
83
  "@formio/choices.js": "^10.2.1",
84
- "@formio/core": "2.2.2-rc.5",
84
+ "@formio/core": "2.2.2",
85
85
  "@formio/text-mask-addons": "^3.8.0-formio.2",
86
86
  "@formio/vanilla-text-mask": "^5.1.1-formio.1",
87
87
  "abortcontroller-polyfill": "^1.7.5",