@yuuvis/material 2.20.1 → 3.0.0-beta.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/badge/index.d.ts +53 -1
  2. package/fesm2022/yuuvis-material-badge.mjs +8 -9
  3. package/fesm2022/yuuvis-material-badge.mjs.map +1 -1
  4. package/fesm2022/yuuvis-material-layout.mjs +37 -37
  5. package/fesm2022/yuuvis-material-layout.mjs.map +1 -1
  6. package/fesm2022/yuuvis-material-panes.mjs +48 -48
  7. package/fesm2022/yuuvis-material-panes.mjs.map +1 -1
  8. package/fesm2022/yuuvis-material.mjs +81 -88
  9. package/fesm2022/yuuvis-material.mjs.map +1 -1
  10. package/index.d.ts +358 -4
  11. package/layout/index.d.ts +96 -4
  12. package/package.json +7 -7
  13. package/panes/index.d.ts +300 -9
  14. package/badge/badge.component.d.ts +0 -49
  15. package/badge/model/badge.model.d.ts +0 -1
  16. package/layout/lib/components/master-details-layout/master-details-layout.component.d.ts +0 -49
  17. package/layout/lib/directives/area-cover.directive.d.ts +0 -13
  18. package/layout/lib/directives/layout-pane.directive.d.ts +0 -15
  19. package/layout/lib/layout.interface.d.ts +0 -26
  20. package/layout/lib/layout.module.d.ts +0 -8
  21. package/layout/lib/services/layout.service.d.ts +0 -19
  22. package/lib/assets/i18n/ar.json +0 -22
  23. package/lib/components/datepicker/datepicker-toggle.component.d.ts +0 -21
  24. package/lib/components/datepicker/datepicker.component.d.ts +0 -88
  25. package/lib/components/datepicker/index.d.ts +0 -2
  26. package/lib/components/index.d.ts +0 -1
  27. package/lib/directives/button/index.d.ts +0 -2
  28. package/lib/directives/button/ymt-button.directive.d.ts +0 -18
  29. package/lib/directives/button/ymt-button.model.d.ts +0 -4
  30. package/lib/directives/icon-button/index.d.ts +0 -2
  31. package/lib/directives/icon-button/ymt-icon-button.directive.d.ts +0 -15
  32. package/lib/directives/icon-button/ymt-icon-button.model.d.ts +0 -5
  33. package/lib/directives/index.d.ts +0 -2
  34. package/lib/providers/index.d.ts +0 -1
  35. package/lib/providers/material.providers.d.ts +0 -4
  36. package/lib/services/device.interface.d.ts +0 -15
  37. package/lib/services/device.service.d.ts +0 -147
  38. package/lib/services/index.d.ts +0 -5
  39. package/lib/services/ymt-date-adapter.service.d.ts +0 -25
  40. package/lib/services/ymt-datepicker-intl.service.d.ts +0 -11
  41. package/lib/services/ymt-mat-icon-registry.service.d.ts +0 -13
  42. package/lib/services/ymt-mat-paginator-intl.service.d.ts +0 -12
  43. package/panes/lib/pane/fullscreen.directive.d.ts +0 -37
  44. package/panes/lib/pane/pane-aside/pane-aside.component.d.ts +0 -5
  45. package/panes/lib/pane/pane-body/pane-body.component.d.ts +0 -5
  46. package/panes/lib/pane/pane-footer/pane-footer.component.d.ts +0 -5
  47. package/panes/lib/pane/pane-header/pane-header.component.d.ts +0 -74
  48. package/panes/lib/pane/pane-top-bar/pane-top-bar.component.d.ts +0 -10
  49. package/panes/lib/pane/pane.component.d.ts +0 -168
  50. package/panes/lib/panes.module.d.ts +0 -11
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Inject, Injectable, inject, signal, makeEnvironmentProviders, provideEnvironmentInitializer, input, booleanAttribute, ElementRef, EnvironmentInjector, ApplicationRef, effect, createComponent, Directive, DestroyRef, viewChild, untracked, Input, HostBinding, HostListener, ChangeDetectionStrategy, Component } from '@angular/core';
2
+ import { DOCUMENT, Inject, Injectable, inject, signal, makeEnvironmentProviders, provideEnvironmentInitializer, input, booleanAttribute, ElementRef, EnvironmentInjector, ApplicationRef, effect, createComponent, Directive, DestroyRef, viewChild, untracked, Input, ChangeDetectionStrategy, Component } from '@angular/core';
3
3
  import { MAT_NATIVE_DATE_FORMATS, DateAdapter, MAT_DATE_FORMATS, NativeDateAdapter, MAT_DATE_LOCALE, MAT_RIPPLE_GLOBAL_OPTIONS, NativeDateModule } from '@angular/material/core';
4
4
  import { MatDialogConfig, MAT_DIALOG_DEFAULT_OPTIONS } from '@angular/material/dialog';
5
5
  import { MAT_FORM_FIELD_DEFAULT_OPTIONS, MatFormField, MatFormFieldControl } from '@angular/material/form-field';
@@ -10,16 +10,15 @@ import { MAT_TOOLTIP_DEFAULT_OPTIONS } from '@angular/material/tooltip';
10
10
  import { TranslateService } from '@ngx-translate/core';
11
11
  import * as i1 from '@angular/common/http';
12
12
  import * as i2 from '@angular/platform-browser';
13
- import { DOCUMENT, CommonModule } from '@angular/common';
14
13
  import { coerceBooleanProperty } from '@angular/cdk/coercion';
15
14
  import { MatDatepickerIntl, MatDatepicker, MatDatepickerInput, MatDateRangeInput, MatDateRangePicker, MatEndDate, MatStartDate } from '@angular/material/datepicker';
16
15
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
17
16
  import { DeviceDetectorService } from 'ngx-device-detector';
18
17
  import { fromEvent, debounceTime, ReplaySubject, BehaviorSubject, Subject } from 'rxjs';
19
18
  import { MatIconButton, MatButton } from '@angular/material/button';
20
- import { MatInput } from '@angular/material/input';
21
19
  import * as i1$1 from '@angular/forms';
22
20
  import { NgControl, FormsModule, ReactiveFormsModule } from '@angular/forms';
21
+ import { MatInput } from '@angular/material/input';
23
22
  import { MatTimepicker, MatTimepickerInput } from '@angular/material/timepicker';
24
23
 
25
24
  class YmtMatIconRegistryService extends MatIconRegistry {
@@ -41,10 +40,10 @@ class YmtMatIconRegistryService extends MatIconRegistry {
41
40
  }
42
41
  return false;
43
42
  }
44
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: YmtMatIconRegistryService, deps: [{ token: i1.HttpClient }, { token: i2.DomSanitizer }, { token: DOCUMENT }, { token: i0.ErrorHandler }], target: i0.ɵɵFactoryTarget.Injectable });
45
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: YmtMatIconRegistryService, providedIn: 'root' });
43
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: YmtMatIconRegistryService, deps: [{ token: i1.HttpClient }, { token: i2.DomSanitizer }, { token: DOCUMENT }, { token: i0.ErrorHandler }], target: i0.ɵɵFactoryTarget.Injectable });
44
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: YmtMatIconRegistryService, providedIn: 'root' });
46
45
  }
47
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: YmtMatIconRegistryService, decorators: [{
46
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: YmtMatIconRegistryService, decorators: [{
48
47
  type: Injectable,
49
48
  args: [{
50
49
  providedIn: 'root'
@@ -86,10 +85,10 @@ class YmtDatepickerIntlService extends MatDatepickerIntl {
86
85
  formatYearRangeLabel(start, end) {
87
86
  return super.formatYearRangeLabel(start, end);
88
87
  }
89
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: YmtDatepickerIntlService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
90
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: YmtDatepickerIntlService, providedIn: 'root' });
88
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: YmtDatepickerIntlService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
89
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: YmtDatepickerIntlService, providedIn: 'root' });
91
90
  }
92
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: YmtDatepickerIntlService, decorators: [{
91
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: YmtDatepickerIntlService, decorators: [{
93
92
  type: Injectable,
94
93
  args: [{ providedIn: 'root' }]
95
94
  }], ctorParameters: () => [] });
@@ -121,7 +120,7 @@ function provideYmtDateAdapter(formats = YMT_DATE_FORMATS) {
121
120
  }
122
121
  class YmtDateAdapterService extends NativeDateAdapter {
123
122
  #translateService = inject(TranslateService);
124
- locale = this.#translateService.currentLang;
123
+ locale = this.#translateService.getCurrentLang();
125
124
  constructor() {
126
125
  super();
127
126
  }
@@ -160,10 +159,10 @@ class YmtDateAdapterService extends NativeDateAdapter {
160
159
  };
161
160
  return date;
162
161
  }
163
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: YmtDateAdapterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
164
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: YmtDateAdapterService });
162
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: YmtDateAdapterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
163
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: YmtDateAdapterService });
165
164
  }
166
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: YmtDateAdapterService, decorators: [{
165
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: YmtDateAdapterService, decorators: [{
167
166
  type: Injectable
168
167
  }], ctorParameters: () => [] });
169
168
 
@@ -264,8 +263,8 @@ class DeviceService {
264
263
  *
265
264
  * @default false
266
265
  */
267
- smallScreenLayout = signal(false);
268
- #supportsSmallScreens = signal(false);
266
+ smallScreenLayout = signal(false, ...(ngDevMode ? [{ debugName: "smallScreenLayout" }] : []));
267
+ #supportsSmallScreens = signal(false, ...(ngDevMode ? [{ debugName: "#supportsSmallScreens" }] : []));
269
268
  /**
270
269
  * `true` if the current device is a mobile phone (Android, iPhone, Windows Phone, etc.).
271
270
  * Populated once at service creation from `ngx-device-detector`.
@@ -420,10 +419,10 @@ class DeviceService {
420
419
  // keyboard appears, so we don't need to debounce
421
420
  return this.isMobile ? 0 : 500;
422
421
  }
423
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DeviceService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
424
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DeviceService, providedIn: 'root' });
422
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: DeviceService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
423
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: DeviceService, providedIn: 'root' });
425
424
  }
426
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DeviceService, decorators: [{
425
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: DeviceService, decorators: [{
427
426
  type: Injectable,
428
427
  args: [{
429
428
  providedIn: 'root'
@@ -463,10 +462,10 @@ class YmtMatPaginatorIntlService extends MatPaginatorIntl {
463
462
  this.rangeLabelSeparator = this.#translate.instant('ymt.paginator.rangeLabelSeparator');
464
463
  this.changes.next();
465
464
  }
466
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: YmtMatPaginatorIntlService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
467
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: YmtMatPaginatorIntlService });
465
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: YmtMatPaginatorIntlService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
466
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: YmtMatPaginatorIntlService });
468
467
  }
469
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: YmtMatPaginatorIntlService, decorators: [{
468
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: YmtMatPaginatorIntlService, decorators: [{
470
469
  type: Injectable
471
470
  }] });
472
471
 
@@ -477,7 +476,7 @@ const provideYmtMaterial = (customTheme, options) => {
477
476
  */
478
477
  {
479
478
  provide: MAT_DATE_LOCALE,
480
- useFactory: (translate) => translate.defaultLang,
479
+ useFactory: (translate) => translate.getFallbackLang(),
481
480
  deps: [TranslateService]
482
481
  },
483
482
  { provide: MAT_DATE_FORMATS, useValue: YMT_DATE_FORMATS },
@@ -577,11 +576,11 @@ var YMT_ICON_BUTTON_SIZE;
577
576
  })(YMT_ICON_BUTTON_SIZE || (YMT_ICON_BUTTON_SIZE = {}));
578
577
 
579
578
  class YmtIconButtonDirective {
580
- disabled = input(false, { transform: booleanAttribute });
581
- disableRipple = input(false, { transform: booleanAttribute });
582
- ariaDisabled = input(false, { transform: booleanAttribute, alias: 'aria-disabled' });
583
- disabledInteractive = input(false, { transform: booleanAttribute });
584
- size = input(YMT_ICON_BUTTON_SIZE.medium, { alias: 'icon-button-size' });
579
+ disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
580
+ disableRipple = input(false, ...(ngDevMode ? [{ debugName: "disableRipple", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
581
+ ariaDisabled = input(false, ...(ngDevMode ? [{ debugName: "ariaDisabled", transform: booleanAttribute, alias: 'aria-disabled' }] : [{ transform: booleanAttribute, alias: 'aria-disabled' }]));
582
+ disabledInteractive = input(false, ...(ngDevMode ? [{ debugName: "disabledInteractive", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
583
+ size = input(YMT_ICON_BUTTON_SIZE.medium, ...(ngDevMode ? [{ debugName: "size", alias: 'icon-button-size' }] : [{ alias: 'icon-button-size' }]));
585
584
  #elRef = inject(ElementRef);
586
585
  #host = this.#elRef.nativeElement;
587
586
  #injector = inject(EnvironmentInjector);
@@ -623,10 +622,10 @@ class YmtIconButtonDirective {
623
622
  componentRef.changeDetectorRef.detectChanges();
624
623
  return componentRef;
625
624
  }
626
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: YmtIconButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
627
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.20", type: YmtIconButtonDirective, isStandalone: true, selector: "button[ymtIconButton],button[ymt-icon-button],a[ymtIconButton],a[ymt-icon-button]", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, disableRipple: { classPropertyName: "disableRipple", publicName: "disableRipple", isSignal: true, isRequired: false, transformFunction: null }, ariaDisabled: { classPropertyName: "ariaDisabled", publicName: "aria-disabled", isSignal: true, isRequired: false, transformFunction: null }, disabledInteractive: { classPropertyName: "disabledInteractive", publicName: "disabledInteractive", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "icon-button-size", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "mat-icon-button": "" } }, ngImport: i0 });
625
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: YmtIconButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
626
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.19", type: YmtIconButtonDirective, isStandalone: true, selector: "button[ymtIconButton],button[ymt-icon-button],a[ymtIconButton],a[ymt-icon-button]", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, disableRipple: { classPropertyName: "disableRipple", publicName: "disableRipple", isSignal: true, isRequired: false, transformFunction: null }, ariaDisabled: { classPropertyName: "ariaDisabled", publicName: "aria-disabled", isSignal: true, isRequired: false, transformFunction: null }, disabledInteractive: { classPropertyName: "disabledInteractive", publicName: "disabledInteractive", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "icon-button-size", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "mat-icon-button": "" } }, ngImport: i0 });
628
627
  }
629
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: YmtIconButtonDirective, decorators: [{
628
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: YmtIconButtonDirective, decorators: [{
630
629
  type: Directive,
631
630
  args: [{
632
631
  selector: 'button[ymtIconButton],button[ymt-icon-button],a[ymtIconButton],a[ymt-icon-button]',
@@ -635,7 +634,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
635
634
  'mat-icon-button': ''
636
635
  }
637
636
  }]
638
- }], ctorParameters: () => [] });
637
+ }], ctorParameters: () => [], propDecorators: { disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], disableRipple: [{ type: i0.Input, args: [{ isSignal: true, alias: "disableRipple", required: false }] }], ariaDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-disabled", required: false }] }], disabledInteractive: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabledInteractive", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon-button-size", required: false }] }] } });
639
638
 
640
639
  var YMT_BUTTON_SIZE;
641
640
  (function (YMT_BUTTON_SIZE) {
@@ -650,12 +649,12 @@ const MatButtonAttributeMap = {
650
649
  danger: 'mat-flat-button'
651
650
  };
652
651
  class YmtButtonDirective {
653
- ymtButton = input('primary');
654
- disabled = input(false, { transform: booleanAttribute });
655
- ariaDisabled = input(false, { alias: 'aria-disabled', transform: booleanAttribute });
656
- disableRipple = input(false, { transform: booleanAttribute });
657
- disabledInteractive = input(false, { transform: booleanAttribute });
658
- size = input(YMT_BUTTON_SIZE.medium, { alias: 'button-size' });
652
+ ymtButton = input('primary', ...(ngDevMode ? [{ debugName: "ymtButton" }] : []));
653
+ disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
654
+ ariaDisabled = input(false, ...(ngDevMode ? [{ debugName: "ariaDisabled", alias: 'aria-disabled', transform: booleanAttribute }] : [{ alias: 'aria-disabled', transform: booleanAttribute }]));
655
+ disableRipple = input(false, ...(ngDevMode ? [{ debugName: "disableRipple", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
656
+ disabledInteractive = input(false, ...(ngDevMode ? [{ debugName: "disabledInteractive", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
657
+ size = input(YMT_BUTTON_SIZE.medium, ...(ngDevMode ? [{ debugName: "size", alias: 'button-size' }] : [{ alias: 'button-size' }]));
659
658
  // Todo: Add input "isBusy" as "busy inactive state": not clickable and with mat-spinner in button
660
659
  #environmentInjector = inject(EnvironmentInjector);
661
660
  #applicationRef = inject(ApplicationRef);
@@ -736,16 +735,16 @@ class YmtButtonDirective {
736
735
  ? this.#hostElement.classList.add(`ymt-button--size-m`)
737
736
  : this.#hostElement.classList.remove(`ymt-button--size-m`);
738
737
  }
739
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: YmtButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
740
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.20", type: YmtButtonDirective, isStandalone: true, selector: "button[ymtButton], a[ymtButton]", inputs: { ymtButton: { classPropertyName: "ymtButton", publicName: "ymtButton", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, ariaDisabled: { classPropertyName: "ariaDisabled", publicName: "aria-disabled", isSignal: true, isRequired: false, transformFunction: null }, disableRipple: { classPropertyName: "disableRipple", publicName: "disableRipple", isSignal: true, isRequired: false, transformFunction: null }, disabledInteractive: { classPropertyName: "disabledInteractive", publicName: "disabledInteractive", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "button-size", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
738
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: YmtButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
739
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.19", type: YmtButtonDirective, isStandalone: true, selector: "button[ymtButton], a[ymtButton]", inputs: { ymtButton: { classPropertyName: "ymtButton", publicName: "ymtButton", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, ariaDisabled: { classPropertyName: "ariaDisabled", publicName: "aria-disabled", isSignal: true, isRequired: false, transformFunction: null }, disableRipple: { classPropertyName: "disableRipple", publicName: "disableRipple", isSignal: true, isRequired: false, transformFunction: null }, disabledInteractive: { classPropertyName: "disabledInteractive", publicName: "disabledInteractive", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "button-size", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
741
740
  }
742
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: YmtButtonDirective, decorators: [{
741
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: YmtButtonDirective, decorators: [{
743
742
  type: Directive,
744
743
  args: [{
745
744
  selector: 'button[ymtButton], a[ymtButton]',
746
745
  standalone: true
747
746
  }]
748
- }], ctorParameters: () => [] });
747
+ }], ctorParameters: () => [], propDecorators: { ymtButton: [{ type: i0.Input, args: [{ isSignal: true, alias: "ymtButton", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], ariaDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-disabled", required: false }] }], disableRipple: [{ type: i0.Input, args: [{ isSignal: true, alias: "disableRipple", required: false }] }], disabledInteractive: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabledInteractive", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "button-size", required: false }] }] } });
749
748
 
750
749
  var EnumDatepickerMode;
751
750
  (function (EnumDatepickerMode) {
@@ -778,8 +777,8 @@ class DatepickerComponent {
778
777
  // Done: Check how to get the ngControl instance of this component (optionally set)
779
778
  #translate = inject(TranslateService);
780
779
  #dateAdapter = inject(DateAdapter);
781
- #locale = signal(inject(MAT_DATE_LOCALE));
782
- #injectNgControl = (ngC = inject(NgControl, { self: true, optional: true })) => (ngC ? (ngC.valueAccessor = this) && ngC : null);
780
+ #locale = signal(inject(MAT_DATE_LOCALE), ...(ngDevMode ? [{ debugName: "#locale" }] : []));
781
+ #injectNgControl = (ngC = inject(NgControl, { self: true, optional: true })) => ngC ? (ngC.valueAccessor = this) && ngC : null;
783
782
  #destroyRef = inject(DestroyRef);
784
783
  #formField = inject(MatFormField, { optional: true });
785
784
  // implemented as part of MatFormFieldControl interface
@@ -792,7 +791,7 @@ class DatepickerComponent {
792
791
  this.focused = false;
793
792
  this.propagateTouched();
794
793
  }
795
- #value = signal(null);
794
+ #value = signal(null, ...(ngDevMode ? [{ debugName: "#value" }] : []));
796
795
  set value(v) {
797
796
  let _value = this.#dateAdapter.getValidDateOrNull(this.#dateAdapter.deserialize(v));
798
797
  const _previousValue = this.#dateAdapter.getValidDateOrNull(this.#dateAdapter.deserialize(this.ngControl?.value));
@@ -814,7 +813,7 @@ class DatepickerComponent {
814
813
  get value() {
815
814
  return this.#value();
816
815
  }
817
- #disabled = signal(false);
816
+ #disabled = signal(false, ...(ngDevMode ? [{ debugName: "#disabled" }] : []));
818
817
  set disabled(v) {
819
818
  this.#disabled.set(coerceBooleanProperty(v));
820
819
  this.timepickerInput()?.setDisabledState(this.#disabled());
@@ -822,49 +821,49 @@ class DatepickerComponent {
822
821
  get disabled() {
823
822
  return this.#disabled();
824
823
  }
825
- #id = signal('');
824
+ #id = signal('', ...(ngDevMode ? [{ debugName: "#id" }] : []));
826
825
  set id(v) {
827
826
  this.#id.set(v);
828
827
  }
829
828
  get id() {
830
829
  return this.#id();
831
830
  }
832
- #placeholder = signal('');
831
+ #placeholder = signal('', ...(ngDevMode ? [{ debugName: "#placeholder" }] : []));
833
832
  set placeholder(v) {
834
833
  this.#placeholder.set(v);
835
834
  }
836
835
  get placeholder() {
837
836
  return this.#placeholder();
838
837
  }
839
- #required = signal(false);
838
+ #required = signal(false, ...(ngDevMode ? [{ debugName: "#required" }] : []));
840
839
  set required(v) {
841
840
  this.#required.set(coerceBooleanProperty(v));
842
841
  }
843
842
  get required() {
844
843
  return this.#required();
845
844
  }
846
- #userAriaDescribedBy = signal('');
845
+ #userAriaDescribedBy = signal('', ...(ngDevMode ? [{ debugName: "#userAriaDescribedBy" }] : []));
847
846
  set userAriaDescribedBy(v) {
848
847
  this.#userAriaDescribedBy.set(v);
849
848
  }
850
849
  get userAriaDescribedBy() {
851
850
  return this.#userAriaDescribedBy();
852
851
  }
853
- #empty = signal(false);
852
+ #empty = signal(false, ...(ngDevMode ? [{ debugName: "#empty" }] : []));
854
853
  set empty(v) {
855
854
  this.#empty.set(v);
856
855
  }
857
856
  get empty() {
858
857
  return this.#empty();
859
858
  }
860
- #errorState = signal(false);
859
+ #errorState = signal(false, ...(ngDevMode ? [{ debugName: "#errorState" }] : []));
861
860
  set errorState(v) {
862
861
  this.#errorState.set(v);
863
862
  }
864
863
  get errorState() {
865
864
  return this.#errorState();
866
865
  }
867
- #focused = signal(false);
866
+ #focused = signal(false, ...(ngDevMode ? [{ debugName: "#focused" }] : []));
868
867
  set focused(v) {
869
868
  this.#focused.set(v);
870
869
  }
@@ -879,19 +878,19 @@ class DatepickerComponent {
879
878
  controlType = 'datepicker';
880
879
  disableAutomaticLabeling = false;
881
880
  datepickerMode = EnumDatepickerMode;
882
- datepicker = viewChild('datepicker', { read: (MatDatepicker) });
883
- rangepicker = viewChild('rangepicker');
884
- timepicker = viewChild('timepicker', { read: (MatTimepicker) });
885
- datepickerInput = viewChild('datepickerInput');
886
- timepickerInput = viewChild('timepickerInput');
887
- #mode = signal(EnumDatepickerMode.DATE);
881
+ datepicker = viewChild('datepicker', ...(ngDevMode ? [{ debugName: "datepicker", read: (MatDatepicker) }] : [{ read: (MatDatepicker) }]));
882
+ rangepicker = viewChild('rangepicker', ...(ngDevMode ? [{ debugName: "rangepicker" }] : []));
883
+ timepicker = viewChild('timepicker', ...(ngDevMode ? [{ debugName: "timepicker", read: (MatTimepicker) }] : [{ read: (MatTimepicker) }]));
884
+ datepickerInput = viewChild('datepickerInput', ...(ngDevMode ? [{ debugName: "datepickerInput" }] : []));
885
+ timepickerInput = viewChild('timepickerInput', ...(ngDevMode ? [{ debugName: "timepickerInput" }] : []));
886
+ #mode = signal(EnumDatepickerMode.DATE, ...(ngDevMode ? [{ debugName: "#mode" }] : []));
888
887
  set mode(v) {
889
888
  this.#mode.set(v);
890
889
  }
891
890
  get mode() {
892
891
  return this.#mode();
893
892
  }
894
- #min = signal(null);
893
+ #min = signal(null, ...(ngDevMode ? [{ debugName: "#min" }] : []));
895
894
  set min(v) {
896
895
  const validValue = this.#dateAdapter.getValidDateOrNull(this.#dateAdapter.deserialize(v));
897
896
  if (!this.#dateAdapter.sameDate(validValue, this.#min())) {
@@ -901,7 +900,7 @@ class DatepickerComponent {
901
900
  get min() {
902
901
  return this.#min();
903
902
  }
904
- #max = signal(null);
903
+ #max = signal(null, ...(ngDevMode ? [{ debugName: "#max" }] : []));
905
904
  set max(v) {
906
905
  const validValue = this.#dateAdapter.getValidDateOrNull(this.#dateAdapter.deserialize(v));
907
906
  if (!this.#dateAdapter.sameDate(validValue, this.#max())) {
@@ -911,7 +910,7 @@ class DatepickerComponent {
911
910
  get max() {
912
911
  return this.#max();
913
912
  }
914
- #rangePlaceholder = signal({ startDate: 'Start Date', endDate: 'End Date' });
913
+ #rangePlaceholder = signal({ startDate: 'Start Date', endDate: 'End Date' }, ...(ngDevMode ? [{ debugName: "#rangePlaceholder" }] : []));
915
914
  set rangePlaceholder(v) {
916
915
  this.#rangePlaceholder.set(v);
917
916
  }
@@ -919,9 +918,9 @@ class DatepickerComponent {
919
918
  return this.#rangePlaceholder();
920
919
  }
921
920
  rangeValue = { start: '', end: '' };
922
- startDateFormControlName = input('');
923
- endDateFormControlName = input('');
924
- formGroup = input();
921
+ startDateFormControlName = input('', ...(ngDevMode ? [{ debugName: "startDateFormControlName" }] : []));
922
+ endDateFormControlName = input('', ...(ngDevMode ? [{ debugName: "endDateFormControlName" }] : []));
923
+ formGroup = input(...(ngDevMode ? [undefined, { debugName: "formGroup" }] : []));
925
924
  constructor() {
926
925
  // triggers state changes for the MatFormFieldControl
927
926
  effect(() => {
@@ -1024,8 +1023,8 @@ class DatepickerComponent {
1024
1023
  this.rangepicker()?.open();
1025
1024
  this.timepicker()?.open();
1026
1025
  }
1027
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DatepickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1028
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: DatepickerComponent, isStandalone: true, selector: "ymt-datepicker", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: false, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: false, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: false, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: false, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: false, isRequired: false, transformFunction: null }, userAriaDescribedBy: { classPropertyName: "userAriaDescribedBy", publicName: "userAriaDescribedBy", isSignal: false, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: false, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: false, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: false, isRequired: false, transformFunction: null }, rangePlaceholder: { classPropertyName: "rangePlaceholder", publicName: "rangePlaceholder", isSignal: false, isRequired: false, transformFunction: null }, startDateFormControlName: { classPropertyName: "startDateFormControlName", publicName: "startDateFormControlName", isSignal: true, isRequired: false, transformFunction: null }, endDateFormControlName: { classPropertyName: "endDateFormControlName", publicName: "endDateFormControlName", isSignal: true, isRequired: false, transformFunction: null }, formGroup: { classPropertyName: "formGroup", publicName: "formGroup", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "focusin": "onFocusIn()", "focusout": "onFocusout()" }, properties: { "class.floating": "this.shouldLabelFloat" } }, providers: [
1026
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: DatepickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1027
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.19", type: DatepickerComponent, isStandalone: true, selector: "ymt-datepicker", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: false, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: false, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: false, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: false, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: false, isRequired: false, transformFunction: null }, userAriaDescribedBy: { classPropertyName: "userAriaDescribedBy", publicName: "userAriaDescribedBy", isSignal: false, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: false, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: false, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: false, isRequired: false, transformFunction: null }, rangePlaceholder: { classPropertyName: "rangePlaceholder", publicName: "rangePlaceholder", isSignal: false, isRequired: false, transformFunction: null }, startDateFormControlName: { classPropertyName: "startDateFormControlName", publicName: "startDateFormControlName", isSignal: true, isRequired: false, transformFunction: null }, endDateFormControlName: { classPropertyName: "endDateFormControlName", publicName: "endDateFormControlName", isSignal: true, isRequired: false, transformFunction: null }, formGroup: { classPropertyName: "formGroup", publicName: "formGroup", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "focusin": "onFocusIn()", "focusout": "onFocusout()" }, properties: { "class.floating": "shouldLabelFloat" } }, providers: [
1029
1028
  { provide: MatFormFieldControl, useExisting: DatepickerComponent },
1030
1029
  /*{
1031
1030
  provide: MAT_DATE_FORMATS,
@@ -1042,12 +1041,11 @@ class DatepickerComponent {
1042
1041
  },*/
1043
1042
  { provide: MatDatepickerIntl, useClass: YmtDatepickerIntlService },
1044
1043
  provideYmtDateAdapter()
1045
- ], viewQueries: [{ propertyName: "datepicker", first: true, predicate: ["datepicker"], descendants: true, read: MatDatepicker, isSignal: true }, { propertyName: "rangepicker", first: true, predicate: ["rangepicker"], descendants: true, isSignal: true }, { propertyName: "timepicker", first: true, predicate: ["timepicker"], descendants: true, read: MatTimepicker, isSignal: true }, { propertyName: "datepickerInput", first: true, predicate: ["datepickerInput"], descendants: true, isSignal: true }, { propertyName: "timepickerInput", first: true, predicate: ["timepickerInput"], descendants: true, isSignal: true }], ngImport: i0, template: "@switch (mode) {\n @case (datepickerMode.DATE) {\n <input\n [placeholder]=\"placeholder\"\n [attr.disabled]=\"disabled\"\n matInput\n [matDatepicker]=\"datepicker\"\n [min]=\"min\"\n [max]=\"max\"\n [(ngModel)]=\"value\"\n [ngModelOptions]=\"{updateOn: 'blur'}\"\n #datepickerInput=\"matInput\"\n />\n <mat-datepicker #datepicker></mat-datepicker>\n }\n @case (datepickerMode.DATE_RANGE) {\n @let formGroup = this.formGroup();\n @let startDate = this.startDateFormControlName();\n @let endDate = this.endDateFormControlName();\n @if (formGroup && startDate && endDate) {\n <mat-date-range-input\n [rangePicker]=\"rangepicker\"\n [min]=\"min\"\n [max]=\"max\"\n [formGroup]=\"formGroup\"\n #datepickerInput=\"matDateRangeInput\"\n >\n <input matStartDate [placeholder]=\"rangePlaceholder.startDate\" [formControlName]=\"startDate\"/>\n <input matEndDate [placeholder]=\"rangePlaceholder.endDate\" [formControlName]=\"endDate\"/>\n </mat-date-range-input>\n <mat-date-range-picker #rangepicker></mat-date-range-picker>\n } @else {\n <mat-date-range-input\n [rangePicker]=\"rangepicker\"\n [min]=\"min\"\n [max]=\"max\"\n #datepickerInput=\"matDateRangeInput\"\n >\n <input matStartDate [placeholder]=\"rangePlaceholder.startDate\" (dateChange)=\"rangeValue.start = $event.value\"/>\n <input matEndDate [placeholder]=\"rangePlaceholder.endDate\" (dateChange)=\"rangeValue.end = $event.value\"/>\n </mat-date-range-input>\n <mat-date-range-picker #rangepicker></mat-date-range-picker>\n }\n }\n @case (datepickerMode.TIME) {\n <input\n [placeholder]=\"placeholder\"\n [attr.disabled]=\"disabled\"\n matInput\n [matTimepicker]=\"timepicker\"\n [(ngModel)]=\"value\"\n [ngModelOptions]=\"{updateOn: 'blur'}\"\n #datepickerInput=\"matInput\"\n #timepickerInput=\"matTimepickerInput\"\n >\n <mat-timepicker #timepicker/>\n }\n @default {\n <input\n type=\"datetime-locale\"\n [placeholder]=\"placeholder\"\n matInput\n [(ngModel)]=\"value\"\n #datepickerInput=\"matInput\"\n />\n }\n}\n\n", styles: [":host{display:flex}:host input{width:100%;border:0;outline:0;background:transparent}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { kind: "directive", type: MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { kind: "component", type: MatTimepicker, selector: "mat-timepicker", inputs: ["interval", "options", "disableRipple", "aria-label", "aria-labelledby"], outputs: ["selected", "opened", "closed"], exportAs: ["matTimepicker"] }, { kind: "directive", type: MatTimepickerInput, selector: "input[matTimepicker]", inputs: ["value", "matTimepicker", "matTimepickerMin", "matTimepickerMax", "disabled"], outputs: ["valueChange"], exportAs: ["matTimepickerInput"] }, { kind: "component", type: MatDateRangeInput, selector: "mat-date-range-input", inputs: ["rangePicker", "required", "dateFilter", "min", "max", "disabled", "separator", "comparisonStart", "comparisonEnd"], exportAs: ["matDateRangeInput"] }, { kind: "component", type: MatDateRangePicker, selector: "mat-date-range-picker", exportAs: ["matDateRangePicker"] }, { kind: "directive", type: MatEndDate, selector: "input[matEndDate]", outputs: ["dateChange", "dateInput"] }, { kind: "directive", type: MatStartDate, selector: "input[matStartDate]", outputs: ["dateChange", "dateInput"] }, { kind: "ngmodule", type: NativeDateModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1044
+ ], viewQueries: [{ propertyName: "datepicker", first: true, predicate: ["datepicker"], descendants: true, read: MatDatepicker, isSignal: true }, { propertyName: "rangepicker", first: true, predicate: ["rangepicker"], descendants: true, isSignal: true }, { propertyName: "timepicker", first: true, predicate: ["timepicker"], descendants: true, read: MatTimepicker, isSignal: true }, { propertyName: "datepickerInput", first: true, predicate: ["datepickerInput"], descendants: true, isSignal: true }, { propertyName: "timepickerInput", first: true, predicate: ["timepickerInput"], descendants: true, isSignal: true }], ngImport: i0, template: "@switch (mode) {\n @case (datepickerMode.DATE) {\n <input\n [placeholder]=\"placeholder\"\n [attr.disabled]=\"disabled\"\n matInput\n [matDatepicker]=\"datepicker\"\n [min]=\"min\"\n [max]=\"max\"\n [(ngModel)]=\"value\"\n [ngModelOptions]=\"{updateOn: 'blur'}\"\n #datepickerInput=\"matInput\"\n />\n <mat-datepicker #datepicker></mat-datepicker>\n }\n @case (datepickerMode.DATE_RANGE) {\n @let formGroup = this.formGroup();\n @let startDate = this.startDateFormControlName();\n @let endDate = this.endDateFormControlName();\n @if (formGroup && startDate && endDate) {\n <mat-date-range-input\n [rangePicker]=\"rangepicker\"\n [min]=\"min\"\n [max]=\"max\"\n [formGroup]=\"formGroup\"\n #datepickerInput=\"matDateRangeInput\"\n >\n <input matStartDate [placeholder]=\"rangePlaceholder.startDate\" [formControlName]=\"startDate\"/>\n <input matEndDate [placeholder]=\"rangePlaceholder.endDate\" [formControlName]=\"endDate\"/>\n </mat-date-range-input>\n <mat-date-range-picker #rangepicker></mat-date-range-picker>\n } @else {\n <mat-date-range-input\n [rangePicker]=\"rangepicker\"\n [min]=\"min\"\n [max]=\"max\"\n #datepickerInput=\"matDateRangeInput\"\n >\n <input matStartDate [placeholder]=\"rangePlaceholder.startDate\" (dateChange)=\"rangeValue.start = $event.value\"/>\n <input matEndDate [placeholder]=\"rangePlaceholder.endDate\" (dateChange)=\"rangeValue.end = $event.value\"/>\n </mat-date-range-input>\n <mat-date-range-picker #rangepicker></mat-date-range-picker>\n }\n }\n @case (datepickerMode.TIME) {\n <input\n [placeholder]=\"placeholder\"\n [attr.disabled]=\"disabled\"\n matInput\n [matTimepicker]=\"timepicker\"\n [(ngModel)]=\"value\"\n [ngModelOptions]=\"{updateOn: 'blur'}\"\n #datepickerInput=\"matInput\"\n #timepickerInput=\"matTimepickerInput\"\n >\n <mat-timepicker #timepicker/>\n }\n @default {\n <input\n type=\"datetime-locale\"\n [placeholder]=\"placeholder\"\n matInput\n [(ngModel)]=\"value\"\n #datepickerInput=\"matInput\"\n />\n }\n}\n\n", styles: [":host{display:flex}:host input{width:100%;border:0;outline:0;background:transparent}\n"], dependencies: [{ kind: "directive", type: MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { kind: "directive", type: MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { kind: "component", type: MatTimepicker, selector: "mat-timepicker", inputs: ["interval", "options", "disableRipple", "aria-label", "aria-labelledby"], outputs: ["selected", "opened", "closed"], exportAs: ["matTimepicker"] }, { kind: "directive", type: MatTimepickerInput, selector: "input[matTimepicker]", inputs: ["value", "matTimepicker", "matTimepickerMin", "matTimepickerMax", "matTimepickerOpenOnClick", "disabled"], outputs: ["valueChange"], exportAs: ["matTimepickerInput"] }, { kind: "component", type: MatDateRangeInput, selector: "mat-date-range-input", inputs: ["rangePicker", "required", "dateFilter", "min", "max", "disabled", "separator", "comparisonStart", "comparisonEnd"], exportAs: ["matDateRangeInput"] }, { kind: "component", type: MatDateRangePicker, selector: "mat-date-range-picker", exportAs: ["matDateRangePicker"] }, { kind: "directive", type: MatEndDate, selector: "input[matEndDate]", outputs: ["dateChange", "dateInput"] }, { kind: "directive", type: MatStartDate, selector: "input[matStartDate]", outputs: ["dateChange", "dateInput"] }, { kind: "ngmodule", type: NativeDateModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1046
1045
  }
1047
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DatepickerComponent, decorators: [{
1046
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: DatepickerComponent, decorators: [{
1048
1047
  type: Component,
1049
1048
  args: [{ selector: 'ymt-datepicker', standalone: true, imports: [
1050
- CommonModule,
1051
1049
  MatInput,
1052
1050
  FormsModule,
1053
1051
  ReactiveFormsModule,
@@ -1077,14 +1075,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
1077
1075
  },*/
1078
1076
  { provide: MatDatepickerIntl, useClass: YmtDatepickerIntlService },
1079
1077
  provideYmtDateAdapter()
1080
- ], changeDetection: ChangeDetectionStrategy.OnPush, template: "@switch (mode) {\n @case (datepickerMode.DATE) {\n <input\n [placeholder]=\"placeholder\"\n [attr.disabled]=\"disabled\"\n matInput\n [matDatepicker]=\"datepicker\"\n [min]=\"min\"\n [max]=\"max\"\n [(ngModel)]=\"value\"\n [ngModelOptions]=\"{updateOn: 'blur'}\"\n #datepickerInput=\"matInput\"\n />\n <mat-datepicker #datepicker></mat-datepicker>\n }\n @case (datepickerMode.DATE_RANGE) {\n @let formGroup = this.formGroup();\n @let startDate = this.startDateFormControlName();\n @let endDate = this.endDateFormControlName();\n @if (formGroup && startDate && endDate) {\n <mat-date-range-input\n [rangePicker]=\"rangepicker\"\n [min]=\"min\"\n [max]=\"max\"\n [formGroup]=\"formGroup\"\n #datepickerInput=\"matDateRangeInput\"\n >\n <input matStartDate [placeholder]=\"rangePlaceholder.startDate\" [formControlName]=\"startDate\"/>\n <input matEndDate [placeholder]=\"rangePlaceholder.endDate\" [formControlName]=\"endDate\"/>\n </mat-date-range-input>\n <mat-date-range-picker #rangepicker></mat-date-range-picker>\n } @else {\n <mat-date-range-input\n [rangePicker]=\"rangepicker\"\n [min]=\"min\"\n [max]=\"max\"\n #datepickerInput=\"matDateRangeInput\"\n >\n <input matStartDate [placeholder]=\"rangePlaceholder.startDate\" (dateChange)=\"rangeValue.start = $event.value\"/>\n <input matEndDate [placeholder]=\"rangePlaceholder.endDate\" (dateChange)=\"rangeValue.end = $event.value\"/>\n </mat-date-range-input>\n <mat-date-range-picker #rangepicker></mat-date-range-picker>\n }\n }\n @case (datepickerMode.TIME) {\n <input\n [placeholder]=\"placeholder\"\n [attr.disabled]=\"disabled\"\n matInput\n [matTimepicker]=\"timepicker\"\n [(ngModel)]=\"value\"\n [ngModelOptions]=\"{updateOn: 'blur'}\"\n #datepickerInput=\"matInput\"\n #timepickerInput=\"matTimepickerInput\"\n >\n <mat-timepicker #timepicker/>\n }\n @default {\n <input\n type=\"datetime-locale\"\n [placeholder]=\"placeholder\"\n matInput\n [(ngModel)]=\"value\"\n #datepickerInput=\"matInput\"\n />\n }\n}\n\n", styles: [":host{display:flex}:host input{width:100%;border:0;outline:0;background:transparent}\n"] }]
1081
- }], ctorParameters: () => [], propDecorators: { onFocusIn: [{
1082
- type: HostListener,
1083
- args: ['focusin']
1084
- }], onFocusout: [{
1085
- type: HostListener,
1086
- args: ['focusout']
1087
- }], value: [{
1078
+ ], changeDetection: ChangeDetectionStrategy.OnPush, host: {
1079
+ '[class.floating]': 'shouldLabelFloat',
1080
+ '(focusin)': 'onFocusIn()',
1081
+ '(focusout)': 'onFocusout()'
1082
+ }, template: "@switch (mode) {\n @case (datepickerMode.DATE) {\n <input\n [placeholder]=\"placeholder\"\n [attr.disabled]=\"disabled\"\n matInput\n [matDatepicker]=\"datepicker\"\n [min]=\"min\"\n [max]=\"max\"\n [(ngModel)]=\"value\"\n [ngModelOptions]=\"{updateOn: 'blur'}\"\n #datepickerInput=\"matInput\"\n />\n <mat-datepicker #datepicker></mat-datepicker>\n }\n @case (datepickerMode.DATE_RANGE) {\n @let formGroup = this.formGroup();\n @let startDate = this.startDateFormControlName();\n @let endDate = this.endDateFormControlName();\n @if (formGroup && startDate && endDate) {\n <mat-date-range-input\n [rangePicker]=\"rangepicker\"\n [min]=\"min\"\n [max]=\"max\"\n [formGroup]=\"formGroup\"\n #datepickerInput=\"matDateRangeInput\"\n >\n <input matStartDate [placeholder]=\"rangePlaceholder.startDate\" [formControlName]=\"startDate\"/>\n <input matEndDate [placeholder]=\"rangePlaceholder.endDate\" [formControlName]=\"endDate\"/>\n </mat-date-range-input>\n <mat-date-range-picker #rangepicker></mat-date-range-picker>\n } @else {\n <mat-date-range-input\n [rangePicker]=\"rangepicker\"\n [min]=\"min\"\n [max]=\"max\"\n #datepickerInput=\"matDateRangeInput\"\n >\n <input matStartDate [placeholder]=\"rangePlaceholder.startDate\" (dateChange)=\"rangeValue.start = $event.value\"/>\n <input matEndDate [placeholder]=\"rangePlaceholder.endDate\" (dateChange)=\"rangeValue.end = $event.value\"/>\n </mat-date-range-input>\n <mat-date-range-picker #rangepicker></mat-date-range-picker>\n }\n }\n @case (datepickerMode.TIME) {\n <input\n [placeholder]=\"placeholder\"\n [attr.disabled]=\"disabled\"\n matInput\n [matTimepicker]=\"timepicker\"\n [(ngModel)]=\"value\"\n [ngModelOptions]=\"{updateOn: 'blur'}\"\n #datepickerInput=\"matInput\"\n #timepickerInput=\"matTimepickerInput\"\n >\n <mat-timepicker #timepicker/>\n }\n @default {\n <input\n type=\"datetime-locale\"\n [placeholder]=\"placeholder\"\n matInput\n [(ngModel)]=\"value\"\n #datepickerInput=\"matInput\"\n />\n }\n}\n\n", styles: [":host{display:flex}:host input{width:100%;border:0;outline:0;background:transparent}\n"] }]
1083
+ }], ctorParameters: () => [], propDecorators: { value: [{
1088
1084
  type: Input
1089
1085
  }], disabled: [{
1090
1086
  type: Input
@@ -1096,10 +1092,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
1096
1092
  type: Input
1097
1093
  }], userAriaDescribedBy: [{
1098
1094
  type: Input
1099
- }], shouldLabelFloat: [{
1100
- type: HostBinding,
1101
- args: ['class.floating']
1102
- }], mode: [{
1095
+ }], datepicker: [{ type: i0.ViewChild, args: ['datepicker', { ...{ read: (MatDatepicker) }, isSignal: true }] }], rangepicker: [{ type: i0.ViewChild, args: ['rangepicker', { isSignal: true }] }], timepicker: [{ type: i0.ViewChild, args: ['timepicker', { ...{ read: (MatTimepicker) }, isSignal: true }] }], datepickerInput: [{ type: i0.ViewChild, args: ['datepickerInput', { isSignal: true }] }], timepickerInput: [{ type: i0.ViewChild, args: ['timepickerInput', { isSignal: true }] }], mode: [{
1103
1096
  type: Input
1104
1097
  }], min: [{
1105
1098
  type: Input
@@ -1107,26 +1100,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
1107
1100
  type: Input
1108
1101
  }], rangePlaceholder: [{
1109
1102
  type: Input
1110
- }] } });
1103
+ }], startDateFormControlName: [{ type: i0.Input, args: [{ isSignal: true, alias: "startDateFormControlName", required: false }] }], endDateFormControlName: [{ type: i0.Input, args: [{ isSignal: true, alias: "endDateFormControlName", required: false }] }], formGroup: [{ type: i0.Input, args: [{ isSignal: true, alias: "formGroup", required: false }] }] } });
1111
1104
 
1112
1105
  class DatepickerToggleComponent {
1113
1106
  #intl = inject(MatDatepickerIntl);
1114
1107
  #destroyRef = inject(DestroyRef);
1115
- #datepicker = signal(null);
1108
+ #datepicker = signal(null, ...(ngDevMode ? [{ debugName: "#datepicker" }] : []));
1116
1109
  set datepicker(v) {
1117
1110
  this.#datepicker.set(v);
1118
1111
  }
1119
1112
  get datepicker() {
1120
1113
  return this.#datepicker();
1121
1114
  }
1122
- #disabled = signal(false);
1115
+ #disabled = signal(false, ...(ngDevMode ? [{ debugName: "#disabled" }] : []));
1123
1116
  set disabled(v) {
1124
1117
  this.#disabled.set(coerceBooleanProperty(v));
1125
1118
  }
1126
1119
  get disabled() {
1127
1120
  return this.#disabled();
1128
1121
  }
1129
- #ariaLabel = signal(this.#intl.openCalendarLabel);
1122
+ #ariaLabel = signal(this.#intl.openCalendarLabel, ...(ngDevMode ? [{ debugName: "#ariaLabel" }] : []));
1130
1123
  set ariaLabel(v) {
1131
1124
  this.#ariaLabel.set(v);
1132
1125
  }
@@ -1165,14 +1158,14 @@ class DatepickerToggleComponent {
1165
1158
  ngOnDestroy() {
1166
1159
  this.stateChanges.complete();
1167
1160
  }
1168
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DatepickerToggleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1169
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: DatepickerToggleComponent, isStandalone: true, selector: "ymt-datepicker-toggle", inputs: { datepicker: ["for", "datepicker"], disabled: "disabled", ariaLabel: "ariaLabel" }, host: { listeners: { "click": "_open($event)" } }, providers: [{ provide: MatDatepickerIntl, useClass: YmtDatepickerIntlService }], exportAs: ["matDatepickerToggle"], ngImport: i0, template: `
1161
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: DatepickerToggleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1162
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.19", type: DatepickerToggleComponent, isStandalone: true, selector: "ymt-datepicker-toggle", inputs: { datepicker: ["for", "datepicker"], disabled: "disabled", ariaLabel: "ariaLabel" }, host: { listeners: { "click": "_open($event)" } }, providers: [{ provide: MatDatepickerIntl, useClass: YmtDatepickerIntlService }], exportAs: ["matDatepickerToggle"], ngImport: i0, template: `
1170
1163
  <button type="button" ymtIconButton [attr.aria-label]="ariaLabel" [aria-disabled]="disabled" [disabled]="disabled">
1171
1164
  <ng-content select="mat-icon"></ng-content>
1172
1165
  </button>
1173
1166
  `, isInline: true, dependencies: [{ kind: "directive", type: YmtIconButtonDirective, selector: "button[ymtIconButton],button[ymt-icon-button],a[ymtIconButton],a[ymt-icon-button]", inputs: ["disabled", "disableRipple", "aria-disabled", "disabledInteractive", "icon-button-size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1174
1167
  }
1175
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DatepickerToggleComponent, decorators: [{
1168
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: DatepickerToggleComponent, decorators: [{
1176
1169
  type: Component,
1177
1170
  args: [{
1178
1171
  selector: 'ymt-datepicker-toggle',