@huntsman-cancer-institute/cod 16.0.1 → 17.0.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.
Files changed (56) hide show
  1. package/cod.module.d.ts +30 -31
  2. package/components/attribute-absolute.component.d.ts +28 -28
  3. package/components/attribute-base.d.ts +135 -135
  4. package/components/attribute-container.component.d.ts +50 -50
  5. package/components/attribute-default.component.d.ts +20 -20
  6. package/components/attribute-edit.component.d.ts +15 -15
  7. package/components/attribute-flex.component.d.ts +25 -25
  8. package/date/date-util.d.ts +9 -9
  9. package/esm2022/cod.module.mjs +114 -119
  10. package/esm2022/components/attribute-absolute.component.mjs +104 -104
  11. package/esm2022/components/attribute-base.mjs +564 -564
  12. package/esm2022/components/attribute-container.component.mjs +155 -155
  13. package/esm2022/components/attribute-default.component.mjs +63 -63
  14. package/esm2022/components/attribute-edit.component.mjs +33 -33
  15. package/esm2022/components/attribute-flex.component.mjs +58 -58
  16. package/esm2022/date/date-util.mjs +59 -59
  17. package/esm2022/huntsman-cancer-institute-cod.mjs +4 -4
  18. package/esm2022/index.mjs +20 -21
  19. package/esm2022/model/attribute-choice.entity.mjs +1 -1
  20. package/esm2022/model/attribute-configuration.dto.mjs +1 -1
  21. package/esm2022/model/attribute-configuration.entity.mjs +1 -1
  22. package/esm2022/model/attribute-container.entity.mjs +1 -1
  23. package/esm2022/model/attribute-dictionary.entity.mjs +1 -1
  24. package/esm2022/model/attribute-long-text.entity.mjs +1 -1
  25. package/esm2022/model/attribute-value-grid-row.entity.mjs +1 -1
  26. package/esm2022/model/attribute-value-set.entity.mjs +1 -1
  27. package/esm2022/model/attribute-value.entity.mjs +2 -2
  28. package/esm2022/model/attribute.entity.mjs +1 -1
  29. package/esm2022/model/dictionary-entries.dto.mjs +2 -2
  30. package/esm2022/model/extractable-field-status.entity.mjs +1 -1
  31. package/esm2022/model/graphical-attribute.entity.mjs +1 -1
  32. package/esm2022/model/pre-eval.dto.mjs +2 -2
  33. package/esm2022/pipes/is-group-attribute.pipe.mjs +32 -32
  34. package/esm2022/services/attribute.service.mjs +1211 -1211
  35. package/fesm2022/huntsman-cancer-institute-cod.mjs +2289 -2542
  36. package/fesm2022/huntsman-cancer-institute-cod.mjs.map +1 -1
  37. package/index.d.ts +26 -27
  38. package/model/attribute-choice.entity.d.ts +16 -16
  39. package/model/attribute-configuration.dto.d.ts +13 -13
  40. package/model/attribute-configuration.entity.d.ts +12 -12
  41. package/model/attribute-container.entity.d.ts +9 -9
  42. package/model/attribute-dictionary.entity.d.ts +12 -12
  43. package/model/attribute-long-text.entity.d.ts +4 -4
  44. package/model/attribute-value-grid-row.entity.d.ts +7 -7
  45. package/model/attribute-value-set.entity.d.ts +11 -11
  46. package/model/attribute-value.entity.d.ts +28 -28
  47. package/model/attribute.entity.d.ts +26 -26
  48. package/model/dictionary-entries.dto.d.ts +6 -6
  49. package/model/extractable-field-status.entity.d.ts +8 -8
  50. package/model/graphical-attribute.entity.d.ts +13 -13
  51. package/model/pre-eval.dto.d.ts +5 -5
  52. package/package.json +16 -8
  53. package/pipes/is-group-attribute.pipe.d.ts +13 -13
  54. package/services/attribute.service.d.ts +263 -263
  55. package/components/attribute-configuration.component.d.ts +0 -52
  56. package/esm2022/components/attribute-configuration.component.mjs +0 -263
package/cod.module.d.ts CHANGED
@@ -1,31 +1,30 @@
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-absolute.component";
5
+ import * as i3 from "./components/attribute-container.component";
6
+ import * as i4 from "./components/attribute-flex.component";
7
+ import * as i5 from "./components/attribute-edit.component";
8
+ import * as i6 from "./components/attribute-default.component";
9
+ import * as i7 from "./pipes/is-group-attribute.pipe";
10
+ import * as i8 from "ag-grid-angular";
11
+ import * as i9 from "@angular/common";
12
+ import * as i10 from "@angular/forms";
13
+ import * as i11 from "@angular/router";
14
+ import * as i12 from "@ng-bootstrap/ng-bootstrap";
15
+ import * as i13 from "@huntsman-cancer-institute/input";
16
+ import * as i14 from "@huntsman-cancer-institute/misc";
17
+ import * as i15 from "@angular/material/datepicker";
18
+ import * as i16 from "@angular/material/core";
19
+ import * as i17 from "@angular-material-components/datetime-picker";
20
+ /**
21
+ * The main @huntsman-cancer-institute/cod module. Custom components to be used by the grid are passed in here.
22
+ *
23
+ * @since 1.0.0
24
+ */
25
+ export declare class CodModule {
26
+ static forRoot(): ModuleWithProviders<CodModule>;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<CodModule, never>;
28
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CodModule, [typeof i1.AttributeBase, typeof i2.AttributeAbsoluteComponent, typeof i3.AttributeContainerComponent, typeof i4.AttributeFlexComponent, typeof i5.AttributeEditComponent, typeof i6.AttributeDefaultComponent, typeof i7.IsGroupAttributePipe], [typeof i8.AgGridModule, typeof i9.CommonModule, typeof i10.FormsModule, typeof i11.RouterModule, typeof i12.NgbModule, typeof i13.DropdownModule, typeof i13.SelectModule, typeof i14.MiscModule, typeof i15.MatDatepickerModule, typeof i16.MatNativeDateModule, typeof i17.NgxMatDatetimePickerModule, typeof i17.NgxMatTimepickerModule, typeof i17.NgxMatNativeDateModule], [typeof i2.AttributeAbsoluteComponent, typeof i4.AttributeFlexComponent, typeof i5.AttributeEditComponent, typeof i6.AttributeDefaultComponent, typeof i3.AttributeContainerComponent, typeof i7.IsGroupAttributePipe]>;
29
+ static ɵinj: i0.ɵɵInjectorDeclaration<CodModule>;
30
+ }
@@ -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,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
+ }
@@ -1,20 +1,20 @@
1
- import { ControlValueAccessor } from "@angular/forms";
2
- import { GraphicalAttribute } from "../model/graphical-attribute.entity";
3
- import * as i0 from "@angular/core";
4
- export declare class AttributeDefaultComponent implements ControlValueAccessor {
5
- _value: string;
6
- id: string;
7
- name: string;
8
- attribute: GraphicalAttribute;
9
- onChange: any;
10
- onTouched: any;
11
- get value(): string;
12
- set value(v: string);
13
- constructor();
14
- ngOnInit(): void;
15
- writeValue(v: string): void;
16
- registerOnChange(fn: any): void;
17
- registerOnTouched(fn: any): void;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<AttributeDefaultComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<AttributeDefaultComponent, "hci-attribute-default", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "attribute": { "alias": "attribute"; "required": false; }; }, {}, never, never, false, never>;
20
- }
1
+ import { ControlValueAccessor } from "@angular/forms";
2
+ import { GraphicalAttribute } from "../model/graphical-attribute.entity";
3
+ import * as i0 from "@angular/core";
4
+ export declare class AttributeDefaultComponent implements ControlValueAccessor {
5
+ _value: string;
6
+ id: string;
7
+ name: string;
8
+ attribute: GraphicalAttribute;
9
+ onChange: any;
10
+ onTouched: any;
11
+ get value(): string;
12
+ set value(v: string);
13
+ constructor();
14
+ ngOnInit(): void;
15
+ writeValue(v: string): void;
16
+ registerOnChange(fn: any): void;
17
+ registerOnTouched(fn: any): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<AttributeDefaultComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<AttributeDefaultComponent, "hci-attribute-default", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "attribute": { "alias": "attribute"; "required": false; }; }, {}, never, never, false, never>;
20
+ }
@@ -1,15 +1,15 @@
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 * as i0 from "@angular/core";
6
- /**
7
- * This component is specifically designed to exist in a modal for editing. This is different from the flex attribute
8
- * because components such as the grid need extra configuration for editing.
9
- */
10
- export declare class AttributeEditComponent extends AttributeBase {
11
- constructor(attributeService: AttributeService, elementRef: ElementRef, renderer: Renderer2, modalService: NgbModal);
12
- init(): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<AttributeEditComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<AttributeEditComponent, "hci-attribute-edit", never, {}, {}, never, never, false, never>;
15
- }
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 * as i0 from "@angular/core";
6
+ /**
7
+ * This component is specifically designed to exist in a modal for editing. This is different from the flex attribute
8
+ * because components such as the grid need extra configuration for editing.
9
+ */
10
+ export declare class AttributeEditComponent extends AttributeBase {
11
+ constructor(attributeService: AttributeService, elementRef: ElementRef, renderer: Renderer2, modalService: NgbModal);
12
+ init(): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<AttributeEditComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<AttributeEditComponent, "hci-attribute-edit", never, {}, {}, never, never, false, never>;
15
+ }
@@ -1,25 +1,25 @@
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 { GraphicalAttribute } from "../model/graphical-attribute.entity";
6
- import * as i0 from "@angular/core";
7
- /**
8
- * The view for attributes organized in a flex layout. This will arrange all attributes in a four column layout
9
- * with grids taking up all 12 columns. The attributes here will fill the this parent component which defines the
10
- * column size.
11
- */
12
- export declare class AttributeFlexComponent extends AttributeBase {
13
- constructor(attributeService: AttributeService, elementRef: ElementRef, renderer: Renderer2, modalService: NgbModal);
14
- ngAfterViewInit(): void;
15
- /**
16
- * Flex needs to extend grid columns because we no longer want to use absolute width. Here we generate percentage
17
- * based upon the absolute width, but still use absolute width for the min width.
18
- *
19
- * @param {Attribute[]} attributes
20
- * @param {any[]} columns
21
- */
22
- initializeGridColumns(attributes: GraphicalAttribute[], columns: any[]): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<AttributeFlexComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<AttributeFlexComponent, "hci-attribute-flex", never, {}, {}, never, never, false, never>;
25
- }
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 { GraphicalAttribute } from "../model/graphical-attribute.entity";
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * The view for attributes organized in a flex layout. This will arrange all attributes in a four column layout
9
+ * with grids taking up all 12 columns. The attributes here will fill the this parent component which defines the
10
+ * column size.
11
+ */
12
+ export declare class AttributeFlexComponent extends AttributeBase {
13
+ constructor(attributeService: AttributeService, elementRef: ElementRef, renderer: Renderer2, modalService: NgbModal);
14
+ ngAfterViewInit(): void;
15
+ /**
16
+ * Flex needs to extend grid columns because we no longer want to use absolute width. Here we generate percentage
17
+ * based upon the absolute width, but still use absolute width for the min width.
18
+ *
19
+ * @param {Attribute[]} attributes
20
+ * @param {any[]} columns
21
+ */
22
+ initializeGridColumns(attributes: GraphicalAttribute[], columns: any[]): void;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<AttributeFlexComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<AttributeFlexComponent, "hci-attribute-flex", never, {}, {}, never, never, false, never>;
25
+ }