@angular/cdk-experimental 22.2.0-next.4 → 22.2.0-rc.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"table-scroll-container.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/cdk-experimental/table-scroll-container/table-scroll-container.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/cdk-experimental/table-scroll-container/table-scroll-container-module.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {CSP_NONCE, Directive, ElementRef, OnDestroy, OnInit, inject, DOCUMENT} from '@angular/core';\nimport {_IdGenerator} from '@angular/cdk/a11y';\n\nimport {Directionality} from '@angular/cdk/bidi';\nimport {_getShadowRoot} from '@angular/cdk/platform';\nimport {\n STICKY_POSITIONING_LISTENER,\n StickyPositioningListener,\n StickySize,\n StickyUpdate,\n} from '@angular/cdk/table';\n\n/**\n * Applies styles to the host element that make its scrollbars match up with\n * the non-sticky scrollable portions of the CdkTable contained within.\n *\n * This visual effect only works in Webkit and Blink based browsers (eg Chrome,\n * Safari, Edge). Other browsers such as Firefox will gracefully degrade to\n * normal scrollbar appearance.\n * Further note: These styles have no effect when the browser is using OS-default\n * scrollbars. The easiest way to force them into custom mode is to specify width\n * and height for the scrollbar and thumb.\n */\n@Directive({\n selector: '[cdkTableScrollContainer]',\n host: {\n 'class': 'cdk-table-scroll-container',\n },\n providers: [{provide: STICKY_POSITIONING_LISTENER, useExisting: CdkTableScrollContainer}],\n})\nexport class CdkTableScrollContainer implements StickyPositioningListener, OnDestroy, OnInit {\n private readonly _elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly _document = inject<Document>(DOCUMENT);\n private readonly _directionality = inject(Directionality, {optional: true});\n private readonly _nonce = inject(CSP_NONCE, {optional: true});\n\n private readonly _uniqueClassName = inject(_IdGenerator).getId('cdk-table-scroll-container-');\n private _styleRoot!: Node;\n private _styleElement?: HTMLStyleElement;\n\n /** The most recent sticky column size values from the CdkTable. */\n private _startSizes: StickySize[] = [];\n private _endSizes: StickySize[] = [];\n private _headerSizes: StickySize[] = [];\n private _footerSizes: StickySize[] = [];\n\n ngOnInit() {\n this._elementRef.nativeElement.classList.add(this._uniqueClassName);\n this._styleRoot = _getShadowRoot(this._elementRef.nativeElement) ?? this._document.head;\n }\n\n ngOnDestroy(): void {\n this._styleElement?.remove();\n this._styleElement = undefined;\n }\n\n stickyColumnsUpdated({sizes}: StickyUpdate): void {\n this._startSizes = sizes;\n this._updateScrollbar();\n }\n\n stickyEndColumnsUpdated({sizes}: StickyUpdate): void {\n this._endSizes = sizes;\n this._updateScrollbar();\n }\n\n stickyHeaderRowsUpdated({sizes}: StickyUpdate): void {\n this._headerSizes = sizes;\n this._updateScrollbar();\n }\n\n stickyFooterRowsUpdated({sizes}: StickyUpdate): void {\n this._footerSizes = sizes;\n this._updateScrollbar();\n }\n\n /**\n * Set padding on the scrollbar track based on the sticky states from CdkTable.\n */\n private _updateScrollbar(): void {\n const topMargin = computeMargin(this._headerSizes);\n const bottomMargin = computeMargin(this._footerSizes);\n const startMargin = computeMargin(this._startSizes);\n const endMargin = computeMargin(this._endSizes);\n\n if (topMargin === 0 && bottomMargin === 0 && startMargin === 0 && endMargin === 0) {\n this._clearCss();\n return;\n }\n\n const direction = this._directionality ? this._directionality.value : 'ltr';\n const leftMargin = direction === 'rtl' ? endMargin : startMargin;\n const rightMargin = direction === 'rtl' ? startMargin : endMargin;\n\n this._applyCss(`${topMargin}px ${rightMargin}px ${bottomMargin}px ${leftMargin}px`);\n }\n\n /** Gets the stylesheet for the scrollbar styles and creates it if need be. */\n private _getStyleSheet(): CSSStyleSheet {\n if (!this._styleElement) {\n this._styleElement = this._document.createElement('style');\n\n if (this._nonce) {\n this._styleElement.setAttribute('nonce', this._nonce);\n }\n\n this._styleRoot.appendChild(this._styleElement);\n }\n\n return this._styleElement.sheet as CSSStyleSheet;\n }\n\n /** Updates the stylesheet with the specified scrollbar style. */\n private _applyCss(value: string) {\n this._clearCss();\n\n const selector = `.${this._uniqueClassName}::-webkit-scrollbar-track`;\n this._getStyleSheet().insertRule(`${selector} {margin: ${value}}`, 0);\n }\n\n private _clearCss() {\n const styleSheet = this._getStyleSheet();\n if (styleSheet.cssRules.length > 0) {\n styleSheet.deleteRule(0);\n }\n }\n}\n\nfunction computeMargin(sizes: (number | null | undefined)[]): number {\n let margin = 0;\n for (const size of sizes) {\n if (size == null) {\n break;\n }\n margin += size;\n }\n return margin;\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {NgModule} from '@angular/core';\n\nimport {CdkTableScrollContainer} from './table-scroll-container';\n\n@NgModule({\n imports: [CdkTableScrollContainer],\n exports: [CdkTableScrollContainer],\n})\nexport class CdkTableScrollContainerModule {}\n"],"names":[],"mappings":";;;;;;;MAsCa,uBAAuB,CAAA;AACjB,EAAA,WAAW,GAAG,MAAM,CAA0B,UAAU,CAAC;AACzD,EAAA,SAAS,GAAG,MAAM,CAAW,QAAQ,CAAC;AACtC,EAAA,eAAe,GAAG,MAAM,CAAC,cAAc,EAAE;AAAC,IAAA,QAAQ,EAAE;AAAI,GAAC,CAAC;AAC1D,EAAA,MAAM,GAAG,MAAM,CAAC,SAAS,EAAE;AAAC,IAAA,QAAQ,EAAE;AAAI,GAAC,CAAC;EAE5C,gBAAgB,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC,KAAK,CAAC,6BAA6B,CAAC;EACrF,UAAU;EACV,aAAa;AAGb,EAAA,WAAW,GAAiB,EAAE;AAC9B,EAAA,SAAS,GAAiB,EAAE;AAC5B,EAAA,YAAY,GAAiB,EAAE;AAC/B,EAAA,YAAY,GAAiB,EAAE;AAEvC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A,EAAA,EAAA;AAAA,IAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA;AAAA,GAAA,CAAA;;;;;UAA7B,6BAA6B;IAAA,OAAA,EAAA,CAH9B,uBAAuB,CAAA;IAAA,OAAA,EAAA,CACvB,uBAAuB;AAAA,GAAA,CAAA;;;;;UAEtB;AAA6B,GAAA,CAAA;;;;;;QAA7B,6BAA6B;AAAA,EAAA,UAAA,EAAA,CAAA;UAJzC,QAAQ;AAAC,IAAA,IAAA,EAAA,CAAA;MACR,OAAO,EAAE,CAAC,uBAAuB,CAAC;MAClC,OAAO,EAAE,CAAC,uBAAuB;KAClC;;;;;;"}
1
+ {"version":3,"file":"table-scroll-container.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/cdk-experimental/table-scroll-container/table-scroll-container.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/cdk-experimental/table-scroll-container/table-scroll-container-module.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {CSP_NONCE, Directive, ElementRef, OnDestroy, OnInit, inject, DOCUMENT} from '@angular/core';\nimport {_IdGenerator} from '@angular/cdk/a11y';\n\nimport {Directionality} from '@angular/cdk/bidi';\nimport {_getShadowRoot} from '@angular/cdk/platform';\nimport {\n STICKY_POSITIONING_LISTENER,\n StickyPositioningListener,\n StickySize,\n StickyUpdate,\n} from '@angular/cdk/table';\n\n/**\n * Applies styles to the host element that make its scrollbars match up with\n * the non-sticky scrollable portions of the CdkTable contained within.\n *\n * This visual effect only works in Webkit and Blink based browsers (eg Chrome,\n * Safari, Edge). Other browsers such as Firefox will gracefully degrade to\n * normal scrollbar appearance.\n * Further note: These styles have no effect when the browser is using OS-default\n * scrollbars. The easiest way to force them into custom mode is to specify width\n * and height for the scrollbar and thumb.\n */\n@Directive({\n selector: '[cdkTableScrollContainer]',\n host: {\n 'class': 'cdk-table-scroll-container',\n },\n providers: [{provide: STICKY_POSITIONING_LISTENER, useExisting: CdkTableScrollContainer}],\n})\nexport class CdkTableScrollContainer implements StickyPositioningListener, OnDestroy, OnInit {\n private readonly _elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly _document = inject<Document>(DOCUMENT);\n private readonly _directionality = inject(Directionality, {optional: true});\n private readonly _nonce = inject(CSP_NONCE, {optional: true});\n\n private readonly _uniqueClassName = inject(_IdGenerator).getId('cdk-table-scroll-container-');\n private _styleRoot!: Node;\n private _styleElement?: HTMLStyleElement;\n\n /** The most recent sticky column size values from the CdkTable. */\n private _startSizes: StickySize[] = [];\n private _endSizes: StickySize[] = [];\n private _headerSizes: StickySize[] = [];\n private _footerSizes: StickySize[] = [];\n\n ngOnInit() {\n this._elementRef.nativeElement.classList.add(this._uniqueClassName);\n this._styleRoot = _getShadowRoot(this._elementRef.nativeElement) ?? this._document.head;\n }\n\n ngOnDestroy(): void {\n this._styleElement?.remove();\n this._styleElement = undefined;\n }\n\n stickyColumnsUpdated({sizes}: StickyUpdate): void {\n this._startSizes = sizes;\n this._updateScrollbar();\n }\n\n stickyEndColumnsUpdated({sizes}: StickyUpdate): void {\n this._endSizes = sizes;\n this._updateScrollbar();\n }\n\n stickyHeaderRowsUpdated({sizes}: StickyUpdate): void {\n this._headerSizes = sizes;\n this._updateScrollbar();\n }\n\n stickyFooterRowsUpdated({sizes}: StickyUpdate): void {\n this._footerSizes = sizes;\n this._updateScrollbar();\n }\n\n /**\n * Set padding on the scrollbar track based on the sticky states from CdkTable.\n */\n private _updateScrollbar(): void {\n const topMargin = computeMargin(this._headerSizes);\n const bottomMargin = computeMargin(this._footerSizes);\n const startMargin = computeMargin(this._startSizes);\n const endMargin = computeMargin(this._endSizes);\n\n if (topMargin === 0 && bottomMargin === 0 && startMargin === 0 && endMargin === 0) {\n this._clearCss();\n return;\n }\n\n const direction = this._directionality ? this._directionality.value : 'ltr';\n const leftMargin = direction === 'rtl' ? endMargin : startMargin;\n const rightMargin = direction === 'rtl' ? startMargin : endMargin;\n\n this._applyCss(`${topMargin}px ${rightMargin}px ${bottomMargin}px ${leftMargin}px`);\n }\n\n /** Gets the stylesheet for the scrollbar styles and creates it if need be. */\n private _getStyleSheet(): CSSStyleSheet {\n if (!this._styleElement) {\n this._styleElement = this._document.createElement('style');\n\n if (this._nonce) {\n this._styleElement.setAttribute('nonce', this._nonce);\n }\n\n this._styleRoot.appendChild(this._styleElement);\n }\n\n return this._styleElement.sheet as CSSStyleSheet;\n }\n\n /** Updates the stylesheet with the specified scrollbar style. */\n private _applyCss(value: string) {\n this._clearCss();\n\n const selector = `.${this._uniqueClassName}::-webkit-scrollbar-track`;\n this._getStyleSheet().insertRule(`${selector} {margin: ${value}}`, 0);\n }\n\n private _clearCss() {\n const styleSheet = this._getStyleSheet();\n if (styleSheet.cssRules.length > 0) {\n styleSheet.deleteRule(0);\n }\n }\n}\n\nfunction computeMargin(sizes: (number | null | undefined)[]): number {\n let margin = 0;\n for (const size of sizes) {\n if (size == null) {\n break;\n }\n margin += size;\n }\n return margin;\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {NgModule} from '@angular/core';\n\nimport {CdkTableScrollContainer} from './table-scroll-container';\n\n@NgModule({\n imports: [CdkTableScrollContainer],\n exports: [CdkTableScrollContainer],\n})\nexport class CdkTableScrollContainerModule {}\n"],"names":[],"mappings":";;;;;;;MAsCa,uBAAuB,CAAA;AACjB,EAAA,WAAW,GAAG,MAAM,CAA0B,UAAU,CAAC;AACzD,EAAA,SAAS,GAAG,MAAM,CAAW,QAAQ,CAAC;AACtC,EAAA,eAAe,GAAG,MAAM,CAAC,cAAc,EAAE;AAAC,IAAA,QAAQ,EAAE;AAAI,GAAC,CAAC;AAC1D,EAAA,MAAM,GAAG,MAAM,CAAC,SAAS,EAAE;AAAC,IAAA,Q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A;EACzD,IAAI,MAAM,GAAG,CAAC;AACd,EAAA,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;IACxB,IAAI,IAAI,IAAI,IAAI,EAAE;AAChB,MAAA;AACF,IAAA;AACA,IAAA,MAAM,IAAI,IAAI;AAChB,EAAA;AACA,EAAA,OAAO,MAAM;AACf;;MCjIa,6BAA6B,CAAA;;;;;UAA7B,6BAA6B;AAAA,IAAA,IAAA,EAAA,EAAA;AAAA,IAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA;AAAA,GAAA,CAAA;;;;;UAA7B,6BAA6B;IAAA,OAAA,EAAA,CAH9B,uBAAuB,CAAA;IAAA,OAAA,EAAA,CACvB,uBAAuB;AAAA,GAAA,CAAA;;;;;UAEtB;AAA6B,GAAA,CAAA;;;;;;QAA7B,6BAA6B;AAAA,EAAA,UAAA,EAAA,CAAA;UAJzC,QAAQ;AAAC,IAAA,IAAA,EAAA,CAAA;MACR,OAAO,EAAE,CAAC,uBAAuB,CAAC;MAClC,OAAO,EAAE,CAAC,uBAAuB;KAClC;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/cdk-experimental",
3
- "version": "22.2.0-next.4",
3
+ "version": "22.2.0-rc.0",
4
4
  "description": "Experimental components for Angular CDK",
5
5
  "repository": {
6
6
  "type": "git",
@@ -12,7 +12,7 @@
12
12
  },
13
13
  "homepage": "https://github.com/angular/components#readme",
14
14
  "peerDependencies": {
15
- "@angular/cdk": "22.2.0-next.4",
15
+ "@angular/cdk": "22.2.0-rc.0",
16
16
  "@angular/core": "^22.0.0-0 || ^22.1.0-0 || ^22.2.0-0 || ^22.3.0-0 || ^23.0.0-0"
17
17
  },
18
18
  "devDependencies": {
@@ -39,7 +39,7 @@ declare class ColumnResizeNotifierSource {
39
39
  /** Triggers a resize action. */
40
40
  readonly triggerResize: Subject<ColumnSizeAction>;
41
41
  static ɵfac: i0.ɵɵFactoryDeclaration<ColumnResizeNotifierSource, never>;
42
- static ɵprov: i0.ɵɵInjectableDeclaration<ColumnResizeNotifierSource>;
42
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
43
43
  }
44
44
  /** Service for triggering column resizes imperatively or being notified of them. */
45
45
  declare class ColumnResizeNotifier {
@@ -49,7 +49,7 @@ declare class ColumnResizeNotifier {
49
49
  /** Instantly resizes the specified column. */
50
50
  resize(columnId: string, size: number): void;
51
51
  static ɵfac: i0.ɵɵFactoryDeclaration<ColumnResizeNotifier, never>;
52
- static ɵprov: i0.ɵɵInjectableDeclaration<ColumnResizeNotifier>;
52
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
53
53
  }
54
54
 
55
55
  /** Coordinates events between the column resize directives. */
@@ -83,7 +83,7 @@ declare class HeaderRowEventDispatcher {
83
83
  resizeOverlayVisibleForHeaderRow(row: Element): Observable<boolean>;
84
84
  private _enterZone;
85
85
  static ɵfac: i0.ɵɵFactoryDeclaration<HeaderRowEventDispatcher, never>;
86
- static ɵprov: i0.ɵɵInjectableDeclaration<HeaderRowEventDispatcher>;
86
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
87
87
  }
88
88
 
89
89
  /** Configurable options for column resize. */
@@ -218,7 +218,7 @@ declare abstract class ColumnSizeStore {
218
218
  /** Persists the size of the specified column in the specified table. */
219
219
  abstract setSize(tableId: string, columnId: string, sizePx: number): void;
220
220
  static ɵfac: i0.ɵɵFactoryDeclaration<ColumnSizeStore, never>;
221
- static ɵprov: i0.ɵɵInjectableDeclaration<ColumnSizeStore>;
221
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
222
222
  }
223
223
 
224
224
  /** Tracks state of resize events in progress. */
@@ -261,7 +261,7 @@ declare class _CoalescedStyleScheduler {
261
261
  scheduleEnd(task: () => unknown): void;
262
262
  private _createScheduleIfNeeded;
263
263
  static ɵfac: i0.ɵɵFactoryDeclaration<_CoalescedStyleScheduler, never>;
264
- static ɵprov: i0.ɵɵInjectableDeclaration<_CoalescedStyleScheduler>;
264
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
265
265
  }
266
266
 
267
267
  /**
@@ -324,7 +324,7 @@ declare abstract class ResizeStrategy implements OnDestroy {
324
324
  ngOnDestroy(): void;
325
325
  private _updateCachedSizes;
326
326
  static ɵfac: i0.ɵɵFactoryDeclaration<ResizeStrategy, never>;
327
- static ɵprov: i0.ɵɵInjectableDeclaration<ResizeStrategy>;
327
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
328
328
  }
329
329
  /**
330
330
  * The optimally performing resize strategy for &lt;table&gt; elements with table-layout: fixed.
@@ -341,7 +341,7 @@ declare class TableLayoutFixedResizeStrategy extends ResizeStrategy {
341
341
  applyMinColumnSize(_: string, columnHeader: HTMLElement, sizeInPx: number): void;
342
342
  applyMaxColumnSize(_: string, columnHeader: HTMLElement, sizeInPx: number): void;
343
343
  static ɵfac: i0.ɵɵFactoryDeclaration<TableLayoutFixedResizeStrategy, never>;
344
- static ɵprov: i0.ɵɵInjectableDeclaration<TableLayoutFixedResizeStrategy>;
344
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
345
345
  }
346
346
  /**
347
347
  * The optimally performing resize strategy for flex mat-tables.
@@ -373,7 +373,7 @@ declare class CdkFlexTableResizeStrategy extends ResizeStrategy implements OnDes
373
373
  private _getColumnPropertiesMap;
374
374
  private _applySizeCss;
375
375
  static ɵfac: i0.ɵɵFactoryDeclaration<CdkFlexTableResizeStrategy, never>;
376
- static ɵprov: i0.ɵɵInjectableDeclaration<CdkFlexTableResizeStrategy>;
376
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
377
377
  }
378
378
  declare const TABLE_LAYOUT_FIXED_RESIZE_STRATEGY_PROVIDER: Provider;
379
379
  declare const FLEX_RESIZE_STRATEGY_PROVIDER: Provider;
@@ -94,7 +94,7 @@ declare class EditEventDispatcher<R> {
94
94
  private _getLastRowWithHoverContent;
95
95
  private _mapAllRowsToSingleRow;
96
96
  static ɵfac: i0.ɵɵFactoryDeclaration<EditEventDispatcher<any>, never>;
97
- static ɵprov: i0.ɵɵInjectableDeclaration<EditEventDispatcher<any>>;
97
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
98
98
  }
99
99
 
100
100
  /**
@@ -135,7 +135,7 @@ declare class EditRef<FormValue> implements OnDestroy {
135
135
  */
136
136
  reset(value?: FormValue): void;
137
137
  static ɵfac: i0.ɵɵFactoryDeclaration<EditRef<any>, never>;
138
- static ɵprov: i0.ɵɵInjectableDeclaration<EditRef<any>>;
138
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
139
139
  }
140
140
 
141
141
  /**
@@ -156,7 +156,7 @@ declare class FocusDispatcher {
156
156
  /** Translates arrow keydown events into focus move operations. */
157
157
  protected handleKeyboardEvent(event: KeyboardEvent): void;
158
158
  static ɵfac: i0.ɵɵFactoryDeclaration<FocusDispatcher, never>;
159
- static ɵprov: i0.ɵɵInjectableDeclaration<FocusDispatcher>;
159
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
160
160
  }
161
161
 
162
162
  interface Entry<FormValue> {
@@ -262,7 +262,7 @@ declare class EditServices {
262
262
  readonly scrollDispatcher: ScrollDispatcher;
263
263
  readonly viewportRuler: ViewportRuler;
264
264
  static ɵfac: i0.ɵɵFactoryDeclaration<EditServices, never>;
265
- static ɵprov: i0.ɵɵInjectableDeclaration<EditServices>;
265
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
266
266
  }
267
267
 
268
268
  /** Value indicating whether focus left the target area before or after the enclosed elements. */
@@ -292,7 +292,7 @@ declare class FocusEscapeNotifierFactory {
292
292
  */
293
293
  create(element: HTMLElement): FocusEscapeNotifier;
294
294
  static ɵfac: i0.ɵɵFactoryDeclaration<FocusEscapeNotifierFactory, never>;
295
- static ɵprov: i0.ɵɵInjectableDeclaration<FocusEscapeNotifierFactory>;
295
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
296
296
  }
297
297
 
298
298
  /**