@dsivd/prestations-ng 15.2.6 → 15.3.1-beta2

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 (27) hide show
  1. package/CHANGELOG.md +19 -1
  2. package/dsivd-prestations-ng-v15.3.1-beta2.tgz +0 -0
  3. package/esm2020/directives/currency-formatter.directive.mjs +1 -1
  4. package/esm2020/foehn-help-modal/foehn-help-modal.component.mjs +3 -3
  5. package/esm2020/foehn-help-modal/foehn-help-modal.type.mjs +1 -1
  6. package/esm2020/foehn-input/foehn-input-email.component.mjs +18 -11
  7. package/esm2020/foehn-input/foehn-input-hidden.component.mjs +9 -8
  8. package/esm2020/foehn-input/foehn-input-number.component.mjs +10 -8
  9. package/esm2020/foehn-input/foehn-input-password.component.mjs +9 -8
  10. package/esm2020/foehn-input/foehn-input-phone.component.mjs +9 -8
  11. package/esm2020/foehn-input/foehn-input-text.component.mjs +9 -8
  12. package/esm2020/foehn-input/foehn-input-textarea.component.mjs +2 -2
  13. package/esm2020/foehn-input/foehn-input.component.mjs +4 -2
  14. package/esm2020/foehn-input/foehn-input.module.mjs +8 -4
  15. package/esm2020/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.mjs +3 -6
  16. package/esm2020/sdk-dictionary/default-dictionary.mjs +3 -1
  17. package/fesm2015/dsivd-prestations-ng.mjs +272 -263
  18. package/fesm2015/dsivd-prestations-ng.mjs.map +1 -1
  19. package/fesm2020/dsivd-prestations-ng.mjs +272 -263
  20. package/fesm2020/dsivd-prestations-ng.mjs.map +1 -1
  21. package/foehn-help-modal/foehn-help-modal.type.d.ts +1 -0
  22. package/foehn-input/foehn-input-email.component.d.ts +3 -1
  23. package/foehn-input/foehn-input.component.d.ts +3 -1
  24. package/foehn-input/foehn-input.module.d.ts +2 -1
  25. package/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.d.ts +1 -2
  26. package/package.json +1 -1
  27. package/dsivd-prestations-ng-v15.2.6.tgz +0 -0
@@ -2,6 +2,7 @@ export interface HelpModal {
2
2
  title: string;
3
3
  body?: string;
4
4
  images?: Image[];
5
+ modalSize?: string;
5
6
  }
6
7
  export interface Image {
7
8
  src?: string;
@@ -1,9 +1,11 @@
1
1
  import { NgZone, OnInit } from '@angular/core';
2
2
  import { FoehnInputStringComponent } from './foehn-input-string.component';
3
+ import { SdkDictionaryService } from '../sdk-dictionary/sdk-dictionary.service';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class FoehnInputEmailComponent extends FoehnInputStringComponent implements OnInit {
5
6
  private ngZone;
6
- constructor(ngZone: NgZone);
7
+ private dictionaryService;
8
+ constructor(ngZone: NgZone, dictionaryService: SdkDictionaryService);
7
9
  ngOnInit(): void;
8
10
  onModelChange(value: string): void;
9
11
  static ɵfac: i0.ɵɵFactoryDeclaration<FoehnInputEmailComponent, never>;
@@ -3,6 +3,7 @@ import { NgModel } from '@angular/forms';
3
3
  import { FormError } from '../form-error';
4
4
  import { Observable } from 'rxjs';
5
5
  import { ValidationHandlerService } from '../validation/validation-handler.service';
6
+ import { HelpModal } from '../foehn-help-modal/foehn-help-modal.type';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare const GESDEM_MAX_DATA_LENGTH = 10000;
8
9
  export declare abstract class FoehnInputComponent<T> implements OnInit, OnDestroy {
@@ -52,6 +53,7 @@ export declare abstract class FoehnInputComponent<T> implements OnInit, OnDestro
52
53
  * https://developer.mozilla.org/fr/docs/Web/HTML/Global_attributes/autocapitalize
53
54
  */
54
55
  autocapitalize: string;
56
+ helpModal: HelpModal;
55
57
  inputModelList: QueryList<NgModel>;
56
58
  inputElement: ElementRef;
57
59
  subComponents: QueryList<FoehnInputComponent<any>>;
@@ -111,5 +113,5 @@ export declare abstract class FoehnInputComponent<T> implements OnInit, OnDestro
111
113
  protected isEmpty(data: any): boolean;
112
114
  protected triggerUserInput(value: T): void;
113
115
  static ɵfac: i0.ɵɵFactoryDeclaration<FoehnInputComponent<any>, never>;
114
- static ɵdir: i0.ɵɵDirectiveDeclaration<FoehnInputComponent<any>, never, never, { "id": "id"; "required": "required"; "label": "label"; "isLabelSrOnly": "isLabelSrOnly"; "helpText": "helpText"; "name": "name"; "pattern": "pattern"; "labelStyleModifier": "labelStyleModifier"; "customErrors": "customErrors"; "maxlength": "maxlength"; "overrideGesdemMaxlength": "overrideGesdemMaxlength"; "min": "min"; "max": "max"; "autocomplete": "autocomplete"; "disabled": "disabled"; "preventPaste": "preventPaste"; "clearButton": "clearButton"; "excludeFromErrorSummary": "excludeFromErrorSummary"; "hideNotRequiredExtraLabel": "hideNotRequiredExtraLabel"; "isErrorInherited": "isErrorInherited"; "showErrorWhenDisabled": "showErrorWhenDisabled"; "autocapitalize": "autocapitalize"; "model": "model"; }, { "modelChange": "modelChange"; "userInput": "userInput"; "blurHandler": "blur"; "focusHandler": "focus"; }, never>;
116
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FoehnInputComponent<any>, never, never, { "id": "id"; "required": "required"; "label": "label"; "isLabelSrOnly": "isLabelSrOnly"; "helpText": "helpText"; "name": "name"; "pattern": "pattern"; "labelStyleModifier": "labelStyleModifier"; "customErrors": "customErrors"; "maxlength": "maxlength"; "overrideGesdemMaxlength": "overrideGesdemMaxlength"; "min": "min"; "max": "max"; "autocomplete": "autocomplete"; "disabled": "disabled"; "preventPaste": "preventPaste"; "clearButton": "clearButton"; "excludeFromErrorSummary": "excludeFromErrorSummary"; "hideNotRequiredExtraLabel": "hideNotRequiredExtraLabel"; "isErrorInherited": "isErrorInherited"; "showErrorWhenDisabled": "showErrorWhenDisabled"; "autocapitalize": "autocapitalize"; "helpModal": "helpModal"; "model": "model"; }, { "modelChange": "modelChange"; "userInput": "userInput"; "blurHandler": "blur"; "focusHandler": "focus"; }, never>;
115
117
  }
@@ -14,8 +14,9 @@ import * as i12 from "@angular/forms";
14
14
  import * as i13 from "../foehn-validation-alerts/foehn-validation-alerts.module";
15
15
  import * as i14 from "../sdk-dictionary/sdk-dictionary.module";
16
16
  import * as i15 from "../foehn-date-picker-button/foehn-date-picker-button.module";
17
+ import * as i16 from "../foehn-help-modal/foehn-help-modal.module";
17
18
  export declare class FoehnInputModule {
18
19
  static ɵfac: i0.ɵɵFactoryDeclaration<FoehnInputModule, never>;
19
- static ɵmod: i0.ɵɵNgModuleDeclaration<FoehnInputModule, [typeof i1.FoehnInputTextComponent, typeof i2.FoehnInputNumberComponent, typeof i3.FoehnInputEmailComponent, typeof i4.FoehnInputHiddenComponent, typeof i5.FoehnInputPasswordComponent, typeof i6.FoehnInputTextareaComponent, typeof i7.FoehnDateComponent, typeof i8.FoehnTimeComponent, typeof i9.FoehnInputPhoneComponent], [typeof i10.FoehnIconsModule, typeof i11.CommonModule, typeof i12.FormsModule, typeof i13.FoehnValidationAlertsModule, typeof i14.SdkDictionaryModule, typeof i15.FoehnDatePickerButtonModule], [typeof i1.FoehnInputTextComponent, typeof i2.FoehnInputNumberComponent, typeof i3.FoehnInputEmailComponent, typeof i4.FoehnInputHiddenComponent, typeof i5.FoehnInputPasswordComponent, typeof i6.FoehnInputTextareaComponent, typeof i7.FoehnDateComponent, typeof i8.FoehnTimeComponent, typeof i9.FoehnInputPhoneComponent]>;
20
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FoehnInputModule, [typeof i1.FoehnInputTextComponent, typeof i2.FoehnInputNumberComponent, typeof i3.FoehnInputEmailComponent, typeof i4.FoehnInputHiddenComponent, typeof i5.FoehnInputPasswordComponent, typeof i6.FoehnInputTextareaComponent, typeof i7.FoehnDateComponent, typeof i8.FoehnTimeComponent, typeof i9.FoehnInputPhoneComponent], [typeof i10.FoehnIconsModule, typeof i11.CommonModule, typeof i12.FormsModule, typeof i13.FoehnValidationAlertsModule, typeof i14.SdkDictionaryModule, typeof i15.FoehnDatePickerButtonModule, typeof i16.FoehnHelpModalModule], [typeof i1.FoehnInputTextComponent, typeof i2.FoehnInputNumberComponent, typeof i3.FoehnInputEmailComponent, typeof i4.FoehnInputHiddenComponent, typeof i5.FoehnInputPasswordComponent, typeof i6.FoehnInputTextareaComponent, typeof i7.FoehnDateComponent, typeof i8.FoehnTimeComponent, typeof i9.FoehnInputPhoneComponent]>;
20
21
  static ɵinj: i0.ɵɵInjectorDeclaration<FoehnInputModule>;
21
22
  }
@@ -15,7 +15,6 @@ export declare class FoehnMultiselectAutocompleteComponent extends FoehnAutocomp
15
15
  * Defaults to `label`
16
16
  */
17
17
  elementBadgeLabel: any;
18
- itemHeightInSuggestionListInPx: number;
19
18
  autocompleteInputValue: string;
20
19
  showEmptyListMessage: boolean;
21
20
  srAnnouncements: string;
@@ -48,5 +47,5 @@ export declare class FoehnMultiselectAutocompleteComponent extends FoehnAutocomp
48
47
  private showAlertMessageAndHideAutocomplete;
49
48
  private manageScreenReaderAnnouncement;
50
49
  static ɵfac: i0.ɵɵFactoryDeclaration<FoehnMultiselectAutocompleteComponent, never>;
51
- static ɵcmp: i0.ɵɵComponentDeclaration<FoehnMultiselectAutocompleteComponent, "foehn-multiselect-autocomplete", never, { "elementBadgeLabel": "elementBadgeLabel"; "itemHeightInSuggestionListInPx": "itemHeightInSuggestionListInPx"; "defaultElementValues": "defaultElementValues"; "defaultElementValue": "defaultElementValue"; }, {}, never, never>;
50
+ static ɵcmp: i0.ɵɵComponentDeclaration<FoehnMultiselectAutocompleteComponent, "foehn-multiselect-autocomplete", never, { "elementBadgeLabel": "elementBadgeLabel"; "defaultElementValues": "defaultElementValues"; "defaultElementValue": "defaultElementValue"; }, {}, never, never>;
52
51
  }
package/package.json CHANGED
@@ -36,7 +36,7 @@
36
36
  "ng-update": {
37
37
  "migrations": "./schematics/migration-collection.json"
38
38
  },
39
- "version": "15.2.6",
39
+ "version": "15.3.1-beta2",
40
40
  "module": "fesm2015/dsivd-prestations-ng.mjs",
41
41
  "es2020": "fesm2020/dsivd-prestations-ng.mjs",
42
42
  "esm2020": "esm2020/dsivd-prestations-ng.mjs",
Binary file