@tsed/react-formio 2.1.1 → 2.1.4

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 (76) hide show
  1. package/coverage.json +4 -4
  2. package/dist/components/actions-table/actionsTable.component.d.ts +3 -2
  3. package/dist/components/actions-table/actionsTable.stories.d.ts +2 -1
  4. package/dist/components/alert/alert.component.d.ts +2 -1
  5. package/dist/components/alert/alert.stories.d.ts +2 -1
  6. package/dist/components/card/card.component.d.ts +1 -1
  7. package/dist/components/card/card.stories.d.ts +2 -1
  8. package/dist/components/form/form.component.d.ts +2 -1
  9. package/dist/components/form/form.stories.d.ts +5 -4
  10. package/dist/components/form-access/formAccess.stories.d.ts +2 -1
  11. package/dist/components/form-access/formAccess.utils.d.ts +3 -3
  12. package/dist/components/form-action/formAction.stories.d.ts +2 -1
  13. package/dist/components/form-builder/formBuilder.component.d.ts +1 -1
  14. package/dist/components/form-builder/formBuilder.stories.d.ts +7 -6
  15. package/dist/components/form-control/formControl.component.d.ts +1 -1
  16. package/dist/components/form-control/formControl.stories.d.ts +11 -10
  17. package/dist/components/form-edit/formEdit.component.d.ts +2 -1
  18. package/dist/components/form-edit/formEdit.stories.d.ts +17 -16
  19. package/dist/components/form-settings/formSettings.component.d.ts +2 -1
  20. package/dist/components/form-settings/formSettings.stories.d.ts +2 -1
  21. package/dist/components/form-settings/formSettings.utils.d.ts +1 -1
  22. package/dist/components/forms-table/components/formCell.component.d.ts +2 -1
  23. package/dist/components/forms-table/formsTable.component.d.ts +3 -2
  24. package/dist/components/forms-table/formsTable.stories.d.ts +3 -2
  25. package/dist/components/input-tags/inputTags.component.d.ts +2 -1
  26. package/dist/components/input-tags/inputTags.stories.d.ts +4 -3
  27. package/dist/components/input-text/inputText.component.d.ts +2 -1
  28. package/dist/components/input-text/inputText.stories.d.ts +6 -5
  29. package/dist/components/loader/loader.component.d.ts +2 -2
  30. package/dist/components/loader/loader.stories.d.ts +2 -1
  31. package/dist/components/modal/modal.component.d.ts +1 -1
  32. package/dist/components/modal/modal.stories.d.ts +5 -4
  33. package/dist/components/modal/removeModal.component.d.ts +2 -2
  34. package/dist/components/pagination/pagination.component.d.ts +2 -1
  35. package/dist/components/pagination/pagination.stories.d.ts +2 -1
  36. package/dist/components/react-component/reactComponent.component.d.ts +1 -1
  37. package/dist/components/select/select.stories.d.ts +9 -8
  38. package/dist/components/submissions-table/submissionsTable.component.d.ts +3 -2
  39. package/dist/components/submissions-table/submissionsTable.stories.d.ts +2 -1
  40. package/dist/components/table/components/defaultArrowSort.component.d.ts +2 -1
  41. package/dist/components/table/components/defaultCellHeader.component.d.ts +2 -1
  42. package/dist/components/table/components/defaultCellOperations.component.d.ts +2 -1
  43. package/dist/components/table/components/defaultCells.component.d.ts +2 -1
  44. package/dist/components/table/components/defaultOperationButton.component.d.ts +2 -1
  45. package/dist/components/table/components/defaultRow.component.d.ts +3 -3
  46. package/dist/components/table/components/dragNDropContainer.d.ts +2 -2
  47. package/dist/components/table/filters/defaultColumnFilter.component.d.ts +2 -1
  48. package/dist/components/table/filters/selectColumnFilter.component.d.ts +2 -1
  49. package/dist/components/table/filters/sliderColumnFilter.component.d.ts +2 -1
  50. package/dist/components/table/hooks/useCustomTable.hook.d.ts +7 -85
  51. package/dist/components/table/hooks/useDragnDropRow.hook.d.ts +25 -18
  52. package/dist/components/table/hooks/useOperations.hook.d.ts +1 -1
  53. package/dist/components/table/table.component.d.ts +2 -2
  54. package/dist/components/table/table.stories.d.ts +3 -2
  55. package/dist/components/tabs/tabs.component.d.ts +3 -3
  56. package/dist/components/tabs/tabs.component.stories.d.ts +3 -2
  57. package/dist/index.js +442 -493
  58. package/dist/index.js.map +1 -1
  59. package/dist/index.modern.js +60 -100
  60. package/dist/index.modern.js.map +1 -1
  61. package/dist/interfaces/FormSchema.d.ts +1 -1
  62. package/dist/interfaces/Operation.d.ts +2 -2
  63. package/dist/interfaces/QueryOptions.d.ts +1 -1
  64. package/package.json +4 -3
  65. package/readme.md +17 -195
  66. package/src/components/form/form.stories.tsx +128 -122
  67. package/src/components/form/useForm.hook.ts +1 -1
  68. package/src/components/form-builder/formBuilder.stories.tsx +3540 -3537
  69. package/src/components/form-edit/formEdit.stories.tsx +320 -317
  70. package/src/components/forms-table/formsTable.component.tsx +1 -1
  71. package/src/components/modal/removeModal.component.tsx +3 -4
  72. package/src/components/table/components/defaultCellHeader.component.tsx +3 -3
  73. package/src/components/table/components/defaultCells.component.tsx +1 -1
  74. package/src/components/table/filters/defaultColumnFilter.component.tsx +1 -1
  75. package/src/components/table/hooks/useCustomTable.hook.tsx +22 -6
  76. package/tsconfig.json +2 -1
@@ -2,6 +2,7 @@ export { default as Webform } from 'formiojs/Webform';
2
2
  export { default as WebformBuilder } from 'formiojs/WebformBuilder';
3
3
  export { default as Wizard } from 'formiojs/Wizard';
4
4
  export { default as WizardBuilder } from 'formiojs/WizardBuilder';
5
+ import classnames from 'classnames';
5
6
  import noop from 'lodash/noop';
6
7
  import React, { useRef, useEffect, useState, useMemo, useCallback, useReducer } from 'react';
7
8
  import { Templates, Form as Form$1, Components } from 'formiojs';
@@ -50,60 +51,6 @@ function _objectWithoutPropertiesLoose(source, excluded) {
50
51
  return target;
51
52
  }
52
53
 
53
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
54
-
55
- function createCommonjsModule(fn) {
56
- var module = { exports: {} };
57
- return fn(module, module.exports), module.exports;
58
- }
59
-
60
- function commonjsRequire (target) {
61
- throw new Error('Could not dynamically require "' + target + '". Please configure the dynamicRequireTargets option of @rollup/plugin-commonjs appropriately for this require call to behave properly.');
62
- }
63
-
64
- /*!
65
- Copyright (c) 2017 Jed Watson.
66
- Licensed under the MIT License (MIT), see
67
- http://jedwatson.github.io/classnames
68
- */
69
- var classnames = createCommonjsModule(function (module) {
70
- /* global define */
71
-
72
- (function () {
73
-
74
- var hasOwn = {}.hasOwnProperty;
75
- function classNames() {
76
- var classes = [];
77
- for (var i = 0; i < arguments.length; i++) {
78
- var arg = arguments[i];
79
- if (!arg) continue;
80
- var argType = typeof arg;
81
- if (argType === 'string' || argType === 'number') {
82
- classes.push(arg);
83
- } else if (Array.isArray(arg) && arg.length) {
84
- var inner = classNames.apply(null, arg);
85
- if (inner) {
86
- classes.push(inner);
87
- }
88
- } else if (argType === 'object') {
89
- for (var key in arg) {
90
- if (hasOwn.call(arg, key) && arg[key]) {
91
- classes.push(key);
92
- }
93
- }
94
- }
95
- }
96
- return classes.join(' ');
97
- }
98
- if (module.exports) {
99
- classNames.default = classNames;
100
- module.exports = classNames;
101
- } else {
102
- window.classNames = classNames;
103
- }
104
- })();
105
- });
106
-
107
54
  function iconClass(iconset, name, spinning) {
108
55
  return Templates.current.iconClass(iconset || Templates.current.defaultIconset, name, spinning);
109
56
  }
@@ -161,7 +108,7 @@ FormControl.propTypes = {
161
108
  description: PropTypes.any
162
109
  };
163
110
 
164
- const _excluded = ["name", "label", "size", "onChange", "required", "value", "choices", "description", "placeholder", "prefix", "suffix", "multiple", "layout"];
111
+ const _excluded$f = ["name", "label", "size", "onChange", "required", "value", "choices", "description", "placeholder", "prefix", "suffix", "multiple", "layout"];
165
112
  function Select(_ref) {
166
113
  let {
167
114
  name,
@@ -178,7 +125,7 @@ function Select(_ref) {
178
125
  multiple,
179
126
  layout
180
127
  } = _ref,
181
- props = _objectWithoutPropertiesLoose(_ref, _excluded);
128
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$f);
182
129
  const ref = useRef();
183
130
  useEffect(() => {
184
131
  let instance;
@@ -288,7 +235,7 @@ function getPageNumbers({
288
235
  return range(1, totalPages);
289
236
  }
290
237
 
291
- const _excluded$1 = ["component", "children", "disabled", "active"];
238
+ const _excluded$e = ["component", "children", "disabled", "active"];
292
239
  function PaginationButton(props) {
293
240
  const {
294
241
  component: Component = "button",
@@ -296,7 +243,7 @@ function PaginationButton(props) {
296
243
  disabled,
297
244
  active
298
245
  } = props,
299
- otherProps = _objectWithoutPropertiesLoose(props, _excluded$1);
246
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$e);
300
247
  return /*#__PURE__*/React.createElement(Component, _extends({}, otherProps, {
301
248
  "data-testid": "pagination-button",
302
249
  disabled: disabled,
@@ -405,7 +352,7 @@ function DefaultCellHeader({
405
352
  }, column.render("Filter")) : null);
406
353
  }
407
354
 
408
- const _excluded$2 = ["onDrag", "onDrop", "index"];
355
+ const _excluded$d = ["onDrag", "onDrop", "index"];
409
356
  const DND_ITEM_TYPE = "row";
410
357
  function useDndRow(_ref) {
411
358
  let {
@@ -413,7 +360,7 @@ function useDndRow(_ref) {
413
360
  onDrop,
414
361
  index
415
362
  } = _ref,
416
- props = _objectWithoutPropertiesLoose(_ref, _excluded$2);
363
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$d);
417
364
  const dropRef = useRef(null);
418
365
  const dragRef = useRef(null);
419
366
  const [, drop] = useDrop({
@@ -503,7 +450,7 @@ function DefaultCells({
503
450
  }));
504
451
  }
505
452
 
506
- const _excluded$3 = ["onClick", "row", "enableDragNDrop", "onDrop", "onDrag"];
453
+ const _excluded$c = ["onClick", "row", "enableDragNDrop", "onDrop", "onDrag"];
507
454
  function DefaultDndRow(props) {
508
455
  const {
509
456
  isDragging,
@@ -537,7 +484,7 @@ function DefaultRow(_ref) {
537
484
  onDrop,
538
485
  onDrag
539
486
  } = _ref,
540
- props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
487
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$c);
541
488
  const opts = _extends({}, props, {
542
489
  onClick: () => onClick(row.original, "row")
543
490
  }, row.getRowProps());
@@ -564,7 +511,7 @@ function callLast(fn, time) {
564
511
  };
565
512
  }
566
513
 
567
- const _excluded$4 = ["name", "value", "label", "onChange", "required", "size", "type", "prefix", "suffix", "description", "className", "placeholder"];
514
+ const _excluded$b = ["name", "value", "label", "onChange", "required", "size", "type", "prefix", "suffix", "description", "className", "placeholder"];
568
515
  function InputText(_ref) {
569
516
  let {
570
517
  name,
@@ -580,7 +527,7 @@ function InputText(_ref) {
580
527
  className,
581
528
  placeholder
582
529
  } = _ref,
583
- props = _objectWithoutPropertiesLoose(_ref, _excluded$4);
530
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$b);
584
531
  const [localValue, setValue] = useState(value);
585
532
  const change = useMemo(() => onChange && callLast(onChange, 300), [onChange]);
586
533
  useEffect(() => {
@@ -683,7 +630,7 @@ function DefaultOperationButton(props) {
683
630
  }, i18n(title)));
684
631
  }
685
632
 
686
- const _excluded$5 = ["OperationButton"];
633
+ const _excluded$a = ["OperationButton"];
687
634
  function DefaultCellOperations({
688
635
  operations,
689
636
  row,
@@ -700,7 +647,7 @@ function DefaultCellOperations({
700
647
  let {
701
648
  OperationButton = DefaultOperationButton
702
649
  } = _ref,
703
- operation = _objectWithoutPropertiesLoose(_ref, _excluded$5);
650
+ operation = _objectWithoutPropertiesLoose(_ref, _excluded$a);
704
651
  return /*#__PURE__*/React.createElement(OperationButton, _extends({
705
652
  key: operation.action
706
653
  }, operation, {
@@ -741,7 +688,7 @@ function useOperations({
741
688
  };
742
689
  }
743
690
 
744
- const _excluded$6 = ["children", "className", "columns", "data", "onChange", "onClick", "onDrag", "onDrop", "operations", "pageSizes", "filters", "filterId", "pageSize", "pageIndex", "sortBy", "isLoading", "disableFilters", "disablePagination", "ArrowSort", "ColumnFilter", "EmptyData", "Loader", "Pagination", "Row", "CellHeader", "CellOperations", "i18n"];
691
+ const _excluded$9 = ["children", "className", "columns", "data", "onChange", "onClick", "onDrag", "onDrop", "operations", "pageSizes", "filters", "filterId", "pageSize", "pageIndex", "sortBy", "isLoading", "disableFilters", "disablePagination", "ArrowSort", "ColumnFilter", "EmptyData", "Loader", "Pagination", "Row", "CellHeader", "CellOperations", "i18n"];
745
692
  function getOperationCallback(operations, onClick) {
746
693
  return (data, action) => {
747
694
  const operation = operations.find(operation => operation.action === action || operation.alias === action);
@@ -791,7 +738,7 @@ function useCustomTable(props) {
791
738
  CellOperations,
792
739
  i18n = f => f
793
740
  } = props,
794
- ctx = _objectWithoutPropertiesLoose(props, _excluded$6);
741
+ ctx = _objectWithoutPropertiesLoose(props, _excluded$9);
795
742
  const _onClick = getOperationCallback(operations, onClick);
796
743
  const defaultColumn = React.useMemo(() => ({
797
744
  // Let's set up our default Filter UI
@@ -801,6 +748,9 @@ function useCustomTable(props) {
801
748
  const [filterId, setFilterId] = React.useState(controlledFilterId);
802
749
  // DND
803
750
  const [records, setRecords] = useState(data);
751
+ useEffect(() => {
752
+ setRecords(data);
753
+ }, [data]);
804
754
  const _onDrag = (dragIndex, hoverIndex) => {
805
755
  const newRecords = swapElements([...records], dragIndex, hoverIndex);
806
756
  setRecords(newRecords);
@@ -849,12 +799,11 @@ function useCustomTable(props) {
849
799
  filterId
850
800
  });
851
801
  }, [onChange, pageIndex, pageSize, sortBy, filters, filterId]);
852
- return _extends({}, props, {
802
+ return {
853
803
  className,
854
804
  tableInstance,
855
805
  CellHeader,
856
806
  isLoading,
857
- onClick: _onClick,
858
807
  Loader,
859
808
  EmptyData,
860
809
  Row,
@@ -867,9 +816,11 @@ function useCustomTable(props) {
867
816
  setPageSize,
868
817
  i18n,
869
818
  children,
819
+ onClick: _onClick,
870
820
  onDrag: _onDrag,
871
- onDrop: onDrop
872
- });
821
+ onDrop: onDrop,
822
+ enableDragNDrop: props.enableDragNDrop
823
+ };
873
824
  }
874
825
 
875
826
  function Table(props) {
@@ -936,7 +887,7 @@ function Table(props) {
936
887
  }))) : null, children));
937
888
  }
938
889
 
939
- const _excluded$7 = ["disableFilters", "disablePagination", "availableActions", "onAddAction"];
890
+ const _excluded$8 = ["disableFilters", "disablePagination", "availableActions", "onAddAction"];
940
891
  function ActionsTable(_ref) {
941
892
  let {
942
893
  disableFilters = true,
@@ -944,7 +895,7 @@ function ActionsTable(_ref) {
944
895
  availableActions = [],
945
896
  onAddAction = noop
946
897
  } = _ref,
947
- props = _objectWithoutPropertiesLoose(_ref, _excluded$7);
898
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$8);
948
899
  const {
949
900
  i18n = f => f
950
901
  } = props;
@@ -1044,7 +995,7 @@ function Card({
1044
995
  }, children));
1045
996
  }
1046
997
 
1047
- const _excluded$8 = ["src", "form", "options", "submission", "url"];
998
+ const _excluded$7 = ["src", "form", "options", "submission", "url"];
1048
999
  function useEvent(event, callback, events) {
1049
1000
  useEffect(() => {
1050
1001
  if (callback) {
@@ -1095,7 +1046,7 @@ function useForm(props) {
1095
1046
  submission,
1096
1047
  url
1097
1048
  } = props,
1098
- funcs = _objectWithoutPropertiesLoose(props, _excluded$8);
1049
+ funcs = _objectWithoutPropertiesLoose(props, _excluded$7);
1099
1050
  const element = useRef();
1100
1051
  const isLoaded = useRef();
1101
1052
  const instance = useRef();
@@ -1572,13 +1523,13 @@ FormAccess.propTypes = {
1572
1523
  onSubmit: PropTypes.func
1573
1524
  };
1574
1525
 
1575
- const _excluded$9 = ["action"],
1526
+ const _excluded$6 = ["action"],
1576
1527
  _excluded2 = ["actionInfo", "children", "onSubmit", "options"];
1577
1528
  function mapData(options, defaults) {
1578
1529
  return _extends({}, defaults, options);
1579
1530
  }
1580
1531
  function mapSettingsForm(_ref) {
1581
- let settingsForm = _objectWithoutPropertiesLoose(_ref, _excluded$9);
1532
+ let settingsForm = _objectWithoutPropertiesLoose(_ref, _excluded$6);
1582
1533
  FormioUtils.eachComponent(settingsForm.components, component => {
1583
1534
  const resourceExclude = "";
1584
1535
  if (component.type === "resourcefields") {
@@ -1851,7 +1802,7 @@ FormEditCTAs.propTypes = {
1851
1802
  onReset: PropTypes.func
1852
1803
  };
1853
1804
 
1854
- const _excluded$a = ["name", "value", "label", "onChange", "required", "description", "prefix", "suffix"];
1805
+ const _excluded$5 = ["name", "value", "label", "onChange", "required", "description", "prefix", "suffix"];
1855
1806
  function InputTags(_ref) {
1856
1807
  let {
1857
1808
  name,
@@ -1863,7 +1814,7 @@ function InputTags(_ref) {
1863
1814
  prefix,
1864
1815
  suffix
1865
1816
  } = _ref,
1866
- props = _objectWithoutPropertiesLoose(_ref, _excluded$a);
1817
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$5);
1867
1818
  const ref = useRef();
1868
1819
  useEffect(() => {
1869
1820
  const instance = new Choices(ref.current, {
@@ -2360,6 +2311,17 @@ function SelectColumnFilter({
2360
2311
  });
2361
2312
  }
2362
2313
 
2314
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
2315
+
2316
+ function createCommonjsModule(fn) {
2317
+ var module = { exports: {} };
2318
+ return fn(module, module.exports), module.exports;
2319
+ }
2320
+
2321
+ function commonjsRequire (target) {
2322
+ throw new Error('Could not dynamically require "' + target + '". Please configure the dynamicRequireTargets option of @rollup/plugin-commonjs appropriately for this require call to behave properly.');
2323
+ }
2324
+
2363
2325
  var moment = createCommonjsModule(function (module, exports) {
2364
2326
  (function (global, factory) {
2365
2327
  module.exports = factory() ;
@@ -6915,12 +6877,12 @@ function FormsCell(props) {
6915
6877
  }), tag)))));
6916
6878
  }
6917
6879
 
6918
- const _excluded$b = ["Cell"];
6880
+ const _excluded$4 = ["Cell"];
6919
6881
  function FormsTable(_ref) {
6920
6882
  let {
6921
6883
  Cell
6922
6884
  } = _ref,
6923
- props = _objectWithoutPropertiesLoose(_ref, _excluded$b);
6885
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$4);
6924
6886
  const {
6925
6887
  i18n = f => f,
6926
6888
  tags
@@ -6976,7 +6938,7 @@ Loader.propTypes = {
6976
6938
  className: PropTypes.string
6977
6939
  };
6978
6940
 
6979
- const _excluded$c = ["show", "children", "closeModal", "onClose", "title", "footer", "style", "className"];
6941
+ const _excluded$3 = ["show", "children", "closeModal", "onClose", "title", "footer", "style", "className"];
6980
6942
  function useModal() {
6981
6943
  const [show, setShowModal] = useState(false);
6982
6944
  return {
@@ -7001,7 +6963,7 @@ function Modal(_ref) {
7001
6963
  style,
7002
6964
  className = ""
7003
6965
  } = _ref,
7004
- props = _objectWithoutPropertiesLoose(_ref, _excluded$c);
6966
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
7005
6967
  const titleRef = useRef();
7006
6968
  const footerRef = useRef();
7007
6969
  const [maxHeight, setMaxHeight] = useState();
@@ -7057,7 +7019,7 @@ function Modal(_ref) {
7057
7019
  })));
7058
7020
  }
7059
7021
 
7060
- const _excluded$d = ["maxWidth", "children"];
7022
+ const _excluded$2 = ["maxWidth", "children"];
7061
7023
  function RemoveModalFooter({
7062
7024
  value,
7063
7025
  valueToCompare,
@@ -7090,9 +7052,9 @@ function RemoveModal(_ref) {
7090
7052
  maxWidth = "300px",
7091
7053
  children
7092
7054
  } = _ref,
7093
- props = _objectWithoutPropertiesLoose(_ref, _excluded$d);
7055
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$2);
7094
7056
  const {
7095
- i18n = noop
7057
+ i18n = f => f
7096
7058
  } = props;
7097
7059
  const [value, setValue] = useState();
7098
7060
  return /*#__PURE__*/React.createElement(Modal, _extends({}, props, {
@@ -7121,13 +7083,18 @@ class ReactComponent extends Components.components.field {
7121
7083
  * @param component - The component definition created from the settings form.
7122
7084
  * @param options - Any options passed into the renderer.
7123
7085
  * @param data - The submission data where this component's data exists.
7124
- */
7125
- // eslint-disable-next-line no-useless-constructor,import/no-anonymous-default-export
7086
+ */ // eslint-disable-next-line no-useless-constructor,import/no-anonymous-default-export
7126
7087
  constructor(component, options, data) {
7127
7088
  super(component, options, data);
7128
7089
  this.reactInstance = void 0;
7129
7090
  this.shouldSetValue = void 0;
7130
7091
  this.dataForSetting = void 0;
7092
+ /**
7093
+ * The user has changed the value in the component and the value needs to be updated on the main submission object and other components notified of a change event.
7094
+ *
7095
+ * @param value
7096
+ * @param flags
7097
+ */
7131
7098
  this.updateValue = (value, flags) => {
7132
7099
  flags = flags || {};
7133
7100
  const newValue = value === undefined || value === null ? this.getValue() : value;
@@ -7244,13 +7211,6 @@ class ReactComponent extends Components.components.field {
7244
7211
  }
7245
7212
  return false;
7246
7213
  }
7247
- /**
7248
- * The user has changed the value in the component and the value needs to be updated on the main submission object and other components notified of a change event.
7249
- *
7250
- * @param value
7251
- * @param flags
7252
- */
7253
-
7254
7214
  /**
7255
7215
  * Get the current value of the component. Should return the value set in the react component.
7256
7216
  *
@@ -7323,12 +7283,12 @@ function mapFormToColumns(form) {
7323
7283
  return columns;
7324
7284
  }
7325
7285
 
7326
- const _excluded$e = ["form"];
7286
+ const _excluded$1 = ["form"];
7327
7287
  function SubmissionsTable(_ref) {
7328
7288
  let {
7329
7289
  form
7330
7290
  } = _ref,
7331
- props = _objectWithoutPropertiesLoose(_ref, _excluded$e);
7291
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
7332
7292
  const columns = form && mapFormToColumns(form);
7333
7293
  return /*#__PURE__*/React.createElement(Table, _extends({}, props, {
7334
7294
  columns: columns
@@ -7365,7 +7325,7 @@ function SliderColumnFilter({
7365
7325
  }, "Off"));
7366
7326
  }
7367
7327
 
7368
- const _excluded$f = ["style", "current", "items", "children", "HeaderChildren", "AddButton", "Button", "className", "onClick", "i18n"];
7328
+ const _excluded = ["style", "current", "items", "children", "HeaderChildren", "AddButton", "Button", "className", "onClick", "i18n"];
7369
7329
  function ButtonTab({
7370
7330
  icon,
7371
7331
  back,
@@ -7404,7 +7364,7 @@ function Tabs(_ref) {
7404
7364
  onClick,
7405
7365
  i18n = f => f
7406
7366
  } = _ref,
7407
- additionalProps = _objectWithoutPropertiesLoose(_ref, _excluded$f);
7367
+ additionalProps = _objectWithoutPropertiesLoose(_ref, _excluded);
7408
7368
  return /*#__PURE__*/React.createElement("div", {
7409
7369
  "data-testid": "tabs-comp",
7410
7370
  className: `tw-tabs ${className}`,