@dsivd/prestations-ng 19.0.2-beta.6 → 19.0.2
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/UPGRADING_V17.md +6 -1
- package/UPGRADING_V18.md +2 -1
- package/UPGRADING_V19.md +4 -1
- package/dsivd-prestations-ng-19.0.2.tgz +0 -0
- package/fesm2022/dsivd-prestations-ng.mjs +1 -1
- package/fesm2022/dsivd-prestations-ng.mjs.map +1 -1
- package/package.json +1 -1
- package/dsivd-prestations-ng-19.0.2-beta.6.tgz +0 -0
package/UPGRADING_V17.md
CHANGED
|
@@ -151,7 +151,7 @@ Add `/.nx/cache`
|
|
|
151
151
|
```bash
|
|
152
152
|
npm install @angular/cli@17 -g
|
|
153
153
|
ng update @angular/core@17 @angular/cli@17 --force
|
|
154
|
-
ng update @dsivd/prestations-ng@
|
|
154
|
+
ng update @dsivd/prestations-ng@17
|
|
155
155
|
ng update rxjs@7
|
|
156
156
|
ng update @angular-eslint/builder@17
|
|
157
157
|
ng update @angular-eslint/eslint-plugin@17 @angular-eslint/eslint-plugin-template@17 @angular-eslint/template-parser@17
|
|
@@ -167,6 +167,11 @@ npm install puppeteer@~23.5.2 --save-dev
|
|
|
167
167
|
npm update
|
|
168
168
|
```
|
|
169
169
|
|
|
170
|
+
If you go errors like "npm error code ERESOLVE
|
|
171
|
+
npm error ERESOLVE could not resolve
|
|
172
|
+
" while executing `npm remove puppeteer`, you can run :
|
|
173
|
+
`npm i primeng@^17 primeicons@^7 @angular/cdk@^17 @angular/material@^17` to align versions first.
|
|
174
|
+
|
|
170
175
|
#### Align Angular & ESLint versions
|
|
171
176
|
|
|
172
177
|
Make sure that @angular & @angular-eslint packages are aligned up to the minor version (17.X).
|
package/UPGRADING_V18.md
CHANGED
|
@@ -456,8 +456,9 @@ Just FYI if you are curious about the details, you can find the Angular update g
|
|
|
456
456
|
```bash
|
|
457
457
|
npm install @angular/cli@19 -g
|
|
458
458
|
ng update typescript@5.5
|
|
459
|
-
ng update @dsivd/prestations-ng@
|
|
459
|
+
ng update @dsivd/prestations-ng@18
|
|
460
460
|
```
|
|
461
|
+
NB: You might need to use the --force option.
|
|
461
462
|
|
|
462
463
|
When asked the question "Select the migrations that you'd like to run", accept "provide-initializer" by hitting "Space" key then "Enter".
|
|
463
464
|
|
package/UPGRADING_V19.md
CHANGED
|
@@ -291,6 +291,7 @@ When a unique identifier such as `id` is not possible, track by object or as a l
|
|
|
291
291
|
```bash
|
|
292
292
|
ng update @angular/cdk@20
|
|
293
293
|
```
|
|
294
|
+
NB: you might need to use the `--force` option
|
|
294
295
|
|
|
295
296
|
### Running with node 22+
|
|
296
297
|
|
|
@@ -314,6 +315,8 @@ Update your `package.json` file to specify the node engine:
|
|
|
314
315
|
|
|
315
316
|
```diff
|
|
316
317
|
buildAppPipelinePodmanUT([
|
|
318
|
+
- jdk: 21,
|
|
319
|
+
+ jdk: 25,
|
|
317
320
|
- node: 20,
|
|
318
321
|
+ node: 22,
|
|
319
322
|
])
|
|
@@ -577,7 +580,7 @@ ng generate @angular/core:route-lazy-loading
|
|
|
577
580
|
|
|
578
581
|
Here is an example when doing it manually because schematic above does not work as intended:
|
|
579
582
|
|
|
580
|
-
Your `app.
|
|
583
|
+
Your `app.routes.ts` file should look something like this:
|
|
581
584
|
|
|
582
585
|
```ts
|
|
583
586
|
const routes: Routes = [
|
|
Binary file
|
|
@@ -7187,7 +7187,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImpo
|
|
|
7187
7187
|
args: [{ selector: 'sdk-support-alert-container', imports: [SupportAlertComponent, AsyncPipe], template: "@if (hasAlerts | async) {\n <section class=\"d-flex flex-column container mt-2\">\n <h2 class=\"visually-hidden\">Messages de support</h2>\n @if (hasHiddenAlerts | async) {\n <div class=\"mb-2 mt-2\">\n <button\n type=\"button\"\n class=\"btn btn-link pe-0 ps-0\"\n (click)=\"restoreAllAlerts()\"\n >\n Afficher tous les messages\n </button>\n </div>\n }\n @for (alert of alertsToDisplay | async; track alert) {\n <sdk-support-alert [alert]=\"alert\" />\n }\n </section>\n}\n" }]
|
|
7188
7188
|
}], propDecorators: { supportAlertUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "supportAlertUrl", required: false }] }], etapeId: [{ type: i0.Input, args: [{ isSignal: true, alias: "etapeId", required: false }] }] } });
|
|
7189
7189
|
|
|
7190
|
-
const supportedBrowsers = /Edge?\/(
|
|
7190
|
+
const supportedBrowsers = /Edge?\/(149|1[5-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Firefox\/(14\d|1[5-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Chrom(ium|e)\/(109|1[1-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|(Maci|X1{2}).+ Version\/(26\.([3-9]|\d{2,})|(2[7-9]|[3-9]\d|\d{3,})\.\d+)([,.]\d+|)( \(\w+\)|)( Mobile\/\w+|) Safari\/|Chrome.+OPR\/(12[7-9]|1[3-9]\d|[2-9]\d{2}|\d{4,})\.\d+\.\d+|(CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone|CPU IPhone OS|CPU iPad OS)[ +]+(18[._]([5-9]|\d{2,})|(19|[2-9]\d|\d{3,})[._]\d+)([._]\d+|)|Opera Mini|Android:?[ /-](15[1-9]|1[6-9]\d|[2-9]\d{2}|\d{4,})(\.\d+|)(\.\d+|)|Mobile Safari.+OPR\/([89]\d|\d{3,})\.\d+\.\d+|Android.+Firefox\/(15[3-9]|1[6-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Android.+Chrom(ium|e)\/(15[1-9]|1[6-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Android.+(UC? ?Browser|UCWEB|U3)[ /]?(15\.([5-9]|\d{2,})|(1[6-9]|[2-9]\d|\d{3,})\.\d+)\.\d+|SamsungBrowser\/(29|[3-9]\d|\d{3,})\.\d+|Android.+MQ{2}Browser\/(14(\.(9|\d{2,})|)|(1[5-9]|[2-9]\d|\d{3,})(\.\d+|))(\.\d+|)|K[Aa][Ii]OS\/(2\.([5-9]|\d{2,})|([3-9]|\d{2,})\.\d+)(\.\d+|)/;
|
|
7191
7191
|
|
|
7192
7192
|
class FoehnAppVersionMisMatchModalComponent {
|
|
7193
7193
|
constructor() {
|