@genesislcap/grid-pro 14.464.1-alpha-99d66df.0 → 14.465.0
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 +533 -548
- package/dist/dts/datasource/server-side.datasource.d.ts +0 -1
- package/dist/dts/datasource/server-side.datasource.d.ts.map +1 -1
- package/dist/dts/datasource/server-side.resource-base.d.ts +1 -1
- package/dist/dts/datasource/server-side.resource-base.d.ts.map +1 -1
- package/dist/dts/react.d.ts +9 -9
- package/dist/esm/datasource/server-side.datasource.js +21 -74
- package/dist/grid-pro.d.ts +0 -1
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +14 -14
|
@@ -506,7 +506,6 @@ export declare class GridProServerSideDatasource extends GridProServerSideDataso
|
|
|
506
506
|
* @internal
|
|
507
507
|
*/
|
|
508
508
|
private applyReqRepPollingUpdate;
|
|
509
|
-
private applyLiveServerSideUpdate;
|
|
510
509
|
private createDataserverStream;
|
|
511
510
|
private getAgColumnDefs;
|
|
512
511
|
applyTransaction(transaction: any): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server-side.datasource.d.ts","sourceRoot":"","sources":["../../../src/datasource/server-side.datasource.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,UAAU,EACV,iBAAiB,
|
|
1
|
+
{"version":3,"file":"server-side.datasource.d.ts","sourceRoot":"","sources":["../../../src/datasource/server-side.datasource.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,UAAU,EACV,iBAAiB,EAWlB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEL,cAAc,EAEf,MAAM,+BAA+B,CAAC;AAUvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;;;;;;;kBAyDxC,CAAC;;;;;;;;8BAoBI,CAAC,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;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B,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IAOtD,eAAe,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;IAaxD,iBAAiB;IAUjB,oBAAoB;IAUX,SAAS,IAAI,IAAI;IAO1B;;;;OAIG;IACG,kBAAkB,CAAC,MAAM,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;IAsCnE;;;OAGG;IACH,OAAO,CAAC,mCAAmC;IAc3C;;;OAGG;IACH,OAAO,CAAC,oCAAoC;IAWtC,IAAI;IAuIV,mBAAmB,CAAC,KAAK,EAAE,GAAG;IAMf,OAAO;IAmBP,OAAO;IAKtB,OAAO,CAAC,YAAY;IAmBpB,OAAO,CAAC,kBAAkB;YAgDZ,mBAAmB;IAKjC;;;;;;;;;;;;OAYG;YACW,kBAAkB;IA+BhC;;;;;;OAMG;IACH,OAAO,CAAC,kBAAkB,CAA+B;IAEzD;;;;;;;;;OASG;IACH,OAAO,CAAC,0BAA0B,CAAS;IAE3C;;;;;;OAMG;IACI,uBAAuB;IAM9B;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,wBAAwB;YAsElB,sBAAsB;YAoDtB,eAAe;IAmBpB,gBAAgB,CAAC,WAAW,EAAE,GAAG,GAAG,GAAG;IAIvC,QAAQ;CAGlB"}
|
|
@@ -14,7 +14,7 @@ export declare abstract class BaseServerSideDatasource implements IServerSideDat
|
|
|
14
14
|
connect: Connect;
|
|
15
15
|
uuid: UUID;
|
|
16
16
|
protected rowId: string;
|
|
17
|
-
rowData: Map<string, any>;
|
|
17
|
+
protected rowData: Map<string, any>;
|
|
18
18
|
reloadResourceDataFunc: (params: DatasourceOptions) => Promise<void>;
|
|
19
19
|
errorHandlerFunc: (message: string, type: string) => void;
|
|
20
20
|
protected onNoDataAvailableFunc?: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server-side.resource-base.d.ts","sourceRoot":"","sources":["../../../src/datasource/server-side.resource-base.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,wBAAwB,EACzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,IAAI,EACJ,OAAO,EACP,cAAc,EAEd,iBAAiB,EAClB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;GAKG;AACH,8BAAsB,wBAAyB,YAAW,qBAAqB;IACvE,IAAI,EAAG,IAAI,CAAC;IACT,OAAO,EAAG,OAAO,CAAC;IACrB,IAAI,EAAG,IAAI,CAAC;IAElB,SAAS,CAAC,KAAK,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAa;
|
|
1
|
+
{"version":3,"file":"server-side.resource-base.d.ts","sourceRoot":"","sources":["../../../src/datasource/server-side.resource-base.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,wBAAwB,EACzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,IAAI,EACJ,OAAO,EACP,cAAc,EAEd,iBAAiB,EAClB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;GAKG;AACH,8BAAsB,wBAAyB,YAAW,qBAAqB;IACvE,IAAI,EAAG,IAAI,CAAC;IACT,OAAO,EAAG,OAAO,CAAC;IACrB,IAAI,EAAG,IAAI,CAAC;IAElB,SAAS,CAAC,KAAK,EAAE,MA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IACtH,SAAS,CAAC,mBAAmB,CAAC,MAAM,EAAE,wBAAwB,GAAG,IAAI;IAOrE,uFAAuF;IACvF,SAAS,CAAC,4BAA4B,CACpC,MAAM,EAAE,wBAAwB,EAChC,cAAc,EAAE,iBAAiB,GAChC,IAAI;IAWP,SAAS,CAAC,qBAAqB,IAAI,IAAI;IAIvC,SAAS,CAAC,mBAAmB,IAAI,IAAI;IAIrC;;OAEG;IACH,SAAS,CAAC,sBAAsB,IAAI,UAAU;CAgB/C"}
|
package/dist/dts/react.d.ts
CHANGED
|
@@ -133,6 +133,15 @@ export declare const StringEditor: React.ForwardRefExoticComponent<
|
|
|
133
133
|
>;
|
|
134
134
|
export type StringEditorRef = StringEditorWC;
|
|
135
135
|
|
|
136
|
+
export declare const GridProColumn: React.ForwardRefExoticComponent<
|
|
137
|
+
React.PropsWithChildren<
|
|
138
|
+
Omit<PublicOf<GridProColumnWC>, 'children' | 'style'> &
|
|
139
|
+
HTMLWCProps & {
|
|
140
|
+
}
|
|
141
|
+
> & React.RefAttributes<GridProColumnWC>
|
|
142
|
+
>;
|
|
143
|
+
export type GridProColumnRef = GridProColumnWC;
|
|
144
|
+
|
|
136
145
|
export declare const ActionRenderer: React.ForwardRefExoticComponent<
|
|
137
146
|
React.PropsWithChildren<
|
|
138
147
|
Omit<PublicOf<ActionRendererWC>, 'children' | 'style'> &
|
|
@@ -205,15 +214,6 @@ export declare const AgTextRenderer: React.ForwardRefExoticComponent<
|
|
|
205
214
|
>;
|
|
206
215
|
export type AgTextRendererRef = AgTextRendererWC;
|
|
207
216
|
|
|
208
|
-
export declare const GridProColumn: React.ForwardRefExoticComponent<
|
|
209
|
-
React.PropsWithChildren<
|
|
210
|
-
Omit<PublicOf<GridProColumnWC>, 'children' | 'style'> &
|
|
211
|
-
HTMLWCProps & {
|
|
212
|
-
}
|
|
213
|
-
> & React.RefAttributes<GridProColumnWC>
|
|
214
|
-
>;
|
|
215
|
-
export type GridProColumnRef = GridProColumnWC;
|
|
216
|
-
|
|
217
217
|
export declare const GridProClientSideDatasource: React.ForwardRefExoticComponent<
|
|
218
218
|
React.PropsWithChildren<
|
|
219
219
|
Omit<PublicOf<GridProClientSideDatasourceWC>, 'children' | 'style'> &
|
|
@@ -536,84 +536,31 @@ let GridProServerSideDatasource = class GridProServerSideDatasource extends Life
|
|
|
536
536
|
});
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
|
-
applyLiveServerSideUpdate(nextMessage) {
|
|
540
|
-
var _a, _b, _c;
|
|
541
|
-
const inserts = (_a = nextMessage.inserts) !== null && _a !== void 0 ? _a : [];
|
|
542
|
-
const updates = (_b = nextMessage.updates) !== null && _b !== void 0 ? _b : [];
|
|
543
|
-
const deletes = (_c = nextMessage.deletes) !== null && _c !== void 0 ? _c : [];
|
|
544
|
-
if (!inserts.length && !updates.length && !deletes.length) {
|
|
545
|
-
return;
|
|
546
|
-
}
|
|
547
|
-
const netRowChange = inserts.length - deletes.length;
|
|
548
|
-
if (this.ssrmDatasource) {
|
|
549
|
-
this.ssrmDatasource.serverRowsCount += netRowChange;
|
|
550
|
-
this.ssrmDatasource.clientRowsCount += netRowChange;
|
|
551
|
-
}
|
|
552
|
-
this.transactionData = { add: [], remove: [], update: [] };
|
|
553
|
-
this.handleStreamInserts(inserts);
|
|
554
|
-
this.handleStreamUpdates(updates);
|
|
555
|
-
this.handleStreamDeletes(deletes);
|
|
556
|
-
if (this.transactionData.add.length > 0) {
|
|
557
|
-
this.$emit(datasourceEventNames.applyServerSideTransaction, {
|
|
558
|
-
transaction: {
|
|
559
|
-
route: [],
|
|
560
|
-
add: this.transactionData.add,
|
|
561
|
-
addIndex: this.reverse ? 0 : this.transactionData.addIndex,
|
|
562
|
-
},
|
|
563
|
-
});
|
|
564
|
-
}
|
|
565
|
-
if (this.transactionData.update.length > 0 || this.transactionData.remove.length > 0) {
|
|
566
|
-
this.$emit(datasourceEventNames.applyServerSideTransaction, {
|
|
567
|
-
transaction: {
|
|
568
|
-
route: [],
|
|
569
|
-
update: this.transactionData.update,
|
|
570
|
-
remove: this.transactionData.remove,
|
|
571
|
-
},
|
|
572
|
-
});
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
539
|
createDataserverStream() {
|
|
576
|
-
return __awaiter(this, arguments, void 0, function* (
|
|
540
|
+
return __awaiter(this, arguments, void 0, function* (existingParams = null) {
|
|
577
541
|
if (this.liveUpdates) {
|
|
578
542
|
const streamOnMessage = (message) => __awaiter(this, void 0, void 0, function* () {
|
|
579
|
-
var _a;
|
|
543
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
580
544
|
const messageType = message.MESSAGE_TYPE;
|
|
581
|
-
if (messageType
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
if (!((_a = this.ssrmDatasource) === null || _a === void 0 ? void 0 : _a.sourceRef)) {
|
|
585
|
-
return;
|
|
586
|
-
}
|
|
587
|
-
if (message.SEQUENCE_ID !== undefined && message.SEQUENCE_ID <= 1) {
|
|
588
|
-
return;
|
|
589
|
-
}
|
|
590
|
-
const rawMessage = message;
|
|
591
|
-
const normalizedRows = Array.isArray(rawMessage.ROW)
|
|
592
|
-
? rawMessage.ROW
|
|
593
|
-
: rawMessage.ROW
|
|
594
|
-
? [rawMessage.ROW]
|
|
595
|
-
: [];
|
|
596
|
-
// Genesis sends only changed fields in MODIFY messages. Merge each partial row
|
|
597
|
-
// with the full cached row from ssrmDatasource.rowData so AG Grid always receives
|
|
598
|
-
// a complete row — without this, unchanged columns are cleared on every update.
|
|
599
|
-
const rowData = this.ssrmDatasource.rowData;
|
|
600
|
-
const mergedRows = normalizedRows.map((row) => {
|
|
601
|
-
var _a;
|
|
602
|
-
const details = (_a = row.DETAILS) !== null && _a !== void 0 ? _a : {};
|
|
603
|
-
const rowRef = details[this.rowId];
|
|
604
|
-
const existingRow = rowRef != null ? rowData === null || rowData === void 0 ? void 0 : rowData.get(rowRef) : undefined;
|
|
605
|
-
if (!existingRow)
|
|
606
|
-
return row;
|
|
607
|
-
const merged = Object.assign({}, existingRow);
|
|
608
|
-
for (const [key, value] of Object.entries(row)) {
|
|
609
|
-
if (key !== 'DETAILS' && value != null)
|
|
610
|
-
merged[key] = value;
|
|
545
|
+
if (messageType === MessageType.QUERY_UPDATE && message.ROW) {
|
|
546
|
+
if (!this.ssrmDatasource) {
|
|
547
|
+
return;
|
|
611
548
|
}
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
549
|
+
const nextMessage = dataServerResultFilter(message);
|
|
550
|
+
this.transactionData = { add: [], remove: [], update: [] };
|
|
551
|
+
this.handleStreamInserts(nextMessage.inserts);
|
|
552
|
+
this.handleStreamUpdates(nextMessage.updates);
|
|
553
|
+
this.handleStreamDeletes(nextMessage.deletes);
|
|
554
|
+
if (message.SEQUENCE_ID > 1) {
|
|
555
|
+
// Calculate net row count change (inserts - deletes)
|
|
556
|
+
const netRowChange = ((_b = (_a = nextMessage.inserts) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0) - ((_d = (_c = nextMessage.deletes) === null || _c === void 0 ? void 0 : _c.length) !== null && _d !== void 0 ? _d : 0);
|
|
557
|
+
this.ssrmDatasource.serverRowsCount += netRowChange;
|
|
558
|
+
// Calculate net row count change for client (inserts - loaded deletes)
|
|
559
|
+
const clientNetRowChange = ((_f = (_e = nextMessage.inserts) === null || _e === void 0 ? void 0 : _e.length) !== null && _f !== void 0 ? _f : 0) - ((_h = (_g = nextMessage.deletes) === null || _g === void 0 ? void 0 : _g.length) !== null && _h !== void 0 ? _h : 0);
|
|
560
|
+
this.ssrmDatasource.clientRowsCount += clientNetRowChange;
|
|
561
|
+
this.applyAllTransactions();
|
|
562
|
+
}
|
|
563
|
+
}
|
|
617
564
|
});
|
|
618
565
|
const onError = (error) => {
|
|
619
566
|
var _a;
|
|
@@ -621,7 +568,7 @@ let GridProServerSideDatasource = class GridProServerSideDatasource extends Life
|
|
|
621
568
|
this.handleErrors(((_a = error.receivedMessage) === null || _a === void 0 ? void 0 : _a.ERROR) || error.message, 'stream');
|
|
622
569
|
};
|
|
623
570
|
this.liveUpdatesStream = this.connect
|
|
624
|
-
.stream(this.resourceName, () => { }, onError, this.datasource.dataserverOnlyParams)
|
|
571
|
+
.stream(this.resourceName, () => { }, onError, existingParams !== null && existingParams !== void 0 ? existingParams : this.datasource.dataserverOnlyParams)
|
|
625
572
|
.subscribe((message) => streamOnMessage(message));
|
|
626
573
|
}
|
|
627
574
|
yield this.datasource.startStream();
|
package/dist/grid-pro.d.ts
CHANGED
|
@@ -5057,7 +5057,6 @@ export declare class GridProServerSideDatasource extends GridProServerSideDataso
|
|
|
5057
5057
|
* @internal
|
|
5058
5058
|
*/
|
|
5059
5059
|
private applyReqRepPollingUpdate;
|
|
5060
|
-
private applyLiveServerSideUpdate;
|
|
5061
5060
|
private createDataserverStream;
|
|
5062
5061
|
private getAgColumnDefs;
|
|
5063
5062
|
applyTransaction(transaction: any): any;
|
package/dist/react.cjs
CHANGED
|
@@ -121,6 +121,11 @@ const StringEditor = React.forwardRef(function StringEditor(props, ref) {
|
|
|
121
121
|
return React.createElement(customElements.getName(StringEditorWC) ?? '%%prefix%%-string-editor', { ...rest, ref }, children);
|
|
122
122
|
});
|
|
123
123
|
|
|
124
|
+
const GridProColumn = React.forwardRef(function GridProColumn(props, ref) {
|
|
125
|
+
const { children, ...rest } = props;
|
|
126
|
+
return React.createElement(customElements.getName(GridProColumnWC) ?? 'grid-pro-column', { ...rest, ref }, children);
|
|
127
|
+
});
|
|
128
|
+
|
|
124
129
|
const ActionRenderer = React.forwardRef(function ActionRenderer(props, ref) {
|
|
125
130
|
const { children, ...rest } = props;
|
|
126
131
|
return React.createElement(customElements.getName(ActionRendererWC) ?? '%%prefix%%-grid-pro-action-renderer', { ...rest, ref }, children);
|
|
@@ -161,11 +166,6 @@ const AgTextRenderer = React.forwardRef(function AgTextRenderer(props, ref) {
|
|
|
161
166
|
return React.createElement(customElements.getName(AgTextRendererWC) ?? '%%prefix%%-grid-text-renderer', { ...rest, ref }, children);
|
|
162
167
|
});
|
|
163
168
|
|
|
164
|
-
const GridProColumn = React.forwardRef(function GridProColumn(props, ref) {
|
|
165
|
-
const { children, ...rest } = props;
|
|
166
|
-
return React.createElement(customElements.getName(GridProColumnWC) ?? 'grid-pro-column', { ...rest, ref }, children);
|
|
167
|
-
});
|
|
168
|
-
|
|
169
169
|
const GridProClientSideDatasource = React.forwardRef(function GridProClientSideDatasource(props, ref) {
|
|
170
170
|
const { onBaseDatasourceError, onDatasourceError, onBaseDatasourceConnected, onDatasourceLoadingFinished, onDatasourceNoDataAvailable, onDatasourceDataChanged, onDatasourceInitialize, onDatasourceDestroy, onDatasourceDataCleared, onDatasourceSchemaUpdated, onDatasourceFiltersRestored, onDatasourceDataLoaded, onDatasourceLoadingStarted, onDatasourceMoreDataAvailable, onDatasourceReady, onDatasourceInit, onMoreRowsChanged, onDatasourceSizeChanged, children, ...rest } = props;
|
|
171
171
|
const _innerRef = React.useRef(null);
|
|
@@ -491,6 +491,7 @@ module.exports = {
|
|
|
491
491
|
NumberEditor,
|
|
492
492
|
SelectEditor,
|
|
493
493
|
StringEditor,
|
|
494
|
+
GridProColumn,
|
|
494
495
|
ActionRenderer,
|
|
495
496
|
ActionsMenuRenderer,
|
|
496
497
|
BooleanRenderer,
|
|
@@ -499,7 +500,6 @@ module.exports = {
|
|
|
499
500
|
StatusPillRenderer,
|
|
500
501
|
AgTextFieldRenderer,
|
|
501
502
|
AgTextRenderer,
|
|
502
|
-
GridProColumn,
|
|
503
503
|
GridProClientSideDatasource,
|
|
504
504
|
GridProServerSideDatasource,
|
|
505
505
|
GridProGenesisDatasource,
|
package/dist/react.mjs
CHANGED
|
@@ -119,6 +119,11 @@ export const StringEditor = React.forwardRef(function StringEditor(props, ref) {
|
|
|
119
119
|
return React.createElement(customElements.getName(StringEditorWC) ?? '%%prefix%%-string-editor', { ...rest, ref }, children);
|
|
120
120
|
});
|
|
121
121
|
|
|
122
|
+
export const GridProColumn = React.forwardRef(function GridProColumn(props, ref) {
|
|
123
|
+
const { children, ...rest } = props;
|
|
124
|
+
return React.createElement(customElements.getName(GridProColumnWC) ?? 'grid-pro-column', { ...rest, ref }, children);
|
|
125
|
+
});
|
|
126
|
+
|
|
122
127
|
export const ActionRenderer = React.forwardRef(function ActionRenderer(props, ref) {
|
|
123
128
|
const { children, ...rest } = props;
|
|
124
129
|
return React.createElement(customElements.getName(ActionRendererWC) ?? '%%prefix%%-grid-pro-action-renderer', { ...rest, ref }, children);
|
|
@@ -159,11 +164,6 @@ export const AgTextRenderer = React.forwardRef(function AgTextRenderer(props, re
|
|
|
159
164
|
return React.createElement(customElements.getName(AgTextRendererWC) ?? '%%prefix%%-grid-text-renderer', { ...rest, ref }, children);
|
|
160
165
|
});
|
|
161
166
|
|
|
162
|
-
export const GridProColumn = React.forwardRef(function GridProColumn(props, ref) {
|
|
163
|
-
const { children, ...rest } = props;
|
|
164
|
-
return React.createElement(customElements.getName(GridProColumnWC) ?? 'grid-pro-column', { ...rest, ref }, children);
|
|
165
|
-
});
|
|
166
|
-
|
|
167
167
|
export const GridProClientSideDatasource = React.forwardRef(function GridProClientSideDatasource(props, ref) {
|
|
168
168
|
const { onBaseDatasourceError, onDatasourceError, onBaseDatasourceConnected, onDatasourceLoadingFinished, onDatasourceNoDataAvailable, onDatasourceDataChanged, onDatasourceInitialize, onDatasourceDestroy, onDatasourceDataCleared, onDatasourceSchemaUpdated, onDatasourceFiltersRestored, onDatasourceDataLoaded, onDatasourceLoadingStarted, onDatasourceMoreDataAvailable, onDatasourceReady, onDatasourceInit, onMoreRowsChanged, onDatasourceSizeChanged, children, ...rest } = props;
|
|
169
169
|
const _innerRef = React.useRef(null);
|
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.465.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -40,20 +40,20 @@
|
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@genesislcap/foundation-testing": "14.
|
|
44
|
-
"@genesislcap/genx": "14.
|
|
45
|
-
"@genesislcap/rollup-builder": "14.
|
|
46
|
-
"@genesislcap/ts-builder": "14.
|
|
47
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
48
|
-
"@genesislcap/vite-builder": "14.
|
|
49
|
-
"@genesislcap/webpack-builder": "14.
|
|
43
|
+
"@genesislcap/foundation-testing": "14.465.0",
|
|
44
|
+
"@genesislcap/genx": "14.465.0",
|
|
45
|
+
"@genesislcap/rollup-builder": "14.465.0",
|
|
46
|
+
"@genesislcap/ts-builder": "14.465.0",
|
|
47
|
+
"@genesislcap/uvu-playwright-builder": "14.465.0",
|
|
48
|
+
"@genesislcap/vite-builder": "14.465.0",
|
|
49
|
+
"@genesislcap/webpack-builder": "14.465.0"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@genesislcap/foundation-comms": "14.
|
|
53
|
-
"@genesislcap/foundation-criteria": "14.
|
|
54
|
-
"@genesislcap/foundation-logger": "14.
|
|
55
|
-
"@genesislcap/foundation-ui": "14.
|
|
56
|
-
"@genesislcap/foundation-utils": "14.
|
|
52
|
+
"@genesislcap/foundation-comms": "14.465.0",
|
|
53
|
+
"@genesislcap/foundation-criteria": "14.465.0",
|
|
54
|
+
"@genesislcap/foundation-logger": "14.465.0",
|
|
55
|
+
"@genesislcap/foundation-ui": "14.465.0",
|
|
56
|
+
"@genesislcap/foundation-utils": "14.465.0",
|
|
57
57
|
"@microsoft/fast-colors": "5.3.1",
|
|
58
58
|
"@microsoft/fast-components": "2.30.6",
|
|
59
59
|
"@microsoft/fast-element": "1.14.0",
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
"require": "./dist/react.cjs"
|
|
92
92
|
}
|
|
93
93
|
},
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "34632dbdf85431c85479746f775ce4f7597a8eab"
|
|
95
95
|
}
|