@igo2/geo 19.0.0-next.9 → 19.0.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.
Files changed (92) hide show
  1. package/fesm2022/igo2-geo.mjs +2621 -2044
  2. package/fesm2022/igo2-geo.mjs.map +1 -1
  3. package/lib/catalog/catalog-library/catalog-library-item.component.d.ts +3 -3
  4. package/lib/catalog/catalog-library/catalog-library.component.d.ts +3 -3
  5. package/lib/catalog/catalog-library/catalog-library.module.d.ts +4 -4
  6. package/lib/catalog/catalog.module.d.ts +2 -2
  7. package/lib/datasource/shared/datasource.service.d.ts +5 -2
  8. package/lib/datasource/shared/datasources/datasource.d.ts +21 -3
  9. package/lib/datasource/shared/datasources/datasource.interface.d.ts +5 -0
  10. package/lib/datasource/shared/datasources/wfs-datasource.d.ts +4 -1
  11. package/lib/datasource/shared/datasources/wfs-datasource.interface.d.ts +1 -1
  12. package/lib/datasource/shared/datasources/wms-datasource.d.ts +14 -4
  13. package/lib/datasource/shared/datasources/wms-wfs.utils.d.ts +2 -2
  14. package/lib/feature/shared/feature.interfaces.d.ts +4 -5
  15. package/lib/feature/shared/feature.utils.d.ts +1 -1
  16. package/lib/filter/shared/ogc-filter.interface.d.ts +1 -1
  17. package/lib/filter/shared/ogc-filter.service.d.ts +3 -2
  18. package/lib/geometry/shared/geometry.utils.d.ts +5 -0
  19. package/lib/import-export/shared/export.service.d.ts +1 -1
  20. package/lib/layer/shared/layer.service.d.ts +2 -4
  21. package/lib/layer/shared/layers/image-layer.d.ts +2 -2
  22. package/lib/layer/shared/layers/layer-group.d.ts +1 -0
  23. package/lib/layer/shared/layers/linked/linked-layer.d.ts +1 -0
  24. package/lib/layer/shared/layers/linked/linked-layer.interface.d.ts +2 -1
  25. package/lib/layer/shared/layers/vector-layer.d.ts +4 -15
  26. package/lib/layer/shared/layers/vector-layer.interface.d.ts +3 -2
  27. package/lib/layer/utils/image-watcher.d.ts +2 -2
  28. package/lib/layer/utils/index.d.ts +1 -0
  29. package/lib/layer/utils/layer-options.utils.d.ts +12 -0
  30. package/lib/offline/geoDB/configFileToGeoDB.service.d.ts +2 -4
  31. package/lib/offline/geoDB/geoDB.d.ts +36 -0
  32. package/lib/offline/geoDB/index.d.ts +1 -1
  33. package/lib/offline/layerDB/index.d.ts +1 -1
  34. package/lib/offline/layerDB/{layerDB.service.d.ts → layerDB.d.ts} +9 -11
  35. package/lib/offline/offline.provider.d.ts +2 -0
  36. package/lib/offline/shared/geo-network.service.d.ts +2 -4
  37. package/lib/offline/shared/indexed-db.interface.d.ts +16 -0
  38. package/lib/offline/shared/indexed-db.utils.d.ts +4 -0
  39. package/lib/query/shared/query-search-source.d.ts +1 -1
  40. package/lib/search/search-bar/search-bar.component.d.ts +2 -1
  41. package/lib/search/search-settings/search-settings.component.d.ts +8 -2
  42. package/lib/search/shared/sources/cadastre.d.ts +1 -1
  43. package/lib/search/shared/sources/coordinates.d.ts +1 -1
  44. package/lib/search/shared/sources/icherche.d.ts +4 -2
  45. package/lib/search/shared/sources/ilayer.d.ts +1 -1
  46. package/lib/search/shared/sources/nominatim.d.ts +1 -1
  47. package/lib/search/shared/sources/source.d.ts +3 -1
  48. package/lib/search/shared/sources/storedqueries.d.ts +2 -2
  49. package/lib/search/shared/sources/workspace.d.ts +1 -1
  50. package/lib/workspace/shared/edition-workspace.service.d.ts +2 -1
  51. package/lib/workspace/shared/index.d.ts +1 -0
  52. package/lib/workspace/shared/workspace.interface.d.ts +4 -0
  53. package/lib/workspace/widgets/interactive-selection/interactive-selection.component.d.ts +58 -0
  54. package/lib/workspace/widgets/widgets.d.ts +7 -0
  55. package/lib/workspace/workspace-selector/workspace-selector.directive.d.ts +3 -0
  56. package/locale/en.geo.json +29 -2
  57. package/locale/fr.geo.json +28 -1
  58. package/package.json +23 -20
  59. package/src/geo.theme.scss +15 -0
  60. package/src/lib/catalog/catalog-browser/catalog-browser.theming.scss +1 -1
  61. package/src/lib/directions/directions-inputs/directions-inputs.theming.scss +2 -2
  62. package/src/lib/directions/directions.theming.scss +2 -5
  63. package/src/lib/draw/draw.theming.scss +2 -17
  64. package/src/lib/layer/layer-legend/layer-legend.theme.scss +1 -10
  65. package/src/lib/layer/layer-list-tool/layer-list-tool.theming.scss +1 -13
  66. package/src/lib/layer/layer.theming.scss +1 -13
  67. package/src/lib/map/map-browser/map-browser.theming.scss +2 -28
  68. package/src/lib/map/map.theming.scss +2 -6
  69. package/src/lib/search/search-bar/search-bar.theming.scss +0 -24
  70. package/src/lib/search/search.theming.scss +1 -3
  71. package/style/style.css +4 -0
  72. package/lib/offline/geoDB/geoDB.service.d.ts +0 -36
  73. package/src/geo-theme.scss +0 -23
  74. package/src/lib/directions/directions-results/directions-results.theming.scss +0 -10
  75. package/src/lib/feature/feature-details/feature-details.theming.scss +0 -16
  76. package/src/lib/feature/feature.theming.scss +0 -4
  77. package/src/lib/filter/filter.theming.scss +0 -13
  78. package/src/lib/filter/ogc-filter-selection/ogc-filter-selection.theming.scss +0 -18
  79. package/src/lib/filter/time-filter-form/time-filter-form.theming.scss +0 -5
  80. package/src/lib/layer/layer-group/layer-group.theme.scss +0 -28
  81. package/src/lib/layer/layer-item/layer-item.theme.scss +0 -36
  82. package/src/lib/layer/layer-list/layer-list.theme.scss +0 -51
  83. package/src/lib/layer/layer-unavailable/layer-unavailable.theme.scss +0 -19
  84. package/src/lib/layer/layer-viewer/_layer-viewer.theme.scss +0 -16
  85. package/src/lib/layer/layer-visibility-button/layer-visibility-button.theme.scss +0 -27
  86. package/src/lib/map/menu-button/menu-button.theming.scss +0 -20
  87. package/src/lib/map/zoom-button/zoom-button.theming.scss +0 -32
  88. package/src/lib/measure/measure.theming.scss +0 -5
  89. package/src/lib/measure/measurer/measurer.theming.scss +0 -26
  90. package/src/lib/search/search-results/search-results-item.theme.scss +0 -20
  91. package/src/lib/workspace/confirmation-popup/confirmation-popup.theming.scss +0 -14
  92. package/src/lib/workspace/workspace.theming.scss +0 -6
@@ -1,12 +1,12 @@
1
1
  @use 'sass:map';
2
2
  @use '@angular/material' as mat;
3
3
 
4
- @mixin igo-directions-inputs-theming($theme) {
4
+ @mixin theme($theme) {
5
5
  @include density($theme);
6
6
  }
7
7
 
8
8
  @mixin density($theme) {
9
- $density: mat.m2-get-density-config($theme);
9
+ $density: mat.get-theme-density($theme);
10
10
 
11
11
  $theme: map.merge(
12
12
  $theme,
@@ -1,8 +1,5 @@
1
- @use './directions-results/directions-results.theming' as
2
- directions-results-theme;
3
1
  @use './directions-inputs/directions-inputs.theming' as directions-inputs-theme;
4
2
 
5
- @mixin igo-directions-theming($theme) {
6
- @include directions-results-theme.igo-directions-results-theming($theme);
7
- @include directions-inputs-theme.igo-directions-inputs-theming($theme);
3
+ @mixin themes($theme) {
4
+ @include directions-inputs-theme.theme($theme);
8
5
  }
@@ -1,10 +1,4 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
-
4
- @mixin igo-draw-theming($theme) {
5
- $foreground: map.get($theme, foreground);
6
- $typography: mat.m2-get-typography-config($theme);
7
-
1
+ @mixin themes($theme) {
8
2
  igo-draw-popup-component,
9
3
  igo-draw-popup-component,
10
4
  igo-draw-shorcuts,
@@ -17,16 +11,7 @@
17
11
  }
18
12
 
19
13
  .igo-map-tooltip-draw {
20
- color: mat.m2-get-color-from-palette($foreground, text);
21
- font-weight: bold;
22
- font-size: mat.m2-font-size($typography, subtitle-1);
23
- }
24
- }
25
-
26
- igo-draw-popup-component {
27
- h1 {
28
- font-size: mat.m2-font-size($typography, headline-4);
29
- font-family: Roboto, 'Helvetica Neue', sans-serif;
14
+ font: var(--mat-sys-headline-small);
30
15
  }
31
16
  }
32
17
  }
@@ -2,20 +2,11 @@
2
2
  @use '@angular/material' as mat;
3
3
 
4
4
  @mixin theme($theme) {
5
- @include color($theme);
6
5
  @include density($theme);
7
6
  }
8
7
 
9
- @mixin color($theme) {
10
- $primary: map.get($theme, primary);
11
-
12
- igo-layer-legend img:after {
13
- border-top-color: mat.m2-get-color-from-palette($primary);
14
- }
15
- }
16
-
17
8
  @mixin density($theme) {
18
- $density: mat.m2-get-density-config($theme);
9
+ $density: mat.get-theme-density($theme);
19
10
 
20
11
  $theme: map.merge(
21
12
  $theme,
@@ -2,23 +2,11 @@
2
2
  @use '@angular/material' as mat;
3
3
 
4
4
  @mixin theme($theme) {
5
- @include color($theme);
6
5
  @include density($theme);
7
6
  }
8
7
 
9
- @mixin color($theme) {
10
- igo-layer-list-tool {
11
- mat-form-field {
12
- .mat-mdc-text-field-wrapper,
13
- .mat-mdc-form-field-focus-overlay {
14
- background-color: white !important;
15
- }
16
- }
17
- }
18
- }
19
-
20
8
  @mixin density($theme) {
21
- $density: mat.m2-get-density-config($theme);
9
+ $density: mat.get-theme-density($theme);
22
10
 
23
11
  $theme: map.merge(
24
12
  $theme,
@@ -1,21 +1,9 @@
1
1
  @use '@angular/material' as mat;
2
+
2
3
  @use './layer-legend/layer-legend.theme.scss' as layer-legend;
3
4
  @use './layer-list-tool/layer-list-tool.theming.scss' as layer-list-tool;
4
- @use './layer-unavailable/layer-unavailable.theme.scss' as layer-unavailable;
5
- @use './layer-visibility-button/layer-visibility-button.theme.scss' as
6
- layer-visibility-button;
7
- @use './layer-viewer/layer-viewer.theme' as layer-viewer;
8
- @use './layer-item/layer-item.theme.scss' as layer-item;
9
- @use './layer-group/layer-group.theme.scss' as layer-group;
10
- @use './layer-list/layer-list.theme.scss' as layer-list;
11
5
 
12
6
  @mixin themes($theme) {
13
7
  @include layer-legend.theme($theme);
14
8
  @include layer-list-tool.theme($theme);
15
- @include layer-item.theme($theme);
16
- @include layer-group.theme($theme);
17
- @include layer-list.theme($theme);
18
- @include layer-unavailable.theme($theme);
19
- @include layer-viewer.theme($theme);
20
- @include layer-visibility-button.theme($theme);
21
9
  }
@@ -1,38 +1,12 @@
1
1
  @use 'sass:map';
2
2
  @use '@angular/material' as mat;
3
3
 
4
- @mixin igo-map-browser-theming($theme) {
5
- @include color($theme);
4
+ @mixin theme($theme) {
6
5
  @include density($theme);
7
- @include typography($theme);
8
- }
9
-
10
- @mixin color($theme) {
11
- $primary: map.get($theme, primary);
12
- $is-dark: map.get($theme, is-dark);
13
-
14
- igo-map-browser div.ol-attribution > button {
15
- color: mat.m2-get-color-from-palette(
16
- $primary,
17
- if($is-dark, default-contrast, default)
18
- );
19
- background-color: mat.m2-get-color-from-palette(
20
- $primary,
21
- if($is-dark, default, default-contrast)
22
- );
23
- }
24
- }
25
-
26
- @mixin typography($theme) {
27
- $typography: mat.m2-get-typography-config($theme);
28
-
29
- igo-map-browser div.ol-attribution > ul {
30
- font-size: mat.m2-font-size($typography, body-1);
31
- }
32
6
  }
33
7
 
34
8
  @mixin density($theme) {
35
- $density: mat.m2-get-density-config($theme);
9
+ $density: mat.get-theme-density($theme);
36
10
  $theme: map.merge(
37
11
  $theme,
38
12
  (
@@ -1,9 +1,5 @@
1
1
  @use './map-browser/map-browser.theming.scss' as map-browser;
2
- @use './zoom-button/zoom-button.theming.scss' as zoom-button;
3
- @use './menu-button/menu-button.theming.scss' as menu-button;
4
2
 
5
- @mixin igo-map-theming($theme) {
6
- @include map-browser.igo-map-browser-theming($theme);
7
- @include zoom-button.igo-zoom-button-theming($theme);
8
- @include menu-button.theme($theme);
3
+ @mixin themes($theme) {
4
+ @include map-browser.theme($theme);
9
5
  }
@@ -2,32 +2,8 @@
2
2
  @use '@angular/material' as mat;
3
3
 
4
4
  @mixin theme($theme) {
5
- @include color($theme);
6
5
  @include density($theme);
7
-
8
- igo-search-bar {
9
- mat-form-field {
10
- .mdc-line-ripple {
11
- display: none;
12
- }
13
- }
14
- }
15
- }
16
-
17
- @mixin color($theme) {
18
- igo-search-bar {
19
- mat-form-field {
20
- .mat-mdc-text-field-wrapper,
21
- .mat-mdc-form-field-focus-overlay {
22
- background-color: white !important;
23
- }
24
- }
25
- }
26
6
  }
27
7
 
28
8
  @mixin density($theme) {
29
- igo-search-bar {
30
- @include mat.form-field-density($theme);
31
- @include mat.icon-button-density($theme);
32
- }
33
9
  }
@@ -1,7 +1,5 @@
1
1
  @use './search-bar/search-bar.theming' as search-bar;
2
- @use './search-results/search-results-item.theme' as search-results-item;
3
2
 
4
- @mixin theme($theme) {
3
+ @mixin themes($theme) {
5
4
  @include search-bar.theme($theme);
6
- @include search-results-item.theme($theme);
7
5
  }
package/style/style.css CHANGED
@@ -347,4 +347,8 @@
347
347
 
348
348
  .ol-overviewmap .ol-overviewmap-box:hover {
349
349
  cursor: move;
350
+ }
351
+
352
+ .ol-overviewmap .ol-viewport:hover {
353
+ cursor: pointer;
350
354
  }
@@ -1,36 +0,0 @@
1
- import { DBMode, NgxIndexedDBService } from 'ngx-indexed-db';
2
- import { Observable } from 'rxjs';
3
- import { InsertSourceInsertDBEnum } from './geoDB.enums';
4
- import * as i0 from "@angular/core";
5
- export declare class GeoDBService {
6
- private ngxIndexedDBService;
7
- readonly dbName: string;
8
- collisionsMap: Map<number, string[]>;
9
- _newData: number;
10
- private compression;
11
- constructor(ngxIndexedDBService: NgxIndexedDBService);
12
- /**
13
- * Only blob can be compressed
14
- * @param url
15
- * @param regionID
16
- * @param object object to handle
17
- * @param insertSource type of event user or system
18
- * @param insertEvent Name of the event where the insert has been triggered
19
- * @returns
20
- */
21
- update(url: string, regionID: any, object: any, insertSource: InsertSourceInsertDBEnum, insertEvent: string): Observable<any>;
22
- private customUpdate;
23
- get(url: string): Observable<any>;
24
- getByID(url: string): Observable<any>;
25
- deleteByKey(url: string): Observable<any>;
26
- getRegionCountByID(id: number): Observable<number>;
27
- getRegionByID(id: number): Observable<any[]>;
28
- deleteByRegionID(id: number): Observable<any>;
29
- openCursor(keyRange?: IDBKeyRange, mode?: DBMode): Observable<import("ngx-indexed-db").NgxIDBCursorWithValue<unknown, IDBValidKey, IDBValidKey>>;
30
- resetCounters(): void;
31
- resetCollisionsMap(): void;
32
- revertCollisions(): void;
33
- get newData(): number;
34
- static ɵfac: i0.ɵɵFactoryDeclaration<GeoDBService, [{ optional: true; }]>;
35
- static ɵprov: i0.ɵɵInjectableDeclaration<GeoDBService>;
36
- }
@@ -1,23 +0,0 @@
1
- @use './lib/directions/directions.theming.scss' as directions-theme;
2
- @use './lib/draw/draw.theming.scss' as draw-theme;
3
- @use './lib/feature/feature.theming.scss' as feature-theme;
4
- @use './lib/filter/filter.theming.scss' as filter-theme;
5
- @use './lib/layer/layer.theming.scss' as layer-theme;
6
- @use './lib/map/map.theming.scss' as map-theme;
7
- @use './lib/measure/measure.theming.scss' as measure-theme;
8
- @use './lib/search/search.theming.scss' as search-theme;
9
- @use './lib/workspace/workspace.theming.scss' as workspace-theme;
10
- @use './lib/catalog/catalog.theming.scss' as catalog-theme;
11
-
12
- @mixin geo-component-themes($theme) {
13
- @include directions-theme.igo-directions-theming($theme);
14
- @include draw-theme.igo-draw-theming($theme);
15
- @include feature-theme.igo-feature-theming($theme);
16
- @include filter-theme.igo-filter-theming($theme);
17
- @include layer-theme.themes($theme);
18
- @include map-theme.igo-map-theming($theme);
19
- @include measure-theme.igo-measure-theming($theme);
20
- @include search-theme.theme($theme);
21
- @include workspace-theme.igo-workspace-theming($theme);
22
- @include catalog-theme.themes($theme);
23
- }
@@ -1,10 +0,0 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
-
4
- @mixin igo-directions-results-theming($theme) {
5
- $accent: map.get($theme, accent);
6
-
7
- igo-directions-results mat-list-item.igo-steps:hover {
8
- background-color: mat.m2-get-color-from-palette($accent, lighter);
9
- }
10
- }
@@ -1,16 +0,0 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
-
4
- @mixin igo-feature-details-theming($theme) {
5
- $is-dark: map.get($theme, is-dark);
6
- $foreground: map.get($theme, foreground);
7
- $background: map.get($theme, background);
8
-
9
- igo-feature-details > table.igo-striped tbody tr:nth-child(odd) {
10
- background-color: mat.m2-get-color-from-palette(
11
- $background,
12
- if($is-dark, app-bar, status-bar)
13
- );
14
- color: black;
15
- }
16
- }
@@ -1,4 +0,0 @@
1
- @use './feature-details/feature-details.theming.scss' as feature-details;
2
- @mixin igo-feature-theming($theme) {
3
- @include feature-details.igo-feature-details-theming($theme);
4
- }
@@ -1,13 +0,0 @@
1
- @use '@mat-datetimepicker/core/datetimepicker/datetimepicker-theme' as
2
- datetimepicker;
3
-
4
- @use './time-filter-form/time-filter-form.theming.scss' as time-filter;
5
- @use './ogc-filter-selection/ogc-filter-selection.theming.scss' as
6
- ogc-filter-selection;
7
-
8
- @mixin igo-filter-theming($theme) {
9
- @include datetimepicker.mat-datetimepicker-theme($theme);
10
-
11
- @include time-filter.igo-time-filter-form-theming($theme);
12
- @include ogc-filter-selection.igo-ogc-filter-selection-theming($theme);
13
- }
@@ -1,18 +0,0 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
-
4
- @mixin igo-ogc-filter-selection-theming($theme) {
5
- $primary: map.get($theme, primary);
6
- $accent: map.get($theme, accent);
7
- $dark: mat.m2-define-palette(mat.$m2-grey-palette, 800, 700, 900);
8
-
9
- igo-ogc-filter-selection {
10
- mat-button-toggle.mat-button-toggle-checked {
11
- background-color: mat.m2-get-color-from-palette($accent);
12
- color: mat.m2-get-color-from-palette($dark);
13
- }
14
- mat-button-toggle {
15
- color: black !important;
16
- }
17
- }
18
- }
@@ -1,5 +0,0 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
-
4
- @mixin igo-time-filter-form-theming($theme) {
5
- }
@@ -1,28 +0,0 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
-
4
- @mixin theme($theme) {
5
- @include color($theme);
6
- }
7
-
8
- @mixin color($theme) {
9
- $background: map.get($theme, background);
10
- $foreground: map.get($theme, foreground);
11
- igo-layer-group {
12
- background-color: mat.m2-get-color-from-palette($background, card);
13
-
14
- button {
15
- &.mat-default {
16
- mat-icon {
17
- color: mat.m2-get-color-from-palette($foreground, base);
18
- }
19
- }
20
-
21
- &.disabled {
22
- mat-icon {
23
- color: mat.m2-get-color-from-palette($foreground, disabled);
24
- }
25
- }
26
- }
27
- }
28
- }
@@ -1,36 +0,0 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
-
4
- @mixin theme($theme) {
5
- @include color($theme);
6
- }
7
-
8
- @mixin color($theme) {
9
- $background: map.get($theme, background);
10
- $foreground: map.get($theme, foreground);
11
-
12
- igo-layer-item {
13
- background-color: mat.m2-get-color-from-palette($background, card);
14
-
15
- button {
16
- &.mat-default {
17
- mat-icon {
18
- color: mat.m2-get-color-from-palette($foreground, base);
19
- }
20
- }
21
-
22
- &.disabled {
23
- mat-icon {
24
- color: mat.m2-get-color-from-palette($foreground, disabled);
25
- }
26
- }
27
- }
28
-
29
- .unavailable-layer {
30
- background-color: mat.m2-get-color-from-palette(
31
- $background,
32
- disabled-list-option
33
- );
34
- }
35
- }
36
- }
@@ -1,51 +0,0 @@
1
- @use 'sass:map';
2
- @use 'sass:color';
3
- @use '@angular/material' as mat;
4
-
5
- @mixin theme($theme) {
6
- @include color($theme);
7
- }
8
-
9
- @mixin color($theme) {
10
- $accent: map.get($theme, accent);
11
- $hoveredColor: mat.m2-get-color-from-palette($accent, default);
12
-
13
- igo-layer-list {
14
- mat-tree-node {
15
- &.--selected,
16
- &.--dragged {
17
- igo-layer-group,
18
- igo-layer-item {
19
- background-color: mat.m2-get-color-from-palette($accent, lighter);
20
- color: mat.m2-get-color-from-palette($accent, default-contrast);
21
- }
22
- }
23
-
24
- &.--children-selected {
25
- igo-layer-group,
26
- igo-layer-item {
27
- background-color: color.adjust(
28
- $color: mat.m2-get-color-from-palette($accent, lighter),
29
- $lightness: 8%
30
- );
31
- color: mat.m2-get-color-from-palette($accent, default-contrast);
32
- }
33
- }
34
-
35
- &.--drag-hover {
36
- &::after {
37
- border-color: $hoveredColor !important;
38
- }
39
- }
40
- }
41
-
42
- // Workaround, the hover freeze when a tree is expanded when dragging
43
- mat-tree:not(.--dragging) {
44
- mat-tree-node {
45
- &:hover::after {
46
- border-color: $hoveredColor;
47
- }
48
- }
49
- }
50
- }
51
- }
@@ -1,19 +0,0 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
-
4
- @mixin theme($theme) {
5
- @include color($theme);
6
- }
7
-
8
- @mixin color($theme) {
9
- $background: map.get($theme, background);
10
-
11
- igo-layer-unavailable {
12
- .unavailable-layer {
13
- background-color: mat.m2-get-color-from-palette(
14
- $background,
15
- disabled-list-option
16
- );
17
- }
18
- }
19
- }
@@ -1,16 +0,0 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
-
4
- @mixin theme($theme) {
5
- @include color($theme);
6
- }
7
-
8
- @mixin color($theme) {
9
- $accent: map.get($theme, accent);
10
-
11
- igo-layer-viewer {
12
- .active-background {
13
- background-color: mat.m2-get-color-from-palette($accent, 50);
14
- }
15
- }
16
- }
@@ -1,27 +0,0 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
-
4
- @mixin theme($theme) {
5
- @include color($theme);
6
- }
7
-
8
- @mixin color($theme) {
9
- $foreground: map.get($theme, foreground);
10
-
11
- igo-layer-visibility-button {
12
- button {
13
- &.mat-default {
14
- mat-icon {
15
- color: mat.m2-get-color-from-palette($foreground, base);
16
- }
17
- }
18
-
19
- &.out-of-range,
20
- &.disabled {
21
- mat-icon {
22
- color: mat.m2-get-color-from-palette($foreground, disabled);
23
- }
24
- }
25
- }
26
- }
27
- }
@@ -1,20 +0,0 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
- @use '../../../../../core/src/style/partial/core.variables' as core;
4
-
5
- @mixin theme($theme) {
6
- @include color($theme);
7
- }
8
-
9
- @mixin color($theme) {
10
- $primary: map.get($theme, primary);
11
-
12
- igo-menu-button > button#menu-button {
13
- color: core.$app-background-color;
14
- background-color: mat.m2-get-color-from-palette($primary);
15
- }
16
- igo-menu-button > button#menu-button.menu-button-white-background {
17
- color: mat.m2-get-color-from-palette($primary);
18
- background-color: core.$app-background-color;
19
- }
20
- }
@@ -1,32 +0,0 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
-
4
- @mixin igo-zoom-button-theming($theme) {
5
- $primary: map.get($theme, primary);
6
- $accent: map.get($theme, accent);
7
- $is-dark: map.get($theme, is-dark);
8
-
9
- igo-zoom-button > div.igo-zoom-button-container > button {
10
- &.mat-primary {
11
- color: mat.m2-get-color-from-palette(
12
- $primary,
13
- if($is-dark, default-contrast, default)
14
- );
15
- background-color: mat.m2-get-color-from-palette(
16
- $primary,
17
- if($is-dark, default, default-contrast)
18
- );
19
- }
20
-
21
- &.mat-accent {
22
- color: mat.m2-get-color-from-palette(
23
- $accent,
24
- if($is-dark, default-contrast, default)
25
- );
26
- background-color: mat.m2-get-color-from-palette(
27
- $accent,
28
- if($is-dark, default, default-contrast)
29
- );
30
- }
31
- }
32
- }
@@ -1,5 +0,0 @@
1
- @use './measurer/measurer.theming.scss' as measurer;
2
-
3
- @mixin igo-measure-theming($theme) {
4
- @include measurer.igo-measurer-theming($theme);
5
- }
@@ -1,26 +0,0 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
-
4
- @mixin igo-measurer-theming($theme) {
5
- @include color($theme);
6
- @include typography($theme);
7
- }
8
-
9
- @mixin color($theme) {
10
- $foreground: map.get($theme, foreground);
11
-
12
- .igo-map-tooltip-measure {
13
- background-color: rgba(255, 204, 51, 0.7);
14
- border: 1px solid rgb(255, 205, 51);
15
- color: black;
16
- font-weight: bold;
17
- }
18
- }
19
-
20
- @mixin typography($theme) {
21
- $typography: mat.m2-get-typography-config($theme);
22
-
23
- .igo-map-tooltip-measure {
24
- font-size: mat.m2-font-size($typography, subtitle-1);
25
- }
26
- }
@@ -1,20 +0,0 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
-
4
- @mixin theme($theme) {
5
- @include color($theme);
6
- }
7
-
8
- @mixin color($theme) {
9
- igo-search-results-item {
10
- .mdc-list-item--with-leading-icon {
11
- &:hover .mdc-list-item__start {
12
- color: black;
13
- }
14
-
15
- .mdc-list-item__start {
16
- color: rgba(0, 0, 0, 0.87);
17
- }
18
- }
19
- }
20
- }