@teselagen/ui 0.5.21 → 0.5.23-beta.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.
- package/DataTable/Columns.d.ts +1 -0
- package/DataTable/DisplayOptions.d.ts +14 -14
- package/DataTable/EditabelCell.d.ts +3 -5
- package/DataTable/FilterAndSortMenu.d.ts +9 -9
- package/DataTable/PagingTool.d.ts +25 -2
- package/DataTable/SearchBar.d.ts +2 -2
- package/DataTable/SortableColumns.d.ts +6 -9
- package/DataTable/ThComponent.d.ts +9 -0
- package/DataTable/index.d.ts +0 -5
- package/DataTable/utils/getIdOrCodeOrIndex.d.ts +1 -2
- package/DataTable/utils/handleCopyTable.d.ts +1 -0
- package/DataTable/utils/index.d.ts +4 -2
- package/DataTable/utils/primarySelectedValue.d.ts +1 -0
- package/DataTable/utils/queryParams.d.ts +6 -0
- package/DataTable/utils/removeCleanRows.d.ts +1 -1
- package/DataTable/utils/rowClick.d.ts +24 -3
- package/DataTable/utils/useDeepEqualMemo.d.ts +1 -0
- package/DataTable/utils/useTableParams.d.ts +49 -0
- package/FormComponents/Uploader.d.ts +34 -1
- package/FormComponents/index.d.ts +111 -45
- package/MatchHeaders.d.ts +9 -10
- package/SimpleStepViz.d.ts +2 -1
- package/TgSuggest/index.d.ts +1 -21
- package/UploadCsvWizard.d.ts +1 -1
- package/index.cjs.js +41038 -45265
- package/index.d.ts +3 -2
- package/index.es.js +44524 -48751
- package/package.json +2 -8
- package/src/DataTable/CellDragHandle.js +70 -69
- package/src/DataTable/ColumnFilterMenu.js +18 -18
- package/src/DataTable/Columns.js +1066 -0
- package/src/DataTable/DisplayOptions.js +173 -192
- package/src/DataTable/EditabelCell.js +6 -16
- package/src/DataTable/FilterAndSortMenu.js +213 -234
- package/src/DataTable/PagingTool.js +47 -56
- package/src/DataTable/SearchBar.js +3 -3
- package/src/DataTable/SortableColumns.js +44 -39
- package/src/DataTable/ThComponent.js +44 -0
- package/src/DataTable/dataTableEnhancer.js +35 -294
- package/src/DataTable/index.js +2933 -3601
- package/src/DataTable/utils/getIdOrCodeOrIndex.js +1 -1
- package/src/DataTable/utils/handleCopyTable.js +16 -0
- package/src/DataTable/utils/index.js +7 -3
- package/src/DataTable/utils/primarySelectedValue.js +1 -0
- package/src/DataTable/utils/queryParams.js +42 -13
- package/src/DataTable/utils/removeCleanRows.js +3 -3
- package/src/DataTable/utils/rowClick.js +34 -9
- package/src/DataTable/utils/selection.js +1 -1
- package/src/DataTable/utils/useDeepEqualMemo.js +10 -0
- package/src/DataTable/utils/useTableParams.js +361 -0
- package/src/DataTable/utils/withTableParams.js +30 -87
- package/src/DataTable/validateTableWideErrors.js +1 -1
- package/src/DialogFooter/index.js +3 -3
- package/src/FillWindow.js +2 -3
- package/src/FormComponents/Uploader.js +825 -784
- package/src/FormComponents/index.js +441 -603
- package/src/FormComponents/tryToMatchSchemas.js +1 -6
- package/src/MatchHeaders.js +27 -22
- package/src/SimpleStepViz.js +19 -23
- package/src/TgSuggest/index.js +94 -106
- package/src/UploadCsvWizard.js +570 -577
- package/src/index.js +4 -3
- package/src/showDialogOnDocBody.js +5 -9
- package/src/useDialog.js +25 -26
- package/src/utils/commandControls.js +2 -2
- package/src/utils/handlerHelpers.js +19 -25
- package/src/utils/popoverOverflowModifiers.js +1 -1
- package/src/utils/renderOnDoc.js +8 -5
- package/src/utils/tagUtils.js +3 -3
- package/src/utils/useTraceUpdate.js +19 -0
- package/src/wrapDialog.js +0 -2
- package/style.css +251 -251
- package/useDialog.d.ts +2 -6
- package/utils/renderOnDoc.d.ts +1 -1
- package/utils/tagUtils.d.ts +5 -1
- package/utils/useTraceUpdate.d.ts +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function RenderColumns(props: any): any;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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,8 @@
|
|
|
1
|
-
export function EditableCell({
|
|
1
|
+
export function EditableCell({ value, setValue, cancelEdit, dataTest, finishEdit, isNumeric }: {
|
|
2
|
+
value: any;
|
|
3
|
+
setValue: any;
|
|
2
4
|
cancelEdit: any;
|
|
3
5
|
dataTest: any;
|
|
4
6
|
finishEdit: any;
|
|
5
|
-
initialValue: any;
|
|
6
|
-
isEditableCellInitialValue: any;
|
|
7
7
|
isNumeric: any;
|
|
8
|
-
shouldSelectAll: any;
|
|
9
|
-
stopSelectAll: any;
|
|
10
8
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
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;
|
package/DataTable/SearchBar.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default SearchBar;
|
|
2
|
-
declare function SearchBar({
|
|
3
|
-
|
|
2
|
+
declare function SearchBar({ searchInput, setSearchTerm, loading, searchMenuButton, disabled, autoFocusSearch }: {
|
|
3
|
+
searchInput: any;
|
|
4
4
|
setSearchTerm: any;
|
|
5
5
|
loading: any;
|
|
6
6
|
searchMenuButton: any;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import { default as React } from '../../../../node_modules/react';
|
|
2
1
|
export default SortableColumns;
|
|
3
|
-
declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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;
|
package/DataTable/index.d.ts
CHANGED
|
@@ -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
|
-
|
|
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 { useDeepEqualMemo } from './useDeepEqualMemo';
|
|
20
22
|
|
|
21
|
-
export {
|
|
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, useDeepEqualMemo };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const PRIMARY_SELECTED_VAL: "main_cell";
|
|
@@ -3,6 +3,12 @@ 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
14
|
export function makeDataTableHandlers({ setNewParams, updateSearch, defaults, onlyOneFilter }: {
|
|
@@ -1,11 +1,32 @@
|
|
|
1
|
-
export default function rowClick(e: any, rowInfo: any, entities: any,
|
|
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:
|
|
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,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,2 +1,35 @@
|
|
|
1
1
|
export default Uploader;
|
|
2
|
-
declare
|
|
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;
|
|
@@ -1,152 +1,218 @@
|
|
|
1
1
|
import { fieldRequired } from './utils';
|
|
2
|
-
import { default as React } from '../../../../node_modules/react';
|
|
3
2
|
export function generateField(component: any, opts: any): ({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
|
|
4
3
|
[x: string]: any;
|
|
5
4
|
name: any;
|
|
6
5
|
isRequired: any;
|
|
7
6
|
onFieldSubmit?: ((...args: any[]) => void) | undefined;
|
|
8
|
-
noRedux
|
|
7
|
+
noRedux?: boolean | undefined;
|
|
9
8
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
10
9
|
export { fieldRequired };
|
|
11
|
-
export function renderBlueprintDateInput(
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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;
|
|
31
65
|
export function renderBlueprintEditableText(props: any): import("react/jsx-runtime").JSX.Element;
|
|
32
66
|
export function renderReactSelect(props: any): import("react/jsx-runtime").JSX.Element;
|
|
33
67
|
export function renderSuggest_old(props: any): import("react/jsx-runtime").JSX.Element;
|
|
34
|
-
export function renderSuggest(
|
|
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;
|
|
35
80
|
export function BPSelect({ value, onChange, ...rest }: {
|
|
36
81
|
[x: string]: any;
|
|
37
82
|
value: any;
|
|
38
83
|
onChange: any;
|
|
39
84
|
}): import("react/jsx-runtime").JSX.Element;
|
|
40
|
-
export function renderSelect(
|
|
41
|
-
|
|
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;
|
|
42
109
|
export function renderBlueprintRadioGroup({ input, options, onFieldSubmit, ...rest }: {
|
|
43
110
|
[x: string]: any;
|
|
44
111
|
input: any;
|
|
45
112
|
options: any;
|
|
46
113
|
onFieldSubmit: any;
|
|
47
114
|
}): import("react/jsx-runtime").JSX.Element;
|
|
48
|
-
export
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
115
|
+
export function RenderReactColorPicker({ input, onFieldSubmit, ...rest }: {
|
|
116
|
+
[x: string]: any;
|
|
117
|
+
input: any;
|
|
118
|
+
onFieldSubmit: any;
|
|
119
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
54
120
|
export function withAbstractWrapper(ComponentToWrap: any, opts?: {}): (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
55
121
|
export function InputField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
|
|
56
122
|
[x: string]: any;
|
|
57
123
|
name: any;
|
|
58
124
|
isRequired: any;
|
|
59
125
|
onFieldSubmit?: ((...args: any[]) => void) | undefined;
|
|
60
|
-
noRedux
|
|
126
|
+
noRedux?: boolean | undefined;
|
|
61
127
|
}): import("react/jsx-runtime").JSX.Element;
|
|
62
128
|
export function FileUploadField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
|
|
63
129
|
[x: string]: any;
|
|
64
130
|
name: any;
|
|
65
131
|
isRequired: any;
|
|
66
132
|
onFieldSubmit?: ((...args: any[]) => void) | undefined;
|
|
67
|
-
noRedux
|
|
133
|
+
noRedux?: boolean | undefined;
|
|
68
134
|
}): import("react/jsx-runtime").JSX.Element;
|
|
69
135
|
export function DateInputField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
|
|
70
136
|
[x: string]: any;
|
|
71
137
|
name: any;
|
|
72
138
|
isRequired: any;
|
|
73
139
|
onFieldSubmit?: ((...args: any[]) => void) | undefined;
|
|
74
|
-
noRedux
|
|
140
|
+
noRedux?: boolean | undefined;
|
|
75
141
|
}): import("react/jsx-runtime").JSX.Element;
|
|
76
142
|
export function DateRangeInputField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
|
|
77
143
|
[x: string]: any;
|
|
78
144
|
name: any;
|
|
79
145
|
isRequired: any;
|
|
80
146
|
onFieldSubmit?: ((...args: any[]) => void) | undefined;
|
|
81
|
-
noRedux
|
|
147
|
+
noRedux?: boolean | undefined;
|
|
82
148
|
}): import("react/jsx-runtime").JSX.Element;
|
|
83
149
|
export function CheckboxField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
|
|
84
150
|
[x: string]: any;
|
|
85
151
|
name: any;
|
|
86
152
|
isRequired: any;
|
|
87
153
|
onFieldSubmit?: ((...args: any[]) => void) | undefined;
|
|
88
|
-
noRedux
|
|
154
|
+
noRedux?: boolean | undefined;
|
|
89
155
|
}): import("react/jsx-runtime").JSX.Element;
|
|
90
156
|
export function SwitchField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
|
|
91
157
|
[x: string]: any;
|
|
92
158
|
name: any;
|
|
93
159
|
isRequired: any;
|
|
94
160
|
onFieldSubmit?: ((...args: any[]) => void) | undefined;
|
|
95
|
-
noRedux
|
|
161
|
+
noRedux?: boolean | undefined;
|
|
96
162
|
}): import("react/jsx-runtime").JSX.Element;
|
|
97
163
|
export function TextareaField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
|
|
98
164
|
[x: string]: any;
|
|
99
165
|
name: any;
|
|
100
166
|
isRequired: any;
|
|
101
167
|
onFieldSubmit?: ((...args: any[]) => void) | undefined;
|
|
102
|
-
noRedux
|
|
168
|
+
noRedux?: boolean | undefined;
|
|
103
169
|
}): import("react/jsx-runtime").JSX.Element;
|
|
104
170
|
export function SuggestField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
|
|
105
171
|
[x: string]: any;
|
|
106
172
|
name: any;
|
|
107
173
|
isRequired: any;
|
|
108
174
|
onFieldSubmit?: ((...args: any[]) => void) | undefined;
|
|
109
|
-
noRedux
|
|
175
|
+
noRedux?: boolean | undefined;
|
|
110
176
|
}): import("react/jsx-runtime").JSX.Element;
|
|
111
177
|
export function EditableTextField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
|
|
112
178
|
[x: string]: any;
|
|
113
179
|
name: any;
|
|
114
180
|
isRequired: any;
|
|
115
181
|
onFieldSubmit?: ((...args: any[]) => void) | undefined;
|
|
116
|
-
noRedux
|
|
182
|
+
noRedux?: boolean | undefined;
|
|
117
183
|
}): import("react/jsx-runtime").JSX.Element;
|
|
118
184
|
export function NumericInputField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
|
|
119
185
|
[x: string]: any;
|
|
120
186
|
name: any;
|
|
121
187
|
isRequired: any;
|
|
122
188
|
onFieldSubmit?: ((...args: any[]) => void) | undefined;
|
|
123
|
-
noRedux
|
|
189
|
+
noRedux?: boolean | undefined;
|
|
124
190
|
}): import("react/jsx-runtime").JSX.Element;
|
|
125
191
|
export function RadioGroupField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
|
|
126
192
|
[x: string]: any;
|
|
127
193
|
name: any;
|
|
128
194
|
isRequired: any;
|
|
129
195
|
onFieldSubmit?: ((...args: any[]) => void) | undefined;
|
|
130
|
-
noRedux
|
|
196
|
+
noRedux?: boolean | undefined;
|
|
131
197
|
}): import("react/jsx-runtime").JSX.Element;
|
|
132
198
|
export function ReactSelectField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
|
|
133
199
|
[x: string]: any;
|
|
134
200
|
name: any;
|
|
135
201
|
isRequired: any;
|
|
136
202
|
onFieldSubmit?: ((...args: any[]) => void) | undefined;
|
|
137
|
-
noRedux
|
|
203
|
+
noRedux?: boolean | undefined;
|
|
138
204
|
}): import("react/jsx-runtime").JSX.Element;
|
|
139
205
|
export function SelectField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
|
|
140
206
|
[x: string]: any;
|
|
141
207
|
name: any;
|
|
142
208
|
isRequired: any;
|
|
143
209
|
onFieldSubmit?: ((...args: any[]) => void) | undefined;
|
|
144
|
-
noRedux
|
|
210
|
+
noRedux?: boolean | undefined;
|
|
145
211
|
}): import("react/jsx-runtime").JSX.Element;
|
|
146
212
|
export function ReactColorField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
|
|
147
213
|
[x: string]: any;
|
|
148
214
|
name: any;
|
|
149
215
|
isRequired: any;
|
|
150
216
|
onFieldSubmit?: ((...args: any[]) => void) | undefined;
|
|
151
|
-
noRedux
|
|
217
|
+
noRedux?: boolean | undefined;
|
|
152
218
|
}): import("react/jsx-runtime").JSX.Element;
|
package/MatchHeaders.d.ts
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
export function MatchHeaders({
|
|
2
|
-
onMultiFileUploadSubmit: any;
|
|
3
|
-
doAllFilesHaveSameHeaders: any;
|
|
1
|
+
export function MatchHeaders({ csvValidationIssue, datatableFormName, datatableFormNames: _datatableFormNames, doAllFilesHaveSameHeaders, fileIndex, filesWIssues, ignoredHeadersMsg, matchedHeaders, onMultiFileUploadSubmit, reduxFormEntitiesArray, searchResults, setFilesWIssues, userSchema }: {
|
|
4
2
|
csvValidationIssue: any;
|
|
3
|
+
datatableFormName: any;
|
|
4
|
+
datatableFormNames: any;
|
|
5
|
+
doAllFilesHaveSameHeaders: any;
|
|
6
|
+
fileIndex: any;
|
|
7
|
+
filesWIssues: any;
|
|
5
8
|
ignoredHeadersMsg: any;
|
|
6
|
-
searchResults: any;
|
|
7
9
|
matchedHeaders: any;
|
|
8
|
-
|
|
10
|
+
onMultiFileUploadSubmit: any;
|
|
9
11
|
reduxFormEntitiesArray: any;
|
|
10
|
-
|
|
11
|
-
datatableFormName: any;
|
|
12
|
-
datatableFormNames: any;
|
|
12
|
+
searchResults: any;
|
|
13
13
|
setFilesWIssues: any;
|
|
14
|
-
|
|
15
|
-
fileIndex: any;
|
|
14
|
+
userSchema: any;
|
|
16
15
|
}): import("react/jsx-runtime").JSX.Element;
|
package/SimpleStepViz.d.ts
CHANGED
package/TgSuggest/index.d.ts
CHANGED
|
@@ -1,22 +1,2 @@
|
|
|
1
|
-
import { default as React } from '../../../../node_modules/react';
|
|
2
1
|
export default TgSuggest;
|
|
3
|
-
declare
|
|
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
|
-
}
|
|
2
|
+
declare function TgSuggest(props: any): import("react/jsx-runtime").JSX.Element;
|