@reltio/components 1.4.1844 → 1.4.1846
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/cjs/EmptyState/EmptyState.d.ts +1 -0
- package/cjs/EmptyState/EmptyState.js +3 -1
- package/cjs/features/graph/DataModelGraph/DataModelGraph.d.ts +12 -0
- package/cjs/features/graph/DataModelGraph/DataModelGraph.js +28 -0
- package/cjs/features/graph/DataModelGraph/DataModelGraph.test.d.ts +1 -0
- package/cjs/features/graph/DataModelGraph/DataModelGraph.test.js +63 -0
- package/cjs/features/graph/DataModelGraph/components/DataModelCircleLayout/DataModelCircleLayuot.d.ts +11 -0
- package/cjs/features/graph/DataModelGraph/components/DataModelCircleLayout/DataModelCircleLayuot.js +21 -0
- package/cjs/features/graph/DataModelGraph/helpers/edgeLabelHelpers.d.ts +9 -0
- package/cjs/features/graph/DataModelGraph/helpers/edgeLabelHelpers.js +38 -0
- package/cjs/features/graph/DataModelGraph/helpers/edgeLabelHelpers.test.d.ts +1 -0
- package/cjs/features/graph/DataModelGraph/helpers/edgeLabelHelpers.test.js +74 -0
- package/cjs/features/graph/DataModelGraph/hooks/defaultGraph.test-data.d.ts +2 -0
- package/cjs/features/graph/DataModelGraph/hooks/defaultGraph.test-data.js +52 -0
- package/cjs/features/graph/DataModelGraph/hooks/useDataModelGraphAppearance.d.ts +17 -0
- package/cjs/features/graph/DataModelGraph/hooks/useDataModelGraphAppearance.js +139 -0
- package/cjs/features/graph/DataModelGraph/hooks/useDataModelGraphAppearance.test.d.ts +1 -0
- package/cjs/features/graph/DataModelGraph/hooks/useDataModelGraphAppearance.test.js +192 -0
- package/cjs/features/graph/DataModelGraph/hooks/useEdgeLabelsRenderer.d.ts +10 -0
- package/cjs/features/graph/DataModelGraph/hooks/useEdgeLabelsRenderer.js +171 -0
- package/cjs/features/graph/DataModelGraph/hooks/useEdgeLabelsRenderer.test.d.ts +1 -0
- package/cjs/features/graph/DataModelGraph/hooks/useEdgeLabelsRenderer.test.js +176 -0
- package/cjs/features/graph/DataModelGraph/hooks/useFakeCenterNode.d.ts +8 -0
- package/cjs/features/graph/DataModelGraph/hooks/useFakeCenterNode.js +36 -0
- package/cjs/features/graph/DataModelGraph/hooks/useFakeCenterNode.test.d.ts +1 -0
- package/cjs/features/graph/DataModelGraph/hooks/useFakeCenterNode.test.js +37 -0
- package/cjs/features/graph/DataModelGraph/hooks/useSelectedNodeRenderer.d.ts +2 -0
- package/cjs/features/graph/DataModelGraph/hooks/useSelectedNodeRenderer.js +41 -0
- package/cjs/features/graph/DataModelGraph/hooks/useSelectedNodeRenderer.test.d.ts +1 -0
- package/cjs/features/graph/DataModelGraph/hooks/useSelectedNodeRenderer.test.js +63 -0
- package/cjs/features/graph/DataModelGraph/icons/interaction.inline.svg.d.ts +1 -0
- package/cjs/features/graph/DataModelGraph/icons/interaction.inline.svg.js +4 -0
- package/cjs/features/graph/DataModelGraph/index.d.ts +1 -0
- package/cjs/features/graph/DataModelGraph/index.js +5 -0
- package/cjs/features/graph/DataModelGraph/styles.d.ts +1 -0
- package/cjs/features/graph/DataModelGraph/styles.js +26 -0
- package/cjs/features/graph/SigmaCustomRenderersContainer/SigmaCustomRenderersContainer.d.ts +6 -0
- package/cjs/features/graph/SigmaCustomRenderersContainer/SigmaCustomRenderersContainer.js +15 -0
- package/cjs/features/graph/SigmaCustomRenderersContainer/index.d.ts +1 -0
- package/cjs/features/graph/SigmaCustomRenderersContainer/index.js +5 -0
- package/cjs/features/graph/SigmaGraphContainer/SigmaGraphContainer.d.ts +9 -0
- package/cjs/features/graph/SigmaGraphContainer/SigmaGraphContainer.js +86 -0
- package/cjs/features/graph/SigmaGraphContainer/SigmaGraphContainer.test.d.ts +1 -0
- package/cjs/features/graph/SigmaGraphContainer/SigmaGraphContainer.test.js +26 -0
- package/cjs/features/graph/SigmaGraphContainer/index.d.ts +1 -0
- package/cjs/features/graph/SigmaGraphContainer/index.js +5 -0
- package/cjs/features/graph/SigmaGraphResizer/SigmaGraphResizer.d.ts +1 -0
- package/cjs/features/graph/SigmaGraphResizer/SigmaGraphResizer.js +40 -0
- package/cjs/features/graph/SigmaGraphResizer/SigmaGraphResizer.test.d.ts +1 -0
- package/cjs/features/graph/SigmaGraphResizer/SigmaGraphResizer.test.js +37 -0
- package/cjs/features/graph/SigmaGraphResizer/index.d.ts +1 -0
- package/cjs/features/graph/SigmaGraphResizer/index.js +5 -0
- package/cjs/features/graph/ZoomSlider/ZoomSlider.d.ts +7 -0
- package/cjs/features/graph/ZoomSlider/ZoomSlider.js +113 -0
- package/cjs/features/graph/ZoomSlider/ZoomSlider.test.d.ts +1 -0
- package/cjs/features/graph/ZoomSlider/ZoomSlider.test.js +83 -0
- package/cjs/features/graph/ZoomSlider/index.d.ts +1 -0
- package/cjs/features/graph/ZoomSlider/index.js +5 -0
- package/cjs/features/graph/ZoomSlider/styles.d.ts +1 -0
- package/cjs/features/graph/ZoomSlider/styles.js +63 -0
- package/cjs/features/graph/contexts/SigmaCustomRenderersContext.d.ts +9 -0
- package/cjs/features/graph/contexts/SigmaCustomRenderersContext.js +15 -0
- package/cjs/features/graph/hooks/useAnimatedGraphLayout.d.ts +13 -0
- package/cjs/features/graph/hooks/useAnimatedGraphLayout.js +35 -0
- package/cjs/features/graph/hooks/useCircleLayout.d.ts +9 -0
- package/cjs/features/graph/hooks/useCircleLayout.js +50 -0
- package/cjs/features/graph/hooks/useLoopRenderer.d.ts +5 -0
- package/cjs/features/graph/hooks/useLoopRenderer.js +47 -0
- package/cjs/features/graph/hooks/useLoopRenderer.test.d.ts +1 -0
- package/cjs/features/graph/hooks/useLoopRenderer.test.js +221 -0
- package/cjs/features/graph/hooks/useSigmaCustomRenderers.d.ts +7 -0
- package/cjs/features/graph/hooks/useSigmaCustomRenderers.js +95 -0
- package/cjs/features/graph/hooks/useSigmaCustomRenderers.test.d.ts +1 -0
- package/cjs/features/graph/hooks/useSigmaCustomRenderers.test.js +200 -0
- package/cjs/features/graph/index.d.ts +16 -0
- package/cjs/features/graph/index.js +34 -0
- package/cjs/features/graph/rendering/canvas/hover.d.ts +2 -0
- package/cjs/features/graph/rendering/canvas/hover.js +10 -0
- package/cjs/features/graph/rendering/canvas/hover.spec.d.ts +1 -0
- package/cjs/features/graph/rendering/canvas/hover.spec.js +26 -0
- package/cjs/features/graph/rendering/canvas/label.d.ts +7 -0
- package/cjs/features/graph/rendering/canvas/label.js +32 -0
- package/cjs/features/graph/rendering/canvas/label.spec.d.ts +1 -0
- package/cjs/features/graph/rendering/canvas/label.spec.js +81 -0
- package/cjs/features/graph/rendering/canvas/labelBackground.d.ts +9 -0
- package/cjs/features/graph/rendering/canvas/labelBackground.js +37 -0
- package/cjs/features/graph/rendering/canvas/labelBackground.spec.d.ts +1 -0
- package/cjs/features/graph/rendering/canvas/labelBackground.spec.js +92 -0
- package/cjs/features/graph/rendering/canvas/nodeArc.d.ts +10 -0
- package/cjs/features/graph/rendering/canvas/nodeArc.js +33 -0
- package/cjs/features/graph/rendering/canvas/selfRelationLoop.d.ts +11 -0
- package/cjs/features/graph/rendering/canvas/selfRelationLoop.js +73 -0
- package/cjs/features/graph/rendering/canvas/selfRelationLoop.spec.d.ts +1 -0
- package/cjs/features/graph/rendering/canvas/selfRelationLoop.spec.js +92 -0
- package/cjs/features/graph/rendering/canvas/tooltip.d.ts +2 -0
- package/cjs/features/graph/rendering/canvas/tooltip.js +28 -0
- package/cjs/features/graph/rendering/canvas/tooltip.spec.d.ts +1 -0
- package/cjs/features/graph/rendering/canvas/tooltip.spec.js +32 -0
- package/cjs/features/graph/rendering/canvas/utils.d.ts +4 -0
- package/cjs/features/graph/rendering/canvas/utils.js +10 -0
- package/cjs/features/graph/rendering/canvas/utils.spec.d.ts +1 -0
- package/cjs/features/graph/rendering/canvas/utils.spec.js +22 -0
- package/cjs/features/graph/rendering/icons/no_photo.inline.svg.d.ts +1 -0
- package/cjs/features/graph/rendering/icons/no_photo.inline.svg.js +4 -0
- package/cjs/features/graph/rendering/webgl/edge.arrowHead.d.ts +8 -0
- package/cjs/features/graph/rendering/webgl/edge.arrowHead.js +84 -0
- package/cjs/features/graph/rendering/webgl/edge.clamped.d.ts +29 -0
- package/cjs/features/graph/rendering/webgl/edge.clamped.js +176 -0
- package/cjs/features/graph/rendering/webgl/edge.dashed.d.ts +23 -0
- package/cjs/features/graph/rendering/webgl/edge.dashed.js +162 -0
- package/cjs/features/graph/rendering/webgl/edge.reversedArrowHead.d.ts +5 -0
- package/cjs/features/graph/rendering/webgl/edge.reversedArrowHead.js +32 -0
- package/cjs/features/graph/rendering/webgl/helpers/imageHelper.d.ts +17 -0
- package/cjs/features/graph/rendering/webgl/helpers/imageHelper.js +9 -0
- package/cjs/features/graph/rendering/webgl/helpers/imageHelper.spec.d.ts +1 -0
- package/cjs/features/graph/rendering/webgl/helpers/imageHelper.spec.js +29 -0
- package/cjs/features/graph/rendering/webgl/image.d.ts +17 -0
- package/cjs/features/graph/rendering/webgl/image.js +115 -0
- package/cjs/features/graph/rendering/webgl/node.border.d.ts +11 -0
- package/cjs/features/graph/rendering/webgl/node.border.js +79 -0
- package/cjs/features/graph/rendering/webgl/node.dashed.border.d.ts +11 -0
- package/cjs/features/graph/rendering/webgl/node.dashed.border.js +77 -0
- package/cjs/features/graph/rendering/webgl/node.image.d.ts +18 -0
- package/cjs/features/graph/rendering/webgl/node.image.js +147 -0
- package/cjs/features/graph/rendering/webgl/shaders/edge.clamped.vert.glsl.d.ts +1 -0
- package/cjs/features/graph/rendering/webgl/shaders/edge.clamped.vert.glsl.js +8 -0
- package/cjs/features/graph/rendering/webgl/shaders/edge.dashed.frag.glsl.d.ts +1 -0
- package/cjs/features/graph/rendering/webgl/shaders/edge.dashed.frag.glsl.js +8 -0
- package/cjs/features/graph/rendering/webgl/shaders/edge.dashed.vert.glsl.d.ts +1 -0
- package/cjs/features/graph/rendering/webgl/shaders/edge.dashed.vert.glsl.js +8 -0
- package/cjs/features/graph/rendering/webgl/shaders/node.border.frag.glsl.d.ts +1 -0
- package/cjs/features/graph/rendering/webgl/shaders/node.border.frag.glsl.js +9 -0
- package/cjs/features/graph/rendering/webgl/shaders/node.border.vert.glsl.d.ts +1 -0
- package/cjs/features/graph/rendering/webgl/shaders/node.border.vert.glsl.js +8 -0
- package/cjs/features/graph/rendering/webgl/shaders/node.dashed.border.frag.glsl.d.ts +1 -0
- package/cjs/features/graph/rendering/webgl/shaders/node.dashed.border.frag.glsl.js +8 -0
- package/cjs/features/graph/rendering/webgl/shaders/node.image.frag.glsl.d.ts +1 -0
- package/cjs/features/graph/rendering/webgl/shaders/node.image.frag.glsl.js +5 -0
- package/cjs/features/graph/rendering/webgl/shaders/node.image.vert.glsl.d.ts +1 -0
- package/cjs/features/graph/rendering/webgl/shaders/node.image.vert.glsl.js +8 -0
- package/cjs/features/graph/rendering/webgl/shaders/utils.d.ts +1 -0
- package/cjs/features/graph/rendering/webgl/shaders/utils.js +4 -0
- package/cjs/features/graph/types/graphDataTypes.d.ts +51 -0
- package/cjs/features/graph/types/graphDataTypes.js +8 -0
- package/cjs/features/graph/types/sigmaCustomRenderersTypes.d.ts +11 -0
- package/cjs/features/graph/types/sigmaCustomRenderersTypes.js +2 -0
- package/cjs/icons/EmptyLoading.d.ts +3 -0
- package/cjs/icons/EmptyLoading.js +150 -0
- package/cjs/icons/index.d.ts +1 -0
- package/cjs/icons/index.js +4 -2
- package/cjs/index.d.ts +1 -0
- package/cjs/index.js +2 -0
- package/esm/EmptyState/EmptyState.d.ts +1 -0
- package/esm/EmptyState/EmptyState.js +3 -1
- package/esm/features/graph/DataModelGraph/DataModelGraph.d.ts +12 -0
- package/esm/features/graph/DataModelGraph/DataModelGraph.js +21 -0
- package/esm/features/graph/DataModelGraph/DataModelGraph.test.d.ts +1 -0
- package/esm/features/graph/DataModelGraph/DataModelGraph.test.js +58 -0
- package/esm/features/graph/DataModelGraph/components/DataModelCircleLayout/DataModelCircleLayuot.d.ts +11 -0
- package/esm/features/graph/DataModelGraph/components/DataModelCircleLayout/DataModelCircleLayuot.js +17 -0
- package/esm/features/graph/DataModelGraph/helpers/edgeLabelHelpers.d.ts +9 -0
- package/esm/features/graph/DataModelGraph/helpers/edgeLabelHelpers.js +33 -0
- package/esm/features/graph/DataModelGraph/helpers/edgeLabelHelpers.test.d.ts +1 -0
- package/esm/features/graph/DataModelGraph/helpers/edgeLabelHelpers.test.js +72 -0
- package/esm/features/graph/DataModelGraph/hooks/defaultGraph.test-data.d.ts +2 -0
- package/esm/features/graph/DataModelGraph/hooks/defaultGraph.test-data.js +45 -0
- package/esm/features/graph/DataModelGraph/hooks/useDataModelGraphAppearance.d.ts +17 -0
- package/esm/features/graph/DataModelGraph/hooks/useDataModelGraphAppearance.js +135 -0
- package/esm/features/graph/DataModelGraph/hooks/useDataModelGraphAppearance.test.d.ts +1 -0
- package/esm/features/graph/DataModelGraph/hooks/useDataModelGraphAppearance.test.js +190 -0
- package/esm/features/graph/DataModelGraph/hooks/useEdgeLabelsRenderer.d.ts +10 -0
- package/esm/features/graph/DataModelGraph/hooks/useEdgeLabelsRenderer.js +167 -0
- package/esm/features/graph/DataModelGraph/hooks/useEdgeLabelsRenderer.test.d.ts +1 -0
- package/esm/features/graph/DataModelGraph/hooks/useEdgeLabelsRenderer.test.js +174 -0
- package/esm/features/graph/DataModelGraph/hooks/useFakeCenterNode.d.ts +8 -0
- package/esm/features/graph/DataModelGraph/hooks/useFakeCenterNode.js +32 -0
- package/esm/features/graph/DataModelGraph/hooks/useFakeCenterNode.test.d.ts +1 -0
- package/esm/features/graph/DataModelGraph/hooks/useFakeCenterNode.test.js +35 -0
- package/esm/features/graph/DataModelGraph/hooks/useSelectedNodeRenderer.d.ts +2 -0
- package/esm/features/graph/DataModelGraph/hooks/useSelectedNodeRenderer.js +37 -0
- package/esm/features/graph/DataModelGraph/hooks/useSelectedNodeRenderer.test.d.ts +1 -0
- package/esm/features/graph/DataModelGraph/hooks/useSelectedNodeRenderer.test.js +61 -0
- package/esm/features/graph/DataModelGraph/icons/interaction.inline.svg.d.ts +1 -0
- package/esm/features/graph/DataModelGraph/icons/interaction.inline.svg.js +1 -0
- package/esm/features/graph/DataModelGraph/index.d.ts +1 -0
- package/esm/features/graph/DataModelGraph/index.js +1 -0
- package/esm/features/graph/DataModelGraph/styles.d.ts +1 -0
- package/esm/features/graph/DataModelGraph/styles.js +23 -0
- package/esm/features/graph/SigmaCustomRenderersContainer/SigmaCustomRenderersContainer.d.ts +6 -0
- package/esm/features/graph/SigmaCustomRenderersContainer/SigmaCustomRenderersContainer.js +8 -0
- package/esm/features/graph/SigmaCustomRenderersContainer/index.d.ts +1 -0
- package/esm/features/graph/SigmaCustomRenderersContainer/index.js +1 -0
- package/esm/features/graph/SigmaGraphContainer/SigmaGraphContainer.d.ts +9 -0
- package/esm/features/graph/SigmaGraphContainer/SigmaGraphContainer.js +56 -0
- package/esm/features/graph/SigmaGraphContainer/SigmaGraphContainer.test.d.ts +1 -0
- package/esm/features/graph/SigmaGraphContainer/SigmaGraphContainer.test.js +21 -0
- package/esm/features/graph/SigmaGraphContainer/index.d.ts +1 -0
- package/esm/features/graph/SigmaGraphContainer/index.js +1 -0
- package/esm/features/graph/SigmaGraphResizer/SigmaGraphResizer.d.ts +1 -0
- package/esm/features/graph/SigmaGraphResizer/SigmaGraphResizer.js +10 -0
- package/esm/features/graph/SigmaGraphResizer/SigmaGraphResizer.test.d.ts +1 -0
- package/esm/features/graph/SigmaGraphResizer/SigmaGraphResizer.test.js +32 -0
- package/esm/features/graph/SigmaGraphResizer/index.d.ts +1 -0
- package/esm/features/graph/SigmaGraphResizer/index.js +1 -0
- package/esm/features/graph/ZoomSlider/ZoomSlider.d.ts +7 -0
- package/esm/features/graph/ZoomSlider/ZoomSlider.js +83 -0
- package/esm/features/graph/ZoomSlider/ZoomSlider.test.d.ts +1 -0
- package/esm/features/graph/ZoomSlider/ZoomSlider.test.js +78 -0
- package/esm/features/graph/ZoomSlider/index.d.ts +1 -0
- package/esm/features/graph/ZoomSlider/index.js +1 -0
- package/esm/features/graph/ZoomSlider/styles.d.ts +1 -0
- package/esm/features/graph/ZoomSlider/styles.js +60 -0
- package/esm/features/graph/contexts/SigmaCustomRenderersContext.d.ts +9 -0
- package/esm/features/graph/contexts/SigmaCustomRenderersContext.js +11 -0
- package/esm/features/graph/hooks/useAnimatedGraphLayout.d.ts +13 -0
- package/esm/features/graph/hooks/useAnimatedGraphLayout.js +31 -0
- package/esm/features/graph/hooks/useCircleLayout.d.ts +9 -0
- package/esm/features/graph/hooks/useCircleLayout.js +43 -0
- package/esm/features/graph/hooks/useLoopRenderer.d.ts +5 -0
- package/esm/features/graph/hooks/useLoopRenderer.js +43 -0
- package/esm/features/graph/hooks/useLoopRenderer.test.d.ts +1 -0
- package/esm/features/graph/hooks/useLoopRenderer.test.js +219 -0
- package/esm/features/graph/hooks/useSigmaCustomRenderers.d.ts +7 -0
- package/esm/features/graph/hooks/useSigmaCustomRenderers.js +91 -0
- package/esm/features/graph/hooks/useSigmaCustomRenderers.test.d.ts +1 -0
- package/esm/features/graph/hooks/useSigmaCustomRenderers.test.js +198 -0
- package/esm/features/graph/index.d.ts +16 -0
- package/esm/features/graph/index.js +17 -0
- package/esm/features/graph/rendering/canvas/hover.d.ts +2 -0
- package/esm/features/graph/rendering/canvas/hover.js +6 -0
- package/esm/features/graph/rendering/canvas/hover.spec.d.ts +1 -0
- package/esm/features/graph/rendering/canvas/hover.spec.js +24 -0
- package/esm/features/graph/rendering/canvas/label.d.ts +7 -0
- package/esm/features/graph/rendering/canvas/label.js +28 -0
- package/esm/features/graph/rendering/canvas/label.spec.d.ts +1 -0
- package/esm/features/graph/rendering/canvas/label.spec.js +79 -0
- package/esm/features/graph/rendering/canvas/labelBackground.d.ts +9 -0
- package/esm/features/graph/rendering/canvas/labelBackground.js +33 -0
- package/esm/features/graph/rendering/canvas/labelBackground.spec.d.ts +1 -0
- package/esm/features/graph/rendering/canvas/labelBackground.spec.js +90 -0
- package/esm/features/graph/rendering/canvas/nodeArc.d.ts +10 -0
- package/esm/features/graph/rendering/canvas/nodeArc.js +27 -0
- package/esm/features/graph/rendering/canvas/selfRelationLoop.d.ts +11 -0
- package/esm/features/graph/rendering/canvas/selfRelationLoop.js +69 -0
- package/esm/features/graph/rendering/canvas/selfRelationLoop.spec.d.ts +1 -0
- package/esm/features/graph/rendering/canvas/selfRelationLoop.spec.js +90 -0
- package/esm/features/graph/rendering/canvas/tooltip.d.ts +2 -0
- package/esm/features/graph/rendering/canvas/tooltip.js +25 -0
- package/esm/features/graph/rendering/canvas/tooltip.spec.d.ts +1 -0
- package/esm/features/graph/rendering/canvas/tooltip.spec.js +30 -0
- package/esm/features/graph/rendering/canvas/utils.d.ts +4 -0
- package/esm/features/graph/rendering/canvas/utils.js +6 -0
- package/esm/features/graph/rendering/canvas/utils.spec.d.ts +1 -0
- package/esm/features/graph/rendering/canvas/utils.spec.js +20 -0
- package/esm/features/graph/rendering/icons/no_photo.inline.svg.d.ts +1 -0
- package/esm/features/graph/rendering/icons/no_photo.inline.svg.js +1 -0
- package/esm/features/graph/rendering/webgl/edge.arrowHead.d.ts +8 -0
- package/esm/features/graph/rendering/webgl/edge.arrowHead.js +79 -0
- package/esm/features/graph/rendering/webgl/edge.clamped.d.ts +29 -0
- package/esm/features/graph/rendering/webgl/edge.clamped.js +171 -0
- package/esm/features/graph/rendering/webgl/edge.dashed.d.ts +23 -0
- package/esm/features/graph/rendering/webgl/edge.dashed.js +160 -0
- package/esm/features/graph/rendering/webgl/edge.reversedArrowHead.d.ts +5 -0
- package/esm/features/graph/rendering/webgl/edge.reversedArrowHead.js +27 -0
- package/esm/features/graph/rendering/webgl/helpers/imageHelper.d.ts +17 -0
- package/esm/features/graph/rendering/webgl/helpers/imageHelper.js +5 -0
- package/esm/features/graph/rendering/webgl/helpers/imageHelper.spec.d.ts +1 -0
- package/esm/features/graph/rendering/webgl/helpers/imageHelper.spec.js +27 -0
- package/esm/features/graph/rendering/webgl/image.d.ts +17 -0
- package/esm/features/graph/rendering/webgl/image.js +112 -0
- package/esm/features/graph/rendering/webgl/node.border.d.ts +11 -0
- package/esm/features/graph/rendering/webgl/node.border.js +76 -0
- package/esm/features/graph/rendering/webgl/node.dashed.border.d.ts +11 -0
- package/esm/features/graph/rendering/webgl/node.dashed.border.js +74 -0
- package/esm/features/graph/rendering/webgl/node.image.d.ts +18 -0
- package/esm/features/graph/rendering/webgl/node.image.js +144 -0
- package/esm/features/graph/rendering/webgl/shaders/edge.clamped.vert.glsl.d.ts +1 -0
- package/esm/features/graph/rendering/webgl/shaders/edge.clamped.vert.glsl.js +5 -0
- package/esm/features/graph/rendering/webgl/shaders/edge.dashed.frag.glsl.d.ts +1 -0
- package/esm/features/graph/rendering/webgl/shaders/edge.dashed.frag.glsl.js +5 -0
- package/esm/features/graph/rendering/webgl/shaders/edge.dashed.vert.glsl.d.ts +1 -0
- package/esm/features/graph/rendering/webgl/shaders/edge.dashed.vert.glsl.js +5 -0
- package/esm/features/graph/rendering/webgl/shaders/node.border.frag.glsl.d.ts +1 -0
- package/esm/features/graph/rendering/webgl/shaders/node.border.frag.glsl.js +6 -0
- package/esm/features/graph/rendering/webgl/shaders/node.border.vert.glsl.d.ts +1 -0
- package/esm/features/graph/rendering/webgl/shaders/node.border.vert.glsl.js +5 -0
- package/esm/features/graph/rendering/webgl/shaders/node.dashed.border.frag.glsl.d.ts +1 -0
- package/esm/features/graph/rendering/webgl/shaders/node.dashed.border.frag.glsl.js +5 -0
- package/esm/features/graph/rendering/webgl/shaders/node.image.frag.glsl.d.ts +1 -0
- package/esm/features/graph/rendering/webgl/shaders/node.image.frag.glsl.js +2 -0
- package/esm/features/graph/rendering/webgl/shaders/node.image.vert.glsl.d.ts +1 -0
- package/esm/features/graph/rendering/webgl/shaders/node.image.vert.glsl.js +5 -0
- package/esm/features/graph/rendering/webgl/shaders/utils.d.ts +1 -0
- package/esm/features/graph/rendering/webgl/shaders/utils.js +1 -0
- package/esm/features/graph/types/graphDataTypes.d.ts +51 -0
- package/esm/features/graph/types/graphDataTypes.js +5 -0
- package/esm/features/graph/types/sigmaCustomRenderersTypes.d.ts +11 -0
- package/esm/features/graph/types/sigmaCustomRenderersTypes.js +1 -0
- package/esm/icons/EmptyLoading.d.ts +3 -0
- package/esm/icons/EmptyLoading.js +145 -0
- package/esm/icons/index.d.ts +1 -0
- package/esm/icons/index.js +1 -0
- package/esm/index.d.ts +1 -0
- package/esm/index.js +2 -0
- package/package.json +7 -2
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.NodeImageProgram = void 0;
|
|
19
|
+
/*
|
|
20
|
+
* This class copies sigma/rendering/webgl/programs/node.image, but with a some
|
|
21
|
+
* difference: it can change color of picture for inactive state
|
|
22
|
+
* Program rendering nodes using GL_POINTS, but that draws an image on top of
|
|
23
|
+
* the classic colored disc.
|
|
24
|
+
*/
|
|
25
|
+
var node_image_vert_glsl_1 = require("./shaders/node.image.vert.glsl");
|
|
26
|
+
var node_image_frag_glsl_1 = require("./shaders/node.image.frag.glsl");
|
|
27
|
+
var node_1 = require("sigma/rendering/webgl/programs/common/node");
|
|
28
|
+
var utils_1 = require("sigma/utils");
|
|
29
|
+
var mdm_sdk_1 = require("@reltio/mdm-sdk");
|
|
30
|
+
var no_photo_inline_svg_1 = require("../icons/no_photo.inline.svg");
|
|
31
|
+
var image_1 = require("./image");
|
|
32
|
+
var POINTS = 1;
|
|
33
|
+
var ATTRIBUTES = 9;
|
|
34
|
+
var defaultImage = { id: 'defaultImage', path: (0, mdm_sdk_1.svg2Url)(no_photo_inline_svg_1.DEFAULT_PROFILE_IMAGE) };
|
|
35
|
+
/*
|
|
36
|
+
* To share the texture between the program instances of the graph and the
|
|
37
|
+
* hovered nodes (to prevent some flickering, mostly), this program must be
|
|
38
|
+
* "built" for each sigma instance:
|
|
39
|
+
*/
|
|
40
|
+
var NodeImageProgram = /** @class */ (function (_super) {
|
|
41
|
+
__extends(NodeImageProgram, _super);
|
|
42
|
+
function NodeImageProgram(gl, renderer) {
|
|
43
|
+
var _this = _super.call(this, gl, node_image_vert_glsl_1.vertexShaderSource, node_image_frag_glsl_1.fragmentShaderSource, POINTS, ATTRIBUTES) || this;
|
|
44
|
+
_this.imageLoader = new image_1.WebGLImageLoader();
|
|
45
|
+
_this.imageLoader.rebindTextureFns.push(function () {
|
|
46
|
+
if (_this && _this.rebindTexture)
|
|
47
|
+
_this.rebindTexture();
|
|
48
|
+
if (renderer && renderer.refresh)
|
|
49
|
+
renderer.refresh();
|
|
50
|
+
});
|
|
51
|
+
_this.imageLoader.textureImage = new ImageData(1, 1);
|
|
52
|
+
// Attribute Location
|
|
53
|
+
_this.textureLocation = gl.getAttribLocation(_this.program, 'a_texture');
|
|
54
|
+
_this.inactive = gl.getAttribLocation(_this.program, 'a_inactive');
|
|
55
|
+
// Uniform Location
|
|
56
|
+
var atlasLocation = gl.getUniformLocation(_this.program, 'u_atlas');
|
|
57
|
+
if (atlasLocation === null)
|
|
58
|
+
throw new Error('NodeProgramImage: error while getting atlasLocation');
|
|
59
|
+
_this.atlasLocation = atlasLocation;
|
|
60
|
+
// Initialize WebGL texture:
|
|
61
|
+
_this.texture = gl.createTexture();
|
|
62
|
+
gl.bindTexture(gl.TEXTURE_2D, _this.texture);
|
|
63
|
+
gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, 1, 1, 0, gl.RGBA, gl.UNSIGNED_BYTE, new Uint8Array([0, 0, 0, 0]));
|
|
64
|
+
_this.imageLoader.loadImage(defaultImage.id, defaultImage.path);
|
|
65
|
+
_this.bind();
|
|
66
|
+
return _this;
|
|
67
|
+
}
|
|
68
|
+
NodeImageProgram.prototype.bind = function () {
|
|
69
|
+
_super.prototype.bind.call(this);
|
|
70
|
+
var gl = this.gl;
|
|
71
|
+
gl.enableVertexAttribArray(this.textureLocation);
|
|
72
|
+
gl.enableVertexAttribArray(this.inactive);
|
|
73
|
+
gl.vertexAttribPointer(this.inactive, 1, gl.FLOAT, false, this.attributes * Float32Array.BYTES_PER_ELEMENT, 16);
|
|
74
|
+
gl.vertexAttribPointer(this.textureLocation, 4, gl.FLOAT, false, this.attributes * Float32Array.BYTES_PER_ELEMENT, 20);
|
|
75
|
+
};
|
|
76
|
+
NodeImageProgram.prototype.process = function (data, hidden, offset) {
|
|
77
|
+
var array = this.array;
|
|
78
|
+
var i = offset * POINTS * ATTRIBUTES;
|
|
79
|
+
var imageSource = data.image;
|
|
80
|
+
var imageState = imageSource && this.imageLoader.images[imageSource];
|
|
81
|
+
if (typeof imageSource === 'string' && !imageState) {
|
|
82
|
+
this.imageLoader.loadImage(imageSource, imageSource);
|
|
83
|
+
}
|
|
84
|
+
if (hidden) {
|
|
85
|
+
array[i++] = 0;
|
|
86
|
+
array[i++] = 0;
|
|
87
|
+
array[i++] = 0;
|
|
88
|
+
array[i++] = 0;
|
|
89
|
+
array[i++] = 0;
|
|
90
|
+
// Texture:
|
|
91
|
+
array[i++] = 0;
|
|
92
|
+
array[i++] = 0;
|
|
93
|
+
array[i++] = 0;
|
|
94
|
+
array[i++] = 0;
|
|
95
|
+
return;
|
|
96
|
+
}
|
|
97
|
+
array[i++] = data.x; // position of center
|
|
98
|
+
array[i++] = data.y;
|
|
99
|
+
array[i++] = data.size; // size
|
|
100
|
+
array[i++] = (0, utils_1.floatColor)(data.color); // color
|
|
101
|
+
array[i++] = data.inactive ? 1 : 0; // inactive property
|
|
102
|
+
// Reference texture:
|
|
103
|
+
if (!imageState || imageState.status !== 'ready') {
|
|
104
|
+
imageState = this.imageLoader.images[defaultImage.id];
|
|
105
|
+
}
|
|
106
|
+
if (imageState && imageState.status === 'ready') {
|
|
107
|
+
var _a = this.imageLoader.textureImage, width = _a.width, height = _a.height;
|
|
108
|
+
array[i++] = imageState.x / width;
|
|
109
|
+
array[i++] = imageState.y / height;
|
|
110
|
+
array[i++] = imageState.width / width;
|
|
111
|
+
array[i++] = imageState.height / height;
|
|
112
|
+
}
|
|
113
|
+
else {
|
|
114
|
+
array[i++] = 0;
|
|
115
|
+
array[i++] = 0;
|
|
116
|
+
array[i++] = 0;
|
|
117
|
+
array[i++] = 0;
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
NodeImageProgram.prototype.render = function (params) {
|
|
121
|
+
if (this.hasNothingToRender())
|
|
122
|
+
return;
|
|
123
|
+
this.latestRenderParams = params;
|
|
124
|
+
var gl = this.gl;
|
|
125
|
+
var program = this.program;
|
|
126
|
+
gl.useProgram(program);
|
|
127
|
+
gl.uniform1f(this.ratioLocation, 1 / Math.sqrt(params.ratio));
|
|
128
|
+
gl.uniform1f(this.scaleLocation, params.scalingRatio);
|
|
129
|
+
gl.uniformMatrix3fv(this.matrixLocation, false, params.matrix);
|
|
130
|
+
gl.uniform1i(this.atlasLocation, 0);
|
|
131
|
+
gl.drawArrays(gl.POINTS, 0, this.array.length / ATTRIBUTES);
|
|
132
|
+
};
|
|
133
|
+
NodeImageProgram.prototype.rebindTexture = function () {
|
|
134
|
+
var gl = this.gl;
|
|
135
|
+
gl.activeTexture(gl.TEXTURE0);
|
|
136
|
+
gl.bindTexture(gl.TEXTURE_2D, this.texture);
|
|
137
|
+
gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, this.imageLoader.textureImage);
|
|
138
|
+
gl.generateMipmap(gl.TEXTURE_2D);
|
|
139
|
+
if (this.latestRenderParams) {
|
|
140
|
+
this.bind();
|
|
141
|
+
this.bufferData();
|
|
142
|
+
this.render(this.latestRenderParams);
|
|
143
|
+
}
|
|
144
|
+
};
|
|
145
|
+
return NodeImageProgram;
|
|
146
|
+
}(node_1.AbstractNodeProgram));
|
|
147
|
+
exports.NodeImageProgram = NodeImageProgram;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const vertexShaderSource = "\nattribute vec4 a_color;\nattribute vec2 a_normal;\nattribute vec2 a_position;\nattribute float a_radius;\nattribute float a_arrowSizeRatio;\n\nuniform mat3 u_matrix;\nuniform float u_sqrtZoomRatio;\nuniform float u_correctionRatio;\n\nvarying vec4 v_color;\nvarying vec2 v_normal;\nvarying float v_thickness;\n\nconst float minThickness = 1.7;\nconst float bias = 255.0 / 254.0;\nconst float arrowHeadLengthThicknessRatio = 2.5;\n\nvoid main() {\n float normalLength = length(a_normal);\n vec2 unitNormal = a_normal / normalLength;\n\n // These first computations are taken from edge.vert.glsl. Please read it to\n // get better comments on what's happening:\n float pixelsThickness = max(normalLength, minThickness * u_sqrtZoomRatio);\n float webGLThickness = pixelsThickness * u_correctionRatio;\n float adaptedWebGLThickness = webGLThickness * u_sqrtZoomRatio;\n\n // our change - apply a_arrowSizeRatio depending on current zoom and minThickness\n float arrowSizeCoefficient = min(a_arrowSizeRatio, a_arrowSizeRatio / (u_sqrtZoomRatio * minThickness));\n\n // Here, we move the point to leave space for the arrow head:\n float direction = sign(a_radius);\n float adaptedWebGLNodeRadius = direction * a_radius * 2.0 * u_correctionRatio * u_sqrtZoomRatio;\n\n float adaptedWebGLArrowHeadLength = adaptedWebGLThickness * 2.0 * arrowHeadLengthThicknessRatio * arrowSizeCoefficient;\n\n\n vec2 compensationVector = vec2(-direction * unitNormal.y, direction * unitNormal.x) * (adaptedWebGLNodeRadius + adaptedWebGLArrowHeadLength);\n\n // Here is the proper position of the vertex\n gl_Position = vec4((u_matrix * vec3(a_position + unitNormal * adaptedWebGLThickness + compensationVector, 1)).xy, 0, 1);\n\n v_thickness = webGLThickness / u_sqrtZoomRatio;\n\n v_normal = unitNormal;\n v_color = a_color;\n v_color.a *= bias;\n}";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* This file copies sigma/src/rendering/webgl/shaders/edge.clamped.vert.glsl, but with a some
|
|
4
|
+
* difference: added calculation of arrowSizeCoefficient using a_arrowSizeRatio attribute
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.vertexShaderSource = void 0;
|
|
8
|
+
exports.vertexShaderSource = "\nattribute vec4 a_color;\nattribute vec2 a_normal;\nattribute vec2 a_position;\nattribute float a_radius;\nattribute float a_arrowSizeRatio;\n\nuniform mat3 u_matrix;\nuniform float u_sqrtZoomRatio;\nuniform float u_correctionRatio;\n\nvarying vec4 v_color;\nvarying vec2 v_normal;\nvarying float v_thickness;\n\nconst float minThickness = 1.7;\nconst float bias = 255.0 / 254.0;\nconst float arrowHeadLengthThicknessRatio = 2.5;\n\nvoid main() {\n float normalLength = length(a_normal);\n vec2 unitNormal = a_normal / normalLength;\n\n // These first computations are taken from edge.vert.glsl. Please read it to\n // get better comments on what's happening:\n float pixelsThickness = max(normalLength, minThickness * u_sqrtZoomRatio);\n float webGLThickness = pixelsThickness * u_correctionRatio;\n float adaptedWebGLThickness = webGLThickness * u_sqrtZoomRatio;\n\n // our change - apply a_arrowSizeRatio depending on current zoom and minThickness\n float arrowSizeCoefficient = min(a_arrowSizeRatio, a_arrowSizeRatio / (u_sqrtZoomRatio * minThickness));\n\n // Here, we move the point to leave space for the arrow head:\n float direction = sign(a_radius);\n float adaptedWebGLNodeRadius = direction * a_radius * 2.0 * u_correctionRatio * u_sqrtZoomRatio;\n\n float adaptedWebGLArrowHeadLength = adaptedWebGLThickness * 2.0 * arrowHeadLengthThicknessRatio * arrowSizeCoefficient;\n\n\n vec2 compensationVector = vec2(-direction * unitNormal.y, direction * unitNormal.x) * (adaptedWebGLNodeRadius + adaptedWebGLArrowHeadLength);\n\n // Here is the proper position of the vertex\n gl_Position = vec4((u_matrix * vec3(a_position + unitNormal * adaptedWebGLThickness + compensationVector, 1)).xy, 0, 1);\n\n v_thickness = webGLThickness / u_sqrtZoomRatio;\n\n v_normal = unitNormal;\n v_color = a_color;\n v_color.a *= bias;\n}";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const fragmentShaderSource = "\nprecision mediump float;\n\nvarying vec4 v_color;\nvarying vec2 v_normal;\nvarying float v_thickness;\nvarying float v_position; // our addition - the position along the line\n\nconst float feather = 0.001;\nconst vec4 transparent = vec4(0.0, 0.0, 0.0, 0.0);\nconst float u_dashSize = 0.01; // our addition\nconst float u_gapSize = 0.005; // our addition\n\nvoid main(void) {\n float dist = length(v_normal) * v_thickness;\n\n float t = smoothstep(\n v_thickness - feather,\n v_thickness,\n dist\n );\n\n // our additions\n float totalSize = u_dashSize + u_gapSize;\n float positionInDashGap = mod(v_position, totalSize);\n float dashGapRatio = positionInDashGap / u_dashSize;\n // end additions (dashGapRatio is used below in if)\n\n if (dashGapRatio < 1.0) {\n gl_FragColor = mix(v_color, transparent, t);\n } else {\n discard;\n }\n}\n";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* This file copies sigma/src/rendering/webgl/shaders/edge.frag.glsl, but with a some changes
|
|
4
|
+
* difference: added a dash-gap pattern to the edge
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.fragmentShaderSource = void 0;
|
|
8
|
+
exports.fragmentShaderSource = "\nprecision mediump float;\n\nvarying vec4 v_color;\nvarying vec2 v_normal;\nvarying float v_thickness;\nvarying float v_position; // our addition - the position along the line\n\nconst float feather = 0.001;\nconst vec4 transparent = vec4(0.0, 0.0, 0.0, 0.0);\nconst float u_dashSize = 0.01; // our addition\nconst float u_gapSize = 0.005; // our addition\n\nvoid main(void) {\n float dist = length(v_normal) * v_thickness;\n\n float t = smoothstep(\n v_thickness - feather,\n v_thickness,\n dist\n );\n\n // our additions\n float totalSize = u_dashSize + u_gapSize;\n float positionInDashGap = mod(v_position, totalSize);\n float dashGapRatio = positionInDashGap / u_dashSize;\n // end additions (dashGapRatio is used below in if)\n\n if (dashGapRatio < 1.0) {\n gl_FragColor = mix(v_color, transparent, t);\n } else {\n discard;\n }\n}\n";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const vertexShaderSource = "\nattribute float a_lineLength; // our addition\nattribute vec4 a_color;\nattribute vec2 a_normal;\nattribute vec2 a_position;\n\nuniform mat3 u_matrix;\nuniform float u_sqrtZoomRatio;\nuniform float u_correctionRatio;\n\nvarying vec4 v_color;\nvarying vec2 v_normal;\nvarying float v_thickness;\nvarying float v_position; // our addition\n\nconst float minThickness = 1.7;\nconst float bias = 255.0 / 254.0;\n\nvoid main() {\n float normalLength = length(a_normal);\n vec2 unitNormal = a_normal / normalLength;\n\n // We require edges to be at least 'minThickness' pixels thick *on screen*\n // (so we need to compensate the SQRT zoom ratio):\n float pixelsThickness = max(normalLength, minThickness * u_sqrtZoomRatio);\n\n // Then, we need to retrieve the normalized thickness of the edge in the WebGL\n // referential (in a ([0, 1], [0, 1]) space), using our \"magic\" correction\n // ratio:\n float webGLThickness = pixelsThickness * u_correctionRatio;\n\n // Finally, we adapt the edge thickness to the \"SQRT rule\" in sigma (so that\n // items are not too big when zoomed in, and not too small when zoomed out).\n // The exact computation should be 'adapted = value * zoom / sqrt(zoom)', but\n // it's simpler like this:\n float adaptedWebGLThickness = webGLThickness * u_sqrtZoomRatio;\n\n // Here is the proper position of the vertex\n gl_Position = vec4((u_matrix * vec3(a_position + unitNormal * adaptedWebGLThickness, 1)).xy, 0, 1);\n\n // For the fragment shader though, we need a thickness that takes the \"magic\"\n // correction ratio into account (as in webGLThickness), but so that the\n // antialiasing effect does not depend on the zoom level. So here's yet\n // another thickness version:\n v_thickness = webGLThickness / u_sqrtZoomRatio;\n\n v_normal = unitNormal;\n v_color = a_color;\n v_color.a *= bias;\n v_position = a_lineLength / u_sqrtZoomRatio; // our addition\n}\n";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* This file copies sigma/src/rendering/webgl/shaders/edge.vert.glsl, but with a some changes
|
|
4
|
+
* difference: added v_position calculation based on a_lineLength and u_sqrtZoomRatio
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.vertexShaderSource = void 0;
|
|
8
|
+
exports.vertexShaderSource = "\nattribute float a_lineLength; // our addition\nattribute vec4 a_color;\nattribute vec2 a_normal;\nattribute vec2 a_position;\n\nuniform mat3 u_matrix;\nuniform float u_sqrtZoomRatio;\nuniform float u_correctionRatio;\n\nvarying vec4 v_color;\nvarying vec2 v_normal;\nvarying float v_thickness;\nvarying float v_position; // our addition\n\nconst float minThickness = 1.7;\nconst float bias = 255.0 / 254.0;\n\nvoid main() {\n float normalLength = length(a_normal);\n vec2 unitNormal = a_normal / normalLength;\n\n // We require edges to be at least 'minThickness' pixels thick *on screen*\n // (so we need to compensate the SQRT zoom ratio):\n float pixelsThickness = max(normalLength, minThickness * u_sqrtZoomRatio);\n\n // Then, we need to retrieve the normalized thickness of the edge in the WebGL\n // referential (in a ([0, 1], [0, 1]) space), using our \"magic\" correction\n // ratio:\n float webGLThickness = pixelsThickness * u_correctionRatio;\n\n // Finally, we adapt the edge thickness to the \"SQRT rule\" in sigma (so that\n // items are not too big when zoomed in, and not too small when zoomed out).\n // The exact computation should be 'adapted = value * zoom / sqrt(zoom)', but\n // it's simpler like this:\n float adaptedWebGLThickness = webGLThickness * u_sqrtZoomRatio;\n\n // Here is the proper position of the vertex\n gl_Position = vec4((u_matrix * vec3(a_position + unitNormal * adaptedWebGLThickness, 1)).xy, 0, 1);\n\n // For the fragment shader though, we need a thickness that takes the \"magic\"\n // correction ratio into account (as in webGLThickness), but so that the\n // antialiasing effect does not depend on the zoom level. So here's yet\n // another thickness version:\n v_thickness = webGLThickness / u_sqrtZoomRatio;\n\n v_normal = unitNormal;\n v_color = a_color;\n v_color.a *= bias;\n v_position = a_lineLength / u_sqrtZoomRatio; // our addition\n}\n";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const fragmentShaderSource = "\nprecision mediump float;\n\nvarying vec4 v_color; // base color of node\nvarying float v_border;\nvarying float v_borderRadius; // inner border radius\nvarying float v_inactive;\n\nconst vec4 transparent = vec4(0.0, 0.0, 0.0, 0.0); // transparent color\nconst float radius = 0.5;\n\n\n// convert color to pale gray\nvec4 toPaleGrayscale(in vec4 color, float paleFactor)\n{\n vec4 white = vec4(1.0, 1.0, 1.0, 1.0);\n vec4 paleColor = mix(color, white, paleFactor);\n\n float average = (paleColor.r + paleColor.g + paleColor.b) / 3.0;\n return vec4(average, average, average, 1.0);\n}\n\nvoid main(void) {\n vec4 color;\n\n // convert color to gray\n if (v_inactive > 0.0) {\n color = toPaleGrayscale(v_color, 0.5);\n } else {\n color = v_color;\n }\n\n float distToCenter = length(gl_PointCoord - vec2(0.5, 0.5)); // distance from current point to center of node\n\n if (distToCenter < v_borderRadius - v_border) // distance to inner border radius\n gl_FragColor = transparent;\n else if (distToCenter < v_borderRadius)\n gl_FragColor = mix(color, transparent, (v_borderRadius - distToCenter) / v_border);\n else if (distToCenter < radius - v_border) // distance to outer border radius\n gl_FragColor = color;\n else if (distToCenter < radius)\n gl_FragColor = mix(transparent, color, (radius - distToCenter) / v_border);\n else // points outside the button\n gl_FragColor = transparent;\n}\n";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* This file copies sigma/examples/custom-rendering/programs/node.border.frag.glsl, but with a some
|
|
4
|
+
* difference: white color was changed to transparent and used border radius from v_borderRadius variable
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.fragmentShaderSource = void 0;
|
|
8
|
+
var utils_1 = require("./utils");
|
|
9
|
+
exports.fragmentShaderSource = "\nprecision mediump float;\n\nvarying vec4 v_color; // base color of node\nvarying float v_border;\nvarying float v_borderRadius; // inner border radius\nvarying float v_inactive;\n\nconst vec4 transparent = vec4(0.0, 0.0, 0.0, 0.0); // transparent color\nconst float radius = 0.5;\n\n".concat(utils_1.toPaleGrayscale, "\n\nvoid main(void) {\n vec4 color;\n\n // convert color to gray\n if (v_inactive > 0.0) {\n color = toPaleGrayscale(v_color, 0.5);\n } else {\n color = v_color;\n }\n\n float distToCenter = length(gl_PointCoord - vec2(0.5, 0.5)); // distance from current point to center of node\n\n if (distToCenter < v_borderRadius - v_border) // distance to inner border radius\n gl_FragColor = transparent;\n else if (distToCenter < v_borderRadius)\n gl_FragColor = mix(color, transparent, (v_borderRadius - distToCenter) / v_border);\n else if (distToCenter < radius - v_border) // distance to outer border radius\n gl_FragColor = color;\n else if (distToCenter < radius)\n gl_FragColor = mix(transparent, color, (radius - distToCenter) / v_border);\n else // points outside the button\n gl_FragColor = transparent;\n}\n");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const vertexShaderSource = "\nattribute vec2 a_position;\nattribute float a_size;\nattribute vec4 a_color;\nattribute float a_borderSize;\nattribute float a_inactive;\n\nuniform float u_ratio;\nuniform float u_scale;\nuniform mat3 u_matrix;\n\nvarying vec4 v_color;\nvarying float v_border;\nvarying float v_borderRadius;\nvarying float v_inactive;\n\nconst float bias = 255.0 / 254.0;\nconst float radius = 0.5;\n\nvoid main() {\n gl_Position = vec4((u_matrix * vec3(a_position, 1)).xy, 0, 1);\n\n // Multiply the point size twice:\n // - x SCALING_RATIO to correct the canvas scaling\n // - x 2 to correct the formulae\n gl_PointSize = a_size * u_ratio * u_scale * 2.0;\n\n v_border = (1.0 / u_ratio) * (0.5 / a_size);\n v_borderRadius = radius - (radius * a_borderSize / a_size); // border radius in node's size (full size is 1)\n\n // Extract the color:\n v_color = a_color;\n v_color.a *= bias;\n\n // Pass inactive property\n v_inactive = a_inactive;\n}";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* This file copies sigma/examples/custom-rendering/programs/node.border.vert.glsl, but with a some
|
|
4
|
+
* difference: added calculation of v_borderRadius using a_borderSize variable
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.vertexShaderSource = void 0;
|
|
8
|
+
exports.vertexShaderSource = "\nattribute vec2 a_position;\nattribute float a_size;\nattribute vec4 a_color;\nattribute float a_borderSize;\nattribute float a_inactive;\n\nuniform float u_ratio;\nuniform float u_scale;\nuniform mat3 u_matrix;\n\nvarying vec4 v_color;\nvarying float v_border;\nvarying float v_borderRadius;\nvarying float v_inactive;\n\nconst float bias = 255.0 / 254.0;\nconst float radius = 0.5;\n\nvoid main() {\n gl_Position = vec4((u_matrix * vec3(a_position, 1)).xy, 0, 1);\n\n // Multiply the point size twice:\n // - x SCALING_RATIO to correct the canvas scaling\n // - x 2 to correct the formulae\n gl_PointSize = a_size * u_ratio * u_scale * 2.0;\n\n v_border = (1.0 / u_ratio) * (0.5 / a_size);\n v_borderRadius = radius - (radius * a_borderSize / a_size); // border radius in node's size (full size is 1)\n\n // Extract the color:\n v_color = a_color;\n v_color.a *= bias;\n\n // Pass inactive property\n v_inactive = a_inactive;\n}";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const fragmentShaderSource = "\nprecision mediump float;\n\nvarying vec4 v_color; // base color of node\nvarying float v_border;\nvarying float v_borderRadius; // inner border radius\nvarying float v_inactive;\n\nconst vec4 transparent = vec4(0.0, 0.0, 0.0, 0.0); // transparent color\nconst float radius = 0.5;\nconst float dashGapRatio = 5.5; // adjust this to change the ratio of dash size to gap size\nconst float totalLength = 2.0 * 3.14159 * radius;\nconst float dashSize = totalLength / (dashGapRatio + 1.0);\nconst float gapSize = dashSize / dashGapRatio;\n\n\n// convert color to pale gray\nvec4 toPaleGrayscale(in vec4 color, float paleFactor)\n{\n vec4 white = vec4(1.0, 1.0, 1.0, 1.0);\n vec4 paleColor = mix(color, white, paleFactor);\n\n float average = (paleColor.r + paleColor.g + paleColor.b) / 3.0;\n return vec4(average, average, average, 1.0);\n}\n\nvoid main(void) {\n vec4 color;\n\n // convert color to gray\n if (v_inactive > 0.0) {\n color = toPaleGrayscale(v_color, 0.5);\n } else {\n color = v_color;\n }\n\n float distToCenter = length(gl_PointCoord - vec2(0.5, 0.5)); // distance from current point to center of node\n float distAlongBorder = atan(gl_PointCoord.y - 0.5, gl_PointCoord.x - 0.5); // distance along the border\n float dashGapRatio = mod(distAlongBorder, dashSize + gapSize) / dashSize; // ratio of dash to gap\n\n // our change - added if statement to check if within a dash\n if (dashGapRatio < 1.0) {// if within a dash\n if (distToCenter < v_borderRadius - v_border) // distance to inner border radius\n gl_FragColor = transparent;\n else if (distToCenter < v_borderRadius)\n gl_FragColor = mix(color, transparent, (v_borderRadius - distToCenter) / v_border);\n else if (distToCenter < radius - v_border) // distance to outer border radius\n gl_FragColor = color;\n else if (distToCenter < radius)\n gl_FragColor = mix(transparent, color, (radius - distToCenter) / v_border);\n else // points outside the button\n gl_FragColor = transparent;\n } else {\n gl_FragColor = transparent;\n }\n}\n";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* This file copies our node.border.frag.glsl.ts, but with changes to support dashed borders
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.fragmentShaderSource = void 0;
|
|
7
|
+
var utils_1 = require("./utils");
|
|
8
|
+
exports.fragmentShaderSource = "\nprecision mediump float;\n\nvarying vec4 v_color; // base color of node\nvarying float v_border;\nvarying float v_borderRadius; // inner border radius\nvarying float v_inactive;\n\nconst vec4 transparent = vec4(0.0, 0.0, 0.0, 0.0); // transparent color\nconst float radius = 0.5;\nconst float dashGapRatio = 5.5; // adjust this to change the ratio of dash size to gap size\nconst float totalLength = 2.0 * 3.14159 * radius;\nconst float dashSize = totalLength / (dashGapRatio + 1.0);\nconst float gapSize = dashSize / dashGapRatio;\n\n".concat(utils_1.toPaleGrayscale, "\n\nvoid main(void) {\n vec4 color;\n\n // convert color to gray\n if (v_inactive > 0.0) {\n color = toPaleGrayscale(v_color, 0.5);\n } else {\n color = v_color;\n }\n\n float distToCenter = length(gl_PointCoord - vec2(0.5, 0.5)); // distance from current point to center of node\n float distAlongBorder = atan(gl_PointCoord.y - 0.5, gl_PointCoord.x - 0.5); // distance along the border\n float dashGapRatio = mod(distAlongBorder, dashSize + gapSize) / dashSize; // ratio of dash to gap\n\n // our change - added if statement to check if within a dash\n if (dashGapRatio < 1.0) {// if within a dash\n if (distToCenter < v_borderRadius - v_border) // distance to inner border radius\n gl_FragColor = transparent;\n else if (distToCenter < v_borderRadius)\n gl_FragColor = mix(color, transparent, (v_borderRadius - distToCenter) / v_border);\n else if (distToCenter < radius - v_border) // distance to outer border radius\n gl_FragColor = color;\n else if (distToCenter < radius)\n gl_FragColor = mix(transparent, color, (radius - distToCenter) / v_border);\n else // points outside the button\n gl_FragColor = transparent;\n } else {\n gl_FragColor = transparent;\n }\n}\n");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const fragmentShaderSource = "\nprecision mediump float;\n\nvarying float v_border;\nvarying float v_inactive;\nvarying vec4 v_color;\nvarying vec4 v_texture;\n\nuniform sampler2D u_atlas;\n\nconst vec4 transparent = vec4(0.0, 0.0, 0.0, 0.0);\nconst float radius = 0.5;\n\n\n// convert color to pale gray\nvec4 toPaleGrayscale(in vec4 color, float paleFactor)\n{\n vec4 white = vec4(1.0, 1.0, 1.0, 1.0);\n vec4 paleColor = mix(color, white, paleFactor);\n\n float average = (paleColor.r + paleColor.g + paleColor.b) / 3.0;\n return vec4(average, average, average, 1.0);\n}\n\nvoid main(void) {\n vec4 color;\n\n // set texel as color of point\n if (v_texture.w > 0.0) {\n vec4 texel = texture2D(u_atlas, v_texture.xy + gl_PointCoord * v_texture.zw, -1.0);\n color = vec4(mix(v_color, texel, texel.a).rgb, max(texel.a, v_color.a));\n } else {\n color = v_color;\n }\n\n // convert color to gray\n if (v_inactive > 0.0) {\n color = toPaleGrayscale(color, 0.5);\n }\n\n // distance from point to center of node\n float dist = length(gl_PointCoord - vec2(0.5, 0.5));\n\n if (dist < radius - v_border) // points inside node\n gl_FragColor = color;\n else if (dist < radius) // border of node\n gl_FragColor = mix(transparent, color, (radius - dist) / v_border);\n else // points outside node\n gl_FragColor = transparent;\n}";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.fragmentShaderSource = void 0;
|
|
4
|
+
var utils_1 = require("./utils");
|
|
5
|
+
exports.fragmentShaderSource = "\nprecision mediump float;\n\nvarying float v_border;\nvarying float v_inactive;\nvarying vec4 v_color;\nvarying vec4 v_texture;\n\nuniform sampler2D u_atlas;\n\nconst vec4 transparent = vec4(0.0, 0.0, 0.0, 0.0);\nconst float radius = 0.5;\n\n".concat(utils_1.toPaleGrayscale, "\n\nvoid main(void) {\n vec4 color;\n\n // set texel as color of point\n if (v_texture.w > 0.0) {\n vec4 texel = texture2D(u_atlas, v_texture.xy + gl_PointCoord * v_texture.zw, -1.0);\n color = vec4(mix(v_color, texel, texel.a).rgb, max(texel.a, v_color.a));\n } else {\n color = v_color;\n }\n\n // convert color to gray\n if (v_inactive > 0.0) {\n color = toPaleGrayscale(color, 0.5);\n }\n\n // distance from point to center of node\n float dist = length(gl_PointCoord - vec2(0.5, 0.5));\n\n if (dist < radius - v_border) // points inside node\n gl_FragColor = color;\n else if (dist < radius) // border of node\n gl_FragColor = mix(transparent, color, (radius - dist) / v_border);\n else // points outside node\n gl_FragColor = transparent;\n}");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const vertexShaderSource = "\nattribute vec2 a_position;\nattribute float a_size;\nattribute vec4 a_color;\nattribute vec4 a_texture;\nattribute float a_inactive;\n\nuniform float u_ratio;\nuniform float u_scale;\nuniform mat3 u_matrix;\n\nvarying float v_border;\nvarying float v_inactive;\nvarying vec4 v_color;\nvarying vec4 v_texture;\n\nconst float bias = 255.0 / 254.0;\n\nvoid main() {\n gl_Position = vec4((u_matrix * vec3(a_position, 1)).xy, 0, 1);\n\n // Multiply the point size twice:\n // - x SCALING_RATIO to correct the canvas scaling\n // - x 2 to correct the formulae\n gl_PointSize = a_size * u_ratio * u_scale * 2.0;\n\n v_border = (1.0 / u_ratio) * (0.5 / a_size);\n\n // Extract the color:\n v_color = a_color;\n v_color.a *= bias;\n\n // Pass the texture coordinates:\n v_texture = a_texture;\n\n // Pass inactive property\n v_inactive = a_inactive;\n}";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.vertexShaderSource = void 0;
|
|
4
|
+
/*
|
|
5
|
+
* This file copies sigma/examples/custom-rendering/programs/node.image.vert.glsl, but with a some
|
|
6
|
+
* difference: white color was changed to transparent and used border radius from v_borderRadius variable
|
|
7
|
+
*/
|
|
8
|
+
exports.vertexShaderSource = "\nattribute vec2 a_position;\nattribute float a_size;\nattribute vec4 a_color;\nattribute vec4 a_texture;\nattribute float a_inactive;\n\nuniform float u_ratio;\nuniform float u_scale;\nuniform mat3 u_matrix;\n\nvarying float v_border;\nvarying float v_inactive;\nvarying vec4 v_color;\nvarying vec4 v_texture;\n\nconst float bias = 255.0 / 254.0;\n\nvoid main() {\n gl_Position = vec4((u_matrix * vec3(a_position, 1)).xy, 0, 1);\n\n // Multiply the point size twice:\n // - x SCALING_RATIO to correct the canvas scaling\n // - x 2 to correct the formulae\n gl_PointSize = a_size * u_ratio * u_scale * 2.0;\n\n v_border = (1.0 / u_ratio) * (0.5 / a_size);\n\n // Extract the color:\n v_color = a_color;\n v_color.a *= bias;\n\n // Pass the texture coordinates:\n v_texture = a_texture;\n\n // Pass inactive property\n v_inactive = a_inactive;\n}";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const toPaleGrayscale = "\n// convert color to pale gray\nvec4 toPaleGrayscale(in vec4 color, float paleFactor)\n{\n vec4 white = vec4(1.0, 1.0, 1.0, 1.0);\n vec4 paleColor = mix(color, white, paleFactor);\n\n float average = (paleColor.r + paleColor.g + paleColor.b) / 3.0;\n return vec4(average, average, average, 1.0);\n}";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.toPaleGrayscale = void 0;
|
|
4
|
+
exports.toPaleGrayscale = "\n// convert color to pale gray\nvec4 toPaleGrayscale(in vec4 color, float paleFactor)\n{\n vec4 white = vec4(1.0, 1.0, 1.0, 1.0);\n vec4 paleColor = mix(color, white, paleFactor);\n\n float average = (paleColor.r + paleColor.g + paleColor.b) / 3.0;\n return vec4(average, average, average, 1.0);\n}";
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import Graph from 'graphology';
|
|
2
|
+
import { NodeDisplayData, EdgeDisplayData } from 'sigma/types';
|
|
3
|
+
import { Settings } from 'sigma/settings';
|
|
4
|
+
export type GraphEdgeAttributes = EdgeDisplayData & {
|
|
5
|
+
loop: boolean;
|
|
6
|
+
arrowSizeRatio?: number;
|
|
7
|
+
selected?: boolean;
|
|
8
|
+
labelColor?: string;
|
|
9
|
+
};
|
|
10
|
+
export type GraphNodeAttributes = NodeDisplayData & {
|
|
11
|
+
secondaryLabel?: string;
|
|
12
|
+
image?: string;
|
|
13
|
+
hasBorder?: boolean;
|
|
14
|
+
selected?: boolean;
|
|
15
|
+
inactive?: boolean;
|
|
16
|
+
labelColor?: string;
|
|
17
|
+
secondaryLabelColor?: string;
|
|
18
|
+
};
|
|
19
|
+
export declare enum DataModelGraphNodeType {
|
|
20
|
+
entityType = "entityType",
|
|
21
|
+
interactionType = "interactionType"
|
|
22
|
+
}
|
|
23
|
+
export type DataModelGraphEdgeAttributes = GraphEdgeAttributes & {
|
|
24
|
+
edgeType: string;
|
|
25
|
+
};
|
|
26
|
+
export type DataModelGraphNodeAttributes = GraphNodeAttributes & {
|
|
27
|
+
nodeType: DataModelGraphNodeType;
|
|
28
|
+
};
|
|
29
|
+
export type GraphContainerSettings = Partial<Settings & {
|
|
30
|
+
secondaryLabelColor: {
|
|
31
|
+
attribute?: string;
|
|
32
|
+
color?: string;
|
|
33
|
+
};
|
|
34
|
+
}>;
|
|
35
|
+
export interface GraphologyLayout<T> {
|
|
36
|
+
(graph: Graph, options: T): {
|
|
37
|
+
[node: string]: {
|
|
38
|
+
[dimension: string]: number;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
assign?(graph: Graph, options: T): void;
|
|
42
|
+
}
|
|
43
|
+
interface GraphologyWorkerLayout {
|
|
44
|
+
stop: () => void;
|
|
45
|
+
start: () => void;
|
|
46
|
+
kill: () => void;
|
|
47
|
+
}
|
|
48
|
+
export interface GraphologyWorkerLayoutConstructor<T> {
|
|
49
|
+
new (graph: Graph, settings: T): GraphologyWorkerLayout;
|
|
50
|
+
}
|
|
51
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DataModelGraphNodeType = void 0;
|
|
4
|
+
var DataModelGraphNodeType;
|
|
5
|
+
(function (DataModelGraphNodeType) {
|
|
6
|
+
DataModelGraphNodeType["entityType"] = "entityType";
|
|
7
|
+
DataModelGraphNodeType["interactionType"] = "interactionType";
|
|
8
|
+
})(DataModelGraphNodeType || (exports.DataModelGraphNodeType = DataModelGraphNodeType = {}));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type Renderer = {
|
|
2
|
+
renderer: (context: CanvasRenderingContext2D) => void;
|
|
3
|
+
insertBefore: string;
|
|
4
|
+
};
|
|
5
|
+
export type Renderers = Record<string, Renderer>;
|
|
6
|
+
export type Canvas = {
|
|
7
|
+
canvasElement: HTMLCanvasElement;
|
|
8
|
+
context: CanvasRenderingContext2D;
|
|
9
|
+
};
|
|
10
|
+
export type Canvases = Record<string, Canvas>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
var react_1 = __importDefault(require("react"));
|
|
18
|
+
var SvgEmptyLoading = function (props) {
|
|
19
|
+
return (react_1.default.createElement("svg", __assign({ width: 256, height: 256, viewBox: "0 0 256 256", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
|
|
20
|
+
react_1.default.createElement("circle", { cx: 128, cy: 128, r: 128, fill: "#0072CE", fillOpacity: 0.03 }),
|
|
21
|
+
react_1.default.createElement("mask", { id: "EmptyLoading_svg__a", style: {
|
|
22
|
+
maskType: 'alpha'
|
|
23
|
+
}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 256, height: 256 },
|
|
24
|
+
react_1.default.createElement("circle", { cx: 128, cy: 128, r: 128, fill: "#fff" })),
|
|
25
|
+
react_1.default.createElement("g", { mask: "url(#EmptyLoading_svg__a)" },
|
|
26
|
+
react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M-16 9h256v247H-16V9z", fill: "url(#EmptyLoading_svg__paint0_linear_2978_41880)" }),
|
|
27
|
+
react_1.default.createElement("g", { fillRule: "evenodd", clipRule: "evenodd" },
|
|
28
|
+
react_1.default.createElement("path", { d: "M40.755 44.17C40.755 38.002 45.76 33 51.92 33h251.675c6.167 0 11.166 5.001 11.166 11.17v160.596H40.755V44.171z", fill: "#5E7282" }),
|
|
29
|
+
react_1.default.createElement("path", { d: "M50.371 43.106h255.685V195.71H50.371V43.106z", fill: "url(#EmptyLoading_svg__paint1_linear_2978_41880)" }),
|
|
30
|
+
react_1.default.createElement("path", { d: "M15.545 208.914c2.321.469 4.723.716 7.183.716H338.75c.22 0 .439-.002.658-.006-7.061 8.445-17.67 13.816-29.524 13.816H45.655c-12.111 0-22.916-5.597-29.968-14.349l-.142-.177z", fill: "#BDCBD8" }),
|
|
31
|
+
react_1.default.createElement("path", { d: "M339.015 204.883v4.966H15v-4.966h324.015z", fill: "#D4DCDF" }),
|
|
32
|
+
react_1.default.createElement("path", { d: "M201.107 213.991h-45.221a11.176 11.176 0 01-11.046-9.449h67.314a11.172 11.172 0 01-11.047 9.449z", fill: "url(#EmptyLoading_svg__paint2_linear_2978_41880)" })),
|
|
33
|
+
react_1.default.createElement("g", { filter: "url(#EmptyLoading_svg__filter0_d_2978_41880)" },
|
|
34
|
+
react_1.default.createElement("rect", { x: 81.703, y: 99, width: 170, height: 26, rx: 8, fill: "#D1E6FF" }),
|
|
35
|
+
react_1.default.createElement("rect", { x: 84.703, y: 102, width: 164, height: 20, rx: 5, stroke: "#fff", strokeWidth: 6 })),
|
|
36
|
+
react_1.default.createElement("g", { filter: "url(#EmptyLoading_svg__filter1_d_2978_41880)" },
|
|
37
|
+
react_1.default.createElement("mask", { id: "EmptyLoading_svg__b", fill: "#fff" },
|
|
38
|
+
react_1.default.createElement("rect", { x: 81, y: 105, width: 108, height: 14, rx: 2 })),
|
|
39
|
+
react_1.default.createElement("rect", { x: 81, y: 105, width: 108, height: 14, rx: 2, fill: "#61A3F1" }),
|
|
40
|
+
react_1.default.createElement("rect", { x: 81, y: 105, width: 108, height: 14, rx: 2, stroke: "#4A90E2", strokeWidth: 8, mask: "url(#EmptyLoading_svg__b)" })),
|
|
41
|
+
react_1.default.createElement("path", { opacity: 0.8, fillRule: "evenodd", clipRule: "evenodd", d: "M122.703 74a3 3 0 013-3h81.625a3 3 0 010 6h-81.625a3 3 0 01-3-3z", fill: "#B6C7DB" }),
|
|
42
|
+
react_1.default.createElement("path", { opacity: 0.2, fillRule: "evenodd", clipRule: "evenodd", d: "M146.703 86a3 3 0 013-3h34a3 3 0 110 6h-34a3 3 0 01-3-3zM136.703 139a3 3 0 013-3h54a3 3 0 110 6h-54a3 3 0 01-3-3z", fill: "#979797" }),
|
|
43
|
+
react_1.default.createElement("path", { opacity: 0.1, fillRule: "evenodd", clipRule: "evenodd", d: "M112.703 151a3 3 0 013-3h103a3 3 0 110 6h-103a3 3 0 01-3-3zM124.703 163a3 3 0 013-3h79a3 3 0 110 6h-79a3 3 0 01-3-3z", fill: "#979797" }),
|
|
44
|
+
react_1.default.createElement("g", { filter: "url(#EmptyLoading_svg__filter2_ddd_2978_41880)" },
|
|
45
|
+
react_1.default.createElement("path", { fill: "#A0C1D7", d: "M70.703 64h11v8h-11z" }),
|
|
46
|
+
react_1.default.createElement("rect", { x: 62, y: 59, width: 28, height: 8, rx: 1, fill: "#BDD4E3" }),
|
|
47
|
+
react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M38.23 160.5c20.704 20.703 54.27 20.703 74.973 0 20.703-20.703 20.703-54.27 0-74.973-20.703-20.703-54.27-20.703-74.973 0-20.703 20.703-20.703 54.27 0 74.973z", fill: "#BDD4E3" }),
|
|
48
|
+
react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M113.427 85.988c20.463 20.652 20.404 53.981-.175 74.561-20.432 20.431-53.432 20.635-74.115.613l-.446-.439 74.736-74.735z", fill: "#A0C1D7" }),
|
|
49
|
+
react_1.default.createElement("path", { opacity: 0.144, fillRule: "evenodd", clipRule: "evenodd", d: "M75.037 175.385c29.402 0 53.236-23.834 53.236-53.236a54.67 54.67 0 00-.106-3.399L100.45 91.037l-55.142 58.396 25.814 25.811c1.293.094 2.598.141 3.915.141z", fill: "url(#EmptyLoading_svg__paint3_linear_2978_41880)" }),
|
|
50
|
+
react_1.default.createElement("circle", { cx: 75.94, cy: 123.237, r: 44.723, fill: "#91B0C2" }),
|
|
51
|
+
react_1.default.createElement("g", { filter: "url(#EmptyLoading_svg__filter3_d_2978_41880)" },
|
|
52
|
+
react_1.default.createElement("circle", { r: 42.793, transform: "matrix(-1 0 0 1 75.94 123.237)", fill: "#F7F4FF" })),
|
|
53
|
+
react_1.default.createElement("path", { opacity: 0.05, fillRule: "evenodd", clipRule: "evenodd", d: "M105.043 175.309l-10.298.861-20.313-20.152.863-2.292-9.973-9.982 18.679-6.882h-4.308l-8.943-8.951 4.545-10.532L94.35 90.74l37.888 37.162c-.343 20.088-11.146 37.627-27.195 47.407z", fill: "url(#EmptyLoading_svg__paint4_linear_2978_41880)" }),
|
|
54
|
+
react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M67.703 123a8 8 0 0112.362-6.707l14.477-25.145A36.828 36.828 0 0075.703 86c-20.434 0-37 16.565-37 37h29z", fill: "url(#EmptyLoading_svg__paint5_angular_2978_41880)" }),
|
|
55
|
+
react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M94.297 90.6l.24.138s-12.45 35.125-12.811 35.752a6.92 6.92 0 01-11.985-6.92c.361-.626 24.556-28.97 24.556-28.97z", fill: "#323232" }),
|
|
56
|
+
react_1.default.createElement("circle", { cx: 75.94, cy: 123.237, r: 2.896, fill: "#EEEBF6" }),
|
|
57
|
+
react_1.default.createElement("circle", { cx: 96.211, cy: 148.655, r: 2.574, fill: "#A0C3D7" }),
|
|
58
|
+
react_1.default.createElement("circle", { cx: 107.15, cy: 131.924, r: 2.574, fill: "#A0C3D7" }),
|
|
59
|
+
react_1.default.createElement("rect", { x: 62.427, y: 135.592, width: 27.027, height: 10.039, rx: 3, fill: "#A0C3D7" }),
|
|
60
|
+
react_1.default.createElement("path", { opacity: 0.05, fillRule: "evenodd", clipRule: "evenodd", d: "M85.914 170.534H75.112l-21.605-21.472 2.126-2.775v-1.01L42.8 132.523l2.853-2.529 40.261 40.54z", fill: "url(#EmptyLoading_svg__paint6_linear_2978_41880)" }),
|
|
61
|
+
react_1.default.createElement("path", { opacity: 0.02, fillRule: "evenodd", clipRule: "evenodd", d: "M96.362 136.555h-4.988l-38.126-38.01 2.853-2.53 40.261 40.54z", fill: "url(#EmptyLoading_svg__paint7_linear_2978_41880)" }),
|
|
62
|
+
react_1.default.createElement("path", { opacity: 0.02, fillRule: "evenodd", clipRule: "evenodd", d: "M116.746 129.006h-4.988L73.632 90.995l2.853-2.53 40.261 40.541z", fill: "url(#EmptyLoading_svg__paint8_linear_2978_41880)" }),
|
|
63
|
+
react_1.default.createElement("path", { opacity: 0.02, fillRule: "evenodd", clipRule: "evenodd", d: "M85.793 152.41h-4.988l-38.126-38.011 2.852-2.53 40.262 40.541z", fill: "url(#EmptyLoading_svg__paint9_linear_2978_41880)" }),
|
|
64
|
+
react_1.default.createElement("circle", { cx: 75.618, cy: 155.734, r: 2.574, fill: "#A0C3D7" }),
|
|
65
|
+
react_1.default.createElement("circle", { cx: 55.026, cy: 148.655, r: 2.574, fill: "#A0C3D7" }),
|
|
66
|
+
react_1.default.createElement("circle", { cx: 44.73, cy: 131.924, r: 2.574, fill: "#A0C3D7" }),
|
|
67
|
+
react_1.default.createElement("g", { fill: "#A0C3D7" },
|
|
68
|
+
react_1.default.createElement("circle", { r: 2.574, transform: "matrix(1 0 0 -1 96.21 97.363)" }),
|
|
69
|
+
react_1.default.createElement("circle", { r: 2.574, transform: "matrix(1 0 0 -1 107.149 114.094)" }),
|
|
70
|
+
react_1.default.createElement("circle", { r: 2.574, transform: "matrix(1 0 0 -1 75.618 90.284)" }),
|
|
71
|
+
react_1.default.createElement("circle", { r: 2.574, transform: "matrix(1 0 0 -1 55.026 97.363)" }),
|
|
72
|
+
react_1.default.createElement("circle", { r: 2.574, transform: "matrix(1 0 0 -1 44.73 114.094)" })))),
|
|
73
|
+
react_1.default.createElement("defs", null,
|
|
74
|
+
react_1.default.createElement("linearGradient", { id: "EmptyLoading_svg__paint0_linear_2978_41880", x1: -16, y1: 9, x2: -16, y2: 256, gradientUnits: "userSpaceOnUse" },
|
|
75
|
+
react_1.default.createElement("stop", { stopColor: "#FAFAFA", stopOpacity: 0.01 }),
|
|
76
|
+
react_1.default.createElement("stop", { offset: 1, stopColor: "#F4F4F4" })),
|
|
77
|
+
react_1.default.createElement("linearGradient", { id: "EmptyLoading_svg__paint1_linear_2978_41880", x1: 178.214, y1: 43.106, x2: 178.214, y2: 195.709, gradientUnits: "userSpaceOnUse" },
|
|
78
|
+
react_1.default.createElement("stop", { stopColor: "#F2F9FB" }),
|
|
79
|
+
react_1.default.createElement("stop", { offset: 1, stopColor: "#fff" })),
|
|
80
|
+
react_1.default.createElement("linearGradient", { id: "EmptyLoading_svg__paint2_linear_2978_41880", x1: 178.497, y1: 204.542, x2: 178.497, y2: 213.991, gradientUnits: "userSpaceOnUse" },
|
|
81
|
+
react_1.default.createElement("stop", { stopColor: "#90AABF" }),
|
|
82
|
+
react_1.default.createElement("stop", { offset: 1, stopColor: "#869DAE" })),
|
|
83
|
+
react_1.default.createElement("linearGradient", { id: "EmptyLoading_svg__paint3_linear_2978_41880", x1: 154.275, y1: 146.574, x2: 96.683, y2: 91.352, gradientUnits: "userSpaceOnUse" },
|
|
84
|
+
react_1.default.createElement("stop", { stopOpacity: 0.01 }),
|
|
85
|
+
react_1.default.createElement("stop", { offset: 1 })),
|
|
86
|
+
react_1.default.createElement("linearGradient", { id: "EmptyLoading_svg__paint4_linear_2978_41880", x1: 60.762, y1: 143.327, x2: 114.747, y2: 176.019, gradientUnits: "userSpaceOnUse" },
|
|
87
|
+
react_1.default.createElement("stop", { stopOpacity: 0.87 }),
|
|
88
|
+
react_1.default.createElement("stop", { offset: 1, stopOpacity: 0.01 })),
|
|
89
|
+
react_1.default.createElement("linearGradient", { id: "EmptyLoading_svg__paint6_linear_2978_41880", x1: 90.287, y1: 154.267, x2: 68.53, y2: 131.301, gradientUnits: "userSpaceOnUse" },
|
|
90
|
+
react_1.default.createElement("stop", { stopOpacity: 0.01 }),
|
|
91
|
+
react_1.default.createElement("stop", { offset: 1 })),
|
|
92
|
+
react_1.default.createElement("linearGradient", { id: "EmptyLoading_svg__paint7_linear_2978_41880", x1: 100.735, y1: 120.288, x2: 78.978, y2: 97.322, gradientUnits: "userSpaceOnUse" },
|
|
93
|
+
react_1.default.createElement("stop", { stopOpacity: 0.01 }),
|
|
94
|
+
react_1.default.createElement("stop", { offset: 1 })),
|
|
95
|
+
react_1.default.createElement("linearGradient", { id: "EmptyLoading_svg__paint8_linear_2978_41880", x1: 121.119, y1: 112.739, x2: 99.362, y2: 89.773, gradientUnits: "userSpaceOnUse" },
|
|
96
|
+
react_1.default.createElement("stop", { stopOpacity: 0.01 }),
|
|
97
|
+
react_1.default.createElement("stop", { offset: 1 })),
|
|
98
|
+
react_1.default.createElement("linearGradient", { id: "EmptyLoading_svg__paint9_linear_2978_41880", x1: 90.166, y1: 136.143, x2: 68.409, y2: 113.177, gradientUnits: "userSpaceOnUse" },
|
|
99
|
+
react_1.default.createElement("stop", { stopOpacity: 0.01 }),
|
|
100
|
+
react_1.default.createElement("stop", { offset: 1 })),
|
|
101
|
+
react_1.default.createElement("filter", { id: "EmptyLoading_svg__filter0_d_2978_41880", x: 77.703, y: 96, width: 178, height: 34, filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB" },
|
|
102
|
+
react_1.default.createElement("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }),
|
|
103
|
+
react_1.default.createElement("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }),
|
|
104
|
+
react_1.default.createElement("feOffset", { dy: 1 }),
|
|
105
|
+
react_1.default.createElement("feGaussianBlur", { stdDeviation: 2 }),
|
|
106
|
+
react_1.default.createElement("feColorMatrix", { type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0" }),
|
|
107
|
+
react_1.default.createElement("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_2978_41880" }),
|
|
108
|
+
react_1.default.createElement("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_2978_41880", result: "shape" })),
|
|
109
|
+
react_1.default.createElement("filter", { id: "EmptyLoading_svg__filter1_d_2978_41880", x: 77, y: 102, width: 116, height: 22, filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB" },
|
|
110
|
+
react_1.default.createElement("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }),
|
|
111
|
+
react_1.default.createElement("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }),
|
|
112
|
+
react_1.default.createElement("feOffset", { dy: 1 }),
|
|
113
|
+
react_1.default.createElement("feGaussianBlur", { stdDeviation: 2 }),
|
|
114
|
+
react_1.default.createElement("feColorMatrix", { type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0" }),
|
|
115
|
+
react_1.default.createElement("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_2978_41880" }),
|
|
116
|
+
react_1.default.createElement("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_2978_41880", result: "shape" })),
|
|
117
|
+
react_1.default.createElement("filter", { id: "EmptyLoading_svg__filter2_ddd_2978_41880", x: -13.297, y: 28, width: 181.534, height: 189.17, filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB" },
|
|
118
|
+
react_1.default.createElement("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }),
|
|
119
|
+
react_1.default.createElement("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }),
|
|
120
|
+
react_1.default.createElement("feMorphology", { radius: 4, operator: "erode", in: "SourceAlpha", result: "effect1_dropShadow_2978_41880" }),
|
|
121
|
+
react_1.default.createElement("feOffset", { dy: 7 }),
|
|
122
|
+
react_1.default.createElement("feGaussianBlur", { stdDeviation: 4 }),
|
|
123
|
+
react_1.default.createElement("feColorMatrix", { type: "matrix", values: "0 0 0 0 0.600156 0 0 0 0 0.745337 0 0 0 0 0.8625 0 0 0 0.1 0" }),
|
|
124
|
+
react_1.default.createElement("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_2978_41880" }),
|
|
125
|
+
react_1.default.createElement("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }),
|
|
126
|
+
react_1.default.createElement("feMorphology", { radius: 4, operator: "dilate", in: "SourceAlpha", result: "effect2_dropShadow_2978_41880" }),
|
|
127
|
+
react_1.default.createElement("feOffset", { dy: 5 }),
|
|
128
|
+
react_1.default.createElement("feGaussianBlur", { stdDeviation: 16 }),
|
|
129
|
+
react_1.default.createElement("feColorMatrix", { type: "matrix", values: "0 0 0 0 0 0 0 0 0 0.447059 0 0 0 0 0.807843 0 0 0 0.06 0" }),
|
|
130
|
+
react_1.default.createElement("feBlend", { mode: "normal", in2: "effect1_dropShadow_2978_41880", result: "effect2_dropShadow_2978_41880" }),
|
|
131
|
+
react_1.default.createElement("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }),
|
|
132
|
+
react_1.default.createElement("feMorphology", { radius: 2, operator: "dilate", in: "SourceAlpha", result: "effect3_dropShadow_2978_41880" }),
|
|
133
|
+
react_1.default.createElement("feOffset", { dy: 12 }),
|
|
134
|
+
react_1.default.createElement("feGaussianBlur", { stdDeviation: 8.5 }),
|
|
135
|
+
react_1.default.createElement("feColorMatrix", { type: "matrix", values: "0 0 0 0 0 0 0 0 0 0.447059 0 0 0 0 0.807843 0 0 0 0.06 0" }),
|
|
136
|
+
react_1.default.createElement("feBlend", { mode: "normal", in2: "effect2_dropShadow_2978_41880", result: "effect3_dropShadow_2978_41880" }),
|
|
137
|
+
react_1.default.createElement("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect3_dropShadow_2978_41880", result: "shape" })),
|
|
138
|
+
react_1.default.createElement("filter", { id: "EmptyLoading_svg__filter3_d_2978_41880", x: 29.148, y: 78.444, width: 93.585, height: 93.585, filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB" },
|
|
139
|
+
react_1.default.createElement("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }),
|
|
140
|
+
react_1.default.createElement("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }),
|
|
141
|
+
react_1.default.createElement("feOffset", { dy: 2 }),
|
|
142
|
+
react_1.default.createElement("feGaussianBlur", { stdDeviation: 2 }),
|
|
143
|
+
react_1.default.createElement("feColorMatrix", { type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0" }),
|
|
144
|
+
react_1.default.createElement("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_2978_41880" }),
|
|
145
|
+
react_1.default.createElement("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_2978_41880", result: "shape" })),
|
|
146
|
+
react_1.default.createElement("radialGradient", { id: "EmptyLoading_svg__paint5_angular_2978_41880", cx: 0, cy: 0, r: 1, gradientUnits: "userSpaceOnUse", gradientTransform: "rotate(-56.035 152.55 -12.515) scale(43.4058 65.5062)" },
|
|
147
|
+
react_1.default.createElement("stop", { stopColor: "#CFE8FF" }),
|
|
148
|
+
react_1.default.createElement("stop", { offset: 0.599, stopColor: "#D1F2F9", stopOpacity: 0 })))));
|
|
149
|
+
};
|
|
150
|
+
exports.default = SvgEmptyLoading;
|
package/cjs/icons/index.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export { default as Details } from './Details';
|
|
|
16
16
|
export { default as Download } from './Download';
|
|
17
17
|
export { default as Draw } from './Draw';
|
|
18
18
|
export { default as Duplicate } from './Duplicate';
|
|
19
|
+
export { default as EmptyLoading } from './EmptyLoading';
|
|
19
20
|
export { default as EmptySearchResults } from './EmptySearchResults';
|
|
20
21
|
export { default as Error } from './Error';
|
|
21
22
|
export { default as Filter } from './Filter';
|
package/cjs/icons/index.js
CHANGED
|
@@ -3,8 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
7
|
-
exports.UploadIcon = exports.UnMerge = exports.Tenant = exports.Table = exports.SimpleAttribute = exports.SelectAttributes = exports.Search = exports.ResizeIconInline = exports.Remove = void 0;
|
|
6
|
+
exports.Recommended = exports.Reassign = exports.ReadOnlyError = exports.Radius = exports.Profile = exports.PotentialMatch = exports.Polygon = exports.PmTaskIcon = exports.PmIcon = exports.PivotingIcon = exports.PinOutlined = exports.Pin = exports.NotMatchRule = exports.NotMatchDark = exports.NoMatches = exports.NoDataSearch = exports.NoData = exports.NestedAttribute = exports.NegativeRuleTooltipIcon = exports.NegativeRuleIcon = exports.MlMatch = exports.MergeDark = exports.Merge = exports.LogOut = exports.LogIn = exports.IgnoredOutlined = exports.Ignored = exports.Hyperlink = exports.Filter = exports.Error = exports.EmptySearchResults = exports.EmptyLoading = exports.Duplicate = exports.Draw = exports.Download = exports.Details = exports.Description = exports.DeleteRequestTaskIcon = exports.DefaultTaskIcon = exports.DefaultImage = exports.DcrTaskIcon = exports.Create = exports.Copy = exports.CommentBubble = exports.Comment = exports.CollaborationIcon = exports.Calendar = exports.AttributesList = exports.AddComment = exports.Add = void 0;
|
|
7
|
+
exports.UploadIcon = exports.UnMerge = exports.Tenant = exports.Table = exports.SimpleAttribute = exports.SelectAttributes = exports.Search = exports.ResizeIconInline = exports.Remove = exports.ReferenceAttribute = void 0;
|
|
8
8
|
var Add_1 = require("./Add");
|
|
9
9
|
Object.defineProperty(exports, "Add", { enumerable: true, get: function () { return __importDefault(Add_1).default; } });
|
|
10
10
|
var AddComment_1 = require("./AddComment");
|
|
@@ -41,6 +41,8 @@ var Draw_1 = require("./Draw");
|
|
|
41
41
|
Object.defineProperty(exports, "Draw", { enumerable: true, get: function () { return __importDefault(Draw_1).default; } });
|
|
42
42
|
var Duplicate_1 = require("./Duplicate");
|
|
43
43
|
Object.defineProperty(exports, "Duplicate", { enumerable: true, get: function () { return __importDefault(Duplicate_1).default; } });
|
|
44
|
+
var EmptyLoading_1 = require("./EmptyLoading");
|
|
45
|
+
Object.defineProperty(exports, "EmptyLoading", { enumerable: true, get: function () { return __importDefault(EmptyLoading_1).default; } });
|
|
44
46
|
var EmptySearchResults_1 = require("./EmptySearchResults");
|
|
45
47
|
Object.defineProperty(exports, "EmptySearchResults", { enumerable: true, get: function () { return __importDefault(EmptySearchResults_1).default; } });
|
|
46
48
|
var Error_1 = require("./Error");
|
package/cjs/index.d.ts
CHANGED
|
@@ -131,3 +131,4 @@ export { ActivityLog, ActivityLogFilter, useActivitiesLoader, useProfileActiviti
|
|
|
131
131
|
export type { ActivitiesFilter, ActivityData } from './features/activity-log';
|
|
132
132
|
export { groupCrosswalksByTypesAndSources, useCrosswalkActions, useModifiedEntity, CrosswalkEditor, SourceCrosswalksRow, CrosswalkDragLayer, AttributesTable, CrosswalkType } from './features/crosswalks';
|
|
133
133
|
export type { CrosswalksByTypes, AddCrosswalkEvent, EditCrosswalkEvent, DeleteCrosswalkEvent } from './features/crosswalks';
|
|
134
|
+
export * from './features/graph';
|
package/cjs/index.js
CHANGED
|
@@ -298,3 +298,5 @@ Object.defineProperty(exports, "SourceCrosswalksRow", { enumerable: true, get: f
|
|
|
298
298
|
Object.defineProperty(exports, "CrosswalkDragLayer", { enumerable: true, get: function () { return crosswalks_1.CrosswalkDragLayer; } });
|
|
299
299
|
Object.defineProperty(exports, "AttributesTable", { enumerable: true, get: function () { return crosswalks_1.AttributesTable; } });
|
|
300
300
|
Object.defineProperty(exports, "CrosswalkType", { enumerable: true, get: function () { return crosswalks_1.CrosswalkType; } });
|
|
301
|
+
// features / graph
|
|
302
|
+
__exportStar(require("./features/graph"), exports);
|