@onemrvapublic/design-system 20.3.0-develop.3 → 20.3.0-develop.5

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 (50) hide show
  1. package/fesm2022/onemrvapublic-design-system-layout.mjs +1 -1
  2. package/fesm2022/onemrvapublic-design-system-layout.mjs.map +1 -1
  3. package/fesm2022/onemrvapublic-design-system-mat-address.mjs +52 -20
  4. package/fesm2022/onemrvapublic-design-system-mat-address.mjs.map +1 -1
  5. package/fesm2022/onemrvapublic-design-system-mat-choice-chip.mjs +9 -2
  6. package/fesm2022/onemrvapublic-design-system-mat-choice-chip.mjs.map +1 -1
  7. package/fesm2022/onemrvapublic-design-system-mat-country-item.mjs +2 -2
  8. package/fesm2022/onemrvapublic-design-system-mat-country-item.mjs.map +1 -1
  9. package/fesm2022/onemrvapublic-design-system-mat-input-address.mjs +2 -2
  10. package/fesm2022/onemrvapublic-design-system-mat-input-address.mjs.map +1 -1
  11. package/fesm2022/onemrvapublic-design-system-mat-input-birthplace.mjs +15 -31
  12. package/fesm2022/onemrvapublic-design-system-mat-input-birthplace.mjs.map +1 -1
  13. package/fesm2022/onemrvapublic-design-system-mat-input-country.mjs +18 -27
  14. package/fesm2022/onemrvapublic-design-system-mat-input-country.mjs.map +1 -1
  15. package/fesm2022/onemrvapublic-design-system-mat-input-enterprise-number.mjs +2 -2
  16. package/fesm2022/onemrvapublic-design-system-mat-input-enterprise-number.mjs.map +1 -1
  17. package/fesm2022/onemrvapublic-design-system-mat-multi-select.mjs +5 -3
  18. package/fesm2022/onemrvapublic-design-system-mat-multi-select.mjs.map +1 -1
  19. package/fesm2022/onemrvapublic-design-system-mat-notification.mjs +2 -2
  20. package/fesm2022/onemrvapublic-design-system-mat-notification.mjs.map +1 -1
  21. package/fesm2022/onemrvapublic-design-system-mat-selectable-box.mjs +2 -2
  22. package/fesm2022/onemrvapublic-design-system-mat-selectable-box.mjs.map +1 -1
  23. package/fesm2022/onemrvapublic-design-system-mat-timepicker.mjs +2 -2
  24. package/fesm2022/onemrvapublic-design-system-mat-timepicker.mjs.map +1 -1
  25. package/fesm2022/onemrvapublic-design-system-mat-toast.mjs +1 -1
  26. package/fesm2022/onemrvapublic-design-system-mat-toast.mjs.map +1 -1
  27. package/fesm2022/onemrvapublic-design-system-shared.mjs +26 -20
  28. package/fesm2022/onemrvapublic-design-system-shared.mjs.map +1 -1
  29. package/fesm2022/onemrvapublic-design-system.mjs +135 -113
  30. package/fesm2022/onemrvapublic-design-system.mjs.map +1 -1
  31. package/index.d.ts +48 -36
  32. package/mat-address/index.d.ts +18 -8
  33. package/mat-address/src/onemrva-address.scss +3 -39
  34. package/mat-avatar/src/onemrva-mat-avatar.component.scss +0 -2
  35. package/mat-breadcrumb/src/onemrva-mat-breadcrumb.component.scss +0 -2
  36. package/mat-choice-chip/index.d.ts +1 -0
  37. package/mat-country-item/src/onemrva-mat-country-item.component.scss +6 -0
  38. package/mat-input-birthplace/index.d.ts +9 -9
  39. package/mat-input-country/index.d.ts +12 -10
  40. package/mat-input-enterprise-number/src/onemrva-mat-input-enterprise-number.component.scss +7 -0
  41. package/mat-multi-select/index.d.ts +1 -1
  42. package/mat-multi-select/src/onemrva-mat-multi-select.component.scss +0 -2
  43. package/mat-notification/src/onemrva-mat-notification.component.scss +0 -2
  44. package/mat-selectable-box/src/onemrva-mat-selectable-box.component.scss +6 -1
  45. package/mat-sticker/src/onemrva-mat-sticker.component.scss +0 -2
  46. package/mat-task-list/src/onemrva-mat-task-list.component.scss +0 -4
  47. package/mat-toast/src/onemrva-mat-toast.component.scss +0 -2
  48. package/package.json +1 -1
  49. package/shared/index.d.ts +10 -11
  50. package/_utils.scss +0 -30
package/index.d.ts CHANGED
@@ -32,9 +32,8 @@ import * as i8 from '@angular/material/dialog';
32
32
  import { MatDialog, MatDialogRef } from '@angular/material/dialog';
33
33
  import { OnemRvaCDNMimeService as OnemRvaCDNMimeService$1, OSMResult as OSMResult$1, OnemRvaCommonCountry as OnemRvaCommonCountry$1, OnemrvaMaterialCountry as OnemrvaMaterialCountry$1 } from '@onemrvapublic/design-system/shared';
34
34
  import * as i5 from '@angular/forms';
35
- import { FormControl, ControlValueAccessor, FormGroup, NgControl, ValidationErrors, AbstractControl, ValidatorFn } from '@angular/forms';
35
+ import { FormControl, FormGroup, ControlValueAccessor, NgControl, ValidationErrors, AbstractControl, ValidatorFn } from '@angular/forms';
36
36
  import * as i11 from '@angular/material/input';
37
- import { MatInput } from '@angular/material/input';
38
37
  import { ComponentStore } from '@ngrx/component-store';
39
38
  import { HttpEvent, HttpClient } from '@angular/common/http';
40
39
  import { MatAutocompleteTrigger } from '@angular/material/autocomplete';
@@ -579,6 +578,7 @@ declare class OnemrvaMatChoiceChipComponent extends MatFormFieldControl<any> {
579
578
  checked: boolean;
580
579
  disabled: boolean;
581
580
  _value: any;
581
+ get opacity(): 1 | 0.4;
582
582
  onContainerClick(event: MouseEvent): void;
583
583
  setDescribedByIds(ids: string[]): void;
584
584
  onChange: (_values: any[]) => void;
@@ -979,34 +979,44 @@ declare class OnemrvaMatInputAddressComponent implements OnInit {
979
979
  }
980
980
 
981
981
  declare class OnemRvaAddress implements OnInit {
982
+ defaultCountry: string;
983
+ form: FormGroup<{
984
+ country: FormControl<string | null>;
985
+ street: FormControl<string | null>;
986
+ postal_code: FormControl<string | null>;
987
+ city: FormControl<string | null>;
988
+ street_number: FormControl<string | null>;
989
+ box: FormControl<string | null>;
990
+ }>;
982
991
  update: EventEmitter<{
983
992
  country?: string;
984
993
  street?: string;
985
994
  postal_code?: string;
986
995
  city?: string;
987
996
  street_number?: string;
997
+ box?: string;
988
998
  }>;
989
- countryForm: FormControl<string | null>;
990
- addressControl: FormControl<string | null>;
991
- postalCodeControl: FormControl<string | null>;
992
- cityControl: FormControl<string | null>;
993
- boiteControl: FormControl<string | null>;
994
- numeroControl: FormControl<string | null>;
999
+ get countryForm(): FormControl<string | null>;
1000
+ get streetControl(): FormControl<string | null>;
1001
+ get postalCodeControl(): FormControl<string | null>;
1002
+ get cityControl(): FormControl<string | null>;
1003
+ get boxControl(): FormControl<string | null>;
1004
+ get numeroControl(): FormControl<string | null>;
995
1005
  ngOnInit(): void;
996
1006
  onAddressSelected(result: OSMResult$1): void;
997
1007
  static ɵfac: i0.ɵɵFactoryDeclaration<OnemRvaAddress, never>;
998
- static ɵcmp: i0.ɵɵComponentDeclaration<OnemRvaAddress, "onemrva-address", never, {}, { "update": "update"; }, never, never, true, never>;
1008
+ static ɵcmp: i0.ɵɵComponentDeclaration<OnemRvaAddress, "onemrva-address", never, { "defaultCountry": { "alias": "defaultCountry"; "required": false; }; "form": { "alias": "form"; "required": false; }; }, { "update": "update"; }, never, never, true, never>;
999
1009
  }
1000
1010
 
1001
1011
  declare class OnemrvaMatInputBirthPlaceComponent implements OnInit, OnDestroy {
1002
- readonly: boolean;
1003
- countryCode: FormControl<OnemRvaCommonCountry$1 | null>;
1004
- label: string;
1005
- noEntriesFoundLabel: string;
1006
- hint: string;
1007
- placeholderLabel: string;
1008
- searchAriaLabel: string;
1009
- returnValue: string;
1012
+ readonly: i0.InputSignal<boolean>;
1013
+ countryCode: i0.InputSignal<FormControl<OnemRvaCommonCountry$1 | null>>;
1014
+ label: i0.InputSignal<string>;
1015
+ noEntriesFoundLabel: i0.InputSignal<string>;
1016
+ hint: i0.InputSignal<string>;
1017
+ placeholderLabel: i0.InputSignal<string>;
1018
+ searchAriaLabel: i0.InputSignal<string>;
1019
+ returnValue: i0.InputSignal<string>;
1010
1020
  getCountry: EventEmitter<any>;
1011
1021
  selectedCountryName: i0.WritableSignal<string | null>;
1012
1022
  selectedCountryCode: i0.WritableSignal<string | null>;
@@ -1024,18 +1034,19 @@ declare class OnemrvaMatInputBirthPlaceComponent implements OnInit, OnDestroy {
1024
1034
  errors(): string;
1025
1035
  getValue(country: OnemRvaCommonCountry$1): string | number | OnemRvaCommonCountry$1;
1026
1036
  static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaMatInputBirthPlaceComponent, never>;
1027
- static ɵcmp: i0.ɵɵComponentDeclaration<OnemrvaMatInputBirthPlaceComponent, "onemrva-mat-input-birthplace", never, { "readonly": { "alias": "readonly"; "required": false; }; "countryCode": { "alias": "countryCode"; "required": false; }; "label": { "alias": "label"; "required": false; }; "noEntriesFoundLabel": { "alias": "noEntriesFoundLabel"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "placeholderLabel": { "alias": "placeholderLabel"; "required": false; }; "searchAriaLabel": { "alias": "searchAriaLabel"; "required": false; }; "returnValue": { "alias": "returnValue"; "required": false; }; }, { "getCountry": "getCountry"; }, never, never, true, never>;
1037
+ static ɵcmp: i0.ɵɵComponentDeclaration<OnemrvaMatInputBirthPlaceComponent, "onemrva-mat-input-birthplace", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "countryCode": { "alias": "countryCode"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "noEntriesFoundLabel": { "alias": "noEntriesFoundLabel"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "placeholderLabel": { "alias": "placeholderLabel"; "required": false; "isSignal": true; }; "searchAriaLabel": { "alias": "searchAriaLabel"; "required": false; "isSignal": true; }; "returnValue": { "alias": "returnValue"; "required": false; "isSignal": true; }; }, { "getCountry": "getCountry"; }, never, never, true, never>;
1028
1038
  }
1029
1039
 
1030
1040
  declare class OnemrvaMatInputCountryComponent implements OnInit {
1031
- readonly: boolean;
1032
- country: FormControl;
1033
- label: string;
1034
- noEntriesFoundLabel: string;
1035
- hint: string;
1036
- placeholderLabel: string;
1037
- searchAriaLabel: string;
1038
1041
  getCountry: EventEmitter<any>;
1042
+ country: i0.InputSignal<FormControl<string | null>>;
1043
+ readonly: i0.InputSignal<boolean>;
1044
+ disabled: i0.InputSignal<boolean>;
1045
+ label: i0.InputSignal<string>;
1046
+ noEntriesFoundLabel: i0.InputSignal<string>;
1047
+ hint: i0.InputSignal<string>;
1048
+ placeholderLabel: i0.InputSignal<string>;
1049
+ searchAriaLabel: i0.InputSignal<string>;
1039
1050
  filterCtrl: FormControl<string | null>;
1040
1051
  countries$: Observable<OnemrvaMaterialCountry$1[]>;
1041
1052
  filteredCountries$: Observable<OnemrvaMaterialCountry$1[]>;
@@ -1046,8 +1057,9 @@ declare class OnemrvaMatInputCountryComponent implements OnInit {
1046
1057
  ngOnInit(): void;
1047
1058
  handleClick(e: any): void;
1048
1059
  errors(): "input.country.required" | "input.country.unknown.error";
1060
+ getCounrtyCode(): string | null;
1049
1061
  static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaMatInputCountryComponent, never>;
1050
- static ɵcmp: i0.ɵɵComponentDeclaration<OnemrvaMatInputCountryComponent, "onemrva-mat-input-country", never, { "readonly": { "alias": "readonly"; "required": false; }; "country": { "alias": "country"; "required": false; }; "label": { "alias": "label"; "required": false; }; "noEntriesFoundLabel": { "alias": "noEntriesFoundLabel"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "placeholderLabel": { "alias": "placeholderLabel"; "required": false; }; "searchAriaLabel": { "alias": "searchAriaLabel"; "required": false; }; }, { "getCountry": "getCountry"; }, never, never, true, never>;
1062
+ static ɵcmp: i0.ɵɵComponentDeclaration<OnemrvaMatInputCountryComponent, "onemrva-mat-input-country", never, { "country": { "alias": "country"; "required": true; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "noEntriesFoundLabel": { "alias": "noEntriesFoundLabel"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "placeholderLabel": { "alias": "placeholderLabel"; "required": false; "isSignal": true; }; "searchAriaLabel": { "alias": "searchAriaLabel"; "required": false; "isSignal": true; }; }, { "getCountry": "getCountry"; }, never, never, true, never>;
1051
1063
  }
1052
1064
 
1053
1065
  declare class OnemrvaMatInputEnterpriseNumberComponent implements OnInit, OnDestroy {
@@ -1300,7 +1312,7 @@ declare class OnemrvaMatMultiSelectComponent extends MatFormFieldControl<any> im
1300
1312
  matOptions: QueryList<MatOption>;
1301
1313
  matOptions$?: Observable<MatOption<any>[]>;
1302
1314
  onDestroy$: Subject<any>;
1303
- get opacity(): 1 | 0.25;
1315
+ get opacity(): 1 | 0.4;
1304
1316
  focused: boolean;
1305
1317
  onFocus(): void;
1306
1318
  onBlur(): void;
@@ -2672,7 +2684,7 @@ declare class OnemRvaColorDirective {
2672
2684
  /** @hidden @internal */
2673
2685
  get _isNeutral(): boolean;
2674
2686
  static ɵfac: i0.ɵɵFactoryDeclaration<OnemRvaColorDirective, never>;
2675
- static ɵdir: i0.ɵɵDirectiveDeclaration<OnemRvaColorDirective, "onemrva-mat-selectable-box[color],div[color],onemrva-mat-avatar[color],mat-card[color],mat-toolbar[color],onemrva-mat-spinner[color],onemrva-mat-notification[color],onemrva-mat-sticker[color],onemrva-mat-panel[color],onemrva-mat-task[color],onemrva-mat-choice-chip[color],mat-form-field[color],button[color],mat-icon[color],mat-chip[color],mat-chip-option[color]", never, { "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
2687
+ static ɵdir: i0.ɵɵDirectiveDeclaration<OnemRvaColorDirective, "onemrva-mat-selectable-box[color],div[color],onemrva-mat-avatar[color],mat-card[color],mat-toolbar[color],onemrva-mat-spinner[color],onemrva-mat-notification[color],onemrva-mat-task-list[color],onemrva-mat-sticker[color],onemrva-mat-panel[color],onemrva-mat-task[color],onemrva-mat-choice-chip[color],mat-form-field[color],button[color],mat-icon[color],mat-chip[color],mat-chip-option[color]", never, { "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
2676
2688
  }
2677
2689
 
2678
2690
  declare class MatRowClickableDirective extends OnemRvaColorDirective {
@@ -2781,12 +2793,12 @@ declare class OnemRvaSizeDirective {
2781
2793
  static ɵdir: i0.ɵɵDirectiveDeclaration<OnemRvaSizeDirective, "mat-icon[size], onemrva-mat-skeleton[size], onemrva-mat-avatar[size], button[size]", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
2782
2794
  }
2783
2795
 
2784
- declare class ReadOnlyFormDirective implements AfterViewInit {
2785
- matInputs: QueryList<MatInput>;
2786
- isReadOnly: boolean;
2787
- ngAfterViewInit(): void;
2788
- static ɵfac: i0.ɵɵFactoryDeclaration<ReadOnlyFormDirective, never>;
2789
- static ɵdir: i0.ɵɵDirectiveDeclaration<ReadOnlyFormDirective, "form[onemrva-readonly], mat-form-field[onemrva-readonly]", never, {}, {}, ["matInputs"], never, true, never>;
2796
+ declare class OnemRvaReadonlyDirective {
2797
+ readonly: i0.InputSignal<boolean>;
2798
+ /** @hidden @internal */
2799
+ get isReadOnly(): boolean;
2800
+ static ɵfac: i0.ɵɵFactoryDeclaration<OnemRvaReadonlyDirective, never>;
2801
+ static ɵdir: i0.ɵɵDirectiveDeclaration<OnemRvaReadonlyDirective, "form[readonly], mat-checkbox[readonly], mat-radio-group[readonly], mat-form-field[readonly], onemrva-mat-input-phone[readonly],onemrva-mat-task-list[readonly],onemrva-mat-selectable-box[readonly],onemrva-mat-choice-chip[readonly],onemrva-mat-input-birthplace[readonly],onemrva-mat-input-country[readonly],onemrva-mat-input-enterprise-number[readonly]", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
2790
2802
  }
2791
2803
 
2792
2804
  declare const directives: any[];
@@ -3018,7 +3030,7 @@ declare const bankAccountValidator: (allowEmptyCountry?: boolean) => ValidatorFn
3018
3030
 
3019
3031
  declare class OnemrvaSharedModule {
3020
3032
  static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaSharedModule, never>;
3021
- static ɵmod: i0.ɵɵNgModuleDeclaration<OnemrvaSharedModule, never, [typeof DigitOnlyDirective, typeof MatRowClickableDirective, typeof OnemRvaClipboardDirective, typeof OnemRvaIconRightDirective, typeof IfWidthIsDirective, typeof OnemRvaColorDirective, typeof OnemrvaMaskDirective, typeof OnemrvaDateFormatDirective, typeof ReadOnlyFormDirective], [typeof DigitOnlyDirective, typeof MatRowClickableDirective, typeof OnemRvaClipboardDirective, typeof OnemRvaIconRightDirective, typeof IfWidthIsDirective, typeof OnemRvaColorDirective, typeof OnemrvaMaskDirective, typeof OnemrvaDateFormatDirective, typeof ReadOnlyFormDirective]>;
3033
+ static ɵmod: i0.ɵɵNgModuleDeclaration<OnemrvaSharedModule, never, [typeof DigitOnlyDirective, typeof MatRowClickableDirective, typeof OnemRvaClipboardDirective, typeof OnemRvaIconRightDirective, typeof IfWidthIsDirective, typeof OnemRvaColorDirective, typeof OnemrvaMaskDirective, typeof OnemrvaDateFormatDirective, typeof OnemRvaReadonlyDirective], [typeof DigitOnlyDirective, typeof MatRowClickableDirective, typeof OnemRvaClipboardDirective, typeof OnemRvaIconRightDirective, typeof IfWidthIsDirective, typeof OnemRvaColorDirective, typeof OnemrvaMaskDirective, typeof OnemrvaDateFormatDirective, typeof OnemRvaReadonlyDirective]>;
3022
3034
  static ɵinj: i0.ɵɵInjectorDeclaration<OnemrvaSharedModule>;
3023
3035
  }
3024
3036
 
@@ -3095,5 +3107,5 @@ declare function onemrvaThemeProvider(): Provider[];
3095
3107
  declare const LOOKUP_COUNTRY_SERVICE_URL: InjectionToken<string>;
3096
3108
  declare const ONEMRVA_THEME_CLASS: InjectionToken<string>;
3097
3109
 
3098
- export { CDNUrlModeOptions, CDN_URLS, CDN_URL_MODE, CUSTOM_VALIDATION_FN, CacheService, ClipboardIconComponent, ClockComponent, CoerceBooleanInput, CommonCountryLookupService, DefaultStorage, DigitOnlyDirective, DndDirective, DrawerHostDirective, Environment, FlagIconComponent, HttpRequestCache, IBAN_SUPPORTED_COUNTRIES, IfWidthIsDirective, LOOKUP_COUNTRY_SERVICE_URL, LOOKUP_COUNTRY_URL, LayoutAfterNavComponent, LayoutComponent, LayoutContentComponent, LayoutDrawerActionsComponent, LayoutDrawerContentComponent, LayoutDrawerTitleComponent, LayoutFooterComponent, LayoutLeftSidenavComponent, LayoutLoginMenuComponent, LayoutRouteComponent, LayoutSidenavComponent, LayoutSidenavTitleComponent, LayoutSubrouteComponent, LayoutTitleComponent, MAT_SELECTSEARCH_DEFAULT_OPTIONS, MatAvatarType, MatRowClickableDirective, MatSelectNoEntriesFoundDirective, MatSelectSearchClearDirective, MatSelectSearchComponent, MatSelectSearchModule, MatTimePickerToggle, MatTimepickerComponentDialogComponent, MatTimepickerDirective, MatTimepickerToggleIconDirective, NISS_MASK, ONEMRVA_MAT_LUXON_DATE_FORMATS, ONEMRVA_MAT_LUXON_YEAR_MONTH_FORMATS, ONEMRVA_MAT_NATIVE_DATE_FORMAT, ONEMRVA_MAT_NATIVE_YEAR_MONTH_FORMAT, ONEMRVA_THEME, ONEMRVA_THEME_CLASS, ObservableContent, OnemRvaAddress, OnemRvaCDNCountryService, OnemRvaCDNMimeService, OnemRvaCDNService, OnemRvaClipboardDirective, OnemRvaColorDirective, OnemRvaIconRightDirective, OnemRvaOSMService, OnemRvaProfile, OnemRvaSizeDirective, OnemrvaBcePipe, OnemrvaCopyToClipboardComponent, OnemrvaCountryItemComponent, OnemrvaDateFormatDirective, OnemrvaDrawerService, OnemrvaErrorHandler, OnemrvaFilePanelComponent, OnemrvaLayoutModule, OnemrvaLeftSidenavService, OnemrvaLuxonDateAdapter, OnemrvaMaskDirective, OnemrvaMatAvatarComponent, OnemrvaMatAvatarModule, OnemrvaMatBreadcrumbComponent, OnemrvaMatBreadcrumbModule, OnemrvaMatBreadcrumbService, OnemrvaMatCarouselComponent, OnemrvaMatCarouselItemComponent, OnemrvaMatChoiceChipComponent, OnemrvaMatDatepickerHeaderComponent, OnemrvaMatEmptyRowComponent, OnemrvaMatFileUploadComponent, OnemrvaMatFileUploadModule, OnemrvaMatFileUploadService, OnemrvaMatFileUploadStore, OnemrvaMatInputAddressComponent, OnemrvaMatInputBirthPlaceComponent, OnemrvaMatInputCountryComponent, OnemrvaMatInputEnterpriseNumberComponent, OnemrvaMatInputIbanComponent, OnemrvaMatInputPhoneComponent, OnemrvaMatLoadingDirective, OnemrvaMatMessageBoxComponent, OnemrvaMatMessageBoxModule, OnemrvaMatMultiSelectComponent, OnemrvaMatMultiSelectModule, OnemrvaMatNavigationComponent, OnemrvaMatNavigationItemComponent, OnemrvaMatNotificationComponent, OnemrvaMatPaginatorComponent, OnemrvaMatPaginatorModule, OnemrvaMatPanelComponent, OnemrvaMatPanelContentComponent, OnemrvaMatPanelIconComponent, OnemrvaMatPanelModule, OnemrvaMatPanelTitleActionComponent, OnemrvaMatPanelTitleComponent, OnemrvaMatPopOverComponent, OnemrvaMatPopOverContentComponent, OnemrvaMatPopOverModule, OnemrvaMatPopOverTriggerComponent, OnemrvaMatProgressBarComponent, OnemrvaMatSelectableBoxComponent, OnemrvaMatSelectableBoxModule, OnemrvaMatSideMenuComponent, OnemrvaMatSideMenuModule, OnemrvaMatSkeletoTypes, OnemrvaMatSkeletonAnimations, OnemrvaMatSkeletonComponent, OnemrvaMatSkeletonModule, OnemrvaMatSpinnerComponent, OnemrvaMatSpinnerModule, OnemrvaMatStepperComponent, OnemrvaMatStepperModule, OnemrvaMatStickerComponent, OnemrvaMatStickerModule, OnemrvaMatTableOfContentComponent, OnemrvaMatTableOfContentDirective, OnemrvaMatTableOfContentService, OnemrvaMatTaskComponent, OnemrvaMatTaskContentComponent, OnemrvaMatTaskListComponent, OnemrvaMatTaskListModule, OnemrvaMatTaskTitleComponent, OnemrvaMatTimepickerComponent, OnemrvaMatTimepickerModule, OnemrvaMatToastComponent, OnemrvaMatToastModule, OnemrvaMatTocAnchorLevel, OnemrvaMatTocAnchorStatus, OnemrvaMatTooltipComponent, OnemrvaMatTooltipDirective, OnemrvaMatTooltipModule, OnemrvaMissingTranslationHandler, OnemrvaNativeDateAdapter, OnemrvaNissPipe, OnemrvaPageNotFoundModule, OnemrvaSharedModule, OnemrvaTranslateCDNLoader, OnemrvaTranslateHttpLoader, OnemrvaValidators, PageNotFoundActionComponent, PageNotFoundComponent, PageNotFoundExtraComponent, PageNotFoundInvaderComponent, PhoneNumberDirective, ReadOnlyFormDirective, RequestTimes, SEPA_ONLY_SUPPORTED_COUNTRIES, StripHtmlPipe, ToastType, WebComponentOverlayContainer, bankAccountValidator, components, configurableDefaultOptions, convertToProgressFile, convertToReferencedProgressFile, directives, formatBytes, formattedSize, layoutComponents, onemrvaDateLuxonProvider, onemrvaDateLuxonYearMonthProvider, onemrvaDateNativeProvider, onemrvaDateNativeYearMonthProvider, onemrvaThemeProvider, setTranslationLanguage, setTranslationLanguageFromWO };
3110
+ export { CDNUrlModeOptions, CDN_URLS, CDN_URL_MODE, CUSTOM_VALIDATION_FN, CacheService, ClipboardIconComponent, ClockComponent, CoerceBooleanInput, CommonCountryLookupService, DefaultStorage, DigitOnlyDirective, DndDirective, DrawerHostDirective, Environment, FlagIconComponent, HttpRequestCache, IBAN_SUPPORTED_COUNTRIES, IfWidthIsDirective, LOOKUP_COUNTRY_SERVICE_URL, LOOKUP_COUNTRY_URL, LayoutAfterNavComponent, LayoutComponent, LayoutContentComponent, LayoutDrawerActionsComponent, LayoutDrawerContentComponent, LayoutDrawerTitleComponent, LayoutFooterComponent, LayoutLeftSidenavComponent, LayoutLoginMenuComponent, LayoutRouteComponent, LayoutSidenavComponent, LayoutSidenavTitleComponent, LayoutSubrouteComponent, LayoutTitleComponent, MAT_SELECTSEARCH_DEFAULT_OPTIONS, MatAvatarType, MatRowClickableDirective, MatSelectNoEntriesFoundDirective, MatSelectSearchClearDirective, MatSelectSearchComponent, MatSelectSearchModule, MatTimePickerToggle, MatTimepickerComponentDialogComponent, MatTimepickerDirective, MatTimepickerToggleIconDirective, NISS_MASK, ONEMRVA_MAT_LUXON_DATE_FORMATS, ONEMRVA_MAT_LUXON_YEAR_MONTH_FORMATS, ONEMRVA_MAT_NATIVE_DATE_FORMAT, ONEMRVA_MAT_NATIVE_YEAR_MONTH_FORMAT, ONEMRVA_THEME, ONEMRVA_THEME_CLASS, ObservableContent, OnemRvaAddress, OnemRvaCDNCountryService, OnemRvaCDNMimeService, OnemRvaCDNService, OnemRvaClipboardDirective, OnemRvaColorDirective, OnemRvaIconRightDirective, OnemRvaOSMService, OnemRvaProfile, OnemRvaReadonlyDirective, OnemRvaSizeDirective, OnemrvaBcePipe, OnemrvaCopyToClipboardComponent, OnemrvaCountryItemComponent, OnemrvaDateFormatDirective, OnemrvaDrawerService, OnemrvaErrorHandler, OnemrvaFilePanelComponent, OnemrvaLayoutModule, OnemrvaLeftSidenavService, OnemrvaLuxonDateAdapter, OnemrvaMaskDirective, OnemrvaMatAvatarComponent, OnemrvaMatAvatarModule, OnemrvaMatBreadcrumbComponent, OnemrvaMatBreadcrumbModule, OnemrvaMatBreadcrumbService, OnemrvaMatCarouselComponent, OnemrvaMatCarouselItemComponent, OnemrvaMatChoiceChipComponent, OnemrvaMatDatepickerHeaderComponent, OnemrvaMatEmptyRowComponent, OnemrvaMatFileUploadComponent, OnemrvaMatFileUploadModule, OnemrvaMatFileUploadService, OnemrvaMatFileUploadStore, OnemrvaMatInputAddressComponent, OnemrvaMatInputBirthPlaceComponent, OnemrvaMatInputCountryComponent, OnemrvaMatInputEnterpriseNumberComponent, OnemrvaMatInputIbanComponent, OnemrvaMatInputPhoneComponent, OnemrvaMatLoadingDirective, OnemrvaMatMessageBoxComponent, OnemrvaMatMessageBoxModule, OnemrvaMatMultiSelectComponent, OnemrvaMatMultiSelectModule, OnemrvaMatNavigationComponent, OnemrvaMatNavigationItemComponent, OnemrvaMatNotificationComponent, OnemrvaMatPaginatorComponent, OnemrvaMatPaginatorModule, OnemrvaMatPanelComponent, OnemrvaMatPanelContentComponent, OnemrvaMatPanelIconComponent, OnemrvaMatPanelModule, OnemrvaMatPanelTitleActionComponent, OnemrvaMatPanelTitleComponent, OnemrvaMatPopOverComponent, OnemrvaMatPopOverContentComponent, OnemrvaMatPopOverModule, OnemrvaMatPopOverTriggerComponent, OnemrvaMatProgressBarComponent, OnemrvaMatSelectableBoxComponent, OnemrvaMatSelectableBoxModule, OnemrvaMatSideMenuComponent, OnemrvaMatSideMenuModule, OnemrvaMatSkeletoTypes, OnemrvaMatSkeletonAnimations, OnemrvaMatSkeletonComponent, OnemrvaMatSkeletonModule, OnemrvaMatSpinnerComponent, OnemrvaMatSpinnerModule, OnemrvaMatStepperComponent, OnemrvaMatStepperModule, OnemrvaMatStickerComponent, OnemrvaMatStickerModule, OnemrvaMatTableOfContentComponent, OnemrvaMatTableOfContentDirective, OnemrvaMatTableOfContentService, OnemrvaMatTaskComponent, OnemrvaMatTaskContentComponent, OnemrvaMatTaskListComponent, OnemrvaMatTaskListModule, OnemrvaMatTaskTitleComponent, OnemrvaMatTimepickerComponent, OnemrvaMatTimepickerModule, OnemrvaMatToastComponent, OnemrvaMatToastModule, OnemrvaMatTocAnchorLevel, OnemrvaMatTocAnchorStatus, OnemrvaMatTooltipComponent, OnemrvaMatTooltipDirective, OnemrvaMatTooltipModule, OnemrvaMissingTranslationHandler, OnemrvaNativeDateAdapter, OnemrvaNissPipe, OnemrvaPageNotFoundModule, OnemrvaSharedModule, OnemrvaTranslateCDNLoader, OnemrvaTranslateHttpLoader, OnemrvaValidators, PageNotFoundActionComponent, PageNotFoundComponent, PageNotFoundExtraComponent, PageNotFoundInvaderComponent, PhoneNumberDirective, RequestTimes, SEPA_ONLY_SUPPORTED_COUNTRIES, StripHtmlPipe, ToastType, WebComponentOverlayContainer, bankAccountValidator, components, configurableDefaultOptions, convertToProgressFile, convertToReferencedProgressFile, directives, formatBytes, formattedSize, layoutComponents, onemrvaDateLuxonProvider, onemrvaDateLuxonYearMonthProvider, onemrvaDateNativeProvider, onemrvaDateNativeYearMonthProvider, onemrvaThemeProvider, setTranslationLanguage, setTranslationLanguageFromWO };
3099
3111
  export type { ActionConfig, ConfigurableDefaultOptions, CustomValidationFn, FileUploadStoreEvent, HttpCacheOptions, HttpCacheStorage, MatSelectSearchOptions, MimeDefinition, NavItem, OSMAddress, OSMResult, OnemRvaCommonCountry, OnemRvaLanguage, OnemrvaMatFileUploadInterface, OnemrvaMatFileUploadStoreItf, OnemrvaMatToc, OnemrvaMatTocAnchor, OnemrvaMaterialCountry, OnemrvaMenu, OnemrvaSkeletonLoaderConfigTheme, ProgressFile, ReferencedProgressFile, UploadState };
@@ -1,26 +1,36 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { OnInit, EventEmitter } from '@angular/core';
3
- import { FormControl } from '@angular/forms';
3
+ import { FormGroup, FormControl } from '@angular/forms';
4
4
  import { OSMResult } from '@onemrvapublic/design-system/shared';
5
5
 
6
6
  declare class OnemRvaAddress implements OnInit {
7
+ defaultCountry: string;
8
+ form: FormGroup<{
9
+ country: FormControl<string | null>;
10
+ street: FormControl<string | null>;
11
+ postal_code: FormControl<string | null>;
12
+ city: FormControl<string | null>;
13
+ street_number: FormControl<string | null>;
14
+ box: FormControl<string | null>;
15
+ }>;
7
16
  update: EventEmitter<{
8
17
  country?: string;
9
18
  street?: string;
10
19
  postal_code?: string;
11
20
  city?: string;
12
21
  street_number?: string;
22
+ box?: string;
13
23
  }>;
14
- countryForm: FormControl<string | null>;
15
- addressControl: FormControl<string | null>;
16
- postalCodeControl: FormControl<string | null>;
17
- cityControl: FormControl<string | null>;
18
- boiteControl: FormControl<string | null>;
19
- numeroControl: FormControl<string | null>;
24
+ get countryForm(): FormControl<string | null>;
25
+ get streetControl(): FormControl<string | null>;
26
+ get postalCodeControl(): FormControl<string | null>;
27
+ get cityControl(): FormControl<string | null>;
28
+ get boxControl(): FormControl<string | null>;
29
+ get numeroControl(): FormControl<string | null>;
20
30
  ngOnInit(): void;
21
31
  onAddressSelected(result: OSMResult): void;
22
32
  static ɵfac: i0.ɵɵFactoryDeclaration<OnemRvaAddress, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<OnemRvaAddress, "onemrva-address", never, {}, { "update": "update"; }, never, never, true, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<OnemRvaAddress, "onemrva-address", never, { "defaultCountry": { "alias": "defaultCountry"; "required": false; }; "form": { "alias": "form"; "required": false; }; }, { "update": "update"; }, never, never, true, never>;
24
34
  }
25
35
 
26
36
  export { OnemRvaAddress };
@@ -1,50 +1,14 @@
1
1
  :host {
2
2
  display: flex;
3
3
  flex-direction: column;
4
- width: 400px;
4
+ width: 100%;
5
5
 
6
- onemrva-mat-input-country {
7
- display: flex;
8
- width: 100%;
9
- }
10
-
11
- .line-2 {
6
+ mat-form-field {
12
7
  display: flex;
13
-
14
- onemrva-mat-input-address {
15
- width: 248px;
16
- max-width: 248px;
17
- margin-right: var(--spacer);
18
- }
19
-
20
- mat-form-field:first-of-type {
21
- margin-right: var(--spacer);
22
- }
23
8
  }
24
9
 
25
- .line-3 {
26
- width: 100%;
10
+ onemrva-mat-input-country {
27
11
  display: flex;
28
-
29
- mat-form-field:first-child {
30
- display: flex;
31
- width: 30%;
32
- margin-right: var(--spacer);
33
- }
34
-
35
- mat-form-field:last-child {
36
- display: flex;
37
- width: auto;
38
- flex-grow: 1;
39
- }
40
- }
41
-
42
- .line-4 {
43
12
  width: 100%;
44
- display: flex;
45
-
46
- mat-form-field {
47
- width: 100%;
48
- }
49
13
  }
50
14
  }
@@ -1,5 +1,3 @@
1
- @use '../../utils';
2
-
3
1
  :host {
4
2
  position: relative;
5
3
  display: inline-flex;
@@ -1,8 +1,6 @@
1
1
  @use 'sass:map';
2
2
  @use '@angular/material' as mat;
3
3
 
4
- @use '../../utils';
5
-
6
4
  .onemrva-mat-breadcrumb {
7
5
  display: flex;
8
6
  list-style: none;
@@ -5,6 +5,7 @@ declare class OnemrvaMatChoiceChipComponent extends MatFormFieldControl<any> {
5
5
  checked: boolean;
6
6
  disabled: boolean;
7
7
  _value: any;
8
+ get opacity(): 1 | 0.4;
8
9
  onContainerClick(event: MouseEvent): void;
9
10
  setDescribedByIds(ids: string[]): void;
10
11
  onChange: (_values: any[]) => void;
@@ -7,3 +7,9 @@
7
7
  text-transform: capitalize;
8
8
  }
9
9
  }
10
+
11
+ .mat-form-field-disabled {
12
+ .onemrva-country-item flag-icon {
13
+ opacity: 0.4;
14
+ }
15
+ }
@@ -5,14 +5,14 @@ import { Subject, Observable } from 'rxjs';
5
5
  import { OnemRvaCommonCountry } from '@onemrvapublic/design-system/shared';
6
6
 
7
7
  declare class OnemrvaMatInputBirthPlaceComponent implements OnInit, OnDestroy {
8
- readonly: boolean;
9
- countryCode: FormControl<OnemRvaCommonCountry | null>;
10
- label: string;
11
- noEntriesFoundLabel: string;
12
- hint: string;
13
- placeholderLabel: string;
14
- searchAriaLabel: string;
15
- returnValue: string;
8
+ readonly: _angular_core.InputSignal<boolean>;
9
+ countryCode: _angular_core.InputSignal<FormControl<OnemRvaCommonCountry | null>>;
10
+ label: _angular_core.InputSignal<string>;
11
+ noEntriesFoundLabel: _angular_core.InputSignal<string>;
12
+ hint: _angular_core.InputSignal<string>;
13
+ placeholderLabel: _angular_core.InputSignal<string>;
14
+ searchAriaLabel: _angular_core.InputSignal<string>;
15
+ returnValue: _angular_core.InputSignal<string>;
16
16
  getCountry: EventEmitter<any>;
17
17
  selectedCountryName: _angular_core.WritableSignal<string | null>;
18
18
  selectedCountryCode: _angular_core.WritableSignal<string | null>;
@@ -30,7 +30,7 @@ declare class OnemrvaMatInputBirthPlaceComponent implements OnInit, OnDestroy {
30
30
  errors(): string;
31
31
  getValue(country: OnemRvaCommonCountry): string | number | OnemRvaCommonCountry;
32
32
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<OnemrvaMatInputBirthPlaceComponent, never>;
33
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<OnemrvaMatInputBirthPlaceComponent, "onemrva-mat-input-birthplace", never, { "readonly": { "alias": "readonly"; "required": false; }; "countryCode": { "alias": "countryCode"; "required": false; }; "label": { "alias": "label"; "required": false; }; "noEntriesFoundLabel": { "alias": "noEntriesFoundLabel"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "placeholderLabel": { "alias": "placeholderLabel"; "required": false; }; "searchAriaLabel": { "alias": "searchAriaLabel"; "required": false; }; "returnValue": { "alias": "returnValue"; "required": false; }; }, { "getCountry": "getCountry"; }, never, never, true, never>;
33
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<OnemrvaMatInputBirthPlaceComponent, "onemrva-mat-input-birthplace", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "countryCode": { "alias": "countryCode"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "noEntriesFoundLabel": { "alias": "noEntriesFoundLabel"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "placeholderLabel": { "alias": "placeholderLabel"; "required": false; "isSignal": true; }; "searchAriaLabel": { "alias": "searchAriaLabel"; "required": false; "isSignal": true; }; "returnValue": { "alias": "returnValue"; "required": false; "isSignal": true; }; }, { "getCountry": "getCountry"; }, never, never, true, never>;
34
34
  }
35
35
 
36
36
  export { OnemrvaMatInputBirthPlaceComponent };
@@ -1,18 +1,19 @@
1
- import * as i0 from '@angular/core';
1
+ import * as _angular_core from '@angular/core';
2
2
  import { OnInit, EventEmitter } from '@angular/core';
3
3
  import { FormControl } from '@angular/forms';
4
4
  import { Observable } from 'rxjs';
5
5
  import { OnemrvaMaterialCountry } from '@onemrvapublic/design-system/shared';
6
6
 
7
7
  declare class OnemrvaMatInputCountryComponent implements OnInit {
8
- readonly: boolean;
9
- country: FormControl;
10
- label: string;
11
- noEntriesFoundLabel: string;
12
- hint: string;
13
- placeholderLabel: string;
14
- searchAriaLabel: string;
15
8
  getCountry: EventEmitter<any>;
9
+ country: _angular_core.InputSignal<FormControl<string | null>>;
10
+ readonly: _angular_core.InputSignal<boolean>;
11
+ disabled: _angular_core.InputSignal<boolean>;
12
+ label: _angular_core.InputSignal<string>;
13
+ noEntriesFoundLabel: _angular_core.InputSignal<string>;
14
+ hint: _angular_core.InputSignal<string>;
15
+ placeholderLabel: _angular_core.InputSignal<string>;
16
+ searchAriaLabel: _angular_core.InputSignal<string>;
16
17
  filterCtrl: FormControl<string | null>;
17
18
  countries$: Observable<OnemrvaMaterialCountry[]>;
18
19
  filteredCountries$: Observable<OnemrvaMaterialCountry[]>;
@@ -23,8 +24,9 @@ declare class OnemrvaMatInputCountryComponent implements OnInit {
23
24
  ngOnInit(): void;
24
25
  handleClick(e: any): void;
25
26
  errors(): "input.country.required" | "input.country.unknown.error";
26
- static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaMatInputCountryComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<OnemrvaMatInputCountryComponent, "onemrva-mat-input-country", never, { "readonly": { "alias": "readonly"; "required": false; }; "country": { "alias": "country"; "required": false; }; "label": { "alias": "label"; "required": false; }; "noEntriesFoundLabel": { "alias": "noEntriesFoundLabel"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "placeholderLabel": { "alias": "placeholderLabel"; "required": false; }; "searchAriaLabel": { "alias": "searchAriaLabel"; "required": false; }; }, { "getCountry": "getCountry"; }, never, never, true, never>;
27
+ getCounrtyCode(): string | null;
28
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<OnemrvaMatInputCountryComponent, never>;
29
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<OnemrvaMatInputCountryComponent, "onemrva-mat-input-country", never, { "country": { "alias": "country"; "required": true; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "noEntriesFoundLabel": { "alias": "noEntriesFoundLabel"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "placeholderLabel": { "alias": "placeholderLabel"; "required": false; "isSignal": true; }; "searchAriaLabel": { "alias": "searchAriaLabel"; "required": false; "isSignal": true; }; }, { "getCountry": "getCountry"; }, never, never, true, never>;
28
30
  }
29
31
 
30
32
  export { OnemrvaMatInputCountryComponent };
@@ -1,4 +1,11 @@
1
1
  .onemrva-input-enterprise-number {
2
+ .mdc-text-field--disabled {
3
+ mat-select {
4
+ .mat-mdc-select-arrow {
5
+ opacity: 0.5;
6
+ }
7
+ }
8
+ }
2
9
  mat-select {
3
10
  padding: 0 0px 0 8px;
4
11
  .mat-mdc-select-placeholder {
@@ -22,7 +22,7 @@ declare class OnemrvaMatMultiSelectComponent extends MatFormFieldControl<any> im
22
22
  matOptions: QueryList<MatOption>;
23
23
  matOptions$?: Observable<MatOption<any>[]>;
24
24
  onDestroy$: Subject<any>;
25
- get opacity(): 1 | 0.25;
25
+ get opacity(): 1 | 0.4;
26
26
  focused: boolean;
27
27
  onFocus(): void;
28
28
  onBlur(): void;
@@ -1,5 +1,3 @@
1
- @use '../../utils' as utils;
2
-
3
1
  :host {
4
2
  display: inline-block;
5
3
  width: 100%;
@@ -1,5 +1,3 @@
1
- @use '../../utils' as utils;
2
-
3
1
  :host {
4
2
  position: fixed;
5
3
  top: var(--layout-header-height, 0);
@@ -1,13 +1,15 @@
1
1
  @use '@angular/material' as mat;
2
2
 
3
3
  mat-card.onemrva-selectable-box {
4
+ $main-color: var(--mat-sys-primary-container);
5
+
4
6
  border-radius: var(--half-border-radius);
5
7
  box-shadow: none;
6
8
  position: relative;
7
9
  color: var(--mat-sys-on-surface);
8
10
  border: 2px solid transparent;
11
+ background: $main-color;
9
12
  user-select: none;
10
- //background: green;
11
13
 
12
14
  &.checked {
13
15
  border: 2px solid var(--mat-sys-tertiary);
@@ -30,6 +32,9 @@ mat-card.onemrva-selectable-box {
30
32
 
31
33
  mat-card-title {
32
34
  display: flex;
35
+ background: $main-color;
36
+ border-top-left-radius: var(--half-border-radius);
37
+ border-top-right-radius: var(--half-border-radius);
33
38
  padding: var(--spacer-and-half) var(--spacer-and-half)
34
39
  var(--spacer-and-half) calc(var(--spacer-and-half) + var(--quad-spacer));
35
40
  align-items: center;
@@ -1,5 +1,3 @@
1
- @use '../../utils' as utils;
2
-
3
1
  :host {
4
2
  $paddingY: 2px;
5
3
  $paddingX: 8px;
@@ -1,4 +0,0 @@
1
- @use '../../utils' as utils;
2
-
3
- :host {
4
- }
@@ -1,5 +1,3 @@
1
- @use '../../utils';
2
-
3
1
  :host {
4
2
  .onemrva-mat-toast {
5
3
  position: relative;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onemrvapublic/design-system",
3
- "version": "20.3.0-develop.3",
3
+ "version": "20.3.0-develop.5",
4
4
  "description": "Design System Onem/Rva without theme included",
5
5
  "publishConfig": {
6
6
  "access": "public"
package/shared/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { ElementRef, InjectionToken, OnDestroy, EventEmitter, OnInit, AfterViewInit, QueryList, ErrorHandler, PipeTransform, Provider } from '@angular/core';
2
+ import { ElementRef, InjectionToken, OnDestroy, EventEmitter, OnInit, ErrorHandler, PipeTransform, Provider } from '@angular/core';
3
3
  import { MatDateFormats, NativeDateAdapter, DateAdapter } from '@angular/material/core';
4
4
  import * as rxjs from 'rxjs';
5
5
  import { Observable, Subject, BehaviorSubject, ReplaySubject } from 'rxjs';
@@ -8,7 +8,6 @@ import { HttpClient } from '@angular/common/http';
8
8
  import { ValidatorFn } from '@angular/forms';
9
9
  import { OnemrvaMatColor, OnemrvaMatSize } from '@onemrvapublic/design-system/utils';
10
10
  import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';
11
- import { MatInput } from '@angular/material/input';
12
11
  import { DateTime } from 'luxon';
13
12
 
14
13
  declare class ClipboardIconComponent {
@@ -115,7 +114,7 @@ declare class OnemRvaColorDirective {
115
114
  /** @hidden @internal */
116
115
  get _isNeutral(): boolean;
117
116
  static ɵfac: i0.ɵɵFactoryDeclaration<OnemRvaColorDirective, never>;
118
- static ɵdir: i0.ɵɵDirectiveDeclaration<OnemRvaColorDirective, "onemrva-mat-selectable-box[color],div[color],onemrva-mat-avatar[color],mat-card[color],mat-toolbar[color],onemrva-mat-spinner[color],onemrva-mat-notification[color],onemrva-mat-sticker[color],onemrva-mat-panel[color],onemrva-mat-task[color],onemrva-mat-choice-chip[color],mat-form-field[color],button[color],mat-icon[color],mat-chip[color],mat-chip-option[color]", never, { "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
117
+ static ɵdir: i0.ɵɵDirectiveDeclaration<OnemRvaColorDirective, "onemrva-mat-selectable-box[color],div[color],onemrva-mat-avatar[color],mat-card[color],mat-toolbar[color],onemrva-mat-spinner[color],onemrva-mat-notification[color],onemrva-mat-task-list[color],onemrva-mat-sticker[color],onemrva-mat-panel[color],onemrva-mat-task[color],onemrva-mat-choice-chip[color],mat-form-field[color],button[color],mat-icon[color],mat-chip[color],mat-chip-option[color]", never, { "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
119
118
  }
120
119
 
121
120
  declare class MatRowClickableDirective extends OnemRvaColorDirective {
@@ -224,12 +223,12 @@ declare class OnemRvaSizeDirective {
224
223
  static ɵdir: i0.ɵɵDirectiveDeclaration<OnemRvaSizeDirective, "mat-icon[size], onemrva-mat-skeleton[size], onemrva-mat-avatar[size], button[size]", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
225
224
  }
226
225
 
227
- declare class ReadOnlyFormDirective implements AfterViewInit {
228
- matInputs: QueryList<MatInput>;
229
- isReadOnly: boolean;
230
- ngAfterViewInit(): void;
231
- static ɵfac: i0.ɵɵFactoryDeclaration<ReadOnlyFormDirective, never>;
232
- static ɵdir: i0.ɵɵDirectiveDeclaration<ReadOnlyFormDirective, "form[onemrva-readonly], mat-form-field[onemrva-readonly]", never, {}, {}, ["matInputs"], never, true, never>;
226
+ declare class OnemRvaReadonlyDirective {
227
+ readonly: i0.InputSignal<boolean>;
228
+ /** @hidden @internal */
229
+ get isReadOnly(): boolean;
230
+ static ɵfac: i0.ɵɵFactoryDeclaration<OnemRvaReadonlyDirective, never>;
231
+ static ɵdir: i0.ɵɵDirectiveDeclaration<OnemRvaReadonlyDirective, "form[readonly], mat-checkbox[readonly], mat-radio-group[readonly], mat-form-field[readonly], onemrva-mat-input-phone[readonly],onemrva-mat-task-list[readonly],onemrva-mat-selectable-box[readonly],onemrva-mat-choice-chip[readonly],onemrva-mat-input-birthplace[readonly],onemrva-mat-input-country[readonly],onemrva-mat-input-enterprise-number[readonly]", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
233
232
  }
234
233
 
235
234
  declare const directives: any[];
@@ -461,7 +460,7 @@ declare const bankAccountValidator: (allowEmptyCountry?: boolean) => ValidatorFn
461
460
 
462
461
  declare class OnemrvaSharedModule {
463
462
  static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaSharedModule, never>;
464
- static ɵmod: i0.ɵɵNgModuleDeclaration<OnemrvaSharedModule, never, [typeof DigitOnlyDirective, typeof MatRowClickableDirective, typeof OnemRvaClipboardDirective, typeof OnemRvaIconRightDirective, typeof IfWidthIsDirective, typeof OnemRvaColorDirective, typeof OnemrvaMaskDirective, typeof OnemrvaDateFormatDirective, typeof ReadOnlyFormDirective], [typeof DigitOnlyDirective, typeof MatRowClickableDirective, typeof OnemRvaClipboardDirective, typeof OnemRvaIconRightDirective, typeof IfWidthIsDirective, typeof OnemRvaColorDirective, typeof OnemrvaMaskDirective, typeof OnemrvaDateFormatDirective, typeof ReadOnlyFormDirective]>;
463
+ static ɵmod: i0.ɵɵNgModuleDeclaration<OnemrvaSharedModule, never, [typeof DigitOnlyDirective, typeof MatRowClickableDirective, typeof OnemRvaClipboardDirective, typeof OnemRvaIconRightDirective, typeof IfWidthIsDirective, typeof OnemRvaColorDirective, typeof OnemrvaMaskDirective, typeof OnemrvaDateFormatDirective, typeof OnemRvaReadonlyDirective], [typeof DigitOnlyDirective, typeof MatRowClickableDirective, typeof OnemRvaClipboardDirective, typeof OnemRvaIconRightDirective, typeof IfWidthIsDirective, typeof OnemRvaColorDirective, typeof OnemrvaMaskDirective, typeof OnemrvaDateFormatDirective, typeof OnemRvaReadonlyDirective]>;
465
464
  static ɵinj: i0.ɵɵInjectorDeclaration<OnemrvaSharedModule>;
466
465
  }
467
466
 
@@ -538,5 +537,5 @@ declare function onemrvaThemeProvider(): Provider[];
538
537
  declare const LOOKUP_COUNTRY_SERVICE_URL: InjectionToken<string>;
539
538
  declare const ONEMRVA_THEME_CLASS: InjectionToken<string>;
540
539
 
541
- export { CDNUrlModeOptions, CDN_URLS, CDN_URL_MODE, CacheService, ClipboardIconComponent, CommonCountryLookupService, DefaultStorage, DigitOnlyDirective, HttpRequestCache, IBAN_SUPPORTED_COUNTRIES, IfWidthIsDirective, LOOKUP_COUNTRY_SERVICE_URL, LOOKUP_COUNTRY_URL, MatRowClickableDirective, NISS_MASK, ONEMRVA_MAT_LUXON_DATE_FORMATS, ONEMRVA_MAT_LUXON_YEAR_MONTH_FORMATS, ONEMRVA_MAT_NATIVE_DATE_FORMAT, ONEMRVA_MAT_NATIVE_YEAR_MONTH_FORMAT, ONEMRVA_THEME, ONEMRVA_THEME_CLASS, OnemRvaCDNCountryService, OnemRvaCDNMimeService, OnemRvaCDNService, OnemRvaClipboardDirective, OnemRvaColorDirective, OnemRvaIconRightDirective, OnemRvaOSMService, OnemRvaSizeDirective, OnemrvaBcePipe, OnemrvaDateFormatDirective, OnemrvaErrorHandler, OnemrvaLuxonDateAdapter, OnemrvaMaskDirective, OnemrvaMissingTranslationHandler, OnemrvaNativeDateAdapter, OnemrvaNissPipe, OnemrvaSharedModule, OnemrvaTranslateCDNLoader, OnemrvaTranslateHttpLoader, OnemrvaValidators, ReadOnlyFormDirective, RequestTimes, SEPA_ONLY_SUPPORTED_COUNTRIES, WebComponentOverlayContainer, bankAccountValidator, directives, onemrvaDateLuxonProvider, onemrvaDateLuxonYearMonthProvider, onemrvaDateNativeProvider, onemrvaDateNativeYearMonthProvider, onemrvaThemeProvider, setTranslationLanguage, setTranslationLanguageFromWO };
540
+ export { CDNUrlModeOptions, CDN_URLS, CDN_URL_MODE, CacheService, ClipboardIconComponent, CommonCountryLookupService, DefaultStorage, DigitOnlyDirective, HttpRequestCache, IBAN_SUPPORTED_COUNTRIES, IfWidthIsDirective, LOOKUP_COUNTRY_SERVICE_URL, LOOKUP_COUNTRY_URL, MatRowClickableDirective, NISS_MASK, ONEMRVA_MAT_LUXON_DATE_FORMATS, ONEMRVA_MAT_LUXON_YEAR_MONTH_FORMATS, ONEMRVA_MAT_NATIVE_DATE_FORMAT, ONEMRVA_MAT_NATIVE_YEAR_MONTH_FORMAT, ONEMRVA_THEME, ONEMRVA_THEME_CLASS, OnemRvaCDNCountryService, OnemRvaCDNMimeService, OnemRvaCDNService, OnemRvaClipboardDirective, OnemRvaColorDirective, OnemRvaIconRightDirective, OnemRvaOSMService, OnemRvaReadonlyDirective, OnemRvaSizeDirective, OnemrvaBcePipe, OnemrvaDateFormatDirective, OnemrvaErrorHandler, OnemrvaLuxonDateAdapter, OnemrvaMaskDirective, OnemrvaMissingTranslationHandler, OnemrvaNativeDateAdapter, OnemrvaNissPipe, OnemrvaSharedModule, OnemrvaTranslateCDNLoader, OnemrvaTranslateHttpLoader, OnemrvaValidators, RequestTimes, SEPA_ONLY_SUPPORTED_COUNTRIES, WebComponentOverlayContainer, bankAccountValidator, directives, onemrvaDateLuxonProvider, onemrvaDateLuxonYearMonthProvider, onemrvaDateNativeProvider, onemrvaDateNativeYearMonthProvider, onemrvaThemeProvider, setTranslationLanguage, setTranslationLanguageFromWO };
542
541
  export type { HttpCacheOptions, HttpCacheStorage, MimeDefinition, OSMAddress, OSMResult, OnemRvaCommonCountry, OnemrvaMaterialCountry };
package/_utils.scss DELETED
@@ -1,30 +0,0 @@
1
- @use '@angular/material' as mat;
2
- @use 'sass:map';
3
-
4
- @function palette($theme, $palette, $hue: default, $opacity: null) {
5
- $theme-palette: map.get(
6
- (
7
- primary: map.get($theme, 'primary'),
8
- warn: map.get($theme, 'warn'),
9
- accent: map.get($theme, 'accent'),
10
- grayscale: map.get($theme, 'grayscale'),
11
- info: map.get($theme, 'info'),
12
- success: map.get($theme, 'success'),
13
- error: map.get($theme, 'error'),
14
- ),
15
- $palette
16
- );
17
- @return mat.m2-get-color-from-palette($theme-palette, $hue, $opacity);
18
- }
19
-
20
- @function fontFamily($config, $level) {
21
- $typo: map.get($config, 'typography');
22
- $fs: map.get($typo, $level);
23
- @return map.get($fs, 'font-family');
24
- }
25
- @function gradient($theme) {
26
- @return map.get($theme, 'gradient');
27
- }
28
- @function breakpoints($theme) {
29
- @return map.get($theme, 'breakpoints');
30
- }