@genesislcap/grid-pro 14.181.1 → 14.182.0-PA-1226.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.
@@ -6924,6 +6924,28 @@
6924
6924
  "module": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"
6925
6925
  }
6926
6926
  },
6927
+ {
6928
+ "kind": "method",
6929
+ "name": "requestChanged",
6930
+ "parameters": [
6931
+ {
6932
+ "name": "oldRequest",
6933
+ "type": {
6934
+ "text": "string"
6935
+ }
6936
+ },
6937
+ {
6938
+ "name": "newRequest",
6939
+ "type": {
6940
+ "text": "string"
6941
+ }
6942
+ }
6943
+ ],
6944
+ "inheritedFrom": {
6945
+ "name": "GridProGenesisDatasource",
6946
+ "module": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"
6947
+ }
6948
+ },
6927
6949
  {
6928
6950
  "kind": "method",
6929
6951
  "name": "resourceNameChanged",
@@ -9841,6 +9863,24 @@
9841
9863
  "text": "any"
9842
9864
  }
9843
9865
  },
9866
+ {
9867
+ "kind": "method",
9868
+ "name": "requestChanged",
9869
+ "parameters": [
9870
+ {
9871
+ "name": "oldRequest",
9872
+ "type": {
9873
+ "text": "string"
9874
+ }
9875
+ },
9876
+ {
9877
+ "name": "newRequest",
9878
+ "type": {
9879
+ "text": "string"
9880
+ }
9881
+ }
9882
+ ]
9883
+ },
9844
9884
  {
9845
9885
  "kind": "method",
9846
9886
  "name": "resourceNameChanged",
@@ -75,6 +75,11 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
75
75
  getAttributeNode(qualifiedName: string): Attr;
76
76
  getAttributeNodeNS(namespace: string, localName: string): Attr;
77
77
  getBoundingClientRect(): DOMRect;
78
+ /**
79
+ * Resets the datasource to its initial state.
80
+ * @public
81
+ * @deprecated Use `deinit` instead
82
+ */
78
83
  getClientRects(): DOMRectList;
79
84
  getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
80
85
  getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
@@ -86,6 +91,10 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
86
91
  hasAttribute(qualifiedName: string): boolean;
87
92
  hasAttributeNS(namespace: string, localName: string): boolean;
88
93
  hasAttributes(): boolean;
94
+ /**
95
+ * Restarts the datasource, uses `deinit` and `init` in sequence.
96
+ * @public
97
+ */
89
98
  hasPointerCapture(pointerId: number): boolean;
90
99
  insertAdjacentElement(where: InsertPosition, element: Element): Element;
91
100
  insertAdjacentHTML(position: InsertPosition, text: string): void;
@@ -340,6 +349,7 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
340
349
  pollingInterval: number;
341
350
  disablePolling: boolean;
342
351
  request: any;
352
+ requestChanged(oldRequest: string, newRequest: string): void;
343
353
  resourceNameChanged(oldValue: string, newValue: string): void;
344
354
  restartOnReconnection: boolean;
345
355
  keepColDefsOnClearRowData: 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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E9B,OAAO,CAAC,cAAc;IActB,YAAY,CAAC,OAAO,EAAE,MAAM;IAW5B,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"}
@@ -37,6 +37,12 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
37
37
  this.reloadResourceData();
38
38
  }
39
39
  }
40
+ requestChanged(oldRequest, newRequest) {
41
+ const requestIsNotDuplicate = oldRequest !== newRequest;
42
+ if (this.datasource.initialized && requestIsNotDuplicate) {
43
+ this.reloadResourceData();
44
+ }
45
+ }
40
46
  resourceNameChanged(oldValue, newValue) {
41
47
  if (!oldValue || oldValue === newValue)
42
48
  return;
@@ -11281,6 +11281,70 @@
11281
11281
  "isProtected": false,
11282
11282
  "isAbstract": false
11283
11283
  },
11284
+ {
11285
+ "kind": "Method",
11286
+ "canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#requestChanged:member(1)",
11287
+ "docComment": "",
11288
+ "excerptTokens": [
11289
+ {
11290
+ "kind": "Content",
11291
+ "text": "requestChanged(oldRequest: "
11292
+ },
11293
+ {
11294
+ "kind": "Content",
11295
+ "text": "string"
11296
+ },
11297
+ {
11298
+ "kind": "Content",
11299
+ "text": ", newRequest: "
11300
+ },
11301
+ {
11302
+ "kind": "Content",
11303
+ "text": "string"
11304
+ },
11305
+ {
11306
+ "kind": "Content",
11307
+ "text": "): "
11308
+ },
11309
+ {
11310
+ "kind": "Content",
11311
+ "text": "void"
11312
+ },
11313
+ {
11314
+ "kind": "Content",
11315
+ "text": ";"
11316
+ }
11317
+ ],
11318
+ "isStatic": false,
11319
+ "returnTypeTokenRange": {
11320
+ "startIndex": 5,
11321
+ "endIndex": 6
11322
+ },
11323
+ "releaseTag": "Public",
11324
+ "isProtected": false,
11325
+ "overloadIndex": 1,
11326
+ "parameters": [
11327
+ {
11328
+ "parameterName": "oldRequest",
11329
+ "parameterTypeTokenRange": {
11330
+ "startIndex": 1,
11331
+ "endIndex": 2
11332
+ },
11333
+ "isOptional": false
11334
+ },
11335
+ {
11336
+ "parameterName": "newRequest",
11337
+ "parameterTypeTokenRange": {
11338
+ "startIndex": 3,
11339
+ "endIndex": 4
11340
+ },
11341
+ "isOptional": false
11342
+ }
11343
+ ],
11344
+ "isOptional": false,
11345
+ "isAbstract": false,
11346
+ "name": "requestChanged"
11347
+ },
11284
11348
  {
11285
11349
  "kind": "Method",
11286
11350
  "canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#reset:member(1)",
@@ -2139,6 +2139,7 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
2139
2139
  pollingInterval: number;
2140
2140
  disablePolling: boolean;
2141
2141
  request: any;
2142
+ requestChanged(oldRequest: string, newRequest: string): void;
2142
2143
  resourceNameChanged(oldValue: string, newValue: string): void;
2143
2144
  restartOnReconnection: boolean;
2144
2145
  keepColDefsOnClearRowData: boolean;
@@ -2304,6 +2305,11 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
2304
2305
  getAttributeNode(qualifiedName: string): Attr;
2305
2306
  getAttributeNodeNS(namespace: string, localName: string): Attr;
2306
2307
  getBoundingClientRect(): DOMRect;
2308
+ /**
2309
+ * Resets the datasource to its initial state.
2310
+ * @public
2311
+ * @deprecated Use `deinit` instead
2312
+ */
2307
2313
  getClientRects(): DOMRectList;
2308
2314
  getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
2309
2315
  getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
@@ -2315,6 +2321,10 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
2315
2321
  hasAttribute(qualifiedName: string): boolean;
2316
2322
  hasAttributeNS(namespace: string, localName: string): boolean;
2317
2323
  hasAttributes(): boolean;
2324
+ /**
2325
+ * Restarts the datasource, uses `deinit` and `init` in sequence.
2326
+ * @public
2327
+ */
2318
2328
  hasPointerCapture(pointerId: number): boolean;
2319
2329
  insertAdjacentElement(where: InsertPosition, element: Element): Element;
2320
2330
  insertAdjacentHTML(position: InsertPosition, text: string): void;
@@ -46,6 +46,7 @@ Only supports Client-Side Row Model.
46
46
  | [init(columnDefinitions, columnStates)](./grid-pro.gridprogenesisdatasource.init.md) | | Initializes the datasource. |
47
47
  | [refreshRows()](./grid-pro.gridprogenesisdatasource.refreshrows.md) | | Force the grid to redispatch the current rows |
48
48
  | [removeFilter(fieldName)](./grid-pro.gridprogenesisdatasource.removefilter.md) | | |
49
+ | [requestChanged(oldRequest, newRequest)](./grid-pro.gridprogenesisdatasource.requestchanged.md) | | |
49
50
  | [reset()](./grid-pro.gridprogenesisdatasource.reset.md) | | Resets the datasource to its initial state. |
50
51
  | [resourceNameChanged(oldValue, newValue)](./grid-pro.gridprogenesisdatasource.resourcenamechanged.md) | | |
51
52
  | [restart()](./grid-pro.gridprogenesisdatasource.restart.md) | | Restarts the datasource, uses <code>deinit</code> and <code>init</code> in sequence. |
@@ -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; [requestChanged](./grid-pro.gridprogenesisdatasource.requestchanged.md)
4
+
5
+ ## GridProGenesisDatasource.requestChanged() method
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ requestChanged(oldRequest: string, newRequest: string): void;
11
+ ```
12
+
13
+ ## Parameters
14
+
15
+ | Parameter | Type | Description |
16
+ | --- | --- | --- |
17
+ | oldRequest | string | |
18
+ | newRequest | string | |
19
+
20
+ **Returns:**
21
+
22
+ void
23
+
@@ -1024,6 +1024,8 @@ export class GridProGenesisDatasource extends GridProGenesisDatasource_base {
1024
1024
  removeFilter(fieldName: string): void;
1025
1025
  // (undocumented)
1026
1026
  request: any;
1027
+ // (undocumented)
1028
+ requestChanged(oldRequest: string, newRequest: string): void;
1027
1029
  // @deprecated
1028
1030
  reset(): void;
1029
1031
  // (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.181.1",
4
+ "version": "14.182.0-PA-1226.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.181.1",
34
- "@genesislcap/genx": "14.181.1",
35
- "@genesislcap/rollup-builder": "14.181.1",
36
- "@genesislcap/ts-builder": "14.181.1",
37
- "@genesislcap/uvu-playwright-builder": "14.181.1",
38
- "@genesislcap/vite-builder": "14.181.1",
39
- "@genesislcap/webpack-builder": "14.181.1",
33
+ "@genesislcap/foundation-testing": "14.182.0-PA-1226.1",
34
+ "@genesislcap/genx": "14.182.0-PA-1226.1",
35
+ "@genesislcap/rollup-builder": "14.182.0-PA-1226.1",
36
+ "@genesislcap/ts-builder": "14.182.0-PA-1226.1",
37
+ "@genesislcap/uvu-playwright-builder": "14.182.0-PA-1226.1",
38
+ "@genesislcap/vite-builder": "14.182.0-PA-1226.1",
39
+ "@genesislcap/webpack-builder": "14.182.0-PA-1226.1",
40
40
  "rimraf": "^3.0.2"
41
41
  },
42
42
  "dependencies": {
43
- "@genesislcap/foundation-comms": "14.181.1",
44
- "@genesislcap/foundation-logger": "14.181.1",
45
- "@genesislcap/foundation-ui": "14.181.1",
46
- "@genesislcap/foundation-utils": "14.181.1",
43
+ "@genesislcap/foundation-comms": "14.182.0-PA-1226.1",
44
+ "@genesislcap/foundation-logger": "14.182.0-PA-1226.1",
45
+ "@genesislcap/foundation-ui": "14.182.0-PA-1226.1",
46
+ "@genesislcap/foundation-utils": "14.182.0-PA-1226.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": "afc017c6c55a8275ee08f15a153334c6d7c5e921"
72
+ "gitHead": "61407b02f51dd002766a40bfa8c2639643e7b00a"
73
73
  }