@bcgov/nr-ngx-component-lib 19.0.91 → 21.0.93
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/bcgov-nr-ngx-component-lib.mjs +461 -634
- package/fesm2022/bcgov-nr-ngx-component-lib.mjs.map +1 -1
- package/package.json +5 -4
- package/styles/include/mat-radio-button.scss +4 -4
- package/types/bcgov-nr-ngx-component-lib.d.ts +1112 -0
- package/components/application/application.component.d.ts +0 -6
- package/components/application-header/application-header.component.d.ts +0 -16
- package/components/application-menu/application-menu.component.d.ts +0 -17
- package/components/button/button.component.d.ts +0 -47
- package/components/cell-content/cell-content.component.d.ts +0 -13
- package/components/date-navigator/date-navigator.component.d.ts +0 -23
- package/components/device-view/device-view.component.d.ts +0 -21
- package/components/dialog/dialog.component.d.ts +0 -18
- package/components/dialog-confirm/dialog-confirm.component.d.ts +0 -19
- package/components/expansion-panel/expansion-panel.component.d.ts +0 -13
- package/components/expansion-panel/footer/expansion-panel-footer.component.d.ts +0 -13
- package/components/expansion-panel/header/expansion-panel-header.component.d.ts +0 -6
- package/components/expansion-panel/section/expansion-panel-section.component.d.ts +0 -6
- package/components/filter-container/filter-container.component.d.ts +0 -9
- package/components/filter-date/filter-date.component.d.ts +0 -14
- package/components/filter-search/filter-search.component.d.ts +0 -20
- package/components/filter-select/filter-select.component.d.ts +0 -85
- package/components/filters-panel/filters-panel.component.d.ts +0 -21
- package/components/form-field/form-field.component.d.ts +0 -14
- package/components/form-layout/form-layout.component.d.ts +0 -6
- package/components/gap/gap.component.d.ts +0 -15
- package/components/icon/icon.component.d.ts +0 -26
- package/components/indicator/indicator.component.d.ts +0 -15
- package/components/indicator-select/indicator-select.component.d.ts +0 -7
- package/components/list-attachments/list-attachments.component.d.ts +0 -68
- package/components/list-event-history/list-event-history.component.d.ts +0 -59
- package/components/list-select/list-select.component.d.ts +0 -38
- package/components/loading-status/loading-status.component.d.ts +0 -8
- package/components/page-container/page-container.component.d.ts +0 -6
- package/components/page-header/page-header.component.d.ts +0 -7
- package/components/resource-schedule/resource-schedule.component.d.ts +0 -39
- package/components/row-list-desktop/row-list-desktop.component.d.ts +0 -7
- package/components/row-list-mobile/row-list-mobile.component.d.ts +0 -6
- package/components/row-list-pagination/row-list-pagination.component.d.ts +0 -33
- package/components/row-list-sorting/row-list-sorting.component.d.ts +0 -19
- package/components/schedule/schedule.component.d.ts +0 -91
- package/components/snackbar/snackbar.component.d.ts +0 -16
- package/components/tabs/tab/tab.component.d.ts +0 -28
- package/components/tabs/tab-group/tab-group.component.d.ts +0 -34
- package/components/tag-list/tag-list.component.d.ts +0 -19
- package/directives/configuration-subscriber.base.d.ts +0 -17
- package/directives/dialog.base.d.ts +0 -26
- package/directives/nrcl.base.d.ts +0 -9
- package/directives/pagination.base.d.ts +0 -64
- package/directives/row-list.base.d.ts +0 -30
- package/directives/tooltip/tooltip.directive.d.ts +0 -29
- package/index.d.ts +0 -5
- package/nr-ngx-component-lib.module.d.ts +0 -72
- package/public-api.d.ts +0 -55
- package/services/configuration.service.d.ts +0 -16
- package/services/dialog.service.d.ts +0 -14
- package/services/page-state.service.d.ts +0 -9
- package/services/snackbar-util.service.d.ts +0 -16
- package/utils/code-table.util.d.ts +0 -12
- package/utils/date.util.d.ts +0 -14
- package/utils/filter.util.d.ts +0 -4
- package/utils/row-list.util.d.ts +0 -25
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit, EventEmitter, OnChanges, QueryList, SimpleChanges } from "@angular/core";
|
|
2
|
-
import { MatColumnDef, MatTable } from "@angular/material/table";
|
|
3
|
-
import { Observable } from "rxjs";
|
|
4
|
-
import { RowListBase } from "../../directives/row-list.base";
|
|
5
|
-
import { CodeDescription } from "../../utils/code-table.util";
|
|
6
|
-
import { InitialState } from "../../directives/pagination.base";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class ListSelectComponent<T> extends RowListBase<{}, CodeDescription> implements OnChanges, AfterContentInit {
|
|
9
|
-
options: CodeDescription[];
|
|
10
|
-
value: string[];
|
|
11
|
-
descriptionLabel: string;
|
|
12
|
-
single: any;
|
|
13
|
-
noRowsMessage: string;
|
|
14
|
-
displayColumnsProvider: (cols: string[]) => string[];
|
|
15
|
-
filterProvider: (option: CodeDescription) => boolean;
|
|
16
|
-
valueChange: EventEmitter<string[]>;
|
|
17
|
-
filterClear: EventEmitter<void>;
|
|
18
|
-
table: MatTable<T>;
|
|
19
|
-
columnDefs: QueryList<MatColumnDef>;
|
|
20
|
-
searchText: any;
|
|
21
|
-
searchRegexp: RegExp;
|
|
22
|
-
defaultDisplayColumns: string[];
|
|
23
|
-
displayColumns: any[];
|
|
24
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
25
|
-
ngAfterContentInit(): void;
|
|
26
|
-
getInitialPageState(): InitialState<{}>;
|
|
27
|
-
fetchRowListPage(): Observable<CodeDescription[]>;
|
|
28
|
-
parseRows(res: any): CodeDescription[];
|
|
29
|
-
parseTotalRowCount(res: any): number;
|
|
30
|
-
isSelected(item: CodeDescription): boolean;
|
|
31
|
-
onRowClick(item: CodeDescription): void;
|
|
32
|
-
onClearFilters(): void;
|
|
33
|
-
onSearchTextChange(ev: any): void;
|
|
34
|
-
filterOption(option: CodeDescription): boolean;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ListSelectComponent<any>, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListSelectComponent<any>, "nrcl-list-select", never, { "options": { "alias": "options"; "required": false; }; "value": { "alias": "value"; "required": false; }; "descriptionLabel": { "alias": "descriptionLabel"; "required": false; }; "single": { "alias": "single"; "required": false; }; "noRowsMessage": { "alias": "noRowsMessage"; "required": false; }; "displayColumnsProvider": { "alias": "displayColumnsProvider"; "required": false; }; "filterProvider": { "alias": "filterProvider"; "required": false; }; }, { "valueChange": "valueChange"; "filterClear": "filterClear"; }, ["columnDefs"], ["[filter]", "*"], false, never>;
|
|
37
|
-
static ngAcceptInputType_single: unknown;
|
|
38
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { NrclBase } from '../../directives/nrcl.base';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class LoadingStatusComponent extends NrclBase {
|
|
4
|
-
loading: boolean;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingStatusComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LoadingStatusComponent, "nrcl-loading-status", never, { "loading": { "alias": "loading"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
7
|
-
static ngAcceptInputType_loading: unknown;
|
|
8
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { NrclBase } from "../../directives/nrcl.base";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class PageContainerComponent extends NrclBase {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PageContainerComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PageContainerComponent, "nrcl-page-container", never, {}, {}, never, ["*"], false, never>;
|
|
6
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ConfigurationSubscriberBase } from "../../directives/configuration-subscriber.base";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class PageHeaderComponent extends ConfigurationSubscriberBase {
|
|
4
|
-
isLoading: boolean;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "nrcl-page-header", never, { "isLoading": { "alias": "isLoading"; "required": false; }; }, {}, never, ["h1:not([right-side]):not([action])", "h2:not([right-side]):not([action])", "nrcl-indicator,[indicator]", "[left-side]", "[action]", "[right-side]", "*"], false, never>;
|
|
7
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from "@angular/core";
|
|
2
|
-
import { MatMenuPanel } from "@angular/material/menu";
|
|
3
|
-
import { NrclBase } from "../../directives/nrcl.base";
|
|
4
|
-
import { ScheduleComponent, ScheduleProvider, ScheduleRow, ScheduleRowItem } from "../schedule/schedule.component";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ResourceScheduleRowHeadingDirective {
|
|
7
|
-
template: TemplateRef<any>;
|
|
8
|
-
constructor(template: TemplateRef<any>);
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceScheduleRowHeadingDirective, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ResourceScheduleRowHeadingDirective, "[nrclResourceScheduleRowHeading]", never, {}, {}, never, never, false, never>;
|
|
11
|
-
}
|
|
12
|
-
export type ResourceScheduleItemTypes = 'empty' | 'out-of-service' | 'available-rostered' | 'available-duty-day' | 'available-standby-day' | 'available-off-day' | 'available-regular-day' | 'available-hired' | 'assigned-rostered' | 'assigned-duty-day' | 'assigned-standby-day' | 'assigned-off-day' | 'assigned-regular-day';
|
|
13
|
-
export type ResourceScheduleRowItem = ScheduleRowItem & {
|
|
14
|
-
name: ResourceScheduleItemTypes;
|
|
15
|
-
allocationType?: string;
|
|
16
|
-
shiftType?: string;
|
|
17
|
-
assignmentName?: string;
|
|
18
|
-
functionName?: string;
|
|
19
|
-
};
|
|
20
|
-
export type ResourceScheduleRow = ScheduleRow & {
|
|
21
|
-
items: (Promise<ResourceScheduleRowItem[]>);
|
|
22
|
-
};
|
|
23
|
-
export type ResourceSchedule = ResourceScheduleRow[];
|
|
24
|
-
export declare class ResourceScheduleComponent extends NrclBase {
|
|
25
|
-
provider?: ScheduleProvider;
|
|
26
|
-
startDate?: string;
|
|
27
|
-
highlightDate?: string;
|
|
28
|
-
weekStart: number;
|
|
29
|
-
dayCount?: number;
|
|
30
|
-
menu?: MatMenuPanel;
|
|
31
|
-
hover: boolean;
|
|
32
|
-
pagination: boolean;
|
|
33
|
-
heading: boolean;
|
|
34
|
-
scheduleComponent?: ScheduleComponent;
|
|
35
|
-
headerTemplate: ResourceScheduleRowHeadingDirective;
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceScheduleComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceScheduleComponent, "nrcl-resource-schedule", never, { "provider": { "alias": "provider"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "highlightDate": { "alias": "highlightDate"; "required": false; }; "weekStart": { "alias": "weekStart"; "required": false; }; "dayCount": { "alias": "dayCount"; "required": false; }; "menu": { "alias": "menu"; "required": false; }; "hover": { "alias": "hover"; "required": false; }; "pagination": { "alias": "pagination"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; }, {}, ["headerTemplate"], ["*"], false, never>;
|
|
38
|
-
static ngAcceptInputType_dayCount: unknown;
|
|
39
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { NrclBase } from "../../directives/nrcl.base";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class RowListDesktopComponent extends NrclBase {
|
|
4
|
-
showRowHover: boolean;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RowListDesktopComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RowListDesktopComponent, "nrcl-row-list-desktop", never, { "showRowHover": { "alias": "showRowHover"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
7
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { NrclBase } from "../../directives/nrcl.base";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class RowListMobileComponent extends NrclBase {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RowListMobileComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RowListMobileComponent, "nrcl-row-list-mobile", never, {}, {}, never, ["*"], false, never>;
|
|
6
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter } from "@angular/core";
|
|
2
|
-
import { NrclBase } from "../../directives/nrcl.base";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export type RowListPaginationWidth = 'sufficient' | 'tight' | 'restrictive';
|
|
5
|
-
export declare class RowListPaginationComponent extends NrclBase implements AfterViewInit {
|
|
6
|
-
paginationId: string;
|
|
7
|
-
pageSizeOptions: {
|
|
8
|
-
code: number;
|
|
9
|
-
description: string;
|
|
10
|
-
}[];
|
|
11
|
-
pageSize: number;
|
|
12
|
-
pageNumber: any;
|
|
13
|
-
rowCount: any;
|
|
14
|
-
showPageSize: boolean;
|
|
15
|
-
noRowsMessage: string;
|
|
16
|
-
pageSizeChange: EventEmitter<number>;
|
|
17
|
-
pageNumberChange: EventEmitter<number>;
|
|
18
|
-
componentWidth: RowListPaginationWidth;
|
|
19
|
-
paginationMaxSize: number;
|
|
20
|
-
elementRef: ElementRef<any>;
|
|
21
|
-
changeDetectorRef: ChangeDetectorRef;
|
|
22
|
-
ngAfterViewInit(): void;
|
|
23
|
-
onPageSizeChange(ev: any): void;
|
|
24
|
-
onPageNumberChange(ev: any): void;
|
|
25
|
-
onResize(event: any): void;
|
|
26
|
-
checkWidth(): void;
|
|
27
|
-
get pageCount(): number;
|
|
28
|
-
get firstRow(): number;
|
|
29
|
-
get lastRow(): number;
|
|
30
|
-
get hasRows(): any;
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RowListPaginationComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RowListPaginationComponent, "nrcl-row-list-pagination", never, { "paginationId": { "alias": "paginationId"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageNumber": { "alias": "pageNumber"; "required": false; }; "rowCount": { "alias": "rowCount"; "required": false; }; "showPageSize": { "alias": "showPageSize"; "required": false; }; "noRowsMessage": { "alias": "noRowsMessage"; "required": false; }; }, { "pageSizeChange": "pageSizeChange"; "pageNumberChange": "pageNumberChange"; }, never, never, false, never>;
|
|
33
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from "@angular/core";
|
|
2
|
-
import { CodeDescription } from "../../utils/code-table.util";
|
|
3
|
-
import { Sort, SortDirection } from "@angular/material/sort";
|
|
4
|
-
import { unwrapFilterValue, wrapFilterValue } from "../../utils/filter.util";
|
|
5
|
-
import { NrclBase } from "../../directives/nrcl.base";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class RowListSortingComponent extends NrclBase {
|
|
8
|
-
sortColumn: string;
|
|
9
|
-
sortColumnOptions: CodeDescription[];
|
|
10
|
-
sortDirection: SortDirection;
|
|
11
|
-
sortChange: EventEmitter<Sort>;
|
|
12
|
-
wrapFilterValue: typeof wrapFilterValue;
|
|
13
|
-
unwrapFilterValue: typeof unwrapFilterValue;
|
|
14
|
-
onSortColumnChange(ev: any): void;
|
|
15
|
-
onSortDirectionChange(): void;
|
|
16
|
-
emitSortChange(): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RowListSortingComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RowListSortingComponent, "nrcl-row-list-sorting", never, { "sortColumn": { "alias": "sortColumn"; "required": false; }; "sortColumnOptions": { "alias": "sortColumnOptions"; "required": false; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; }, { "sortChange": "sortChange"; }, never, never, false, never>;
|
|
19
|
-
}
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { OnChanges, QueryList, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
|
-
import { MatMenuPanel } from '@angular/material/menu';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { InitialState, PaginationState } from '../../directives/pagination.base';
|
|
5
|
-
import { RowListBase } from '../../directives/row-list.base';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class ScheduleRowHeadingDirective {
|
|
8
|
-
template: TemplateRef<any>;
|
|
9
|
-
constructor(template: TemplateRef<any>);
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScheduleRowHeadingDirective, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ScheduleRowHeadingDirective, "[nrclScheduleRowHeading]", never, {}, {}, never, never, false, never>;
|
|
12
|
-
}
|
|
13
|
-
export declare class ScheduleItemDirective {
|
|
14
|
-
template: TemplateRef<any>;
|
|
15
|
-
name?: string;
|
|
16
|
-
constructor(template: TemplateRef<any>);
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScheduleItemDirective, never>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ScheduleItemDirective, "[nrclScheduleItem]", never, { "name": { "alias": "nrclScheduleItem"; "required": false; }; }, {}, never, never, false, never>;
|
|
19
|
-
}
|
|
20
|
-
export type ScheduleRowItem = {
|
|
21
|
-
id: string;
|
|
22
|
-
name: string;
|
|
23
|
-
icons?: () => string[];
|
|
24
|
-
tooltip?: () => string | TemplateRef<any>;
|
|
25
|
-
travel?: boolean;
|
|
26
|
-
};
|
|
27
|
-
export type ScheduleRow = {
|
|
28
|
-
id?: string;
|
|
29
|
-
metadata?: any;
|
|
30
|
-
heading: any;
|
|
31
|
-
items: Promise<ScheduleRowItem[]>;
|
|
32
|
-
rowClass?: string;
|
|
33
|
-
};
|
|
34
|
-
export type Schedule = ScheduleRow[];
|
|
35
|
-
type Day = {
|
|
36
|
-
dayName: string;
|
|
37
|
-
monthDay: number;
|
|
38
|
-
date: string;
|
|
39
|
-
isWeekend: boolean;
|
|
40
|
-
isToday: boolean;
|
|
41
|
-
isFirst: boolean;
|
|
42
|
-
isHighlight: boolean;
|
|
43
|
-
};
|
|
44
|
-
type Week = {
|
|
45
|
-
start: string;
|
|
46
|
-
end: string;
|
|
47
|
-
span: number;
|
|
48
|
-
};
|
|
49
|
-
export type FetchScheduleRowParameters = {
|
|
50
|
-
resourceId: string;
|
|
51
|
-
};
|
|
52
|
-
export interface ScheduleProvider {
|
|
53
|
-
startloadSchedule?(inner: () => Promise<any>): Promise<any>;
|
|
54
|
-
fetchSchedule(): Observable<any>;
|
|
55
|
-
parseSchedule(res: any): Schedule;
|
|
56
|
-
parseTotalRowCount?(res: any): number;
|
|
57
|
-
getInitialPageState(): InitialState<{}>;
|
|
58
|
-
completedLoadSchedule?(inner: () => void): any;
|
|
59
|
-
}
|
|
60
|
-
export declare class ScheduleComponent extends RowListBase<{}, ScheduleRow> implements OnChanges {
|
|
61
|
-
provider?: ScheduleProvider;
|
|
62
|
-
startDate?: string;
|
|
63
|
-
weekStart: number;
|
|
64
|
-
dayCount?: number;
|
|
65
|
-
menu?: MatMenuPanel;
|
|
66
|
-
hover: boolean;
|
|
67
|
-
pagination: boolean;
|
|
68
|
-
heading: boolean;
|
|
69
|
-
highlightDate?: string;
|
|
70
|
-
loadingMessage: string;
|
|
71
|
-
itemTemplates: QueryList<ScheduleItemDirective>;
|
|
72
|
-
headerTemplate: ScheduleRowHeadingDirective;
|
|
73
|
-
protected _days: Day[];
|
|
74
|
-
protected _weeks: Week[];
|
|
75
|
-
protected _templates: TemplateRef<any>[][];
|
|
76
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
77
|
-
ngAfterViewInit(): void;
|
|
78
|
-
loadRowList(): Promise<any>;
|
|
79
|
-
fetchRowListPage(): Observable<any>;
|
|
80
|
-
parseRows(res: any): ScheduleRow[];
|
|
81
|
-
parseTotalRowCount(res: any): number;
|
|
82
|
-
getInitialPageState(): InitialState<{}>;
|
|
83
|
-
completedRowListPage(): PaginationState<{}>;
|
|
84
|
-
onSamePageFilterChange(ev: {}): void;
|
|
85
|
-
makeRows(schedule: Schedule): Schedule;
|
|
86
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScheduleComponent, never>;
|
|
87
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScheduleComponent, "nrcl-schedule", never, { "provider": { "alias": "provider"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "weekStart": { "alias": "weekStart"; "required": false; }; "dayCount": { "alias": "dayCount"; "required": false; }; "menu": { "alias": "menu"; "required": false; }; "hover": { "alias": "hover"; "required": false; }; "pagination": { "alias": "pagination"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "highlightDate": { "alias": "highlightDate"; "required": false; }; "loadingMessage": { "alias": "loadingMessage"; "required": false; }; }, {}, ["headerTemplate", "itemTemplates"], ["*"], false, never>;
|
|
88
|
-
static ngAcceptInputType_weekStart: unknown;
|
|
89
|
-
static ngAcceptInputType_dayCount: unknown;
|
|
90
|
-
}
|
|
91
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { MatSnackBarRef } from "@angular/material/snack-bar";
|
|
2
|
-
import { NrclBase } from "../../directives/nrcl.base";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export type SnackbarType = 'success' | 'error' | 'info' | 'update';
|
|
5
|
-
export type SnackbarConfig = {
|
|
6
|
-
message: string;
|
|
7
|
-
type: SnackbarType;
|
|
8
|
-
};
|
|
9
|
-
export declare class SnackbarComponent extends NrclBase {
|
|
10
|
-
snackBarRef: MatSnackBarRef<SnackbarComponent>;
|
|
11
|
-
config: SnackbarConfig;
|
|
12
|
-
constructor(snackBarRef: MatSnackBarRef<SnackbarComponent>, config: SnackbarConfig);
|
|
13
|
-
get className(): string;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SnackbarComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SnackbarComponent, "nrcl-snackbar", never, {}, {}, never, never, false, never>;
|
|
16
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, TemplateRef } from '@angular/core';
|
|
2
|
-
import { NrclBase } from '../../../directives/nrcl.base';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TabLabelDirective {
|
|
5
|
-
template: TemplateRef<any>;
|
|
6
|
-
constructor(template: TemplateRef<any>);
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TabLabelDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TabLabelDirective, "[nrclTabLabel]", never, {}, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
10
|
-
export declare class TabContentDirective {
|
|
11
|
-
template: TemplateRef<any>;
|
|
12
|
-
constructor(template: TemplateRef<any>);
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TabContentDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TabContentDirective, "[nrclTabContent]", never, {}, {}, never, never, false, never>;
|
|
15
|
-
}
|
|
16
|
-
export declare class TabComponent extends NrclBase {
|
|
17
|
-
elementRef: ElementRef<any>;
|
|
18
|
-
changeDetectorRef: ChangeDetectorRef;
|
|
19
|
-
name?: string;
|
|
20
|
-
label?: string;
|
|
21
|
-
disabled: boolean;
|
|
22
|
-
labelTemplate?: TabLabelDirective;
|
|
23
|
-
contentTemplate?: TabContentDirective;
|
|
24
|
-
content: TemplateRef<any>;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TabComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "nrcl-tab", never, { "name": { "alias": "name"; "required": false; }; "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, ["labelTemplate", "contentTemplate"], ["[nrclTabLabel]", "*"], false, never>;
|
|
27
|
-
static ngAcceptInputType_disabled: unknown;
|
|
28
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, QueryList, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { MatTabGroup } from '@angular/material/tabs';
|
|
3
|
-
import { NrclBase } from '../../../directives/nrcl.base';
|
|
4
|
-
import { TabComponent } from '../tab/tab.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export type ActivateTabEvent = {
|
|
7
|
-
tab: number;
|
|
8
|
-
name?: string;
|
|
9
|
-
cancel: (shouldCancel: Promise<boolean>) => void;
|
|
10
|
-
};
|
|
11
|
-
export declare class TabGroupComponent extends NrclBase implements OnChanges, AfterViewInit {
|
|
12
|
-
elementRef: ElementRef<any>;
|
|
13
|
-
changeDetectorRef: ChangeDetectorRef;
|
|
14
|
-
standard: boolean;
|
|
15
|
-
classic: boolean;
|
|
16
|
-
selectedTab: number;
|
|
17
|
-
selectedTabChange: EventEmitter<{
|
|
18
|
-
index: number;
|
|
19
|
-
name?: string;
|
|
20
|
-
}>;
|
|
21
|
-
activateTab: EventEmitter<ActivateTabEvent>;
|
|
22
|
-
tabGroup: MatTabGroup;
|
|
23
|
-
tabs: QueryList<TabComponent>;
|
|
24
|
-
isStandard: boolean;
|
|
25
|
-
isClassic: boolean;
|
|
26
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
27
|
-
ngAfterViewInit(): void;
|
|
28
|
-
updateState(): void;
|
|
29
|
-
onSelectedIndexChange(index: number): void;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TabGroupComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabGroupComponent, "nrcl-tab-group", never, { "standard": { "alias": "standard"; "required": false; }; "classic": { "alias": "classic"; "required": false; }; "selectedTab": { "alias": "selectedTab"; "required": false; }; }, { "selectedTabChange": "selectedTabChange"; "activateTab": "activateTab"; }, ["tabs"], never, false, never>;
|
|
32
|
-
static ngAcceptInputType_standard: unknown;
|
|
33
|
-
static ngAcceptInputType_classic: unknown;
|
|
34
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, TemplateRef } from "@angular/core";
|
|
2
|
-
import { NrclBase } from "../../directives/nrcl.base";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export type TagItem = {
|
|
5
|
-
id: string;
|
|
6
|
-
description: string;
|
|
7
|
-
tooltip: string;
|
|
8
|
-
icon: string;
|
|
9
|
-
};
|
|
10
|
-
export declare class TagListComponent extends NrclBase {
|
|
11
|
-
items: TagItem[];
|
|
12
|
-
removable: boolean;
|
|
13
|
-
noItemsMessage: string;
|
|
14
|
-
tagTemplate: TemplateRef<any>;
|
|
15
|
-
itemRemoved: EventEmitter<TagItem>;
|
|
16
|
-
onRemoveItem(id: any): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TagListComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TagListComponent, "nrcl-tag-list", never, { "items": { "alias": "items"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "noItemsMessage": { "alias": "noItemsMessage"; "required": false; }; "tagTemplate": { "alias": "tagTemplate"; "required": false; }; }, { "itemRemoved": "itemRemoved"; }, never, ["nrcl-button"], false, never>;
|
|
19
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy, OnInit } from "@angular/core";
|
|
2
|
-
import { Configuration, ConfigurationService } from "../services/configuration.service";
|
|
3
|
-
import { NrclBase } from "./nrcl.base";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ConfigurationSubscriberBase extends NrclBase implements OnInit, OnDestroy {
|
|
6
|
-
configurationSubscription: any;
|
|
7
|
-
configuration: Configuration;
|
|
8
|
-
configurationService: ConfigurationService;
|
|
9
|
-
changeDetectorRef: ChangeDetectorRef;
|
|
10
|
-
ngOnInit(): void;
|
|
11
|
-
ngOnDestroy(): void;
|
|
12
|
-
onConfigurationChange(): void;
|
|
13
|
-
get desktopVisible(): boolean;
|
|
14
|
-
get mobileVisible(): boolean;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationSubscriberBase, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ConfigurationSubscriberBase, never, never, {}, {}, never, never, true, never>;
|
|
17
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from "@angular/core";
|
|
2
|
-
import { MatDialogRef } from "@angular/material/dialog";
|
|
3
|
-
import { NrclBase } from "./nrcl.base";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export type DialogBaseResult<R> = R | 'cancel';
|
|
6
|
-
export declare class DialogBase<CONFIG, RESULT = any> extends NrclBase {
|
|
7
|
-
dialogRef: MatDialogRef<any, any>;
|
|
8
|
-
changeDetectorRef: ChangeDetectorRef;
|
|
9
|
-
private _isLoading;
|
|
10
|
-
get isLoading(): boolean;
|
|
11
|
-
set isLoading(v: boolean);
|
|
12
|
-
saveLabel: string;
|
|
13
|
-
private _saveEnabled;
|
|
14
|
-
get saveEnabled(): boolean;
|
|
15
|
-
set saveEnabled(v: boolean);
|
|
16
|
-
cancelLabel: string;
|
|
17
|
-
private _cancelEnabled;
|
|
18
|
-
get cancelEnabled(): boolean;
|
|
19
|
-
set cancelEnabled(v: boolean);
|
|
20
|
-
config: CONFIG;
|
|
21
|
-
getResult(): RESULT;
|
|
22
|
-
onSaveClick(): void;
|
|
23
|
-
onCancelClick(): void;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogBase<any, any>, never>;
|
|
25
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DialogBase<any, any>, never, never, {}, {}, never, never, true, never>;
|
|
26
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class NrclBase implements OnInit {
|
|
4
|
-
elementClass: string;
|
|
5
|
-
elementRef: ElementRef<any>;
|
|
6
|
-
ngOnInit(): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NrclBase, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NrclBase, never, never, {}, {}, never, never, true, never>;
|
|
9
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef } from "@angular/core";
|
|
2
|
-
import { Sort, SortDirection } from "@angular/material/sort";
|
|
3
|
-
import { PageStateService } from "../services/page-state.service";
|
|
4
|
-
import { NrclBase } from "./nrcl.base";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export type PaginationConfig = {
|
|
7
|
-
pageSize: number;
|
|
8
|
-
pageNumber: number;
|
|
9
|
-
sortActive: string;
|
|
10
|
-
sortDirection: SortDirection;
|
|
11
|
-
};
|
|
12
|
-
export interface PagingInfoRequest {
|
|
13
|
-
query?: string;
|
|
14
|
-
pageNumber: number;
|
|
15
|
-
pageRowCount: number;
|
|
16
|
-
sortColumn?: string;
|
|
17
|
-
sortDirection?: string;
|
|
18
|
-
}
|
|
19
|
-
export type PaginationState<F> = {
|
|
20
|
-
pageConfig: PaginationConfig;
|
|
21
|
-
filter: F;
|
|
22
|
-
};
|
|
23
|
-
export type InitialState<F> = PaginationState<F> & {
|
|
24
|
-
instance?: string;
|
|
25
|
-
};
|
|
26
|
-
export declare abstract class PaginationBase<F> extends NrclBase implements AfterViewInit {
|
|
27
|
-
pageStateService: PageStateService;
|
|
28
|
-
changeDetectorRef: ChangeDetectorRef;
|
|
29
|
-
protected _totalRowCount: number;
|
|
30
|
-
get totalRowCount(): number;
|
|
31
|
-
private _pageConfig;
|
|
32
|
-
get pageSize(): number;
|
|
33
|
-
get pageNumber(): number;
|
|
34
|
-
get sortActive(): string;
|
|
35
|
-
get sortDirection(): SortDirection;
|
|
36
|
-
private _filter?;
|
|
37
|
-
get filter(): F;
|
|
38
|
-
protected set filter(f: F);
|
|
39
|
-
protected _instance?: string;
|
|
40
|
-
get instance(): string | undefined;
|
|
41
|
-
ngAfterViewInit(): void;
|
|
42
|
-
onInitPageState(): void;
|
|
43
|
-
clone(obj: any): any;
|
|
44
|
-
onFilterChange(ev: F): Promise<void>;
|
|
45
|
-
onSortChange(ev: Sort): Promise<void>;
|
|
46
|
-
onPageSizeChange(ev: number): Promise<void>;
|
|
47
|
-
onPageNumberChange(ev: number): Promise<void>;
|
|
48
|
-
onPageStateChanged(): Promise<void>;
|
|
49
|
-
protected abstract refresh(): Promise<void>;
|
|
50
|
-
abstract getInitialPageState(): InitialState<F>;
|
|
51
|
-
getCurrentPageState(): PaginationState<F>;
|
|
52
|
-
setCurrentPageState(state: PaginationState<F>): void;
|
|
53
|
-
persistState(state: PaginationState<F>): void;
|
|
54
|
-
retrieveState(): PaginationState<F> | undefined;
|
|
55
|
-
paginateState(id: string): {
|
|
56
|
-
id: string;
|
|
57
|
-
itemsPerPage: number;
|
|
58
|
-
currentPage: number;
|
|
59
|
-
totalItems: number;
|
|
60
|
-
};
|
|
61
|
-
getPagingInfoRequest(query?: string): PagingInfoRequest;
|
|
62
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationBase<any>, never>;
|
|
63
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PaginationBase<any>, never, never, {}, {}, never, never, true, never>;
|
|
64
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter } from "@angular/core";
|
|
2
|
-
import { Observable } from "rxjs";
|
|
3
|
-
import { PageStateService } from "../services/page-state.service";
|
|
4
|
-
import { PaginationBase } from "./pagination.base";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare abstract class RowListBase<F, R, L = any> extends PaginationBase<F> {
|
|
7
|
-
pageStateService: PageStateService;
|
|
8
|
-
changeDetectorRef: ChangeDetectorRef;
|
|
9
|
-
isLoadingChange: EventEmitter<boolean>;
|
|
10
|
-
private _isFirstLoad;
|
|
11
|
-
get isFirstLoad(): boolean;
|
|
12
|
-
private _isLoading;
|
|
13
|
-
get isLoading(): boolean;
|
|
14
|
-
set isLoading(v: boolean);
|
|
15
|
-
private _rows;
|
|
16
|
-
get rows(): R[];
|
|
17
|
-
private _loadRowListRequest?;
|
|
18
|
-
private _inProgress;
|
|
19
|
-
refreshRowList(): Promise<void>;
|
|
20
|
-
loadRowList(): Promise<L>;
|
|
21
|
-
abstract fetchRowListPage(): Observable<L>;
|
|
22
|
-
parseRowList(result: L): Promise<void>;
|
|
23
|
-
abstract parseRows(res: L): R[];
|
|
24
|
-
parseTotalRowCount(res: L): number;
|
|
25
|
-
completedRowListPage(): void;
|
|
26
|
-
loadRowListPageFailed(error: any): void;
|
|
27
|
-
protected refresh(): Promise<void>;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RowListBase<any, any, any>, never>;
|
|
29
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RowListBase<any, any, any>, never, never, {}, { "isLoadingChange": "isLoadingChange"; }, never, never, true, never>;
|
|
30
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TooltipComponent {
|
|
4
|
-
text: string;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "nrcl-default-tooltip", never, { "text": { "alias": "text"; "required": false; }; }, {}, never, never, false, never>;
|
|
7
|
-
}
|
|
8
|
-
export declare class TooltipDirective {
|
|
9
|
-
private overlay;
|
|
10
|
-
private elementRef;
|
|
11
|
-
private viewContainerRef;
|
|
12
|
-
private renderer;
|
|
13
|
-
tooltipTemplate: TemplateRef<any> | string;
|
|
14
|
-
tooltipContext: any;
|
|
15
|
-
tooltipClass?: string;
|
|
16
|
-
tooltipDelay: number;
|
|
17
|
-
private overlayRef;
|
|
18
|
-
private showTooltipTimeout?;
|
|
19
|
-
private hideTooltipTimeout?;
|
|
20
|
-
private mouseEnterListener?;
|
|
21
|
-
private mouseLeaveListener?;
|
|
22
|
-
show(): void;
|
|
23
|
-
hide(): void;
|
|
24
|
-
ngOnDestroy(): void;
|
|
25
|
-
private closeTooltip;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
|
|
27
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[nrclTooltip]", never, { "tooltipTemplate": { "alias": "nrclTooltip"; "required": false; }; "tooltipContext": { "alias": "nrclTooltipContext"; "required": false; }; "tooltipClass": { "alias": "nrclTooltipClass"; "required": false; }; "tooltipDelay": { "alias": "nrclTooltipDelay"; "required": false; }; }, {}, never, never, false, never>;
|
|
28
|
-
static ngAcceptInputType_tooltipDelay: unknown;
|
|
29
|
-
}
|