uiconfig-blueprint 0.1.0-dev.1 → 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.
- package/README.md +27 -1
- package/dist/ConfigObject.d.ts +2 -1
- package/dist/UiConfigRendererBlueprint.d.ts +6 -4
- package/dist/allPaths-Dhco1c7a.js +23 -0
- package/dist/{allPaths-EYaH0Usv.js.map → allPaths-Dhco1c7a.js.map} +1 -1
- package/dist/{allPathsLoader-UVZ15qNf.js → allPathsLoader-BNvrKJa2.js} +5 -5
- package/dist/{allPathsLoader-UVZ15qNf.js.map → allPathsLoader-BNvrKJa2.js.map} +1 -1
- package/dist/bpComponents/BPButtonComponent.d.ts +1 -0
- package/dist/bpComponents/BPColorInputComponent.d.ts +1 -0
- package/dist/bpComponents/BPComponent.d.ts +3 -1
- package/dist/bpComponents/BPContainerComponent.d.ts +1 -1
- package/dist/bpComponents/BPFileComponent.d.ts +8 -5
- package/dist/bpComponents/BPFolderComponent.d.ts +9 -1
- package/dist/bpComponents/BPInputComponent.d.ts +2 -1
- package/dist/bpComponents/BPNumberInputComponent.d.ts +3 -1
- package/dist/bpComponents/BPSliderInputComponent.d.ts +1 -0
- package/dist/bpComponents/BPTreeComponent.d.ts +20 -10
- package/dist/bpComponents/BPValueComponent.d.ts +4 -1
- package/dist/bpComponents/BPVectorInputComponent.d.ts +1 -0
- package/dist/bpComponents/GetNumberTransformFunctions.d.ts +4 -0
- package/dist/bpComponents/NumberUnits.d.ts +7 -0
- package/dist/components/DialogContext.d.ts +18 -10
- package/dist/components/DraggableIcon.d.ts +1 -0
- package/dist/components/ExtendedNumericInput.d.ts +13 -3
- package/dist/components/FileComponent.d.ts +3 -1
- package/dist/components/InspectorStackComponent.d.ts +2 -1
- package/dist/components/NumericInput.d.ts +79 -0
- package/dist/components/Tree2.d.ts +52 -0
- package/dist/components/TreeNode2.d.ts +43 -0
- package/dist/components/axesIcons.d.ts +7 -0
- package/dist/components/bpIconWrapper.d.ts +2 -2
- package/dist/components/iconMapping.d.ts +198 -0
- package/dist/components/loadingState.d.ts +4 -0
- package/dist/components/shapesIcons.d.ts +100 -0
- package/dist/components/treeTypes.d.ts +18 -0
- package/dist/index-B1k4Miq7.js +671 -0
- package/dist/index-B1k4Miq7.js.map +1 -0
- package/dist/index-BvGAMcRo.js +671 -0
- package/dist/index-BvGAMcRo.js.map +1 -0
- package/dist/index-GANXo7JZ.js +13560 -0
- package/dist/index-GANXo7JZ.js.map +1 -0
- package/dist/index.js +71 -36
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/lib.d.ts +4 -1
- package/dist/{splitPathsBySizeLoader-GhF5umHk.js → splitPathsBySizeLoader-DGIXBgyZ.js} +6 -6
- package/dist/{splitPathsBySizeLoader-GhF5umHk.js.map → splitPathsBySizeLoader-DGIXBgyZ.js.map} +1 -1
- package/docs/assets/highlight.css +45 -17
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/UI.html +10 -5
- package/docs/classes/UiConfigRendererBlueprint.html +10 -5
- package/docs/index.html +16 -5
- package/lib/css/renderer.css +189 -23
- package/lib/css/renderer.css.map +1 -1
- package/lib/esm/ConfigObject.d.ts +2 -1
- package/lib/esm/ConfigObject.js +15 -9
- package/lib/esm/ConfigObject.js.map +1 -1
- package/lib/esm/UiConfigRendererBlueprint.d.ts +6 -4
- package/lib/esm/UiConfigRendererBlueprint.js +30 -17
- package/lib/esm/UiConfigRendererBlueprint.js.map +1 -1
- package/lib/esm/bpComponents/BPButtonComponent.d.ts +1 -0
- package/lib/esm/bpComponents/BPButtonComponent.js +4 -2
- package/lib/esm/bpComponents/BPButtonComponent.js.map +1 -1
- package/lib/esm/bpComponents/BPColorInputComponent.d.ts +1 -0
- package/lib/esm/bpComponents/BPColorInputComponent.js +4 -2
- package/lib/esm/bpComponents/BPColorInputComponent.js.map +1 -1
- package/lib/esm/bpComponents/BPComponent.d.ts +3 -1
- package/lib/esm/bpComponents/BPComponent.js +15 -2
- package/lib/esm/bpComponents/BPComponent.js.map +1 -1
- package/lib/esm/bpComponents/BPContainerComponent.d.ts +1 -1
- package/lib/esm/bpComponents/BPContainerComponent.js +12 -2
- package/lib/esm/bpComponents/BPContainerComponent.js.map +1 -1
- package/lib/esm/bpComponents/BPDropdownInputComponent.js +7 -3
- package/lib/esm/bpComponents/BPDropdownInputComponent.js.map +1 -1
- package/lib/esm/bpComponents/BPFileComponent.d.ts +8 -5
- package/lib/esm/bpComponents/BPFileComponent.js +18 -24
- package/lib/esm/bpComponents/BPFileComponent.js.map +1 -1
- package/lib/esm/bpComponents/BPFolderComponent.d.ts +9 -1
- package/lib/esm/bpComponents/BPFolderComponent.js +55 -12
- package/lib/esm/bpComponents/BPFolderComponent.js.map +1 -1
- package/lib/esm/bpComponents/BPInputComponent.d.ts +2 -1
- package/lib/esm/bpComponents/BPInputComponent.js +2 -1
- package/lib/esm/bpComponents/BPInputComponent.js.map +1 -1
- package/lib/esm/bpComponents/BPNumberInputComponent.d.ts +3 -1
- package/lib/esm/bpComponents/BPNumberInputComponent.js +6 -1
- package/lib/esm/bpComponents/BPNumberInputComponent.js.map +1 -1
- package/lib/esm/bpComponents/BPPanelComponent.js +1 -1
- package/lib/esm/bpComponents/BPPanelComponent.js.map +1 -1
- package/lib/esm/bpComponents/BPSliderInputComponent.d.ts +1 -0
- package/lib/esm/bpComponents/BPSliderInputComponent.js +18 -6
- package/lib/esm/bpComponents/BPSliderInputComponent.js.map +1 -1
- package/lib/esm/bpComponents/BPTextInputComponent.js +1 -1
- package/lib/esm/bpComponents/BPTextInputComponent.js.map +1 -1
- package/lib/esm/bpComponents/BPToggleInputComponent.js +3 -2
- package/lib/esm/bpComponents/BPToggleInputComponent.js.map +1 -1
- package/lib/esm/bpComponents/BPTreeComponent.d.ts +20 -10
- package/lib/esm/bpComponents/BPTreeComponent.js +120 -26
- package/lib/esm/bpComponents/BPTreeComponent.js.map +1 -1
- package/lib/esm/bpComponents/BPTreeFolderComponent.js +4 -3
- package/lib/esm/bpComponents/BPTreeFolderComponent.js.map +1 -1
- package/lib/esm/bpComponents/BPValueComponent.d.ts +4 -1
- package/lib/esm/bpComponents/BPValueComponent.js +19 -3
- package/lib/esm/bpComponents/BPValueComponent.js.map +1 -1
- package/lib/esm/bpComponents/BPVectorInputComponent.d.ts +1 -0
- package/lib/esm/bpComponents/BPVectorInputComponent.js +14 -8
- package/lib/esm/bpComponents/BPVectorInputComponent.js.map +1 -1
- package/lib/esm/bpComponents/GetNumberTransformFunctions.d.ts +4 -0
- package/lib/esm/bpComponents/GetNumberTransformFunctions.js +14 -0
- package/lib/esm/bpComponents/GetNumberTransformFunctions.js.map +1 -0
- package/lib/esm/bpComponents/NumberUnits.d.ts +7 -0
- package/lib/esm/bpComponents/NumberUnits.js +101 -0
- package/lib/esm/bpComponents/NumberUnits.js.map +1 -0
- package/lib/esm/components/AppToaster.js.map +1 -1
- package/lib/esm/components/ConfigurationPanelComponent.js +6 -1
- package/lib/esm/components/ConfigurationPanelComponent.js.map +1 -1
- package/lib/esm/components/DialogContext.d.ts +18 -10
- package/lib/esm/components/DialogContext.js +52 -33
- package/lib/esm/components/DialogContext.js.map +1 -1
- package/lib/esm/components/DraggableIcon.d.ts +1 -0
- package/lib/esm/components/DraggableIcon.js +7 -4
- package/lib/esm/components/DraggableIcon.js.map +1 -1
- package/lib/esm/components/ExtendedNumericInput.d.ts +13 -3
- package/lib/esm/components/ExtendedNumericInput.js +62 -17
- package/lib/esm/components/ExtendedNumericInput.js.map +1 -1
- package/lib/esm/components/FileComponent.d.ts +3 -1
- package/lib/esm/components/FileComponent.js +19 -19
- package/lib/esm/components/FileComponent.js.map +1 -1
- package/lib/esm/components/InspectorStackComponent.d.ts +2 -1
- package/lib/esm/components/InspectorStackComponent.js +2 -2
- package/lib/esm/components/InspectorStackComponent.js.map +1 -1
- package/lib/esm/components/NumericInput.d.ts +79 -0
- package/lib/esm/components/NumericInput.js +311 -0
- package/lib/esm/components/NumericInput.js.map +1 -0
- package/lib/esm/components/Tree2.d.ts +52 -0
- package/lib/esm/components/Tree2.js +177 -0
- package/lib/esm/components/Tree2.js.map +1 -0
- package/lib/esm/components/TreeNode2.d.ts +43 -0
- package/lib/esm/components/TreeNode2.js +111 -0
- package/lib/esm/components/TreeNode2.js.map +1 -0
- package/lib/esm/components/VisualStyleContext.js +9 -3
- package/lib/esm/components/VisualStyleContext.js.map +1 -1
- package/lib/esm/components/axesIcons.d.ts +7 -0
- package/lib/esm/components/axesIcons.js +10 -0
- package/lib/esm/components/axesIcons.js.map +1 -0
- package/lib/esm/components/bpIconWrapper.d.ts +2 -2
- package/lib/esm/components/bpIconWrapper.js +2 -2
- package/lib/esm/components/bpIconWrapper.js.map +1 -1
- package/lib/esm/components/iconMapping.d.ts +198 -0
- package/lib/esm/components/iconMapping.js +202 -0
- package/lib/esm/components/iconMapping.js.map +1 -0
- package/lib/esm/components/loadingState.d.ts +4 -0
- package/lib/esm/components/loadingState.js +10 -0
- package/lib/esm/components/loadingState.js.map +1 -1
- package/lib/esm/components/shapesIcons.d.ts +100 -0
- package/lib/esm/components/shapesIcons.js +102 -0
- package/lib/esm/components/shapesIcons.js.map +1 -0
- package/lib/esm/components/treeTypes.d.ts +18 -0
- package/lib/esm/components/treeTypes.js +2 -0
- package/lib/esm/components/treeTypes.js.map +1 -0
- package/lib/esm/lib.d.ts +4 -1
- package/lib/esm/lib.js +4 -1
- package/lib/esm/lib.js.map +1 -1
- package/lib/esm/renderer.css.js +1 -0
- package/package.json +62 -13
- package/src/ConfigObject.tsx +25 -11
- package/src/UiConfigRendererBlueprint.tsx +31 -20
- package/src/bpComponents/BPButtonComponent.scss +5 -1
- package/src/bpComponents/BPButtonComponent.tsx +9 -2
- package/src/bpComponents/BPColorInputComponent.tsx +8 -2
- package/src/bpComponents/BPComponent.tsx +17 -4
- package/src/bpComponents/BPContainerComponent.tsx +13 -1
- package/src/bpComponents/BPDropdownInputComponent.tsx +8 -2
- package/src/bpComponents/BPFileComponent.tsx +55 -27
- package/src/bpComponents/BPFolderComponent.scss +20 -6
- package/src/bpComponents/BPFolderComponent.tsx +105 -16
- package/src/bpComponents/BPInputComponent.tsx +6 -2
- package/src/bpComponents/BPNumberInputComponent.tsx +14 -2
- package/src/bpComponents/BPPanelComponent.tsx +1 -1
- package/src/bpComponents/BPSliderInputComponent.tsx +40 -20
- package/src/bpComponents/BPTextInputComponent.tsx +1 -0
- package/src/bpComponents/BPToggleInputComponent.tsx +6 -3
- package/src/bpComponents/BPTreeComponent.tsx +125 -25
- package/src/bpComponents/BPTreeFolderComponent.tsx +3 -3
- package/src/bpComponents/BPValueComponent.tsx +31 -4
- package/src/bpComponents/BPVectorInputComponent.tsx +23 -20
- package/src/bpComponents/GetNumberTransformFunctions.tsx +14 -0
- package/src/bpComponents/NumberUnits.tsx +123 -0
- package/src/components/AppToaster.tsx +20 -0
- package/src/components/ConfigurationPanelComponent.tsx +14 -3
- package/src/components/DialogContext.tsx +125 -65
- package/src/components/DraggableIcon.tsx +6 -5
- package/src/components/ExtendedNumericInput.tsx +70 -18
- package/src/components/FileComponent.tsx +48 -25
- package/src/components/InspectorStackComponent.tsx +2 -2
- package/src/components/NumericInput.tsx +679 -0
- package/src/components/Tree2.tsx +344 -0
- package/src/components/TreeNode2.tsx +192 -0
- package/src/components/VisualStyleContext.tsx +10 -2
- package/src/components/axesIcons.tsx +116 -0
- package/src/components/bpIconWrapper.tsx +5 -4
- package/src/components/common.scss +17 -0
- package/src/components/iconMapping.ts +354 -0
- package/src/components/loadingState.tsx +9 -0
- package/src/components/shapesIcons.tsx +980 -0
- package/src/components/tree2.scss +69 -0
- package/src/components/treeTypes.ts +97 -0
- package/src/lib.ts +4 -1
- package/src/renderer.scss +79 -11
- package/tsconfig.json +1 -0
- package/dist/allPaths-EYaH0Usv.js +0 -23
- package/dist/index-0vU2D25U.js +0 -604
- package/dist/index-0vU2D25U.js.map +0 -1
- package/dist/index-JBvBPdy9.js +0 -604
- package/dist/index-JBvBPdy9.js.map +0 -1
- package/dist/index-OyL-zObJ.js +0 -12765
- package/dist/index-OyL-zObJ.js.map +0 -1
- package/lib/cjs/ConfigObject.d.ts +0 -18
- package/lib/cjs/ConfigObject.js +0 -82
- package/lib/cjs/ConfigObject.js.map +0 -1
- package/lib/cjs/UiConfigRendererBlueprint.d.ts +0 -13
- package/lib/cjs/UiConfigRendererBlueprint.js +0 -56
- package/lib/cjs/UiConfigRendererBlueprint.js.map +0 -1
- package/lib/cjs/bpComponents/BPButtonComponent.d.ts +0 -8
- package/lib/cjs/bpComponents/BPButtonComponent.js +0 -19
- package/lib/cjs/bpComponents/BPButtonComponent.js.map +0 -1
- package/lib/cjs/bpComponents/BPColorInputComponent.d.ts +0 -24
- package/lib/cjs/bpComponents/BPColorInputComponent.js +0 -127
- package/lib/cjs/bpComponents/BPColorInputComponent.js.map +0 -1
- package/lib/cjs/bpComponents/BPComponent.d.ts +0 -29
- package/lib/cjs/bpComponents/BPComponent.js +0 -59
- package/lib/cjs/bpComponents/BPComponent.js.map +0 -1
- package/lib/cjs/bpComponents/BPContainerComponent.d.ts +0 -21
- package/lib/cjs/bpComponents/BPContainerComponent.js +0 -54
- package/lib/cjs/bpComponents/BPContainerComponent.js.map +0 -1
- package/lib/cjs/bpComponents/BPDropdownInputComponent.d.ts +0 -15
- package/lib/cjs/bpComponents/BPDropdownInputComponent.js +0 -43
- package/lib/cjs/bpComponents/BPDropdownInputComponent.js.map +0 -1
- package/lib/cjs/bpComponents/BPFileComponent.d.ts +0 -25
- package/lib/cjs/bpComponents/BPFileComponent.js +0 -69
- package/lib/cjs/bpComponents/BPFileComponent.js.map +0 -1
- package/lib/cjs/bpComponents/BPFolderComponent.d.ts +0 -16
- package/lib/cjs/bpComponents/BPFolderComponent.js +0 -39
- package/lib/cjs/bpComponents/BPFolderComponent.js.map +0 -1
- package/lib/cjs/bpComponents/BPInputComponent.d.ts +0 -11
- package/lib/cjs/bpComponents/BPInputComponent.js +0 -34
- package/lib/cjs/bpComponents/BPInputComponent.js.map +0 -1
- package/lib/cjs/bpComponents/BPLabelledComponent.d.ts +0 -8
- package/lib/cjs/bpComponents/BPLabelledComponent.js +0 -14
- package/lib/cjs/bpComponents/BPLabelledComponent.js.map +0 -1
- package/lib/cjs/bpComponents/BPNumberInputComponent.d.ts +0 -10
- package/lib/cjs/bpComponents/BPNumberInputComponent.js +0 -40
- package/lib/cjs/bpComponents/BPNumberInputComponent.js.map +0 -1
- package/lib/cjs/bpComponents/BPPanelComponent.d.ts +0 -16
- package/lib/cjs/bpComponents/BPPanelComponent.js +0 -35
- package/lib/cjs/bpComponents/BPPanelComponent.js.map +0 -1
- package/lib/cjs/bpComponents/BPSliderInputComponent.d.ts +0 -14
- package/lib/cjs/bpComponents/BPSliderInputComponent.js +0 -41
- package/lib/cjs/bpComponents/BPSliderInputComponent.js.map +0 -1
- package/lib/cjs/bpComponents/BPTextInputComponent.d.ts +0 -7
- package/lib/cjs/bpComponents/BPTextInputComponent.js +0 -19
- package/lib/cjs/bpComponents/BPTextInputComponent.js.map +0 -1
- package/lib/cjs/bpComponents/BPToggleInputComponent.d.ts +0 -8
- package/lib/cjs/bpComponents/BPToggleInputComponent.js +0 -22
- package/lib/cjs/bpComponents/BPToggleInputComponent.js.map +0 -1
- package/lib/cjs/bpComponents/BPTreeComponent.d.ts +0 -36
- package/lib/cjs/bpComponents/BPTreeComponent.js +0 -131
- package/lib/cjs/bpComponents/BPTreeComponent.js.map +0 -1
- package/lib/cjs/bpComponents/BPTreeFolderComponent.d.ts +0 -10
- package/lib/cjs/bpComponents/BPTreeFolderComponent.js +0 -40
- package/lib/cjs/bpComponents/BPTreeFolderComponent.js.map +0 -1
- package/lib/cjs/bpComponents/BPValueComponent.d.ts +0 -16
- package/lib/cjs/bpComponents/BPValueComponent.js +0 -46
- package/lib/cjs/bpComponents/BPValueComponent.js.map +0 -1
- package/lib/cjs/bpComponents/BPVectorInputComponent.d.ts +0 -19
- package/lib/cjs/bpComponents/BPVectorInputComponent.js +0 -110
- package/lib/cjs/bpComponents/BPVectorInputComponent.js.map +0 -1
- package/lib/cjs/components/ConfigurationPanelComponent.d.ts +0 -4
- package/lib/cjs/components/ConfigurationPanelComponent.js +0 -30
- package/lib/cjs/components/ConfigurationPanelComponent.js.map +0 -1
- package/lib/cjs/components/DialogContext.d.ts +0 -48
- package/lib/cjs/components/DialogContext.js +0 -79
- package/lib/cjs/components/DialogContext.js.map +0 -1
- package/lib/cjs/components/DraggableIcon.d.ts +0 -19
- package/lib/cjs/components/DraggableIcon.js +0 -70
- package/lib/cjs/components/DraggableIcon.js.map +0 -1
- package/lib/cjs/components/ExtendedNumericInput.d.ts +0 -25
- package/lib/cjs/components/ExtendedNumericInput.js +0 -174
- package/lib/cjs/components/ExtendedNumericInput.js.map +0 -1
- package/lib/cjs/components/FileComponent.d.ts +0 -7
- package/lib/cjs/components/FileComponent.js +0 -49
- package/lib/cjs/components/FileComponent.js.map +0 -1
- package/lib/cjs/components/FormGroupComponent.d.ts +0 -6
- package/lib/cjs/components/FormGroupComponent.js +0 -16
- package/lib/cjs/components/FormGroupComponent.js.map +0 -1
- package/lib/cjs/components/InspectorStackComponent.d.ts +0 -4
- package/lib/cjs/components/InspectorStackComponent.js +0 -27
- package/lib/cjs/components/InspectorStackComponent.js.map +0 -1
- package/lib/cjs/components/VisualStyleContext.d.ts +0 -119
- package/lib/cjs/components/VisualStyleContext.js +0 -60
- package/lib/cjs/components/VisualStyleContext.js.map +0 -1
- package/lib/cjs/components/bpIconWrapper.d.ts +0 -2
- package/lib/cjs/components/bpIconWrapper.js +0 -9
- package/lib/cjs/components/bpIconWrapper.js.map +0 -1
- package/lib/cjs/components/loadingState.d.ts +0 -4
- package/lib/cjs/components/loadingState.js +0 -16
- package/lib/cjs/components/loadingState.js.map +0 -1
- package/lib/cjs/components/variableIcons.d.ts +0 -40
- package/lib/cjs/components/variableIcons.js +0 -46
- package/lib/cjs/components/variableIcons.js.map +0 -1
- package/lib/cjs/contexts.d.ts +0 -1
- package/lib/cjs/contexts.js +0 -3
- package/lib/cjs/contexts.js.map +0 -1
- package/lib/cjs/index.d.ts +0 -4
- package/lib/cjs/index.js +0 -9
- package/lib/cjs/index.js.map +0 -1
- package/lib/cjs/lib.d.ts +0 -32
- package/lib/cjs/lib.js +0 -49
- package/lib/cjs/lib.js.map +0 -1
- package/lib/cjs/threejs.d.ts +0 -2
- package/lib/cjs/threejs.js +0 -3
- package/lib/cjs/threejs.js.map +0 -1
- package/lib/esnext/ConfigObject.d.ts +0 -18
- package/lib/esnext/ConfigObject.js +0 -75
- package/lib/esnext/ConfigObject.js.map +0 -1
- package/lib/esnext/UiConfigRendererBlueprint.d.ts +0 -13
- package/lib/esnext/UiConfigRendererBlueprint.js +0 -52
- package/lib/esnext/UiConfigRendererBlueprint.js.map +0 -1
- package/lib/esnext/bpComponents/BPButtonComponent.d.ts +0 -8
- package/lib/esnext/bpComponents/BPButtonComponent.js +0 -15
- package/lib/esnext/bpComponents/BPButtonComponent.js.map +0 -1
- package/lib/esnext/bpComponents/BPColorInputComponent.d.ts +0 -24
- package/lib/esnext/bpComponents/BPColorInputComponent.js +0 -110
- package/lib/esnext/bpComponents/BPColorInputComponent.js.map +0 -1
- package/lib/esnext/bpComponents/BPComponent.d.ts +0 -29
- package/lib/esnext/bpComponents/BPComponent.js +0 -46
- package/lib/esnext/bpComponents/BPComponent.js.map +0 -1
- package/lib/esnext/bpComponents/BPContainerComponent.d.ts +0 -21
- package/lib/esnext/bpComponents/BPContainerComponent.js +0 -51
- package/lib/esnext/bpComponents/BPContainerComponent.js.map +0 -1
- package/lib/esnext/bpComponents/BPDropdownInputComponent.d.ts +0 -15
- package/lib/esnext/bpComponents/BPDropdownInputComponent.js +0 -40
- package/lib/esnext/bpComponents/BPDropdownInputComponent.js.map +0 -1
- package/lib/esnext/bpComponents/BPFileComponent.d.ts +0 -25
- package/lib/esnext/bpComponents/BPFileComponent.js +0 -52
- package/lib/esnext/bpComponents/BPFileComponent.js.map +0 -1
- package/lib/esnext/bpComponents/BPFolderComponent.d.ts +0 -16
- package/lib/esnext/bpComponents/BPFolderComponent.js +0 -30
- package/lib/esnext/bpComponents/BPFolderComponent.js.map +0 -1
- package/lib/esnext/bpComponents/BPInputComponent.d.ts +0 -11
- package/lib/esnext/bpComponents/BPInputComponent.js +0 -19
- package/lib/esnext/bpComponents/BPInputComponent.js.map +0 -1
- package/lib/esnext/bpComponents/BPLabelledComponent.d.ts +0 -8
- package/lib/esnext/bpComponents/BPLabelledComponent.js +0 -13
- package/lib/esnext/bpComponents/BPLabelledComponent.js.map +0 -1
- package/lib/esnext/bpComponents/BPNumberInputComponent.d.ts +0 -10
- package/lib/esnext/bpComponents/BPNumberInputComponent.js +0 -21
- package/lib/esnext/bpComponents/BPNumberInputComponent.js.map +0 -1
- package/lib/esnext/bpComponents/BPPanelComponent.d.ts +0 -16
- package/lib/esnext/bpComponents/BPPanelComponent.js +0 -31
- package/lib/esnext/bpComponents/BPPanelComponent.js.map +0 -1
- package/lib/esnext/bpComponents/BPSliderInputComponent.d.ts +0 -14
- package/lib/esnext/bpComponents/BPSliderInputComponent.js +0 -39
- package/lib/esnext/bpComponents/BPSliderInputComponent.js.map +0 -1
- package/lib/esnext/bpComponents/BPTextInputComponent.d.ts +0 -7
- package/lib/esnext/bpComponents/BPTextInputComponent.js +0 -15
- package/lib/esnext/bpComponents/BPTextInputComponent.js.map +0 -1
- package/lib/esnext/bpComponents/BPToggleInputComponent.d.ts +0 -8
- package/lib/esnext/bpComponents/BPToggleInputComponent.js +0 -18
- package/lib/esnext/bpComponents/BPToggleInputComponent.js.map +0 -1
- package/lib/esnext/bpComponents/BPTreeComponent.d.ts +0 -36
- package/lib/esnext/bpComponents/BPTreeComponent.js +0 -111
- package/lib/esnext/bpComponents/BPTreeComponent.js.map +0 -1
- package/lib/esnext/bpComponents/BPTreeFolderComponent.d.ts +0 -10
- package/lib/esnext/bpComponents/BPTreeFolderComponent.js +0 -23
- package/lib/esnext/bpComponents/BPTreeFolderComponent.js.map +0 -1
- package/lib/esnext/bpComponents/BPValueComponent.d.ts +0 -16
- package/lib/esnext/bpComponents/BPValueComponent.js +0 -29
- package/lib/esnext/bpComponents/BPValueComponent.js.map +0 -1
- package/lib/esnext/bpComponents/BPVectorInputComponent.d.ts +0 -19
- package/lib/esnext/bpComponents/BPVectorInputComponent.js +0 -93
- package/lib/esnext/bpComponents/BPVectorInputComponent.js.map +0 -1
- package/lib/esnext/components/ConfigurationPanelComponent.d.ts +0 -4
- package/lib/esnext/components/ConfigurationPanelComponent.js +0 -26
- package/lib/esnext/components/ConfigurationPanelComponent.js.map +0 -1
- package/lib/esnext/components/DialogContext.d.ts +0 -48
- package/lib/esnext/components/DialogContext.js +0 -55
- package/lib/esnext/components/DialogContext.js.map +0 -1
- package/lib/esnext/components/DraggableIcon.d.ts +0 -19
- package/lib/esnext/components/DraggableIcon.js +0 -62
- package/lib/esnext/components/DraggableIcon.js.map +0 -1
- package/lib/esnext/components/ExtendedNumericInput.d.ts +0 -25
- package/lib/esnext/components/ExtendedNumericInput.js +0 -151
- package/lib/esnext/components/ExtendedNumericInput.js.map +0 -1
- package/lib/esnext/components/FileComponent.d.ts +0 -7
- package/lib/esnext/components/FileComponent.js +0 -42
- package/lib/esnext/components/FileComponent.js.map +0 -1
- package/lib/esnext/components/FormGroupComponent.d.ts +0 -6
- package/lib/esnext/components/FormGroupComponent.js +0 -11
- package/lib/esnext/components/FormGroupComponent.js.map +0 -1
- package/lib/esnext/components/InspectorStackComponent.d.ts +0 -4
- package/lib/esnext/components/InspectorStackComponent.js +0 -23
- package/lib/esnext/components/InspectorStackComponent.js.map +0 -1
- package/lib/esnext/components/VisualStyleContext.d.ts +0 -119
- package/lib/esnext/components/VisualStyleContext.js +0 -53
- package/lib/esnext/components/VisualStyleContext.js.map +0 -1
- package/lib/esnext/components/bpIconWrapper.d.ts +0 -2
- package/lib/esnext/components/bpIconWrapper.js +0 -5
- package/lib/esnext/components/bpIconWrapper.js.map +0 -1
- package/lib/esnext/components/loadingState.d.ts +0 -4
- package/lib/esnext/components/loadingState.js +0 -12
- package/lib/esnext/components/loadingState.js.map +0 -1
- package/lib/esnext/components/variableIcons.d.ts +0 -40
- package/lib/esnext/components/variableIcons.js +0 -43
- package/lib/esnext/components/variableIcons.js.map +0 -1
- package/lib/esnext/contexts.d.ts +0 -1
- package/lib/esnext/contexts.js +0 -2
- package/lib/esnext/contexts.js.map +0 -1
- package/lib/esnext/index.d.ts +0 -4
- package/lib/esnext/index.js +0 -5
- package/lib/esnext/index.js.map +0 -1
- package/lib/esnext/lib.d.ts +0 -32
- package/lib/esnext/lib.js +0 -33
- package/lib/esnext/lib.js.map +0 -1
- package/lib/esnext/threejs.d.ts +0 -2
- package/lib/esnext/threejs.js +0 -2
- package/lib/esnext/threejs.js.map +0 -1
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import {bpIconWrapper} from "./bpIconWrapper";
|
|
2
|
+
|
|
3
|
+
export const axesXYZIcon = bpIconWrapper(
|
|
4
|
+
<>
|
|
5
|
+
<path
|
|
6
|
+
d="M7.9936 3.24224C7.93511 3.24307 7.87737 3.25542 7.82366 3.27858C7.76994 3.30174 7.72132 3.33526 7.68057 3.37721C7.63981 3.41917 7.60772 3.46874 7.58613 3.52311C7.56454 3.57747 7.55387 3.63555 7.55474 3.69403V9.42589C7.55474 9.54399 7.60165 9.65726 7.68516 9.74077C7.76868 9.82428 7.88194 9.87121 8.00004 9.87121C8.11815 9.87121 8.23141 9.82428 8.31492 9.74077C8.39843 9.65726 8.44535 9.54399 8.44535 9.42589V3.69403C8.44623 3.63446 8.43514 3.57532 8.41275 3.52011C8.39036 3.46489 8.35711 3.41473 8.31498 3.3726C8.27285 3.33047 8.2227 3.29723 8.16749 3.27483C8.11228 3.25244 8.05317 3.24136 7.9936 3.24224Z"
|
|
7
|
+
fill="#00AEEF"/>
|
|
8
|
+
<path
|
|
9
|
+
d="M8.02399 8.96912C7.93893 8.96566 7.85466 8.98665 7.78116 9.02962L2.10753 12.2316C2.05644 12.2602 2.01149 12.2986 1.97526 12.3447C1.93904 12.3907 1.91225 12.4434 1.89643 12.4998C1.88061 12.5562 1.87607 12.6152 1.88308 12.6734C1.89008 12.7315 1.90848 12.7877 1.93723 12.8387C1.96599 12.8898 2.00452 12.9346 2.05064 12.9707C2.09675 13.0069 2.14954 13.0335 2.20597 13.0492C2.26241 13.0649 2.32138 13.0693 2.37952 13.0622C2.43766 13.0551 2.49382 13.0365 2.54479 13.0077L8.21924 9.80492C8.30473 9.75827 8.37257 9.68488 8.41236 9.59599C8.45216 9.5071 8.46171 9.40761 8.43955 9.31277C8.4174 9.21794 8.36476 9.13297 8.28971 9.07091C8.21465 9.00884 8.1213 8.97307 8.02399 8.96912Z"
|
|
10
|
+
fill="#F0513F"/>
|
|
11
|
+
<path
|
|
12
|
+
d="M8.00732 8.96892C7.9074 8.96617 7.80947 8.99711 7.72928 9.05678C7.64909 9.11644 7.59131 9.20135 7.56523 9.29784C7.53915 9.39433 7.54629 9.49678 7.58551 9.58872C7.62473 9.68065 7.69373 9.75673 7.78143 9.80468L13.4551 13.0074C13.506 13.0367 13.5623 13.0557 13.6207 13.0632C13.679 13.0706 13.7383 13.0665 13.795 13.0509C13.8517 13.0354 13.9048 13.0088 13.9512 12.9726C13.9976 12.9364 14.0364 12.8914 14.0653 12.8402C14.0942 12.789 14.1127 12.7325 14.1197 12.6741C14.1267 12.6157 14.122 12.5565 14.106 12.4999C14.09 12.4433 14.063 12.3904 14.0264 12.3443C13.9899 12.2982 13.9446 12.2598 13.8931 12.2313L8.21946 9.02939C8.15494 8.99174 8.082 8.97097 8.00732 8.96892Z"
|
|
13
|
+
fill="#8DC63F"/>
|
|
14
|
+
<path
|
|
15
|
+
d="M9.17377 9.4238C9.17377 9.73511 9.0501 10.0337 8.82997 10.2538C8.60984 10.4739 8.31128 10.5976 7.99997 10.5976C7.68866 10.5976 7.3901 10.4739 7.16997 10.2538C6.94984 10.0337 6.82617 9.73511 6.82617 9.4238C6.82617 9.11249 6.94984 8.81393 7.16997 8.59379C7.3901 8.37366 7.68866 8.25 7.99997 8.25C8.31128 8.25 8.60984 8.37366 8.82997 8.59379C9.0501 8.81393 9.17377 9.11249 9.17377 9.4238Z"
|
|
16
|
+
fill="#FCB021"/>
|
|
17
|
+
<path
|
|
18
|
+
d="M8.00018 7.0625C6.70239 7.0625 5.64453 8.1204 5.64453 9.41815C5.64453 10.7159 6.70243 11.773 8.00018 11.773C9.29798 11.773 10.3558 10.7159 10.3558 9.41815C10.3558 8.12035 9.29794 7.0625 8.00018 7.0625ZM8.00018 7.59657C9.00922 7.59657 9.82181 8.40911 9.82181 9.41819C9.82181 10.4273 9.00926 11.239 8.00018 11.239C6.99115 11.239 6.17939 10.4273 6.17939 9.41819C6.17939 8.40911 6.99115 7.59657 8.00018 7.59657Z"
|
|
19
|
+
fill="#E6E6E8"/>
|
|
20
|
+
<path
|
|
21
|
+
d="M4.09471 7L3.48011 8.81691L4.13748 10.7405H3.51766L3.0421 9.26034H3.03144L2.55043 10.7405H2L2.65737 8.81691L2.04277 7H2.65189L3.09012 8.37868H3.10078L3.54971 7H4.09471Z"
|
|
22
|
+
fill="#F0513F"/>
|
|
23
|
+
<path
|
|
24
|
+
d="M9.90284 14.7822L9.16016 12.2812H9.77473L10.2182 13.9858H10.2289L10.6723 12.2812H11.2334L10.4908 14.7822V16.0218H9.90278L9.90284 14.7822Z"
|
|
25
|
+
fill="#8DC63F"/>
|
|
26
|
+
<path
|
|
27
|
+
d="M11.7207 1.00006V1.5236L10.6039 4.2063H11.7207V4.74054H10V4.21698L11.1168 1.53424H10.0535V1L11.7207 1.00006Z"
|
|
28
|
+
fill="#00AEEF"/>
|
|
29
|
+
<path
|
|
30
|
+
d="M9.16968 3.48709C8.62545 3.688 7.99939 3.68605 7.99939 3.68605C7.99939 3.68605 7.37333 3.68813 6.8291 3.48709C7.35376 2.26637 7.68353 1.55357 7.99939 1C8.31524 1.55357 8.64507 2.26637 9.16968 3.48709Z"
|
|
31
|
+
fill="#00AEEF"/>
|
|
32
|
+
<path
|
|
33
|
+
d="M13.2607 13.738C13.3589 13.1662 13.6736 12.625 13.6736 12.625C13.6736 12.625 13.9849 12.0818 14.431 11.7109C15.2259 12.7757 15.6783 13.4176 15.9997 13.968C15.3625 13.9647 14.5802 13.894 13.2607 13.738Z"
|
|
34
|
+
fill="#8DC63F"/>
|
|
35
|
+
<path
|
|
36
|
+
d="M1.56872 11.7109C2.01485 12.0818 2.32617 12.625 2.32617 12.625C2.32617 12.625 2.64087 13.1661 2.739 13.738C1.41952 13.894 0.637292 13.9648 0 13.968C0.321459 13.4177 0.773891 12.7757 1.56872 11.7109Z"
|
|
37
|
+
fill="#F0513F"/>
|
|
38
|
+
</>
|
|
39
|
+
);
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
export const axesCubeIcon = bpIconWrapper(
|
|
43
|
+
<>
|
|
44
|
+
<path
|
|
45
|
+
d="M512.001 462.06C512.004 461.352 511.915 460.626 511.721 459.944L498.763 414.481C496.105 405.155 481.679 409.265 484.336 418.592L492.096 445.818L378.499 377.595L378.489 247.981C378.489 245.248 376.928 242.64 374.51 241.36L263.491 182.329V59.593L282.618 80.2374C289.267 87.4098 300.176 77.1171 293.622 70.0417L261.493 35.3634C258.604 32.2482 253.378 32.2492 250.488 35.3634L218.359 70.0417C211.769 77.1582 222.77 87.3468 229.364 80.2374L248.49 59.593V182.329L137.472 241.36C135.049 242.617 133.493 245.267 133.493 247.982V377.588L19.8852 445.817L27.6457 418.591C30.3029 409.263 15.8769 405.155 13.2187 414.48L0.260889 459.943C-0.902188 464.035 1.937 468.868 6.5203 469.459L52.2933 478.804C61.4929 480.686 64.6442 466.016 55.2935 464.106L27.8877 458.511L140.877 390.654L252.471 449.991C254.644 451.146 257.341 451.147 259.514 449.991L328.24 413.447C336.802 408.895 329.705 395.679 321.141 400.232L263.492 430.885V313.638L363.489 260.466L363.499 377.481L321.141 400.232C312.78 404.723 319.876 417.94 328.24 413.447L370.904 390.532L484.097 458.51L456.691 464.105C447.326 466.018 450.622 480.659 459.691 478.803L505.473 469.457C509.114 468.984 511.977 465.561 512.001 462.06ZM255.992 300.636L210.623 276.511C202.059 271.959 195.017 285.204 203.579 289.756L248.491 313.638V430.886L148.496 377.715V260.467L203.579 289.756C212.143 294.311 219.185 281.064 210.623 276.511L156.97 247.984L255.992 195.333L355.013 247.984L255.992 300.636Z"
|
|
46
|
+
fill="currentColor"/>
|
|
47
|
+
</>
|
|
48
|
+
, 512);
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
export const axesTetrahedronIcon = bpIconWrapper(
|
|
52
|
+
<>
|
|
53
|
+
<path
|
|
54
|
+
d="M512 462.053C512.002 461.348 511.914 460.624 511.72 459.944L498.762 414.481C496.104 405.158 481.677 409.265 484.335 418.593L492.095 445.818L376.132 376.175L263.491 184.793V59.5944L282.617 80.2388C289.265 87.4122 300.175 77.1176 293.621 70.0431L261.493 35.3649C258.612 32.2477 253.369 32.2487 250.489 35.3649L218.361 70.0431C211.769 77.1576 222.773 87.3522 229.364 80.2388L248.491 59.5944V184.793L200.72 265.959C195.801 274.316 208.729 281.928 213.647 273.568L248.491 214.368V430.885L151.431 379.276L213.647 273.568C218.567 265.21 205.64 257.602 200.72 265.959L135.85 376.176L19.8859 445.818L27.6464 418.593C30.3046 409.265 15.8777 405.158 13.2195 414.481L0.261661 459.944C-0.904414 464.034 1.94177 468.866 6.51406 469.459L52.294 478.804C61.4936 480.686 64.6448 466.017 55.2942 464.107L27.8874 458.512L140.878 390.655L252.47 449.992C254.639 451.145 257.343 451.144 259.512 449.992L304.222 426.219C312.785 421.667 305.742 408.42 297.18 412.974L263.492 430.886V214.368L360.551 379.275L297.18 412.974C288.616 417.527 295.66 430.773 304.222 426.219L371.105 390.653L484.095 458.51L456.688 464.104C447.322 466.018 450.619 480.659 459.688 478.802L505.473 469.456C509.126 468.981 511.973 465.557 512 462.053Z"
|
|
55
|
+
fill="currentColor"/>
|
|
56
|
+
</>
|
|
57
|
+
, 512);
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
export const axesSphereIcon = bpIconWrapper(
|
|
61
|
+
<>
|
|
62
|
+
<path
|
|
63
|
+
d="M511.796 459.976L498.836 414.507C496.177 405.182 481.748 409.29 484.407 418.619L492.168 445.848L371.321 373.272C381.503 354.372 386.894 332.875 386.894 311.409C386.894 241.768 332.212 184.665 263.531 180.764V59.5671L282.66 80.2145C289.309 87.389 300.221 77.0929 293.665 70.0173L261.532 35.334C258.652 32.2163 253.408 32.2173 250.527 35.334L218.394 70.0173C211.802 77.1329 222.807 87.329 229.399 80.2145L248.529 59.5671V180.774C227.352 181.984 206.78 188.292 188.62 199.225C180.31 204.226 188.052 217.087 196.358 212.078C214.32 201.262 234.955 195.547 256.029 195.547C320.551 195.547 373.901 250.719 371.823 315.189C368.383 323.372 354.567 331.858 334.492 338.048C325.345 340.869 330.028 355.121 338.912 352.385C348.526 349.422 359.416 345.184 368.468 339.387C355.92 389.8 310.272 427.271 256.029 427.271C201.783 427.271 156.132 389.794 143.587 339.376C152.127 344.848 162.251 348.904 171.211 351.777C194.757 359.33 224.88 363.489 256.029 363.489C268.892 363.489 281.613 362.789 293.837 361.407C303.474 360.319 301.79 345.369 292.153 346.5C280.485 347.817 268.332 348.486 256.029 348.486C226.393 348.486 197.898 344.581 175.793 337.491C156.72 331.373 143.565 323.096 140.235 315.187C140.195 313.931 140.167 312.674 140.167 311.41C140.167 283.53 150.213 256.59 168.453 235.552C174.806 228.223 163.47 218.394 157.116 225.723C135.162 251.046 124.464 283.555 125.286 316.854C126.123 337.191 131.618 356.344 140.738 373.273L19.8889 445.848L27.6505 418.619C30.3091 409.29 15.88 405.182 13.2215 414.507L0.2617 459.976C-0.904548 464.067 1.94206 468.899 6.51503 469.492L52.3018 478.839C61.5027 480.721 64.6544 466.05 55.3024 464.139L27.8916 458.544L148.601 386.051C172.266 420.008 211.594 442.275 256.029 442.275C300.465 442.275 339.792 420.007 363.457 386.051L484.167 458.544L456.756 464.139C447.389 466.053 450.686 480.696 459.756 478.839L505.548 469.491C509.202 469.014 512.917 464.172 511.796 459.976Z"
|
|
64
|
+
fill="currentColor"/>
|
|
65
|
+
</>
|
|
66
|
+
, 512);
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
export const axesCubeFilledIcon = bpIconWrapper(
|
|
71
|
+
<>
|
|
72
|
+
<path d="M255.992 186.836L140.994 247.983L255.992 309.13L370.988 247.983L255.992 186.836Z"
|
|
73
|
+
fill="#FCF2B4"/>
|
|
74
|
+
<path d="M255.992 308.937V443.369L370.989 382.222V247.984L255.992 308.937Z" fill="#FCE767"/>
|
|
75
|
+
<path d="M320.984 274.488V408.81L370.988 382.222V247.984L320.984 274.488Z" fill="#FCDF2B"/>
|
|
76
|
+
<path d="M140.994 247.984L255.992 308.937V443.369L140.994 382.222V247.984Z" fill="#FCDC19"/>
|
|
77
|
+
<path
|
|
78
|
+
d="M512.001 462.06C512.004 461.352 511.915 460.626 511.721 459.944L498.763 414.481C496.105 405.155 481.679 409.265 484.336 418.592L492.096 445.818L378.499 377.595L378.489 247.981C378.489 245.248 376.928 242.64 374.51 241.36L263.491 182.329V59.593L282.618 80.2374C289.267 87.4098 300.176 77.1171 293.622 70.0417L261.493 35.3634C258.604 32.2482 253.378 32.2492 250.488 35.3634L218.359 70.0417C211.769 77.1582 222.77 87.3468 229.364 80.2374L248.49 59.593V182.329L137.472 241.36C135.049 242.617 133.493 245.267 133.493 247.982V377.588L19.8852 445.817L27.6457 418.591C30.3029 409.263 15.8769 405.155 13.2187 414.48L0.260889 459.943C-0.902188 464.035 1.937 468.868 6.5203 469.459L52.2933 478.804C61.4929 480.686 64.6442 466.016 55.2935 464.106L27.8877 458.511L140.877 390.654L252.471 449.991C254.644 451.146 257.341 451.147 259.514 449.991L328.24 413.447C336.802 408.895 329.705 395.679 321.141 400.232L263.492 430.885V313.638L363.489 260.466L363.499 377.481L321.141 400.232C312.78 404.723 319.876 417.94 328.24 413.447L370.904 390.532L484.097 458.51L456.691 464.105C447.326 466.018 450.622 480.659 459.691 478.803L505.473 469.457C509.114 468.984 511.977 465.561 512.001 462.06ZM255.992 300.636L210.623 276.511C202.059 271.959 195.017 285.204 203.579 289.756L248.491 313.638V430.886L148.496 377.715V260.467L203.579 289.756C212.143 294.311 219.185 281.064 210.623 276.511L156.97 247.984L255.992 195.333L355.013 247.984L255.992 300.636Z"
|
|
79
|
+
fill="currentColor"/>
|
|
80
|
+
</>
|
|
81
|
+
, 512);
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
export const axesTetrahedronFilledIcon = bpIconWrapper(
|
|
85
|
+
<>
|
|
86
|
+
<path d="M255.99 186.836V443.366L370.988 382.22L255.99 186.836Z" fill="#1EE3A5"/>
|
|
87
|
+
<path d="M332.903 402.47L370.988 382.22L255.99 186.836L332.903 402.47Z" fill="#1CD198"/>
|
|
88
|
+
<path d="M255.991 186.836V443.366L140.994 382.22L255.991 186.836Z" fill="#15AA78"/>
|
|
89
|
+
<path
|
|
90
|
+
d="M512 462.053C512.002 461.348 511.914 460.624 511.72 459.944L498.762 414.481C496.104 405.158 481.677 409.265 484.335 418.593L492.095 445.818L376.132 376.175L263.491 184.793V59.5944L282.617 80.2388C289.265 87.4122 300.175 77.1176 293.621 70.0431L261.493 35.3649C258.612 32.2477 253.369 32.2487 250.489 35.3649L218.361 70.0431C211.769 77.1576 222.773 87.3522 229.364 80.2388L248.491 59.5944V184.793L200.72 265.959C195.801 274.316 208.729 281.928 213.647 273.568L248.491 214.368V430.885L151.431 379.276L213.647 273.568C218.567 265.21 205.64 257.602 200.72 265.959L135.85 376.176L19.8859 445.818L27.6464 418.593C30.3046 409.265 15.8777 405.158 13.2195 414.481L0.261661 459.944C-0.904414 464.034 1.94177 468.866 6.51406 469.459L52.294 478.804C61.4936 480.686 64.6448 466.017 55.2942 464.107L27.8874 458.512L140.878 390.655L252.47 449.992C254.639 451.145 257.343 451.144 259.512 449.992L304.222 426.219C312.785 421.667 305.742 408.42 297.18 412.974L263.492 430.886V214.368L360.551 379.275L297.18 412.974C288.616 417.527 295.66 430.773 304.222 426.219L371.105 390.653L484.095 458.51L456.688 464.104C447.322 466.018 450.619 480.659 459.688 478.802L505.473 469.456C509.126 468.981 511.973 465.557 512 462.053Z"
|
|
91
|
+
fill="currentColor"/>
|
|
92
|
+
</>
|
|
93
|
+
, 512);
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
export const axesSphereFilledIcon = bpIconWrapper(
|
|
97
|
+
<>
|
|
98
|
+
<path
|
|
99
|
+
d="M256.027 434.773C324.159 434.773 379.391 379.542 379.391 311.41C379.391 243.278 324.159 188.047 256.027 188.047C187.896 188.047 132.664 243.278 132.664 311.41C132.664 379.542 187.896 434.773 256.027 434.773Z"
|
|
100
|
+
fill="#FF8959"/>
|
|
101
|
+
<path
|
|
102
|
+
d="M256.027 188.047C247.46 188.047 239.096 188.922 231.021 190.584C287.164 202.143 329.379 251.846 329.379 311.411C329.379 370.976 287.164 420.678 231.021 432.238C239.096 433.9 247.46 434.775 256.027 434.775C324.158 434.775 379.39 379.544 379.39 311.412C379.39 243.281 324.159 188.047 256.027 188.047Z"
|
|
103
|
+
fill="#FF7B45"/>
|
|
104
|
+
<path
|
|
105
|
+
d="M256.027 355.988C192.955 355.988 140.109 338.815 132.783 316.68C135.545 382.367 189.661 434.774 256.027 434.774C322.394 434.774 376.51 382.366 379.272 316.68C371.947 338.815 319.1 355.988 256.027 355.988Z"
|
|
106
|
+
fill="#FF6A2E"/>
|
|
107
|
+
<path
|
|
108
|
+
d="M323.616 348.746C310.256 390.871 274.895 423.197 231.021 432.231C239.097 433.894 247.459 434.774 256.027 434.774C322.393 434.774 376.509 382.366 379.271 316.68C374.83 330.101 353.656 341.695 323.616 348.746Z"
|
|
109
|
+
fill="#FC5C1C"/>
|
|
110
|
+
<path
|
|
111
|
+
d="M511.796 459.976L498.836 414.507C496.177 405.182 481.748 409.29 484.407 418.619L492.168 445.848L371.321 373.272C381.503 354.372 386.894 332.875 386.894 311.409C386.894 241.768 332.212 184.665 263.531 180.764V59.5671L282.66 80.2145C289.309 87.389 300.221 77.0929 293.665 70.0173L261.532 35.334C258.652 32.2163 253.408 32.2173 250.527 35.334L218.394 70.0173C211.802 77.1329 222.807 87.329 229.399 80.2145L248.529 59.5671V180.774C227.352 181.984 206.78 188.292 188.62 199.225C180.31 204.226 188.052 217.087 196.358 212.078C214.32 201.262 234.955 195.547 256.029 195.547C320.551 195.547 373.901 250.719 371.823 315.189C368.383 323.372 354.567 331.858 334.492 338.048C325.345 340.869 330.028 355.121 338.912 352.385C348.526 349.422 359.416 345.184 368.468 339.387C355.92 389.8 310.272 427.271 256.029 427.271C201.783 427.271 156.132 389.794 143.587 339.376C152.127 344.848 162.251 348.904 171.211 351.777C194.757 359.33 224.88 363.489 256.029 363.489C268.892 363.489 281.613 362.789 293.837 361.407C303.474 360.319 301.79 345.369 292.153 346.5C280.485 347.817 268.332 348.486 256.029 348.486C226.393 348.486 197.898 344.581 175.793 337.491C156.72 331.373 143.565 323.096 140.235 315.187C140.195 313.931 140.167 312.674 140.167 311.41C140.167 283.53 150.213 256.59 168.453 235.552C174.806 228.223 163.47 218.394 157.116 225.723C135.162 251.046 124.464 283.555 125.286 316.854C126.123 337.191 131.618 356.344 140.738 373.273L19.8889 445.848L27.6505 418.619C30.3091 409.29 15.88 405.182 13.2215 414.507L0.2617 459.976C-0.904548 464.067 1.94206 468.899 6.51503 469.492L52.3018 478.839C61.5027 480.721 64.6544 466.05 55.3024 464.139L27.8916 458.544L148.601 386.051C172.266 420.008 211.594 442.275 256.029 442.275C300.465 442.275 339.792 420.007 363.457 386.051L484.167 458.544L456.756 464.139C447.389 466.053 450.686 480.696 459.756 478.839L505.548 469.491C509.202 469.014 512.917 464.172 511.796 459.976Z"
|
|
112
|
+
fill="currentColor"/>
|
|
113
|
+
</>
|
|
114
|
+
, 512);
|
|
115
|
+
|
|
116
|
+
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
import {ReactNode} from "react";
|
|
1
|
+
import {HTMLAttributes, ReactNode} from "react";
|
|
3
2
|
|
|
4
|
-
|
|
3
|
+
// https://github.com/palantir/blueprint/issues/2348#issuecomment-389322440
|
|
4
|
+
export const bpIconWrapper = (path: ReactNode, viewbox = 16, svgProps?: HTMLAttributes<SVGElement>, className?: string) => {
|
|
5
5
|
return (
|
|
6
|
-
<span className="bp5-icon">
|
|
6
|
+
<span className={"bp5-icon" + (className ? ` ${className}` : '')} role="img" aria-label="icon">
|
|
7
7
|
<svg
|
|
8
8
|
xmlns="http://www.w3.org/2000/svg"
|
|
9
9
|
x="0"
|
|
@@ -12,6 +12,7 @@ export const bpIconWrapper = (path: ReactNode, viewbox = 16) => {
|
|
|
12
12
|
height="16"
|
|
13
13
|
role="img"
|
|
14
14
|
viewBox={`0 0 ${viewbox} ${viewbox}`}
|
|
15
|
+
{...svgProps}
|
|
15
16
|
>
|
|
16
17
|
{path}
|
|
17
18
|
</svg>
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
@import './tree2.scss';
|
|
1
2
|
|
|
2
3
|
.bpButton {
|
|
3
4
|
display: flex;
|
|
4
5
|
justify-content: space-between;
|
|
6
|
+
min-height: 24px;
|
|
7
|
+
//max-height: 40px;
|
|
5
8
|
}
|
|
6
9
|
|
|
7
10
|
.bpIconButton {
|
|
@@ -25,3 +28,17 @@
|
|
|
25
28
|
.hidden{
|
|
26
29
|
display: none;
|
|
27
30
|
}
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
// see iconMapping.ts
|
|
34
|
+
// https://stackoverflow.com/a/19563399/2229899
|
|
35
|
+
// https://stackoverflow.com/a/72792696/2229899
|
|
36
|
+
.bpIconWrapperMonoFilter{
|
|
37
|
+
filter: sepia(1) hue-rotate(calc(215deg - 50deg)) saturate(0.5) brightness(0.5);
|
|
38
|
+
.bp5-dark & {
|
|
39
|
+
filter: sepia(1) hue-rotate(calc(215deg - 50deg)) saturate(0.5) brightness(0.8);
|
|
40
|
+
:hover{
|
|
41
|
+
filter: sepia(1) hue-rotate(calc(215deg - 50deg)) saturate(0.5) brightness(1.1);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,354 @@
|
|
|
1
|
+
import {
|
|
2
|
+
hIcon3,
|
|
3
|
+
uIcon3,
|
|
4
|
+
vIcon3,
|
|
5
|
+
wIcon3,
|
|
6
|
+
xIcon1,
|
|
7
|
+
xIcon10,
|
|
8
|
+
xIcon11,
|
|
9
|
+
xIcon12,
|
|
10
|
+
xIcon2,
|
|
11
|
+
xIcon3,
|
|
12
|
+
xIcon4,
|
|
13
|
+
xIcon5,
|
|
14
|
+
xIcon6,
|
|
15
|
+
xIcon7,
|
|
16
|
+
xIcon8,
|
|
17
|
+
xIcon9,
|
|
18
|
+
yIcon1,
|
|
19
|
+
yIcon10,
|
|
20
|
+
yIcon11,
|
|
21
|
+
yIcon12,
|
|
22
|
+
yIcon2,
|
|
23
|
+
yIcon3,
|
|
24
|
+
yIcon4,
|
|
25
|
+
yIcon5,
|
|
26
|
+
yIcon6,
|
|
27
|
+
yIcon7,
|
|
28
|
+
yIcon8,
|
|
29
|
+
yIcon9,
|
|
30
|
+
zIcon1,
|
|
31
|
+
zIcon10,
|
|
32
|
+
zIcon11,
|
|
33
|
+
zIcon12,
|
|
34
|
+
zIcon2,
|
|
35
|
+
zIcon3,
|
|
36
|
+
zIcon4,
|
|
37
|
+
zIcon5,
|
|
38
|
+
zIcon6,
|
|
39
|
+
zIcon7,
|
|
40
|
+
zIcon8,
|
|
41
|
+
zIcon9
|
|
42
|
+
} from './variableIcons'
|
|
43
|
+
import {
|
|
44
|
+
axesCubeFilledIcon,
|
|
45
|
+
axesCubeIcon,
|
|
46
|
+
axesSphereFilledIcon,
|
|
47
|
+
axesSphereIcon,
|
|
48
|
+
axesTetrahedronFilledIcon,
|
|
49
|
+
axesTetrahedronIcon,
|
|
50
|
+
axesXYZIcon,
|
|
51
|
+
} from './axesIcons'
|
|
52
|
+
import {
|
|
53
|
+
shape3dAbstract1Icon,
|
|
54
|
+
shape3dAbstract2Icon,
|
|
55
|
+
shape3dAbstract3Icon,
|
|
56
|
+
shape3dAbstractFilled1Icon,
|
|
57
|
+
shape3dAbstractFilled2Icon,
|
|
58
|
+
shape3dAbstractFilled3Icon,
|
|
59
|
+
shape3dHexagon1Icon,
|
|
60
|
+
shape3dHexagonFilled1Icon,
|
|
61
|
+
shape3dMultiplicationFilledIcon,
|
|
62
|
+
shape3dMultiplicationIcon,
|
|
63
|
+
shape3dPentagon1Icon,
|
|
64
|
+
shape3dPentagonFilled1Icon,
|
|
65
|
+
shape3dPlusFilledIcon,
|
|
66
|
+
shape3dPlusIcon,
|
|
67
|
+
shape3dShapesIcon,
|
|
68
|
+
shape3dStar1Icon,
|
|
69
|
+
shape3dStarFilled1Icon,
|
|
70
|
+
shapeAxesCubeFilledIcon,
|
|
71
|
+
shapeAxesCubeIcon,
|
|
72
|
+
shapeAxesPyramidFilledIcon,
|
|
73
|
+
shapeAxesPyramidIcon,
|
|
74
|
+
shapeAxesSphereFilledIcon,
|
|
75
|
+
shapeAxesSphereIcon,
|
|
76
|
+
shapeCone1Icon,
|
|
77
|
+
shapeCone2Icon,
|
|
78
|
+
shapeConeFilled1Icon,
|
|
79
|
+
shapeConeFilled2Icon,
|
|
80
|
+
shapeCube1Icon,
|
|
81
|
+
shapeCubeCut1Icon,
|
|
82
|
+
shapeCubeCut2Icon,
|
|
83
|
+
shapeCubeCutFilled1Icon,
|
|
84
|
+
shapeCubeCutFilled2Icon,
|
|
85
|
+
shapeCubeFilled1Icon,
|
|
86
|
+
shapeCubeTransparentFilledIcon,
|
|
87
|
+
shapeCubeTransparentIcon,
|
|
88
|
+
shapeCuboid1Icon,
|
|
89
|
+
shapeCuboidFilled1Icon,
|
|
90
|
+
shapeCylinder1Icon,
|
|
91
|
+
shapeCylinder2Icon,
|
|
92
|
+
shapeCylinderFilled1Icon,
|
|
93
|
+
shapeCylinderFilled2Icon,
|
|
94
|
+
shapeCylinderSkewedFilledIcon,
|
|
95
|
+
shapeCylinderSkewedIcon,
|
|
96
|
+
shapeCylinderSteps1Icon,
|
|
97
|
+
shapeCylinderStepsFilled1Icon,
|
|
98
|
+
shapeCylinderTransparentFilledIcon,
|
|
99
|
+
shapeCylinderTransparentIcon,
|
|
100
|
+
shapeDiamond1Icon,
|
|
101
|
+
shapeDiamond2Icon,
|
|
102
|
+
shapeDiamond3Icon,
|
|
103
|
+
shapeDiamondFilled1Icon,
|
|
104
|
+
shapeDiamondFilled2Icon,
|
|
105
|
+
shapeDiamondFilled3Icon,
|
|
106
|
+
shapeDodecahedronFilledIcon,
|
|
107
|
+
shapeDodecahedronIcon,
|
|
108
|
+
shapeHorseshoe1Icon,
|
|
109
|
+
shapeHorseshoe2Icon,
|
|
110
|
+
shapeHorseshoeFilled1Icon,
|
|
111
|
+
shapeHorseshoeFilled2Icon,
|
|
112
|
+
shapeHourglass1Icon,
|
|
113
|
+
shapeHourglass2Icon,
|
|
114
|
+
shapeHourglassFilled1Icon,
|
|
115
|
+
shapeHourglassFilled2Icon,
|
|
116
|
+
shapeOctahedronTransparentFilledIcon,
|
|
117
|
+
shapeOctahedronTransparentIcon,
|
|
118
|
+
shapePyramid1Icon,
|
|
119
|
+
shapePyramid2Icon,
|
|
120
|
+
shapePyramid3Icon,
|
|
121
|
+
shapePyramid4Icon,
|
|
122
|
+
shapePyramid5Icon,
|
|
123
|
+
shapePyramidFilled1Icon,
|
|
124
|
+
shapePyramidFilled2Icon,
|
|
125
|
+
shapePyramidFilled3Icon,
|
|
126
|
+
shapePyramidFilled4Icon,
|
|
127
|
+
shapePyramidFilled5Icon,
|
|
128
|
+
shapePyramidTransparentFilledIcon,
|
|
129
|
+
shapePyramidTransparentIcon,
|
|
130
|
+
shapeRhombus1Icon,
|
|
131
|
+
shapeRhombusFilled1Icon,
|
|
132
|
+
shapeSphere1Icon,
|
|
133
|
+
shapeSphere2Icon,
|
|
134
|
+
shapeSphereCut1Icon,
|
|
135
|
+
shapeSphereCutFilled1Icon,
|
|
136
|
+
shapeSphereFilled1Icon,
|
|
137
|
+
shapeSphereFilled2Icon,
|
|
138
|
+
shapeSphereMultiFilledIcon,
|
|
139
|
+
shapeSphereMultiIcon,
|
|
140
|
+
shapeSphereSkewedFilledIcon,
|
|
141
|
+
shapeSphereSkewedIcon,
|
|
142
|
+
shapeSphereTransparentFilledIcon,
|
|
143
|
+
shapeSphereTransparentIcon,
|
|
144
|
+
shapeStepsFilledIcon,
|
|
145
|
+
shapeStepsIcon,
|
|
146
|
+
shapeTorusFilledIcon,
|
|
147
|
+
shapeTorusIcon,
|
|
148
|
+
shapeTrapezium1Icon,
|
|
149
|
+
shapeTrapezium2Icon,
|
|
150
|
+
shapeTrapeziumFilled1Icon,
|
|
151
|
+
shapeTrapeziumFilled2Icon
|
|
152
|
+
} from './shapesIcons'
|
|
153
|
+
import {HTMLAttributes, ReactElement} from 'react'
|
|
154
|
+
|
|
155
|
+
const monoIcon = (icon: (props: HTMLAttributes<SVGElement>)=>ReactElement)=>(props?: HTMLAttributes<SVGElement>)=>icon({...props, className: 'bpIconWrapperMonoFilter ' + (props?.className||'')})
|
|
156
|
+
|
|
157
|
+
export const bpUiConfigIcons = {
|
|
158
|
+
'x-1': xIcon1,
|
|
159
|
+
'y-1': yIcon1,
|
|
160
|
+
'z-1': zIcon1,
|
|
161
|
+
'x-2': xIcon2,
|
|
162
|
+
'y-2': yIcon2,
|
|
163
|
+
'z-2': zIcon2,
|
|
164
|
+
'x-3': xIcon3,
|
|
165
|
+
'y-3': yIcon3,
|
|
166
|
+
'z-3': zIcon3,
|
|
167
|
+
'u-3': uIcon3,
|
|
168
|
+
'v-3': vIcon3,
|
|
169
|
+
'w-3': wIcon3,
|
|
170
|
+
'h-3': hIcon3,
|
|
171
|
+
'x-4': xIcon4,
|
|
172
|
+
'y-4': yIcon4,
|
|
173
|
+
'z-4': zIcon4,
|
|
174
|
+
'x-5': xIcon5,
|
|
175
|
+
'y-5': yIcon5,
|
|
176
|
+
'z-5': zIcon5,
|
|
177
|
+
'x-6': xIcon6,
|
|
178
|
+
'y-6': yIcon6,
|
|
179
|
+
'z-6': zIcon6,
|
|
180
|
+
'x-7': xIcon7,
|
|
181
|
+
'y-7': yIcon7,
|
|
182
|
+
'z-7': zIcon7,
|
|
183
|
+
'x-8': xIcon8,
|
|
184
|
+
'y-8': yIcon8,
|
|
185
|
+
'z-8': zIcon8,
|
|
186
|
+
'x-9': xIcon9,
|
|
187
|
+
'y-9': yIcon9,
|
|
188
|
+
'z-9': zIcon9,
|
|
189
|
+
'x-10': xIcon10,
|
|
190
|
+
'y-10': yIcon10,
|
|
191
|
+
'z-10': zIcon10,
|
|
192
|
+
'x-11': xIcon11,
|
|
193
|
+
'y-11': yIcon11,
|
|
194
|
+
'z-11': zIcon11,
|
|
195
|
+
'x-12': xIcon12,
|
|
196
|
+
'y-12': yIcon12,
|
|
197
|
+
'z-12': zIcon12,
|
|
198
|
+
'axes-xyz': axesXYZIcon,
|
|
199
|
+
'axes-cube': axesCubeIcon,
|
|
200
|
+
'axes-tetrahedron': axesTetrahedronIcon,
|
|
201
|
+
'axes-sphere': axesSphereIcon,
|
|
202
|
+
'axes-cube-filled': axesCubeFilledIcon,
|
|
203
|
+
'axes-tetrahedron-filled': axesTetrahedronFilledIcon,
|
|
204
|
+
'axes-sphere-filled': axesSphereFilledIcon,
|
|
205
|
+
|
|
206
|
+
'shape-cone-filled-1': shapeConeFilled1Icon,
|
|
207
|
+
'shape-cone-filled-mono-1': monoIcon(shapeConeFilled1Icon),
|
|
208
|
+
'shape-cone-1': shapeCone1Icon,
|
|
209
|
+
'shape-sphere-filled-1': shapeSphereFilled1Icon,
|
|
210
|
+
'shape-sphere-filled-mono-1': monoIcon(shapeSphereFilled1Icon),
|
|
211
|
+
'shape-sphere-1': shapeSphere1Icon,
|
|
212
|
+
'shape-cube-filled-1': shapeCubeFilled1Icon,
|
|
213
|
+
'shape-cube-filled-mono-1': monoIcon(shapeCubeFilled1Icon),
|
|
214
|
+
'shape-cube-1': shapeCube1Icon,
|
|
215
|
+
'shape-cylinder-filled-1': shapeCylinderFilled1Icon,
|
|
216
|
+
'shape-cylinder-filled-mono-1': monoIcon(shapeCylinderFilled1Icon),
|
|
217
|
+
'shape-cylinder-1': shapeCylinder1Icon,
|
|
218
|
+
'shape-pyramid-filled-1': shapePyramidFilled1Icon,
|
|
219
|
+
'shape-pyramid-filled-mono-1': monoIcon(shapePyramidFilled1Icon),
|
|
220
|
+
'shape-pyramid-1': shapePyramid1Icon,
|
|
221
|
+
'shape-rhombus-filled-1': shapeRhombusFilled1Icon,
|
|
222
|
+
'shape-rhombus-filled-mono-1': monoIcon(shapeRhombusFilled1Icon),
|
|
223
|
+
'shape-rhombus-1': shapeRhombus1Icon,
|
|
224
|
+
'shape-3d-hexagon-filled-1': shape3dHexagonFilled1Icon,
|
|
225
|
+
'shape-3d-hexagon-filled-mono-1': monoIcon(shape3dHexagonFilled1Icon),
|
|
226
|
+
'shape-3d-hexagon-1': shape3dHexagon1Icon,
|
|
227
|
+
'shape-pyramid-filled-2': shapePyramidFilled2Icon,
|
|
228
|
+
'shape-pyramid-filled-mono-2': monoIcon(shapePyramidFilled2Icon),
|
|
229
|
+
'shape-pyramid-2': shapePyramid2Icon,
|
|
230
|
+
'shape-3d-star-filled-1': shape3dStarFilled1Icon,
|
|
231
|
+
'shape-3d-star-filled-mono-1': monoIcon(shape3dStarFilled1Icon),
|
|
232
|
+
'shape-3d-star-1': shape3dStar1Icon,
|
|
233
|
+
'shape-cuboid-filled-1': shapeCuboidFilled1Icon,
|
|
234
|
+
'shape-cuboid-filled-mono-1': monoIcon(shapeCuboidFilled1Icon),
|
|
235
|
+
'shape-cuboid-1': shapeCuboid1Icon,
|
|
236
|
+
'shape-cylinder-steps-filled-1': shapeCylinderStepsFilled1Icon,
|
|
237
|
+
'shape-cylinder-steps-filled-mono-1': monoIcon(shapeCylinderStepsFilled1Icon),
|
|
238
|
+
'shape-cylinder-steps-1': shapeCylinderSteps1Icon,
|
|
239
|
+
'shape-trapezium-filled-1': shapeTrapeziumFilled1Icon,
|
|
240
|
+
'shape-trapezium-filled-mono-1': monoIcon(shapeTrapeziumFilled1Icon),
|
|
241
|
+
'shape-trapezium-1': shapeTrapezium1Icon,
|
|
242
|
+
'shape-sphere-cut-filled-1': shapeSphereCutFilled1Icon,
|
|
243
|
+
'shape-sphere-cut-filled-mono-1': monoIcon(shapeSphereCutFilled1Icon),
|
|
244
|
+
'shape-sphere-cut-1': shapeSphereCut1Icon,
|
|
245
|
+
'shape-trapezium-filled-2': shapeTrapeziumFilled2Icon,
|
|
246
|
+
'shape-trapezium-filled-mono-2': monoIcon(shapeTrapeziumFilled2Icon),
|
|
247
|
+
'shape-trapezium-2': shapeTrapezium2Icon,
|
|
248
|
+
'shape-pyramid-filled-3': shapePyramidFilled3Icon,
|
|
249
|
+
'shape-pyramid-filled-mono-3': monoIcon(shapePyramidFilled3Icon),
|
|
250
|
+
'shape-pyramid-3': shapePyramid3Icon,
|
|
251
|
+
'shape-hourglass-filled-1': shapeHourglassFilled1Icon,
|
|
252
|
+
'shape-hourglass-filled-mono-1': monoIcon(shapeHourglassFilled1Icon),
|
|
253
|
+
'shape-hourglass-1': shapeHourglass1Icon,
|
|
254
|
+
'shape-cube-cut-filled-1': shapeCubeCutFilled1Icon,
|
|
255
|
+
'shape-cube-cut-filled-mono-1': monoIcon(shapeCubeCutFilled1Icon),
|
|
256
|
+
'shape-cube-cut-1': shapeCubeCut1Icon,
|
|
257
|
+
'shape-torus-filled': shapeTorusFilledIcon,
|
|
258
|
+
'shape-torus-filled-mono': monoIcon(shapeTorusFilledIcon),
|
|
259
|
+
'shape-torus': shapeTorusIcon,
|
|
260
|
+
'shape-3d-abstract-filled-1': shape3dAbstractFilled1Icon,
|
|
261
|
+
'shape-3d-abstract-filled-mono-1': monoIcon(shape3dAbstractFilled1Icon),
|
|
262
|
+
'shape-3d-abstract-1': shape3dAbstract1Icon,
|
|
263
|
+
'shape-cylinder-filled-2': shapeCylinderFilled2Icon,
|
|
264
|
+
'shape-cylinder-filled-mono-2': monoIcon(shapeCylinderFilled2Icon),
|
|
265
|
+
'shape-cylinder-2': shapeCylinder2Icon,
|
|
266
|
+
'shape-3d-pentagon-filled-1': shape3dPentagonFilled1Icon,
|
|
267
|
+
'shape-3d-pentagon-filled-mono-1': monoIcon(shape3dPentagonFilled1Icon),
|
|
268
|
+
'shape-3d-pentagon-1': shape3dPentagon1Icon,
|
|
269
|
+
'shape-horseshoe-filled-1': shapeHorseshoeFilled1Icon,
|
|
270
|
+
'shape-horseshoe-filled-mono-1': monoIcon(shapeHorseshoeFilled1Icon),
|
|
271
|
+
'shape-horseshoe-1': shapeHorseshoe1Icon,
|
|
272
|
+
'shape-steps-filled': shapeStepsFilledIcon,
|
|
273
|
+
'shape-steps-filled-mono': monoIcon(shapeStepsFilledIcon),
|
|
274
|
+
'shape-steps': shapeStepsIcon,
|
|
275
|
+
'shape-hourglass-filled-2': shapeHourglassFilled2Icon,
|
|
276
|
+
'shape-hourglass-filled-mono-2': monoIcon(shapeHourglassFilled2Icon),
|
|
277
|
+
'shape-hourglass-2': shapeHourglass2Icon,
|
|
278
|
+
'shape-3d-abstract-filled-2': shape3dAbstractFilled2Icon,
|
|
279
|
+
'shape-3d-abstract-filled-mono-2': monoIcon(shape3dAbstractFilled2Icon),
|
|
280
|
+
'shape-3d-abstract-2': shape3dAbstract2Icon,
|
|
281
|
+
'shape-diamond-filled-1': shapeDiamondFilled1Icon,
|
|
282
|
+
'shape-diamond-filled-mono-1': monoIcon(shapeDiamondFilled1Icon),
|
|
283
|
+
'shape-diamond-1': shapeDiamond1Icon,
|
|
284
|
+
'shape-diamond-filled-2': shapeDiamondFilled2Icon,
|
|
285
|
+
'shape-diamond-filled-mono-2': monoIcon(shapeDiamondFilled2Icon),
|
|
286
|
+
'shape-diamond-2': shapeDiamond2Icon,
|
|
287
|
+
'shape-dodecahedron-filled': shapeDodecahedronFilledIcon,
|
|
288
|
+
'shape-dodecahedron-filled-mono': monoIcon(shapeDodecahedronFilledIcon),
|
|
289
|
+
'shape-dodecahedron': shapeDodecahedronIcon,
|
|
290
|
+
'shape-3d-plus-filled': shape3dPlusFilledIcon,
|
|
291
|
+
'shape-3d-plus-filled-mono': monoIcon(shape3dPlusFilledIcon),
|
|
292
|
+
'shape-3d-plus': shape3dPlusIcon,
|
|
293
|
+
'shape-diamond-filled-3': shapeDiamondFilled3Icon,
|
|
294
|
+
'shape-diamond-filled-mono-3': monoIcon(shapeDiamondFilled3Icon),
|
|
295
|
+
'shape-diamond-3': shapeDiamond3Icon,
|
|
296
|
+
'shape-cone-filled-2': shapeConeFilled2Icon,
|
|
297
|
+
'shape-cone-filled-mono-2': monoIcon(shapeConeFilled2Icon),
|
|
298
|
+
'shape-cone-2': shapeCone2Icon,
|
|
299
|
+
'shape-3d-multiplication-filled': shape3dMultiplicationFilledIcon,
|
|
300
|
+
'shape-3d-multiplication-filled-mono': monoIcon(shape3dMultiplicationFilledIcon),
|
|
301
|
+
'shape-3d-multiplication': shape3dMultiplicationIcon,
|
|
302
|
+
'shape-3d-abstract-filled-3': shape3dAbstractFilled3Icon,
|
|
303
|
+
'shape-3d-abstract-filled-mono-3': monoIcon(shape3dAbstractFilled3Icon),
|
|
304
|
+
'shape-3d-abstract-3': shape3dAbstract3Icon,
|
|
305
|
+
'shape-sphere-skewed-filled': shapeSphereSkewedFilledIcon,
|
|
306
|
+
'shape-sphere-skewed-filled-mono': monoIcon(shapeSphereSkewedFilledIcon),
|
|
307
|
+
'shape-sphere-skewed': shapeSphereSkewedIcon,
|
|
308
|
+
'shape-cylinder-skewed-filled': shapeCylinderSkewedFilledIcon,
|
|
309
|
+
'shape-cylinder-skewed-filled-mono': monoIcon(shapeCylinderSkewedFilledIcon),
|
|
310
|
+
'shape-cylinder-skewed': shapeCylinderSkewedIcon,
|
|
311
|
+
'shape-horseshoe-filled-2': shapeHorseshoeFilled2Icon,
|
|
312
|
+
'shape-horseshoe-filled-mono-2': monoIcon(shapeHorseshoeFilled2Icon),
|
|
313
|
+
'shape-horseshoe-2': shapeHorseshoe2Icon,
|
|
314
|
+
'shape-sphere-filled-2': shapeSphereFilled2Icon,
|
|
315
|
+
'shape-sphere-filled-mono-2': monoIcon(shapeSphereFilled2Icon),
|
|
316
|
+
'shape-sphere-2': shapeSphere2Icon,
|
|
317
|
+
'shape-pyramid-filled-4': shapePyramidFilled4Icon,
|
|
318
|
+
'shape-pyramid-filled-mono-4': monoIcon(shapePyramidFilled4Icon),
|
|
319
|
+
'shape-pyramid-4': shapePyramid4Icon,
|
|
320
|
+
'shape-pyramid-filled-5': shapePyramidFilled5Icon,
|
|
321
|
+
'shape-pyramid-filled-mono-5': monoIcon(shapePyramidFilled5Icon),
|
|
322
|
+
'shape-pyramid-5': shapePyramid5Icon,
|
|
323
|
+
'shape-octahedron-transparent-filled': shapeOctahedronTransparentFilledIcon,
|
|
324
|
+
'shape-octahedron-transparent-filled-mono': monoIcon(shapeOctahedronTransparentFilledIcon),
|
|
325
|
+
'shape-octahedron-transparent': shapeOctahedronTransparentIcon,
|
|
326
|
+
'shape-cube-transparent-filled': shapeCubeTransparentFilledIcon,
|
|
327
|
+
'shape-cube-transparent-filled-mono': monoIcon(shapeCubeTransparentFilledIcon),
|
|
328
|
+
'shape-cube-transparent': shapeCubeTransparentIcon,
|
|
329
|
+
'shape-pyramid-transparent-filled': shapePyramidTransparentFilledIcon,
|
|
330
|
+
'shape-pyramid-transparent-filled-mono': monoIcon(shapePyramidTransparentFilledIcon),
|
|
331
|
+
'shape-pyramid-transparent': shapePyramidTransparentIcon,
|
|
332
|
+
'shape-sphere-transparent-filled': shapeSphereTransparentFilledIcon,
|
|
333
|
+
'shape-sphere-transparent-filled-mono': monoIcon(shapeSphereTransparentFilledIcon),
|
|
334
|
+
'shape-sphere-transparent': shapeSphereTransparentIcon,
|
|
335
|
+
'shape-cylinder-transparent-filled': shapeCylinderTransparentFilledIcon,
|
|
336
|
+
'shape-cylinder-transparent-filled-mono': monoIcon(shapeCylinderTransparentFilledIcon),
|
|
337
|
+
'shape-cylinder-transparent': shapeCylinderTransparentIcon,
|
|
338
|
+
'shape-axes-cube-filled': shapeAxesCubeFilledIcon,
|
|
339
|
+
'shape-axes-cube-filled-mono': monoIcon(shapeAxesCubeFilledIcon),
|
|
340
|
+
'shape-axes-cube': shapeAxesCubeIcon,
|
|
341
|
+
'shape-axes-pyramid-filled': shapeAxesPyramidFilledIcon,
|
|
342
|
+
'shape-axes-pyramid-filled-mono': monoIcon(shapeAxesPyramidFilledIcon),
|
|
343
|
+
'shape-axes-pyramid': shapeAxesPyramidIcon,
|
|
344
|
+
'shape-axes-sphere-filled': shapeAxesSphereFilledIcon,
|
|
345
|
+
'shape-axes-sphere-filled-mono': monoIcon(shapeAxesSphereFilledIcon),
|
|
346
|
+
'shape-axes-sphere': shapeAxesSphereIcon,
|
|
347
|
+
'shape-3d-shapes': shape3dShapesIcon,
|
|
348
|
+
'shape-cube-cut-filled-2': shapeCubeCutFilled2Icon,
|
|
349
|
+
'shape-cube-cut-filled-mono-2': monoIcon(shapeCubeCutFilled2Icon),
|
|
350
|
+
'shape-cube-cut-2': shapeCubeCut2Icon,
|
|
351
|
+
'shape-sphere-multi-filled': shapeSphereMultiFilledIcon,
|
|
352
|
+
'shape-sphere-multi-filled-mono': monoIcon(shapeSphereMultiFilledIcon),
|
|
353
|
+
'shape-sphere-multi': shapeSphereMultiIcon,
|
|
354
|
+
} as const
|
|
@@ -9,3 +9,12 @@ export function useLoadingState(){
|
|
|
9
9
|
}, [loadingState])
|
|
10
10
|
return {loadingState, updateLoading}
|
|
11
11
|
}
|
|
12
|
+
export function useLoadingStateKey(){
|
|
13
|
+
const [loadingState, setLoadingState] = useState<boolean>(false)
|
|
14
|
+
const updateLoading = useCallback(async (promise?: Promise<any>|void) => {
|
|
15
|
+
if(!promise || promise.then === undefined) return setLoadingState(false)
|
|
16
|
+
setLoadingState(true)
|
|
17
|
+
await promise.then(() => setLoadingState(false))
|
|
18
|
+
}, [loadingState])
|
|
19
|
+
return {loadingState, updateLoading}
|
|
20
|
+
}
|