@genesislcap/grid-pro 14.64.2-alpha-e2416b2.0 → 14.64.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.
- package/dist/custom-elements.json +0 -7
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts +16 -10
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts.map +1 -1
- package/dist/esm/grid-pro-genesis-datasource/grid-pro-genesis-datasource.js +2 -6
- package/dist/grid-pro.api.json +0 -31
- package/dist/grid-pro.d.ts +15 -10
- package/docs/api/grid-pro.gridprogenesisdatasource.md +0 -1
- package/docs/api-report.md +0 -3
- package/package.json +7 -7
- package/docs/api/grid-pro.gridprogenesisdatasource.auth.md +0 -11
|
@@ -3162,13 +3162,6 @@
|
|
|
3162
3162
|
"description": "The Genesis Datasource element, for CSRM-compatible data fetching and used exclusively by the GridPro element.",
|
|
3163
3163
|
"name": "GridProGenesisDatasource",
|
|
3164
3164
|
"members": [
|
|
3165
|
-
{
|
|
3166
|
-
"kind": "field",
|
|
3167
|
-
"name": "auth",
|
|
3168
|
-
"type": {
|
|
3169
|
-
"text": "Auth"
|
|
3170
|
-
}
|
|
3171
|
-
},
|
|
3172
3165
|
{
|
|
3173
3166
|
"kind": "field",
|
|
3174
3167
|
"name": "connect",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GridOptions } from '@ag-grid-community/core';
|
|
2
|
-
import {
|
|
2
|
+
import { Connect, Datasource } from '@genesislcap/foundation-comms';
|
|
3
3
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
4
4
|
declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
5
5
|
"__#1@#_container": import("@genesislcap/foundation-utils").FoundationLayoutContainer | import("@genesislcap/foundation-utils").LayoutCacheContainer | import("@genesislcap/foundation-utils").DOMContainer;
|
|
@@ -72,9 +72,21 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
72
72
|
getBoundingClientRect(): DOMRect;
|
|
73
73
|
getClientRects(): DOMRectList;
|
|
74
74
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
75
|
-
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>; /**
|
|
76
|
+
* Resets the datasource to its initial state.
|
|
77
|
+
* @public
|
|
78
|
+
* @deprecated Use `deinit` instead
|
|
79
|
+
*/
|
|
80
|
+
getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>; /**
|
|
81
|
+
* Resets the datasource to its initial state.
|
|
82
|
+
* @public
|
|
83
|
+
* @deprecated Use `deinit` instead
|
|
84
|
+
*/
|
|
85
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>; /**
|
|
86
|
+
* Resets the datasource to its initial state.
|
|
87
|
+
* @public
|
|
88
|
+
* @deprecated Use `deinit` instead
|
|
89
|
+
*/
|
|
78
90
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
79
91
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
80
92
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
@@ -86,11 +98,6 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
86
98
|
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
87
99
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
88
100
|
matches(selectors: string): boolean;
|
|
89
|
-
/**
|
|
90
|
-
* Sends a DATA_LOGOFF when the resource is an active stream
|
|
91
|
-
* @remarks Will only happen for streaming DATASERER resources.
|
|
92
|
-
* @internal
|
|
93
|
-
*/
|
|
94
101
|
releasePointerCapture(pointerId: number): void;
|
|
95
102
|
removeAttribute(qualifiedName: string): void;
|
|
96
103
|
removeAttributeNS(namespace: string, localName: string): void;
|
|
@@ -332,7 +339,6 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
332
339
|
* @public
|
|
333
340
|
*/
|
|
334
341
|
export declare class GridProGenesisDatasource extends GridProGenesisDatasource_base {
|
|
335
|
-
auth: Auth;
|
|
336
342
|
connect: Connect;
|
|
337
343
|
datasource: Datasource;
|
|
338
344
|
deferredGridOptions: GridOptions;
|
|
@@ -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,EAAU,WAAW,EAAsB,MAAM,yBAAyB,CAAC;AAClF,OAAO,EACL,
|
|
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,EAAU,WAAW,EAAsB,MAAM,yBAAyB,CAAC;AAClF,OAAO,EACL,OAAO,EAEP,UAAU,EAYX,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qIAuM7D;;;;OAIG;mIAJH;;;;OAIG;4EAJH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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1B,OAAO,KAAK,MAAM,GAEjB;IAID;;;;OAIG;IACH,OAAO,KAAK,KAAK,GAIhB;IAED;;;;OAIG;IACG,IAAI;IAyCV;;;OAGG;IACH,MAAM;IAIN;;;;OAIG;IACH,KAAK;IA6BL;;;OAGG;IACH,OAAO;IAKP;;OAEG;IACH,WAAW;IAIX;;;;OAIG;IACH,OAAO,CAAC,UAAU;IAQlB;;;;;OAKG;IACH,OAAO,CAAC,YAAY;IAWpB;;;;OAIG;IACH,OAAO,CAAC,UAAU;IAYlB;;;;;OAKG;YACW,kBAAkB;IAUhC;;;;;;OAMG;YACW,gBAAgB;IA4C9B,OAAO,CAAC,cAAc;IActB,OAAO,CAAC,iBAAiB;IAgBzB,OAAO,CAAC,kBAAkB;IAU1B,OAAO,CAAC,sBAAsB;IA2C9B,OAAO,CAAC,mBAAmB;IAqB3B,OAAO,CAAC,cAAc;IAatB,OAAO,CAAC,mBAAmB;IAgB3B,OAAO,CAAC,mBAAmB;IAO3B,OAAO,CAAC,mBAAmB;IAW3B,OAAO,CAAC,eAAe;IA6CvB,OAAO,CAAC,aAAa;IAMd,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;IAK9C,YAAY,CAAC,SAAS,EAAE,MAAM;CAItC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __awaiter, __decorate } from "tslib";
|
|
2
|
-
import {
|
|
2
|
+
import { Connect, dataServerResultFilter, Datasource, DatasourceDefaults, FieldTypeEnum, MessageType, normaliseCriteria, ResourceType, } from '@genesislcap/foundation-comms';
|
|
3
3
|
import { LifecycleMixin } from '@genesislcap/foundation-utils';
|
|
4
4
|
import { attr, customElement, DOM, observable } from '@microsoft/fast-element';
|
|
5
5
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
@@ -179,8 +179,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
179
179
|
* @internal
|
|
180
180
|
*/
|
|
181
181
|
dataLogoff() {
|
|
182
|
-
|
|
183
|
-
if (shouldPerformDataLogoff && this.auth.isLoggedIn) {
|
|
182
|
+
if (this.sourceRef && !this.isRequestServer && !this.isSnapshot) {
|
|
184
183
|
this.connect.dataLogoff(this.sourceRef);
|
|
185
184
|
}
|
|
186
185
|
this.sourceRef = undefined;
|
|
@@ -440,9 +439,6 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
440
439
|
this.update.next(this.criteriaFromFilters);
|
|
441
440
|
}
|
|
442
441
|
};
|
|
443
|
-
__decorate([
|
|
444
|
-
Auth
|
|
445
|
-
], GridProGenesisDatasource.prototype, "auth", void 0);
|
|
446
442
|
__decorate([
|
|
447
443
|
Connect
|
|
448
444
|
], GridProGenesisDatasource.prototype, "connect", void 0);
|
package/dist/grid-pro.api.json
CHANGED
|
@@ -6527,37 +6527,6 @@
|
|
|
6527
6527
|
"name": "GridProGenesisDatasource",
|
|
6528
6528
|
"preserveMemberOrder": false,
|
|
6529
6529
|
"members": [
|
|
6530
|
-
{
|
|
6531
|
-
"kind": "Property",
|
|
6532
|
-
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#auth:member",
|
|
6533
|
-
"docComment": "",
|
|
6534
|
-
"excerptTokens": [
|
|
6535
|
-
{
|
|
6536
|
-
"kind": "Content",
|
|
6537
|
-
"text": "auth: "
|
|
6538
|
-
},
|
|
6539
|
-
{
|
|
6540
|
-
"kind": "Reference",
|
|
6541
|
-
"text": "Auth",
|
|
6542
|
-
"canonicalReference": "@genesislcap/foundation-comms!Auth:interface"
|
|
6543
|
-
},
|
|
6544
|
-
{
|
|
6545
|
-
"kind": "Content",
|
|
6546
|
-
"text": ";"
|
|
6547
|
-
}
|
|
6548
|
-
],
|
|
6549
|
-
"isReadonly": false,
|
|
6550
|
-
"isOptional": false,
|
|
6551
|
-
"releaseTag": "Public",
|
|
6552
|
-
"name": "auth",
|
|
6553
|
-
"propertyTypeTokenRange": {
|
|
6554
|
-
"startIndex": 1,
|
|
6555
|
-
"endIndex": 2
|
|
6556
|
-
},
|
|
6557
|
-
"isStatic": false,
|
|
6558
|
-
"isProtected": false,
|
|
6559
|
-
"isAbstract": false
|
|
6560
|
-
},
|
|
6561
6530
|
{
|
|
6562
6531
|
"kind": "Property",
|
|
6563
6532
|
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#connect:member",
|
package/dist/grid-pro.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ActionMenuItem } from '@genesislcap/foundation-ui';
|
|
2
|
-
import { Auth } from '@genesislcap/foundation-comms';
|
|
3
2
|
import { Binding } from '@microsoft/fast-element';
|
|
4
3
|
import { CaptureType } from '@microsoft/fast-element';
|
|
5
4
|
import { ColDef } from '@ag-grid-community/core';
|
|
@@ -1219,7 +1218,6 @@ export declare function gridProColumns<TSource = any>(itemsBinding: Binding<TSou
|
|
|
1219
1218
|
* @public
|
|
1220
1219
|
*/
|
|
1221
1220
|
export declare class GridProGenesisDatasource extends GridProGenesisDatasource_base {
|
|
1222
|
-
auth: Auth;
|
|
1223
1221
|
connect: Connect;
|
|
1224
1222
|
datasource: Datasource;
|
|
1225
1223
|
deferredGridOptions: GridOptions;
|
|
@@ -1415,9 +1413,21 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
1415
1413
|
getBoundingClientRect(): DOMRect;
|
|
1416
1414
|
getClientRects(): DOMRectList;
|
|
1417
1415
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
1418
|
-
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
|
|
1419
|
-
|
|
1420
|
-
|
|
1416
|
+
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>; /**
|
|
1417
|
+
* Resets the datasource to its initial state.
|
|
1418
|
+
* @public
|
|
1419
|
+
* @deprecated Use `deinit` instead
|
|
1420
|
+
*/
|
|
1421
|
+
getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>; /**
|
|
1422
|
+
* Resets the datasource to its initial state.
|
|
1423
|
+
* @public
|
|
1424
|
+
* @deprecated Use `deinit` instead
|
|
1425
|
+
*/
|
|
1426
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>; /**
|
|
1427
|
+
* Resets the datasource to its initial state.
|
|
1428
|
+
* @public
|
|
1429
|
+
* @deprecated Use `deinit` instead
|
|
1430
|
+
*/
|
|
1421
1431
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
1422
1432
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
1423
1433
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
@@ -1429,11 +1439,6 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
1429
1439
|
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
1430
1440
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
1431
1441
|
matches(selectors: string): boolean;
|
|
1432
|
-
/**
|
|
1433
|
-
* Sends a DATA_LOGOFF when the resource is an active stream
|
|
1434
|
-
* @remarks Will only happen for streaming DATASERER resources.
|
|
1435
|
-
* @internal
|
|
1436
|
-
*/
|
|
1437
1442
|
releasePointerCapture(pointerId: number): void;
|
|
1438
1443
|
removeAttribute(qualifiedName: string): void;
|
|
1439
1444
|
removeAttributeNS(namespace: string, localName: string): void;
|
|
@@ -21,7 +21,6 @@ Only supports Client-Side Row Model.
|
|
|
21
21
|
|
|
22
22
|
| Property | Modifiers | Type | Description |
|
|
23
23
|
| --- | --- | --- | --- |
|
|
24
|
-
| [auth](./grid-pro.gridprogenesisdatasource.auth.md) | | Auth | |
|
|
25
24
|
| [connect](./grid-pro.gridprogenesisdatasource.connect.md) | | Connect | |
|
|
26
25
|
| [criteria](./grid-pro.gridprogenesisdatasource.criteria.md) | | string | |
|
|
27
26
|
| [datasource](./grid-pro.gridprogenesisdatasource.datasource.md) | | Datasource | |
|
package/docs/api-report.md
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
```ts
|
|
6
6
|
|
|
7
7
|
import { ActionMenuItem } from '@genesislcap/foundation-ui';
|
|
8
|
-
import { Auth } from '@genesislcap/foundation-comms';
|
|
9
8
|
import { Binding } from '@microsoft/fast-element';
|
|
10
9
|
import { CaptureType } from '@microsoft/fast-element';
|
|
11
10
|
import { ColDef } from '@ag-grid-community/core';
|
|
@@ -629,8 +628,6 @@ export function gridProColumns<TSource = any>(itemsBinding: Binding<TSource, rea
|
|
|
629
628
|
//
|
|
630
629
|
// @public
|
|
631
630
|
export class GridProGenesisDatasource extends GridProGenesisDatasource_base {
|
|
632
|
-
// (undocumented)
|
|
633
|
-
auth: Auth;
|
|
634
631
|
// (undocumented)
|
|
635
632
|
connect: Connect;
|
|
636
633
|
// (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.64.2
|
|
4
|
+
"version": "14.64.2",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -28,14 +28,14 @@
|
|
|
28
28
|
"test:debug": "genx test --debug"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@genesislcap/foundation-testing": "14.64.2
|
|
32
|
-
"@genesislcap/genx": "14.64.2
|
|
31
|
+
"@genesislcap/foundation-testing": "14.64.2",
|
|
32
|
+
"@genesislcap/genx": "14.64.2",
|
|
33
33
|
"rimraf": "^3.0.2"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@genesislcap/foundation-comms": "14.64.2
|
|
37
|
-
"@genesislcap/foundation-ui": "14.64.2
|
|
38
|
-
"@genesislcap/foundation-utils": "14.64.2
|
|
36
|
+
"@genesislcap/foundation-comms": "14.64.2",
|
|
37
|
+
"@genesislcap/foundation-ui": "14.64.2",
|
|
38
|
+
"@genesislcap/foundation-utils": "14.64.2",
|
|
39
39
|
"@microsoft/fast-colors": "^5.1.4",
|
|
40
40
|
"@microsoft/fast-components": "^2.21.3",
|
|
41
41
|
"@microsoft/fast-element": "^1.7.0",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"access": "public"
|
|
59
59
|
},
|
|
60
60
|
"customElements": "dist/custom-elements.json",
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "7d637a02f221bf07914f0f3d8d34f97a676d18ab"
|
|
62
62
|
}
|
|
@@ -1,11 +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) > [GridProGenesisDatasource](./grid-pro.gridprogenesisdatasource.md) > [auth](./grid-pro.gridprogenesisdatasource.auth.md)
|
|
4
|
-
|
|
5
|
-
## GridProGenesisDatasource.auth property
|
|
6
|
-
|
|
7
|
-
**Signature:**
|
|
8
|
-
|
|
9
|
-
```typescript
|
|
10
|
-
auth: Auth;
|
|
11
|
-
```
|