@teselagen/ui 0.4.14 → 0.4.15

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
package/src/index.js CHANGED
@@ -18,11 +18,11 @@ export {
18
18
  } from "./DataTable/utils/withSelectedEntities";
19
19
  export {
20
20
  default as DataTable,
21
- ConnectedPagingTool as PagingTool,
22
- removeCleanRows
21
+ ConnectedPagingTool as PagingTool
23
22
  } from "./DataTable";
23
+ export { removeCleanRows } from "./DataTable/utils";
24
24
 
25
- export { default as getIdOrCodeOrIndex } from "./DataTable/utils/getIdOrCodeOrIndex";
25
+ export { getIdOrCodeOrIndex } from "./DataTable/utils";
26
26
  export { default as convertSchema } from "./DataTable/utils/convertSchema";
27
27
  export { default as Loading } from "./Loading";
28
28
  export { throwFormError } from "./throwFormError";
@@ -1,4 +1,4 @@
1
- import ReactDOM from "react-dom";
1
+ import { createRoot } from "react-dom/client";
2
2
  import React from "react";
3
3
  // import withDialog from "./enhancers/withDialog";
4
4
  import { Dialog } from "@blueprintjs/core";
@@ -19,19 +19,15 @@ export default function showDialogOnDocBody(DialogComp, options = {}) {
19
19
  DialogCompToUse = props => {
20
20
  return (
21
21
  <Dialog usePortal={false} title="pass a {title} prop" isOpen {...props}>
22
- <DialogComp
23
- {...props}
24
- hideModal={onClose}
25
- onClose={onClose}
26
- ></DialogComp>
22
+ <DialogComp {...props} hideModal={onClose} onClose={onClose} />
27
23
  </Dialog>
28
24
  );
29
25
  };
30
26
  } else {
31
27
  DialogCompToUse = DialogComp;
32
28
  }
33
- ReactDOM.render(
34
- <DialogCompToUse hideModal={onClose} onClose={onClose} {...options} />,
35
- dialogHolder
29
+ const root = createRoot(dialogHolder);
30
+ root.render(
31
+ <DialogCompToUse hideModal={onClose} onClose={onClose} {...options} />
36
32
  );
37
33
  }
package/src/useDialog.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import React, { useState } from "react";
2
2
 
3
- /*
3
+ /*
4
4
 
5
5
  const {toggleDialog, comp} = useDialog({
6
6
  ModalComponent: SimpleInsertData,
@@ -31,12 +31,14 @@ export const useDialog = ({ ModalComponent, ...rest }) => {
31
31
  ...rest?.dialogProps,
32
32
  ...additionalProps?.dialogProps
33
33
  }}
34
- ></ModalComponent>
34
+ />
35
35
  );
36
+
36
37
  const toggleDialog = () => {
37
38
  setOpen(!isOpen);
38
39
  };
39
- async function showDialogPromise(handlerName, moreProps = {}) {
40
+
41
+ const showDialogPromise = async (handlerName, moreProps = {}) => {
40
42
  return new Promise(resolve => {
41
43
  //return a promise that can be awaited
42
44
  setAdditionalProps({
@@ -59,6 +61,7 @@ export const useDialog = ({ ModalComponent, ...rest }) => {
59
61
  });
60
62
  setOpen(true); //open the dialog
61
63
  });
62
- }
64
+ };
65
+
63
66
  return { comp, showDialogPromise, toggleDialog, setAdditionalProps };
64
67
  };
@@ -1,29 +1,32 @@
1
- import ReactDOM from "react-dom";
1
+ import { createRoot } from "react-dom/client";
2
2
 
3
3
  export function renderOnDoc(fn) {
4
4
  const elemDiv = document.createElement("div");
5
5
  elemDiv.style.cssText =
6
6
  "position:absolute;width:100%;height:100%;top:0px;opacity:0.3;z-index:0;";
7
7
  document.body.appendChild(elemDiv);
8
+ const root = createRoot(elemDiv);
8
9
  const handleClose = () => {
9
10
  setTimeout(() => {
10
- ReactDOM.unmountComponentAtNode(elemDiv);
11
+ root.unmount(elemDiv);
11
12
  document.body.removeChild(elemDiv);
12
13
  });
13
14
  };
14
- return ReactDOM.render(fn(handleClose), elemDiv);
15
+ root.render(fn(handleClose));
15
16
  }
17
+
16
18
  export function renderOnDocSimple(el) {
17
19
  const elemDiv = document.createElement("div");
18
20
  elemDiv.style.cssText =
19
21
  "position:absolute;width:100%;height:100%;top:0px;opacity:1;z-index:10000;";
20
22
  document.body.appendChild(elemDiv);
23
+ const root = createRoot(elemDiv);
24
+ root.render(el);
21
25
  const handleClose = () => {
22
26
  setTimeout(() => {
23
- ReactDOM.unmountComponentAtNode(elemDiv);
27
+ root.unmount();
24
28
  document.body.removeChild(elemDiv);
25
29
  });
26
30
  };
27
- ReactDOM.render(el, elemDiv);
28
31
  return handleClose;
29
32
  }
package/style.css CHANGED
@@ -9082,6 +9082,13 @@ button:not(:disabled):active {
9082
9082
  .rg-celleditor input {
9083
9083
  border: none;
9084
9084
  }
9085
+ .bp3-popover.tg-info-helper-popover .bp3-popover-content {
9086
+ max-width: 340px;
9087
+ }
9088
+
9089
+ .info-helper-clickable .bp3-popover-target {
9090
+ cursor: pointer;
9091
+ }
9085
9092
  .tg-select {
9086
9093
  width: 100%;
9087
9094
  min-width: 170px;
@@ -9143,13 +9150,6 @@ button:not(:disabled):active {
9143
9150
  max-height: 300px;
9144
9151
  overflow: auto;
9145
9152
  }
9146
- .bp3-popover.tg-info-helper-popover .bp3-popover-content {
9147
- max-width: 340px;
9148
- }
9149
-
9150
- .info-helper-clickable .bp3-popover-target {
9151
- cursor: pointer;
9152
- }
9153
9153
  .ReactTable{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid rgba(0,0,0,0.1);}.ReactTable *{box-sizing:border-box}.ReactTable .rt-table{-ms-flex:auto 1;flex:auto 1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;width:100%;border-collapse:collapse;overflow:auto}.ReactTable .rt-thead{-ms-flex:1 0 auto;flex:1 0 auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}.ReactTable .rt-thead.-headerGroups{background:rgba(0,0,0,0.03);border-bottom:1px solid rgba(0,0,0,0.05)}.ReactTable .rt-thead.-filters{border-bottom:1px solid rgba(0,0,0,0.05);}.ReactTable .rt-thead.-filters input,.ReactTable .rt-thead.-filters select{border:1px solid rgba(0,0,0,0.1);background:#fff;padding:5px 7px;font-size:inherit;border-radius:3px;font-weight:normal;outline-width:0}.ReactTable .rt-thead.-filters .rt-th{border-right:1px solid rgba(0,0,0,0.02)}.ReactTable .rt-thead.-header{box-shadow:0 2px 15px 0 rgba(0,0,0,0.15)}.ReactTable .rt-thead .rt-tr{text-align:center}.ReactTable .rt-thead .rt-th,.ReactTable .rt-thead .rt-td{padding:5px 5px;line-height:normal;position:relative;border-right:1px solid rgba(0,0,0,0.05);transition:box-shadow .3s cubic-bezier(.175,.885,.32,1.275);box-shadow:inset 0 0 0 0 transparent;}.ReactTable .rt-thead .rt-th.-sort-asc,.ReactTable .rt-thead .rt-td.-sort-asc{box-shadow:inset 0 3px 0 0 rgba(0,0,0,0.6)}.ReactTable .rt-thead .rt-th.-sort-desc,.ReactTable .rt-thead .rt-td.-sort-desc{box-shadow:inset 0 -3px 0 0 rgba(0,0,0,0.6)}.ReactTable .rt-thead .rt-th.-cursor-pointer,.ReactTable .rt-thead .rt-td.-cursor-pointer{cursor:pointer}.ReactTable .rt-thead .rt-th:last-child,.ReactTable .rt-thead .rt-td:last-child{border-right:0}.ReactTable .rt-thead .rt-th:focus{outline-width:0}.ReactTable .rt-thead .rt-resizable-header{overflow:visible;}.ReactTable .rt-thead .rt-resizable-header:last-child{overflow:hidden}.ReactTable .rt-thead .rt-resizable-header-content{overflow:hidden;text-overflow:ellipsis}.ReactTable .rt-thead .rt-header-pivot{border-right-color:#f7f7f7}.ReactTable .rt-thead .rt-header-pivot:after,.ReactTable .rt-thead .rt-header-pivot:before{left:100%;top:50%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.ReactTable .rt-thead .rt-header-pivot:after{border-color:rgba(255,255,255,0);border-left-color:#fff;border-width:8px;margin-top:-8px}.ReactTable .rt-thead .rt-header-pivot:before{border-color:rgba(102,102,102,0);border-left-color:#f7f7f7;border-width:10px;margin-top:-10px}.ReactTable .rt-tbody{-ms-flex:99999 1 auto;flex:99999 1 auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:auto;}.ReactTable .rt-tbody .rt-tr-group{border-bottom:solid 1px rgba(0,0,0,0.05);}.ReactTable .rt-tbody .rt-tr-group:last-child{border-bottom:0}.ReactTable .rt-tbody .rt-td{border-right:1px solid rgba(0,0,0,0.02);}.ReactTable .rt-tbody .rt-td:last-child{border-right:0}.ReactTable .rt-tbody .rt-expandable{cursor:pointer;text-overflow:clip}.ReactTable .rt-tr-group{-ms-flex:1 0 auto;flex:1 0 auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.ReactTable .rt-tr{-ms-flex:1 0 auto;flex:1 0 auto;display:-ms-inline-flexbox;display:inline-flex}.ReactTable .rt-th,.ReactTable .rt-td{-ms-flex:1 0 0px;flex:1 0 0;white-space:nowrap;text-overflow:ellipsis;padding:7px 5px;overflow:hidden;transition:.3s ease;transition-property:width,min-width,padding,opacity;}.ReactTable .rt-th.-hidden,.ReactTable .rt-td.-hidden{width:0 !important;min-width:0 !important;padding:0 !important;border:0 !important;opacity:0 !important}.ReactTable .rt-expander{display:inline-block;position:relative;margin:0;color:transparent;margin:0 10px;}.ReactTable .rt-expander:after{content:'';position:absolute;width:0;height:0;top:50%;left:50%;transform:translate(-50%,-50%) rotate(-90deg);border-left:5.04px solid transparent;border-right:5.04px solid transparent;border-top:7px solid rgba(0,0,0,0.8);transition:all .3s cubic-bezier(.175,.885,.32,1.275);cursor:pointer}.ReactTable .rt-expander.-open:after{transform:translate(-50%,-50%) rotate(0)}.ReactTable .rt-resizer{display:inline-block;position:absolute;width:36px;top:0;bottom:0;right:-18px;cursor:col-resize;z-index:10}.ReactTable .rt-tfoot{-ms-flex:1 0 auto;flex:1 0 auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;box-shadow:0 0 15px 0 rgba(0,0,0,0.15);}.ReactTable .rt-tfoot .rt-td{border-right:1px solid rgba(0,0,0,0.05);}.ReactTable .rt-tfoot .rt-td:last-child{border-right:0}.ReactTable.-striped .rt-tr.-odd{background:rgba(0,0,0,0.03)}.ReactTable.-highlight .rt-tbody .rt-tr:not(.-padRow):hover{background:rgba(0,0,0,0.05)}.ReactTable .-pagination{z-index:1;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:stretch;align-items:stretch;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:3px;box-shadow:0 0 15px 0 rgba(0,0,0,0.1);border-top:2px solid rgba(0,0,0,0.1);}.ReactTable .-pagination input,.ReactTable .-pagination select{border:1px solid rgba(0,0,0,0.1);background:#fff;padding:5px 7px;font-size:inherit;border-radius:3px;font-weight:normal;outline-width:0}.ReactTable .-pagination .-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:block;width:100%;height:100%;border:0;border-radius:3px;padding:6px;font-size:1em;color:rgba(0,0,0,0.6);background:rgba(0,0,0,0.1);transition:all .1s ease;cursor:pointer;outline-width:0;}.ReactTable .-pagination .-btn[disabled]{opacity:.5;cursor:default}.ReactTable .-pagination .-btn:not([disabled]):hover{background:rgba(0,0,0,0.3);color:#fff}.ReactTable .-pagination .-previous,.ReactTable .-pagination .-next{-ms-flex:1;flex:1;text-align:center}.ReactTable .-pagination .-center{-ms-flex:1.5;flex:1.5;text-align:center;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:distribute;justify-content:space-around}.ReactTable .-pagination .-pageInfo{display:inline-block;margin:3px 10px;white-space:nowrap}.ReactTable .-pagination .-pageJump{display:inline-block;}.ReactTable .-pagination .-pageJump input{width:70px;text-align:center}.ReactTable .-pagination .-pageSizeOptions{margin:3px 10px}.ReactTable .rt-noData{display:block;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:rgba(255,255,255,0.8);transition:all .3s ease;z-index:1;pointer-events:none;padding:20px;color:rgba(0,0,0,0.5)}.ReactTable .-loading{display:block;position:absolute;left:0;right:0;top:0;bottom:0;background:rgba(255,255,255,0.8);transition:all .3s ease;z-index:-1;opacity:0;pointer-events:none;}.ReactTable .-loading > div{position:absolute;display:block;text-align:center;width:100%;top:50%;left:0;font-size:15px;color:rgba(0,0,0,0.6);transform:translateY(-52%);transition:all .3s cubic-bezier(.25,.46,.45,.94)}.ReactTable .-loading.-active{opacity:1;z-index:2;pointer-events:all;}.ReactTable .-loading.-active > div{transform:translateY(50%)}.ReactTable .rt-resizing .rt-th,.ReactTable .rt-resizing .rt-td{transition:none !important;cursor:col-resize;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}/* DataTable style.css */
9154
9154
  .custom-menu-item {
9155
9155
  text-overflow: ellipsis;
package/useDialog.d.ts CHANGED
@@ -1,10 +1,10 @@
1
+ import { default as React } from '../../../node_modules/react';
1
2
  export function useDialog({ ModalComponent, ...rest }: {
2
3
  [x: string]: any;
3
4
  ModalComponent: any;
4
5
  }): {
5
- comp: import('../../../node_modules/react/jsx-runtime').JSX.Element;
6
+ comp: import("react/jsx-runtime").JSX.Element;
6
7
  showDialogPromise: (handlerName: any, moreProps?: {}) => Promise<any>;
7
8
  toggleDialog: () => void;
8
9
  setAdditionalProps: React.Dispatch<React.SetStateAction<boolean>>;
9
10
  };
10
- import React from '../../../node_modules/react';
package/utils/adHoc.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare function _default(func: any): (WrappedComponent: any) => (props: any) => import('../../../../node_modules/react/jsx-runtime').JSX.Element;
1
+ declare function _default(func: any): (WrappedComponent: any) => (props: any) => import("react/jsx-runtime").JSX.Element;
2
2
  export default _default;
@@ -2,24 +2,24 @@ export function withCommand(mappings: any): (WrappedComponent: any) => ({ cmd, c
2
2
  [x: string]: any;
3
3
  cmd: any;
4
4
  cmdOptions?: {} | undefined;
5
- }) => import('../../../../node_modules/react/jsx-runtime').JSX.Element | null;
5
+ }) => import("react/jsx-runtime").JSX.Element | null;
6
6
  export function CmdCheckbox({ cmd, cmdOptions, ...props }: {
7
7
  [x: string]: any;
8
8
  cmd: any;
9
9
  cmdOptions?: {} | undefined;
10
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element | null;
10
+ }): import("react/jsx-runtime").JSX.Element | null;
11
11
  export function CmdSwitch({ cmd, cmdOptions, ...props }: {
12
12
  [x: string]: any;
13
13
  cmd: any;
14
14
  cmdOptions?: {} | undefined;
15
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element | null;
15
+ }): import("react/jsx-runtime").JSX.Element | null;
16
16
  export function CmdDiv({ cmd, cmdOptions, ...props }: {
17
17
  [x: string]: any;
18
18
  cmd: any;
19
19
  cmdOptions?: {} | undefined;
20
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element | null;
20
+ }): import("react/jsx-runtime").JSX.Element | null;
21
21
  export function CmdButton({ cmd, cmdOptions, ...props }: {
22
22
  [x: string]: any;
23
23
  cmd: any;
24
24
  cmdOptions?: {} | undefined;
25
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element | null;
25
+ }): import("react/jsx-runtime").JSX.Element | null;
@@ -3,4 +3,4 @@ export function hotkeysById(hotkeys: any, mode?: string): (id: any) => any;
3
3
  export function getHotkeyProps(def: any, id: any): any;
4
4
  export function withHotkeys(hotkeys: any, handlers: any): ({ children }?: {
5
5
  children: any;
6
- }) => import('../../../../node_modules/react/jsx-runtime').JSX.Element;
6
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1,10 +1,11 @@
1
+ import { Menu } from '../../../../node_modules/@blueprintjs/core';
1
2
  export function MenuItemLink({ text, onClick, icon, navTo, active }: {
2
3
  text: any;
3
4
  onClick: any;
4
5
  icon: any;
5
6
  navTo: any;
6
7
  active: any;
7
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
8
+ }): import("react/jsx-runtime").JSX.Element;
8
9
  export function showCommandContextMenu(menuDef: any, commands: any, config: any, event: any, onClose: any, context: any): void;
9
10
  export function showContextMenu(menuDef: any, enhancers: any, event: any, onClose: any, context: any, menuComp?: typeof Menu): void;
10
11
  export function getStringFromReactComponent(comp: any): any;
@@ -17,14 +18,13 @@ export function DynamicMenuItem({ def, enhancers, context, doNotEnhanceTopLevelI
17
18
  enhancers?: ((x: any) => any)[] | undefined;
18
19
  context: any;
19
20
  doNotEnhanceTopLevelItem: any;
20
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element | null;
21
- export function createDynamicMenu(menuDef: any, enhancers: any, context: any): import('../../../../node_modules/react/jsx-runtime').JSX.Element | import('../../../../node_modules/react/jsx-runtime').JSX.Element[];
21
+ }): import("react/jsx-runtime").JSX.Element | null;
22
+ export function createDynamicMenu(menuDef: any, enhancers: any, context: any): import("react/jsx-runtime").JSX.Element | import("react/jsx-runtime").JSX.Element[];
22
23
  export function createDynamicBarMenu(topMenuDef: any, enhancers: any, context: any): any;
23
- export function createCommandMenu(menuDef: any, commands: any, config: any, context: any): import('../../../../node_modules/react/jsx-runtime').JSX.Element | import('../../../../node_modules/react/jsx-runtime').JSX.Element[];
24
+ export function createCommandMenu(menuDef: any, commands: any, config: any, context: any): import("react/jsx-runtime").JSX.Element | import("react/jsx-runtime").JSX.Element[];
24
25
  export function createCommandBarMenu(menuDef: any, commands: any, config: any, context: any): any;
25
- export function createMenu(menuDef: any, enhancers: any, context: any): import('../../../../node_modules/react/jsx-runtime').JSX.Element | import('../../../../node_modules/react/jsx-runtime').JSX.Element[];
26
+ export function createMenu(menuDef: any, enhancers: any, context: any): import("react/jsx-runtime").JSX.Element | import("react/jsx-runtime").JSX.Element[];
26
27
  export function MenuItemWithTooltip({ tooltip, ...rest }: {
27
28
  [x: string]: any;
28
29
  tooltip: any;
29
- }): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
30
- import { Menu } from '../../../../node_modules/@blueprintjs/core';
30
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- export function renderOnDoc(fn: any): Element;
1
+ export function renderOnDoc(fn: any): void;
2
2
  export function renderOnDocSimple(el: any): () => void;
@@ -1,5 +1,5 @@
1
1
  export function getTagsAndTagOptions(allTags: any): any[];
2
- export function getKeyedTagsAndTagOptions(tags: any): import("lodash").Dictionary<any>;
2
+ export function getKeyedTagsAndTagOptions(tags: any): import('lodash').Dictionary<any>;
3
3
  export function getTagColorStyle(color: any): {
4
4
  style: {
5
5
  backgroundColor: any;
@@ -1,3 +1,3 @@
1
1
  export default tgFormValues;
2
2
  export function tgFormValueSelector(formName: any, ...fields: any[]): import('../../../../node_modules/react-redux').InferableComponentEnhancerWithProps<any, {}>;
3
- declare function tgFormValues(...fieldNames: any[]): (Component: any) => (props: any) => import('../../../../node_modules/react/jsx-runtime').JSX.Element;
3
+ declare function tgFormValues(...fieldNames: any[]): (Component: any) => (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  export default withStore;
2
- declare function withStore(Component: any): (props: any) => import('../../../../node_modules/react/jsx-runtime').JSX.Element;
2
+ declare function withStore(Component: any): (props: any) => import("react/jsx-runtime").JSX.Element;
package/wrapDialog.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare function _default(topLevelDialogProps?: {}): (Component: any) => (props: any) => import('../../../node_modules/react/jsx-runtime').JSX.Element;
1
+ declare function _default(topLevelDialogProps?: {}): (Component: any) => (props: any) => import("react/jsx-runtime").JSX.Element;
2
2
  export default _default;