@dsivd/prestations-ng 18.0.5 → 18.1.0-beta.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/CHANGELOG.md CHANGED
@@ -6,6 +6,35 @@
6
6
 
7
7
  ---
8
8
 
9
+ ## [18.1.0]
10
+
11
+ ### Added
12
+
13
+ - [foehn-input-string](projects/prestations-ng/src/foehn-input/foehn-input-string.component.ts)
14
+
15
+ - Added `@Input() sanitizeOnBlur = true;` Set to `false` to not sanitize
16
+ - sanitizes input string on blur event to avoid having invisible characters
17
+ - all `foehn-input-*` components extending `foehn-input-string` component will be cleaned
18
+
19
+ - [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
20
+
21
+ - Added `@Input() showBeforeUnloadNativeConfirmAlert = true;` to display or hide native browser alert message when closing the tab, closing the browser or reloading the page while having unsaved data.
22
+
23
+ - [foehn-modal.component.ts](projects/prestations-ng/src/foehn-modal/foehn-modal.component.ts)
24
+ - [foehn-help-modal.component.ts](projects/prestations-ng/src/foehn-help-modal/foehn-help-modal.component.ts)
25
+
26
+ - Added `@Input() draggable = false` to be able to drag the modal
27
+ - Added `@Input() hideable = true` to be able to hide the modal when dragging outside of the webpage
28
+
29
+ - [foehn-confirm-modal-content.ts](projects/prestations-ng/src/foehn-confirm-modal/foehn-confirm-modal-content.ts)
30
+
31
+ - Added `draggable?: boolean` to be able to drag the modal
32
+ - Added `hideable?: boolean` to be able to hide the modal when dragging outside of the webpage
33
+
34
+ - [sdk-logs.service.ts](projects/prestations-ng/src/sdk-logs/sdk-logs.service.ts)
35
+ - [sdk-log-level.enum.ts](projects/prestations-ng/src/sdk-logs/sdk-log-level.enum.ts)
36
+ - Added a service to log messages to the backend
37
+
9
38
  ## [18.0.5]
10
39
 
11
40
  ### Updated
package/UPGRADING_V18.md CHANGED
@@ -418,9 +418,12 @@ logging.config=${ch.vd.configDir}/logback-spring.xml
418
418
 
419
419
  After that, you should continue based on your current parent :
420
420
 
421
+ <details>
422
+ <summary>SPRING-BOOT-STARTER-PARENT</summary>
423
+
421
424
  ### SPRING-BOOT-STARTER-PARENT
422
425
 
423
- - remove this profile `<id>devex.in</id>` and its properties (`<devex*`)
426
+ - remove this profile `<id>devex.in</id>` and its properties (`<devex...`)
424
427
  - set property `java.version` to `21`
425
428
  - set property `build.nofront` to `false`
426
429
  - set property `skipTests` to `false`
@@ -485,6 +488,11 @@ with these properties :
485
488
  <jaxb2-namespace-prefix.version>2.0</jaxb2-namespace-prefix.version>
486
489
  ```
487
490
 
491
+ </details>
492
+
493
+ <details>
494
+ <summary>APPLICATION-PARENT (IMT-Portail)</summary>
495
+
488
496
  ### APPLICATION-PARENT
489
497
 
490
498
  - set parent version to `14.x.x`
@@ -514,6 +522,8 @@ If you used `org.jvnet.jaxb2.maven2:maven-jaxb2-plugin`, you should replace it w
514
522
  </plugin>
515
523
  ```
516
524
 
525
+ </details>
526
+
517
527
  ### clean / build your project
518
528
 
519
529
  - remove the annotation `@EnableEurekaClient`
@@ -521,7 +531,7 @@ If you used `org.jvnet.jaxb2.maven2:maven-jaxb2-plugin`, you should replace it w
521
531
  - remove the property `eureka.client.serviceUrl.defaultZone` (in you configuration repository)
522
532
  - replace deprecated annotation `@MockBean` with `@MockitoBean`
523
533
  - remove deprecated field constructor `Validator validator` from `AbstractSdkController`
524
- - use `SdkControllerTest.getValidator()` instead of creating a `LocalValidatorFactoryBean` to build your ``
534
+ - use `SdkControllerTest.getValidator()` instead of creating a `LocalValidatorFactoryBean` to build your `FormValidationService` in tests
525
535
 
526
536
  build your project with java 21 :
527
537
 
@@ -38,6 +38,7 @@ export declare abstract class AbstractPageComponent<T extends I18nForm> implemen
38
38
  private _currentLangSubscription;
39
39
  private _transmitConcurrentSafe;
40
40
  private _gesdemSaveSubscription;
41
+ private readonly _registerNgModelService;
41
42
  constructor(activatedRoute: ActivatedRoute);
42
43
  ngOnInit(): void;
43
44
  ngAfterViewInit(): void;