@genesislcap/grid-pro 15.92.0 → 15.93.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 +6555 -6555
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts.map +1 -1
- package/dist/dts/react.d.ts +54 -54
- package/dist/esm/grid-pro-genesis-datasource/grid-pro-genesis-datasource.js +6 -1
- package/dist/react.cjs +36 -36
- package/dist/react.mjs +30 -30
- package/package.json +12 -12
|
@@ -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":"AACA,OAAO,EACL,iBAAiB,EAYlB,MAAM,+BAA+B,CAAC;AAKvC,OAAO,EAAE,qBAAqB,EAAqB,MAAM,+BAA+B,CAAC;AAwBzF;;GAEG;AACH,UAAU,eAAe;IACvB,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC;IACZ,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC;IACf,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;;;;;;;;kBAwB8B,CAAC;;;;;;;;8BA+CN,CAAC,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA2B1B,CAAC;4IAMQ,CAAC;wFAIA,CAAC;+IAUP,CAAC;2FAOV,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA0BJ,CAAJ;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"grid-pro-genesis-datasource.d.ts","sourceRoot":"","sources":["../../../src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"],"names":[],"mappings":"AACA,OAAO,EACL,iBAAiB,EAYlB,MAAM,+BAA+B,CAAC;AAKvC,OAAO,EAAE,qBAAqB,EAAqB,MAAM,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kB,IAAI,OAAO,CAAC,IAAI,CAAC;IAyBhD;;;;;;;OAOG;YACW,gBAAgB;IAsG9B,OAAO,CAAC,cAAc;IActB,OAAO,CAAC,kBAAkB;IAU1B;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;IAMzB;;;;;;;;;OASG;IACH,OAAO,CAAC,gBAAgB;IA6CxB,sFAAsF;IACtF,OAAO,CAAC,mBAAmB;IAS3B;;;;;;;OAOG;IACH,OAAO,CAAC,oBAAoB;IAO5B,OAAO,CAAC,sBAAsB;IAoE9B,OAAO,CAAC,mBAAmB;YA0Bb,eAAe;IAWtB,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;IAK9C,YAAY,CAAC,SAAS,EAAE,MAAM;IAKrC,OAAO,CAAC,iBAAiB;IAQhB,mBAAmB,CAAC,OAAO,QAAK;IAKhC,mBAAmB,CAAC,OAAO,QAAK;IAKzC;;;OAGG;IACM,mBAAmB,CAAC,OAAO,QAAK;IAKzC;;;;;OAKG;cACgB,iBAAiB,IAAI,iBAAiB;IAazD;;;;OAIG;IACH,OAAO,CAAC,kBAAkB;IAc1B;;;;OAIG;IACH,OAAO,CAAC,2BAA2B;IAQnC;;;;;;OAMG;IACM,iBAAiB,CAAC,aAAa,EAAE,MAAM,EAAE;IAqBlD;;;OAGG;IACH,OAAO,CAAC,cAAc;IAQb,QAAQ;CA2ClB"}
|
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'> &
|
|
@@ -164,51 +209,6 @@ export declare const AgTextRenderer: React.ForwardRefExoticComponent<
|
|
|
164
209
|
>;
|
|
165
210
|
export type AgTextRendererRef = AgTextRendererWC;
|
|
166
211
|
|
|
167
|
-
export declare const DateEditor: React.ForwardRefExoticComponent<
|
|
168
|
-
React.PropsWithChildren<
|
|
169
|
-
Omit<PublicOf<DateEditorWC>, 'children' | 'style'> &
|
|
170
|
-
HTMLWCProps & {
|
|
171
|
-
}
|
|
172
|
-
> & React.RefAttributes<DateEditorWC>
|
|
173
|
-
>;
|
|
174
|
-
export type DateEditorRef = DateEditorWC;
|
|
175
|
-
|
|
176
|
-
export declare const MultiselectEditor: React.ForwardRefExoticComponent<
|
|
177
|
-
React.PropsWithChildren<
|
|
178
|
-
Omit<PublicOf<MultiselectEditorWC>, 'children' | 'style'> &
|
|
179
|
-
HTMLWCProps & {
|
|
180
|
-
}
|
|
181
|
-
> & React.RefAttributes<MultiselectEditorWC>
|
|
182
|
-
>;
|
|
183
|
-
export type MultiselectEditorRef = MultiselectEditorWC;
|
|
184
|
-
|
|
185
|
-
export declare const NumberEditor: React.ForwardRefExoticComponent<
|
|
186
|
-
React.PropsWithChildren<
|
|
187
|
-
Omit<PublicOf<NumberEditorWC>, 'children' | 'style'> &
|
|
188
|
-
HTMLWCProps & {
|
|
189
|
-
}
|
|
190
|
-
> & React.RefAttributes<NumberEditorWC>
|
|
191
|
-
>;
|
|
192
|
-
export type NumberEditorRef = NumberEditorWC;
|
|
193
|
-
|
|
194
|
-
export declare const SelectEditor: React.ForwardRefExoticComponent<
|
|
195
|
-
React.PropsWithChildren<
|
|
196
|
-
Omit<PublicOf<SelectEditorWC>, 'children' | 'style'> &
|
|
197
|
-
HTMLWCProps & {
|
|
198
|
-
}
|
|
199
|
-
> & React.RefAttributes<SelectEditorWC>
|
|
200
|
-
>;
|
|
201
|
-
export type SelectEditorRef = SelectEditorWC;
|
|
202
|
-
|
|
203
|
-
export declare const StringEditor: React.ForwardRefExoticComponent<
|
|
204
|
-
React.PropsWithChildren<
|
|
205
|
-
Omit<PublicOf<StringEditorWC>, 'children' | 'style'> &
|
|
206
|
-
HTMLWCProps & {
|
|
207
|
-
}
|
|
208
|
-
> & React.RefAttributes<StringEditorWC>
|
|
209
|
-
>;
|
|
210
|
-
export type StringEditorRef = StringEditorWC;
|
|
211
|
-
|
|
212
212
|
export declare const GridProColumn: React.ForwardRefExoticComponent<
|
|
213
213
|
React.PropsWithChildren<
|
|
214
214
|
Omit<PublicOf<GridProColumnWC>, 'children' | 'style'> &
|
|
@@ -218,15 +218,6 @@ export declare const GridProColumn: React.ForwardRefExoticComponent<
|
|
|
218
218
|
>;
|
|
219
219
|
export type GridProColumnRef = GridProColumnWC;
|
|
220
220
|
|
|
221
|
-
export declare const ColumnSelection: React.ForwardRefExoticComponent<
|
|
222
|
-
React.PropsWithChildren<
|
|
223
|
-
Omit<PublicOf<ColumnSelectionWC>, 'children' | 'style'> &
|
|
224
|
-
HTMLWCProps & {
|
|
225
|
-
}
|
|
226
|
-
> & React.RefAttributes<ColumnSelectionWC>
|
|
227
|
-
>;
|
|
228
|
-
export type ColumnSelectionRef = ColumnSelectionWC;
|
|
229
|
-
|
|
230
221
|
export declare const GridProClientSideDatasource: React.ForwardRefExoticComponent<
|
|
231
222
|
React.PropsWithChildren<
|
|
232
223
|
Omit<PublicOf<GridProClientSideDatasourceWC>, 'children' | 'style'> &
|
|
@@ -307,6 +298,15 @@ export declare const GridProServerSideDatasource: React.ForwardRefExoticComponen
|
|
|
307
298
|
>;
|
|
308
299
|
export type GridProServerSideDatasourceRef = GridProServerSideDatasourceWC;
|
|
309
300
|
|
|
301
|
+
export declare const ColumnSelection: React.ForwardRefExoticComponent<
|
|
302
|
+
React.PropsWithChildren<
|
|
303
|
+
Omit<PublicOf<ColumnSelectionWC>, 'children' | 'style'> &
|
|
304
|
+
HTMLWCProps & {
|
|
305
|
+
}
|
|
306
|
+
> & React.RefAttributes<ColumnSelectionWC>
|
|
307
|
+
>;
|
|
308
|
+
export type ColumnSelectionRef = ColumnSelectionWC;
|
|
309
|
+
|
|
310
310
|
export declare const GridProGenesisDatasource: React.ForwardRefExoticComponent<
|
|
311
311
|
React.PropsWithChildren<
|
|
312
312
|
Omit<PublicOf<GridProGenesisDatasourceWC>, 'children' | 'style'> &
|
|
@@ -154,7 +154,12 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
154
154
|
return __awaiter(this, void 0, void 0, function* () {
|
|
155
155
|
this.$emit(datasourceEventNames.initialize, {
|
|
156
156
|
keepColDefsOnClearRowData,
|
|
157
|
-
options: Object.assign({ getRowId: (params) =>
|
|
157
|
+
options: Object.assign({ getRowId: (params) => {
|
|
158
|
+
if (!params.data) {
|
|
159
|
+
return null;
|
|
160
|
+
}
|
|
161
|
+
return String(params.data[this.rowId]);
|
|
162
|
+
} }, this.deferredGridOptions),
|
|
158
163
|
});
|
|
159
164
|
// TODO: instead of listening to ready event, we should only render the datasource slot when the grid is ready
|
|
160
165
|
this.clearReadyListener();
|
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);
|
|
@@ -139,41 +164,11 @@ const AgTextRenderer = React.forwardRef(function AgTextRenderer(props, ref) {
|
|
|
139
164
|
return React.createElement(customElements.getName(AgTextRendererWC) ?? '%%prefix%%-grid-text-renderer', { ...rest, ref }, children);
|
|
140
165
|
});
|
|
141
166
|
|
|
142
|
-
const DateEditor = React.forwardRef(function DateEditor(props, ref) {
|
|
143
|
-
const { children, ...rest } = props;
|
|
144
|
-
return React.createElement(customElements.getName(DateEditorWC) ?? '%%prefix%%-date-editor', { ...rest, ref }, children);
|
|
145
|
-
});
|
|
146
|
-
|
|
147
|
-
const MultiselectEditor = React.forwardRef(function MultiselectEditor(props, ref) {
|
|
148
|
-
const { children, ...rest } = props;
|
|
149
|
-
return React.createElement(customElements.getName(MultiselectEditorWC) ?? '%%prefix%%-multiselect-editor', { ...rest, ref }, children);
|
|
150
|
-
});
|
|
151
|
-
|
|
152
|
-
const NumberEditor = React.forwardRef(function NumberEditor(props, ref) {
|
|
153
|
-
const { children, ...rest } = props;
|
|
154
|
-
return React.createElement(customElements.getName(NumberEditorWC) ?? '%%prefix%%-number-editor', { ...rest, ref }, children);
|
|
155
|
-
});
|
|
156
|
-
|
|
157
|
-
const SelectEditor = React.forwardRef(function SelectEditor(props, ref) {
|
|
158
|
-
const { children, ...rest } = props;
|
|
159
|
-
return React.createElement(customElements.getName(SelectEditorWC) ?? '%%prefix%%-select-editor', { ...rest, ref }, children);
|
|
160
|
-
});
|
|
161
|
-
|
|
162
|
-
const StringEditor = React.forwardRef(function StringEditor(props, ref) {
|
|
163
|
-
const { children, ...rest } = props;
|
|
164
|
-
return React.createElement(customElements.getName(StringEditorWC) ?? '%%prefix%%-string-editor', { ...rest, ref }, children);
|
|
165
|
-
});
|
|
166
|
-
|
|
167
167
|
const GridProColumn = React.forwardRef(function GridProColumn(props, ref) {
|
|
168
168
|
const { children, ...rest } = props;
|
|
169
169
|
return React.createElement(customElements.getName(GridProColumnWC) ?? 'grid-pro-column', { ...rest, ref }, children);
|
|
170
170
|
});
|
|
171
171
|
|
|
172
|
-
const ColumnSelection = React.forwardRef(function ColumnSelection(props, ref) {
|
|
173
|
-
const { children, ...rest } = props;
|
|
174
|
-
return React.createElement(customElements.getName(ColumnSelectionWC) ?? '%%prefix%%-column-selection', { ...rest, ref }, children);
|
|
175
|
-
});
|
|
176
|
-
|
|
177
172
|
const GridProClientSideDatasource = React.forwardRef(function GridProClientSideDatasource(props, ref) {
|
|
178
173
|
const { onBaseDatasourceError, onDatasourceError, onBaseDatasourceConnected, onDatasourceLoadingFinished, onDatasourceNoDataAvailable, onDatasourceDataChanged, onDatasourceInitialize, onDatasourceDestroy, onDatasourceDataCleared, onDatasourceSchemaUpdated, onDatasourceFiltersRestored, onDatasourceDataLoaded, onDatasourceLoadingStarted, onDatasourceMoreDataAvailable, onDatasourceReady, onDatasourceInit, onMoreRowsChanged, onDatasourceSizeChanged, children, ...rest } = props;
|
|
179
174
|
const _innerRef = React.useRef(null);
|
|
@@ -475,6 +470,11 @@ const GridProServerSideDatasource = React.forwardRef(function GridProServerSideD
|
|
|
475
470
|
return React.createElement(customElements.getName(GridProServerSideDatasourceWC) ?? 'grid-pro-server-side-datasource', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
476
471
|
});
|
|
477
472
|
|
|
473
|
+
const ColumnSelection = React.forwardRef(function ColumnSelection(props, ref) {
|
|
474
|
+
const { children, ...rest } = props;
|
|
475
|
+
return React.createElement(customElements.getName(ColumnSelectionWC) ?? '%%prefix%%-column-selection', { ...rest, ref }, children);
|
|
476
|
+
});
|
|
477
|
+
|
|
478
478
|
const GridProGenesisDatasource = React.forwardRef(function GridProGenesisDatasource(props, ref) {
|
|
479
479
|
const { onBaseDatasourceError, onDatasourceError, onBaseDatasourceConnected, onDatasourceLoadingFinished, onDatasourceNoDataAvailable, onDatasourceDataChanged, onDatasourceInitialize, onDatasourceDestroy, onDatasourceDataCleared, onDatasourceSchemaUpdated, onDatasourceFiltersRestored, onDatasourceDataLoaded, onDatasourceLoadingStarted, onDatasourceMoreDataAvailable, onDatasourceReady, onDatasourceInit, onMoreRowsChanged, onDatasourceSizeChanged, children, ...rest } = props;
|
|
480
480
|
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,
|
|
@@ -599,16 +604,11 @@ module.exports = {
|
|
|
599
604
|
StatusPillRenderer,
|
|
600
605
|
AgTextFieldRenderer,
|
|
601
606
|
AgTextRenderer,
|
|
602
|
-
DateEditor,
|
|
603
|
-
MultiselectEditor,
|
|
604
|
-
NumberEditor,
|
|
605
|
-
SelectEditor,
|
|
606
|
-
StringEditor,
|
|
607
607
|
GridProColumn,
|
|
608
|
-
ColumnSelection,
|
|
609
608
|
GridProClientSideDatasource,
|
|
610
609
|
GridProInfiniteDatasource,
|
|
611
610
|
GridProServerSideDatasource,
|
|
611
|
+
ColumnSelection,
|
|
612
612
|
GridProGenesisDatasource,
|
|
613
613
|
MulticolumnDropdown,
|
|
614
614
|
GridProStatusBar,
|
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);
|
|
@@ -137,41 +162,11 @@ export const AgTextRenderer = React.forwardRef(function AgTextRenderer(props, re
|
|
|
137
162
|
return React.createElement(customElements.getName(AgTextRendererWC) ?? '%%prefix%%-grid-text-renderer', { ...rest, ref }, children);
|
|
138
163
|
});
|
|
139
164
|
|
|
140
|
-
export const DateEditor = React.forwardRef(function DateEditor(props, ref) {
|
|
141
|
-
const { children, ...rest } = props;
|
|
142
|
-
return React.createElement(customElements.getName(DateEditorWC) ?? '%%prefix%%-date-editor', { ...rest, ref }, children);
|
|
143
|
-
});
|
|
144
|
-
|
|
145
|
-
export const MultiselectEditor = React.forwardRef(function MultiselectEditor(props, ref) {
|
|
146
|
-
const { children, ...rest } = props;
|
|
147
|
-
return React.createElement(customElements.getName(MultiselectEditorWC) ?? '%%prefix%%-multiselect-editor', { ...rest, ref }, children);
|
|
148
|
-
});
|
|
149
|
-
|
|
150
|
-
export const NumberEditor = React.forwardRef(function NumberEditor(props, ref) {
|
|
151
|
-
const { children, ...rest } = props;
|
|
152
|
-
return React.createElement(customElements.getName(NumberEditorWC) ?? '%%prefix%%-number-editor', { ...rest, ref }, children);
|
|
153
|
-
});
|
|
154
|
-
|
|
155
|
-
export const SelectEditor = React.forwardRef(function SelectEditor(props, ref) {
|
|
156
|
-
const { children, ...rest } = props;
|
|
157
|
-
return React.createElement(customElements.getName(SelectEditorWC) ?? '%%prefix%%-select-editor', { ...rest, ref }, children);
|
|
158
|
-
});
|
|
159
|
-
|
|
160
|
-
export const StringEditor = React.forwardRef(function StringEditor(props, ref) {
|
|
161
|
-
const { children, ...rest } = props;
|
|
162
|
-
return React.createElement(customElements.getName(StringEditorWC) ?? '%%prefix%%-string-editor', { ...rest, ref }, children);
|
|
163
|
-
});
|
|
164
|
-
|
|
165
165
|
export const GridProColumn = React.forwardRef(function GridProColumn(props, ref) {
|
|
166
166
|
const { children, ...rest } = props;
|
|
167
167
|
return React.createElement(customElements.getName(GridProColumnWC) ?? 'grid-pro-column', { ...rest, ref }, children);
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export const ColumnSelection = React.forwardRef(function ColumnSelection(props, ref) {
|
|
171
|
-
const { children, ...rest } = props;
|
|
172
|
-
return React.createElement(customElements.getName(ColumnSelectionWC) ?? '%%prefix%%-column-selection', { ...rest, ref }, children);
|
|
173
|
-
});
|
|
174
|
-
|
|
175
170
|
export const GridProClientSideDatasource = React.forwardRef(function GridProClientSideDatasource(props, ref) {
|
|
176
171
|
const { onBaseDatasourceError, onDatasourceError, onBaseDatasourceConnected, onDatasourceLoadingFinished, onDatasourceNoDataAvailable, onDatasourceDataChanged, onDatasourceInitialize, onDatasourceDestroy, onDatasourceDataCleared, onDatasourceSchemaUpdated, onDatasourceFiltersRestored, onDatasourceDataLoaded, onDatasourceLoadingStarted, onDatasourceMoreDataAvailable, onDatasourceReady, onDatasourceInit, onMoreRowsChanged, onDatasourceSizeChanged, children, ...rest } = props;
|
|
177
172
|
const _innerRef = React.useRef(null);
|
|
@@ -473,6 +468,11 @@ export const GridProServerSideDatasource = React.forwardRef(function GridProServ
|
|
|
473
468
|
return React.createElement(customElements.getName(GridProServerSideDatasourceWC) ?? 'grid-pro-server-side-datasource', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
474
469
|
});
|
|
475
470
|
|
|
471
|
+
export const ColumnSelection = React.forwardRef(function ColumnSelection(props, ref) {
|
|
472
|
+
const { children, ...rest } = props;
|
|
473
|
+
return React.createElement(customElements.getName(ColumnSelectionWC) ?? '%%prefix%%-column-selection', { ...rest, ref }, children);
|
|
474
|
+
});
|
|
475
|
+
|
|
476
476
|
export const GridProGenesisDatasource = React.forwardRef(function GridProGenesisDatasource(props, ref) {
|
|
477
477
|
const { onBaseDatasourceError, onDatasourceError, onBaseDatasourceConnected, onDatasourceLoadingFinished, onDatasourceNoDataAvailable, onDatasourceDataChanged, onDatasourceInitialize, onDatasourceDestroy, onDatasourceDataCleared, onDatasourceSchemaUpdated, onDatasourceFiltersRestored, onDatasourceDataLoaded, onDatasourceLoadingStarted, onDatasourceMoreDataAvailable, onDatasourceReady, onDatasourceInit, onMoreRowsChanged, onDatasourceSizeChanged, children, ...rest } = props;
|
|
478
478
|
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.93.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.93.0",
|
|
42
|
+
"@genesislcap/genx": "15.93.0",
|
|
43
|
+
"@genesislcap/ts-builder": "15.93.0",
|
|
44
|
+
"@genesislcap/uvu-playwright-builder": "15.93.0",
|
|
45
|
+
"@genesislcap/vite-builder": "15.93.0",
|
|
46
|
+
"@genesislcap/webpack-builder": "15.93.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.93.0",
|
|
50
|
+
"@genesislcap/foundation-criteria": "15.93.0",
|
|
51
|
+
"@genesislcap/foundation-logger": "15.93.0",
|
|
52
|
+
"@genesislcap/foundation-ui": "15.93.0",
|
|
53
|
+
"@genesislcap/foundation-utils": "15.93.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",
|