@bcgov/nr-ngx-component-lib 21.0.98 → 21.1.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/package.json
CHANGED
|
@@ -12,7 +12,6 @@ import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
|
12
12
|
import { SortDirection, Sort } from '@angular/material/sort';
|
|
13
13
|
import { MatTable, MatColumnDef } from '@angular/material/table';
|
|
14
14
|
import { MatSnackBarRef, MatSnackBar } from '@angular/material/snack-bar';
|
|
15
|
-
import * as _angular_material_dialog from '@angular/material/dialog';
|
|
16
15
|
import { MatDialogRef, MatDialog, MatDialogConfig } from '@angular/material/dialog';
|
|
17
16
|
import { MatTabGroup } from '@angular/material/tabs';
|
|
18
17
|
import { MatMenuPanel } from '@angular/material/menu';
|
|
@@ -46,8 +45,10 @@ declare class ApplicationHeaderComponent extends NrclBase {
|
|
|
46
45
|
}
|
|
47
46
|
|
|
48
47
|
type DisplayMode = 'desktop' | 'mobile';
|
|
48
|
+
type InterfaceStyle = '2025' | '2026';
|
|
49
49
|
type Configuration = {
|
|
50
50
|
displayMode: DisplayMode;
|
|
51
|
+
interfaceStyle: InterfaceStyle;
|
|
51
52
|
};
|
|
52
53
|
declare class ConfigurationService {
|
|
53
54
|
private _defaultConfiguration;
|
|
@@ -61,8 +62,8 @@ declare class ConfigurationService {
|
|
|
61
62
|
}
|
|
62
63
|
|
|
63
64
|
declare class ConfigurationSubscriberBase extends NrclBase implements OnInit, OnDestroy {
|
|
64
|
-
configurationSubscription
|
|
65
|
-
configuration
|
|
65
|
+
configurationSubscription?: Subscription;
|
|
66
|
+
configuration?: Configuration;
|
|
66
67
|
configurationService: ConfigurationService;
|
|
67
68
|
changeDetectorRef: ChangeDetectorRef;
|
|
68
69
|
ngOnInit(): void;
|
|
@@ -70,6 +71,8 @@ declare class ConfigurationSubscriberBase extends NrclBase implements OnInit, On
|
|
|
70
71
|
onConfigurationChange(): void;
|
|
71
72
|
get desktopVisible(): boolean;
|
|
72
73
|
get mobileVisible(): boolean;
|
|
74
|
+
get isStyle2025(): boolean;
|
|
75
|
+
get isStyle2026(): boolean;
|
|
73
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationSubscriberBase, never>;
|
|
74
77
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ConfigurationSubscriberBase, never, never, {}, {}, never, never, true, never>;
|
|
75
78
|
}
|
|
@@ -203,7 +206,7 @@ declare class FilterContainerComponent extends NrclBase {
|
|
|
203
206
|
static ɵcmp: i0.ɵɵComponentDeclaration<FilterContainerComponent, "nrcl-filter-container", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "wide": { "alias": "wide"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
204
207
|
}
|
|
205
208
|
|
|
206
|
-
declare class FilterDateComponent extends NrclBase
|
|
209
|
+
declare class FilterDateComponent extends NrclBase {
|
|
207
210
|
label: string;
|
|
208
211
|
placeholder: string;
|
|
209
212
|
hint?: string;
|
|
@@ -213,7 +216,6 @@ declare class FilterDateComponent extends NrclBase implements OnChanges {
|
|
|
213
216
|
valueChange: EventEmitter<string>;
|
|
214
217
|
picker?: MatDatepicker<Moment>;
|
|
215
218
|
input?: MatInput;
|
|
216
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
217
219
|
onDateChange(ev: Moment): void;
|
|
218
220
|
onInputFocus(): void;
|
|
219
221
|
onCancelClick(): void;
|
|
@@ -775,7 +777,7 @@ declare class TagListComponent extends NrclBase {
|
|
|
775
777
|
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"], true, never>;
|
|
776
778
|
}
|
|
777
779
|
|
|
778
|
-
declare class DialogComponent extends
|
|
780
|
+
declare class DialogComponent extends ConfigurationSubscriberBase {
|
|
779
781
|
title?: string;
|
|
780
782
|
isLoading: boolean;
|
|
781
783
|
showClose: boolean;
|
|
@@ -867,6 +869,7 @@ declare class TabGroupComponent extends NrclBase implements OnChanges, AfterView
|
|
|
867
869
|
changeDetectorRef: ChangeDetectorRef;
|
|
868
870
|
standard: boolean;
|
|
869
871
|
classic: boolean;
|
|
872
|
+
stretched: boolean;
|
|
870
873
|
selectedTab: number;
|
|
871
874
|
selectedTabChange: EventEmitter<{
|
|
872
875
|
index: number;
|
|
@@ -882,9 +885,10 @@ declare class TabGroupComponent extends NrclBase implements OnChanges, AfterView
|
|
|
882
885
|
updateState(): void;
|
|
883
886
|
onSelectedIndexChange(index: number): void;
|
|
884
887
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabGroupComponent, never>;
|
|
885
|
-
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, true, never>;
|
|
888
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabGroupComponent, "nrcl-tab-group", never, { "standard": { "alias": "standard"; "required": false; }; "classic": { "alias": "classic"; "required": false; }; "stretched": { "alias": "stretched"; "required": false; }; "selectedTab": { "alias": "selectedTab"; "required": false; }; }, { "selectedTabChange": "selectedTabChange"; "activateTab": "activateTab"; }, ["tabs"], never, true, never>;
|
|
886
889
|
static ngAcceptInputType_standard: unknown;
|
|
887
890
|
static ngAcceptInputType_classic: unknown;
|
|
891
|
+
static ngAcceptInputType_stretched: unknown;
|
|
888
892
|
}
|
|
889
893
|
|
|
890
894
|
declare class LoadingStatusComponent extends NrclBase {
|
|
@@ -1079,8 +1083,9 @@ declare class SnackbarUtilService {
|
|
|
1079
1083
|
declare class DialogService {
|
|
1080
1084
|
configurationService: ConfigurationService;
|
|
1081
1085
|
matDialog: MatDialog;
|
|
1082
|
-
openDialog<D extends DialogBase<C, R>, C, R>(dialog: ComponentType<D>, data: C, additionalConfig?: MatDialogConfig):
|
|
1083
|
-
|
|
1086
|
+
openDialog<D extends DialogBase<C, R>, C, R>(dialog: ComponentType<D>, data: C, additionalConfig?: MatDialogConfig): MatDialogRef<D, DialogBaseResult<R>>;
|
|
1087
|
+
openDialogTemplate<T, C, R>(dialog: TemplateRef<T>, data: C, additionalConfig?: MatDialogConfig): MatDialogRef<T, DialogBaseResult<R>>;
|
|
1088
|
+
openConfirmDialog(config: DialogConfirmConfig, additionalConfig?: MatDialogConfig): MatDialogRef<DialogConfirmComponent, DialogBaseResult<DialogBaseResult<void>>>;
|
|
1084
1089
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
|
|
1085
1090
|
static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
|
|
1086
1091
|
}
|
|
@@ -1126,4 +1131,4 @@ declare class ObservableAborterGroup<T> {
|
|
|
1126
1131
|
}
|
|
1127
1132
|
|
|
1128
1133
|
export { Aborted, ApplicationComponent, ApplicationHeaderComponent, ApplicationMenuComponent, ButtonComponent, CellContentComponent, CodeTable, ConfigurationService, ConfigurationSubscriberBase, DATE_FORMATS, DateNavigatorComponent, DesktopViewDirective, DeviceViewComponent, DialogBase, DialogComponent, DialogConfirmComponent, DialogService, ExpansionPanelComponent, ExpansionPanelFooterComponent, ExpansionPanelHeaderComponent, ExpansionPanelSectionComponent, FilterContainerComponent, FilterDateComponent, FilterSearchComponent, FilterSelectComponent, FiltersPanelComponent, FormFieldComponent, FormLayoutComponent, GapComponent, IconComponent, IndicatorComponent, IndicatorSelectComponent, ListAttachmentsComponent, ListEventHistoryComponent, ListSelectComponent, LoadingStatusComponent, MobileViewDirective, NrclBase, ObservableAborter, ObservableAborterGroup, PageContainerComponent, PageHeaderComponent, PageStateService, PaginationBase, ResourceScheduleComponent, ResourceScheduleRowHeadingDirective, RowListBase, RowListDesktopComponent, RowListMobileComponent, RowListPaginationComponent, RowListSortingComponent, ScheduleComponent, ScheduleItemDirective, ScheduleRowHeadingDirective, SnackbarComponent, SnackbarUtilService, TabComponent, TabContentDirective, TabGroupComponent, TabLabelDirective, TagListComponent, TooltipComponent, TooltipDirective, mapToCodeDescription, unwrapFilterValue, wrapFilterValue };
|
|
1129
|
-
export type { ActivateTabEvent, AttachmentRowListProvider, AttachmentsTableRow, CodeDescription, Configuration, DialogBaseResult, DialogConfirmConfig, DisplayMode, EventHistoryRowListProvider, EventHistoryTableRow, FetchAttachmentsParameters, FetchEventHistoryParameters, FetchScheduleRowParameters, InitialAttachmentsState, InitialEventHistoryState, InitialState, MenuItem, PaginationConfig, PaginationState, PagingInfoRequest, ResourceSchedule, ResourceScheduleItemTypes, ResourceScheduleRow, ResourceScheduleRowItem, RowListPaginationWidth, Schedule, ScheduleProvider, ScheduleRow, ScheduleRowItem, SnackbarConfig, SnackbarType, TagItem };
|
|
1134
|
+
export type { ActivateTabEvent, AttachmentRowListProvider, AttachmentsTableRow, CodeDescription, Configuration, DialogBaseResult, DialogConfirmConfig, DisplayMode, EventHistoryRowListProvider, EventHistoryTableRow, FetchAttachmentsParameters, FetchEventHistoryParameters, FetchScheduleRowParameters, InitialAttachmentsState, InitialEventHistoryState, InitialState, InterfaceStyle, MenuItem, PaginationConfig, PaginationState, PagingInfoRequest, ResourceSchedule, ResourceScheduleItemTypes, ResourceScheduleRow, ResourceScheduleRowItem, RowListPaginationWidth, Schedule, ScheduleProvider, ScheduleRow, ScheduleRowItem, SnackbarConfig, SnackbarType, TagItem };
|