1 | import { coerceNumberProperty } from '@angular/cdk/coercion';
|
2 | import * as i1 from '@angular/cdk/platform';
|
3 | import { _getShadowRoot } from '@angular/cdk/platform';
|
4 | import * as i2 from '@angular/cdk/scrolling';
|
5 | import * as i3 from '@angular/common';
|
6 | import { DOCUMENT, CommonModule } from '@angular/common';
|
7 | import * as i0 from '@angular/core';
|
8 | import { Component, ChangeDetectionStrategy, ViewEncapsulation, Optional, Inject, Input, NgModule } from '@angular/core';
|
9 | import { mixinColor, MatCommonModule } from '@angular/material/core';
|
10 | import { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';
|
11 | import { MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS } from '@angular/material/progress-spinner';
|
12 | export { MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS as MAT_LEGACY_PROGRESS_SPINNER_DEFAULT_OPTIONS, MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY as MAT_LEGACY_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY } from '@angular/material/progress-spinner';
|
13 | import { Subscription } from 'rxjs';
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 | const BASE_SIZE = 100;
|
27 |
|
28 |
|
29 |
|
30 |
|
31 | const BASE_STROKE_WIDTH = 10;
|
32 |
|
33 |
|
34 | const _MatProgressSpinnerBase = mixinColor(class {
|
35 | constructor(_elementRef) {
|
36 | this._elementRef = _elementRef;
|
37 | }
|
38 | }, 'primary');
|
39 |
|
40 |
|
41 |
|
42 |
|
43 | const INDETERMINATE_ANIMATION_TEMPLATE = `
|
44 | @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {
|
45 | 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }
|
46 | 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }
|
47 | 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }
|
48 | 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }
|
49 |
|
50 | 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }
|
51 | 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }
|
52 | 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }
|
53 | 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }
|
54 |
|
55 | 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }
|
56 | 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }
|
57 | 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }
|
58 | 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }
|
59 |
|
60 | 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }
|
61 | 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }
|
62 | 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }
|
63 | 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }
|
64 | }
|
65 | `;
|
66 |
|
67 |
|
68 |
|
69 |
|
70 |
|
71 | class MatLegacyProgressSpinner extends _MatProgressSpinnerBase {
|
72 |
|
73 | get diameter() {
|
74 | return this._diameter;
|
75 | }
|
76 | set diameter(size) {
|
77 | this._diameter = coerceNumberProperty(size);
|
78 | this._spinnerAnimationLabel = this._getSpinnerAnimationLabel();
|
79 |
|
80 | if (this._styleRoot) {
|
81 | this._attachStyleNode();
|
82 | }
|
83 | }
|
84 |
|
85 | get strokeWidth() {
|
86 | return this._strokeWidth || this.diameter / 10;
|
87 | }
|
88 | set strokeWidth(value) {
|
89 | this._strokeWidth = coerceNumberProperty(value);
|
90 | }
|
91 |
|
92 | get value() {
|
93 | return this.mode === 'determinate' ? this._value : 0;
|
94 | }
|
95 | set value(newValue) {
|
96 | this._value = Math.max(0, Math.min(100, coerceNumberProperty(newValue)));
|
97 | }
|
98 | constructor(elementRef, _platform, _document, animationMode, defaults,
|
99 | /**
|
100 | * @deprecated `changeDetectorRef`, `viewportRuler` and `ngZone`
|
101 | * parameters to become required.
|
102 | * @breaking-change 14.0.0
|
103 | */
|
104 | changeDetectorRef, viewportRuler, ngZone) {
|
105 | super(elementRef);
|
106 | this._document = _document;
|
107 | this._diameter = BASE_SIZE;
|
108 | this._value = 0;
|
109 | this._resizeSubscription = Subscription.EMPTY;
|
110 |
|
111 | this.mode = 'determinate';
|
112 | const trackedDiameters = MatLegacyProgressSpinner._diameters;
|
113 | this._spinnerAnimationLabel = this._getSpinnerAnimationLabel();
|
114 |
|
115 |
|
116 | if (!trackedDiameters.has(_document.head)) {
|
117 | trackedDiameters.set(_document.head, new Set([BASE_SIZE]));
|
118 | }
|
119 | this._noopAnimations =
|
120 | animationMode === 'NoopAnimations' && !!defaults && !defaults._forceAnimations;
|
121 | if (elementRef.nativeElement.nodeName.toLowerCase() === 'mat-spinner') {
|
122 | this.mode = 'indeterminate';
|
123 | }
|
124 | if (defaults) {
|
125 | if (defaults.color) {
|
126 | this.color = this.defaultColor = defaults.color;
|
127 | }
|
128 | if (defaults.diameter) {
|
129 | this.diameter = defaults.diameter;
|
130 | }
|
131 | if (defaults.strokeWidth) {
|
132 | this.strokeWidth = defaults.strokeWidth;
|
133 | }
|
134 | }
|
135 |
|
136 |
|
137 |
|
138 |
|
139 |
|
140 |
|
141 | if (_platform.isBrowser && _platform.SAFARI && viewportRuler && changeDetectorRef && ngZone) {
|
142 | this._resizeSubscription = viewportRuler.change(150).subscribe(() => {
|
143 |
|
144 |
|
145 | if (this.mode === 'indeterminate') {
|
146 | ngZone.run(() => changeDetectorRef.markForCheck());
|
147 | }
|
148 | });
|
149 | }
|
150 | }
|
151 | ngOnInit() {
|
152 | const element = this._elementRef.nativeElement;
|
153 |
|
154 |
|
155 |
|
156 | this._styleRoot = _getShadowRoot(element) || this._document.head;
|
157 | this._attachStyleNode();
|
158 | element.classList.add('mat-progress-spinner-indeterminate-animation');
|
159 | }
|
160 | ngOnDestroy() {
|
161 | this._resizeSubscription.unsubscribe();
|
162 | }
|
163 |
|
164 | _getCircleRadius() {
|
165 | return (this.diameter - BASE_STROKE_WIDTH) / 2;
|
166 | }
|
167 |
|
168 | _getViewBox() {
|
169 | const viewBox = this._getCircleRadius() * 2 + this.strokeWidth;
|
170 | return `0 0 ${viewBox} ${viewBox}`;
|
171 | }
|
172 |
|
173 | _getStrokeCircumference() {
|
174 | return 2 * Math.PI * this._getCircleRadius();
|
175 | }
|
176 |
|
177 | _getStrokeDashOffset() {
|
178 | if (this.mode === 'determinate') {
|
179 | return (this._getStrokeCircumference() * (100 - this._value)) / 100;
|
180 | }
|
181 | return null;
|
182 | }
|
183 |
|
184 | _getCircleStrokeWidth() {
|
185 | return (this.strokeWidth / this.diameter) * 100;
|
186 | }
|
187 |
|
188 | _getCircleTransformOrigin(svg) {
|
189 |
|
190 |
|
191 |
|
192 |
|
193 | const scale = (svg.currentScale ?? 1) * 50;
|
194 | return `${scale}% ${scale}%`;
|
195 | }
|
196 |
|
197 | _attachStyleNode() {
|
198 | const styleRoot = this._styleRoot;
|
199 | const currentDiameter = this._diameter;
|
200 | const diameters = MatLegacyProgressSpinner._diameters;
|
201 | let diametersForElement = diameters.get(styleRoot);
|
202 | if (!diametersForElement || !diametersForElement.has(currentDiameter)) {
|
203 | const styleTag = this._document.createElement('style');
|
204 | styleTag.setAttribute('mat-spinner-animation', this._spinnerAnimationLabel);
|
205 | styleTag.textContent = this._getAnimationText();
|
206 | styleRoot.appendChild(styleTag);
|
207 | if (!diametersForElement) {
|
208 | diametersForElement = new Set();
|
209 | diameters.set(styleRoot, diametersForElement);
|
210 | }
|
211 | diametersForElement.add(currentDiameter);
|
212 | }
|
213 | }
|
214 |
|
215 | _getAnimationText() {
|
216 | const strokeCircumference = this._getStrokeCircumference();
|
217 | return (INDETERMINATE_ANIMATION_TEMPLATE
|
218 |
|
219 | .replace(/START_VALUE/g, `${0.95 * strokeCircumference}`)
|
220 | .replace(/END_VALUE/g, `${0.2 * strokeCircumference}`)
|
221 | .replace(/DIAMETER/g, `${this._spinnerAnimationLabel}`));
|
222 | }
|
223 |
|
224 | _getSpinnerAnimationLabel() {
|
225 |
|
226 |
|
227 | return this.diameter.toString().replace('.', '_');
|
228 | }
|
229 | }
|
230 |
|
231 |
|
232 |
|
233 |
|
234 |
|
235 |
|
236 | MatLegacyProgressSpinner._diameters = new WeakMap();
|
237 | MatLegacyProgressSpinner.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-rc.0", ngImport: i0, type: MatLegacyProgressSpinner, deps: [{ token: i0.ElementRef }, { token: i1.Platform }, { token: DOCUMENT, optional: true }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS }, { token: i0.ChangeDetectorRef }, { token: i2.ViewportRuler }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
238 | MatLegacyProgressSpinner.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.0-rc.0", type: MatLegacyProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: { color: "color", diameter: "diameter", strokeWidth: "strokeWidth", mode: "mode", value: "value" }, host: { attributes: { "role": "progressbar", "tabindex": "-1" }, properties: { "class._mat-animation-noopable": "_noopAnimations", "style.width.px": "diameter", "style.height.px": "diameter", "attr.aria-valuemin": "mode === \"determinate\" ? 0 : null", "attr.aria-valuemax": "mode === \"determinate\" ? 100 : null", "attr.aria-valuenow": "mode === \"determinate\" ? value : null", "attr.mode": "mode" }, classAttribute: "mat-progress-spinner mat-spinner" }, exportAs: ["matProgressSpinner"], usesInheritance: true, ngImport: i0, template: "<!--\n preserveAspectRatio of xMidYMid meet as the center of the viewport is the circle's\n center. The center of the circle will remain at the center of the mat-progress-spinner\n element containing the SVG.\n-->\n<!--\n All children need to be hidden for screen readers in order to support ChromeVox.\n More context in the issue: https://github.com/angular/components/issues/22165.\n-->\n<svg\n [style.width.px]=\"diameter\"\n [style.height.px]=\"diameter\"\n [attr.viewBox]=\"_getViewBox()\"\n preserveAspectRatio=\"xMidYMid meet\"\n focusable=\"false\"\n [ngSwitch]=\"mode === 'indeterminate'\"\n aria-hidden=\"true\"\n #svg>\n\n <!--\n Technically we can reuse the same `circle` element, however Safari has an issue that breaks\n the SVG rendering in determinate mode, after switching between indeterminate and determinate.\n Using a different element avoids the issue. An alternative to this is adding `display: none`\n for a split second and then removing it when switching between modes, but it's hard to know\n for how long to hide the element and it can cause the UI to blink.\n -->\n <circle\n *ngSwitchCase=\"true\"\n cx=\"50%\"\n cy=\"50%\"\n [attr.r]=\"_getCircleRadius()\"\n [style.animation-name]=\"'mat-progress-spinner-stroke-rotate-' + _spinnerAnimationLabel\"\n [style.stroke-dashoffset.px]=\"_getStrokeDashOffset()\"\n [style.stroke-dasharray.px]=\"_getStrokeCircumference()\"\n [style.stroke-width.%]=\"_getCircleStrokeWidth()\"\n [style.transform-origin]=\"_getCircleTransformOrigin(svg)\"></circle>\n\n <circle\n *ngSwitchCase=\"false\"\n cx=\"50%\"\n cy=\"50%\"\n [attr.r]=\"_getCircleRadius()\"\n [style.stroke-dashoffset.px]=\"_getStrokeDashOffset()\"\n [style.stroke-dasharray.px]=\"_getStrokeCircumference()\"\n [style.stroke-width.%]=\"_getCircleStrokeWidth()\"\n [style.transform-origin]=\"_getCircleTransformOrigin(svg)\"></circle>\n</svg>\n", styles: [".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:rgba(0,0,0,0);transition:stroke-dashoffset 225ms linear}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}.mat-progress-spinner[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}.mat-progress-spinner._mat-animation-noopable svg,.mat-progress-spinner._mat-animation-noopable circle{animation:none;transition:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}"], dependencies: [{ kind: "directive", type: i3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
239 | i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-rc.0", ngImport: i0, type: MatLegacyProgressSpinner, decorators: [{
|
240 | type: Component,
|
241 | args: [{ selector: 'mat-progress-spinner, mat-spinner', exportAs: 'matProgressSpinner', host: {
|
242 | 'role': 'progressbar',
|
243 |
|
244 | 'class': 'mat-progress-spinner mat-spinner',
|
245 |
|
246 |
|
247 | 'tabindex': '-1',
|
248 | '[class._mat-animation-noopable]': `_noopAnimations`,
|
249 | '[style.width.px]': 'diameter',
|
250 | '[style.height.px]': 'diameter',
|
251 | '[attr.aria-valuemin]': 'mode === "determinate" ? 0 : null',
|
252 | '[attr.aria-valuemax]': 'mode === "determinate" ? 100 : null',
|
253 | '[attr.aria-valuenow]': 'mode === "determinate" ? value : null',
|
254 | '[attr.mode]': 'mode',
|
255 | }, inputs: ['color'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<!--\n preserveAspectRatio of xMidYMid meet as the center of the viewport is the circle's\n center. The center of the circle will remain at the center of the mat-progress-spinner\n element containing the SVG.\n-->\n<!--\n All children need to be hidden for screen readers in order to support ChromeVox.\n More context in the issue: https://github.com/angular/components/issues/22165.\n-->\n<svg\n [style.width.px]=\"diameter\"\n [style.height.px]=\"diameter\"\n [attr.viewBox]=\"_getViewBox()\"\n preserveAspectRatio=\"xMidYMid meet\"\n focusable=\"false\"\n [ngSwitch]=\"mode === 'indeterminate'\"\n aria-hidden=\"true\"\n #svg>\n\n <!--\n Technically we can reuse the same `circle` element, however Safari has an issue that breaks\n the SVG rendering in determinate mode, after switching between indeterminate and determinate.\n Using a different element avoids the issue. An alternative to this is adding `display: none`\n for a split second and then removing it when switching between modes, but it's hard to know\n for how long to hide the element and it can cause the UI to blink.\n -->\n <circle\n *ngSwitchCase=\"true\"\n cx=\"50%\"\n cy=\"50%\"\n [attr.r]=\"_getCircleRadius()\"\n [style.animation-name]=\"'mat-progress-spinner-stroke-rotate-' + _spinnerAnimationLabel\"\n [style.stroke-dashoffset.px]=\"_getStrokeDashOffset()\"\n [style.stroke-dasharray.px]=\"_getStrokeCircumference()\"\n [style.stroke-width.%]=\"_getCircleStrokeWidth()\"\n [style.transform-origin]=\"_getCircleTransformOrigin(svg)\"></circle>\n\n <circle\n *ngSwitchCase=\"false\"\n cx=\"50%\"\n cy=\"50%\"\n [attr.r]=\"_getCircleRadius()\"\n [style.stroke-dashoffset.px]=\"_getStrokeDashOffset()\"\n [style.stroke-dasharray.px]=\"_getStrokeCircumference()\"\n [style.stroke-width.%]=\"_getCircleStrokeWidth()\"\n [style.transform-origin]=\"_getCircleTransformOrigin(svg)\"></circle>\n</svg>\n", styles: [".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:rgba(0,0,0,0);transition:stroke-dashoffset 225ms linear}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}.mat-progress-spinner[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}.mat-progress-spinner._mat-animation-noopable svg,.mat-progress-spinner._mat-animation-noopable circle{animation:none;transition:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}"] }]
|
256 | }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.Platform }, { type: undefined, decorators: [{
|
257 | type: Optional
|
258 | }, {
|
259 | type: Inject,
|
260 | args: [DOCUMENT]
|
261 | }] }, { type: undefined, decorators: [{
|
262 | type: Optional
|
263 | }, {
|
264 | type: Inject,
|
265 | args: [ANIMATION_MODULE_TYPE]
|
266 | }] }, { type: undefined, decorators: [{
|
267 | type: Inject,
|
268 | args: [MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS]
|
269 | }] }, { type: i0.ChangeDetectorRef }, { type: i2.ViewportRuler }, { type: i0.NgZone }]; }, propDecorators: { diameter: [{
|
270 | type: Input
|
271 | }], strokeWidth: [{
|
272 | type: Input
|
273 | }], mode: [{
|
274 | type: Input
|
275 | }], value: [{
|
276 | type: Input
|
277 | }] } });
|
278 |
|
279 |
|
280 |
|
281 |
|
282 |
|
283 |
|
284 |
|
285 |
|
286 |
|
287 |
|
288 |
|
289 |
|
290 | class MatLegacyProgressSpinnerModule {
|
291 | }
|
292 | MatLegacyProgressSpinnerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-rc.0", ngImport: i0, type: MatLegacyProgressSpinnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
293 | MatLegacyProgressSpinnerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.0-rc.0", ngImport: i0, type: MatLegacyProgressSpinnerModule, declarations: [MatLegacyProgressSpinner], imports: [MatCommonModule, CommonModule], exports: [MatLegacyProgressSpinner, MatCommonModule] });
|
294 | MatLegacyProgressSpinnerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.0-rc.0", ngImport: i0, type: MatLegacyProgressSpinnerModule, imports: [MatCommonModule, CommonModule, MatCommonModule] });
|
295 | i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-rc.0", ngImport: i0, type: MatLegacyProgressSpinnerModule, decorators: [{
|
296 | type: NgModule,
|
297 | args: [{
|
298 | imports: [MatCommonModule, CommonModule],
|
299 | exports: [MatLegacyProgressSpinner, MatCommonModule],
|
300 | declarations: [MatLegacyProgressSpinner],
|
301 | }]
|
302 | }] });
|
303 |
|
304 |
|
305 |
|
306 |
|
307 |
|
308 |
|
309 |
|
310 |
|
311 |
|
312 |
|
313 |
|
314 |
|
315 |
|
316 |
|
317 | const MatLegacySpinner = MatLegacyProgressSpinner;
|
318 |
|
319 |
|
320 |
|
321 |
|
322 |
|
323 |
|
324 |
|
325 |
|
326 |
|
327 |
|
328 |
|
329 |
|
330 |
|
331 | export { MatLegacyProgressSpinner, MatLegacyProgressSpinnerModule, MatLegacySpinner };
|
332 |
|