@genesislcap/grid-pro 15.79.2 → 15.80.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 +3552 -3416
- package/dist/dts/datasource/base.datasource.d.ts +9 -10
- package/dist/dts/datasource/base.datasource.d.ts.map +1 -1
- package/dist/dts/react.d.ts +45 -45
- package/dist/esm/datasource/base.datasource.js +4 -0
- package/dist/grid-pro.api.json +31 -0
- package/dist/grid-pro.d.ts +9 -9
- package/dist/react.cjs +30 -30
- package/dist/react.mjs +25 -25
- package/package.json +12 -12
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ColDef, ColumnState, GridOptions } from '@ag-grid-community/core';
|
|
2
|
-
import { Connect, Datasource, DatasourceOptions, DatasourceStatus, FieldMetadata, FieldTypeEnum, IndexDetail } from '@genesislcap/foundation-comms';
|
|
2
|
+
import { Connect, Datasource, DatasourceOptions, DatasourceStatus, FieldMetadata, FieldTypeEnum, IndexDetail, ScdbEncoding } from '@genesislcap/foundation-comms';
|
|
3
3
|
import { JSONSerializer } from '@genesislcap/foundation-utils';
|
|
4
4
|
import { BehaviorSubject, Subscription } from 'rxjs';
|
|
5
5
|
import { type BaseDatasourceErrorEventDetail } from './base.types';
|
|
@@ -115,15 +115,7 @@ declare const GenesisGridDatasourceElement_base: new () => {
|
|
|
115
115
|
removeAttribute(qualifiedName: string): void;
|
|
116
116
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
117
117
|
removeAttributeNode(attr: Attr): Attr;
|
|
118
|
-
requestFullscreen(options
|
|
119
|
-
/**
|
|
120
|
-
* Returns whether the `row-id` attribute is the default one, depending on the resource type.
|
|
121
|
-
* @internal
|
|
122
|
-
*/
|
|
123
|
-
? /**
|
|
124
|
-
* Returns whether the `row-id` attribute is the default one, depending on the resource type.
|
|
125
|
-
* @internal
|
|
126
|
-
*/: FullscreenOptions): Promise<void>;
|
|
118
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
127
119
|
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
128
120
|
scroll(options?: ScrollToOptions): void;
|
|
129
121
|
scroll(x: number, y: number): void;
|
|
@@ -450,6 +442,13 @@ export declare class GenesisGridDatasourceElement extends GenesisGridDatasourceE
|
|
|
450
442
|
* @remarks DATASERVER only. For example, if you are using the default index, the query will return rows in order from the newest database records to the oldest. Defaults to false.
|
|
451
443
|
*/
|
|
452
444
|
reverse: boolean;
|
|
445
|
+
/**
|
|
446
|
+
* Per-grid columnar payload encoding, overriding the app-wide `ConnectConfig.connect.dataserverEncoding`.
|
|
447
|
+
* `'SCDBJ_V1'` (JSON-columnar) or `'SCDB_V1'` (binary). Negotiated + decoded transparently; the grid
|
|
448
|
+
* still receives the same row objects. Unset => use the app-wide setting (or legacy row mode).
|
|
449
|
+
* @remarks DATASERVER only.
|
|
450
|
+
*/
|
|
451
|
+
encoding: ScdbEncoding;
|
|
453
452
|
/**
|
|
454
453
|
* Disables polling if set to true (data updates for the grid will not be fetched automatically).
|
|
455
454
|
* @remarks REQUEST_SERVER only. Defaults to false.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.datasource.d.ts","sourceRoot":"","sources":["../../../src/datasource/base.datasource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAChF,OAAO,EACL,OAAO,EACP,UAAU,EAGV,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,EACb,aAAa,EACb,WAAW,
|
|
1
|
+
{"version":3,"file":"base.datasource.d.ts","sourceRoot":"","sources":["../../../src/datasource/base.datasource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAChF,OAAO,EACL,OAAO,EACP,UAAU,EAGV,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,EACb,aA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;IAazE,gBAAgB;IAChB,OAAO,CAAC,oBAAoB;IAW5B;;;;;;;;OAQG;IACH,SAAS,CAAC,kBAAkB,CAC1B,gBAAgB,EAAE,WAAW,EAAE,EAC/B,uBAAuB,EAAE,MAAM,EAAE,GAChC,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC;IAyCxB;;;;;OAKG;IACH,OAAO,CAAC,cAAc;IA6BtB,QAAQ;IAIR;;;;;;OAMG;IACH,iBAAiB,CAAC,aAAa,EAAE,MAAM,EAAE,GAAG,IAAI;IAEhD,OAAO;IAIP,kBAAkB;IAIlB,OAAO;IAIP,OAAO,CAAC,eAAe,CAAS;IAEhC;;;;OAIG;IACI,eAAe,CAAC,YAAY,EAAE,OAAO;IAY5C;;;;OAIG;IACH,SAAS,CAAC,kBAAkB;IAI5B;;OAEG;IACI,cAAc,IAAI,OAAO;IAIhC;;;OAGG;IACH,SAAS,CAAC,wBAAwB,CAAC,CAAC,EAAE,WAAW,EAAE,OAAO,GAAG,CAAC,GAAG,SAAS,GAAG;QAC3E,OAAO,EAAE,OAAO,CAAC;QACjB,MAAM,CAAC,EAAE,CAAC,CAAC;KACZ;IAaD;;;;;OAKG;IACI,4BAA4B,CAAC,gBAAgB,EAAE,OAAO,EAAE,eAAe,EAAE,GAAG,GAAG,GAAG,EAAE;CAgE5F"}
|
package/dist/dts/react.d.ts
CHANGED
|
@@ -92,6 +92,51 @@ export declare const GridProCell: React.ForwardRefExoticComponent<
|
|
|
92
92
|
>;
|
|
93
93
|
export type GridProCellRef = GridProCellWC;
|
|
94
94
|
|
|
95
|
+
export declare const DateEditor: React.ForwardRefExoticComponent<
|
|
96
|
+
React.PropsWithChildren<
|
|
97
|
+
Omit<PublicOf<DateEditorWC>, 'children' | 'style'> &
|
|
98
|
+
HTMLWCProps & {
|
|
99
|
+
}
|
|
100
|
+
> & React.RefAttributes<DateEditorWC>
|
|
101
|
+
>;
|
|
102
|
+
export type DateEditorRef = DateEditorWC;
|
|
103
|
+
|
|
104
|
+
export declare const MultiselectEditor: React.ForwardRefExoticComponent<
|
|
105
|
+
React.PropsWithChildren<
|
|
106
|
+
Omit<PublicOf<MultiselectEditorWC>, 'children' | 'style'> &
|
|
107
|
+
HTMLWCProps & {
|
|
108
|
+
}
|
|
109
|
+
> & React.RefAttributes<MultiselectEditorWC>
|
|
110
|
+
>;
|
|
111
|
+
export type MultiselectEditorRef = MultiselectEditorWC;
|
|
112
|
+
|
|
113
|
+
export declare const NumberEditor: React.ForwardRefExoticComponent<
|
|
114
|
+
React.PropsWithChildren<
|
|
115
|
+
Omit<PublicOf<NumberEditorWC>, 'children' | 'style'> &
|
|
116
|
+
HTMLWCProps & {
|
|
117
|
+
}
|
|
118
|
+
> & React.RefAttributes<NumberEditorWC>
|
|
119
|
+
>;
|
|
120
|
+
export type NumberEditorRef = NumberEditorWC;
|
|
121
|
+
|
|
122
|
+
export declare const SelectEditor: React.ForwardRefExoticComponent<
|
|
123
|
+
React.PropsWithChildren<
|
|
124
|
+
Omit<PublicOf<SelectEditorWC>, 'children' | 'style'> &
|
|
125
|
+
HTMLWCProps & {
|
|
126
|
+
}
|
|
127
|
+
> & React.RefAttributes<SelectEditorWC>
|
|
128
|
+
>;
|
|
129
|
+
export type SelectEditorRef = SelectEditorWC;
|
|
130
|
+
|
|
131
|
+
export declare const StringEditor: React.ForwardRefExoticComponent<
|
|
132
|
+
React.PropsWithChildren<
|
|
133
|
+
Omit<PublicOf<StringEditorWC>, 'children' | 'style'> &
|
|
134
|
+
HTMLWCProps & {
|
|
135
|
+
}
|
|
136
|
+
> & React.RefAttributes<StringEditorWC>
|
|
137
|
+
>;
|
|
138
|
+
export type StringEditorRef = StringEditorWC;
|
|
139
|
+
|
|
95
140
|
export declare const ActionRenderer: React.ForwardRefExoticComponent<
|
|
96
141
|
React.PropsWithChildren<
|
|
97
142
|
Omit<PublicOf<ActionRendererWC>, 'children' | 'style'> &
|
|
@@ -182,51 +227,6 @@ export declare const ColumnSelection: React.ForwardRefExoticComponent<
|
|
|
182
227
|
>;
|
|
183
228
|
export type ColumnSelectionRef = ColumnSelectionWC;
|
|
184
229
|
|
|
185
|
-
export declare const DateEditor: React.ForwardRefExoticComponent<
|
|
186
|
-
React.PropsWithChildren<
|
|
187
|
-
Omit<PublicOf<DateEditorWC>, 'children' | 'style'> &
|
|
188
|
-
HTMLWCProps & {
|
|
189
|
-
}
|
|
190
|
-
> & React.RefAttributes<DateEditorWC>
|
|
191
|
-
>;
|
|
192
|
-
export type DateEditorRef = DateEditorWC;
|
|
193
|
-
|
|
194
|
-
export declare const MultiselectEditor: React.ForwardRefExoticComponent<
|
|
195
|
-
React.PropsWithChildren<
|
|
196
|
-
Omit<PublicOf<MultiselectEditorWC>, 'children' | 'style'> &
|
|
197
|
-
HTMLWCProps & {
|
|
198
|
-
}
|
|
199
|
-
> & React.RefAttributes<MultiselectEditorWC>
|
|
200
|
-
>;
|
|
201
|
-
export type MultiselectEditorRef = MultiselectEditorWC;
|
|
202
|
-
|
|
203
|
-
export declare const NumberEditor: React.ForwardRefExoticComponent<
|
|
204
|
-
React.PropsWithChildren<
|
|
205
|
-
Omit<PublicOf<NumberEditorWC>, 'children' | 'style'> &
|
|
206
|
-
HTMLWCProps & {
|
|
207
|
-
}
|
|
208
|
-
> & React.RefAttributes<NumberEditorWC>
|
|
209
|
-
>;
|
|
210
|
-
export type NumberEditorRef = NumberEditorWC;
|
|
211
|
-
|
|
212
|
-
export declare const SelectEditor: React.ForwardRefExoticComponent<
|
|
213
|
-
React.PropsWithChildren<
|
|
214
|
-
Omit<PublicOf<SelectEditorWC>, 'children' | 'style'> &
|
|
215
|
-
HTMLWCProps & {
|
|
216
|
-
}
|
|
217
|
-
> & React.RefAttributes<SelectEditorWC>
|
|
218
|
-
>;
|
|
219
|
-
export type SelectEditorRef = SelectEditorWC;
|
|
220
|
-
|
|
221
|
-
export declare const StringEditor: React.ForwardRefExoticComponent<
|
|
222
|
-
React.PropsWithChildren<
|
|
223
|
-
Omit<PublicOf<StringEditorWC>, 'children' | 'style'> &
|
|
224
|
-
HTMLWCProps & {
|
|
225
|
-
}
|
|
226
|
-
> & React.RefAttributes<StringEditorWC>
|
|
227
|
-
>;
|
|
228
|
-
export type StringEditorRef = StringEditorWC;
|
|
229
|
-
|
|
230
230
|
export declare const GridProClientSideDatasource: React.ForwardRefExoticComponent<
|
|
231
231
|
React.PropsWithChildren<
|
|
232
232
|
Omit<PublicOf<GridProClientSideDatasourceWC>, 'children' | 'style'> &
|
|
@@ -133,6 +133,7 @@ export class GenesisGridDatasourceElement extends DatasourceEventHandler(Foundat
|
|
|
133
133
|
maxView: +this.maxView,
|
|
134
134
|
movingView: this.movingView,
|
|
135
135
|
reverse: this.reverse,
|
|
136
|
+
encoding: this.encoding,
|
|
136
137
|
// REQUEST_SERVER only
|
|
137
138
|
disablePolling: this.disablePolling,
|
|
138
139
|
offset: this.offset,
|
|
@@ -330,6 +331,9 @@ __decorate([
|
|
|
330
331
|
__decorate([
|
|
331
332
|
attr({ mode: 'boolean' })
|
|
332
333
|
], GenesisGridDatasourceElement.prototype, "reverse", void 0);
|
|
334
|
+
__decorate([
|
|
335
|
+
attr
|
|
336
|
+
], GenesisGridDatasourceElement.prototype, "encoding", void 0);
|
|
333
337
|
__decorate([
|
|
334
338
|
attr({ mode: 'boolean', attribute: 'disable-polling' })
|
|
335
339
|
], GenesisGridDatasourceElement.prototype, "disablePolling", void 0);
|
package/dist/grid-pro.api.json
CHANGED
|
@@ -13597,6 +13597,37 @@
|
|
|
13597
13597
|
"isProtected": false,
|
|
13598
13598
|
"isAbstract": false
|
|
13599
13599
|
},
|
|
13600
|
+
{
|
|
13601
|
+
"kind": "Property",
|
|
13602
|
+
"canonicalReference": "@genesislcap/grid-pro!GenesisGridDatasourceElement#encoding:member",
|
|
13603
|
+
"docComment": "/**\n * Per-grid columnar payload encoding, overriding the app-wide `ConnectConfig.connect.dataserverEncoding`. `'SCDBJ_V1'` (JSON-columnar) or `'SCDB_V1'` (binary). Negotiated + decoded transparently; the grid still receives the same row objects. Unset => use the app-wide setting (or legacy row mode).\n *\n * @remarks\n *\n * DATASERVER only.\n */\n",
|
|
13604
|
+
"excerptTokens": [
|
|
13605
|
+
{
|
|
13606
|
+
"kind": "Content",
|
|
13607
|
+
"text": "encoding: "
|
|
13608
|
+
},
|
|
13609
|
+
{
|
|
13610
|
+
"kind": "Reference",
|
|
13611
|
+
"text": "ScdbEncoding",
|
|
13612
|
+
"canonicalReference": "@genesislcap/foundation-comms!ScdbEncoding:type"
|
|
13613
|
+
},
|
|
13614
|
+
{
|
|
13615
|
+
"kind": "Content",
|
|
13616
|
+
"text": ";"
|
|
13617
|
+
}
|
|
13618
|
+
],
|
|
13619
|
+
"isReadonly": false,
|
|
13620
|
+
"isOptional": false,
|
|
13621
|
+
"releaseTag": "Public",
|
|
13622
|
+
"name": "encoding",
|
|
13623
|
+
"propertyTypeTokenRange": {
|
|
13624
|
+
"startIndex": 1,
|
|
13625
|
+
"endIndex": 2
|
|
13626
|
+
},
|
|
13627
|
+
"isStatic": false,
|
|
13628
|
+
"isProtected": false,
|
|
13629
|
+
"isAbstract": false
|
|
13630
|
+
},
|
|
13600
13631
|
{
|
|
13601
13632
|
"kind": "Property",
|
|
13602
13633
|
"canonicalReference": "@genesislcap/grid-pro!GenesisGridDatasourceElement#fields:member",
|
package/dist/grid-pro.d.ts
CHANGED
|
@@ -134,6 +134,7 @@ import { RowDragCallback as RowDragCallback_2 } from 'ag-grid-community';
|
|
|
134
134
|
import { RowDragTextFunc } from 'ag-grid-community';
|
|
135
135
|
import { RowSpanFunc } from 'ag-grid-community';
|
|
136
136
|
import { RowSpanParams } from '@ag-grid-community/core';
|
|
137
|
+
import { ScdbEncoding } from '@genesislcap/foundation-comms';
|
|
137
138
|
import { Session } from '@genesislcap/foundation-comms';
|
|
138
139
|
import { ShowValuesAs } from 'ag-grid-community';
|
|
139
140
|
import { ShowValuesAsDef } from 'ag-grid-community';
|
|
@@ -2586,6 +2587,13 @@ export declare class GenesisGridDatasourceElement extends GenesisGridDatasourceE
|
|
|
2586
2587
|
* @remarks DATASERVER only. For example, if you are using the default index, the query will return rows in order from the newest database records to the oldest. Defaults to false.
|
|
2587
2588
|
*/
|
|
2588
2589
|
reverse: boolean;
|
|
2590
|
+
/**
|
|
2591
|
+
* Per-grid columnar payload encoding, overriding the app-wide `ConnectConfig.connect.dataserverEncoding`.
|
|
2592
|
+
* `'SCDBJ_V1'` (JSON-columnar) or `'SCDB_V1'` (binary). Negotiated + decoded transparently; the grid
|
|
2593
|
+
* still receives the same row objects. Unset => use the app-wide setting (or legacy row mode).
|
|
2594
|
+
* @remarks DATASERVER only.
|
|
2595
|
+
*/
|
|
2596
|
+
encoding: ScdbEncoding;
|
|
2589
2597
|
/**
|
|
2590
2598
|
* Disables polling if set to true (data updates for the grid will not be fetched automatically).
|
|
2591
2599
|
* @remarks REQUEST_SERVER only. Defaults to false.
|
|
@@ -2776,15 +2784,7 @@ declare const GenesisGridDatasourceElement_base: new () => {
|
|
|
2776
2784
|
removeAttribute(qualifiedName: string): void;
|
|
2777
2785
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
2778
2786
|
removeAttributeNode(attr: Attr): Attr;
|
|
2779
|
-
requestFullscreen(options
|
|
2780
|
-
/**
|
|
2781
|
-
* Returns whether the `row-id` attribute is the default one, depending on the resource type.
|
|
2782
|
-
* @internal
|
|
2783
|
-
*/
|
|
2784
|
-
? /**
|
|
2785
|
-
* Returns whether the `row-id` attribute is the default one, depending on the resource type.
|
|
2786
|
-
* @internal
|
|
2787
|
-
*/: FullscreenOptions): Promise<void>;
|
|
2787
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
2788
2788
|
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
2789
2789
|
scroll(options?: ScrollToOptions): void;
|
|
2790
2790
|
scroll(x: number, y: number): void;
|
package/dist/react.cjs
CHANGED
|
@@ -99,6 +99,31 @@ const GridProCell = React.forwardRef(function GridProCell(props, ref) {
|
|
|
99
99
|
return React.createElement(customElements.getName(GridProCellWC) ?? 'grid-pro-cell', { ...rest, ref }, children);
|
|
100
100
|
});
|
|
101
101
|
|
|
102
|
+
const DateEditor = React.forwardRef(function DateEditor(props, ref) {
|
|
103
|
+
const { children, ...rest } = props;
|
|
104
|
+
return React.createElement(customElements.getName(DateEditorWC) ?? '%%prefix%%-date-editor', { ...rest, ref }, children);
|
|
105
|
+
});
|
|
106
|
+
|
|
107
|
+
const MultiselectEditor = React.forwardRef(function MultiselectEditor(props, ref) {
|
|
108
|
+
const { children, ...rest } = props;
|
|
109
|
+
return React.createElement(customElements.getName(MultiselectEditorWC) ?? '%%prefix%%-multiselect-editor', { ...rest, ref }, children);
|
|
110
|
+
});
|
|
111
|
+
|
|
112
|
+
const NumberEditor = React.forwardRef(function NumberEditor(props, ref) {
|
|
113
|
+
const { children, ...rest } = props;
|
|
114
|
+
return React.createElement(customElements.getName(NumberEditorWC) ?? '%%prefix%%-number-editor', { ...rest, ref }, children);
|
|
115
|
+
});
|
|
116
|
+
|
|
117
|
+
const SelectEditor = React.forwardRef(function SelectEditor(props, ref) {
|
|
118
|
+
const { children, ...rest } = props;
|
|
119
|
+
return React.createElement(customElements.getName(SelectEditorWC) ?? '%%prefix%%-select-editor', { ...rest, ref }, children);
|
|
120
|
+
});
|
|
121
|
+
|
|
122
|
+
const StringEditor = React.forwardRef(function StringEditor(props, ref) {
|
|
123
|
+
const { children, ...rest } = props;
|
|
124
|
+
return React.createElement(customElements.getName(StringEditorWC) ?? '%%prefix%%-string-editor', { ...rest, ref }, children);
|
|
125
|
+
});
|
|
126
|
+
|
|
102
127
|
const ActionRenderer = React.forwardRef(function ActionRenderer(props, ref) {
|
|
103
128
|
const { children, ...rest } = props;
|
|
104
129
|
return React.createElement(customElements.getName(ActionRendererWC) ?? '%%prefix%%-grid-pro-action-renderer', { ...rest, ref }, children);
|
|
@@ -149,31 +174,6 @@ const ColumnSelection = React.forwardRef(function ColumnSelection(props, ref) {
|
|
|
149
174
|
return React.createElement(customElements.getName(ColumnSelectionWC) ?? '%%prefix%%-column-selection', { ...rest, ref }, children);
|
|
150
175
|
});
|
|
151
176
|
|
|
152
|
-
const DateEditor = React.forwardRef(function DateEditor(props, ref) {
|
|
153
|
-
const { children, ...rest } = props;
|
|
154
|
-
return React.createElement(customElements.getName(DateEditorWC) ?? '%%prefix%%-date-editor', { ...rest, ref }, children);
|
|
155
|
-
});
|
|
156
|
-
|
|
157
|
-
const MultiselectEditor = React.forwardRef(function MultiselectEditor(props, ref) {
|
|
158
|
-
const { children, ...rest } = props;
|
|
159
|
-
return React.createElement(customElements.getName(MultiselectEditorWC) ?? '%%prefix%%-multiselect-editor', { ...rest, ref }, children);
|
|
160
|
-
});
|
|
161
|
-
|
|
162
|
-
const NumberEditor = React.forwardRef(function NumberEditor(props, ref) {
|
|
163
|
-
const { children, ...rest } = props;
|
|
164
|
-
return React.createElement(customElements.getName(NumberEditorWC) ?? '%%prefix%%-number-editor', { ...rest, ref }, children);
|
|
165
|
-
});
|
|
166
|
-
|
|
167
|
-
const SelectEditor = React.forwardRef(function SelectEditor(props, ref) {
|
|
168
|
-
const { children, ...rest } = props;
|
|
169
|
-
return React.createElement(customElements.getName(SelectEditorWC) ?? '%%prefix%%-select-editor', { ...rest, ref }, children);
|
|
170
|
-
});
|
|
171
|
-
|
|
172
|
-
const StringEditor = React.forwardRef(function StringEditor(props, ref) {
|
|
173
|
-
const { children, ...rest } = props;
|
|
174
|
-
return React.createElement(customElements.getName(StringEditorWC) ?? '%%prefix%%-string-editor', { ...rest, ref }, children);
|
|
175
|
-
});
|
|
176
|
-
|
|
177
177
|
const GridProClientSideDatasource = React.forwardRef(function GridProClientSideDatasource(props, ref) {
|
|
178
178
|
const { onBaseDatasourceError, onDatasourceError, onBaseDatasourceConnected, onDatasourceLoadingFinished, onDatasourceNoDataAvailable, onDatasourceDataChanged, onDatasourceInitialize, onDatasourceDestroy, onDatasourceDataCleared, onDatasourceSchemaUpdated, onDatasourceFiltersRestored, onDatasourceDataLoaded, onDatasourceLoadingStarted, onDatasourceMoreDataAvailable, onDatasourceReady, onDatasourceInit, onMoreRowsChanged, onDatasourceSizeChanged, children, ...rest } = props;
|
|
179
179
|
const _innerRef = React.useRef(null);
|
|
@@ -591,6 +591,11 @@ module.exports = {
|
|
|
591
591
|
GridProLegacy,
|
|
592
592
|
GridPro,
|
|
593
593
|
GridProCell,
|
|
594
|
+
DateEditor,
|
|
595
|
+
MultiselectEditor,
|
|
596
|
+
NumberEditor,
|
|
597
|
+
SelectEditor,
|
|
598
|
+
StringEditor,
|
|
594
599
|
ActionRenderer,
|
|
595
600
|
ActionsMenuRenderer,
|
|
596
601
|
BooleanRenderer,
|
|
@@ -601,11 +606,6 @@ module.exports = {
|
|
|
601
606
|
AgTextRenderer,
|
|
602
607
|
GridProColumn,
|
|
603
608
|
ColumnSelection,
|
|
604
|
-
DateEditor,
|
|
605
|
-
MultiselectEditor,
|
|
606
|
-
NumberEditor,
|
|
607
|
-
SelectEditor,
|
|
608
|
-
StringEditor,
|
|
609
609
|
GridProClientSideDatasource,
|
|
610
610
|
GridProInfiniteDatasource,
|
|
611
611
|
GridProServerSideDatasource,
|
package/dist/react.mjs
CHANGED
|
@@ -97,6 +97,31 @@ export const GridProCell = React.forwardRef(function GridProCell(props, ref) {
|
|
|
97
97
|
return React.createElement(customElements.getName(GridProCellWC) ?? 'grid-pro-cell', { ...rest, ref }, children);
|
|
98
98
|
});
|
|
99
99
|
|
|
100
|
+
export const DateEditor = React.forwardRef(function DateEditor(props, ref) {
|
|
101
|
+
const { children, ...rest } = props;
|
|
102
|
+
return React.createElement(customElements.getName(DateEditorWC) ?? '%%prefix%%-date-editor', { ...rest, ref }, children);
|
|
103
|
+
});
|
|
104
|
+
|
|
105
|
+
export const MultiselectEditor = React.forwardRef(function MultiselectEditor(props, ref) {
|
|
106
|
+
const { children, ...rest } = props;
|
|
107
|
+
return React.createElement(customElements.getName(MultiselectEditorWC) ?? '%%prefix%%-multiselect-editor', { ...rest, ref }, children);
|
|
108
|
+
});
|
|
109
|
+
|
|
110
|
+
export const NumberEditor = React.forwardRef(function NumberEditor(props, ref) {
|
|
111
|
+
const { children, ...rest } = props;
|
|
112
|
+
return React.createElement(customElements.getName(NumberEditorWC) ?? '%%prefix%%-number-editor', { ...rest, ref }, children);
|
|
113
|
+
});
|
|
114
|
+
|
|
115
|
+
export const SelectEditor = React.forwardRef(function SelectEditor(props, ref) {
|
|
116
|
+
const { children, ...rest } = props;
|
|
117
|
+
return React.createElement(customElements.getName(SelectEditorWC) ?? '%%prefix%%-select-editor', { ...rest, ref }, children);
|
|
118
|
+
});
|
|
119
|
+
|
|
120
|
+
export const StringEditor = React.forwardRef(function StringEditor(props, ref) {
|
|
121
|
+
const { children, ...rest } = props;
|
|
122
|
+
return React.createElement(customElements.getName(StringEditorWC) ?? '%%prefix%%-string-editor', { ...rest, ref }, children);
|
|
123
|
+
});
|
|
124
|
+
|
|
100
125
|
export const ActionRenderer = React.forwardRef(function ActionRenderer(props, ref) {
|
|
101
126
|
const { children, ...rest } = props;
|
|
102
127
|
return React.createElement(customElements.getName(ActionRendererWC) ?? '%%prefix%%-grid-pro-action-renderer', { ...rest, ref }, children);
|
|
@@ -147,31 +172,6 @@ export const ColumnSelection = React.forwardRef(function ColumnSelection(props,
|
|
|
147
172
|
return React.createElement(customElements.getName(ColumnSelectionWC) ?? '%%prefix%%-column-selection', { ...rest, ref }, children);
|
|
148
173
|
});
|
|
149
174
|
|
|
150
|
-
export const DateEditor = React.forwardRef(function DateEditor(props, ref) {
|
|
151
|
-
const { children, ...rest } = props;
|
|
152
|
-
return React.createElement(customElements.getName(DateEditorWC) ?? '%%prefix%%-date-editor', { ...rest, ref }, children);
|
|
153
|
-
});
|
|
154
|
-
|
|
155
|
-
export const MultiselectEditor = React.forwardRef(function MultiselectEditor(props, ref) {
|
|
156
|
-
const { children, ...rest } = props;
|
|
157
|
-
return React.createElement(customElements.getName(MultiselectEditorWC) ?? '%%prefix%%-multiselect-editor', { ...rest, ref }, children);
|
|
158
|
-
});
|
|
159
|
-
|
|
160
|
-
export const NumberEditor = React.forwardRef(function NumberEditor(props, ref) {
|
|
161
|
-
const { children, ...rest } = props;
|
|
162
|
-
return React.createElement(customElements.getName(NumberEditorWC) ?? '%%prefix%%-number-editor', { ...rest, ref }, children);
|
|
163
|
-
});
|
|
164
|
-
|
|
165
|
-
export const SelectEditor = React.forwardRef(function SelectEditor(props, ref) {
|
|
166
|
-
const { children, ...rest } = props;
|
|
167
|
-
return React.createElement(customElements.getName(SelectEditorWC) ?? '%%prefix%%-select-editor', { ...rest, ref }, children);
|
|
168
|
-
});
|
|
169
|
-
|
|
170
|
-
export const StringEditor = React.forwardRef(function StringEditor(props, ref) {
|
|
171
|
-
const { children, ...rest } = props;
|
|
172
|
-
return React.createElement(customElements.getName(StringEditorWC) ?? '%%prefix%%-string-editor', { ...rest, ref }, children);
|
|
173
|
-
});
|
|
174
|
-
|
|
175
175
|
export const GridProClientSideDatasource = React.forwardRef(function GridProClientSideDatasource(props, ref) {
|
|
176
176
|
const { onBaseDatasourceError, onDatasourceError, onBaseDatasourceConnected, onDatasourceLoadingFinished, onDatasourceNoDataAvailable, onDatasourceDataChanged, onDatasourceInitialize, onDatasourceDestroy, onDatasourceDataCleared, onDatasourceSchemaUpdated, onDatasourceFiltersRestored, onDatasourceDataLoaded, onDatasourceLoadingStarted, onDatasourceMoreDataAvailable, onDatasourceReady, onDatasourceInit, onMoreRowsChanged, onDatasourceSizeChanged, children, ...rest } = props;
|
|
177
177
|
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": "15.
|
|
4
|
+
"version": "15.80.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -38,19 +38,19 @@
|
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@genesislcap/foundation-testing": "15.
|
|
42
|
-
"@genesislcap/genx": "15.
|
|
43
|
-
"@genesislcap/ts-builder": "15.
|
|
44
|
-
"@genesislcap/uvu-playwright-builder": "15.
|
|
45
|
-
"@genesislcap/vite-builder": "15.
|
|
46
|
-
"@genesislcap/webpack-builder": "15.
|
|
41
|
+
"@genesislcap/foundation-testing": "15.80.0",
|
|
42
|
+
"@genesislcap/genx": "15.80.0",
|
|
43
|
+
"@genesislcap/ts-builder": "15.80.0",
|
|
44
|
+
"@genesislcap/uvu-playwright-builder": "15.80.0",
|
|
45
|
+
"@genesislcap/vite-builder": "15.80.0",
|
|
46
|
+
"@genesislcap/webpack-builder": "15.80.0"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@genesislcap/foundation-comms": "15.
|
|
50
|
-
"@genesislcap/foundation-criteria": "15.
|
|
51
|
-
"@genesislcap/foundation-logger": "15.
|
|
52
|
-
"@genesislcap/foundation-ui": "15.
|
|
53
|
-
"@genesislcap/foundation-utils": "15.
|
|
49
|
+
"@genesislcap/foundation-comms": "15.80.0",
|
|
50
|
+
"@genesislcap/foundation-criteria": "15.80.0",
|
|
51
|
+
"@genesislcap/foundation-logger": "15.80.0",
|
|
52
|
+
"@genesislcap/foundation-ui": "15.80.0",
|
|
53
|
+
"@genesislcap/foundation-utils": "15.80.0",
|
|
54
54
|
"@microsoft/fast-colors": "5.3.1",
|
|
55
55
|
"@microsoft/fast-components": "2.30.6",
|
|
56
56
|
"@microsoft/fast-element": "1.14.0",
|