@huntsman-cancer-institute/cod 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 (56) hide show
  1. package/cod.module.d.ts +31 -31
  2. package/components/attribute-absolute.component.d.ts +28 -28
  3. package/components/attribute-base.d.ts +135 -135
  4. package/components/attribute-configuration.component.d.ts +52 -52
  5. package/components/attribute-container.component.d.ts +50 -50
  6. package/components/attribute-default.component.d.ts +20 -20
  7. package/components/attribute-edit.component.d.ts +15 -15
  8. package/components/attribute-flex.component.d.ts +25 -25
  9. package/date/date-util.d.ts +9 -9
  10. package/esm2022/cod.module.mjs +119 -119
  11. package/esm2022/components/attribute-absolute.component.mjs +104 -104
  12. package/esm2022/components/attribute-base.mjs +564 -564
  13. package/esm2022/components/attribute-configuration.component.mjs +138 -138
  14. package/esm2022/components/attribute-container.component.mjs +155 -155
  15. package/esm2022/components/attribute-default.component.mjs +63 -63
  16. package/esm2022/components/attribute-edit.component.mjs +33 -33
  17. package/esm2022/components/attribute-flex.component.mjs +58 -58
  18. package/esm2022/date/date-util.mjs +59 -59
  19. package/esm2022/huntsman-cancer-institute-cod.mjs +4 -4
  20. package/esm2022/index.mjs +20 -20
  21. package/esm2022/model/attribute-choice.entity.mjs +1 -1
  22. package/esm2022/model/attribute-configuration.dto.mjs +1 -1
  23. package/esm2022/model/attribute-configuration.entity.mjs +1 -1
  24. package/esm2022/model/attribute-container.entity.mjs +1 -1
  25. package/esm2022/model/attribute-dictionary.entity.mjs +1 -1
  26. package/esm2022/model/attribute-long-text.entity.mjs +1 -1
  27. package/esm2022/model/attribute-value-grid-row.entity.mjs +1 -1
  28. package/esm2022/model/attribute-value-set.entity.mjs +1 -1
  29. package/esm2022/model/attribute-value.entity.mjs +2 -2
  30. package/esm2022/model/attribute.entity.mjs +1 -1
  31. package/esm2022/model/dictionary-entries.dto.mjs +2 -2
  32. package/esm2022/model/extractable-field-status.entity.mjs +1 -1
  33. package/esm2022/model/graphical-attribute.entity.mjs +1 -1
  34. package/esm2022/model/pre-eval.dto.mjs +2 -2
  35. package/esm2022/pipes/is-group-attribute.pipe.mjs +32 -32
  36. package/esm2022/services/attribute.service.mjs +1211 -1211
  37. package/fesm2022/huntsman-cancer-institute-cod.mjs +2409 -2409
  38. package/fesm2022/huntsman-cancer-institute-cod.mjs.map +1 -1
  39. package/index.d.ts +27 -27
  40. package/model/attribute-choice.entity.d.ts +16 -16
  41. package/model/attribute-configuration.dto.d.ts +13 -13
  42. package/model/attribute-configuration.entity.d.ts +12 -12
  43. package/model/attribute-container.entity.d.ts +9 -9
  44. package/model/attribute-dictionary.entity.d.ts +12 -12
  45. package/model/attribute-long-text.entity.d.ts +4 -4
  46. package/model/attribute-value-grid-row.entity.d.ts +7 -7
  47. package/model/attribute-value-set.entity.d.ts +11 -11
  48. package/model/attribute-value.entity.d.ts +28 -28
  49. package/model/attribute.entity.d.ts +26 -26
  50. package/model/dictionary-entries.dto.d.ts +6 -6
  51. package/model/extractable-field-status.entity.d.ts +8 -8
  52. package/model/graphical-attribute.entity.d.ts +13 -13
  53. package/model/pre-eval.dto.d.ts +5 -5
  54. package/package.json +23 -7
  55. package/pipes/is-group-attribute.pipe.d.ts +13 -13
  56. package/services/attribute.service.d.ts +263 -263
package/cod.module.d.ts CHANGED
@@ -1,31 +1,31 @@
1
- import { ModuleWithProviders } from "@angular/core";
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "./components/attribute-base";
4
- import * as i2 from "./components/attribute-configuration.component";
5
- import * as i3 from "./components/attribute-absolute.component";
6
- import * as i4 from "./components/attribute-container.component";
7
- import * as i5 from "./components/attribute-flex.component";
8
- import * as i6 from "./components/attribute-edit.component";
9
- import * as i7 from "./components/attribute-default.component";
10
- import * as i8 from "./pipes/is-group-attribute.pipe";
11
- import * as i9 from "ag-grid-angular";
12
- import * as i10 from "@angular/common";
13
- import * as i11 from "@angular/forms";
14
- import * as i12 from "@angular/router";
15
- import * as i13 from "@ng-bootstrap/ng-bootstrap";
16
- import * as i14 from "@huntsman-cancer-institute/input";
17
- import * as i15 from "@huntsman-cancer-institute/misc";
18
- import * as i16 from "@angular/material/datepicker";
19
- import * as i17 from "@angular/material/core";
20
- import * as i18 from "@angular-material-components/datetime-picker";
21
- /**
22
- * The main @huntsman-cancer-institute/cod module. Custom components to be used by the grid are passed in here.
23
- *
24
- * @since 1.0.0
25
- */
26
- export declare class CodModule {
27
- static forRoot(): ModuleWithProviders<CodModule>;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<CodModule, never>;
29
- static ɵmod: i0.ɵɵNgModuleDeclaration<CodModule, [typeof i1.AttributeBase, typeof i2.AttributeConfigurationComponent, typeof i3.AttributeAbsoluteComponent, typeof i4.AttributeContainerComponent, typeof i5.AttributeFlexComponent, typeof i6.AttributeEditComponent, typeof i7.AttributeDefaultComponent, typeof i8.IsGroupAttributePipe], [typeof i9.AgGridModule, typeof i10.CommonModule, typeof i11.FormsModule, typeof i12.RouterModule, typeof i13.NgbModule, typeof i14.DropdownModule, typeof i14.SelectModule, typeof i15.MiscModule, typeof i16.MatDatepickerModule, typeof i17.MatNativeDateModule, typeof i18.NgxMatDatetimePickerModule, typeof i18.NgxMatTimepickerModule, typeof i18.NgxMatNativeDateModule], [typeof i2.AttributeConfigurationComponent, typeof i3.AttributeAbsoluteComponent, typeof i5.AttributeFlexComponent, typeof i6.AttributeEditComponent, typeof i7.AttributeDefaultComponent, typeof i4.AttributeContainerComponent, typeof i8.IsGroupAttributePipe]>;
30
- static ɵinj: i0.ɵɵInjectorDeclaration<CodModule>;
31
- }
1
+ import { ModuleWithProviders } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./components/attribute-base";
4
+ import * as i2 from "./components/attribute-configuration.component";
5
+ import * as i3 from "./components/attribute-absolute.component";
6
+ import * as i4 from "./components/attribute-container.component";
7
+ import * as i5 from "./components/attribute-flex.component";
8
+ import * as i6 from "./components/attribute-edit.component";
9
+ import * as i7 from "./components/attribute-default.component";
10
+ import * as i8 from "./pipes/is-group-attribute.pipe";
11
+ import * as i9 from "ag-grid-angular";
12
+ import * as i10 from "@angular/common";
13
+ import * as i11 from "@angular/forms";
14
+ import * as i12 from "@angular/router";
15
+ import * as i13 from "@ng-bootstrap/ng-bootstrap";
16
+ import * as i14 from "@huntsman-cancer-institute/input";
17
+ import * as i15 from "@huntsman-cancer-institute/misc";
18
+ import * as i16 from "@angular/material/datepicker";
19
+ import * as i17 from "@angular/material/core";
20
+ import * as i18 from "@angular-material-components/datetime-picker";
21
+ /**
22
+ * The main @huntsman-cancer-institute/cod module. Custom components to be used by the grid are passed in here.
23
+ *
24
+ * @since 1.0.0
25
+ */
26
+ export declare class CodModule {
27
+ static forRoot(): ModuleWithProviders<CodModule>;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<CodModule, never>;
29
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CodModule, [typeof i1.AttributeBase, typeof i2.AttributeConfigurationComponent, typeof i3.AttributeAbsoluteComponent, typeof i4.AttributeContainerComponent, typeof i5.AttributeFlexComponent, typeof i6.AttributeEditComponent, typeof i7.AttributeDefaultComponent, typeof i8.IsGroupAttributePipe], [typeof i9.AgGridModule, typeof i10.CommonModule, typeof i11.FormsModule, typeof i12.RouterModule, typeof i13.NgbModule, typeof i14.DropdownModule, typeof i14.SelectModule, typeof i15.MiscModule, typeof i16.MatDatepickerModule, typeof i17.MatNativeDateModule, typeof i18.NgxMatDatetimePickerModule, typeof i18.NgxMatTimepickerModule, typeof i18.NgxMatNativeDateModule], [typeof i2.AttributeConfigurationComponent, typeof i3.AttributeAbsoluteComponent, typeof i5.AttributeFlexComponent, typeof i6.AttributeEditComponent, typeof i7.AttributeDefaultComponent, typeof i4.AttributeContainerComponent, typeof i8.IsGroupAttributePipe]>;
30
+ static ɵinj: i0.ɵɵInjectorDeclaration<CodModule>;
31
+ }
@@ -1,28 +1,28 @@
1
- import { ElementRef, Renderer2 } from "@angular/core";
2
- import { NgbModal } from "@ng-bootstrap/ng-bootstrap";
3
- import { AttributeBase } from "./attribute-base";
4
- import { AttributeService } from "../services/attribute.service";
5
- import { NativeSelectComponent } from "@huntsman-cancer-institute/input";
6
- import * as i0 from "@angular/core";
7
- /**
8
- * The attribute for absolute positioning. This component has its width, height, x and y positioning set based upon
9
- * the attribute definition.
10
- */
11
- export declare class AttributeAbsoluteComponent extends AttributeBase {
12
- nativeSelectComponent: NativeSelectComponent;
13
- constructor(attributeService: AttributeService, elementRef: ElementRef, renderer: Renderer2, modalService: NgbModal);
14
- ngOnInit(): void;
15
- ngAfterViewInit(): void;
16
- /**
17
- * In the absolute case, upon refresh reset the position and size of the attribute.
18
- */
19
- refresh(): void;
20
- /**
21
- * Add cursor styling when the mouse is over the selected attribute.
22
- *
23
- * @param {MouseEvent} event
24
- */
25
- onMouseMove(event: MouseEvent): void;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<AttributeAbsoluteComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<AttributeAbsoluteComponent, "hci-attribute-absolute", never, {}, {}, never, never, false, never>;
28
- }
1
+ import { ElementRef, Renderer2 } from "@angular/core";
2
+ import { NgbModal } from "@ng-bootstrap/ng-bootstrap";
3
+ import { AttributeBase } from "./attribute-base";
4
+ import { AttributeService } from "../services/attribute.service";
5
+ import { NativeSelectComponent } from "@huntsman-cancer-institute/input";
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * The attribute for absolute positioning. This component has its width, height, x and y positioning set based upon
9
+ * the attribute definition.
10
+ */
11
+ export declare class AttributeAbsoluteComponent extends AttributeBase {
12
+ nativeSelectComponent: NativeSelectComponent;
13
+ constructor(attributeService: AttributeService, elementRef: ElementRef, renderer: Renderer2, modalService: NgbModal);
14
+ ngOnInit(): void;
15
+ ngAfterViewInit(): void;
16
+ /**
17
+ * In the absolute case, upon refresh reset the position and size of the attribute.
18
+ */
19
+ refresh(): void;
20
+ /**
21
+ * Add cursor styling when the mouse is over the selected attribute.
22
+ *
23
+ * @param {MouseEvent} event
24
+ */
25
+ onMouseMove(event: MouseEvent): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<AttributeAbsoluteComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<AttributeAbsoluteComponent, "hci-attribute-absolute", never, {}, {}, never, never, false, never>;
28
+ }
@@ -1,135 +1,135 @@
1
- import { ElementRef, TemplateRef, EventEmitter, Renderer2, OnInit, OnDestroy } from "@angular/core";
2
- import { Subscription } from "rxjs";
3
- import { AttributeService } from "../services/attribute.service";
4
- import { Attribute } from "../model/attribute.entity";
5
- import { AttributeValue } from "../model/attribute-value.entity";
6
- import { AttributeChoice } from "../model/attribute-choice.entity";
7
- import { GraphicalAttribute } from "../model/graphical-attribute.entity";
8
- import { NativeSelectComponent } from "@huntsman-cancer-institute/input";
9
- import { NgbModal } from "@ng-bootstrap/ng-bootstrap";
10
- import { GridApi, RowDoubleClickedEvent, GridSizeChangedEvent, ModelUpdatedEvent } from "ag-grid-community";
11
- import * as i0 from "@angular/core";
12
- /**
13
- * The base class for an attribute. Attributes are iterated over by container. These may be in traditional absolute
14
- * positioning, flex positioning, or an edit mode as a column in a modal. Regardless of the template, the fundamental
15
- * needs of setting up the attribute values and persisting data are the same. So this class provides base functionality
16
- * and the components that extend it provide the template and may also extend the functionality.
17
- *
18
- * Types:
19
- * LINE
20
- * NLP_LINK
21
- * DICT
22
- * GA
23
- * LABEL
24
- * DT
25
- * AC
26
- * TXT
27
- * D
28
- * S
29
- * I
30
- * CB
31
- * B
32
- * N
33
- * EB
34
- */
35
- export declare class AttributeBase implements OnInit, OnDestroy {
36
- private modalService;
37
- attribute: GraphicalAttribute;
38
- internalValues: boolean;
39
- editInline: boolean;
40
- groupAttributeRowId: number;
41
- resortColumns: EventEmitter<any>;
42
- inputRef: ElementRef;
43
- nativeSelectRef: NativeSelectComponent;
44
- attributeValues: AttributeValue[];
45
- attributeChoices: AttributeChoice[];
46
- childAttributes: GraphicalAttribute[];
47
- gridData: any[];
48
- gridColumns: any[];
49
- editGroupAttributeRowId: number;
50
- editGroupRowAttributes: GraphicalAttribute[];
51
- dictionaryEntries: any[];
52
- width: number;
53
- attributeService: AttributeService;
54
- elementRef: ElementRef;
55
- renderer: Renderer2;
56
- gridApi: GridApi;
57
- gridOptions: {
58
- headerHeight: number;
59
- rowHeight: number;
60
- rowStyle: {
61
- 'font-family': string;
62
- color: string;
63
- };
64
- enableCellTextSelection: boolean;
65
- ensureDomOrder: boolean;
66
- suppressColumnVirtualisation: boolean;
67
- };
68
- subscriptions: Subscription;
69
- constructor(attributeService: AttributeService, elementRef: ElementRef, renderer: Renderer2, modalService: NgbModal);
70
- /**
71
- * Get any attribute values for this attribute. If a complex attribute like a grid, set it up.
72
- */
73
- ngOnInit(): void;
74
- ngOnDestroy(): void;
75
- onGridReady(params: any): void;
76
- onModelUpdated(_event: ModelUpdatedEvent): void;
77
- onGridSizeChanged(_event: GridSizeChangedEvent): void;
78
- /**
79
- * Pulls the attribute values associated with this attribute and performs any specialized initialization such as for
80
- * the grid or multi choice.
81
- */
82
- init(): void;
83
- loadDictionaryEntries(attribute: Attribute, values: AttributeValue[], groupAttributeRowId: number): void;
84
- reloadFilteredDictionaryEntries(attribute: Attribute, values: AttributeValue[], groupAttributeRowId: number, referencedAttributeValue: AttributeValue): void;
85
- deleteFilteredOutDictionaryValues(): void;
86
- initializeMultiDictEntries(): void;
87
- /**
88
- * Set a transient value on the attributeChoice to keep track of selected values.
89
- */
90
- initializeAttributeChoices(): void;
91
- /**
92
- * If the attribute is a grid, find its children attributes which make up the columns and generate data based on all
93
- * the attribute values by their groupAttributeRowId.
94
- */
95
- initializeGrid(): void;
96
- /**
97
- * Generate a column array based on the grouped attributes within the grid.
98
- *
99
- * @param {Attribute[]} attributes
100
- * @param {any[]} columns
101
- */
102
- initializeGridColumns(attributes: GraphicalAttribute[], columns: any[]): void;
103
- /**
104
- * After the columns are created, assigned
105
- *
106
- * @param {any[]} data
107
- */
108
- initializeGridValues(data: any[], attributeValues: AttributeValue[]): void;
109
- /**
110
- * For override.
111
- */
112
- refresh(): void;
113
- valueStringChange(value: any): void;
114
- valueCheckboxChange(event: any): void;
115
- valueIntegerChange(value: any): void;
116
- valueNumericChange(value: any): void;
117
- valueDictChange(value: any): void;
118
- valueDateChange(value: any): void;
119
- valueTextChange(value: any): void;
120
- valueChoiceChange(value: any): void;
121
- valueMultiChoiceChange(attributeChoice: any): void;
122
- valueMultiDictChange(entry: any): void;
123
- addGridRow(modal: TemplateRef<any>, idGroupAttribute: number): void;
124
- editGridRow(modal: TemplateRef<any>, idGroupAttribute: number, event: RowDoubleClickedEvent): void;
125
- removeGridRow(idGroupAttribute: number): void;
126
- cancelEditCodGridRow(): void;
127
- /**
128
- * Values for a new grid row are stored separately. This function will add that data to the current grid data and
129
- * push the values to the service.
130
- */
131
- saveGridRow(idGroupAttribute: number): void;
132
- private comboFilterValueGetter;
133
- static ɵfac: i0.ɵɵFactoryDeclaration<AttributeBase, never>;
134
- static ɵdir: i0.ɵɵDirectiveDeclaration<AttributeBase, "hci-attribute-base", never, { "attribute": { "alias": "attribute"; "required": false; }; "internalValues": { "alias": "internalValues"; "required": false; }; "editInline": { "alias": "editInline"; "required": false; }; "groupAttributeRowId": { "alias": "groupAttributeRowId"; "required": false; }; }, { "resortColumns": "resortColumns"; }, never, never, false, never>;
135
- }
1
+ import { ElementRef, TemplateRef, EventEmitter, Renderer2, OnInit, OnDestroy } from "@angular/core";
2
+ import { Subscription } from "rxjs";
3
+ import { AttributeService } from "../services/attribute.service";
4
+ import { Attribute } from "../model/attribute.entity";
5
+ import { AttributeValue } from "../model/attribute-value.entity";
6
+ import { AttributeChoice } from "../model/attribute-choice.entity";
7
+ import { GraphicalAttribute } from "../model/graphical-attribute.entity";
8
+ import { NativeSelectComponent } from "@huntsman-cancer-institute/input";
9
+ import { NgbModal } from "@ng-bootstrap/ng-bootstrap";
10
+ import { GridApi, RowDoubleClickedEvent, GridSizeChangedEvent, ModelUpdatedEvent } from "ag-grid-community";
11
+ import * as i0 from "@angular/core";
12
+ /**
13
+ * The base class for an attribute. Attributes are iterated over by container. These may be in traditional absolute
14
+ * positioning, flex positioning, or an edit mode as a column in a modal. Regardless of the template, the fundamental
15
+ * needs of setting up the attribute values and persisting data are the same. So this class provides base functionality
16
+ * and the components that extend it provide the template and may also extend the functionality.
17
+ *
18
+ * Types:
19
+ * LINE
20
+ * NLP_LINK
21
+ * DICT
22
+ * GA
23
+ * LABEL
24
+ * DT
25
+ * AC
26
+ * TXT
27
+ * D
28
+ * S
29
+ * I
30
+ * CB
31
+ * B
32
+ * N
33
+ * EB
34
+ */
35
+ export declare class AttributeBase implements OnInit, OnDestroy {
36
+ private modalService;
37
+ attribute: GraphicalAttribute;
38
+ internalValues: boolean;
39
+ editInline: boolean;
40
+ groupAttributeRowId: number;
41
+ resortColumns: EventEmitter<any>;
42
+ inputRef: ElementRef;
43
+ nativeSelectRef: NativeSelectComponent;
44
+ attributeValues: AttributeValue[];
45
+ attributeChoices: AttributeChoice[];
46
+ childAttributes: GraphicalAttribute[];
47
+ gridData: any[];
48
+ gridColumns: any[];
49
+ editGroupAttributeRowId: number;
50
+ editGroupRowAttributes: GraphicalAttribute[];
51
+ dictionaryEntries: any[];
52
+ width: number;
53
+ attributeService: AttributeService;
54
+ elementRef: ElementRef;
55
+ renderer: Renderer2;
56
+ gridApi: GridApi;
57
+ gridOptions: {
58
+ headerHeight: number;
59
+ rowHeight: number;
60
+ rowStyle: {
61
+ 'font-family': string;
62
+ color: string;
63
+ };
64
+ enableCellTextSelection: boolean;
65
+ ensureDomOrder: boolean;
66
+ suppressColumnVirtualisation: boolean;
67
+ };
68
+ subscriptions: Subscription;
69
+ constructor(attributeService: AttributeService, elementRef: ElementRef, renderer: Renderer2, modalService: NgbModal);
70
+ /**
71
+ * Get any attribute values for this attribute. If a complex attribute like a grid, set it up.
72
+ */
73
+ ngOnInit(): void;
74
+ ngOnDestroy(): void;
75
+ onGridReady(params: any): void;
76
+ onModelUpdated(_event: ModelUpdatedEvent): void;
77
+ onGridSizeChanged(_event: GridSizeChangedEvent): void;
78
+ /**
79
+ * Pulls the attribute values associated with this attribute and performs any specialized initialization such as for
80
+ * the grid or multi choice.
81
+ */
82
+ init(): void;
83
+ loadDictionaryEntries(attribute: Attribute, values: AttributeValue[], groupAttributeRowId: number): void;
84
+ reloadFilteredDictionaryEntries(attribute: Attribute, values: AttributeValue[], groupAttributeRowId: number, referencedAttributeValue: AttributeValue): void;
85
+ deleteFilteredOutDictionaryValues(): void;
86
+ initializeMultiDictEntries(): void;
87
+ /**
88
+ * Set a transient value on the attributeChoice to keep track of selected values.
89
+ */
90
+ initializeAttributeChoices(): void;
91
+ /**
92
+ * If the attribute is a grid, find its children attributes which make up the columns and generate data based on all
93
+ * the attribute values by their groupAttributeRowId.
94
+ */
95
+ initializeGrid(): void;
96
+ /**
97
+ * Generate a column array based on the grouped attributes within the grid.
98
+ *
99
+ * @param {Attribute[]} attributes
100
+ * @param {any[]} columns
101
+ */
102
+ initializeGridColumns(attributes: GraphicalAttribute[], columns: any[]): void;
103
+ /**
104
+ * After the columns are created, assigned
105
+ *
106
+ * @param {any[]} data
107
+ */
108
+ initializeGridValues(data: any[], attributeValues: AttributeValue[]): void;
109
+ /**
110
+ * For override.
111
+ */
112
+ refresh(): void;
113
+ valueStringChange(value: any): void;
114
+ valueCheckboxChange(event: any): void;
115
+ valueIntegerChange(value: any): void;
116
+ valueNumericChange(value: any): void;
117
+ valueDictChange(value: any): void;
118
+ valueDateChange(value: any): void;
119
+ valueTextChange(value: any): void;
120
+ valueChoiceChange(value: any): void;
121
+ valueMultiChoiceChange(attributeChoice: any): void;
122
+ valueMultiDictChange(entry: any): void;
123
+ addGridRow(modal: TemplateRef<any>, idGroupAttribute: number): void;
124
+ editGridRow(modal: TemplateRef<any>, idGroupAttribute: number, event: RowDoubleClickedEvent): void;
125
+ removeGridRow(idGroupAttribute: number): void;
126
+ cancelEditCodGridRow(): void;
127
+ /**
128
+ * Values for a new grid row are stored separately. This function will add that data to the current grid data and
129
+ * push the values to the service.
130
+ */
131
+ saveGridRow(idGroupAttribute: number): void;
132
+ private comboFilterValueGetter;
133
+ static ɵfac: i0.ɵɵFactoryDeclaration<AttributeBase, never>;
134
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AttributeBase, "hci-attribute-base", never, { "attribute": { "alias": "attribute"; "required": false; }; "internalValues": { "alias": "internalValues"; "required": false; }; "editInline": { "alias": "editInline"; "required": false; }; "groupAttributeRowId": { "alias": "groupAttributeRowId"; "required": false; }; }, { "resortColumns": "resortColumns"; }, never, never, false, never>;
135
+ }
@@ -1,52 +1,52 @@
1
- import { ChangeDetectorRef, ElementRef, TemplateRef, QueryList, Renderer2, SimpleChange, OnInit, OnDestroy } from "@angular/core";
2
- import { Subject, Subscription } from "rxjs";
3
- import { NgbAccordion, NgbModal, NgbPanel } from "@ng-bootstrap/ng-bootstrap";
4
- import { AccordionNavComponent } from "@huntsman-cancer-institute/misc";
5
- import { AttributeService } from "../services/attribute.service";
6
- import { AttributeConfiguration } from "../model/attribute-configuration.entity";
7
- import { AttributeValueSet } from "../model/attribute-value-set.entity";
8
- import { AttributeContainer } from "../model/attribute-container.entity";
9
- import * as i0 from "@angular/core";
10
- /**
11
- * This component should be added on to any screen that displays an entity with an idAttributeValueSet. This configuration
12
- * represents the parent of separate containers, which in turn contain attributes which display those values in the
13
- * attributeValueSet.
14
- */
15
- export declare class AttributeConfigurationComponent implements OnInit, OnDestroy {
16
- private attributeService;
17
- private elementRef;
18
- private renderer;
19
- private changeDetectorRef;
20
- private modalService;
21
- classList: string;
22
- idAttributeValueSet: number;
23
- idParentObject: number;
24
- accordionNav: AccordionNavComponent;
25
- editInline: boolean;
26
- editPopup: boolean;
27
- editable: boolean;
28
- vPanels: QueryList<NgbPanel>;
29
- cPanels: QueryList<NgbPanel>;
30
- attributeConfiguration: AttributeConfiguration;
31
- attributeValueSet: AttributeValueSet;
32
- loadingSubject: Subject<boolean>;
33
- editContainer: AttributeContainer;
34
- windowDimension: any;
35
- subscriptions: Subscription;
36
- constructor(attributeService: AttributeService, elementRef: ElementRef, renderer: Renderer2, changeDetectorRef: ChangeDetectorRef, modalService: NgbModal);
37
- /**
38
- * Upon init, subscribe to the configuration and value set.
39
- */
40
- ngOnInit(): void;
41
- set boundData(value: any);
42
- ngOnDestroy(): void;
43
- set accordion(accordion: NgbAccordion);
44
- ngOnChanges(changes: {
45
- [propName: string]: SimpleChange;
46
- }): void;
47
- getAttributeService(): AttributeService;
48
- edit(modal: TemplateRef<any>, editContainer: AttributeContainer): void;
49
- post(): void;
50
- static ɵfac: i0.ɵɵFactoryDeclaration<AttributeConfigurationComponent, never>;
51
- static ɵcmp: i0.ɵɵComponentDeclaration<AttributeConfigurationComponent, "hci-attribute-configuration", never, { "idAttributeValueSet": { "alias": "idAttributeValueSet"; "required": false; }; "idParentObject": { "alias": "idParentObject"; "required": false; }; "accordionNav": { "alias": "accordionNav"; "required": false; }; "editInline": { "alias": "editInline"; "required": false; }; "editPopup": { "alias": "editPopup"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "boundData": { "alias": "boundData"; "required": false; }; }, {}, ["cPanels"], ["*"], false, never>;
52
- }
1
+ import { ChangeDetectorRef, ElementRef, TemplateRef, QueryList, Renderer2, SimpleChange, OnInit, OnDestroy } from "@angular/core";
2
+ import { Subject, Subscription } from "rxjs";
3
+ import { NgbAccordion, NgbModal, NgbPanel } from "@ng-bootstrap/ng-bootstrap";
4
+ import { AccordionNavComponent } from "@huntsman-cancer-institute/misc";
5
+ import { AttributeService } from "../services/attribute.service";
6
+ import { AttributeConfiguration } from "../model/attribute-configuration.entity";
7
+ import { AttributeValueSet } from "../model/attribute-value-set.entity";
8
+ import { AttributeContainer } from "../model/attribute-container.entity";
9
+ import * as i0 from "@angular/core";
10
+ /**
11
+ * This component should be added on to any screen that displays an entity with an idAttributeValueSet. This configuration
12
+ * represents the parent of separate containers, which in turn contain attributes which display those values in the
13
+ * attributeValueSet.
14
+ */
15
+ export declare class AttributeConfigurationComponent implements OnInit, OnDestroy {
16
+ private attributeService;
17
+ private elementRef;
18
+ private renderer;
19
+ private changeDetectorRef;
20
+ private modalService;
21
+ classList: string;
22
+ idAttributeValueSet: number;
23
+ idParentObject: number;
24
+ accordionNav: AccordionNavComponent;
25
+ editInline: boolean;
26
+ editPopup: boolean;
27
+ editable: boolean;
28
+ vPanels: QueryList<NgbPanel>;
29
+ cPanels: QueryList<NgbPanel>;
30
+ attributeConfiguration: AttributeConfiguration;
31
+ attributeValueSet: AttributeValueSet;
32
+ loadingSubject: Subject<boolean>;
33
+ editContainer: AttributeContainer;
34
+ windowDimension: any;
35
+ subscriptions: Subscription;
36
+ constructor(attributeService: AttributeService, elementRef: ElementRef, renderer: Renderer2, changeDetectorRef: ChangeDetectorRef, modalService: NgbModal);
37
+ /**
38
+ * Upon init, subscribe to the configuration and value set.
39
+ */
40
+ ngOnInit(): void;
41
+ set boundData(value: any);
42
+ ngOnDestroy(): void;
43
+ set accordion(accordion: NgbAccordion);
44
+ ngOnChanges(changes: {
45
+ [propName: string]: SimpleChange;
46
+ }): void;
47
+ getAttributeService(): AttributeService;
48
+ edit(modal: TemplateRef<any>, editContainer: AttributeContainer): void;
49
+ post(): void;
50
+ static ɵfac: i0.ɵɵFactoryDeclaration<AttributeConfigurationComponent, never>;
51
+ static ɵcmp: i0.ɵɵComponentDeclaration<AttributeConfigurationComponent, "hci-attribute-configuration", never, { "idAttributeValueSet": { "alias": "idAttributeValueSet"; "required": false; }; "idParentObject": { "alias": "idParentObject"; "required": false; }; "accordionNav": { "alias": "accordionNav"; "required": false; }; "editInline": { "alias": "editInline"; "required": false; }; "editPopup": { "alias": "editPopup"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "boundData": { "alias": "boundData"; "required": false; }; }, {}, ["cPanels"], ["*"], false, never>;
52
+ }
@@ -1,50 +1,50 @@
1
- import { ChangeDetectorRef, ElementRef, Renderer2, SimpleChanges, TemplateRef } from "@angular/core";
2
- import { Subscription } from "rxjs";
3
- import { NgbModal } from "@ng-bootstrap/ng-bootstrap";
4
- import { AttributeService } from "../services/attribute.service";
5
- import { AttributeConfiguration } from "../model/attribute-configuration.entity";
6
- import { AttributeValueSet } from "../model/attribute-value-set.entity";
7
- import { AttributeContainer } from "../model/attribute-container.entity";
8
- import * as i0 from "@angular/core";
9
- /**
10
- * This component should be added on to any screen that displays a container with COD content. This container
11
- * represents the one of the containers, which in turn contain attributes which display those values in the
12
- * attributeValueSet.
13
- */
14
- export declare class AttributeContainerComponent {
15
- private attributeService;
16
- private elementRef;
17
- private renderer;
18
- private changeDetectorRef;
19
- private modalService;
20
- classList: string;
21
- idAttributeValueSet: number;
22
- idAttributeConfiguration: number;
23
- idAttributeContainer: number;
24
- indexOfContainer: number;
25
- idParentObject: number;
26
- attributeContainer: AttributeContainer;
27
- attributeConfiguration: AttributeConfiguration;
28
- attributeValueSet: AttributeValueSet;
29
- editInline: boolean;
30
- editPopup: boolean;
31
- editable: boolean;
32
- editContainer: AttributeContainer;
33
- windowDimension: any;
34
- subscriptions: Subscription;
35
- getBusySubjects: Function;
36
- constructor(attributeService: AttributeService, elementRef: ElementRef, renderer: Renderer2, changeDetectorRef: ChangeDetectorRef, modalService: NgbModal);
37
- /**
38
- * Upon init, subscribe to the configuration and value set.
39
- */
40
- ngOnInit(): void;
41
- set boundData(value: any);
42
- ngOnDestroy(): void;
43
- ngOnChanges(changes: SimpleChanges): void;
44
- getAttributeService(): AttributeService;
45
- edit(modal: TemplateRef<any>, editContainer: AttributeContainer): void;
46
- post(): void;
47
- getAttributeContainerById(idAttributeContainer: number): AttributeContainer;
48
- static ɵfac: i0.ɵɵFactoryDeclaration<AttributeContainerComponent, never>;
49
- static ɵcmp: i0.ɵɵComponentDeclaration<AttributeContainerComponent, "hci-attribute-container", never, { "idAttributeValueSet": { "alias": "idAttributeValueSet"; "required": false; }; "idAttributeConfiguration": { "alias": "idAttributeConfiguration"; "required": false; }; "idAttributeContainer": { "alias": "idAttributeContainer"; "required": false; }; "indexOfContainer": { "alias": "indexOfContainer"; "required": false; }; "idParentObject": { "alias": "idParentObject"; "required": false; }; "attributeContainer": { "alias": "attributeContainer"; "required": false; }; "attributeConfiguration": { "alias": "attributeConfiguration"; "required": false; }; "attributeValueSet": { "alias": "attributeValueSet"; "required": false; }; "editInline": { "alias": "editInline"; "required": false; }; "editPopup": { "alias": "editPopup"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "boundData": { "alias": "boundData"; "required": false; }; }, {}, never, never, false, never>;
50
- }
1
+ import { ChangeDetectorRef, ElementRef, Renderer2, SimpleChanges, TemplateRef } from "@angular/core";
2
+ import { Subscription } from "rxjs";
3
+ import { NgbModal } from "@ng-bootstrap/ng-bootstrap";
4
+ import { AttributeService } from "../services/attribute.service";
5
+ import { AttributeConfiguration } from "../model/attribute-configuration.entity";
6
+ import { AttributeValueSet } from "../model/attribute-value-set.entity";
7
+ import { AttributeContainer } from "../model/attribute-container.entity";
8
+ import * as i0 from "@angular/core";
9
+ /**
10
+ * This component should be added on to any screen that displays a container with COD content. This container
11
+ * represents the one of the containers, which in turn contain attributes which display those values in the
12
+ * attributeValueSet.
13
+ */
14
+ export declare class AttributeContainerComponent {
15
+ private attributeService;
16
+ private elementRef;
17
+ private renderer;
18
+ private changeDetectorRef;
19
+ private modalService;
20
+ classList: string;
21
+ idAttributeValueSet: number;
22
+ idAttributeConfiguration: number;
23
+ idAttributeContainer: number;
24
+ indexOfContainer: number;
25
+ idParentObject: number;
26
+ attributeContainer: AttributeContainer;
27
+ attributeConfiguration: AttributeConfiguration;
28
+ attributeValueSet: AttributeValueSet;
29
+ editInline: boolean;
30
+ editPopup: boolean;
31
+ editable: boolean;
32
+ editContainer: AttributeContainer;
33
+ windowDimension: any;
34
+ subscriptions: Subscription;
35
+ getBusySubjects: Function;
36
+ constructor(attributeService: AttributeService, elementRef: ElementRef, renderer: Renderer2, changeDetectorRef: ChangeDetectorRef, modalService: NgbModal);
37
+ /**
38
+ * Upon init, subscribe to the configuration and value set.
39
+ */
40
+ ngOnInit(): void;
41
+ set boundData(value: any);
42
+ ngOnDestroy(): void;
43
+ ngOnChanges(changes: SimpleChanges): void;
44
+ getAttributeService(): AttributeService;
45
+ edit(modal: TemplateRef<any>, editContainer: AttributeContainer): void;
46
+ post(): void;
47
+ getAttributeContainerById(idAttributeContainer: number): AttributeContainer;
48
+ static ɵfac: i0.ɵɵFactoryDeclaration<AttributeContainerComponent, never>;
49
+ static ɵcmp: i0.ɵɵComponentDeclaration<AttributeContainerComponent, "hci-attribute-container", never, { "idAttributeValueSet": { "alias": "idAttributeValueSet"; "required": false; }; "idAttributeConfiguration": { "alias": "idAttributeConfiguration"; "required": false; }; "idAttributeContainer": { "alias": "idAttributeContainer"; "required": false; }; "indexOfContainer": { "alias": "indexOfContainer"; "required": false; }; "idParentObject": { "alias": "idParentObject"; "required": false; }; "attributeContainer": { "alias": "attributeContainer"; "required": false; }; "attributeConfiguration": { "alias": "attributeConfiguration"; "required": false; }; "attributeValueSet": { "alias": "attributeValueSet"; "required": false; }; "editInline": { "alias": "editInline"; "required": false; }; "editPopup": { "alias": "editPopup"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "boundData": { "alias": "boundData"; "required": false; }; }, {}, never, never, false, never>;
50
+ }