uiconfig-blueprint 0.0.3 → 0.1.0-dev.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 (260) hide show
  1. package/README.md +41 -3
  2. package/dist/ConfigObject.d.ts +7 -4
  3. package/dist/UiConfigRendererBlueprint.d.ts +6 -4
  4. package/dist/allPaths-Dhco1c7a.js +23 -0
  5. package/dist/{allPaths-3YKfhB8Q.js.map → allPaths-Dhco1c7a.js.map} +1 -1
  6. package/dist/{allPathsLoader-lWFPuUtu.js → allPathsLoader-BNvrKJa2.js} +5 -5
  7. package/dist/{allPathsLoader-lWFPuUtu.js.map → allPathsLoader-BNvrKJa2.js.map} +1 -1
  8. package/dist/bpComponents/BPButtonComponent.d.ts +2 -1
  9. package/dist/bpComponents/BPColorInputComponent.d.ts +2 -2
  10. package/dist/bpComponents/BPComponent.d.ts +10 -4
  11. package/dist/bpComponents/BPContainerComponent.d.ts +1 -1
  12. package/dist/bpComponents/BPDropdownInputComponent.d.ts +1 -2
  13. package/dist/bpComponents/BPFileComponent.d.ts +9 -7
  14. package/dist/bpComponents/BPFolderComponent.d.ts +10 -2
  15. package/dist/bpComponents/BPInputComponent.d.ts +4 -3
  16. package/dist/bpComponents/BPNumberInputComponent.d.ts +4 -3
  17. package/dist/bpComponents/BPPanelComponent.d.ts +1 -2
  18. package/dist/bpComponents/BPSliderInputComponent.d.ts +2 -2
  19. package/dist/bpComponents/BPTextInputComponent.d.ts +1 -2
  20. package/dist/bpComponents/BPToggleInputComponent.d.ts +2 -3
  21. package/dist/bpComponents/BPTreeComponent.d.ts +26 -12
  22. package/dist/bpComponents/BPTreeFolderComponent.d.ts +2 -2
  23. package/dist/bpComponents/BPValueComponent.d.ts +4 -1
  24. package/dist/bpComponents/BPVectorInputComponent.d.ts +2 -2
  25. package/dist/bpComponents/GetNumberTransformFunctions.d.ts +4 -0
  26. package/dist/bpComponents/NumberUnits.d.ts +7 -0
  27. package/dist/components/AppToaster.d.ts +6 -0
  28. package/dist/components/ConfigurationPanelComponent.d.ts +4 -0
  29. package/dist/components/DialogContext.d.ts +60 -0
  30. package/dist/components/DraggableIcon.d.ts +2 -1
  31. package/dist/components/ExtendedNumericInput.d.ts +14 -4
  32. package/dist/components/FileComponent.d.ts +3 -1
  33. package/dist/components/FormGroupComponent.d.ts +2 -2
  34. package/dist/components/InspectorStackComponent.d.ts +3 -3
  35. package/dist/components/NumericInput.d.ts +79 -0
  36. package/dist/components/Tree2.d.ts +52 -0
  37. package/dist/components/TreeNode2.d.ts +43 -0
  38. package/dist/components/VisualStyleContext.d.ts +10 -1
  39. package/dist/components/axesIcons.d.ts +7 -0
  40. package/dist/components/bpIconWrapper.d.ts +2 -2
  41. package/dist/components/iconMapping.d.ts +198 -0
  42. package/dist/components/loadingState.d.ts +8 -0
  43. package/dist/components/shapesIcons.d.ts +100 -0
  44. package/dist/components/treeTypes.d.ts +18 -0
  45. package/dist/components/variableIcons.d.ts +40 -41
  46. package/dist/index-B1k4Miq7.js +671 -0
  47. package/dist/index-B1k4Miq7.js.map +1 -0
  48. package/dist/index-BvGAMcRo.js +671 -0
  49. package/dist/index-BvGAMcRo.js.map +1 -0
  50. package/dist/index-GANXo7JZ.js +13560 -0
  51. package/dist/index-GANXo7JZ.js.map +1 -0
  52. package/dist/index.js +71 -36
  53. package/dist/index.js.map +1 -1
  54. package/dist/index.mjs +3 -3
  55. package/dist/lib.d.ts +36 -0
  56. package/dist/{splitPathsBySizeLoader-97pYQiA7.js → splitPathsBySizeLoader-DGIXBgyZ.js} +6 -6
  57. package/dist/{splitPathsBySizeLoader-97pYQiA7.js.map → splitPathsBySizeLoader-DGIXBgyZ.js.map} +1 -1
  58. package/docs/assets/highlight.css +45 -17
  59. package/docs/assets/main.js +4 -3
  60. package/docs/assets/navigation.js +1 -0
  61. package/docs/assets/search.js +1 -1
  62. package/docs/assets/style.css +484 -369
  63. package/docs/classes/UI.html +27 -403
  64. package/docs/classes/UiConfigRendererBlueprint.html +27 -404
  65. package/docs/index.html +41 -107
  66. package/docs/modules.html +3 -50
  67. package/lib/css/renderer.css +13276 -0
  68. package/lib/css/renderer.css.map +1 -0
  69. package/lib/esm/ConfigObject.d.ts +19 -0
  70. package/lib/esm/ConfigObject.js +84 -0
  71. package/lib/esm/ConfigObject.js.map +1 -0
  72. package/lib/esm/UiConfigRendererBlueprint.d.ts +15 -0
  73. package/lib/esm/UiConfigRendererBlueprint.js +65 -0
  74. package/lib/esm/UiConfigRendererBlueprint.js.map +1 -0
  75. package/lib/esm/bpComponents/BPButtonComponent.d.ts +9 -0
  76. package/lib/esm/bpComponents/BPButtonComponent.js +17 -0
  77. package/lib/esm/bpComponents/BPButtonComponent.js.map +1 -0
  78. package/lib/esm/bpComponents/BPColorInputComponent.d.ts +25 -0
  79. package/lib/esm/bpComponents/BPColorInputComponent.js +125 -0
  80. package/lib/esm/bpComponents/BPColorInputComponent.js.map +1 -0
  81. package/lib/esm/bpComponents/BPComponent.d.ts +31 -0
  82. package/lib/esm/bpComponents/BPComponent.js +68 -0
  83. package/lib/esm/bpComponents/BPComponent.js.map +1 -0
  84. package/lib/esm/bpComponents/BPContainerComponent.d.ts +21 -0
  85. package/lib/esm/bpComponents/BPContainerComponent.js +60 -0
  86. package/lib/esm/bpComponents/BPContainerComponent.js.map +1 -0
  87. package/lib/esm/bpComponents/BPDropdownInputComponent.d.ts +15 -0
  88. package/lib/esm/bpComponents/BPDropdownInputComponent.js +43 -0
  89. package/lib/esm/bpComponents/BPDropdownInputComponent.js.map +1 -0
  90. package/lib/esm/bpComponents/BPFileComponent.d.ts +28 -0
  91. package/lib/esm/bpComponents/BPFileComponent.js +59 -0
  92. package/lib/esm/bpComponents/BPFileComponent.js.map +1 -0
  93. package/lib/esm/bpComponents/BPFolderComponent.d.ts +24 -0
  94. package/lib/esm/bpComponents/BPFolderComponent.js +77 -0
  95. package/lib/esm/bpComponents/BPFolderComponent.js.map +1 -0
  96. package/lib/esm/bpComponents/BPInputComponent.d.ts +12 -0
  97. package/lib/esm/bpComponents/BPInputComponent.js +31 -0
  98. package/lib/esm/bpComponents/BPInputComponent.js.map +1 -0
  99. package/lib/esm/bpComponents/BPLabelledComponent.d.ts +8 -0
  100. package/lib/esm/bpComponents/BPLabelledComponent.js +10 -0
  101. package/lib/esm/bpComponents/BPLabelledComponent.js.map +1 -0
  102. package/lib/esm/bpComponents/BPNumberInputComponent.d.ts +12 -0
  103. package/lib/esm/bpComponents/BPNumberInputComponent.js +41 -0
  104. package/lib/esm/bpComponents/BPNumberInputComponent.js.map +1 -0
  105. package/lib/esm/bpComponents/BPPanelComponent.d.ts +16 -0
  106. package/lib/esm/bpComponents/BPPanelComponent.js +31 -0
  107. package/lib/esm/bpComponents/BPPanelComponent.js.map +1 -0
  108. package/lib/esm/bpComponents/BPSliderInputComponent.d.ts +15 -0
  109. package/lib/esm/bpComponents/BPSliderInputComponent.js +49 -0
  110. package/lib/esm/bpComponents/BPSliderInputComponent.js.map +1 -0
  111. package/lib/esm/bpComponents/BPTextInputComponent.d.ts +7 -0
  112. package/lib/esm/bpComponents/BPTextInputComponent.js +15 -0
  113. package/lib/esm/bpComponents/BPTextInputComponent.js.map +1 -0
  114. package/lib/esm/bpComponents/BPToggleInputComponent.d.ts +8 -0
  115. package/lib/esm/bpComponents/BPToggleInputComponent.js +19 -0
  116. package/lib/esm/bpComponents/BPToggleInputComponent.js.map +1 -0
  117. package/lib/esm/bpComponents/BPTreeComponent.d.ts +46 -0
  118. package/lib/esm/bpComponents/BPTreeComponent.js +221 -0
  119. package/lib/esm/bpComponents/BPTreeComponent.js.map +1 -0
  120. package/lib/esm/bpComponents/BPTreeFolderComponent.d.ts +10 -0
  121. package/lib/esm/bpComponents/BPTreeFolderComponent.js +37 -0
  122. package/lib/esm/bpComponents/BPTreeFolderComponent.js.map +1 -0
  123. package/lib/esm/bpComponents/BPValueComponent.d.ts +19 -0
  124. package/lib/esm/bpComponents/BPValueComponent.js +58 -0
  125. package/lib/esm/bpComponents/BPValueComponent.js.map +1 -0
  126. package/lib/esm/bpComponents/BPVectorInputComponent.d.ts +20 -0
  127. package/lib/esm/bpComponents/BPVectorInputComponent.js +112 -0
  128. package/lib/esm/bpComponents/BPVectorInputComponent.js.map +1 -0
  129. package/lib/esm/bpComponents/GetNumberTransformFunctions.d.ts +4 -0
  130. package/lib/esm/bpComponents/GetNumberTransformFunctions.js +14 -0
  131. package/lib/esm/bpComponents/GetNumberTransformFunctions.js.map +1 -0
  132. package/lib/esm/bpComponents/NumberUnits.d.ts +7 -0
  133. package/lib/esm/bpComponents/NumberUnits.js +101 -0
  134. package/lib/esm/bpComponents/NumberUnits.js.map +1 -0
  135. package/lib/esm/components/AppToaster.d.ts +6 -0
  136. package/lib/esm/components/AppToaster.js +8 -0
  137. package/lib/esm/components/AppToaster.js.map +1 -0
  138. package/lib/esm/components/ConfigurationPanelComponent.d.ts +4 -0
  139. package/lib/esm/components/ConfigurationPanelComponent.js +31 -0
  140. package/lib/esm/components/ConfigurationPanelComponent.js.map +1 -0
  141. package/lib/esm/components/DialogContext.d.ts +60 -0
  142. package/lib/esm/components/DialogContext.js +108 -0
  143. package/lib/esm/components/DialogContext.js.map +1 -0
  144. package/lib/esm/components/DraggableIcon.d.ts +20 -0
  145. package/lib/esm/components/DraggableIcon.js +69 -0
  146. package/lib/esm/components/DraggableIcon.js.map +1 -0
  147. package/lib/esm/components/ExtendedNumericInput.d.ts +35 -0
  148. package/lib/esm/components/ExtendedNumericInput.js +215 -0
  149. package/lib/esm/components/ExtendedNumericInput.js.map +1 -0
  150. package/lib/esm/components/FileComponent.d.ts +9 -0
  151. package/lib/esm/components/FileComponent.js +45 -0
  152. package/lib/esm/components/FileComponent.js.map +1 -0
  153. package/lib/esm/components/FormGroupComponent.d.ts +6 -0
  154. package/lib/esm/components/FormGroupComponent.js +12 -0
  155. package/lib/esm/components/FormGroupComponent.js.map +1 -0
  156. package/lib/esm/components/InspectorStackComponent.d.ts +5 -0
  157. package/lib/esm/components/InspectorStackComponent.js +23 -0
  158. package/lib/esm/components/InspectorStackComponent.js.map +1 -0
  159. package/lib/esm/components/NumericInput.d.ts +79 -0
  160. package/lib/esm/components/NumericInput.js +311 -0
  161. package/lib/esm/components/NumericInput.js.map +1 -0
  162. package/lib/esm/components/Tree2.d.ts +52 -0
  163. package/lib/esm/components/Tree2.js +177 -0
  164. package/lib/esm/components/Tree2.js.map +1 -0
  165. package/lib/esm/components/TreeNode2.d.ts +43 -0
  166. package/lib/esm/components/TreeNode2.js +111 -0
  167. package/lib/esm/components/TreeNode2.js.map +1 -0
  168. package/lib/esm/components/VisualStyleContext.d.ts +119 -0
  169. package/lib/esm/components/VisualStyleContext.js +59 -0
  170. package/lib/esm/components/VisualStyleContext.js.map +1 -0
  171. package/lib/esm/components/axesIcons.d.ts +7 -0
  172. package/lib/esm/components/axesIcons.js +10 -0
  173. package/lib/esm/components/axesIcons.js.map +1 -0
  174. package/lib/esm/components/bpIconWrapper.d.ts +2 -0
  175. package/lib/esm/components/bpIconWrapper.js +5 -0
  176. package/lib/esm/components/bpIconWrapper.js.map +1 -0
  177. package/lib/esm/components/iconMapping.d.ts +198 -0
  178. package/lib/esm/components/iconMapping.js +202 -0
  179. package/lib/esm/components/iconMapping.js.map +1 -0
  180. package/lib/esm/components/loadingState.d.ts +8 -0
  181. package/lib/esm/components/loadingState.js +31 -0
  182. package/lib/esm/components/loadingState.js.map +1 -0
  183. package/lib/esm/components/shapesIcons.d.ts +100 -0
  184. package/lib/esm/components/shapesIcons.js +102 -0
  185. package/lib/esm/components/shapesIcons.js.map +1 -0
  186. package/lib/esm/components/treeTypes.d.ts +18 -0
  187. package/lib/esm/components/treeTypes.js +2 -0
  188. package/lib/esm/components/treeTypes.js.map +1 -0
  189. package/lib/esm/components/variableIcons.d.ts +40 -0
  190. package/lib/esm/components/variableIcons.js +43 -0
  191. package/lib/esm/components/variableIcons.js.map +1 -0
  192. package/lib/esm/contexts.d.ts +1 -0
  193. package/lib/esm/contexts.js +2 -0
  194. package/lib/esm/contexts.js.map +1 -0
  195. package/lib/esm/index.d.ts +4 -0
  196. package/lib/esm/index.js +5 -0
  197. package/lib/esm/index.js.map +1 -0
  198. package/lib/esm/lib.d.ts +36 -0
  199. package/lib/esm/lib.js +37 -0
  200. package/lib/esm/lib.js.map +1 -0
  201. package/lib/esm/renderer.css.js +1 -0
  202. package/lib/esm/threejs.d.ts +2 -0
  203. package/lib/esm/threejs.js +2 -0
  204. package/lib/esm/threejs.js.map +1 -0
  205. package/package.json +64 -11
  206. package/src/ConfigObject.tsx +29 -15
  207. package/src/UiConfigRendererBlueprint.tsx +33 -35
  208. package/src/bpComponents/BPButtonComponent.scss +6 -1
  209. package/src/bpComponents/BPButtonComponent.tsx +9 -2
  210. package/src/bpComponents/BPColorInputComponent.tsx +9 -3
  211. package/src/bpComponents/BPComponent.tsx +26 -7
  212. package/src/bpComponents/BPContainerComponent.tsx +13 -1
  213. package/src/bpComponents/BPDropdownInputComponent.tsx +8 -3
  214. package/src/bpComponents/BPFileComponent.tsx +56 -29
  215. package/src/bpComponents/BPFolderComponent.scss +22 -8
  216. package/src/bpComponents/BPFolderComponent.tsx +105 -16
  217. package/src/bpComponents/BPInputComponent.tsx +7 -3
  218. package/src/bpComponents/BPNumberInputComponent.tsx +14 -2
  219. package/src/bpComponents/BPPanelComponent.tsx +1 -2
  220. package/src/bpComponents/BPSliderInputComponent.tsx +40 -21
  221. package/src/bpComponents/BPTextInputComponent.tsx +2 -1
  222. package/src/bpComponents/BPToggleInputComponent.tsx +7 -4
  223. package/src/bpComponents/BPTreeComponent.tsx +153 -36
  224. package/src/bpComponents/BPTreeFolderComponent.tsx +5 -5
  225. package/src/bpComponents/BPValueComponent.tsx +31 -4
  226. package/src/bpComponents/BPVectorInputComponent.tsx +23 -20
  227. package/src/bpComponents/GetNumberTransformFunctions.tsx +14 -0
  228. package/src/bpComponents/NumberUnits.tsx +123 -0
  229. package/src/components/AppToaster.tsx +38 -0
  230. package/src/components/ConfigurationPanelComponent.tsx +74 -0
  231. package/src/components/DialogContext.tsx +210 -0
  232. package/src/components/DraggableIcon.tsx +7 -5
  233. package/src/components/ExtendedNumericInput.tsx +70 -18
  234. package/src/components/FileComponent.tsx +48 -25
  235. package/src/components/FormGroupComponent.tsx +1 -1
  236. package/src/components/InspectorStackComponent.tsx +4 -34
  237. package/src/components/NumericInput.tsx +679 -0
  238. package/src/components/Tree2.tsx +344 -0
  239. package/src/components/TreeNode2.tsx +192 -0
  240. package/src/components/VisualStyleContext.tsx +41 -1
  241. package/src/components/axesIcons.tsx +116 -0
  242. package/src/components/bpIconWrapper.tsx +5 -4
  243. package/src/components/common.scss +23 -0
  244. package/src/components/iconMapping.ts +354 -0
  245. package/src/components/loadingState.tsx +20 -0
  246. package/src/components/shapesIcons.tsx +980 -0
  247. package/src/components/tree2.scss +69 -0
  248. package/src/components/treeTypes.ts +97 -0
  249. package/src/components/variableIcons.tsx +0 -1
  250. package/src/lib.ts +36 -0
  251. package/src/renderer.scss +136 -65
  252. package/src/tsconfig.json +6 -0
  253. package/tsconfig.json +2 -1
  254. package/dist/allPaths-3YKfhB8Q.js +0 -23
  255. package/dist/index-RJDPvlPL.js +0 -604
  256. package/dist/index-RJDPvlPL.js.map +0 -1
  257. package/dist/index-sUDdkVfJ.js +0 -604
  258. package/dist/index-sUDdkVfJ.js.map +0 -1
  259. package/dist/index-zXngzS2o.js +0 -12752
  260. package/dist/index-zXngzS2o.js.map +0 -1
@@ -6,6 +6,7 @@ export declare class DraggableIcon extends React.Component<{
6
6
  value: number;
7
7
  stepSize?: number;
8
8
  small?: boolean;
9
+ disabled?: boolean;
9
10
  onChange: (v: number, last?: boolean) => void;
10
11
  }> {
11
12
  private cursor;
@@ -15,5 +16,5 @@ export declare class DraggableIcon extends React.Component<{
15
16
  private removeEvents;
16
17
  private mouseUpEvent;
17
18
  private mouseMoveEvent;
18
- render(): React.JSX.Element;
19
+ render(): import("react/jsx-runtime").JSX.Element;
19
20
  }
@@ -3,12 +3,21 @@ import type { HTMLInputProps, NumericInputProps } from "@blueprintjs/core";
3
3
  export interface IExtendedNumericInputState {
4
4
  value?: string;
5
5
  }
6
- export declare class ExtendedNumericInput extends React.PureComponent<HTMLInputProps & NumericInputProps & {
7
- onChange2: (v: number, last?: boolean) => void;
8
- }, IExtendedNumericInputState> {
6
+ type Props = HTMLInputProps & NumericInputProps & {
7
+ onChange2?: (v: number, last?: boolean) => void;
8
+ transformValue?: (v: number) => number;
9
+ invTransformValue?: (v: number) => number;
10
+ draggableIcon?: boolean;
11
+ value?: number | undefined;
12
+ defaultValue?: number | undefined;
13
+ };
14
+ export declare class ExtendedNumericInput extends React.PureComponent<Props, IExtendedNumericInputState> {
15
+ invTransformValue: (v: number | undefined) => number;
16
+ transformValue: (v: number | undefined) => number;
9
17
  state: IExtendedNumericInputState;
10
18
  setValue(val?: number): Promise<void>;
11
- render(): React.JSX.Element;
19
+ componentDidUpdate(prevProps: Props): void;
20
+ render(): import("react/jsx-runtime").JSX.Element;
12
21
  private handleBlur;
13
22
  private _lastChangedValue;
14
23
  private handleKeyDown;
@@ -23,3 +32,4 @@ export declare class ExtendedNumericInput extends React.PureComponent<HTMLInputP
23
32
  private expandScientificNotationNumber;
24
33
  private roundValue;
25
34
  }
35
+ export {};
@@ -2,6 +2,8 @@ import React from "react";
2
2
  import { BPFileComponentState } from "../bpComponents/BPFileComponent";
3
3
  export interface FileComponentProps {
4
4
  state: BPFileComponentState;
5
- onChange: (state: Partial<BPFileComponentState>) => void;
5
+ onChange: (state: Partial<BPFileComponentState>) => Promise<void>;
6
+ previewSlot?: React.ReactNode;
7
+ uuid?: string;
6
8
  }
7
9
  export declare const FileComponent: React.FC<FileComponentProps>;
@@ -1,6 +1,6 @@
1
- import React, { PropsWithChildren } from "react";
1
+ import { PropsWithChildren } from "react";
2
2
  export declare function FormGroupComponent(props: PropsWithChildren<{
3
3
  label: string;
4
4
  flexBasis?: string;
5
5
  disabled?: boolean;
6
- }>): React.JSX.Element;
6
+ }>): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
- import React from "react";
2
1
  import { UiObjectConfig } from 'uiconfig.js';
3
- export declare function InspectorStackComponent({ config }: {
2
+ export declare function InspectorStackComponent({ config, className }: {
4
3
  config: UiObjectConfig<any, 'panel'>;
5
- }): React.JSX.Element;
4
+ className?: string;
5
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,79 @@
1
+ import { AbstractPureComponent, type HTMLInputProps, Position } from "@blueprintjs/core";
2
+ import type { InputSharedProps } from "@blueprintjs/core/src/components/forms/inputSharedProps";
3
+ export interface NumericInputProps extends InputSharedProps {
4
+ allowNumericCharactersOnly?: boolean;
5
+ asyncControl?: boolean;
6
+ buttonPosition?: typeof Position.LEFT | typeof Position.RIGHT | "none";
7
+ clampValueOnBlur?: boolean;
8
+ defaultValue?: number | string;
9
+ large?: boolean;
10
+ locale?: string;
11
+ majorStepSize?: number | null;
12
+ max?: number;
13
+ min?: number;
14
+ minorStepSize?: number | null;
15
+ selectAllOnFocus?: boolean;
16
+ selectAllOnIncrement?: boolean;
17
+ small?: boolean;
18
+ stepSize?: number;
19
+ value?: number | string;
20
+ onButtonClick?(valueAsNumber: number, valueAsString: string): void;
21
+ onValueChange?(valueAsNumber: number, valueAsString: string, inputElement: HTMLInputElement | null): void;
22
+ }
23
+ export interface NumericInputState {
24
+ currentImeInputInvalid: boolean;
25
+ prevMinProp?: number;
26
+ prevMaxProp?: number;
27
+ shouldSelectAfterUpdate: boolean;
28
+ stepMaxPrecision: number;
29
+ value: string;
30
+ }
31
+ export declare class NumericInput extends AbstractPureComponent<HTMLInputProps & NumericInputProps, NumericInputState> {
32
+ static displayName: string;
33
+ static VALUE_EMPTY: string;
34
+ static VALUE_ZERO: string;
35
+ private numericInputId;
36
+ static defaultProps: NumericInputProps;
37
+ static getDerivedStateFromProps(props: NumericInputProps, state: NumericInputState): {
38
+ stepMaxPrecision: number;
39
+ value: string;
40
+ prevMaxProp: number | undefined;
41
+ prevMinProp: number | undefined;
42
+ };
43
+ private static CONTINUOUS_CHANGE_DELAY;
44
+ private static CONTINUOUS_CHANGE_INTERVAL;
45
+ private static getStepMaxPrecision;
46
+ private static roundAndClampValue;
47
+ state: NumericInputState;
48
+ private didPasteEventJustOccur;
49
+ private delta;
50
+ inputElement: HTMLInputElement | null;
51
+ private inputRef;
52
+ private intervalId?;
53
+ private incrementButtonHandlers;
54
+ private decrementButtonHandlers;
55
+ private getCurrentValueAsNumber;
56
+ render(): import("react/jsx-runtime").JSX.Element;
57
+ componentDidUpdate(prevProps: NumericInputProps, prevState: NumericInputState): void;
58
+ protected validateProps(nextProps: HTMLInputProps & NumericInputProps): void;
59
+ private renderButtons;
60
+ private renderInput;
61
+ private getButtonEventHandlers;
62
+ private handleButtonClick;
63
+ private startContinuousChange;
64
+ private stopContinuousChange;
65
+ private handleContinuousChange;
66
+ private handleInputFocus;
67
+ private handleInputBlur;
68
+ private handleInputKeyDown;
69
+ private handleCompositionEnd;
70
+ private handleCompositionUpdate;
71
+ private handleInputKeyPress;
72
+ private handleInputPaste;
73
+ private handleInputChange;
74
+ private handleNextValue;
75
+ private incrementValue;
76
+ private getIncrementDelta;
77
+ private roundAndClampValue;
78
+ private updateDelta;
79
+ }
@@ -0,0 +1,52 @@
1
+ import * as React from "react";
2
+ import type { TreeEventHandler } from "@blueprintjs/core";
3
+ import { type Props } from "@blueprintjs/core";
4
+ import { TreeNodeInfo } from "./treeTypes";
5
+ export interface TreeProps<T = {}> extends Props {
6
+ compact?: boolean;
7
+ contents: ReadonlyArray<TreeNodeInfo<T>>;
8
+ onNodeClick?: TreeEventHandler<T>;
9
+ onNodeCollapse?: TreeEventHandler<T>;
10
+ onNodeContextMenu?: TreeEventHandler<T>;
11
+ onNodeDoubleClick?: TreeEventHandler<T>;
12
+ onNodeExpand?: TreeEventHandler<T>;
13
+ onNodeMouseEnter?: TreeEventHandler<T>;
14
+ onNodeMouseLeave?: TreeEventHandler<T>;
15
+ onNodeDrop?: (source: TreeNodeInfo<T>, sourcePath: number[], target: TreeNodeInfo<T>, targetPath: number[], event: React.DragEvent<HTMLElement>, index?: number) => void;
16
+ onNodeDragStart?: (node: TreeNodeInfo<T>, path: number[], event: React.DragEvent<HTMLElement>) => void;
17
+ onNodeDragOver?: (node: TreeNodeInfo<T>, path: number[], event: React.DragEvent<HTMLElement>) => void;
18
+ onNodeDragEnd?: (node: TreeNodeInfo<T>, path: number[], event: React.DragEvent<HTMLElement>) => void;
19
+ onNodeDragEnter?: (node: TreeNodeInfo<T>, path: number[], event: React.DragEvent<HTMLElement>) => void;
20
+ onNodeDragLeave?: (node: TreeNodeInfo<T>, path: number[], event: React.DragEvent<HTMLElement>) => void;
21
+ canDropNode?: (source: TreeNodeInfo<T>, sourcePath: number[], target: TreeNodeInfo<T>, targetPath: number[], index?: number) => boolean;
22
+ }
23
+ export declare class Tree2<T = {}> extends React.Component<TreeProps<T>> {
24
+ static displayName: string;
25
+ static ofType<U>(): new (props: TreeProps<U>) => Tree2<U>;
26
+ static nodeFromPath<U>(path: readonly number[], treeNodes?: ReadonlyArray<TreeNodeInfo<U>>): TreeNodeInfo<U>;
27
+ private nodeRefs;
28
+ private dragSource;
29
+ private draggingNode?;
30
+ private dragOverNode?;
31
+ private rootRef;
32
+ render(): import("react/jsx-runtime").JSX.Element;
33
+ getNodeContentElement(nodeId: string | number): HTMLElement | undefined;
34
+ private renderNodeSpacer;
35
+ private renderNodes;
36
+ private handleContentRef;
37
+ private handleNodeCollapse;
38
+ private handleNodeClick;
39
+ private handleNodeContextMenu;
40
+ private handleNodeDoubleClick;
41
+ private handleNodeExpand;
42
+ private handleNodeMouseEnter;
43
+ private handleNodeMouseLeave;
44
+ private handleNodeDragStart;
45
+ private handleNodeDragOver;
46
+ private handleNodeDrop;
47
+ private handleNodeDragEnd;
48
+ private handleNodeDragEnter;
49
+ private handleNodeDragLeave;
50
+ private addNodeClass;
51
+ private removeNodeClass;
52
+ }
@@ -0,0 +1,43 @@
1
+ import * as React from "react";
2
+ import type { TreeEventHandler, TreeNodeInfo } from "@blueprintjs/core";
3
+ export interface TreeNodeProps<T = {}> extends TreeNodeInfo<T> {
4
+ children?: React.ReactNode;
5
+ contentRef?: (node: TreeNodeInfo<T>, element: HTMLDivElement | null) => void;
6
+ depth: number;
7
+ key?: string | number;
8
+ onClick?: TreeEventHandler<T>;
9
+ onCollapse?: TreeEventHandler<T>;
10
+ onContextMenu?: TreeEventHandler<T>;
11
+ onDoubleClick?: TreeEventHandler<T>;
12
+ onExpand?: TreeEventHandler<T>;
13
+ onMouseEnter?: TreeEventHandler<T>;
14
+ onMouseLeave?: TreeEventHandler<T>;
15
+ path: number[];
16
+ draggable?: boolean;
17
+ onDragStart?: (node: TreeNodeInfo<T>, path: number[], e: React.DragEvent<HTMLElement>) => void;
18
+ onDragOver?: (node: TreeNodeInfo<T>, path: number[], e: React.DragEvent<HTMLElement>) => void;
19
+ onDrop?: (node: TreeNodeInfo<T>, path: number[], e: React.DragEvent<HTMLElement>) => void;
20
+ onDragEnd?: (node: TreeNodeInfo<T>, path: number[], e: React.DragEvent<HTMLElement>) => void;
21
+ onDragEnter?: (node: TreeNodeInfo<T>, path: number[], e: React.DragEvent<HTMLElement>) => void;
22
+ onDragLeave?: (node: TreeNodeInfo<T>, path: number[], e: React.DragEvent<HTMLElement>) => void;
23
+ }
24
+ export declare class TreeNode2<T = {}> extends React.Component<TreeNodeProps<T>> {
25
+ static displayName: string;
26
+ static ofType<U>(): new (props: TreeNodeProps<U>) => TreeNode2<U>;
27
+ render(): import("react/jsx-runtime").JSX.Element;
28
+ private maybeRenderCaret;
29
+ private maybeRenderSecondaryLabel;
30
+ private handleCaretClick;
31
+ private handleClick;
32
+ private handleContentRef;
33
+ private handleContextMenu;
34
+ private handleDoubleClick;
35
+ private handleMouseEnter;
36
+ private handleMouseLeave;
37
+ private handleDragStart;
38
+ private handleDragOver;
39
+ private handleDrop;
40
+ private handleDragEnd;
41
+ private handleDragEnter;
42
+ private handleDragLeave;
43
+ }
@@ -107,4 +107,13 @@ export declare const useVisualStyle: () => {
107
107
  theme: string;
108
108
  setTheme: (_: string) => void;
109
109
  };
110
- export declare function ThemeSettingsMenuComponent(): React.JSX.Element;
110
+ export declare function setupVisualStyle(): {
111
+ darkMode: boolean;
112
+ setDarkMode: React.Dispatch<React.SetStateAction<boolean>>;
113
+ theme: string;
114
+ setTheme: React.Dispatch<React.SetStateAction<string>>;
115
+ };
116
+ export declare function VisualStyleProvider({ children }: {
117
+ children: React.ReactNode;
118
+ }): import("react/jsx-runtime").JSX.Element;
119
+ export declare function ThemeSettingsMenuComponent(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ export declare const axesXYZIcon: import("react/jsx-runtime").JSX.Element;
2
+ export declare const axesCubeIcon: import("react/jsx-runtime").JSX.Element;
3
+ export declare const axesTetrahedronIcon: import("react/jsx-runtime").JSX.Element;
4
+ export declare const axesSphereIcon: import("react/jsx-runtime").JSX.Element;
5
+ export declare const axesCubeFilledIcon: import("react/jsx-runtime").JSX.Element;
6
+ export declare const axesTetrahedronFilledIcon: import("react/jsx-runtime").JSX.Element;
7
+ export declare const axesSphereFilledIcon: import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- import React, { ReactNode } from "react";
2
- export declare const bpIconWrapper: (path: ReactNode, viewbox?: number) => React.JSX.Element;
1
+ import { HTMLAttributes, ReactNode } from "react";
2
+ export declare const bpIconWrapper: (path: ReactNode, viewbox?: number, svgProps?: HTMLAttributes<SVGElement>, className?: string) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,198 @@
1
+ import { HTMLAttributes, ReactElement } from 'react';
2
+ export declare const bpUiConfigIcons: {
3
+ readonly 'x-1': import("react/jsx-runtime").JSX.Element;
4
+ readonly 'y-1': import("react/jsx-runtime").JSX.Element;
5
+ readonly 'z-1': import("react/jsx-runtime").JSX.Element;
6
+ readonly 'x-2': import("react/jsx-runtime").JSX.Element;
7
+ readonly 'y-2': import("react/jsx-runtime").JSX.Element;
8
+ readonly 'z-2': import("react/jsx-runtime").JSX.Element;
9
+ readonly 'x-3': import("react/jsx-runtime").JSX.Element;
10
+ readonly 'y-3': import("react/jsx-runtime").JSX.Element;
11
+ readonly 'z-3': import("react/jsx-runtime").JSX.Element;
12
+ readonly 'u-3': import("react/jsx-runtime").JSX.Element;
13
+ readonly 'v-3': import("react/jsx-runtime").JSX.Element;
14
+ readonly 'w-3': import("react/jsx-runtime").JSX.Element;
15
+ readonly 'h-3': import("react/jsx-runtime").JSX.Element;
16
+ readonly 'x-4': import("react/jsx-runtime").JSX.Element;
17
+ readonly 'y-4': import("react/jsx-runtime").JSX.Element;
18
+ readonly 'z-4': import("react/jsx-runtime").JSX.Element;
19
+ readonly 'x-5': import("react/jsx-runtime").JSX.Element;
20
+ readonly 'y-5': import("react/jsx-runtime").JSX.Element;
21
+ readonly 'z-5': import("react/jsx-runtime").JSX.Element;
22
+ readonly 'x-6': import("react/jsx-runtime").JSX.Element;
23
+ readonly 'y-6': import("react/jsx-runtime").JSX.Element;
24
+ readonly 'z-6': import("react/jsx-runtime").JSX.Element;
25
+ readonly 'x-7': import("react/jsx-runtime").JSX.Element;
26
+ readonly 'y-7': import("react/jsx-runtime").JSX.Element;
27
+ readonly 'z-7': import("react/jsx-runtime").JSX.Element;
28
+ readonly 'x-8': import("react/jsx-runtime").JSX.Element;
29
+ readonly 'y-8': import("react/jsx-runtime").JSX.Element;
30
+ readonly 'z-8': import("react/jsx-runtime").JSX.Element;
31
+ readonly 'x-9': import("react/jsx-runtime").JSX.Element;
32
+ readonly 'y-9': import("react/jsx-runtime").JSX.Element;
33
+ readonly 'z-9': import("react/jsx-runtime").JSX.Element;
34
+ readonly 'x-10': import("react/jsx-runtime").JSX.Element;
35
+ readonly 'y-10': import("react/jsx-runtime").JSX.Element;
36
+ readonly 'z-10': import("react/jsx-runtime").JSX.Element;
37
+ readonly 'x-11': import("react/jsx-runtime").JSX.Element;
38
+ readonly 'y-11': import("react/jsx-runtime").JSX.Element;
39
+ readonly 'z-11': import("react/jsx-runtime").JSX.Element;
40
+ readonly 'x-12': import("react/jsx-runtime").JSX.Element;
41
+ readonly 'y-12': import("react/jsx-runtime").JSX.Element;
42
+ readonly 'z-12': import("react/jsx-runtime").JSX.Element;
43
+ readonly 'axes-xyz': import("react/jsx-runtime").JSX.Element;
44
+ readonly 'axes-cube': import("react/jsx-runtime").JSX.Element;
45
+ readonly 'axes-tetrahedron': import("react/jsx-runtime").JSX.Element;
46
+ readonly 'axes-sphere': import("react/jsx-runtime").JSX.Element;
47
+ readonly 'axes-cube-filled': import("react/jsx-runtime").JSX.Element;
48
+ readonly 'axes-tetrahedron-filled': import("react/jsx-runtime").JSX.Element;
49
+ readonly 'axes-sphere-filled': import("react/jsx-runtime").JSX.Element;
50
+ readonly 'shape-cone-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
51
+ readonly 'shape-cone-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
52
+ readonly 'shape-cone-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
53
+ readonly 'shape-sphere-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
54
+ readonly 'shape-sphere-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
55
+ readonly 'shape-sphere-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
56
+ readonly 'shape-cube-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
57
+ readonly 'shape-cube-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
58
+ readonly 'shape-cube-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
59
+ readonly 'shape-cylinder-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
60
+ readonly 'shape-cylinder-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
61
+ readonly 'shape-cylinder-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
62
+ readonly 'shape-pyramid-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
63
+ readonly 'shape-pyramid-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
64
+ readonly 'shape-pyramid-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
65
+ readonly 'shape-rhombus-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
66
+ readonly 'shape-rhombus-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
67
+ readonly 'shape-rhombus-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
68
+ readonly 'shape-3d-hexagon-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
69
+ readonly 'shape-3d-hexagon-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
70
+ readonly 'shape-3d-hexagon-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
71
+ readonly 'shape-pyramid-filled-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
72
+ readonly 'shape-pyramid-filled-mono-2': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
73
+ readonly 'shape-pyramid-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
74
+ readonly 'shape-3d-star-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
75
+ readonly 'shape-3d-star-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
76
+ readonly 'shape-3d-star-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
77
+ readonly 'shape-cuboid-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
78
+ readonly 'shape-cuboid-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
79
+ readonly 'shape-cuboid-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
80
+ readonly 'shape-cylinder-steps-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
81
+ readonly 'shape-cylinder-steps-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
82
+ readonly 'shape-cylinder-steps-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
83
+ readonly 'shape-trapezium-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
84
+ readonly 'shape-trapezium-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
85
+ readonly 'shape-trapezium-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
86
+ readonly 'shape-sphere-cut-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
87
+ readonly 'shape-sphere-cut-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
88
+ readonly 'shape-sphere-cut-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
89
+ readonly 'shape-trapezium-filled-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
90
+ readonly 'shape-trapezium-filled-mono-2': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
91
+ readonly 'shape-trapezium-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
92
+ readonly 'shape-pyramid-filled-3': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
93
+ readonly 'shape-pyramid-filled-mono-3': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
94
+ readonly 'shape-pyramid-3': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
95
+ readonly 'shape-hourglass-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
96
+ readonly 'shape-hourglass-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
97
+ readonly 'shape-hourglass-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
98
+ readonly 'shape-cube-cut-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
99
+ readonly 'shape-cube-cut-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
100
+ readonly 'shape-cube-cut-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
101
+ readonly 'shape-torus-filled': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
102
+ readonly 'shape-torus-filled-mono': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
103
+ readonly 'shape-torus': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
104
+ readonly 'shape-3d-abstract-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
105
+ readonly 'shape-3d-abstract-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
106
+ readonly 'shape-3d-abstract-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
107
+ readonly 'shape-cylinder-filled-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
108
+ readonly 'shape-cylinder-filled-mono-2': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
109
+ readonly 'shape-cylinder-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
110
+ readonly 'shape-3d-pentagon-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
111
+ readonly 'shape-3d-pentagon-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
112
+ readonly 'shape-3d-pentagon-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
113
+ readonly 'shape-horseshoe-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
114
+ readonly 'shape-horseshoe-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
115
+ readonly 'shape-horseshoe-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
116
+ readonly 'shape-steps-filled': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
117
+ readonly 'shape-steps-filled-mono': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
118
+ readonly 'shape-steps': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
119
+ readonly 'shape-hourglass-filled-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
120
+ readonly 'shape-hourglass-filled-mono-2': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
121
+ readonly 'shape-hourglass-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
122
+ readonly 'shape-3d-abstract-filled-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
123
+ readonly 'shape-3d-abstract-filled-mono-2': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
124
+ readonly 'shape-3d-abstract-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
125
+ readonly 'shape-diamond-filled-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
126
+ readonly 'shape-diamond-filled-mono-1': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
127
+ readonly 'shape-diamond-1': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
128
+ readonly 'shape-diamond-filled-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
129
+ readonly 'shape-diamond-filled-mono-2': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
130
+ readonly 'shape-diamond-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
131
+ readonly 'shape-dodecahedron-filled': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
132
+ readonly 'shape-dodecahedron-filled-mono': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
133
+ readonly 'shape-dodecahedron': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
134
+ readonly 'shape-3d-plus-filled': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
135
+ readonly 'shape-3d-plus-filled-mono': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
136
+ readonly 'shape-3d-plus': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
137
+ readonly 'shape-diamond-filled-3': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
138
+ readonly 'shape-diamond-filled-mono-3': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
139
+ readonly 'shape-diamond-3': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
140
+ readonly 'shape-cone-filled-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
141
+ readonly 'shape-cone-filled-mono-2': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
142
+ readonly 'shape-cone-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
143
+ readonly 'shape-3d-multiplication-filled': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
144
+ readonly 'shape-3d-multiplication-filled-mono': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
145
+ readonly 'shape-3d-multiplication': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
146
+ readonly 'shape-3d-abstract-filled-3': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
147
+ readonly 'shape-3d-abstract-filled-mono-3': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
148
+ readonly 'shape-3d-abstract-3': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
149
+ readonly 'shape-sphere-skewed-filled': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
150
+ readonly 'shape-sphere-skewed-filled-mono': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
151
+ readonly 'shape-sphere-skewed': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
152
+ readonly 'shape-cylinder-skewed-filled': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
153
+ readonly 'shape-cylinder-skewed-filled-mono': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
154
+ readonly 'shape-cylinder-skewed': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
155
+ readonly 'shape-horseshoe-filled-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
156
+ readonly 'shape-horseshoe-filled-mono-2': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
157
+ readonly 'shape-horseshoe-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
158
+ readonly 'shape-sphere-filled-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
159
+ readonly 'shape-sphere-filled-mono-2': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
160
+ readonly 'shape-sphere-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
161
+ readonly 'shape-pyramid-filled-4': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
162
+ readonly 'shape-pyramid-filled-mono-4': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
163
+ readonly 'shape-pyramid-4': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
164
+ readonly 'shape-pyramid-filled-5': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
165
+ readonly 'shape-pyramid-filled-mono-5': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
166
+ readonly 'shape-pyramid-5': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
167
+ readonly 'shape-octahedron-transparent-filled': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
168
+ readonly 'shape-octahedron-transparent-filled-mono': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
169
+ readonly 'shape-octahedron-transparent': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
170
+ readonly 'shape-cube-transparent-filled': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
171
+ readonly 'shape-cube-transparent-filled-mono': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
172
+ readonly 'shape-cube-transparent': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
173
+ readonly 'shape-pyramid-transparent-filled': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
174
+ readonly 'shape-pyramid-transparent-filled-mono': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
175
+ readonly 'shape-pyramid-transparent': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
176
+ readonly 'shape-sphere-transparent-filled': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
177
+ readonly 'shape-sphere-transparent-filled-mono': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
178
+ readonly 'shape-sphere-transparent': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
179
+ readonly 'shape-cylinder-transparent-filled': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
180
+ readonly 'shape-cylinder-transparent-filled-mono': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
181
+ readonly 'shape-cylinder-transparent': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
182
+ readonly 'shape-axes-cube-filled': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
183
+ readonly 'shape-axes-cube-filled-mono': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
184
+ readonly 'shape-axes-cube': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
185
+ readonly 'shape-axes-pyramid-filled': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
186
+ readonly 'shape-axes-pyramid-filled-mono': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
187
+ readonly 'shape-axes-pyramid': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
188
+ readonly 'shape-axes-sphere-filled': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
189
+ readonly 'shape-axes-sphere-filled-mono': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
190
+ readonly 'shape-axes-sphere': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
191
+ readonly 'shape-3d-shapes': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
192
+ readonly 'shape-cube-cut-filled-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
193
+ readonly 'shape-cube-cut-filled-mono-2': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
194
+ readonly 'shape-cube-cut-2': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
195
+ readonly 'shape-sphere-multi-filled': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
196
+ readonly 'shape-sphere-multi-filled-mono': (props?: HTMLAttributes<SVGElement>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
197
+ readonly 'shape-sphere-multi': (props?: HTMLAttributes<SVGElement> | undefined) => import("react/jsx-runtime").JSX.Element;
198
+ };
@@ -0,0 +1,8 @@
1
+ export declare function useLoadingState(): {
2
+ loadingState: Record<string, boolean>;
3
+ updateLoading: (key: string, promise?: void | Promise<any> | undefined) => Promise<void>;
4
+ };
5
+ export declare function useLoadingStateKey(): {
6
+ loadingState: boolean;
7
+ updateLoading: (promise?: void | Promise<any> | undefined) => Promise<void>;
8
+ };