@genesislcap/grid-pro 14.141.3 → 14.142.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.
@@ -9482,6 +9482,194 @@
9482
9482
  "name": "GridProGenesisDatasource",
9483
9483
  "preserveMemberOrder": false,
9484
9484
  "members": [
9485
+ {
9486
+ "kind": "Property",
9487
+ "canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#applyAsyncFuncName:member",
9488
+ "docComment": "",
9489
+ "excerptTokens": [
9490
+ {
9491
+ "kind": "Content",
9492
+ "text": "applyAsyncFuncName: "
9493
+ },
9494
+ {
9495
+ "kind": "Content",
9496
+ "text": "string"
9497
+ },
9498
+ {
9499
+ "kind": "Content",
9500
+ "text": ";"
9501
+ }
9502
+ ],
9503
+ "isReadonly": false,
9504
+ "isOptional": false,
9505
+ "releaseTag": "Public",
9506
+ "name": "applyAsyncFuncName",
9507
+ "propertyTypeTokenRange": {
9508
+ "startIndex": 1,
9509
+ "endIndex": 2
9510
+ },
9511
+ "isStatic": false,
9512
+ "isProtected": false,
9513
+ "isAbstract": false
9514
+ },
9515
+ {
9516
+ "kind": "Property",
9517
+ "canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#applyFuncName:member",
9518
+ "docComment": "",
9519
+ "excerptTokens": [
9520
+ {
9521
+ "kind": "Content",
9522
+ "text": "applyFuncName: "
9523
+ },
9524
+ {
9525
+ "kind": "Content",
9526
+ "text": "string"
9527
+ },
9528
+ {
9529
+ "kind": "Content",
9530
+ "text": ";"
9531
+ }
9532
+ ],
9533
+ "isReadonly": false,
9534
+ "isOptional": false,
9535
+ "releaseTag": "Public",
9536
+ "name": "applyFuncName",
9537
+ "propertyTypeTokenRange": {
9538
+ "startIndex": 1,
9539
+ "endIndex": 2
9540
+ },
9541
+ "isStatic": false,
9542
+ "isProtected": false,
9543
+ "isAbstract": false
9544
+ },
9545
+ {
9546
+ "kind": "Method",
9547
+ "canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#applyTransaction:member(1)",
9548
+ "docComment": "",
9549
+ "excerptTokens": [
9550
+ {
9551
+ "kind": "Content",
9552
+ "text": "applyTransaction(agTransaction: "
9553
+ },
9554
+ {
9555
+ "kind": "Reference",
9556
+ "text": "RowDataTransaction",
9557
+ "canonicalReference": "@ag-grid-community/core!RowDataTransaction:interface"
9558
+ },
9559
+ {
9560
+ "kind": "Content",
9561
+ "text": "): "
9562
+ },
9563
+ {
9564
+ "kind": "Reference",
9565
+ "text": "RowNodeTransaction",
9566
+ "canonicalReference": "@ag-grid-community/core!RowNodeTransaction:interface"
9567
+ },
9568
+ {
9569
+ "kind": "Content",
9570
+ "text": " | null | undefined"
9571
+ },
9572
+ {
9573
+ "kind": "Content",
9574
+ "text": ";"
9575
+ }
9576
+ ],
9577
+ "isStatic": false,
9578
+ "returnTypeTokenRange": {
9579
+ "startIndex": 3,
9580
+ "endIndex": 5
9581
+ },
9582
+ "releaseTag": "Public",
9583
+ "isProtected": false,
9584
+ "overloadIndex": 1,
9585
+ "parameters": [
9586
+ {
9587
+ "parameterName": "agTransaction",
9588
+ "parameterTypeTokenRange": {
9589
+ "startIndex": 1,
9590
+ "endIndex": 2
9591
+ },
9592
+ "isOptional": false
9593
+ }
9594
+ ],
9595
+ "isOptional": false,
9596
+ "isAbstract": false,
9597
+ "name": "applyTransaction"
9598
+ },
9599
+ {
9600
+ "kind": "Method",
9601
+ "canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#applyTransactionAsync:member(1)",
9602
+ "docComment": "",
9603
+ "excerptTokens": [
9604
+ {
9605
+ "kind": "Content",
9606
+ "text": "applyTransactionAsync(agTransaction: "
9607
+ },
9608
+ {
9609
+ "kind": "Reference",
9610
+ "text": "RowDataTransaction",
9611
+ "canonicalReference": "@ag-grid-community/core!RowDataTransaction:interface"
9612
+ },
9613
+ {
9614
+ "kind": "Content",
9615
+ "text": ", callback?: "
9616
+ },
9617
+ {
9618
+ "kind": "Content",
9619
+ "text": "(res: "
9620
+ },
9621
+ {
9622
+ "kind": "Reference",
9623
+ "text": "RowNodeTransaction",
9624
+ "canonicalReference": "@ag-grid-community/core!RowNodeTransaction:interface"
9625
+ },
9626
+ {
9627
+ "kind": "Content",
9628
+ "text": ") => void"
9629
+ },
9630
+ {
9631
+ "kind": "Content",
9632
+ "text": "): "
9633
+ },
9634
+ {
9635
+ "kind": "Content",
9636
+ "text": "void"
9637
+ },
9638
+ {
9639
+ "kind": "Content",
9640
+ "text": ";"
9641
+ }
9642
+ ],
9643
+ "isStatic": false,
9644
+ "returnTypeTokenRange": {
9645
+ "startIndex": 7,
9646
+ "endIndex": 8
9647
+ },
9648
+ "releaseTag": "Public",
9649
+ "isProtected": false,
9650
+ "overloadIndex": 1,
9651
+ "parameters": [
9652
+ {
9653
+ "parameterName": "agTransaction",
9654
+ "parameterTypeTokenRange": {
9655
+ "startIndex": 1,
9656
+ "endIndex": 2
9657
+ },
9658
+ "isOptional": false
9659
+ },
9660
+ {
9661
+ "parameterName": "callback",
9662
+ "parameterTypeTokenRange": {
9663
+ "startIndex": 3,
9664
+ "endIndex": 6
9665
+ },
9666
+ "isOptional": true
9667
+ }
9668
+ ],
9669
+ "isOptional": false,
9670
+ "isAbstract": false,
9671
+ "name": "applyTransactionAsync"
9672
+ },
9485
9673
  {
9486
9674
  "kind": "Property",
9487
9675
  "canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#auth:member",
@@ -10142,67 +10330,6 @@
10142
10330
  "isProtected": false,
10143
10331
  "isAbstract": false
10144
10332
  },
10145
- {
10146
- "kind": "Property",
10147
- "canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#rowDataMapper:member",
10148
- "docComment": "/**\n * Allows grid data updates to be processed via and external function before applying in grid\n */\n",
10149
- "excerptTokens": [
10150
- {
10151
- "kind": "Content",
10152
- "text": "rowDataMapper: "
10153
- },
10154
- {
10155
- "kind": "Reference",
10156
- "text": "Function",
10157
- "canonicalReference": "!Function:interface"
10158
- },
10159
- {
10160
- "kind": "Content",
10161
- "text": ";"
10162
- }
10163
- ],
10164
- "isReadonly": false,
10165
- "isOptional": false,
10166
- "releaseTag": "Public",
10167
- "name": "rowDataMapper",
10168
- "propertyTypeTokenRange": {
10169
- "startIndex": 1,
10170
- "endIndex": 2
10171
- },
10172
- "isStatic": false,
10173
- "isProtected": false,
10174
- "isAbstract": false
10175
- },
10176
- {
10177
- "kind": "Property",
10178
- "canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#rowIdAttr:member",
10179
- "docComment": "/**\n * Attribute to set an unique identifier for the row.\n *\n * Defaults to `ROW_REF` or `RECORD_ID` depending on the resource type.\n */\n",
10180
- "excerptTokens": [
10181
- {
10182
- "kind": "Content",
10183
- "text": "rowIdAttr: "
10184
- },
10185
- {
10186
- "kind": "Content",
10187
- "text": "any"
10188
- },
10189
- {
10190
- "kind": "Content",
10191
- "text": ";"
10192
- }
10193
- ],
10194
- "isReadonly": false,
10195
- "isOptional": false,
10196
- "releaseTag": "Public",
10197
- "name": "rowIdAttr",
10198
- "propertyTypeTokenRange": {
10199
- "startIndex": 1,
10200
- "endIndex": 2
10201
- },
10202
- "isStatic": false,
10203
- "isProtected": false,
10204
- "isAbstract": false
10205
- },
10206
10333
  {
10207
10334
  "kind": "Method",
10208
10335
  "canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#setFilter:member(1)",
@@ -30,12 +30,17 @@ import { ICellRendererParams } from '@ag-grid-community/core';
30
30
  import { InterfaceSymbol } from '@microsoft/fast-foundation';
31
31
  import type { IServerSideDatasource } from '@ag-grid-community/core';
32
32
  import type { IServerSideGetRowsParams } from '@ag-grid-community/core';
33
+ import type { IServerSideRowModel } from '@ag-grid-community/core';
33
34
  import { ITooltipComp } from '@ag-grid-community/core';
34
35
  import { ITooltipParams } from '@ag-grid-community/core';
35
36
  import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
36
37
  import { Logger } from '@genesislcap/foundation-logger';
37
38
  import { MetadataDetail } from '@genesislcap/foundation-comms';
38
39
  import { OverrideFoundationElementDefinition } from '@microsoft/fast-foundation';
40
+ import type { RowDataTransaction } from '@ag-grid-community/core';
41
+ import type { RowNodeTransaction } from '@ag-grid-community/core';
42
+ import type { ServerSideTransaction } from '@ag-grid-community/core';
43
+ import type { ServerSideTransactionResult } from '@ag-grid-community/core';
39
44
  import { SocketObservable } from '@genesislcap/foundation-comms';
40
45
  import { Swatch } from '@microsoft/fast-components';
41
46
  import { SwatchRGB } from '@microsoft/fast-components';
@@ -932,6 +937,41 @@ declare interface FuiCellRendererParams extends ICellRendererParams {
932
937
  onChange?: (value: string, params: FuiCellRendererParams) => void;
933
938
  }
934
939
 
940
+ declare class GenesisGridDatasourceElement extends FoundationElement {
941
+ connect: Connect;
942
+ deferredGridOptions: GridOptions;
943
+ deferredColumnStates: ColumnState[];
944
+ /**
945
+ * Allows grid data updates to be processed via and external function before applying in grid
946
+ */
947
+ rowDataMapper: Function;
948
+ criteria: string;
949
+ fields: string;
950
+ isSnapshot: boolean;
951
+ maxRows: number;
952
+ maxView: number;
953
+ movingView: boolean;
954
+ orderBy: string;
955
+ resourceName: string;
956
+ reverse: boolean;
957
+ /**
958
+ * Attribute to set an unique identifier for the row.
959
+ *
960
+ * Defaults to `ROW_REF` or `RECORD_ID` depending on the resource type.
961
+ * @privateRemarks Attribute-only, not to be used as a property. Use `rowId` getter instead.
962
+ */
963
+ rowIdAttr: any;
964
+ protected get rowId(): string;
965
+ /**
966
+ * Returns whether the `row-id` attribute is the default one, depending on the resource type.
967
+ * @internal
968
+ */
969
+ protected get hasDefaultRowId(): boolean;
970
+ protected get defaultRowIdByResourceType(): string;
971
+ protected isRequestServer: boolean;
972
+ protected get agGrid(): GridPro | null;
973
+ }
974
+
935
975
  /**
936
976
  * Helper function to get ColDef {@link https://www.ag-grid.com/javascript-data-grid/column-properties/} for Actions Menu Renderer.
937
977
  * Will take the parameter values for a base ColDef and merge them with the overrideDef (if specified).
@@ -1601,19 +1641,27 @@ declare const GridPro_base: (new (...args: any[]) => {
1601
1641
  focus(options?: FocusOptions): void;
1602
1642
  }) & typeof FoundationElement;
1603
1643
 
1604
- declare class GridProBaseDatasource extends FoundationElement {
1605
- connect: Connect;
1606
- deferredGridOptions: GridOptions;
1607
- deferredColumnStates: ColumnState[];
1608
- criteria: string;
1609
- fields: string;
1610
- isSnapshot: boolean;
1611
- maxRows: number;
1612
- maxView: number;
1613
- movingView: boolean;
1614
- orderBy: string;
1615
- resourceName: string;
1616
- reverse: boolean;
1644
+ declare class GridProBaseDatasource extends GenesisGridDatasourceElement {
1645
+ protected dataSubWasLoggedOff: boolean;
1646
+ rowData: Map<string, any>;
1647
+ protected agTransaction: RowDataTransaction | ServerSideTransaction;
1648
+ protected applyFuncName: string;
1649
+ protected applyAsyncFuncName: string;
1650
+ protected handleStreamInserts(insertedRows: any[]): void;
1651
+ protected handleStreamDeletes(deletedRows: any[]): void;
1652
+ protected handleStreamUpdates(updatedRows: any[]): void;
1653
+ protected applyAllAgTransactions(): void;
1654
+ private flashAddedCells;
1655
+ private applyMappedAgTransaction;
1656
+ protected applyTransaction(agTransaction: RowDataTransaction): any;
1657
+ protected applyTransactionAsync(agTransaction: RowDataTransaction, callback?: (res: any) => void): void;
1658
+ /**
1659
+ * Maps the transaction data to the row data mapper function, if it exists.
1660
+ * @param transaction - The transaction data to be mapped.
1661
+ * @param operations - The operations to be mapped. Can be 'add', 'update' or 'remove'.
1662
+ * @returns The mapped transaction (if the row data mapper function exists), or the original transaction.
1663
+ */
1664
+ private mapTransaction;
1617
1665
  }
1618
1666
 
1619
1667
  /**
@@ -1669,50 +1717,24 @@ export declare function gridProColumns<TSource = any>(itemsBinding: Binding<TSou
1669
1717
  export declare class GridProGenesisDatasource extends GridProGenesisDatasource_base {
1670
1718
  auth: Auth;
1671
1719
  datasource: Datasource;
1720
+ applyFuncName: string;
1721
+ applyAsyncFuncName: string;
1672
1722
  criteriaChanged(oldCriteria: string, newCriteria: string): void;
1673
1723
  pollingInterval: number;
1674
1724
  disablePolling: boolean;
1675
1725
  request: any;
1676
1726
  resourceNameChanged(oldValue: string, newValue: string): void;
1677
- /**
1678
- * Attribute to set an unique identifier for the row.
1679
- *
1680
- * Defaults to `ROW_REF` or `RECORD_ID` depending on the resource type.
1681
- * @privateRemarks Attribute-only, not to be used as a property. Use `rowId` getter instead.
1682
- */
1683
- rowIdAttr: any;
1684
1727
  restartOnReconnection: boolean;
1685
- /**
1686
- * Allows grid data updates to be processed via and external function before applying in grid
1687
- */
1688
- rowDataMapper: Function;
1689
1728
  private dataSub;
1690
1729
  private updateSub;
1691
1730
  private connectionSub;
1692
- private isRequestServer;
1693
1731
  private requiresFullRowDataAndColDefs;
1694
- private dataSubWasLoggedOff;
1695
- private rows;
1696
- private agTransaction;
1697
1732
  private sourceRef;
1698
1733
  private criteriaFromFilters;
1699
1734
  private update;
1700
1735
  connectedCallback(): void;
1701
1736
  disconnectedCallback(): void;
1702
1737
  deepClone(): Node;
1703
- private get agGrid();
1704
- /**
1705
- * Returns the `row-id` attribute, depending on the resource type.
1706
- * @remarks Will favour the `row-id` attribute if set.
1707
- * @internal
1708
- */
1709
- private get rowId();
1710
- /**
1711
- * Returns whether the `row-id` attribute is the default one, depending on the resource type.
1712
- * @internal
1713
- */
1714
- private get hasDefaultRowId();
1715
- private get defaultRowIdByResourceType();
1716
1738
  /**
1717
1739
  * Initializes the datasource.
1718
1740
  * @public
@@ -1779,23 +1801,12 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
1779
1801
  private handleStreamResult;
1780
1802
  private applyRequestServerData;
1781
1803
  private applyDataserverData;
1782
- private applyAllAgTransactions;
1783
- private flashAddedCells;
1784
- private applyMappedAgTransaction;
1785
- /**
1786
- * Maps the transaction data to the row data mapper function, if it exists.
1787
- * @param transaction - The transaction data to be mapped.
1788
- * @param operations - The operations to be mapped. Can be 'add', 'update' or 'remove'.
1789
- * @returns The mapped transaction (if the row data mapper function exists), or the original transaction.
1790
- */
1791
- private mapTransaction;
1792
- private handleStreamInserts;
1793
- private handleStreamDeletes;
1794
- private handleStreamUpdates;
1795
1804
  private getAgColumnDefs;
1796
1805
  private buildCriteria;
1797
1806
  setFilter(fieldName: string, newFilter: string): void;
1798
1807
  removeFilter(fieldName: string): void;
1808
+ applyTransaction(agTransaction: RowDataTransaction): RowNodeTransaction | null | undefined;
1809
+ applyTransactionAsync(agTransaction: RowDataTransaction, callback?: (res: RowNodeTransaction) => void): void;
1799
1810
  }
1800
1811
 
1801
1812
  declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
@@ -1813,11 +1824,6 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
1813
1824
  connectedCallback(): void;
1814
1825
  readonly $fastController: Controller;
1815
1826
  $emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail">): boolean | void;
1816
- /**
1817
- * Returns the `row-id` attribute, depending on the resource type.
1818
- * @remarks Will favour the `row-id` attribute if set.
1819
- * @internal
1820
- */
1821
1827
  disconnectedCallback(): void;
1822
1828
  attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
1823
1829
  accessKey: string;
@@ -1886,23 +1892,13 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
1886
1892
  getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
1887
1893
  getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
1888
1894
  hasAttribute(qualifiedName: string): boolean;
1889
- /**
1890
- * Sends a DATA_LOGOFF when the resource is an active stream
1891
- * @remarks Will only happen for streaming DATASERER resources.
1892
- * @internal
1893
- */
1894
1895
  hasAttributeNS(namespace: string, localName: string): boolean;
1895
1896
  hasAttributes(): boolean;
1896
1897
  hasPointerCapture(pointerId: number): boolean;
1897
1898
  insertAdjacentElement(where: InsertPosition, element: Element): Element;
1898
1899
  insertAdjacentHTML(position: InsertPosition, text: string): void;
1899
1900
  insertAdjacentText(where: InsertPosition, data: string): void;
1900
- matches(selectors: string): boolean; /**
1901
- * Clears the rowData and columnDefs for the grid.
1902
- * @remarks This is called when `reloadResourceData` happens, on criteria and filters change or full `reset`.
1903
- * @param withColumnDefs - Whether to clear the columnDefs as well. Defaults to true.
1904
- * @internal
1905
- */
1901
+ matches(selectors: string): boolean;
1906
1902
  releasePointerCapture(pointerId: number): void;
1907
1903
  removeAttribute(qualifiedName: string): void;
1908
1904
  removeAttributeNS(namespace: string, localName: string): void;
@@ -2163,12 +2159,13 @@ export declare enum GridProRendererTypes {
2163
2159
  * @alpha
2164
2160
  */
2165
2161
  export declare class GridProServerSideDatasource extends GridProServerSideDatasource_base {
2162
+ applyFuncName: string;
2163
+ applyAsyncFuncName: string;
2166
2164
  criteriaChanged(oldCriteria: string, newCriteria: string): void;
2167
2165
  resourceNameChanged(oldValue: string, newValue: string): void;
2168
2166
  pagination: boolean;
2169
- rowId: string;
2170
2167
  private indexes;
2171
- private dataserverStream;
2168
+ private ssrmDatasource;
2172
2169
  private originalFieldDef;
2173
2170
  connectedCallback(): void;
2174
2171
  disconnectedCallback(): void;
@@ -2176,12 +2173,15 @@ export declare class GridProServerSideDatasource extends GridProServerSideDataso
2176
2173
  init(): void;
2177
2174
  reset(): void;
2178
2175
  restart(): void;
2179
- private get agGrid();
2180
2176
  private clearRowData;
2181
2177
  private getResourceIndexes;
2182
2178
  get params(): any;
2179
+ get rowModel(): IServerSideRowModel;
2183
2180
  private createDataserverStream;
2181
+ private handleStreamDeletesTemp;
2184
2182
  private getAgColumnDefs;
2183
+ applyTransaction(agTransaction: RowDataTransaction): ServerSideTransactionResult;
2184
+ applyTransactionAsync(agTransaction: RowDataTransaction, callback?: (res: ServerSideTransactionResult) => void): void;
2185
2185
  }
2186
2186
 
2187
2187
  declare const GridProServerSideDatasource_base: (new (...args: any[]) => {
@@ -2335,6 +2335,11 @@ declare const GridProServerSideDatasource_base: (new (...args: any[]) => {
2335
2335
  readonly DOCUMENT_TYPE_NODE: number;
2336
2336
  readonly ELEMENT_NODE: number;
2337
2337
  readonly ENTITY_NODE: number;
2338
+ /**
2339
+ * A Genesis Datasource element, for server-side | SSRM-compatible data fetching and used exclusively by the GridPro element.
2340
+ * @remarks Only supports Server-Side Row Model. Requires `@ag-grid-enterprise/server-side-row-model` setup and valid AG Grid Enterprise license.
2341
+ * @alpha
2342
+ */
2338
2343
  readonly ENTITY_REFERENCE_NODE: number;
2339
2344
  readonly NOTATION_NODE: number;
2340
2345
  readonly PROCESSING_INSTRUCTION_NODE: number;
@@ -2593,16 +2598,6 @@ export declare interface NumberEditorParams extends ICellEditorParams {
2593
2598
  disabled: boolean;
2594
2599
  }
2595
2600
 
2596
- /**
2597
- * The operation type for the {@link @genesislcap/grid-pro#GridProGenesisDatasource.mapTransaction} method.
2598
- * @internal
2599
- */
2600
- export declare enum OperationType {
2601
- Add = "add",
2602
- Update = "update",
2603
- Remove = "remove"
2604
- }
2605
-
2606
2601
  declare interface SelectCellRendererParams extends ICellRendererParams {
2607
2602
  accessor: string;
2608
2603
  defaultValue?: string;
@@ -2663,11 +2658,16 @@ export declare class SelectRenderer extends FoundationElement implements ICellRe
2663
2658
  selectionChanged: (e: any) => void;
2664
2659
  }
2665
2660
 
2661
+ declare class StreamBaseDatasource {
2662
+ protected rowId: string;
2663
+ rowData: Map<string, any>;
2664
+ }
2665
+
2666
2666
  /**
2667
2667
  * The IServerSideDatasource implementation, used for SSRM (Server-Side Row Model) in the grid.
2668
2668
  * @alpha
2669
2669
  */
2670
- export declare class StreamDatasource implements IServerSideDatasource {
2670
+ export declare class StreamDatasource extends StreamBaseDatasource implements IServerSideDatasource {
2671
2671
  auth: Auth;
2672
2672
  connect: Connect;
2673
2673
  dataserverStream: SocketObservable<FilteredDataServerResult>;
@@ -2683,27 +2683,25 @@ export declare class StreamDatasource implements IServerSideDatasource {
2683
2683
  * The number of rows in the grid. THIS DO NOT CONSIDER CRITERIA_MATCH scenarios.
2684
2684
  * @internal
2685
2685
  */
2686
- private server_ROWS_COUNT;
2686
+ server_ROWS_COUNT: number;
2687
2687
  /**
2688
2688
  * The number of rows in the grid. THIS IS A LOCAL COUNT CONSIDERING CONSIDER CRITERIA_MATCH scenarios.
2689
2689
  * @internal
2690
2690
  */
2691
- private client_ROWS_COUNT;
2691
+ client_ROWS_COUNT: number;
2692
2692
  private moreRows;
2693
2693
  private calculatedRowsCount;
2694
2694
  private lastSequenceId;
2695
2695
  private currentFilterModel;
2696
2696
  private originalCriteriaMatch;
2697
2697
  private currentSortModel;
2698
- private rowData;
2699
- private agTransaction;
2700
- private rowId;
2701
2698
  constructor(options: StreamDatasourceOptions);
2702
2699
  getRows(params: IServerSideGetRowsParams): Promise<void>;
2700
+ private sortMapByNumericKey;
2703
2701
  private dataLogoff;
2704
2702
  private restartSubscription;
2705
2703
  private getOrderByAndToBeSortedColIds;
2706
- private handleInitialStreamLoad;
2704
+ private handleCurrentStreamLoad;
2707
2705
  private buildCriteriaMatchFromFilters;
2708
2706
  private criteriaFromFilters;
2709
2707
  private getFiltersByType;
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/grid-pro](./grid-pro.md) &gt; [GridProGenesisDatasource](./grid-pro.gridprogenesisdatasource.md) &gt; [applyAsyncFuncName](./grid-pro.gridprogenesisdatasource.applyasyncfuncname.md)
4
+
5
+ ## GridProGenesisDatasource.applyAsyncFuncName property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ applyAsyncFuncName: string;
11
+ ```
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/grid-pro](./grid-pro.md) &gt; [GridProGenesisDatasource](./grid-pro.gridprogenesisdatasource.md) &gt; [applyFuncName](./grid-pro.gridprogenesisdatasource.applyfuncname.md)
4
+
5
+ ## GridProGenesisDatasource.applyFuncName property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ applyFuncName: string;
11
+ ```
@@ -0,0 +1,22 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/grid-pro](./grid-pro.md) &gt; [GridProGenesisDatasource](./grid-pro.gridprogenesisdatasource.md) &gt; [applyTransaction](./grid-pro.gridprogenesisdatasource.applytransaction.md)
4
+
5
+ ## GridProGenesisDatasource.applyTransaction() method
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ applyTransaction(agTransaction: RowDataTransaction): RowNodeTransaction | null | undefined;
11
+ ```
12
+
13
+ ## Parameters
14
+
15
+ | Parameter | Type | Description |
16
+ | --- | --- | --- |
17
+ | agTransaction | RowDataTransaction | |
18
+
19
+ **Returns:**
20
+
21
+ RowNodeTransaction \| null \| undefined
22
+
@@ -0,0 +1,23 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/grid-pro](./grid-pro.md) &gt; [GridProGenesisDatasource](./grid-pro.gridprogenesisdatasource.md) &gt; [applyTransactionAsync](./grid-pro.gridprogenesisdatasource.applytransactionasync.md)
4
+
5
+ ## GridProGenesisDatasource.applyTransactionAsync() method
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ applyTransactionAsync(agTransaction: RowDataTransaction, callback?: (res: RowNodeTransaction) => void): void;
11
+ ```
12
+
13
+ ## Parameters
14
+
15
+ | Parameter | Type | Description |
16
+ | --- | --- | --- |
17
+ | agTransaction | RowDataTransaction | |
18
+ | callback | (res: RowNodeTransaction) =&gt; void | _(Optional)_ |
19
+
20
+ **Returns:**
21
+
22
+ void
23
+