@opengeoweb/shared 10.1.0 → 10.2.1-spike-ol.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/README.md CHANGED
@@ -21,3 +21,7 @@ import { Example } from '@opengeoweb/shared';
21
21
  ## Running unit tests
22
22
 
23
23
  Run `nx test shared` to execute the unit tests via [Jest](https://jestjs.io).
24
+
25
+ ### TypeScript Documentation
26
+
27
+ - [TypeScript Docs](https://opengeoweb.gitlab.io/opengeoweb/typescript-docs/shared/)
package/index.esm.js CHANGED
@@ -35,6 +35,7 @@ var en = {
35
35
  "shared-toggle-timeslider": "Toggle hide/show time slider",
36
36
  "shared-timeslider-scale": "Change time slider scale (visible timespan)",
37
37
  "shared-expand-timeslider-scale": "Expand/shrink time slider scale (visible timespan)",
38
+ "shared-toggle-layerinformation": "Toggle hide/show layer information",
38
39
  "shared-mouseover-selected-time": "Mouseover to change selected time",
39
40
  "shared-mouseover-on-off": "Mouseover switch on/off",
40
41
  "shared-change-timestep-or-speed": "Change time step or animation speed",
@@ -95,6 +96,7 @@ var fi = {
95
96
  "shared-toggle-timeslider": "Kytke TimeSlider näkyville/pois näkyvistä",
96
97
  "shared-timeslider-scale": "Muuta TimeSliderin näkyvää aikaväliä",
97
98
  "shared-expand-timeslider-scale": "Laajenna/kutista TimeSliderin mittakaavaa (näkyvää aikaväliä)",
99
+ "shared-toggle-layerinformation": "Kytke karttatasojen pikanäyttö näkyville/pois näkyvistä",
98
100
  "shared-mouseover-selected-time": "Osoita ja liikuta hiirtä muuttaaksesi valittua aikaa",
99
101
  "shared-mouseover-on-off": "Kytke hiiren vaikutus TimeSlideriin päälle/pois päältä",
100
102
  "shared-change-timestep-or-speed": "Muuta aika-askelta tai animaation nopeutta",
@@ -155,6 +157,7 @@ var no = {
155
157
  "shared-toggle-timeslider": "Vis/skjul tidslinje",
156
158
  "shared-timeslider-scale": "Endre tidsseriens skala (synlig tidsperiode)",
157
159
  "shared-expand-timeslider-scale": "Utvid/krymp tidsseriens skala (synlig tidsperiode)",
160
+ "shared-toggle-layerinformation": "Vis/skjul laginformasjon",
158
161
  "shared-mouseover-selected-time": "Mouseover for å endre valgt tid",
159
162
  "shared-mouseover-on-off": "Mouseover av/på",
160
163
  "shared-change-timestep-or-speed": "Endre tidssteg eller animasjonsfart",
@@ -215,6 +218,7 @@ var nl = {
215
218
  "shared-toggle-timeslider": "Timeslider verbergen/tonen",
216
219
  "shared-timeslider-scale": "Timeslider zichtbare periode wijzigen",
217
220
  "shared-expand-timeslider-scale": "Timeslider zichtbare periode vergroten/verkleinen",
221
+ "shared-toggle-layerinformation": "Laag informatie verbergen/tonen",
218
222
  "shared-mouseover-selected-time": "Mouseover om de geselecteerde tijd te wijzigen",
219
223
  "shared-mouseover-on-off": "Mouseover aan / uit zetten",
220
224
  "shared-change-timestep-or-speed": "Wijzig tijdsinterval of animatiesnelheid",
@@ -2857,6 +2861,12 @@ var ShortcutList = function ShortcutList(_ref) {
2857
2861
  children: jsx(ArrowLeft, {})
2858
2862
  })]
2859
2863
  })
2864
+ }, {
2865
+ titleKey: 'shared-toggle-layerinformation',
2866
+ description: jsx(ShortCutSegment, {
2867
+ type: "icon",
2868
+ children: "D"
2869
+ })
2860
2870
  }, {
2861
2871
  titleKey: 'shared-change-layer-values-scrolling',
2862
2872
  description: jsxs(Fragment, {
@@ -3939,10 +3949,13 @@ var CustomAccordion = function CustomAccordion(_ref) {
3939
3949
  return setExpanded(expanded);
3940
3950
  },
3941
3951
  disableGutters: disableGutters,
3942
- TransitionProps: {
3943
- timeout: transitionDuration
3952
+ slotProps: {
3953
+ transition: {
3954
+ timeout: transitionDuration
3955
+ }
3944
3956
  },
3945
3957
  children: [jsx(AccordionSummary, {
3958
+ component: "div",
3946
3959
  expandIcon: CustomExpandIcon ? jsx(CustomExpandIcon, {
3947
3960
  style: {
3948
3961
  fill: "" + iconColor
@@ -4838,18 +4851,8 @@ var FilterOption = function FilterOption(_ref) {
4838
4851
  })
4839
4852
  }), jsx(ListItemText, {
4840
4853
  id: optionId,
4841
- sx: {
4842
- padding: 0,
4843
- margin: 0
4844
- },
4845
- primary: jsx(Typography, {
4846
- variant: "body2",
4847
- sx: Object.assign({
4848
- fontSize: '16px',
4849
- textOverflow: 'ellipsis',
4850
- whiteSpace: 'nowrap',
4851
- overflow: 'hidden'
4852
- }, labelStyle),
4854
+ primary: jsx(Box, {
4855
+ sx: Object.assign({}, labelStyle),
4853
4856
  children: label
4854
4857
  })
4855
4858
  })]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/shared",
3
- "version": "10.1.0",
3
+ "version": "10.2.1-spike-ol.0",
4
4
  "description": "GeoWeb shared library with shared components and utils for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -22,6 +22,7 @@ export interface ConfigType {
22
22
  GW_DRAWINGS_BASE_URL?: string;
23
23
  GW_TECHNICAL_RELEASE_NOTES_URL?: string;
24
24
  GW_VERSION_PROGRESS_NOTES_URL?: string;
25
+ GW_LOCATION_BASE_URL?: string;
25
26
  GW_FEATURE_APP_TITLE?: string;
26
27
  GW_FEATURE_FORCE_AUTHENTICATION?: boolean;
27
28
  GW_FEATURE_MODULE_SPACE_WEATHER?: boolean;
@@ -1,6 +1,6 @@
1
1
  import { AxiosError } from 'axios';
2
2
  export declare const DEFAULT_ERROR_MESSAGE = "An error has occurred";
3
- export declare const isAxiosError: (error: AxiosError | Error) => error is AxiosError;
3
+ export declare const isAxiosError: (error: AxiosError | Error) => error is AxiosError<unknown, any>;
4
4
  export declare const isAxiosAuthError: (error: AxiosError | Error) => boolean;
5
5
  export declare const getAxiosErrorMessage: (error: AxiosError) => string;
6
6
  export declare const getErrorMessage: (error: Error | AxiosError) => string;