@onemrvapublic/design-system 20.11.3 → 21.0.0-develop.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. package/README.md +5 -9
  2. package/fesm2022/onemrvapublic-design-system-flag-icon.mjs +14 -20
  3. package/fesm2022/onemrvapublic-design-system-flag-icon.mjs.map +1 -1
  4. package/fesm2022/onemrvapublic-design-system-layout.mjs +207 -290
  5. package/fesm2022/onemrvapublic-design-system-layout.mjs.map +1 -1
  6. package/fesm2022/onemrvapublic-design-system-mat-address.mjs +19 -25
  7. package/fesm2022/onemrvapublic-design-system-mat-address.mjs.map +1 -1
  8. package/fesm2022/onemrvapublic-design-system-mat-avatar.mjs +58 -223
  9. package/fesm2022/onemrvapublic-design-system-mat-avatar.mjs.map +1 -1
  10. package/fesm2022/onemrvapublic-design-system-mat-breadcrumb.mjs +47 -53
  11. package/fesm2022/onemrvapublic-design-system-mat-breadcrumb.mjs.map +1 -1
  12. package/fesm2022/onemrvapublic-design-system-mat-carousel.mjs +50 -71
  13. package/fesm2022/onemrvapublic-design-system-mat-carousel.mjs.map +1 -1
  14. package/fesm2022/onemrvapublic-design-system-mat-choice-chip.mjs +27 -29
  15. package/fesm2022/onemrvapublic-design-system-mat-choice-chip.mjs.map +1 -1
  16. package/fesm2022/onemrvapublic-design-system-mat-copy-to-clipboard.mjs +24 -42
  17. package/fesm2022/onemrvapublic-design-system-mat-copy-to-clipboard.mjs.map +1 -1
  18. package/fesm2022/onemrvapublic-design-system-mat-country-item.mjs +8 -12
  19. package/fesm2022/onemrvapublic-design-system-mat-country-item.mjs.map +1 -1
  20. package/fesm2022/onemrvapublic-design-system-mat-datepicker-header.mjs +4 -4
  21. package/fesm2022/onemrvapublic-design-system-mat-datepicker-header.mjs.map +1 -1
  22. package/fesm2022/onemrvapublic-design-system-mat-empty-row.mjs +10 -18
  23. package/fesm2022/onemrvapublic-design-system-mat-empty-row.mjs.map +1 -1
  24. package/fesm2022/onemrvapublic-design-system-mat-file-upload.mjs +98 -173
  25. package/fesm2022/onemrvapublic-design-system-mat-file-upload.mjs.map +1 -1
  26. package/fesm2022/onemrvapublic-design-system-mat-input-address.mjs +32 -52
  27. package/fesm2022/onemrvapublic-design-system-mat-input-address.mjs.map +1 -1
  28. package/fesm2022/onemrvapublic-design-system-mat-input-birthplace.mjs +10 -13
  29. package/fesm2022/onemrvapublic-design-system-mat-input-birthplace.mjs.map +1 -1
  30. package/fesm2022/onemrvapublic-design-system-mat-input-country.mjs +10 -13
  31. package/fesm2022/onemrvapublic-design-system-mat-input-country.mjs.map +1 -1
  32. package/fesm2022/onemrvapublic-design-system-mat-input-enterprise-number.mjs +24 -44
  33. package/fesm2022/onemrvapublic-design-system-mat-input-enterprise-number.mjs.map +1 -1
  34. package/fesm2022/onemrvapublic-design-system-mat-input-iban.mjs +22 -40
  35. package/fesm2022/onemrvapublic-design-system-mat-input-iban.mjs.map +1 -1
  36. package/fesm2022/onemrvapublic-design-system-mat-input-phone.mjs +26 -39
  37. package/fesm2022/onemrvapublic-design-system-mat-input-phone.mjs.map +1 -1
  38. package/fesm2022/onemrvapublic-design-system-mat-message-box.mjs +45 -180
  39. package/fesm2022/onemrvapublic-design-system-mat-message-box.mjs.map +1 -1
  40. package/fesm2022/onemrvapublic-design-system-mat-multi-select.mjs +38 -63
  41. package/fesm2022/onemrvapublic-design-system-mat-multi-select.mjs.map +1 -1
  42. package/fesm2022/onemrvapublic-design-system-mat-navigation.mjs +40 -65
  43. package/fesm2022/onemrvapublic-design-system-mat-navigation.mjs.map +1 -1
  44. package/fesm2022/onemrvapublic-design-system-mat-notification.mjs +19 -59
  45. package/fesm2022/onemrvapublic-design-system-mat-notification.mjs.map +1 -1
  46. package/fesm2022/onemrvapublic-design-system-mat-paginator.mjs +23 -49
  47. package/fesm2022/onemrvapublic-design-system-mat-paginator.mjs.map +1 -1
  48. package/fesm2022/onemrvapublic-design-system-mat-panel.mjs +61 -101
  49. package/fesm2022/onemrvapublic-design-system-mat-panel.mjs.map +1 -1
  50. package/fesm2022/onemrvapublic-design-system-mat-pop-over.mjs +30 -50
  51. package/fesm2022/onemrvapublic-design-system-mat-pop-over.mjs.map +1 -1
  52. package/fesm2022/onemrvapublic-design-system-mat-progress-bar.mjs +26 -38
  53. package/fesm2022/onemrvapublic-design-system-mat-progress-bar.mjs.map +1 -1
  54. package/fesm2022/onemrvapublic-design-system-mat-select-search.mjs +66 -105
  55. package/fesm2022/onemrvapublic-design-system-mat-select-search.mjs.map +1 -1
  56. package/fesm2022/onemrvapublic-design-system-mat-selectable-box.mjs +23 -43
  57. package/fesm2022/onemrvapublic-design-system-mat-selectable-box.mjs.map +1 -1
  58. package/fesm2022/onemrvapublic-design-system-mat-side-menu.mjs +15 -26
  59. package/fesm2022/onemrvapublic-design-system-mat-side-menu.mjs.map +1 -1
  60. package/fesm2022/onemrvapublic-design-system-mat-skeleton.mjs +62 -177
  61. package/fesm2022/onemrvapublic-design-system-mat-skeleton.mjs.map +1 -1
  62. package/fesm2022/onemrvapublic-design-system-mat-spinner.mjs +17 -21
  63. package/fesm2022/onemrvapublic-design-system-mat-spinner.mjs.map +1 -1
  64. package/fesm2022/onemrvapublic-design-system-mat-stepper.mjs +14 -22
  65. package/fesm2022/onemrvapublic-design-system-mat-stepper.mjs.map +1 -1
  66. package/fesm2022/onemrvapublic-design-system-mat-sticker.mjs +8 -8
  67. package/fesm2022/onemrvapublic-design-system-mat-sticker.mjs.map +1 -1
  68. package/fesm2022/onemrvapublic-design-system-mat-table-of-content.mjs +79 -93
  69. package/fesm2022/onemrvapublic-design-system-mat-table-of-content.mjs.map +1 -1
  70. package/fesm2022/onemrvapublic-design-system-mat-task-list.mjs +59 -94
  71. package/fesm2022/onemrvapublic-design-system-mat-task-list.mjs.map +1 -1
  72. package/fesm2022/onemrvapublic-design-system-mat-timepicker.mjs +178 -245
  73. package/fesm2022/onemrvapublic-design-system-mat-timepicker.mjs.map +1 -1
  74. package/fesm2022/onemrvapublic-design-system-mat-toast.mjs +7 -7
  75. package/fesm2022/onemrvapublic-design-system-mat-toast.mjs.map +1 -1
  76. package/fesm2022/onemrvapublic-design-system-mat-tooltip.mjs +33 -43
  77. package/fesm2022/onemrvapublic-design-system-mat-tooltip.mjs.map +1 -1
  78. package/fesm2022/onemrvapublic-design-system-page-error.mjs +33 -39
  79. package/fesm2022/onemrvapublic-design-system-page-error.mjs.map +1 -1
  80. package/fesm2022/onemrvapublic-design-system-page-not-found.mjs +38 -42
  81. package/fesm2022/onemrvapublic-design-system-page-not-found.mjs.map +1 -1
  82. package/fesm2022/onemrvapublic-design-system-shared.mjs +188 -312
  83. package/fesm2022/onemrvapublic-design-system-shared.mjs.map +1 -1
  84. package/fesm2022/onemrvapublic-design-system-utils.mjs.map +1 -1
  85. package/mat-choice-chip/src/onemrva-mat-choice-chip.component.scss +13 -3
  86. package/mat-empty-row/src/onemrva-mat-empty-row.component.scss +2 -2
  87. package/mat-file-upload/src/components/onemrva-mat-file-panel/onemrva-file-panel.component.scss +1 -1
  88. package/mat-input-phone/src/onemrva-mat-input-phone.component.scss +1 -1
  89. package/mat-panel/src/onemrva-mat-panel-content.scss +1 -1
  90. package/mat-skeleton/src/onemrva-mat-skeleton.component.scss +1 -1
  91. package/mat-table-of-content/src/onemrva-mat-table-of-content.component.scss +10 -2
  92. package/package.json +72 -62
  93. package/theme/index.scss +230 -0
  94. package/theme/overrides/_autocomplete.scss +9 -0
  95. package/theme/overrides/_button-toggle.scss +14 -0
  96. package/theme/overrides/_button.scss +140 -0
  97. package/theme/overrides/_card.scss +34 -0
  98. package/theme/overrides/_carousel.scss +13 -0
  99. package/theme/overrides/_checkbox.scss +49 -0
  100. package/theme/overrides/_chips.scss +42 -0
  101. package/theme/overrides/_datepicker.scss +10 -0
  102. package/theme/overrides/_dialogs.scss +118 -0
  103. package/theme/overrides/_divider.scss +9 -0
  104. package/theme/overrides/_drag-and-drop.scss +74 -0
  105. package/theme/overrides/_expansion.scss +51 -0
  106. package/theme/overrides/_fab.scss +45 -0
  107. package/theme/overrides/_form-field.scss +223 -0
  108. package/theme/overrides/_icon-button.scss +24 -0
  109. package/theme/overrides/_icon.scss +97 -0
  110. package/theme/overrides/_input.scss +18 -0
  111. package/theme/overrides/_layout.scss +35 -0
  112. package/theme/overrides/_menu.scss +45 -0
  113. package/theme/overrides/_option.scss +15 -0
  114. package/theme/overrides/_panel.scss +59 -0
  115. package/theme/overrides/_progress-bar.scss +29 -0
  116. package/theme/overrides/_radio.scss +16 -0
  117. package/theme/overrides/_select.scss +124 -0
  118. package/theme/overrides/_sidenav.scss +13 -0
  119. package/theme/overrides/_slide-toggle.scss +53 -0
  120. package/theme/overrides/_stepper.scss +196 -0
  121. package/theme/overrides/_stickers.scss +13 -0
  122. package/theme/overrides/_table.scss +115 -0
  123. package/theme/overrides/_tabs.scss +20 -0
  124. package/theme/overrides/_toast.scss +16 -0
  125. package/theme/overrides/_toc.scss +26 -0
  126. package/theme/overrides/_toolbar.scss +26 -0
  127. package/theme/overrides/_tooltip.scss +19 -0
  128. package/theme/palettes/_palette.scss +189 -0
  129. package/theme/utilities/_animations.scss +54 -0
  130. package/theme/utilities/_container.scss +14 -0
  131. package/theme/utilities/_fonts.scss +170 -0
  132. package/theme/utilities/_grid.scss +75 -0
  133. package/theme/utilities/_media.scss +33 -0
  134. package/theme/utilities/_palettes.scss +120 -0
  135. package/theme/utilities/_spacing.scss +86 -0
  136. package/theme/utilities/_tokens.scss +123 -0
  137. package/theme/utilities/_utilities.scss +351 -0
  138. package/theme/utilities/_variables.scss +42 -0
  139. package/types/onemrvapublic-design-system-flag-icon.d.ts +18 -0
  140. package/types/onemrvapublic-design-system-layout.d.ts +305 -0
  141. package/{mat-address/index.d.ts → types/onemrvapublic-design-system-mat-address.d.ts} +8 -8
  142. package/types/onemrvapublic-design-system-mat-avatar.d.ts +67 -0
  143. package/{mat-breadcrumb/index.d.ts → types/onemrvapublic-design-system-mat-breadcrumb.d.ts} +8 -6
  144. package/types/onemrvapublic-design-system-mat-carousel.d.ts +52 -0
  145. package/types/onemrvapublic-design-system-mat-choice-chip.d.ts +23 -0
  146. package/types/onemrvapublic-design-system-mat-copy-to-clipboard.d.ts +25 -0
  147. package/types/onemrvapublic-design-system-mat-country-item.d.ts +10 -0
  148. package/types/onemrvapublic-design-system-mat-empty-row.d.ts +18 -0
  149. package/{mat-file-upload/index.d.ts → types/onemrvapublic-design-system-mat-file-upload.d.ts} +53 -51
  150. package/types/onemrvapublic-design-system-mat-input-address.d.ts +32 -0
  151. package/{mat-input-birthplace/index.d.ts → types/onemrvapublic-design-system-mat-input-birthplace.d.ts} +10 -10
  152. package/{mat-input-country/index.d.ts → types/onemrvapublic-design-system-mat-input-country.d.ts} +2 -2
  153. package/types/onemrvapublic-design-system-mat-input-enterprise-number.d.ts +37 -0
  154. package/{mat-input-iban/index.d.ts → types/onemrvapublic-design-system-mat-input-iban.d.ts} +12 -13
  155. package/{mat-input-phone/index.d.ts → types/onemrvapublic-design-system-mat-input-phone.d.ts} +12 -12
  156. package/types/onemrvapublic-design-system-mat-message-box.d.ts +29 -0
  157. package/types/onemrvapublic-design-system-mat-multi-select.d.ts +57 -0
  158. package/types/onemrvapublic-design-system-mat-navigation.d.ts +55 -0
  159. package/types/onemrvapublic-design-system-mat-notification.d.ts +23 -0
  160. package/types/onemrvapublic-design-system-mat-paginator.d.ts +58 -0
  161. package/types/onemrvapublic-design-system-mat-panel.d.ts +66 -0
  162. package/types/onemrvapublic-design-system-mat-pop-over.d.ts +40 -0
  163. package/types/onemrvapublic-design-system-mat-progress-bar.d.ts +16 -0
  164. package/{mat-select-search/index.d.ts → types/onemrvapublic-design-system-mat-select-search.d.ts} +35 -35
  165. package/types/onemrvapublic-design-system-mat-selectable-box.d.ts +26 -0
  166. package/{mat-side-menu/index.d.ts → types/onemrvapublic-design-system-mat-side-menu.d.ts} +6 -6
  167. package/types/onemrvapublic-design-system-mat-skeleton.d.ts +82 -0
  168. package/{mat-spinner/index.d.ts → types/onemrvapublic-design-system-mat-spinner.d.ts} +3 -4
  169. package/{mat-stepper/index.d.ts → types/onemrvapublic-design-system-mat-stepper.d.ts} +3 -6
  170. package/types/onemrvapublic-design-system-mat-table-of-content.d.ts +85 -0
  171. package/types/onemrvapublic-design-system-mat-task-list.d.ts +56 -0
  172. package/{mat-timepicker/index.d.ts → types/onemrvapublic-design-system-mat-timepicker.d.ts} +50 -66
  173. package/types/onemrvapublic-design-system-mat-tooltip.d.ts +40 -0
  174. package/types/onemrvapublic-design-system-page-error.d.ts +29 -0
  175. package/{page-not-found/index.d.ts → types/onemrvapublic-design-system-page-not-found.d.ts} +6 -6
  176. package/{shared/index.d.ts → types/onemrvapublic-design-system-shared.d.ts} +47 -71
  177. package/flag-icon/index.d.ts +0 -18
  178. package/layout/index.d.ts +0 -295
  179. package/mat-avatar/index.d.ts +0 -187
  180. package/mat-carousel/index.d.ts +0 -52
  181. package/mat-choice-chip/index.d.ts +0 -21
  182. package/mat-copy-to-clipboard/index.d.ts +0 -25
  183. package/mat-country-item/index.d.ts +0 -10
  184. package/mat-empty-row/index.d.ts +0 -19
  185. package/mat-input-address/index.d.ts +0 -32
  186. package/mat-input-enterprise-number/index.d.ts +0 -37
  187. package/mat-message-box/index.d.ts +0 -101
  188. package/mat-multi-select/index.d.ts +0 -57
  189. package/mat-navigation/index.d.ts +0 -54
  190. package/mat-notification/index.d.ts +0 -43
  191. package/mat-paginator/index.d.ts +0 -58
  192. package/mat-panel/index.d.ts +0 -66
  193. package/mat-pop-over/index.d.ts +0 -40
  194. package/mat-progress-bar/index.d.ts +0 -18
  195. package/mat-selectable-box/index.d.ts +0 -29
  196. package/mat-skeleton/index.d.ts +0 -100
  197. package/mat-table-of-content/index.d.ts +0 -84
  198. package/mat-task-list/index.d.ts +0 -57
  199. package/mat-tooltip/index.d.ts +0 -40
  200. package/page-error/index.d.ts +0 -34
  201. /package/{mat-datepicker-header/index.d.ts → types/onemrvapublic-design-system-mat-datepicker-header.d.ts} +0 -0
  202. /package/{mat-sticker/index.d.ts → types/onemrvapublic-design-system-mat-sticker.d.ts} +0 -0
  203. /package/{mat-toast/index.d.ts → types/onemrvapublic-design-system-mat-toast.d.ts} +0 -0
  204. /package/{utils/index.d.ts → types/onemrvapublic-design-system-utils.d.ts} +0 -0
  205. /package/{index.d.ts → types/onemrvapublic-design-system.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, ElementRef, Component, InjectionToken, Injectable, HostListener, Directive, HostBinding, Input, EventEmitter, Output, TemplateRef, ViewContainerRef, Renderer2, ComponentFactoryResolver, input, Pipe, RendererFactory2, NgModule, ErrorHandler } from '@angular/core';
2
+ import { inject, ElementRef, Component, InjectionToken, Injectable, Directive, input, computed, output, TemplateRef, ViewContainerRef, DestroyRef, signal, Pipe, RendererFactory2, NgModule, ErrorHandler } from '@angular/core';
3
3
  import * as i1 from '@angular/material/icon';
4
4
  import { MatIconModule } from '@angular/material/icon';
5
5
  import * as i2 from '@angular/material/tooltip';
@@ -27,10 +27,10 @@ class ClipboardIconComponent {
27
27
  this._elementRef = inject(ElementRef);
28
28
  this.clipboardService = inject(Clipboard);
29
29
  }
30
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ClipboardIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
31
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.15", 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"] }] }); }
30
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: ClipboardIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
31
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.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"] }] }); }
32
32
  }
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ClipboardIconComponent, decorators: [{
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: ClipboardIconComponent, decorators: [{
34
34
  type: Component,
35
35
  args: [{ selector: 'lib-clipboard-icon', standalone: true, imports: [MatIconModule, MatTooltipModule], template: "<mat-icon [matTooltip]=\"'TEST'\">content_copy</mat-icon>\n" }]
36
36
  }] });
@@ -250,10 +250,10 @@ class WebComponentOverlayContainer {
250
250
  this._document.body.appendChild(containerwrap);
251
251
  this._containerElement = container;
252
252
  }
253
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WebComponentOverlayContainer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
254
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WebComponentOverlayContainer, providedIn: 'root' }); }
253
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: WebComponentOverlayContainer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
254
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: WebComponentOverlayContainer, providedIn: 'root' }); }
255
255
  }
256
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WebComponentOverlayContainer, decorators: [{
256
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: WebComponentOverlayContainer, decorators: [{
257
257
  type: Injectable,
258
258
  args: [{ providedIn: 'root' }]
259
259
  }] });
@@ -382,7 +382,6 @@ const HttpRequestCache = (optionsHandler) => {
382
382
 
383
383
  class DigitOnlyDirective {
384
384
  onKeyDown(event) {
385
- const e = event;
386
385
  const allowedKey = [
387
386
  '0',
388
387
  '1',
@@ -409,67 +408,45 @@ class DigitOnlyDirective {
409
408
  'Home',
410
409
  'End',
411
410
  ];
412
- if (allowedKey.indexOf(e.key) >= 0)
411
+ if (allowedKey.includes(event.key))
413
412
  return;
414
- // HWKTODO manage ctrl Z and ctrl U
415
413
  const allowedCtrlShortcuts = ['a', 'c', 'x', 'v'];
416
- if (e.ctrlKey && allowedCtrlShortcuts.indexOf(e.key) >= 0)
414
+ if (event.ctrlKey && allowedCtrlShortcuts.includes(event.key))
417
415
  return;
418
- e.preventDefault();
416
+ event.preventDefault();
419
417
  }
420
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: DigitOnlyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
421
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: DigitOnlyDirective, isStandalone: true, selector: "[digitOnly]", host: { listeners: { "keydown": "onKeyDown($event)" } }, ngImport: i0 }); }
418
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: DigitOnlyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
419
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.1", type: DigitOnlyDirective, isStandalone: true, selector: "[digitOnly]", host: { listeners: { "keydown": "onKeyDown($event)" } }, ngImport: i0 }); }
422
420
  }
423
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: DigitOnlyDirective, decorators: [{
421
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: DigitOnlyDirective, decorators: [{
424
422
  type: Directive,
425
423
  args: [{
426
424
  selector: '[digitOnly]',
427
425
  standalone: true,
426
+ host: {
427
+ '(keydown)': 'onKeyDown($event)',
428
+ },
428
429
  }]
429
- }], propDecorators: { onKeyDown: [{
430
- type: HostListener,
431
- args: ['keydown', ['$event']]
432
- }] } });
430
+ }] });
433
431
 
434
432
  /**
435
433
  * Conditionally adds component to the tree if screen width matches at least one size in input
436
434
  */
437
435
  class OnemRvaColorDirective {
438
436
  constructor() {
439
- this.color = '';
440
- }
441
- /** @hidden @internal */
442
- get _isPrimary() {
443
- return this.color === OnemrvaMatColor.PRIMARY;
444
- }
445
- /** @hidden @internal */
446
- get _isAccent() {
447
- return this.color === OnemrvaMatColor.ACCENT;
448
- }
449
- /** @hidden @internal */
450
- get _isError() {
451
- return this.color === OnemrvaMatColor.ERROR;
452
- }
453
- /** @hidden @internal */
454
- get _isWarn() {
455
- return this.color === OnemrvaMatColor.WARN;
456
- }
457
- /** @hidden @internal */
458
- get _isSuccess() {
459
- return this.color === OnemrvaMatColor.SUCCESS;
460
- }
461
- /** @hidden @internal */
462
- get _isInfo() {
463
- return this.color === OnemrvaMatColor.INFO;
464
- }
465
- /** @hidden @internal */
466
- get _isNeutral() {
467
- return this.color === OnemrvaMatColor.NEUTRAL;
468
- }
469
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemRvaColorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
470
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: OnemRvaColorDirective, isStandalone: true, selector: "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]mat-hint[color],", inputs: { color: "color" }, host: { properties: { "class.mat-primary": "this._isPrimary", "class.mat-accent": "this._isAccent", "class.mat-error": "this._isError", "class.mat-warn": "this._isWarn", "class.mat-success": "this._isSuccess", "class.mat-info": "this._isInfo", "class.mat-neutral": "this._isNeutral" } }, ngImport: i0 }); }
437
+ this.color = input('', ...(ngDevMode ? [{ debugName: "color" }] : []));
438
+ this.isPrimary = computed(() => this.color() === OnemrvaMatColor.PRIMARY, ...(ngDevMode ? [{ debugName: "isPrimary" }] : []));
439
+ this.isAccent = computed(() => this.color() === OnemrvaMatColor.ACCENT, ...(ngDevMode ? [{ debugName: "isAccent" }] : []));
440
+ this.isError = computed(() => this.color() === OnemrvaMatColor.ERROR, ...(ngDevMode ? [{ debugName: "isError" }] : []));
441
+ this.isWarn = computed(() => this.color() === OnemrvaMatColor.WARN, ...(ngDevMode ? [{ debugName: "isWarn" }] : []));
442
+ this.isSuccess = computed(() => this.color() === OnemrvaMatColor.SUCCESS, ...(ngDevMode ? [{ debugName: "isSuccess" }] : []));
443
+ this.isInfo = computed(() => this.color() === OnemrvaMatColor.INFO, ...(ngDevMode ? [{ debugName: "isInfo" }] : []));
444
+ this.isNeutral = computed(() => this.color() === OnemrvaMatColor.NEUTRAL, ...(ngDevMode ? [{ debugName: "isNeutral" }] : []));
445
+ }
446
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemRvaColorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
447
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.1", type: OnemRvaColorDirective, isStandalone: true, selector: "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]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 }); }
471
448
  }
472
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemRvaColorDirective, decorators: [{
449
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemRvaColorDirective, decorators: [{
473
450
  type: Directive,
474
451
  args: [{
475
452
  selector: 'onemrva-mat-selectable-box[color],' +
@@ -491,66 +468,45 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
491
468
  'mat-chip-option[color]' +
492
469
  'mat-hint[color],',
493
470
  standalone: true,
471
+ host: {
472
+ '[class.mat-primary]': 'isPrimary()',
473
+ '[class.mat-accent]': 'isAccent()',
474
+ '[class.mat-error]': 'isError()',
475
+ '[class.mat-warn]': 'isWarn()',
476
+ '[class.mat-success]': 'isSuccess()',
477
+ '[class.mat-info]': 'isInfo()',
478
+ '[class.mat-neutral]': 'isNeutral()',
479
+ },
494
480
  }]
495
- }], propDecorators: { color: [{
496
- type: Input
497
- }], _isPrimary: [{
498
- type: HostBinding,
499
- args: ['class.mat-primary']
500
- }], _isAccent: [{
501
- type: HostBinding,
502
- args: ['class.mat-accent']
503
- }], _isError: [{
504
- type: HostBinding,
505
- args: ['class.mat-error']
506
- }], _isWarn: [{
507
- type: HostBinding,
508
- args: ['class.mat-warn']
509
- }], _isSuccess: [{
510
- type: HostBinding,
511
- args: ['class.mat-success']
512
- }], _isInfo: [{
513
- type: HostBinding,
514
- args: ['class.mat-info']
515
- }], _isNeutral: [{
516
- type: HostBinding,
517
- args: ['class.mat-neutral']
518
- }] } });
481
+ }], propDecorators: { color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }] } });
519
482
 
520
483
  class MatRowClickableDirective extends OnemRvaColorDirective {
521
484
  constructor() {
522
485
  super(...arguments);
523
- this.matRowClickable = new EventEmitter();
524
- this.cssClass = true;
486
+ this.matRowClickable = output();
487
+ this.clickable = input(true, ...(ngDevMode ? [{ debugName: "clickable" }] : []));
488
+ this._isClickable = computed(() => this.clickable(), ...(ngDevMode ? [{ debugName: "_isClickable" }] : []));
525
489
  }
526
490
  click() {
491
+ if (!this.clickable())
492
+ return;
527
493
  this.matRowClickable.emit();
528
494
  }
529
- /** @hidden @internal */
530
- get _isClickable() {
531
- return this.matRowClickable.observed;
532
- }
533
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: MatRowClickableDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
534
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: MatRowClickableDirective, isStandalone: true, selector: "tr[matRowClickable]", outputs: { matRowClickable: "matRowClickable" }, host: { listeners: { "click": "click($event)" }, properties: { "class.clickable": "this._isClickable", "class.onemrva-clickable-row": "this.cssClass" } }, usesInheritance: true, ngImport: i0 }); }
495
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: MatRowClickableDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
496
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.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 }); }
535
497
  }
536
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: MatRowClickableDirective, decorators: [{
498
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: MatRowClickableDirective, decorators: [{
537
499
  type: Directive,
538
500
  args: [{
539
501
  selector: 'tr[matRowClickable]',
540
502
  standalone: true,
503
+ host: {
504
+ '[class.clickable]': '_isClickable()',
505
+ '[class.onemrva-clickable-row]': 'true',
506
+ '(click)': 'click()',
507
+ },
541
508
  }]
542
- }], propDecorators: { matRowClickable: [{
543
- type: Output
544
- }], click: [{
545
- type: HostListener,
546
- args: ['click', ['$event']]
547
- }], _isClickable: [{
548
- type: HostBinding,
549
- args: ['class.clickable']
550
- }], cssClass: [{
551
- type: HostBinding,
552
- args: ['class.onemrva-clickable-row']
553
- }] } });
509
+ }], propDecorators: { matRowClickable: [{ type: i0.Output, args: ["matRowClickable"] }], clickable: [{ type: i0.Input, args: [{ isSignal: true, alias: "clickable", required: false }] }] } });
554
510
 
555
511
  /**
556
512
  * Conditionally adds component to the tree if screen width matches at least one size in input
@@ -560,10 +516,11 @@ class IfWidthIsDirective {
560
516
  this.breakpointObserver = inject(BreakpointObserver);
561
517
  this._templateRef = inject(TemplateRef);
562
518
  this._viewContainer = inject(ViewContainerRef);
519
+ this.ifWidthIs = input.required(...(ngDevMode ? [{ debugName: "ifWidthIs" }] : []));
563
520
  }
564
521
  ngOnInit() {
565
522
  this.breakpointObserver
566
- .observe([...this.ifWidthIs])
523
+ .observe([...this.ifWidthIs()])
567
524
  .subscribe((state) => {
568
525
  this._viewContainer.clear();
569
526
  if (state.matches) {
@@ -571,18 +528,16 @@ class IfWidthIsDirective {
571
528
  }
572
529
  });
573
530
  }
574
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: IfWidthIsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
575
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: IfWidthIsDirective, isStandalone: true, selector: "[ifWidthIs]", inputs: { ifWidthIs: "ifWidthIs" }, ngImport: i0 }); }
531
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: IfWidthIsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
532
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.1", type: IfWidthIsDirective, isStandalone: true, selector: "[ifWidthIs]", inputs: { ifWidthIs: { classPropertyName: "ifWidthIs", publicName: "ifWidthIs", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 }); }
576
533
  }
577
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: IfWidthIsDirective, decorators: [{
534
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: IfWidthIsDirective, decorators: [{
578
535
  type: Directive,
579
536
  args: [{
580
537
  selector: '[ifWidthIs]',
581
538
  standalone: true,
582
539
  }]
583
- }], propDecorators: { ifWidthIs: [{
584
- type: Input
585
- }] } });
540
+ }], propDecorators: { ifWidthIs: [{ type: i0.Input, args: [{ isSignal: true, alias: "ifWidthIs", required: true }] }] } });
586
541
 
587
542
  const UNDO_STACK_MAX_LENGTH = 50;
588
543
  /**
@@ -595,6 +550,7 @@ const UNDO_STACK_MAX_LENGTH = 50;
595
550
  class OnemrvaMaskDirective {
596
551
  constructor() {
597
552
  this.el = inject(ElementRef);
553
+ this.onemrvamask = input.required(...(ngDevMode ? [{ debugName: "onemrvamask" }] : []));
598
554
  this.inputStack = ['']; // Stack for undo/redo
599
555
  this.stackIdx = 0; // Current index in undo/redo stack
600
556
  this.markForDelete = false;
@@ -651,7 +607,7 @@ class OnemrvaMaskDirective {
651
607
  */
652
608
  if (this.markForDelete) {
653
609
  const isCompliantAfterDeletion = [...this.el.nativeElement.value].findIndex((char, idx) => {
654
- const rule = this.onemrvamask[idx];
610
+ const rule = this.onemrvamask()[idx];
655
611
  if (rule === null || rule === undefined)
656
612
  return true;
657
613
  if (isNaN(char) && char.toLowerCase() === char.toUpperCase())
@@ -668,19 +624,19 @@ class OnemrvaMaskDirective {
668
624
  .filter(char => isAllowed('A', char)) // Necessary when several special char in a row
669
625
  .reduce((newValue, char) => {
670
626
  let idx = newValue.length;
671
- const rule = this.onemrvamask[idx];
627
+ const rule = this.onemrvamask()[idx];
672
628
  if (rule === null || rule === undefined)
673
629
  return newValue;
674
630
  newValue = !isAllowed(rule, char) ? newValue : newValue + char;
675
631
  // Add all trailing special characters
676
- let nextRule = this.onemrvamask[++idx];
632
+ let nextRule = this.onemrvamask()[++idx];
677
633
  let i = 0;
678
634
  while (nextRule !== null &&
679
635
  nextRule !== undefined &&
680
636
  ['0', 'A', 'S', 'U', 'L'].indexOf(nextRule) < 0) {
681
637
  i++;
682
638
  newValue += nextRule;
683
- nextRule = this.onemrvamask[++idx];
639
+ nextRule = this.onemrvamask()[++idx];
684
640
  if (i > 50)
685
641
  break;
686
642
  }
@@ -689,12 +645,12 @@ class OnemrvaMaskDirective {
689
645
  this.el.nativeElement.value = compliantValue;
690
646
  // Step 3 - Find the new cursor position. If the last new character is just before special character, move the caret after
691
647
  let idx = selectionStart;
692
- let nextRule = this.onemrvamask[idx];
648
+ let nextRule = this.onemrvamask()[idx];
693
649
  while (nextRule !== null &&
694
650
  nextRule !== undefined &&
695
651
  ['0', 'A', 'S', 'U', 'L'].indexOf(nextRule) < 0) {
696
652
  idx++;
697
- nextRule = this.onemrvamask[idx];
653
+ nextRule = this.onemrvamask()[idx];
698
654
  if (nextRule !== null &&
699
655
  nextRule &&
700
656
  ['0', 'A', 'S', 'U', 'L'].indexOf(nextRule) < 0) {
@@ -724,7 +680,7 @@ class OnemrvaMaskDirective {
724
680
  * If the user tries to delete '/', the caret will move just before ')'
725
681
  */
726
682
  while (i > 0) {
727
- const previousRule = this.onemrvamask[i - 1];
683
+ const previousRule = this.onemrvamask()[i - 1];
728
684
  if (['0', 'A', 'S', 'U', 'L'].indexOf(previousRule) < 0) {
729
685
  i--;
730
686
  }
@@ -736,24 +692,20 @@ class OnemrvaMaskDirective {
736
692
  }
737
693
  this.markForDelete = false;
738
694
  }
739
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemrvaMaskDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
740
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: OnemrvaMaskDirective, isStandalone: true, selector: "[onemrvamask]", inputs: { onemrvamask: "onemrvamask" }, host: { listeners: { "keydown": "onKeyDown($event)", "input": "onInput($event)" } }, ngImport: i0 }); }
695
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemrvaMaskDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
696
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.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 }); }
741
697
  }
742
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemrvaMaskDirective, decorators: [{
698
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemrvaMaskDirective, decorators: [{
743
699
  type: Directive,
744
700
  args: [{
745
701
  selector: '[onemrvamask]',
746
702
  standalone: true,
703
+ host: {
704
+ '(keydown)': 'onKeyDown($event)',
705
+ '(input)': 'onInput($event)',
706
+ },
747
707
  }]
748
- }], propDecorators: { onemrvamask: [{
749
- type: Input
750
- }], onKeyDown: [{
751
- type: HostListener,
752
- args: ['keydown', ['$event']]
753
- }], onInput: [{
754
- type: HostListener,
755
- args: ['input', ['$event']]
756
- }] } });
708
+ }], propDecorators: { onemrvamask: [{ type: i0.Input, args: [{ isSignal: true, alias: "onemrvamask", required: true }] }] } });
757
709
  function isAllowed(rule, character) {
758
710
  switch (rule) {
759
711
  // Any digit
@@ -786,57 +738,57 @@ function isAllowed(rule, character) {
786
738
  */
787
739
  class OnemRvaClipboardDirective {
788
740
  constructor() {
789
- this.elementRef = inject(ElementRef);
790
- this.renderer = inject(Renderer2);
791
- this.factory = inject(ComponentFactoryResolver);
741
+ this.elementRef = inject((ElementRef));
792
742
  this.vcRef = inject(ViewContainerRef);
793
- this.clipboardService = inject(Clipboard);
794
- this.class = '';
795
- this.clipboard = '';
796
- const miFactory = this.factory.resolveComponentFactory(ClipboardIconComponent);
797
- this.icon = this.vcRef.createComponent(miFactory);
798
- this.iconEl = this.icon.injector.get(ClipboardIconComponent)._elementRef.nativeElement;
743
+ this.destroyRef = inject(DestroyRef);
744
+ this.clipboard = input.required(...(ngDevMode ? [{ debugName: "clipboard" }] : []));
745
+ this.hostClass = signal('', ...(ngDevMode ? [{ debugName: "hostClass" }] : []));
746
+ this.iconRef = null;
747
+ this.destroyRef.onDestroy(() => {
748
+ this.iconRef?.destroy();
749
+ this.iconRef = null;
750
+ });
799
751
  }
800
- ngOnInit() {
752
+ ngAfterViewInit() {
753
+ this.initializeClipboardIcon();
754
+ }
755
+ initializeClipboardIcon() {
801
756
  this.vcRef.clear();
802
- this.renderer.appendChild(this.elementRef.nativeElement, this.iconEl);
757
+ this.iconRef = this.vcRef.createComponent(ClipboardIconComponent);
758
+ const iconElement = this.iconRef.location.nativeElement;
759
+ this.elementRef.nativeElement.appendChild(iconElement);
803
760
  }
804
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemRvaClipboardDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
805
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: OnemRvaClipboardDirective, isStandalone: true, selector: "span[clipboard]", inputs: { clipboard: "clipboard" }, host: { properties: { "class": "this.class" } }, ngImport: i0 }); }
761
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemRvaClipboardDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
762
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.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 }); }
806
763
  }
807
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemRvaClipboardDirective, decorators: [{
764
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemRvaClipboardDirective, decorators: [{
808
765
  type: Directive,
809
766
  args: [{
810
767
  selector: 'span[clipboard]',
811
768
  standalone: true,
769
+ host: {
770
+ '[class]': 'hostClass()',
771
+ role: 'button',
772
+ tabindex: '0',
773
+ '[attr.aria-label]': '"Copy to clipboard"',
774
+ },
812
775
  }]
813
- }], ctorParameters: () => [], propDecorators: { class: [{
814
- type: HostBinding,
815
- args: ['class']
816
- }], clipboard: [{
817
- type: Input
818
- }] } });
776
+ }], ctorParameters: () => [], propDecorators: { clipboard: [{ type: i0.Input, args: [{ isSignal: true, alias: "clipboard", required: true }] }] } });
819
777
 
820
- /**
821
- * Conditionally adds component to the tree if screen width matches at least one size in input
822
- */
823
778
  class OnemRvaIconRightDirective {
824
- constructor() {
825
- this.class = true;
826
- }
827
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemRvaIconRightDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
828
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: OnemRvaIconRightDirective, isStandalone: true, selector: "button[iconRight]", host: { properties: { "class.onemrva-icon-right": "this.class" } }, ngImport: i0 }); }
779
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemRvaIconRightDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
780
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.1", type: OnemRvaIconRightDirective, isStandalone: true, selector: "button[iconRight]", host: { classAttribute: "onemrva-icon-right" }, ngImport: i0 }); }
829
781
  }
830
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemRvaIconRightDirective, decorators: [{
782
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemRvaIconRightDirective, decorators: [{
831
783
  type: Directive,
832
784
  args: [{
833
785
  selector: 'button[iconRight]',
834
786
  standalone: true,
787
+ host: {
788
+ class: 'onemrva-icon-right',
789
+ },
835
790
  }]
836
- }], propDecorators: { class: [{
837
- type: HostBinding,
838
- args: ['class.onemrva-icon-right']
839
- }] } });
791
+ }] });
840
792
 
841
793
  class OnemrvaDateFormatDirective {
842
794
  constructor() {
@@ -845,15 +797,13 @@ class OnemrvaDateFormatDirective {
845
797
  }
846
798
  onPaste(event) {
847
799
  const input = this.el.nativeElement;
848
- // Get pasted content
849
800
  const pasted = event.clipboardData?.getData('text/plain') || '';
850
801
  const digitsOnly = pasted.replace(/\D/g, '');
851
802
  if (!digitsOnly) {
852
- event.preventDefault(); // Ignore invalid paste
803
+ event.preventDefault();
853
804
  return;
854
805
  }
855
- event.preventDefault(); // Stop default paste
856
- // Start at current caret position
806
+ event.preventDefault();
857
807
  let pos = input.selectionStart ?? 0;
858
808
  const chars = input.value.split('');
859
809
  let digitIndex = 0;
@@ -867,30 +817,23 @@ class OnemrvaDateFormatDirective {
867
817
  }
868
818
  input.value = chars.join('');
869
819
  this.emitInputEvent(input);
870
- // Set caret after the last replaced character
871
820
  this.setCaretToNextEditable(pos);
872
821
  }
873
822
  onCut(event) {
874
823
  const input = this.el.nativeElement;
875
824
  const start = input.selectionStart ?? 0;
876
825
  const end = input.selectionEnd ?? 0;
877
- // Capture the selected value (optional: log or store it)
878
826
  const cutText = input.value.substring(start, end);
879
- // Replace the selected portion with underscores (skip slashes)
880
827
  const chars = input.value.split('');
881
828
  for (let i = start; i < end; i++) {
882
829
  if (this.template[i] !== '/') {
883
830
  chars[i] = '_';
884
831
  }
885
832
  }
886
- // Update input value
887
833
  input.value = chars.join('');
888
834
  this.emitInputEvent(input);
889
- // Move caret to next editable position
890
835
  this.setCaretToNextEditable(start);
891
- // Prevent default cut behavior from modifying content further
892
836
  event.preventDefault();
893
- // ✅ Optionally copy to clipboard manually (optional)
894
837
  if (event.clipboardData) {
895
838
  event.clipboardData.setData('text/plain', cutText.replace(/\//g, ''));
896
839
  }
@@ -904,7 +847,6 @@ class OnemrvaDateFormatDirective {
904
847
  }
905
848
  onClick() {
906
849
  const input = this.el.nativeElement;
907
- // Only reposition the caret if there's no selection (start === end)
908
850
  const selectionStart = input.selectionStart ?? 0;
909
851
  const selectionEnd = input.selectionEnd ?? 0;
910
852
  if (selectionStart === selectionEnd) {
@@ -920,22 +862,19 @@ class OnemrvaDateFormatDirective {
920
862
  const input = this.el.nativeElement;
921
863
  let pos = input.selectionStart ?? 0;
922
864
  const allowedCtrlShortcuts = ['a', 'c', 'x', 'v'];
923
- if (event.ctrlKey && allowedCtrlShortcuts.indexOf(event.key) >= 0) {
865
+ if (event.ctrlKey && allowedCtrlShortcuts.includes(event.key)) {
924
866
  if (event.key === 'x' && input.value === '') {
925
867
  input.value = this.template;
926
868
  this.emitInputEvent(input);
927
869
  }
928
870
  return;
929
871
  }
930
- // Allow navigation
931
872
  if (['ArrowLeft', 'ArrowRight', 'Tab'].includes(event.key))
932
873
  return;
933
- // Handle Backspace or Delete with selection
934
874
  if (event.key === 'Backspace' || event.key === 'Delete') {
935
875
  event.preventDefault();
936
876
  const start = input.selectionStart ?? 0;
937
877
  const end = input.selectionEnd ?? start;
938
- // If there's a selection
939
878
  if (end > start) {
940
879
  const chars = input.value.split('');
941
880
  for (let i = start; i < end; i++) {
@@ -948,7 +887,6 @@ class OnemrvaDateFormatDirective {
948
887
  this.setCaretToNextEditable(start);
949
888
  return;
950
889
  }
951
- // If no selection, handle as usual (delete previous or next char)
952
890
  let pos = start;
953
891
  if (event.key === 'Backspace' && pos > 0) {
954
892
  do {
@@ -969,14 +907,9 @@ class OnemrvaDateFormatDirective {
969
907
  return;
970
908
  }
971
909
  }
972
- // Handle Slash `/` key
973
- if (event.key === '/' ||
974
- event.key === '.' ||
975
- event.key === '-' ||
976
- event.key === ' ') {
910
+ if (['/', '.', '-', ' '].includes(event.key)) {
977
911
  event.preventDefault();
978
912
  if (pos === 1 || pos === 4) {
979
- // Typing `/` at end of day field
980
913
  const currentVal = input.value.substring(pos - 1, pos);
981
914
  if (!currentVal.includes('_')) {
982
915
  this.replaceCharAt(input, pos - 1, '0');
@@ -985,11 +918,8 @@ class OnemrvaDateFormatDirective {
985
918
  return;
986
919
  }
987
920
  }
988
- // Default: just skip to next editable section if allowed
989
- //this.setCaretToNextEditable(pos + 1);
990
921
  return;
991
922
  }
992
- // Handle Backspace
993
923
  if (event.key === 'Backspace') {
994
924
  event.preventDefault();
995
925
  if (pos === 0)
@@ -1002,17 +932,14 @@ class OnemrvaDateFormatDirective {
1002
932
  this.emitInputEvent(input);
1003
933
  return;
1004
934
  }
1005
- // Allow only digits
1006
935
  if (!/^\d$/.test(event.key)) {
1007
936
  event.preventDefault();
1008
937
  return;
1009
938
  }
1010
- // Prevent typing beyond mask
1011
939
  if (pos >= this.template.length) {
1012
940
  event.preventDefault();
1013
941
  return;
1014
942
  }
1015
- // Skip slashes forward
1016
943
  while (this.template[pos] === '/' && pos < this.template.length) {
1017
944
  pos++;
1018
945
  }
@@ -1021,12 +948,10 @@ class OnemrvaDateFormatDirective {
1021
948
  this.setCaretToNextEditable(pos + 1);
1022
949
  this.emitInputEvent(input);
1023
950
  }
951
+ onBlur() { } // eslint-disable-line @typescript-eslint/no-empty-function
1024
952
  emitInputEvent(input) {
1025
953
  input.dispatchEvent(new Event('input', { bubbles: true }));
1026
954
  }
1027
- onBlur() {
1028
- // Optionally keep the mask visible on blur — do nothing
1029
- }
1030
955
  replaceCharAt(input, index, char) {
1031
956
  const value = input.value.split('');
1032
957
  value[index] = char;
@@ -1039,55 +964,34 @@ class OnemrvaDateFormatDirective {
1039
964
  }
1040
965
  input.setSelectionRange(pos, pos);
1041
966
  }
1042
- sanitizeDateInput(input) {
1043
- if (typeof input !== 'string')
1044
- return '';
1045
- return input
1046
- .replace(/[.\s-]/g, '/') // Replace dot, space, dash with slash
1047
- .replace(/[^0-9/]/g, '')
1048
- .replace('//', ''); // Remove everything except digits and slash
1049
- }
1050
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemrvaDateFormatDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1051
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", 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 }); }
967
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemrvaDateFormatDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
968
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.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 }); }
1052
969
  }
1053
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemrvaDateFormatDirective, decorators: [{
970
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemrvaDateFormatDirective, decorators: [{
1054
971
  type: Directive,
1055
972
  args: [{
1056
973
  selector: '[onemrvaDateFormat]',
1057
974
  standalone: true,
975
+ host: {
976
+ '(paste)': 'onPaste($event)',
977
+ '(cut)': 'onCut($event)',
978
+ '(focus)': 'onFocus()',
979
+ '(click)': 'onClick()',
980
+ '(keydown)': 'onKeyDown($event)',
981
+ '(blur)': 'onBlur()',
982
+ },
1058
983
  }]
1059
- }], propDecorators: { onPaste: [{
1060
- type: HostListener,
1061
- args: ['paste', ['$event']]
1062
- }], onCut: [{
1063
- type: HostListener,
1064
- args: ['cut', ['$event']]
1065
- }], onFocus: [{
1066
- type: HostListener,
1067
- args: ['focus']
1068
- }], onClick: [{
1069
- type: HostListener,
1070
- args: ['click']
1071
- }], onKeyDown: [{
1072
- type: HostListener,
1073
- args: ['keydown', ['$event']]
1074
- }], onBlur: [{
1075
- type: HostListener,
1076
- args: ['blur']
1077
- }] } });
984
+ }] });
1078
985
 
1079
986
  class OnemRvaReadonlyDirective {
1080
987
  constructor() {
1081
988
  this.readonly = input(true, ...(ngDevMode ? [{ debugName: "readonly" }] : []));
989
+ this.isReadOnly = computed(() => this.readonly(), ...(ngDevMode ? [{ debugName: "isReadOnly" }] : []));
1082
990
  }
1083
- /** @hidden @internal */
1084
- get isReadOnly() {
1085
- return this.readonly();
1086
- }
1087
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemRvaReadonlyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1088
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.15", 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": "this.isReadOnly" } }, ngImport: i0 }); }
991
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemRvaReadonlyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
992
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.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 }); }
1089
993
  }
1090
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemRvaReadonlyDirective, decorators: [{
994
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemRvaReadonlyDirective, decorators: [{
1091
995
  type: Directive,
1092
996
  args: [{
1093
997
  selector: 'form[readonly], ' +
@@ -1102,66 +1006,38 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
1102
1006
  'onemrva-mat-input-country[readonly],' +
1103
1007
  'onemrva-mat-input-enterprise-number[readonly]',
1104
1008
  standalone: true,
1009
+ host: {
1010
+ '[class.onemrva-readonly]': 'isReadOnly()',
1011
+ },
1105
1012
  }]
1106
- }], propDecorators: { readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], isReadOnly: [{
1107
- type: HostBinding,
1108
- args: ['class.onemrva-readonly']
1109
- }] } });
1013
+ }], propDecorators: { readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }] } });
1110
1014
 
1111
- /**
1112
- * Conditionally adds component to the tree if screen width matches at least one size in input
1113
- */
1114
1015
  class OnemRvaSizeDirective {
1115
1016
  constructor() {
1116
- this.size = '';
1117
- }
1118
- /** @hidden @internal */
1119
- get _isXSmall() {
1120
- return this.size === OnemrvaMatSize.XSMALL;
1121
- }
1122
- /** @hidden @internal */
1123
- get _isSmall() {
1124
- return this.size === OnemrvaMatSize.SMALL;
1125
- }
1126
- /** @hidden @internal */
1127
- get _isLarge() {
1128
- return this.size === OnemrvaMatSize.LARGE;
1129
- }
1130
- /** @hidden @internal */
1131
- get _isXLarge() {
1132
- return this.size === OnemrvaMatSize.XLARGE;
1133
- }
1134
- /** @hidden @internal */
1135
- get _isXXLarge() {
1136
- return this.size === OnemrvaMatSize.XXLARGE;
1137
- }
1138
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemRvaSizeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1139
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: OnemRvaSizeDirective, isStandalone: true, selector: "mat-icon[size], onemrva-mat-skeleton[size], onemrva-mat-avatar[size], button[size]", inputs: { size: "size" }, host: { properties: { "class.xsmall": "this._isXSmall", "class.small": "this._isSmall", "class.large": "this._isLarge", "class.xlarge": "this._isXLarge", "class.xxlarge": "this._isXXLarge" } }, ngImport: i0 }); }
1017
+ this.size = input('', ...(ngDevMode ? [{ debugName: "size" }] : []));
1018
+ this.isXSmall = computed(() => this.size() === OnemrvaMatSize.XSMALL, ...(ngDevMode ? [{ debugName: "isXSmall" }] : []));
1019
+ this.isSmall = computed(() => this.size() === OnemrvaMatSize.SMALL, ...(ngDevMode ? [{ debugName: "isSmall" }] : []));
1020
+ this.isLarge = computed(() => this.size() === OnemrvaMatSize.LARGE, ...(ngDevMode ? [{ debugName: "isLarge" }] : []));
1021
+ this.isXLarge = computed(() => this.size() === OnemrvaMatSize.XLARGE, ...(ngDevMode ? [{ debugName: "isXLarge" }] : []));
1022
+ this.isXXLarge = computed(() => this.size() === OnemrvaMatSize.XXLARGE, ...(ngDevMode ? [{ debugName: "isXXLarge" }] : []));
1023
+ }
1024
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemRvaSizeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1025
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.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 }); }
1140
1026
  }
1141
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemRvaSizeDirective, decorators: [{
1027
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemRvaSizeDirective, decorators: [{
1142
1028
  type: Directive,
1143
1029
  args: [{
1144
1030
  selector: 'mat-icon[size], onemrva-mat-skeleton[size], onemrva-mat-avatar[size], button[size]',
1145
1031
  standalone: true,
1032
+ host: {
1033
+ '[class.xsmall]': 'isXSmall()',
1034
+ '[class.small]': 'isSmall()',
1035
+ '[class.large]': 'isLarge()',
1036
+ '[class.xlarge]': 'isXLarge()',
1037
+ '[class.xxlarge]': 'isXXLarge()',
1038
+ },
1146
1039
  }]
1147
- }], propDecorators: { size: [{
1148
- type: Input
1149
- }], _isXSmall: [{
1150
- type: HostBinding,
1151
- args: ['class.xsmall']
1152
- }], _isSmall: [{
1153
- type: HostBinding,
1154
- args: ['class.small']
1155
- }], _isLarge: [{
1156
- type: HostBinding,
1157
- args: ['class.large']
1158
- }], _isXLarge: [{
1159
- type: HostBinding,
1160
- args: ['class.xlarge']
1161
- }], _isXXLarge: [{
1162
- type: HostBinding,
1163
- args: ['class.xxlarge']
1164
- }] } });
1040
+ }], propDecorators: { size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }] } });
1165
1041
 
1166
1042
  const directives = [
1167
1043
  DigitOnlyDirective,
@@ -1283,10 +1159,10 @@ class OnemrvaBcePipe {
1283
1159
  return '?01?.???.???';
1284
1160
  return `${strOut.substring(0, 4)}.${strOut.substring(4, 7)}.${strOut.substring(7, 10)}`;
1285
1161
  }
1286
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemrvaBcePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
1287
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.15", ngImport: i0, type: OnemrvaBcePipe, isStandalone: true, name: "onemrvaBce" }); }
1162
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemrvaBcePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
1163
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.1.1", ngImport: i0, type: OnemrvaBcePipe, isStandalone: true, name: "onemrvaBce" }); }
1288
1164
  }
1289
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemrvaBcePipe, decorators: [{
1165
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemrvaBcePipe, decorators: [{
1290
1166
  type: Pipe,
1291
1167
  args: [{
1292
1168
  name: 'onemrvaBce',
@@ -1301,10 +1177,10 @@ class OnemrvaNissPipe {
1301
1177
  return '??01??/???-??';
1302
1178
  return `${strOut.substring(0, 6)}/${strOut.substring(6, 9)}-${strOut.substring(9, 11)}`;
1303
1179
  }
1304
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemrvaNissPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
1305
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.15", ngImport: i0, type: OnemrvaNissPipe, isStandalone: true, name: "onemrvaNiss" }); }
1180
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemrvaNissPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
1181
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.1.1", ngImport: i0, type: OnemrvaNissPipe, isStandalone: true, name: "onemrvaNiss" }); }
1306
1182
  }
1307
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemrvaNissPipe, decorators: [{
1183
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemrvaNissPipe, decorators: [{
1308
1184
  type: Pipe,
1309
1185
  args: [{
1310
1186
  name: 'onemrvaNiss',
@@ -1336,10 +1212,10 @@ class CommonCountryLookupService {
1336
1212
  return country || null;
1337
1213
  }));
1338
1214
  }
1339
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CommonCountryLookupService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1340
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CommonCountryLookupService, providedIn: 'root' }); }
1215
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CommonCountryLookupService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1216
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CommonCountryLookupService, providedIn: 'root' }); }
1341
1217
  }
1342
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CommonCountryLookupService, decorators: [{
1218
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CommonCountryLookupService, decorators: [{
1343
1219
  type: Injectable,
1344
1220
  args: [{
1345
1221
  providedIn: 'root',
@@ -1364,10 +1240,10 @@ class CacheService {
1364
1240
  //console.log("DELETE " + key);
1365
1241
  localStorage.removeItem(key);
1366
1242
  }
1367
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CacheService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1368
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CacheService, providedIn: 'root' }); }
1243
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CacheService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1244
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CacheService, providedIn: 'root' }); }
1369
1245
  }
1370
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CacheService, decorators: [{
1246
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CacheService, decorators: [{
1371
1247
  type: Injectable,
1372
1248
  args: [{
1373
1249
  providedIn: 'root',
@@ -1455,8 +1331,8 @@ class OnemRvaCDNService {
1455
1331
  this.renderer.appendChild(document.head, link);
1456
1332
  });
1457
1333
  }
1458
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemRvaCDNService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1459
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemRvaCDNService, providedIn: 'root' }); }
1334
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemRvaCDNService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1335
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemRvaCDNService, providedIn: 'root' }); }
1460
1336
  }
1461
1337
  __decorate([
1462
1338
  HttpRequestCache(cdnService => ({
@@ -1465,7 +1341,7 @@ __decorate([
1465
1341
  ttl: 3600000,
1466
1342
  }))
1467
1343
  ], OnemRvaCDNService.prototype, "fetch", null);
1468
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemRvaCDNService, decorators: [{
1344
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemRvaCDNService, decorators: [{
1469
1345
  type: Injectable,
1470
1346
  args: [{
1471
1347
  providedIn: 'root',
@@ -1524,10 +1400,10 @@ class OnemRvaCDNCountryService {
1524
1400
  });
1525
1401
  }));
1526
1402
  }
1527
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemRvaCDNCountryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1528
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemRvaCDNCountryService, providedIn: 'root' }); }
1403
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemRvaCDNCountryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1404
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemRvaCDNCountryService, providedIn: 'root' }); }
1529
1405
  }
1530
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemRvaCDNCountryService, decorators: [{
1406
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemRvaCDNCountryService, decorators: [{
1531
1407
  type: Injectable,
1532
1408
  args: [{
1533
1409
  providedIn: 'root',
@@ -1565,10 +1441,10 @@ class OnemRvaCDNMimeService {
1565
1441
  });
1566
1442
  }));
1567
1443
  }
1568
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemRvaCDNMimeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1569
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemRvaCDNMimeService, providedIn: 'root' }); }
1444
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemRvaCDNMimeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1445
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemRvaCDNMimeService, providedIn: 'root' }); }
1570
1446
  }
1571
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemRvaCDNMimeService, decorators: [{
1447
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemRvaCDNMimeService, decorators: [{
1572
1448
  type: Injectable,
1573
1449
  args: [{
1574
1450
  providedIn: 'root',
@@ -1590,10 +1466,10 @@ class OnemRvaOSMService {
1590
1466
  .set('limit', limit);
1591
1467
  return this.http.get(this.nominatimUrl, { params });
1592
1468
  }
1593
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemRvaOSMService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1594
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemRvaOSMService, providedIn: 'root' }); }
1469
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemRvaOSMService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1470
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemRvaOSMService, providedIn: 'root' }); }
1595
1471
  }
1596
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemRvaOSMService, decorators: [{
1472
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemRvaOSMService, decorators: [{
1597
1473
  type: Injectable,
1598
1474
  args: [{
1599
1475
  providedIn: 'root',
@@ -1611,10 +1487,10 @@ class OnemrvaErrorHandler {
1611
1487
  // verticalPosition: this.verticalPosition,
1612
1488
  // });
1613
1489
  }
1614
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemrvaErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1615
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemrvaErrorHandler }); }
1490
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemrvaErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1491
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemrvaErrorHandler }); }
1616
1492
  }
1617
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemrvaErrorHandler, decorators: [{
1493
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemrvaErrorHandler, decorators: [{
1618
1494
  type: Injectable
1619
1495
  }] });
1620
1496
 
@@ -1778,11 +1654,11 @@ const phoneNumberValidator = () => {
1778
1654
  };
1779
1655
 
1780
1656
  class OnemrvaSharedModule {
1781
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemrvaSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1782
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.15", ngImport: i0, type: OnemrvaSharedModule, imports: [DigitOnlyDirective, MatRowClickableDirective, OnemRvaClipboardDirective, OnemRvaIconRightDirective, IfWidthIsDirective, OnemRvaColorDirective, OnemrvaMaskDirective, OnemrvaDateFormatDirective, OnemRvaReadonlyDirective], exports: [DigitOnlyDirective, MatRowClickableDirective, OnemRvaClipboardDirective, OnemRvaIconRightDirective, IfWidthIsDirective, OnemRvaColorDirective, OnemrvaMaskDirective, OnemrvaDateFormatDirective, OnemRvaReadonlyDirective] }); }
1783
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemrvaSharedModule }); }
1657
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemrvaSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1658
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.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] }); }
1659
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemrvaSharedModule }); }
1784
1660
  }
1785
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemrvaSharedModule, decorators: [{
1661
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemrvaSharedModule, decorators: [{
1786
1662
  type: NgModule,
1787
1663
  args: [{
1788
1664
  imports: [...directives],
@@ -1842,10 +1718,10 @@ class OnemrvaNativeDateAdapter extends NativeDateAdapter {
1842
1718
  this.destroyNotifier$.next();
1843
1719
  this.destroyNotifier$.complete();
1844
1720
  }
1845
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemrvaNativeDateAdapter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1846
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemrvaNativeDateAdapter }); }
1721
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemrvaNativeDateAdapter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1722
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemrvaNativeDateAdapter }); }
1847
1723
  }
1848
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemrvaNativeDateAdapter, decorators: [{
1724
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemrvaNativeDateAdapter, decorators: [{
1849
1725
  type: Injectable
1850
1726
  }], ctorParameters: () => [] });
1851
1727
 
@@ -2108,10 +1984,10 @@ class OnemrvaLuxonDateAdapter extends DateAdapter {
2108
1984
  outputCalendar: this._defaultOutputCalendar,
2109
1985
  };
2110
1986
  }
2111
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemrvaLuxonDateAdapter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2112
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemrvaLuxonDateAdapter }); }
1987
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemrvaLuxonDateAdapter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1988
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemrvaLuxonDateAdapter }); }
2113
1989
  }
2114
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemrvaLuxonDateAdapter, decorators: [{
1990
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: OnemrvaLuxonDateAdapter, decorators: [{
2115
1991
  type: Injectable
2116
1992
  }], ctorParameters: () => [] });
2117
1993