@danske/sapphire-angular 2.2.0 → 2.4.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.
- package/esm2020/lib/checkbox/src/checkbox.component.mjs +20 -4
- package/esm2020/lib/checkbox/src/checkbox.module.mjs +4 -3
- package/esm2020/lib/field/src/field-control.mjs +1 -1
- package/esm2020/lib/field/src/field.component.mjs +24 -9
- package/esm2020/lib/listbox/src/listbox.component.mjs +2 -2
- package/esm2020/lib/menu/src/menu-trigger.directive.mjs +10 -4
- package/esm2020/lib/menu/src/menu.component.mjs +2 -2
- package/esm2020/lib/modal/src/dialog/dialog-trigger.directive.mjs +3 -8
- package/esm2020/lib/modal/src/modal-trigger.directive.mjs +13 -11
- package/esm2020/lib/modal/src/modal.service.mjs +5 -4
- package/esm2020/lib/modal/src/panel/panel-trigger.directive.mjs +3 -8
- package/esm2020/lib/popover/src/popover-trigger.directive.mjs +11 -11
- package/esm2020/lib/popover/src/popover.component.mjs +2 -2
- package/esm2020/lib/radio/public_api.mjs +3 -1
- package/esm2020/lib/radio/src/radio-group.component.mjs +22 -159
- package/esm2020/lib/radio/src/radio.component.mjs +8 -267
- package/esm2020/lib/radio/src/radio.module.mjs +40 -6
- package/esm2020/lib/radio/src/segmented/segmented-radio-group.component.mjs +130 -0
- package/esm2020/lib/radio/src/segmented/segmented-radio.component.mjs +25 -0
- package/esm2020/lib/radio/src/shared/radio-base.mjs +276 -0
- package/esm2020/lib/radio/src/shared/radio-group-base.mjs +166 -0
- package/esm2020/lib/segmented-tabs/src/segmented-tab.component.mjs +2 -2
- package/esm2020/lib/segmented-tabs/src/segmented-tabs.component.mjs +19 -12
- package/esm2020/lib/select/src/basic-select/basic-select.component.mjs +2 -2
- package/esm2020/lib/select/src/select/select.component.mjs +4 -3
- package/esm2020/lib/table/public_api.mjs +2 -1
- package/esm2020/lib/table/src/cdk-virtual-scroll-viewport-fix.directive.mjs +61 -0
- package/esm2020/lib/table/src/table.module.mjs +7 -2
- package/esm2020/lib/text-field/src/text-field.component.mjs +4 -3
- package/esm2020/lib/theme/public_api.mjs +2 -2
- package/esm2020/lib/theme/src/sapphire-overlay.service.mjs +62 -0
- package/esm2020/lib/theme/src/theme-base.directive.mjs +6 -46
- package/esm2020/lib/theme/src/theme.module.mjs +3 -29
- package/esm2020/lib/theme/src/themes.mjs +4 -4
- package/esm2020/lib/tooltip/src/tooltip.directive.mjs +4 -4
- package/fesm2015/danske-sapphire-angular.mjs +645 -377
- package/fesm2015/danske-sapphire-angular.mjs.map +1 -1
- package/fesm2020/danske-sapphire-angular.mjs +643 -377
- package/fesm2020/danske-sapphire-angular.mjs.map +1 -1
- package/lib/checkbox/src/checkbox.component.d.ts +6 -1
- package/lib/checkbox/src/checkbox.module.d.ts +4 -3
- package/lib/field/src/field-control.d.ts +1 -0
- package/lib/field/src/field.component.d.ts +11 -3
- package/lib/modal/src/dialog/dialog-trigger.directive.d.ts +0 -3
- package/lib/modal/src/modal-trigger.directive.d.ts +3 -2
- package/lib/modal/src/modal.service.d.ts +10 -2
- package/lib/modal/src/panel/panel-trigger.directive.d.ts +0 -3
- package/lib/popover/src/popover-trigger.directive.d.ts +4 -3
- package/lib/radio/public_api.d.ts +2 -0
- package/lib/radio/src/radio-group.component.d.ts +5 -60
- package/lib/radio/src/radio.component.d.ts +4 -96
- package/lib/radio/src/radio.module.d.ts +8 -5
- package/lib/radio/src/segmented/segmented-radio-group.component.d.ts +40 -0
- package/lib/radio/src/segmented/segmented-radio.component.d.ts +8 -0
- package/lib/radio/src/shared/radio-base.d.ts +103 -0
- package/lib/radio/src/shared/radio-group-base.d.ts +63 -0
- package/lib/segmented-tabs/src/segmented-tabs.component.d.ts +3 -2
- package/lib/select/src/select/select.component.d.ts +1 -0
- package/lib/table/public_api.d.ts +1 -0
- package/lib/table/src/cdk-virtual-scroll-viewport-fix.directive.d.ts +25 -0
- package/lib/table/src/table-cell.directive.d.ts +1 -1
- package/lib/table/src/table.module.d.ts +3 -2
- package/lib/text-field/src/text-field.component.d.ts +1 -0
- package/lib/theme/public_api.d.ts +1 -1
- package/lib/theme/src/sapphire-overlay.service.d.ts +34 -0
- package/lib/tooltip/src/tooltip.directive.d.ts +2 -2
- package/package.json +3 -3
- package/esm2020/lib/theme/src/sapphire-overlay-container.service.mjs +0 -37
- package/lib/theme/src/sapphire-overlay-container.service.d.ts +0 -14
|
@@ -27,7 +27,7 @@ export declare class SegmentedTabsComponent implements AfterContentInit, AfterVi
|
|
|
27
27
|
readonly tabs: QueryList<SegmentedTabComponent>;
|
|
28
28
|
private _tabIds;
|
|
29
29
|
private resizeObserver;
|
|
30
|
-
|
|
30
|
+
_gliderStyles: {
|
|
31
31
|
left: string;
|
|
32
32
|
width: string;
|
|
33
33
|
};
|
|
@@ -44,7 +44,8 @@ export declare class SegmentedTabsComponent implements AfterContentInit, AfterVi
|
|
|
44
44
|
_getTabContentTemplate(): import("@angular/core").TemplateRef<any> | null;
|
|
45
45
|
_onFocusChange(origin: FocusOrigin): void;
|
|
46
46
|
_onKeyDown(event: KeyboardEvent): void;
|
|
47
|
-
private
|
|
47
|
+
private setGliderStyles;
|
|
48
|
+
private getSelectedTabPosition;
|
|
48
49
|
private onTabsChange;
|
|
49
50
|
private skipAnimationFrame;
|
|
50
51
|
private findFocusableIndex;
|
|
@@ -75,6 +75,7 @@ export declare class SelectComponent extends SelectComponentBase implements Fiel
|
|
|
75
75
|
_onSearchInput(event: Event): void;
|
|
76
76
|
_handleSelected(): void;
|
|
77
77
|
isDisabled(): boolean;
|
|
78
|
+
hasDefaultWidth: boolean;
|
|
78
79
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, [null, null, null, { optional: true; }, { optional: true; }]>;
|
|
79
80
|
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "sp-select", ["spSelect"], {}, {}, never, ["sp-selection-text"], false, [{ directive: typeof i1.UseComponentStylesOnHost; inputs: {}; outputs: {}; }]>;
|
|
80
81
|
}
|
|
@@ -9,3 +9,4 @@ export * from './src/table-head.directive';
|
|
|
9
9
|
export * from './src/table-sort.directive';
|
|
10
10
|
export * from './src/table-sort-header.directive';
|
|
11
11
|
export * from './src/table.module';
|
|
12
|
+
export { CdkVirtualScrollViewportFixDirective } from './src/cdk-virtual-scroll-viewport-fix.directive';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* A patch to fix the issue of sticky header position getting affected
|
|
6
|
+
* by transform, which is due to transform making the element
|
|
7
|
+
* a [containing block](https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block).
|
|
8
|
+
*
|
|
9
|
+
* It intercepts style assignments on the content wrapper, and converts
|
|
10
|
+
* transform: translateY(value) to top: value, to avoid making the content
|
|
11
|
+
* wrapper a containing block for sticky positioned children.
|
|
12
|
+
*
|
|
13
|
+
* @see
|
|
14
|
+
* https://github.com/angular/components/issues/14833
|
|
15
|
+
* https://github.com/angular/components/issues/18240
|
|
16
|
+
* https://github.com/angular/components/issues/21576
|
|
17
|
+
* https://github.com/angular/components/issues/28584
|
|
18
|
+
*/
|
|
19
|
+
export declare class CdkVirtualScrollViewportFixDirective implements OnInit {
|
|
20
|
+
private cdkViewport;
|
|
21
|
+
constructor(cdkViewport: CdkVirtualScrollViewport);
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CdkVirtualScrollViewportFixDirective, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkVirtualScrollViewportFixDirective, "cdk-virtual-scroll-viewport", never, {}, {}, never, never, true, never>;
|
|
25
|
+
}
|
|
@@ -11,7 +11,7 @@ export declare class TableCellDirective implements AfterContentChecked {
|
|
|
11
11
|
private table;
|
|
12
12
|
private truncatedWithTooltipDirective;
|
|
13
13
|
private tableRow;
|
|
14
|
-
get role(): "
|
|
14
|
+
get role(): "cell" | "rowheader";
|
|
15
15
|
/**
|
|
16
16
|
* Horizontal alignment of content in the cell.
|
|
17
17
|
*
|
|
@@ -12,9 +12,10 @@ import * as i10 from "./table-sort-header.directive";
|
|
|
12
12
|
import * as i11 from "@angular/common";
|
|
13
13
|
import * as i12 from "../../icon/src/icon.module";
|
|
14
14
|
import * as i13 from "../../tooltip/src/truncated-with-tooltip.directive";
|
|
15
|
-
import * as i14 from "
|
|
15
|
+
import * as i14 from "./cdk-virtual-scroll-viewport-fix.directive";
|
|
16
|
+
import * as i15 from "../../common/sapphire-view-encapsulation";
|
|
16
17
|
export declare class SapphireTableModule {
|
|
17
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<SapphireTableModule, never>;
|
|
18
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SapphireTableModule, [typeof i1.TableComponent, typeof i2.TableDirective, typeof i3.TableBodyDirective, typeof i4.TableFooterDirective, typeof i5.TableHeadDirective, typeof i6.TableRowDirective, typeof i7.TableHeadCellComponent, typeof i8.TableCellDirective, typeof i9.TableSortDirective, typeof i10.TableSortHeaderDirective], [typeof i11.CommonModule, typeof i12.SapphireIconModule, typeof i13.TruncatedWithTooltipDirective, typeof i14.UseComponentStyles], [typeof i1.TableComponent, typeof i2.TableDirective, typeof i3.TableBodyDirective, typeof i4.TableFooterDirective, typeof i5.TableHeadDirective, typeof i6.TableRowDirective, typeof i7.TableHeadCellComponent, typeof i8.TableCellDirective, typeof i9.TableSortDirective, typeof i10.TableSortHeaderDirective]>;
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SapphireTableModule, [typeof i1.TableComponent, typeof i2.TableDirective, typeof i3.TableBodyDirective, typeof i4.TableFooterDirective, typeof i5.TableHeadDirective, typeof i6.TableRowDirective, typeof i7.TableHeadCellComponent, typeof i8.TableCellDirective, typeof i9.TableSortDirective, typeof i10.TableSortHeaderDirective], [typeof i11.CommonModule, typeof i12.SapphireIconModule, typeof i13.TruncatedWithTooltipDirective, typeof i14.CdkVirtualScrollViewportFixDirective, typeof i15.UseComponentStyles], [typeof i1.TableComponent, typeof i2.TableDirective, typeof i3.TableBodyDirective, typeof i4.TableFooterDirective, typeof i5.TableHeadDirective, typeof i6.TableRowDirective, typeof i7.TableHeadCellComponent, typeof i8.TableCellDirective, typeof i9.TableSortDirective, typeof i10.TableSortHeaderDirective, typeof i14.CdkVirtualScrollViewportFixDirective]>;
|
|
19
20
|
static ɵinj: i0.ɵɵInjectorDeclaration<SapphireTableModule>;
|
|
20
21
|
}
|
|
@@ -14,6 +14,7 @@ export declare class TextFieldComponent implements FieldControl {
|
|
|
14
14
|
isCharacterCounterExceeded(): boolean;
|
|
15
15
|
isDisabled(): boolean;
|
|
16
16
|
getId(): string | undefined;
|
|
17
|
+
readonly hasDefaultWidth = true;
|
|
17
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextFieldComponent, [{ optional: true; }]>;
|
|
18
19
|
static ɵcmp: i0.ɵɵComponentDeclaration<TextFieldComponent, "sp-text-field", never, { "characterCounterMax": "characterCounterMax"; }, {}, ["inputElement", "_inputDirective"], ["sp-text-field-prefix", "input", "sp-text-field-postfix", "textarea"], false, [{ directive: typeof i1.ThemeCheckDirective; inputs: {}; outputs: {}; }, { directive: typeof i2.UseComponentStylesOnHost; inputs: {}; outputs: {}; }]>;
|
|
19
20
|
}
|
|
@@ -17,7 +17,7 @@ export type Breakpoints = Record<Breakpoint, number>;
|
|
|
17
17
|
*/
|
|
18
18
|
export declare const DEFAULT_BREAKPOINTS: Breakpoints;
|
|
19
19
|
export { SapphireThemeModule } from './src/theme.module';
|
|
20
|
-
export {
|
|
20
|
+
export { SapphireOverlay } from './src/sapphire-overlay.service';
|
|
21
21
|
export { ThemeDefaultDark, ThemeDefault } from './src/themes';
|
|
22
22
|
export { ThemeRootDirective } from './src/theme-root.directive';
|
|
23
23
|
export { ThemeBaseDirective } from './src/theme-base.directive';
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Overlay, OverlayConfig, OverlayRef } from '@angular/cdk/overlay';
|
|
2
|
+
import { ThemeBaseDirective } from './theme-base.directive';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* NOTE: Providing a theme-aware OverlayContainer was a solution for overlay styles we used to have.
|
|
6
|
+
* It proved error-prone since it can lead to multiple overlay containers, which can cause
|
|
7
|
+
* z-index issues in various scenarios (UC-4160, UC-2897, UC-3843).
|
|
8
|
+
* The current solution applies.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Sapphire theme aware overlay service.
|
|
12
|
+
* It's a slim wrapper around CDK Overlay service that adds theme styles to the overlay container.
|
|
13
|
+
*/
|
|
14
|
+
export declare class SapphireOverlay extends Overlay {
|
|
15
|
+
private topLevelThemeRef;
|
|
16
|
+
private theme;
|
|
17
|
+
/**
|
|
18
|
+
* Same as Angular CDK's `overlay.create`,
|
|
19
|
+
* but applies the current theme style on the overlay container.
|
|
20
|
+
* @param overlayConfig The overlay configuration to pass to overlay.create()
|
|
21
|
+
* @param theme The theme to apply. If not provided, the current theme will be used.
|
|
22
|
+
*/
|
|
23
|
+
create(overlayConfig?: OverlayConfig, theme?: ThemeBaseDirective): OverlayRef;
|
|
24
|
+
/**
|
|
25
|
+
* Applies the current theme style on the overlay container.
|
|
26
|
+
* Useful only when the overlay is not created using `SapphireOverlay.create` method.
|
|
27
|
+
* E.g. when using some higher-level service like Dialog from angular CDK.
|
|
28
|
+
* @param overlayRef The overlay reference to apply the theme on.
|
|
29
|
+
* @param theme The theme to apply. If not provided, the current theme will be used.
|
|
30
|
+
*/
|
|
31
|
+
applyTheme(overlayRef: OverlayRef, theme?: ThemeBaseDirective): void;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SapphireOverlay, never>;
|
|
33
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SapphireOverlay>;
|
|
34
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
2
1
|
import { ElementRef } from '@angular/core';
|
|
3
2
|
import { NumberInput } from '@angular/cdk/coercion';
|
|
3
|
+
import { SapphireOverlay } from '../../theme/public_api';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class TooltipDirective {
|
|
6
6
|
private _overlay;
|
|
@@ -33,7 +33,7 @@ export declare class TooltipDirective {
|
|
|
33
33
|
hide: (immediate?: boolean) => void;
|
|
34
34
|
warmup: () => void;
|
|
35
35
|
private attachTooltipPortal;
|
|
36
|
-
constructor(_overlay:
|
|
36
|
+
constructor(_overlay: SapphireOverlay, _elementRef: ElementRef<HTMLElement>);
|
|
37
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
|
|
38
38
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[spTooltip]", ["spTooltip"], { "tooltipText": "spTooltip"; "delay": "spTooltipDelay"; "placement": "spTooltipPlacement"; }, {}, never, never, true, never>;
|
|
39
39
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@danske/sapphire-angular",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"description": "The Angular implementation of the Sapphire Design System from Danske Bank A/S",
|
|
6
6
|
"module": "fesm2015/danske-sapphire-angular.mjs",
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
"@danske/sapphire-icons": "^2.0.0"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@danske/sapphire-css": "^
|
|
19
|
+
"@danske/sapphire-css": "^36.0.0",
|
|
20
20
|
"@internationalized/message": "^3.1.5",
|
|
21
21
|
"tslib": "^2.3.0"
|
|
22
22
|
},
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "e179f6a7aeae452c8969507b46c735398037faa2",
|
|
24
24
|
"es2020": "fesm2020/danske-sapphire-angular.mjs",
|
|
25
25
|
"esm2020": "esm2020/danske-sapphire-angular.mjs",
|
|
26
26
|
"fesm2020": "fesm2020/danske-sapphire-angular.mjs",
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { OverlayContainer } from '@angular/cdk/overlay';
|
|
2
|
-
import { DOCUMENT } from '@angular/common';
|
|
3
|
-
import { Inject, Injectable, inject } from '@angular/core';
|
|
4
|
-
import { ThemeBaseDirective } from './theme-base.directive';
|
|
5
|
-
import { TopLevelThemeRef } from './top-level-theme-ref.service';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "@angular/cdk/platform";
|
|
8
|
-
/**
|
|
9
|
-
* Sapphire theme aware overlay container.
|
|
10
|
-
*/
|
|
11
|
-
export class SapphireOverlayContainer extends OverlayContainer {
|
|
12
|
-
constructor(document, platform) {
|
|
13
|
-
super(document, platform);
|
|
14
|
-
this.topLevelThemeRef = inject(TopLevelThemeRef);
|
|
15
|
-
this.theme = inject(ThemeBaseDirective, {
|
|
16
|
-
optional: true,
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
_createContainer() {
|
|
20
|
-
const theme = this.theme || this.topLevelThemeRef.getTheme();
|
|
21
|
-
if (!theme) {
|
|
22
|
-
throw new Error('Could not find the current theme needed for overlay container');
|
|
23
|
-
}
|
|
24
|
-
super._createContainer();
|
|
25
|
-
// wrapping the .cdk-overlay-container element with another div which provides theme styles.
|
|
26
|
-
theme?.applyOnDomNode(this._containerElement);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
SapphireOverlayContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: SapphireOverlayContainer, deps: [{ token: DOCUMENT }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
30
|
-
SapphireOverlayContainer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: SapphireOverlayContainer });
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: SapphireOverlayContainer, decorators: [{
|
|
32
|
-
type: Injectable
|
|
33
|
-
}], ctorParameters: function () { return [{ type: Document, decorators: [{
|
|
34
|
-
type: Inject,
|
|
35
|
-
args: [DOCUMENT]
|
|
36
|
-
}] }, { type: i1.Platform }]; } });
|
|
37
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2FwcGhpcmUtb3ZlcmxheS1jb250YWluZXIuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvdGhlbWUvc3JjL3NhcHBoaXJlLW92ZXJsYXktY29udGFpbmVyLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFFeEQsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQzNDLE9BQU8sRUFBRSxNQUFNLEVBQUUsVUFBVSxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzRCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUM1RCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQzs7O0FBRWpFOztHQUVHO0FBRUgsTUFBTSxPQUFPLHdCQUF5QixTQUFRLGdCQUFnQjtJQU01RCxZQUE4QixRQUFrQixFQUFFLFFBQWtCO1FBQ2xFLEtBQUssQ0FBQyxRQUFRLEVBQUUsUUFBUSxDQUFDLENBQUM7UUFOcEIscUJBQWdCLEdBQXFCLE1BQU0sQ0FBQyx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aWRlcyB0aGVtZSBzdHlsZXMuXG4gICAgdGhlbWU/LmFwcGx5T25Eb21Ob2RlKHRoaXMuX2NvbnRhaW5lckVsZW1lbnQpO1xuICB9XG59XG4iXX0=
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { OverlayContainer } from '@angular/cdk/overlay';
|
|
2
|
-
import { Platform } from '@angular/cdk/platform';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Sapphire theme aware overlay container.
|
|
6
|
-
*/
|
|
7
|
-
export declare class SapphireOverlayContainer extends OverlayContainer {
|
|
8
|
-
private topLevelThemeRef;
|
|
9
|
-
private theme;
|
|
10
|
-
constructor(document: Document, platform: Platform);
|
|
11
|
-
_createContainer(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SapphireOverlayContainer, never>;
|
|
13
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SapphireOverlayContainer>;
|
|
14
|
-
}
|