@tsed/react-formio 2.1.2 → 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 +439 -493
  58. package/dist/index.js.map +1 -1
  59. package/dist/index.modern.js +57 -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 +16 -5
  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
@@ -852,12 +799,11 @@ function useCustomTable(props) {
852
799
  filterId
853
800
  });
854
801
  }, [onChange, pageIndex, pageSize, sortBy, filters, filterId]);
855
- return _extends({}, props, {
802
+ return {
856
803
  className,
857
804
  tableInstance,
858
805
  CellHeader,
859
806
  isLoading,
860
- onClick: _onClick,
861
807
  Loader,
862
808
  EmptyData,
863
809
  Row,
@@ -870,9 +816,11 @@ function useCustomTable(props) {
870
816
  setPageSize,
871
817
  i18n,
872
818
  children,
819
+ onClick: _onClick,
873
820
  onDrag: _onDrag,
874
- onDrop: onDrop
875
- });
821
+ onDrop: onDrop,
822
+ enableDragNDrop: props.enableDragNDrop
823
+ };
876
824
  }
877
825
 
878
826
  function Table(props) {
@@ -939,7 +887,7 @@ function Table(props) {
939
887
  }))) : null, children));
940
888
  }
941
889
 
942
- const _excluded$7 = ["disableFilters", "disablePagination", "availableActions", "onAddAction"];
890
+ const _excluded$8 = ["disableFilters", "disablePagination", "availableActions", "onAddAction"];
943
891
  function ActionsTable(_ref) {
944
892
  let {
945
893
  disableFilters = true,
@@ -947,7 +895,7 @@ function ActionsTable(_ref) {
947
895
  availableActions = [],
948
896
  onAddAction = noop
949
897
  } = _ref,
950
- props = _objectWithoutPropertiesLoose(_ref, _excluded$7);
898
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$8);
951
899
  const {
952
900
  i18n = f => f
953
901
  } = props;
@@ -1047,7 +995,7 @@ function Card({
1047
995
  }, children));
1048
996
  }
1049
997
 
1050
- const _excluded$8 = ["src", "form", "options", "submission", "url"];
998
+ const _excluded$7 = ["src", "form", "options", "submission", "url"];
1051
999
  function useEvent(event, callback, events) {
1052
1000
  useEffect(() => {
1053
1001
  if (callback) {
@@ -1098,7 +1046,7 @@ function useForm(props) {
1098
1046
  submission,
1099
1047
  url
1100
1048
  } = props,
1101
- funcs = _objectWithoutPropertiesLoose(props, _excluded$8);
1049
+ funcs = _objectWithoutPropertiesLoose(props, _excluded$7);
1102
1050
  const element = useRef();
1103
1051
  const isLoaded = useRef();
1104
1052
  const instance = useRef();
@@ -1575,13 +1523,13 @@ FormAccess.propTypes = {
1575
1523
  onSubmit: PropTypes.func
1576
1524
  };
1577
1525
 
1578
- const _excluded$9 = ["action"],
1526
+ const _excluded$6 = ["action"],
1579
1527
  _excluded2 = ["actionInfo", "children", "onSubmit", "options"];
1580
1528
  function mapData(options, defaults) {
1581
1529
  return _extends({}, defaults, options);
1582
1530
  }
1583
1531
  function mapSettingsForm(_ref) {
1584
- let settingsForm = _objectWithoutPropertiesLoose(_ref, _excluded$9);
1532
+ let settingsForm = _objectWithoutPropertiesLoose(_ref, _excluded$6);
1585
1533
  FormioUtils.eachComponent(settingsForm.components, component => {
1586
1534
  const resourceExclude = "";
1587
1535
  if (component.type === "resourcefields") {
@@ -1854,7 +1802,7 @@ FormEditCTAs.propTypes = {
1854
1802
  onReset: PropTypes.func
1855
1803
  };
1856
1804
 
1857
- const _excluded$a = ["name", "value", "label", "onChange", "required", "description", "prefix", "suffix"];
1805
+ const _excluded$5 = ["name", "value", "label", "onChange", "required", "description", "prefix", "suffix"];
1858
1806
  function InputTags(_ref) {
1859
1807
  let {
1860
1808
  name,
@@ -1866,7 +1814,7 @@ function InputTags(_ref) {
1866
1814
  prefix,
1867
1815
  suffix
1868
1816
  } = _ref,
1869
- props = _objectWithoutPropertiesLoose(_ref, _excluded$a);
1817
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$5);
1870
1818
  const ref = useRef();
1871
1819
  useEffect(() => {
1872
1820
  const instance = new Choices(ref.current, {
@@ -2363,6 +2311,17 @@ function SelectColumnFilter({
2363
2311
  });
2364
2312
  }
2365
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
+
2366
2325
  var moment = createCommonjsModule(function (module, exports) {
2367
2326
  (function (global, factory) {
2368
2327
  module.exports = factory() ;
@@ -6918,12 +6877,12 @@ function FormsCell(props) {
6918
6877
  }), tag)))));
6919
6878
  }
6920
6879
 
6921
- const _excluded$b = ["Cell"];
6880
+ const _excluded$4 = ["Cell"];
6922
6881
  function FormsTable(_ref) {
6923
6882
  let {
6924
6883
  Cell
6925
6884
  } = _ref,
6926
- props = _objectWithoutPropertiesLoose(_ref, _excluded$b);
6885
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$4);
6927
6886
  const {
6928
6887
  i18n = f => f,
6929
6888
  tags
@@ -6979,7 +6938,7 @@ Loader.propTypes = {
6979
6938
  className: PropTypes.string
6980
6939
  };
6981
6940
 
6982
- const _excluded$c = ["show", "children", "closeModal", "onClose", "title", "footer", "style", "className"];
6941
+ const _excluded$3 = ["show", "children", "closeModal", "onClose", "title", "footer", "style", "className"];
6983
6942
  function useModal() {
6984
6943
  const [show, setShowModal] = useState(false);
6985
6944
  return {
@@ -7004,7 +6963,7 @@ function Modal(_ref) {
7004
6963
  style,
7005
6964
  className = ""
7006
6965
  } = _ref,
7007
- props = _objectWithoutPropertiesLoose(_ref, _excluded$c);
6966
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
7008
6967
  const titleRef = useRef();
7009
6968
  const footerRef = useRef();
7010
6969
  const [maxHeight, setMaxHeight] = useState();
@@ -7060,7 +7019,7 @@ function Modal(_ref) {
7060
7019
  })));
7061
7020
  }
7062
7021
 
7063
- const _excluded$d = ["maxWidth", "children"];
7022
+ const _excluded$2 = ["maxWidth", "children"];
7064
7023
  function RemoveModalFooter({
7065
7024
  value,
7066
7025
  valueToCompare,
@@ -7093,9 +7052,9 @@ function RemoveModal(_ref) {
7093
7052
  maxWidth = "300px",
7094
7053
  children
7095
7054
  } = _ref,
7096
- props = _objectWithoutPropertiesLoose(_ref, _excluded$d);
7055
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$2);
7097
7056
  const {
7098
- i18n = noop
7057
+ i18n = f => f
7099
7058
  } = props;
7100
7059
  const [value, setValue] = useState();
7101
7060
  return /*#__PURE__*/React.createElement(Modal, _extends({}, props, {
@@ -7124,13 +7083,18 @@ class ReactComponent extends Components.components.field {
7124
7083
  * @param component - The component definition created from the settings form.
7125
7084
  * @param options - Any options passed into the renderer.
7126
7085
  * @param data - The submission data where this component's data exists.
7127
- */
7128
- // 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
7129
7087
  constructor(component, options, data) {
7130
7088
  super(component, options, data);
7131
7089
  this.reactInstance = void 0;
7132
7090
  this.shouldSetValue = void 0;
7133
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
+ */
7134
7098
  this.updateValue = (value, flags) => {
7135
7099
  flags = flags || {};
7136
7100
  const newValue = value === undefined || value === null ? this.getValue() : value;
@@ -7247,13 +7211,6 @@ class ReactComponent extends Components.components.field {
7247
7211
  }
7248
7212
  return false;
7249
7213
  }
7250
- /**
7251
- * 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.
7252
- *
7253
- * @param value
7254
- * @param flags
7255
- */
7256
-
7257
7214
  /**
7258
7215
  * Get the current value of the component. Should return the value set in the react component.
7259
7216
  *
@@ -7326,12 +7283,12 @@ function mapFormToColumns(form) {
7326
7283
  return columns;
7327
7284
  }
7328
7285
 
7329
- const _excluded$e = ["form"];
7286
+ const _excluded$1 = ["form"];
7330
7287
  function SubmissionsTable(_ref) {
7331
7288
  let {
7332
7289
  form
7333
7290
  } = _ref,
7334
- props = _objectWithoutPropertiesLoose(_ref, _excluded$e);
7291
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
7335
7292
  const columns = form && mapFormToColumns(form);
7336
7293
  return /*#__PURE__*/React.createElement(Table, _extends({}, props, {
7337
7294
  columns: columns
@@ -7368,7 +7325,7 @@ function SliderColumnFilter({
7368
7325
  }, "Off"));
7369
7326
  }
7370
7327
 
7371
- 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"];
7372
7329
  function ButtonTab({
7373
7330
  icon,
7374
7331
  back,
@@ -7407,7 +7364,7 @@ function Tabs(_ref) {
7407
7364
  onClick,
7408
7365
  i18n = f => f
7409
7366
  } = _ref,
7410
- additionalProps = _objectWithoutPropertiesLoose(_ref, _excluded$f);
7367
+ additionalProps = _objectWithoutPropertiesLoose(_ref, _excluded);
7411
7368
  return /*#__PURE__*/React.createElement("div", {
7412
7369
  "data-testid": "tabs-comp",
7413
7370
  className: `tw-tabs ${className}`,