@genesislcap/grid-pro 14.163.0 → 14.164.1-canary.1
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/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts +9 -24
- 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 +9 -1
- package/dist/grid-pro.d.ts +9 -24
- package/package.json +13 -13
|
@@ -77,24 +77,9 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
77
77
|
getBoundingClientRect(): DOMRect;
|
|
78
78
|
getClientRects(): DOMRectList;
|
|
79
79
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
80
|
-
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
* @param withColumnDefs - Whether to clear the columnDefs as well. Defaults to true.
|
|
84
|
-
* @internal
|
|
85
|
-
*/
|
|
86
|
-
getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>; /**
|
|
87
|
-
* Clears the rowData and columnDefs for the grid.
|
|
88
|
-
* @remarks This is called when `reloadResourceData` happens, on criteria and filters change or full `reset`.
|
|
89
|
-
* @param withColumnDefs - Whether to clear the columnDefs as well. Defaults to true.
|
|
90
|
-
* @internal
|
|
91
|
-
*/
|
|
92
|
-
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>; /**
|
|
93
|
-
* Clears the rowData and columnDefs for the grid.
|
|
94
|
-
* @remarks This is called when `reloadResourceData` happens, on criteria and filters change or full `reset`.
|
|
95
|
-
* @param withColumnDefs - Whether to clear the columnDefs as well. Defaults to true.
|
|
96
|
-
* @internal
|
|
97
|
-
*/
|
|
80
|
+
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
|
|
81
|
+
getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
|
|
82
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
98
83
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
99
84
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
100
85
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
@@ -121,17 +106,17 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
121
106
|
scrollTo(x: number, y: number): void;
|
|
122
107
|
setAttribute(qualifiedName: string, value: string): void;
|
|
123
108
|
setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
|
|
124
|
-
setAttributeNode(attr: Attr): Attr;
|
|
109
|
+
setAttributeNode(attr: Attr): Attr;
|
|
110
|
+
setAttributeNodeNS(attr: Attr): Attr;
|
|
111
|
+
setPointerCapture(pointerId: number): void;
|
|
112
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
113
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
114
|
+
readonly baseURI: string; /**
|
|
125
115
|
* Resets the grid data while keeping columnDefs and sends a DATA_LOGOFF message if it's a stream.
|
|
126
116
|
* Proxies to {@link @genesislcap/grid-pro#GridProGenesisDatasource.loadResourceData} but without the full init (no metadata fetch).
|
|
127
117
|
* @remarks This is used when the grid is already initialized and we want to reload the data due to a criteria/filter change.
|
|
128
118
|
* @internal
|
|
129
119
|
*/
|
|
130
|
-
setAttributeNodeNS(attr: Attr): Attr;
|
|
131
|
-
setPointerCapture(pointerId: number): void;
|
|
132
|
-
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
133
|
-
webkitMatchesSelector(selectors: string): boolean;
|
|
134
|
-
readonly baseURI: string;
|
|
135
120
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
136
121
|
readonly firstChild: ChildNode;
|
|
137
122
|
readonly isConnected: boolean;
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BA6TpE;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAO,CAAC,kBAAkB;IAU1B,OAAO,CAAC,sBAAsB;IA2C9B,OAAO,CAAC,mBAAmB;YAsBb,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;CAGR"}
|
|
@@ -73,7 +73,15 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
73
73
|
}
|
|
74
74
|
deepClone() {
|
|
75
75
|
const copy = super.deepClone();
|
|
76
|
-
copy.deferredGridOptions =
|
|
76
|
+
copy.deferredGridOptions = {};
|
|
77
|
+
for (const property of this.deferredGridOptions) {
|
|
78
|
+
if (typeof property === 'function') {
|
|
79
|
+
copy.deferredGridOptions[property] = this.deferredGridOptions[property].bind(copy);
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
copy.deferredGridOptions[property] = structuredClone(this.deferredGridOptions[property]);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
77
85
|
copy.deferredColumnStates = structuredClone(this.deferredColumnStates);
|
|
78
86
|
copy.request = structuredClone(this.request);
|
|
79
87
|
return copy;
|
package/dist/grid-pro.d.ts
CHANGED
|
@@ -1928,24 +1928,9 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
1928
1928
|
getBoundingClientRect(): DOMRect;
|
|
1929
1929
|
getClientRects(): DOMRectList;
|
|
1930
1930
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
1931
|
-
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
* @param withColumnDefs - Whether to clear the columnDefs as well. Defaults to true.
|
|
1935
|
-
* @internal
|
|
1936
|
-
*/
|
|
1937
|
-
getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>; /**
|
|
1938
|
-
* Clears the rowData and columnDefs for the grid.
|
|
1939
|
-
* @remarks This is called when `reloadResourceData` happens, on criteria and filters change or full `reset`.
|
|
1940
|
-
* @param withColumnDefs - Whether to clear the columnDefs as well. Defaults to true.
|
|
1941
|
-
* @internal
|
|
1942
|
-
*/
|
|
1943
|
-
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>; /**
|
|
1944
|
-
* Clears the rowData and columnDefs for the grid.
|
|
1945
|
-
* @remarks This is called when `reloadResourceData` happens, on criteria and filters change or full `reset`.
|
|
1946
|
-
* @param withColumnDefs - Whether to clear the columnDefs as well. Defaults to true.
|
|
1947
|
-
* @internal
|
|
1948
|
-
*/
|
|
1931
|
+
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
|
|
1932
|
+
getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
|
|
1933
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
1949
1934
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
1950
1935
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
1951
1936
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
@@ -1972,17 +1957,17 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
1972
1957
|
scrollTo(x: number, y: number): void;
|
|
1973
1958
|
setAttribute(qualifiedName: string, value: string): void;
|
|
1974
1959
|
setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
|
|
1975
|
-
setAttributeNode(attr: Attr): Attr;
|
|
1960
|
+
setAttributeNode(attr: Attr): Attr;
|
|
1961
|
+
setAttributeNodeNS(attr: Attr): Attr;
|
|
1962
|
+
setPointerCapture(pointerId: number): void;
|
|
1963
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
1964
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
1965
|
+
readonly baseURI: string; /**
|
|
1976
1966
|
* Resets the grid data while keeping columnDefs and sends a DATA_LOGOFF message if it's a stream.
|
|
1977
1967
|
* Proxies to {@link @genesislcap/grid-pro#GridProGenesisDatasource.loadResourceData} but without the full init (no metadata fetch).
|
|
1978
1968
|
* @remarks This is used when the grid is already initialized and we want to reload the data due to a criteria/filter change.
|
|
1979
1969
|
* @internal
|
|
1980
1970
|
*/
|
|
1981
|
-
setAttributeNodeNS(attr: Attr): Attr;
|
|
1982
|
-
setPointerCapture(pointerId: number): void;
|
|
1983
|
-
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
1984
|
-
webkitMatchesSelector(selectors: string): boolean;
|
|
1985
|
-
readonly baseURI: string;
|
|
1986
1971
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
1987
1972
|
readonly firstChild: ChildNode;
|
|
1988
1973
|
readonly isConnected: boolean;
|
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.
|
|
4
|
+
"version": "14.164.1-canary.1",
|
|
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.
|
|
34
|
-
"@genesislcap/genx": "14.
|
|
35
|
-
"@genesislcap/rollup-builder": "14.
|
|
36
|
-
"@genesislcap/ts-builder": "14.
|
|
37
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
38
|
-
"@genesislcap/vite-builder": "14.
|
|
39
|
-
"@genesislcap/webpack-builder": "14.
|
|
33
|
+
"@genesislcap/foundation-testing": "14.164.1-canary.1",
|
|
34
|
+
"@genesislcap/genx": "14.164.1-canary.1",
|
|
35
|
+
"@genesislcap/rollup-builder": "14.164.1-canary.1",
|
|
36
|
+
"@genesislcap/ts-builder": "14.164.1-canary.1",
|
|
37
|
+
"@genesislcap/uvu-playwright-builder": "14.164.1-canary.1",
|
|
38
|
+
"@genesislcap/vite-builder": "14.164.1-canary.1",
|
|
39
|
+
"@genesislcap/webpack-builder": "14.164.1-canary.1",
|
|
40
40
|
"rimraf": "^3.0.2"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@genesislcap/foundation-comms": "14.
|
|
44
|
-
"@genesislcap/foundation-logger": "14.
|
|
45
|
-
"@genesislcap/foundation-ui": "14.
|
|
46
|
-
"@genesislcap/foundation-utils": "14.
|
|
43
|
+
"@genesislcap/foundation-comms": "14.164.1-canary.1",
|
|
44
|
+
"@genesislcap/foundation-logger": "14.164.1-canary.1",
|
|
45
|
+
"@genesislcap/foundation-ui": "14.164.1-canary.1",
|
|
46
|
+
"@genesislcap/foundation-utils": "14.164.1-canary.1",
|
|
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": "45e0c311f075c7bb04689359a1e585555f2ebbfe"
|
|
73
73
|
}
|