@bcgov/nr-ngx-component-lib 21.0.99 → 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
|
}
|
|
@@ -774,7 +777,7 @@ declare class TagListComponent extends NrclBase {
|
|
|
774
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>;
|
|
775
778
|
}
|
|
776
779
|
|
|
777
|
-
declare class DialogComponent extends
|
|
780
|
+
declare class DialogComponent extends ConfigurationSubscriberBase {
|
|
778
781
|
title?: string;
|
|
779
782
|
isLoading: boolean;
|
|
780
783
|
showClose: boolean;
|
|
@@ -1080,8 +1083,9 @@ declare class SnackbarUtilService {
|
|
|
1080
1083
|
declare class DialogService {
|
|
1081
1084
|
configurationService: ConfigurationService;
|
|
1082
1085
|
matDialog: MatDialog;
|
|
1083
|
-
openDialog<D extends DialogBase<C, R>, C, R>(dialog: ComponentType<D>, data: C, additionalConfig?: MatDialogConfig):
|
|
1084
|
-
|
|
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>>>;
|
|
1085
1089
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
|
|
1086
1090
|
static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
|
|
1087
1091
|
}
|
|
@@ -1127,4 +1131,4 @@ declare class ObservableAborterGroup<T> {
|
|
|
1127
1131
|
}
|
|
1128
1132
|
|
|
1129
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 };
|
|
1130
|
-
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 };
|