@igo2/geo 19.0.0-next.3 → 19.0.0-next.30

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 (105) hide show
  1. package/fesm2022/igo2-geo.mjs +3491 -2628
  2. package/fesm2022/igo2-geo.mjs.map +1 -1
  3. package/lib/catalog/catalog-library/add-catalog-dialog.component.d.ts +10 -16
  4. package/lib/catalog/catalog-library/catalog-library-item.component.d.ts +3 -3
  5. package/lib/catalog/catalog-library/catalog-library.component.d.ts +4 -3
  6. package/lib/catalog/catalog-library/catalog-library.module.d.ts +4 -4
  7. package/lib/catalog/catalog.module.d.ts +2 -2
  8. package/lib/datasource/shared/capabilities.service.d.ts +2 -1
  9. package/lib/datasource/shared/datasource.service.d.ts +5 -2
  10. package/lib/datasource/shared/datasources/datasource.d.ts +21 -3
  11. package/lib/datasource/shared/datasources/datasource.interface.d.ts +5 -0
  12. package/lib/datasource/shared/datasources/wfs-datasource.d.ts +4 -1
  13. package/lib/datasource/shared/datasources/wfs-datasource.interface.d.ts +1 -1
  14. package/lib/datasource/shared/datasources/wms-datasource.d.ts +16 -4
  15. package/lib/datasource/shared/datasources/wms-datasource.interface.d.ts +1 -0
  16. package/lib/datasource/shared/datasources/wms-wfs.utils.d.ts +3 -2
  17. package/lib/datasource/shared/options/options-api.service.d.ts +1 -0
  18. package/lib/directions/shared/directions.service.d.ts +0 -1
  19. package/lib/feature/shared/feature.interfaces.d.ts +4 -5
  20. package/lib/feature/shared/feature.utils.d.ts +1 -1
  21. package/lib/filter/ogc-filter-time/ogc-filter-time.component.d.ts +1 -0
  22. package/lib/filter/shared/date.utils.d.ts +9 -0
  23. package/lib/filter/shared/filter.utils.d.ts +26 -0
  24. package/lib/filter/shared/ogc-filter.d.ts +0 -7
  25. package/lib/filter/shared/ogc-filter.interface.d.ts +9 -2
  26. package/lib/filter/shared/ogc-filter.service.d.ts +4 -2
  27. package/lib/filter/shared/time-filter.interface.d.ts +2 -2
  28. package/lib/filter/time-filter-form/time-filter-form.component.d.ts +10 -5
  29. package/lib/filter/time-filter-item/time-filter-item.component.d.ts +1 -0
  30. package/lib/geometry/shared/geometry.utils.d.ts +5 -0
  31. package/lib/import-export/shared/export.service.d.ts +1 -1
  32. package/lib/layer/shared/layer.service.d.ts +2 -4
  33. package/lib/layer/shared/layers/image-layer.d.ts +2 -2
  34. package/lib/layer/shared/layers/layer-group.d.ts +1 -0
  35. package/lib/layer/shared/layers/linked/linked-layer.d.ts +1 -0
  36. package/lib/layer/shared/layers/linked/linked-layer.interface.d.ts +2 -1
  37. package/lib/layer/shared/layers/vector-layer.d.ts +17 -27
  38. package/lib/layer/shared/layers/vector-layer.interface.d.ts +3 -2
  39. package/lib/layer/utils/image-watcher.d.ts +2 -2
  40. package/lib/layer/utils/index.d.ts +1 -0
  41. package/lib/layer/utils/layer-options.utils.d.ts +12 -0
  42. package/lib/map/baselayers-switcher/mini-basemap.component.d.ts +2 -4
  43. package/lib/offline/geoDB/configFileToGeoDB.service.d.ts +2 -4
  44. package/lib/offline/geoDB/geoDB.d.ts +36 -0
  45. package/lib/offline/geoDB/index.d.ts +1 -1
  46. package/lib/offline/layerDB/index.d.ts +1 -1
  47. package/lib/offline/layerDB/{layerDB.service.d.ts → layerDB.d.ts} +9 -11
  48. package/lib/offline/offline.provider.d.ts +2 -0
  49. package/lib/offline/shared/geo-network.service.d.ts +2 -4
  50. package/lib/offline/shared/indexed-db.interface.d.ts +16 -0
  51. package/lib/offline/shared/indexed-db.utils.d.ts +4 -0
  52. package/lib/query/shared/query-search-source.d.ts +1 -1
  53. package/lib/search/search-bar/search-bar.component.d.ts +2 -1
  54. package/lib/search/search-settings/search-settings.component.d.ts +8 -2
  55. package/lib/search/shared/sources/cadastre.d.ts +1 -1
  56. package/lib/search/shared/sources/coordinates.d.ts +1 -1
  57. package/lib/search/shared/sources/icherche.d.ts +4 -2
  58. package/lib/search/shared/sources/ilayer.d.ts +1 -1
  59. package/lib/search/shared/sources/nominatim.d.ts +1 -1
  60. package/lib/search/shared/sources/source.d.ts +3 -1
  61. package/lib/search/shared/sources/storedqueries.d.ts +2 -2
  62. package/lib/search/shared/sources/workspace.d.ts +1 -1
  63. package/lib/workspace/shared/edition-workspace.service.d.ts +2 -1
  64. package/lib/workspace/shared/index.d.ts +1 -0
  65. package/lib/workspace/shared/workspace.interface.d.ts +4 -0
  66. package/lib/workspace/widgets/interactive-selection/interactive-selection.component.d.ts +58 -0
  67. package/lib/workspace/widgets/widgets.d.ts +7 -0
  68. package/lib/workspace/workspace-selector/workspace-selector.directive.d.ts +3 -0
  69. package/locale/en.geo.json +33 -4
  70. package/locale/fr.geo.json +32 -3
  71. package/package.json +23 -20
  72. package/src/geo.theme.scss +15 -0
  73. package/src/lib/catalog/catalog-browser/catalog-browser.theming.scss +1 -1
  74. package/src/lib/directions/directions-inputs/directions-inputs.theming.scss +2 -2
  75. package/src/lib/directions/directions.theming.scss +2 -5
  76. package/src/lib/draw/draw.theming.scss +2 -17
  77. package/src/lib/layer/layer-legend/layer-legend.theme.scss +1 -10
  78. package/src/lib/layer/layer-list-tool/layer-list-tool.theming.scss +1 -13
  79. package/src/lib/layer/layer.theming.scss +1 -13
  80. package/src/lib/map/map-browser/map-browser.theming.scss +2 -28
  81. package/src/lib/map/map.theming.scss +2 -6
  82. package/src/lib/search/search-bar/search-bar.theming.scss +0 -24
  83. package/src/lib/search/search.theming.scss +1 -3
  84. package/style/style.css +4 -0
  85. package/lib/offline/geoDB/geoDB.service.d.ts +0 -36
  86. package/src/geo-theme.scss +0 -23
  87. package/src/lib/directions/directions-results/directions-results.theming.scss +0 -10
  88. package/src/lib/feature/feature-details/feature-details.theming.scss +0 -16
  89. package/src/lib/feature/feature.theming.scss +0 -4
  90. package/src/lib/filter/filter.theming.scss +0 -13
  91. package/src/lib/filter/ogc-filter-selection/ogc-filter-selection.theming.scss +0 -18
  92. package/src/lib/filter/time-filter-form/time-filter-form.theming.scss +0 -5
  93. package/src/lib/layer/layer-group/layer-group.theme.scss +0 -28
  94. package/src/lib/layer/layer-item/layer-item.theme.scss +0 -36
  95. package/src/lib/layer/layer-list/layer-list.theme.scss +0 -51
  96. package/src/lib/layer/layer-unavailable/layer-unavailable.theme.scss +0 -19
  97. package/src/lib/layer/layer-viewer/_layer-viewer.theme.scss +0 -16
  98. package/src/lib/layer/layer-visibility-button/layer-visibility-button.theme.scss +0 -27
  99. package/src/lib/map/menu-button/menu-button.theming.scss +0 -20
  100. package/src/lib/map/zoom-button/zoom-button.theming.scss +0 -32
  101. package/src/lib/measure/measure.theming.scss +0 -5
  102. package/src/lib/measure/measurer/measurer.theming.scss +0 -26
  103. package/src/lib/search/search-results/search-results-item.theme.scss +0 -20
  104. package/src/lib/workspace/confirmation-popup/confirmation-popup.theming.scss +0 -14
  105. package/src/lib/workspace/workspace.theming.scss +0 -6
@@ -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
- }
@@ -1,14 +0,0 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
-
4
- @mixin igo-confirmation-popup-theming($theme) {
5
- $foreground: map.get($theme, foreground);
6
- $typography: mat.m2-get-typography-config($theme);
7
-
8
- igo-confirmation-popup-component {
9
- h1 {
10
- font-size: mat.m2-font-size($typography, headline-4);
11
- font-family: Roboto, 'Helvetica Neue', sans-serif;
12
- }
13
- }
14
- }
@@ -1,6 +0,0 @@
1
- @use './confirmation-popup/confirmation-popup.theming.scss' as
2
- confirmation-popup;
3
-
4
- @mixin igo-workspace-theming($theme) {
5
- @include confirmation-popup.igo-confirmation-popup-theming($theme);
6
- }