@teselagen/ui 0.4.14 → 0.4.16

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 (119) hide show
  1. package/AdvancedOptions.d.ts +1 -1
  2. package/AssignDefaultsModeContext.d.ts +1 -1
  3. package/AsyncValidateFieldSpinner/index.d.ts +1 -1
  4. package/BlueprintError/index.d.ts +1 -1
  5. package/BounceLoader/index.d.ts +1 -1
  6. package/CollapsibleCard/index.d.ts +1 -1
  7. package/DNALoader/index.d.ts +1 -1
  8. package/DataTable/CellDragHandle.d.ts +1 -1
  9. package/DataTable/ColumnFilterMenu.d.ts +14 -0
  10. package/DataTable/DisabledLoadingComponent.d.ts +1 -1
  11. package/DataTable/DisplayOptions.d.ts +2 -2
  12. package/DataTable/DropdownCell.d.ts +8 -0
  13. package/DataTable/EditabelCell.d.ts +10 -0
  14. package/DataTable/FilterAndSortMenu.d.ts +2 -2
  15. package/DataTable/SearchBar.d.ts +1 -1
  16. package/DataTable/SortableColumns.d.ts +2 -2
  17. package/DataTable/TableFormTrackerContext.d.ts +1 -1
  18. package/DataTable/defaultProps.d.ts +1 -1
  19. package/DataTable/index.d.ts +0 -5
  20. package/DataTable/utils/computePresets.d.ts +1 -1
  21. package/DataTable/utils/formatPasteData.d.ts +5 -0
  22. package/DataTable/utils/getAllRows.d.ts +1 -0
  23. package/DataTable/utils/getCellCopyText.d.ts +1 -0
  24. package/DataTable/utils/getCellInfo.d.ts +17 -0
  25. package/DataTable/utils/getFieldPathToField.d.ts +1 -0
  26. package/DataTable/utils/getIdOrCodeOrIndex.d.ts +1 -2
  27. package/DataTable/utils/getLastSelectedEntity.d.ts +1 -0
  28. package/DataTable/utils/getNewEntToSelect.d.ts +6 -0
  29. package/DataTable/utils/getRowCopyText.d.ts +3 -0
  30. package/DataTable/utils/handleCopyColumn.d.ts +1 -0
  31. package/DataTable/utils/handleCopyHelper.d.ts +1 -0
  32. package/DataTable/utils/handleCopyRows.d.ts +5 -0
  33. package/DataTable/utils/index.d.ts +21 -0
  34. package/DataTable/utils/isBottomRightCornerOfRectangle.d.ts +8 -0
  35. package/DataTable/utils/isEntityClean.d.ts +1 -0
  36. package/DataTable/utils/removeCleanRows.d.ts +4 -0
  37. package/DataTable/utils/rowClick.d.ts +10 -2
  38. package/DataTable/utils/utils.d.ts +5 -0
  39. package/DataTable/viewColumn.d.ts +2 -2
  40. package/DialogFooter/index.d.ts +1 -1
  41. package/DropdownButton.d.ts +1 -1
  42. package/FillWindow.d.ts +1 -1
  43. package/FormComponents/LoadingDots.d.ts +1 -1
  44. package/FormComponents/Uploader.d.ts +29 -1
  45. package/FormComponents/index.d.ts +34 -34
  46. package/FormComponents/itemUpload.d.ts +1 -1
  47. package/HotkeysDialog/index.d.ts +1 -1
  48. package/InfoHelper/index.d.ts +1 -1
  49. package/IntentText/index.d.ts +1 -1
  50. package/MatchHeaders.d.ts +1 -1
  51. package/MenuBar/index.d.ts +4 -4
  52. package/PromptUnsavedChanges/index.d.ts +1 -1
  53. package/README.md +18 -0
  54. package/ResizableDraggableDialog/index.d.ts +2 -2
  55. package/ScrollToTop/index.d.ts +1 -1
  56. package/SimpleStepViz.d.ts +1 -1
  57. package/Tag.d.ts +1 -1
  58. package/TagSelect/index.d.ts +1 -1
  59. package/TgSelect/index.d.ts +2 -2
  60. package/TgSuggest/index.d.ts +3 -3
  61. package/Timeline/TimelineEvent.d.ts +1 -1
  62. package/Timeline/index.d.ts +2 -2
  63. package/UploadCsvWizard.d.ts +1 -1
  64. package/customIcons.d.ts +19 -19
  65. package/enhancers/withField.d.ts +1 -1
  66. package/enhancers/withFields.d.ts +1 -1
  67. package/enhancers/withLocalStorage.d.ts +1 -1
  68. package/index.cjs.js +14026 -12765
  69. package/index.d.ts +60 -60
  70. package/index.es.js +13844 -12583
  71. package/package.json +7 -4
  72. package/showConfirmationDialog/index.d.ts +2 -2
  73. package/src/DataTable/CellDragHandle.js +6 -7
  74. package/src/DataTable/ColumnFilterMenu.js +60 -0
  75. package/src/DataTable/DropdownCell.js +61 -0
  76. package/src/DataTable/EditabelCell.js +55 -0
  77. package/src/DataTable/PagingTool.js +1 -1
  78. package/src/DataTable/SortableColumns.js +53 -18
  79. package/src/DataTable/dataTableEnhancer.js +1 -1
  80. package/src/DataTable/index.js +385 -759
  81. package/src/DataTable/utils/formatPasteData.js +16 -0
  82. package/src/DataTable/utils/getAllRows.js +11 -0
  83. package/src/DataTable/utils/getCellCopyText.js +7 -0
  84. package/src/DataTable/utils/getCellInfo.js +36 -0
  85. package/src/DataTable/utils/getFieldPathToField.js +7 -0
  86. package/src/DataTable/utils/getIdOrCodeOrIndex.js +1 -1
  87. package/src/DataTable/utils/getLastSelectedEntity.js +11 -0
  88. package/src/DataTable/utils/getNewEntToSelect.js +25 -0
  89. package/src/DataTable/utils/getRowCopyText.js +28 -0
  90. package/src/DataTable/utils/handleCopyColumn.js +21 -0
  91. package/src/DataTable/utils/handleCopyHelper.js +15 -0
  92. package/src/DataTable/utils/handleCopyRows.js +23 -0
  93. package/src/DataTable/utils/index.js +51 -0
  94. package/src/DataTable/utils/isBottomRightCornerOfRectangle.js +20 -0
  95. package/src/DataTable/utils/isEntityClean.js +15 -0
  96. package/src/DataTable/utils/removeCleanRows.js +22 -0
  97. package/src/DataTable/utils/rowClick.js +7 -4
  98. package/src/DataTable/utils/selection.js +1 -1
  99. package/src/DataTable/utils/utils.js +37 -0
  100. package/src/DataTable/validateTableWideErrors.js +1 -1
  101. package/src/FillWindow.js +2 -3
  102. package/src/FormComponents/Uploader.js +400 -400
  103. package/src/FormComponents/tryToMatchSchemas.js +0 -6
  104. package/src/UploadCsvWizard.js +312 -371
  105. package/src/index.js +3 -3
  106. package/src/showDialogOnDocBody.js +5 -9
  107. package/src/useDialog.js +7 -4
  108. package/src/utils/renderOnDoc.js +8 -5
  109. package/style.css +7 -7
  110. package/useDialog.d.ts +2 -2
  111. package/utils/adHoc.d.ts +1 -1
  112. package/utils/commandControls.d.ts +5 -5
  113. package/utils/hotkeyUtils.d.ts +1 -1
  114. package/utils/menuUtils.d.ts +7 -7
  115. package/utils/renderOnDoc.d.ts +1 -1
  116. package/utils/tagUtils.d.ts +1 -1
  117. package/utils/tgFormValues.d.ts +1 -1
  118. package/utils/withStore.d.ts +1 -1
  119. package/wrapDialog.d.ts +1 -1
@@ -4,4 +4,4 @@ export default function AdvancedOptions({ children, content, label, style, isOpe
4
4
  label: any;
5
5
  style: any;
6
6
  isOpenByDefault: any;
7
- }): import('../../../node_modules/react/jsx-runtime').JSX.Element | null;
7
+ }): import("react/jsx-runtime").JSX.Element | null;
@@ -1,3 +1,4 @@
1
+ import { default as React } from '../../../node_modules/react';
1
2
  export const AssignDefaultsModeContext: React.Context<{
2
3
  inAssignDefaultsMode: boolean;
3
4
  setAssignDefaultsMode: () => void;
@@ -22,4 +23,3 @@ export const WorkflowDefaultParamsContext: React.Context<{
22
23
  workflowToolTitle: undefined;
23
24
  workflowTaskCode: undefined;
24
25
  }>;
25
- import React from '../../../node_modules/react';
@@ -1,3 +1,3 @@
1
1
  export default function AsyncValidateFieldSpinner({ validating }: {
2
2
  validating: any;
3
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element | null;
3
+ }): import("react/jsx-runtime").JSX.Element | null;
@@ -1,3 +1,3 @@
1
1
  export default function BlueprintError({ error }: {
2
2
  error: any;
3
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element | null;
3
+ }): import("react/jsx-runtime").JSX.Element | null;
@@ -1,4 +1,4 @@
1
1
  export default function BounceLoader({ style, className }: {
2
2
  style: any;
3
3
  className: any;
4
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -9,4 +9,4 @@ export default function CollapsibleCard({ title, icon, openTitleElements, noCard
9
9
  initialClosed?: boolean | undefined;
10
10
  toggle: any;
11
11
  isOpen: any;
12
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
12
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
1
  export default function DNALoader({ style, className }: {
2
2
  style: any;
3
3
  className: any;
4
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -3,4 +3,4 @@ export function CellDragHandle({ thisTable, onDragEnd, cellId, isSelectionARecta
3
3
  onDragEnd: any;
4
4
  cellId: any;
5
5
  isSelectionARectangle: any;
6
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
6
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,14 @@
1
+ export function ColumnFilterMenu({ addFilters, compact, currentFilter, currentParams, dataType, extraCompact, filterActiveForColumn, FilterMenu, filterOn, removeSingleFilter, schemaForField, setNewParams }: {
2
+ addFilters: any;
3
+ compact: any;
4
+ currentFilter: any;
5
+ currentParams: any;
6
+ dataType: any;
7
+ extraCompact: any;
8
+ filterActiveForColumn: any;
9
+ FilterMenu: any;
10
+ filterOn: any;
11
+ removeSingleFilter: any;
12
+ schemaForField: any;
13
+ setNewParams: any;
14
+ }): import("react/jsx-runtime").JSX.Element;
@@ -3,4 +3,4 @@ declare function DisabledLoadingComponent({ disabled, loading, loadingText }: {
3
3
  disabled: any;
4
4
  loading: any;
5
5
  loadingText: any;
6
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
6
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,4 @@
1
+ import { default as React } from '../../../../node_modules/react';
1
2
  export default class DisplayOptions extends React.Component<any, any, any> {
2
3
  constructor(props: any);
3
4
  constructor(props: any, context: any);
@@ -9,6 +10,5 @@ export default class DisplayOptions extends React.Component<any, any, any> {
9
10
  closePopover: () => void;
10
11
  changeTableDensity: (e: any) => void;
11
12
  toggleForcedHidden: (e: any) => any;
12
- render(): import('../../../../node_modules/react/jsx-runtime').JSX.Element | null;
13
+ render(): import("react/jsx-runtime").JSX.Element | null;
13
14
  }
14
- import React from '../../../../node_modules/react';
@@ -0,0 +1,8 @@
1
+ export function DropdownCell({ options, isMulti, initialValue, finishEdit, cancelEdit, dataTest }: {
2
+ options: any;
3
+ isMulti: any;
4
+ initialValue: any;
5
+ finishEdit: any;
6
+ cancelEdit: any;
7
+ dataTest: any;
8
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,10 @@
1
+ export function EditableCell({ cancelEdit, dataTest, finishEdit, initialValue, isEditableCellInitialValue, isNumeric, shouldSelectAll, stopSelectAll }: {
2
+ cancelEdit: any;
3
+ dataTest: any;
4
+ finishEdit: any;
5
+ initialValue: any;
6
+ isEditableCellInitialValue: any;
7
+ isNumeric: any;
8
+ shouldSelectAll: any;
9
+ stopSelectAll: any;
10
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,9 +1,9 @@
1
+ import { default as React } from '../../../../node_modules/react';
1
2
  export default class FilterAndSortMenu extends React.Component<any, any, any> {
2
3
  constructor(props: any);
3
4
  state: any;
4
5
  handleFilterChange: (selectedFilter: any) => void;
5
6
  handleFilterValueChange: (filterValue: any) => void;
6
7
  handleFilterSubmit: () => any;
7
- render(): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
8
+ render(): import("react/jsx-runtime").JSX.Element;
8
9
  }
9
- import React from '../../../../node_modules/react';
@@ -6,4 +6,4 @@ declare function SearchBar({ reduxFormSearchInput, setSearchTerm, loading, searc
6
6
  searchMenuButton: any;
7
7
  disabled: any;
8
8
  autoFocusSearch: any;
9
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
9
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,4 @@
1
+ import { default as React } from '../../../../node_modules/react';
1
2
  export default SortableColumns;
2
3
  declare class SortableColumns extends React.Component<any, any, any> {
3
4
  constructor(props: any);
@@ -5,6 +6,5 @@ declare class SortableColumns extends React.Component<any, any, any> {
5
6
  shouldCancelStart: (e: any) => boolean;
6
7
  onSortEnd: (...args: any[]) => void;
7
8
  onSortStart: () => void;
8
- render(): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
9
+ render(): import("react/jsx-runtime").JSX.Element;
9
10
  }
10
- import React from '../../../../node_modules/react';
@@ -1,7 +1,7 @@
1
+ import { default as React } from '../../../../node_modules/react';
1
2
  export default TableFormTrackerContext;
2
3
  declare const TableFormTrackerContext: React.Context<{
3
4
  formNames: never[];
4
5
  pushFormName: () => void;
5
6
  isActive: boolean;
6
7
  }>;
7
- import React from '../../../../node_modules/react';
@@ -1,3 +1,4 @@
1
+ import { noop } from 'lodash-es';
1
2
  declare namespace _default {
2
3
  export { noop as addFilters };
3
4
  export let className: string;
@@ -40,4 +41,3 @@ declare namespace _default {
40
41
  export let withSort: boolean;
41
42
  }
42
43
  export default _default;
43
- import { noop } from "lodash-es";
@@ -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 +1 @@
1
- export default function computePresets(props?: {}): import("lodash").Dictionary<any>;
1
+ export default function computePresets(props?: {}): import('lodash').Dictionary<any>;
@@ -0,0 +1,5 @@
1
+ export function formatPasteData({ schema, newVal, path }: {
2
+ schema: any;
3
+ newVal: any;
4
+ path: any;
5
+ }): any;
@@ -0,0 +1 @@
1
+ export function getAllRows(e: any): any;
@@ -0,0 +1 @@
1
+ export function getCellCopyText(cellWrapper: any): any[];
@@ -0,0 +1,17 @@
1
+ export function getCellInfo({ columnIndex, columnPath, rowId, schema, entities, rowIndex, isEntityDisabled, entity }: {
2
+ columnIndex: any;
3
+ columnPath: any;
4
+ rowId: any;
5
+ schema: any;
6
+ entities: any;
7
+ rowIndex: any;
8
+ isEntityDisabled: any;
9
+ entity: any;
10
+ }): {
11
+ cellId: string;
12
+ cellIdAbove: any;
13
+ cellIdToRight: any;
14
+ cellIdBelow: any;
15
+ cellIdToLeft: any;
16
+ rowDisabled: any;
17
+ };
@@ -0,0 +1 @@
1
+ export function getFieldPathToField(schema: 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 getLastSelectedEntity(idMap: any): undefined;
@@ -0,0 +1,6 @@
1
+ export function getNewEntToSelect({ type, lastSelectedIndex, entities, isEntityDisabled }: {
2
+ type: any;
3
+ lastSelectedIndex: any;
4
+ entities: any;
5
+ isEntityDisabled: any;
6
+ }): any;
@@ -0,0 +1,3 @@
1
+ export function getRowCopyText(rowEl: any, { specificColumn }?: {
2
+ specificColumn: any;
3
+ }): (string | any[])[];
@@ -0,0 +1 @@
1
+ export function handleCopyColumn(e: any, cellWrapper: any, selectedRecords: any): void;
@@ -0,0 +1 @@
1
+ export function handleCopyHelper(stringToCopy: any, jsonToCopy: any, message: any): void;
@@ -0,0 +1,5 @@
1
+ export function handleCopyRows(rowElsToCopy: any, { specificColumn, onFinishMsg, isDownload }?: {
2
+ specificColumn: any;
3
+ onFinishMsg: any;
4
+ isDownload: any;
5
+ }): any;
@@ -0,0 +1,21 @@
1
+ import { default as computePresets } from './computePresets';
2
+ import { defaultParsePaste, getEntityIdToEntity, getFieldPathToIndex, getNumberStrAtEnd, stripNumberAtEnd } from './utils';
3
+ import { formatPasteData } from './formatPasteData';
4
+ import { getAllRows } from './getAllRows';
5
+ import { getCellCopyText } from './getCellCopyText';
6
+ import { getCellInfo } from './getCellInfo';
7
+ import { getFieldPathToField } from './getFieldPathToField';
8
+ import { getIdOrCodeOrIndex } from './getIdOrCodeOrIndex';
9
+ import { getLastSelectedEntity } from './getLastSelectedEntity';
10
+ import { getNewEntToSelect } from './getNewEntToSelect';
11
+ import { getRecordsFromIdMap } from './withSelectedEntities';
12
+ import { getRowCopyText } from './getRowCopyText';
13
+ import { getSelectedRowsFromEntities } from './selection';
14
+ import { handleCopyColumn } from './handleCopyColumn';
15
+ import { handleCopyHelper } from './handleCopyHelper';
16
+ import { handleCopyRows } from './handleCopyRows';
17
+ import { isBottomRightCornerOfRectangle } from './isBottomRightCornerOfRectangle';
18
+ import { isEntityClean } from './isEntityClean';
19
+ import { removeCleanRows } from './removeCleanRows';
20
+
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 };
@@ -0,0 +1,8 @@
1
+ export function isBottomRightCornerOfRectangle({ cellId, selectionGrid, lastRowIndex, lastCellIndex, entityMap, pathToIndex }: {
2
+ cellId: any;
3
+ selectionGrid: any;
4
+ lastRowIndex: any;
5
+ lastCellIndex: any;
6
+ entityMap: any;
7
+ pathToIndex: any;
8
+ }): boolean | undefined;
@@ -0,0 +1 @@
1
+ export function isEntityClean(e: any): boolean;
@@ -0,0 +1,4 @@
1
+ export function removeCleanRows(reduxFormEntities: any, reduxFormCellValidation: any): {
2
+ entsToUse: any;
3
+ validationToUse: {};
4
+ };
@@ -4,8 +4,16 @@ export function changeSelectedEntities({ idMap, entities, change }: {
4
4
  entities?: any[] | undefined;
5
5
  change: any;
6
6
  }): void;
7
- export function finalizeSelection({ idMap, entities, props }: {
7
+ export function finalizeSelection({ idMap, entities, props: { onDeselect, onSingleRowSelect, onMultiRowSelect, noDeselectAll, onRowSelect, noSelect, change } }: {
8
8
  idMap: any;
9
9
  entities: any;
10
- props: any;
10
+ props: {
11
+ onDeselect: any;
12
+ onSingleRowSelect: any;
13
+ onMultiRowSelect: any;
14
+ noDeselectAll: any;
15
+ onRowSelect: any;
16
+ noSelect: any;
17
+ change: any;
18
+ };
11
19
  }): void;
@@ -0,0 +1,5 @@
1
+ export function getFieldPathToIndex(schema: any): {};
2
+ export function defaultParsePaste(str: any): any;
3
+ export function getEntityIdToEntity(entities: any): {};
4
+ export function getNumberStrAtEnd(str: any): any;
5
+ export function stripNumberAtEnd(str: any): any;
@@ -4,9 +4,9 @@ export namespace viewColumn {
4
4
  let hideInMenu: boolean;
5
5
  let immovable: boolean;
6
6
  let type: string;
7
- function render(): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
7
+ function render(): import("react/jsx-runtime").JSX.Element;
8
8
  }
9
9
  export namespace openColumn {
10
- export function render_1(val: any, record: any, rowInfo: any, props: any): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
10
+ export function render_1(val: any, record: any, rowInfo: any, props: any): import("react/jsx-runtime").JSX.Element;
11
11
  export { render_1 as render };
12
12
  }
@@ -20,4 +20,4 @@ declare function DialogFooter({ hideModal, loading, submitting, onBackClick, sty
20
20
  disabled: any;
21
21
  containerClassname: any;
22
22
  noCancel: any;
23
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
23
+ }): import("react/jsx-runtime").JSX.Element;
@@ -6,4 +6,4 @@ declare function DropdownButton({ disabled, menu, noRightIcon, popoverProps, cla
6
6
  noRightIcon: any;
7
7
  popoverProps: any;
8
8
  className: any;
9
- }): import('../../../node_modules/react/jsx-runtime').JSX.Element;
9
+ }): import("react/jsx-runtime").JSX.Element;
package/FillWindow.d.ts CHANGED
@@ -1,5 +1,5 @@
1
+ import { default as React } from '../../../node_modules/react';
1
2
  export default class FillWindow extends React.Component<any, any, any> {
2
3
  constructor(props: any);
3
4
  render(): any;
4
5
  }
5
- import React from '../../../node_modules/react';
@@ -1 +1 @@
1
- export function LoadingDots(): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
1
+ export function LoadingDots(): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,30 @@
1
1
  export default Uploader;
2
- declare const Uploader: any;
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 }: {
3
+ accept: any;
4
+ contentOverride: any;
5
+ innerIcon: any;
6
+ innerText: any;
7
+ action: any;
8
+ className?: string | undefined;
9
+ minimal: any;
10
+ validateAgainstSchema: any;
11
+ callout: any;
12
+ fileLimit: any;
13
+ readBeforeUpload: any;
14
+ showUploadList?: boolean | undefined;
15
+ beforeUpload: any;
16
+ fileList: any;
17
+ onFileSuccess?: (() => Promise<void>) | undefined;
18
+ onFieldSubmit?: ((...args: any[]) => void) | undefined;
19
+ onRemove?: ((...args: any[]) => void) | undefined;
20
+ onChange?: ((...args: any[]) => void) | undefined;
21
+ onFileClick: any;
22
+ dropzoneProps?: {} | undefined;
23
+ overflowList: any;
24
+ autoUnzip: any;
25
+ disabled: any;
26
+ noBuildCsvOption: any;
27
+ showFilesCount: any;
28
+ threeDotMenuItems: any;
29
+ onPreviewClick: any;
30
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,17 +1,19 @@
1
+ import { fieldRequired } from './utils';
2
+ import { default as React } from '../../../../node_modules/react';
1
3
  export function generateField(component: any, opts: any): ({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
2
4
  [x: string]: any;
3
5
  name: any;
4
6
  isRequired: any;
5
7
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
6
8
  noRedux: any;
7
- }) => import('../../../../node_modules/react/jsx-runtime').JSX.Element;
9
+ }) => import("react/jsx-runtime").JSX.Element;
8
10
  export { fieldRequired };
9
- export function renderBlueprintDateInput(props: any): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
10
- export function renderBlueprintDateRangeInput(props: any): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
11
- export function RenderBlueprintInput(props: any): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
12
- export function renderBlueprintCheckbox(props: any): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
13
- export function renderBlueprintSwitch(props: any): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
14
- export function renderFileUpload(props: any): import('../../../../node_modules/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;
15
17
  export class renderBlueprintTextarea extends React.Component<any, any, any> {
16
18
  constructor(props: any);
17
19
  constructor(props: any, context: any);
@@ -24,129 +26,127 @@ export class renderBlueprintTextarea extends React.Component<any, any, any> {
24
26
  updateVal: (e: any) => void;
25
27
  handleValSubmit: () => void;
26
28
  onKeyDown: (...args: any[]) => void;
27
- render(): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
29
+ render(): import("react/jsx-runtime").JSX.Element;
28
30
  }
29
- export function renderBlueprintEditableText(props: any): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
30
- export function renderReactSelect(props: any): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
31
- export function renderSuggest_old(props: any): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
32
- export function renderSuggest(props: any): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
31
+ export function renderBlueprintEditableText(props: any): import("react/jsx-runtime").JSX.Element;
32
+ export function renderReactSelect(props: any): import("react/jsx-runtime").JSX.Element;
33
+ export function renderSuggest_old(props: any): import("react/jsx-runtime").JSX.Element;
34
+ export function renderSuggest(props: any): import("react/jsx-runtime").JSX.Element;
33
35
  export function BPSelect({ value, onChange, ...rest }: {
34
36
  [x: string]: any;
35
37
  value: any;
36
38
  onChange: any;
37
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
38
- export function renderSelect(props: any): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
39
- export function renderBlueprintNumericInput(props: any): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
39
+ }): 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;
40
42
  export function renderBlueprintRadioGroup({ input, options, onFieldSubmit, ...rest }: {
41
43
  [x: string]: any;
42
44
  input: any;
43
45
  options: any;
44
46
  onFieldSubmit: any;
45
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
47
+ }): import("react/jsx-runtime").JSX.Element;
46
48
  export class RenderReactColorPicker extends React.Component<any, any, any> {
47
49
  constructor(props: any);
48
50
  constructor(props: any, context: any);
49
51
  handleChange: (color: any) => void;
50
- render(): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
52
+ render(): import("react/jsx-runtime").JSX.Element;
51
53
  }
52
- export function withAbstractWrapper(ComponentToWrap: any, opts?: {}): (props: any) => import('../../../../node_modules/react/jsx-runtime').JSX.Element;
54
+ export function withAbstractWrapper(ComponentToWrap: any, opts?: {}): (props: any) => import("react/jsx-runtime").JSX.Element;
53
55
  export function InputField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
54
56
  [x: string]: any;
55
57
  name: any;
56
58
  isRequired: any;
57
59
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
58
60
  noRedux: any;
59
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
61
+ }): import("react/jsx-runtime").JSX.Element;
60
62
  export function FileUploadField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
61
63
  [x: string]: any;
62
64
  name: any;
63
65
  isRequired: any;
64
66
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
65
67
  noRedux: any;
66
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
68
+ }): import("react/jsx-runtime").JSX.Element;
67
69
  export function DateInputField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
68
70
  [x: string]: any;
69
71
  name: any;
70
72
  isRequired: any;
71
73
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
72
74
  noRedux: any;
73
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
75
+ }): import("react/jsx-runtime").JSX.Element;
74
76
  export function DateRangeInputField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
75
77
  [x: string]: any;
76
78
  name: any;
77
79
  isRequired: any;
78
80
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
79
81
  noRedux: any;
80
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
82
+ }): import("react/jsx-runtime").JSX.Element;
81
83
  export function CheckboxField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
82
84
  [x: string]: any;
83
85
  name: any;
84
86
  isRequired: any;
85
87
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
86
88
  noRedux: any;
87
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
89
+ }): import("react/jsx-runtime").JSX.Element;
88
90
  export function SwitchField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
89
91
  [x: string]: any;
90
92
  name: any;
91
93
  isRequired: any;
92
94
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
93
95
  noRedux: any;
94
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
96
+ }): import("react/jsx-runtime").JSX.Element;
95
97
  export function TextareaField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
96
98
  [x: string]: any;
97
99
  name: any;
98
100
  isRequired: any;
99
101
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
100
102
  noRedux: any;
101
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
103
+ }): import("react/jsx-runtime").JSX.Element;
102
104
  export function SuggestField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
103
105
  [x: string]: any;
104
106
  name: any;
105
107
  isRequired: any;
106
108
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
107
109
  noRedux: any;
108
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
110
+ }): import("react/jsx-runtime").JSX.Element;
109
111
  export function EditableTextField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
110
112
  [x: string]: any;
111
113
  name: any;
112
114
  isRequired: any;
113
115
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
114
116
  noRedux: any;
115
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
117
+ }): import("react/jsx-runtime").JSX.Element;
116
118
  export function NumericInputField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
117
119
  [x: string]: any;
118
120
  name: any;
119
121
  isRequired: any;
120
122
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
121
123
  noRedux: any;
122
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
124
+ }): import("react/jsx-runtime").JSX.Element;
123
125
  export function RadioGroupField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
124
126
  [x: string]: any;
125
127
  name: any;
126
128
  isRequired: any;
127
129
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
128
130
  noRedux: any;
129
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
131
+ }): import("react/jsx-runtime").JSX.Element;
130
132
  export function ReactSelectField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
131
133
  [x: string]: any;
132
134
  name: any;
133
135
  isRequired: any;
134
136
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
135
137
  noRedux: any;
136
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
138
+ }): import("react/jsx-runtime").JSX.Element;
137
139
  export function SelectField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
138
140
  [x: string]: any;
139
141
  name: any;
140
142
  isRequired: any;
141
143
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
142
144
  noRedux: any;
143
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
145
+ }): import("react/jsx-runtime").JSX.Element;
144
146
  export function ReactColorField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
145
147
  [x: string]: any;
146
148
  name: any;
147
149
  isRequired: any;
148
150
  onFieldSubmit?: ((...args: any[]) => void) | undefined;
149
151
  noRedux: any;
150
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
151
- import { fieldRequired } from "./utils";
152
- import React from '../../../../node_modules/react';
152
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  export default itemUpload;
2
- declare function itemUpload(props: any): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
2
+ declare function itemUpload(props: any): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- export default function HotkeysDialog(props: any): import('../../../../node_modules/react/jsx-runtime').JSX.Element | null;
1
+ export default function HotkeysDialog(props: any): import("react/jsx-runtime").JSX.Element | null;
@@ -15,5 +15,5 @@ declare function _default({ className, content, children, icon, isPopover, isBut
15
15
  disabled: any;
16
16
  displayToSide: any;
17
17
  style: any;
18
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
18
+ }): import("react/jsx-runtime").JSX.Element;
19
19
  export default _default;
@@ -2,4 +2,4 @@ export default function IntentText({ intent, text, children }: {
2
2
  intent: any;
3
3
  text: any;
4
4
  children: any;
5
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
5
+ }): import("react/jsx-runtime").JSX.Element;
package/MatchHeaders.d.ts CHANGED
@@ -13,4 +13,4 @@ export function MatchHeaders({ onMultiFileUploadSubmit, doAllFilesHaveSameHeader
13
13
  setFilesWIssues: any;
14
14
  filesWIssues: any;
15
15
  fileIndex: any;
16
- }): import('../../../node_modules/react/jsx-runtime').JSX.Element;
16
+ }): import("react/jsx-runtime").JSX.Element;