@genesislcap/grid-tabulator 14.183.0 → 14.183.2
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.
|
@@ -103,7 +103,10 @@ declare const GridTabulatorClientSideDatasource_base: (new (...args: any[]) => {
|
|
|
103
103
|
insertAdjacentElement(where: InsertPosition, element: Element): Element;
|
|
104
104
|
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
105
105
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
106
|
-
matches(selectors: string): boolean;
|
|
106
|
+
matches(selectors: string): boolean; /**
|
|
107
|
+
* Restarts the datasource, uses `deinit` and `init` in sequence.
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
107
110
|
releasePointerCapture(pointerId: number): void;
|
|
108
111
|
removeAttribute(qualifiedName: string): void;
|
|
109
112
|
removeAttributeNS(namespace: string, localName: string): void;
|
|
@@ -129,7 +132,12 @@ declare const GridTabulatorClientSideDatasource_base: (new (...args: any[]) => {
|
|
|
129
132
|
readonly firstChild: ChildNode;
|
|
130
133
|
readonly isConnected: boolean;
|
|
131
134
|
readonly lastChild: ChildNode;
|
|
132
|
-
readonly nextSibling: ChildNode;
|
|
135
|
+
readonly nextSibling: ChildNode; /**
|
|
136
|
+
* Resets the grid data while keeping columnDefs and sends a DATA_LOGOFF message if it's a stream.
|
|
137
|
+
* Proxies to {@link @genesislcap/grid-tabulator#GridTabulatorClientSideDatasource.loadResourceData} but without the full init (no metadata fetch).
|
|
138
|
+
* @remarks This is used when the grid is already initialized and we want to reload the data due to a criteria/filter change.
|
|
139
|
+
* @internal
|
|
140
|
+
*/
|
|
133
141
|
readonly nodeName: string;
|
|
134
142
|
readonly nodeType: number;
|
|
135
143
|
nodeValue: string;
|
|
@@ -426,12 +434,6 @@ export declare class GridTabulatorClientSideDatasource extends GridTabulatorClie
|
|
|
426
434
|
* Force the grid to redispatch the current rows
|
|
427
435
|
*/
|
|
428
436
|
refreshRows(): void;
|
|
429
|
-
/**
|
|
430
|
-
* Sends a DATA_LOGOFF when the resource is an active stream
|
|
431
|
-
* @remarks Will only happen for streaming DATASERER resources.
|
|
432
|
-
* @internal
|
|
433
|
-
*/
|
|
434
|
-
private dataLogoff;
|
|
435
437
|
/**
|
|
436
438
|
* Clears the rowData and columnDefs for the grid.
|
|
437
439
|
* @remarks This is called when `reloadResourceData` happens, on criteria and filters change or full `reset`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-side.datasource.d.ts","sourceRoot":"","sources":["../../../src/datasource/client-side.datasource.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,OAAO,EAEP,UAAU,EAUX,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAG/D,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAW3C,MAAM,WAAW,kBAAkB,CAAC,KAAK,GAAG,GAAG;IAC7C,wBAAwB;IACxB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,kBAAkB;IAClB,GAAG,CAAC,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;IACrB,qBAAqB;IACrB,MAAM,CAAC,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;IACxB,qBAAqB;IACrB,MAAM,CAAC,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;CACzB;;;;;;;;IAoDC;;OAEG
|
|
1
|
+
{"version":3,"file":"client-side.datasource.d.ts","sourceRoot":"","sources":["../../../src/datasource/client-side.datasource.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,OAAO,EAEP,UAAU,EAUX,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAG/D,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAW3C,MAAM,WAAW,kBAAkB,CAAC,KAAK,GAAG,GAAG;IAC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xB,OAAO,CAAC,cAAc;IAatB,OAAO,CAAC,mBAAmB;IAgB3B,OAAO,CAAC,mBAAmB;IAgB3B,OAAO,CAAC,mBAAmB;IAqE3B,OAAO,CAAC,aAAa;IAMd,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;IAK9C,YAAY,CAAC,SAAS,EAAE,MAAM;CAItC"}
|
|
@@ -179,7 +179,7 @@ let GridTabulatorClientSideDatasource = class GridTabulatorClientSideDatasource
|
|
|
179
179
|
this.connectionSub.unsubscribe();
|
|
180
180
|
this.connectionSub = undefined;
|
|
181
181
|
}
|
|
182
|
-
this.
|
|
182
|
+
this.sourceRef = undefined;
|
|
183
183
|
this.clearRowData();
|
|
184
184
|
this.isRequestServer = false;
|
|
185
185
|
this.requiresFullRowDataAndColDefs = true;
|
|
@@ -204,18 +204,6 @@ let GridTabulatorClientSideDatasource = class GridTabulatorClientSideDatasource
|
|
|
204
204
|
refreshRows() {
|
|
205
205
|
this.setRowData(Array.from(this.rows.values()));
|
|
206
206
|
}
|
|
207
|
-
/**
|
|
208
|
-
* Sends a DATA_LOGOFF when the resource is an active stream
|
|
209
|
-
* @remarks Will only happen for streaming DATASERER resources.
|
|
210
|
-
* @internal
|
|
211
|
-
*/
|
|
212
|
-
dataLogoff() {
|
|
213
|
-
const shouldPerformDataLogoff = this.sourceRef && !this.isRequestServer && !this.isSnapshot;
|
|
214
|
-
if (shouldPerformDataLogoff && this.auth.isLoggedIn) {
|
|
215
|
-
this.connect.dataLogoff(this.sourceRef);
|
|
216
|
-
}
|
|
217
|
-
this.sourceRef = undefined;
|
|
218
|
-
}
|
|
219
207
|
/**
|
|
220
208
|
* Clears the rowData and columnDefs for the grid.
|
|
221
209
|
* @remarks This is called when `reloadResourceData` happens, on criteria and filters change or full `reset`.
|
|
@@ -256,7 +244,6 @@ let GridTabulatorClientSideDatasource = class GridTabulatorClientSideDatasource
|
|
|
256
244
|
this.dataSub.unsubscribe();
|
|
257
245
|
this.dataSub = undefined;
|
|
258
246
|
}
|
|
259
|
-
this.dataLogoff();
|
|
260
247
|
this.clearRowData(withoutColumnDefs);
|
|
261
248
|
this.loadResourceData(withoutFullInit);
|
|
262
249
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/grid-tabulator",
|
|
3
3
|
"description": "Genesis Foundation Grid Tabulator",
|
|
4
|
-
"version": "14.183.
|
|
4
|
+
"version": "14.183.2",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -31,21 +31,21 @@
|
|
|
31
31
|
"test:debug": "genx test --debug"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@genesislcap/foundation-testing": "14.183.
|
|
35
|
-
"@genesislcap/genx": "14.183.
|
|
36
|
-
"@genesislcap/rollup-builder": "14.183.
|
|
37
|
-
"@genesislcap/ts-builder": "14.183.
|
|
38
|
-
"@genesislcap/uvu-playwright-builder": "14.183.
|
|
39
|
-
"@genesislcap/vite-builder": "14.183.
|
|
40
|
-
"@genesislcap/webpack-builder": "14.183.
|
|
34
|
+
"@genesislcap/foundation-testing": "14.183.2",
|
|
35
|
+
"@genesislcap/genx": "14.183.2",
|
|
36
|
+
"@genesislcap/rollup-builder": "14.183.2",
|
|
37
|
+
"@genesislcap/ts-builder": "14.183.2",
|
|
38
|
+
"@genesislcap/uvu-playwright-builder": "14.183.2",
|
|
39
|
+
"@genesislcap/vite-builder": "14.183.2",
|
|
40
|
+
"@genesislcap/webpack-builder": "14.183.2",
|
|
41
41
|
"@types/tabulator-tables": "^5.5.2",
|
|
42
42
|
"rimraf": "^3.0.2"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@genesislcap/foundation-comms": "14.183.
|
|
46
|
-
"@genesislcap/foundation-logger": "14.183.
|
|
47
|
-
"@genesislcap/foundation-ui": "14.183.
|
|
48
|
-
"@genesislcap/foundation-utils": "14.183.
|
|
45
|
+
"@genesislcap/foundation-comms": "14.183.2",
|
|
46
|
+
"@genesislcap/foundation-logger": "14.183.2",
|
|
47
|
+
"@genesislcap/foundation-ui": "14.183.2",
|
|
48
|
+
"@genesislcap/foundation-utils": "14.183.2",
|
|
49
49
|
"@microsoft/fast-colors": "^5.3.1",
|
|
50
50
|
"@microsoft/fast-components": "^2.30.6",
|
|
51
51
|
"@microsoft/fast-element": "^1.12.0",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"access": "public"
|
|
67
67
|
},
|
|
68
68
|
"customElements": "dist/custom-elements.json",
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "fcec30e0c7127ead30b2eee7ac82eddf25d75daf"
|
|
70
70
|
}
|