@genesislcap/grid-pro 14.172.0 → 14.172.1-alpha-30b1afc.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 +42 -0
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.config.d.ts +1 -0
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.config.d.ts.map +1 -1
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts +2 -17
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts.map +1 -1
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.types.d.ts +15 -2
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.types.d.ts.map +1 -1
- package/dist/esm/grid-pro-genesis-datasource/grid-pro-genesis-datasource.config.js +1 -0
- package/dist/esm/grid-pro-genesis-datasource/grid-pro-genesis-datasource.js +14 -0
- package/dist/grid-pro.api.json +75 -9
- package/dist/grid-pro.d.ts +20 -19
- package/docs/api/grid-pro.gridprogenesisdatasourceeventnames.md +1 -0
- package/docs/api/grid-pro.gridprogenesisdatasourcerowdatasetevent.md +15 -0
- package/docs/api/{grid-pro.gridprogenesisrowdataseteventdetail.md → grid-pro.gridprogenesisdatasourcerowdataseteventdetail.md} +3 -3
- package/docs/api/grid-pro.grigprogenesisdatasourcesizechangedevent.md +15 -0
- package/docs/api/grid-pro.grigprogenesisdatasourcesizechangedeventdetail.md +16 -0
- package/docs/api/grid-pro.md +4 -2
- package/docs/api-report.md +12 -2
- package/package.json +13 -13
- package/docs/api/grid-pro.gridprogenesisrowdatasetevent.md +0 -15
|
@@ -7368,6 +7368,29 @@
|
|
|
7368
7368
|
"module": "src/datasource/base.datasource.ts"
|
|
7369
7369
|
}
|
|
7370
7370
|
},
|
|
7371
|
+
{
|
|
7372
|
+
"kind": "method",
|
|
7373
|
+
"name": "handleSizeChanged",
|
|
7374
|
+
"privacy": "private",
|
|
7375
|
+
"parameters": [
|
|
7376
|
+
{
|
|
7377
|
+
"name": "oldSize",
|
|
7378
|
+
"type": {
|
|
7379
|
+
"text": "number"
|
|
7380
|
+
}
|
|
7381
|
+
},
|
|
7382
|
+
{
|
|
7383
|
+
"name": "newSize",
|
|
7384
|
+
"type": {
|
|
7385
|
+
"text": "number"
|
|
7386
|
+
}
|
|
7387
|
+
}
|
|
7388
|
+
],
|
|
7389
|
+
"inheritedFrom": {
|
|
7390
|
+
"name": "GridProGenesisDatasource",
|
|
7391
|
+
"module": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"
|
|
7392
|
+
}
|
|
7393
|
+
},
|
|
7371
7394
|
{
|
|
7372
7395
|
"kind": "field",
|
|
7373
7396
|
"name": "dataSubWasLoggedOff",
|
|
@@ -10168,6 +10191,25 @@
|
|
|
10168
10191
|
"module": "src/datasource/base.datasource.ts"
|
|
10169
10192
|
}
|
|
10170
10193
|
},
|
|
10194
|
+
{
|
|
10195
|
+
"kind": "method",
|
|
10196
|
+
"name": "handleSizeChanged",
|
|
10197
|
+
"privacy": "private",
|
|
10198
|
+
"parameters": [
|
|
10199
|
+
{
|
|
10200
|
+
"name": "oldSize",
|
|
10201
|
+
"type": {
|
|
10202
|
+
"text": "number"
|
|
10203
|
+
}
|
|
10204
|
+
},
|
|
10205
|
+
{
|
|
10206
|
+
"name": "newSize",
|
|
10207
|
+
"type": {
|
|
10208
|
+
"text": "number"
|
|
10209
|
+
}
|
|
10210
|
+
}
|
|
10211
|
+
]
|
|
10212
|
+
},
|
|
10171
10213
|
{
|
|
10172
10214
|
"kind": "method",
|
|
10173
10215
|
"name": "cloneNode",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-pro-genesis-datasource.config.d.ts","sourceRoot":"","sources":["../../../src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.config.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,kCAAkC
|
|
1
|
+
{"version":3,"file":"grid-pro-genesis-datasource.config.d.ts","sourceRoot":"","sources":["../../../src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.config.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,kCAAkC;;;;CAI9C,CAAC"}
|
|
@@ -22,13 +22,6 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
22
22
|
readonly accessKeyLabel: string;
|
|
23
23
|
autocapitalize: string;
|
|
24
24
|
dir: string;
|
|
25
|
-
/**
|
|
26
|
-
* Initializes the datasource.
|
|
27
|
-
* @public
|
|
28
|
-
* @param columnDefinitions - Optionally set the `gridOptions` up with column definitions
|
|
29
|
-
* @param columnStates - Optionally set the grid up with column state
|
|
30
|
-
* @remarks This method is called automatically when the element is connected to the DOM.
|
|
31
|
-
*/
|
|
32
25
|
draggable: boolean;
|
|
33
26
|
hidden: boolean;
|
|
34
27
|
inert: boolean;
|
|
@@ -92,9 +85,7 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
92
85
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
93
86
|
hasAttribute(qualifiedName: string): boolean;
|
|
94
87
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
95
|
-
hasAttributes(): boolean;
|
|
96
|
-
* Force the grid to redispatch the current rows
|
|
97
|
-
*/
|
|
88
|
+
hasAttributes(): boolean;
|
|
98
89
|
hasPointerCapture(pointerId: number): boolean;
|
|
99
90
|
insertAdjacentElement(where: InsertPosition, element: Element): Element;
|
|
100
91
|
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
@@ -163,13 +154,6 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
163
154
|
readonly ENTITY_NODE: number;
|
|
164
155
|
readonly ENTITY_REFERENCE_NODE: number;
|
|
165
156
|
readonly NOTATION_NODE: number;
|
|
166
|
-
/**
|
|
167
|
-
* Initializes the datasource and loads the data for the grid.
|
|
168
|
-
* Handles both snapshot and stream data (for both REQUEST_SERVER and DATASERVER resource types).
|
|
169
|
-
*
|
|
170
|
-
* @param withFullInit - if true, will call datasource.init() with requiresMetadataFetch = true, fetching fresh metadata
|
|
171
|
-
* @internal
|
|
172
|
-
*/
|
|
173
157
|
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
174
158
|
readonly TEXT_NODE: number;
|
|
175
159
|
dispatchEvent(event: Event): boolean;
|
|
@@ -444,6 +428,7 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
444
428
|
removeFilter(fieldName: string): void;
|
|
445
429
|
applyTransaction(agTransaction: RowDataTransaction): RowNodeTransaction | null | undefined;
|
|
446
430
|
applyTransactionAsync(agTransaction: RowDataTransaction, callback?: (res: RowNodeTransaction) => void): void;
|
|
431
|
+
private handleSizeChanged;
|
|
447
432
|
}
|
|
448
433
|
export {};
|
|
449
434
|
//# sourceMappingURL=grid-pro-genesis-datasource.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-pro-genesis-datasource.d.ts","sourceRoot":"","sources":["../../../src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EACN,WAAW,EAEX,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,IAAI,EACJ,UAAU,EAYX,MAAM,+BAA+B,CAAC;AAKvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC
|
|
1
|
+
{"version":3,"file":"grid-pro-genesis-datasource.d.ts","sourceRoot":"","sources":["../../../src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EACN,WAAW,EAEX,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,IAAI,EACJ,UAAU,EAYX,MAAM,+BAA+B,CAAC;AAKvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAatE;;;;GAIG;AACH,qBAGa,wBAAyB,SAAQ,6BAAqC;IAC3E,IAAI,EAAG,IAAI,CAAC;IACN,UAAU,EAAG,UAAU,CAAC;IAEpC,aAAa,SAAsB;IACnC,kBAAkB,SAA2B;IAG7C,eAAe,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;IASf,eAAe,EAAE,MAAM,CACf;IACQ,cAAc,EAAE,OAAO,CAAS;IAC7E,OAAO,EAAE,GAAG,CAAC;IAEzB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IAKW,qBAAqB,UAAS;IAG/F,yBAAyB,UAAS;IAElC,OAAO,CAAC,OAAO,CAAe;IAC9B,OAAO,CAAC,SAAS,CAAe;IAChC,OAAO,CAAC,aAAa,CAAe;IAEpC,OAAO,CAAC,6BAA6B,CAAQ;IAE7C,OAAO,CAAC,SAAS,CAAS;IAE1B,OAAO,CAAC,mBAAmB,CAAkC;IAC7D,OAAO,CAAC,MAAM,CAAwE;IAEtF,iBAAiB;IAuBjB,oBAAoB;IAWX,SAAS,IAAI,IAAI;IAqB1B,OAAO,CAAC,gBAAgB;IAgBxB;;;;;;OAMG;IACG,IAAI,CAAC,iBAAiB,CAAC,EAAE,MAAM,EAAE,EAAE,YAAY,CAAC,EAAE,WAAW,EAAE;IAyDrE;;;OAGG;IACH,MAAM;IAIN;;;;OAIG;IACH,KAAK;IAmCL;;;OAGG;IACH,OAAO;IAYP;;OAEG;IACH,WAAW;IAIX;;;;OAIG;IACH,OAAO,CAAC,UAAU;IAUlB;;;;;OAKG;IACH,OAAO,CAAC,YAAY;IAWpB;;;;OAIG;YACW,UAAU;IAqCxB;;;;;OAKG;YACW,kBAAkB;IAahC;;;;;;OAMG;YACW,gBAAgB;IA0D9B,OAAO,CAAC,cAAc;IActB,YAAY,CAAC,MAAM,KAAA;IAYnB,OAAO,CAAC,iBAAiB;IAiBzB,OAAO,CAAC,kBAAkB;IAU1B,OAAO,CAAC,sBAAsB;IA6C9B,OAAO,CAAC,mBAAmB;YAyBb,eAAe;IAc7B,OAAO,CAAC,aAAa;IAMd,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;IAK9C,YAAY,CAAC,SAAS,EAAE,MAAM;IAK5B,gBAAgB,CACvB,aAAa,EAAE,kBAAkB,GAChC,kBAAkB,GAAG,IAAI,GAAG,SAAS;IAI/B,qBAAqB,CAC5B,aAAa,EAAE,kBAAkB,EACjC,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,kBAAkB,KAAK,IAAI,GAC3C,IAAI;IAIP,OAAO,CAAC,iBAAiB;CAO1B"}
|
|
@@ -14,12 +14,25 @@ export type GridProGenesisDatasourceErrorEvent = CustomEvent<GridProGenesisDatas
|
|
|
14
14
|
* The event detail for the grid pro genesis datasource `rowDataSet` event.
|
|
15
15
|
* @public
|
|
16
16
|
*/
|
|
17
|
-
export type
|
|
17
|
+
export type GridProGenesisDatasourceRowDataSetEventDetail = {
|
|
18
18
|
data: any[];
|
|
19
19
|
};
|
|
20
20
|
/**
|
|
21
21
|
* The rowDataSet event grid pro genesis datasource.
|
|
22
22
|
* @public
|
|
23
23
|
*/
|
|
24
|
-
export type
|
|
24
|
+
export type GridProGenesisDatasourceRowDataSetEvent = CustomEvent<GridProGenesisDatasourceRowDataSetEventDetail>;
|
|
25
|
+
/**
|
|
26
|
+
* The event detail for the grid pro genesis datasource `sizeChanged` event.
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
export type GrigProGenesisDatasourceSizeChangedEventDetail = {
|
|
30
|
+
value: number;
|
|
31
|
+
oldValue: number;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* The change size event grid pro genesis datasource.
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export type GrigProGenesisDatasourceSizeChangedEvent = CustomEvent<GrigProGenesisDatasourceSizeChangedEventDetail>;
|
|
25
38
|
//# sourceMappingURL=grid-pro-genesis-datasource.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-pro-genesis-datasource.types.d.ts","sourceRoot":"","sources":["../../../src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,wCAAwC,GAAG;IACrD,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,kCAAkC,GAC5C,WAAW,CAAC,wCAAwC,CAAC,CAAC;AAExD;;;GAGG;AACH,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"grid-pro-genesis-datasource.types.d.ts","sourceRoot":"","sources":["../../../src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,wCAAwC,GAAG;IACrD,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,kCAAkC,GAC5C,WAAW,CAAC,wCAAwC,CAAC,CAAC;AAExD;;;GAGG;AACH,MAAM,MAAM,6CAA6C,GAAG;IAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;CACb,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,uCAAuC,GACjD,WAAW,CAAC,6CAA6C,CAAC,CAAC;AAE7D;;;GAGG;AACH,MAAM,MAAM,8CAA8C,GAAG;IAC3D,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,wCAAwC,GAClD,WAAW,CAAC,8CAA8C,CAAC,CAAC"}
|
|
@@ -395,6 +395,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
395
395
|
}
|
|
396
396
|
applyRequestServerData(requestServerResult) {
|
|
397
397
|
var _a;
|
|
398
|
+
const previousSize = this.rowData.size;
|
|
398
399
|
const requestServerData = requestServerResult.REPLY;
|
|
399
400
|
if (!Array.isArray(requestServerData) ||
|
|
400
401
|
!((_a = requestServerResult.MESSAGE_TYPE) === null || _a === void 0 ? void 0 : _a.startsWith('REP_'))) {
|
|
@@ -406,6 +407,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
406
407
|
this.rowData.set(insertData[this.rowId], insertData);
|
|
407
408
|
});
|
|
408
409
|
const rowData = this.rowData.size > 0 ? Array.from(this.rowData.values()) : requestServerData;
|
|
410
|
+
this.handleSizeChanged(previousSize, this.rowData.size);
|
|
409
411
|
this.setRowData(rowData);
|
|
410
412
|
return;
|
|
411
413
|
}
|
|
@@ -424,15 +426,18 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
424
426
|
this.handleStreamDeletes(rowsToDelete);
|
|
425
427
|
this.handleStreamUpdates(rowsToUpdate);
|
|
426
428
|
this.applyAllAgTransactions();
|
|
429
|
+
this.handleSizeChanged(previousSize, this.rowData.size);
|
|
427
430
|
}
|
|
428
431
|
applyDataserverData(dataServerResult) {
|
|
429
432
|
var _a;
|
|
433
|
+
const previousSize = this.rowData.size;
|
|
430
434
|
if (this.requiresFullRowDataAndColDefs) {
|
|
431
435
|
(_a = dataServerResult.inserts) === null || _a === void 0 ? void 0 : _a.forEach((insertData) => {
|
|
432
436
|
this.rowData.set(insertData[this.rowId], insertData);
|
|
433
437
|
});
|
|
434
438
|
const rowData = Array.from(this.rowData.values());
|
|
435
439
|
this.setRowData(rowData);
|
|
440
|
+
this.handleSizeChanged(previousSize, this.rowData.size);
|
|
436
441
|
return;
|
|
437
442
|
}
|
|
438
443
|
this.agTransaction = { add: [], remove: [], update: [] };
|
|
@@ -440,6 +445,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
440
445
|
this.handleStreamDeletes(dataServerResult.deletes);
|
|
441
446
|
this.handleStreamUpdates(dataServerResult.updates);
|
|
442
447
|
this.applyAllAgTransactions();
|
|
448
|
+
this.handleSizeChanged(previousSize, this.rowData.size);
|
|
443
449
|
}
|
|
444
450
|
// FUTURE: Work with the field types vs ag grid column def types!
|
|
445
451
|
getAgColumnDefs(fieldsMetadata) {
|
|
@@ -469,6 +475,14 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
469
475
|
applyTransactionAsync(agTransaction, callback) {
|
|
470
476
|
this.agGrid.gridApi.applyTransactionAsync(agTransaction, callback);
|
|
471
477
|
}
|
|
478
|
+
handleSizeChanged(oldSize, newSize) {
|
|
479
|
+
if (oldSize === newSize)
|
|
480
|
+
return;
|
|
481
|
+
this.$emit(gridProGenesisDatasourceEventNames.sizeChanged, {
|
|
482
|
+
value: newSize,
|
|
483
|
+
oldValue: oldSize,
|
|
484
|
+
});
|
|
485
|
+
}
|
|
472
486
|
};
|
|
473
487
|
__decorate([
|
|
474
488
|
Auth
|
package/dist/grid-pro.api.json
CHANGED
|
@@ -11536,7 +11536,7 @@
|
|
|
11536
11536
|
},
|
|
11537
11537
|
{
|
|
11538
11538
|
"kind": "Content",
|
|
11539
|
-
"text": "{\n error: string;\n rowDataSet: string;\n}"
|
|
11539
|
+
"text": "{\n error: string;\n rowDataSet: string;\n sizeChanged: string;\n}"
|
|
11540
11540
|
}
|
|
11541
11541
|
],
|
|
11542
11542
|
"fileUrlPath": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.config.ts",
|
|
@@ -11550,12 +11550,12 @@
|
|
|
11550
11550
|
},
|
|
11551
11551
|
{
|
|
11552
11552
|
"kind": "TypeAlias",
|
|
11553
|
-
"canonicalReference": "@genesislcap/grid-pro!
|
|
11553
|
+
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasourceRowDataSetEvent:type",
|
|
11554
11554
|
"docComment": "/**\n * The rowDataSet event grid pro genesis datasource.\n *\n * @public\n */\n",
|
|
11555
11555
|
"excerptTokens": [
|
|
11556
11556
|
{
|
|
11557
11557
|
"kind": "Content",
|
|
11558
|
-
"text": "export type
|
|
11558
|
+
"text": "export type GridProGenesisDatasourceRowDataSetEvent = "
|
|
11559
11559
|
},
|
|
11560
11560
|
{
|
|
11561
11561
|
"kind": "Reference",
|
|
@@ -11568,8 +11568,8 @@
|
|
|
11568
11568
|
},
|
|
11569
11569
|
{
|
|
11570
11570
|
"kind": "Reference",
|
|
11571
|
-
"text": "
|
|
11572
|
-
"canonicalReference": "@genesislcap/grid-pro!
|
|
11571
|
+
"text": "GridProGenesisDatasourceRowDataSetEventDetail",
|
|
11572
|
+
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasourceRowDataSetEventDetail:type"
|
|
11573
11573
|
},
|
|
11574
11574
|
{
|
|
11575
11575
|
"kind": "Content",
|
|
@@ -11582,7 +11582,7 @@
|
|
|
11582
11582
|
],
|
|
11583
11583
|
"fileUrlPath": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.types.ts",
|
|
11584
11584
|
"releaseTag": "Public",
|
|
11585
|
-
"name": "
|
|
11585
|
+
"name": "GridProGenesisDatasourceRowDataSetEvent",
|
|
11586
11586
|
"typeTokenRange": {
|
|
11587
11587
|
"startIndex": 1,
|
|
11588
11588
|
"endIndex": 5
|
|
@@ -11590,12 +11590,12 @@
|
|
|
11590
11590
|
},
|
|
11591
11591
|
{
|
|
11592
11592
|
"kind": "TypeAlias",
|
|
11593
|
-
"canonicalReference": "@genesislcap/grid-pro!
|
|
11593
|
+
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasourceRowDataSetEventDetail:type",
|
|
11594
11594
|
"docComment": "/**\n * The event detail for the grid pro genesis datasource `rowDataSet` event.\n *\n * @public\n */\n",
|
|
11595
11595
|
"excerptTokens": [
|
|
11596
11596
|
{
|
|
11597
11597
|
"kind": "Content",
|
|
11598
|
-
"text": "export type
|
|
11598
|
+
"text": "export type GridProGenesisDatasourceRowDataSetEventDetail = "
|
|
11599
11599
|
},
|
|
11600
11600
|
{
|
|
11601
11601
|
"kind": "Content",
|
|
@@ -11608,7 +11608,7 @@
|
|
|
11608
11608
|
],
|
|
11609
11609
|
"fileUrlPath": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.types.ts",
|
|
11610
11610
|
"releaseTag": "Public",
|
|
11611
|
-
"name": "
|
|
11611
|
+
"name": "GridProGenesisDatasourceRowDataSetEventDetail",
|
|
11612
11612
|
"typeTokenRange": {
|
|
11613
11613
|
"startIndex": 1,
|
|
11614
11614
|
"endIndex": 2
|
|
@@ -11886,6 +11886,72 @@
|
|
|
11886
11886
|
"endIndex": 2
|
|
11887
11887
|
}
|
|
11888
11888
|
},
|
|
11889
|
+
{
|
|
11890
|
+
"kind": "TypeAlias",
|
|
11891
|
+
"canonicalReference": "@genesislcap/grid-pro!GrigProGenesisDatasourceSizeChangedEvent:type",
|
|
11892
|
+
"docComment": "/**\n * The change size event grid pro genesis datasource.\n *\n * @public\n */\n",
|
|
11893
|
+
"excerptTokens": [
|
|
11894
|
+
{
|
|
11895
|
+
"kind": "Content",
|
|
11896
|
+
"text": "export type GrigProGenesisDatasourceSizeChangedEvent = "
|
|
11897
|
+
},
|
|
11898
|
+
{
|
|
11899
|
+
"kind": "Reference",
|
|
11900
|
+
"text": "CustomEvent",
|
|
11901
|
+
"canonicalReference": "!CustomEvent:interface"
|
|
11902
|
+
},
|
|
11903
|
+
{
|
|
11904
|
+
"kind": "Content",
|
|
11905
|
+
"text": "<"
|
|
11906
|
+
},
|
|
11907
|
+
{
|
|
11908
|
+
"kind": "Reference",
|
|
11909
|
+
"text": "GrigProGenesisDatasourceSizeChangedEventDetail",
|
|
11910
|
+
"canonicalReference": "@genesislcap/grid-pro!GrigProGenesisDatasourceSizeChangedEventDetail:type"
|
|
11911
|
+
},
|
|
11912
|
+
{
|
|
11913
|
+
"kind": "Content",
|
|
11914
|
+
"text": ">"
|
|
11915
|
+
},
|
|
11916
|
+
{
|
|
11917
|
+
"kind": "Content",
|
|
11918
|
+
"text": ";"
|
|
11919
|
+
}
|
|
11920
|
+
],
|
|
11921
|
+
"fileUrlPath": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.types.ts",
|
|
11922
|
+
"releaseTag": "Public",
|
|
11923
|
+
"name": "GrigProGenesisDatasourceSizeChangedEvent",
|
|
11924
|
+
"typeTokenRange": {
|
|
11925
|
+
"startIndex": 1,
|
|
11926
|
+
"endIndex": 5
|
|
11927
|
+
}
|
|
11928
|
+
},
|
|
11929
|
+
{
|
|
11930
|
+
"kind": "TypeAlias",
|
|
11931
|
+
"canonicalReference": "@genesislcap/grid-pro!GrigProGenesisDatasourceSizeChangedEventDetail:type",
|
|
11932
|
+
"docComment": "/**\n * The event detail for the grid pro genesis datasource `sizeChanged` event.\n *\n * @public\n */\n",
|
|
11933
|
+
"excerptTokens": [
|
|
11934
|
+
{
|
|
11935
|
+
"kind": "Content",
|
|
11936
|
+
"text": "export type GrigProGenesisDatasourceSizeChangedEventDetail = "
|
|
11937
|
+
},
|
|
11938
|
+
{
|
|
11939
|
+
"kind": "Content",
|
|
11940
|
+
"text": "{\n value: number;\n oldValue: number;\n}"
|
|
11941
|
+
},
|
|
11942
|
+
{
|
|
11943
|
+
"kind": "Content",
|
|
11944
|
+
"text": ";"
|
|
11945
|
+
}
|
|
11946
|
+
],
|
|
11947
|
+
"fileUrlPath": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.types.ts",
|
|
11948
|
+
"releaseTag": "Public",
|
|
11949
|
+
"name": "GrigProGenesisDatasourceSizeChangedEventDetail",
|
|
11950
|
+
"typeTokenRange": {
|
|
11951
|
+
"startIndex": 1,
|
|
11952
|
+
"endIndex": 2
|
|
11953
|
+
}
|
|
11954
|
+
},
|
|
11889
11955
|
{
|
|
11890
11956
|
"kind": "Class",
|
|
11891
11957
|
"canonicalReference": "@genesislcap/grid-pro!KVStorageStatePersistence:class",
|
package/dist/grid-pro.d.ts
CHANGED
|
@@ -2231,6 +2231,7 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
2231
2231
|
removeFilter(fieldName: string): void;
|
|
2232
2232
|
applyTransaction(agTransaction: RowDataTransaction): RowNodeTransaction | null | undefined;
|
|
2233
2233
|
applyTransactionAsync(agTransaction: RowDataTransaction, callback?: (res: RowNodeTransaction) => void): void;
|
|
2234
|
+
private handleSizeChanged;
|
|
2234
2235
|
}
|
|
2235
2236
|
|
|
2236
2237
|
declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
@@ -2254,13 +2255,6 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
2254
2255
|
readonly accessKeyLabel: string;
|
|
2255
2256
|
autocapitalize: string;
|
|
2256
2257
|
dir: string;
|
|
2257
|
-
/**
|
|
2258
|
-
* Initializes the datasource.
|
|
2259
|
-
* @public
|
|
2260
|
-
* @param columnDefinitions - Optionally set the `gridOptions` up with column definitions
|
|
2261
|
-
* @param columnStates - Optionally set the grid up with column state
|
|
2262
|
-
* @remarks This method is called automatically when the element is connected to the DOM.
|
|
2263
|
-
*/
|
|
2264
2258
|
draggable: boolean;
|
|
2265
2259
|
hidden: boolean;
|
|
2266
2260
|
inert: boolean;
|
|
@@ -2324,9 +2318,7 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
2324
2318
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
2325
2319
|
hasAttribute(qualifiedName: string): boolean;
|
|
2326
2320
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
2327
|
-
hasAttributes(): boolean;
|
|
2328
|
-
* Force the grid to redispatch the current rows
|
|
2329
|
-
*/
|
|
2321
|
+
hasAttributes(): boolean;
|
|
2330
2322
|
hasPointerCapture(pointerId: number): boolean;
|
|
2331
2323
|
insertAdjacentElement(where: InsertPosition, element: Element): Element;
|
|
2332
2324
|
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
@@ -2395,13 +2387,6 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
2395
2387
|
readonly ENTITY_NODE: number;
|
|
2396
2388
|
readonly ENTITY_REFERENCE_NODE: number;
|
|
2397
2389
|
readonly NOTATION_NODE: number;
|
|
2398
|
-
/**
|
|
2399
|
-
* Initializes the datasource and loads the data for the grid.
|
|
2400
|
-
* Handles both snapshot and stream data (for both REQUEST_SERVER and DATASERVER resource types).
|
|
2401
|
-
*
|
|
2402
|
-
* @param withFullInit - if true, will call datasource.init() with requiresMetadataFetch = true, fetching fresh metadata
|
|
2403
|
-
* @internal
|
|
2404
|
-
*/
|
|
2405
2390
|
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
2406
2391
|
readonly TEXT_NODE: number;
|
|
2407
2392
|
dispatchEvent(event: Event): boolean;
|
|
@@ -2596,19 +2581,20 @@ export declare type GridProGenesisDatasourceErrorEventDetail = {
|
|
|
2596
2581
|
export declare const gridProGenesisDatasourceEventNames: {
|
|
2597
2582
|
error: string;
|
|
2598
2583
|
rowDataSet: string;
|
|
2584
|
+
sizeChanged: string;
|
|
2599
2585
|
};
|
|
2600
2586
|
|
|
2601
2587
|
/**
|
|
2602
2588
|
* The rowDataSet event grid pro genesis datasource.
|
|
2603
2589
|
* @public
|
|
2604
2590
|
*/
|
|
2605
|
-
export declare type
|
|
2591
|
+
export declare type GridProGenesisDatasourceRowDataSetEvent = CustomEvent<GridProGenesisDatasourceRowDataSetEventDetail>;
|
|
2606
2592
|
|
|
2607
2593
|
/**
|
|
2608
2594
|
* The event detail for the grid pro genesis datasource `rowDataSet` event.
|
|
2609
2595
|
* @public
|
|
2610
2596
|
*/
|
|
2611
|
-
export declare type
|
|
2597
|
+
export declare type GridProGenesisDatasourceRowDataSetEventDetail = {
|
|
2612
2598
|
data: any[];
|
|
2613
2599
|
};
|
|
2614
2600
|
|
|
@@ -3006,6 +2992,21 @@ declare const GridProServerSideDatasource_base: (new (...args: any[]) => {
|
|
|
3006
2992
|
*/
|
|
3007
2993
|
export declare const gridProTemplate: ViewTemplate;
|
|
3008
2994
|
|
|
2995
|
+
/**
|
|
2996
|
+
* The change size event grid pro genesis datasource.
|
|
2997
|
+
* @public
|
|
2998
|
+
*/
|
|
2999
|
+
export declare type GrigProGenesisDatasourceSizeChangedEvent = CustomEvent<GrigProGenesisDatasourceSizeChangedEventDetail>;
|
|
3000
|
+
|
|
3001
|
+
/**
|
|
3002
|
+
* The event detail for the grid pro genesis datasource `sizeChanged` event.
|
|
3003
|
+
* @public
|
|
3004
|
+
*/
|
|
3005
|
+
export declare type GrigProGenesisDatasourceSizeChangedEventDetail = {
|
|
3006
|
+
value: number;
|
|
3007
|
+
oldValue: number;
|
|
3008
|
+
};
|
|
3009
|
+
|
|
3009
3010
|
/**
|
|
3010
3011
|
* Implementation for the KV Storage State Persistence interface.
|
|
3011
3012
|
* @public
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/grid-pro](./grid-pro.md) > [GridProGenesisDatasourceRowDataSetEvent](./grid-pro.gridprogenesisdatasourcerowdatasetevent.md)
|
|
4
|
+
|
|
5
|
+
## GridProGenesisDatasourceRowDataSetEvent type
|
|
6
|
+
|
|
7
|
+
The rowDataSet event grid pro genesis datasource.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export type GridProGenesisDatasourceRowDataSetEvent = CustomEvent<GridProGenesisDatasourceRowDataSetEventDetail>;
|
|
13
|
+
```
|
|
14
|
+
**References:** [GridProGenesisDatasourceRowDataSetEventDetail](./grid-pro.gridprogenesisdatasourcerowdataseteventdetail.md)
|
|
15
|
+
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
2
|
|
|
3
|
-
[Home](./index.md) > [@genesislcap/grid-pro](./grid-pro.md) > [
|
|
3
|
+
[Home](./index.md) > [@genesislcap/grid-pro](./grid-pro.md) > [GridProGenesisDatasourceRowDataSetEventDetail](./grid-pro.gridprogenesisdatasourcerowdataseteventdetail.md)
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## GridProGenesisDatasourceRowDataSetEventDetail type
|
|
6
6
|
|
|
7
7
|
The event detail for the grid pro genesis datasource `rowDataSet` event.
|
|
8
8
|
|
|
9
9
|
**Signature:**
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
export type
|
|
12
|
+
export type GridProGenesisDatasourceRowDataSetEventDetail = {
|
|
13
13
|
data: any[];
|
|
14
14
|
};
|
|
15
15
|
```
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/grid-pro](./grid-pro.md) > [GrigProGenesisDatasourceSizeChangedEvent](./grid-pro.grigprogenesisdatasourcesizechangedevent.md)
|
|
4
|
+
|
|
5
|
+
## GrigProGenesisDatasourceSizeChangedEvent type
|
|
6
|
+
|
|
7
|
+
The change size event grid pro genesis datasource.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export type GrigProGenesisDatasourceSizeChangedEvent = CustomEvent<GrigProGenesisDatasourceSizeChangedEventDetail>;
|
|
13
|
+
```
|
|
14
|
+
**References:** [GrigProGenesisDatasourceSizeChangedEventDetail](./grid-pro.grigprogenesisdatasourcesizechangedeventdetail.md)
|
|
15
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/grid-pro](./grid-pro.md) > [GrigProGenesisDatasourceSizeChangedEventDetail](./grid-pro.grigprogenesisdatasourcesizechangedeventdetail.md)
|
|
4
|
+
|
|
5
|
+
## GrigProGenesisDatasourceSizeChangedEventDetail type
|
|
6
|
+
|
|
7
|
+
The event detail for the grid pro genesis datasource `sizeChanged` event.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export type GrigProGenesisDatasourceSizeChangedEventDetail = {
|
|
13
|
+
value: number;
|
|
14
|
+
oldValue: number;
|
|
15
|
+
};
|
|
16
|
+
```
|
package/docs/api/grid-pro.md
CHANGED
|
@@ -145,6 +145,8 @@
|
|
|
145
145
|
| [GridProErrorTypes](./grid-pro.gridproerrortypes.md) | Grid Pro Error Types |
|
|
146
146
|
| [GridProGenesisDatasourceErrorEvent](./grid-pro.gridprogenesisdatasourceerrorevent.md) | The error event grid pro genesis datasource. |
|
|
147
147
|
| [GridProGenesisDatasourceErrorEventDetail](./grid-pro.gridprogenesisdatasourceerroreventdetail.md) | The event detail for the grid pro genesis datasource <code>error</code> event. |
|
|
148
|
-
| [
|
|
149
|
-
| [
|
|
148
|
+
| [GridProGenesisDatasourceRowDataSetEvent](./grid-pro.gridprogenesisdatasourcerowdatasetevent.md) | The rowDataSet event grid pro genesis datasource. |
|
|
149
|
+
| [GridProGenesisDatasourceRowDataSetEventDetail](./grid-pro.gridprogenesisdatasourcerowdataseteventdetail.md) | The event detail for the grid pro genesis datasource <code>rowDataSet</code> event. |
|
|
150
|
+
| [GrigProGenesisDatasourceSizeChangedEvent](./grid-pro.grigprogenesisdatasourcesizechangedevent.md) | The change size event grid pro genesis datasource. |
|
|
151
|
+
| [GrigProGenesisDatasourceSizeChangedEventDetail](./grid-pro.grigprogenesisdatasourcesizechangedeventdetail.md) | The event detail for the grid pro genesis datasource <code>sizeChanged</code> event. |
|
|
150
152
|
|
package/docs/api-report.md
CHANGED
|
@@ -1045,13 +1045,14 @@ export type GridProGenesisDatasourceErrorEventDetail = {
|
|
|
1045
1045
|
export const gridProGenesisDatasourceEventNames: {
|
|
1046
1046
|
error: string;
|
|
1047
1047
|
rowDataSet: string;
|
|
1048
|
+
sizeChanged: string;
|
|
1048
1049
|
};
|
|
1049
1050
|
|
|
1050
1051
|
// @public
|
|
1051
|
-
export type
|
|
1052
|
+
export type GridProGenesisDatasourceRowDataSetEvent = CustomEvent<GridProGenesisDatasourceRowDataSetEventDetail>;
|
|
1052
1053
|
|
|
1053
1054
|
// @public
|
|
1054
|
-
export type
|
|
1055
|
+
export type GridProGenesisDatasourceRowDataSetEventDetail = {
|
|
1055
1056
|
data: any[];
|
|
1056
1057
|
};
|
|
1057
1058
|
|
|
@@ -1120,6 +1121,15 @@ export class GridProServerSideDatasource extends GridProServerSideDatasource_bas
|
|
|
1120
1121
|
// @public (undocumented)
|
|
1121
1122
|
export const gridProTemplate: ViewTemplate;
|
|
1122
1123
|
|
|
1124
|
+
// @public
|
|
1125
|
+
export type GrigProGenesisDatasourceSizeChangedEvent = CustomEvent<GrigProGenesisDatasourceSizeChangedEventDetail>;
|
|
1126
|
+
|
|
1127
|
+
// @public
|
|
1128
|
+
export type GrigProGenesisDatasourceSizeChangedEventDetail = {
|
|
1129
|
+
value: number;
|
|
1130
|
+
oldValue: number;
|
|
1131
|
+
};
|
|
1132
|
+
|
|
1123
1133
|
// @public
|
|
1124
1134
|
export class KVStorageStatePersistence implements StatePersistence {
|
|
1125
1135
|
// (undocumented)
|
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.172.0",
|
|
4
|
+
"version": "14.172.1-alpha-30b1afc.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -30,20 +30,20 @@
|
|
|
30
30
|
"test:debug": "genx test --debug"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@genesislcap/foundation-testing": "14.172.0",
|
|
34
|
-
"@genesislcap/genx": "14.172.0",
|
|
35
|
-
"@genesislcap/rollup-builder": "14.172.0",
|
|
36
|
-
"@genesislcap/ts-builder": "14.172.0",
|
|
37
|
-
"@genesislcap/uvu-playwright-builder": "14.172.0",
|
|
38
|
-
"@genesislcap/vite-builder": "14.172.0",
|
|
39
|
-
"@genesislcap/webpack-builder": "14.172.0",
|
|
33
|
+
"@genesislcap/foundation-testing": "14.172.1-alpha-30b1afc.0",
|
|
34
|
+
"@genesislcap/genx": "14.172.1-alpha-30b1afc.0",
|
|
35
|
+
"@genesislcap/rollup-builder": "14.172.1-alpha-30b1afc.0",
|
|
36
|
+
"@genesislcap/ts-builder": "14.172.1-alpha-30b1afc.0",
|
|
37
|
+
"@genesislcap/uvu-playwright-builder": "14.172.1-alpha-30b1afc.0",
|
|
38
|
+
"@genesislcap/vite-builder": "14.172.1-alpha-30b1afc.0",
|
|
39
|
+
"@genesislcap/webpack-builder": "14.172.1-alpha-30b1afc.0",
|
|
40
40
|
"rimraf": "^3.0.2"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@genesislcap/foundation-comms": "14.172.0",
|
|
44
|
-
"@genesislcap/foundation-logger": "14.172.0",
|
|
45
|
-
"@genesislcap/foundation-ui": "14.172.0",
|
|
46
|
-
"@genesislcap/foundation-utils": "14.172.0",
|
|
43
|
+
"@genesislcap/foundation-comms": "14.172.1-alpha-30b1afc.0",
|
|
44
|
+
"@genesislcap/foundation-logger": "14.172.1-alpha-30b1afc.0",
|
|
45
|
+
"@genesislcap/foundation-ui": "14.172.1-alpha-30b1afc.0",
|
|
46
|
+
"@genesislcap/foundation-utils": "14.172.1-alpha-30b1afc.0",
|
|
47
47
|
"@microsoft/fast-colors": "^5.3.1",
|
|
48
48
|
"@microsoft/fast-components": "^2.30.6",
|
|
49
49
|
"@microsoft/fast-element": "^1.12.0",
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"access": "public"
|
|
70
70
|
},
|
|
71
71
|
"customElements": "dist/custom-elements.json",
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "03cac2d0ae1984bbe5f54f6792f5265fa2545476"
|
|
73
73
|
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/grid-pro](./grid-pro.md) > [GridProGenesisRowDataSetEvent](./grid-pro.gridprogenesisrowdatasetevent.md)
|
|
4
|
-
|
|
5
|
-
## GridProGenesisRowDataSetEvent type
|
|
6
|
-
|
|
7
|
-
The rowDataSet event grid pro genesis datasource.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export type GridProGenesisRowDataSetEvent = CustomEvent<GridProGenesisRowDataSetEventDetail>;
|
|
13
|
-
```
|
|
14
|
-
**References:** [GridProGenesisRowDataSetEventDetail](./grid-pro.gridprogenesisrowdataseteventdetail.md)
|
|
15
|
-
|