@genesislcap/grid-pro 14.164.1-canary.1 → 14.164.1-datasrouce-clone-fix.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.
@@ -88,7 +88,11 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
88
88
  hasAttributes(): boolean;
89
89
  hasPointerCapture(pointerId: number): boolean;
90
90
  insertAdjacentElement(where: InsertPosition, element: Element): Element;
91
- insertAdjacentHTML(position: InsertPosition, text: string): void;
91
+ insertAdjacentHTML(position: InsertPosition, text: string): void; /**
92
+ * Sets the columnDefs and rowData for the grid.
93
+ * @remarks This should only happen once, when the grid is first initialized. Follow up updates will use the agTransaction.
94
+ * @internal
95
+ */
92
96
  insertAdjacentText(where: InsertPosition, data: string): void;
93
97
  matches(selectors: string): boolean;
94
98
  releasePointerCapture(pointerId: number): void;
@@ -111,12 +115,7 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
111
115
  setPointerCapture(pointerId: number): void;
112
116
  toggleAttribute(qualifiedName: string, force?: boolean): boolean;
113
117
  webkitMatchesSelector(selectors: string): boolean;
114
- readonly baseURI: string; /**
115
- * Resets the grid data while keeping columnDefs and sends a DATA_LOGOFF message if it's a stream.
116
- * Proxies to {@link @genesislcap/grid-pro#GridProGenesisDatasource.loadResourceData} but without the full init (no metadata fetch).
117
- * @remarks This is used when the grid is already initialized and we want to reload the data due to a criteria/filter change.
118
- * @internal
119
- */
118
+ readonly baseURI: string;
120
119
  readonly childNodes: NodeListOf<ChildNode>;
121
120
  readonly firstChild: ChildNode;
122
121
  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;AACj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OAMG;IACG,IAAI,CAAC,iBAAiB,CAAC,EAAE,MAAM,EAAE,EAAE,YAAY,CAAC,EAAE,WAAW,EAAE;IAyDrE;;;OAGG;IACH,MAAM;IAIN;;;;OAIG;IACH,KAAK;IA8BL;;;OAGG;IACH,OAAO;IAYP;;OAEG;IACH,WAAW;IAIX;;;;OAIG;IACH,OAAO,CAAC,UAAU;IAUlB;;;;;OAKG;IACH,OAAO,CAAC,YAAY;IAWpB;;;;OAIG;YACW,UAAU;IAmCxB;;;;;OAKG;YACW,kBAAkB;IAYhC;;;;;;OAMG;YACW,gBAAgB;IA0D9B,OAAO,CAAC,cAAc;IActB,YAAY,CAAC,MAAM,KAAA;IAOnB,OAAO,CAAC,iBAAiB;IAiBzB,OAAO,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"}
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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KAAK;IA8BL;;;OAGG;IACH,OAAO;IAYP;;OAEG;IACH,WAAW;IAIX;;;;OAIG;IACH,OAAO,CAAC,UAAU;IAUlB;;;;;OAKG;IACH,OAAO,CAAC,YAAY;IAWpB;;;;OAIG;YACW,UAAU;IAmCxB;;;;;OAKG;YACW,kBAAkB;IAYhC;;;;;;OAMG;YACW,gBAAgB;IA0D9B,OAAO,CAAC,cAAc;IActB,YAAY,CAAC,MAAM,KAAA;IAOnB,OAAO,CAAC,iBAAiB;IAiBzB,OAAO,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"}
@@ -74,13 +74,16 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
74
74
  deepClone() {
75
75
  const copy = super.deepClone();
76
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
- }
77
+ if (this.deferredGridOptions) {
78
+ Object.keys(this.deferredGridOptions).forEach((key) => {
79
+ const property = this.deferredGridOptions[key];
80
+ if (typeof property === 'function') {
81
+ copy.deferredGridOptions[property] = this.deferredGridOptions[property].bind(copy);
82
+ }
83
+ else {
84
+ copy.deferredGridOptions[property] = structuredClone(this.deferredGridOptions[property]);
85
+ }
86
+ });
84
87
  }
85
88
  copy.deferredColumnStates = structuredClone(this.deferredColumnStates);
86
89
  copy.request = structuredClone(this.request);
@@ -1939,7 +1939,11 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
1939
1939
  hasAttributes(): boolean;
1940
1940
  hasPointerCapture(pointerId: number): boolean;
1941
1941
  insertAdjacentElement(where: InsertPosition, element: Element): Element;
1942
- insertAdjacentHTML(position: InsertPosition, text: string): void;
1942
+ insertAdjacentHTML(position: InsertPosition, text: string): void; /**
1943
+ * Sets the columnDefs and rowData for the grid.
1944
+ * @remarks This should only happen once, when the grid is first initialized. Follow up updates will use the agTransaction.
1945
+ * @internal
1946
+ */
1943
1947
  insertAdjacentText(where: InsertPosition, data: string): void;
1944
1948
  matches(selectors: string): boolean;
1945
1949
  releasePointerCapture(pointerId: number): void;
@@ -1962,12 +1966,7 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
1962
1966
  setPointerCapture(pointerId: number): void;
1963
1967
  toggleAttribute(qualifiedName: string, force?: boolean): boolean;
1964
1968
  webkitMatchesSelector(selectors: string): boolean;
1965
- readonly baseURI: string; /**
1966
- * Resets the grid data while keeping columnDefs and sends a DATA_LOGOFF message if it's a stream.
1967
- * Proxies to {@link @genesislcap/grid-pro#GridProGenesisDatasource.loadResourceData} but without the full init (no metadata fetch).
1968
- * @remarks This is used when the grid is already initialized and we want to reload the data due to a criteria/filter change.
1969
- * @internal
1970
- */
1969
+ readonly baseURI: string;
1971
1970
  readonly childNodes: NodeListOf<ChildNode>;
1972
1971
  readonly firstChild: ChildNode;
1973
1972
  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.164.1-canary.1",
4
+ "version": "14.164.1-datasrouce-clone-fix.2",
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.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",
33
+ "@genesislcap/foundation-testing": "14.164.1-datasrouce-clone-fix.2",
34
+ "@genesislcap/genx": "14.164.1-datasrouce-clone-fix.2",
35
+ "@genesislcap/rollup-builder": "14.164.1-datasrouce-clone-fix.2",
36
+ "@genesislcap/ts-builder": "14.164.1-datasrouce-clone-fix.2",
37
+ "@genesislcap/uvu-playwright-builder": "14.164.1-datasrouce-clone-fix.2",
38
+ "@genesislcap/vite-builder": "14.164.1-datasrouce-clone-fix.2",
39
+ "@genesislcap/webpack-builder": "14.164.1-datasrouce-clone-fix.2",
40
40
  "rimraf": "^3.0.2"
41
41
  },
42
42
  "dependencies": {
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",
43
+ "@genesislcap/foundation-comms": "14.164.1-datasrouce-clone-fix.2",
44
+ "@genesislcap/foundation-logger": "14.164.1-datasrouce-clone-fix.2",
45
+ "@genesislcap/foundation-ui": "14.164.1-datasrouce-clone-fix.2",
46
+ "@genesislcap/foundation-utils": "14.164.1-datasrouce-clone-fix.2",
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": "45e0c311f075c7bb04689359a1e585555f2ebbfe"
72
+ "gitHead": "f2aeccb9f83230edce7ba576a22fc6a8c0a367da"
73
73
  }