@huntsman-cancer-institute/dictionary-editor 17.14.6 → 17.15.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.
- package/components/detail.component.d.ts +0 -1
- package/esm2022/components/detail.component.mjs +41 -9
- package/esm2022/grid-editors/select.editor.mjs +23 -130
- package/esm2022/grid-renderers/cell-renderer-validation.mjs +11 -12
- package/esm2022/grid-renderers/select.renderer.mjs +37 -105
- package/fesm2022/huntsman-cancer-institute-dictionary-editor.mjs +108 -252
- package/fesm2022/huntsman-cancer-institute-dictionary-editor.mjs.map +1 -1
- package/grid-editors/select.editor.d.ts +14 -20
- package/grid-renderers/cell-renderer-validation.d.ts +3 -4
- package/grid-renderers/select.renderer.d.ts +9 -7
- package/package.json +1 -1
|
@@ -1,30 +1,24 @@
|
|
|
1
|
-
import { OnDestroy } from "@angular/core";
|
|
2
1
|
import { ICellEditorAngularComp } from "ag-grid-angular";
|
|
2
|
+
import { ICellEditorParams } from 'ag-grid-community';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SelectEditor implements ICellEditorAngularComp
|
|
5
|
-
params:
|
|
4
|
+
export declare class SelectEditor implements ICellEditorAngularComp {
|
|
5
|
+
params: ICellEditorParams;
|
|
6
6
|
value: any;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
optionsValueField: string;
|
|
11
|
-
optionsDisplayField: string;
|
|
12
|
-
context: any;
|
|
13
|
-
protected using_selectOptionsPerRowFilterFunction: boolean;
|
|
14
|
-
protected selectOptionsPerRowFilterFunction: (context: any, rowData: any, option: any) => boolean;
|
|
15
|
-
private _filteredOptions;
|
|
16
|
-
gridValueField: string;
|
|
17
|
-
showFillButton: boolean;
|
|
18
|
-
fillGroupAttribute: string;
|
|
19
|
-
fillAll: boolean;
|
|
20
|
-
private _spinnerDialogIsOpen;
|
|
7
|
+
options: any[];
|
|
8
|
+
valueField: string;
|
|
9
|
+
displayField: string;
|
|
21
10
|
constructor();
|
|
22
|
-
agInit(params:
|
|
23
|
-
|
|
11
|
+
agInit(params: ICellEditorParams & {
|
|
12
|
+
displayField: string;
|
|
13
|
+
valueField: string;
|
|
14
|
+
options: any[];
|
|
15
|
+
displayOrder: any;
|
|
16
|
+
dictionaryDisplay: any;
|
|
17
|
+
dictionaryTooltip: any;
|
|
18
|
+
}): void;
|
|
24
19
|
onChange(event: any): void;
|
|
25
20
|
getValue(): any;
|
|
26
21
|
isPopup(): boolean;
|
|
27
|
-
onFillButtonClicked(): void;
|
|
28
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectEditor, never>;
|
|
29
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<SelectEditor, "ng-component", never, {}, {}, never, never, false, never>;
|
|
30
24
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ICellRendererAngularComp } from "ag-grid-angular";
|
|
2
|
-
import {
|
|
2
|
+
import { FormBuilder } from "@angular/forms";
|
|
3
3
|
/**
|
|
4
4
|
* This class' purpose is to place FormControls on cells in the grid, and to link them by rows, and rows to the grid as a whole.
|
|
5
5
|
* It allows you to add validators for a cells' value and link an error type to an error message to display in a tooltip, or
|
|
@@ -21,7 +21,7 @@ import { UntypedFormBuilder } from "@angular/forms";
|
|
|
21
21
|
* headerName: "Name",
|
|
22
22
|
* editable: false,
|
|
23
23
|
* width: 600,
|
|
24
|
-
*
|
|
24
|
+
* cellRenderer: TextAlignLeftMiddleRenderer,
|
|
25
25
|
* setErrors: (value: any,
|
|
26
26
|
* data: any,
|
|
27
27
|
* node: any,
|
|
@@ -54,9 +54,8 @@ import { UntypedFormBuilder } from "@angular/forms";
|
|
|
54
54
|
export declare abstract class CellRendererValidation implements ICellRendererAngularComp {
|
|
55
55
|
protected params: any;
|
|
56
56
|
errorMessage: string;
|
|
57
|
-
formBuilder:
|
|
57
|
+
formBuilder: FormBuilder;
|
|
58
58
|
agInit(params: any): void;
|
|
59
|
-
abstract agInit2(params: any): void;
|
|
60
59
|
refresh(params: any): boolean;
|
|
61
60
|
createAllFormControls(): void;
|
|
62
61
|
private changeGridOptionsEvents;
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import { ICellRendererAngularComp } from "ag-grid-angular";
|
|
2
2
|
import { CellRendererValidation } from "./cell-renderer-validation";
|
|
3
|
+
import { ICellRendererParams } from 'ag-grid-community';
|
|
4
|
+
import { DropdownEntry } from "@huntsman-cancer-institute/dictionary-service";
|
|
3
5
|
import * as i0 from "@angular/core";
|
|
4
6
|
export declare class SelectRenderer extends CellRendererValidation implements ICellRendererAngularComp {
|
|
5
7
|
value: string;
|
|
6
8
|
display: string;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
valueField: string;
|
|
10
|
+
displayField: string;
|
|
11
|
+
agInit(params: ICellRendererParams & {
|
|
12
|
+
displayField: string;
|
|
13
|
+
valueField: string;
|
|
14
|
+
options: DropdownEntry[];
|
|
15
|
+
}): void;
|
|
14
16
|
refresh(): boolean;
|
|
15
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectRenderer, never>;
|
|
16
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<SelectRenderer, "ng-component", never, {}, {}, never, never, false, never>;
|