@teselagen/ui 0.4.19-beta.1 → 0.4.19-beta.11

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 (56) hide show
  1. package/DataTable/Columns.d.ts +1 -0
  2. package/DataTable/DisplayOptions.d.ts +14 -14
  3. package/DataTable/EditabelCell.d.ts +3 -5
  4. package/DataTable/PagingTool.d.ts +24 -2
  5. package/DataTable/SearchBar.d.ts +2 -2
  6. package/DataTable/SortableColumns.d.ts +6 -9
  7. package/DataTable/ThComponent.d.ts +9 -0
  8. package/DataTable/utils/handleCopyTable.d.ts +1 -0
  9. package/DataTable/utils/index.d.ts +3 -2
  10. package/DataTable/utils/primarySelectedValue.d.ts +1 -0
  11. package/DataTable/utils/queryParams.d.ts +6 -0
  12. package/DataTable/utils/removeCleanRows.d.ts +1 -1
  13. package/DataTable/utils/rowClick.d.ts +14 -1
  14. package/DataTable/utils/useTableParams.d.ts +49 -0
  15. package/FormComponents/Uploader.d.ts +5 -1
  16. package/FormComponents/index.d.ts +112 -41
  17. package/FormComponents/utils.d.ts +0 -23
  18. package/MatchHeaders.d.ts +9 -10
  19. package/SimpleStepViz.d.ts +2 -1
  20. package/UploadCsvWizard.d.ts +1 -1
  21. package/index.cjs.js +40334 -44951
  22. package/index.es.js +39685 -44302
  23. package/package.json +2 -2
  24. package/src/DataTable/CellDragHandle.js +65 -63
  25. package/src/DataTable/Columns.js +1064 -0
  26. package/src/DataTable/DisplayOptions.js +173 -192
  27. package/src/DataTable/EditabelCell.js +6 -16
  28. package/src/DataTable/PagingTool.js +39 -55
  29. package/src/DataTable/SearchBar.js +3 -3
  30. package/src/DataTable/SortableColumns.js +44 -39
  31. package/src/DataTable/ThComponent.js +44 -0
  32. package/src/DataTable/dataTableEnhancer.js +35 -294
  33. package/src/DataTable/index.js +2469 -3069
  34. package/src/DataTable/utils/convertSchema.js +2 -2
  35. package/src/DataTable/utils/handleCopyTable.js +16 -0
  36. package/src/DataTable/utils/index.js +4 -2
  37. package/src/DataTable/utils/primarySelectedValue.js +1 -0
  38. package/src/DataTable/utils/queryParams.js +28 -11
  39. package/src/DataTable/utils/removeCleanRows.js +3 -3
  40. package/src/DataTable/utils/rowClick.js +27 -5
  41. package/src/DataTable/utils/useTableParams.js +361 -0
  42. package/src/DataTable/utils/withTableParams.js +7 -34
  43. package/src/DialogFooter/index.js +3 -3
  44. package/src/FormComponents/Uploader.js +249 -237
  45. package/src/FormComponents/index.js +715 -296
  46. package/src/FormComponents/utils.js +0 -145
  47. package/src/InfoHelper/index.js +2 -2
  48. package/src/MatchHeaders.js +25 -20
  49. package/src/SimpleStepViz.js +19 -23
  50. package/src/UploadCsvWizard.js +372 -376
  51. package/src/utils/commandControls.js +4 -4
  52. package/src/utils/handlerHelpers.js +19 -25
  53. package/src/utils/hotkeyUtils.js +1 -1
  54. package/style.css +254 -254
  55. package/FormComponents/AbstractField.d.ts +0 -1
  56. package/src/FormComponents/AbstractField.js +0 -388
@@ -0,0 +1 @@
1
+ export function renderColumns(props: any): 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,8 @@
1
- export function EditableCell({ cancelEdit, dataTest, finishEdit, initialValue, isEditableCellInitialValue, isNumeric, shouldSelectAll, stopSelectAll }: {
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,2 +1,24 @@
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, 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
+ setPage: any;
22
+ setPageSize: any;
23
+ setSelectedEntityIdMap: any;
24
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,6 @@
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 }: {
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 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;
@@ -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,10 @@ 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';
20
21
 
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 };
22
+ 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 };
@@ -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,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,4 +1,17 @@
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;
@@ -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,5 +1,5 @@
1
1
  export default Uploader;
2
- declare function Uploader({ accept: __accept, contentOverride: maybeContentOverride, innerIcon, innerText, action, className, minimal, validateAgainstSchema: _validateAgainstSchema, callout: _callout, fileLimit, readBeforeUpload, showUploadList, beforeUpload, fileList, onFileSuccess, onFieldSubmit, onRemove, onChange, onFileClick, dropzoneProps, overflowList, autoUnzip, disabled: _disabled, noBuildCsvOption, showFilesCount, threeDotMenuItems, onPreviewClick }: {
2
+ declare function Uploader({ accept: __accept, contentOverride: maybeContentOverride, innerIcon, innerText, action, className, minimal, validateAgainstSchema: _validateAgainstSchema, callout: _callout, fileLimit, readBeforeUpload, showUploadList, beforeUpload, fileList, onFileSuccess, onFieldSubmit, onRemove, onChange: _onChange, onFileClick, dropzoneProps, overflowList, autoUnzip, disabled: _disabled, noBuildCsvOption, showFilesCount, threeDotMenuItems, onPreviewClick, noRedux, meta: { form: formName } }: {
3
3
  accept: any;
4
4
  contentOverride: any;
5
5
  innerIcon: any;
@@ -27,4 +27,8 @@ declare function Uploader({ accept: __accept, contentOverride: maybeContentOverr
27
27
  showFilesCount: any;
28
28
  threeDotMenuItems: any;
29
29
  onPreviewClick: any;
30
+ noRedux?: boolean | undefined;
31
+ meta?: {
32
+ form: any;
33
+ } | undefined;
30
34
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,147 +1,218 @@
1
1
  import { fieldRequired } from './utils';
2
- import { default as React } from '../../../../node_modules/react';
3
- /** RENDER UTILS */
4
2
  export function generateField(component: any, opts: any): ({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
5
3
  [x: string]: any;
6
4
  name: any;
7
5
  isRequired: any;
8
6
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
9
- noRedux: any;
7
+ noRedux?: boolean | undefined;
10
8
  }) => import("react/jsx-runtime").JSX.Element;
11
9
  export { fieldRequired };
12
- export function renderBlueprintDateInput(props: any): import("react/jsx-runtime").JSX.Element;
13
- export function renderBlueprintDateRangeInput(props: any): import("react/jsx-runtime").JSX.Element;
14
- export function RenderBlueprintInput(props: any): import("react/jsx-runtime").JSX.Element;
15
- export function renderBlueprintCheckbox(props: any): import("react/jsx-runtime").JSX.Element;
16
- export function renderBlueprintSwitch(props: any): import("react/jsx-runtime").JSX.Element;
17
- export function renderFileUpload(props: any): import("react/jsx-runtime").JSX.Element;
18
- export class renderBlueprintTextarea extends React.Component<any, any, any> {
19
- constructor(props: any);
20
- constructor(props: any, context: any);
21
- state: {
22
- value: null;
23
- isOpen: boolean;
24
- };
25
- allowEdit: () => void;
26
- stopEdit: () => void;
27
- updateVal: (e: any) => void;
28
- handleValSubmit: () => void;
29
- onKeyDown: (...args: any[]) => void;
30
- render(): import("react/jsx-runtime").JSX.Element;
31
- }
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;
32
65
  export function renderBlueprintEditableText(props: any): import("react/jsx-runtime").JSX.Element;
33
66
  export function renderReactSelect(props: any): import("react/jsx-runtime").JSX.Element;
34
67
  export function renderSuggest_old(props: any): import("react/jsx-runtime").JSX.Element;
35
- export function renderSuggest(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;
36
80
  export function BPSelect({ value, onChange, ...rest }: {
37
81
  [x: string]: any;
38
82
  value: any;
39
83
  onChange: any;
40
84
  }): import("react/jsx-runtime").JSX.Element;
41
- export function renderSelect(props: any): import("react/jsx-runtime").JSX.Element;
42
- export function renderBlueprintNumericInput(props: any): 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;
43
109
  export function renderBlueprintRadioGroup({ input, options, onFieldSubmit, ...rest }: {
44
110
  [x: string]: any;
45
111
  input: any;
46
112
  options: any;
47
113
  onFieldSubmit: any;
48
114
  }): import("react/jsx-runtime").JSX.Element;
49
- export function renderReactColorPicker(props: any): 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;
120
+ export function withAbstractWrapper(ComponentToWrap: any, opts?: {}): (props: any) => import("react/jsx-runtime").JSX.Element;
50
121
  export function InputField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
51
122
  [x: string]: any;
52
123
  name: any;
53
124
  isRequired: any;
54
125
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
55
- noRedux: any;
126
+ noRedux?: boolean | undefined;
56
127
  }): import("react/jsx-runtime").JSX.Element;
57
128
  export function FileUploadField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
58
129
  [x: string]: any;
59
130
  name: any;
60
131
  isRequired: any;
61
132
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
62
- noRedux: any;
133
+ noRedux?: boolean | undefined;
63
134
  }): import("react/jsx-runtime").JSX.Element;
64
135
  export function DateInputField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
65
136
  [x: string]: any;
66
137
  name: any;
67
138
  isRequired: any;
68
139
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
69
- noRedux: any;
140
+ noRedux?: boolean | undefined;
70
141
  }): import("react/jsx-runtime").JSX.Element;
71
142
  export function DateRangeInputField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
72
143
  [x: string]: any;
73
144
  name: any;
74
145
  isRequired: any;
75
146
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
76
- noRedux: any;
147
+ noRedux?: boolean | undefined;
77
148
  }): import("react/jsx-runtime").JSX.Element;
78
149
  export function CheckboxField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
79
150
  [x: string]: any;
80
151
  name: any;
81
152
  isRequired: any;
82
153
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
83
- noRedux: any;
154
+ noRedux?: boolean | undefined;
84
155
  }): import("react/jsx-runtime").JSX.Element;
85
156
  export function SwitchField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
86
157
  [x: string]: any;
87
158
  name: any;
88
159
  isRequired: any;
89
160
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
90
- noRedux: any;
161
+ noRedux?: boolean | undefined;
91
162
  }): import("react/jsx-runtime").JSX.Element;
92
163
  export function TextareaField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
93
164
  [x: string]: any;
94
165
  name: any;
95
166
  isRequired: any;
96
167
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
97
- noRedux: any;
168
+ noRedux?: boolean | undefined;
98
169
  }): import("react/jsx-runtime").JSX.Element;
99
170
  export function SuggestField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
100
171
  [x: string]: any;
101
172
  name: any;
102
173
  isRequired: any;
103
174
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
104
- noRedux: any;
175
+ noRedux?: boolean | undefined;
105
176
  }): import("react/jsx-runtime").JSX.Element;
106
177
  export function EditableTextField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
107
178
  [x: string]: any;
108
179
  name: any;
109
180
  isRequired: any;
110
181
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
111
- noRedux: any;
182
+ noRedux?: boolean | undefined;
112
183
  }): import("react/jsx-runtime").JSX.Element;
113
184
  export function NumericInputField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
114
185
  [x: string]: any;
115
186
  name: any;
116
187
  isRequired: any;
117
188
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
118
- noRedux: any;
189
+ noRedux?: boolean | undefined;
119
190
  }): import("react/jsx-runtime").JSX.Element;
120
191
  export function RadioGroupField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
121
192
  [x: string]: any;
122
193
  name: any;
123
194
  isRequired: any;
124
195
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
125
- noRedux: any;
196
+ noRedux?: boolean | undefined;
126
197
  }): import("react/jsx-runtime").JSX.Element;
127
198
  export function ReactSelectField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
128
199
  [x: string]: any;
129
200
  name: any;
130
201
  isRequired: any;
131
202
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
132
- noRedux: any;
203
+ noRedux?: boolean | undefined;
133
204
  }): import("react/jsx-runtime").JSX.Element;
134
205
  export function SelectField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
135
206
  [x: string]: any;
136
207
  name: any;
137
208
  isRequired: any;
138
209
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
139
- noRedux: any;
210
+ noRedux?: boolean | undefined;
140
211
  }): import("react/jsx-runtime").JSX.Element;
141
212
  export function ReactColorField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
142
213
  [x: string]: any;
143
214
  name: any;
144
215
  isRequired: any;
145
216
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
146
- noRedux: any;
217
+ noRedux?: boolean | undefined;
147
218
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,25 +1,2 @@
1
- export function getIntent({ showErrorIfUntouched, meta: { touched, error, warning } }: {
2
- showErrorIfUntouched: any;
3
- meta: {
4
- touched: any;
5
- error: any;
6
- warning: any;
7
- };
8
- }): "warning" | "danger" | undefined;
9
- export function getIntentClass(...args: any[]): string;
10
- export function removeUnwantedProps(props: any): any;
11
- export function LabelWithTooltipInfo({ label, tooltipInfo, labelStyle }: {
12
- label: any;
13
- tooltipInfo: any;
14
- labelStyle: any;
15
- }): any;
16
- export function getNewName(list: any, targetName: any): any;
17
1
  export const REQUIRED_ERROR: "This field is required.";
18
2
  export function fieldRequired(value: any): "This field is required." | undefined;
19
- export function getOptions(options: any): any;
20
- export function fakeWait(): Promise<any>;
21
- export function getCheckboxOrSwitchOnChange({ beforeOnChange, input, onFieldSubmit }: {
22
- beforeOnChange: any;
23
- input: any;
24
- onFieldSubmit: any;
25
- }): (e: any, val: any) => Promise<void>;
package/MatchHeaders.d.ts CHANGED
@@ -1,16 +1,15 @@
1
- export function MatchHeaders({ onMultiFileUploadSubmit, doAllFilesHaveSameHeaders, csvValidationIssue, ignoredHeadersMsg, searchResults, matchedHeaders, userSchema, reduxFormEntitiesArray, changeForm, datatableFormName, datatableFormNames: _datatableFormNames, setFilesWIssues, filesWIssues, fileIndex }: {
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
- userSchema: any;
10
+ onMultiFileUploadSubmit: any;
9
11
  reduxFormEntitiesArray: any;
10
- changeForm: any;
11
- datatableFormName: any;
12
- datatableFormNames: any;
12
+ searchResults: any;
13
13
  setFilesWIssues: any;
14
- filesWIssues: any;
15
- fileIndex: any;
14
+ userSchema: any;
16
15
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,5 @@
1
- export default function SimpleStepViz({ steps, ...rest }: {
1
+ declare function _default({ steps, ...rest }: {
2
2
  [x: string]: any;
3
3
  steps: any;
4
4
  }): import("react/jsx-runtime").JSX.Element;
5
+ export default _default;
@@ -1,4 +1,4 @@
1
- export default UploadCsvWizardDialog;
2
1
  export function PreviewCsvData(props: any): import("react/jsx-runtime").JSX.Element;
3
2
  export const SimpleInsertDataDialog: any;
3
+ export default UploadCsvWizardDialog;
4
4
  declare const UploadCsvWizardDialog: any;