@bcgov/nr-ngx-component-lib 21.0.99 → 21.1.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/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
|
}
|
|
@@ -210,6 +213,10 @@ declare class FilterDateComponent extends NrclBase {
|
|
|
210
213
|
value: string | undefined;
|
|
211
214
|
wide?: string;
|
|
212
215
|
clear: boolean;
|
|
216
|
+
min?: string;
|
|
217
|
+
minErrorMessage: string;
|
|
218
|
+
max?: string;
|
|
219
|
+
maxErrorMessage: string;
|
|
213
220
|
valueChange: EventEmitter<string>;
|
|
214
221
|
picker?: MatDatepicker<Moment>;
|
|
215
222
|
input?: MatInput;
|
|
@@ -219,7 +226,7 @@ declare class FilterDateComponent extends NrclBase {
|
|
|
219
226
|
get isOpen(): boolean;
|
|
220
227
|
get hasValue(): boolean;
|
|
221
228
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterDateComponent, never>;
|
|
222
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilterDateComponent, "nrcl-filter-date", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "value": { "alias": "value"; "required": false; }; "wide": { "alias": "wide"; "required": false; }; "clear": { "alias": "clear"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
229
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterDateComponent, "nrcl-filter-date", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "value": { "alias": "value"; "required": false; }; "wide": { "alias": "wide"; "required": false; }; "clear": { "alias": "clear"; "required": false; }; "min": { "alias": "min"; "required": false; }; "minErrorMessage": { "alias": "minErrorMessage"; "required": false; }; "max": { "alias": "max"; "required": false; }; "maxErrorMessage": { "alias": "maxErrorMessage"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
223
230
|
static ngAcceptInputType_clear: unknown;
|
|
224
231
|
}
|
|
225
232
|
|
|
@@ -774,7 +781,7 @@ declare class TagListComponent extends NrclBase {
|
|
|
774
781
|
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
782
|
}
|
|
776
783
|
|
|
777
|
-
declare class DialogComponent extends
|
|
784
|
+
declare class DialogComponent extends ConfigurationSubscriberBase {
|
|
778
785
|
title?: string;
|
|
779
786
|
isLoading: boolean;
|
|
780
787
|
showClose: boolean;
|
|
@@ -1080,8 +1087,9 @@ declare class SnackbarUtilService {
|
|
|
1080
1087
|
declare class DialogService {
|
|
1081
1088
|
configurationService: ConfigurationService;
|
|
1082
1089
|
matDialog: MatDialog;
|
|
1083
|
-
openDialog<D extends DialogBase<C, R>, C, R>(dialog: ComponentType<D>, data: C, additionalConfig?: MatDialogConfig):
|
|
1084
|
-
|
|
1090
|
+
openDialog<D extends DialogBase<C, R>, C, R>(dialog: ComponentType<D>, data: C, additionalConfig?: MatDialogConfig): MatDialogRef<D, DialogBaseResult<R>>;
|
|
1091
|
+
openDialogTemplate<T, C, R>(dialog: TemplateRef<T>, data: C, additionalConfig?: MatDialogConfig): MatDialogRef<T, DialogBaseResult<R>>;
|
|
1092
|
+
openConfirmDialog(config: DialogConfirmConfig, additionalConfig?: MatDialogConfig): MatDialogRef<DialogConfirmComponent, DialogBaseResult<DialogBaseResult<void>>>;
|
|
1085
1093
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
|
|
1086
1094
|
static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
|
|
1087
1095
|
}
|
|
@@ -1127,4 +1135,4 @@ declare class ObservableAborterGroup<T> {
|
|
|
1127
1135
|
}
|
|
1128
1136
|
|
|
1129
1137
|
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 };
|
|
1138
|
+
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 };
|