@angular/material 20.1.3 → 20.2.0-next.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 (123) hide show
  1. package/fesm2022/autocomplete.mjs +23 -23
  2. package/fesm2022/autocomplete.mjs.map +1 -1
  3. package/fesm2022/badge.mjs +11 -11
  4. package/fesm2022/badge.mjs.map +1 -1
  5. package/fesm2022/bottom-sheet.mjs +11 -11
  6. package/fesm2022/bottom-sheet.mjs.map +1 -1
  7. package/fesm2022/button-toggle.mjs +16 -16
  8. package/fesm2022/button-toggle.mjs.map +1 -1
  9. package/fesm2022/button.mjs +20 -20
  10. package/fesm2022/button.mjs.map +1 -1
  11. package/fesm2022/card.mjs +47 -47
  12. package/fesm2022/card.mjs.map +1 -1
  13. package/fesm2022/checkbox.mjs +12 -12
  14. package/fesm2022/checkbox.mjs.map +1 -1
  15. package/fesm2022/chips.mjs +50 -50
  16. package/fesm2022/chips.mjs.map +1 -1
  17. package/fesm2022/{common-module-cKSwHniA.mjs → common-module-Ckwlusp6.mjs} +5 -5
  18. package/fesm2022/{common-module-cKSwHniA.mjs.map → common-module-Ckwlusp6.mjs.map} +1 -1
  19. package/fesm2022/core.mjs +24 -24
  20. package/fesm2022/core.mjs.map +1 -1
  21. package/fesm2022/datepicker.mjs +93 -93
  22. package/fesm2022/datepicker.mjs.map +1 -1
  23. package/fesm2022/dialog/testing.mjs +2 -2
  24. package/fesm2022/dialog.mjs +2 -2
  25. package/fesm2022/divider.mjs +8 -8
  26. package/fesm2022/divider.mjs.map +1 -1
  27. package/fesm2022/{error-options-DCNQlTOA.mjs → error-options-DasykDPK.mjs} +7 -7
  28. package/fesm2022/{error-options-DCNQlTOA.mjs.map → error-options-DasykDPK.mjs.map} +1 -1
  29. package/fesm2022/expansion.mjs +27 -27
  30. package/fesm2022/expansion.mjs.map +1 -1
  31. package/fesm2022/{form-field-D9B5IUZf.mjs → form-field-Ce1YJL9K.mjs} +40 -40
  32. package/fesm2022/{form-field-D9B5IUZf.mjs.map → form-field-Ce1YJL9K.mjs.map} +1 -1
  33. package/fesm2022/form-field.mjs +3 -3
  34. package/fesm2022/grid-list.mjs +24 -24
  35. package/fesm2022/grid-list.mjs.map +1 -1
  36. package/fesm2022/icon/testing.mjs +8 -8
  37. package/fesm2022/icon/testing.mjs.map +1 -1
  38. package/fesm2022/{icon-button-Qqf7bl_c.mjs → icon-button-CfB6KH_E.mjs} +9 -9
  39. package/fesm2022/{icon-button-Qqf7bl_c.mjs.map → icon-button-CfB6KH_E.mjs.map} +1 -1
  40. package/fesm2022/{icon-registry-CwOTJ7YM.mjs → icon-registry-CLBDUSOu.mjs} +4 -4
  41. package/fesm2022/{icon-registry-CwOTJ7YM.mjs.map → icon-registry-CLBDUSOu.mjs.map} +1 -1
  42. package/fesm2022/icon.mjs +10 -10
  43. package/fesm2022/icon.mjs.map +1 -1
  44. package/fesm2022/index-CAi4o7I5.mjs +22 -0
  45. package/fesm2022/{index-ZUoC96yG.mjs.map → index-CAi4o7I5.mjs.map} +1 -1
  46. package/fesm2022/index-rIXEckYE.mjs +20 -0
  47. package/fesm2022/{index-BRImSAOu.mjs.map → index-rIXEckYE.mjs.map} +1 -1
  48. package/fesm2022/input.mjs +12 -12
  49. package/fesm2022/input.mjs.map +1 -1
  50. package/fesm2022/{internal-form-field-D5iFxU6d.mjs → internal-form-field-C-QWn7el.mjs} +4 -4
  51. package/fesm2022/{internal-form-field-D5iFxU6d.mjs.map → internal-form-field-C-QWn7el.mjs.map} +1 -1
  52. package/fesm2022/{line-Bz5f9Cyx.mjs → line-B0IgETj1.mjs} +9 -9
  53. package/fesm2022/{line-Bz5f9Cyx.mjs.map → line-B0IgETj1.mjs.map} +1 -1
  54. package/fesm2022/list.mjs +58 -58
  55. package/fesm2022/list.mjs.map +1 -1
  56. package/fesm2022/menu.mjs +26 -26
  57. package/fesm2022/menu.mjs.map +1 -1
  58. package/fesm2022/{module-Cz4ZB2Wr.mjs → module-BVI4kAmT.mjs} +27 -27
  59. package/fesm2022/{module-Cz4ZB2Wr.mjs.map → module-BVI4kAmT.mjs.map} +1 -1
  60. package/fesm2022/{module-DG8Yn3Vr.mjs → module-BpF6A05B.mjs} +18 -18
  61. package/fesm2022/{module-DG8Yn3Vr.mjs.map → module-BpF6A05B.mjs.map} +1 -1
  62. package/fesm2022/{module-Dj5gfeAg.mjs → module-Bww_vjaX.mjs} +7 -7
  63. package/fesm2022/{module-Dj5gfeAg.mjs.map → module-Bww_vjaX.mjs.map} +1 -1
  64. package/fesm2022/{module-DVPFZEhf.mjs → module-X8APgGCS.mjs} +12 -12
  65. package/fesm2022/{module-DVPFZEhf.mjs.map → module-X8APgGCS.mjs.map} +1 -1
  66. package/fesm2022/{option-CEIjUDzj.mjs → option-_yFTwxlw.mjs} +11 -11
  67. package/fesm2022/{option-CEIjUDzj.mjs.map → option-_yFTwxlw.mjs.map} +1 -1
  68. package/fesm2022/paginator.mjs +25 -25
  69. package/fesm2022/paginator.mjs.map +1 -1
  70. package/fesm2022/progress-bar.mjs +8 -8
  71. package/fesm2022/progress-bar.mjs.map +1 -1
  72. package/fesm2022/progress-spinner.mjs +8 -8
  73. package/fesm2022/progress-spinner.mjs.map +1 -1
  74. package/fesm2022/{pseudo-checkbox-AUVlNJs_.mjs → pseudo-checkbox-CJSCiP0Y.mjs} +4 -4
  75. package/fesm2022/{pseudo-checkbox-AUVlNJs_.mjs.map → pseudo-checkbox-CJSCiP0Y.mjs.map} +1 -1
  76. package/fesm2022/pseudo-checkbox-module-BwXRv-p0.mjs +20 -0
  77. package/fesm2022/{pseudo-checkbox-module-BymSaWBn.mjs.map → pseudo-checkbox-module-BwXRv-p0.mjs.map} +1 -1
  78. package/fesm2022/radio.mjs +15 -15
  79. package/fesm2022/radio.mjs.map +1 -1
  80. package/fesm2022/{ripple-BMyyyLz2.mjs → ripple-DToxr3s4.mjs} +7 -7
  81. package/fesm2022/{ripple-BMyyyLz2.mjs.map → ripple-DToxr3s4.mjs.map} +1 -1
  82. package/fesm2022/{ripple-loader-wNDzC_j6.mjs → ripple-loader-B_67UOY7.mjs} +5 -5
  83. package/fesm2022/{ripple-loader-wNDzC_j6.mjs.map → ripple-loader-B_67UOY7.mjs.map} +1 -1
  84. package/fesm2022/select.mjs +12 -12
  85. package/fesm2022/sidenav.mjs +24 -24
  86. package/fesm2022/sidenav.mjs.map +1 -1
  87. package/fesm2022/slide-toggle.mjs +13 -13
  88. package/fesm2022/slide-toggle.mjs.map +1 -1
  89. package/fesm2022/slider.mjs +21 -21
  90. package/fesm2022/slider.mjs.map +1 -1
  91. package/fesm2022/snack-bar.mjs +28 -28
  92. package/fesm2022/snack-bar.mjs.map +1 -1
  93. package/fesm2022/sort.mjs +16 -16
  94. package/fesm2022/sort.mjs.map +1 -1
  95. package/fesm2022/stepper.mjs +38 -38
  96. package/fesm2022/stepper.mjs.map +1 -1
  97. package/fesm2022/{structural-styles-CObeNzjn.mjs → structural-styles-wmZbw0XJ.mjs} +4 -4
  98. package/fesm2022/{structural-styles-CObeNzjn.mjs.map → structural-styles-wmZbw0XJ.mjs.map} +1 -1
  99. package/fesm2022/table.mjs +60 -56
  100. package/fesm2022/table.mjs.map +1 -1
  101. package/fesm2022/tabs.mjs +50 -50
  102. package/fesm2022/tabs.mjs.map +1 -1
  103. package/fesm2022/timepicker.mjs +82 -77
  104. package/fesm2022/timepicker.mjs.map +1 -1
  105. package/fesm2022/toolbar.mjs +11 -11
  106. package/fesm2022/toolbar.mjs.map +1 -1
  107. package/fesm2022/tooltip.mjs +2 -2
  108. package/fesm2022/tree.mjs +26 -26
  109. package/fesm2022/tree.mjs.map +1 -1
  110. package/package.json +6 -6
  111. package/prebuilt-themes/deeppurple-amber.css +1 -1
  112. package/prebuilt-themes/indigo-pink.css +1 -1
  113. package/prebuilt-themes/pink-bluegrey.css +1 -1
  114. package/prebuilt-themes/purple-green.css +1 -1
  115. package/schematics/ng-add/index.js +2 -2
  116. package/schematics/ng-update/index_bundled.js +134 -106
  117. package/schematics/ng-update/index_bundled.js.map +2 -2
  118. package/slide-toggle/_m2-slide-toggle.scss +2 -1
  119. package/slide-toggle/_m3-slide-toggle.scss +13 -1
  120. package/table/index.d.ts +2 -2
  121. package/fesm2022/index-BRImSAOu.mjs +0 -20
  122. package/fesm2022/index-ZUoC96yG.mjs +0 -22
  123. package/fesm2022/pseudo-checkbox-module-BymSaWBn.mjs +0 -20
@@ -8,23 +8,23 @@ import { TAB, ESCAPE, hasModifierKey, ENTER, DOWN_ARROW, UP_ARROW } from '@angul
8
8
  import { ActiveDescendantKeyManager, _IdGenerator } from '@angular/cdk/a11y';
9
9
  import { D as DateAdapter, a as MAT_DATE_FORMATS } from './date-formats-K6TQue-Y.mjs';
10
10
  import { _ as _animationsDisabled } from './animation-ChQ1vjiF.mjs';
11
- import { M as MatOption, c as MAT_OPTION_PARENT_COMPONENT } from './option-CEIjUDzj.mjs';
11
+ import { M as MatOption, c as MAT_OPTION_PARENT_COMPONENT } from './option-_yFTwxlw.mjs';
12
12
  import { Validators, NG_VALUE_ACCESSOR, NG_VALIDATORS } from '@angular/forms';
13
- import { h as MAT_FORM_FIELD } from './form-field-D9B5IUZf.mjs';
13
+ import { h as MAT_FORM_FIELD } from './form-field-Ce1YJL9K.mjs';
14
14
  import { M as MAT_INPUT_VALUE_ACCESSOR } from './input-value-accessor-D1GvPuqO.mjs';
15
- import { M as MatIconButton } from './icon-button-Qqf7bl_c.mjs';
15
+ import { M as MatIconButton } from './icon-button-CfB6KH_E.mjs';
16
16
  import { CdkScrollableModule } from '@angular/cdk/scrolling';
17
17
  import 'rxjs';
18
18
  import '@angular/cdk/layout';
19
- import './ripple-BMyyyLz2.mjs';
19
+ import './ripple-DToxr3s4.mjs';
20
20
  import '@angular/cdk/coercion';
21
21
  import '@angular/cdk/private';
22
- import './pseudo-checkbox-AUVlNJs_.mjs';
23
- import './structural-styles-CObeNzjn.mjs';
22
+ import './pseudo-checkbox-CJSCiP0Y.mjs';
23
+ import './structural-styles-wmZbw0XJ.mjs';
24
24
  import '@angular/common';
25
25
  import 'rxjs/operators';
26
26
  import '@angular/cdk/observers/private';
27
- import './ripple-loader-wNDzC_j6.mjs';
27
+ import './ripple-loader-B_67UOY7.mjs';
28
28
 
29
29
  /** Pattern that interval strings have to match. */
30
30
  const INTERVAL_PATTERN = /^(\d*\.?\d+)\s*(h|hour|hours|m|min|minute|minutes|s|second|seconds)?$/i;
@@ -125,9 +125,9 @@ class MatTimepicker {
125
125
  _dateFormats = inject(MAT_DATE_FORMATS, { optional: true });
126
126
  _scrollStrategyFactory = inject(MAT_TIMEPICKER_SCROLL_STRATEGY);
127
127
  _animationsDisabled = _animationsDisabled();
128
- _isOpen = signal(false);
129
- _activeDescendant = signal(null);
130
- _input = signal(null);
128
+ _isOpen = signal(false, ...(ngDevMode ? [{ debugName: "_isOpen" }] : []));
129
+ _activeDescendant = signal(null, ...(ngDevMode ? [{ debugName: "_activeDescendant" }] : []));
130
+ _input = signal(null, ...(ngDevMode ? [{ debugName: "_input" }] : []));
131
131
  _overlayRef = null;
132
132
  _portal = null;
133
133
  _optionsCacheKey = null;
@@ -135,7 +135,7 @@ class MatTimepicker {
135
135
  _onOpenRender = null;
136
136
  _panelTemplate = viewChild.required('panelTemplate');
137
137
  _timeOptions = [];
138
- _options = viewChildren(MatOption);
138
+ _options = viewChildren(MatOption, ...(ngDevMode ? [{ debugName: "_options" }] : []));
139
139
  _keyManager = new ActiveDescendantKeyManager(this._options, this._injector)
140
140
  .withHomeAndEnd(true)
141
141
  .withPageUpDown(true)
@@ -145,12 +145,12 @@ class MatTimepicker {
145
145
  * seconds (e.g. 90) or a number with a unit (e.g. 45m). Supported units are `s` for seconds,
146
146
  * `m` for minutes or `h` for hours.
147
147
  */
148
- interval = input(parseInterval(this._defaultConfig?.interval || null), { transform: parseInterval });
148
+ interval = input(parseInterval(this._defaultConfig?.interval || null), ...(ngDevMode ? [{ debugName: "interval", transform: parseInterval }] : [{ transform: parseInterval }]));
149
149
  /**
150
150
  * Array of pre-defined options that the user can select from, as an alternative to using the
151
151
  * `interval` input. An error will be thrown if both `options` and `interval` are specified.
152
152
  */
153
- options = input(null);
153
+ options = input(null, ...(ngDevMode ? [{ debugName: "options" }] : []));
154
154
  /** Whether the timepicker is open. */
155
155
  isOpen = this._isOpen.asReadonly();
156
156
  /** Emits when the user selects a time. */
@@ -164,19 +164,19 @@ class MatTimepicker {
164
164
  /** Unique ID of the timepicker's panel */
165
165
  panelId = inject(_IdGenerator).getId('mat-timepicker-panel-');
166
166
  /** Whether ripples within the timepicker should be disabled. */
167
- disableRipple = input(this._defaultConfig?.disableRipple ?? false, {
168
- transform: booleanAttribute,
169
- });
167
+ disableRipple = input(this._defaultConfig?.disableRipple ?? false, ...(ngDevMode ? [{ debugName: "disableRipple", transform: booleanAttribute }] : [{
168
+ transform: booleanAttribute,
169
+ }]));
170
170
  /** ARIA label for the timepicker panel. */
171
- ariaLabel = input(null, {
172
- alias: 'aria-label',
173
- });
171
+ ariaLabel = input(null, ...(ngDevMode ? [{ debugName: "ariaLabel", alias: 'aria-label' }] : [{
172
+ alias: 'aria-label',
173
+ }]));
174
174
  /** ID of the label element for the timepicker panel. */
175
- ariaLabelledby = input(null, {
176
- alias: 'aria-labelledby',
177
- });
175
+ ariaLabelledby = input(null, ...(ngDevMode ? [{ debugName: "ariaLabelledby", alias: 'aria-labelledby' }] : [{
176
+ alias: 'aria-labelledby',
177
+ }]));
178
178
  /** Whether the timepicker is currently disabled. */
179
- disabled = computed(() => !!this._input()?.disabled());
179
+ disabled = computed(() => !!this._input()?.disabled(), ...(ngDevMode ? [{ debugName: "disabled" }] : []));
180
180
  constructor() {
181
181
  if (typeof ngDevMode === 'undefined' || ngDevMode) {
182
182
  validateAdapter(this._dateAdapter, this._dateFormats);
@@ -424,15 +424,15 @@ class MatTimepicker {
424
424
  }
425
425
  });
426
426
  }
427
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: MatTimepicker, deps: [], target: i0.ɵɵFactoryTarget.Component });
428
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.0", type: MatTimepicker, isStandalone: true, selector: "mat-timepicker", inputs: { interval: { classPropertyName: "interval", publicName: "interval", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, disableRipple: { classPropertyName: "disableRipple", publicName: "disableRipple", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledby: { classPropertyName: "ariaLabelledby", publicName: "aria-labelledby", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { selected: "selected", opened: "opened", closed: "closed" }, providers: [
427
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.1", ngImport: i0, type: MatTimepicker, deps: [], target: i0.ɵɵFactoryTarget.Component });
428
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.2.0-next.1", type: MatTimepicker, isStandalone: true, selector: "mat-timepicker", inputs: { interval: { classPropertyName: "interval", publicName: "interval", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, disableRipple: { classPropertyName: "disableRipple", publicName: "disableRipple", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledby: { classPropertyName: "ariaLabelledby", publicName: "aria-labelledby", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { selected: "selected", opened: "opened", closed: "closed" }, providers: [
429
429
  {
430
430
  provide: MAT_OPTION_PARENT_COMPONENT,
431
431
  useExisting: MatTimepicker,
432
432
  },
433
433
  ], viewQueries: [{ propertyName: "_panelTemplate", first: true, predicate: ["panelTemplate"], descendants: true, isSignal: true }, { propertyName: "_options", predicate: MatOption, descendants: true, isSignal: true }], exportAs: ["matTimepicker"], ngImport: i0, template: "<ng-template #panelTemplate>\n <div\n role=\"listbox\"\n class=\"mat-timepicker-panel\"\n [class.mat-timepicker-panel-animations-enabled]=\"!_animationsDisabled\"\n [class.mat-timepicker-panel-exit]=\"!isOpen()\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [attr.aria-labelledby]=\"_getAriaLabelledby()\"\n [id]=\"panelId\"\n (animationend)=\"_handleAnimationEnd($event)\">\n @for (option of _timeOptions; track option.value) {\n <mat-option\n [value]=\"option.value\"\n (onSelectionChange)=\"_selectValue($event.source)\">{{option.label}}</mat-option>\n }\n </div>\n</ng-template>\n", styles: ["@keyframes _mat-timepicker-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-timepicker-exit{from{opacity:1}to{opacity:0}}mat-timepicker{display:none}.mat-timepicker-panel{width:100%;max-height:256px;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:relative;border-bottom-left-radius:var(--mat-timepicker-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-timepicker-container-shape, var(--mat-sys-corner-extra-small));box-shadow:var(--mat-timepicker-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));background-color:var(--mat-timepicker-container-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){.mat-timepicker-panel{outline:solid 1px}}.mat-timepicker-above .mat-timepicker-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-timepicker-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mat-timepicker-container-shape, var(--mat-sys-corner-extra-small))}.mat-timepicker-panel-animations-enabled{animation:_mat-timepicker-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-timepicker-panel-animations-enabled.mat-timepicker-panel-exit{animation:_mat-timepicker-exit 100ms linear}.mat-timepicker-input[readonly]{cursor:pointer}@media(forced-colors: active){.mat-timepicker-toggle-default-icon{color:CanvasText}}\n"], dependencies: [{ kind: "component", type: MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
434
434
  }
435
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: MatTimepicker, decorators: [{
435
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.1", ngImport: i0, type: MatTimepicker, decorators: [{
436
436
  type: Component,
437
437
  args: [{ selector: 'mat-timepicker', exportAs: 'matTimepicker', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [MatOption], providers: [
438
438
  {
@@ -462,7 +462,7 @@ class MatTimepickerInput {
462
462
  _onTouched;
463
463
  _validatorOnChange;
464
464
  _cleanupClick;
465
- _accessorDisabled = signal(false);
465
+ _accessorDisabled = signal(false, ...(ngDevMode ? [{ debugName: "_accessorDisabled" }] : []));
466
466
  _localeSubscription;
467
467
  _timepickerSubscription;
468
468
  _validator;
@@ -474,55 +474,59 @@ class MatTimepickerInput {
474
474
  const isOpen = timepicker.isOpen();
475
475
  const activeDescendant = timepicker.activeDescendant();
476
476
  return isOpen && activeDescendant ? activeDescendant : null;
477
- });
477
+ }, ...(ngDevMode ? [{ debugName: "_ariaActiveDescendant" }] : []));
478
478
  /** Value of the `aria-expanded` attribute. */
479
- _ariaExpanded = computed(() => this.timepicker().isOpen() + '');
479
+ _ariaExpanded = computed(() => this.timepicker().isOpen() + '', ...(ngDevMode ? [{ debugName: "_ariaExpanded" }] : []));
480
480
  /** Value of the `aria-controls` attribute. */
481
481
  _ariaControls = computed(() => {
482
482
  const timepicker = this.timepicker();
483
483
  return timepicker.isOpen() ? timepicker.panelId : null;
484
- });
484
+ }, ...(ngDevMode ? [{ debugName: "_ariaControls" }] : []));
485
485
  /** Current value of the input. */
486
- value = model(null);
486
+ value = model(null, ...(ngDevMode ? [{ debugName: "value" }] : []));
487
487
  /** Timepicker that the input is associated with. */
488
- timepicker = input.required({
489
- alias: 'matTimepicker',
490
- });
488
+ timepicker = input.required(...(ngDevMode ? [{ debugName: "timepicker", alias: 'matTimepicker' }] : [{
489
+ alias: 'matTimepicker',
490
+ }]));
491
491
  /**
492
492
  * Minimum time that can be selected or typed in. Can be either
493
493
  * a date object (only time will be used) or a valid time string.
494
494
  */
495
- min = input(null, {
496
- alias: 'matTimepickerMin',
497
- transform: (value) => this._transformDateInput(value),
498
- });
495
+ min = input(null, ...(ngDevMode ? [{ debugName: "min", alias: 'matTimepickerMin',
496
+ transform: (value) => this._transformDateInput(value) }] : [{
497
+ alias: 'matTimepickerMin',
498
+ transform: (value) => this._transformDateInput(value),
499
+ }]));
499
500
  /**
500
501
  * Maximum time that can be selected or typed in. Can be either
501
502
  * a date object (only time will be used) or a valid time string.
502
503
  */
503
- max = input(null, {
504
- alias: 'matTimepickerMax',
505
- transform: (value) => this._transformDateInput(value),
506
- });
504
+ max = input(null, ...(ngDevMode ? [{ debugName: "max", alias: 'matTimepickerMax',
505
+ transform: (value) => this._transformDateInput(value) }] : [{
506
+ alias: 'matTimepickerMax',
507
+ transform: (value) => this._transformDateInput(value),
508
+ }]));
507
509
  /**
508
510
  * Whether to open the timepicker overlay when clicking on the input. Enabled by default.
509
511
  * Note that when disabling this option, you'll have to provide your own logic for opening
510
512
  * the overlay.
511
513
  */
512
- openOnClick = input(true, {
513
- alias: 'matTimepickerOpenOnClick',
514
- transform: booleanAttribute,
515
- });
514
+ openOnClick = input(true, ...(ngDevMode ? [{ debugName: "openOnClick", alias: 'matTimepickerOpenOnClick',
515
+ transform: booleanAttribute }] : [{
516
+ alias: 'matTimepickerOpenOnClick',
517
+ transform: booleanAttribute,
518
+ }]));
516
519
  /** Whether the input is disabled. */
517
- disabled = computed(() => this.disabledInput() || this._accessorDisabled());
520
+ disabled = computed(() => this.disabledInput() || this._accessorDisabled(), ...(ngDevMode ? [{ debugName: "disabled" }] : []));
518
521
  /**
519
522
  * Whether the input should be disabled through the template.
520
523
  * @docs-private
521
524
  */
522
- disabledInput = input(false, {
523
- transform: booleanAttribute,
524
- alias: 'disabled',
525
- });
525
+ disabledInput = input(false, ...(ngDevMode ? [{ debugName: "disabledInput", transform: booleanAttribute,
526
+ alias: 'disabled' }] : [{
527
+ transform: booleanAttribute,
528
+ alias: 'disabled',
529
+ }]));
526
530
  constructor() {
527
531
  if (typeof ngDevMode === 'undefined' || ngDevMode) {
528
532
  validateAdapter(this._dateAdapter, this._dateFormats);
@@ -764,8 +768,8 @@ class MatTimepickerInput {
764
768
  },
765
769
  ]);
766
770
  }
767
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: MatTimepickerInput, deps: [], target: i0.ɵɵFactoryTarget.Directive });
768
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.0.0", type: MatTimepickerInput, isStandalone: true, selector: "input[matTimepicker]", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, timepicker: { classPropertyName: "timepicker", publicName: "matTimepicker", isSignal: true, isRequired: true, transformFunction: null }, min: { classPropertyName: "min", publicName: "matTimepickerMin", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "matTimepickerMax", isSignal: true, isRequired: false, transformFunction: null }, openOnClick: { classPropertyName: "openOnClick", publicName: "matTimepickerOpenOnClick", isSignal: true, isRequired: false, transformFunction: null }, disabledInput: { classPropertyName: "disabledInput", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { attributes: { "role": "combobox", "type": "text", "aria-haspopup": "listbox" }, listeners: { "blur": "_handleBlur()", "input": "_handleInput($event)", "keydown": "_handleKeydown($event)" }, properties: { "attr.aria-activedescendant": "_ariaActiveDescendant()", "attr.aria-expanded": "_ariaExpanded()", "attr.aria-controls": "_ariaControls()", "attr.mat-timepicker-id": "timepicker()?.panelId", "disabled": "disabled()" }, classAttribute: "mat-timepicker-input" }, providers: [
771
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.1", ngImport: i0, type: MatTimepickerInput, deps: [], target: i0.ɵɵFactoryTarget.Directive });
772
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.2.0-next.1", type: MatTimepickerInput, isStandalone: true, selector: "input[matTimepicker]", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, timepicker: { classPropertyName: "timepicker", publicName: "matTimepicker", isSignal: true, isRequired: true, transformFunction: null }, min: { classPropertyName: "min", publicName: "matTimepickerMin", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "matTimepickerMax", isSignal: true, isRequired: false, transformFunction: null }, openOnClick: { classPropertyName: "openOnClick", publicName: "matTimepickerOpenOnClick", isSignal: true, isRequired: false, transformFunction: null }, disabledInput: { classPropertyName: "disabledInput", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { attributes: { "role": "combobox", "type": "text", "aria-haspopup": "listbox" }, listeners: { "blur": "_handleBlur()", "input": "_handleInput($event)", "keydown": "_handleKeydown($event)" }, properties: { "attr.aria-activedescendant": "_ariaActiveDescendant()", "attr.aria-expanded": "_ariaExpanded()", "attr.aria-controls": "_ariaControls()", "attr.mat-timepicker-id": "timepicker()?.panelId", "disabled": "disabled()" }, classAttribute: "mat-timepicker-input" }, providers: [
769
773
  {
770
774
  provide: NG_VALUE_ACCESSOR,
771
775
  useExisting: MatTimepickerInput,
@@ -782,7 +786,7 @@ class MatTimepickerInput {
782
786
  },
783
787
  ], exportAs: ["matTimepickerInput"], ngImport: i0 });
784
788
  }
785
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: MatTimepickerInput, decorators: [{
789
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.1", ngImport: i0, type: MatTimepickerInput, decorators: [{
786
790
  type: Directive,
787
791
  args: [{
788
792
  selector: 'input[matTimepicker]',
@@ -831,30 +835,31 @@ class MatTimepickerToggle {
831
835
  _isDisabled = computed(() => {
832
836
  const timepicker = this.timepicker();
833
837
  return this.disabled() || timepicker.disabled();
834
- });
838
+ }, ...(ngDevMode ? [{ debugName: "_isDisabled" }] : []));
835
839
  /** Timepicker instance that the button will toggle. */
836
- timepicker = input.required({
837
- alias: 'for',
838
- });
840
+ timepicker = input.required(...(ngDevMode ? [{ debugName: "timepicker", alias: 'for' }] : [{
841
+ alias: 'for',
842
+ }]));
839
843
  /** Screen-reader label for the button. */
840
- ariaLabel = input(undefined, {
841
- alias: 'aria-label',
842
- });
844
+ ariaLabel = input(undefined, ...(ngDevMode ? [{ debugName: "ariaLabel", alias: 'aria-label' }] : [{
845
+ alias: 'aria-label',
846
+ }]));
843
847
  /** Screen-reader labelled by id for the button. */
844
- ariaLabelledby = input(undefined, {
845
- alias: 'aria-labelledby',
846
- });
848
+ ariaLabelledby = input(undefined, ...(ngDevMode ? [{ debugName: "ariaLabelledby", alias: 'aria-labelledby' }] : [{
849
+ alias: 'aria-labelledby',
850
+ }]));
847
851
  /** Default aria-label for the toggle if none is provided. */
848
852
  _defaultAriaLabel = 'Open timepicker options';
849
853
  /** Whether the toggle button is disabled. */
850
- disabled = input(false, {
851
- transform: booleanAttribute,
852
- alias: 'disabled',
853
- });
854
+ disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled", transform: booleanAttribute,
855
+ alias: 'disabled' }] : [{
856
+ transform: booleanAttribute,
857
+ alias: 'disabled',
858
+ }]));
854
859
  /** Tabindex for the toggle. */
855
- tabIndex = input(this._defaultTabIndex);
860
+ tabIndex = input(this._defaultTabIndex, ...(ngDevMode ? [{ debugName: "tabIndex" }] : []));
856
861
  /** Whether ripples on the toggle should be disabled. */
857
- disableRipple = input(this._defaultConfig?.disableRipple ?? false, { transform: booleanAttribute });
862
+ disableRipple = input(this._defaultConfig?.disableRipple ?? false, ...(ngDevMode ? [{ debugName: "disableRipple", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
858
863
  /** Opens the connected timepicker. */
859
864
  _open(event) {
860
865
  if (this.timepicker() && !this._isDisabled()) {
@@ -869,10 +874,10 @@ class MatTimepickerToggle {
869
874
  getAriaLabel() {
870
875
  return this.ariaLabelledby() ? null : this.ariaLabel() || this._defaultAriaLabel;
871
876
  }
872
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: MatTimepickerToggle, deps: [], target: i0.ɵɵFactoryTarget.Component });
873
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.0.0", type: MatTimepickerToggle, isStandalone: true, selector: "mat-timepicker-toggle", inputs: { timepicker: { classPropertyName: "timepicker", publicName: "for", isSignal: true, isRequired: true, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledby: { classPropertyName: "ariaLabelledby", publicName: "aria-labelledby", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, tabIndex: { classPropertyName: "tabIndex", publicName: "tabIndex", isSignal: true, isRequired: false, transformFunction: null }, disableRipple: { classPropertyName: "disableRipple", publicName: "disableRipple", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "_open($event)" }, properties: { "attr.tabindex": "null" }, classAttribute: "mat-timepicker-toggle" }, exportAs: ["matTimepickerToggle"], ngImport: i0, template: "<button\n matIconButton\n type=\"button\"\n aria-haspopup=\"listbox\"\n [attr.aria-label]=\"getAriaLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledby()\"\n [attr.aria-expanded]=\"timepicker().isOpen()\"\n [tabIndex]=\"_isDisabled() ? -1 : tabIndex()\"\n [disabled]=\"_isDisabled()\"\n [disableRipple]=\"disableRipple()\">\n\n <ng-content select=\"[matTimepickerToggleIcon]\">\n <svg\n class=\"mat-timepicker-toggle-default-icon\"\n height=\"24px\"\n width=\"24px\"\n viewBox=\"0 -960 960 960\"\n fill=\"currentColor\"\n focusable=\"false\"\n aria-hidden=\"true\">\n <path d=\"m612-292 56-56-148-148v-184h-80v216l172 172ZM480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-400Zm0 320q133 0 226.5-93.5T800-480q0-133-93.5-226.5T480-800q-133 0-226.5 93.5T160-480q0 133 93.5 226.5T480-160Z\"/>\n </svg>\n </ng-content>\n</button>\n", dependencies: [{ kind: "component", type: MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
877
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.1", ngImport: i0, type: MatTimepickerToggle, deps: [], target: i0.ɵɵFactoryTarget.Component });
878
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.2.0-next.1", type: MatTimepickerToggle, isStandalone: true, selector: "mat-timepicker-toggle", inputs: { timepicker: { classPropertyName: "timepicker", publicName: "for", isSignal: true, isRequired: true, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledby: { classPropertyName: "ariaLabelledby", publicName: "aria-labelledby", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, tabIndex: { classPropertyName: "tabIndex", publicName: "tabIndex", isSignal: true, isRequired: false, transformFunction: null }, disableRipple: { classPropertyName: "disableRipple", publicName: "disableRipple", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "_open($event)" }, properties: { "attr.tabindex": "null" }, classAttribute: "mat-timepicker-toggle" }, exportAs: ["matTimepickerToggle"], ngImport: i0, template: "<button\n matIconButton\n type=\"button\"\n aria-haspopup=\"listbox\"\n [attr.aria-label]=\"getAriaLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledby()\"\n [attr.aria-expanded]=\"timepicker().isOpen()\"\n [tabIndex]=\"_isDisabled() ? -1 : tabIndex()\"\n [disabled]=\"_isDisabled()\"\n [disableRipple]=\"disableRipple()\">\n\n <ng-content select=\"[matTimepickerToggleIcon]\">\n <svg\n class=\"mat-timepicker-toggle-default-icon\"\n height=\"24px\"\n width=\"24px\"\n viewBox=\"0 -960 960 960\"\n fill=\"currentColor\"\n focusable=\"false\"\n aria-hidden=\"true\">\n <path d=\"m612-292 56-56-148-148v-184h-80v216l172 172ZM480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-400Zm0 320q133 0 226.5-93.5T800-480q0-133-93.5-226.5T480-800q-133 0-226.5 93.5T160-480q0 133 93.5 226.5T480-160Z\"/>\n </svg>\n </ng-content>\n</button>\n", dependencies: [{ kind: "component", type: MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
874
879
  }
875
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: MatTimepickerToggle, decorators: [{
880
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.1", ngImport: i0, type: MatTimepickerToggle, decorators: [{
876
881
  type: Component,
877
882
  args: [{ selector: 'mat-timepicker-toggle', host: {
878
883
  'class': 'mat-timepicker-toggle',
@@ -885,11 +890,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImpor
885
890
  }] });
886
891
 
887
892
  class MatTimepickerModule {
888
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: MatTimepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
889
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0", ngImport: i0, type: MatTimepickerModule, imports: [MatTimepicker, MatTimepickerInput, MatTimepickerToggle], exports: [CdkScrollableModule, MatTimepicker, MatTimepickerInput, MatTimepickerToggle] });
890
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: MatTimepickerModule, imports: [MatTimepicker, MatTimepickerToggle, CdkScrollableModule] });
893
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.1", ngImport: i0, type: MatTimepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
894
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.0-next.1", ngImport: i0, type: MatTimepickerModule, imports: [MatTimepicker, MatTimepickerInput, MatTimepickerToggle], exports: [CdkScrollableModule, MatTimepicker, MatTimepickerInput, MatTimepickerToggle] });
895
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.0-next.1", ngImport: i0, type: MatTimepickerModule, imports: [MatTimepicker, MatTimepickerToggle, CdkScrollableModule] });
891
896
  }
892
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: MatTimepickerModule, decorators: [{
897
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.1", ngImport: i0, type: MatTimepickerModule, decorators: [{
893
898
  type: NgModule,
894
899
  args: [{
895
900
  imports: [MatTimepicker, MatTimepickerInput, MatTimepickerToggle],