@opengeoweb/layer-select 9.7.0 → 9.8.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/index.esm.js CHANGED
@@ -3990,6 +3990,28 @@ const LayerInfoDialog = ({
3990
3990
  }));
3991
3991
  };
3992
3992
 
3993
+ const LayerInfoDialogConnect = () => {
3994
+ const layer = useAppSelector(store => getActiveLayerInfo(store));
3995
+ const {
3996
+ dialogOrder,
3997
+ onCloseDialog,
3998
+ setDialogOrder,
3999
+ uiSource,
4000
+ isDialogOpen
4001
+ } = useSetupDialog(uiTypes.DialogTypes.LayerInfo);
4002
+ if (!layer) {
4003
+ return null;
4004
+ }
4005
+ return jsx(LayerInfoDialog, {
4006
+ isOpen: isDialogOpen,
4007
+ onClose: onCloseDialog,
4008
+ onMouseDown: setDialogOrder,
4009
+ order: dialogOrder,
4010
+ source: uiSource,
4011
+ layer: layer
4012
+ });
4013
+ };
4014
+
3993
4015
  const LayerAddRemoveButton = ({
3994
4016
  layer,
3995
4017
  layerIndex,
@@ -5154,28 +5176,6 @@ const LayerSelect = ({
5154
5176
  }));
5155
5177
  };
5156
5178
 
5157
- const LayerInfoDialogConnect = () => {
5158
- const layer = useAppSelector(store => getActiveLayerInfo(store));
5159
- const {
5160
- dialogOrder,
5161
- onCloseDialog,
5162
- setDialogOrder,
5163
- uiSource,
5164
- isDialogOpen
5165
- } = useSetupDialog(uiTypes.DialogTypes.LayerInfo);
5166
- if (!layer) {
5167
- return null;
5168
- }
5169
- return jsx(LayerInfoDialog, {
5170
- isOpen: isDialogOpen,
5171
- onClose: onCloseDialog,
5172
- onMouseDown: setDialogOrder,
5173
- order: dialogOrder,
5174
- source: uiSource,
5175
- layer: layer
5176
- });
5177
- };
5178
-
5179
5179
  const style = {
5180
5180
  textField: {
5181
5181
  width: '100%',
@@ -5627,4 +5627,4 @@ const LayerSelectConnect = ({
5627
5627
  });
5628
5628
  };
5629
5629
 
5630
- export { ADD_HEADING, AllChipConnect, COPY_URL_MESSAGE, DIALOG_TITLE, EDIT_HEADING, FilterListItem, KeywordFilterButtonConnect, KeywordFilterResults, KeywordFilterResultsConnect, KeywordFilterResultsListItemConnect, KeywordFilterSelectAllSwitchConnect, LayerAddRemoveButton, LayerInfoButton, LayerInfoButtonConnect, LayerInfoDialog, LayerList, LayerListConnect, LayerListDimensions, LayerListRow, LayerSelectButtonConnect, LayerSelectConnect, SAVE_HEADING, SearchFieldConnect, ServiceChip, ServiceChipConnect, ServiceList, ServiceListConnect, ServiceOptionsButton, ServiceOptionsDialog, ServiceOptionsDialogConnect, ServicePopup, ServicePopupConnect, ServicePopupDialogConnect, getServiceFailedUpdateMessage, getServiceSuccesUpdateMessage, getSuccesMessage, getUserAddedServices, isUserAddedService, layerSelectActions, layerSelectConfig, initialState as layerSelectInitialState, reducer as layerSelectReducer, selectors as layerSelectSelectors, types as layerSelectTypes, setUserAddedServices, useAppSelector };
5630
+ export { ADD_HEADING, AllChipConnect, COPY_URL_MESSAGE, DIALOG_TITLE, EDIT_HEADING, FilterListItem, KeywordFilterButtonConnect, KeywordFilterResults, KeywordFilterResultsConnect, KeywordFilterResultsListItemConnect, KeywordFilterSelectAllSwitchConnect, LayerAddRemoveButton, LayerInfoButton, LayerInfoButtonConnect, LayerInfoDialog, LayerInfoDialogConnect, LayerInfoLegend, LayerInfoList, LayerInfoText, LayerList, LayerListConnect, LayerListDimensions, LayerListRow, LayerSelectButtonConnect, LayerSelectConnect, SAVE_HEADING, SearchFieldConnect, ServiceChip, ServiceChipConnect, ServiceList, ServiceListConnect, ServiceOptionsButton, ServiceOptionsDialog, ServiceOptionsDialogConnect, ServicePopup, ServicePopupConnect, ServicePopupDialogConnect, getDimensionIcon, getDimensionLabel, getDimensionValue, getDimensionsList, getLayerBbox, getLayerStyles, getServiceFailedUpdateMessage, getServiceSuccesUpdateMessage, getSuccesMessage, getUserAddedServices, isUserAddedService, layerSelectActions, layerSelectConfig, initialState as layerSelectInitialState, reducer as layerSelectReducer, selectors as layerSelectSelectors, types as layerSelectTypes, setUserAddedServices, textStyle, textStyleWithMargin, useAppSelector };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/layer-select",
3
- "version": "9.7.0",
3
+ "version": "9.8.0",
4
4
  "description": "GeoWeb layer select library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -1,3 +1,8 @@
1
+ export * from './LayerInfoButton';
1
2
  export * from './LayerInfoButtonConnect';
2
3
  export * from './LayerInfoDialog';
3
- export * from './LayerInfoButton';
4
+ export * from './LayerInfoDialogConnect';
5
+ export * from './LayerInfoLegend';
6
+ export * from './LayerInfoList';
7
+ export * from './LayerInfoText';
8
+ export * from './LayerInfoUtils';