@angular/material 19.2.2 → 19.2.4
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.
- package/autocomplete/index.d.ts +90 -124
- package/autocomplete/testing/index.d.ts +6 -11
- package/badge/index.d.ts +8 -112
- package/badge/testing/index.d.ts +7 -8
- package/badge.d-49a8a74b.d.ts +98 -0
- package/bottom-sheet/index.d.ts +88 -103
- package/bottom-sheet/testing/index.d.ts +4 -6
- package/button/index.d.ts +10 -259
- package/button/testing/index.d.ts +6 -10
- package/button-toggle/index.d.ts +12 -285
- package/button-toggle/testing/index.d.ts +38 -37
- package/button-toggle.d-edc8acff.d.ts +257 -0
- package/card/index.d.ts +80 -117
- package/card/testing/index.d.ts +11 -15
- package/checkbox/index.d.ts +57 -86
- package/checkbox/testing/index.d.ts +6 -10
- package/chips/index.d.ts +598 -692
- package/chips/testing/index.d.ts +78 -93
- package/common-module.d-0e6515ae.d.ts +43 -0
- package/core/index.d.ts +50 -979
- package/core/testing/index.d.ts +3 -65
- package/core/tokens/m3/definitions/_md-comp-elevated-card.scss +3 -1
- package/core/tokens/m3/definitions/_md-sys-color.scss +44 -2
- package/core/tokens/m3/definitions/_md-sys-typescale.scss +20 -1
- package/date-adapter.d-c6835d41.d.ts +267 -0
- package/date-range-input-harness.d-549a9f7e.d.ts +278 -0
- package/datepicker/index.d.ts +1436 -1586
- package/datepicker/testing/index.d.ts +5 -287
- package/dialog/index.d.ts +59 -459
- package/dialog/testing/index.d.ts +22 -26
- package/dialog.d-7187c941.d.ts +357 -0
- package/divider/index.d.ts +6 -11
- package/divider/testing/index.d.ts +2 -16
- package/divider-harness.d-d34fede4.d.ts +14 -0
- package/error-options.d-448d9046.d.ts +17 -0
- package/expansion/index.d.ts +139 -190
- package/expansion/testing/index.d.ts +25 -31
- package/fesm2022/autocomplete/testing.mjs +2 -1
- package/fesm2022/autocomplete/testing.mjs.map +1 -1
- package/fesm2022/autocomplete.mjs +38 -18
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge/testing.mjs.map +1 -1
- package/fesm2022/badge.mjs +4 -7
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +3 -5
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/button/testing.mjs.map +1 -1
- package/fesm2022/button-toggle/testing.mjs.map +1 -1
- package/fesm2022/button-toggle.mjs +12 -5
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +14 -481
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card/testing.mjs.map +1 -1
- package/fesm2022/card.mjs +3 -5
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox/testing.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +12 -6
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips/testing.mjs.map +1 -1
- package/fesm2022/chips.mjs +11 -6
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/common-module-a39ee957.mjs +42 -0
- package/fesm2022/common-module-a39ee957.mjs.map +1 -0
- package/fesm2022/core/testing.mjs +3 -76
- package/fesm2022/core/testing.mjs.map +1 -1
- package/fesm2022/core.mjs +27 -1587
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/date-formats-b618acb8.mjs +190 -0
- package/fesm2022/date-formats-b618acb8.mjs.map +1 -0
- package/fesm2022/date-range-input-harness-ee47cdb0.mjs +467 -0
- package/fesm2022/date-range-input-harness-ee47cdb0.mjs.map +1 -0
- package/fesm2022/datepicker/testing.mjs +5 -465
- package/fesm2022/datepicker/testing.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +64 -30
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog/testing.mjs +12 -1
- package/fesm2022/dialog/testing.mjs.map +1 -1
- package/fesm2022/dialog.mjs +14 -901
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider/testing.mjs +2 -17
- package/fesm2022/divider/testing.mjs.map +1 -1
- package/fesm2022/divider-harness-3394f29a.mjs +18 -0
- package/fesm2022/divider-harness-3394f29a.mjs.map +1 -0
- package/fesm2022/divider.mjs +3 -5
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/error-options-aca21924.mjs +29 -0
- package/fesm2022/error-options-aca21924.mjs.map +1 -0
- package/fesm2022/error-state-8f4ce1af.mjs +37 -0
- package/fesm2022/error-state-8f4ce1af.mjs.map +1 -0
- package/fesm2022/expansion/testing.mjs.map +1 -1
- package/fesm2022/expansion.mjs +5 -7
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field/testing/control.mjs +2 -10
- package/fesm2022/form-field/testing/control.mjs.map +1 -1
- package/fesm2022/form-field/testing.mjs +7 -6
- package/fesm2022/form-field/testing.mjs.map +1 -1
- package/fesm2022/form-field-50ec956f.mjs +1076 -0
- package/fesm2022/form-field-50ec956f.mjs.map +1 -0
- package/fesm2022/form-field-control-harness-af6fd278.mjs +11 -0
- package/fesm2022/form-field-control-harness-af6fd278.mjs.map +1 -0
- package/fesm2022/form-field.mjs +14 -1110
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list/testing.mjs +1 -1
- package/fesm2022/grid-list/testing.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +8 -151
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/icon/testing.mjs +5 -5
- package/fesm2022/icon/testing.mjs.map +1 -1
- package/fesm2022/icon-button-655c4ed3.mjs +275 -0
- package/fesm2022/icon-button-655c4ed3.mjs.map +1 -0
- package/fesm2022/icon-module-881c6455.mjs +395 -0
- package/fesm2022/icon-module-881c6455.mjs.map +1 -0
- package/fesm2022/icon-registry-e1064d47.mjs +639 -0
- package/fesm2022/icon-registry-e1064d47.mjs.map +1 -0
- package/fesm2022/icon.mjs +11 -1016
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/index-2f2536d6.mjs +22 -0
- package/fesm2022/index-2f2536d6.mjs.map +1 -0
- package/fesm2022/index-a36e3c7c.mjs +20 -0
- package/fesm2022/index-a36e3c7c.mjs.map +1 -0
- package/fesm2022/input/testing.mjs +5 -113
- package/fesm2022/input/testing.mjs.map +1 -1
- package/fesm2022/input-harness-ed59decc.mjs +115 -0
- package/fesm2022/input-harness-ed59decc.mjs.map +1 -0
- package/fesm2022/input-value-accessor-8a79a24e.mjs +12 -0
- package/fesm2022/input-value-accessor-8a79a24e.mjs.map +1 -0
- package/fesm2022/input.mjs +14 -16
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/internal-form-field-5960ea2e.mjs +27 -0
- package/fesm2022/internal-form-field-5960ea2e.mjs.map +1 -0
- package/fesm2022/line-11b0093d.mjs +59 -0
- package/fesm2022/line-11b0093d.mjs.map +1 -0
- package/fesm2022/list/testing.mjs +2 -2
- package/fesm2022/list/testing.mjs.map +1 -1
- package/fesm2022/list.mjs +10 -7
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu/testing.mjs.map +1 -1
- package/fesm2022/menu.mjs +20 -8
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/module-0776ab9b.mjs +38 -0
- package/fesm2022/module-0776ab9b.mjs.map +1 -0
- package/fesm2022/module-087ecec3.mjs +970 -0
- package/fesm2022/module-087ecec3.mjs.map +1 -0
- package/fesm2022/module-6b33072b.mjs +218 -0
- package/fesm2022/module-6b33072b.mjs.map +1 -0
- package/fesm2022/module-b0a3e0af.mjs +1293 -0
- package/fesm2022/module-b0a3e0af.mjs.map +1 -0
- package/fesm2022/module-b3de5709.mjs +899 -0
- package/fesm2022/module-b3de5709.mjs.map +1 -0
- package/fesm2022/optgroup-harness-5e66b138.mjs +36 -0
- package/fesm2022/optgroup-harness-5e66b138.mjs.map +1 -0
- package/fesm2022/option-cb353f7a.mjs +348 -0
- package/fesm2022/option-cb353f7a.mjs.map +1 -0
- package/fesm2022/option-harness-3b7c1106.mjs +46 -0
- package/fesm2022/option-harness-3b7c1106.mjs.map +1 -0
- package/fesm2022/paginator/testing.mjs +4 -1
- package/fesm2022/paginator/testing.mjs.map +1 -1
- package/fesm2022/paginator.mjs +43 -13
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar/testing.mjs +0 -4
- package/fesm2022/progress-bar/testing.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +8 -6
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner/testing.mjs +0 -4
- package/fesm2022/progress-spinner/testing.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +8 -6
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/pseudo-checkbox-4a60d45e.mjs +52 -0
- package/fesm2022/pseudo-checkbox-4a60d45e.mjs.map +1 -0
- package/fesm2022/pseudo-checkbox-module-31a58606.mjs +20 -0
- package/fesm2022/pseudo-checkbox-module-31a58606.mjs.map +1 -0
- package/fesm2022/public-api-c5ab57f5.mjs +147 -0
- package/fesm2022/public-api-c5ab57f5.mjs.map +1 -0
- package/fesm2022/radio/testing.mjs.map +1 -1
- package/fesm2022/radio.mjs +13 -5
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/ripple-5bdada85.mjs +639 -0
- package/fesm2022/ripple-5bdada85.mjs.map +1 -0
- package/fesm2022/ripple-loader-dabcd93d.mjs +165 -0
- package/fesm2022/ripple-loader-dabcd93d.mjs.map +1 -0
- package/fesm2022/select/testing.mjs +5 -121
- package/fesm2022/select/testing.mjs.map +1 -1
- package/fesm2022/select-harness-8c55824d.mjs +123 -0
- package/fesm2022/select-harness-8c55824d.mjs.map +1 -0
- package/fesm2022/select.mjs +30 -1284
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav/testing.mjs +1 -1
- package/fesm2022/sidenav/testing.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +9 -9
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle/testing.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +7 -5
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider/testing.mjs.map +1 -1
- package/fesm2022/slider.mjs +6 -5
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar/testing.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +15 -7
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort/testing.mjs.map +1 -1
- package/fesm2022/sort.mjs +13 -7
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper/testing.mjs.map +1 -1
- package/fesm2022/stepper.mjs +21 -8
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/structural-styles-326dcb39.mjs +18 -0
- package/fesm2022/structural-styles-326dcb39.mjs.map +1 -0
- package/fesm2022/table/testing.mjs.map +1 -1
- package/fesm2022/table.mjs +3 -5
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs/testing.mjs.map +1 -1
- package/fesm2022/tabs.mjs +11 -15
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/timepicker/testing.mjs +1 -1
- package/fesm2022/timepicker/testing.mjs.map +1 -1
- package/fesm2022/timepicker.mjs +20 -10
- package/fesm2022/timepicker.mjs.map +1 -1
- package/fesm2022/toolbar/testing.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +3 -5
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip/testing.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +15 -960
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree/testing.mjs.map +1 -1
- package/fesm2022/tree.mjs +3 -5
- package/fesm2022/tree.mjs.map +1 -1
- package/form-field/index.d.ts +16 -508
- package/form-field/testing/control/index.d.ts +2 -10
- package/form-field/testing/index.d.ts +19 -24
- package/form-field-control-harness.d-2d91f25a.d.ts +10 -0
- package/form-field-control.d-eb86711c.d.ts +62 -0
- package/form-field.d-2edbc094.d.ts +367 -0
- package/grid-list/index.d.ts +128 -152
- package/grid-list/testing/index.d.ts +39 -44
- package/icon/index.d.ts +9 -470
- package/icon/testing/index.d.ts +41 -44
- package/icon-module.d-aa3bbba0.d.ts +167 -0
- package/icon-registry.d-1dffe9de.d.ts +286 -0
- package/index.d-0536b706.d.ts +11 -0
- package/index.d-37e31cd3.d.ts +13 -0
- package/index.d.ts +2 -3
- package/input/index.d.ts +33 -62
- package/input/testing/index.d.ts +13 -71
- package/input-harness.d-4eecd1d3.d.ts +60 -0
- package/line.d-570a2537.d.ts +25 -0
- package/list/index.d.ts +155 -244
- package/list/testing/index.d.ts +158 -180
- package/list-option-types.d-8739f903.d.ts +15 -0
- package/menu/index.d.ts +183 -231
- package/menu/testing/index.d.ts +17 -23
- package/module.d-74a721b9.d.ts +326 -0
- package/module.d-ba05faa6.d.ts +448 -0
- package/module.d-c17c834e.d.ts +18 -0
- package/module.d-f490a6d4.d.ts +224 -0
- package/optgroup-harness.d-7f741f69.d.ts +31 -0
- package/option-harness.d-3d33fc9a.d.ts +34 -0
- package/option-parent.d-559ad5c5.d.ts +19 -0
- package/option.d-6f493d78.d.ts +146 -0
- package/package.json +2 -2
- package/paginator/index.d.ts +31 -216
- package/paginator/testing/index.d.ts +14 -15
- package/paginator.d-40b1766e.d.ts +199 -0
- package/palette.d-ec4a617c.d.ts +4 -0
- package/progress-bar/index.d.ts +40 -59
- package/progress-bar/testing/index.d.ts +7 -10
- package/progress-spinner/index.d.ts +8 -110
- package/progress-spinner/testing/index.d.ts +10 -11
- package/progress-spinner.d-1fc040c5.d.ts +96 -0
- package/pseudo-checkbox-module.d-3abc0461.d.ts +44 -0
- package/radio/index.d.ts +151 -170
- package/radio/testing/index.d.ts +61 -67
- package/ripple-loader.d-8aac2988.d.ts +48 -0
- package/ripple.d-2fb57d04.d.ts +255 -0
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/schematics/ng-generate/theme-color/index_bundled.js +2 -2
- package/schematics/ng-generate/theme-color/schema.json +10 -0
- package/schematics/ng-update/index_bundled.js +31 -31
- package/select/index.d.ts +25 -500
- package/select/testing/index.d.ts +5 -67
- package/select-harness.d-7441a7ac.d.ts +63 -0
- package/sidenav/index.d.ts +49 -92
- package/sidenav/testing/index.d.ts +58 -63
- package/slide-toggle/index.d.ts +53 -85
- package/slide-toggle/testing/index.d.ts +17 -21
- package/slider/index.d.ts +281 -328
- package/slider/testing/index.d.ts +42 -47
- package/snack-bar/index.d.ts +152 -185
- package/snack-bar/testing/index.d.ts +7 -9
- package/sort/index.d.ts +61 -169
- package/sort/testing/index.d.ts +22 -25
- package/sort-direction.d-f4ce4649.d.ts +3 -0
- package/sort.d-c2b79a45.d.ts +87 -0
- package/stepper/index.d.ts +115 -167
- package/stepper/testing/index.d.ts +43 -52
- package/table/index.d.ts +97 -156
- package/table/testing/index.d.ts +64 -78
- package/tabs/index.d.ts +309 -383
- package/tabs/testing/index.d.ts +67 -76
- package/timepicker/index.d.ts +126 -159
- package/timepicker/testing/index.d.ts +20 -26
- package/toolbar/index.d.ts +15 -26
- package/toolbar/testing/index.d.ts +13 -16
- package/tooltip/index.d.ts +11 -355
- package/tooltip/testing/index.d.ts +7 -10
- package/tree/index.d.ts +117 -163
- package/tree/testing/index.d.ts +52 -58
package/fesm2022/datepicker.mjs
CHANGED
|
@@ -1,23 +1,33 @@
|
|
|
1
|
-
import { _IdGenerator, CdkMonitorFocus, CdkTrapFocus, A11yModule } from '@angular/cdk/a11y';
|
|
2
|
-
import { Overlay, FlexibleConnectedPositionStrategy, OverlayConfig, OverlayModule } from '@angular/cdk/overlay';
|
|
3
|
-
import { ComponentPortal, CdkPortalOutlet, TemplatePortal, PortalModule } from '@angular/cdk/portal';
|
|
4
1
|
import * as i0 from '@angular/core';
|
|
5
2
|
import { Injectable, inject, ElementRef, NgZone, EventEmitter, Injector, Renderer2, afterNextRender, Component, ViewEncapsulation, ChangeDetectionStrategy, Input, Output, Optional, SkipSelf, InjectionToken, ChangeDetectorRef, ViewChild, ANIMATION_MODULE_TYPE, ViewContainerRef, booleanAttribute, Directive, forwardRef, signal, HostAttributeToken, ContentChild, TemplateRef, NgModule } from '@angular/core';
|
|
6
|
-
import { MatButton, MatIconButton, MatButtonModule } from '@angular/material/button';
|
|
7
|
-
import { CdkScrollableModule } from '@angular/cdk/scrolling';
|
|
8
3
|
import * as i1 from '@angular/material/core';
|
|
9
|
-
import {
|
|
4
|
+
import { DateAdapter } from '@angular/material/core';
|
|
10
5
|
import { Subject, Subscription, merge, of } from 'rxjs';
|
|
11
|
-
import {
|
|
6
|
+
import { _IdGenerator, CdkMonitorFocus, CdkTrapFocus, A11yModule } from '@angular/cdk/a11y';
|
|
12
7
|
import { Directionality } from '@angular/cdk/bidi';
|
|
8
|
+
import { coerceStringArray } from '@angular/cdk/coercion';
|
|
9
|
+
import { ESCAPE, hasModifierKey, SPACE, ENTER, PAGE_DOWN, PAGE_UP, END, HOME, DOWN_ARROW, UP_ARROW, RIGHT_ARROW, LEFT_ARROW, BACKSPACE } from '@angular/cdk/keycodes';
|
|
10
|
+
import { Overlay, FlexibleConnectedPositionStrategy, OverlayConfig, OverlayModule } from '@angular/cdk/overlay';
|
|
13
11
|
import { Platform, _bindEventWithOptions, _getFocusedElementPierceShadowDom } from '@angular/cdk/platform';
|
|
12
|
+
import { ComponentPortal, CdkPortalOutlet, TemplatePortal, PortalModule } from '@angular/cdk/portal';
|
|
14
13
|
import { NgClass, DOCUMENT } from '@angular/common';
|
|
15
|
-
import { _CdkPrivateStyleLoader, _VisuallyHiddenLoader } from '@angular/cdk/private';
|
|
16
14
|
import { startWith, take, filter } from 'rxjs/operators';
|
|
17
|
-
import {
|
|
15
|
+
import { _CdkPrivateStyleLoader, _VisuallyHiddenLoader } from '@angular/cdk/private';
|
|
16
|
+
import { _ as _StructuralStylesLoader } from './structural-styles-326dcb39.mjs';
|
|
17
|
+
import { a as MAT_DATE_FORMATS, D as DateAdapter$1 } from './date-formats-b618acb8.mjs';
|
|
18
|
+
import { M as MatButton, h as MatButtonModule } from './module-6b33072b.mjs';
|
|
19
|
+
import { a as MatIconButton } from './icon-button-655c4ed3.mjs';
|
|
18
20
|
import { NG_VALUE_ACCESSOR, NG_VALIDATORS, Validators, ControlContainer, NgForm, FormGroupDirective, NgControl } from '@angular/forms';
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
+
import { M as MAT_INPUT_VALUE_ACCESSOR } from './input-value-accessor-8a79a24e.mjs';
|
|
22
|
+
import { M as MAT_FORM_FIELD, a as MatFormFieldControl } from './form-field-50ec956f.mjs';
|
|
23
|
+
import { E as ErrorStateMatcher } from './error-options-aca21924.mjs';
|
|
24
|
+
import { _ as _ErrorStateTracker } from './error-state-8f4ce1af.mjs';
|
|
25
|
+
import { CdkScrollableModule } from '@angular/cdk/scrolling';
|
|
26
|
+
import { M as MatCommonModule } from './common-module-a39ee957.mjs';
|
|
27
|
+
import './index-a36e3c7c.mjs';
|
|
28
|
+
import './ripple-5bdada85.mjs';
|
|
29
|
+
import './ripple-loader-dabcd93d.mjs';
|
|
30
|
+
import '@angular/cdk/observers/private';
|
|
21
31
|
|
|
22
32
|
/** @docs-private */
|
|
23
33
|
function createMissingDateImplError(provider) {
|
|
@@ -798,26 +808,38 @@ class MatRangeDateSelectionModel extends MatDateSelectionModel {
|
|
|
798
808
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: MatRangeDateSelectionModel, decorators: [{
|
|
799
809
|
type: Injectable
|
|
800
810
|
}], ctorParameters: () => [{ type: i1.DateAdapter }] });
|
|
801
|
-
/**
|
|
811
|
+
/**
|
|
812
|
+
* @docs-private
|
|
813
|
+
* @deprecated No longer used, will be removed.
|
|
814
|
+
* @breaking-change 21.0.0
|
|
815
|
+
*/
|
|
802
816
|
function MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY(parent, adapter) {
|
|
803
817
|
return parent || new MatSingleDateSelectionModel(adapter);
|
|
804
818
|
}
|
|
805
819
|
/**
|
|
806
820
|
* Used to provide a single selection model to a component.
|
|
807
821
|
* @docs-private
|
|
822
|
+
* @deprecated No longer used, will be removed.
|
|
823
|
+
* @breaking-change 21.0.0
|
|
808
824
|
*/
|
|
809
825
|
const MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER = {
|
|
810
826
|
provide: MatDateSelectionModel,
|
|
811
827
|
deps: [[new Optional(), new SkipSelf(), MatDateSelectionModel], DateAdapter],
|
|
812
828
|
useFactory: MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY,
|
|
813
829
|
};
|
|
814
|
-
/**
|
|
830
|
+
/**
|
|
831
|
+
* @docs-private
|
|
832
|
+
* @deprecated No longer used, will be removed.
|
|
833
|
+
* @breaking-change 21.0.0
|
|
834
|
+
*/
|
|
815
835
|
function MAT_RANGE_DATE_SELECTION_MODEL_FACTORY(parent, adapter) {
|
|
816
836
|
return parent || new MatRangeDateSelectionModel(adapter);
|
|
817
837
|
}
|
|
818
838
|
/**
|
|
819
839
|
* Used to provide a range selection model to a component.
|
|
820
840
|
* @docs-private
|
|
841
|
+
* @deprecated No longer used, will be removed.
|
|
842
|
+
* @breaking-change 21.0.0
|
|
821
843
|
*/
|
|
822
844
|
const MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER = {
|
|
823
845
|
provide: MatDateSelectionModel,
|
|
@@ -900,11 +922,19 @@ class DefaultMatCalendarRangeStrategy {
|
|
|
900
922
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DefaultMatCalendarRangeStrategy, decorators: [{
|
|
901
923
|
type: Injectable
|
|
902
924
|
}], ctorParameters: () => [{ type: i1.DateAdapter }] });
|
|
903
|
-
/**
|
|
925
|
+
/**
|
|
926
|
+
* @docs-private
|
|
927
|
+
* @deprecated No longer used, will be removed.
|
|
928
|
+
* @breaking-change 21.0.0
|
|
929
|
+
*/
|
|
904
930
|
function MAT_CALENDAR_RANGE_STRATEGY_PROVIDER_FACTORY(parent, adapter) {
|
|
905
931
|
return parent || new DefaultMatCalendarRangeStrategy(adapter);
|
|
906
932
|
}
|
|
907
|
-
/**
|
|
933
|
+
/**
|
|
934
|
+
* @docs-private
|
|
935
|
+
* @deprecated No longer used, will be removed.
|
|
936
|
+
* @breaking-change 21.0.0
|
|
937
|
+
*/
|
|
908
938
|
const MAT_CALENDAR_RANGE_STRATEGY_PROVIDER = {
|
|
909
939
|
provide: MAT_DATE_RANGE_SELECTION_STRATEGY,
|
|
910
940
|
deps: [[new Optional(), new SkipSelf(), MAT_DATE_RANGE_SELECTION_STRATEGY], DateAdapter],
|
|
@@ -920,7 +950,7 @@ let uniqueIdCounter = 0;
|
|
|
920
950
|
class MatMonthView {
|
|
921
951
|
_changeDetectorRef = inject(ChangeDetectorRef);
|
|
922
952
|
_dateFormats = inject(MAT_DATE_FORMATS, { optional: true });
|
|
923
|
-
_dateAdapter = inject(DateAdapter, { optional: true });
|
|
953
|
+
_dateAdapter = inject(DateAdapter$1, { optional: true });
|
|
924
954
|
_dir = inject(Directionality, { optional: true });
|
|
925
955
|
_rangeStrategy = inject(MAT_DATE_RANGE_SELECTION_STRATEGY, { optional: true });
|
|
926
956
|
_rerenderSubscription = Subscription.EMPTY;
|
|
@@ -1390,7 +1420,7 @@ const yearsPerRow = 4;
|
|
|
1390
1420
|
*/
|
|
1391
1421
|
class MatMultiYearView {
|
|
1392
1422
|
_changeDetectorRef = inject(ChangeDetectorRef);
|
|
1393
|
-
_dateAdapter = inject(DateAdapter, { optional: true });
|
|
1423
|
+
_dateAdapter = inject(DateAdapter$1, { optional: true });
|
|
1394
1424
|
_dir = inject(Directionality, { optional: true });
|
|
1395
1425
|
_rerenderSubscription = Subscription.EMPTY;
|
|
1396
1426
|
/** Flag used to filter out space/enter keyup events that originated outside of the view. */
|
|
@@ -1714,7 +1744,7 @@ function euclideanModulo(a, b) {
|
|
|
1714
1744
|
class MatYearView {
|
|
1715
1745
|
_changeDetectorRef = inject(ChangeDetectorRef);
|
|
1716
1746
|
_dateFormats = inject(MAT_DATE_FORMATS, { optional: true });
|
|
1717
|
-
_dateAdapter = inject(DateAdapter, { optional: true });
|
|
1747
|
+
_dateAdapter = inject(DateAdapter$1, { optional: true });
|
|
1718
1748
|
_dir = inject(Directionality, { optional: true });
|
|
1719
1749
|
_rerenderSubscription = Subscription.EMPTY;
|
|
1720
1750
|
/** Flag used to filter out space/enter keyup events that originated outside of the view. */
|
|
@@ -2030,7 +2060,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
2030
2060
|
class MatCalendarHeader {
|
|
2031
2061
|
_intl = inject(MatDatepickerIntl);
|
|
2032
2062
|
calendar = inject(MatCalendar);
|
|
2033
|
-
_dateAdapter = inject(DateAdapter, { optional: true });
|
|
2063
|
+
_dateAdapter = inject(DateAdapter$1, { optional: true });
|
|
2034
2064
|
_dateFormats = inject(MAT_DATE_FORMATS, { optional: true });
|
|
2035
2065
|
constructor() {
|
|
2036
2066
|
inject(_CdkPrivateStyleLoader).load(_VisuallyHiddenLoader);
|
|
@@ -2153,7 +2183,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
2153
2183
|
}], ctorParameters: () => [] });
|
|
2154
2184
|
/** A calendar that is used as part of the datepicker. */
|
|
2155
2185
|
class MatCalendar {
|
|
2156
|
-
_dateAdapter = inject(DateAdapter, { optional: true });
|
|
2186
|
+
_dateAdapter = inject(DateAdapter$1, { optional: true });
|
|
2157
2187
|
_dateFormats = inject(MAT_DATE_FORMATS, { optional: true });
|
|
2158
2188
|
_changeDetectorRef = inject(ChangeDetectorRef);
|
|
2159
2189
|
/** An input indicating the type of the header component, if set. */
|
|
@@ -2450,11 +2480,19 @@ const MAT_DATEPICKER_SCROLL_STRATEGY = new InjectionToken('mat-datepicker-scroll
|
|
|
2450
2480
|
return () => overlay.scrollStrategies.reposition();
|
|
2451
2481
|
},
|
|
2452
2482
|
});
|
|
2453
|
-
/**
|
|
2483
|
+
/**
|
|
2484
|
+
* @docs-private
|
|
2485
|
+
* @deprecated No longer used, will be removed.
|
|
2486
|
+
* @breaking-change 21.0.0
|
|
2487
|
+
*/
|
|
2454
2488
|
function MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY(overlay) {
|
|
2455
2489
|
return () => overlay.scrollStrategies.reposition();
|
|
2456
2490
|
}
|
|
2457
|
-
/**
|
|
2491
|
+
/**
|
|
2492
|
+
* @docs-private
|
|
2493
|
+
* @deprecated No longer used, will be removed.
|
|
2494
|
+
* @breaking-change 21.0.0
|
|
2495
|
+
*/
|
|
2458
2496
|
const MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER = {
|
|
2459
2497
|
provide: MAT_DATEPICKER_SCROLL_STRATEGY,
|
|
2460
2498
|
deps: [Overlay],
|
|
@@ -2472,7 +2510,7 @@ class MatDatepickerContent {
|
|
|
2472
2510
|
_animationsDisabled = inject(ANIMATION_MODULE_TYPE, { optional: true }) === 'NoopAnimations';
|
|
2473
2511
|
_changeDetectorRef = inject(ChangeDetectorRef);
|
|
2474
2512
|
_globalModel = inject(MatDateSelectionModel);
|
|
2475
|
-
_dateAdapter = inject(DateAdapter);
|
|
2513
|
+
_dateAdapter = inject(DateAdapter$1);
|
|
2476
2514
|
_ngZone = inject(NgZone);
|
|
2477
2515
|
_rangeSelectionStrategy = inject(MAT_DATE_RANGE_SELECTION_STRATEGY, { optional: true });
|
|
2478
2516
|
_stateChanges;
|
|
@@ -2639,7 +2677,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
2639
2677
|
class MatDatepickerBase {
|
|
2640
2678
|
_overlay = inject(Overlay);
|
|
2641
2679
|
_viewContainerRef = inject(ViewContainerRef);
|
|
2642
|
-
_dateAdapter = inject(DateAdapter, { optional: true });
|
|
2680
|
+
_dateAdapter = inject(DateAdapter$1, { optional: true });
|
|
2643
2681
|
_dir = inject(Directionality, { optional: true });
|
|
2644
2682
|
_model = inject(MatDateSelectionModel);
|
|
2645
2683
|
_scrollStrategy = inject(MAT_DATEPICKER_SCROLL_STRATEGY);
|
|
@@ -3131,7 +3169,7 @@ class MatDatepickerInputEvent {
|
|
|
3131
3169
|
/** Base class for datepicker inputs. */
|
|
3132
3170
|
class MatDatepickerInputBase {
|
|
3133
3171
|
_elementRef = inject(ElementRef);
|
|
3134
|
-
_dateAdapter = inject(DateAdapter, { optional: true });
|
|
3172
|
+
_dateAdapter = inject(DateAdapter$1, { optional: true });
|
|
3135
3173
|
_dateFormats = inject(MAT_DATE_FORMATS, { optional: true });
|
|
3136
3174
|
/** Whether the component has been initialized. */
|
|
3137
3175
|
_isInitialized;
|
|
@@ -3701,7 +3739,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
3701
3739
|
class MatDateRangeInput {
|
|
3702
3740
|
_changeDetectorRef = inject(ChangeDetectorRef);
|
|
3703
3741
|
_elementRef = inject(ElementRef);
|
|
3704
|
-
_dateAdapter = inject(DateAdapter, { optional: true });
|
|
3742
|
+
_dateAdapter = inject(DateAdapter$1, { optional: true });
|
|
3705
3743
|
_formField = inject(MAT_FORM_FIELD, { optional: true });
|
|
3706
3744
|
_closedSubscription = Subscription.EMPTY;
|
|
3707
3745
|
_openedSubscription = Subscription.EMPTY;
|
|
@@ -4835,9 +4873,5 @@ const matDatepickerAnimations = {
|
|
|
4835
4873
|
},
|
|
4836
4874
|
};
|
|
4837
4875
|
|
|
4838
|
-
/**
|
|
4839
|
-
* Generated bundle index. Do not edit.
|
|
4840
|
-
*/
|
|
4841
|
-
|
|
4842
4876
|
export { DateRange, DefaultMatCalendarRangeStrategy, MAT_DATEPICKER_SCROLL_STRATEGY, MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY, MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER, MAT_DATEPICKER_VALIDATORS, MAT_DATEPICKER_VALUE_ACCESSOR, MAT_DATE_RANGE_SELECTION_STRATEGY, MAT_RANGE_DATE_SELECTION_MODEL_FACTORY, MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER, MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY, MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER, MatCalendar, MatCalendarBody, MatCalendarCell, MatCalendarHeader, MatDateRangeInput, MatDateRangePicker, MatDateSelectionModel, MatDatepicker, MatDatepickerActions, MatDatepickerApply, MatDatepickerCancel, MatDatepickerContent, MatDatepickerInput, MatDatepickerInputEvent, MatDatepickerIntl, MatDatepickerModule, MatDatepickerToggle, MatDatepickerToggleIcon, MatEndDate, MatMonthView, MatMultiYearView, MatRangeDateSelectionModel, MatSingleDateSelectionModel, MatStartDate, MatYearView, matDatepickerAnimations, yearsPerPage, yearsPerRow };
|
|
4843
4877
|
//# sourceMappingURL=datepicker.mjs.map
|