Skip to content

Commit 8f82f94

Browse files
committed
main - cb20a24 build: remove legacy linking code
1 parent e3b9aee commit 8f82f94

File tree

15 files changed

+3486
-3523
lines changed

15 files changed

+3486
-3523
lines changed

datepicker/index.d.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ import * as i3 from '@angular/cdk/portal';
99
import { ComponentType, Portal, TemplatePortal } from '@angular/cdk/portal';
1010
import { M as MatCommonModule } from '../common-module.d-1b789e68.js';
1111
import { Observable, Subject } from 'rxjs';
12-
import { D as DateAdapter$1 } from '../date-adapter.d-de8dcff3.js';
13-
import { DateAdapter } from '@angular/material/core';
12+
import { D as DateAdapter } from '../date-adapter.d-de8dcff3.js';
1413
import { T as ThemePalette } from '../palette.d-f5ca9a2b.js';
1514
import { ControlValueAccessor, Validator, ValidatorFn, AbstractControl, ValidationErrors, NgForm, FormGroupDirective, NgControl } from '@angular/forms';
1615
import { M as MatFormFieldControl } from '../form-field-control.d-d7b3a431.js';
@@ -379,7 +378,7 @@ declare const MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER: FactoryProvider;
379378
declare class MatMonthView<D> implements AfterContentInit, OnChanges, OnDestroy {
380379
readonly _changeDetectorRef: ChangeDetectorRef;
381380
private _dateFormats;
382-
_dateAdapter: DateAdapter$1<D, any>;
381+
_dateAdapter: DateAdapter<D, any>;
383382
private _dir;
384383
private _rangeStrategy;
385384
private _rerenderSubscription;
@@ -534,7 +533,7 @@ declare const yearsPerRow = 4;
534533
*/
535534
declare class MatMultiYearView<D> implements AfterContentInit, OnDestroy {
536535
private _changeDetectorRef;
537-
_dateAdapter: DateAdapter$1<D, any>;
536+
_dateAdapter: DateAdapter<D, any>;
538537
private _dir;
539538
private _rerenderSubscription;
540539
/** Flag used to filter out space/enter keyup events that originated outside of the view. */
@@ -624,7 +623,7 @@ declare class MatMultiYearView<D> implements AfterContentInit, OnDestroy {
624623
declare class MatYearView<D> implements AfterContentInit, OnDestroy {
625624
readonly _changeDetectorRef: ChangeDetectorRef;
626625
private _dateFormats;
627-
_dateAdapter: DateAdapter$1<D, any>;
626+
_dateAdapter: DateAdapter<D, any>;
628627
private _dir;
629628
private _rerenderSubscription;
630629
/** Flag used to filter out space/enter keyup events that originated outside of the view. */
@@ -916,7 +915,7 @@ type DateFilterFn<D> = (date: D | null) => boolean;
916915
/** Base class for datepicker inputs. */
917916
declare abstract class MatDatepickerInputBase<S, D = ExtractDateTypeFromSelection<S>> implements ControlValueAccessor, AfterViewInit, OnChanges, OnDestroy, Validator {
918917
protected _elementRef: ElementRef<HTMLInputElement>;
919-
_dateAdapter: DateAdapter$1<D, any>;
918+
_dateAdapter: DateAdapter<D, any>;
920919
private _dateFormats;
921920
/** Whether the component has been initialized. */
922921
private _isInitialized;

divider-module.d-d645550e.d.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import * as i0 from '@angular/core';
2+
import { M as MatCommonModule } from './common-module.d-1b789e68.js';
3+
import { BooleanInput } from '@angular/cdk/coercion';
4+
5+
declare class MatDivider {
6+
/** Whether the divider is vertically aligned. */
7+
get vertical(): boolean;
8+
set vertical(value: BooleanInput);
9+
private _vertical;
10+
/** Whether the divider is an inset divider. */
11+
get inset(): boolean;
12+
set inset(value: BooleanInput);
13+
private _inset;
14+
static ɵfac: i0.ɵɵFactoryDeclaration<MatDivider, never>;
15+
static ɵcmp: i0.ɵɵComponentDeclaration<MatDivider, "mat-divider", never, { "vertical": { "alias": "vertical"; "required": false; }; "inset": { "alias": "inset"; "required": false; }; }, {}, never, never, true, never>;
16+
}
17+
18+
declare class MatDividerModule {
19+
static ɵfac: i0.ɵɵFactoryDeclaration<MatDividerModule, never>;
20+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatDividerModule, never, [typeof MatCommonModule, typeof MatDivider], [typeof MatDivider, typeof MatCommonModule]>;
21+
static ɵinj: i0.ɵɵInjectorDeclaration<MatDividerModule>;
22+
}
23+
24+
export { MatDivider as M, MatDividerModule as a };

divider/index.d.ts

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,5 @@
1-
import { BooleanInput } from '@angular/cdk/coercion';
2-
import * as i0 from '@angular/core';
3-
import { M as MatCommonModule } from '../common-module.d-1b789e68.js';
1+
export { M as MatDivider, a as MatDividerModule } from '../divider-module.d-d645550e.js';
2+
import '@angular/core';
3+
import '../common-module.d-1b789e68.js';
44
import '@angular/cdk/bidi';
5-
6-
declare class MatDivider {
7-
/** Whether the divider is vertically aligned. */
8-
get vertical(): boolean;
9-
set vertical(value: BooleanInput);
10-
private _vertical;
11-
/** Whether the divider is an inset divider. */
12-
get inset(): boolean;
13-
set inset(value: BooleanInput);
14-
private _inset;
15-
static ɵfac: i0.ɵɵFactoryDeclaration<MatDivider, never>;
16-
static ɵcmp: i0.ɵɵComponentDeclaration<MatDivider, "mat-divider", never, { "vertical": { "alias": "vertical"; "required": false; }; "inset": { "alias": "inset"; "required": false; }; }, {}, never, never, true, never>;
17-
}
18-
19-
declare class MatDividerModule {
20-
static ɵfac: i0.ɵɵFactoryDeclaration<MatDividerModule, never>;
21-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatDividerModule, never, [typeof MatCommonModule, typeof MatDivider], [typeof MatDivider, typeof MatCommonModule]>;
22-
static ɵinj: i0.ɵɵInjectorDeclaration<MatDividerModule>;
23-
}
24-
25-
export { MatDivider, MatDividerModule };
5+
import '@angular/cdk/coercion';

fesm2022/datepicker.mjs

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import * as i0 from '@angular/core';
22
import { Injectable, inject, ElementRef, NgZone, EventEmitter, Injector, Renderer2, afterNextRender, Component, ViewEncapsulation, ChangeDetectionStrategy, Input, Output, Optional, SkipSelf, InjectionToken, ChangeDetectorRef, ViewChild, ViewContainerRef, booleanAttribute, Directive, forwardRef, signal, HostAttributeToken, ContentChild, TemplateRef, NgModule } from '@angular/core';
3-
import * as i1 from '@angular/material/core';
4-
import { DateAdapter } from '@angular/material/core';
53
import { Subject, Subscription, merge, of } from 'rxjs';
4+
import { D as DateAdapter, a as MAT_DATE_FORMATS } from './date-formats-7bf66210.mjs';
65
import { _IdGenerator, CdkMonitorFocus, CdkTrapFocus, A11yModule } from '@angular/cdk/a11y';
76
import { Directionality } from '@angular/cdk/bidi';
87
import { coerceStringArray } from '@angular/cdk/coercion';
@@ -14,7 +13,6 @@ import { NgClass, DOCUMENT } from '@angular/common';
1413
import { startWith, take, filter } from 'rxjs/operators';
1514
import { _CdkPrivateStyleLoader, _VisuallyHiddenLoader } from '@angular/cdk/private';
1615
import { _ as _StructuralStylesLoader } from './structural-styles-efc7816b.mjs';
17-
import { a as MAT_DATE_FORMATS, D as DateAdapter$1 } from './date-formats-7bf66210.mjs';
1816
import { M as MatButton, h as MatButtonModule } from './module-6b891d2d.mjs';
1917
import { a as MatIconButton } from './icon-button-b18e0678.mjs';
2018
import { _ as _animationsDisabled } from './animation-89957083.mjs';
@@ -707,7 +705,7 @@ class MatDateSelectionModel {
707705
}
708706
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.4", ngImport: i0, type: MatDateSelectionModel, decorators: [{
709707
type: Injectable
710-
}], ctorParameters: () => [{ type: undefined }, { type: i1.DateAdapter }] });
708+
}], ctorParameters: () => [{ type: undefined }, { type: DateAdapter }] });
711709
/**
712710
* A selection model that contains a single date.
713711
* @docs-private
@@ -740,12 +738,12 @@ class MatSingleDateSelectionModel extends MatDateSelectionModel {
740738
clone.updateSelection(this.selection, this);
741739
return clone;
742740
}
743-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.4", ngImport: i0, type: MatSingleDateSelectionModel, deps: [{ token: i1.DateAdapter }], target: i0.ɵɵFactoryTarget.Injectable });
741+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.4", ngImport: i0, type: MatSingleDateSelectionModel, deps: [{ token: DateAdapter }], target: i0.ɵɵFactoryTarget.Injectable });
744742
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.4", ngImport: i0, type: MatSingleDateSelectionModel });
745743
}
746744
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.4", ngImport: i0, type: MatSingleDateSelectionModel, decorators: [{
747745
type: Injectable
748-
}], ctorParameters: () => [{ type: i1.DateAdapter }] });
746+
}], ctorParameters: () => [{ type: DateAdapter }] });
749747
/**
750748
* A selection model that contains a date range.
751749
* @docs-private
@@ -803,12 +801,12 @@ class MatRangeDateSelectionModel extends MatDateSelectionModel {
803801
clone.updateSelection(this.selection, this);
804802
return clone;
805803
}
806-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.4", ngImport: i0, type: MatRangeDateSelectionModel, deps: [{ token: i1.DateAdapter }], target: i0.ɵɵFactoryTarget.Injectable });
804+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.4", ngImport: i0, type: MatRangeDateSelectionModel, deps: [{ token: DateAdapter }], target: i0.ɵɵFactoryTarget.Injectable });
807805
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.4", ngImport: i0, type: MatRangeDateSelectionModel });
808806
}
809807
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.4", ngImport: i0, type: MatRangeDateSelectionModel, decorators: [{
810808
type: Injectable
811-
}], ctorParameters: () => [{ type: i1.DateAdapter }] });
809+
}], ctorParameters: () => [{ type: DateAdapter }] });
812810
/**
813811
* @docs-private
814812
* @deprecated No longer used, will be removed.
@@ -917,12 +915,12 @@ class DefaultMatCalendarRangeStrategy {
917915
}
918916
return new DateRange(start, end);
919917
}
920-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.4", ngImport: i0, type: DefaultMatCalendarRangeStrategy, deps: [{ token: i1.DateAdapter }], target: i0.ɵɵFactoryTarget.Injectable });
918+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.4", ngImport: i0, type: DefaultMatCalendarRangeStrategy, deps: [{ token: DateAdapter }], target: i0.ɵɵFactoryTarget.Injectable });
921919
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.4", ngImport: i0, type: DefaultMatCalendarRangeStrategy });
922920
}
923921
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.4", ngImport: i0, type: DefaultMatCalendarRangeStrategy, decorators: [{
924922
type: Injectable
925-
}], ctorParameters: () => [{ type: i1.DateAdapter }] });
923+
}], ctorParameters: () => [{ type: DateAdapter }] });
926924
/**
927925
* @docs-private
928926
* @deprecated No longer used, will be removed.
@@ -951,7 +949,7 @@ let uniqueIdCounter = 0;
951949
class MatMonthView {
952950
_changeDetectorRef = inject(ChangeDetectorRef);
953951
_dateFormats = inject(MAT_DATE_FORMATS, { optional: true });
954-
_dateAdapter = inject(DateAdapter$1, { optional: true });
952+
_dateAdapter = inject(DateAdapter, { optional: true });
955953
_dir = inject(Directionality, { optional: true });
956954
_rangeStrategy = inject(MAT_DATE_RANGE_SELECTION_STRATEGY, { optional: true });
957955
_rerenderSubscription = Subscription.EMPTY;
@@ -1421,7 +1419,7 @@ const yearsPerRow = 4;
14211419
*/
14221420
class MatMultiYearView {
14231421
_changeDetectorRef = inject(ChangeDetectorRef);
1424-
_dateAdapter = inject(DateAdapter$1, { optional: true });
1422+
_dateAdapter = inject(DateAdapter, { optional: true });
14251423
_dir = inject(Directionality, { optional: true });
14261424
_rerenderSubscription = Subscription.EMPTY;
14271425
/** Flag used to filter out space/enter keyup events that originated outside of the view. */
@@ -1745,7 +1743,7 @@ function euclideanModulo(a, b) {
17451743
class MatYearView {
17461744
_changeDetectorRef = inject(ChangeDetectorRef);
17471745
_dateFormats = inject(MAT_DATE_FORMATS, { optional: true });
1748-
_dateAdapter = inject(DateAdapter$1, { optional: true });
1746+
_dateAdapter = inject(DateAdapter, { optional: true });
17491747
_dir = inject(Directionality, { optional: true });
17501748
_rerenderSubscription = Subscription.EMPTY;
17511749
/** Flag used to filter out space/enter keyup events that originated outside of the view. */
@@ -2061,7 +2059,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.4",
20612059
class MatCalendarHeader {
20622060
_intl = inject(MatDatepickerIntl);
20632061
calendar = inject(MatCalendar);
2064-
_dateAdapter = inject(DateAdapter$1, { optional: true });
2062+
_dateAdapter = inject(DateAdapter, { optional: true });
20652063
_dateFormats = inject(MAT_DATE_FORMATS, { optional: true });
20662064
constructor() {
20672065
inject(_CdkPrivateStyleLoader).load(_VisuallyHiddenLoader);
@@ -2184,7 +2182,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.4",
21842182
}], ctorParameters: () => [] });
21852183
/** A calendar that is used as part of the datepicker. */
21862184
class MatCalendar {
2187-
_dateAdapter = inject(DateAdapter$1, { optional: true });
2185+
_dateAdapter = inject(DateAdapter, { optional: true });
21882186
_dateFormats = inject(MAT_DATE_FORMATS, { optional: true });
21892187
_changeDetectorRef = inject(ChangeDetectorRef);
21902188
/** An input indicating the type of the header component, if set. */
@@ -2511,7 +2509,7 @@ class MatDatepickerContent {
25112509
_animationsDisabled = _animationsDisabled();
25122510
_changeDetectorRef = inject(ChangeDetectorRef);
25132511
_globalModel = inject(MatDateSelectionModel);
2514-
_dateAdapter = inject(DateAdapter$1);
2512+
_dateAdapter = inject(DateAdapter);
25152513
_ngZone = inject(NgZone);
25162514
_rangeSelectionStrategy = inject(MAT_DATE_RANGE_SELECTION_STRATEGY, { optional: true });
25172515
_stateChanges;
@@ -2678,7 +2676,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.4",
26782676
class MatDatepickerBase {
26792677
_overlay = inject(Overlay);
26802678
_viewContainerRef = inject(ViewContainerRef);
2681-
_dateAdapter = inject(DateAdapter$1, { optional: true });
2679+
_dateAdapter = inject(DateAdapter, { optional: true });
26822680
_dir = inject(Directionality, { optional: true });
26832681
_model = inject(MatDateSelectionModel);
26842682
_animationsDisabled = _animationsDisabled();
@@ -3172,7 +3170,7 @@ class MatDatepickerInputEvent {
31723170
/** Base class for datepicker inputs. */
31733171
class MatDatepickerInputBase {
31743172
_elementRef = inject(ElementRef);
3175-
_dateAdapter = inject(DateAdapter$1, { optional: true });
3173+
_dateAdapter = inject(DateAdapter, { optional: true });
31763174
_dateFormats = inject(MAT_DATE_FORMATS, { optional: true });
31773175
/** Whether the component has been initialized. */
31783176
_isInitialized;
@@ -3743,7 +3741,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.4",
37433741
class MatDateRangeInput {
37443742
_changeDetectorRef = inject(ChangeDetectorRef);
37453743
_elementRef = inject(ElementRef);
3746-
_dateAdapter = inject(DateAdapter$1, { optional: true });
3744+
_dateAdapter = inject(DateAdapter, { optional: true });
37473745
_formField = inject(MAT_FORM_FIELD, { optional: true });
37483746
_closedSubscription = Subscription.EMPTY;
37493747
_openedSubscription = Subscription.EMPTY;

fesm2022/datepicker.mjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
import * as i0 from '@angular/core';
2+
import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
3+
import { coerceBooleanProperty } from '@angular/cdk/coercion';
4+
import { M as MatCommonModule } from './common-module-727dea0d.mjs';
5+
6+
class MatDivider {
7+
/** Whether the divider is vertically aligned. */
8+
get vertical() {
9+
return this._vertical;
10+
}
11+
set vertical(value) {
12+
this._vertical = coerceBooleanProperty(value);
13+
}
14+
_vertical = false;
15+
/** Whether the divider is an inset divider. */
16+
get inset() {
17+
return this._inset;
18+
}
19+
set inset(value) {
20+
this._inset = coerceBooleanProperty(value);
21+
}
22+
_inset = false;
23+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.4", ngImport: i0, type: MatDivider, deps: [], target: i0.ɵɵFactoryTarget.Component });
24+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.0-next.4", type: MatDivider, isStandalone: true, selector: "mat-divider", inputs: { vertical: "vertical", inset: "inset" }, host: { attributes: { "role": "separator" }, properties: { "attr.aria-orientation": "vertical ? \"vertical\" : \"horizontal\"", "class.mat-divider-vertical": "vertical", "class.mat-divider-horizontal": "!vertical", "class.mat-divider-inset": "inset" }, classAttribute: "mat-divider" }, ngImport: i0, template: '', isInline: true, styles: [".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color, var(--mat-sys-outline));border-top-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-sys-outline));border-right-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
25+
}
26+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.4", ngImport: i0, type: MatDivider, decorators: [{
27+
type: Component,
28+
args: [{ selector: 'mat-divider', host: {
29+
'role': 'separator',
30+
'[attr.aria-orientation]': 'vertical ? "vertical" : "horizontal"',
31+
'[class.mat-divider-vertical]': 'vertical',
32+
'[class.mat-divider-horizontal]': '!vertical',
33+
'[class.mat-divider-inset]': 'inset',
34+
'class': 'mat-divider',
35+
}, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color, var(--mat-sys-outline));border-top-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-sys-outline));border-right-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"] }]
36+
}], propDecorators: { vertical: [{
37+
type: Input
38+
}], inset: [{
39+
type: Input
40+
}] } });
41+
42+
class MatDividerModule {
43+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.4", ngImport: i0, type: MatDividerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
44+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0-next.4", ngImport: i0, type: MatDividerModule, imports: [MatCommonModule, MatDivider], exports: [MatDivider, MatCommonModule] });
45+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0-next.4", ngImport: i0, type: MatDividerModule, imports: [MatCommonModule, MatCommonModule] });
46+
}
47+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.4", ngImport: i0, type: MatDividerModule, decorators: [{
48+
type: NgModule,
49+
args: [{
50+
imports: [MatCommonModule, MatDivider],
51+
exports: [MatDivider, MatCommonModule],
52+
}]
53+
}] });
54+
55+
export { MatDivider as M, MatDividerModule as a };
56+
//# sourceMappingURL=divider-module-e9a28ee9.mjs.map

0 commit comments

Comments
 (0)