@skyux/list-builder-view-grids 7.0.0-beta.11 → 7.0.0-beta.13
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/documentation.json +1 -67
- package/esm2020/index.mjs +20 -20
- package/esm2020/lib/modules/column-selector/column-selector-context.mjs +14 -14
- package/esm2020/lib/modules/column-selector/column-selector-modal.component.mjs +37 -37
- package/esm2020/lib/modules/column-selector/column-selector-modal.module.mjs +40 -40
- package/esm2020/lib/modules/list-column-selector-action/list-column-selector-action.component.mjs +132 -132
- package/esm2020/lib/modules/list-column-selector-action/list-column-selector-action.module.mjs +47 -47
- package/esm2020/lib/modules/list-column-selector-action/list-column-selector-button.component.mjs +12 -12
- package/esm2020/lib/modules/list-view-grid/list-view-grid.component.mjs +463 -463
- package/esm2020/lib/modules/list-view-grid/list-view-grid.module.mjs +42 -42
- package/esm2020/lib/modules/list-view-grid/state/columns/columns.orchestrator.mjs +22 -22
- package/esm2020/lib/modules/list-view-grid/state/columns/load.action.mjs +10 -10
- package/esm2020/lib/modules/list-view-grid/state/displayed-columns/displayed-columns.orchestrator.mjs +22 -22
- package/esm2020/lib/modules/list-view-grid/state/displayed-columns/load.action.mjs +10 -10
- package/esm2020/lib/modules/list-view-grid/state/grid-state-action.type.mjs +1 -1
- package/esm2020/lib/modules/list-view-grid/state/grid-state.model.mjs +11 -11
- package/esm2020/lib/modules/list-view-grid/state/grid-state.rxstate.mjs +19 -19
- package/esm2020/lib/modules/list-view-grid/state/grid-state.state-node.mjs +27 -27
- package/esm2020/lib/modules/list-view-grid/types/list-view-grid-message-type.mjs +15 -15
- package/esm2020/lib/modules/list-view-grid/types/list-view-grid-message.mjs +1 -1
- package/esm2020/lib/modules/list-view-grid/types/list-view-grid-row-delete-cancel-args.mjs +1 -1
- package/esm2020/lib/modules/list-view-grid/types/list-view-grid-row-delete-confirm-args.mjs +1 -1
- package/esm2020/lib/modules/shared/sky-list-builder-view-grids-resources.module.mjs +55 -55
- package/esm2020/skyux-list-builder-view-grids.mjs +4 -4
- package/esm2020/testing/list-view-grid-fixture-cell.mjs +1 -1
- package/esm2020/testing/list-view-grid-fixture-header.mjs +1 -1
- package/esm2020/testing/list-view-grid-fixture-row.mjs +1 -1
- package/esm2020/testing/list-view-grid-fixture.mjs +66 -66
- package/esm2020/testing/public-api.mjs +4 -4
- package/esm2020/testing/skyux-list-builder-view-grids-testing.mjs +4 -4
- package/fesm2015/skyux-list-builder-view-grids-testing.mjs +65 -65
- package/fesm2015/skyux-list-builder-view-grids.mjs +866 -866
- package/fesm2020/skyux-list-builder-view-grids-testing.mjs +65 -65
- package/fesm2020/skyux-list-builder-view-grids.mjs +864 -864
- package/index.d.ts +18 -18
- package/lib/modules/column-selector/column-selector-context.d.ts +15 -15
- package/lib/modules/column-selector/column-selector-modal.component.d.ts +14 -14
- package/lib/modules/column-selector/column-selector-modal.module.d.ts +15 -15
- package/lib/modules/list-column-selector-action/list-column-selector-action.component.d.ts +39 -39
- package/lib/modules/list-column-selector-action/list-column-selector-action.module.d.ts +17 -17
- package/lib/modules/list-column-selector-action/list-column-selector-button.component.d.ts +5 -5
- package/lib/modules/list-view-grid/list-view-grid.component.d.ts +147 -147
- package/lib/modules/list-view-grid/list-view-grid.module.d.ts +15 -15
- package/lib/modules/list-view-grid/state/columns/columns.orchestrator.d.ts +11 -11
- package/lib/modules/list-view-grid/state/columns/load.action.d.ts +10 -10
- package/lib/modules/list-view-grid/state/displayed-columns/displayed-columns.orchestrator.d.ts +11 -11
- package/lib/modules/list-view-grid/state/displayed-columns/load.action.d.ts +10 -10
- package/lib/modules/list-view-grid/state/grid-state-action.type.d.ts +6 -6
- package/lib/modules/list-view-grid/state/grid-state.model.d.ts +10 -10
- package/lib/modules/list-view-grid/state/grid-state.rxstate.d.ts +16 -16
- package/lib/modules/list-view-grid/state/grid-state.state-node.d.ts +13 -13
- package/lib/modules/list-view-grid/types/list-view-grid-message-type.d.ts +14 -14
- package/lib/modules/list-view-grid/types/list-view-grid-message.d.ts +22 -22
- package/lib/modules/list-view-grid/types/list-view-grid-row-delete-cancel-args.d.ts +9 -9
- package/lib/modules/list-view-grid/types/list-view-grid-row-delete-confirm-args.d.ts +9 -9
- package/lib/modules/shared/sky-list-builder-view-grids-resources.module.d.ts +14 -14
- package/package.json +10 -10
- package/testing/index.d.ts +5 -5
- package/testing/list-view-grid-fixture-cell.d.ts +17 -17
- package/testing/list-view-grid-fixture-header.d.ts +14 -14
- package/testing/list-view-grid-fixture-row.d.ts +8 -8
- package/testing/list-view-grid-fixture.d.ts +27 -27
- package/testing/public-api.d.ts +4 -4
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { SkyGridColumnModel } from '@skyux/grids';
|
|
2
|
-
/**
|
|
3
|
-
* @internal
|
|
4
|
-
* @deprecated
|
|
5
|
-
*/
|
|
6
|
-
export declare class ListViewGridColumnsLoadAction {
|
|
7
|
-
columns: Array<SkyGridColumnModel>;
|
|
8
|
-
refresh: boolean;
|
|
9
|
-
constructor(columns: Array<SkyGridColumnModel>, refresh?: boolean);
|
|
10
|
-
}
|
|
1
|
+
import { SkyGridColumnModel } from '@skyux/grids';
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
* @deprecated
|
|
5
|
+
*/
|
|
6
|
+
export declare class ListViewGridColumnsLoadAction {
|
|
7
|
+
columns: Array<SkyGridColumnModel>;
|
|
8
|
+
refresh: boolean;
|
|
9
|
+
constructor(columns: Array<SkyGridColumnModel>, refresh?: boolean);
|
|
10
|
+
}
|
package/lib/modules/list-view-grid/state/displayed-columns/displayed-columns.orchestrator.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { SkyGridColumnModel } from '@skyux/grids';
|
|
2
|
-
import { AsyncList } from '@skyux/list-builder-common';
|
|
3
|
-
import { GridStateOrchestrator } from '../grid-state.rxstate';
|
|
4
|
-
/**
|
|
5
|
-
* @internal
|
|
6
|
-
* @deprecated
|
|
7
|
-
*/
|
|
8
|
-
export declare class ListViewDisplayedGridColumnsOrchestrator extends GridStateOrchestrator<AsyncList<SkyGridColumnModel>> {
|
|
9
|
-
constructor();
|
|
10
|
-
private load;
|
|
11
|
-
}
|
|
1
|
+
import { SkyGridColumnModel } from '@skyux/grids';
|
|
2
|
+
import { AsyncList } from '@skyux/list-builder-common';
|
|
3
|
+
import { GridStateOrchestrator } from '../grid-state.rxstate';
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
* @deprecated
|
|
7
|
+
*/
|
|
8
|
+
export declare class ListViewDisplayedGridColumnsOrchestrator extends GridStateOrchestrator<AsyncList<SkyGridColumnModel>> {
|
|
9
|
+
constructor();
|
|
10
|
+
private load;
|
|
11
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { SkyGridColumnModel } from '@skyux/grids';
|
|
2
|
-
/**
|
|
3
|
-
* @internal
|
|
4
|
-
* @deprecated
|
|
5
|
-
*/
|
|
6
|
-
export declare class ListViewDisplayedGridColumnsLoadAction {
|
|
7
|
-
columns: Array<SkyGridColumnModel>;
|
|
8
|
-
refresh: boolean;
|
|
9
|
-
constructor(columns: Array<SkyGridColumnModel>, refresh?: boolean);
|
|
10
|
-
}
|
|
1
|
+
import { SkyGridColumnModel } from '@skyux/grids';
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
* @deprecated
|
|
5
|
+
*/
|
|
6
|
+
export declare class ListViewDisplayedGridColumnsLoadAction {
|
|
7
|
+
columns: Array<SkyGridColumnModel>;
|
|
8
|
+
refresh: boolean;
|
|
9
|
+
constructor(columns: Array<SkyGridColumnModel>, refresh?: boolean);
|
|
10
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ListViewGridColumnsLoadAction } from './columns/load.action';
|
|
2
|
-
/**
|
|
3
|
-
* @internal
|
|
4
|
-
* @deprecated
|
|
5
|
-
*/
|
|
6
|
-
export declare type GridStateAction = ListViewGridColumnsLoadAction;
|
|
1
|
+
import { ListViewGridColumnsLoadAction } from './columns/load.action';
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
* @deprecated
|
|
5
|
+
*/
|
|
6
|
+
export declare type GridStateAction = ListViewGridColumnsLoadAction;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { SkyGridColumnModel } from '@skyux/grids';
|
|
2
|
-
import { AsyncList } from '@skyux/list-builder-common';
|
|
3
|
-
/**
|
|
4
|
-
* @internal
|
|
5
|
-
* @deprecated
|
|
6
|
-
*/
|
|
7
|
-
export declare class GridStateModel {
|
|
8
|
-
columns: AsyncList<SkyGridColumnModel>;
|
|
9
|
-
displayedColumns: AsyncList<SkyGridColumnModel>;
|
|
10
|
-
}
|
|
1
|
+
import { SkyGridColumnModel } from '@skyux/grids';
|
|
2
|
+
import { AsyncList } from '@skyux/list-builder-common';
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
* @deprecated
|
|
6
|
+
*/
|
|
7
|
+
export declare class GridStateModel {
|
|
8
|
+
columns: AsyncList<SkyGridColumnModel>;
|
|
9
|
+
displayedColumns: AsyncList<SkyGridColumnModel>;
|
|
10
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { StateDispatcher, StateOrchestrator } from '@skyux/list-builder-common';
|
|
2
|
-
import { GridStateAction } from './grid-state-action.type';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* @internal
|
|
6
|
-
* @deprecated
|
|
7
|
-
*/
|
|
8
|
-
export declare class GridStateDispatcher extends StateDispatcher<GridStateAction> {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GridStateDispatcher, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<GridStateDispatcher>;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* @internal
|
|
14
|
-
*/
|
|
15
|
-
export declare class GridStateOrchestrator<T> extends StateOrchestrator<T, GridStateAction> {
|
|
16
|
-
}
|
|
1
|
+
import { StateDispatcher, StateOrchestrator } from '@skyux/list-builder-common';
|
|
2
|
+
import { GridStateAction } from './grid-state-action.type';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
* @deprecated
|
|
7
|
+
*/
|
|
8
|
+
export declare class GridStateDispatcher extends StateDispatcher<GridStateAction> {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GridStateDispatcher, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GridStateDispatcher>;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
export declare class GridStateOrchestrator<T> extends StateOrchestrator<T, GridStateAction> {
|
|
16
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { StateNode } from '@skyux/list-builder-common';
|
|
2
|
-
import { GridStateModel } from './grid-state.model';
|
|
3
|
-
import { GridStateDispatcher } from './grid-state.rxstate';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* @internal
|
|
7
|
-
* @deprecated
|
|
8
|
-
*/
|
|
9
|
-
export declare class GridState extends StateNode<GridStateModel> {
|
|
10
|
-
constructor(initialState: GridStateModel, dispatcher: GridStateDispatcher);
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GridState, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<GridState>;
|
|
13
|
-
}
|
|
1
|
+
import { StateNode } from '@skyux/list-builder-common';
|
|
2
|
+
import { GridStateModel } from './grid-state.model';
|
|
3
|
+
import { GridStateDispatcher } from './grid-state.rxstate';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
* @deprecated
|
|
8
|
+
*/
|
|
9
|
+
export declare class GridState extends StateNode<GridStateModel> {
|
|
10
|
+
constructor(initialState: GridStateModel, dispatcher: GridStateDispatcher);
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GridState, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GridState>;
|
|
13
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The command for the list view grid to respond to.
|
|
3
|
-
* @deprecated
|
|
4
|
-
*/
|
|
5
|
-
export declare enum SkyListViewGridMessageType {
|
|
6
|
-
/**
|
|
7
|
-
* Deletes of a row in the list view grid.
|
|
8
|
-
*/
|
|
9
|
-
PromptDeleteRow = 0,
|
|
10
|
-
/**
|
|
11
|
-
* Cancels the deletion of a row in the list view grid.
|
|
12
|
-
*/
|
|
13
|
-
AbortDeleteRow = 1
|
|
14
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* The command for the list view grid to respond to.
|
|
3
|
+
* @deprecated
|
|
4
|
+
*/
|
|
5
|
+
export declare enum SkyListViewGridMessageType {
|
|
6
|
+
/**
|
|
7
|
+
* Deletes of a row in the list view grid.
|
|
8
|
+
*/
|
|
9
|
+
PromptDeleteRow = 0,
|
|
10
|
+
/**
|
|
11
|
+
* Cancels the deletion of a row in the list view grid.
|
|
12
|
+
*/
|
|
13
|
+
AbortDeleteRow = 1
|
|
14
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { SkyListViewGridMessageType } from './list-view-grid-message-type';
|
|
2
|
-
/**
|
|
3
|
-
* Communicates commands to the list view grid.
|
|
4
|
-
* @deprecated
|
|
5
|
-
*/
|
|
6
|
-
export interface SkyListViewGridMessage {
|
|
7
|
-
/**
|
|
8
|
-
* The type of message to send.
|
|
9
|
-
*/
|
|
10
|
-
type: SkyListViewGridMessageType;
|
|
11
|
-
/**
|
|
12
|
-
* The data required to carry out the command.
|
|
13
|
-
*/
|
|
14
|
-
data?: {
|
|
15
|
-
abortDeleteRow?: {
|
|
16
|
-
id: string;
|
|
17
|
-
};
|
|
18
|
-
promptDeleteRow?: {
|
|
19
|
-
id: string;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
}
|
|
1
|
+
import { SkyListViewGridMessageType } from './list-view-grid-message-type';
|
|
2
|
+
/**
|
|
3
|
+
* Communicates commands to the list view grid.
|
|
4
|
+
* @deprecated
|
|
5
|
+
*/
|
|
6
|
+
export interface SkyListViewGridMessage {
|
|
7
|
+
/**
|
|
8
|
+
* The type of message to send.
|
|
9
|
+
*/
|
|
10
|
+
type: SkyListViewGridMessageType;
|
|
11
|
+
/**
|
|
12
|
+
* The data required to carry out the command.
|
|
13
|
+
*/
|
|
14
|
+
data?: {
|
|
15
|
+
abortDeleteRow?: {
|
|
16
|
+
id: string;
|
|
17
|
+
};
|
|
18
|
+
promptDeleteRow?: {
|
|
19
|
+
id: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated
|
|
3
|
-
*/
|
|
4
|
-
export interface SkyListViewGridRowDeleteCancelArgs {
|
|
5
|
-
/**
|
|
6
|
-
* Indicates the ID of the row where the Cancel button was clicked to cancel deleting the row.
|
|
7
|
-
*/
|
|
8
|
-
id: string;
|
|
9
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated
|
|
3
|
+
*/
|
|
4
|
+
export interface SkyListViewGridRowDeleteCancelArgs {
|
|
5
|
+
/**
|
|
6
|
+
* Indicates the ID of the row where the Cancel button was clicked to cancel deleting the row.
|
|
7
|
+
*/
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated
|
|
3
|
-
*/
|
|
4
|
-
export interface SkyListViewGridRowDeleteConfirmArgs {
|
|
5
|
-
/**
|
|
6
|
-
* Indicates the ID of the row where the Confirm button was clicked to delete the row.
|
|
7
|
-
*/
|
|
8
|
-
id: string;
|
|
9
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated
|
|
3
|
+
*/
|
|
4
|
+
export interface SkyListViewGridRowDeleteConfirmArgs {
|
|
5
|
+
/**
|
|
6
|
+
* Indicates the ID of the row where the Confirm button was clicked to delete the row.
|
|
7
|
+
*/
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { SkyAppLocaleInfo, SkyLibResourcesProvider } from '@skyux/i18n';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@skyux/i18n";
|
|
4
|
-
export declare class SkyListBuilderViewGridsResourcesProvider implements SkyLibResourcesProvider {
|
|
5
|
-
getString(localeInfo: SkyAppLocaleInfo, name: string): string | undefined;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* Import into any component library module that needs to use resource strings.
|
|
9
|
-
*/
|
|
10
|
-
export declare class SkyListBuilderViewGridsResourcesModule {
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyListBuilderViewGridsResourcesModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyListBuilderViewGridsResourcesModule, never, never, [typeof i1.SkyI18nModule]>;
|
|
13
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SkyListBuilderViewGridsResourcesModule>;
|
|
14
|
-
}
|
|
1
|
+
import { SkyAppLocaleInfo, SkyLibResourcesProvider } from '@skyux/i18n';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@skyux/i18n";
|
|
4
|
+
export declare class SkyListBuilderViewGridsResourcesProvider implements SkyLibResourcesProvider {
|
|
5
|
+
getString(localeInfo: SkyAppLocaleInfo, name: string): string | undefined;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Import into any component library module that needs to use resource strings.
|
|
9
|
+
*/
|
|
10
|
+
export declare class SkyListBuilderViewGridsResourcesModule {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyListBuilderViewGridsResourcesModule, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyListBuilderViewGridsResourcesModule, never, never, [typeof i1.SkyI18nModule]>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SkyListBuilderViewGridsResourcesModule>;
|
|
14
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/list-builder-view-grids",
|
|
3
|
-
"version": "7.0.0-beta.
|
|
3
|
+
"version": "7.0.0-beta.13",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -43,15 +43,15 @@
|
|
|
43
43
|
"@angular/common": "^14.2.0",
|
|
44
44
|
"@angular/core": "^14.2.0",
|
|
45
45
|
"@angular/platform-browser": "^14.2.0",
|
|
46
|
-
"@skyux-sdk/testing": "7.0.0-beta.
|
|
47
|
-
"@skyux/core": "7.0.0-beta.
|
|
48
|
-
"@skyux/grids": "7.0.0-beta.
|
|
49
|
-
"@skyux/i18n": "7.0.0-beta.
|
|
50
|
-
"@skyux/indicators": "7.0.0-beta.
|
|
51
|
-
"@skyux/list-builder": "7.0.0-beta.
|
|
52
|
-
"@skyux/list-builder-common": "7.0.0-beta.
|
|
53
|
-
"@skyux/list-builder-view-checklist": "7.0.0-beta.
|
|
54
|
-
"@skyux/modals": "7.0.0-beta.
|
|
46
|
+
"@skyux-sdk/testing": "7.0.0-beta.13",
|
|
47
|
+
"@skyux/core": "7.0.0-beta.13",
|
|
48
|
+
"@skyux/grids": "7.0.0-beta.13",
|
|
49
|
+
"@skyux/i18n": "7.0.0-beta.13",
|
|
50
|
+
"@skyux/indicators": "7.0.0-beta.13",
|
|
51
|
+
"@skyux/list-builder": "7.0.0-beta.13",
|
|
52
|
+
"@skyux/list-builder-common": "7.0.0-beta.13",
|
|
53
|
+
"@skyux/list-builder-view-checklist": "7.0.0-beta.13",
|
|
54
|
+
"@skyux/modals": "7.0.0-beta.13"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"tslib": "^2.3.1"
|
package/testing/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
/// <amd-module name="@skyux/list-builder-view-grids/testing" />
|
|
5
|
-
export * from './public-api';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@skyux/list-builder-view-grids/testing" />
|
|
5
|
+
export * from './public-api';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { DebugElement } from '@angular/core';
|
|
2
|
-
/**
|
|
3
|
-
* Properties of a list view grid cell.
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
6
|
-
export interface SkyListViewGridFixtureCell {
|
|
7
|
-
/**
|
|
8
|
-
* The cell's DebugElement. This is useful for validating HTML inside the cell
|
|
9
|
-
* when the grid column has a template associated with it.
|
|
10
|
-
*/
|
|
11
|
-
el: DebugElement;
|
|
12
|
-
/**
|
|
13
|
-
* The text content of the cell. Use this to validate simple columns bound directly
|
|
14
|
-
* to a field without the use of a column template.
|
|
15
|
-
*/
|
|
16
|
-
textContent: string;
|
|
17
|
-
}
|
|
1
|
+
import { DebugElement } from '@angular/core';
|
|
2
|
+
/**
|
|
3
|
+
* Properties of a list view grid cell.
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface SkyListViewGridFixtureCell {
|
|
7
|
+
/**
|
|
8
|
+
* The cell's DebugElement. This is useful for validating HTML inside the cell
|
|
9
|
+
* when the grid column has a template associated with it.
|
|
10
|
+
*/
|
|
11
|
+
el: DebugElement;
|
|
12
|
+
/**
|
|
13
|
+
* The text content of the cell. Use this to validate simple columns bound directly
|
|
14
|
+
* to a field without the use of a column template.
|
|
15
|
+
*/
|
|
16
|
+
textContent: string;
|
|
17
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Properties of a list view grid header.
|
|
3
|
-
* @internal
|
|
4
|
-
*/
|
|
5
|
-
export interface SkyListViewGridFixtureHeader {
|
|
6
|
-
/**
|
|
7
|
-
* A flag indicating whether the header is locked.
|
|
8
|
-
*/
|
|
9
|
-
locked: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* The text content of the header.
|
|
12
|
-
*/
|
|
13
|
-
textContent: string;
|
|
14
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Properties of a list view grid header.
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export interface SkyListViewGridFixtureHeader {
|
|
6
|
+
/**
|
|
7
|
+
* A flag indicating whether the header is locked.
|
|
8
|
+
*/
|
|
9
|
+
locked: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* The text content of the header.
|
|
12
|
+
*/
|
|
13
|
+
textContent: string;
|
|
14
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { SkyListViewGridFixtureCell } from './list-view-grid-fixture-cell';
|
|
2
|
-
/**
|
|
3
|
-
* Properties of a list view grid row.
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
6
|
-
export interface SkyListViewGridFixtureRow {
|
|
7
|
-
cells: SkyListViewGridFixtureCell[];
|
|
8
|
-
}
|
|
1
|
+
import { SkyListViewGridFixtureCell } from './list-view-grid-fixture-cell';
|
|
2
|
+
/**
|
|
3
|
+
* Properties of a list view grid row.
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface SkyListViewGridFixtureRow {
|
|
7
|
+
cells: SkyListViewGridFixtureCell[];
|
|
8
|
+
}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { ComponentFixture } from '@angular/core/testing';
|
|
2
|
-
import { SkyListViewGridFixtureHeader } from './list-view-grid-fixture-header';
|
|
3
|
-
import { SkyListViewGridFixtureRow } from './list-view-grid-fixture-row';
|
|
4
|
-
/**
|
|
5
|
-
* Allows interaction with a SKY UX list view grid component.
|
|
6
|
-
* @internal
|
|
7
|
-
*/
|
|
8
|
-
export declare class SkyListViewGridFixture {
|
|
9
|
-
private debugEl;
|
|
10
|
-
constructor(fixture: ComponentFixture<any>, skyTestId: string);
|
|
11
|
-
/**
|
|
12
|
-
* Gets the row at the specified index.
|
|
13
|
-
* @param index The row's index.
|
|
14
|
-
*/
|
|
15
|
-
getRow(index: number): SkyListViewGridFixtureRow;
|
|
16
|
-
getRowCount(): number;
|
|
17
|
-
/**
|
|
18
|
-
* Gets the header at the specified index.
|
|
19
|
-
* @param columnIndex The index of the column to which the header belongs.
|
|
20
|
-
*/
|
|
21
|
-
getHeader(columnIndex: number): SkyListViewGridFixtureHeader;
|
|
22
|
-
getHeaderCount(): number;
|
|
23
|
-
private getRowEls;
|
|
24
|
-
private getRowEl;
|
|
25
|
-
private getHeaderEls;
|
|
26
|
-
private getCellEls;
|
|
27
|
-
}
|
|
1
|
+
import { ComponentFixture } from '@angular/core/testing';
|
|
2
|
+
import { SkyListViewGridFixtureHeader } from './list-view-grid-fixture-header';
|
|
3
|
+
import { SkyListViewGridFixtureRow } from './list-view-grid-fixture-row';
|
|
4
|
+
/**
|
|
5
|
+
* Allows interaction with a SKY UX list view grid component.
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export declare class SkyListViewGridFixture {
|
|
9
|
+
private debugEl;
|
|
10
|
+
constructor(fixture: ComponentFixture<any>, skyTestId: string);
|
|
11
|
+
/**
|
|
12
|
+
* Gets the row at the specified index.
|
|
13
|
+
* @param index The row's index.
|
|
14
|
+
*/
|
|
15
|
+
getRow(index: number): SkyListViewGridFixtureRow;
|
|
16
|
+
getRowCount(): number;
|
|
17
|
+
/**
|
|
18
|
+
* Gets the header at the specified index.
|
|
19
|
+
* @param columnIndex The index of the column to which the header belongs.
|
|
20
|
+
*/
|
|
21
|
+
getHeader(columnIndex: number): SkyListViewGridFixtureHeader;
|
|
22
|
+
getHeaderCount(): number;
|
|
23
|
+
private getRowEls;
|
|
24
|
+
private getRowEl;
|
|
25
|
+
private getHeaderEls;
|
|
26
|
+
private getCellEls;
|
|
27
|
+
}
|
package/testing/public-api.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './list-view-grid-fixture';
|
|
2
|
-
export * from './list-view-grid-fixture-cell';
|
|
3
|
-
export * from './list-view-grid-fixture-header';
|
|
4
|
-
export * from './list-view-grid-fixture-row';
|
|
1
|
+
export * from './list-view-grid-fixture';
|
|
2
|
+
export * from './list-view-grid-fixture-cell';
|
|
3
|
+
export * from './list-view-grid-fixture-header';
|
|
4
|
+
export * from './list-view-grid-fixture-row';
|