@genesislcap/grid-pro 14.104.0 → 14.105.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/dist/custom-elements.json +301 -1
- package/dist/dts/cell-editors/index.d.ts +1 -0
- package/dist/dts/cell-editors/index.d.ts.map +1 -1
- package/dist/dts/cell-editors/multiselect.editor.d.ts +60 -0
- package/dist/dts/cell-editors/multiselect.editor.d.ts.map +1 -0
- package/dist/dts/cell-editors/select.editor.d.ts +2 -0
- package/dist/dts/cell-editors/select.editor.d.ts.map +1 -1
- package/dist/dts/grid-components.d.ts +9 -0
- package/dist/dts/grid-components.d.ts.map +1 -1
- package/dist/dts/grid-pro.d.ts +3 -3
- package/dist/dts/grid-pro.d.ts.map +1 -1
- package/dist/dts/grid-pro.types.d.ts +2 -1
- package/dist/dts/grid-pro.types.d.ts.map +1 -1
- package/dist/esm/cell-editors/index.js +1 -0
- package/dist/esm/cell-editors/multiselect.editor.js +94 -0
- package/dist/esm/cell-editors/select.editor.js +6 -4
- package/dist/esm/grid-components.js +2 -1
- package/dist/esm/grid-pro.js +2 -1
- package/dist/esm/grid-pro.types.js +1 -0
- package/dist/grid-pro.api.json +975 -12
- package/dist/grid-pro.d.ts +77 -4
- package/docs/api/grid-pro.agmultiselecteditorstyles.md +13 -0
- package/docs/api/grid-pro.foundationgridcomponents.md +9 -0
- package/docs/api/grid-pro.foundationmultiselecteditor.md +24 -0
- package/docs/api/grid-pro.getmultiselecteditortemplate.md +13 -0
- package/docs/api/grid-pro.gridprorenderertypes.md +1 -0
- package/docs/api/grid-pro.md +5 -0
- package/docs/api/grid-pro.multiselecteditor.changehandler.md +22 -0
- package/docs/api/grid-pro.multiselecteditor.destroy.md +15 -0
- package/docs/api/grid-pro.multiselecteditor.getgui.md +15 -0
- package/docs/api/grid-pro.multiselecteditor.getvalue.md +15 -0
- package/docs/api/grid-pro.multiselecteditor.init.md +22 -0
- package/docs/api/grid-pro.multiselecteditor.ispopup.md +15 -0
- package/docs/api/grid-pro.multiselecteditor.md +36 -0
- package/docs/api/grid-pro.multiselecteditor.params.md +11 -0
- package/docs/api/grid-pro.multiselecteditor.refresh.md +22 -0
- package/docs/api/grid-pro.multiselecteditor.selectedoptions.md +11 -0
- package/docs/api/grid-pro.multiselecteditorparams.alloptionsresourcename.md +11 -0
- package/docs/api/grid-pro.multiselecteditorparams.async.md +11 -0
- package/docs/api/grid-pro.multiselecteditorparams.datasourceoptions.md +11 -0
- package/docs/api/grid-pro.multiselecteditorparams.labelfield.md +11 -0
- package/docs/api/grid-pro.multiselecteditorparams.md +27 -0
- package/docs/api/grid-pro.multiselecteditorparams.selectedoptionscallback.md +11 -0
- package/docs/api/grid-pro.multiselecteditorparams.valuefield.md +11 -0
- package/docs/api/grid-pro.multiselecteditorparams.values.md +11 -0
- package/docs/api/grid-pro.selecteditor.changehandler.md +22 -0
- package/docs/api/grid-pro.selecteditor.md +1 -0
- package/docs/api/grid-pro.selecteditorparams.async.md +11 -0
- package/docs/api/grid-pro.selecteditorparams.md +1 -0
- package/docs/api-report.md +72 -0
- package/package.json +8 -8
package/docs/api-report.md
CHANGED
|
@@ -221,6 +221,9 @@ export enum AgGridTheme {
|
|
|
221
221
|
// @public
|
|
222
222
|
export const agHeadCSS: ElementStyles;
|
|
223
223
|
|
|
224
|
+
// @public
|
|
225
|
+
export const agMultiselectEditorStyles: ElementStyles;
|
|
226
|
+
|
|
224
227
|
// @public
|
|
225
228
|
export const agNumberEditorStyles: ElementStyles;
|
|
226
229
|
|
|
@@ -475,6 +478,15 @@ export const foundationGridComponents: {
|
|
|
475
478
|
styles: ElementStyles;
|
|
476
479
|
template: ViewTemplate<NumberEditor, any>;
|
|
477
480
|
}, NumberEditor>;
|
|
481
|
+
foundationMultiselectEditor: (overrideDefinition?: OverrideFoundationElementDefinition< {
|
|
482
|
+
baseName: string;
|
|
483
|
+
styles: ElementStyles;
|
|
484
|
+
template: ViewTemplate<MultiselectEditor, any>;
|
|
485
|
+
}>) => FoundationElementRegistry< {
|
|
486
|
+
baseName: string;
|
|
487
|
+
styles: ElementStyles;
|
|
488
|
+
template: ViewTemplate<MultiselectEditor, any>;
|
|
489
|
+
}, MultiselectEditor>;
|
|
478
490
|
register(container?: Container, ...rest: any[]): void;
|
|
479
491
|
};
|
|
480
492
|
|
|
@@ -517,6 +529,17 @@ export const foundationGridProShadowOptions: ShadowRootInit;
|
|
|
517
529
|
// @public
|
|
518
530
|
export const foundationGridProStyles: ElementStyles;
|
|
519
531
|
|
|
532
|
+
// @public (undocumented)
|
|
533
|
+
export const foundationMultiselectEditor: (overrideDefinition?: OverrideFoundationElementDefinition< {
|
|
534
|
+
baseName: string;
|
|
535
|
+
styles: ElementStyles;
|
|
536
|
+
template: ViewTemplate<MultiselectEditor, any>;
|
|
537
|
+
}>) => FoundationElementRegistry< {
|
|
538
|
+
baseName: string;
|
|
539
|
+
styles: ElementStyles;
|
|
540
|
+
template: ViewTemplate<MultiselectEditor, any>;
|
|
541
|
+
}, typeof MultiselectEditor>;
|
|
542
|
+
|
|
520
543
|
// @public (undocumented)
|
|
521
544
|
export const foundationNumberEditor: (overrideDefinition?: OverrideFoundationElementDefinition< {
|
|
522
545
|
baseName: string;
|
|
@@ -554,6 +577,9 @@ export function getFilterByFieldType(type: string): string;
|
|
|
554
577
|
// @alpha
|
|
555
578
|
export function getFilterParamsByFieldType(type: string): any;
|
|
556
579
|
|
|
580
|
+
// @public
|
|
581
|
+
export const getMultiselectEditorTemplate: (designSystem?: string) => ViewTemplate<MultiselectEditor, any>;
|
|
582
|
+
|
|
557
583
|
// @public
|
|
558
584
|
export const getNumberEditorTemplate: (designSystem?: string) => ViewTemplate<NumberEditor, any>;
|
|
559
585
|
|
|
@@ -769,6 +795,8 @@ export enum GridProRendererTypes {
|
|
|
769
795
|
// (undocumented)
|
|
770
796
|
boolean = "boolean",
|
|
771
797
|
// (undocumented)
|
|
798
|
+
multiselectEditor = "multiselectEditor",
|
|
799
|
+
// (undocumented)
|
|
772
800
|
numberEditor = "numberEditor",
|
|
773
801
|
// (undocumented)
|
|
774
802
|
select = "select",
|
|
@@ -833,6 +861,46 @@ export const logger: Logger;
|
|
|
833
861
|
// @public
|
|
834
862
|
export function mergeAndDedupColDefWithColumnState(colDefs: ColDef[], columnStates: ColumnState[]): ColDef[];
|
|
835
863
|
|
|
864
|
+
// @public
|
|
865
|
+
export class MultiselectEditor extends FoundationElement implements ICellEditorComp {
|
|
866
|
+
// (undocumented)
|
|
867
|
+
changeHandler(event: any): void;
|
|
868
|
+
// (undocumented)
|
|
869
|
+
destroy(): void;
|
|
870
|
+
// (undocumented)
|
|
871
|
+
getGui(): HTMLElement;
|
|
872
|
+
// (undocumented)
|
|
873
|
+
getValue(): any[];
|
|
874
|
+
// (undocumented)
|
|
875
|
+
init(params: MultiselectEditorParams): void;
|
|
876
|
+
// (undocumented)
|
|
877
|
+
isPopup(): boolean;
|
|
878
|
+
// (undocumented)
|
|
879
|
+
params: MultiselectEditorParams;
|
|
880
|
+
// (undocumented)
|
|
881
|
+
refresh(params: MultiselectEditorParams): boolean;
|
|
882
|
+
// (undocumented)
|
|
883
|
+
selectedOptions: any[];
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
// @public
|
|
887
|
+
export interface MultiselectEditorParams extends ICellEditorParams {
|
|
888
|
+
// (undocumented)
|
|
889
|
+
allOptionsResourceName: string;
|
|
890
|
+
// (undocumented)
|
|
891
|
+
async: boolean;
|
|
892
|
+
// (undocumented)
|
|
893
|
+
datasourceOptions: DatasourceOptions[];
|
|
894
|
+
// (undocumented)
|
|
895
|
+
labelField: string;
|
|
896
|
+
// (undocumented)
|
|
897
|
+
selectedOptionsCallback: (data: any) => Promise<[]>;
|
|
898
|
+
// (undocumented)
|
|
899
|
+
valueField: string;
|
|
900
|
+
// (undocumented)
|
|
901
|
+
values: any[];
|
|
902
|
+
}
|
|
903
|
+
|
|
836
904
|
// @public
|
|
837
905
|
export class NumberEditor extends FoundationElement implements ICellEditorComp {
|
|
838
906
|
// (undocumented)
|
|
@@ -890,6 +958,8 @@ export class SelectEditor extends FoundationElement implements ICellEditorComp {
|
|
|
890
958
|
// (undocumented)
|
|
891
959
|
afterGuiAttached(): void;
|
|
892
960
|
// (undocumented)
|
|
961
|
+
changeHandler(event: any): void;
|
|
962
|
+
// (undocumented)
|
|
893
963
|
combobox: any;
|
|
894
964
|
// (undocumented)
|
|
895
965
|
destroy(): void;
|
|
@@ -914,6 +984,8 @@ export interface SelectEditorParams extends ICellEditorParams {
|
|
|
914
984
|
// (undocumented)
|
|
915
985
|
allOptionsResourceName: string;
|
|
916
986
|
// (undocumented)
|
|
987
|
+
async: boolean;
|
|
988
|
+
// (undocumented)
|
|
917
989
|
datasourceOptions: DatasourceOptions[];
|
|
918
990
|
// (undocumented)
|
|
919
991
|
labelField: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/grid-pro",
|
|
3
3
|
"description": "Genesis Foundation AG Grid",
|
|
4
|
-
"version": "14.
|
|
4
|
+
"version": "14.105.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -30,15 +30,15 @@
|
|
|
30
30
|
"test:debug": "genx test --debug"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@genesislcap/foundation-testing": "14.
|
|
34
|
-
"@genesislcap/genx": "14.
|
|
33
|
+
"@genesislcap/foundation-testing": "14.105.0",
|
|
34
|
+
"@genesislcap/genx": "14.105.0",
|
|
35
35
|
"rimraf": "^3.0.2"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@genesislcap/foundation-comms": "14.
|
|
39
|
-
"@genesislcap/foundation-logger": "14.
|
|
40
|
-
"@genesislcap/foundation-ui": "14.
|
|
41
|
-
"@genesislcap/foundation-utils": "14.
|
|
38
|
+
"@genesislcap/foundation-comms": "14.105.0",
|
|
39
|
+
"@genesislcap/foundation-logger": "14.105.0",
|
|
40
|
+
"@genesislcap/foundation-ui": "14.105.0",
|
|
41
|
+
"@genesislcap/foundation-utils": "14.105.0",
|
|
42
42
|
"@microsoft/fast-colors": "^5.1.4",
|
|
43
43
|
"@microsoft/fast-components": "^2.21.3",
|
|
44
44
|
"@microsoft/fast-element": "^1.7.0",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"access": "public"
|
|
62
62
|
},
|
|
63
63
|
"customElements": "dist/custom-elements.json",
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "55eb8d2e16c039fc572b575c92fcca51460ba55b"
|
|
65
65
|
}
|