@onemrvapublic/design-system 19.2.0-develop.15 → 19.2.0-develop.17

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 (75) hide show
  1. package/fesm2022/onemrvapublic-design-system-flag-icon.mjs +3 -3
  2. package/fesm2022/onemrvapublic-design-system-flag-icon.mjs.map +1 -1
  3. package/fesm2022/onemrvapublic-design-system-layout.mjs +52 -52
  4. package/fesm2022/onemrvapublic-design-system-layout.mjs.map +1 -1
  5. package/fesm2022/onemrvapublic-design-system-mat-avatar.mjs +7 -7
  6. package/fesm2022/onemrvapublic-design-system-mat-avatar.mjs.map +1 -1
  7. package/fesm2022/onemrvapublic-design-system-mat-breadcrumb.mjs +10 -10
  8. package/fesm2022/onemrvapublic-design-system-mat-breadcrumb.mjs.map +1 -1
  9. package/fesm2022/onemrvapublic-design-system-mat-carousel.mjs +6 -6
  10. package/fesm2022/onemrvapublic-design-system-mat-carousel.mjs.map +1 -1
  11. package/fesm2022/onemrvapublic-design-system-mat-copy-to-clipboard.mjs +3 -3
  12. package/fesm2022/onemrvapublic-design-system-mat-copy-to-clipboard.mjs.map +1 -1
  13. package/fesm2022/onemrvapublic-design-system-mat-datepicker-header.mjs +3 -3
  14. package/fesm2022/onemrvapublic-design-system-mat-datepicker-header.mjs.map +1 -1
  15. package/fesm2022/onemrvapublic-design-system-mat-empty-row.mjs +3 -3
  16. package/fesm2022/onemrvapublic-design-system-mat-empty-row.mjs.map +1 -1
  17. package/fesm2022/onemrvapublic-design-system-mat-file-upload.mjs +19 -19
  18. package/fesm2022/onemrvapublic-design-system-mat-file-upload.mjs.map +1 -1
  19. package/fesm2022/onemrvapublic-design-system-mat-input-address.mjs +3 -3
  20. package/fesm2022/onemrvapublic-design-system-mat-input-address.mjs.map +1 -1
  21. package/fesm2022/onemrvapublic-design-system-mat-input-birthplace.mjs +6 -6
  22. package/fesm2022/onemrvapublic-design-system-mat-input-birthplace.mjs.map +1 -1
  23. package/fesm2022/onemrvapublic-design-system-mat-input-country.mjs +3 -3
  24. package/fesm2022/onemrvapublic-design-system-mat-input-country.mjs.map +1 -1
  25. package/fesm2022/onemrvapublic-design-system-mat-input-enterprise-number.mjs +3 -3
  26. package/fesm2022/onemrvapublic-design-system-mat-input-enterprise-number.mjs.map +1 -1
  27. package/fesm2022/onemrvapublic-design-system-mat-input-iban.mjs +3 -3
  28. package/fesm2022/onemrvapublic-design-system-mat-input-iban.mjs.map +1 -1
  29. package/fesm2022/onemrvapublic-design-system-mat-input-phone.mjs +6 -6
  30. package/fesm2022/onemrvapublic-design-system-mat-input-phone.mjs.map +1 -1
  31. package/fesm2022/onemrvapublic-design-system-mat-message-box.mjs +7 -7
  32. package/fesm2022/onemrvapublic-design-system-mat-message-box.mjs.map +1 -1
  33. package/fesm2022/onemrvapublic-design-system-mat-multi-select.mjs +7 -7
  34. package/fesm2022/onemrvapublic-design-system-mat-multi-select.mjs.map +1 -1
  35. package/fesm2022/onemrvapublic-design-system-mat-notification.mjs +3 -3
  36. package/fesm2022/onemrvapublic-design-system-mat-notification.mjs.map +1 -1
  37. package/fesm2022/onemrvapublic-design-system-mat-paginator.mjs +9 -8
  38. package/fesm2022/onemrvapublic-design-system-mat-paginator.mjs.map +1 -1
  39. package/fesm2022/onemrvapublic-design-system-mat-panel.mjs +19 -19
  40. package/fesm2022/onemrvapublic-design-system-mat-panel.mjs.map +1 -1
  41. package/fesm2022/onemrvapublic-design-system-mat-pop-over.mjs +13 -13
  42. package/fesm2022/onemrvapublic-design-system-mat-pop-over.mjs.map +1 -1
  43. package/fesm2022/onemrvapublic-design-system-mat-progress-bar.mjs +3 -3
  44. package/fesm2022/onemrvapublic-design-system-mat-progress-bar.mjs.map +1 -1
  45. package/fesm2022/onemrvapublic-design-system-mat-select-search.mjs +13 -13
  46. package/fesm2022/onemrvapublic-design-system-mat-select-search.mjs.map +1 -1
  47. package/fesm2022/onemrvapublic-design-system-mat-selectable-box.mjs +7 -7
  48. package/fesm2022/onemrvapublic-design-system-mat-selectable-box.mjs.map +1 -1
  49. package/fesm2022/onemrvapublic-design-system-mat-side-menu.mjs +7 -7
  50. package/fesm2022/onemrvapublic-design-system-mat-side-menu.mjs.map +1 -1
  51. package/fesm2022/onemrvapublic-design-system-mat-skeleton.mjs +7 -7
  52. package/fesm2022/onemrvapublic-design-system-mat-skeleton.mjs.map +1 -1
  53. package/fesm2022/onemrvapublic-design-system-mat-spinner.mjs +10 -10
  54. package/fesm2022/onemrvapublic-design-system-mat-spinner.mjs.map +1 -1
  55. package/fesm2022/onemrvapublic-design-system-mat-stepper.mjs +7 -7
  56. package/fesm2022/onemrvapublic-design-system-mat-stepper.mjs.map +1 -1
  57. package/fesm2022/onemrvapublic-design-system-mat-sticker.mjs +7 -7
  58. package/fesm2022/onemrvapublic-design-system-mat-sticker.mjs.map +1 -1
  59. package/fesm2022/onemrvapublic-design-system-mat-table-of-content.mjs +9 -9
  60. package/fesm2022/onemrvapublic-design-system-mat-table-of-content.mjs.map +1 -1
  61. package/fesm2022/onemrvapublic-design-system-mat-task-list.mjs +16 -16
  62. package/fesm2022/onemrvapublic-design-system-mat-task-list.mjs.map +1 -1
  63. package/fesm2022/onemrvapublic-design-system-mat-timepicker.mjs +22 -22
  64. package/fesm2022/onemrvapublic-design-system-mat-timepicker.mjs.map +1 -1
  65. package/fesm2022/onemrvapublic-design-system-mat-toast.mjs +7 -7
  66. package/fesm2022/onemrvapublic-design-system-mat-toast.mjs.map +1 -1
  67. package/fesm2022/onemrvapublic-design-system-mat-tooltip.mjs +10 -10
  68. package/fesm2022/onemrvapublic-design-system-mat-tooltip.mjs.map +1 -1
  69. package/fesm2022/onemrvapublic-design-system-page-error.mjs +6 -6
  70. package/fesm2022/onemrvapublic-design-system-page-error.mjs.map +1 -1
  71. package/fesm2022/onemrvapublic-design-system-page-not-found.mjs +16 -16
  72. package/fesm2022/onemrvapublic-design-system-page-not-found.mjs.map +1 -1
  73. package/fesm2022/onemrvapublic-design-system-shared.mjs +67 -67
  74. package/fesm2022/onemrvapublic-design-system-shared.mjs.map +1 -1
  75. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"onemrvapublic-design-system-mat-sticker.mjs","sources":["../../../../projects/onemrva/design-system/mat-sticker/src/onemrva-mat-sticker.component.ts","../../../../projects/onemrva/design-system/mat-sticker/src/onemrva-mat-sticker.module.ts","../../../../projects/onemrva/design-system/mat-sticker/index.ts","../../../../projects/onemrva/design-system/mat-sticker/onemrvapublic-design-system-mat-sticker.ts"],"sourcesContent":["import { Component, HostBinding, Input } from '@angular/core';\nimport { OnemrvaMatColor } from '@onemrvapublic/design-system/utils';\n\nexport type StickerType =\n | 'info'\n | 'success'\n | 'warn'\n | 'error'\n | 'accent'\n | 'primary'\n | 'grayscale';\n\n@Component({\n selector: 'onemrva-mat-sticker',\n template: ` <ng-content></ng-content>`,\n standalone: true,\n})\nexport class OnemrvaMatStickerComponent {\n @Input()\n color: OnemrvaMatColor = OnemrvaMatColor.PRIMARY;\n\n /** @hidden @internal */\n @HostBinding('class.mat-primary')\n public get _isPrimary(): boolean {\n return this.color === OnemrvaMatColor.PRIMARY;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-accent')\n public get _isAccent(): boolean {\n return this.color === OnemrvaMatColor.ACCENT;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-error')\n public get _isError(): boolean {\n return this.color === OnemrvaMatColor.ERROR;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-warn')\n public get _isWarn(): boolean {\n return this.color === OnemrvaMatColor.WARN;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-success')\n public get _isSuccess(): boolean {\n return this.color === OnemrvaMatColor.SUCCESS;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-info')\n public get _isInfo(): boolean {\n return this.color === OnemrvaMatColor.INFO;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-grayscale')\n public get _isGrayscale(): boolean {\n return this.color === OnemrvaMatColor.GRAYSCALE;\n }\n}\n","import { NgModule } from '@angular/core';\nimport { OnemrvaMatStickerComponent } from './onemrva-mat-sticker.component';\n\n@NgModule({\n declarations: [],\n imports: [OnemrvaMatStickerComponent],\n exports: [OnemrvaMatStickerComponent],\n})\nexport class OnemrvaMatStickerModule {}\n","/*\n * Public API Surface of mat-sticker\n */\n\nexport * from './src/onemrva-mat-sticker.component';\nexport * from './src/onemrva-mat-sticker.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAiBa,0BAA0B,CAAA;AALvC,IAAA,WAAA,GAAA;AAOE,QAAA,IAAA,CAAA,KAAK,GAAoB,eAAe,CAAC,OAAO;AAqCjD;;AAlCC,IAAA,IACW,UAAU,GAAA;AACnB,QAAA,OAAO,IAAI,CAAC,KAAK,KAAK,eAAe,CAAC,OAAO;;;AAG/C,IAAA,IACW,SAAS,GAAA;AAClB,QAAA,OAAO,IAAI,CAAC,KAAK,KAAK,eAAe,CAAC,MAAM;;;AAG9C,IAAA,IACW,QAAQ,GAAA;AACjB,QAAA,OAAO,IAAI,CAAC,KAAK,KAAK,eAAe,CAAC,KAAK;;;AAG7C,IAAA,IACW,OAAO,GAAA;AAChB,QAAA,OAAO,IAAI,CAAC,KAAK,KAAK,eAAe,CAAC,IAAI;;;AAG5C,IAAA,IACW,UAAU,GAAA;AACnB,QAAA,OAAO,IAAI,CAAC,KAAK,KAAK,eAAe,CAAC,OAAO;;;AAG/C,IAAA,IACW,OAAO,GAAA;AAChB,QAAA,OAAO,IAAI,CAAC,KAAK,KAAK,eAAe,CAAC,IAAI;;;AAG5C,IAAA,IACW,YAAY,GAAA;AACrB,QAAA,OAAO,IAAI,CAAC,KAAK,KAAK,eAAe,CAAC,SAAS;;8GArCtC,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA1B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA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ACrC,OAAO,EAAE,CAAC,0BAA0B,CAAC;AACtC,iBAAA;;;ACPD;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"onemrvapublic-design-system-mat-sticker.mjs","sources":["../../../../projects/onemrva/design-system/mat-sticker/src/onemrva-mat-sticker.component.ts","../../../../projects/onemrva/design-system/mat-sticker/src/onemrva-mat-sticker.module.ts","../../../../projects/onemrva/design-system/mat-sticker/index.ts","../../../../projects/onemrva/design-system/mat-sticker/onemrvapublic-design-system-mat-sticker.ts"],"sourcesContent":["import { Component, HostBinding, Input } from '@angular/core';\nimport { OnemrvaMatColor } from '@onemrvapublic/design-system/utils';\n\nexport type StickerType =\n | 'info'\n | 'success'\n | 'warn'\n | 'error'\n | 'accent'\n | 'primary'\n | 'grayscale';\n\n@Component({\n selector: 'onemrva-mat-sticker',\n template: ` <ng-content></ng-content>`,\n standalone: true,\n})\nexport class OnemrvaMatStickerComponent {\n @Input()\n color: OnemrvaMatColor = OnemrvaMatColor.PRIMARY;\n\n /** @hidden @internal */\n @HostBinding('class.mat-primary')\n public get _isPrimary(): boolean {\n return this.color === OnemrvaMatColor.PRIMARY;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-accent')\n public get _isAccent(): boolean {\n return this.color === OnemrvaMatColor.ACCENT;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-error')\n public get _isError(): boolean {\n return this.color === OnemrvaMatColor.ERROR;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-warn')\n public get _isWarn(): boolean {\n return this.color === OnemrvaMatColor.WARN;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-success')\n public get _isSuccess(): boolean {\n return this.color === OnemrvaMatColor.SUCCESS;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-info')\n public get _isInfo(): boolean {\n return this.color === OnemrvaMatColor.INFO;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-grayscale')\n public get _isGrayscale(): boolean {\n return this.color === OnemrvaMatColor.GRAYSCALE;\n }\n}\n","import { NgModule } from '@angular/core';\nimport { OnemrvaMatStickerComponent } from './onemrva-mat-sticker.component';\n\n@NgModule({\n declarations: [],\n imports: [OnemrvaMatStickerComponent],\n exports: [OnemrvaMatStickerComponent],\n})\nexport class OnemrvaMatStickerModule {}\n","/*\n * Public API Surface of mat-sticker\n */\n\nexport * from './src/onemrva-mat-sticker.component';\nexport * from './src/onemrva-mat-sticker.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAiBa,0BAA0B,CAAA;AALvC,IAAA,WAAA,GAAA;AAOE,QAAA,IAAA,CAAA,KAAK,GAAoB,eAAe,CAAC,OAAO;AAqCjD;;AAlCC,IAAA,IACW,UAAU,GAAA;AACnB,QAAA,OAAO,IAAI,CAAC,KAAK,KAAK,eAAe,CAAC,OAAO;;;AAG/C,IAAA,IACW,SAAS,GAAA;AAClB,QAAA,OAAO,IAAI,CAAC,KAAK,KAAK,eAAe,CAAC,MAAM;;;AAG9C,IAAA,IACW,QAAQ,GAAA;AACjB,QAAA,OAAO,IAAI,CAAC,KAAK,KAAK,eAAe,CAAC,KAAK;;;AAG7C,IAAA,IACW,OAAO,GAAA;AAChB,QAAA,OAAO,IAAI,CAAC,KAAK,KAAK,eAAe,CAAC,IAAI;;;AAG5C,IAAA,IACW,UAAU,GAAA;AACnB,QAAA,OAAO,IAAI,CAAC,KAAK,KAAK,eAAe,CAAC,OAAO;;;AAG/C,IAAA,IACW,OAAO,GAAA;AAChB,QAAA,OAAO,IAAI,CAAC,KAAK,KAAK,eAAe,CAAC,IAAI;;;AAG5C,IAAA,IACW,YAAY,GAAA;AACrB,QAAA,OAAO,IAAI,CAAC,KAAK,KAAK,eAAe,CAAC,SAAS;;+GArCtC,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA1B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,C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;oBACrC,OAAO,EAAE,CAAC,0BAA0B,CAAC;AACtC,iBAAA;;;ACPD;;AAEG;;ACFH;;AAEG;;;;"}
@@ -56,10 +56,10 @@ class OnemrvaMatTableOfContentService {
56
56
  this._toc = {};
57
57
  this._toc$.next(this._toc);
58
58
  }
59
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: OnemrvaMatTableOfContentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
60
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: OnemrvaMatTableOfContentService }); }
59
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTableOfContentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
60
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTableOfContentService }); }
61
61
  }
62
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: OnemrvaMatTableOfContentService, decorators: [{
62
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTableOfContentService, decorators: [{
63
63
  type: Injectable
64
64
  }] });
65
65
 
@@ -127,10 +127,10 @@ class OnemrvaMatTableOfContentComponent {
127
127
  }
128
128
  });
129
129
  }
130
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: OnemrvaMatTableOfContentComponent, deps: [{ token: OnemrvaMatTableOfContentService }], target: i0.ɵɵFactoryTarget.Component }); }
131
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.4", type: OnemrvaMatTableOfContentComponent, isStandalone: true, selector: "onemrva-mat-table-of-content", inputs: { titleKey: "titleKey", tocName: "tocName", dataCy: "dataCy", tableOfContentName: "tableOfContentName", scrollShift: "scrollShift" }, host: { listeners: { "window:scroll": "onScrollEvent($event)", "window:resize": "onResizeEvent($event)" }, properties: { "attr.data-cy": "this.dataCy" } }, ngImport: i0, template: "<div class=\"onemrva-mat-toc\">\n <h3 class=\"onemrva-mat-toc-title\">{{ titleKey | translate }}</h3>\n\n <mat-list>\n <mat-list-item\n *ngFor=\"let anchor of toc$ | async\"\n (click)=\"goTo(anchor)\"\n [ngClass]=\"{\n 'active-anchor': anchor.path === activePath,\n 'onemrva-anchor-for-subsection': anchor.level === level.SUBSECTION,\n 'onemrva-mat-hidden-toc-anchor': anchor.directive.hiddenInToc,\n }\"\n >\n {{ anchor.titleKey | translate }}\n <mat-icon *ngIf=\"anchor.status === status.CHECKMARK\" class=\"anchor-check\"\n >check</mat-icon\n >\n <mat-icon *ngIf=\"anchor.status === status.WARNING\" class=\"anchor-warning\"\n >priority_high</mat-icon\n >\n </mat-list-item>\n </mat-list>\n</div>\n", dependencies: [{ kind: "ngmodule", type: MatListModule }, { kind: "component", type: i2.MatList, selector: "mat-list", exportAs: ["matList"] }, { kind: "component", type: i2.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i2$1.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] }); }
130
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTableOfContentComponent, deps: [{ token: OnemrvaMatTableOfContentService }], target: i0.ɵɵFactoryTarget.Component }); }
131
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: OnemrvaMatTableOfContentComponent, isStandalone: true, selector: "onemrva-mat-table-of-content", inputs: { titleKey: "titleKey", tocName: "tocName", dataCy: "dataCy", tableOfContentName: "tableOfContentName", scrollShift: "scrollShift" }, host: { listeners: { "window:scroll": "onScrollEvent($event)", "window:resize": "onResizeEvent($event)" }, properties: { "attr.data-cy": "this.dataCy" } }, ngImport: i0, template: "<div class=\"onemrva-mat-toc\">\n <h3 class=\"onemrva-mat-toc-title\">{{ titleKey | translate }}</h3>\n\n <mat-list>\n <mat-list-item\n *ngFor=\"let anchor of toc$ | async\"\n (click)=\"goTo(anchor)\"\n [ngClass]=\"{\n 'active-anchor': anchor.path === activePath,\n 'onemrva-anchor-for-subsection': anchor.level === level.SUBSECTION,\n 'onemrva-mat-hidden-toc-anchor': anchor.directive.hiddenInToc,\n }\"\n >\n {{ anchor.titleKey | translate }}\n <mat-icon *ngIf=\"anchor.status === status.CHECKMARK\" class=\"anchor-check\"\n >check</mat-icon\n >\n <mat-icon *ngIf=\"anchor.status === status.WARNING\" class=\"anchor-warning\"\n >priority_high</mat-icon\n >\n </mat-list-item>\n </mat-list>\n</div>\n", dependencies: [{ kind: "ngmodule", type: MatListModule }, { kind: "component", type: i2.MatList, selector: "mat-list", exportAs: ["matList"] }, { kind: "component", type: i2.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i2$1.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] }); }
132
132
  }
133
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: OnemrvaMatTableOfContentComponent, decorators: [{
133
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTableOfContentComponent, decorators: [{
134
134
  type: Component,
135
135
  args: [{ selector: 'onemrva-mat-table-of-content', standalone: true, imports: [MatListModule, TranslateModule, CommonModule, MatIconModule], template: "<div class=\"onemrva-mat-toc\">\n <h3 class=\"onemrva-mat-toc-title\">{{ titleKey | translate }}</h3>\n\n <mat-list>\n <mat-list-item\n *ngFor=\"let anchor of toc$ | async\"\n (click)=\"goTo(anchor)\"\n [ngClass]=\"{\n 'active-anchor': anchor.path === activePath,\n 'onemrva-anchor-for-subsection': anchor.level === level.SUBSECTION,\n 'onemrva-mat-hidden-toc-anchor': anchor.directive.hiddenInToc,\n }\"\n >\n {{ anchor.titleKey | translate }}\n <mat-icon *ngIf=\"anchor.status === status.CHECKMARK\" class=\"anchor-check\"\n >check</mat-icon\n >\n <mat-icon *ngIf=\"anchor.status === status.WARNING\" class=\"anchor-warning\"\n >priority_high</mat-icon\n >\n </mat-list-item>\n </mat-list>\n</div>\n" }]
136
136
  }], ctorParameters: () => [{ type: OnemrvaMatTableOfContentService }], propDecorators: { titleKey: [{
@@ -183,10 +183,10 @@ class OnemrvaMatTableOfContentDirective {
183
183
  ngAfterViewInit() {
184
184
  this.cd.detectChanges();
185
185
  }
186
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: OnemrvaMatTableOfContentDirective, deps: [{ token: OnemrvaMatTableOfContentService }, { token: i0.ChangeDetectorRef }, { token: i2$1.TranslateService }], target: i0.ɵɵFactoryTarget.Directive }); }
187
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.4", type: OnemrvaMatTableOfContentDirective, isStandalone: true, selector: "[onemrvaMatToc]", inputs: { onemrvaMatToc: "onemrvaMatToc", hiddenInToc: "hiddenInToc" }, host: { properties: { "attr.role": "this.role", "attr.class": "this.clazz", "attr.aria-label": "this.ariaLabel", "attr.rvaonem-toc-anchor": "this.ariaToc" } }, ngImport: i0 }); }
186
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTableOfContentDirective, deps: [{ token: OnemrvaMatTableOfContentService }, { token: i0.ChangeDetectorRef }, { token: i2$1.TranslateService }], target: i0.ɵɵFactoryTarget.Directive }); }
187
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.10", type: OnemrvaMatTableOfContentDirective, isStandalone: true, selector: "[onemrvaMatToc]", inputs: { onemrvaMatToc: "onemrvaMatToc", hiddenInToc: "hiddenInToc" }, host: { properties: { "attr.role": "this.role", "attr.class": "this.clazz", "attr.aria-label": "this.ariaLabel", "attr.rvaonem-toc-anchor": "this.ariaToc" } }, ngImport: i0 }); }
188
188
  }
189
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: OnemrvaMatTableOfContentDirective, decorators: [{
189
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTableOfContentDirective, decorators: [{
190
190
  type: Directive,
191
191
  args: [{
192
192
  selector: '[onemrvaMatToc]',
@@ -1 +1 @@
1
- {"version":3,"file":"onemrvapublic-design-system-mat-table-of-content.mjs","sources":["../../../../projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-toc-anchor.model.ts","../../../../projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-table-of-content.service.ts","../../../../projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-table-of-content.component.ts","../../../../projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-table-of-content.component.html","../../../../projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-table-of-content.directive.ts","../../../../projects/onemrva/design-system/mat-table-of-content/index.ts","../../../../projects/onemrva/design-system/mat-table-of-content/onemrvapublic-design-system-mat-table-of-content.ts"],"sourcesContent":["export enum OnemrvaMatTocAnchorStatus {\n CHECKMARK,\n WARNING,\n}\n\nexport enum OnemrvaMatTocAnchorLevel {\n SECTION,\n SUBSECTION,\n}\n\nexport interface OnemrvaMatTocAnchor {\n tocName: string;\n titleKey: string;\n path: string;\n order?: number; // You can manually set the order of your links\n status?: OnemrvaMatTocAnchorStatus; // checkmarck add a checkmark icon at the end of the line. Warning adds an exclamation mark\n level?: OnemrvaMatTocAnchorLevel; // Section level by default\n hidden?: boolean;\n directive?: any;\n}\n\nexport type OnemrvaMatToc = Record<string, OnemrvaMatTocAnchor[]>;\n","import { Injectable } from '@angular/core';\nimport { BehaviorSubject, Observable } from 'rxjs';\nimport {\n OnemrvaMatTocAnchor,\n OnemrvaMatToc,\n OnemrvaMatTocAnchorLevel,\n} from './onemrva-mat-toc-anchor.model';\n\n@Injectable()\nexport class OnemrvaMatTableOfContentService {\n private _toc: OnemrvaMatToc = {};\n private _toc$ = new BehaviorSubject<OnemrvaMatToc>({});\n toc$: Observable<OnemrvaMatToc> = this._toc$.asObservable();\n\n addAnchor(anchor: OnemrvaMatTocAnchor) {\n if (!anchor.level) {\n anchor.level = OnemrvaMatTocAnchorLevel.SECTION;\n }\n\n if (!this._toc[anchor.tocName])\n this._toc = { ...this._toc, [anchor.tocName]: [anchor] };\n else if (\n this._toc[anchor.tocName].findIndex(a => anchor.path === a.path) < 0\n ) {\n let idx = -1;\n if (anchor.order) {\n idx = this._toc[anchor.tocName].findIndex(\n a => a.order && anchor.order! < a.order,\n );\n }\n\n const newToc = [...this._toc[anchor.tocName]];\n if (idx >= 0) {\n newToc.splice(idx, 0, anchor);\n } else {\n newToc.push(anchor);\n }\n this._toc = {\n ...this._toc,\n [anchor.tocName]: newToc,\n };\n }\n\n this._toc$.next(this._toc);\n }\n\n resetToc() {\n this._toc = {};\n this._toc$.next(this._toc);\n }\n}\n","import {\n Component,\n HostBinding,\n HostListener,\n Input,\n OnDestroy,\n OnInit,\n} from '@angular/core';\nimport { MatListModule } from '@angular/material/list';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { OnemrvaMatTableOfContentService } from './onemrva-mat-table-of-content.service';\nimport { Observable, map, tap } from 'rxjs';\nimport {\n OnemrvaMatTocAnchor,\n OnemrvaMatTocAnchorLevel,\n OnemrvaMatTocAnchorStatus,\n} from './onemrva-mat-toc-anchor.model';\nimport { CommonModule } from '@angular/common';\nimport { MatIconModule } from '@angular/material/icon';\n\n@Component({\n selector: 'onemrva-mat-table-of-content',\n templateUrl: 'onemrva-mat-table-of-content.component.html',\n standalone: true,\n imports: [MatListModule, TranslateModule, CommonModule, MatIconModule],\n})\nexport class OnemrvaMatTableOfContentComponent implements OnInit, OnDestroy {\n @Input()\n titleKey!: string;\n\n @Input()\n tocName!: string;\n\n @HostBinding('attr.data-cy')\n @Input()\n dataCy = 'onemrva-mat-toc';\n\n // @HostBinding('attr.aria-label')\n // @Input()\n // get ariaLabel() {\n // if (!this.titleKey) return null;\n // return this.translate.instant(this.titleKey);\n // }\n\n @Input()\n tableOfContentName!: string;\n\n @Input()\n scrollShift = 0;\n\n toc$!: Observable<OnemrvaMatTocAnchor[]>;\n\n activePath = '';\n timerId: any;\n\n @HostListener('window:scroll', ['$event']) onScrollEvent($event: any) {\n this.throttledUpdateActivePath($event);\n }\n\n @HostListener('window:resize', ['$event']) onResizeEvent($event: any) {\n this.throttledUpdateActivePath($event);\n }\n\n level = OnemrvaMatTocAnchorLevel;\n status = OnemrvaMatTocAnchorStatus;\n\n constructor(private tocService: OnemrvaMatTableOfContentService) {}\n\n ngOnInit(): void {\n this.toc$ = this.tocService.toc$.pipe(\n map(tocMap => tocMap[this.tocName].filter(entry => !entry.hidden)),\n tap(toc => {\n if (!toc) this.titleKey = 'tocName.notFound';\n else this.activePath = toc[0].path;\n }),\n );\n }\n\n ngOnDestroy(): void {\n this.tocService.resetToc();\n }\n\n goTo(anchor: OnemrvaMatTocAnchor) {\n const e = document.querySelector(\n \"[rvaonem-toc-anchor='\" + anchor.path + \"']\",\n )!;\n const y = e.getBoundingClientRect().y;\n\n window.scroll({\n top: window.scrollY + y - this.scrollShift,\n behavior: 'smooth',\n });\n\n // this.activePath = anchor.path;\n }\n\n throttledUpdateActivePath(_$event: any) {\n if (this.timerId) return;\n\n this.timerId = setTimeout(() => {\n this.updateActivePath();\n this.timerId = undefined;\n }, 200);\n }\n\n updateActivePath() {\n let prevElement: { ariaToc: string; top: number } = { ariaToc: '', top: 0 };\n\n const anchors = document.querySelectorAll('.onemrva-mat-toc-anchor');\n anchors.forEach(anchor => {\n const top = anchor.getBoundingClientRect().top - this.scrollShift;\n const ariaToc: string = anchor.getAttribute('rvaonem-toc-anchor')!;\n\n if (top >= 0) {\n if (prevElement.top < 0) {\n this.activePath =\n (top + prevElement.top) / 2 > 0 ? prevElement.ariaToc : ariaToc;\n } else {\n this.activePath = anchor.getAttribute('rvaonem-toc-anchor')!;\n }\n return;\n } else {\n prevElement = { top, ariaToc };\n }\n });\n }\n}\n","<div class=\"onemrva-mat-toc\">\n <h3 class=\"onemrva-mat-toc-title\">{{ titleKey | translate }}</h3>\n\n <mat-list>\n <mat-list-item\n *ngFor=\"let anchor of toc$ | async\"\n (click)=\"goTo(anchor)\"\n [ngClass]=\"{\n 'active-anchor': anchor.path === activePath,\n 'onemrva-anchor-for-subsection': anchor.level === level.SUBSECTION,\n 'onemrva-mat-hidden-toc-anchor': anchor.directive.hiddenInToc,\n }\"\n >\n {{ anchor.titleKey | translate }}\n <mat-icon *ngIf=\"anchor.status === status.CHECKMARK\" class=\"anchor-check\"\n >check</mat-icon\n >\n <mat-icon *ngIf=\"anchor.status === status.WARNING\" class=\"anchor-warning\"\n >priority_high</mat-icon\n >\n </mat-list-item>\n </mat-list>\n</div>\n","import {\n OnInit,\n Directive,\n Input,\n HostBinding,\n AfterViewInit,\n ChangeDetectorRef,\n} from '@angular/core';\nimport { OnemrvaMatTableOfContentService } from './onemrva-mat-table-of-content.service';\nimport { OnemrvaMatTocAnchor } from './onemrva-mat-toc-anchor.model';\nimport { TranslateService } from '@ngx-translate/core';\n\n/**\n * For accessibility purpose, aria-label and will be displayed\n */\n\n@Directive({\n selector: '[onemrvaMatToc]',\n standalone: true,\n})\nexport class OnemrvaMatTableOfContentDirective\n implements OnInit, AfterViewInit\n{\n @Input()\n onemrvaMatToc!: OnemrvaMatTocAnchor;\n\n @HostBinding('attr.role')\n role = '';\n\n @HostBinding('attr.class')\n clazz = 'onemrva-mat-toc-anchor';\n\n @HostBinding('attr.aria-label')\n get ariaLabel() {\n return this.translateService.instant(this.onemrvaMatToc?.titleKey);\n }\n\n @Input()\n hiddenInToc = false;\n\n @HostBinding('attr.rvaonem-toc-anchor')\n get ariaToc() {\n if (\n this.onemrvaMatToc &&\n this.onemrvaMatToc.path &&\n this.onemrvaMatToc.path[0] !== '#'\n )\n return '#' + this.onemrvaMatToc?.path;\n return this.onemrvaMatToc?.path;\n }\n\n constructor(\n private tocService: OnemrvaMatTableOfContentService,\n private cd: ChangeDetectorRef,\n private translateService: TranslateService,\n ) {}\n\n ngOnInit(): void {\n this.tocService.addAnchor({ ...this.onemrvaMatToc, directive: this });\n\n // console.log(' HWK this.hidden', this.hidden);\n }\n\n ngAfterViewInit(): void {\n this.cd.detectChanges();\n }\n}\n","/*\n * Public API Surface of mat-summary-stepper\n */\n\nexport * from './src/onemrva-mat-table-of-content.component';\nexport * from './src/onemrva-mat-table-of-content.directive';\nexport * from './src/onemrva-mat-table-of-content.service';\nexport * from './src/onemrva-mat-toc-anchor.model';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.OnemrvaMatTableOfContentService","i3","i2"],"mappings":";;;;;;;;;;;;IAAY;AAAZ,CAAA,UAAY,yBAAyB,EAAA;AACnC,IAAA,yBAAA,CAAA,yBAAA,CAAA,WAAA,CAAA,GAAA,CAAA,CAAA,GAAA,WAAS;AACT,IAAA,yBAAA,CAAA,yBAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAO;AACT,CAAC,EAHW,yBAAyB,KAAzB,yBAAyB,GAGpC,EAAA,CAAA,CAAA;IAEW;AAAZ,CAAA,UAAY,wBAAwB,EAAA;AAClC,IAAA,wBAAA,CAAA,wBAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAO;AACP,IAAA,wBAAA,CAAA,wBAAA,CAAA,YAAA,CAAA,GAAA,CAAA,CAAA,GAAA,YAAU;AACZ,CAAC,EAHW,wBAAwB,KAAxB,wBAAwB,GAGnC,EAAA,CAAA,CAAA;;MCCY,+BAA+B,CAAA;AAD5C,IAAA,WAAA,GAAA;QAEU,IAAI,CAAA,IAAA,GAAkB,EAAE;AACxB,QAAA,IAAA,CAAA,KAAK,GAAG,IAAI,eAAe,CAAgB,EAAE,CAAC;AACtD,QAAA,IAAA,CAAA,IAAI,GAA8B,IAAI,CAAC,KAAK,CAAC,YAAY,EAAE;AAsC5D;AApCC,IAAA,SAAS,CAAC,MAA2B,EAAA;AACnC,QAAA,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE;AACjB,YAAA,MAAM,CAAC,KAAK,GAAG,wBAAwB,CAAC,OAAO;;QAGjD,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC;AAC5B,Y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BAJ7C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,iBAAiB;AAC3B,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;kKAKC,aAAa,EAAA,CAAA;sBADZ;gBAID,IAAI,EAAA,CAAA;sBADH,WAAW;uBAAC,WAAW;gBAIxB,KAAK,EAAA,CAAA;sBADJ,WAAW;uBAAC,YAAY;gBAIrB,SAAS,EAAA,CAAA;sBADZ,WAAW;uBAAC,iBAAiB;gBAM9B,WAAW,EAAA,CAAA;sBADV;gBAIG,OAAO,EAAA,CAAA;sBADV,WAAW;uBAAC,yBAAyB;;;ACxCxC;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"onemrvapublic-design-system-mat-table-of-content.mjs","sources":["../../../../projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-toc-anchor.model.ts","../../../../projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-table-of-content.service.ts","../../../../projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-table-of-content.component.ts","../../../../projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-table-of-content.component.html","../../../../projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-table-of-content.directive.ts","../../../../projects/onemrva/design-system/mat-table-of-content/index.ts","../../../../projects/onemrva/design-system/mat-table-of-content/onemrvapublic-design-system-mat-table-of-content.ts"],"sourcesContent":["export enum OnemrvaMatTocAnchorStatus {\n CHECKMARK,\n WARNING,\n}\n\nexport enum OnemrvaMatTocAnchorLevel {\n SECTION,\n SUBSECTION,\n}\n\nexport interface OnemrvaMatTocAnchor {\n tocName: string;\n titleKey: string;\n path: string;\n order?: number; // You can manually set the order of your links\n status?: OnemrvaMatTocAnchorStatus; // checkmarck add a checkmark icon at the end of the line. Warning adds an exclamation mark\n level?: OnemrvaMatTocAnchorLevel; // Section level by default\n hidden?: boolean;\n directive?: any;\n}\n\nexport type OnemrvaMatToc = Record<string, OnemrvaMatTocAnchor[]>;\n","import { Injectable } from '@angular/core';\nimport { BehaviorSubject, Observable } from 'rxjs';\nimport {\n OnemrvaMatTocAnchor,\n OnemrvaMatToc,\n OnemrvaMatTocAnchorLevel,\n} from './onemrva-mat-toc-anchor.model';\n\n@Injectable()\nexport class OnemrvaMatTableOfContentService {\n private _toc: OnemrvaMatToc = {};\n private _toc$ = new BehaviorSubject<OnemrvaMatToc>({});\n toc$: Observable<OnemrvaMatToc> = this._toc$.asObservable();\n\n addAnchor(anchor: OnemrvaMatTocAnchor) {\n if (!anchor.level) {\n anchor.level = OnemrvaMatTocAnchorLevel.SECTION;\n }\n\n if (!this._toc[anchor.tocName])\n this._toc = { ...this._toc, [anchor.tocName]: [anchor] };\n else if (\n this._toc[anchor.tocName].findIndex(a => anchor.path === a.path) < 0\n ) {\n let idx = -1;\n if (anchor.order) {\n idx = this._toc[anchor.tocName].findIndex(\n a => a.order && anchor.order! < a.order,\n );\n }\n\n const newToc = [...this._toc[anchor.tocName]];\n if (idx >= 0) {\n newToc.splice(idx, 0, anchor);\n } else {\n newToc.push(anchor);\n }\n this._toc = {\n ...this._toc,\n [anchor.tocName]: newToc,\n };\n }\n\n this._toc$.next(this._toc);\n }\n\n resetToc() {\n this._toc = {};\n this._toc$.next(this._toc);\n }\n}\n","import {\n Component,\n HostBinding,\n HostListener,\n Input,\n OnDestroy,\n OnInit,\n} from '@angular/core';\nimport { MatListModule } from '@angular/material/list';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { OnemrvaMatTableOfContentService } from './onemrva-mat-table-of-content.service';\nimport { Observable, map, tap } from 'rxjs';\nimport {\n OnemrvaMatTocAnchor,\n OnemrvaMatTocAnchorLevel,\n OnemrvaMatTocAnchorStatus,\n} from './onemrva-mat-toc-anchor.model';\nimport { CommonModule } from '@angular/common';\nimport { MatIconModule } from '@angular/material/icon';\n\n@Component({\n selector: 'onemrva-mat-table-of-content',\n templateUrl: 'onemrva-mat-table-of-content.component.html',\n standalone: true,\n imports: [MatListModule, TranslateModule, CommonModule, MatIconModule],\n})\nexport class OnemrvaMatTableOfContentComponent implements OnInit, OnDestroy {\n @Input()\n titleKey!: string;\n\n @Input()\n tocName!: string;\n\n @HostBinding('attr.data-cy')\n @Input()\n dataCy = 'onemrva-mat-toc';\n\n // @HostBinding('attr.aria-label')\n // @Input()\n // get ariaLabel() {\n // if (!this.titleKey) return null;\n // return this.translate.instant(this.titleKey);\n // }\n\n @Input()\n tableOfContentName!: string;\n\n @Input()\n scrollShift = 0;\n\n toc$!: Observable<OnemrvaMatTocAnchor[]>;\n\n activePath = '';\n timerId: any;\n\n @HostListener('window:scroll', ['$event']) onScrollEvent($event: any) {\n this.throttledUpdateActivePath($event);\n }\n\n @HostListener('window:resize', ['$event']) onResizeEvent($event: any) {\n this.throttledUpdateActivePath($event);\n }\n\n level = OnemrvaMatTocAnchorLevel;\n status = OnemrvaMatTocAnchorStatus;\n\n constructor(private tocService: OnemrvaMatTableOfContentService) {}\n\n ngOnInit(): void {\n this.toc$ = this.tocService.toc$.pipe(\n map(tocMap => tocMap[this.tocName].filter(entry => !entry.hidden)),\n tap(toc => {\n if (!toc) this.titleKey = 'tocName.notFound';\n else this.activePath = toc[0].path;\n }),\n );\n }\n\n ngOnDestroy(): void {\n this.tocService.resetToc();\n }\n\n goTo(anchor: OnemrvaMatTocAnchor) {\n const e = document.querySelector(\n \"[rvaonem-toc-anchor='\" + anchor.path + \"']\",\n )!;\n const y = e.getBoundingClientRect().y;\n\n window.scroll({\n top: window.scrollY + y - this.scrollShift,\n behavior: 'smooth',\n });\n\n // this.activePath = anchor.path;\n }\n\n throttledUpdateActivePath(_$event: any) {\n if (this.timerId) return;\n\n this.timerId = setTimeout(() => {\n this.updateActivePath();\n this.timerId = undefined;\n }, 200);\n }\n\n updateActivePath() {\n let prevElement: { ariaToc: string; top: number } = { ariaToc: '', top: 0 };\n\n const anchors = document.querySelectorAll('.onemrva-mat-toc-anchor');\n anchors.forEach(anchor => {\n const top = anchor.getBoundingClientRect().top - this.scrollShift;\n const ariaToc: string = anchor.getAttribute('rvaonem-toc-anchor')!;\n\n if (top >= 0) {\n if (prevElement.top < 0) {\n this.activePath =\n (top + prevElement.top) / 2 > 0 ? prevElement.ariaToc : ariaToc;\n } else {\n this.activePath = anchor.getAttribute('rvaonem-toc-anchor')!;\n }\n return;\n } else {\n prevElement = { top, ariaToc };\n }\n });\n }\n}\n","<div class=\"onemrva-mat-toc\">\n <h3 class=\"onemrva-mat-toc-title\">{{ titleKey | translate }}</h3>\n\n <mat-list>\n <mat-list-item\n *ngFor=\"let anchor of toc$ | async\"\n (click)=\"goTo(anchor)\"\n [ngClass]=\"{\n 'active-anchor': anchor.path === activePath,\n 'onemrva-anchor-for-subsection': anchor.level === level.SUBSECTION,\n 'onemrva-mat-hidden-toc-anchor': anchor.directive.hiddenInToc,\n }\"\n >\n {{ anchor.titleKey | translate }}\n <mat-icon *ngIf=\"anchor.status === status.CHECKMARK\" class=\"anchor-check\"\n >check</mat-icon\n >\n <mat-icon *ngIf=\"anchor.status === status.WARNING\" class=\"anchor-warning\"\n >priority_high</mat-icon\n >\n </mat-list-item>\n </mat-list>\n</div>\n","import {\n OnInit,\n Directive,\n Input,\n HostBinding,\n AfterViewInit,\n ChangeDetectorRef,\n} from '@angular/core';\nimport { OnemrvaMatTableOfContentService } from './onemrva-mat-table-of-content.service';\nimport { OnemrvaMatTocAnchor } from './onemrva-mat-toc-anchor.model';\nimport { TranslateService } from '@ngx-translate/core';\n\n/**\n * For accessibility purpose, aria-label and will be displayed\n */\n\n@Directive({\n selector: '[onemrvaMatToc]',\n standalone: true,\n})\nexport class OnemrvaMatTableOfContentDirective\n implements OnInit, AfterViewInit\n{\n @Input()\n onemrvaMatToc!: OnemrvaMatTocAnchor;\n\n @HostBinding('attr.role')\n role = '';\n\n @HostBinding('attr.class')\n clazz = 'onemrva-mat-toc-anchor';\n\n @HostBinding('attr.aria-label')\n get ariaLabel() {\n return this.translateService.instant(this.onemrvaMatToc?.titleKey);\n }\n\n @Input()\n hiddenInToc = false;\n\n @HostBinding('attr.rvaonem-toc-anchor')\n get ariaToc() {\n if (\n this.onemrvaMatToc &&\n this.onemrvaMatToc.path &&\n this.onemrvaMatToc.path[0] !== '#'\n )\n return '#' + this.onemrvaMatToc?.path;\n return this.onemrvaMatToc?.path;\n }\n\n constructor(\n private tocService: OnemrvaMatTableOfContentService,\n private cd: ChangeDetectorRef,\n private translateService: TranslateService,\n ) {}\n\n ngOnInit(): void {\n this.tocService.addAnchor({ ...this.onemrvaMatToc, directive: this });\n\n // console.log(' HWK this.hidden', this.hidden);\n }\n\n ngAfterViewInit(): void {\n this.cd.detectChanges();\n }\n}\n","/*\n * Public API Surface of mat-summary-stepper\n */\n\nexport * from './src/onemrva-mat-table-of-content.component';\nexport * from './src/onemrva-mat-table-of-content.directive';\nexport * from './src/onemrva-mat-table-of-content.service';\nexport * from './src/onemrva-mat-toc-anchor.model';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.OnemrvaMatTableOfContentService","i3","i2"],"mappings":";;;;;;;;;;;;IAAY;AAAZ,CAAA,UAAY,yBAAyB,EAAA;AACnC,IAAA,yBAAA,CAAA,yBAAA,CAAA,WAAA,CAAA,GAAA,CAAA,CAAA,GAAA,WAAS;AACT,IAAA,yBAAA,CAAA,yBAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAO;AACT,CAAC,EAHW,yBAAyB,KAAzB,yBAAyB,GAGpC,EAAA,CAAA,CAAA;IAEW;AAAZ,CAAA,UAAY,wBAAwB,EAAA;AAClC,IAAA,wBAAA,CAAA,wBAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAO;AACP,IAAA,wBAAA,CAAA,wBAAA,CAAA,YAAA,CAAA,GAAA,CAAA,CAAA,GAAA,YAAU;AACZ,CAAC,EAHW,wBAAwB,KAAxB,wBAAwB,GAGnC,EAAA,CAAA,CAAA;;MCCY,+BAA+B,CAAA;AAD5C,IAA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EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAjC,iCAAiC,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,EAAA,aAAA,EAAA,eAAA,EAAA,WAAA,EAAA,aAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,WAAA,EAAA,WAAA,EAAA,YAAA,EAAA,YAAA,EAAA,iBAAA,EAAA,gBAAA,EAAA,yBAAA,EAAA,cAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAjC,iCAAiC,EAAA,UAAA,EAAA,CAAA;kBAJ7C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,iBAAiB;AAC3B,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;kKAKC,aAAa,EAAA,CAAA;sBADZ;gBAID,IAAI,EAAA,CAAA;sBADH,WAAW;uBAAC,WAAW;gBAIxB,KAAK,EAAA,CAAA;sBADJ,WAAW;uBAAC,YAAY;gBAIrB,SAAS,EAAA,CAAA;sBADZ,WAAW;uBAAC,iBAAiB;gBAM9B,WAAW,EAAA,CAAA;sBADV;gBAIG,OAAO,EAAA,CAAA;sBADV,WAAW;uBAAC,yBAAyB;;;ACxCxC;;AAEG;;ACFH;;AAEG;;;;"}
@@ -14,10 +14,10 @@ class OnemrvaMatTaskTitleComponent {
14
14
  ngAfterViewInit() {
15
15
  this.cd.detectChanges();
16
16
  }
17
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: OnemrvaMatTaskTitleComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
18
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.4", type: OnemrvaMatTaskTitleComponent, isStandalone: true, selector: "onemrva-mat-task-title", inputs: { customNgClass: "customNgClass" }, viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: "<ng-template>\n <div class=\"onemrva-mat-task-title\" [ngClass]=\"customNgClass\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
17
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTaskTitleComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
18
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: OnemrvaMatTaskTitleComponent, isStandalone: true, selector: "onemrva-mat-task-title", inputs: { customNgClass: "customNgClass" }, viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: "<ng-template>\n <div class=\"onemrva-mat-task-title\" [ngClass]=\"customNgClass\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
19
19
  }
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: OnemrvaMatTaskTitleComponent, decorators: [{
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTaskTitleComponent, decorators: [{
21
21
  type: Component,
22
22
  args: [{ selector: 'onemrva-mat-task-title', standalone: true, imports: [NgClass], template: "<ng-template>\n <div class=\"onemrva-mat-task-title\" [ngClass]=\"customNgClass\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n" }]
23
23
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { customNgClass: [{
@@ -28,10 +28,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImpor
28
28
  }] } });
29
29
 
30
30
  class OnemrvaMatTaskContentComponent {
31
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: OnemrvaMatTaskContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
32
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.4", type: OnemrvaMatTaskContentComponent, isStandalone: true, selector: "onemrva-mat-task-content", inputs: { customNgClass: "customNgClass" }, viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: "<ng-template>\n <div class=\"onemrva-mat-task-content\" [ngClass]=\"customNgClass\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
31
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTaskContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
32
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: OnemrvaMatTaskContentComponent, isStandalone: true, selector: "onemrva-mat-task-content", inputs: { customNgClass: "customNgClass" }, viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: "<ng-template>\n <div class=\"onemrva-mat-task-content\" [ngClass]=\"customNgClass\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
33
33
  }
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: OnemrvaMatTaskContentComponent, decorators: [{
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTaskContentComponent, decorators: [{
35
35
  type: Component,
36
36
  args: [{ selector: 'onemrva-mat-task-content', standalone: true, imports: [NgClass], template: "<ng-template>\n <div class=\"onemrva-mat-task-content\" [ngClass]=\"customNgClass\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n" }]
37
37
  }], propDecorators: { customNgClass: [{
@@ -111,10 +111,10 @@ class OnemrvaMatTaskComponent {
111
111
  return '';
112
112
  return `mat-${this.color}`;
113
113
  }
114
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: OnemrvaMatTaskComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
115
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.4", type: OnemrvaMatTaskComponent, isStandalone: true, selector: "onemrva-mat-task", inputs: { customNgClass: "customNgClass", icon: "icon", form: "form", bubble: "bubble", arialLabel: "arialLabel", disabled: "disabled", color: "color" }, host: { properties: { "class.mat-disabled": "this.disabled", "attr.aria-disabled": "this.showAriaDisabled", "class.mat-accent": "this._isAccent", "class.mat-primary": "this._isPrimary", "class.mat-error": "this._isError", "class.mat-warn": "this._isWarn", "class.mat-success": "this._isSuccess", "class.mat-info": "this._isInfo", "class.mat-grayscale": "this._isGrayscale" } }, queries: [{ propertyName: "title", first: true, predicate: OnemrvaMatTaskTitleComponent, descendants: true }, { propertyName: "content", first: true, predicate: OnemrvaMatTaskContentComponent, descendants: true }], viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: "<div class=\"onemrva-mat-task-icon\">\n <ng-container *ngIf=\"icon !== undefined\">\n <span class=\"bubble\"\n ><mat-icon>{{ icon }}</mat-icon></span\n >\n </ng-container>\n <ng-container *ngIf=\"form !== undefined\">\n <mat-checkbox\n [disabled]=\"true\"\n [formControl]=\"form\"\n [aria-label]=\"arialLabel\"\n ></mat-checkbox>\n </ng-container>\n <ng-container *ngIf=\"bubble !== undefined\">\n <span class=\"bubble\">{{ bubble }}</span>\n </ng-container>\n</div>\n<ng-container *ngIf=\"title?.template as tpl\">\n <ng-container *ngTemplateOutlet=\"tpl\"></ng-container>\n</ng-container>\n<ng-container *ngIf=\"content?.template as tpl\">\n <ng-container *ngTemplateOutlet=\"tpl\"></ng-container>\n</ng-container>\n", styles: [""], dependencies: [{ kind: "component", type: MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
114
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTaskComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
115
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: OnemrvaMatTaskComponent, isStandalone: true, selector: "onemrva-mat-task", inputs: { customNgClass: "customNgClass", icon: "icon", form: "form", bubble: "bubble", arialLabel: "arialLabel", disabled: "disabled", color: "color" }, host: { properties: { "class.mat-disabled": "this.disabled", "attr.aria-disabled": "this.showAriaDisabled", "class.mat-accent": "this._isAccent", "class.mat-primary": "this._isPrimary", "class.mat-error": "this._isError", "class.mat-warn": "this._isWarn", "class.mat-success": "this._isSuccess", "class.mat-info": "this._isInfo", "class.mat-grayscale": "this._isGrayscale" } }, queries: [{ propertyName: "title", first: true, predicate: OnemrvaMatTaskTitleComponent, descendants: true }, { propertyName: "content", first: true, predicate: OnemrvaMatTaskContentComponent, descendants: true }], viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: "<div class=\"onemrva-mat-task-icon\">\n <ng-container *ngIf=\"icon !== undefined\">\n <span class=\"bubble\"\n ><mat-icon>{{ icon }}</mat-icon></span\n >\n </ng-container>\n <ng-container *ngIf=\"form !== undefined\">\n <mat-checkbox\n [disabled]=\"true\"\n [formControl]=\"form\"\n [aria-label]=\"arialLabel\"\n ></mat-checkbox>\n </ng-container>\n <ng-container *ngIf=\"bubble !== undefined\">\n <span class=\"bubble\">{{ bubble }}</span>\n </ng-container>\n</div>\n<ng-container *ngIf=\"title?.template as tpl\">\n <ng-container *ngTemplateOutlet=\"tpl\"></ng-container>\n</ng-container>\n<ng-container *ngIf=\"content?.template as tpl\">\n <ng-container *ngTemplateOutlet=\"tpl\"></ng-container>\n</ng-container>\n", styles: [""], dependencies: [{ kind: "component", type: MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
116
116
  }
117
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: OnemrvaMatTaskComponent, decorators: [{
117
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTaskComponent, decorators: [{
118
118
  type: Component,
119
119
  args: [{ selector: 'onemrva-mat-task', standalone: true, imports: [MatCheckbox, MatIcon, ReactiveFormsModule, NgTemplateOutlet, NgIf], template: "<div class=\"onemrva-mat-task-icon\">\n <ng-container *ngIf=\"icon !== undefined\">\n <span class=\"bubble\"\n ><mat-icon>{{ icon }}</mat-icon></span\n >\n </ng-container>\n <ng-container *ngIf=\"form !== undefined\">\n <mat-checkbox\n [disabled]=\"true\"\n [formControl]=\"form\"\n [aria-label]=\"arialLabel\"\n ></mat-checkbox>\n </ng-container>\n <ng-container *ngIf=\"bubble !== undefined\">\n <span class=\"bubble\">{{ bubble }}</span>\n </ng-container>\n</div>\n<ng-container *ngIf=\"title?.template as tpl\">\n <ng-container *ngTemplateOutlet=\"tpl\"></ng-container>\n</ng-container>\n<ng-container *ngIf=\"content?.template as tpl\">\n <ng-container *ngTemplateOutlet=\"tpl\"></ng-container>\n</ng-container>\n" }]
120
120
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { customNgClass: [{
@@ -182,10 +182,10 @@ class OnemrvaMatTaskListComponent {
182
182
  ngAfterViewInit() {
183
183
  this.cd.detectChanges();
184
184
  }
185
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: OnemrvaMatTaskListComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
186
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.4", type: OnemrvaMatTaskListComponent, isStandalone: true, selector: "onemrva-mat-task-list", inputs: { id: "id", data_cy: "data_cy" }, host: { properties: { "attr.id": "this.id", "attr.data-cy": "this.data_cy" } }, queries: [{ propertyName: "_tasks", predicate: OnemrvaMatTaskComponent, descendants: true }], ngImport: i0, template: "<ng-content></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
185
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTaskListComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
186
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: OnemrvaMatTaskListComponent, isStandalone: true, selector: "onemrva-mat-task-list", inputs: { id: "id", data_cy: "data_cy" }, host: { properties: { "attr.id": "this.id", "attr.data-cy": "this.data_cy" } }, queries: [{ propertyName: "_tasks", predicate: OnemrvaMatTaskComponent, descendants: true }], ngImport: i0, template: "<ng-content></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
187
187
  }
188
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: OnemrvaMatTaskListComponent, decorators: [{
188
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTaskListComponent, decorators: [{
189
189
  type: Component,
190
190
  args: [{ selector: 'onemrva-mat-task-list', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "<ng-content></ng-content>\n" }]
191
191
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { id: [{
@@ -206,14 +206,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImpor
206
206
  }] } });
207
207
 
208
208
  class OnemrvaMatTaskListModule {
209
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: OnemrvaMatTaskListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
210
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.4", ngImport: i0, type: OnemrvaMatTaskListModule, imports: [OnemrvaMatTaskListComponent,
209
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTaskListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
210
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTaskListModule, imports: [OnemrvaMatTaskListComponent,
211
211
  OnemrvaMatTaskTitleComponent,
212
212
  OnemrvaMatTaskContentComponent,
213
213
  OnemrvaMatTaskComponent] }); }
214
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: OnemrvaMatTaskListModule, imports: [OnemrvaMatTaskComponent] }); }
214
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTaskListModule, imports: [OnemrvaMatTaskComponent] }); }
215
215
  }
216
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: OnemrvaMatTaskListModule, decorators: [{
216
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTaskListModule, decorators: [{
217
217
  type: NgModule,
218
218
  args: [{
219
219
  imports: [
@@ -1 +1 @@
1
- {"version":3,"file":"onemrvapublic-design-system-mat-task-list.mjs","sources":["../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-title.component.ts","../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-title.html","../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-content.component.ts","../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-content.html","../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task.component.ts","../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task.component.html","../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-list.component.ts","../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-list.component.html","../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-list.module.ts","../../../../projects/onemrva/design-system/mat-task-list/onemrvapublic-design-system-mat-task-list.ts"],"sourcesContent":["import {\n AfterViewInit,\n ChangeDetectorRef,\n Component,\n Input,\n TemplateRef,\n ViewChild,\n} from '@angular/core';\nimport { NgClass } from '@angular/common';\n\n@Component({\n selector: 'onemrva-mat-task-title',\n templateUrl: './onemrva-mat-task-title.html',\n standalone: true,\n imports: [NgClass],\n})\nexport class OnemrvaMatTaskTitleComponent implements AfterViewInit {\n @Input() customNgClass: any;\n\n @ViewChild(TemplateRef) template?: TemplateRef<any>;\n\n constructor(private cd: ChangeDetectorRef) {}\n\n ngAfterViewInit() {\n this.cd.detectChanges();\n }\n}\n","<ng-template>\n <div class=\"onemrva-mat-task-title\" [ngClass]=\"customNgClass\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n","import { Component, Input, TemplateRef, ViewChild } from '@angular/core';\nimport { NgClass } from '@angular/common';\n\n@Component({\n selector: 'onemrva-mat-task-content',\n templateUrl: './onemrva-mat-task-content.html',\n standalone: true,\n imports: [NgClass],\n})\nexport class OnemrvaMatTaskContentComponent {\n @Input() customNgClass: any;\n\n @ViewChild(TemplateRef) template?: TemplateRef<any>;\n}\n","<ng-template>\n <div class=\"onemrva-mat-task-content\" [ngClass]=\"customNgClass\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n","import {\n AfterViewInit,\n ChangeDetectorRef,\n Component,\n ContentChild,\n HostBinding,\n Input,\n TemplateRef,\n ViewChild,\n} from '@angular/core';\nimport { OnemrvaMatTaskTitleComponent } from './onemrva-mat-task-title.component';\nimport { OnemrvaMatTaskContentComponent } from './onemrva-mat-task-content.component';\nimport { OnemrvaMatColor } from '@onemrvapublic/design-system/utils';\nimport { FormControl, ReactiveFormsModule } from '@angular/forms';\nimport { MatCheckbox } from '@angular/material/checkbox';\nimport { MatIcon } from '@angular/material/icon';\nimport { NgIf, NgTemplateOutlet } from '@angular/common';\n\n@Component({\n selector: 'onemrva-mat-task',\n templateUrl: './onemrva-mat-task.component.html',\n styleUrls: ['onemrva-mat-task.component.scss'],\n standalone: true,\n imports: [MatCheckbox, MatIcon, ReactiveFormsModule, NgTemplateOutlet, NgIf],\n})\nexport class OnemrvaMatTaskComponent implements AfterViewInit {\n @Input() customNgClass: any;\n\n @Input() icon: string | undefined;\n @Input() form: FormControl | undefined;\n @Input() bubble: string | undefined;\n @Input() arialLabel = 'select';\n\n /** @hidden @internal */\n @HostBinding('class.mat-disabled')\n @Input()\n disabled = false;\n\n @HostBinding('attr.aria-disabled')\n public get showAriaDisabled(): boolean {\n return this.disabled;\n }\n\n @ViewChild(TemplateRef) template!: TemplateRef<any>;\n\n @ContentChild(OnemrvaMatTaskTitleComponent)\n title?: OnemrvaMatTaskTitleComponent;\n @ContentChild(OnemrvaMatTaskContentComponent)\n content?: OnemrvaMatTaskContentComponent;\n\n constructor(private cd: ChangeDetectorRef) {}\n\n ngAfterViewInit() {\n if (this.disabled) {\n this.form?.disable();\n }\n //this.customNgClass = this.customNgClass.merge(['onemrva-mat-task']);\n this.cd.detectChanges();\n }\n\n /**\n * @hidden\n * @internal\n */\n private _color: OnemrvaMatColor = OnemrvaMatColor.NONE;\n\n /**\n *\n * @param value\n */\n public set color(value: OnemrvaMatColor) {\n this._color = value;\n }\n\n /** @hidden @internal */\n @HostBinding('class.mat-accent')\n public get _colorAccent(): boolean {\n return this.color === OnemrvaMatColor.ACCENT;\n }\n\n /** @hidden @internal */\n @HostBinding('class.mat-primary')\n public get _isPrimary(): boolean {\n return this.color === OnemrvaMatColor.PRIMARY;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-accent')\n public get _isAccent(): boolean {\n return this.color === OnemrvaMatColor.ACCENT;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-error')\n public get _isError(): boolean {\n return this.color === OnemrvaMatColor.ERROR;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-warn')\n public get _isWarn(): boolean {\n return this.color === OnemrvaMatColor.WARN;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-success')\n public get _isSuccess(): boolean {\n return this.color === OnemrvaMatColor.SUCCESS;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-info')\n public get _isInfo(): boolean {\n return this.color === OnemrvaMatColor.INFO;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-grayscale')\n public get _isGrayscale(): boolean {\n return this.color === OnemrvaMatColor.GRAYSCALE;\n }\n\n // eslint-disable-next-line @typescript-eslint/adjacent-overload-signatures\n @Input()\n public get color(): OnemrvaMatColor {\n return this._color;\n }\n\n public matColor() {\n if (this.color === OnemrvaMatColor.NONE) return '';\n return `mat-${this.color}`;\n }\n}\n","<div class=\"onemrva-mat-task-icon\">\n <ng-container *ngIf=\"icon !== undefined\">\n <span class=\"bubble\"\n ><mat-icon>{{ icon }}</mat-icon></span\n >\n </ng-container>\n <ng-container *ngIf=\"form !== undefined\">\n <mat-checkbox\n [disabled]=\"true\"\n [formControl]=\"form\"\n [aria-label]=\"arialLabel\"\n ></mat-checkbox>\n </ng-container>\n <ng-container *ngIf=\"bubble !== undefined\">\n <span class=\"bubble\">{{ bubble }}</span>\n </ng-container>\n</div>\n<ng-container *ngIf=\"title?.template as tpl\">\n <ng-container *ngTemplateOutlet=\"tpl\"></ng-container>\n</ng-container>\n<ng-container *ngIf=\"content?.template as tpl\">\n <ng-container *ngTemplateOutlet=\"tpl\"></ng-container>\n</ng-container>\n","import {\n AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n HostBinding,\n Input,\n QueryList,\n} from '@angular/core';\nimport { OnemrvaMatTaskComponent } from './onemrva-mat-task.component';\n\nlet NEXT_ID = 0;\n\n@Component({\n selector: 'onemrva-mat-task-list',\n changeDetection: ChangeDetectionStrategy.OnPush,\n templateUrl: './onemrva-mat-task-list.component.html',\n standalone: true,\n})\nexport class OnemrvaMatTaskListComponent implements AfterViewInit {\n @HostBinding('attr.id')\n @Input()\n public id = `onemrva-mat-task-list-${NEXT_ID++}`;\n\n @HostBinding('attr.data-cy')\n @Input()\n data_cy = 'onemrva-mat-task-list';\n\n @ContentChildren(OnemrvaMatTaskComponent, {\n descendants: true,\n })\n _tasks?: QueryList<OnemrvaMatTaskComponent>;\n\n constructor(private cd: ChangeDetectorRef) {}\n\n ngAfterViewInit() {\n this.cd.detectChanges();\n }\n}\n","<ng-content></ng-content>\n","import { NgModule } from '@angular/core';\nimport { OnemrvaMatTaskListComponent } from './onemrva-mat-task-list.component';\nimport { OnemrvaMatTaskTitleComponent } from './onemrva-mat-task-title.component';\nimport { OnemrvaMatTaskContentComponent } from './onemrva-mat-task-content.component';\nimport { OnemrvaMatTaskComponent } from './onemrva-mat-task.component';\n\n@NgModule({\n imports: [\n OnemrvaMatTaskListComponent,\n OnemrvaMatTaskTitleComponent,\n OnemrvaMatTaskContentComponent,\n OnemrvaMatTaskComponent,\n ],\n exports: [],\n})\nexport class OnemrvaMatTaskListModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAgBa,4BAA4B,CAAA;AAKvC,IAAA,WAAA,CAAoB,EAAqB,EAAA;QAArB,IAAE,CAAA,EAAA,GAAF,EAAE;;IAEtB,eAAe,GAAA;AACb,QAAA,IAAI,CAAC,EAAE,CAAC,aAAa,EAAE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uBAAC,cAAc;;sBAC1B;gBAMD,MAAM,EAAA,CAAA;sBAHL,eAAe;AAAC,gBAAA,IAAA,EAAA,CAAA,uBAAuB,EAAE;AACxC,wBAAA,WAAW,EAAE,IAAI;AAClB,qBAAA;;;MEhBU,wBAAwB,CAAA;8GAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAxB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wBAAwB,YAPjC,2BAA2B;YAC3B,4BAA4B;YAC5B,8BAA8B;YAC9B,uBAAuB,CAAA,EAAA,CAAA,CAAA;AAId,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wBAAwB,YAJjC,uBAAuB,CAAA,EAAA,CAAA,CAAA;;2FAId,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBATpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,2BAA2B;wBAC3B,4BAA4B;wBAC5B,8BAA8B;wBAC9B,uBAAuB;AACxB,qBAAA;AACD,oBAAA,OAAO,EAAE,EAAE;AACZ,iBAAA;;;ACdD;;AAEG;;;;"}
1
+ {"version":3,"file":"onemrvapublic-design-system-mat-task-list.mjs","sources":["../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-title.component.ts","../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-title.html","../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-content.component.ts","../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-content.html","../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task.component.ts","../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task.component.html","../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-list.component.ts","../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-list.component.html","../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-list.module.ts","../../../../projects/onemrva/design-system/mat-task-list/onemrvapublic-design-system-mat-task-list.ts"],"sourcesContent":["import {\n AfterViewInit,\n ChangeDetectorRef,\n Component,\n Input,\n TemplateRef,\n ViewChild,\n} from '@angular/core';\nimport { NgClass } from '@angular/common';\n\n@Component({\n selector: 'onemrva-mat-task-title',\n templateUrl: './onemrva-mat-task-title.html',\n standalone: true,\n imports: [NgClass],\n})\nexport class OnemrvaMatTaskTitleComponent implements AfterViewInit {\n @Input() customNgClass: any;\n\n @ViewChild(TemplateRef) template?: TemplateRef<any>;\n\n constructor(private cd: ChangeDetectorRef) {}\n\n ngAfterViewInit() {\n this.cd.detectChanges();\n }\n}\n","<ng-template>\n <div class=\"onemrva-mat-task-title\" [ngClass]=\"customNgClass\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n","import { Component, Input, TemplateRef, ViewChild } from '@angular/core';\nimport { NgClass } from '@angular/common';\n\n@Component({\n selector: 'onemrva-mat-task-content',\n templateUrl: './onemrva-mat-task-content.html',\n standalone: true,\n imports: [NgClass],\n})\nexport class OnemrvaMatTaskContentComponent {\n @Input() customNgClass: any;\n\n @ViewChild(TemplateRef) template?: TemplateRef<any>;\n}\n","<ng-template>\n <div class=\"onemrva-mat-task-content\" [ngClass]=\"customNgClass\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n","import {\n AfterViewInit,\n ChangeDetectorRef,\n Component,\n ContentChild,\n HostBinding,\n Input,\n TemplateRef,\n ViewChild,\n} from '@angular/core';\nimport { OnemrvaMatTaskTitleComponent } from './onemrva-mat-task-title.component';\nimport { OnemrvaMatTaskContentComponent } from './onemrva-mat-task-content.component';\nimport { OnemrvaMatColor } from '@onemrvapublic/design-system/utils';\nimport { FormControl, ReactiveFormsModule } from '@angular/forms';\nimport { MatCheckbox } from '@angular/material/checkbox';\nimport { MatIcon } from '@angular/material/icon';\nimport { NgIf, NgTemplateOutlet } from '@angular/common';\n\n@Component({\n selector: 'onemrva-mat-task',\n templateUrl: './onemrva-mat-task.component.html',\n styleUrls: ['onemrva-mat-task.component.scss'],\n standalone: true,\n imports: [MatCheckbox, MatIcon, ReactiveFormsModule, NgTemplateOutlet, NgIf],\n})\nexport class OnemrvaMatTaskComponent implements AfterViewInit {\n @Input() customNgClass: any;\n\n @Input() icon: string | undefined;\n @Input() form: FormControl | undefined;\n @Input() bubble: string | undefined;\n @Input() arialLabel = 'select';\n\n /** @hidden @internal */\n @HostBinding('class.mat-disabled')\n @Input()\n disabled = false;\n\n @HostBinding('attr.aria-disabled')\n public get showAriaDisabled(): boolean {\n return this.disabled;\n }\n\n @ViewChild(TemplateRef) template!: TemplateRef<any>;\n\n @ContentChild(OnemrvaMatTaskTitleComponent)\n title?: OnemrvaMatTaskTitleComponent;\n @ContentChild(OnemrvaMatTaskContentComponent)\n content?: OnemrvaMatTaskContentComponent;\n\n constructor(private cd: ChangeDetectorRef) {}\n\n ngAfterViewInit() {\n if (this.disabled) {\n this.form?.disable();\n }\n //this.customNgClass = this.customNgClass.merge(['onemrva-mat-task']);\n this.cd.detectChanges();\n }\n\n /**\n * @hidden\n * @internal\n */\n private _color: OnemrvaMatColor = OnemrvaMatColor.NONE;\n\n /**\n *\n * @param value\n */\n public set color(value: OnemrvaMatColor) {\n this._color = value;\n }\n\n /** @hidden @internal */\n @HostBinding('class.mat-accent')\n public get _colorAccent(): boolean {\n return this.color === OnemrvaMatColor.ACCENT;\n }\n\n /** @hidden @internal */\n @HostBinding('class.mat-primary')\n public get _isPrimary(): boolean {\n return this.color === OnemrvaMatColor.PRIMARY;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-accent')\n public get _isAccent(): boolean {\n return this.color === OnemrvaMatColor.ACCENT;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-error')\n public get _isError(): boolean {\n return this.color === OnemrvaMatColor.ERROR;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-warn')\n public get _isWarn(): boolean {\n return this.color === OnemrvaMatColor.WARN;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-success')\n public get _isSuccess(): boolean {\n return this.color === OnemrvaMatColor.SUCCESS;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-info')\n public get _isInfo(): boolean {\n return this.color === OnemrvaMatColor.INFO;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-grayscale')\n public get _isGrayscale(): boolean {\n return this.color === OnemrvaMatColor.GRAYSCALE;\n }\n\n // eslint-disable-next-line @typescript-eslint/adjacent-overload-signatures\n @Input()\n public get color(): OnemrvaMatColor {\n return this._color;\n }\n\n public matColor() {\n if (this.color === OnemrvaMatColor.NONE) return '';\n return `mat-${this.color}`;\n }\n}\n","<div class=\"onemrva-mat-task-icon\">\n <ng-container *ngIf=\"icon !== undefined\">\n <span class=\"bubble\"\n ><mat-icon>{{ icon }}</mat-icon></span\n >\n </ng-container>\n <ng-container *ngIf=\"form !== undefined\">\n <mat-checkbox\n [disabled]=\"true\"\n [formControl]=\"form\"\n [aria-label]=\"arialLabel\"\n ></mat-checkbox>\n </ng-container>\n <ng-container *ngIf=\"bubble !== undefined\">\n <span class=\"bubble\">{{ bubble }}</span>\n </ng-container>\n</div>\n<ng-container *ngIf=\"title?.template as tpl\">\n <ng-container *ngTemplateOutlet=\"tpl\"></ng-container>\n</ng-container>\n<ng-container *ngIf=\"content?.template as tpl\">\n <ng-container *ngTemplateOutlet=\"tpl\"></ng-container>\n</ng-container>\n","import {\n AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n HostBinding,\n Input,\n QueryList,\n} from '@angular/core';\nimport { OnemrvaMatTaskComponent } from './onemrva-mat-task.component';\n\nlet NEXT_ID = 0;\n\n@Component({\n selector: 'onemrva-mat-task-list',\n changeDetection: ChangeDetectionStrategy.OnPush,\n templateUrl: './onemrva-mat-task-list.component.html',\n standalone: true,\n})\nexport class OnemrvaMatTaskListComponent implements AfterViewInit {\n @HostBinding('attr.id')\n @Input()\n public id = `onemrva-mat-task-list-${NEXT_ID++}`;\n\n @HostBinding('attr.data-cy')\n @Input()\n data_cy = 'onemrva-mat-task-list';\n\n @ContentChildren(OnemrvaMatTaskComponent, {\n descendants: true,\n })\n _tasks?: QueryList<OnemrvaMatTaskComponent>;\n\n constructor(private cd: ChangeDetectorRef) {}\n\n ngAfterViewInit() {\n this.cd.detectChanges();\n }\n}\n","<ng-content></ng-content>\n","import { NgModule } from '@angular/core';\nimport { OnemrvaMatTaskListComponent } from './onemrva-mat-task-list.component';\nimport { OnemrvaMatTaskTitleComponent } from './onemrva-mat-task-title.component';\nimport { OnemrvaMatTaskContentComponent } from './onemrva-mat-task-content.component';\nimport { OnemrvaMatTaskComponent } from './onemrva-mat-task.component';\n\n@NgModule({\n imports: [\n OnemrvaMatTaskListComponent,\n OnemrvaMatTaskTitleComponent,\n OnemrvaMatTaskContentComponent,\n OnemrvaMatTaskComponent,\n ],\n exports: [],\n})\nexport class OnemrvaMatTaskListModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAgBa,4BAA4B,CAAA;AAKvC,IAAA,WAAA,CAAoB,EAAqB,EAAA;QAArB,IAAE,CAAA,EAAA,GAAF,EAAE;;IAEtB,eAAe,GAAA;AACb,QAAA,IAAI,CAAC,EAAE,CAAC,aAAa,EAAE;;+GARd,4BAA4B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,iBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA5B,IAAA,SAAA,IAAA,CAAA,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AwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAxB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wBAAwB,YAPjC,2BAA2B;YAC3B,4BAA4B;YAC5B,8BAA8B;YAC9B,uBAAuB,CAAA,EAAA,CAAA,CAAA;AAId,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wBAAwB,YAJjC,uBAAuB,CAAA,EAAA,CAAA,CAAA;;4FAId,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBATpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,2BAA2B;wBAC3B,4BAA4B;wBAC5B,8BAA8B;wBAC9B,uBAAuB;AACxB,qBAAA;AACD,oBAAA,OAAO,EAAE,EAAE;AACZ,iBAAA;;;ACdD;;AAEG;;;;"}
@@ -297,10 +297,10 @@ class ClockComponent {
297
297
  value = Math.round(60 - (60 * angle) / 360);
298
298
  return value === 60 ? 0 : value;
299
299
  }
300
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: ClockComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
301
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.4", type: ClockComponent, isStandalone: true, selector: "mat-clock", inputs: { viewType: "viewType", color: "color", formattedValue: "formattedValue", minDate: "minDate", maxDate: "maxDate", formattedHours: "formattedHours", minutes: "minutes", allowed24HourMap: "allowed24HourMap" }, outputs: { changeEvent: "changeEvent", unavailableSelection: "unavailableSelection", invalidSelection: "invalidSelection" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"root\">\n <div\n class=\"circle\"\n tabindex=\"1\"\n (touchmove)=\"handleTouchMove($event)\"\n (mousemove)=\"handleMouseMove($event)\"\n (touchstart)=\"disableAnimatedPointer()\"\n (mousedown)=\"disableAnimatedPointer()\"\n (touchend)=\"handleTouchEnd($event)\"\n (mouseup)=\"enableAnimatedPointer()\"\n (click)=\"handleClick($event)\"\n >\n <div\n class=\"pointer-container\"\n [ngClass]=\"{\n 'small-pointer':\n viewType === 'hours' && (formattedValue === 0 || formattedValue > 12),\n 'animated-pointer': !touching,\n }\"\n [style.transform]=\"'rotate(' + angle + 'deg)'\"\n >\n <button\n aria-disabled=\"true\"\n mat-mini-fab\n [color]=\"color\"\n class=\"inner-dot\"\n aria-label=\"Inner Dot\"\n ></button>\n <mat-toolbar [color]=\"color\" class=\"pointer\">\n <button\n mat-mini-fab\n [color]=\"color\"\n class=\"outer-dot\"\n aria-label=\"Outer dot\"\n [ngClass]=\"{\n 'outer-dot-odd': viewType === 'minutes' && formattedValue % 5 !== 0,\n }\"\n >\n <ng-container\n *ngIf=\"viewType === 'minutes' && formattedValue % 5 !== 0\"\n >\u00B7</ng-container\n >\n </button>\n </mat-toolbar>\n </div>\n <ng-container *ngFor=\"let digit of minuteDots\">\n <button\n mat-mini-fab\n class=\"number minute-dot\"\n [ngClass]=\"{\n selected:\n formattedValue === digit.display ||\n (digit.display === 0 && formattedValue === 0),\n disabled: !isAvailable(digit.display === 60 ? 0 : digit.display),\n }\"\n [style.transform]=\"\n 'translate(' + digit.translateX + 'px, ' + digit.translateY + 'px)'\n \"\n >\n <ng-container *ngIf=\"digit.display % 5 !== 0\">\u00B7</ng-container>\n </button>\n </ng-container>\n <ng-container *ngFor=\"let digit of numbers\">\n <button\n mat-mini-fab\n [color]=\"color\"\n class=\"number\"\n [ngClass]=\"{\n selected:\n formattedValue === digit.display ||\n (digit.display === 60 && formattedValue === 0),\n disabled: !isAvailable(digit.display === 60 ? 0 : digit.display),\n }\"\n [style.transform]=\"\n 'translate(' + digit.translateX + 'px, ' + digit.translateY + 'px)'\n \"\n >\n <ng-template #hoursTemplate>{{ digit.display }}</ng-template>\n <ng-template #minutesTemplate>{{\n digit.display === 60 ? '00' : digit.display\n }}</ng-template>\n <ng-container\n *ngIf=\"\n viewType === 'minutes';\n then minutesTemplate;\n else hoursTemplate\n \"\n ></ng-container>\n </button>\n </ng-container>\n <ng-container *ngFor=\"let digit of secondaryNumbers\">\n <button\n mat-mini-fab\n [color]=\"color\"\n class=\"number small-number\"\n [ngClass]=\"{\n selected:\n formattedValue === digit.display ||\n (digit.display === 24 && formattedValue === 0),\n disabled: !isAvailable(digit.display === 24 ? 0 : digit.display),\n }\"\n [style.transform]=\"\n 'translate(' + digit.translateX + 'px, ' + digit.translateY + 'px)'\n \"\n >\n {{ digit.display === 24 ? '00' : digit.display }}\n </button>\n </ng-container>\n </div>\n</div>\n", styles: [".root{width:256px;height:256px;cursor:default}.circle{width:256px;height:256px;border-radius:50%;position:relative;background:#ededed;cursor:pointer}.mat-mdc-mini-fab.number{width:32px;height:32px;left:calc(50% - 16px);top:calc(50% - 16px);position:absolute;text-align:center;line-height:32px;cursor:pointer;font-size:14px;pointer-events:none;-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:transparent;box-shadow:none}.mat-mdc-mini-fab.number.disabled{color:#0101011a}.mat-mdc-mini-fab.number:not(.selected):not(.disabled){color:#000000de}.mat-mdc-mini-fab.number:not(.disabled).minute-dot{color:#010101b3}.mat-mdc-mini-fab.number:not(.disabled).minute-dot.selected{color:transparent}.small-number{font-size:12px}.small-number:not(.selected):not(.disabled){color:#000000ab}.pointer-container{width:calc(50% - 20px);height:2;position:absolute;left:50%;top:calc(50% - 1px);transform-origin:left center;pointer-events:none}.pointer-container.disabled *{background-color:transparent}.pointer{height:1px}.animated-pointer{transition:all .2s ease-out}.pointer-container.small-pointer{width:calc(50% - 52px)}.pointer-container.small-pointer mat-toolbar{padding:0 16px}.pointer-container mat-toolbar{padding:0 54px}.inner-dot{position:absolute;top:-3px;left:-4px;width:8px;height:8px;border-radius:50%;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.outer-dot{width:32px;height:32px;position:absolute;right:-16px;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f;border-radius:50%;box-sizing:content-box}.outer-dot-odd{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f;width:32px;height:32px;display:flex;align-items:center;justify-content:center;flex-direction:column}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: MatMiniFabButton, selector: "button[mat-mini-fab]", exportAs: ["matButton"] }, { kind: "component", type: MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
300
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: ClockComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
301
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: ClockComponent, isStandalone: true, selector: "mat-clock", inputs: { viewType: "viewType", color: "color", formattedValue: "formattedValue", minDate: "minDate", maxDate: "maxDate", formattedHours: "formattedHours", minutes: "minutes", allowed24HourMap: "allowed24HourMap" }, outputs: { changeEvent: "changeEvent", unavailableSelection: "unavailableSelection", invalidSelection: "invalidSelection" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"root\">\n <div\n class=\"circle\"\n tabindex=\"1\"\n (touchmove)=\"handleTouchMove($event)\"\n (mousemove)=\"handleMouseMove($event)\"\n (touchstart)=\"disableAnimatedPointer()\"\n (mousedown)=\"disableAnimatedPointer()\"\n (touchend)=\"handleTouchEnd($event)\"\n (mouseup)=\"enableAnimatedPointer()\"\n (click)=\"handleClick($event)\"\n >\n <div\n class=\"pointer-container\"\n [ngClass]=\"{\n 'small-pointer':\n viewType === 'hours' && (formattedValue === 0 || formattedValue > 12),\n 'animated-pointer': !touching,\n }\"\n [style.transform]=\"'rotate(' + angle + 'deg)'\"\n >\n <button\n aria-disabled=\"true\"\n mat-mini-fab\n [color]=\"color\"\n class=\"inner-dot\"\n aria-label=\"Inner Dot\"\n ></button>\n <mat-toolbar [color]=\"color\" class=\"pointer\">\n <button\n mat-mini-fab\n [color]=\"color\"\n class=\"outer-dot\"\n aria-label=\"Outer dot\"\n [ngClass]=\"{\n 'outer-dot-odd': viewType === 'minutes' && formattedValue % 5 !== 0,\n }\"\n >\n <ng-container\n *ngIf=\"viewType === 'minutes' && formattedValue % 5 !== 0\"\n >\u00B7</ng-container\n >\n </button>\n </mat-toolbar>\n </div>\n <ng-container *ngFor=\"let digit of minuteDots\">\n <button\n mat-mini-fab\n class=\"number minute-dot\"\n [ngClass]=\"{\n selected:\n formattedValue === digit.display ||\n (digit.display === 0 && formattedValue === 0),\n disabled: !isAvailable(digit.display === 60 ? 0 : digit.display),\n }\"\n [style.transform]=\"\n 'translate(' + digit.translateX + 'px, ' + digit.translateY + 'px)'\n \"\n >\n <ng-container *ngIf=\"digit.display % 5 !== 0\">\u00B7</ng-container>\n </button>\n </ng-container>\n <ng-container *ngFor=\"let digit of numbers\">\n <button\n mat-mini-fab\n [color]=\"color\"\n class=\"number\"\n [ngClass]=\"{\n selected:\n formattedValue === digit.display ||\n (digit.display === 60 && formattedValue === 0),\n disabled: !isAvailable(digit.display === 60 ? 0 : digit.display),\n }\"\n [style.transform]=\"\n 'translate(' + digit.translateX + 'px, ' + digit.translateY + 'px)'\n \"\n >\n <ng-template #hoursTemplate>{{ digit.display }}</ng-template>\n <ng-template #minutesTemplate>{{\n digit.display === 60 ? '00' : digit.display\n }}</ng-template>\n <ng-container\n *ngIf=\"\n viewType === 'minutes';\n then minutesTemplate;\n else hoursTemplate\n \"\n ></ng-container>\n </button>\n </ng-container>\n <ng-container *ngFor=\"let digit of secondaryNumbers\">\n <button\n mat-mini-fab\n [color]=\"color\"\n class=\"number small-number\"\n [ngClass]=\"{\n selected:\n formattedValue === digit.display ||\n (digit.display === 24 && formattedValue === 0),\n disabled: !isAvailable(digit.display === 24 ? 0 : digit.display),\n }\"\n [style.transform]=\"\n 'translate(' + digit.translateX + 'px, ' + digit.translateY + 'px)'\n \"\n >\n {{ digit.display === 24 ? '00' : digit.display }}\n </button>\n </ng-container>\n </div>\n</div>\n", styles: [".root{width:256px;height:256px;cursor:default}.circle{width:256px;height:256px;border-radius:50%;position:relative;background:#ededed;cursor:pointer}.mat-mdc-mini-fab.number{width:32px;height:32px;left:calc(50% - 16px);top:calc(50% - 16px);position:absolute;text-align:center;line-height:32px;cursor:pointer;font-size:14px;pointer-events:none;-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:transparent;box-shadow:none}.mat-mdc-mini-fab.number.disabled{color:#0101011a}.mat-mdc-mini-fab.number:not(.selected):not(.disabled){color:#000000de}.mat-mdc-mini-fab.number:not(.disabled).minute-dot{color:#010101b3}.mat-mdc-mini-fab.number:not(.disabled).minute-dot.selected{color:transparent}.small-number{font-size:12px}.small-number:not(.selected):not(.disabled){color:#000000ab}.pointer-container{width:calc(50% - 20px);height:2;position:absolute;left:50%;top:calc(50% - 1px);transform-origin:left center;pointer-events:none}.pointer-container.disabled *{background-color:transparent}.pointer{height:1px}.animated-pointer{transition:all .2s ease-out}.pointer-container.small-pointer{width:calc(50% - 52px)}.pointer-container.small-pointer mat-toolbar{padding:0 16px}.pointer-container mat-toolbar{padding:0 54px}.inner-dot{position:absolute;top:-3px;left:-4px;width:8px;height:8px;border-radius:50%;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.outer-dot{width:32px;height:32px;position:absolute;right:-16px;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f;border-radius:50%;box-sizing:content-box}.outer-dot-odd{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f;width:32px;height:32px;display:flex;align-items:center;justify-content:center;flex-direction:column}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: MatMiniFabButton, selector: "button[mat-mini-fab]", exportAs: ["matButton"] }, { kind: "component", type: MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
302
302
  }
303
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: ClockComponent, decorators: [{
303
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: ClockComponent, decorators: [{
304
304
  type: Component,
305
305
  args: [{ selector: 'mat-clock', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [NgClass, MatMiniFabButton, MatToolbar, NgIf, NgForOf], template: "<div class=\"root\">\n <div\n class=\"circle\"\n tabindex=\"1\"\n (touchmove)=\"handleTouchMove($event)\"\n (mousemove)=\"handleMouseMove($event)\"\n (touchstart)=\"disableAnimatedPointer()\"\n (mousedown)=\"disableAnimatedPointer()\"\n (touchend)=\"handleTouchEnd($event)\"\n (mouseup)=\"enableAnimatedPointer()\"\n (click)=\"handleClick($event)\"\n >\n <div\n class=\"pointer-container\"\n [ngClass]=\"{\n 'small-pointer':\n viewType === 'hours' && (formattedValue === 0 || formattedValue > 12),\n 'animated-pointer': !touching,\n }\"\n [style.transform]=\"'rotate(' + angle + 'deg)'\"\n >\n <button\n aria-disabled=\"true\"\n mat-mini-fab\n [color]=\"color\"\n class=\"inner-dot\"\n aria-label=\"Inner Dot\"\n ></button>\n <mat-toolbar [color]=\"color\" class=\"pointer\">\n <button\n mat-mini-fab\n [color]=\"color\"\n class=\"outer-dot\"\n aria-label=\"Outer dot\"\n [ngClass]=\"{\n 'outer-dot-odd': viewType === 'minutes' && formattedValue % 5 !== 0,\n }\"\n >\n <ng-container\n *ngIf=\"viewType === 'minutes' && formattedValue % 5 !== 0\"\n >\u00B7</ng-container\n >\n </button>\n </mat-toolbar>\n </div>\n <ng-container *ngFor=\"let digit of minuteDots\">\n <button\n mat-mini-fab\n class=\"number minute-dot\"\n [ngClass]=\"{\n selected:\n formattedValue === digit.display ||\n (digit.display === 0 && formattedValue === 0),\n disabled: !isAvailable(digit.display === 60 ? 0 : digit.display),\n }\"\n [style.transform]=\"\n 'translate(' + digit.translateX + 'px, ' + digit.translateY + 'px)'\n \"\n >\n <ng-container *ngIf=\"digit.display % 5 !== 0\">\u00B7</ng-container>\n </button>\n </ng-container>\n <ng-container *ngFor=\"let digit of numbers\">\n <button\n mat-mini-fab\n [color]=\"color\"\n class=\"number\"\n [ngClass]=\"{\n selected:\n formattedValue === digit.display ||\n (digit.display === 60 && formattedValue === 0),\n disabled: !isAvailable(digit.display === 60 ? 0 : digit.display),\n }\"\n [style.transform]=\"\n 'translate(' + digit.translateX + 'px, ' + digit.translateY + 'px)'\n \"\n >\n <ng-template #hoursTemplate>{{ digit.display }}</ng-template>\n <ng-template #minutesTemplate>{{\n digit.display === 60 ? '00' : digit.display\n }}</ng-template>\n <ng-container\n *ngIf=\"\n viewType === 'minutes';\n then minutesTemplate;\n else hoursTemplate\n \"\n ></ng-container>\n </button>\n </ng-container>\n <ng-container *ngFor=\"let digit of secondaryNumbers\">\n <button\n mat-mini-fab\n [color]=\"color\"\n class=\"number small-number\"\n [ngClass]=\"{\n selected:\n formattedValue === digit.display ||\n (digit.display === 24 && formattedValue === 0),\n disabled: !isAvailable(digit.display === 24 ? 0 : digit.display),\n }\"\n [style.transform]=\"\n 'translate(' + digit.translateX + 'px, ' + digit.translateY + 'px)'\n \"\n >\n {{ digit.display === 24 ? '00' : digit.display }}\n </button>\n </ng-container>\n </div>\n</div>\n", styles: [".root{width:256px;height:256px;cursor:default}.circle{width:256px;height:256px;border-radius:50%;position:relative;background:#ededed;cursor:pointer}.mat-mdc-mini-fab.number{width:32px;height:32px;left:calc(50% - 16px);top:calc(50% - 16px);position:absolute;text-align:center;line-height:32px;cursor:pointer;font-size:14px;pointer-events:none;-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:transparent;box-shadow:none}.mat-mdc-mini-fab.number.disabled{color:#0101011a}.mat-mdc-mini-fab.number:not(.selected):not(.disabled){color:#000000de}.mat-mdc-mini-fab.number:not(.disabled).minute-dot{color:#010101b3}.mat-mdc-mini-fab.number:not(.disabled).minute-dot.selected{color:transparent}.small-number{font-size:12px}.small-number:not(.selected):not(.disabled){color:#000000ab}.pointer-container{width:calc(50% - 20px);height:2;position:absolute;left:50%;top:calc(50% - 1px);transform-origin:left center;pointer-events:none}.pointer-container.disabled *{background-color:transparent}.pointer{height:1px}.animated-pointer{transition:all .2s ease-out}.pointer-container.small-pointer{width:calc(50% - 52px)}.pointer-container.small-pointer mat-toolbar{padding:0 16px}.pointer-container mat-toolbar{padding:0 54px}.inner-dot{position:absolute;top:-3px;left:-4px;width:8px;height:8px;border-radius:50%;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.outer-dot{width:32px;height:32px;position:absolute;right:-16px;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f;border-radius:50%;box-sizing:content-box}.outer-dot-odd{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f;width:32px;height:32px;display:flex;align-items:center;justify-content:center;flex-direction:column}\n"] }]
306
306
  }], propDecorators: { viewType: [{
@@ -430,10 +430,10 @@ class MatTimepickerComponentDialogComponent {
430
430
  cancelClickHandler() {
431
431
  this.cancelClickEvent.emit();
432
432
  }
433
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: MatTimepickerComponentDialogComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1.MatDialog }], target: i0.ɵɵFactoryTarget.Component }); }
434
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.4", type: MatTimepickerComponentDialogComponent, isStandalone: true, selector: "mat-timepicker-dialog", outputs: { changeEvent: "changeEvent", okClickEvent: "okClickEvent", cancelClickEvent: "cancelClickEvent" }, ngImport: i0, template: "<mat-dialog-content>\n <div class=\"root\">\n <mat-toolbar [color]=\"color\" class=\"header\">\n <div class=\"time-frame\">\n <span\n class=\"time fixed-font-size\"\n [ngClass]=\"{ select: this.viewType === 'hours' && 'active' }\"\n (click)=\"editHours()\"\n role=\"button\"\n tabindex=\"0\"\n >\n {{ twoDigits(formattedHours) }}\n </span>\n <span class=\"fixed-font-size\">:</span>\n <span\n class=\"time fixed-font-size\"\n [ngClass]=\"{ select: this.viewType === 'minutes' && 'active' }\"\n (click)=\"editMinutes()\"\n tabindex=\"1\"\n role=\"button\"\n >\n {{ twoDigits(minutes) }}\n </span>\n </div>\n </mat-toolbar>\n <div class=\"body\">\n <mat-clock\n [allowed24HourMap]=\"allowed24HourMap\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [color]=\"color\"\n [viewType]=\"viewType\"\n [formattedHours]=\"formattedHours\"\n [minutes]=\"minutes\"\n (changeEvent)=\"handleClockChange($event)\"\n (unavailableSelection)=\"handleUnavailableSelection()\"\n [formattedValue]=\"viewType === 'minutes' ? minutes : formattedHours\"\n (mouseup)=\"handleClockChangeDone($event)\"\n (touchend)=\"handleClockChangeDone($event)\"\n (invalidSelection)=\"invalidSelectionHandler($event)\"\n ></mat-clock>\n </div>\n </div>\n</mat-dialog-content>\n<mat-dialog-actions>\n <button mat-button color=\"primary\" (click)=\"cancelClickHandler()\">\n {{ cancelLabel }}\n </button>\n <button\n mat-flat-button\n [disabled]=\"invalidSelection\"\n [color]=\"color\"\n (click)=\"okClickHandler()\"\n >\n {{ okLabel }}\n </button>\n</mat-dialog-actions>\n", styles: [".mdc-dialog__content{min-height:395px;padding:0!important;overflow:hidden}mat-dialog-actions{justify-content:flex-end;margin:0}.root{min-width:282px}.header{border-top-left-radius:2px;border-top-right-radius:2px;padding:20px 0;line-height:58px;font-size:58px;display:flex;justify-content:center;align-items:center;-webkit-user-select:none;user-select:none;height:98px}.header .fixed-font-size{font-size:58px}.header .time-frame{height:60px}.time{transition:all .2s ease-out;cursor:pointer}.time:not(.select){opacity:.6}.placeholder{flex:1}.ampm{display:flex;flex-direction:column-reverse;flex:1;font-size:14px;line-height:20px;margin-left:16px;font-weight:700}.select{color:#fff}.body{padding:24px 16px 20px;display:flex;justify-content:center}\n"], dependencies: [{ kind: "directive", type: MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ClockComponent, selector: "mat-clock", inputs: ["viewType", "color", "formattedValue", "minDate", "maxDate", "formattedHours", "minutes", "allowed24HourMap"], outputs: ["changeEvent", "unavailableSelection", "invalidSelection"] }, { kind: "directive", type: MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "component", type: MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }] }); }
433
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: MatTimepickerComponentDialogComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1.MatDialog }], target: i0.ɵɵFactoryTarget.Component }); }
434
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: MatTimepickerComponentDialogComponent, isStandalone: true, selector: "mat-timepicker-dialog", outputs: { changeEvent: "changeEvent", okClickEvent: "okClickEvent", cancelClickEvent: "cancelClickEvent" }, ngImport: i0, template: "<mat-dialog-content>\n <div class=\"root\">\n <mat-toolbar [color]=\"color\" class=\"header\">\n <div class=\"time-frame\">\n <span\n class=\"time fixed-font-size\"\n [ngClass]=\"{ select: this.viewType === 'hours' && 'active' }\"\n (click)=\"editHours()\"\n role=\"button\"\n tabindex=\"0\"\n >\n {{ twoDigits(formattedHours) }}\n </span>\n <span class=\"fixed-font-size\">:</span>\n <span\n class=\"time fixed-font-size\"\n [ngClass]=\"{ select: this.viewType === 'minutes' && 'active' }\"\n (click)=\"editMinutes()\"\n tabindex=\"1\"\n role=\"button\"\n >\n {{ twoDigits(minutes) }}\n </span>\n </div>\n </mat-toolbar>\n <div class=\"body\">\n <mat-clock\n [allowed24HourMap]=\"allowed24HourMap\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [color]=\"color\"\n [viewType]=\"viewType\"\n [formattedHours]=\"formattedHours\"\n [minutes]=\"minutes\"\n (changeEvent)=\"handleClockChange($event)\"\n (unavailableSelection)=\"handleUnavailableSelection()\"\n [formattedValue]=\"viewType === 'minutes' ? minutes : formattedHours\"\n (mouseup)=\"handleClockChangeDone($event)\"\n (touchend)=\"handleClockChangeDone($event)\"\n (invalidSelection)=\"invalidSelectionHandler($event)\"\n ></mat-clock>\n </div>\n </div>\n</mat-dialog-content>\n<mat-dialog-actions>\n <button mat-button color=\"primary\" (click)=\"cancelClickHandler()\">\n {{ cancelLabel }}\n </button>\n <button\n mat-flat-button\n [disabled]=\"invalidSelection\"\n [color]=\"color\"\n (click)=\"okClickHandler()\"\n >\n {{ okLabel }}\n </button>\n</mat-dialog-actions>\n", styles: [".mdc-dialog__content{min-height:395px;padding:0!important;overflow:hidden}mat-dialog-actions{justify-content:flex-end;margin:0}.root{min-width:282px}.header{border-top-left-radius:2px;border-top-right-radius:2px;padding:20px 0;line-height:58px;font-size:58px;display:flex;justify-content:center;align-items:center;-webkit-user-select:none;user-select:none;height:98px}.header .fixed-font-size{font-size:58px}.header .time-frame{height:60px}.time{transition:all .2s ease-out;cursor:pointer}.time:not(.select){opacity:.6}.placeholder{flex:1}.ampm{display:flex;flex-direction:column-reverse;flex:1;font-size:14px;line-height:20px;margin-left:16px;font-weight:700}.select{color:#fff}.body{padding:24px 16px 20px;display:flex;justify-content:center}\n"], dependencies: [{ kind: "directive", type: MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ClockComponent, selector: "mat-clock", inputs: ["viewType", "color", "formattedValue", "minDate", "maxDate", "formattedHours", "minutes", "allowed24HourMap"], outputs: ["changeEvent", "unavailableSelection", "invalidSelection"] }, { kind: "directive", type: MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "component", type: MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }] }); }
435
435
  }
436
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: MatTimepickerComponentDialogComponent, decorators: [{
436
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: MatTimepickerComponentDialogComponent, decorators: [{
437
437
  type: Component,
438
438
  args: [{ selector: 'mat-timepicker-dialog', standalone: true, imports: [
439
439
  MatDialogContent,
@@ -681,10 +681,10 @@ class OnemrvaMatTimepickerComponent {
681
681
  //
682
682
  // this.listeners.forEach(l => l());
683
683
  }
684
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: OnemrvaMatTimepickerComponent, deps: [{ token: i1.MatDialog }], target: i0.ɵɵFactoryTarget.Component }); }
685
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.4", type: OnemrvaMatTimepickerComponent, isStandalone: true, selector: "mat-timepicker", inputs: { dialogLabel: "dialogLabel", id: "id", dataCy: "dataCy", color: "color", size: "size" }, outputs: { openedStream: "opened", closedStream: "closed" }, host: { properties: { "attr.aria-label": "this.ariaLabel", "attr.role": "this.role", "class.onemrva-mat-timepicker": "this.cssClass", "attr.id": "this.id", "attr.data-cy": "this.dataCy", "class.mat-primary": "this._isPrimary", "class.mat-accent": "this._isAccent" } }, ngImport: i0, template: "" }); }
684
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTimepickerComponent, deps: [{ token: i1.MatDialog }], target: i0.ɵɵFactoryTarget.Component }); }
685
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: OnemrvaMatTimepickerComponent, isStandalone: true, selector: "mat-timepicker", inputs: { dialogLabel: "dialogLabel", id: "id", dataCy: "dataCy", color: "color", size: "size" }, outputs: { openedStream: "opened", closedStream: "closed" }, host: { properties: { "attr.aria-label": "this.ariaLabel", "attr.role": "this.role", "class.onemrva-mat-timepicker": "this.cssClass", "attr.id": "this.id", "attr.data-cy": "this.dataCy", "class.mat-primary": "this._isPrimary", "class.mat-accent": "this._isAccent" } }, ngImport: i0, template: "" }); }
686
686
  }
687
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: OnemrvaMatTimepickerComponent, decorators: [{
687
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTimepickerComponent, decorators: [{
688
688
  type: Component,
689
689
  args: [{ selector: 'mat-timepicker', template: "" }]
690
690
  }], ctorParameters: () => [{ type: i1.MatDialog }], propDecorators: { openedStream: [{
@@ -735,10 +735,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImpor
735
735
  */
736
736
  /** Can be used to override the icon of a `matDatepickerToggle`. */
737
737
  class MatTimepickerToggleIconDirective {
738
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: MatTimepickerToggleIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
739
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.4", type: MatTimepickerToggleIconDirective, isStandalone: true, selector: "[matDatepickerToggleIcon]", ngImport: i0 }); }
738
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: MatTimepickerToggleIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
739
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.10", type: MatTimepickerToggleIconDirective, isStandalone: true, selector: "[matDatepickerToggleIcon]", ngImport: i0 }); }
740
740
  }
741
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: MatTimepickerToggleIconDirective, decorators: [{
741
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: MatTimepickerToggleIconDirective, decorators: [{
742
742
  type: Directive,
743
743
  args: [{
744
744
  selector: '[matDatepickerToggleIcon]',
@@ -801,10 +801,10 @@ class MatTimePickerToggle {
801
801
  this._stateChanges.unsubscribe();
802
802
  this._stateChanges = merge(datepickerStateChanged, inputStateChanged, datepickerToggled).subscribe(() => this._changeDetectorRef.markForCheck());
803
803
  }
804
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: MatTimePickerToggle, deps: [{ token: i0.ChangeDetectorRef }, { token: 'tabindex', attribute: true }], target: i0.ɵɵFactoryTarget.Component }); }
805
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.4", type: MatTimePickerToggle, isStandalone: true, selector: "mat-timepicker-toggle", inputs: { timepicker: ["for", "timepicker"], tabIndex: "tabIndex", ariaLabel: "ariaLabel", disabled: "disabled", disableRipple: "disableRipple" }, host: { listeners: { "click": "_open($event)" }, properties: { "attr.tabindex": "null", "class.mat-timepicker-toggle-active": "timepicker && timepicker.opened", "class.mat-accent": "timepicker && timepicker.color === \"accent\"", "class.mat-warn": "timepicker && timepicker.color === \"warn\"", "attr.data-mat-calendar": "timepicker ? timepicker.id : null" }, classAttribute: "mat-timepicker-toggle" }, exportAs: ["matDatepickerToggle"], usesOnChanges: true, ngImport: i0, template: "<button\n #button\n mat-icon-button\n type=\"button\"\n [attr.aria-haspopup]=\"timepicker ? 'dialog' : null\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.tabindex]=\"disabled ? -1 : tabIndex\"\n [disabled]=\"disabled\"\n [disableRipple]=\"disableRipple\"\n>\n <mat-icon>schedule</mat-icon>\n\n <ng-content select=\"[mattimepickerToggleIcon]\"></ng-content>\n</button>\n", styles: [".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}\n"], dependencies: [{ kind: "component", type: MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
804
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: MatTimePickerToggle, deps: [{ token: i0.ChangeDetectorRef }, { token: 'tabindex', attribute: true }], target: i0.ɵɵFactoryTarget.Component }); }
805
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: MatTimePickerToggle, isStandalone: true, selector: "mat-timepicker-toggle", inputs: { timepicker: ["for", "timepicker"], tabIndex: "tabIndex", ariaLabel: "ariaLabel", disabled: "disabled", disableRipple: "disableRipple" }, host: { listeners: { "click": "_open($event)" }, properties: { "attr.tabindex": "null", "class.mat-timepicker-toggle-active": "timepicker && timepicker.opened", "class.mat-accent": "timepicker && timepicker.color === \"accent\"", "class.mat-warn": "timepicker && timepicker.color === \"warn\"", "attr.data-mat-calendar": "timepicker ? timepicker.id : null" }, classAttribute: "mat-timepicker-toggle" }, exportAs: ["matDatepickerToggle"], usesOnChanges: true, ngImport: i0, template: "<button\n #button\n mat-icon-button\n type=\"button\"\n [attr.aria-haspopup]=\"timepicker ? 'dialog' : null\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.tabindex]=\"disabled ? -1 : tabIndex\"\n [disabled]=\"disabled\"\n [disableRipple]=\"disableRipple\"\n>\n <mat-icon>schedule</mat-icon>\n\n <ng-content select=\"[mattimepickerToggleIcon]\"></ng-content>\n</button>\n", styles: [".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}\n"], dependencies: [{ kind: "component", type: MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
806
806
  }
807
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: MatTimePickerToggle, decorators: [{
807
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: MatTimePickerToggle, decorators: [{
808
808
  type: Component,
809
809
  args: [{ selector: 'mat-timepicker-toggle', host: {
810
810
  class: 'mat-timepicker-toggle',
@@ -1242,12 +1242,12 @@ class MatTimepickerDirective {
1242
1242
  this.disabled = isDisabled;
1243
1243
  this.stateChanges.next();
1244
1244
  }
1245
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: MatTimepickerDirective, deps: [{ token: i1$1.NgControl, optional: true, self: true }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i2.FocusMonitor }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i3.Platform }, { token: i1$1.NgForm, optional: true }, { token: i4.MatFormField, optional: true }, { token: i1$1.FormGroupDirective, optional: true }, { token: i5.ErrorStateMatcher }], target: i0.ɵɵFactoryTarget.Directive }); }
1246
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.4", type: MatTimepickerDirective, isStandalone: true, selector: "input[matTimepicker]", inputs: { matTimepicker: "matTimepicker", disabled: "disabled", id: "id", readonly: "readonly", errorStateMatcher: "errorStateMatcher", required: "required", placeholder: "placeholder", okLabel: "okLabel", cancelLabel: "cancelLabel", color: "color", disableDialogOpenOnClick: "disableDialogOpenOnClick", strict: "strict", minDate: "minDate", maxDate: "maxDate", value: "value" }, outputs: { timeChange: "timeChange", invalidInput: "invalidInput" }, host: { listeners: { "input": "inputHandler()", "keydown": "keydownHandler($event)", "keyup": "keyupHandler($event)", "focus": "focusHandler()", "focusout": "focusoutHandler()" }, properties: { "class.mat-input-server": "_isServer", "attr.id": "id", "attr.placeholder": "placeholder", "disabled": "disabled", "required": "required", "attr.readonly": "readonly || null", "attr.aria-invalid": "errorState", "attr.aria-required": "required.toString()", "class.floating": "this.shouldLabelFloat", "attr.aria-describedby": "this.describedBy" }, classAttribute: "mat-input-element mat-form-field-autofill-control" }, providers: [
1245
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: MatTimepickerDirective, deps: [{ token: i1$1.NgControl, optional: true, self: true }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i2.FocusMonitor }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i3.Platform }, { token: i1$1.NgForm, optional: true }, { token: i4.MatFormField, optional: true }, { token: i1$1.FormGroupDirective, optional: true }, { token: i5.ErrorStateMatcher }], target: i0.ɵɵFactoryTarget.Directive }); }
1246
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.10", type: MatTimepickerDirective, isStandalone: true, selector: "input[matTimepicker]", inputs: { matTimepicker: "matTimepicker", disabled: "disabled", id: "id", readonly: "readonly", errorStateMatcher: "errorStateMatcher", required: "required", placeholder: "placeholder", okLabel: "okLabel", cancelLabel: "cancelLabel", color: "color", disableDialogOpenOnClick: "disableDialogOpenOnClick", strict: "strict", minDate: "minDate", maxDate: "maxDate", value: "value" }, outputs: { timeChange: "timeChange", invalidInput: "invalidInput" }, host: { listeners: { "input": "inputHandler()", "keydown": "keydownHandler($event)", "keyup": "keyupHandler($event)", "focus": "focusHandler()", "focusout": "focusoutHandler()" }, properties: { "class.mat-input-server": "_isServer", "attr.id": "id", "attr.placeholder": "placeholder", "disabled": "disabled", "required": "required", "attr.readonly": "readonly || null", "attr.aria-invalid": "errorState", "attr.aria-required": "required.toString()", "class.floating": "this.shouldLabelFloat", "attr.aria-describedby": "this.describedBy" }, classAttribute: "mat-input-element mat-form-field-autofill-control" }, providers: [
1247
1247
  { provide: MatFormFieldControl, useExisting: MatTimepickerDirective },
1248
1248
  ], exportAs: ["matTimepicker"], usesOnChanges: true, ngImport: i0 }); }
1249
1249
  }
1250
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: MatTimepickerDirective, decorators: [{
1250
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: MatTimepickerDirective, decorators: [{
1251
1251
  type: Directive,
1252
1252
  args: [{
1253
1253
  selector: 'input[matTimepicker]',
@@ -1338,8 +1338,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImpor
1338
1338
  }] } });
1339
1339
 
1340
1340
  class OnemrvaMatTimepickerModule {
1341
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: OnemrvaMatTimepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1342
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.4", ngImport: i0, type: OnemrvaMatTimepickerModule, imports: [ClockComponent,
1341
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTimepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1342
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTimepickerModule, imports: [ClockComponent,
1343
1343
  MatTimepickerDirective,
1344
1344
  MatTimepickerComponentDialogComponent,
1345
1345
  MatTimepickerToggleIconDirective,
@@ -1347,11 +1347,11 @@ class OnemrvaMatTimepickerModule {
1347
1347
  OnemrvaMatTimepickerComponent], exports: [MatTimepickerDirective,
1348
1348
  MatTimePickerToggle,
1349
1349
  OnemrvaMatTimepickerComponent] }); }
1350
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: OnemrvaMatTimepickerModule, imports: [ClockComponent,
1350
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTimepickerModule, imports: [ClockComponent,
1351
1351
  MatTimepickerComponentDialogComponent,
1352
1352
  MatTimePickerToggle] }); }
1353
1353
  }
1354
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: OnemrvaMatTimepickerModule, decorators: [{
1354
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTimepickerModule, decorators: [{
1355
1355
  type: NgModule,
1356
1356
  args: [{
1357
1357
  imports: [