@jupytergis/base 0.14.1 → 0.16.0-alpha.0
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/lib/commands/BaseCommandIDs.d.ts +6 -0
- package/lib/commands/BaseCommandIDs.js +6 -0
- package/lib/commands/index.js +245 -55
- package/lib/commands/operationCommands.js +2 -2
- package/lib/constants.js +6 -1
- package/lib/{panelview/annotationPanel.js → features/annotations/AnnotationsPanel.js} +1 -1
- package/lib/{annotations → features/annotations}/index.d.ts +1 -0
- package/lib/{annotations → features/annotations}/index.js +1 -0
- package/lib/{console → features/console}/consoleview.js +1 -1
- package/lib/{panelview/filter-panel → features/filter}/Filter.js +4 -4
- package/lib/{panelview/filter-panel → features/filter}/FilterRow.d.ts +3 -2
- package/lib/{panelview/filter-panel → features/filter}/FilterRow.js +2 -1
- package/lib/{panelview/identify-panel → features/identify}/IdentifyPanel.d.ts +2 -0
- package/lib/features/identify/IdentifyPanel.js +102 -0
- package/lib/features/identify/components/FeatureCard.d.ts +17 -0
- package/lib/features/identify/components/FeatureCard.js +26 -0
- package/lib/features/identify/components/FeatureCardHeader.d.ts +11 -0
- package/lib/features/identify/components/FeatureCardHeader.js +30 -0
- package/lib/features/identify/components/FeatureFloater.d.ts +7 -0
- package/lib/features/identify/components/FeatureFloater.js +19 -0
- package/lib/features/identify/components/FeaturePropertyList.d.ts +11 -0
- package/lib/features/identify/components/FeaturePropertyList.js +18 -0
- package/lib/features/identify/components/FeatureRow.d.ts +13 -0
- package/lib/features/identify/components/FeatureRow.js +25 -0
- package/lib/features/identify/components/PropertyEditors.d.ts +44 -0
- package/lib/features/identify/components/PropertyEditors.js +56 -0
- package/lib/features/identify/hooks/useIdentifyPropertyEditor.d.ts +11 -0
- package/lib/features/identify/hooks/useIdentifyPropertyEditor.js +132 -0
- package/lib/features/identify/types/editorTypes.d.ts +21 -0
- package/lib/features/identify/utils/getFeatureIdentifier.d.ts +5 -0
- package/lib/features/identify/utils/getFeatureIdentifier.js +14 -0
- package/lib/features/identify/utils/highlightLayer.d.ts +11 -0
- package/lib/features/identify/utils/highlightLayer.js +57 -0
- package/lib/features/identify/utils/highlightStyle.d.ts +7 -0
- package/lib/features/identify/utils/highlightStyle.js +40 -0
- package/lib/{dialogs/layerBrowserDialog.js → features/layer-browser/index.js} +2 -2
- package/lib/features/layers/forms/layer/geoTiffLayerForm.d.ts +3 -0
- package/lib/{formbuilder/objectform/layer/webGlLayerForm.js → features/layers/forms/layer/geoTiffLayerForm.js} +5 -5
- package/lib/{formbuilder/objectform → features/layers/forms}/layer/heatmapLayerForm.js +4 -4
- package/lib/{formbuilder/objectform → features/layers/forms}/layer/hillshadeLayerForm.js +4 -4
- package/lib/{formbuilder/objectform → features/layers/forms}/layer/index.d.ts +1 -1
- package/lib/{formbuilder/objectform → features/layers/forms}/layer/index.js +1 -1
- package/lib/{formbuilder/objectform → features/layers/forms}/layer/layerform.d.ts +1 -1
- package/lib/{formbuilder/objectform → features/layers/forms}/layer/layerform.js +4 -4
- package/lib/features/layers/forms/layer/storySegmentLayerForm.js +150 -0
- package/lib/{formbuilder/objectform → features/layers/forms}/layer/vectorlayerform.js +4 -4
- package/lib/{formbuilder/objectform → features/layers/forms}/source/geojsonsource.js +5 -5
- package/lib/features/layers/forms/source/geopackagesource.d.ts +3 -0
- package/lib/features/layers/forms/source/geopackagesource.js +93 -0
- package/lib/{formbuilder/objectform → features/layers/forms}/source/geotiffsource.js +5 -5
- package/lib/{formbuilder/objectform → features/layers/forms}/source/index.d.ts +2 -0
- package/lib/{formbuilder/objectform → features/layers/forms}/source/index.js +2 -0
- package/lib/{formbuilder/objectform → features/layers/forms}/source/pathbasedsource.js +5 -5
- package/lib/{formbuilder/objectform → features/layers/forms}/source/sourceform.d.ts +1 -1
- package/lib/{formbuilder/objectform → features/layers/forms}/source/sourceform.js +4 -4
- package/lib/{formbuilder/objectform → features/layers/forms}/source/tilesourceform.js +4 -4
- package/lib/features/layers/forms/source/wmsTileSource.d.ts +4 -0
- package/lib/features/layers/forms/source/wmsTileSource.js +78 -0
- package/lib/{dialogs → features/layers}/layerCreationFormDialog.d.ts +1 -1
- package/lib/{dialogs → features/layers}/layerCreationFormDialog.js +1 -1
- package/lib/features/layers/symbology/Grammar.d.ts +11 -0
- package/lib/features/layers/symbology/Grammar.js +235 -0
- package/lib/{dialogs/symbology/vector_layer/types → features/layers/symbology}/Heatmap.d.ts +1 -1
- package/lib/{dialogs/symbology/vector_layer/types → features/layers/symbology}/Heatmap.js +30 -10
- package/lib/{dialogs → features/layers}/symbology/classificationModes.d.ts +6 -6
- package/lib/{dialogs → features/layers}/symbology/classificationModes.js +57 -57
- package/lib/features/layers/symbology/colorRampUtils.d.ts +65 -0
- package/lib/features/layers/symbology/colorRampUtils.js +242 -0
- package/lib/features/layers/symbology/components/MappingRow.d.ts +40 -0
- package/lib/features/layers/symbology/components/MappingRow.js +516 -0
- package/lib/features/layers/symbology/components/NumericInput.d.ts +20 -0
- package/lib/features/layers/symbology/components/NumericInput.js +44 -0
- package/lib/features/layers/symbology/components/ScaleEditor.d.ts +33 -0
- package/lib/features/layers/symbology/components/ScaleEditor.js +221 -0
- package/lib/{dialogs → features/layers}/symbology/components/color_ramp/ColorRampControls.d.ts +1 -1
- package/lib/{dialogs → features/layers}/symbology/components/color_ramp/ColorRampControls.js +3 -2
- package/lib/{dialogs → features/layers}/symbology/components/color_ramp/ColorRampSelector.d.ts +2 -1
- package/lib/{dialogs → features/layers}/symbology/components/color_ramp/ColorRampSelector.js +12 -15
- package/lib/{dialogs → features/layers}/symbology/components/color_ramp/ColorRampSelectorEntry.d.ts +2 -2
- package/lib/{dialogs → features/layers}/symbology/components/color_ramp/ColorRampSelectorEntry.js +3 -11
- package/lib/{dialogs → features/layers}/symbology/components/color_ramp/ModeSelectRow.d.ts +1 -1
- package/lib/features/layers/symbology/components/color_ramp/RgbaColorPicker.d.ts +13 -0
- package/lib/features/layers/symbology/components/color_ramp/RgbaColorPicker.js +128 -0
- package/lib/{dialogs → features/layers}/symbology/components/color_stops/StopContainer.js +3 -1
- package/lib/{dialogs → features/layers}/symbology/components/color_stops/StopRow.d.ts +2 -2
- package/lib/{dialogs → features/layers}/symbology/components/color_stops/StopRow.js +12 -7
- package/lib/features/layers/symbology/grammarToOLLayer.d.ts +27 -0
- package/lib/features/layers/symbology/grammarToOLLayer.js +145 -0
- package/lib/features/layers/symbology/grammarToOLStyle.d.ts +32 -0
- package/lib/features/layers/symbology/grammarToOLStyle.js +467 -0
- package/lib/{dialogs → features/layers}/symbology/hooks/useGetBandInfo.d.ts +1 -1
- package/lib/{dialogs → features/layers}/symbology/hooks/useGetBandInfo.js +1 -1
- package/lib/{dialogs → features/layers}/symbology/hooks/useGetProperties.js +1 -1
- package/lib/{dialogs → features/layers}/symbology/hooks/useGetSymbology.js +4 -2
- package/lib/features/layers/symbology/styleBuilder.d.ts +21 -0
- package/lib/features/layers/symbology/styleBuilder.js +145 -0
- package/lib/{dialogs → features/layers}/symbology/symbologyDialog.d.ts +3 -2
- package/lib/{dialogs → features/layers}/symbology/symbologyDialog.js +12 -12
- package/lib/features/layers/symbology/symbologyUtils.d.ts +41 -0
- package/lib/features/layers/symbology/symbologyUtils.js +114 -0
- package/lib/{panelview/objectproperties.d.ts → features/objectproperties/index.d.ts} +1 -1
- package/lib/{panelview/objectproperties.js → features/objectproperties/index.js} +5 -10
- package/lib/{dialogs → features/processing}/ProcessingFormDialog.d.ts +1 -1
- package/lib/{dialogs → features/processing}/ProcessingFormDialog.js +28 -14
- package/lib/features/processing/forms/MapExtentToggle.d.ts +13 -0
- package/lib/features/processing/forms/MapExtentToggle.js +20 -0
- package/lib/features/processing/forms/clipRasterByExtentForm.d.ts +10 -0
- package/lib/features/processing/forms/clipRasterByExtentForm.js +99 -0
- package/lib/{formbuilder/objectform/process → features/processing/forms}/dissolveProcessForm.js +5 -5
- package/lib/{formbuilder/objectform → features/processing/forms}/processingForm.d.ts +1 -1
- package/lib/{formbuilder/objectform → features/processing/forms}/processingForm.js +6 -6
- package/lib/features/processing/forms/rasterizeForm.d.ts +10 -0
- package/lib/features/processing/forms/rasterizeForm.js +75 -0
- package/lib/features/processing/forms/useMapExtent.d.ts +22 -0
- package/lib/features/processing/forms/useMapExtent.js +57 -0
- package/lib/{processing → features/processing}/index.d.ts +19 -2
- package/lib/features/processing/index.js +1246 -0
- package/lib/{processing → features/processing}/processingCommands.d.ts +1 -1
- package/lib/features/processing/processingCommands.js +168 -0
- package/lib/features/processing/serverProcessing.d.ts +51 -0
- package/lib/features/processing/serverProcessing.js +99 -0
- package/lib/{stacBrowser → features/stac-browser}/components/StacPanel.js +2 -2
- package/lib/{stacBrowser → features/stac-browser}/components/filter-extension/QueryableComboBox.js +64 -21
- package/lib/{stacBrowser → features/stac-browser}/components/filter-extension/QueryableRow.js +1 -1
- package/lib/{stacBrowser → features/stac-browser}/components/filter-extension/StacFilterExtensionPanel.js +2 -2
- package/lib/{stacBrowser → features/stac-browser}/components/filter-extension/StacQueryableFilters.js +1 -1
- package/lib/{stacBrowser → features/stac-browser}/components/geodes/StacFilterSection.js +3 -3
- package/lib/{stacBrowser → features/stac-browser}/components/shared/StacPanelResults.js +3 -3
- package/lib/{stacBrowser → features/stac-browser}/components/shared/StacSpatialExtent.js +1 -1
- package/lib/{stacBrowser → features/stac-browser}/components/shared/StacTemporalExtent.js +1 -1
- package/lib/{stacBrowser → features/stac-browser}/context/StacResultsContext.js +2 -2
- package/lib/{stacBrowser → features/stac-browser}/hooks/useGeodesSearch.js +2 -2
- package/lib/{stacBrowser → features/stac-browser}/hooks/useStacFilterExtension.d.ts +1 -1
- package/lib/{stacBrowser → features/stac-browser}/hooks/useStacFilterExtension.js +198 -114
- package/lib/{stacBrowser → features/stac-browser}/hooks/useStacSearch.d.ts +1 -0
- package/lib/{stacBrowser → features/stac-browser}/hooks/useStacSearch.js +19 -11
- package/lib/features/stac-browser/types/types.js +1 -0
- package/lib/{panelview/story-maps → features/story}/SpectaPanel.d.ts +4 -1
- package/lib/{panelview/story-maps → features/story}/SpectaPanel.js +3 -4
- package/lib/{panelview/story-maps → features/story}/StoryEditorPanel.js +1 -1
- package/lib/{panelview/story-maps → features/story}/StoryViewerPanel.d.ts +12 -11
- package/lib/features/story/StoryViewerPanel.js +64 -0
- package/lib/features/story/__tests__/fixtures/listStoryTestItems.d.ts +9 -0
- package/lib/features/story/__tests__/fixtures/listStoryTestItems.js +21 -0
- package/lib/features/story/components/ListStoryMapOverlayPanel.d.ts +10 -0
- package/lib/features/story/components/ListStoryMapOverlayPanel.js +11 -0
- package/lib/features/story/components/ListStoryMarkdownMeasurePane.d.ts +11 -0
- package/lib/features/story/components/ListStoryMarkdownMeasurePane.js +55 -0
- package/lib/features/story/components/ListStoryOverlayMarkdown.d.ts +15 -0
- package/lib/features/story/components/ListStoryOverlayMarkdown.js +93 -0
- package/lib/features/story/components/ListStoryStageOverlay.d.ts +12 -0
- package/lib/features/story/components/ListStoryStageOverlay.js +132 -0
- package/lib/features/story/components/ListStoryVirtualScrollTrack.d.ts +6 -0
- package/lib/features/story/components/ListStoryVirtualScrollTrack.js +7 -0
- package/lib/{panelview/story-maps → features/story}/components/SpectaDesktopView.d.ts +4 -2
- package/lib/features/story/components/SpectaDesktopView.js +67 -0
- package/lib/{panelview/story-maps → features/story}/components/SpectaMobileView.d.ts +2 -4
- package/lib/{panelview/story-maps → features/story}/components/SpectaMobileView.js +3 -3
- package/lib/features/story/components/SpectaSingleModeContent.d.ts +18 -0
- package/lib/features/story/components/SpectaSingleModeContent.js +8 -0
- package/lib/features/story/context/ListStoryScrollTrackContext.d.ts +15 -0
- package/lib/features/story/context/ListStoryScrollTrackContext.js +142 -0
- package/lib/features/story/hooks/useCurrentSegmentIndex.d.ts +3 -0
- package/lib/features/story/hooks/useCurrentSegmentIndex.js +17 -0
- package/lib/features/story/hooks/useListStoryScroll.d.ts +15 -0
- package/lib/features/story/hooks/useListStoryScroll.js +107 -0
- package/lib/features/story/hooks/useQueuedMarkdownHeightMeasure.d.ts +19 -0
- package/lib/features/story/hooks/useQueuedMarkdownHeightMeasure.js +56 -0
- package/lib/features/story/hooks/useStoryImagePreload.d.ts +1 -0
- package/lib/features/story/hooks/useStoryImagePreload.js +24 -0
- package/lib/{panelview/story-maps → features/story}/hooks/useStoryMap.d.ts +2 -7
- package/lib/{panelview/story-maps → features/story}/hooks/useStoryMap.js +20 -44
- package/lib/features/story/hooks/useStoryScrollState.d.ts +21 -0
- package/lib/features/story/hooks/useStoryScrollState.js +39 -0
- package/lib/features/story/hooks/useStorySegmentSync.d.ts +8 -0
- package/lib/features/story/hooks/useStorySegmentSync.js +51 -0
- package/lib/features/story/types/types.d.ts +38 -0
- package/lib/features/story/types/types.js +1 -0
- package/lib/features/story/utils/computeListStoryScrollState.d.ts +12 -0
- package/lib/features/story/utils/computeListStoryScrollState.js +70 -0
- package/lib/features/story/utils/listStoryMeasureQueue.d.ts +11 -0
- package/lib/features/story/utils/listStoryMeasureQueue.js +14 -0
- package/lib/features/story/utils/listStoryScrollTrack.d.ts +17 -0
- package/lib/features/story/utils/listStoryScrollTrack.js +72 -0
- package/lib/features/story/utils/spectaPresentation.d.ts +9 -0
- package/lib/features/story/utils/spectaPresentation.js +37 -0
- package/lib/features/story/utils/storySegmentViewItems.d.ts +5 -0
- package/lib/features/story/utils/storySegmentViewItems.js +30 -0
- package/lib/index.d.ts +11 -9
- package/lib/index.js +11 -9
- package/lib/keybindings.json +5 -0
- package/lib/mainview/OpenEOTileLayer.d.ts +49 -0
- package/lib/mainview/OpenEOTileLayer.js +179 -0
- package/lib/mainview/TemporalSlider.js +11 -9
- package/lib/mainview/geoJsonFeaturePatch.d.ts +9 -0
- package/lib/mainview/geoJsonFeaturePatch.js +43 -0
- package/lib/mainview/mainView.d.ts +93 -8
- package/lib/mainview/mainView.js +1286 -529
- package/lib/mainview/mainviewwidget.d.ts +5 -1
- package/lib/mainview/mainviewwidget.js +4 -2
- package/lib/shared/components/Button.d.ts +1 -1
- package/lib/shared/components/DropdownMenu.d.ts +1 -0
- package/lib/shared/components/DropdownMenu.js +3 -2
- package/lib/shared/components/NativeSelect.d.ts +8 -0
- package/lib/shared/components/NativeSelect.js +29 -0
- package/lib/shared/components/Tabs.d.ts +3 -3
- package/lib/shared/components/Tabs.js +5 -5
- package/lib/{formbuilder → shared/formbuilder}/creationform.js +71 -4
- package/lib/{formbuilder → shared/formbuilder}/editform.js +1 -1
- package/lib/{formbuilder → shared/formbuilder}/formselectors.d.ts +2 -2
- package/lib/{formbuilder → shared/formbuilder}/formselectors.js +13 -4
- package/lib/shared/formbuilder/index.d.ts +4 -0
- package/lib/shared/formbuilder/index.js +4 -0
- package/lib/{formbuilder → shared/formbuilder}/objectform/SchemaForm.d.ts +1 -1
- package/lib/{formbuilder → shared/formbuilder}/objectform/StoryEditorForm.d.ts +1 -1
- package/lib/{formbuilder → shared/formbuilder}/objectform/StoryEditorForm.js +1 -1
- package/lib/{formbuilder → shared/formbuilder}/objectform/components/LayerSelect.js +1 -1
- package/lib/{formbuilder → shared/formbuilder}/objectform/components/SegmentFormSymbology.js +4 -4
- package/lib/{formbuilder → shared/formbuilder}/objectform/components/SourcePropertiesField.js +1 -1
- package/lib/{formbuilder → shared/formbuilder}/objectform/components/StorySegmentReset.js +1 -1
- package/lib/shared/formbuilder/objectform/components/WmsTileSourceUrlInput.d.ts +3 -0
- package/lib/shared/formbuilder/objectform/components/WmsTileSourceUrlInput.js +84 -0
- package/lib/{formbuilder → shared/formbuilder}/objectform/fileselectorwidget.js +8 -1
- package/lib/{formbuilder → shared/formbuilder}/objectform/schemaUtils.d.ts +3 -1
- package/lib/{formbuilder → shared/formbuilder}/objectform/schemaUtils.js +11 -0
- package/lib/{formbuilder → shared/formbuilder}/objectform/useSchemaFormState.d.ts +2 -2
- package/lib/{formbuilder → shared/formbuilder}/objectform/useSchemaFormState.js +1 -1
- package/lib/{icons.d.ts → shared/icons.d.ts} +2 -0
- package/lib/{icons.js → shared/icons.js} +28 -18
- package/lib/tools.d.ts +3 -1
- package/lib/tools.js +140 -6
- package/lib/types.d.ts +12 -1
- package/lib/types.js +6 -1
- package/lib/{menus.js → workspace/menus.js} +14 -2
- package/lib/workspace/panels/components/TabbedPanel.d.ts +17 -0
- package/lib/workspace/panels/components/TabbedPanel.js +19 -0
- package/lib/{panelview → workspace/panels}/components/layers.js +82 -20
- package/lib/workspace/panels/components/legendItem.js +680 -0
- package/lib/workspace/panels/hooks/useLayerTree.d.ts +19 -0
- package/lib/workspace/panels/hooks/useLayerTree.js +103 -0
- package/lib/workspace/panels/hooks/useRightPanelOptions.d.ts +27 -0
- package/lib/workspace/panels/hooks/useRightPanelOptions.js +72 -0
- package/lib/workspace/panels/hooks/useUIState.d.ts +2 -0
- package/lib/workspace/panels/hooks/useUIState.js +25 -0
- package/lib/{panelview → workspace/panels}/index.d.ts +1 -1
- package/lib/{panelview → workspace/panels}/index.js +1 -1
- package/lib/{panelview → workspace/panels}/leftpanel.d.ts +1 -1
- package/lib/workspace/panels/leftpanel.js +70 -0
- package/lib/{panelview/rightpanel.d.ts → workspace/panels/mergedpanel.d.ts} +6 -5
- package/lib/workspace/panels/mergedpanel.js +166 -0
- package/lib/workspace/panels/rightpanel.d.ts +25 -0
- package/lib/{panelview → workspace/panels}/rightpanel.js +53 -63
- package/lib/{statusbar → workspace/statusbar}/StatusBar.js +5 -4
- package/lib/{toolbar → workspace/toolbar}/widget.d.ts +2 -0
- package/lib/{toolbar → workspace/toolbar}/widget.js +33 -5
- package/lib/{widget.d.ts → workspace/widget.d.ts} +7 -5
- package/lib/{widget.js → workspace/widget.js} +16 -7
- package/package.json +19 -4
- package/style/base.css +109 -1
- package/style/icons/geopackage.svg +95 -0
- package/style/icons/pencil_solid.svg +7 -0
- package/style/identify.css +95 -0
- package/style/layerBrowser.css +28 -0
- package/style/leftPanel.css +25 -0
- package/style/shared/button.css +12 -0
- package/style/shared/dropdownMenu.css +9 -0
- package/style/shared/nativeSelect.css +75 -0
- package/style/shared/tabs.css +3 -3
- package/style/spectaProgressBar.css +0 -1
- package/style/storyPanel.css +142 -9
- package/style/storySpectaArticleOverlay.css +129 -0
- package/style/symbologyDialog.css +330 -28
- package/lib/dialogs/symbology/colorRampUtils.d.ts +0 -20
- package/lib/dialogs/symbology/colorRampUtils.js +0 -132
- package/lib/dialogs/symbology/symbologyUtils.d.ts +0 -33
- package/lib/dialogs/symbology/symbologyUtils.js +0 -180
- package/lib/dialogs/symbology/tiff_layer/TiffRendering.d.ts +0 -4
- package/lib/dialogs/symbology/tiff_layer/TiffRendering.js +0 -42
- package/lib/dialogs/symbology/tiff_layer/components/BandRow.d.ts +0 -23
- package/lib/dialogs/symbology/tiff_layer/components/BandRow.js +0 -59
- package/lib/dialogs/symbology/tiff_layer/types/MultibandColor.d.ts +0 -4
- package/lib/dialogs/symbology/tiff_layer/types/MultibandColor.js +0 -92
- package/lib/dialogs/symbology/tiff_layer/types/SingleBandPseudoColor.d.ts +0 -5
- package/lib/dialogs/symbology/tiff_layer/types/SingleBandPseudoColor.js +0 -301
- package/lib/dialogs/symbology/vector_layer/VectorRendering.d.ts +0 -4
- package/lib/dialogs/symbology/vector_layer/VectorRendering.js +0 -112
- package/lib/dialogs/symbology/vector_layer/components/ValueSelect.d.ts +0 -8
- package/lib/dialogs/symbology/vector_layer/components/ValueSelect.js +0 -9
- package/lib/dialogs/symbology/vector_layer/types/Canonical.d.ts +0 -4
- package/lib/dialogs/symbology/vector_layer/types/Canonical.js +0 -65
- package/lib/dialogs/symbology/vector_layer/types/Categorized.d.ts +0 -4
- package/lib/dialogs/symbology/vector_layer/types/Categorized.js +0 -196
- package/lib/dialogs/symbology/vector_layer/types/Graduated.d.ts +0 -4
- package/lib/dialogs/symbology/vector_layer/types/Graduated.js +0 -250
- package/lib/dialogs/symbology/vector_layer/types/SimpleSymbol.d.ts +0 -4
- package/lib/dialogs/symbology/vector_layer/types/SimpleSymbol.js +0 -105
- package/lib/formbuilder/index.d.ts +0 -4
- package/lib/formbuilder/index.js +0 -4
- package/lib/formbuilder/objectform/layer/storySegmentLayerForm.js +0 -95
- package/lib/formbuilder/objectform/layer/webGlLayerForm.d.ts +0 -3
- package/lib/formbuilder/objectform/process/index.d.ts +0 -1
- package/lib/formbuilder/objectform/process/index.js +0 -1
- package/lib/panelview/components/legendItem.js +0 -200
- package/lib/panelview/identify-panel/IdentifyPanel.js +0 -102
- package/lib/panelview/leftpanel.js +0 -139
- package/lib/panelview/story-maps/StoryViewerPanel.js +0 -116
- package/lib/panelview/story-maps/components/SpectaDesktopView.js +0 -49
- package/lib/processing/index.js +0 -200
- package/lib/processing/processingCommands.js +0 -67
- /package/lib/{panelview/annotationPanel.d.ts → features/annotations/AnnotationsPanel.d.ts} +0 -0
- /package/lib/{annotations → features/annotations}/components/Annotation.d.ts +0 -0
- /package/lib/{annotations → features/annotations}/components/Annotation.js +0 -0
- /package/lib/{annotations → features/annotations}/components/AnnotationFloater.d.ts +0 -0
- /package/lib/{annotations → features/annotations}/components/AnnotationFloater.js +0 -0
- /package/lib/{annotations → features/annotations}/components/Message.d.ts +0 -0
- /package/lib/{annotations → features/annotations}/components/Message.js +0 -0
- /package/lib/{annotations → features/annotations}/model.d.ts +0 -0
- /package/lib/{annotations → features/annotations}/model.js +0 -0
- /package/lib/{console → features/console}/consoleview.d.ts +0 -0
- /package/lib/{console → features/console}/index.d.ts +0 -0
- /package/lib/{console → features/console}/index.js +0 -0
- /package/lib/{panelview/filter-panel → features/filter}/Filter.d.ts +0 -0
- /package/lib/{stacBrowser/types/types.js → features/identify/types/editorTypes.js} +0 -0
- /package/lib/{dialogs/layerBrowserDialog.d.ts → features/layer-browser/index.d.ts} +0 -0
- /package/lib/{formbuilder/objectform → features/layers/forms}/layer/heatmapLayerForm.d.ts +0 -0
- /package/lib/{formbuilder/objectform → features/layers/forms}/layer/hillshadeLayerForm.d.ts +0 -0
- /package/lib/{formbuilder/objectform → features/layers/forms}/layer/storySegmentLayerForm.d.ts +0 -0
- /package/lib/{formbuilder/objectform → features/layers/forms}/layer/vectorlayerform.d.ts +0 -0
- /package/lib/{formbuilder/objectform → features/layers/forms}/source/geojsonsource.d.ts +0 -0
- /package/lib/{formbuilder/objectform → features/layers/forms}/source/geotiffsource.d.ts +0 -0
- /package/lib/{formbuilder/objectform → features/layers/forms}/source/pathbasedsource.d.ts +0 -0
- /package/lib/{formbuilder/objectform → features/layers/forms}/source/tilesourceform.d.ts +0 -0
- /package/lib/{dialogs → features/layers}/symbology/components/color_ramp/ModeSelectRow.js +0 -0
- /package/lib/{dialogs → features/layers}/symbology/components/color_ramp/cmocean.json +0 -0
- /package/lib/{dialogs → features/layers}/symbology/components/color_stops/StopContainer.d.ts +0 -0
- /package/lib/{dialogs → features/layers}/symbology/hooks/useEffectiveSymbologyParams.d.ts +0 -0
- /package/lib/{dialogs → features/layers}/symbology/hooks/useEffectiveSymbologyParams.js +0 -0
- /package/lib/{dialogs → features/layers}/symbology/hooks/useGetProperties.d.ts +0 -0
- /package/lib/{dialogs → features/layers}/symbology/hooks/useGetSymbology.d.ts +0 -0
- /package/lib/{dialogs → features/layers}/symbology/hooks/useOkSignal.d.ts +0 -0
- /package/lib/{dialogs → features/layers}/symbology/hooks/useOkSignal.js +0 -0
- /package/lib/{formbuilder/objectform/process → features/processing/forms}/dissolveProcessForm.d.ts +0 -0
- /package/lib/{processing → features/processing}/processingFormToParam.d.ts +0 -0
- /package/lib/{processing → features/processing}/processingFormToParam.js +0 -0
- /package/lib/{stacBrowser → features/stac-browser}/components/StacPanel.d.ts +0 -0
- /package/lib/{stacBrowser → features/stac-browser}/components/filter-extension/QueryableComboBox.d.ts +0 -0
- /package/lib/{stacBrowser → features/stac-browser}/components/filter-extension/QueryableRow.d.ts +0 -0
- /package/lib/{stacBrowser → features/stac-browser}/components/filter-extension/StacFilterExtensionPanel.d.ts +0 -0
- /package/lib/{stacBrowser → features/stac-browser}/components/filter-extension/StacQueryableFilters.d.ts +0 -0
- /package/lib/{stacBrowser → features/stac-browser}/components/geodes/StacFilterSection.d.ts +0 -0
- /package/lib/{stacBrowser → features/stac-browser}/components/geodes/StacGeodesFilterPanel.d.ts +0 -0
- /package/lib/{stacBrowser → features/stac-browser}/components/geodes/StacGeodesFilterPanel.js +0 -0
- /package/lib/{stacBrowser → features/stac-browser}/components/shared/StacPanelResults.d.ts +0 -0
- /package/lib/{stacBrowser → features/stac-browser}/components/shared/StacSpatialExtent.d.ts +0 -0
- /package/lib/{stacBrowser → features/stac-browser}/components/shared/StacTemporalExtent.d.ts +0 -0
- /package/lib/{stacBrowser → features/stac-browser}/constants.d.ts +0 -0
- /package/lib/{stacBrowser → features/stac-browser}/constants.js +0 -0
- /package/lib/{stacBrowser → features/stac-browser}/context/StacResultsContext.d.ts +0 -0
- /package/lib/{stacBrowser → features/stac-browser}/hooks/useGeodesSearch.d.ts +0 -0
- /package/lib/{stacBrowser → features/stac-browser}/index.d.ts +0 -0
- /package/lib/{stacBrowser → features/stac-browser}/index.js +0 -0
- /package/lib/{stacBrowser → features/stac-browser}/types/types.d.ts +0 -0
- /package/lib/{panelview/story-maps → features/story}/StoryEditorPanel.d.ts +0 -0
- /package/lib/{panelview/story-maps → features/story}/components/PreviewModeSwitch.d.ts +0 -0
- /package/lib/{panelview/story-maps → features/story}/components/PreviewModeSwitch.js +0 -0
- /package/lib/{panelview/story-maps → features/story}/components/StoryContentSection.d.ts +0 -0
- /package/lib/{panelview/story-maps → features/story}/components/StoryContentSection.js +0 -0
- /package/lib/{panelview/story-maps → features/story}/components/StoryImageSection.d.ts +0 -0
- /package/lib/{panelview/story-maps → features/story}/components/StoryImageSection.js +0 -0
- /package/lib/{panelview/story-maps → features/story}/components/StoryNavBar.d.ts +0 -0
- /package/lib/{panelview/story-maps → features/story}/components/StoryNavBar.js +0 -0
- /package/lib/{panelview/story-maps → features/story}/components/StorySubtitleSection.d.ts +0 -0
- /package/lib/{panelview/story-maps → features/story}/components/StorySubtitleSection.js +0 -0
- /package/lib/{panelview/story-maps → features/story}/components/StoryTitleSection.d.ts +0 -0
- /package/lib/{panelview/story-maps → features/story}/components/StoryTitleSection.js +0 -0
- /package/lib/{formbuilder → shared/formbuilder}/creationform.d.ts +0 -0
- /package/lib/{formbuilder → shared/formbuilder}/editform.d.ts +0 -0
- /package/lib/{formbuilder → shared/formbuilder}/objectform/SchemaForm.js +0 -0
- /package/lib/{formbuilder → shared/formbuilder}/objectform/components/LayerSelect.d.ts +0 -0
- /package/lib/{formbuilder → shared/formbuilder}/objectform/components/OpacitySlider.d.ts +0 -0
- /package/lib/{formbuilder → shared/formbuilder}/objectform/components/OpacitySlider.js +0 -0
- /package/lib/{formbuilder → shared/formbuilder}/objectform/components/SegmentFormSymbology.d.ts +0 -0
- /package/lib/{formbuilder → shared/formbuilder}/objectform/components/SourcePropertiesField.d.ts +0 -0
- /package/lib/{formbuilder → shared/formbuilder}/objectform/components/StorySegmentReset.d.ts +0 -0
- /package/lib/{formbuilder → shared/formbuilder}/objectform/fileselectorwidget.d.ts +0 -0
- /package/lib/{store.d.ts → shared/store.d.ts} +0 -0
- /package/lib/{store.js → shared/store.js} +0 -0
- /package/lib/{menus.d.ts → workspace/menus.d.ts} +0 -0
- /package/lib/{panelview → workspace/panels}/components/layers.d.ts +0 -0
- /package/lib/{panelview → workspace/panels}/components/legendItem.d.ts +0 -0
- /package/lib/{panelview → workspace/panels}/header.d.ts +0 -0
- /package/lib/{panelview → workspace/panels}/header.js +0 -0
- /package/lib/{statusbar → workspace/statusbar}/SpectaPresentationProgressBar.d.ts +0 -0
- /package/lib/{statusbar → workspace/statusbar}/SpectaPresentationProgressBar.js +0 -0
- /package/lib/{statusbar → workspace/statusbar}/StatusBar.d.ts +0 -0
- /package/lib/{toolbar → workspace/toolbar}/index.d.ts +0 -0
- /package/lib/{toolbar → workspace/toolbar}/index.js +0 -0
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import Draggable from 'react-draggable';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
3
|
+
import { useStorySegmentSync } from "../../features/story/hooks/useStorySegmentSync";
|
|
4
|
+
import { STORY_TYPE } from "../../types";
|
|
5
|
+
import { useRightPanelOptions } from './hooks/useRightPanelOptions';
|
|
6
|
+
import { useUIState } from './hooks/useUIState';
|
|
7
|
+
import { AnnotationsPanel } from '../../features/annotations';
|
|
8
|
+
import { IdentifyPanelComponent } from '../../features/identify/IdentifyPanel';
|
|
9
|
+
import { ObjectPropertiesReact } from '../../features/objectproperties';
|
|
10
|
+
import StoryEditorPanel from '../../features/story/StoryEditorPanel';
|
|
11
|
+
import StoryViewerPanel from '../../features/story/StoryViewerPanel';
|
|
12
|
+
import { PreviewModeSwitch } from '../../features/story/components/PreviewModeSwitch';
|
|
13
|
+
import { useStoryMap, } from '../../features/story/hooks/useStoryMap';
|
|
14
|
+
import { TabsRoot, TabsContent, TabsList, TabsTrigger, } from '../../shared/components/Tabs';
|
|
11
15
|
/** Story viewer + useStoryMap hook
|
|
12
16
|
* only mounted when story tab is active to avoid the hook causing re-renders when tab is hidden.
|
|
13
17
|
**/
|
|
14
|
-
function RightPanelStoryViewer({ model, addLayer, removeLayer, }) {
|
|
18
|
+
export function RightPanelStoryViewer({ model, addLayer, removeLayer, }) {
|
|
15
19
|
const overrideLayerEntriesRef = React.useRef([]);
|
|
16
20
|
const { storyData, currentIndex, setIndex, handlePrev, handleNext, hasPrev, hasNext, activeSlide, layerName, } = useStoryMap({
|
|
17
21
|
model,
|
|
@@ -20,30 +24,45 @@ function RightPanelStoryViewer({ model, addLayer, removeLayer, }) {
|
|
|
20
24
|
addLayer,
|
|
21
25
|
isSpecta: false,
|
|
22
26
|
});
|
|
23
|
-
|
|
27
|
+
useStorySegmentSync({ model, storyData, setIndex });
|
|
28
|
+
return (React.createElement(StoryViewerPanel, { isSpecta: false, storyData: storyData, currentIndex: currentIndex, activeSlide: activeSlide, layerName: layerName, segmentNav: { handlePrev, handleNext, hasPrev, hasNext } }));
|
|
24
29
|
}
|
|
25
|
-
|
|
30
|
+
const RightPanelComponent = props => {
|
|
26
31
|
var _a;
|
|
27
|
-
const
|
|
28
|
-
const
|
|
32
|
+
const { patchGeoJSONFeatureProperties } = props;
|
|
33
|
+
const isListStory = ((_a = props.model.getSelectedStory().story) === null || _a === void 0 ? void 0 : _a.storyType) ===
|
|
34
|
+
STORY_TYPE.verticalScroll;
|
|
35
|
+
const [curTab, setCurTab] = React.useState(() => {
|
|
36
|
+
var _a;
|
|
37
|
+
const initialPresentationMode = (_a = props.model.getOptions().storyMapPresentationMode) !== null && _a !== void 0 ? _a : false;
|
|
38
|
+
if (initialPresentationMode) {
|
|
39
|
+
return 'storyPanel';
|
|
40
|
+
}
|
|
41
|
+
if (!props.settings.objectPropertiesDisabled) {
|
|
42
|
+
return 'objectProperties';
|
|
43
|
+
}
|
|
44
|
+
if (!props.settings.storyMapsDisabled) {
|
|
45
|
+
return 'storyPanel';
|
|
46
|
+
}
|
|
47
|
+
if (!props.settings.annotationsDisabled) {
|
|
48
|
+
return 'annotations';
|
|
49
|
+
}
|
|
50
|
+
if (!props.settings.identifyDisabled) {
|
|
51
|
+
return 'identifyPanel';
|
|
52
|
+
}
|
|
53
|
+
return '';
|
|
54
|
+
});
|
|
55
|
+
const { storyMapPresentationMode, editorMode, showEditor, storyPanelTitle, toggleEditor, } = useRightPanelOptions(props.model, {
|
|
56
|
+
onPresentationModeEnabled: () => setCurTab('storyPanel'),
|
|
57
|
+
onIdentifyFeatures: () => setCurTab('identifyPanel'),
|
|
58
|
+
});
|
|
29
59
|
const [selectedObjectProperties, setSelectedObjectProperties] = React.useState(undefined);
|
|
30
|
-
// Only show editor when not in presentation mode and editorMode is true
|
|
31
|
-
const showEditor = !storyMapPresentationMode && editorMode;
|
|
32
|
-
// Tab title: "Story Map" in presentation mode, otherwise based on editorMode
|
|
33
|
-
const storyPanelTitle = storyMapPresentationMode
|
|
34
|
-
? 'Story Map'
|
|
35
|
-
: editorMode
|
|
36
|
-
? 'Story Editor'
|
|
37
|
-
: 'Story Map';
|
|
38
60
|
const tabInfo = [
|
|
39
61
|
!props.settings.objectPropertiesDisabled && !storyMapPresentationMode
|
|
40
62
|
? { name: 'objectProperties', title: 'Object Properties' }
|
|
41
63
|
: false,
|
|
42
64
|
!props.settings.storyMapsDisabled
|
|
43
|
-
? {
|
|
44
|
-
name: 'storyPanel',
|
|
45
|
-
title: storyPanelTitle,
|
|
46
|
-
}
|
|
65
|
+
? { name: 'storyPanel', title: storyPanelTitle }
|
|
47
66
|
: false,
|
|
48
67
|
!props.settings.annotationsDisabled
|
|
49
68
|
? { name: 'annotations', title: 'Annotations' }
|
|
@@ -52,47 +71,16 @@ export const RightPanel = props => {
|
|
|
52
71
|
? { name: 'identifyPanel', title: 'Identified Features' }
|
|
53
72
|
: false,
|
|
54
73
|
].filter(Boolean);
|
|
55
|
-
const [curTab, setCurTab] = React.useState(() => {
|
|
56
|
-
if (storyMapPresentationMode) {
|
|
57
|
-
return 'storyPanel';
|
|
58
|
-
}
|
|
59
|
-
return tabInfo.length > 0 ? tabInfo[0].name : '';
|
|
60
|
-
});
|
|
61
|
-
React.useEffect(() => {
|
|
62
|
-
const onOptionsChanged = () => {
|
|
63
|
-
const { storyMapPresentationMode } = props.model.getOptions();
|
|
64
|
-
setStoryMapPresentationMode(storyMapPresentationMode !== null && storyMapPresentationMode !== void 0 ? storyMapPresentationMode : false);
|
|
65
|
-
storyMapPresentationMode && setCurTab('storyPanel');
|
|
66
|
-
};
|
|
67
|
-
let currentlyIdentifiedFeatures = undefined;
|
|
68
|
-
const onAwerenessChanged = (_, clients) => {
|
|
69
|
-
var _a;
|
|
70
|
-
const clientId = props.model.getClientId();
|
|
71
|
-
const localState = clientId ? clients.get(clientId) : null;
|
|
72
|
-
if (localState &&
|
|
73
|
-
((_a = localState.identifiedFeatures) === null || _a === void 0 ? void 0 : _a.value) &&
|
|
74
|
-
localState.identifiedFeatures.value !== currentlyIdentifiedFeatures) {
|
|
75
|
-
currentlyIdentifiedFeatures = localState.identifiedFeatures.value;
|
|
76
|
-
setCurTab('identifyPanel');
|
|
77
|
-
}
|
|
78
|
-
};
|
|
79
|
-
props.model.sharedOptionsChanged.connect(onOptionsChanged);
|
|
80
|
-
props.model.clientStateChanged.connect(onAwerenessChanged);
|
|
81
|
-
return () => {
|
|
82
|
-
props.model.sharedOptionsChanged.disconnect(onOptionsChanged);
|
|
83
|
-
props.model.clientStateChanged.disconnect(onAwerenessChanged);
|
|
84
|
-
};
|
|
85
|
-
}, [props.model]);
|
|
86
74
|
const allRightTabsDisabled = props.settings.objectPropertiesDisabled &&
|
|
87
75
|
props.settings.annotationsDisabled &&
|
|
88
76
|
props.settings.identifyDisabled;
|
|
89
|
-
const
|
|
90
|
-
const
|
|
91
|
-
|
|
92
|
-
|
|
77
|
+
const [rightPanelOpen] = useUIState('rightPanelOpen', props.model);
|
|
78
|
+
const rightPanelVisible = !props.settings.rightPanelDisabled &&
|
|
79
|
+
!allRightTabsDisabled &&
|
|
80
|
+
rightPanelOpen !== false;
|
|
93
81
|
return (React.createElement(Draggable, { handle: ".jgis-tabs-list", cancel: ".jgis-tabs-trigger", bounds: ".jGIS-Mainview-Container" },
|
|
94
82
|
React.createElement("div", { className: "jgis-right-panel-container", style: { display: rightPanelVisible ? 'block' : 'none' } },
|
|
95
|
-
React.createElement(
|
|
83
|
+
React.createElement(TabsRoot, { className: "jgis-panel-tabs", curTab: curTab },
|
|
96
84
|
React.createElement(TabsList, null, tabInfo.map(tab => (React.createElement(TabsTrigger, { className: "jGIS-layer-browser-category", key: `${tab.name}-${tab.title}`, value: tab.name, onClick: () => {
|
|
97
85
|
if (curTab !== tab.name) {
|
|
98
86
|
setCurTab(tab.name);
|
|
@@ -104,10 +92,12 @@ export const RightPanel = props => {
|
|
|
104
92
|
!props.settings.objectPropertiesDisabled && (React.createElement(TabsContent, { value: "objectProperties", className: "jgis-panel-tab-content" },
|
|
105
93
|
React.createElement(ObjectPropertiesReact, { setSelectedObject: setSelectedObjectProperties, selectedObject: selectedObjectProperties, formSchemaRegistry: props.formSchemaRegistry, model: props.model }))),
|
|
106
94
|
!props.settings.storyMapsDisabled && (React.createElement(TabsContent, { value: "storyPanel", className: "jgis-panel-tab-content", style: { paddingTop: 0 } },
|
|
107
|
-
!storyMapPresentationMode && (React.createElement(PreviewModeSwitch, { checked: !editorMode, onCheckedChange: toggleEditor })),
|
|
95
|
+
!storyMapPresentationMode && !isListStory && (React.createElement(PreviewModeSwitch, { checked: !editorMode, onCheckedChange: toggleEditor })),
|
|
108
96
|
showEditor ? (React.createElement(StoryEditorPanel, { model: props.model, commands: props.commands })) : curTab === 'storyPanel' ? (React.createElement(RightPanelStoryViewer, { model: props.model, addLayer: props.addLayer, removeLayer: props.removeLayer })) : null)),
|
|
109
97
|
!props.settings.annotationsDisabled && (React.createElement(TabsContent, { value: "annotations", className: "jgis-panel-tab-content" },
|
|
110
98
|
React.createElement(AnnotationsPanel, { annotationModel: props.annotationModel, jgisModel: props.model }))),
|
|
111
99
|
!props.settings.identifyDisabled && (React.createElement(TabsContent, { value: "identifyPanel", className: "jgis-panel-tab-content" },
|
|
112
|
-
React.createElement(IdentifyPanelComponent, { model: props.model })))))));
|
|
100
|
+
React.createElement(IdentifyPanelComponent, { model: props.model, patchGeoJSONFeatureProperties: patchGeoJSONFeatureProperties })))))));
|
|
113
101
|
};
|
|
102
|
+
RightPanelComponent.displayName = 'RightPanel';
|
|
103
|
+
export const RightPanel = React.memo(RightPanelComponent);
|
|
@@ -2,12 +2,12 @@ import { faGlobe, faLocationDot, faRuler, } from '@fortawesome/free-solid-svg-ic
|
|
|
2
2
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
|
3
3
|
import { Progress } from '@jupyter/react-components';
|
|
4
4
|
import React, { useEffect, useState } from 'react';
|
|
5
|
-
import { version } from "
|
|
5
|
+
import { version } from "../../../package.json";
|
|
6
6
|
const StatusBar = ({ jgisModel, loading, projection, scale, }) => {
|
|
7
7
|
var _a;
|
|
8
8
|
const [coords, setCoords] = useState({ x: 0, y: 0 });
|
|
9
9
|
useEffect(() => {
|
|
10
|
-
const
|
|
10
|
+
const handlePointerChanged = () => {
|
|
11
11
|
var _a, _b;
|
|
12
12
|
const pointer = (_b = (_a = jgisModel === null || jgisModel === void 0 ? void 0 : jgisModel.localState) === null || _a === void 0 ? void 0 : _a.pointer) === null || _b === void 0 ? void 0 : _b.value;
|
|
13
13
|
if (!pointer) {
|
|
@@ -15,9 +15,10 @@ const StatusBar = ({ jgisModel, loading, projection, scale, }) => {
|
|
|
15
15
|
}
|
|
16
16
|
setCoords({ x: pointer === null || pointer === void 0 ? void 0 : pointer.coordinates.x, y: pointer === null || pointer === void 0 ? void 0 : pointer.coordinates.y });
|
|
17
17
|
};
|
|
18
|
-
jgisModel.
|
|
18
|
+
jgisModel.pointerChanged.connect(handlePointerChanged);
|
|
19
|
+
handlePointerChanged();
|
|
19
20
|
return () => {
|
|
20
|
-
jgisModel.
|
|
21
|
+
jgisModel.pointerChanged.disconnect(handlePointerChanged);
|
|
21
22
|
};
|
|
22
23
|
}, [jgisModel]);
|
|
23
24
|
return (React.createElement("div", { className: "jgis-status-bar" },
|
|
@@ -14,6 +14,7 @@ export declare class ToolbarWidget extends ReactiveToolbar {
|
|
|
14
14
|
private _model;
|
|
15
15
|
private _newSubMenu;
|
|
16
16
|
private _hasSetSpectaVisibility;
|
|
17
|
+
private _togglePanelButton;
|
|
17
18
|
constructor(options: ToolbarWidget.IOptions);
|
|
18
19
|
/**
|
|
19
20
|
* Updates the story segment menu item based on settings
|
|
@@ -22,6 +23,7 @@ export declare class ToolbarWidget extends ReactiveToolbar {
|
|
|
22
23
|
/**
|
|
23
24
|
* Handles settings changes
|
|
24
25
|
*/
|
|
26
|
+
private _updateTogglePanelVisibility;
|
|
25
27
|
private _onSettingsChanged;
|
|
26
28
|
/**
|
|
27
29
|
* Handles story changes to update Specta mode visibility
|
|
@@ -3,8 +3,8 @@ import { CommandToolbarButton } from '@jupyterlab/apputils';
|
|
|
3
3
|
import { MenuSvg, ReactWidget, ReactiveToolbar, ToolbarButton, addIcon, } from '@jupyterlab/ui-components';
|
|
4
4
|
import { Widget } from '@lumino/widgets';
|
|
5
5
|
import * as React from 'react';
|
|
6
|
-
import { CommandIDs } from "
|
|
7
|
-
import { terminalToolbarIcon } from "
|
|
6
|
+
import { CommandIDs } from "../../constants";
|
|
7
|
+
import { terminalToolbarIcon } from "../../shared/icons";
|
|
8
8
|
import { rasterSubMenu, vectorSubMenu } from "../menus";
|
|
9
9
|
export const TOOLBAR_SEPARATOR_CLASS = 'jGIS-Toolbar-Separator';
|
|
10
10
|
export const TOOLBAR_GROUPNAME_CLASS = 'jGIS-Toolbar-GroupName';
|
|
@@ -41,13 +41,14 @@ export class ToolbarWidget extends ReactiveToolbar {
|
|
|
41
41
|
super();
|
|
42
42
|
this._newSubMenu = null;
|
|
43
43
|
this._hasSetSpectaVisibility = false;
|
|
44
|
-
|
|
45
|
-
* Handles settings changes
|
|
46
|
-
*/
|
|
44
|
+
this._togglePanelButton = null;
|
|
47
45
|
this._onSettingsChanged = (sender, key) => {
|
|
48
46
|
if (key === 'storyMapsDisabled') {
|
|
49
47
|
this._updateStorySegmentMenuItem();
|
|
50
48
|
}
|
|
49
|
+
if (key === 'leftPanelDisabled' || key === 'rightPanelDisabled') {
|
|
50
|
+
this._updateTogglePanelVisibility();
|
|
51
|
+
}
|
|
51
52
|
};
|
|
52
53
|
/**
|
|
53
54
|
* Handles story changes to update Specta mode visibility
|
|
@@ -128,6 +129,14 @@ export class ToolbarWidget extends ReactiveToolbar {
|
|
|
128
129
|
});
|
|
129
130
|
this.addItem('addMarker', addMarkerButton);
|
|
130
131
|
addMarkerButton.node.dataset.testid = 'add-marker-controller-button';
|
|
132
|
+
const toggleDrawFeaturesButton = new CommandToolbarButton({
|
|
133
|
+
id: CommandIDs.toggleDrawFeatures,
|
|
134
|
+
label: '',
|
|
135
|
+
commands: options.commands,
|
|
136
|
+
});
|
|
137
|
+
this.addItem('toggleDrawFeatures', toggleDrawFeaturesButton);
|
|
138
|
+
toggleDrawFeaturesButton.node.dataset.testid =
|
|
139
|
+
'toggle-draw-features-button';
|
|
131
140
|
const storyModePresentationToggleButton = new CommandToolbarButton({
|
|
132
141
|
id: CommandIDs.toggleStoryPresentationMode,
|
|
133
142
|
label: '',
|
|
@@ -135,6 +144,14 @@ export class ToolbarWidget extends ReactiveToolbar {
|
|
|
135
144
|
});
|
|
136
145
|
this.addItem('toggleStoryPresentationMode', storyModePresentationToggleButton);
|
|
137
146
|
identifyButton.node.dataset.testid = 'toggleStoryPresentationMode-button';
|
|
147
|
+
this._togglePanelButton = new CommandToolbarButton({
|
|
148
|
+
id: CommandIDs.togglePanel,
|
|
149
|
+
label: '',
|
|
150
|
+
commands: options.commands,
|
|
151
|
+
});
|
|
152
|
+
this.addItem('togglePanel', this._togglePanelButton);
|
|
153
|
+
this._togglePanelButton.node.dataset.testid = 'toggle-panel-button';
|
|
154
|
+
options.model.settingsReady.then(() => this._updateTogglePanelVisibility());
|
|
138
155
|
this.addItem('separator2', new Separator());
|
|
139
156
|
const toggleConsoleButton = new CommandToolbarButton({
|
|
140
157
|
id: CommandIDs.toggleConsole,
|
|
@@ -182,6 +199,17 @@ export class ToolbarWidget extends ReactiveToolbar {
|
|
|
182
199
|
}
|
|
183
200
|
}
|
|
184
201
|
}
|
|
202
|
+
/**
|
|
203
|
+
* Handles settings changes
|
|
204
|
+
*/
|
|
205
|
+
_updateTogglePanelVisibility() {
|
|
206
|
+
if (!this._togglePanelButton) {
|
|
207
|
+
return;
|
|
208
|
+
}
|
|
209
|
+
const { leftPanelDisabled, rightPanelDisabled } = this._model.jgisSettings;
|
|
210
|
+
this._togglePanelButton.node.style.display =
|
|
211
|
+
leftPanelDisabled && rightPanelDisabled ? 'none' : '';
|
|
212
|
+
}
|
|
185
213
|
dispose() {
|
|
186
214
|
if (this._model) {
|
|
187
215
|
this._model.settingsChanged.disconnect(this._onSettingsChanged, this);
|
|
@@ -2,15 +2,16 @@ import { IAnnotationModel, IJGISFormSchemaRegistry, IJupyterGISDocumentWidget, I
|
|
|
2
2
|
import { MainAreaWidget } from '@jupyterlab/apputils';
|
|
3
3
|
import { ConsolePanel, IConsoleTracker } from '@jupyterlab/console';
|
|
4
4
|
import { DocumentWidget } from '@jupyterlab/docregistry';
|
|
5
|
+
import type { ILoggerRegistry } from '@jupyterlab/logconsole';
|
|
5
6
|
import { IObservableMap, ObservableMap } from '@jupyterlab/observables';
|
|
6
7
|
import { IStateDB } from '@jupyterlab/statedb';
|
|
7
8
|
import { CommandRegistry } from '@lumino/commands';
|
|
8
9
|
import { JSONValue } from '@lumino/coreutils';
|
|
9
10
|
import { ISignal } from '@lumino/signaling';
|
|
10
11
|
import { SplitPanel } from '@lumino/widgets';
|
|
11
|
-
import { ConsoleView } from '
|
|
12
|
-
import { JupyterGISMainViewPanel } from '
|
|
13
|
-
import { MainViewModel } from '
|
|
12
|
+
import { ConsoleView } from '../features/console';
|
|
13
|
+
import { JupyterGISMainViewPanel } from '../mainview';
|
|
14
|
+
import { MainViewModel } from '../mainview/mainviewmodel';
|
|
14
15
|
export type JupyterGISWidget = JupyterGISDocumentWidget | JupyterGISOutputWidget;
|
|
15
16
|
export declare class JupyterGISDocumentWidget extends DocumentWidget<JupyterGISPanel, IJupyterGISModel> implements IJupyterGISDocumentWidget {
|
|
16
17
|
constructor(options: DocumentWidget.IOptions<JupyterGISPanel, IJupyterGISModel>);
|
|
@@ -40,12 +41,12 @@ export declare namespace JupyterGISOutputWidget {
|
|
|
40
41
|
}
|
|
41
42
|
}
|
|
42
43
|
export declare class JupyterGISPanel extends SplitPanel {
|
|
43
|
-
constructor({ model, consoleTracker, state, commandRegistry, formSchemaRegistry, annotationModel, ...consoleOption }: JupyterGISPanel.IOptions);
|
|
44
|
+
constructor({ model, consoleTracker, state, commandRegistry, formSchemaRegistry, annotationModel, loggerRegistry, ...consoleOption }: JupyterGISPanel.IOptions);
|
|
44
45
|
_initModel(options: {
|
|
45
46
|
model: IJupyterGISModel;
|
|
46
47
|
commandRegistry: CommandRegistry;
|
|
47
48
|
}): void;
|
|
48
|
-
_initView(formSchemaRegistry?: IJGISFormSchemaRegistry, annotationModel?: IAnnotationModel): void;
|
|
49
|
+
_initView(formSchemaRegistry?: IJGISFormSchemaRegistry, annotationModel?: IAnnotationModel, loggerRegistry?: ILoggerRegistry): void;
|
|
49
50
|
get jupyterGISMainViewPanel(): JupyterGISMainViewPanel;
|
|
50
51
|
get viewChanged(): ISignal<ObservableMap<JSONValue>, IObservableMap.IChangedArgs<JSONValue>>;
|
|
51
52
|
/**
|
|
@@ -75,5 +76,6 @@ export declare namespace JupyterGISPanel {
|
|
|
75
76
|
consoleTracker?: IConsoleTracker;
|
|
76
77
|
formSchemaRegistry?: IJGISFormSchemaRegistry;
|
|
77
78
|
annotationModel?: IAnnotationModel;
|
|
79
|
+
loggerRegistry?: ILoggerRegistry;
|
|
78
80
|
}
|
|
79
81
|
}
|
|
@@ -15,9 +15,9 @@ import { ObservableMap } from '@jupyterlab/observables';
|
|
|
15
15
|
import { MessageLoop } from '@lumino/messaging';
|
|
16
16
|
import { Signal } from '@lumino/signaling';
|
|
17
17
|
import { SplitPanel, Widget } from '@lumino/widgets';
|
|
18
|
-
import { ConsoleView } from '
|
|
19
|
-
import { JupyterGISMainViewPanel } from '
|
|
20
|
-
import { MainViewModel } from '
|
|
18
|
+
import { ConsoleView } from '../features/console';
|
|
19
|
+
import { JupyterGISMainViewPanel } from '../mainview';
|
|
20
|
+
import { MainViewModel } from '../mainview/mainviewmodel';
|
|
21
21
|
const CELL_OUTPUT_WIDGET_CLASS = 'jgis-cell-output-widget';
|
|
22
22
|
export class JupyterGISDocumentWidget extends DocumentWidget {
|
|
23
23
|
constructor(options) {
|
|
@@ -66,16 +66,22 @@ export class JupyterGISOutputWidget extends MainAreaWidget {
|
|
|
66
66
|
}
|
|
67
67
|
export class JupyterGISPanel extends SplitPanel {
|
|
68
68
|
constructor(_a) {
|
|
69
|
-
var { model, consoleTracker, state, commandRegistry, formSchemaRegistry, annotationModel } = _a, consoleOption = __rest(_a, ["model", "consoleTracker", "state", "commandRegistry", "formSchemaRegistry", "annotationModel"]);
|
|
69
|
+
var { model, consoleTracker, state, commandRegistry, formSchemaRegistry, annotationModel, loggerRegistry } = _a, consoleOption = __rest(_a, ["model", "consoleTracker", "state", "commandRegistry", "formSchemaRegistry", "annotationModel", "loggerRegistry"]);
|
|
70
70
|
super({ orientation: 'vertical', spacing: 0 });
|
|
71
71
|
this._consoleOpened = false;
|
|
72
72
|
this._state = state;
|
|
73
73
|
this._consoleOption = Object.assign({ commandRegistry }, consoleOption);
|
|
74
74
|
this._consoleTracker = consoleTracker;
|
|
75
75
|
const readyPromise = model.sharedModel.initialSyncReady;
|
|
76
|
-
readyPromise.then(() => {
|
|
76
|
+
readyPromise.then(async () => {
|
|
77
77
|
this._initModel({ model, commandRegistry });
|
|
78
|
-
this.
|
|
78
|
+
if (this._state) {
|
|
79
|
+
const stored = await this._state.fetch(`jupytergis:localUIState:${model.filePath}`);
|
|
80
|
+
if (stored !== undefined) {
|
|
81
|
+
model.setUIState(stored);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
this._initView(formSchemaRegistry, annotationModel, loggerRegistry);
|
|
79
85
|
});
|
|
80
86
|
}
|
|
81
87
|
_initModel(options) {
|
|
@@ -86,12 +92,15 @@ export class JupyterGISPanel extends SplitPanel {
|
|
|
86
92
|
commands: options.commandRegistry,
|
|
87
93
|
});
|
|
88
94
|
}
|
|
89
|
-
_initView(formSchemaRegistry, annotationModel) {
|
|
95
|
+
_initView(formSchemaRegistry, annotationModel, loggerRegistry) {
|
|
96
|
+
var _a;
|
|
90
97
|
this._jupyterGISMainViewPanel = new JupyterGISMainViewPanel({
|
|
91
98
|
mainViewModel: this._mainViewModel,
|
|
92
99
|
state: this._state,
|
|
93
100
|
formSchemaRegistry: formSchemaRegistry,
|
|
94
101
|
annotationModel: annotationModel,
|
|
102
|
+
loggerRegistry: loggerRegistry,
|
|
103
|
+
rendermime: (_a = this._consoleOption.rendermime) !== null && _a !== void 0 ? _a : null,
|
|
95
104
|
});
|
|
96
105
|
this.addWidget(this._jupyterGISMainViewPanel);
|
|
97
106
|
SplitPanel.setStretch(this._jupyterGISMainViewPanel, 1);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupytergis/base",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0-alpha.0",
|
|
4
4
|
"description": "A JupyterLab extension for 3D modelling.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jupyter",
|
|
@@ -27,8 +27,9 @@
|
|
|
27
27
|
"url": "https://github.com/geojupyter/jupytergis.git"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
|
-
"
|
|
31
|
-
"build
|
|
30
|
+
"test": "jest",
|
|
31
|
+
"build": "jlpm build:gallery && tspc -b && jlpm run cp:gdal",
|
|
32
|
+
"build:gallery": "uv run --directory ../../scripts/layer_gallery python layer_gallery",
|
|
32
33
|
"cp:gdal": "cp ../../node_modules/gdal3.js/dist/package/gdal3WebAssembly.data lib && cp ../../node_modules/gdal3.js/dist/package/gdal3WebAssembly.wasm lib",
|
|
33
34
|
"build:prod": "jlpm run clean && jlpm run build",
|
|
34
35
|
"build:dev": "tspc -b && jlpm run cp:gdal",
|
|
@@ -37,6 +38,7 @@
|
|
|
37
38
|
"clean:all": "jlpm run clean:lib",
|
|
38
39
|
"watch": "tspc -w"
|
|
39
40
|
},
|
|
41
|
+
"packageManager": "yarn@3.5.0",
|
|
40
42
|
"dependencies": {
|
|
41
43
|
"@fortawesome/fontawesome-svg-core": "^6.5.2",
|
|
42
44
|
"@fortawesome/free-solid-svg-icons": "^6.5.2",
|
|
@@ -44,7 +46,7 @@
|
|
|
44
46
|
"@jupyter/collaboration": "^4",
|
|
45
47
|
"@jupyter/react-components": "^0.16.6",
|
|
46
48
|
"@jupyter/ydoc": "^2.0.0 || ^3.0.0",
|
|
47
|
-
"@jupytergis/schema": "^0.
|
|
49
|
+
"@jupytergis/schema": "^0.16.0-alpha.0",
|
|
48
50
|
"@jupyterlab/application": "^4.3.0",
|
|
49
51
|
"@jupyterlab/apputils": "^4.3.0",
|
|
50
52
|
"@jupyterlab/completer": "^4.3.0",
|
|
@@ -53,7 +55,9 @@
|
|
|
53
55
|
"@jupyterlab/docregistry": "^4.3.0",
|
|
54
56
|
"@jupyterlab/filebrowser": "^4.3.0",
|
|
55
57
|
"@jupyterlab/launcher": "^4.3.0",
|
|
58
|
+
"@jupyterlab/logconsole": "^4.3.0",
|
|
56
59
|
"@jupyterlab/observables": "^5.3.0",
|
|
60
|
+
"@jupyterlab/rendermime": "^4.3.0",
|
|
57
61
|
"@jupyterlab/services": "^7.3.0",
|
|
58
62
|
"@jupyterlab/translation": "^4.3.0",
|
|
59
63
|
"@jupyterlab/ui-components": "^4.3.1",
|
|
@@ -64,6 +68,14 @@
|
|
|
64
68
|
"@lumino/widgets": "^2.0.0",
|
|
65
69
|
"@mapbox/vector-tile": "^2.0.3",
|
|
66
70
|
"@naisutech/react-tree": "^3.0.1",
|
|
71
|
+
"@ngageoint/geopackage": "^4.2.6",
|
|
72
|
+
"@openeo/js-client": "^2.12.0",
|
|
73
|
+
"@radix-ui/react-checkbox": "^1.3.2",
|
|
74
|
+
"@radix-ui/react-dropdown-menu": "^2.1.15",
|
|
75
|
+
"@radix-ui/react-popover": "^1.1.14",
|
|
76
|
+
"@radix-ui/react-slot": "^1.2.3",
|
|
77
|
+
"@radix-ui/react-tabs": "^1.1.12",
|
|
78
|
+
"@radix-ui/react-toggle-group": "^1.1.10",
|
|
67
79
|
"@rjsf/core": "^4.2.0",
|
|
68
80
|
"@rjsf/validator-ajv8": "^5.23.1",
|
|
69
81
|
"ajv": "^8.14.0",
|
|
@@ -71,6 +83,7 @@
|
|
|
71
83
|
"clsx": "^2.1.1",
|
|
72
84
|
"cmdk": "^1.1.1",
|
|
73
85
|
"colormap": "^2.3.2",
|
|
86
|
+
"d3-scale-chromatic": "^3.0.0",
|
|
74
87
|
"date-fns": "^4.1.0",
|
|
75
88
|
"gdal3.js": "^2.8.1",
|
|
76
89
|
"geojson-vt": "^4.0.2",
|
|
@@ -79,6 +92,7 @@
|
|
|
79
92
|
"hyparquet-compressors": "^1.1.1",
|
|
80
93
|
"lucide-react": "^0.513.0",
|
|
81
94
|
"ol": "^10.1.0",
|
|
95
|
+
"ol-load-geopackage": "^1.0.3",
|
|
82
96
|
"ol-pmtiles": "^0.5.0",
|
|
83
97
|
"ol-stac": "^1.0.0-rc.10",
|
|
84
98
|
"pbf": "^4.0.1",
|
|
@@ -87,6 +101,7 @@
|
|
|
87
101
|
"proj4-list": "1.0.4",
|
|
88
102
|
"radix-ui": "^1.4.3",
|
|
89
103
|
"react": "^18.0.1",
|
|
104
|
+
"react-colorful": "^5.6.1",
|
|
90
105
|
"react-day-picker": "^9.7.0",
|
|
91
106
|
"react-markdown": "^10.1.0",
|
|
92
107
|
"shpjs": "^6.1.0",
|
package/style/base.css
CHANGED
|
@@ -15,6 +15,8 @@
|
|
|
15
15
|
@import url('./tabPanel.css');
|
|
16
16
|
@import url('./stacBrowser.css');
|
|
17
17
|
@import url('./storyPanel.css');
|
|
18
|
+
@import url('./storySpectaArticleOverlay.css');
|
|
19
|
+
@import url('./identify.css');
|
|
18
20
|
@import url('./shared/button.css');
|
|
19
21
|
@import url('./shared/toggle.css');
|
|
20
22
|
@import url('./shared/tabs.css');
|
|
@@ -32,6 +34,7 @@
|
|
|
32
34
|
@import url('./shared/command.css');
|
|
33
35
|
@import url('./shared/combobox.css');
|
|
34
36
|
@import url('./shared/input.css');
|
|
37
|
+
@import url('./shared/nativeSelect.css');
|
|
35
38
|
|
|
36
39
|
.errors {
|
|
37
40
|
color: var(--jp-warn-color0);
|
|
@@ -130,10 +133,92 @@ button.jp-mod-styled.jp-mod-reject {
|
|
|
130
133
|
left: 0;
|
|
131
134
|
}
|
|
132
135
|
|
|
136
|
+
/* Mobile bottom sheet — merged panel only */
|
|
137
|
+
@media (max-width: 768px) {
|
|
138
|
+
.jgis-merged-panel-container {
|
|
139
|
+
position: fixed;
|
|
140
|
+
bottom: var(--jp-statusbar-height, 0px);
|
|
141
|
+
left: 0;
|
|
142
|
+
right: 0;
|
|
143
|
+
z-index: 1000;
|
|
144
|
+
border-radius: 8px 8px 0 0;
|
|
145
|
+
box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
|
|
146
|
+
display: flex;
|
|
147
|
+
flex-direction: column;
|
|
148
|
+
height: 30vh;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/* Drag-to-resize handle */
|
|
152
|
+
.jgis-resize-handle {
|
|
153
|
+
display: flex;
|
|
154
|
+
justify-content: center;
|
|
155
|
+
align-items: center;
|
|
156
|
+
height: 24px;
|
|
157
|
+
flex-shrink: 0;
|
|
158
|
+
cursor: ns-resize;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.jgis-resize-handle::before {
|
|
162
|
+
content: '';
|
|
163
|
+
width: 36px;
|
|
164
|
+
height: 4px;
|
|
165
|
+
border-radius: 2px;
|
|
166
|
+
background-color: var(--jp-border-color1);
|
|
167
|
+
opacity: 0.5;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/* Panel tabs fill the remaining height */
|
|
171
|
+
.jgis-merged-panel-container .jgis-panel-tabs {
|
|
172
|
+
flex: 1;
|
|
173
|
+
min-height: 0;
|
|
174
|
+
display: flex;
|
|
175
|
+
flex-direction: column;
|
|
176
|
+
justify-content: flex-start;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.jgis-merged-panel-container .jgis-tabs-content[data-state='active'] {
|
|
180
|
+
flex: 1;
|
|
181
|
+
min-height: 0;
|
|
182
|
+
height: unset;
|
|
183
|
+
overflow-y: auto;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/* Tab list: natural-width tabs, horizontal scroll, thin scrollbar */
|
|
187
|
+
.jgis-merged-panel-container .jgis-tabs-list {
|
|
188
|
+
cursor: ns-resize;
|
|
189
|
+
justify-content: flex-start;
|
|
190
|
+
touch-action: pan-x;
|
|
191
|
+
scrollbar-width: thin;
|
|
192
|
+
scrollbar-color: var(--jp-border-color1) transparent;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.jgis-merged-panel-container .jgis-tabs-list:active {
|
|
196
|
+
cursor: ns-resize;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.jgis-merged-panel-container .jgis-tabs-list::-webkit-scrollbar {
|
|
200
|
+
height: 3px;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.jgis-merged-panel-container .jgis-tabs-list::-webkit-scrollbar-track {
|
|
204
|
+
background: transparent;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.jgis-merged-panel-container .jgis-tabs-list::-webkit-scrollbar-thumb {
|
|
208
|
+
background-color: var(--jp-border-color1);
|
|
209
|
+
border-radius: 2px;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
|
|
133
213
|
.jgis-icon-adjust {
|
|
134
214
|
padding-top: 5px;
|
|
135
215
|
}
|
|
136
216
|
|
|
217
|
+
.jgis-inline-icon {
|
|
218
|
+
width: 1em;
|
|
219
|
+
height: 1em;
|
|
220
|
+
}
|
|
221
|
+
|
|
137
222
|
.jgis-controls-toolbar {
|
|
138
223
|
width: 100%;
|
|
139
224
|
display: flex;
|
|
@@ -162,6 +247,21 @@ button.jp-mod-styled.jp-mod-reject {
|
|
|
162
247
|
right: 0.125rem;
|
|
163
248
|
}
|
|
164
249
|
|
|
250
|
+
.jgis-geometry-type-selector-overlay {
|
|
251
|
+
position: absolute;
|
|
252
|
+
bottom: 20px;
|
|
253
|
+
right: 0;
|
|
254
|
+
display: flex;
|
|
255
|
+
flex-direction: column;
|
|
256
|
+
padding: 8px;
|
|
257
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
258
|
+
color: white;
|
|
259
|
+
border-radius: 4px;
|
|
260
|
+
font-size: 12px;
|
|
261
|
+
gap: 8px;
|
|
262
|
+
z-index: 9999;
|
|
263
|
+
}
|
|
264
|
+
|
|
165
265
|
@media (max-width: 768px) {
|
|
166
266
|
.jgis-panels-wrapper {
|
|
167
267
|
position: fixed;
|
|
@@ -204,6 +304,14 @@ body[data-notebook='specta'] #main.jp-ThemedContainer {
|
|
|
204
304
|
transition: rotate 150ms ease;
|
|
205
305
|
}
|
|
206
306
|
|
|
207
|
-
[data-state='open']
|
|
307
|
+
[data-state='open'] .jgis-rotate-90 {
|
|
208
308
|
rotate: 90deg;
|
|
209
309
|
}
|
|
310
|
+
|
|
311
|
+
[data-icon='inline-start'] {
|
|
312
|
+
padding-right: 0.375rem;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
[data-icon='inline-end'] {
|
|
316
|
+
padding-left: 0.375rem;
|
|
317
|
+
}
|