@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.
Files changed (51) hide show
  1. package/dist/custom-elements.json +301 -1
  2. package/dist/dts/cell-editors/index.d.ts +1 -0
  3. package/dist/dts/cell-editors/index.d.ts.map +1 -1
  4. package/dist/dts/cell-editors/multiselect.editor.d.ts +60 -0
  5. package/dist/dts/cell-editors/multiselect.editor.d.ts.map +1 -0
  6. package/dist/dts/cell-editors/select.editor.d.ts +2 -0
  7. package/dist/dts/cell-editors/select.editor.d.ts.map +1 -1
  8. package/dist/dts/grid-components.d.ts +9 -0
  9. package/dist/dts/grid-components.d.ts.map +1 -1
  10. package/dist/dts/grid-pro.d.ts +3 -3
  11. package/dist/dts/grid-pro.d.ts.map +1 -1
  12. package/dist/dts/grid-pro.types.d.ts +2 -1
  13. package/dist/dts/grid-pro.types.d.ts.map +1 -1
  14. package/dist/esm/cell-editors/index.js +1 -0
  15. package/dist/esm/cell-editors/multiselect.editor.js +94 -0
  16. package/dist/esm/cell-editors/select.editor.js +6 -4
  17. package/dist/esm/grid-components.js +2 -1
  18. package/dist/esm/grid-pro.js +2 -1
  19. package/dist/esm/grid-pro.types.js +1 -0
  20. package/dist/grid-pro.api.json +975 -12
  21. package/dist/grid-pro.d.ts +77 -4
  22. package/docs/api/grid-pro.agmultiselecteditorstyles.md +13 -0
  23. package/docs/api/grid-pro.foundationgridcomponents.md +9 -0
  24. package/docs/api/grid-pro.foundationmultiselecteditor.md +24 -0
  25. package/docs/api/grid-pro.getmultiselecteditortemplate.md +13 -0
  26. package/docs/api/grid-pro.gridprorenderertypes.md +1 -0
  27. package/docs/api/grid-pro.md +5 -0
  28. package/docs/api/grid-pro.multiselecteditor.changehandler.md +22 -0
  29. package/docs/api/grid-pro.multiselecteditor.destroy.md +15 -0
  30. package/docs/api/grid-pro.multiselecteditor.getgui.md +15 -0
  31. package/docs/api/grid-pro.multiselecteditor.getvalue.md +15 -0
  32. package/docs/api/grid-pro.multiselecteditor.init.md +22 -0
  33. package/docs/api/grid-pro.multiselecteditor.ispopup.md +15 -0
  34. package/docs/api/grid-pro.multiselecteditor.md +36 -0
  35. package/docs/api/grid-pro.multiselecteditor.params.md +11 -0
  36. package/docs/api/grid-pro.multiselecteditor.refresh.md +22 -0
  37. package/docs/api/grid-pro.multiselecteditor.selectedoptions.md +11 -0
  38. package/docs/api/grid-pro.multiselecteditorparams.alloptionsresourcename.md +11 -0
  39. package/docs/api/grid-pro.multiselecteditorparams.async.md +11 -0
  40. package/docs/api/grid-pro.multiselecteditorparams.datasourceoptions.md +11 -0
  41. package/docs/api/grid-pro.multiselecteditorparams.labelfield.md +11 -0
  42. package/docs/api/grid-pro.multiselecteditorparams.md +27 -0
  43. package/docs/api/grid-pro.multiselecteditorparams.selectedoptionscallback.md +11 -0
  44. package/docs/api/grid-pro.multiselecteditorparams.valuefield.md +11 -0
  45. package/docs/api/grid-pro.multiselecteditorparams.values.md +11 -0
  46. package/docs/api/grid-pro.selecteditor.changehandler.md +22 -0
  47. package/docs/api/grid-pro.selecteditor.md +1 -0
  48. package/docs/api/grid-pro.selecteditorparams.async.md +11 -0
  49. package/docs/api/grid-pro.selecteditorparams.md +1 -0
  50. package/docs/api-report.md +72 -0
  51. package/package.json +8 -8
@@ -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.104.0",
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.104.0",
34
- "@genesislcap/genx": "14.104.0",
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.104.0",
39
- "@genesislcap/foundation-logger": "14.104.0",
40
- "@genesislcap/foundation-ui": "14.104.0",
41
- "@genesislcap/foundation-utils": "14.104.0",
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": "2df9499fe059d3142fb281802ba96c9f97240b9c"
64
+ "gitHead": "55eb8d2e16c039fc572b575c92fcca51460ba55b"
65
65
  }