@skyux/core 12.22.0 → 13.0.0-alpha.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/fesm2022/skyux-core-testing.mjs +26 -26
- package/fesm2022/skyux-core-testing.mjs.map +1 -1
- package/fesm2022/skyux-core.mjs +181 -181
- package/fesm2022/skyux-core.mjs.map +1 -1
- package/index.d.ts +1658 -96
- package/package.json +7 -7
- package/testing/index.d.ts +227 -3
- package/lib/modules/adapter-service/adapter.module.d.ts +0 -10
- package/lib/modules/adapter-service/adapter.service.d.ts +0 -76
- package/lib/modules/adapter-service/focusable-children-options.d.ts +0 -15
- package/lib/modules/affix/affix-auto-fit-context.d.ts +0 -10
- package/lib/modules/affix/affix-config.d.ts +0 -46
- package/lib/modules/affix/affix-horizontal-alignment.d.ts +0 -4
- package/lib/modules/affix/affix-offset-change.d.ts +0 -7
- package/lib/modules/affix/affix-offset.d.ts +0 -9
- package/lib/modules/affix/affix-placement-change.d.ts +0 -7
- package/lib/modules/affix/affix-placement.d.ts +0 -4
- package/lib/modules/affix/affix-position.d.ts +0 -1
- package/lib/modules/affix/affix-rect.d.ts +0 -11
- package/lib/modules/affix/affix-utils.d.ts +0 -3
- package/lib/modules/affix/affix-vertical-alignment.d.ts +0 -4
- package/lib/modules/affix/affix.directive.d.ts +0 -71
- package/lib/modules/affix/affix.module.d.ts +0 -8
- package/lib/modules/affix/affix.service.d.ts +0 -14
- package/lib/modules/affix/affixer.d.ts +0 -40
- package/lib/modules/affix/dom-utils.d.ts +0 -23
- package/lib/modules/breakpoint-observer/breakpoint-observer.d.ts +0 -9
- package/lib/modules/breakpoint-observer/breakpoint-observer.token.d.ts +0 -7
- package/lib/modules/breakpoint-observer/breakpoint-utils.d.ts +0 -17
- package/lib/modules/breakpoint-observer/breakpoint.d.ts +0 -9
- package/lib/modules/breakpoint-observer/container-breakpoint-observer.d.ts +0 -18
- package/lib/modules/breakpoint-observer/media-breakpoint-observer.d.ts +0 -18
- package/lib/modules/breakpoint-observer/provide-breakpoint-observer.d.ts +0 -7
- package/lib/modules/breakpoint-observer/responsive-host.directive.d.ts +0 -32
- package/lib/modules/content-info-provider/content-info-descriptor.d.ts +0 -16
- package/lib/modules/content-info-provider/content-info-provider.d.ts +0 -17
- package/lib/modules/content-info-provider/content-info.d.ts +0 -13
- package/lib/modules/default-input-provider/default-input-provider.d.ts +0 -10
- package/lib/modules/dock/dock-dom-adapter.service.d.ts +0 -17
- package/lib/modules/dock/dock-insert-component-config.d.ts +0 -8
- package/lib/modules/dock/dock-item-config.d.ts +0 -11
- package/lib/modules/dock/dock-item-reference.d.ts +0 -9
- package/lib/modules/dock/dock-item.d.ts +0 -22
- package/lib/modules/dock/dock-location.d.ts +0 -17
- package/lib/modules/dock/dock-options.d.ts +0 -18
- package/lib/modules/dock/dock.component.d.ts +0 -17
- package/lib/modules/dock/dock.module.d.ts +0 -10
- package/lib/modules/dock/dock.service.d.ts +0 -33
- package/lib/modules/dock/sort-by-stack-order.d.ts +0 -4
- package/lib/modules/dynamic-component/dynamic-component-location.d.ts +0 -25
- package/lib/modules/dynamic-component/dynamic-component-options.d.ts +0 -31
- package/lib/modules/dynamic-component/dynamic-component.module.d.ts +0 -11
- package/lib/modules/dynamic-component/dynamic-component.service.d.ts +0 -33
- package/lib/modules/file-reader/file-reader.service.d.ts +0 -10
- package/lib/modules/format/app-format.d.ts +0 -6
- package/lib/modules/help/help-global-options-token.d.ts +0 -6
- package/lib/modules/help/help-global-options.d.ts +0 -13
- package/lib/modules/help/help-open-args.d.ts +0 -9
- package/lib/modules/help/help-update-args.d.ts +0 -13
- package/lib/modules/help/help.service.d.ts +0 -25
- package/lib/modules/id/id.directive.d.ts +0 -15
- package/lib/modules/id/id.module.d.ts +0 -7
- package/lib/modules/id/id.service.d.ts +0 -9
- package/lib/modules/layout-host/layout-host-for-child-args.d.ts +0 -3
- package/lib/modules/layout-host/layout-host.directive.d.ts +0 -11
- package/lib/modules/layout-host/layout-host.service.d.ts +0 -13
- package/lib/modules/live-announcer/live-announcer.service.d.ts +0 -31
- package/lib/modules/live-announcer/types/live-announcer-args.d.ts +0 -12
- package/lib/modules/live-announcer/types/live-announcer-politeness.d.ts +0 -5
- package/lib/modules/log/log.module.d.ts +0 -10
- package/lib/modules/log/log.service.d.ts +0 -47
- package/lib/modules/log/types/log-deprecation-args.d.ts +0 -27
- package/lib/modules/log/types/log-level-token.d.ts +0 -6
- package/lib/modules/log/types/log-level.d.ts +0 -8
- package/lib/modules/media-query/media-breakpoints.d.ts +0 -22
- package/lib/modules/media-query/media-query-listener.d.ts +0 -7
- package/lib/modules/media-query/media-query.module.d.ts +0 -10
- package/lib/modules/media-query/media-query.service.d.ts +0 -55
- package/lib/modules/mutation/mutation-observer-service.d.ts +0 -9
- package/lib/modules/numeric/numeric-symbol.d.ts +0 -7
- package/lib/modules/numeric/numeric.module.d.ts +0 -8
- package/lib/modules/numeric/numeric.options.d.ts +0 -61
- package/lib/modules/numeric/numeric.pipe.d.ts +0 -22
- package/lib/modules/numeric/numeric.service.d.ts +0 -24
- package/lib/modules/overlay/overlay-adapter.service.d.ts +0 -15
- package/lib/modules/overlay/overlay-config.d.ts +0 -41
- package/lib/modules/overlay/overlay-context.d.ts +0 -9
- package/lib/modules/overlay/overlay-instance.d.ts +0 -42
- package/lib/modules/overlay/overlay-position.d.ts +0 -1
- package/lib/modules/overlay/overlay.component.d.ts +0 -30
- package/lib/modules/overlay/overlay.module.d.ts +0 -10
- package/lib/modules/overlay/overlay.service.d.ts +0 -39
- package/lib/modules/percent-pipe/percent-pipe.module.d.ts +0 -8
- package/lib/modules/percent-pipe/percent.pipe.d.ts +0 -12
- package/lib/modules/resize-observer/resize-observer-media-query.service.d.ts +0 -45
- package/lib/modules/resize-observer/resize-observer.service.d.ts +0 -17
- package/lib/modules/screen-reader-label/screen-reader-label.directive.d.ts +0 -20
- package/lib/modules/scroll-shadow/scroll-shadow-event-args.d.ts +0 -7
- package/lib/modules/scroll-shadow/scroll-shadow.directive.d.ts +0 -19
- package/lib/modules/scrollable-host/scrollable-host.service.d.ts +0 -32
- package/lib/modules/shared/number-format/number-format-utility.d.ts +0 -5
- package/lib/modules/shared/sky-core-resources.module.d.ts +0 -10
- package/lib/modules/stacking-context/stacking-context-token.d.ts +0 -6
- package/lib/modules/stacking-context/stacking-context.d.ts +0 -7
- package/lib/modules/title/set-title-args.d.ts +0 -3
- package/lib/modules/title/title.service.d.ts +0 -18
- package/lib/modules/trim/trim.directive.d.ts +0 -14
- package/lib/modules/trim/trim.module.d.ts +0 -7
- package/lib/modules/ui-config/ui-config.service.d.ts +0 -8
- package/lib/modules/viewkeeper/viewkeeper-boundary-info.d.ts +0 -11
- package/lib/modules/viewkeeper/viewkeeper-fixed-styles.d.ts +0 -10
- package/lib/modules/viewkeeper/viewkeeper-host-options.d.ts +0 -14
- package/lib/modules/viewkeeper/viewkeeper-offset.d.ts +0 -4
- package/lib/modules/viewkeeper/viewkeeper-options.d.ts +0 -45
- package/lib/modules/viewkeeper/viewkeeper.d.ts +0 -7
- package/lib/modules/viewkeeper/viewkeeper.directive.d.ts +0 -17
- package/lib/modules/viewkeeper/viewkeeper.module.d.ts +0 -7
- package/lib/modules/viewkeeper/viewkeeper.service.d.ts +0 -23
- package/lib/modules/window/window-ref.d.ts +0 -18
- package/testing/legacy/core-testing.module.d.ts +0 -9
- package/testing/legacy/mock-media-query.service.d.ts +0 -23
- package/testing/legacy/mock-ui-config.service.d.ts +0 -11
- package/testing/legacy/resize-observer-mock.d.ts +0 -15
- package/testing/modules/file-reader/file-reader-testing.service.d.ts +0 -10
- package/testing/modules/file-reader/provide-file-reader-testing.d.ts +0 -12
- package/testing/modules/help/help-testing-controller.d.ts +0 -15
- package/testing/modules/help/help-testing.module.d.ts +0 -9
- package/testing/modules/help/help-testing.service.d.ts +0 -16
- package/testing/modules/media-query/breakpoint-observer-testing.d.ts +0 -15
- package/testing/modules/media-query/media-query-testing-controller.d.ts +0 -15
- package/testing/modules/media-query/provide-media-query-testing.d.ts +0 -5
- package/testing/modules/overlay/overlay-harness-filters.d.ts +0 -7
- package/testing/modules/overlay/overlay-harness.d.ts +0 -18
- package/testing/public-api.d.ts +0 -16
- package/testing/shared/component-harness.d.ts +0 -9
- package/testing/shared/harness-filters.d.ts +0 -10
- package/testing/shared/harness-utility.d.ts +0 -4
- package/testing/shared/input-harness.d.ts +0 -35
- package/testing/shared/queryable-component-harness.d.ts +0 -31
- package/version.d.ts +0 -15
@@ -1,7 +0,0 @@
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
2
|
-
import { SkyBreakpointObserver } from './breakpoint-observer';
|
3
|
-
/**
|
4
|
-
* Used to override a breakpoint observer for specific execution contexts.
|
5
|
-
* @internal
|
6
|
-
*/
|
7
|
-
export declare const SKY_BREAKPOINT_OBSERVER: InjectionToken<SkyBreakpointObserver>;
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import { SkyMediaBreakpoints } from '../media-query/media-breakpoints';
|
2
|
-
import { SkyBreakpoint } from './breakpoint';
|
3
|
-
/**
|
4
|
-
* Whether the value is of type `SkyBreakpoint`.
|
5
|
-
* @internal
|
6
|
-
*/
|
7
|
-
export declare function isSkyBreakpoint(value: SkyBreakpoint | SkyMediaBreakpoints | null | undefined): value is SkyBreakpoint;
|
8
|
-
/**
|
9
|
-
* Transforms a `SkyMediaBreakpoints` value to `SkyBreakpoint`.
|
10
|
-
* @internal
|
11
|
-
*/
|
12
|
-
export declare function toSkyBreakpoint(breakpoint: SkyMediaBreakpoints): SkyBreakpoint;
|
13
|
-
/**
|
14
|
-
* Transforms a `SkyBreakpoint` value to `SkyMediaBreakpoints`.
|
15
|
-
* @internal
|
16
|
-
*/
|
17
|
-
export declare function toSkyMediaBreakpoints(breakpoint: SkyBreakpoint): SkyMediaBreakpoints;
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
2
|
-
import { Observable } from 'rxjs';
|
3
|
-
import { SkyBreakpoint } from './breakpoint';
|
4
|
-
import { SkyBreakpointObserver } from './breakpoint-observer';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
/**
|
7
|
-
* Emits when the width of the host container changes.
|
8
|
-
* @internal
|
9
|
-
*/
|
10
|
-
export declare class SkyContainerBreakpointObserver implements OnDestroy, SkyBreakpointObserver {
|
11
|
-
#private;
|
12
|
-
get breakpointChange(): Observable<SkyBreakpoint>;
|
13
|
-
constructor();
|
14
|
-
ngOnDestroy(): void;
|
15
|
-
destroy(): void;
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyContainerBreakpointObserver, never>;
|
17
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SkyContainerBreakpointObserver>;
|
18
|
-
}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
2
|
-
import { Observable } from 'rxjs';
|
3
|
-
import { SkyBreakpoint } from './breakpoint';
|
4
|
-
import { SkyBreakpointObserver } from './breakpoint-observer';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
/**
|
7
|
-
* Emits when the viewport width changes.
|
8
|
-
* @internal
|
9
|
-
*/
|
10
|
-
export declare class SkyMediaBreakpointObserver implements OnDestroy, SkyBreakpointObserver {
|
11
|
-
#private;
|
12
|
-
get breakpointChange(): Observable<SkyBreakpoint>;
|
13
|
-
constructor();
|
14
|
-
ngOnDestroy(): void;
|
15
|
-
destroy(): void;
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyMediaBreakpointObserver, never>;
|
17
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SkyMediaBreakpointObserver>;
|
18
|
-
}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { Provider, Type } from '@angular/core';
|
2
|
-
import { SkyBreakpointObserver } from './breakpoint-observer';
|
3
|
-
/**
|
4
|
-
* Overrides the default media breakpoint observer with the given observer.
|
5
|
-
* @internal
|
6
|
-
*/
|
7
|
-
export declare function provideSkyBreakpointObserver(observer: Type<SkyBreakpointObserver>): Provider[];
|
@@ -1,32 +0,0 @@
|
|
1
|
-
import { Injector } from '@angular/core';
|
2
|
-
import { Observable } from 'rxjs';
|
3
|
-
import { SkyBreakpoint } from './breakpoint';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
/**
|
6
|
-
* Overrides the `SkyMediaQueryService` to emit breakpoint changes when the host
|
7
|
-
* container is resized. This directive also adds SKY UX CSS classes to the
|
8
|
-
* host element to allow for responsive styles.
|
9
|
-
*/
|
10
|
-
export declare class SkyResponsiveHostDirective {
|
11
|
-
#private;
|
12
|
-
/**
|
13
|
-
* Emits when the breakpoint changes.
|
14
|
-
*/
|
15
|
-
get breakpointChange(): Observable<SkyBreakpoint>;
|
16
|
-
/**
|
17
|
-
* The injector of the responsive host. Useful when displaying child components
|
18
|
-
* via `ngTemplateOutlet`.
|
19
|
-
* @example```
|
20
|
-
* <my-container #responsiveHost="skyResponsiveHost">
|
21
|
-
* <ng-container
|
22
|
-
* [ngTemplateOutlet]="myTemplate"
|
23
|
-
* [ngTemplateOutletInjector]="responsiveHost.injector"
|
24
|
-
* />
|
25
|
-
* </my-container>
|
26
|
-
* ```
|
27
|
-
*/
|
28
|
-
get injector(): Injector;
|
29
|
-
constructor();
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyResponsiveHostDirective, never>;
|
31
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SkyResponsiveHostDirective, "[skyResponsiveHost]", ["skyResponsiveHost"], {}, {}, never, never, true, never>;
|
32
|
-
}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Text or an element that describes the content a consumer renders in a component.
|
3
|
-
*
|
4
|
-
* @internal
|
5
|
-
*/
|
6
|
-
export interface SkyContentInfoDescriptor {
|
7
|
-
/**
|
8
|
-
* A descriptor of type `text` is an already localized string that describes a parent's content, i.e. constituent.
|
9
|
-
* A descriptor of type `elementId` is an HTML Element ID of an element that describes a parent's content, i.e. the ID to a box header.
|
10
|
-
*/
|
11
|
-
type: 'text' | 'elementId';
|
12
|
-
/**
|
13
|
-
* A value of the given type.
|
14
|
-
*/
|
15
|
-
value: string;
|
16
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import { Observable } from 'rxjs';
|
2
|
-
import { SkyContentInfo } from './content-info';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
/**
|
5
|
-
* @internal
|
6
|
-
* An API to provide information about a parent component's content to child components.
|
7
|
-
* For example, toolbar can use this to provide its child components with a list
|
8
|
-
* descriptor they can use to construct aria labels, or tree view can provide the node
|
9
|
-
* name to its context menus.
|
10
|
-
*/
|
11
|
-
export declare class SkyContentInfoProvider {
|
12
|
-
#private;
|
13
|
-
patchInfo(value: SkyContentInfo): void;
|
14
|
-
getInfo(): Observable<SkyContentInfo>;
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyContentInfoProvider, never>;
|
16
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SkyContentInfoProvider>;
|
17
|
-
}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import { SkyContentInfoDescriptor } from './content-info-descriptor';
|
2
|
-
/**
|
3
|
-
* Information about the content a consumer is rendering within a component.
|
4
|
-
*
|
5
|
-
* @internal
|
6
|
-
*/
|
7
|
-
export interface SkyContentInfo {
|
8
|
-
/**
|
9
|
-
* Information that describes the content within a parent component a consumer has rendered, i.e. "constituents".
|
10
|
-
* Provided as localized text or an element ID pointing to text that is the descriptor.
|
11
|
-
*/
|
12
|
-
descriptor?: SkyContentInfoDescriptor;
|
13
|
-
}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { Observable } from 'rxjs';
|
2
|
-
/**
|
3
|
-
* @internal
|
4
|
-
* An API to provide default Angular component input values to child components.
|
5
|
-
*/
|
6
|
-
export declare class SkyDefaultInputProvider {
|
7
|
-
#private;
|
8
|
-
setValue<T>(componentName: string, inputName: string, value: T): void;
|
9
|
-
getValue<T>(componentName: string, inputName: string): Observable<T> | undefined;
|
10
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import { ElementRef, OnDestroy, RendererFactory2 } from '@angular/core';
|
2
|
-
import { SkyMutationObserverService } from '../mutation/mutation-observer-service';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
/**
|
5
|
-
* @internal
|
6
|
-
*/
|
7
|
-
export declare class SkyDockDomAdapterService implements OnDestroy {
|
8
|
-
#private;
|
9
|
-
constructor(mutationSvc: SkyMutationObserverService, rendererFactory: RendererFactory2);
|
10
|
-
ngOnDestroy(): void;
|
11
|
-
setSticky(elementRef: ElementRef): void;
|
12
|
-
setZIndex(zIndex: number, elementRef: ElementRef): void;
|
13
|
-
unbindDock(elementRef: ElementRef): void;
|
14
|
-
watchDomChanges(elementRef: ElementRef): void;
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyDockDomAdapterService, never>;
|
16
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SkyDockDomAdapterService>;
|
17
|
-
}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { StaticProvider } from '@angular/core';
|
2
|
-
import { SkyDockItemConfig } from './dock-item-config';
|
3
|
-
export interface SkyDockInsertComponentConfig extends SkyDockItemConfig {
|
4
|
-
/**
|
5
|
-
* Static providers to inject into the item's component.
|
6
|
-
*/
|
7
|
-
providers?: StaticProvider[];
|
8
|
-
}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Configuration to be used by the docking action.
|
3
|
-
*/
|
4
|
-
export interface SkyDockItemConfig {
|
5
|
-
/**
|
6
|
-
* The stack order of the item. The higher the number, the higher
|
7
|
-
* the item will be placed in the dock. By default, new items will be placed at
|
8
|
-
* the top of the stack.
|
9
|
-
*/
|
10
|
-
stackOrder?: number;
|
11
|
-
}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
import { Observable } from 'rxjs';
|
2
|
-
/**
|
3
|
-
* Represents a single item added to the dock.
|
4
|
-
*/
|
5
|
-
export declare class SkyDockItem<T> {
|
6
|
-
#private;
|
7
|
-
readonly componentInstance: T;
|
8
|
-
readonly stackOrder: number;
|
9
|
-
/**
|
10
|
-
* An event that emits when the item is removed from the dock.
|
11
|
-
*/
|
12
|
-
get destroyed(): Observable<void>;
|
13
|
-
/**
|
14
|
-
* @param componentInstance The item's component instance.
|
15
|
-
* @param stackOrder The assigned stack order of the docked item.
|
16
|
-
*/
|
17
|
-
constructor(componentInstance: T, stackOrder: number);
|
18
|
-
/**
|
19
|
-
* Removes the item from the dock.
|
20
|
-
*/
|
21
|
-
destroy(): void;
|
22
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* The location on the page where the dock component should be rendered.
|
3
|
-
*/
|
4
|
-
export declare enum SkyDockLocation {
|
5
|
-
/**
|
6
|
-
* Renders the dock component before a given element.
|
7
|
-
*/
|
8
|
-
BeforeElement = 0,
|
9
|
-
/**
|
10
|
-
* Renders the dock component as the last element inside the BODY element.
|
11
|
-
*/
|
12
|
-
BodyBottom = 1,
|
13
|
-
/**
|
14
|
-
* Renders the dock component as the last element inside a given element.
|
15
|
-
*/
|
16
|
-
ElementBottom = 2
|
17
|
-
}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { SkyDockLocation } from './dock-location';
|
2
|
-
/**
|
3
|
-
* Options for adding a dock component to the page.
|
4
|
-
*/
|
5
|
-
export interface SkyDockOptions {
|
6
|
-
/**
|
7
|
-
* The location on the page where the dock component should be rendered.
|
8
|
-
*/
|
9
|
-
location?: SkyDockLocation;
|
10
|
-
/**
|
11
|
-
* The reference element used when using the `BeforeElement` or `ElementBottom` locations.
|
12
|
-
*/
|
13
|
-
referenceEl?: HTMLElement;
|
14
|
-
/**
|
15
|
-
* The z-index for the dock element
|
16
|
-
*/
|
17
|
-
zIndex?: number;
|
18
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import { Type, ViewContainerRef } from '@angular/core';
|
2
|
-
import { SkyDockInsertComponentConfig } from './dock-insert-component-config';
|
3
|
-
import { SkyDockItemReference } from './dock-item-reference';
|
4
|
-
import { SkyDockOptions } from './dock-options';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
/**
|
7
|
-
* @internal
|
8
|
-
*/
|
9
|
-
export declare class SkyDockComponent {
|
10
|
-
#private;
|
11
|
-
target: ViewContainerRef | undefined;
|
12
|
-
insertComponent<T>(component: Type<T>, config?: SkyDockInsertComponentConfig): SkyDockItemReference<T>;
|
13
|
-
removeItem(item: SkyDockItemReference<any>): void;
|
14
|
-
setOptions(options: SkyDockOptions | undefined): void;
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyDockComponent, never>;
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyDockComponent, "sky-dock", never, {}, {}, never, never, true, never>;
|
17
|
-
}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
/**
|
3
|
-
* @deprecated The `SkyDockModule` is no longer needed and can be removed from your application.
|
4
|
-
* @internal
|
5
|
-
*/
|
6
|
-
export declare class SkyDockModule {
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyDockModule, never>;
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyDockModule, never, never, never>;
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SkyDockModule>;
|
10
|
-
}
|
@@ -1,33 +0,0 @@
|
|
1
|
-
import { Type } from '@angular/core';
|
2
|
-
import { SkyDockInsertComponentConfig } from './dock-insert-component-config';
|
3
|
-
import { SkyDockItem } from './dock-item';
|
4
|
-
import { SkyDockOptions } from './dock-options';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
/**
|
7
|
-
* This service docks components to specific areas on the page.
|
8
|
-
*/
|
9
|
-
export declare class SkyDockService {
|
10
|
-
#private;
|
11
|
-
private static dockRef;
|
12
|
-
private static _items;
|
13
|
-
/**
|
14
|
-
* Returns all docked items.
|
15
|
-
*/
|
16
|
-
get items(): SkyDockItem<any>[];
|
17
|
-
/**
|
18
|
-
* Docks a component to the bottom of the page.
|
19
|
-
* @param component The component to dock.
|
20
|
-
* @param config Options that affect the docking action.
|
21
|
-
*/
|
22
|
-
insertComponent<T>(component: Type<T>, config?: SkyDockInsertComponentConfig): SkyDockItem<T>;
|
23
|
-
/**
|
24
|
-
* Sets options for the positioning and styling of the dock component. Since the dock service is a
|
25
|
-
* singleton instance, these options will be applied to all components inserted into the dock. In
|
26
|
-
* order to create a separate dock with different options, consumers should provide a different
|
27
|
-
* instance of the dock service.
|
28
|
-
* @param options The options for positioning and styling
|
29
|
-
*/
|
30
|
-
setDockOptions(options: SkyDockOptions): void;
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyDockService, never>;
|
32
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SkyDockService>;
|
33
|
-
}
|
@@ -1,25 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* The location on the page where the dynamic component should be rendered.
|
3
|
-
*/
|
4
|
-
export declare enum SkyDynamicComponentLocation {
|
5
|
-
/**
|
6
|
-
* Renders the dynamic component before a given element.
|
7
|
-
*/
|
8
|
-
BeforeElement = 0,
|
9
|
-
/**
|
10
|
-
* Renders the dynamic component as the last element inside the BODY element.
|
11
|
-
*/
|
12
|
-
BodyBottom = 1,
|
13
|
-
/**
|
14
|
-
* Renders the dynamic component as the first element inside the BODY element.
|
15
|
-
*/
|
16
|
-
BodyTop = 2,
|
17
|
-
/**
|
18
|
-
* Renders the dynamic component as the last element inside a given element.
|
19
|
-
*/
|
20
|
-
ElementBottom = 3,
|
21
|
-
/**
|
22
|
-
* Renders the dynamic component as the first element inside a given element.
|
23
|
-
*/
|
24
|
-
ElementTop = 4
|
25
|
-
}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
import { EnvironmentInjector, StaticProvider, ViewContainerRef } from '@angular/core';
|
2
|
-
import { SkyDynamicComponentLocation } from './dynamic-component-location';
|
3
|
-
/**
|
4
|
-
* Options for adding a dynamic component to the page.
|
5
|
-
*/
|
6
|
-
export interface SkyDynamicComponentOptions {
|
7
|
-
/**
|
8
|
-
* The location on the page where the dynamic component should be rendered.
|
9
|
-
*/
|
10
|
-
location?: SkyDynamicComponentLocation;
|
11
|
-
/**
|
12
|
-
* Providers to inject into the new component.
|
13
|
-
*/
|
14
|
-
providers?: StaticProvider[];
|
15
|
-
/**
|
16
|
-
* The reference element used when using the `ElementTop` or `ElementBottom` locations.
|
17
|
-
*/
|
18
|
-
referenceEl?: HTMLElement;
|
19
|
-
/**
|
20
|
-
* The view container reference where the new component should be appended.
|
21
|
-
*/
|
22
|
-
viewContainerRef?: ViewContainerRef;
|
23
|
-
/**
|
24
|
-
* The environment injector to use instead of the dynamic component service's injector.
|
25
|
-
*/
|
26
|
-
environmentInjector?: EnvironmentInjector;
|
27
|
-
/**
|
28
|
-
* A class to add to the created component
|
29
|
-
*/
|
30
|
-
className?: string;
|
31
|
-
}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
/**
|
3
|
-
* Provides services required to create dynamic components on the page.
|
4
|
-
* @deprecated The `SkyDynamicComponentService` no longer needs the `SkyDynamicComponentModule`.
|
5
|
-
* The `SkyDynamicComponentModule` can be removed from your project.
|
6
|
-
*/
|
7
|
-
export declare class SkyDynamicComponentModule {
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyDynamicComponentModule, never>;
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyDynamicComponentModule, never, never, never>;
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SkyDynamicComponentModule>;
|
11
|
-
}
|
@@ -1,33 +0,0 @@
|
|
1
|
-
import { ApplicationRef, ComponentRef, RendererFactory2, Type } from '@angular/core';
|
2
|
-
import { SkyAppWindowRef } from '../window/window-ref';
|
3
|
-
import { SkyDynamicComponentOptions } from './dynamic-component-options';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
/**
|
6
|
-
* Angular service for creating and rendering a dynamic component.
|
7
|
-
* @internal
|
8
|
-
*/
|
9
|
-
export declare class SkyDynamicComponentService {
|
10
|
-
#private;
|
11
|
-
constructor(applicationRef: ApplicationRef, windowRef: SkyAppWindowRef, rendererFactory: RendererFactory2);
|
12
|
-
/**
|
13
|
-
* Creates an instance of the specified component and adds it to the specified location
|
14
|
-
* on the page.
|
15
|
-
*/
|
16
|
-
createComponent<T>(componentType: Type<T>, options?: SkyDynamicComponentOptions): ComponentRef<T>;
|
17
|
-
/**
|
18
|
-
* Removes a component ref from the page
|
19
|
-
* @param componentRef Component ref for the component being removed
|
20
|
-
*/
|
21
|
-
removeComponent<T>(componentRef: ComponentRef<T> | undefined): void;
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyDynamicComponentService, never>;
|
23
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SkyDynamicComponentService>;
|
24
|
-
}
|
25
|
-
/**
|
26
|
-
* Angular service for creating and rendering a dynamic component.
|
27
|
-
* @internal
|
28
|
-
* @deprecated Use `SkyDynamicComponentService` to create a standalone component instead.
|
29
|
-
*/
|
30
|
-
export declare class SkyDynamicComponentLegacyService extends SkyDynamicComponentService {
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyDynamicComponentLegacyService, never>;
|
32
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SkyDynamicComponentLegacyService>;
|
33
|
-
}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
/**
|
3
|
-
* Wraps the FileReader API so it can be mocked in tests.
|
4
|
-
* @internal
|
5
|
-
*/
|
6
|
-
export declare class SkyFileReaderService {
|
7
|
-
readAsDataURL(file: File): Promise<string>;
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyFileReaderService, never>;
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SkyFileReaderService>;
|
10
|
-
}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
2
|
-
import { SkyHelpGlobalOptions } from './help-global-options';
|
3
|
-
/**
|
4
|
-
* Injection token for specifying and retrieving global help options.
|
5
|
-
*/
|
6
|
-
export declare const SKY_HELP_GLOBAL_OPTIONS: InjectionToken<SkyHelpGlobalOptions>;
|
@@ -1,13 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Options to apply to all components that invoke global help.
|
3
|
-
*/
|
4
|
-
export interface SkyHelpGlobalOptions {
|
5
|
-
/**
|
6
|
-
* The ID of the element that is displayed when the invoking component is clicked.
|
7
|
-
*/
|
8
|
-
ariaControls?: string;
|
9
|
-
/**
|
10
|
-
* The type of popup triggered by the invoking component.
|
11
|
-
*/
|
12
|
-
ariaHaspopup?: 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog';
|
13
|
-
}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Options for updating a globally accessible help dialog.
|
3
|
-
*/
|
4
|
-
export interface SkyHelpUpdateArgs {
|
5
|
-
/**
|
6
|
-
* A unique key that identifies the current help content to display. If set to `undefined`, the page's default help content will be displayed.
|
7
|
-
*/
|
8
|
-
helpKey?: string;
|
9
|
-
/**
|
10
|
-
* A unique key that identifies the page's default help content to display. Set this property to `undefined` to unset the current page default help key.
|
11
|
-
* */
|
12
|
-
pageDefaultHelpKey?: string;
|
13
|
-
}
|
@@ -1,25 +0,0 @@
|
|
1
|
-
import { Observable } from 'rxjs';
|
2
|
-
import { SkyHelpOpenArgs } from './help-open-args';
|
3
|
-
import { SkyHelpUpdateArgs } from './help-update-args';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
/**
|
6
|
-
* Provides methods for opening and updating a globally accessible help dialog.
|
7
|
-
*/
|
8
|
-
export declare abstract class SkyHelpService {
|
9
|
-
/**
|
10
|
-
* Emits when the help widget ready state changes.
|
11
|
-
*/
|
12
|
-
get widgetReadyStateChange(): Observable<boolean>;
|
13
|
-
/**
|
14
|
-
* Opens a globally accessible help dialog.
|
15
|
-
* @param args The options for opening the help dialog.
|
16
|
-
*/
|
17
|
-
abstract openHelp(args?: SkyHelpOpenArgs): void;
|
18
|
-
/**
|
19
|
-
* Updates a globally accessible help dialog.
|
20
|
-
* @param args The options for updating the help dialog.
|
21
|
-
*/
|
22
|
-
abstract updateHelp(args: SkyHelpUpdateArgs): void;
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyHelpService, never>;
|
24
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SkyHelpService>;
|
25
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { ElementRef, Renderer2 } from '@angular/core';
|
2
|
-
import { SkyIdService } from './id.service';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
/**
|
5
|
-
* Sets the element's `id` attribute to a unique ID. To reference this unique ID on other elements,
|
6
|
-
* such as in a `label` element's `for` attribute, assign this directive to a template reference
|
7
|
-
* variable, then use its `id` property.
|
8
|
-
*/
|
9
|
-
export declare class SkyIdDirective {
|
10
|
-
#private;
|
11
|
-
get id(): string;
|
12
|
-
constructor(elRef: ElementRef, renderer: Renderer2, idSvc: SkyIdService);
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyIdDirective, never>;
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SkyIdDirective, "[skyId]", ["skyId"], {}, {}, never, never, false, never>;
|
15
|
-
}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "./id.directive";
|
3
|
-
export declare class SkyIdModule {
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyIdModule, never>;
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyIdModule, [typeof i1.SkyIdDirective], never, [typeof i1.SkyIdDirective]>;
|
6
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SkyIdModule>;
|
7
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
/**
|
3
|
-
* Generates unique IDs to be used with HTML elements.
|
4
|
-
*/
|
5
|
-
export declare class SkyIdService {
|
6
|
-
generateId(): string;
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyIdService, never>;
|
8
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SkyIdService>;
|
9
|
-
}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
/**
|
3
|
-
* @internal
|
4
|
-
*/
|
5
|
-
export declare class SkyLayoutHostDirective<T = 'none' | 'fit'> {
|
6
|
-
#private;
|
7
|
-
readonly layout: import("@angular/core").InputSignal<T | undefined>;
|
8
|
-
constructor();
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyLayoutHostDirective<any>, never>;
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SkyLayoutHostDirective<any>, "[skyLayoutHost]", never, { "layout": { "alias": "layout"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
11
|
-
}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import { Observable } from 'rxjs';
|
2
|
-
import { SkyLayoutHostForChildArgs } from './layout-host-for-child-args';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
/**
|
5
|
-
* @internal
|
6
|
-
*/
|
7
|
-
export declare class SkyLayoutHostService {
|
8
|
-
#private;
|
9
|
-
get hostLayoutForChild(): Observable<SkyLayoutHostForChildArgs>;
|
10
|
-
setHostLayoutForChild(layout: SkyLayoutHostForChildArgs): void;
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyLayoutHostService, never>;
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SkyLayoutHostService>;
|
13
|
-
}
|