@opengeoweb/shared 12.5.0 → 12.7.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
@@ -2366,10 +2366,15 @@ var styles$5 = {
2366
2366
  var Avatar = function Avatar(_ref) {
2367
2367
  var children = _ref.children,
2368
2368
  _ref$size = _ref.size,
2369
- size = _ref$size === void 0 ? 'large' : _ref$size;
2369
+ size = _ref$size === void 0 ? 'large' : _ref$size,
2370
+ _ref$author = _ref.author,
2371
+ author = _ref$author === void 0 ? false : _ref$author;
2372
+ var theme = useTheme();
2370
2373
  return jsx(Avatar$1, {
2371
2374
  "data-testid": "avatar",
2372
- sx: Object.assign({}, styles$5[size]),
2375
+ sx: Object.assign({}, styles$5[size], {
2376
+ bgcolor: author ? theme.palette.geowebColors.buttons.icon.disabled.color : undefined
2377
+ }),
2373
2378
  children: children
2374
2379
  });
2375
2380
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/shared",
3
- "version": "12.5.0",
3
+ "version": "12.7.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": {
@@ -8,7 +8,7 @@
8
8
  "url": "git@gitlab.com:opengeoweb/opengeoweb.git"
9
9
  },
10
10
  "dependencies": {
11
- "@opengeoweb/theme": "12.5.0",
11
+ "@opengeoweb/theme": "12.7.0",
12
12
  "react-draggable": "^4.4.6",
13
13
  "re-resizable": "^6.9.11",
14
14
  "lodash": "^4.17.21",
@@ -2,6 +2,7 @@ import * as React from 'react';
2
2
  export interface AvatarProps {
3
3
  children: React.ReactNode;
4
4
  size?: 'small' | 'large';
5
+ author?: boolean;
5
6
  }
6
7
  declare const Avatar: React.FC<AvatarProps>;
7
8
  export default Avatar;
@@ -0,0 +1,26 @@
1
+ export interface Referencing {
2
+ coordinates: string[];
3
+ system: CRSSystem;
4
+ }
5
+ interface GeographicCRS {
6
+ type: 'GeographicCRS';
7
+ id: string;
8
+ }
9
+ interface ProjectedCRS {
10
+ type: 'ProjectedCRS';
11
+ id: string;
12
+ }
13
+ interface VerticalCRS {
14
+ type: 'VerticalCRS';
15
+ id: string;
16
+ }
17
+ interface EngineeringCRS {
18
+ type: 'EngineeringCRS';
19
+ id?: string;
20
+ }
21
+ interface TemporalRS {
22
+ type: 'TemporalRS';
23
+ calendar: string;
24
+ }
25
+ type CRSSystem = GeographicCRS | ProjectedCRS | VerticalCRS | EngineeringCRS | TemporalRS;
26
+ export {};
@@ -0,0 +1,61 @@
1
+ import { Referencing } from './crss-types';
2
+ interface AxisValues {
3
+ values: number[] | string[];
4
+ }
5
+ interface SingleValueAxis {
6
+ values: [number];
7
+ }
8
+ interface SingleTimeValueAxis {
9
+ values: [string];
10
+ }
11
+ interface VerticalProfileAxes {
12
+ x: SingleValueAxis;
13
+ y: SingleValueAxis;
14
+ z: AxisValues;
15
+ t?: SingleTimeValueAxis;
16
+ }
17
+ export interface VerticalProfileDomain {
18
+ type: 'Domain';
19
+ domainType: 'VerticalProfile';
20
+ axes: VerticalProfileAxes;
21
+ referencing?: Referencing[];
22
+ }
23
+ interface NdArray {
24
+ type: 'NdArray';
25
+ dataType: 'float' | 'integer' | 'string';
26
+ axisNames?: string[];
27
+ shape?: number[];
28
+ values: number[] | string[];
29
+ }
30
+ type Ranges = Record<string, NdArray>;
31
+ type Description = Record<string, string>;
32
+ type Label = Record<string, string>;
33
+ interface Parameter {
34
+ type: 'Parameter';
35
+ id?: string;
36
+ label?: Label;
37
+ description?: Description;
38
+ unit?: {
39
+ label?: Label;
40
+ symbol?: Record<string, string>;
41
+ };
42
+ observedProperty: {
43
+ id?: string;
44
+ label: Label;
45
+ description?: Description;
46
+ };
47
+ }
48
+ export interface Coverage {
49
+ type: 'Coverage';
50
+ domain: VerticalProfileDomain;
51
+ ranges: Ranges;
52
+ }
53
+ export interface CoverageCollection {
54
+ type: 'CoverageCollection';
55
+ domainType: VerticalProfileDomain;
56
+ parameters: Record<string, Parameter>;
57
+ ranges: Record<string, NdArray>;
58
+ coverages: Coverage[];
59
+ referencing: Referencing[];
60
+ }
61
+ export {};
@@ -1 +1,2 @@
1
1
  export * from './types';
2
+ export * from './edr-coverage-types';
@@ -11,6 +11,7 @@ export interface ConfigType {
11
11
  GW_INITIAL_PRESETS_FILENAME?: string;
12
12
  GW_CAP_CONFIGURATION_FILENAME?: string;
13
13
  GW_TIMESERIES_CONFIGURATION_FILENAME?: string;
14
+ GW_DATAEXPLORER_CONFIGURATION_FILENAME?: string;
14
15
  GW_DEFAULT_THEME?: ThemeTypes;
15
16
  GW_INITIAL_WORKSPACE_PRESET?: string;
16
17
  GW_SW_BASE_URL?: string;
@@ -24,6 +25,7 @@ export interface ConfigType {
24
25
  GW_SPACEWEATHER_WORKSPACE_ID?: string;
25
26
  GW_TECHNICAL_RELEASE_NOTES_URL?: string;
26
27
  GW_VERSION_PROGRESS_NOTES_URL?: string;
28
+ GW_BE_RELEASE_URL?: string;
27
29
  GW_LOCATION_BASE_URL?: string;
28
30
  GW_FEATURE_APP_TITLE?: string;
29
31
  GW_FEATURE_FORCE_AUTHENTICATION?: boolean;
@@ -53,14 +55,13 @@ export interface TimeSeriesService {
53
55
  name: string;
54
56
  scope?: SystemScope;
55
57
  }
56
- export type ServiceInterface = 'EDR' | 'OGC';
58
+ export type ServiceInterface = 'EDR';
57
59
  export type SystemScope = 'user' | 'system';
58
60
  export declare const SystemScope: {
59
61
  readonly user: SystemScope;
60
62
  readonly system: SystemScope;
61
63
  };
62
64
  export interface PlotPreset {
63
- connectedMap?: string;
64
65
  mapId: string;
65
66
  plots: Plot[];
66
67
  parameters: PlotParameter[];