@bcgov/nr-ngx-component-lib 0.0.88 → 0.0.90
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/components/application/application.component.d.ts +6 -0
- package/components/application-header/application-header.component.d.ts +10 -10
- package/components/application-menu/application-menu.component.d.ts +17 -0
- package/components/button/button.component.d.ts +2 -1
- package/components/dialog-confirm/dialog-confirm.component.d.ts +2 -0
- package/components/icon/icon.component.d.ts +3 -0
- package/esm2022/components/application/application.component.mjs +12 -0
- package/esm2022/components/application-header/application-header.component.mjs +35 -32
- package/esm2022/components/application-menu/application-menu.component.mjs +32 -0
- package/esm2022/components/button/button.component.mjs +5 -3
- package/esm2022/components/date-navigator/date-navigator.component.mjs +1 -1
- package/esm2022/components/dialog/dialog.component.mjs +3 -3
- package/esm2022/components/dialog-confirm/dialog-confirm.component.mjs +4 -3
- package/esm2022/components/expansion-panel/footer/expansion-panel-footer.component.mjs +1 -1
- package/esm2022/components/filter-date/filter-date.component.mjs +1 -1
- package/esm2022/components/filter-search/filter-search.component.mjs +1 -1
- package/esm2022/components/filter-select/filter-select.component.mjs +1 -1
- package/esm2022/components/filters-panel/filters-panel.component.mjs +1 -1
- package/esm2022/components/icon/icon.component.mjs +40 -3
- package/esm2022/components/list-attachments/list-attachments.component.mjs +1 -1
- package/esm2022/components/resource-schedule/resource-schedule.component.mjs +2 -2
- package/esm2022/nr-ngx-component-lib.module.mjs +16 -6
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/bcgov-nr-ngx-component-lib.mjs +205 -117
- package/fesm2022/bcgov-nr-ngx-component-lib.mjs.map +1 -1
- package/nr-ngx-component-lib.module.d.ts +67 -65
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/styles/global.scss +43 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { NrclBase } from '../../directives/nrcl.base';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ApplicationComponent extends NrclBase {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ApplicationComponent, "nrcl-application", never, {}, {}, never, ["nrcl-application-header", "*"], false, never>;
|
|
6
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
1
2
|
import { NrclBase } from '../../directives/nrcl.base';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class ApplicationHeaderComponent extends NrclBase {
|
|
4
|
-
skipLinksEnabled: boolean;
|
|
5
|
-
showMenu: boolean;
|
|
6
|
-
homeUrl: string;
|
|
7
|
-
skipLinkTarget: string;
|
|
8
|
-
skipLinkLabel: string;
|
|
9
5
|
title: string;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
6
|
+
logoAriaLabel: string;
|
|
7
|
+
skipLabel: string;
|
|
8
|
+
clickLogo: EventEmitter<any>;
|
|
9
|
+
clickSkip: EventEmitter<any>;
|
|
10
|
+
onClickLogo(): void;
|
|
11
|
+
onKeyDownLogo(ev: any): void;
|
|
12
|
+
onClickSkip(): void;
|
|
13
|
+
onKeyDownSkip(ev: any): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationHeaderComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ApplicationHeaderComponent, "nrcl-application-header", never, { "
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ApplicationHeaderComponent, "nrcl-application-header", never, { "title": { "alias": "title"; "required": false; }; "logoAriaLabel": { "alias": "logoAriaLabel"; "required": false; }; "skipLabel": { "alias": "skipLabel"; "required": false; }; }, { "clickLogo": "clickLogo"; "clickSkip": "clickSkip"; }, never, ["nrcl-application-menu"], false, never>;
|
|
16
16
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { ConfigurationSubscriberBase } from "../../directives/configuration-subscriber.base";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface MenuItem {
|
|
5
|
+
id: string;
|
|
6
|
+
label: string;
|
|
7
|
+
icon?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare class ApplicationMenuComponent extends ConfigurationSubscriberBase {
|
|
10
|
+
label?: string;
|
|
11
|
+
icon: string;
|
|
12
|
+
items: MenuItem[];
|
|
13
|
+
itemClick: EventEmitter<string>;
|
|
14
|
+
onClickItem(item: MenuItem): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationMenuComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ApplicationMenuComponent, "nrcl-application-menu", never, { "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "itemClick": "itemClick"; }, never, never, false, never>;
|
|
17
|
+
}
|
|
@@ -4,6 +4,7 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class ButtonComponent extends ConfigurationSubscriberBase implements OnChanges {
|
|
5
5
|
zone: NgZone;
|
|
6
6
|
label?: string;
|
|
7
|
+
ariaLabel?: string;
|
|
7
8
|
icon?: string;
|
|
8
9
|
iconRight?: string;
|
|
9
10
|
iconCompact?: string;
|
|
@@ -38,7 +39,7 @@ export declare class ButtonComponent extends ConfigurationSubscriberBase impleme
|
|
|
38
39
|
onConfigurationChange(): void;
|
|
39
40
|
updateState(): void;
|
|
40
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "nrcl-button", never, { "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconRight": { "alias": "iconRight"; "required": false; }; "iconCompact": { "alias": "iconCompact"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "small": { "alias": "small"; "required": false; }; "primary": { "alias": "primary"; "required": false; }; "secondary": { "alias": "secondary"; "required": false; }; "tertiary": { "alias": "tertiary"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "anchor": { "alias": "anchor"; "required": false; }; }, { "click": "click"; }, never, ["*"], false, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "nrcl-button", never, { "label": { "alias": "label"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconRight": { "alias": "iconRight"; "required": false; }; "iconCompact": { "alias": "iconCompact"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "small": { "alias": "small"; "required": false; }; "primary": { "alias": "primary"; "required": false; }; "secondary": { "alias": "secondary"; "required": false; }; "tertiary": { "alias": "tertiary"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "anchor": { "alias": "anchor"; "required": false; }; }, { "click": "click"; }, never, ["*"], false, never>;
|
|
42
43
|
static ngAcceptInputType_primary: unknown;
|
|
43
44
|
static ngAcceptInputType_secondary: unknown;
|
|
44
45
|
static ngAcceptInputType_tertiary: unknown;
|
|
@@ -7,11 +7,13 @@ export type DialogConfirmConfig = {
|
|
|
7
7
|
cancelLabel?: any;
|
|
8
8
|
template: TemplateRef<any>;
|
|
9
9
|
context?: any;
|
|
10
|
+
showActions?: boolean;
|
|
10
11
|
};
|
|
11
12
|
export declare class DialogConfirmComponent extends DialogBase<DialogConfirmConfig> {
|
|
12
13
|
title: any;
|
|
13
14
|
saveLabel: any;
|
|
14
15
|
cancelLabel: any;
|
|
16
|
+
showActions: boolean;
|
|
15
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogConfirmComponent, never>;
|
|
16
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<DialogConfirmComponent, "nrcl-dialog-confirm", never, {}, {}, never, never, false, never>;
|
|
17
19
|
}
|
|
@@ -16,8 +16,11 @@ export declare class IconComponent extends NrclBase implements AfterContentInit
|
|
|
16
16
|
static ngAcceptInputType_large: unknown;
|
|
17
17
|
}
|
|
18
18
|
declare const ICON: {
|
|
19
|
+
empty: string;
|
|
19
20
|
'clear-filters': string;
|
|
20
21
|
'user-clock': string;
|
|
21
22
|
roster: string;
|
|
23
|
+
'home-outline': string;
|
|
24
|
+
'mcp-server': string;
|
|
22
25
|
};
|
|
23
26
|
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component } from "@angular/core";
|
|
2
|
+
import { NrclBase } from '../../directives/nrcl.base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class ApplicationComponent extends NrclBase {
|
|
5
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ApplicationComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
6
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: ApplicationComponent, selector: "nrcl-application", usesInheritance: true, ngImport: i0, template: "<ng-content select=\"nrcl-application-header\"></ng-content>\n\n<main>\n <ng-content></ng-content>\n</main>\n", styles: [":host{display:block;font-family:var(--nrcl-font-family);height:100%;overflow:auto;padding:var(--nrcl-gutter-space)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7
|
+
}
|
|
8
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ApplicationComponent, decorators: [{
|
|
9
|
+
type: Component,
|
|
10
|
+
args: [{ selector: "nrcl-application", changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"nrcl-application-header\"></ng-content>\n\n<main>\n <ng-content></ng-content>\n</main>\n", styles: [":host{display:block;font-family:var(--nrcl-font-family);height:100%;overflow:auto;padding:var(--nrcl-gutter-space)}\n"] }]
|
|
11
|
+
}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