@huntsman-cancer-institute/reporting-framework 16.0.1 → 17.0.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.
Files changed (32) hide show
  1. package/datepicker/report-datepicker.component.d.ts +16 -16
  2. package/esm2022/datepicker/report-datepicker.component.mjs +61 -61
  3. package/esm2022/format/format.component.mjs +23 -23
  4. package/esm2022/huntsman-cancer-institute-reporting-framework.mjs +4 -4
  5. package/esm2022/index.mjs +2 -2
  6. package/esm2022/model/format.model.mjs +2 -2
  7. package/esm2022/model/option.model.mjs +2 -2
  8. package/esm2022/model/param.model.mjs +18 -18
  9. package/esm2022/model/report-tab.model.mjs +2 -2
  10. package/esm2022/model/report.model.mjs +6 -6
  11. package/esm2022/parameter/parameter.component.mjs +23 -23
  12. package/esm2022/report.module.mjs +79 -79
  13. package/esm2022/reporting-framework.component.mjs +424 -424
  14. package/esm2022/resizable-divider/resizable-section-divider.component.mjs +122 -122
  15. package/esm2022/spinner/dialogs.service.mjs +99 -99
  16. package/esm2022/spinner/spinner-dialog.component.mjs +45 -45
  17. package/fesm2022/huntsman-cancer-institute-reporting-framework.mjs +821 -821
  18. package/fesm2022/huntsman-cancer-institute-reporting-framework.mjs.map +1 -1
  19. package/format/format.component.d.ts +11 -11
  20. package/index.d.ts +2 -2
  21. package/model/format.model.d.ts +6 -6
  22. package/model/option.model.d.ts +5 -5
  23. package/model/param.model.d.ts +16 -16
  24. package/model/report-tab.model.d.ts +7 -7
  25. package/model/report.model.d.ts +15 -15
  26. package/package.json +16 -7
  27. package/parameter/parameter.component.d.ts +9 -9
  28. package/report.module.d.ts +21 -21
  29. package/reporting-framework.component.d.ts +58 -58
  30. package/resizable-divider/resizable-section-divider.component.d.ts +23 -23
  31. package/spinner/dialogs.service.d.ts +30 -30
  32. package/spinner/spinner-dialog.component.d.ts +12 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huntsman-cancer-institute/reporting-framework",
3
- "version": "16.0.1",
3
+ "version": "17.0.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git@gitlab.com:huntsman-cancer-institute/risr/ng/hci-ng-lib.git"
@@ -10,19 +10,28 @@
10
10
  "access": "public"
11
11
  },
12
12
  "peerDependencies": {
13
- "@angular/animations": "^16.x",
14
- "@angular/common": "^16.x",
15
- "@angular/core": "^16.x",
16
- "@angular/forms": "^16.x",
13
+ "@angular/animations": "^17.x",
14
+ "@angular/common": "^17.x",
15
+ "@angular/core": "^17.x",
16
+ "@angular/forms": "^17.x",
17
17
  "@angular/material": "^16.x",
18
18
  "ag-grid-angular": "^28.x",
19
19
  "ag-grid-community": "^28.x"
20
20
  },
21
21
  "dependencies": {
22
- "@huntsman-cancer-institute/dictionary-service": "16.0.1",
23
- "@huntsman-cancer-institute/input": "16.0.1",
22
+ "@huntsman-cancer-institute/dictionary-service": "^17.x",
23
+ "@huntsman-cancer-institute/input": "^17.x",
24
24
  "tslib": "^2.3.0"
25
25
  },
26
+ "overrides": {
27
+ "@ng-bootstrap/ng-bootstrap": {
28
+ ".": "^15.0.0",
29
+ "@angular/common": ">=16.0.0",
30
+ "@angular/core": ">=16.0.0",
31
+ "@angular/forms": ">=16.0.0",
32
+ "@angular/localize": ">=16.0.0"
33
+ }
34
+ },
26
35
  "module": "fesm2022/huntsman-cancer-institute-reporting-framework.mjs",
27
36
  "typings": "index.d.ts",
28
37
  "exports": {
@@ -1,9 +1,9 @@
1
- import { Param } from "../model/param.model";
2
- import * as i0 from "@angular/core";
3
- export declare class ParameterComponent {
4
- param: Param;
5
- entries: any[];
6
- setParam(p: Param): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<ParameterComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<ParameterComponent, "hci-parameter", never, {}, {}, never, never, false, never>;
9
- }
1
+ import { Param } from "../model/param.model";
2
+ import * as i0 from "@angular/core";
3
+ export declare class ParameterComponent {
4
+ param: Param;
5
+ entries: any[];
6
+ setParam(p: Param): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ParameterComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<ParameterComponent, "hci-parameter", never, {}, {}, never, never, false, never>;
9
+ }
@@ -1,21 +1,21 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./reporting-framework.component";
3
- import * as i2 from "./datepicker/report-datepicker.component";
4
- import * as i3 from "./parameter/parameter.component";
5
- import * as i4 from "./format/format.component";
6
- import * as i5 from "./spinner/spinner-dialog.component";
7
- import * as i6 from "./resizable-divider/resizable-section-divider.component";
8
- import * as i7 from "@angular/common";
9
- import * as i8 from "@angular/forms";
10
- import * as i9 from "@ng-bootstrap/ng-bootstrap";
11
- import * as i10 from "@angular/material/datepicker";
12
- import * as i11 from "@angular/material/legacy-dialog";
13
- import * as i12 from "@angular/material/legacy-progress-spinner";
14
- import * as i13 from "@angular/material/legacy-tabs";
15
- import * as i14 from "@huntsman-cancer-institute/input";
16
- import * as i15 from "ag-grid-angular";
17
- export declare class ReportModule {
18
- static ɵfac: i0.ɵɵFactoryDeclaration<ReportModule, never>;
19
- static ɵmod: i0.ɵɵNgModuleDeclaration<ReportModule, [typeof i1.ReportingFrameworkComponent, typeof i2.ReportDatepickerComponent, typeof i3.ParameterComponent, typeof i4.FormatComponent, typeof i5.SpinnerDialogComponent, typeof i6.ResizableSectionDividerComponent], [typeof i7.CommonModule, typeof i8.FormsModule, typeof i9.NgbModule, typeof i10.MatDatepickerModule, typeof i11.MatLegacyDialogModule, typeof i12.MatLegacyProgressSpinnerModule, typeof i13.MatLegacyTabsModule, typeof i14.SelectModule, typeof i15.AgGridModule], [typeof i1.ReportingFrameworkComponent]>;
20
- static ɵinj: i0.ɵɵInjectorDeclaration<ReportModule>;
21
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./reporting-framework.component";
3
+ import * as i2 from "./datepicker/report-datepicker.component";
4
+ import * as i3 from "./parameter/parameter.component";
5
+ import * as i4 from "./format/format.component";
6
+ import * as i5 from "./spinner/spinner-dialog.component";
7
+ import * as i6 from "./resizable-divider/resizable-section-divider.component";
8
+ import * as i7 from "@angular/common";
9
+ import * as i8 from "@angular/forms";
10
+ import * as i9 from "@ng-bootstrap/ng-bootstrap";
11
+ import * as i10 from "@angular/material/datepicker";
12
+ import * as i11 from "@angular/material/legacy-dialog";
13
+ import * as i12 from "@angular/material/legacy-progress-spinner";
14
+ import * as i13 from "@angular/material/legacy-tabs";
15
+ import * as i14 from "@huntsman-cancer-institute/input";
16
+ import * as i15 from "ag-grid-angular";
17
+ export declare class ReportModule {
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReportModule, never>;
19
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ReportModule, [typeof i1.ReportingFrameworkComponent, typeof i2.ReportDatepickerComponent, typeof i3.ParameterComponent, typeof i4.FormatComponent, typeof i5.SpinnerDialogComponent, typeof i6.ResizableSectionDividerComponent], [typeof i7.CommonModule, typeof i8.FormsModule, typeof i9.NgbModule, typeof i10.MatDatepickerModule, typeof i11.MatLegacyDialogModule, typeof i12.MatLegacyProgressSpinnerModule, typeof i13.MatLegacyTabsModule, typeof i14.SelectModule, typeof i15.AgGridModule], [typeof i1.ReportingFrameworkComponent]>;
20
+ static ɵinj: i0.ɵɵInjectorDeclaration<ReportModule>;
21
+ }
@@ -1,58 +1,58 @@
1
- import { ComponentFactoryResolver, ComponentRef, OnDestroy, OnInit, ViewContainerRef } from "@angular/core";
2
- import { HttpClient, HttpParams } from "@angular/common/http";
3
- import { Report } from "./model/report.model";
4
- import { ReportTab } from "./model/report-tab.model";
5
- import { DatePipe } from "@angular/common";
6
- import { NgbModal } from "@ng-bootstrap/ng-bootstrap";
7
- import { DialogsService } from "./spinner/dialogs.service";
8
- import { GridApi } from "ag-grid-community";
9
- import * as i0 from "@angular/core";
10
- export declare class ReportingFrameworkComponent implements OnInit, OnDestroy {
11
- private http;
12
- private resolver;
13
- private datePipe;
14
- private dialogsService;
15
- private modalService;
16
- manageReportUrl: string;
17
- commandPrefix: string;
18
- dictAPILeadIn: string;
19
- reportsByType: string;
20
- paramContainer: ViewContainerRef;
21
- formatContainer: ViewContainerRef;
22
- fullGridList: any[];
23
- tabbedGridList: any;
24
- gridOptions: {
25
- rowStyle: {
26
- "font-family": string;
27
- };
28
- rowHeight: number;
29
- enableCellTextSelection: boolean;
30
- ensureDomOrder: boolean;
31
- };
32
- frameworkComponents: any;
33
- mainGridApi: GridApi;
34
- tabbedGridApiList: any;
35
- reportList: Report[];
36
- tabList: ReportTab[];
37
- tabTypeNameLookup: any;
38
- selectedReport: Report;
39
- selectedFormat: string;
40
- displayedParamComponentRefs: ComponentRef<any>[];
41
- displayedFormatComponentRefs: ComponentRef<any>[];
42
- constructor(http: HttpClient, resolver: ComponentFactoryResolver, datePipe: DatePipe, dialogsService: DialogsService, modalService: NgbModal);
43
- ngOnInit(): void;
44
- columnDef(): any[];
45
- onMainGridReady(params: any): void;
46
- onTabbedGridReady(params: any, tabname: string): void;
47
- setSelectedRow(event: any): void;
48
- createParamComponents(): void;
49
- openHelp(content: any): void;
50
- private getDismissReason;
51
- onRunReport(): void;
52
- getRunParameters(runParams: HttpParams): HttpParams;
53
- getDateString(date: any): string;
54
- destroyComponentRefs(): void;
55
- ngOnDestroy(): void;
56
- static ɵfac: i0.ɵɵFactoryDeclaration<ReportingFrameworkComponent, never>;
57
- static ɵcmp: i0.ɵɵComponentDeclaration<ReportingFrameworkComponent, "hci-reporting-framework", never, { "manageReportUrl": { "alias": "manageReportUrl"; "required": false; }; "commandPrefix": { "alias": "commandPrefix"; "required": false; }; "dictAPILeadIn": { "alias": "dictAPILeadIn"; "required": false; }; "reportsByType": { "alias": "reportsByType"; "required": false; }; }, {}, never, never, false, never>;
58
- }
1
+ import { ComponentFactoryResolver, ComponentRef, OnDestroy, OnInit, ViewContainerRef } from "@angular/core";
2
+ import { HttpClient, HttpParams } from "@angular/common/http";
3
+ import { Report } from "./model/report.model";
4
+ import { ReportTab } from "./model/report-tab.model";
5
+ import { DatePipe } from "@angular/common";
6
+ import { NgbModal } from "@ng-bootstrap/ng-bootstrap";
7
+ import { DialogsService } from "./spinner/dialogs.service";
8
+ import { GridApi } from "ag-grid-community";
9
+ import * as i0 from "@angular/core";
10
+ export declare class ReportingFrameworkComponent implements OnInit, OnDestroy {
11
+ private http;
12
+ private resolver;
13
+ private datePipe;
14
+ private dialogsService;
15
+ private modalService;
16
+ manageReportUrl: string;
17
+ commandPrefix: string;
18
+ dictAPILeadIn: string;
19
+ reportsByType: string;
20
+ paramContainer: ViewContainerRef;
21
+ formatContainer: ViewContainerRef;
22
+ fullGridList: any[];
23
+ tabbedGridList: any;
24
+ gridOptions: {
25
+ rowStyle: {
26
+ "font-family": string;
27
+ };
28
+ rowHeight: number;
29
+ enableCellTextSelection: boolean;
30
+ ensureDomOrder: boolean;
31
+ };
32
+ frameworkComponents: any;
33
+ mainGridApi: GridApi;
34
+ tabbedGridApiList: any;
35
+ reportList: Report[];
36
+ tabList: ReportTab[];
37
+ tabTypeNameLookup: any;
38
+ selectedReport: Report;
39
+ selectedFormat: string;
40
+ displayedParamComponentRefs: ComponentRef<any>[];
41
+ displayedFormatComponentRefs: ComponentRef<any>[];
42
+ constructor(http: HttpClient, resolver: ComponentFactoryResolver, datePipe: DatePipe, dialogsService: DialogsService, modalService: NgbModal);
43
+ ngOnInit(): void;
44
+ columnDef(): any[];
45
+ onMainGridReady(params: any): void;
46
+ onTabbedGridReady(params: any, tabname: string): void;
47
+ setSelectedRow(event: any): void;
48
+ createParamComponents(): void;
49
+ openHelp(content: any): void;
50
+ private getDismissReason;
51
+ onRunReport(): void;
52
+ getRunParameters(runParams: HttpParams): HttpParams;
53
+ getDateString(date: any): string;
54
+ destroyComponentRefs(): void;
55
+ ngOnDestroy(): void;
56
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReportingFrameworkComponent, never>;
57
+ static ɵcmp: i0.ɵɵComponentDeclaration<ReportingFrameworkComponent, "hci-reporting-framework", never, { "manageReportUrl": { "alias": "manageReportUrl"; "required": false; }; "commandPrefix": { "alias": "commandPrefix"; "required": false; }; "dictAPILeadIn": { "alias": "dictAPILeadIn"; "required": false; }; "reportsByType": { "alias": "reportsByType"; "required": false; }; }, {}, never, never, false, never>;
58
+ }
@@ -1,23 +1,23 @@
1
- import { AfterViewInit, ElementRef, OnDestroy } from "@angular/core";
2
- import * as i0 from "@angular/core";
3
- export declare class ResizableSectionDividerComponent implements AfterViewInit, OnDestroy {
4
- initialPercentage: number;
5
- isVerticalLayout: boolean;
6
- maxPercentage: number;
7
- minPercentage: number;
8
- verticalContainer: ElementRef;
9
- horizontalContainer: ElementRef;
10
- sectionSize: number;
11
- dragging: boolean;
12
- grabberOffset: number;
13
- private verticalTouchFunction;
14
- private horizontalTouchFunction;
15
- private elementObserver;
16
- ngOnInit(): void;
17
- ngAfterViewInit(): void;
18
- mouseMove(event: MouseEvent): void;
19
- mouseUp(event: MouseEvent): void;
20
- ngOnDestroy(): void;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<ResizableSectionDividerComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<ResizableSectionDividerComponent, "resizable-section-divider", never, { "initialPercentage": { "alias": "initialPercentage"; "required": false; }; "isVerticalLayout": { "alias": "isVerticalLayout"; "required": false; }; "maxPercentage": { "alias": "maxPercentage"; "required": false; }; "minPercentage": { "alias": "minPercentage"; "required": false; }; }, {}, never, ["[topSection]", "[bottomSection]", "[leftSection]", "[rightSection]"], false, never>;
23
- }
1
+ import { AfterViewInit, ElementRef, OnDestroy } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class ResizableSectionDividerComponent implements AfterViewInit, OnDestroy {
4
+ initialPercentage: number;
5
+ isVerticalLayout: boolean;
6
+ maxPercentage: number;
7
+ minPercentage: number;
8
+ verticalContainer: ElementRef;
9
+ horizontalContainer: ElementRef;
10
+ sectionSize: number;
11
+ dragging: boolean;
12
+ grabberOffset: number;
13
+ private verticalTouchFunction;
14
+ private horizontalTouchFunction;
15
+ private elementObserver;
16
+ ngOnInit(): void;
17
+ ngAfterViewInit(): void;
18
+ mouseMove(event: MouseEvent): void;
19
+ mouseUp(event: MouseEvent): void;
20
+ ngOnDestroy(): void;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResizableSectionDividerComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResizableSectionDividerComponent, "resizable-section-divider", never, { "initialPercentage": { "alias": "initialPercentage"; "required": false; }; "isVerticalLayout": { "alias": "isVerticalLayout"; "required": false; }; "maxPercentage": { "alias": "maxPercentage"; "required": false; }; "minPercentage": { "alias": "minPercentage"; "required": false; }; }, {}, never, ["[topSection]", "[bottomSection]", "[leftSection]", "[rightSection]"], false, never>;
23
+ }
@@ -1,30 +1,30 @@
1
- import { MatLegacyDialogRef as MatDialogRef, MatLegacyDialog as MatDialog } from "@angular/material/legacy-dialog";
2
- import { SpinnerDialogComponent } from "./spinner-dialog.component";
3
- import * as i0 from "@angular/core";
4
- export declare enum DialogType {
5
- ERROR = "Error",
6
- WARNING = "Warning",
7
- ALERT = "Alert",
8
- SUCCESS = "Succeed",
9
- FAILED = "Failed",
10
- CONFIRM = "Confirm",
11
- INFO = "Info",
12
- VALIDATION = "Validation Error"
13
- }
14
- export declare class DialogsService {
15
- private dialog;
16
- private _spinnerDialogIsOpen;
17
- private spinnerWorkItemCount;
18
- private checkingSpinnerWorkItems;
19
- spinnerDialogRefs: MatDialogRef<SpinnerDialogComponent>[];
20
- get spinnerDialogIsOpen(): boolean;
21
- constructor(dialog: MatDialog);
22
- startDefaultSpinnerDialog(): MatDialogRef<SpinnerDialogComponent>;
23
- startSpinnerDialog(message: string, strokeWidth: number, diameter: number): MatDialogRef<SpinnerDialogComponent>;
24
- stopAllSpinnerDialogs(): void;
25
- addSpinnerWorkItem(): void;
26
- removeSpinnerWorkItem(): void;
27
- private checkSpinnerWorkItems;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<DialogsService, never>;
29
- static ɵprov: i0.ɵɵInjectableDeclaration<DialogsService>;
30
- }
1
+ import { MatLegacyDialogRef as MatDialogRef, MatLegacyDialog as MatDialog } from "@angular/material/legacy-dialog";
2
+ import { SpinnerDialogComponent } from "./spinner-dialog.component";
3
+ import * as i0 from "@angular/core";
4
+ export declare enum DialogType {
5
+ ERROR = "Error",
6
+ WARNING = "Warning",
7
+ ALERT = "Alert",
8
+ SUCCESS = "Succeed",
9
+ FAILED = "Failed",
10
+ CONFIRM = "Confirm",
11
+ INFO = "Info",
12
+ VALIDATION = "Validation Error"
13
+ }
14
+ export declare class DialogsService {
15
+ private dialog;
16
+ private _spinnerDialogIsOpen;
17
+ private spinnerWorkItemCount;
18
+ private checkingSpinnerWorkItems;
19
+ spinnerDialogRefs: MatDialogRef<SpinnerDialogComponent>[];
20
+ get spinnerDialogIsOpen(): boolean;
21
+ constructor(dialog: MatDialog);
22
+ startDefaultSpinnerDialog(): MatDialogRef<SpinnerDialogComponent>;
23
+ startSpinnerDialog(message: string, strokeWidth: number, diameter: number): MatDialogRef<SpinnerDialogComponent>;
24
+ stopAllSpinnerDialogs(): void;
25
+ addSpinnerWorkItem(): void;
26
+ removeSpinnerWorkItem(): void;
27
+ private checkSpinnerWorkItems;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogsService, never>;
29
+ static ɵprov: i0.ɵɵInjectableDeclaration<DialogsService>;
30
+ }
@@ -1,12 +1,12 @@
1
- import { MatLegacyDialogRef as MatDialogRef } from "@angular/material/legacy-dialog";
2
- import * as i0 from "@angular/core";
3
- export declare class SpinnerDialogComponent {
4
- private dialogRef;
5
- private data;
6
- strokeWidth: number;
7
- diameter: number;
8
- message: string;
9
- constructor(dialogRef: MatDialogRef<SpinnerDialogComponent>, data: any);
10
- static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerDialogComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<SpinnerDialogComponent, "spinner-dialog", never, { "strokeWidth": { "alias": "strokeWidth"; "required": false; }; "diameter": { "alias": "diameter"; "required": false; }; "message": { "alias": "message"; "required": false; }; }, {}, never, never, false, never>;
12
- }
1
+ import { MatLegacyDialogRef as MatDialogRef } from "@angular/material/legacy-dialog";
2
+ import * as i0 from "@angular/core";
3
+ export declare class SpinnerDialogComponent {
4
+ private dialogRef;
5
+ private data;
6
+ strokeWidth: number;
7
+ diameter: number;
8
+ message: string;
9
+ constructor(dialogRef: MatDialogRef<SpinnerDialogComponent>, data: any);
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerDialogComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpinnerDialogComponent, "spinner-dialog", never, { "strokeWidth": { "alias": "strokeWidth"; "required": false; }; "diameter": { "alias": "diameter"; "required": false; }; "message": { "alias": "message"; "required": false; }; }, {}, never, never, false, never>;
12
+ }