@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/index.d.ts CHANGED
@@ -1,27 +1,26 @@
1
- /**
2
- * A barrel file for the cod package.
3
- *
4
- * @since 1.0.0
5
- */
6
- export { CodModule } from "./cod.module";
7
- export { AttributeConfigurationComponent } from "./components/attribute-configuration.component";
8
- export { AttributeService } from "./services/attribute.service";
9
- export { Attribute } from "./model/attribute.entity";
10
- export { AttributeChoice } from "./model/attribute-choice.entity";
11
- export { AttributeConfiguration } from "./model/attribute-configuration.entity";
12
- export { AttributeContainer } from "./model/attribute-container.entity";
13
- export { AttributeDictionary } from "./model/attribute-dictionary.entity";
14
- export { AttributeValue } from "./model/attribute-value.entity";
15
- export { AttributeValueGridRow } from "./model/attribute-value-grid-row.entity";
16
- export { AttributeValueSet } from "./model/attribute-value-set.entity";
17
- export { ExtractableFieldStatus } from "./model/extractable-field-status.entity";
18
- export { AttributeConfigurationDTO } from "./model/attribute-configuration.dto";
19
- export { GraphicalAttribute } from "./model/graphical-attribute.entity";
20
- export { AttributeBase } from "./components/attribute-base";
21
- export { AttributeAbsoluteComponent } from "./components/attribute-absolute.component";
22
- export { AttributeFlexComponent } from "./components/attribute-flex.component";
23
- export { AttributeEditComponent } from "./components/attribute-edit.component";
24
- export { AttributeDefaultComponent } from "./components/attribute-default.component";
25
- export { AttributeContainerComponent } from "./components/attribute-container.component";
26
- export { IsGroupAttributePipe } from "./pipes/is-group-attribute.pipe";
27
- export { ATTRIBUTE_ENDPOINT } from "./services/attribute.service";
1
+ /**
2
+ * A barrel file for the cod package.
3
+ *
4
+ * @since 1.0.0
5
+ */
6
+ export { CodModule } from "./cod.module";
7
+ export { AttributeService } from "./services/attribute.service";
8
+ export { Attribute } from "./model/attribute.entity";
9
+ export { AttributeChoice } from "./model/attribute-choice.entity";
10
+ export { AttributeConfiguration } from "./model/attribute-configuration.entity";
11
+ export { AttributeContainer } from "./model/attribute-container.entity";
12
+ export { AttributeDictionary } from "./model/attribute-dictionary.entity";
13
+ export { AttributeValue } from "./model/attribute-value.entity";
14
+ export { AttributeValueGridRow } from "./model/attribute-value-grid-row.entity";
15
+ export { AttributeValueSet } from "./model/attribute-value-set.entity";
16
+ export { ExtractableFieldStatus } from "./model/extractable-field-status.entity";
17
+ export { AttributeConfigurationDTO } from "./model/attribute-configuration.dto";
18
+ export { GraphicalAttribute } from "./model/graphical-attribute.entity";
19
+ export { AttributeBase } from "./components/attribute-base";
20
+ export { AttributeAbsoluteComponent } from "./components/attribute-absolute.component";
21
+ export { AttributeFlexComponent } from "./components/attribute-flex.component";
22
+ export { AttributeEditComponent } from "./components/attribute-edit.component";
23
+ export { AttributeDefaultComponent } from "./components/attribute-default.component";
24
+ export { AttributeContainerComponent } from "./components/attribute-container.component";
25
+ export { IsGroupAttributePipe } from "./pipes/is-group-attribute.pipe";
26
+ export { ATTRIBUTE_ENDPOINT } from "./services/attribute.service";
@@ -1,16 +1,16 @@
1
- export interface AttributeChoice {
2
- idAttributeChoice: number;
3
- idAttribute: number;
4
- choice: string;
5
- description: string;
6
- sortOrder: number;
7
- isActive: string;
8
- isAjcc: string;
9
- isCap: string;
10
- ajccStagingCode: string;
11
- icdoCode: string;
12
- icd9Code: string;
13
- researchCode: string;
14
- codeHciConcept: number;
15
- value: any;
16
- }
1
+ export interface AttributeChoice {
2
+ idAttributeChoice: number;
3
+ idAttribute: number;
4
+ choice: string;
5
+ description: string;
6
+ sortOrder: number;
7
+ isActive: string;
8
+ isAjcc: string;
9
+ isCap: string;
10
+ ajccStagingCode: string;
11
+ icdoCode: string;
12
+ icd9Code: string;
13
+ researchCode: string;
14
+ codeHciConcept: number;
15
+ value: any;
16
+ }
@@ -1,13 +1,13 @@
1
- export interface AttributeConfigurationDTO {
2
- idAttributeConfiguration: number;
3
- codeAttributeContext: string;
4
- extensionDescription: string;
5
- codeAttributeSecurityContext: string;
6
- codeAttributeSecurityContextDisplay: string;
7
- idFilter1: number;
8
- filter1Display: string;
9
- requireFilter1: string;
10
- idFilter2: number;
11
- filter2Display: string;
12
- requireFilter2: string;
13
- }
1
+ export interface AttributeConfigurationDTO {
2
+ idAttributeConfiguration: number;
3
+ codeAttributeContext: string;
4
+ extensionDescription: string;
5
+ codeAttributeSecurityContext: string;
6
+ codeAttributeSecurityContextDisplay: string;
7
+ idFilter1: number;
8
+ filter1Display: string;
9
+ requireFilter1: string;
10
+ idFilter2: number;
11
+ filter2Display: string;
12
+ requireFilter2: string;
13
+ }
@@ -1,12 +1,12 @@
1
- import { AttributeContainer } from "./attribute-container.entity";
2
- export interface AttributeConfiguration {
3
- idAttributeConfiguration: number;
4
- codeAttributeContext: string;
5
- codeAttributeSecurityContext: string;
6
- idFilter1: number;
7
- idFilter2: number;
8
- baseWindowTemplate: string;
9
- preconfigTabTemplate: string;
10
- commandName: string;
11
- attributeContainers: AttributeContainer[];
12
- }
1
+ import { AttributeContainer } from "./attribute-container.entity";
2
+ export interface AttributeConfiguration {
3
+ idAttributeConfiguration: number;
4
+ codeAttributeContext: string;
5
+ codeAttributeSecurityContext: string;
6
+ idFilter1: number;
7
+ idFilter2: number;
8
+ baseWindowTemplate: string;
9
+ preconfigTabTemplate: string;
10
+ commandName: string;
11
+ attributeContainers: AttributeContainer[];
12
+ }
@@ -1,9 +1,9 @@
1
- import { GraphicalAttribute } from "./graphical-attribute.entity";
2
- export interface AttributeContainer {
3
- idAttributeContainer: number;
4
- idAttributeConfiguration: number;
5
- containerName: string;
6
- isAutoLayout?: string;
7
- sortOrder?: number;
8
- graphicalAttributes: GraphicalAttribute[];
9
- }
1
+ import { GraphicalAttribute } from "./graphical-attribute.entity";
2
+ export interface AttributeContainer {
3
+ idAttributeContainer: number;
4
+ idAttributeConfiguration: number;
5
+ containerName: string;
6
+ isAutoLayout?: string;
7
+ sortOrder?: number;
8
+ graphicalAttributes: GraphicalAttribute[];
9
+ }
@@ -1,12 +1,12 @@
1
- export interface AttributeDictionary {
2
- idAttributeDictionary: number;
3
- attributeDictionary: string;
4
- description: string;
5
- tableName: string;
6
- className: string;
7
- xpath: string;
8
- xmlDisplayAttribute: string;
9
- xmlValueAttribute: string;
10
- xpathDisplay: string;
11
- isActive: string;
12
- }
1
+ export interface AttributeDictionary {
2
+ idAttributeDictionary: number;
3
+ attributeDictionary: string;
4
+ description: string;
5
+ tableName: string;
6
+ className: string;
7
+ xpath: string;
8
+ xmlDisplayAttribute: string;
9
+ xmlValueAttribute: string;
10
+ xpathDisplay: string;
11
+ isActive: string;
12
+ }
@@ -1,4 +1,4 @@
1
- export interface AttributeLongText {
2
- idLongText: number;
3
- textData: string;
4
- }
1
+ export interface AttributeLongText {
2
+ idLongText: number;
3
+ textData: string;
4
+ }
@@ -1,7 +1,7 @@
1
- import { AttributeValue } from "./attribute-value.entity";
2
- export interface AttributeValueGridRow {
3
- idAttributeValueSet: number;
4
- idGroupAttribute: number;
5
- groupAttributeRowId: number;
6
- attributeValues: AttributeValue[];
7
- }
1
+ import { AttributeValue } from "./attribute-value.entity";
2
+ export interface AttributeValueGridRow {
3
+ idAttributeValueSet: number;
4
+ idGroupAttribute: number;
5
+ groupAttributeRowId: number;
6
+ attributeValues: AttributeValue[];
7
+ }
@@ -1,11 +1,11 @@
1
- import { AttributeValue } from "./attribute-value.entity";
2
- import { AttributeValueGridRow } from "./attribute-value-grid-row.entity";
3
- import { ExtractableFieldStatus } from "./extractable-field-status.entity";
4
- export interface AttributeValueSet {
5
- idAttributeValueSet: number;
6
- attributeValues: AttributeValue[];
7
- attributeValueGridRows?: AttributeValueGridRow[];
8
- extractableFieldStatuses?: ExtractableFieldStatus[];
9
- createDateTime?: string;
10
- extractionValidated?: string;
11
- }
1
+ import { AttributeValue } from "./attribute-value.entity";
2
+ import { AttributeValueGridRow } from "./attribute-value-grid-row.entity";
3
+ import { ExtractableFieldStatus } from "./extractable-field-status.entity";
4
+ export interface AttributeValueSet {
5
+ idAttributeValueSet: number;
6
+ attributeValues: AttributeValue[];
7
+ attributeValueGridRows?: AttributeValueGridRow[];
8
+ extractableFieldStatuses?: ExtractableFieldStatus[];
9
+ createDateTime?: string;
10
+ extractionValidated?: string;
11
+ }
@@ -1,28 +1,28 @@
1
- import { AttributeChoice } from "./attribute-choice.entity";
2
- import { AttributeDictionary } from "./attribute-dictionary.entity";
3
- import { AttributeLongText } from "./attribute-long-text.entity";
4
- export declare class AttributeValue {
5
- idAttributeValue: number;
6
- idAttributeValueSet: number;
7
- idAttribute: number;
8
- codeAttributeDataType: string;
9
- valueString?: string;
10
- value?: string;
11
- valueDate?: string;
12
- valueDateTime?: string;
13
- date?: Date;
14
- valueInteger?: number;
15
- valueNumeric?: number;
16
- valueBoolean?: string;
17
- valueExtendedBoolean?: string;
18
- valueAttributeChoice?: AttributeChoice;
19
- valueIdDictionary?: string;
20
- valueLongText?: AttributeLongText;
21
- attributeDictionary?: AttributeDictionary;
22
- idGroupAttribute?: number;
23
- groupAttributeRowId?: number;
24
- extractAttributeName?: string;
25
- extractionStatus?: string;
26
- extractReportAlias?: string;
27
- extractionDate?: string;
28
- }
1
+ import { AttributeChoice } from "./attribute-choice.entity";
2
+ import { AttributeDictionary } from "./attribute-dictionary.entity";
3
+ import { AttributeLongText } from "./attribute-long-text.entity";
4
+ export declare class AttributeValue {
5
+ idAttributeValue: number;
6
+ idAttributeValueSet: number;
7
+ idAttribute: number;
8
+ codeAttributeDataType: string;
9
+ valueString?: string;
10
+ value?: string;
11
+ valueDate?: string;
12
+ valueDateTime?: string;
13
+ date?: Date;
14
+ valueInteger?: number;
15
+ valueNumeric?: number;
16
+ valueBoolean?: string;
17
+ valueExtendedBoolean?: string;
18
+ valueAttributeChoice?: AttributeChoice;
19
+ valueIdDictionary?: string;
20
+ valueLongText?: AttributeLongText;
21
+ attributeDictionary?: AttributeDictionary;
22
+ idGroupAttribute?: number;
23
+ groupAttributeRowId?: number;
24
+ extractAttributeName?: string;
25
+ extractionStatus?: string;
26
+ extractReportAlias?: string;
27
+ extractionDate?: string;
28
+ }
@@ -1,26 +1,26 @@
1
- import { AttributeChoice } from "./attribute-choice.entity";
2
- import { AttributeDictionary } from "./attribute-dictionary.entity";
3
- export interface Attribute {
4
- idAttribute: number;
5
- idGroupAttribute: number;
6
- subclass: string;
7
- attributeName: string;
8
- displayName: string;
9
- reportingName: string;
10
- codeAttributeDataType: string;
11
- isMultiValue: string;
12
- isAjcc: string;
13
- isCap: string;
14
- isActive: string;
15
- isCalculated: string;
16
- isRequired: string;
17
- defaultValue: string;
18
- idAjccParameterName: number;
19
- idAttributeDictionary: number;
20
- attributeDictionary: AttributeDictionary;
21
- groupAttribute: Attribute;
22
- attributes: Attribute[];
23
- attributeChoices: AttributeChoice[];
24
- idAttributeConfiguration: number;
25
- attributeDescription: string;
26
- }
1
+ import { AttributeChoice } from "./attribute-choice.entity";
2
+ import { AttributeDictionary } from "./attribute-dictionary.entity";
3
+ export interface Attribute {
4
+ idAttribute: number;
5
+ idGroupAttribute: number;
6
+ subclass: string;
7
+ attributeName: string;
8
+ displayName: string;
9
+ reportingName: string;
10
+ codeAttributeDataType: string;
11
+ isMultiValue: string;
12
+ isAjcc: string;
13
+ isCap: string;
14
+ isActive: string;
15
+ isCalculated: string;
16
+ isRequired: string;
17
+ defaultValue: string;
18
+ idAjccParameterName: number;
19
+ idAttributeDictionary: number;
20
+ attributeDictionary: AttributeDictionary;
21
+ groupAttribute: Attribute;
22
+ attributes: Attribute[];
23
+ attributeChoices: AttributeChoice[];
24
+ idAttributeConfiguration: number;
25
+ attributeDescription: string;
26
+ }
@@ -1,6 +1,6 @@
1
- import { Attribute } from "./attribute.entity";
2
- export declare class DictionaryEntriesDTO {
3
- entries: any[];
4
- entriesIncludeSelectedValue: boolean;
5
- referencedAttribute: Attribute;
6
- }
1
+ import { Attribute } from "./attribute.entity";
2
+ export declare class DictionaryEntriesDTO {
3
+ entries: any[];
4
+ entriesIncludeSelectedValue: boolean;
5
+ referencedAttribute: Attribute;
6
+ }
@@ -1,8 +1,8 @@
1
- export interface ExtractableFieldStatus {
2
- idExtractableFieldStatus: number;
3
- idAttributeValueSet: number;
4
- idExtractableField: number;
5
- extractionStatus: string;
6
- extractReportAlias: string;
7
- extractionDate: string;
8
- }
1
+ export interface ExtractableFieldStatus {
2
+ idExtractableFieldStatus: number;
3
+ idAttributeValueSet: number;
4
+ idExtractableField: number;
5
+ extractionStatus: string;
6
+ extractReportAlias: string;
7
+ extractionDate: string;
8
+ }
@@ -1,13 +1,13 @@
1
- import { Attribute } from "./attribute.entity";
2
- export interface GraphicalAttribute extends Attribute {
3
- idAttributeContainer: number;
4
- x: number;
5
- y: number;
6
- h: number;
7
- w: number;
8
- tabOrder: number;
9
- altioFormat: string;
10
- dropFilterControlName: string;
11
- dropFilterControlProperty: string;
12
- dropFilterAttribute: string;
13
- }
1
+ import { Attribute } from "./attribute.entity";
2
+ export interface GraphicalAttribute extends Attribute {
3
+ idAttributeContainer: number;
4
+ x: number;
5
+ y: number;
6
+ h: number;
7
+ w: number;
8
+ tabOrder: number;
9
+ altioFormat: string;
10
+ dropFilterControlName: string;
11
+ dropFilterControlProperty: string;
12
+ dropFilterAttribute: string;
13
+ }
@@ -1,5 +1,5 @@
1
- import { Attribute } from "./attribute.entity";
2
- export declare class PreEvalDTO {
3
- expression: string;
4
- referencedAttribute: Attribute;
5
- }
1
+ import { Attribute } from "./attribute.entity";
2
+ export declare class PreEvalDTO {
3
+ expression: string;
4
+ referencedAttribute: Attribute;
5
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huntsman-cancer-institute/cod",
3
- "version": "16.0.1",
3
+ "version": "17.0.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git@gitlab.com:huntsman-cancer-institute/risr/ng/hci-ng-lib.git"
@@ -10,21 +10,29 @@
10
10
  "access": "public"
11
11
  },
12
12
  "peerDependencies": {
13
- "@angular/common": "^16.x",
14
- "@angular/core": "^16.x",
13
+ "@angular/common": "^17.x",
14
+ "@angular/core": "^17.x",
15
15
  "@angular-material-components/datetime-picker": "^16.x",
16
- "@ng-bootstrap/ng-bootstrap": "^15.0.0",
17
16
  "ag-grid-angular": "^28.x",
18
17
  "ag-grid-community": "^28.x",
19
- "bootstrap": ">=4.3.1 <4.4.0",
20
18
  "date-fns": "^2.16.1"
21
19
  },
22
20
  "dependencies": {
23
- "@huntsman-cancer-institute/dictionary-service": "16.0.1",
24
- "@huntsman-cancer-institute/input": "16.0.1",
25
- "@huntsman-cancer-institute/misc": "16.0.1",
21
+ "@huntsman-cancer-institute/dictionary-service": "17.0.1",
22
+ "@huntsman-cancer-institute/input": "17.0.1",
23
+ "@huntsman-cancer-institute/misc": "17.0.1",
26
24
  "tslib": "^2.3.0"
27
25
  },
26
+ "overrides": {
27
+ "@angular-material-components/datetime-picker": {
28
+ "@angular/platform-browser": ">=16.0.0",
29
+ "@angular/common": ">=16.0.0",
30
+ "@angular/core": ">=16.0.0",
31
+ "@angular/forms": ">=16.0.0",
32
+ "@angular/material": ">=16.0.0",
33
+ "@angular/cdk": ">=16.0.0"
34
+ }
35
+ },
28
36
  "module": "fesm2022/huntsman-cancer-institute-cod.mjs",
29
37
  "typings": "index.d.ts",
30
38
  "exports": {
@@ -1,13 +1,13 @@
1
- import { PipeTransform } from "@angular/core";
2
- import { GraphicalAttribute } from "../model/graphical-attribute.entity";
3
- import * as i0 from "@angular/core";
4
- /**
5
- * A filter for attributes in a container. All attributes have the id of the container even those that belong
6
- * to a grid attribute. However, when we populate the container, we don't want to render those grid attributes.
7
- * The grid will handle those itself.
8
- */
9
- export declare class IsGroupAttributePipe implements PipeTransform {
10
- transform(list: GraphicalAttribute[], returnGroup: boolean): GraphicalAttribute[];
11
- static ɵfac: i0.ɵɵFactoryDeclaration<IsGroupAttributePipe, never>;
12
- static ɵpipe: i0.ɵɵPipeDeclaration<IsGroupAttributePipe, "isGroupAttribute", false>;
13
- }
1
+ import { PipeTransform } from "@angular/core";
2
+ import { GraphicalAttribute } from "../model/graphical-attribute.entity";
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * A filter for attributes in a container. All attributes have the id of the container even those that belong
6
+ * to a grid attribute. However, when we populate the container, we don't want to render those grid attributes.
7
+ * The grid will handle those itself.
8
+ */
9
+ export declare class IsGroupAttributePipe implements PipeTransform {
10
+ transform(list: GraphicalAttribute[], returnGroup: boolean): GraphicalAttribute[];
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<IsGroupAttributePipe, never>;
12
+ static ɵpipe: i0.ɵɵPipeDeclaration<IsGroupAttributePipe, "isGroupAttribute", false>;
13
+ }