@skyux/split-view 12.27.0 → 13.0.0-alpha.1
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-split-view-testing.mjs +4 -4
- package/fesm2022/skyux-split-view-testing.mjs.map +1 -1
- package/fesm2022/skyux-split-view.mjs +44 -45
- package/fesm2022/skyux-split-view.mjs.map +1 -1
- package/index.d.ts +192 -10
- package/package.json +11 -11
- package/testing/index.d.ts +189 -3
- package/lib/modules/shared/sky-split-view-resources.module.d.ts +0 -10
- package/lib/modules/split-view/split-view-adapter.service.d.ts +0 -15
- package/lib/modules/split-view/split-view-drawer.component.d.ts +0 -38
- package/lib/modules/split-view/split-view-workspace-content.component.d.ts +0 -9
- package/lib/modules/split-view/split-view-workspace-footer.component.d.ts +0 -9
- package/lib/modules/split-view/split-view-workspace-header.component.d.ts +0 -17
- package/lib/modules/split-view/split-view-workspace.component.d.ts +0 -15
- package/lib/modules/split-view/split-view.component.d.ts +0 -58
- package/lib/modules/split-view/split-view.module.d.ts +0 -12
- package/lib/modules/split-view/split-view.service.d.ts +0 -22
- package/lib/modules/split-view/types/split-view-dock-type.d.ts +0 -1
- package/lib/modules/split-view/types/split-view-message-type.d.ts +0 -6
- package/lib/modules/split-view/types/split-view-message.d.ts +0 -7
- package/testing/legacy/split-view/split-view-fixture-drawer.d.ts +0 -8
- package/testing/legacy/split-view/split-view-fixture-workspace.d.ts +0 -9
- package/testing/legacy/split-view/split-view-fixture.d.ts +0 -26
- package/testing/legacy/split-view/split-view-testing.module.d.ts +0 -10
- package/testing/modules/split-view/split-view-drawer-harness.d.ts +0 -15
- package/testing/modules/split-view/split-view-harness-filters.d.ts +0 -6
- package/testing/modules/split-view/split-view-harness.d.ts +0 -49
- package/testing/modules/split-view/split-view-workspace-content-harness.d.ts +0 -10
- package/testing/modules/split-view/split-view-workspace-footer-harness.d.ts +0 -10
- package/testing/modules/split-view/split-view-workspace-harness.d.ts +0 -31
- package/testing/modules/split-view/split-view-workspace-header-harness.d.ts +0 -18
- package/testing/public-api.d.ts +0 -10
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture } from '@angular/core/testing';
|
|
2
|
-
import { SkySplitViewFixtureDrawer } from './split-view-fixture-drawer';
|
|
3
|
-
import { SkySplitViewFixtureWorkspace } from './split-view-fixture-workspace';
|
|
4
|
-
/**
|
|
5
|
-
* Provides information for and interaction with a SKY UX split view component.
|
|
6
|
-
* By using the fixture API, a test insulates itself against updates to the internals
|
|
7
|
-
* of a component, such as changing its DOM structure.
|
|
8
|
-
* @internal
|
|
9
|
-
*/
|
|
10
|
-
export declare class SkySplitViewFixture {
|
|
11
|
-
#private;
|
|
12
|
-
/**
|
|
13
|
-
* Returns information about the split view's drawer component.
|
|
14
|
-
*/
|
|
15
|
-
get drawer(): SkySplitViewFixtureDrawer;
|
|
16
|
-
/**
|
|
17
|
-
* Returns information about the split view's workspace component.
|
|
18
|
-
*/
|
|
19
|
-
get workspace(): SkySplitViewFixtureWorkspace;
|
|
20
|
-
constructor(fixture: ComponentFixture<unknown>, skyTestId: string);
|
|
21
|
-
/**
|
|
22
|
-
* Opens the drawer component when in responsive mode. This method clicks the back to list
|
|
23
|
-
* button, if it is visible.
|
|
24
|
-
*/
|
|
25
|
-
openDrawer(): Promise<void>;
|
|
26
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@skyux/split-view";
|
|
3
|
-
/**
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
6
|
-
export declare class SkySplitViewTestingModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkySplitViewTestingModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkySplitViewTestingModule, never, never, [typeof i1.SkySplitViewModule]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SkySplitViewTestingModule>;
|
|
10
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { SkyQueryableComponentHarness } from '@skyux/core/testing';
|
|
2
|
-
/**
|
|
3
|
-
* Harness to interact with the split view drawer component in tests.
|
|
4
|
-
*/
|
|
5
|
-
export declare class SkySplitViewDrawerHarness extends SkyQueryableComponentHarness {
|
|
6
|
-
#private;
|
|
7
|
-
/**
|
|
8
|
-
* @internal
|
|
9
|
-
*/
|
|
10
|
-
static hostSelector: string;
|
|
11
|
-
/**
|
|
12
|
-
* The aria-label property of the split view drawer
|
|
13
|
-
*/
|
|
14
|
-
getAriaLabel(): Promise<string | null>;
|
|
15
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
2
|
-
import { SkyComponentHarness } from '@skyux/core/testing';
|
|
3
|
-
import { SkySplitViewDockType } from '@skyux/split-view';
|
|
4
|
-
import { SkySplitViewDrawerHarness } from './split-view-drawer-harness';
|
|
5
|
-
import { SkySplitViewHarnessFilters } from './split-view-harness-filters';
|
|
6
|
-
import { SkySplitViewWorkspaceHarness } from './split-view-workspace-harness';
|
|
7
|
-
/**
|
|
8
|
-
* Harness for interacting with a split view component in tests.
|
|
9
|
-
*/
|
|
10
|
-
export declare class SkySplitViewHarness extends SkyComponentHarness {
|
|
11
|
-
#private;
|
|
12
|
-
/**
|
|
13
|
-
* @internal
|
|
14
|
-
*/
|
|
15
|
-
static hostSelector: string;
|
|
16
|
-
/**
|
|
17
|
-
* Gets a `HarnessPredicate` that can be used to search for a
|
|
18
|
-
* `SkySplitViewHarness` that meets certain criteria.
|
|
19
|
-
*/
|
|
20
|
-
static with(filters: SkySplitViewHarnessFilters): HarnessPredicate<SkySplitViewHarness>;
|
|
21
|
-
/**
|
|
22
|
-
* Gets the text for the button that appears in the workspace header in responsive mode.
|
|
23
|
-
*/
|
|
24
|
-
getBackButtonText(): Promise<string>;
|
|
25
|
-
/**
|
|
26
|
-
* Gets the type of dock style on the split view.
|
|
27
|
-
*/
|
|
28
|
-
getDockType(): Promise<SkySplitViewDockType>;
|
|
29
|
-
/**
|
|
30
|
-
* Gets a 'SkySplitViewDrawerHarness`.
|
|
31
|
-
*/
|
|
32
|
-
getDrawer(): Promise<SkySplitViewDrawerHarness>;
|
|
33
|
-
/**
|
|
34
|
-
* Whether the drawer component is visible
|
|
35
|
-
*/
|
|
36
|
-
getDrawerIsVisible(): Promise<boolean>;
|
|
37
|
-
/**
|
|
38
|
-
* Gets a `SkySplitViewWorkspaceHarness`.
|
|
39
|
-
*/
|
|
40
|
-
getWorkspace(): Promise<SkySplitViewWorkspaceHarness>;
|
|
41
|
-
/**
|
|
42
|
-
* Whether the workspace component is visible.
|
|
43
|
-
*/
|
|
44
|
-
getWorkspaceIsVisible(): Promise<boolean>;
|
|
45
|
-
/**
|
|
46
|
-
* Opens the drawer component when in responsive mode.
|
|
47
|
-
*/
|
|
48
|
-
openDrawer(): Promise<void>;
|
|
49
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { SkyQueryableComponentHarness } from '@skyux/core/testing';
|
|
2
|
-
/**
|
|
3
|
-
* Harness to interact with the split view workspace content component in tests.
|
|
4
|
-
*/
|
|
5
|
-
export declare class SkySplitViewWorkspaceContentHarness extends SkyQueryableComponentHarness {
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
|
-
static hostSelector: string;
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { SkyQueryableComponentHarness } from '@skyux/core/testing';
|
|
2
|
-
/**
|
|
3
|
-
* Harness to interact with the split view workspace footer component in tests.
|
|
4
|
-
*/
|
|
5
|
-
export declare class SkySplitViewWorkspaceFooterHarness extends SkyQueryableComponentHarness {
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
|
-
static hostSelector: string;
|
|
10
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { SkyQueryableComponentHarness } from '@skyux/core/testing';
|
|
2
|
-
import { SkySplitViewWorkspaceContentHarness } from './split-view-workspace-content-harness';
|
|
3
|
-
import { SkySplitViewWorkspaceFooterHarness } from './split-view-workspace-footer-harness';
|
|
4
|
-
import { SkySplitViewWorkspaceHeaderHarness } from './split-view-workspace-header-harness';
|
|
5
|
-
/**
|
|
6
|
-
* Harness to interact with the split view workspace component in tests.
|
|
7
|
-
*/
|
|
8
|
-
export declare class SkySplitViewWorkspaceHarness extends SkyQueryableComponentHarness {
|
|
9
|
-
#private;
|
|
10
|
-
/**
|
|
11
|
-
* @internal
|
|
12
|
-
*/
|
|
13
|
-
static hostSelector: string;
|
|
14
|
-
/**
|
|
15
|
-
* The aria-label property of the split view workspace
|
|
16
|
-
*/
|
|
17
|
-
getAriaLabel(): Promise<string | null>;
|
|
18
|
-
/**
|
|
19
|
-
* Gets the workspace content component.
|
|
20
|
-
*/
|
|
21
|
-
getContent(): Promise<SkySplitViewWorkspaceContentHarness>;
|
|
22
|
-
/**
|
|
23
|
-
* Gets the workspace footer component.
|
|
24
|
-
*/
|
|
25
|
-
getFooter(): Promise<SkySplitViewWorkspaceFooterHarness>;
|
|
26
|
-
/**
|
|
27
|
-
* Gets the workspace header component.
|
|
28
|
-
* @internal
|
|
29
|
-
*/
|
|
30
|
-
getHeader(): Promise<SkySplitViewWorkspaceHeaderHarness>;
|
|
31
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { TestElement } from '@angular/cdk/testing';
|
|
2
|
-
import { SkyInputHarness } from '@skyux/core/testing';
|
|
3
|
-
/**
|
|
4
|
-
* Harness to interact with the split view workspace header component in tests.
|
|
5
|
-
* @internal
|
|
6
|
-
*/
|
|
7
|
-
export declare class SkySplitViewWorkspaceHeaderHarness extends SkyInputHarness {
|
|
8
|
-
#private;
|
|
9
|
-
/**
|
|
10
|
-
* @internal
|
|
11
|
-
*/
|
|
12
|
-
static hostSelector: string;
|
|
13
|
-
/**
|
|
14
|
-
* Gets the button element.
|
|
15
|
-
* @internal
|
|
16
|
-
*/
|
|
17
|
-
getBackButton(): Promise<TestElement>;
|
|
18
|
-
}
|
package/testing/public-api.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export { SkySplitViewFixture } from './legacy/split-view/split-view-fixture';
|
|
2
|
-
export { SkySplitViewFixtureDrawer } from './legacy/split-view/split-view-fixture-drawer';
|
|
3
|
-
export { SkySplitViewFixtureWorkspace } from './legacy/split-view/split-view-fixture-workspace';
|
|
4
|
-
export { SkySplitViewTestingModule } from './legacy/split-view/split-view-testing.module';
|
|
5
|
-
export { SkySplitViewDrawerHarness } from './modules/split-view/split-view-drawer-harness';
|
|
6
|
-
export { SkySplitViewHarness } from './modules/split-view/split-view-harness';
|
|
7
|
-
export { SkySplitViewHarnessFilters } from './modules/split-view/split-view-harness-filters';
|
|
8
|
-
export { SkySplitViewWorkspaceContentHarness } from './modules/split-view/split-view-workspace-content-harness';
|
|
9
|
-
export { SkySplitViewWorkspaceFooterHarness } from './modules/split-view/split-view-workspace-footer-harness';
|
|
10
|
-
export { SkySplitViewWorkspaceHarness } from './modules/split-view/split-view-workspace-harness';
|