@teselagen/ui 0.6.6 → 0.7.1

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 (98) hide show
  1. package/DataTable/ColumnFilterMenu.d.ts +2 -1
  2. package/DataTable/Columns.d.ts +51 -0
  3. package/DataTable/DisplayOptions.d.ts +14 -14
  4. package/DataTable/EditabelCell.d.ts +2 -5
  5. package/DataTable/EditableCell.d.ts +7 -0
  6. package/DataTable/FilterAndSortMenu.d.ts +9 -9
  7. package/DataTable/PagingTool.d.ts +25 -2
  8. package/DataTable/RenderCell.d.ts +18 -0
  9. package/DataTable/SearchBar.d.ts +4 -3
  10. package/DataTable/SortableColumns.d.ts +6 -9
  11. package/DataTable/ThComponent.d.ts +9 -0
  12. package/DataTable/index.d.ts +0 -5
  13. package/DataTable/utils/getIdOrCodeOrIndex.d.ts +1 -2
  14. package/DataTable/utils/handleCopyTable.d.ts +1 -0
  15. package/DataTable/utils/index.d.ts +4 -2
  16. package/DataTable/utils/primarySelectedValue.d.ts +1 -0
  17. package/DataTable/utils/queryParams.d.ts +13 -8
  18. package/DataTable/utils/removeCleanRows.d.ts +1 -1
  19. package/DataTable/utils/rowClick.d.ts +24 -3
  20. package/DataTable/utils/useDeepEqualMemo.d.ts +1 -0
  21. package/DataTable/utils/useTableEntities.d.ts +5 -0
  22. package/DataTable/utils/useTableParams.d.ts +49 -0
  23. package/DataTable/utils/withTableParams.d.ts +3 -16
  24. package/DataTable/viewColumn.d.ts +11 -4
  25. package/FormComponents/AbstractField.d.ts +1 -0
  26. package/FormComponents/Uploader.d.ts +34 -1
  27. package/FormComponents/index.d.ts +111 -60
  28. package/MatchHeaders.d.ts +9 -10
  29. package/SimpleStepViz.d.ts +2 -1
  30. package/TgSuggest/index.d.ts +1 -21
  31. package/UploadCsvWizard.d.ts +1 -1
  32. package/index.cjs.js +47861 -49125
  33. package/index.d.ts +6 -3
  34. package/index.es.js +47959 -49223
  35. package/package.json +6 -5
  36. package/src/DataTable/CellDragHandle.js +70 -69
  37. package/src/DataTable/ColumnFilterMenu.js +23 -21
  38. package/src/DataTable/Columns.js +948 -0
  39. package/src/DataTable/Columns.jsx +945 -0
  40. package/src/DataTable/DisplayOptions.js +173 -192
  41. package/src/DataTable/EditabelCell.js +7 -18
  42. package/src/DataTable/EditabelCell.jsx +44 -0
  43. package/src/DataTable/EditableCell.js +44 -0
  44. package/src/DataTable/FilterAndSortMenu.js +215 -234
  45. package/src/DataTable/PagingTool.js +47 -56
  46. package/src/DataTable/RenderCell.js +191 -0
  47. package/src/DataTable/RenderCell.jsx +191 -0
  48. package/src/DataTable/SearchBar.js +12 -5
  49. package/src/DataTable/SortableColumns.js +44 -39
  50. package/src/DataTable/ThComponent.js +44 -0
  51. package/src/DataTable/dataTableEnhancer.js +32 -295
  52. package/src/DataTable/index.js +2945 -3596
  53. package/src/DataTable/utils/getIdOrCodeOrIndex.js +1 -1
  54. package/src/DataTable/utils/handleCopyTable.js +16 -0
  55. package/src/DataTable/utils/index.js +7 -3
  56. package/src/DataTable/utils/primarySelectedValue.js +1 -0
  57. package/src/DataTable/utils/queryParams.js +110 -85
  58. package/src/DataTable/utils/removeCleanRows.js +3 -3
  59. package/src/DataTable/utils/rowClick.js +34 -9
  60. package/src/DataTable/utils/selection.js +1 -1
  61. package/src/DataTable/utils/useDeepEqualMemo.js +10 -0
  62. package/src/DataTable/utils/useTableEntities.js +38 -0
  63. package/src/DataTable/utils/useTableParams.js +362 -0
  64. package/src/DataTable/utils/withTableParams.js +244 -274
  65. package/src/DataTable/validateTableWideErrors.js +1 -1
  66. package/src/DataTable/viewColumn.js +5 -9
  67. package/src/DialogFooter/index.js +3 -3
  68. package/src/FillWindow.js +2 -3
  69. package/src/FormComponents/AbstractField.js +388 -0
  70. package/src/FormComponents/Uploader.js +674 -649
  71. package/src/FormComponents/index.js +505 -654
  72. package/src/FormComponents/tryToMatchSchemas.js +1 -6
  73. package/src/MatchHeaders.js +27 -22
  74. package/src/SimpleStepViz.js +19 -23
  75. package/src/TgSelect/index.js +1 -1
  76. package/src/TgSuggest/index.js +94 -106
  77. package/src/UploadCsvWizard.js +571 -577
  78. package/src/enhancers/withDialog/tg_modalState.js +1 -0
  79. package/src/index.js +10 -4
  80. package/src/showDialogOnDocBody.js +5 -9
  81. package/src/useDialog.js +25 -26
  82. package/src/utils/commandControls.js +2 -2
  83. package/src/utils/handlerHelpers.js +19 -25
  84. package/src/utils/hooks/index.js +1 -0
  85. package/src/utils/hooks/useDeepEqualMemo.js +10 -0
  86. package/src/utils/hooks/useStableReference.js +9 -0
  87. package/src/utils/renderOnDoc.js +8 -5
  88. package/src/utils/tagUtils.js +3 -3
  89. package/src/utils/useTraceUpdate.js +19 -0
  90. package/src/wrapDialog.js +0 -2
  91. package/style.css +251 -251
  92. package/useDialog.d.ts +2 -6
  93. package/utils/hooks/index.d.ts +1 -0
  94. package/utils/hooks/useDeepEqualMemo.d.ts +1 -0
  95. package/utils/hooks/useStableReference.d.ts +1 -0
  96. package/utils/renderOnDoc.d.ts +1 -1
  97. package/utils/tagUtils.d.ts +5 -1
  98. package/utils/useTraceUpdate.d.ts +1 -0
@@ -1,4 +1,4 @@
1
- export function ColumnFilterMenu({ addFilters, compact, currentFilter, currentParams, dataType, extraCompact, filterActiveForColumn, FilterMenu, filterOn, removeSingleFilter, schemaForField, setNewParams }: {
1
+ export function ColumnFilterMenu({ addFilters, compact, currentFilter, currentParams, dataType, extraCompact, filterActiveForColumn, FilterMenu, filterOn, removeSingleFilter, schemaForField, setNewParams, formName }: {
2
2
  addFilters: any;
3
3
  compact: any;
4
4
  currentFilter: any;
@@ -11,4 +11,5 @@ export function ColumnFilterMenu({ addFilters, compact, currentFilter, currentPa
11
11
  removeSingleFilter: any;
12
12
  schemaForField: any;
13
13
  setNewParams: any;
14
+ formName: any;
14
15
  }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,51 @@
1
+ export function useColumns({ addFilters, cellRenderer, columns, currentParams, compact, editingCell, editingCellSelectAll, entities, expandedEntityIdMap, extraCompact, filters, formName, getCellHoverText, isCellEditable, isEntityDisabled, isLocalCall, isSimple, isSingleSelect, isSelectionARectangle, noDeselectAll, noSelect, noUserSelect, onDeselect, onMultiRowSelect, onRowClick, onRowSelect, onSingleRowSelect, order, primarySelectedCellId, reduxFormCellValidation, reduxFormSelectedEntityIdMap, refocusTable, removeSingleFilter, schema, selectedCells, setExpandedEntityIdMap, setNewParams, setOrder, setSelectedCells, shouldShowSubComponent, startCellEdit, SubComponent, tableRef, updateEntitiesHelper, updateValidation, withCheckboxes, withExpandAndCollapseAllButton, withFilter: _withFilter, withSort }: {
2
+ addFilters: any;
3
+ cellRenderer: any;
4
+ columns: any;
5
+ currentParams: any;
6
+ compact: any;
7
+ editingCell: any;
8
+ editingCellSelectAll: any;
9
+ entities: any;
10
+ expandedEntityIdMap: any;
11
+ extraCompact: any;
12
+ filters: any;
13
+ formName: any;
14
+ getCellHoverText: any;
15
+ isCellEditable: any;
16
+ isEntityDisabled: any;
17
+ isLocalCall: any;
18
+ isSimple: any;
19
+ isSingleSelect: any;
20
+ isSelectionARectangle: any;
21
+ noDeselectAll: any;
22
+ noSelect: any;
23
+ noUserSelect: any;
24
+ onDeselect: any;
25
+ onMultiRowSelect: any;
26
+ onRowClick: any;
27
+ onRowSelect: any;
28
+ onSingleRowSelect: any;
29
+ order: any;
30
+ primarySelectedCellId: any;
31
+ reduxFormCellValidation: any;
32
+ reduxFormSelectedEntityIdMap: any;
33
+ refocusTable: any;
34
+ removeSingleFilter?: ((...args: any[]) => void) | undefined;
35
+ schema: any;
36
+ selectedCells: any;
37
+ setExpandedEntityIdMap: any;
38
+ setNewParams: any;
39
+ setOrder?: ((...args: any[]) => void) | undefined;
40
+ setSelectedCells: any;
41
+ shouldShowSubComponent: any;
42
+ startCellEdit: any;
43
+ SubComponent: any;
44
+ tableRef: any;
45
+ updateEntitiesHelper: any;
46
+ updateValidation: any;
47
+ withCheckboxes: any;
48
+ withExpandAndCollapseAllButton: any;
49
+ withFilter: any;
50
+ withSort?: boolean | undefined;
51
+ }): any;
@@ -1,14 +1,14 @@
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
+ 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,10 +1,7 @@
1
- export function EditableCell({ cancelEdit, dataTest, finishEdit, initialValue, isEditableCellInitialValue, isNumeric, shouldSelectAll, stopSelectAll }: {
1
+ export function EditableCell({ cancelEdit, dataTest, finishEdit, isNumeric, initialValue }: {
2
2
  cancelEdit: any;
3
3
  dataTest: any;
4
4
  finishEdit: any;
5
- initialValue: any;
6
- isEditableCellInitialValue: any;
7
5
  isNumeric: any;
8
- shouldSelectAll: any;
9
- stopSelectAll: any;
6
+ initialValue: any;
10
7
  }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ export function EditableCell({ cancelEdit, dataTest, finishEdit, isNumeric, initialValue }: {
2
+ cancelEdit: any;
3
+ dataTest: any;
4
+ finishEdit: any;
5
+ isNumeric: any;
6
+ initialValue: any;
7
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,9 +1,9 @@
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
+ 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,2 +1,25 @@
1
- declare const _default: any;
2
- export default _default;
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;
@@ -0,0 +1,18 @@
1
+ export function RenderCell({ oldFunc, getCopyTextForCell, column, isCellEditable, isEntityDisabled, finishCellEdit, formName, noEllipsis, cancelCellEdit, getCellHoverText, selectedCells, isSelectionARectangle, startCellEdit, tableRef, onDragEnd, args }: {
2
+ oldFunc: any;
3
+ getCopyTextForCell: any;
4
+ column: any;
5
+ isCellEditable: any;
6
+ isEntityDisabled: any;
7
+ finishCellEdit: any;
8
+ formName: any;
9
+ noEllipsis: any;
10
+ cancelCellEdit: any;
11
+ getCellHoverText: any;
12
+ selectedCells: any;
13
+ isSelectionARectangle: any;
14
+ startCellEdit: any;
15
+ tableRef: any;
16
+ onDragEnd: any;
17
+ args: any;
18
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,9 +1,10 @@
1
1
  export default SearchBar;
2
- declare function SearchBar({ reduxFormSearchInput, setSearchTerm, loading, searchMenuButton, disabled, autoFocusSearch }: {
3
- reduxFormSearchInput: any;
2
+ declare function SearchBar({ searchInput, setSearchTerm, loading, searchMenuButton, disabled, autoFocusSearch, noForm }: {
3
+ searchInput: any;
4
4
  setSearchTerm: any;
5
5
  loading: any;
6
6
  searchMenuButton: any;
7
7
  disabled: any;
8
8
  autoFocusSearch: any;
9
- }): import("react/jsx-runtime").JSX.Element;
9
+ noForm: any;
10
+ }): import("react/jsx-runtime").JSX.Element | undefined;
@@ -1,10 +1,7 @@
1
- import { default as React } from '../../../../node_modules/react';
2
1
  export default SortableColumns;
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
- }
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;
@@ -0,0 +1,9 @@
1
+ export function ThComponent({ toggleSort, immovable, className, children, style, columnindex, ...rest }: {
2
+ [x: string]: any;
3
+ toggleSort: any;
4
+ immovable: any;
5
+ className: any;
6
+ children: any;
7
+ style: any;
8
+ columnindex: any;
9
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,8 +1,3 @@
1
- export function isEntityClean(e: any): boolean;
2
- export function removeCleanRows(reduxFormEntities: any, reduxFormCellValidation: any): {
3
- entsToUse: any;
4
- validationToUse: {};
5
- };
6
1
  export default WrappedDT;
7
2
  declare const WrappedDT: any;
8
3
  export const ConnectedPagingTool: any;
@@ -1,2 +1 @@
1
- declare function _default(record: any, rowIndex: any): any;
2
- export default _default;
1
+ export function getIdOrCodeOrIndex(record: any, rowIndex: any): any;
@@ -0,0 +1 @@
1
+ export function handleCopyTable(e: any, opts: any): void;
@@ -1,4 +1,3 @@
1
- import { default as computePresets } from './computePresets';
2
1
  import { defaultParsePaste, getEntityIdToEntity, getFieldPathToIndex, getNumberStrAtEnd, stripNumberAtEnd } from './utils';
3
2
  import { formatPasteData } from './formatPasteData';
4
3
  import { getAllRows } from './getAllRows';
@@ -14,8 +13,11 @@ import { getSelectedRowsFromEntities } from './selection';
14
13
  import { handleCopyColumn } from './handleCopyColumn';
15
14
  import { handleCopyHelper } from './handleCopyHelper';
16
15
  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';
19
20
  import { removeCleanRows } from './removeCleanRows';
21
+ import { useTableEntities } from './useTableEntities';
20
22
 
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 };
23
+ 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, useTableEntities };
@@ -0,0 +1 @@
1
+ export const PRIMARY_SELECTED_VAL: "main_cell";
@@ -3,21 +3,26 @@ 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;
6
12
  export function getCurrentParamsFromUrl(location: any, isSimple: any): any;
7
13
  export function setCurrentParamsOnUrl(newParams: any, replace: any, isSimple: any): void;
8
- export function makeDataTableHandlers({ setNewParams, updateSearch, defaults, onlyOneFilter }: {
14
+ export function makeDataTableHandlers({ setNewParams, defaults, onlyOneFilter }: {
9
15
  setNewParams: any;
10
- updateSearch: any;
11
16
  defaults: any;
12
17
  onlyOneFilter: any;
13
18
  }): {
14
- setSearchTerm: (searchTerm: any, currentParams: any) => void;
15
- addFilters: (newFilters: any, currentParams: any) => void;
19
+ setSearchTerm: (searchTerm: any) => void;
20
+ addFilters: (newFilters: any) => void;
16
21
  clearFilters: (additionalFilterKeys?: any[]) => void;
17
- removeSingleFilter: (filterOn: any, currentParams: any) => void;
18
- setPageSize: (pageSize: any, currentParams: any) => void;
19
- setPage: (page: any, currentParams: any) => void;
20
- setOrder: (order: any, isRemove: any, shiftHeld: any, currentParams: any) => void;
22
+ removeSingleFilter: (filterOn: any) => any;
23
+ setPageSize: (pageSize: any) => any;
24
+ setPage: (page: any) => void;
25
+ setOrder: (order: any, isRemove: any, shiftHeld: any) => any;
21
26
  setNewParams: any;
22
27
  };
23
28
  export function getQueryParams({ currentParams, urlConnected, defaults, schema, isInfinite, entities, isLocalCall, additionalFilter, additionalOrFilter, doNotCoercePageSize, noOrderError, isCodeModel, ownProps }: {
@@ -1,4 +1,4 @@
1
- export function removeCleanRows(reduxFormEntities: any, reduxFormCellValidation: any): {
1
+ export function removeCleanRows(entities: any, cellValidation: any): {
2
2
  entsToUse: any;
3
3
  validationToUse: {};
4
4
  };
@@ -1,11 +1,32 @@
1
- export default function rowClick(e: any, rowInfo: any, entities: any, props: any): void;
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;
2
15
  export function changeSelectedEntities({ idMap, entities, change }: {
3
16
  idMap: any;
4
17
  entities?: any[] | undefined;
5
18
  change: any;
6
19
  }): void;
7
- export function finalizeSelection({ idMap, entities, props }: {
20
+ export function finalizeSelection({ idMap, entities, props: { onDeselect, onSingleRowSelect, onMultiRowSelect, noDeselectAll, onRowSelect, noSelect, change } }: {
8
21
  idMap: any;
9
22
  entities: any;
10
- props: 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
+ };
11
32
  }): void;
@@ -0,0 +1 @@
1
+ export function useDeepEqualMemo(value: any): undefined;
@@ -0,0 +1,5 @@
1
+ export function useTableEntities(tableFormName: any): {
2
+ selectTableEntities: (entities?: any[]) => void;
3
+ allOrderedEntities: any;
4
+ selectedEntities: any;
5
+ };
@@ -0,0 +1,49 @@
1
+ /**
2
+ * Note all these options can be passed at Design Time or at Runtime (like reduxForm())
3
+ *
4
+ * @export
5
+ *
6
+ * @param {compOrOpts} compOrOpts
7
+ * @typedef {object} compOrOpts
8
+ * @property {*string} formName - required unique identifier for the table
9
+ * @property {Object | Function} schema - The data table schema or a function returning it. The function wll be called with props as the argument.
10
+ * @property {boolean} urlConnected - whether the table should connect to/update the URL
11
+ * @property {boolean} withSelectedEntities - whether or not to pass the selected entities
12
+ * @property {boolean} isCodeModel - whether the model is keyed by code instead of id in the db
13
+ * @property {object} defaults - tableParam defaults such as pageSize, filter, etc
14
+ * @property {boolean} noOrderError - won't console an error if an order is not found on schema
15
+ */
16
+ export default function useTableParams(props: any): any;
17
+ /**
18
+ * Note all these options can be passed at Design Time or at Runtime (like reduxForm())
19
+ */
20
+ export type compOrOpts = {
21
+ /**
22
+ * } formName - required unique identifier for the table
23
+ */
24
+ string: any;
25
+ /**
26
+ * - The data table schema or a function returning it. The function wll be called with props as the argument.
27
+ */
28
+ schema: Object | Function;
29
+ /**
30
+ * - whether the table should connect to/update the URL
31
+ */
32
+ urlConnected: boolean;
33
+ /**
34
+ * - whether or not to pass the selected entities
35
+ */
36
+ withSelectedEntities: boolean;
37
+ /**
38
+ * - whether the model is keyed by code instead of id in the db
39
+ */
40
+ isCodeModel: boolean;
41
+ /**
42
+ * - tableParam defaults such as pageSize, filter, etc
43
+ */
44
+ defaults: object;
45
+ /**
46
+ * - won't console an error if an order is not found on schema
47
+ */
48
+ noOrderError: boolean;
49
+ };
@@ -1,19 +1,5 @@
1
- /**
2
- * Note all these options can be passed at Design Time or at Runtime (like reduxForm())
3
- *
4
- * @export
5
- *
6
- * @param {compOrOpts} compOrOpts
7
- * @typedef {object} compOrOpts
8
- * @property {*string} formName - required unique identifier for the table
9
- * @property {Object | Function} schema - The data table schema or a function returning it. The function wll be called with props as the argument.
10
- * @property {boolean} urlConnected - whether the table should connect to/update the URL
11
- * @property {boolean} withSelectedEntities - whether or not to pass the selected entities
12
- * @property {boolean} isCodeModel - whether the model is keyed by code instead of id in the db
13
- * @property {object} defaults - tableParam defaults such as pageSize, filter, etc
14
- * @property {boolean} noOrderError - won't console an error if an order is not found on schema
15
- */
16
- export default function withTableParams(compOrOpts: compOrOpts, pTopLevelOpts: any): any;
1
+ export function useTableParams(props: any): any;
2
+ export default withTableParams;
17
3
  /**
18
4
  * Note all these options can be passed at Design Time or at Runtime (like reduxForm())
19
5
  */
@@ -47,3 +33,4 @@ export type compOrOpts = {
47
33
  */
48
34
  noOrderError: boolean;
49
35
  };
36
+ declare function withTableParams(topLevelOptions: any): any;
@@ -6,7 +6,14 @@ export namespace viewColumn {
6
6
  let type: string;
7
7
  function render(): import("react/jsx-runtime").JSX.Element;
8
8
  }
9
- export namespace openColumn {
10
- export function render_1(val: any, record: any, rowInfo: any, props: any): import("react/jsx-runtime").JSX.Element;
11
- export { render_1 as render };
12
- }
9
+ export function openColumn({ onDoubleClick, history }: {
10
+ onDoubleClick: any;
11
+ history: any;
12
+ }): {
13
+ render: (val: any, record: any, rowInfo: any) => import("react/jsx-runtime").JSX.Element;
14
+ width: number;
15
+ noEllipsis: boolean;
16
+ hideInMenu: boolean;
17
+ immovable: boolean;
18
+ type: string;
19
+ };
@@ -0,0 +1 @@
1
+ export function withAbstractWrapper(ComponentToWrap: any, opts?: {}): (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,35 @@
1
1
  export default Uploader;
2
- declare const Uploader: any;
2
+ declare function Uploader({ accept: __accept, action, autoUnzip, beforeUpload, callout: _callout, className, contentOverride: maybeContentOverride, 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;