Skip to content

Commit

Permalink
Merge branch 'release/16.0.0' into next
Browse files Browse the repository at this point in the history
  • Loading branch information
alecarn committed Oct 17, 2023
2 parents b8b9cba + aed6c1c commit 970d5e5
Show file tree
Hide file tree
Showing 728 changed files with 4,732 additions and 3,909 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
text eol=lf
8 changes: 7 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{
"singleQuote": true,
"trailingComma": "none"
"trailingComma": "none",
"endOfLine": "lf",
"importOrder": ["^@angular/(.*)$", "^@igo2/(.*)$", "^ol/(.*)$", "<THIRD_PARTY_MODULES>", "^[./]"],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true,
"importOrderParserPlugins": ["typescript", "decorators-legacy"],
"plugins": ["@trivago/prettier-plugin-sort-imports"]
}
95 changes: 90 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,103 @@
## [1.15.4](https://github.com/infra-geo-ouverte/igo2-lib/compare/1.15.2...1.15.4) (2023-07-05)
# [16.0.0-rc.3](https://github.com/infra-geo-ouverte/igo2-lib/compare/16.0.0-rc.2...16.0.0-rc.3) (2023-10-13)


### Reverts
### Bug Fixes

* **geo:** fix homeExtentButtonOptions ([#1442](https://github.com/infra-geo-ouverte/igo2-lib/issues/1442)) ([c431663](https://github.com/infra-geo-ouverte/igo2-lib/commit/c4316635a86d63cf29c67249a19e7c31f3cfa78f))
* **ogcFilter:** v16 regression, let the button being clickable when header=false ([#1444](https://github.com/infra-geo-ouverte/igo2-lib/issues/1444)) ([f7f82dd](https://github.com/infra-geo-ouverte/igo2-lib/commit/f7f82dd883cfcbb86b865b5f2cbd13b45101a4ab))


### Features

* **context:** save layer opacity in when creating context from map ([#1439](https://github.com/infra-geo-ouverte/igo2-lib/issues/1439)) ([cc2669d](https://github.com/infra-geo-ouverte/igo2-lib/commit/cc2669dd0885c5958d6b60307aae7c38bccf461c))



# [16.0.0-rc.2](https://github.com/infra-geo-ouverte/igo2-lib/compare/16.0.0-rc.1...16.0.0-rc.2) (2023-10-11)


### Bug Fixes

* **Core:** resolve infinite loop between MessageService and the ErrorInterceptor ([#1419](https://github.com/infra-geo-ouverte/igo2-lib/issues/1419)) ([bc0da58](https://github.com/infra-geo-ouverte/igo2-lib/commit/bc0da58f1b90a4d785fd0b5c0c4c950eb29f63ee))
* **EditionWorkspace:** pass the service context to the function parameter ([#1415](https://github.com/infra-geo-ouverte/igo2-lib/issues/1415)) ([111f851](https://github.com/infra-geo-ouverte/igo2-lib/commit/111f8514052cb0ebaab2bb392b9dfbe690feb6ac))
* **geo, common:** Integrate ngx color ([#1422](https://github.com/infra-geo-ouverte/igo2-lib/issues/1422)) ([e920a41](https://github.com/infra-geo-ouverte/igo2-lib/commit/e920a413f72916af1f59a9c4faf889450faf436d))
* **MDC:** resolve all remaining TODO from MDC migration ([#1416](https://github.com/infra-geo-ouverte/igo2-lib/issues/1416)) ([dc0815e](https://github.com/infra-geo-ouverte/igo2-lib/commit/dc0815ebaa9d95f0d303e575981c395e22d3af07))
* **MessageService:** handle number for field validation message ([#1432](https://github.com/infra-geo-ouverte/igo2-lib/issues/1432)) ([e6eaa28](https://github.com/infra-geo-ouverte/igo2-lib/commit/e6eaa2829863bbcefeb9b42e0204b0033e5d6293))


### Features

* add types for app environment and config ([3b75824](https://github.com/infra-geo-ouverte/igo2-lib/commit/3b75824a1c7273776c68621826a6658121859e03)), closes [#1430](https://github.com/infra-geo-ouverte/igo2-lib/issues/1430)
* **core:** add default value param to the getConfig method ([#1434](https://github.com/infra-geo-ouverte/igo2-lib/issues/1434)) ([8a24b6f](https://github.com/infra-geo-ouverte/igo2-lib/commit/8a24b6f89da6eb76af2bc625029d3b359f3f2eaf))
* **core:** add method to retrieve global configs ([#1417](https://github.com/infra-geo-ouverte/igo2-lib/issues/1417)) ([05454b9](https://github.com/infra-geo-ouverte/igo2-lib/commit/05454b9105ec0d1dbe7ffd55701a8c2138984d8a))

* Revert "chore(searchSource): deletion of cadastre search source (#1152)" ([2e073d7](https://github.com/infra-geo-ouverte/igo2-lib/commit/2e073d71890d3b8aea68f84129f4600b9652d158)), closes [#1152](https://github.com/infra-geo-ouverte/igo2-lib/issues/1152)

### Performance Improvements

* **wfs:** cancel outgoing wfs xhr on pan/zoom ([#1421](https://github.com/infra-geo-ouverte/igo2-lib/issues/1421)) ([b796cec](https://github.com/infra-geo-ouverte/igo2-lib/commit/b796cec28417bc4d30a7ad5787b6c07f09f2bc3b))



# [16.0.0-rc.1](https://github.com/infra-geo-ouverte/igo2-lib/compare/16.0.0-rc.0...16.0.0-rc.1) (2023-09-22)


### Bug Fixes

* **InteractiveTour:** add Placement types from [@floating-ui](https://github.com/floating-ui) ([#1407](https://github.com/infra-geo-ouverte/igo2-lib/issues/1407)) ([44b3d4a](https://github.com/infra-geo-ouverte/igo2-lib/commit/44b3d4ac88a23a83bc4704dde03a563230b90c53))
* **InteractiveTour:** options migration from popperJS to floatingUI ([#1399](https://github.com/infra-geo-ouverte/igo2-lib/issues/1399)) ([fbc4ff7](https://github.com/infra-geo-ouverte/igo2-lib/commit/fbc4ff7a26f501c8d42e28760440d4b45b99cbc6))
* **menu-button:** fix v16.0.0 regression form menu button color configuration ([#1403](https://github.com/infra-geo-ouverte/igo2-lib/issues/1403)) ([c92b488](https://github.com/infra-geo-ouverte/igo2-lib/commit/c92b488dcae1329e82e0c42274c0fed49cae5c70))
* **Openlayers:** downgrade to 7.5.2 due to wms regression ([#1402](https://github.com/infra-geo-ouverte/igo2-lib/issues/1402)) ([a18905a](https://github.com/infra-geo-ouverte/igo2-lib/commit/a18905a57be9ea0ce120a50caf395b14f8a4cebc))


## [1.15.3](https://github.com/infra-geo-ouverte/igo2-lib/compare/1.15.2...1.15.3) (2023-06-12)
### Features

* **core:** add a new method to handle deprecated configs ([#1408](https://github.com/infra-geo-ouverte/igo2-lib/issues/1408)) ([8019300](https://github.com/infra-geo-ouverte/igo2-lib/commit/801930010a15696eb201401150c94d46591d6884))
* **direction:** add a toogle to control user interaction with map ([#1396](https://github.com/infra-geo-ouverte/igo2-lib/issues/1396)) ([cdea457](https://github.com/infra-geo-ouverte/igo2-lib/commit/cdea45704ef2c347eeae3800e3be3b534dfe9a1e))
* **Prettier:** be specific about the end of line ([a4be26e](https://github.com/infra-geo-ouverte/igo2-lib/commit/a4be26ebbef5afe81e3e588fa99b2be77c26a3d4))
* **qcca-theme:** ajout de style pour la barre de défilement qc-ca ([#1400](https://github.com/infra-geo-ouverte/igo2-lib/issues/1400)) ([8d00c6b](https://github.com/infra-geo-ouverte/igo2-lib/commit/8d00c6b5b94ae8ee1f06fb1c2d5e4f582280deee))



# [16.0.0-rc.0](https://github.com/infra-geo-ouverte/igo2-lib/compare/1.15.2...16.0.0-rc.0) (2023-09-19)


### Bug Fixes

* **draw:** drawing circle crash whole drawing component. ([#1273](https://github.com/infra-geo-ouverte/igo2-lib/issues/1273)) ([e3ee3b5](https://github.com/infra-geo-ouverte/igo2-lib/commit/e3ee3b593e4afde201fc601373478aa8cf8556a3))
* **catalog-library-item:** icon placement for external providers ([4b02550](https://github.com/infra-geo-ouverte/igo2-lib/commit/4b0255060405b8854c4686c07eac351aa4f759e8))
* **catalog:** Composite catalog initialisation ([a6c6941](https://github.com/infra-geo-ouverte/igo2-lib/commit/a6c6941a52a71163c89086745a9a08826808f8cb))
* **ColorPicker:** remove unused deps ([#1394](https://github.com/infra-geo-ouverte/igo2-lib/issues/1394)) ([545f291](https://github.com/infra-geo-ouverte/igo2-lib/commit/545f291de18c09ea9a375ed92cb2ef57bb2c43e3))
* **directions:** padding for steps text ([a3b09a4](https://github.com/infra-geo-ouverte/igo2-lib/commit/a3b09a47dd9061d23af3071cb44fcad4b1dcfc8d))
* **draw:** drawing circle crash whole drawing component. ([#1273](https://github.com/infra-geo-ouverte/igo2-lib/issues/1273)) ([3998dcc](https://github.com/infra-geo-ouverte/igo2-lib/commit/3998dccb9007a5fb4a2a98be492cca428417b5a0))
* **EntityStore:** add strategy variant ([d28e9f3](https://github.com/infra-geo-ouverte/igo2-lib/commit/d28e9f39e35e9434920e254c1570bf89c978d545))
* **EntityTable:** validate octal number ([#1293](https://github.com/infra-geo-ouverte/igo2-lib/issues/1293)) ([860ea7e](https://github.com/infra-geo-ouverte/igo2-lib/commit/860ea7ea773af1f6eb4796ef8d47b446e4bd1cc5))
* **feature:** exported context with draw - radius is kept on context import ([#1380](https://github.com/infra-geo-ouverte/igo2-lib/issues/1380)) ([bf9ac19](https://github.com/infra-geo-ouverte/igo2-lib/commit/bf9ac19cd16adc95e17df7af86d942c30701cbba))
* **geo,common:** create new color picker component ([#1368](https://github.com/infra-geo-ouverte/igo2-lib/issues/1368)) ([169379c](https://github.com/infra-geo-ouverte/igo2-lib/commit/169379ced1eaf30f98a60940670d1fb994207759))
* **geo:** delete map legend after the printing from the DOM ([#1304](https://github.com/infra-geo-ouverte/igo2-lib/issues/1304)) ([d84a9e6](https://github.com/infra-geo-ouverte/igo2-lib/commit/d84a9e6608c08da02a7068a19542fa302b690073))
* **geo:** google map links were not interpreted on mobile ([#1388](https://github.com/infra-geo-ouverte/igo2-lib/issues/1388)) ([a4da9c5](https://github.com/infra-geo-ouverte/igo2-lib/commit/a4da9c520a02a1863194fc31679fe5646defdbe4))
* **geo:** Print without cursor position ([#1265](https://github.com/infra-geo-ouverte/igo2-lib/issues/1265)) ([e5592f8](https://github.com/infra-geo-ouverte/igo2-lib/commit/e5592f82636d57d591cc39898c278ee3374cdbdd))
* https://github.com/angular/components/issues/27035 ([426204e](https://github.com/infra-geo-ouverte/igo2-lib/commit/426204e8b628a0c117d6e9d25c31ae6f7904b43c))
* **ICherche:** add a custom cache hash to account for http params ([#1262](https://github.com/infra-geo-ouverte/igo2-lib/issues/1262)) ([776fc4b](https://github.com/infra-geo-ouverte/igo2-lib/commit/776fc4b0de39ab4b098d0872fb0991776ed2a503)), closes [infra-geo-ouverte/igo2#928](https://github.com/infra-geo-ouverte/igo2/issues/928)
* **integration:** import Action interface and add DatePipe in demo app.module to solve datepipe issue ([#1300](https://github.com/infra-geo-ouverte/igo2-lib/issues/1300)) ([459ee89](https://github.com/infra-geo-ouverte/igo2-lib/commit/459ee8939f474622a17cc8665133adf10f80397a))
* **layer-list:** list on mobile was on 2 rows ([e3c825e](https://github.com/infra-geo-ouverte/igo2-lib/commit/e3c825e17b3822def32066dfdc8166ae020f7cc2))
* **LayerContext:** subscribe once with first operator ([#1272](https://github.com/infra-geo-ouverte/igo2-lib/issues/1272)) ([b83ec47](https://github.com/infra-geo-ouverte/igo2-lib/commit/b83ec47f120153df05c36da19e60e96102066e0c)), closes [#1271](https://github.com/infra-geo-ouverte/igo2-lib/issues/1271)
* **pointer-summary:** error due layer creation when map is not ready ([87239f6](https://github.com/infra-geo-ouverte/igo2-lib/commit/87239f6b11cba16b97bea354482645e05edd9ef6))
* **regex:** missing regexes for geoservice ([4bda3ce](https://github.com/infra-geo-ouverte/igo2-lib/commit/4bda3cebdf6e7f81fa24915f29e35b0efdf3a726))
* **toggle buttons:** labels were before the toggle ([c87cb1f](https://github.com/infra-geo-ouverte/igo2-lib/commit/c87cb1faae444fa015f7176c81dc42221384c073))


### Features

* **context:** import export context in demo ([#1348](https://github.com/infra-geo-ouverte/igo2-lib/issues/1348)) ([41cfaa6](https://github.com/infra-geo-ouverte/igo2-lib/commit/41cfaa6b8a0f2bf0afde140ad483f5789ae770c3))
* **context:** save layer opacity if export context ([#1322](https://github.com/infra-geo-ouverte/igo2-lib/issues/1322)) ([cdcfc9d](https://github.com/infra-geo-ouverte/igo2-lib/commit/cdcfc9d107c6c6996162b85502b70e1b67f4a2fb))
* **context:** set map zoom level after importing context ([#1384](https://github.com/infra-geo-ouverte/igo2-lib/issues/1384)) ([c1a1491](https://github.com/infra-geo-ouverte/igo2-lib/commit/c1a1491a3a647fa6ce9db039f7789c4d222a4e1b))
* **Debug:** add launch to debug in vscode with breakpoints ([#1299](https://github.com/infra-geo-ouverte/igo2-lib/issues/1299)) ([2ec8376](https://github.com/infra-geo-ouverte/igo2-lib/commit/2ec83760358ac1d38e67a76a419d4cdee7a2552d))
* **geo:** add print route directions function ([#1289](https://github.com/infra-geo-ouverte/igo2-lib/issues/1289)) ([63a7435](https://github.com/infra-geo-ouverte/igo2-lib/commit/63a7435358bc278336341418135d36efc276b471))
* **geo:** Added rotate option and north direction to the map when pr… ([#1256](https://github.com/infra-geo-ouverte/igo2-lib/issues/1256)) ([b79c7a0](https://github.com/infra-geo-ouverte/igo2-lib/commit/b79c7a012f2e95b12758a15116577c2a6f27337f))
* **geo:** Print with resolution PDF and image ([#1264](https://github.com/infra-geo-ouverte/igo2-lib/issues/1264)) ([f492050](https://github.com/infra-geo-ouverte/igo2-lib/commit/f4920504e5190835312bfa3e4630aeac39da6047))
* **iCherche:** add a config to hide advanced options ([#1386](https://github.com/infra-geo-ouverte/igo2-lib/issues/1386)) ([0fee36e](https://github.com/infra-geo-ouverte/igo2-lib/commit/0fee36eb34e64855ed4d10852286f8279b5225e2))
* **SplashScreen:** add a replaceable image ([#1381](https://github.com/infra-geo-ouverte/igo2-lib/issues/1381)) ([1bc4bc7](https://github.com/infra-geo-ouverte/igo2-lib/commit/1bc4bc7798b484595ae9d0729fce0014a0a32d7a))
* **workspace:** can now detect geoservice properties (wms...) to add/remove layer from workspace ([f49984f](https://github.com/infra-geo-ouverte/igo2-lib/commit/f49984ff80a3d069fa625f31c9a46c64254780d0))
* **workspace:** workspaces table view are now printable ([#1291](https://github.com/infra-geo-ouverte/igo2-lib/issues/1291)) ([1b62cd4](https://github.com/infra-geo-ouverte/igo2-lib/commit/1b62cd48561682912738d88f3d60d030527fe4d2))



Expand Down
7 changes: 3 additions & 4 deletions demo/src/app/app.component.spec.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import { TestBed, waitForAsync } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';

import { MatButtonModule } from '@angular/material/button';
import { MatCardModule } from '@angular/material/card';
import { MatIconModule } from '@angular/material/icon';
import { MatIconTestingModule } from '@angular/material/icon/testing';
import { MatListModule } from '@angular/material/list';
import { MatSidenavModule } from '@angular/material/sidenav';
import { MatToolbarModule } from '@angular/material/toolbar';
import { MatIconTestingModule } from '@angular/material/icon/testing';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { RouterTestingModule } from '@angular/router/testing';

import { IgoAuthModule } from '@igo2/auth';

Expand Down
11 changes: 6 additions & 5 deletions demo/src/app/app.component.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
import { MediaMatcher } from '@angular/cdk/layout';
import { DOCUMENT } from '@angular/common';
import {
OnInit,
ChangeDetectorRef,
Component,
Inject,
OnDestroy
OnDestroy,
OnInit
} from '@angular/core';
import { NavigationEnd, Router } from '@angular/router';

import { userAgent, DomUtils } from '@igo2/utils';
import { version } from '@igo2/core';
import { NavigationEnd, Router } from '@angular/router';
import { DomUtils, userAgent } from '@igo2/utils';

import { delay, first } from 'rxjs';
import { DOCUMENT } from '@angular/common';

@Component({
selector: 'app-root',
Expand Down
Loading

0 comments on commit 970d5e5

Please sign in to comment.