@jupytergis/base 0.15.0 → 0.16.0-alpha.1
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 +5 -0
- package/lib/commands/BaseCommandIDs.js +5 -0
- package/lib/commands/index.js +218 -48
- package/lib/commands/operationCommands.js +2 -2
- package/lib/constants.js +9 -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/{formbuilder/objectform/layer/heatmapLayerForm.d.ts → features/layers/forms/layer/geoTiffLayerForm.d.ts} +1 -1
- package/lib/{formbuilder/objectform/layer/webGlLayerForm.js → features/layers/forms/layer/geoTiffLayerForm.js} +5 -5
- package/lib/{formbuilder/objectform → features/layers/forms}/layer/hillshadeLayerForm.js +4 -4
- package/lib/{formbuilder/objectform → features/layers/forms}/layer/index.d.ts +1 -2
- package/lib/{formbuilder/objectform → features/layers/forms}/layer/index.js +1 -2
- 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 +1 -0
- package/lib/{formbuilder/objectform → features/layers/forms}/source/index.js +1 -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/{formbuilder/objectform → features/layers/forms}/source/wmsTileSource.d.ts +1 -1
- package/lib/{formbuilder/objectform → features/layers/forms}/source/wmsTileSource.js +6 -6
- 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 +316 -0
- package/lib/{dialogs → features/layers}/symbology/classificationModes.d.ts +6 -6
- package/lib/{dialogs → features/layers}/symbology/classificationModes.js +48 -44
- package/lib/{dialogs → features/layers}/symbology/colorRampUtils.d.ts +1 -0
- package/lib/{dialogs → features/layers}/symbology/colorRampUtils.js +12 -1
- package/lib/features/layers/symbology/components/MappingRow.d.ts +40 -0
- package/lib/features/layers/symbology/components/MappingRow.js +520 -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 +4 -3
- 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 +6 -1
- package/lib/{dialogs → features/layers}/symbology/components/color_ramp/ModeSelectRow.d.ts +1 -1
- package/lib/{dialogs → features/layers}/symbology/components/color_ramp/RgbaColorPicker.js +39 -9
- package/lib/{dialogs → features/layers}/symbology/components/color_stops/StopContainer.js +1 -1
- package/lib/{dialogs → features/layers}/symbology/components/color_stops/StopRow.d.ts +1 -1
- package/lib/{dialogs → features/layers}/symbology/components/color_stops/StopRow.js +14 -2
- 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 +487 -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 +24 -0
- package/lib/features/layers/symbology/styleBuilder.js +158 -0
- package/lib/{dialogs → features/layers}/symbology/symbologyDialog.d.ts +1 -1
- package/lib/{dialogs → features/layers}/symbology/symbologyDialog.js +11 -13
- package/lib/{dialogs → features/layers}/symbology/symbologyUtils.d.ts +18 -10
- package/lib/{dialogs → features/layers}/symbology/symbologyUtils.js +0 -84
- 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 +5 -5
- 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.js +3 -3
- package/lib/{stacBrowser → features/stac-browser}/hooks/useStacSearch.js +1 -1
- 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 +11 -0
- package/lib/features/story/components/ListStoryStageOverlay.js +150 -0
- package/lib/features/story/components/ListStoryTitleBar.d.ts +7 -0
- package/lib/features/story/components/ListStoryTitleBar.js +20 -0
- package/lib/features/story/components/ListStoryTitleBarDesktop.d.ts +2 -0
- package/lib/features/story/components/ListStoryTitleBarDesktop.js +55 -0
- package/lib/features/story/components/ListStoryTitleBarMobile.d.ts +2 -0
- package/lib/features/story/components/ListStoryTitleBarMobile.js +41 -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/features/story/components/SpectaMobileListModeContent.d.ts +13 -0
- package/lib/features/story/components/SpectaMobileListModeContent.js +36 -0
- package/lib/features/story/components/SpectaMobileSingleModeContent.d.ts +14 -0
- package/lib/{panelview/story-maps/components/SpectaMobileView.js → features/story/components/SpectaMobileSingleModeContent.js} +4 -6
- package/lib/{panelview/story-maps → features/story}/components/SpectaMobileView.d.ts +5 -3
- package/lib/features/story/components/SpectaMobileView.js +12 -0
- 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 +19 -0
- package/lib/features/story/context/ListStoryScrollTrackContext.js +186 -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 +21 -60
- 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 +43 -0
- package/lib/features/story/types/types.js +1 -0
- package/lib/features/story/utils/computeListStoryScrollState.d.ts +14 -0
- package/lib/features/story/utils/computeListStoryScrollState.js +79 -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/components/MainViewMapSurface.d.ts +15 -0
- package/lib/mainview/components/MainViewMapSurface.js +13 -0
- package/lib/mainview/components/MainViewOverlayLayer.d.ts +9 -0
- package/lib/mainview/components/MainViewOverlayLayer.js +11 -0
- package/lib/mainview/components/MainViewSidePanels.d.ts +17 -0
- package/lib/mainview/components/MainViewSidePanels.js +10 -0
- package/lib/mainview/components/MainViewSpectaPanel.d.ts +17 -0
- package/lib/mainview/components/MainViewSpectaPanel.js +8 -0
- package/lib/mainview/components/MainViewStoryStage.d.ts +13 -0
- package/lib/mainview/components/MainViewStoryStage.js +17 -0
- package/lib/mainview/components/PositionedFloater.d.ts +10 -0
- package/lib/mainview/components/PositionedFloater.js +7 -0
- package/lib/mainview/geoJsonFeaturePatch.d.ts +9 -0
- package/lib/mainview/geoJsonFeaturePatch.js +43 -0
- package/lib/mainview/mainView.d.ts +93 -14
- package/lib/mainview/mainView.js +1216 -686
- 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 +10 -7
- 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/{formbuilder → shared/formbuilder}/objectform/components/WmsTileSourceUrlInput.js +4 -4
- 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 +1 -1
- 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 +2 -0
- package/lib/tools.js +138 -4
- package/lib/types.d.ts +6 -1
- package/lib/types.js +6 -2
- package/lib/{menus.js → workspace/menus.js} +10 -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 +63 -18
- 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 +16 -4
- package/style/base.css +124 -2
- 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 +29 -1
- 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 +1 -1
- package/style/spectaProgressBar.css +0 -1
- package/style/storyPanel.css +330 -9
- package/style/storySpectaArticleOverlay.css +129 -0
- package/style/symbologyDialog.css +522 -27
- 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 -313
- 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 -130
- package/lib/dialogs/symbology/vector_layer/types/Categorized.d.ts +0 -4
- package/lib/dialogs/symbology/vector_layer/types/Categorized.js +0 -243
- package/lib/dialogs/symbology/vector_layer/types/Graduated.d.ts +0 -4
- package/lib/dialogs/symbology/vector_layer/types/Graduated.js +0 -362
- package/lib/dialogs/symbology/vector_layer/types/Heatmap.d.ts +0 -4
- package/lib/dialogs/symbology/vector_layer/types/Heatmap.js +0 -89
- package/lib/dialogs/symbology/vector_layer/types/SimpleSymbol.d.ts +0 -4
- package/lib/dialogs/symbology/vector_layer/types/SimpleSymbol.js +0 -120
- package/lib/formbuilder/index.d.ts +0 -4
- package/lib/formbuilder/index.js +0 -4
- package/lib/formbuilder/objectform/layer/heatmapLayerForm.js +0 -96
- 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 -210
- 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/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/ColorRampSelectorEntry.d.ts +0 -0
- /package/lib/{dialogs → features/layers}/symbology/components/color_ramp/ColorRampSelectorEntry.js +0 -0
- /package/lib/{dialogs → features/layers}/symbology/components/color_ramp/ModeSelectRow.js +0 -0
- /package/lib/{dialogs → features/layers}/symbology/components/color_ramp/RgbaColorPicker.d.ts +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}/hooks/useStacFilterExtension.d.ts +0 -0
- /package/lib/{stacBrowser → features/stac-browser}/hooks/useStacSearch.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/components/WmsTileSourceUrlInput.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
|
@@ -14,6 +14,18 @@ select option {
|
|
|
14
14
|
max-height: 80%;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
+
@media (max-width: 960px) {
|
|
18
|
+
.jp-gis-symbology-dialog .jp-Dialog-content {
|
|
19
|
+
width: 100%;
|
|
20
|
+
max-width: 100%;
|
|
21
|
+
max-height: 90%;
|
|
22
|
+
margin: 0;
|
|
23
|
+
border-radius: 0;
|
|
24
|
+
padding-left: 8px;
|
|
25
|
+
padding-right: 8px;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
17
29
|
.jp-gis-symbology-row {
|
|
18
30
|
display: flex;
|
|
19
31
|
justify-content: space-between;
|
|
@@ -53,12 +65,6 @@ select option {
|
|
|
53
65
|
max-width: 25%;
|
|
54
66
|
}
|
|
55
67
|
|
|
56
|
-
.jp-gis-band-container {
|
|
57
|
-
display: flex;
|
|
58
|
-
flex-direction: column;
|
|
59
|
-
gap: 13px;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
68
|
.jp-gis-layer-symbology-container {
|
|
63
69
|
display: flex;
|
|
64
70
|
flex-direction: column;
|
|
@@ -121,27 +127,6 @@ select option {
|
|
|
121
127
|
padding-top: 0.5rem;
|
|
122
128
|
}
|
|
123
129
|
|
|
124
|
-
.jp-gis-band-info-loading-container {
|
|
125
|
-
display: flex;
|
|
126
|
-
justify-content: center;
|
|
127
|
-
align-items: center;
|
|
128
|
-
gap: 2rem;
|
|
129
|
-
margin: auto;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.jp-gis-band-info-loading-container > span {
|
|
133
|
-
font-size: 1rem;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
@keyframes spin {
|
|
137
|
-
from {
|
|
138
|
-
transform: rotate(0deg);
|
|
139
|
-
}
|
|
140
|
-
to {
|
|
141
|
-
transform: rotate(360deg);
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
|
|
145
130
|
.jp-gis-color-ramp-dropdown {
|
|
146
131
|
display: flex;
|
|
147
132
|
flex-direction: column;
|
|
@@ -263,6 +248,516 @@ select option {
|
|
|
263
248
|
-webkit-appearance: none;
|
|
264
249
|
}
|
|
265
250
|
|
|
251
|
+
/* ---------------------------------------------------------------------------
|
|
252
|
+
* Grammar layer sections
|
|
253
|
+
* --------------------------------------------------------------------------*/
|
|
254
|
+
|
|
255
|
+
.jp-gis-grammar-layer-section {
|
|
256
|
+
border: 1px solid var(--jp-border-color1);
|
|
257
|
+
border-radius: 4px;
|
|
258
|
+
margin-bottom: 8px;
|
|
259
|
+
overflow: hidden;
|
|
260
|
+
background: color-mix(in srgb, var(--jp-layout-color2) 50%, transparent);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.jp-gis-grammar-layer-header {
|
|
264
|
+
display: flex;
|
|
265
|
+
align-items: center;
|
|
266
|
+
gap: 6px;
|
|
267
|
+
padding: 4px 6px;
|
|
268
|
+
background: color-mix(in srgb, var(--jp-layout-color2) 50%, transparent);
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.jp-gis-grammar-layer-label {
|
|
272
|
+
font-size: var(--jp-ui-font-size1);
|
|
273
|
+
font-weight: 600;
|
|
274
|
+
color: var(--jp-ui-font-color1);
|
|
275
|
+
flex: 1 0 auto;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.jp-gis-grammar-transform-row {
|
|
279
|
+
display: flex;
|
|
280
|
+
align-items: center;
|
|
281
|
+
gap: 6px;
|
|
282
|
+
padding: 4px 6px;
|
|
283
|
+
background: color-mix(in srgb, var(--jp-layout-color2) 50%, transparent);
|
|
284
|
+
border-bottom: 1px solid var(--jp-border-color2);
|
|
285
|
+
font-size: var(--jp-ui-font-size1);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.jp-gis-grammar-transform-row label {
|
|
289
|
+
color: var(--jp-ui-font-color2);
|
|
290
|
+
white-space: nowrap;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.jp-gis-grammar-transform-row input,
|
|
294
|
+
.jp-gis-grammar-transform-row [data-slot='native-select'],
|
|
295
|
+
.jp-gis-grammar-transform-row select,
|
|
296
|
+
.jp-gis-grammar-transform-row .jgis-native-select {
|
|
297
|
+
background: transparent;
|
|
298
|
+
background-color: transparent;
|
|
299
|
+
border-color: transparent;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.jp-gis-grammar-transform-row .jgis-button,
|
|
303
|
+
.jp-gis-grammar-layer-header .jgis-button,
|
|
304
|
+
.jp-gis-grammar-layer-section > .jp-gis-grammar-when-row .jgis-button {
|
|
305
|
+
background: transparent;
|
|
306
|
+
background-color: transparent;
|
|
307
|
+
border-color: transparent;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
/* ---------------------------------------------------------------------------
|
|
311
|
+
* Grammar reorder pill (drag handle + arrows above each rule)
|
|
312
|
+
* --------------------------------------------------------------------------*/
|
|
313
|
+
|
|
314
|
+
/* Desktop: horizontal row with sidebar left of rule */
|
|
315
|
+
.jp-gis-grammar-drag-wrapper {
|
|
316
|
+
display: flex;
|
|
317
|
+
flex-direction: row;
|
|
318
|
+
align-items: stretch;
|
|
319
|
+
padding-left: 5px;
|
|
320
|
+
padding-right: 8px; /* A little more on the right because of the scroll bar */
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.jp-gis-grammar-drag-wrapper > .jp-gis-grammar-rule {
|
|
324
|
+
flex: 1;
|
|
325
|
+
min-width: 0;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
/* Vertical sidebar: ↑ ⠿ ↓ stacked */
|
|
329
|
+
.jp-gis-grammar-reorder-bar {
|
|
330
|
+
display: flex;
|
|
331
|
+
flex-direction: column;
|
|
332
|
+
align-items: center;
|
|
333
|
+
justify-content: center;
|
|
334
|
+
gap: 0;
|
|
335
|
+
padding: 2px 0;
|
|
336
|
+
color: var(--jp-ui-font-color3);
|
|
337
|
+
background: color-mix(in srgb, var(--jp-layout-color2) 50%, transparent);
|
|
338
|
+
border: 1px solid var(--jp-border-color2);
|
|
339
|
+
border-right: none;
|
|
340
|
+
border-radius: 4px 0 0 4px;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.jp-gis-grammar-reorder-bar + .jp-gis-grammar-rule {
|
|
344
|
+
border-top-left-radius: 0;
|
|
345
|
+
border-bottom-left-radius: 0;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.jp-gis-grammar-reorder-bar .jgis-button {
|
|
349
|
+
height: 20px;
|
|
350
|
+
width: 22px;
|
|
351
|
+
padding: 0;
|
|
352
|
+
border: none;
|
|
353
|
+
border-radius: 0;
|
|
354
|
+
color: var(--jp-ui-font-color3);
|
|
355
|
+
background: none;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
.jp-gis-grammar-reorder-bar .jgis-button:hover:not(:disabled) {
|
|
359
|
+
color: var(--jp-ui-font-color1);
|
|
360
|
+
background: var(--jp-layout-color3);
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
.jp-gis-grammar-reorder-bar .jgis-button:disabled {
|
|
364
|
+
opacity: 0.3;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
.jp-gis-grammar-drag-handle {
|
|
368
|
+
display: flex;
|
|
369
|
+
align-items: center;
|
|
370
|
+
justify-content: center;
|
|
371
|
+
width: 22px;
|
|
372
|
+
height: 20px;
|
|
373
|
+
flex-shrink: 0;
|
|
374
|
+
cursor: grab;
|
|
375
|
+
color: var(--jp-ui-font-color3);
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
.jp-gis-grammar-drag-handle:hover {
|
|
379
|
+
color: var(--jp-ui-font-color1);
|
|
380
|
+
background: var(--jp-layout-color3);
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.jp-gis-grammar-drag-handle:active {
|
|
384
|
+
cursor: grabbing;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
/* Mobile: horizontal bar on top */
|
|
388
|
+
@media (max-width: 960px) {
|
|
389
|
+
.jp-gis-grammar-drag-wrapper {
|
|
390
|
+
flex-direction: column;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.jp-gis-grammar-reorder-bar {
|
|
394
|
+
flex-direction: row;
|
|
395
|
+
justify-content: flex-start;
|
|
396
|
+
padding: 0 2px;
|
|
397
|
+
border-right: 1px solid var(--jp-border-color2);
|
|
398
|
+
border-bottom: none;
|
|
399
|
+
border-radius: 4px 4px 0 0;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.jp-gis-grammar-reorder-bar + .jp-gis-grammar-rule {
|
|
403
|
+
border-top-left-radius: 0;
|
|
404
|
+
border-top-right-radius: 0;
|
|
405
|
+
border-bottom-left-radius: 4px;
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
/* ---------------------------------------------------------------------------
|
|
410
|
+
* Grammar rule rows
|
|
411
|
+
* --------------------------------------------------------------------------*/
|
|
412
|
+
|
|
413
|
+
.jp-gis-grammar-rule {
|
|
414
|
+
border: 1px solid var(--jp-border-color2);
|
|
415
|
+
border-radius: 4px;
|
|
416
|
+
overflow: hidden;
|
|
417
|
+
background: var(--jp-layout-color0);
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
/* Desktop: horizontal flow — input → scale+preview → output */
|
|
421
|
+
.jp-gis-grammar-rule-grid {
|
|
422
|
+
display: flex;
|
|
423
|
+
align-items: center;
|
|
424
|
+
gap: 4px;
|
|
425
|
+
padding: 4px 6px;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
.jp-gis-grammar-section {
|
|
429
|
+
display: contents;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
.jp-gis-grammar-scale-section {
|
|
433
|
+
display: flex;
|
|
434
|
+
align-items: center;
|
|
435
|
+
gap: 4px;
|
|
436
|
+
flex: 1;
|
|
437
|
+
min-width: 0;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
.jp-gis-grammar-scale-section .jp-gis-grammar-preview-btn {
|
|
441
|
+
min-width: 0;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
.jp-gis-grammar-output-section {
|
|
445
|
+
display: flex;
|
|
446
|
+
flex-direction: column;
|
|
447
|
+
gap: 3px;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
.jp-gis-grammar-channel-row {
|
|
451
|
+
display: flex;
|
|
452
|
+
align-items: center;
|
|
453
|
+
gap: 4px;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
.jp-gis-grammar-channel-select {
|
|
457
|
+
min-width: 0;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
.jp-gis-grammar-channel-select .jgis-combobox-button,
|
|
461
|
+
.jp-gis-grammar-channel-select .jgis-native-select {
|
|
462
|
+
width: 100%;
|
|
463
|
+
box-sizing: border-box;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
.jp-gis-grammar-rule-grid [data-slot='native-select'],
|
|
467
|
+
.jp-gis-grammar-transform-row [data-slot='native-select'] {
|
|
468
|
+
border-color: transparent;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
.jp-gis-grammar-rule-grid [data-slot='native-select']:hover,
|
|
472
|
+
.jp-gis-grammar-transform-row [data-slot='native-select']:hover {
|
|
473
|
+
border-color: var(--jp-border-color1);
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
/* Mobile: stacked top-to-bottom */
|
|
477
|
+
@media (max-width: 960px) {
|
|
478
|
+
.jp-gis-grammar-rule-grid {
|
|
479
|
+
flex-direction: column;
|
|
480
|
+
align-items: stretch;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
.jp-gis-grammar-section {
|
|
484
|
+
display: flex;
|
|
485
|
+
flex-direction: column;
|
|
486
|
+
gap: 4px;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
.jp-gis-grammar-input-section {
|
|
490
|
+
display: contents;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
.jp-gis-grammar-scale-section {
|
|
494
|
+
flex-direction: column;
|
|
495
|
+
align-items: flex-start;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
.jp-gis-grammar-rule-grid > .jp-gis-grammar-arrow {
|
|
499
|
+
align-self: flex-start;
|
|
500
|
+
text-align: left;
|
|
501
|
+
transform: rotate(90deg);
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
.jp-gis-grammar-scale-section .jgis-native-select {
|
|
505
|
+
align-self: flex-start;
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
.jp-gis-grammar-rule-editor {
|
|
510
|
+
border-top: 1px solid var(--jp-border-color2);
|
|
511
|
+
padding: 8px;
|
|
512
|
+
display: flex;
|
|
513
|
+
flex-direction: column;
|
|
514
|
+
gap: 8px;
|
|
515
|
+
background: var(--jp-layout-color0);
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
.jp-gis-grammar-action-btn {
|
|
519
|
+
background: transparent;
|
|
520
|
+
border: 1px solid var(--jp-border-color2);
|
|
521
|
+
border-radius: var(--jp-border-radius, 0.375rem);
|
|
522
|
+
color: var(--jp-ui-font-color1);
|
|
523
|
+
font-size: var(--jp-ui-font-size1);
|
|
524
|
+
padding: 4px 12px;
|
|
525
|
+
cursor: pointer;
|
|
526
|
+
width: fit-content;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
.jp-gis-grammar-action-btn:hover {
|
|
530
|
+
background: var(--jp-layout-color2);
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
.jp-gis-grammar-action-btn:disabled {
|
|
534
|
+
opacity: 0.5;
|
|
535
|
+
cursor: not-allowed;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
/* Preview button spans all channel rows — stretches vertically */
|
|
539
|
+
.jp-gis-grammar-preview-btn {
|
|
540
|
+
background: none;
|
|
541
|
+
border: 1px solid transparent;
|
|
542
|
+
border-radius: 4px;
|
|
543
|
+
padding: 4px 8px;
|
|
544
|
+
cursor: pointer;
|
|
545
|
+
display: flex;
|
|
546
|
+
align-items: center;
|
|
547
|
+
align-self: stretch;
|
|
548
|
+
justify-content: flex-start;
|
|
549
|
+
gap: 6px;
|
|
550
|
+
min-width: 0;
|
|
551
|
+
min-height: 36px;
|
|
552
|
+
overflow: hidden;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
.jp-gis-grammar-preview-btn:hover {
|
|
556
|
+
border-color: var(--jp-border-color2);
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
.jp-gis-grammar-preview-chevron {
|
|
560
|
+
flex-shrink: 0;
|
|
561
|
+
color: var(--jp-ui-font-color3);
|
|
562
|
+
font-size: 12px;
|
|
563
|
+
line-height: 1;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
.jp-gis-grammar-preview-btn:hover {
|
|
567
|
+
background: color-mix(in srgb, var(--jp-layout-color2) 40%, transparent);
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
.jp-gis-grammar-preview-btn:hover .jp-gis-grammar-preview-chevron {
|
|
571
|
+
color: var(--jp-ui-font-color1);
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
.jp-gis-scale-preview {
|
|
575
|
+
display: flex;
|
|
576
|
+
align-items: center;
|
|
577
|
+
gap: 6px;
|
|
578
|
+
font-size: var(--jp-ui-font-size1);
|
|
579
|
+
min-height: 16px;
|
|
580
|
+
overflow: hidden;
|
|
581
|
+
width: 100%;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
.jp-gis-scale-meta {
|
|
585
|
+
font-size: var(--jp-ui-font-size1);
|
|
586
|
+
color: var(--jp-ui-font-color2);
|
|
587
|
+
overflow: hidden;
|
|
588
|
+
text-overflow: ellipsis;
|
|
589
|
+
white-space: nowrap;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
.jp-gis-scale-swatch {
|
|
593
|
+
flex-shrink: 0;
|
|
594
|
+
width: 18px;
|
|
595
|
+
height: 18px;
|
|
596
|
+
border-radius: 3px;
|
|
597
|
+
border: 1px solid var(--jp-border-color1);
|
|
598
|
+
display: inline-block;
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
.jp-gis-scale-dot {
|
|
602
|
+
flex-shrink: 0;
|
|
603
|
+
width: 10px;
|
|
604
|
+
height: 10px;
|
|
605
|
+
border-radius: 50%;
|
|
606
|
+
display: inline-block;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
.jp-gis-grammar-arrow {
|
|
610
|
+
color: var(--jp-ui-font-color2);
|
|
611
|
+
text-align: center;
|
|
612
|
+
padding: 0 2px;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
.jp-gis-grammar-delete-btn {
|
|
616
|
+
background: none;
|
|
617
|
+
border: none;
|
|
618
|
+
cursor: pointer;
|
|
619
|
+
color: var(--jp-ui-font-color2);
|
|
620
|
+
padding: 0 4px;
|
|
621
|
+
font-size: 16px;
|
|
622
|
+
line-height: 1;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
/* When clause */
|
|
626
|
+
|
|
627
|
+
.jp-gis-grammar-layer-section > .jp-gis-grammar-when-row {
|
|
628
|
+
background: color-mix(in srgb, var(--jp-layout-color2) 50%, transparent);
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
.jp-gis-grammar-when-row {
|
|
632
|
+
display: flex;
|
|
633
|
+
align-items: center;
|
|
634
|
+
flex-wrap: wrap;
|
|
635
|
+
gap: 4px;
|
|
636
|
+
padding: 3px 6px 4px;
|
|
637
|
+
border-top: 1px solid var(--jp-border-color3);
|
|
638
|
+
background: var(--jp-layout-color1);
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
.jp-gis-grammar-when-label {
|
|
642
|
+
font-size: var(--jp-ui-font-size0);
|
|
643
|
+
color: var(--jp-ui-font-color2);
|
|
644
|
+
font-style: italic;
|
|
645
|
+
flex-shrink: 0;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
.jp-gis-grammar-when-op {
|
|
649
|
+
height: 20px;
|
|
650
|
+
padding: 0 4px;
|
|
651
|
+
font-size: var(--jp-ui-font-size0);
|
|
652
|
+
border-radius: 10px;
|
|
653
|
+
border: 1px solid transparent;
|
|
654
|
+
background: var(--jp-layout-color0);
|
|
655
|
+
color: var(--jp-ui-font-color1);
|
|
656
|
+
cursor: pointer;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
.jp-gis-grammar-when-chip {
|
|
660
|
+
display: inline-flex;
|
|
661
|
+
align-items: center;
|
|
662
|
+
gap: 2px;
|
|
663
|
+
padding: 1px 6px;
|
|
664
|
+
background: var(--jp-layout-color0);
|
|
665
|
+
border: 1px solid transparent;
|
|
666
|
+
border-radius: 10px;
|
|
667
|
+
font-size: var(--jp-ui-font-size0);
|
|
668
|
+
white-space: nowrap;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
.jp-gis-grammar-when-chip button {
|
|
672
|
+
background: none;
|
|
673
|
+
border: none;
|
|
674
|
+
padding: 0 0 0 2px;
|
|
675
|
+
cursor: pointer;
|
|
676
|
+
line-height: 1;
|
|
677
|
+
color: var(--jp-ui-font-color2);
|
|
678
|
+
font-size: 11px;
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
.jgis-button.jp-gis-grammar-when-add-btn {
|
|
682
|
+
background: transparent;
|
|
683
|
+
background-color: transparent;
|
|
684
|
+
border: 1px dashed var(--jp-border-color2);
|
|
685
|
+
border-radius: 10px;
|
|
686
|
+
padding: 1px 8px;
|
|
687
|
+
cursor: pointer;
|
|
688
|
+
font-size: var(--jp-ui-font-size0);
|
|
689
|
+
color: var(--jp-ui-font-color2);
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
.jp-gis-grammar-when-add-btn:hover {
|
|
693
|
+
border-color: var(--jp-brand-color1);
|
|
694
|
+
color: var(--jp-brand-color1);
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
.jp-gis-grammar-when-form {
|
|
698
|
+
display: inline-flex;
|
|
699
|
+
align-items: center;
|
|
700
|
+
gap: 4px;
|
|
701
|
+
flex-wrap: nowrap;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
.jp-gis-grammar-when-form .jgis-native-select {
|
|
705
|
+
flex: 0 0 auto;
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
/* Make when-form selects compact to match the when-row height */
|
|
709
|
+
.jp-gis-grammar-when-form [data-slot='native-select'] {
|
|
710
|
+
height: 24px;
|
|
711
|
+
font-size: var(--jp-ui-font-size0);
|
|
712
|
+
padding-top: 0;
|
|
713
|
+
padding-bottom: 0;
|
|
714
|
+
border-color: transparent;
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
/* Make when-form inputs compact too */
|
|
718
|
+
.jp-gis-grammar-when-form [data-slot='input'],
|
|
719
|
+
.jp-gis-grammar-when-form input {
|
|
720
|
+
height: 24px;
|
|
721
|
+
font-size: var(--jp-ui-font-size0);
|
|
722
|
+
border-color: var(--jp-border-color2);
|
|
723
|
+
box-shadow: none;
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
/* Icon buttons in the when-form should be transparent, not white */
|
|
727
|
+
.jp-gis-grammar-when-form .jgis-button {
|
|
728
|
+
background: transparent;
|
|
729
|
+
background-color: transparent;
|
|
730
|
+
border-color: transparent;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
.jgis-button.jp-gis-grammar-when-form-cancel {
|
|
734
|
+
color: var(--jp-error-color0);
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
/* Domain min/max pair inside a symbology row */
|
|
738
|
+
.jp-gis-domain-inputs {
|
|
739
|
+
display: flex;
|
|
740
|
+
gap: 4px;
|
|
741
|
+
flex: 1 0 50%;
|
|
742
|
+
max-width: 50%;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
@media (max-width: 960px) {
|
|
746
|
+
.jp-gis-symbology-row {
|
|
747
|
+
flex-wrap: wrap;
|
|
748
|
+
gap: 0.5rem;
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
.jp-gis-symbology-row > .jp-select-wrapper,
|
|
752
|
+
.jp-gis-symbology-row > .jp-mod-styled,
|
|
753
|
+
.jp-gis-symbology-row > .jp-gis-rgba-picker,
|
|
754
|
+
.jp-gis-canvas-button-wrapper,
|
|
755
|
+
.jp-gis-domain-inputs {
|
|
756
|
+
flex: 1 0 100%;
|
|
757
|
+
max-width: 100%;
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
|
|
266
761
|
.jp-gis-transparent-label {
|
|
267
762
|
display: flex;
|
|
268
763
|
align-items: center;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import React, { useEffect, useState } from 'react';
|
|
2
|
-
import MultibandColor from './types/MultibandColor';
|
|
3
|
-
import SingleBandPseudoColor from './types/SingleBandPseudoColor';
|
|
4
|
-
const TiffRendering = ({ model, okSignalPromise, layerId, isStorySegmentOverride, segmentId, }) => {
|
|
5
|
-
const renderTypes = ['Singleband Pseudocolor', 'Multiband Color'];
|
|
6
|
-
const [selectedRenderType, setSelectedRenderType] = useState();
|
|
7
|
-
const [componentToRender, setComponentToRender] = useState(null);
|
|
8
|
-
let RenderComponent;
|
|
9
|
-
if (!layerId) {
|
|
10
|
-
return;
|
|
11
|
-
}
|
|
12
|
-
useEffect(() => {
|
|
13
|
-
var _a, _b;
|
|
14
|
-
const layer = model.getLayer(layerId);
|
|
15
|
-
const renderType = (_b = (_a = layer === null || layer === void 0 ? void 0 : layer.parameters) === null || _a === void 0 ? void 0 : _a.symbologyState) === null || _b === void 0 ? void 0 : _b.renderType;
|
|
16
|
-
setSelectedRenderType(renderType !== null && renderType !== void 0 ? renderType : 'Singleband Pseudocolor');
|
|
17
|
-
}, []);
|
|
18
|
-
useEffect(() => {
|
|
19
|
-
if (!selectedRenderType) {
|
|
20
|
-
return;
|
|
21
|
-
}
|
|
22
|
-
switch (selectedRenderType) {
|
|
23
|
-
case 'Singleband Pseudocolor':
|
|
24
|
-
RenderComponent = (React.createElement(SingleBandPseudoColor, { model: model, okSignalPromise: okSignalPromise, layerId: layerId, isStorySegmentOverride: isStorySegmentOverride, segmentId: segmentId }));
|
|
25
|
-
break;
|
|
26
|
-
case 'Multiband Color':
|
|
27
|
-
RenderComponent = (React.createElement(MultibandColor, { model: model, okSignalPromise: okSignalPromise, layerId: layerId, isStorySegmentOverride: isStorySegmentOverride, segmentId: segmentId }));
|
|
28
|
-
break;
|
|
29
|
-
default:
|
|
30
|
-
RenderComponent = React.createElement("div", null, "Render Type Not Implemented (yet)");
|
|
31
|
-
}
|
|
32
|
-
setComponentToRender(RenderComponent);
|
|
33
|
-
}, [selectedRenderType]);
|
|
34
|
-
return (React.createElement(React.Fragment, null,
|
|
35
|
-
React.createElement("div", { className: "jp-gis-symbology-row" },
|
|
36
|
-
React.createElement("label", { htmlFor: "render-type-select" }, "Render Type:"),
|
|
37
|
-
React.createElement("select", { name: "render-type-select", id: "render-type-select", value: selectedRenderType, onChange: event => {
|
|
38
|
-
setSelectedRenderType(event.target.value);
|
|
39
|
-
} }, renderTypes.map((func, funcIndex) => (React.createElement("option", { key: func, value: func }, func))))),
|
|
40
|
-
componentToRender));
|
|
41
|
-
};
|
|
42
|
-
export default TiffRendering;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IBandRow } from "../../hooks/useGetBandInfo";
|
|
3
|
-
interface IBandRowProps {
|
|
4
|
-
label: string;
|
|
5
|
-
index: number;
|
|
6
|
-
bandRow: IBandRow;
|
|
7
|
-
bandRows: IBandRow[];
|
|
8
|
-
setSelectedBand: (band: number) => void;
|
|
9
|
-
setBandRows: (bandRows: IBandRow[]) => void;
|
|
10
|
-
isMultibandColor?: boolean;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @param label Label displayed in symbology dialog
|
|
15
|
-
* @param index Index of current row in band row data
|
|
16
|
-
* @param bandRow Band from bands array, will be undefined when band is 'unset' in Multiband color
|
|
17
|
-
* @param bandRows Bands array from tiff data
|
|
18
|
-
* @param setSelectedBand Function to set selected band parent
|
|
19
|
-
* @param setBandRows Function to update band rows in parent
|
|
20
|
-
* @param isMultibandColor Used to hide min/max input and add 'Unset' option to drop down menu for MultiBand symbology
|
|
21
|
-
*/
|
|
22
|
-
declare const BandRow: React.FC<IBandRowProps>;
|
|
23
|
-
export default BandRow;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import React, { useState } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* @param label Label displayed in symbology dialog
|
|
5
|
-
* @param index Index of current row in band row data
|
|
6
|
-
* @param bandRow Band from bands array, will be undefined when band is 'unset' in Multiband color
|
|
7
|
-
* @param bandRows Bands array from tiff data
|
|
8
|
-
* @param setSelectedBand Function to set selected band parent
|
|
9
|
-
* @param setBandRows Function to update band rows in parent
|
|
10
|
-
* @param isMultibandColor Used to hide min/max input and add 'Unset' option to drop down menu for MultiBand symbology
|
|
11
|
-
*/
|
|
12
|
-
const BandRow = ({ label, index, bandRow, bandRows, setSelectedBand, setBandRows, isMultibandColor, }) => {
|
|
13
|
-
const [minValue, setMinValue] = useState(bandRow === null || bandRow === void 0 ? void 0 : bandRow.stats.minimum);
|
|
14
|
-
const [maxValue, setMaxValue] = useState(bandRow === null || bandRow === void 0 ? void 0 : bandRow.stats.maximum);
|
|
15
|
-
const handleMinValueChange = (event) => {
|
|
16
|
-
setMinValue(+event.target.value);
|
|
17
|
-
setNewBands();
|
|
18
|
-
};
|
|
19
|
-
const handleMaxValueChange = (event) => {
|
|
20
|
-
setMaxValue(+event.target.value);
|
|
21
|
-
setNewBands();
|
|
22
|
-
};
|
|
23
|
-
const setNewBands = () => {
|
|
24
|
-
const newBandRows = [...bandRows];
|
|
25
|
-
newBandRows[index].stats.minimum = minValue;
|
|
26
|
-
newBandRows[index].stats.maximum = maxValue;
|
|
27
|
-
setBandRows(newBandRows);
|
|
28
|
-
};
|
|
29
|
-
return (React.createElement(React.Fragment, null,
|
|
30
|
-
React.createElement("div", { className: "jp-gis-symbology-row" },
|
|
31
|
-
React.createElement("label", { htmlFor: `band-select-${index}` },
|
|
32
|
-
label,
|
|
33
|
-
":"),
|
|
34
|
-
React.createElement("div", { className: "jp-select-wrapper" },
|
|
35
|
-
React.createElement("select", { name: `band-select-${index}`, onChange: event => setSelectedBand(+event.target.value), className: "jp-mod-styled" },
|
|
36
|
-
bandRows.map((band, bandIndex) => (React.createElement("option", { key: bandIndex, value: band.band, selected: band.band === (bandRow === null || bandRow === void 0 ? void 0 : bandRow.band), className: "jp-mod-styled" }, band.colorInterpretation
|
|
37
|
-
? `Band ${band.band} (${band.colorInterpretation})`
|
|
38
|
-
: `Band ${band.band}`))),
|
|
39
|
-
isMultibandColor ? (React.createElement("option", { key: 'unset', value: -1, selected: !bandRow, className: "jp-mod-styled" }, "Unset")) : null))),
|
|
40
|
-
isMultibandColor ? null : (React.createElement("div", { className: "jp-gis-symbology-row", style: { gap: '0.5rem' } },
|
|
41
|
-
React.createElement("div", { style: {
|
|
42
|
-
display: 'flex',
|
|
43
|
-
justifyContent: 'space-between',
|
|
44
|
-
width: '50%',
|
|
45
|
-
} },
|
|
46
|
-
React.createElement("label", { htmlFor: "band-min", style: { alignSelf: 'center' } }, "Min"),
|
|
47
|
-
React.createElement("input", { type: "number", className: "jp-mod-styled", style: { marginRight: 15 }, value: minValue, onChange: handleMinValueChange })),
|
|
48
|
-
React.createElement("div", { style: {
|
|
49
|
-
display: 'flex',
|
|
50
|
-
justifyContent: 'space-between',
|
|
51
|
-
width: '50%',
|
|
52
|
-
paddingRight: '2px',
|
|
53
|
-
} },
|
|
54
|
-
React.createElement("label", { htmlFor: "band-max", style: { alignSelf: 'center' } }, "Max"),
|
|
55
|
-
React.createElement("input", { type: "number", className: "jp-mod-styled",
|
|
56
|
-
// defaultValue={bandRow.stats.maximum}
|
|
57
|
-
value: maxValue, onChange: handleMaxValueChange, onBlur: setNewBands }))))));
|
|
58
|
-
};
|
|
59
|
-
export default BandRow;
|