@teselagen/ui 0.5.23-beta.8 → 0.5.23

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 (81) hide show
  1. package/DataTable/DisplayOptions.d.ts +14 -14
  2. package/DataTable/EditabelCell.d.ts +5 -3
  3. package/DataTable/FilterAndSortMenu.d.ts +9 -9
  4. package/DataTable/PagingTool.d.ts +2 -25
  5. package/DataTable/SearchBar.d.ts +2 -2
  6. package/DataTable/SortableColumns.d.ts +9 -6
  7. package/DataTable/index.d.ts +5 -0
  8. package/DataTable/utils/getIdOrCodeOrIndex.d.ts +2 -1
  9. package/DataTable/utils/index.d.ts +2 -5
  10. package/DataTable/utils/queryParams.d.ts +0 -6
  11. package/DataTable/utils/removeCleanRows.d.ts +1 -1
  12. package/DataTable/utils/rowClick.d.ts +3 -24
  13. package/FormComponents/Uploader.d.ts +1 -34
  14. package/FormComponents/index.d.ts +45 -111
  15. package/MatchHeaders.d.ts +10 -9
  16. package/SimpleStepViz.d.ts +1 -2
  17. package/TgSuggest/index.d.ts +21 -1
  18. package/UploadCsvWizard.d.ts +1 -1
  19. package/index.cjs.js +48425 -44246
  20. package/index.d.ts +2 -3
  21. package/index.es.js +48428 -44249
  22. package/package.json +6 -4
  23. package/src/DataTable/CellDragHandle.js +69 -70
  24. package/src/DataTable/ColumnFilterMenu.js +18 -18
  25. package/src/DataTable/DisplayOptions.js +192 -173
  26. package/src/DataTable/EditabelCell.js +18 -7
  27. package/src/DataTable/FilterAndSortMenu.js +234 -213
  28. package/src/DataTable/PagingTool.js +56 -47
  29. package/src/DataTable/SearchBar.js +3 -3
  30. package/src/DataTable/SortableColumns.js +39 -44
  31. package/src/DataTable/dataTableEnhancer.js +295 -32
  32. package/src/DataTable/index.js +3576 -2961
  33. package/src/DataTable/utils/getIdOrCodeOrIndex.js +1 -1
  34. package/src/DataTable/utils/index.js +3 -9
  35. package/src/DataTable/utils/queryParams.js +13 -42
  36. package/src/DataTable/utils/removeCleanRows.js +3 -3
  37. package/src/DataTable/utils/rowClick.js +9 -34
  38. package/src/DataTable/utils/selection.js +1 -1
  39. package/src/DataTable/utils/withTableParams.js +87 -30
  40. package/src/DataTable/validateTableWideErrors.js +1 -1
  41. package/src/DialogFooter/index.js +3 -3
  42. package/src/ExcelCell.js +38 -0
  43. package/src/FillWindow.js +3 -2
  44. package/src/FormComponents/Uploader.js +644 -652
  45. package/src/FormComponents/index.js +603 -441
  46. package/src/FormComponents/tryToMatchSchemas.js +6 -1
  47. package/src/MatchHeaders.js +22 -27
  48. package/src/SimpleStepViz.js +23 -19
  49. package/src/TgSelect/index.js +2 -2
  50. package/src/TgSuggest/index.js +106 -94
  51. package/src/UploadCsvWizard.js +577 -570
  52. package/src/index.js +3 -4
  53. package/src/showDialogOnDocBody.js +9 -5
  54. package/src/useDialog.js +26 -25
  55. package/src/utils/commandControls.js +2 -2
  56. package/src/utils/handlerHelpers.js +25 -19
  57. package/src/utils/renderOnDoc.js +5 -8
  58. package/src/utils/tagUtils.js +3 -3
  59. package/src/wrapDialog.js +2 -0
  60. package/style.css +251 -251
  61. package/useDialog.d.ts +6 -2
  62. package/utils/renderOnDoc.d.ts +1 -1
  63. package/utils/tagUtils.d.ts +1 -5
  64. package/DataTable/Columns.d.ts +0 -1
  65. package/DataTable/ThComponent.d.ts +0 -9
  66. package/DataTable/utils/handleCopyTable.d.ts +0 -1
  67. package/DataTable/utils/primarySelectedValue.d.ts +0 -1
  68. package/DataTable/utils/useDeepEqualMemo.d.ts +0 -1
  69. package/DataTable/utils/useTableEntities.d.ts +0 -5
  70. package/DataTable/utils/useTableParams.d.ts +0 -49
  71. package/FormComponents/AbstractField.d.ts +0 -1
  72. package/src/DataTable/Columns.js +0 -1066
  73. package/src/DataTable/ThComponent.js +0 -44
  74. package/src/DataTable/utils/handleCopyTable.js +0 -16
  75. package/src/DataTable/utils/primarySelectedValue.js +0 -1
  76. package/src/DataTable/utils/useDeepEqualMemo.js +0 -10
  77. package/src/DataTable/utils/useTableEntities.js +0 -41
  78. package/src/DataTable/utils/useTableParams.js +0 -362
  79. package/src/FormComponents/AbstractField.js +0 -388
  80. package/src/utils/useTraceUpdate.js +0 -19
  81. package/utils/useTraceUpdate.d.ts +0 -1
@@ -1,14 +1,14 @@
1
- export default DisplayOptions;
2
- declare function DisplayOptions({ compact, extraCompact, disabled, hideDisplayOptionsIcon, resetDefaultVisibility, updateColumnVisibility, updateTableDisplayDensity, showForcedHiddenColumns, setShowForcedHidden, hasOptionForForcedHidden, schema }: {
3
- compact: any;
4
- extraCompact: any;
5
- disabled: any;
6
- hideDisplayOptionsIcon: any;
7
- resetDefaultVisibility?: ((...args: any[]) => void) | undefined;
8
- updateColumnVisibility?: ((...args: any[]) => void) | undefined;
9
- updateTableDisplayDensity: any;
10
- showForcedHiddenColumns: any;
11
- setShowForcedHidden: any;
12
- hasOptionForForcedHidden: any;
13
- schema: any;
14
- }): import("react/jsx-runtime").JSX.Element | null;
1
+ import { default as React } from '../../../../node_modules/react';
2
+ export default class DisplayOptions extends React.Component<any, any, any> {
3
+ constructor(props: any);
4
+ constructor(props: any, context: any);
5
+ state: {
6
+ isOpen: boolean;
7
+ searchTerms: {};
8
+ };
9
+ openPopover: () => void;
10
+ closePopover: () => void;
11
+ changeTableDensity: (e: any) => void;
12
+ toggleForcedHidden: (e: any) => any;
13
+ render(): import("react/jsx-runtime").JSX.Element | null;
14
+ }
@@ -1,8 +1,10 @@
1
- export function EditableCell({ value, setValue, cancelEdit, dataTest, finishEdit, isNumeric }: {
2
- value: any;
3
- setValue: any;
1
+ export function EditableCell({ cancelEdit, dataTest, finishEdit, initialValue, isEditableCellInitialValue, isNumeric, shouldSelectAll, stopSelectAll }: {
4
2
  cancelEdit: any;
5
3
  dataTest: any;
6
4
  finishEdit: any;
5
+ initialValue: any;
6
+ isEditableCellInitialValue: any;
7
7
  isNumeric: any;
8
+ shouldSelectAll: any;
9
+ stopSelectAll: any;
8
10
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,9 +1,9 @@
1
- export default FilterAndSortMenu;
2
- declare function FilterAndSortMenu({ dataType, togglePopover, filterOn, addFilters, removeSingleFilter, currentFilter }: {
3
- dataType: any;
4
- togglePopover: any;
5
- filterOn: any;
6
- addFilters: any;
7
- removeSingleFilter: any;
8
- currentFilter: any;
9
- }): import("react/jsx-runtime").JSX.Element;
1
+ import { default as React } from '../../../../node_modules/react';
2
+ export default class FilterAndSortMenu extends React.Component<any, any, any> {
3
+ constructor(props: any);
4
+ state: any;
5
+ handleFilterChange: (selectedFilter: any) => void;
6
+ handleFilterValueChange: (filterValue: any) => void;
7
+ handleFilterSubmit: () => any;
8
+ render(): import("react/jsx-runtime").JSX.Element;
9
+ }
@@ -1,25 +1,2 @@
1
- export default PagingTool;
2
- declare function PagingTool({ controlled_hasNextPage, controlled_onRefresh, controlled_page, controlled_setPage, controlled_setPageSize, controlled_total, disabled: _disabled, disableSetPageSize, entities, entityCount, hideSetPageSize, hideTotalPages, keepSelectionOnPageChange, onRefresh: _onRefresh, page: _page, pageSize, pagingDisabled, persistPageSize, scrollToTop, setPage: _setPage, setPageSize: _setPageSize, setSelectedEntityIdMap }: {
3
- controlled_hasNextPage: any;
4
- controlled_onRefresh: any;
5
- controlled_page: any;
6
- controlled_setPage: any;
7
- controlled_setPageSize: any;
8
- controlled_total: any;
9
- disabled: any;
10
- disableSetPageSize: any;
11
- entities: any;
12
- entityCount: any;
13
- hideSetPageSize: any;
14
- hideTotalPages: any;
15
- keepSelectionOnPageChange: any;
16
- onRefresh: any;
17
- page: any;
18
- pageSize: any;
19
- pagingDisabled: any;
20
- persistPageSize?: ((...args: any[]) => void) | undefined;
21
- scrollToTop: any;
22
- setPage: any;
23
- setPageSize: any;
24
- setSelectedEntityIdMap: any;
25
- }): import("react/jsx-runtime").JSX.Element;
1
+ declare const _default: any;
2
+ export default _default;
@@ -1,6 +1,6 @@
1
1
  export default SearchBar;
2
- declare function SearchBar({ searchInput, setSearchTerm, loading, searchMenuButton, disabled, autoFocusSearch }: {
3
- searchInput: any;
2
+ declare function SearchBar({ reduxFormSearchInput, setSearchTerm, loading, searchMenuButton, disabled, autoFocusSearch }: {
3
+ reduxFormSearchInput: any;
4
4
  setSearchTerm: any;
5
5
  loading: any;
6
6
  searchMenuButton: any;
@@ -1,7 +1,10 @@
1
+ import { default as React } from '../../../../node_modules/react';
1
2
  export default SortableColumns;
2
- declare function SortableColumns({ className, style, children, moveColumn }: {
3
- className: any;
4
- style: any;
5
- children: any;
6
- moveColumn: any;
7
- }): import("react/jsx-runtime").JSX.Element;
3
+ declare class SortableColumns extends React.Component<any, any, any> {
4
+ constructor(props: any);
5
+ constructor(props: any, context: any);
6
+ shouldCancelStart: (e: any) => boolean;
7
+ onSortEnd: (...args: any[]) => void;
8
+ onSortStart: () => void;
9
+ render(): import("react/jsx-runtime").JSX.Element;
10
+ }
@@ -1,3 +1,8 @@
1
+ export function isEntityClean(e: any): boolean;
2
+ export function removeCleanRows(reduxFormEntities: any, reduxFormCellValidation: any): {
3
+ entsToUse: any;
4
+ validationToUse: {};
5
+ };
1
6
  export default WrappedDT;
2
7
  declare const WrappedDT: any;
3
8
  export const ConnectedPagingTool: any;
@@ -1 +1,2 @@
1
- export function getIdOrCodeOrIndex(record: any, rowIndex: any): any;
1
+ declare function _default(record: any, rowIndex: any): any;
2
+ export default _default;
@@ -1,3 +1,4 @@
1
+ import { default as computePresets } from './computePresets';
1
2
  import { defaultParsePaste, getEntityIdToEntity, getFieldPathToIndex, getNumberStrAtEnd, stripNumberAtEnd } from './utils';
2
3
  import { formatPasteData } from './formatPasteData';
3
4
  import { getAllRows } from './getAllRows';
@@ -13,12 +14,8 @@ import { getSelectedRowsFromEntities } from './selection';
13
14
  import { handleCopyColumn } from './handleCopyColumn';
14
15
  import { handleCopyHelper } from './handleCopyHelper';
15
16
  import { handleCopyRows } from './handleCopyRows';
16
- import { handleCopyTable } from './handleCopyTable';
17
17
  import { isBottomRightCornerOfRectangle } from './isBottomRightCornerOfRectangle';
18
18
  import { isEntityClean } from './isEntityClean';
19
- import { PRIMARY_SELECTED_VAL } from './primarySelectedValue';
20
19
  import { removeCleanRows } from './removeCleanRows';
21
- import { useDeepEqualMemo } from './useDeepEqualMemo';
22
- import { useTableEntities } from './useTableEntities';
23
20
 
24
- export { defaultParsePaste, formatPasteData, getAllRows, getCellCopyText, getCellInfo, getEntityIdToEntity, getFieldPathToIndex, getFieldPathToField, getIdOrCodeOrIndex, getLastSelectedEntity, getNewEntToSelect, getNumberStrAtEnd, getRecordsFromIdMap, getRowCopyText, getSelectedRowsFromEntities, handleCopyColumn, handleCopyHelper, handleCopyRows, handleCopyTable, isBottomRightCornerOfRectangle, isEntityClean, PRIMARY_SELECTED_VAL, removeCleanRows, stripNumberAtEnd, useDeepEqualMemo, useTableEntities };
21
+ export { computePresets, defaultParsePaste, formatPasteData, getAllRows, getCellCopyText, getCellInfo, getEntityIdToEntity, getFieldPathToIndex, getFieldPathToField, getIdOrCodeOrIndex, getLastSelectedEntity, getNewEntToSelect, getNumberStrAtEnd, getRecordsFromIdMap, getRowCopyText, getSelectedRowsFromEntities, handleCopyColumn, handleCopyHelper, handleCopyRows, isBottomRightCornerOfRectangle, isEntityClean, removeCleanRows, stripNumberAtEnd };
@@ -3,12 +3,6 @@ export function getMergedOpts(topLevel?: {}, instanceLevel?: {}): {
3
3
  defaults: any;
4
4
  formName: string;
5
5
  };
6
- /**
7
- *
8
- * @param {object} field
9
- * @returns the camelCase display name of the field, to be used for filters, sorting, etc
10
- */
11
- export function getCCDisplayName(field: object): string;
12
6
  export function getCurrentParamsFromUrl(location: any, isSimple: any): any;
13
7
  export function setCurrentParamsOnUrl(newParams: any, replace: any, isSimple: any): void;
14
8
  export function makeDataTableHandlers({ setNewParams, updateSearch, defaults, onlyOneFilter }: {
@@ -1,4 +1,4 @@
1
- export function removeCleanRows(entities: any, cellValidation: any): {
1
+ export function removeCleanRows(reduxFormEntities: any, reduxFormCellValidation: any): {
2
2
  entsToUse: any;
3
3
  validationToUse: {};
4
4
  };
@@ -1,32 +1,11 @@
1
- export default function rowClick(e: any, rowInfo: any, entities: any, { reduxFormSelectedEntityIdMap, isSingleSelect, noSelect, onRowClick, isEntityDisabled, withCheckboxes, onDeselect, onSingleRowSelect, onMultiRowSelect, noDeselectAll, onRowSelect, change }: {
2
- reduxFormSelectedEntityIdMap: any;
3
- isSingleSelect: any;
4
- noSelect: any;
5
- onRowClick: any;
6
- isEntityDisabled: any;
7
- withCheckboxes: any;
8
- onDeselect: any;
9
- onSingleRowSelect: any;
10
- onMultiRowSelect: any;
11
- noDeselectAll: any;
12
- onRowSelect: any;
13
- change: any;
14
- }): void;
1
+ export default function rowClick(e: any, rowInfo: any, entities: any, props: any): void;
15
2
  export function changeSelectedEntities({ idMap, entities, change }: {
16
3
  idMap: any;
17
4
  entities?: any[] | undefined;
18
5
  change: any;
19
6
  }): void;
20
- export function finalizeSelection({ idMap, entities, props: { onDeselect, onSingleRowSelect, onMultiRowSelect, noDeselectAll, onRowSelect, noSelect, change } }: {
7
+ export function finalizeSelection({ idMap, entities, props }: {
21
8
  idMap: any;
22
9
  entities: any;
23
- props: {
24
- onDeselect: any;
25
- onSingleRowSelect: any;
26
- onMultiRowSelect: any;
27
- noDeselectAll: any;
28
- onRowSelect: any;
29
- noSelect: any;
30
- change: any;
31
- };
10
+ props: any;
32
11
  }): void;
@@ -1,35 +1,2 @@
1
1
  export default Uploader;
2
- declare function Uploader({ accept: __accept, action, autoUnzip, beforeUpload, callout: _callout, className, contentOverride: maybeContentOverride, disabled: _disabled, dropzoneProps, fileLimit, fileList, innerIcon, innerText, meta: { form: formName }, minimal, name, noBuildCsvOption, noRedux, onChange: _onChange, onFieldSubmit, onFileClick, onFileSuccess, onPreviewClick, onRemove, overflowList, readBeforeUpload, showFilesCount, showUploadList, threeDotMenuItems, validateAgainstSchema: _validateAgainstSchema }: {
3
- accept: any;
4
- action: any;
5
- autoUnzip: any;
6
- beforeUpload: any;
7
- callout: any;
8
- className?: string | undefined;
9
- contentOverride: any;
10
- disabled: any;
11
- dropzoneProps?: {} | undefined;
12
- fileLimit: any;
13
- fileList: any;
14
- innerIcon: any;
15
- innerText: any;
16
- meta?: {
17
- form: any;
18
- } | undefined;
19
- minimal: any;
20
- name: any;
21
- noBuildCsvOption: any;
22
- noRedux?: boolean | undefined;
23
- onChange?: ((...args: any[]) => void) | undefined;
24
- onFieldSubmit?: ((...args: any[]) => void) | undefined;
25
- onFileClick: any;
26
- onFileSuccess?: (() => Promise<void>) | undefined;
27
- onPreviewClick: any;
28
- onRemove?: ((...args: any[]) => void) | undefined;
29
- overflowList: any;
30
- readBeforeUpload: any;
31
- showFilesCount: any;
32
- showUploadList?: boolean | undefined;
33
- threeDotMenuItems: any;
34
- validateAgainstSchema: any;
35
- }): import("react/jsx-runtime").JSX.Element;
2
+ declare const Uploader: any;
@@ -1,218 +1,152 @@
1
1
  import { fieldRequired } from './utils';
2
+ import { default as React } from '../../../../node_modules/react';
2
3
  export function generateField(component: any, opts: any): ({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
3
4
  [x: string]: any;
4
5
  name: any;
5
6
  isRequired: any;
6
7
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
7
- noRedux?: boolean | undefined;
8
+ noRedux: any;
8
9
  }) => import("react/jsx-runtime").JSX.Element;
9
10
  export { fieldRequired };
10
- export function renderBlueprintDateInput({ input, intent, onFieldSubmit, inputProps, ...rest }: {
11
- [x: string]: any;
12
- input: any;
13
- intent: any;
14
- onFieldSubmit: any;
15
- inputProps: any;
16
- }): import("react/jsx-runtime").JSX.Element;
17
- export function renderBlueprintDateRangeInput({ input, intent, onFieldSubmit, inputProps, ...rest }: {
18
- [x: string]: any;
19
- input: any;
20
- intent: any;
21
- onFieldSubmit: any;
22
- inputProps: any;
23
- }): import("react/jsx-runtime").JSX.Element;
24
- export function RenderBlueprintInput({ input, intent, onFieldSubmit, onKeyDown, asyncValidating, rightElement, clickToEdit, ...rest }: {
25
- [x: string]: any;
26
- input: any;
27
- intent: any;
28
- onFieldSubmit: any;
29
- onKeyDown?: ((...args: any[]) => void) | undefined;
30
- asyncValidating: any;
31
- rightElement: any;
32
- clickToEdit: any;
33
- }): import("react/jsx-runtime").JSX.Element;
34
- export function renderBlueprintCheckbox({ input, label, tooltipInfo, beforeOnChange, onFieldSubmit, ...rest }: {
35
- [x: string]: any;
36
- input: any;
37
- label: any;
38
- tooltipInfo: any;
39
- beforeOnChange: any;
40
- onFieldSubmit: any;
41
- }): import("react/jsx-runtime").JSX.Element;
42
- export function renderBlueprintSwitch({ input, label, tooltipInfo, onFieldSubmit, beforeOnChange, ...rest }: {
43
- [x: string]: any;
44
- input: any;
45
- label: any;
46
- tooltipInfo: any;
47
- onFieldSubmit: any;
48
- beforeOnChange: any;
49
- }): import("react/jsx-runtime").JSX.Element;
50
- export function renderFileUpload({ input, onFieldSubmit, ...rest }: {
51
- [x: string]: any;
52
- input: any;
53
- onFieldSubmit: any;
54
- }): import("react/jsx-runtime").JSX.Element;
55
- export function RenderBlueprintTextarea({ input, onFieldSubmit, onKeyDown, intentClass, inputClassName, clickToEdit, disabled, ...rest }: {
56
- [x: string]: any;
57
- input: any;
58
- onFieldSubmit: any;
59
- onKeyDown: any;
60
- intentClass: any;
61
- inputClassName: any;
62
- clickToEdit: any;
63
- disabled: any;
64
- }): import("react/jsx-runtime").JSX.Element;
11
+ export function renderBlueprintDateInput(props: any): import("react/jsx-runtime").JSX.Element;
12
+ export function renderBlueprintDateRangeInput(props: any): import("react/jsx-runtime").JSX.Element;
13
+ export function RenderBlueprintInput(props: any): import("react/jsx-runtime").JSX.Element;
14
+ export function renderBlueprintCheckbox(props: any): import("react/jsx-runtime").JSX.Element;
15
+ export function renderBlueprintSwitch(props: any): import("react/jsx-runtime").JSX.Element;
16
+ export function renderFileUpload(props: any): import("react/jsx-runtime").JSX.Element;
17
+ export class renderBlueprintTextarea extends React.Component<any, any, any> {
18
+ constructor(props: any);
19
+ constructor(props: any, context: any);
20
+ state: {
21
+ value: null;
22
+ isOpen: boolean;
23
+ };
24
+ allowEdit: () => void;
25
+ stopEdit: () => void;
26
+ updateVal: (e: any) => void;
27
+ handleValSubmit: () => void;
28
+ onKeyDown: (...args: any[]) => void;
29
+ render(): import("react/jsx-runtime").JSX.Element;
30
+ }
65
31
  export function renderBlueprintEditableText(props: any): import("react/jsx-runtime").JSX.Element;
66
32
  export function renderReactSelect(props: any): import("react/jsx-runtime").JSX.Element;
67
33
  export function renderSuggest_old(props: any): import("react/jsx-runtime").JSX.Element;
68
- export function renderSuggest({ async, input: { value, onChange }, hideValue, intent, options, onFieldSubmit, ...rest }: {
69
- [x: string]: any;
70
- async: any;
71
- input: {
72
- value: any;
73
- onChange: any;
74
- };
75
- hideValue: any;
76
- intent: any;
77
- options: any;
78
- onFieldSubmit: any;
79
- }): import("react/jsx-runtime").JSX.Element;
34
+ export function renderSuggest(props: any): import("react/jsx-runtime").JSX.Element;
80
35
  export function BPSelect({ value, onChange, ...rest }: {
81
36
  [x: string]: any;
82
37
  value: any;
83
38
  onChange: any;
84
39
  }): import("react/jsx-runtime").JSX.Element;
85
- export function renderSelect({ input: { value, onChange }, hideValue, className, placeholder, onFieldSubmit, options, hidePlaceHolder, minimal, disabled, ...rest }: {
86
- [x: string]: any;
87
- input: {
88
- value: any;
89
- onChange: any;
90
- };
91
- hideValue: any;
92
- className: any;
93
- placeholder: any;
94
- onFieldSubmit: any;
95
- options: any;
96
- hidePlaceHolder: any;
97
- minimal: any;
98
- disabled: any;
99
- }): import("react/jsx-runtime").JSX.Element;
100
- export function renderBlueprintNumericInput({ input, hideValue, intent, inputClassName, onFieldSubmit, onAnyNumberChange, ...rest }: {
101
- [x: string]: any;
102
- input: any;
103
- hideValue: any;
104
- intent: any;
105
- inputClassName: any;
106
- onFieldSubmit: any;
107
- onAnyNumberChange: any;
108
- }): import("react/jsx-runtime").JSX.Element;
40
+ export function renderSelect(props: any): import("react/jsx-runtime").JSX.Element;
41
+ export function renderBlueprintNumericInput(props: any): import("react/jsx-runtime").JSX.Element;
109
42
  export function renderBlueprintRadioGroup({ input, options, onFieldSubmit, ...rest }: {
110
43
  [x: string]: any;
111
44
  input: any;
112
45
  options: any;
113
46
  onFieldSubmit: any;
114
47
  }): import("react/jsx-runtime").JSX.Element;
115
- export function RenderReactColorPicker({ input, onFieldSubmit, ...rest }: {
116
- [x: string]: any;
117
- input: any;
118
- onFieldSubmit: any;
119
- }): import("react/jsx-runtime").JSX.Element;
48
+ export class RenderReactColorPicker extends React.Component<any, any, any> {
49
+ constructor(props: any);
50
+ constructor(props: any, context: any);
51
+ handleChange: (color: any) => void;
52
+ render(): import("react/jsx-runtime").JSX.Element;
53
+ }
120
54
  export function withAbstractWrapper(ComponentToWrap: any, opts?: {}): (props: any) => import("react/jsx-runtime").JSX.Element;
121
55
  export function InputField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
122
56
  [x: string]: any;
123
57
  name: any;
124
58
  isRequired: any;
125
59
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
126
- noRedux?: boolean | undefined;
60
+ noRedux: any;
127
61
  }): import("react/jsx-runtime").JSX.Element;
128
62
  export function FileUploadField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
129
63
  [x: string]: any;
130
64
  name: any;
131
65
  isRequired: any;
132
66
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
133
- noRedux?: boolean | undefined;
67
+ noRedux: any;
134
68
  }): import("react/jsx-runtime").JSX.Element;
135
69
  export function DateInputField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
136
70
  [x: string]: any;
137
71
  name: any;
138
72
  isRequired: any;
139
73
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
140
- noRedux?: boolean | undefined;
74
+ noRedux: any;
141
75
  }): import("react/jsx-runtime").JSX.Element;
142
76
  export function DateRangeInputField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
143
77
  [x: string]: any;
144
78
  name: any;
145
79
  isRequired: any;
146
80
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
147
- noRedux?: boolean | undefined;
81
+ noRedux: any;
148
82
  }): import("react/jsx-runtime").JSX.Element;
149
83
  export function CheckboxField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
150
84
  [x: string]: any;
151
85
  name: any;
152
86
  isRequired: any;
153
87
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
154
- noRedux?: boolean | undefined;
88
+ noRedux: any;
155
89
  }): import("react/jsx-runtime").JSX.Element;
156
90
  export function SwitchField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
157
91
  [x: string]: any;
158
92
  name: any;
159
93
  isRequired: any;
160
94
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
161
- noRedux?: boolean | undefined;
95
+ noRedux: any;
162
96
  }): import("react/jsx-runtime").JSX.Element;
163
97
  export function TextareaField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
164
98
  [x: string]: any;
165
99
  name: any;
166
100
  isRequired: any;
167
101
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
168
- noRedux?: boolean | undefined;
102
+ noRedux: any;
169
103
  }): import("react/jsx-runtime").JSX.Element;
170
104
  export function SuggestField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
171
105
  [x: string]: any;
172
106
  name: any;
173
107
  isRequired: any;
174
108
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
175
- noRedux?: boolean | undefined;
109
+ noRedux: any;
176
110
  }): import("react/jsx-runtime").JSX.Element;
177
111
  export function EditableTextField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
178
112
  [x: string]: any;
179
113
  name: any;
180
114
  isRequired: any;
181
115
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
182
- noRedux?: boolean | undefined;
116
+ noRedux: any;
183
117
  }): import("react/jsx-runtime").JSX.Element;
184
118
  export function NumericInputField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
185
119
  [x: string]: any;
186
120
  name: any;
187
121
  isRequired: any;
188
122
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
189
- noRedux?: boolean | undefined;
123
+ noRedux: any;
190
124
  }): import("react/jsx-runtime").JSX.Element;
191
125
  export function RadioGroupField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
192
126
  [x: string]: any;
193
127
  name: any;
194
128
  isRequired: any;
195
129
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
196
- noRedux?: boolean | undefined;
130
+ noRedux: any;
197
131
  }): import("react/jsx-runtime").JSX.Element;
198
132
  export function ReactSelectField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
199
133
  [x: string]: any;
200
134
  name: any;
201
135
  isRequired: any;
202
136
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
203
- noRedux?: boolean | undefined;
137
+ noRedux: any;
204
138
  }): import("react/jsx-runtime").JSX.Element;
205
139
  export function SelectField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
206
140
  [x: string]: any;
207
141
  name: any;
208
142
  isRequired: any;
209
143
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
210
- noRedux?: boolean | undefined;
144
+ noRedux: any;
211
145
  }): import("react/jsx-runtime").JSX.Element;
212
146
  export function ReactColorField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
213
147
  [x: string]: any;
214
148
  name: any;
215
149
  isRequired: any;
216
150
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
217
- noRedux?: boolean | undefined;
151
+ noRedux: any;
218
152
  }): import("react/jsx-runtime").JSX.Element;
package/MatchHeaders.d.ts CHANGED
@@ -1,15 +1,16 @@
1
- export function MatchHeaders({ csvValidationIssue, datatableFormName, datatableFormNames: _datatableFormNames, doAllFilesHaveSameHeaders, fileIndex, filesWIssues, ignoredHeadersMsg, matchedHeaders, onMultiFileUploadSubmit, reduxFormEntitiesArray, searchResults, setFilesWIssues, userSchema }: {
2
- csvValidationIssue: any;
3
- datatableFormName: any;
4
- datatableFormNames: any;
1
+ export function MatchHeaders({ onMultiFileUploadSubmit, doAllFilesHaveSameHeaders, csvValidationIssue, ignoredHeadersMsg, searchResults, matchedHeaders, userSchema, reduxFormEntitiesArray, changeForm, datatableFormName, datatableFormNames: _datatableFormNames, setFilesWIssues, filesWIssues, fileIndex }: {
2
+ onMultiFileUploadSubmit: any;
5
3
  doAllFilesHaveSameHeaders: any;
6
- fileIndex: any;
7
- filesWIssues: any;
4
+ csvValidationIssue: any;
8
5
  ignoredHeadersMsg: any;
6
+ searchResults: any;
9
7
  matchedHeaders: any;
10
- onMultiFileUploadSubmit: any;
8
+ userSchema: any;
11
9
  reduxFormEntitiesArray: any;
12
- searchResults: any;
10
+ changeForm: any;
11
+ datatableFormName: any;
12
+ datatableFormNames: any;
13
13
  setFilesWIssues: any;
14
- userSchema: any;
14
+ filesWIssues: any;
15
+ fileIndex: any;
15
16
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
- declare function _default({ steps, ...rest }: {
1
+ export default function SimpleStepViz({ steps, ...rest }: {
2
2
  [x: string]: any;
3
3
  steps: any;
4
4
  }): import("react/jsx-runtime").JSX.Element;
5
- export default _default;
@@ -1,2 +1,22 @@
1
+ import { default as React } from '../../../../node_modules/react';
1
2
  export default TgSuggest;
2
- declare function TgSuggest(props: any): import("react/jsx-runtime").JSX.Element;
3
+ declare class TgSuggest extends React.Component<any, any, any> {
4
+ static defaultProps: {
5
+ onChange: () => void;
6
+ options: never[];
7
+ value: undefined;
8
+ };
9
+ constructor(props: any);
10
+ constructor(props: any, context: any);
11
+ itemRenderer: (i: string | undefined, { index, handleClick, modifiers }: {
12
+ index: any;
13
+ handleClick: any;
14
+ modifiers: any;
15
+ }) => import("react/jsx-runtime").JSX.Element;
16
+ handleItemSelect: (item: any) => any;
17
+ itemListPredicate: (queryString: any, item: any) => any;
18
+ onQueryChange: (query: any) => void;
19
+ renderInputValue: (item: any) => any;
20
+ render(): import("react/jsx-runtime").JSX.Element;
21
+ input: HTMLInputElement | undefined;
22
+ }
@@ -1,4 +1,4 @@
1
+ export default UploadCsvWizardDialog;
1
2
  export function PreviewCsvData(props: any): import("react/jsx-runtime").JSX.Element;
2
3
  export const SimpleInsertDataDialog: any;
3
- export default UploadCsvWizardDialog;
4
4
  declare const UploadCsvWizardDialog: any;