@onemrvapublic/design-system 22.0.0-develop.8 → 22.0.0

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 (136) hide show
  1. package/README.md +83 -3
  2. package/card/src/onemrva-card.component.scss +23 -0
  3. package/fesm2022/onemrvapublic-design-system-card.mjs +32 -14
  4. package/fesm2022/onemrvapublic-design-system-card.mjs.map +1 -1
  5. package/fesm2022/onemrvapublic-design-system-collapsible-page-divider.mjs +3 -3
  6. package/fesm2022/onemrvapublic-design-system-flag-icon.mjs +13 -3
  7. package/fesm2022/onemrvapublic-design-system-flag-icon.mjs.map +1 -1
  8. package/fesm2022/onemrvapublic-design-system-layout.mjs +193 -59
  9. package/fesm2022/onemrvapublic-design-system-layout.mjs.map +1 -1
  10. package/fesm2022/onemrvapublic-design-system-mat-address.mjs +3 -3
  11. package/fesm2022/onemrvapublic-design-system-mat-avatar.mjs +7 -18
  12. package/fesm2022/onemrvapublic-design-system-mat-avatar.mjs.map +1 -1
  13. package/fesm2022/onemrvapublic-design-system-mat-breadcrumb.mjs +20 -10
  14. package/fesm2022/onemrvapublic-design-system-mat-breadcrumb.mjs.map +1 -1
  15. package/fesm2022/onemrvapublic-design-system-mat-carousel.mjs +24 -6
  16. package/fesm2022/onemrvapublic-design-system-mat-carousel.mjs.map +1 -1
  17. package/fesm2022/onemrvapublic-design-system-mat-choice-chip.mjs +13 -3
  18. package/fesm2022/onemrvapublic-design-system-mat-choice-chip.mjs.map +1 -1
  19. package/fesm2022/onemrvapublic-design-system-mat-copy-to-clipboard.mjs +13 -3
  20. package/fesm2022/onemrvapublic-design-system-mat-copy-to-clipboard.mjs.map +1 -1
  21. package/fesm2022/onemrvapublic-design-system-mat-country-item.mjs +13 -3
  22. package/fesm2022/onemrvapublic-design-system-mat-country-item.mjs.map +1 -1
  23. package/fesm2022/onemrvapublic-design-system-mat-datepicker-header.mjs +11 -3
  24. package/fesm2022/onemrvapublic-design-system-mat-datepicker-header.mjs.map +1 -1
  25. package/fesm2022/onemrvapublic-design-system-mat-empty-row.mjs +10 -3
  26. package/fesm2022/onemrvapublic-design-system-mat-empty-row.mjs.map +1 -1
  27. package/fesm2022/onemrvapublic-design-system-mat-file-upload.mjs +39 -19
  28. package/fesm2022/onemrvapublic-design-system-mat-file-upload.mjs.map +1 -1
  29. package/fesm2022/onemrvapublic-design-system-mat-input-address.mjs +16 -6
  30. package/fesm2022/onemrvapublic-design-system-mat-input-address.mjs.map +1 -1
  31. package/fesm2022/onemrvapublic-design-system-mat-input-birthplace.mjs +13 -3
  32. package/fesm2022/onemrvapublic-design-system-mat-input-birthplace.mjs.map +1 -1
  33. package/fesm2022/onemrvapublic-design-system-mat-input-country.mjs +13 -3
  34. package/fesm2022/onemrvapublic-design-system-mat-input-country.mjs.map +1 -1
  35. package/fesm2022/onemrvapublic-design-system-mat-input-enterprise-number.mjs +13 -3
  36. package/fesm2022/onemrvapublic-design-system-mat-input-enterprise-number.mjs.map +1 -1
  37. package/fesm2022/onemrvapublic-design-system-mat-input-iban.mjs +13 -3
  38. package/fesm2022/onemrvapublic-design-system-mat-input-iban.mjs.map +1 -1
  39. package/fesm2022/onemrvapublic-design-system-mat-input-phone.mjs +16 -6
  40. package/fesm2022/onemrvapublic-design-system-mat-input-phone.mjs.map +1 -1
  41. package/fesm2022/onemrvapublic-design-system-mat-message-box.mjs +17 -7
  42. package/fesm2022/onemrvapublic-design-system-mat-message-box.mjs.map +1 -1
  43. package/fesm2022/onemrvapublic-design-system-mat-multi-select.mjs +17 -7
  44. package/fesm2022/onemrvapublic-design-system-mat-multi-select.mjs.map +1 -1
  45. package/fesm2022/onemrvapublic-design-system-mat-navigation.mjs +39 -9
  46. package/fesm2022/onemrvapublic-design-system-mat-navigation.mjs.map +1 -1
  47. package/fesm2022/onemrvapublic-design-system-mat-notification.mjs +13 -3
  48. package/fesm2022/onemrvapublic-design-system-mat-notification.mjs.map +1 -1
  49. package/fesm2022/onemrvapublic-design-system-mat-paginator.mjs +18 -8
  50. package/fesm2022/onemrvapublic-design-system-mat-paginator.mjs.map +1 -1
  51. package/fesm2022/onemrvapublic-design-system-mat-panel.mjs +72 -22
  52. package/fesm2022/onemrvapublic-design-system-mat-panel.mjs.map +1 -1
  53. package/fesm2022/onemrvapublic-design-system-mat-pop-over.mjs +43 -13
  54. package/fesm2022/onemrvapublic-design-system-mat-pop-over.mjs.map +1 -1
  55. package/fesm2022/onemrvapublic-design-system-mat-progress-bar.mjs +13 -3
  56. package/fesm2022/onemrvapublic-design-system-mat-progress-bar.mjs.map +1 -1
  57. package/fesm2022/onemrvapublic-design-system-mat-select-search.mjs +23 -16
  58. package/fesm2022/onemrvapublic-design-system-mat-select-search.mjs.map +1 -1
  59. package/fesm2022/onemrvapublic-design-system-mat-selectable-box.mjs +17 -7
  60. package/fesm2022/onemrvapublic-design-system-mat-selectable-box.mjs.map +1 -1
  61. package/fesm2022/onemrvapublic-design-system-mat-side-menu.mjs +17 -7
  62. package/fesm2022/onemrvapublic-design-system-mat-side-menu.mjs.map +1 -1
  63. package/fesm2022/onemrvapublic-design-system-mat-skeleton.mjs +11 -14
  64. package/fesm2022/onemrvapublic-design-system-mat-skeleton.mjs.map +1 -1
  65. package/fesm2022/onemrvapublic-design-system-mat-spinner.mjs +18 -10
  66. package/fesm2022/onemrvapublic-design-system-mat-spinner.mjs.map +1 -1
  67. package/fesm2022/onemrvapublic-design-system-mat-stepper.mjs +17 -7
  68. package/fesm2022/onemrvapublic-design-system-mat-stepper.mjs.map +1 -1
  69. package/fesm2022/onemrvapublic-design-system-mat-sticker.mjs +15 -7
  70. package/fesm2022/onemrvapublic-design-system-mat-sticker.mjs.map +1 -1
  71. package/fesm2022/onemrvapublic-design-system-mat-table-of-content.mjs +20 -16
  72. package/fesm2022/onemrvapublic-design-system-mat-table-of-content.mjs.map +1 -1
  73. package/fesm2022/onemrvapublic-design-system-mat-task-list.mjs +56 -16
  74. package/fesm2022/onemrvapublic-design-system-mat-task-list.mjs.map +1 -1
  75. package/fesm2022/onemrvapublic-design-system-mat-toast.mjs +15 -7
  76. package/fesm2022/onemrvapublic-design-system-mat-toast.mjs.map +1 -1
  77. package/fesm2022/onemrvapublic-design-system-mat-tooltip.mjs +22 -12
  78. package/fesm2022/onemrvapublic-design-system-mat-tooltip.mjs.map +1 -1
  79. package/fesm2022/onemrvapublic-design-system-page-error.mjs +24 -6
  80. package/fesm2022/onemrvapublic-design-system-page-error.mjs.map +1 -1
  81. package/fesm2022/onemrvapublic-design-system-page-not-found.mjs +48 -16
  82. package/fesm2022/onemrvapublic-design-system-page-not-found.mjs.map +1 -1
  83. package/fesm2022/onemrvapublic-design-system-shared.mjs +109 -90
  84. package/fesm2022/onemrvapublic-design-system-shared.mjs.map +1 -1
  85. package/fesm2022/onemrvapublic-design-system-timeline.mjs +7 -7
  86. package/fesm2022/onemrvapublic-design-system-timeline.mjs.map +1 -1
  87. package/fesm2022/onemrvapublic-design-system.mjs +1 -1
  88. package/fesm2022/onemrvapublic-design-system.mjs.map +1 -1
  89. package/mat-paginator/src/onemrva-mat-paginator.component.scss +5 -31
  90. package/mat-tooltip/src/onemrva-mat-tooltip.component.scss +1 -0
  91. package/package.json +3 -3
  92. package/theme/overrides/_form-field.scss +2 -0
  93. package/theme/overrides/_select.scss +2 -1
  94. package/theme/overrides/_table.scss +8 -11
  95. package/theme/palettes/_palette.scss +1 -1
  96. package/types/onemrvapublic-design-system-card.d.ts +18 -9
  97. package/types/onemrvapublic-design-system-flag-icon.d.ts +10 -0
  98. package/types/onemrvapublic-design-system-layout.d.ts +132 -0
  99. package/types/onemrvapublic-design-system-mat-avatar.d.ts +4 -15
  100. package/types/onemrvapublic-design-system-mat-breadcrumb.d.ts +10 -0
  101. package/types/onemrvapublic-design-system-mat-carousel.d.ts +18 -0
  102. package/types/onemrvapublic-design-system-mat-choice-chip.d.ts +10 -0
  103. package/types/onemrvapublic-design-system-mat-copy-to-clipboard.d.ts +10 -0
  104. package/types/onemrvapublic-design-system-mat-country-item.d.ts +10 -0
  105. package/types/onemrvapublic-design-system-mat-datepicker-header.d.ts +8 -0
  106. package/types/onemrvapublic-design-system-mat-empty-row.d.ts +7 -0
  107. package/types/onemrvapublic-design-system-mat-file-upload.d.ts +20 -0
  108. package/types/onemrvapublic-design-system-mat-input-address.d.ts +10 -0
  109. package/types/onemrvapublic-design-system-mat-input-birthplace.d.ts +10 -0
  110. package/types/onemrvapublic-design-system-mat-input-country.d.ts +10 -0
  111. package/types/onemrvapublic-design-system-mat-input-enterprise-number.d.ts +10 -0
  112. package/types/onemrvapublic-design-system-mat-input-iban.d.ts +10 -0
  113. package/types/onemrvapublic-design-system-mat-input-phone.d.ts +10 -0
  114. package/types/onemrvapublic-design-system-mat-message-box.d.ts +10 -0
  115. package/types/onemrvapublic-design-system-mat-multi-select.d.ts +10 -0
  116. package/types/onemrvapublic-design-system-mat-navigation.d.ts +20 -0
  117. package/types/onemrvapublic-design-system-mat-notification.d.ts +10 -0
  118. package/types/onemrvapublic-design-system-mat-paginator.d.ts +10 -0
  119. package/types/onemrvapublic-design-system-mat-panel.d.ts +50 -0
  120. package/types/onemrvapublic-design-system-mat-pop-over.d.ts +30 -0
  121. package/types/onemrvapublic-design-system-mat-progress-bar.d.ts +10 -0
  122. package/types/onemrvapublic-design-system-mat-select-search.d.ts +10 -0
  123. package/types/onemrvapublic-design-system-mat-selectable-box.d.ts +10 -0
  124. package/types/onemrvapublic-design-system-mat-side-menu.d.ts +10 -0
  125. package/types/onemrvapublic-design-system-mat-skeleton.d.ts +4 -7
  126. package/types/onemrvapublic-design-system-mat-spinner.d.ts +8 -0
  127. package/types/onemrvapublic-design-system-mat-stepper.d.ts +10 -0
  128. package/types/onemrvapublic-design-system-mat-sticker.d.ts +8 -0
  129. package/types/onemrvapublic-design-system-mat-table-of-content.d.ts +10 -0
  130. package/types/onemrvapublic-design-system-mat-task-list.d.ts +40 -0
  131. package/types/onemrvapublic-design-system-mat-toast.d.ts +8 -0
  132. package/types/onemrvapublic-design-system-mat-tooltip.d.ts +10 -0
  133. package/types/onemrvapublic-design-system-page-error.d.ts +18 -0
  134. package/types/onemrvapublic-design-system-page-not-found.d.ts +32 -0
  135. package/types/onemrvapublic-design-system-shared.d.ts +13 -3
  136. package/types/onemrvapublic-design-system.d.ts +1 -1
@@ -22,15 +22,23 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
22
22
  import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';
23
23
  import { OverlayContainer } from '@angular/cdk/overlay';
24
24
 
25
+ /**
26
+ * Icon button that copies adjacent text to the clipboard.
27
+ *
28
+ * This component exposes no configurable inputs or outputs.
29
+ *
30
+ * @MatKeywords clipboard, copy, icon, copy-to-clipboard
31
+ * @MatGroup Misc
32
+ */
25
33
  class ClipboardIconComponent {
26
34
  constructor() {
27
35
  this._elementRef = inject(ElementRef);
28
36
  this.clipboardService = inject(Clipboard);
29
37
  }
30
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: ClipboardIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
31
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.1", type: ClipboardIconComponent, isStandalone: true, selector: "lib-clipboard-icon", ngImport: i0, template: "<mat-icon [matTooltip]=\"'TEST'\">content_copy</mat-icon>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i2.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }] }); }
38
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: ClipboardIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
39
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.4", type: ClipboardIconComponent, isStandalone: true, selector: "lib-clipboard-icon", ngImport: i0, template: "<mat-icon [matTooltip]=\"'TEST'\">content_copy</mat-icon>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i2.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }] }); }
32
40
  }
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: ClipboardIconComponent, decorators: [{
41
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: ClipboardIconComponent, decorators: [{
34
42
  type: Component,
35
43
  args: [{ selector: 'lib-clipboard-icon', standalone: true, imports: [MatIconModule, MatTooltipModule], template: "<mat-icon [matTooltip]=\"'TEST'\">content_copy</mat-icon>\n" }]
36
44
  }] });
@@ -262,10 +270,10 @@ class WebComponentOverlayContainer {
262
270
  this._document.body.appendChild(containerwrap);
263
271
  this._containerElement = container;
264
272
  }
265
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: WebComponentOverlayContainer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
266
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: WebComponentOverlayContainer, providedIn: 'root' }); }
273
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: WebComponentOverlayContainer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
274
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: WebComponentOverlayContainer, providedIn: 'root' }); }
267
275
  }
268
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: WebComponentOverlayContainer, decorators: [{
276
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: WebComponentOverlayContainer, decorators: [{
269
277
  type: Injectable,
270
278
  args: [{ providedIn: 'root' }]
271
279
  }] });
@@ -427,10 +435,10 @@ class DigitOnlyDirective {
427
435
  return;
428
436
  event.preventDefault();
429
437
  }
430
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: DigitOnlyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
431
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.1", type: DigitOnlyDirective, isStandalone: true, selector: "[digitOnly]", host: { listeners: { "keydown": "onKeyDown($event)" } }, ngImport: i0 }); }
438
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: DigitOnlyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
439
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.4", type: DigitOnlyDirective, isStandalone: true, selector: "[digitOnly]", host: { listeners: { "keydown": "onKeyDown($event)" } }, ngImport: i0 }); }
432
440
  }
433
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: DigitOnlyDirective, decorators: [{
441
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: DigitOnlyDirective, decorators: [{
434
442
  type: Directive,
435
443
  args: [{
436
444
  selector: '[digitOnly]',
@@ -463,10 +471,10 @@ class OnemRvaColorDirective {
463
471
  this.isNeutral = computed(() => this.color() === OnemrvaMatColor.NEUTRAL, /* @ts-ignore */
464
472
  ...(ngDevMode ? [{ debugName: "isNeutral" }] : /* istanbul ignore next */ []));
465
473
  }
466
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemRvaColorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
467
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.1", type: OnemRvaColorDirective, isStandalone: true, selector: "onemrva-mat-selectable-box[color],onemrva-collapsible-page-divider[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]mat-hint[color],", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.mat-primary": "isPrimary()", "class.mat-accent": "isAccent()", "class.mat-error": "isError()", "class.mat-warn": "isWarn()", "class.mat-success": "isSuccess()", "class.mat-info": "isInfo()", "class.mat-neutral": "isNeutral()" } }, ngImport: i0 }); }
474
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemRvaColorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
475
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.4", type: OnemRvaColorDirective, isStandalone: true, selector: "onemrva-mat-selectable-box[color],onemrva-collapsible-page-divider[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]mat-hint[color],", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.mat-primary": "isPrimary()", "class.mat-accent": "isAccent()", "class.mat-error": "isError()", "class.mat-warn": "isWarn()", "class.mat-success": "isSuccess()", "class.mat-info": "isInfo()", "class.mat-neutral": "isNeutral()" } }, ngImport: i0 }); }
468
476
  }
469
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemRvaColorDirective, decorators: [{
477
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemRvaColorDirective, decorators: [{
470
478
  type: Directive,
471
479
  args: [{
472
480
  selector: 'onemrva-mat-selectable-box[color],' +
@@ -515,10 +523,10 @@ class MatRowClickableDirective extends OnemRvaColorDirective {
515
523
  return;
516
524
  this.matRowClickable.emit();
517
525
  }
518
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: MatRowClickableDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
519
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.1", type: MatRowClickableDirective, isStandalone: true, selector: "tr[matRowClickable]", inputs: { clickable: { classPropertyName: "clickable", publicName: "clickable", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { matRowClickable: "matRowClickable" }, host: { listeners: { "click": "click()" }, properties: { "class.clickable": "_isClickable()", "class.onemrva-clickable-row": "true" } }, usesInheritance: true, ngImport: i0 }); }
526
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: MatRowClickableDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
527
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.4", type: MatRowClickableDirective, isStandalone: true, selector: "tr[matRowClickable]", inputs: { clickable: { classPropertyName: "clickable", publicName: "clickable", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { matRowClickable: "matRowClickable" }, host: { listeners: { "click": "click()" }, properties: { "class.clickable": "_isClickable()", "class.onemrva-clickable-row": "true" } }, usesInheritance: true, ngImport: i0 }); }
520
528
  }
521
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: MatRowClickableDirective, decorators: [{
529
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: MatRowClickableDirective, decorators: [{
522
530
  type: Directive,
523
531
  args: [{
524
532
  selector: 'tr[matRowClickable]',
@@ -552,10 +560,10 @@ class IfWidthIsDirective {
552
560
  }
553
561
  });
554
562
  }
555
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: IfWidthIsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
556
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.1", type: IfWidthIsDirective, isStandalone: true, selector: "[ifWidthIs]", inputs: { ifWidthIs: { classPropertyName: "ifWidthIs", publicName: "ifWidthIs", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 }); }
563
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: IfWidthIsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
564
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.4", type: IfWidthIsDirective, isStandalone: true, selector: "[ifWidthIs]", inputs: { ifWidthIs: { classPropertyName: "ifWidthIs", publicName: "ifWidthIs", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 }); }
557
565
  }
558
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: IfWidthIsDirective, decorators: [{
566
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: IfWidthIsDirective, decorators: [{
559
567
  type: Directive,
560
568
  args: [{
561
569
  selector: '[ifWidthIs]',
@@ -717,10 +725,10 @@ class OnemrvaMaskDirective {
717
725
  }
718
726
  this.markForDelete = false;
719
727
  }
720
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemrvaMaskDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
721
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.1", type: OnemrvaMaskDirective, isStandalone: true, selector: "[onemrvamask]", inputs: { onemrvamask: { classPropertyName: "onemrvamask", publicName: "onemrvamask", isSignal: true, isRequired: true, transformFunction: null } }, host: { listeners: { "keydown": "onKeyDown($event)", "input": "onInput($event)" } }, ngImport: i0 }); }
728
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemrvaMaskDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
729
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.4", type: OnemrvaMaskDirective, isStandalone: true, selector: "[onemrvamask]", inputs: { onemrvamask: { classPropertyName: "onemrvamask", publicName: "onemrvamask", isSignal: true, isRequired: true, transformFunction: null } }, host: { listeners: { "keydown": "onKeyDown($event)", "input": "onInput($event)" } }, ngImport: i0 }); }
722
730
  }
723
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemrvaMaskDirective, decorators: [{
731
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemrvaMaskDirective, decorators: [{
724
732
  type: Directive,
725
733
  args: [{
726
734
  selector: '[onemrvamask]',
@@ -785,10 +793,10 @@ class OnemRvaClipboardDirective {
785
793
  const iconElement = this.iconRef.location.nativeElement;
786
794
  this.elementRef.nativeElement.appendChild(iconElement);
787
795
  }
788
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemRvaClipboardDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
789
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.1", type: OnemRvaClipboardDirective, isStandalone: true, selector: "span[clipboard]", inputs: { clipboard: { classPropertyName: "clipboard", publicName: "clipboard", isSignal: true, isRequired: true, transformFunction: null } }, host: { attributes: { "role": "button", "tabindex": "0" }, properties: { "class": "hostClass()", "attr.aria-label": "\"Copy to clipboard\"" } }, ngImport: i0 }); }
796
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemRvaClipboardDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
797
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.4", type: OnemRvaClipboardDirective, isStandalone: true, selector: "span[clipboard]", inputs: { clipboard: { classPropertyName: "clipboard", publicName: "clipboard", isSignal: true, isRequired: true, transformFunction: null } }, host: { attributes: { "role": "button", "tabindex": "0" }, properties: { "class": "hostClass()", "attr.aria-label": "\"Copy to clipboard\"" } }, ngImport: i0 }); }
790
798
  }
791
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemRvaClipboardDirective, decorators: [{
799
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemRvaClipboardDirective, decorators: [{
792
800
  type: Directive,
793
801
  args: [{
794
802
  selector: 'span[clipboard]',
@@ -803,10 +811,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImpor
803
811
  }], ctorParameters: () => [], propDecorators: { clipboard: [{ type: i0.Input, args: [{ isSignal: true, alias: "clipboard", required: true }] }] } });
804
812
 
805
813
  class OnemRvaIconRightDirective {
806
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemRvaIconRightDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
807
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.1", type: OnemRvaIconRightDirective, isStandalone: true, selector: "button[iconRight]", host: { classAttribute: "onemrva-icon-right" }, ngImport: i0 }); }
814
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemRvaIconRightDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
815
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.4", type: OnemRvaIconRightDirective, isStandalone: true, selector: "button[iconRight]", host: { classAttribute: "onemrva-icon-right" }, ngImport: i0 }); }
808
816
  }
809
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemRvaIconRightDirective, decorators: [{
817
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemRvaIconRightDirective, decorators: [{
810
818
  type: Directive,
811
819
  args: [{
812
820
  selector: 'button[iconRight]',
@@ -997,10 +1005,10 @@ class OnemrvaDateFormatDirective {
997
1005
  }
998
1006
  input.setSelectionRange(pos, pos);
999
1007
  }
1000
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemrvaDateFormatDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1001
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.1", type: OnemrvaDateFormatDirective, isStandalone: true, selector: "[onemrvaDateFormat]", host: { listeners: { "paste": "onPaste($event)", "cut": "onCut($event)", "focus": "onFocus()", "click": "onClick()", "keydown": "onKeyDown($event)", "blur": "onBlur()" } }, ngImport: i0 }); }
1008
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemrvaDateFormatDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1009
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.4", type: OnemrvaDateFormatDirective, isStandalone: true, selector: "[onemrvaDateFormat]", host: { listeners: { "paste": "onPaste($event)", "cut": "onCut($event)", "focus": "onFocus()", "click": "onClick()", "keydown": "onKeyDown($event)", "blur": "onBlur()" } }, ngImport: i0 }); }
1002
1010
  }
1003
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemrvaDateFormatDirective, decorators: [{
1011
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemrvaDateFormatDirective, decorators: [{
1004
1012
  type: Directive,
1005
1013
  args: [{
1006
1014
  selector: '[onemrvaDateFormat]',
@@ -1023,10 +1031,10 @@ class OnemRvaReadonlyDirective {
1023
1031
  this.isReadOnly = computed(() => this.readonly(), /* @ts-ignore */
1024
1032
  ...(ngDevMode ? [{ debugName: "isReadOnly" }] : /* istanbul ignore next */ []));
1025
1033
  }
1026
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemRvaReadonlyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1027
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.1", type: OnemRvaReadonlyDirective, isStandalone: true, selector: "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]", inputs: { readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.onemrva-readonly": "isReadOnly()" } }, ngImport: i0 }); }
1034
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemRvaReadonlyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1035
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.4", type: OnemRvaReadonlyDirective, isStandalone: true, selector: "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]", inputs: { readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.onemrva-readonly": "isReadOnly()" } }, ngImport: i0 }); }
1028
1036
  }
1029
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemRvaReadonlyDirective, decorators: [{
1037
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemRvaReadonlyDirective, decorators: [{
1030
1038
  type: Directive,
1031
1039
  args: [{
1032
1040
  selector: 'form[readonly], ' +
@@ -1062,10 +1070,10 @@ class OnemRvaSizeDirective {
1062
1070
  this.isXXLarge = computed(() => this.size() === OnemrvaMatSize.XXLARGE, /* @ts-ignore */
1063
1071
  ...(ngDevMode ? [{ debugName: "isXXLarge" }] : /* istanbul ignore next */ []));
1064
1072
  }
1065
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemRvaSizeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1066
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.1", type: OnemRvaSizeDirective, isStandalone: true, selector: "mat-icon[size], onemrva-mat-skeleton[size], onemrva-mat-avatar[size], button[size]", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.xsmall": "isXSmall()", "class.small": "isSmall()", "class.large": "isLarge()", "class.xlarge": "isXLarge()", "class.xxlarge": "isXXLarge()" } }, ngImport: i0 }); }
1073
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemRvaSizeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1074
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.4", type: OnemRvaSizeDirective, isStandalone: true, selector: "mat-icon[size], onemrva-mat-skeleton[size], onemrva-mat-avatar[size], button[size]", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.xsmall": "isXSmall()", "class.small": "isSmall()", "class.large": "isLarge()", "class.xlarge": "isXLarge()", "class.xxlarge": "isXXLarge()" } }, ngImport: i0 }); }
1067
1075
  }
1068
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemRvaSizeDirective, decorators: [{
1076
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemRvaSizeDirective, decorators: [{
1069
1077
  type: Directive,
1070
1078
  args: [{
1071
1079
  selector: 'mat-icon[size], onemrva-mat-skeleton[size], onemrva-mat-avatar[size], button[size]',
@@ -1173,23 +1181,26 @@ class OnemrvaTranslateHttpLoader {
1173
1181
  this.modules = modules;
1174
1182
  }
1175
1183
  /**
1176
- * Gets the translations from the server
1184
+ * Gets the translations from the server.
1185
+ * Design-system module translations load first; the project's own
1186
+ * translation file is merged last so it overrides on key collisions.
1177
1187
  */
1178
1188
  getTranslation(lang) {
1179
- const observables = [
1180
- this.http
1181
- .get(`${this.prefix}${lang}${this.suffix}`)
1182
- .pipe(catchError$1(() => of(null))),
1183
- ...this.modules.map(m => {
1184
- this.http
1185
- .get(`${this.prefix}${m}/${lang}${this.suffix}`)
1186
- .pipe(catchError$1(() => of(null)));
1187
- //console.log(`${this.prefix}${m}/${lang}${this.suffix}`);
1188
- }),
1189
- ];
1190
- return forkJoin(observables).pipe(map(all => {
1191
- return all.filter(v => !!v).reduce((s, c) => ({ ...s, ...c }), {});
1189
+ const dsRequest = this.http
1190
+ .get(`/assets/design-system/i18n/${lang.toLocaleLowerCase()}.json`)
1191
+ .pipe(catchError$1(error => {
1192
+ console.warn('The design system translation file is not properly loaded, have a look at ', error);
1193
+ return of(null);
1192
1194
  }));
1195
+ const moduleRequests = this.modules.map(m => this.http
1196
+ .get(`${this.prefix}${m}/${lang}${this.suffix}`)
1197
+ .pipe(catchError$1(() => of(null))));
1198
+ const projectRequest = this.http
1199
+ .get(`${this.prefix}${lang}${this.suffix}`)
1200
+ .pipe(catchError$1(() => of(null)));
1201
+ return forkJoin([dsRequest, ...moduleRequests, projectRequest]).pipe(map(all => all
1202
+ .filter((v) => !!v)
1203
+ .reduce((merged, current) => ({ ...merged, ...current }), {})));
1193
1204
  }
1194
1205
  }
1195
1206
 
@@ -1200,10 +1211,10 @@ class OnemrvaBcePipe {
1200
1211
  return '?01?.???.???';
1201
1212
  return `${strOut.substring(0, 4)}.${strOut.substring(4, 7)}.${strOut.substring(7, 10)}`;
1202
1213
  }
1203
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemrvaBcePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
1204
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.1", ngImport: i0, type: OnemrvaBcePipe, isStandalone: true, name: "onemrvaBce" }); }
1214
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemrvaBcePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
1215
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.4", ngImport: i0, type: OnemrvaBcePipe, isStandalone: true, name: "onemrvaBce" }); }
1205
1216
  }
1206
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemrvaBcePipe, decorators: [{
1217
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemrvaBcePipe, decorators: [{
1207
1218
  type: Pipe,
1208
1219
  args: [{
1209
1220
  name: 'onemrvaBce',
@@ -1218,10 +1229,10 @@ class OnemrvaNissPipe {
1218
1229
  return '??01??/???-??';
1219
1230
  return `${strOut.substring(0, 6)}/${strOut.substring(6, 9)}-${strOut.substring(9, 11)}`;
1220
1231
  }
1221
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemrvaNissPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
1222
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.1", ngImport: i0, type: OnemrvaNissPipe, isStandalone: true, name: "onemrvaNiss" }); }
1232
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemrvaNissPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
1233
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.4", ngImport: i0, type: OnemrvaNissPipe, isStandalone: true, name: "onemrvaNiss" }); }
1223
1234
  }
1224
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemrvaNissPipe, decorators: [{
1235
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemrvaNissPipe, decorators: [{
1225
1236
  type: Pipe,
1226
1237
  args: [{
1227
1238
  name: 'onemrvaNiss',
@@ -1253,10 +1264,10 @@ class CommonCountryLookupService {
1253
1264
  return country || null;
1254
1265
  }));
1255
1266
  }
1256
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: CommonCountryLookupService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1257
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: CommonCountryLookupService, providedIn: 'root' }); }
1267
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: CommonCountryLookupService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1268
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: CommonCountryLookupService, providedIn: 'root' }); }
1258
1269
  }
1259
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: CommonCountryLookupService, decorators: [{
1270
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: CommonCountryLookupService, decorators: [{
1260
1271
  type: Injectable,
1261
1272
  args: [{
1262
1273
  providedIn: 'root',
@@ -1281,10 +1292,10 @@ class CacheService {
1281
1292
  //console.log("DELETE " + key);
1282
1293
  localStorage.removeItem(key);
1283
1294
  }
1284
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: CacheService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1285
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: CacheService, providedIn: 'root' }); }
1295
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: CacheService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1296
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: CacheService, providedIn: 'root' }); }
1286
1297
  }
1287
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: CacheService, decorators: [{
1298
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: CacheService, decorators: [{
1288
1299
  type: Injectable,
1289
1300
  args: [{
1290
1301
  providedIn: 'root',
@@ -1372,8 +1383,8 @@ class OnemRvaCDNService {
1372
1383
  this.renderer.appendChild(document.head, link);
1373
1384
  });
1374
1385
  }
1375
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemRvaCDNService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1376
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemRvaCDNService, providedIn: 'root' }); }
1386
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemRvaCDNService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1387
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemRvaCDNService, providedIn: 'root' }); }
1377
1388
  }
1378
1389
  __decorate([
1379
1390
  HttpRequestCache(cdnService => ({
@@ -1382,7 +1393,7 @@ __decorate([
1382
1393
  ttl: 3600000,
1383
1394
  }))
1384
1395
  ], OnemRvaCDNService.prototype, "fetch", null);
1385
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemRvaCDNService, decorators: [{
1396
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemRvaCDNService, decorators: [{
1386
1397
  type: Injectable,
1387
1398
  args: [{
1388
1399
  providedIn: 'root',
@@ -1441,10 +1452,10 @@ class OnemRvaCDNCountryService {
1441
1452
  });
1442
1453
  }));
1443
1454
  }
1444
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemRvaCDNCountryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1445
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemRvaCDNCountryService, providedIn: 'root' }); }
1455
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemRvaCDNCountryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1456
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemRvaCDNCountryService, providedIn: 'root' }); }
1446
1457
  }
1447
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemRvaCDNCountryService, decorators: [{
1458
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemRvaCDNCountryService, decorators: [{
1448
1459
  type: Injectable,
1449
1460
  args: [{
1450
1461
  providedIn: 'root',
@@ -1482,10 +1493,10 @@ class OnemRvaCDNMimeService {
1482
1493
  });
1483
1494
  }));
1484
1495
  }
1485
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemRvaCDNMimeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1486
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemRvaCDNMimeService, providedIn: 'root' }); }
1496
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemRvaCDNMimeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1497
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemRvaCDNMimeService, providedIn: 'root' }); }
1487
1498
  }
1488
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemRvaCDNMimeService, decorators: [{
1499
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemRvaCDNMimeService, decorators: [{
1489
1500
  type: Injectable,
1490
1501
  args: [{
1491
1502
  providedIn: 'root',
@@ -1507,10 +1518,10 @@ class OnemRvaOSMService {
1507
1518
  .set('limit', limit);
1508
1519
  return this.http.get(this.nominatimUrl, { params });
1509
1520
  }
1510
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemRvaOSMService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1511
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemRvaOSMService, providedIn: 'root' }); }
1521
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemRvaOSMService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1522
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemRvaOSMService, providedIn: 'root' }); }
1512
1523
  }
1513
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemRvaOSMService, decorators: [{
1524
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemRvaOSMService, decorators: [{
1514
1525
  type: Injectable,
1515
1526
  args: [{
1516
1527
  providedIn: 'root',
@@ -1528,10 +1539,10 @@ class OnemrvaErrorHandler {
1528
1539
  // verticalPosition: this.verticalPosition,
1529
1540
  // });
1530
1541
  }
1531
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemrvaErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1532
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemrvaErrorHandler }); }
1542
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemrvaErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1543
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemrvaErrorHandler }); }
1533
1544
  }
1534
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemrvaErrorHandler, decorators: [{
1545
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemrvaErrorHandler, decorators: [{
1535
1546
  type: Injectable
1536
1547
  }] });
1537
1548
 
@@ -1696,11 +1707,11 @@ const phoneNumberValidator = () => {
1696
1707
  };
1697
1708
 
1698
1709
  class OnemrvaSharedModule {
1699
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemrvaSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1700
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.1", ngImport: i0, type: OnemrvaSharedModule, imports: [DigitOnlyDirective, MatRowClickableDirective, OnemRvaClipboardDirective, OnemRvaIconRightDirective, IfWidthIsDirective, OnemRvaColorDirective, OnemrvaMaskDirective, OnemrvaDateFormatDirective, OnemRvaReadonlyDirective], exports: [DigitOnlyDirective, MatRowClickableDirective, OnemRvaClipboardDirective, OnemRvaIconRightDirective, IfWidthIsDirective, OnemRvaColorDirective, OnemrvaMaskDirective, OnemrvaDateFormatDirective, OnemRvaReadonlyDirective] }); }
1701
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemrvaSharedModule }); }
1710
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemrvaSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1711
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.4", ngImport: i0, type: OnemrvaSharedModule, imports: [DigitOnlyDirective, MatRowClickableDirective, OnemRvaClipboardDirective, OnemRvaIconRightDirective, IfWidthIsDirective, OnemRvaColorDirective, OnemrvaMaskDirective, OnemrvaDateFormatDirective, OnemRvaReadonlyDirective], exports: [DigitOnlyDirective, MatRowClickableDirective, OnemRvaClipboardDirective, OnemRvaIconRightDirective, IfWidthIsDirective, OnemRvaColorDirective, OnemrvaMaskDirective, OnemrvaDateFormatDirective, OnemRvaReadonlyDirective] }); }
1712
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemrvaSharedModule }); }
1702
1713
  }
1703
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemrvaSharedModule, decorators: [{
1714
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemrvaSharedModule, decorators: [{
1704
1715
  type: NgModule,
1705
1716
  args: [{
1706
1717
  imports: [...directives],
@@ -1714,7 +1725,11 @@ class OnemrvaNativeDateAdapter extends NativeDateAdapter {
1714
1725
  this.translateService = inject(TranslateService);
1715
1726
  this.destroyNotifier$ = new Subject();
1716
1727
  this.localeChanges = new Subject();
1717
- this.setLocale(this.translateService?.currentLang);
1728
+ // currentLang is a signal since ngx-translate v17; read it, don't pass it
1729
+ const currentLang = this.translateService?.currentLang?.();
1730
+ if (currentLang) {
1731
+ this.setLocale(currentLang);
1732
+ }
1718
1733
  this.localeChanges.next(this);
1719
1734
  if (this.translateService !== undefined) {
1720
1735
  this.translateService.onLangChange
@@ -1760,10 +1775,10 @@ class OnemrvaNativeDateAdapter extends NativeDateAdapter {
1760
1775
  this.destroyNotifier$.next();
1761
1776
  this.destroyNotifier$.complete();
1762
1777
  }
1763
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemrvaNativeDateAdapter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1764
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemrvaNativeDateAdapter }); }
1778
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemrvaNativeDateAdapter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1779
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemrvaNativeDateAdapter }); }
1765
1780
  }
1766
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemrvaNativeDateAdapter, decorators: [{
1781
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemrvaNativeDateAdapter, decorators: [{
1767
1782
  type: Injectable
1768
1783
  }], ctorParameters: () => [] });
1769
1784
 
@@ -1809,7 +1824,11 @@ class OnemrvaLuxonDateAdapter extends DateAdapter {
1809
1824
  this._firstDayOfWeek = options?.firstDayOfWeek || 0;
1810
1825
  this._defaultOutputCalendar = options?.defaultOutputCalendar || 'gregory';
1811
1826
  this.setLocale(dateLocale || DateTime.local().locale);
1812
- this.setLocale(this.translateService?.currentLang);
1827
+ // currentLang is a signal since ngx-translate v17; read it, don't pass it
1828
+ const currentLang = this.translateService?.currentLang?.();
1829
+ if (currentLang) {
1830
+ this.setLocale(currentLang);
1831
+ }
1813
1832
  if (this.translateService !== undefined) {
1814
1833
  this.translateService.onLangChange
1815
1834
  .pipe(takeUntilDestroyed())
@@ -2026,10 +2045,10 @@ class OnemrvaLuxonDateAdapter extends DateAdapter {
2026
2045
  outputCalendar: this._defaultOutputCalendar,
2027
2046
  };
2028
2047
  }
2029
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemrvaLuxonDateAdapter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2030
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemrvaLuxonDateAdapter }); }
2048
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemrvaLuxonDateAdapter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2049
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemrvaLuxonDateAdapter }); }
2031
2050
  }
2032
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: OnemrvaLuxonDateAdapter, decorators: [{
2051
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: OnemrvaLuxonDateAdapter, decorators: [{
2033
2052
  type: Injectable
2034
2053
  }], ctorParameters: () => [] });
2035
2054
 
@@ -2086,7 +2105,7 @@ function onemrvaDateLuxonYearMonthProvider() {
2086
2105
  }
2087
2106
 
2088
2107
  // Auto-generated — do not edit
2089
- const VERSION = '22.0.0-develop.8';
2108
+ const VERSION = '22.0.0';
2090
2109
 
2091
2110
  function onemrvaThemeProvider() {
2092
2111
  return makeEnvironmentProviders([