@genesislcap/pbc-reporting-ui 15.50.1 → 15.50.3

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.
@@ -93,14 +93,14 @@ export declare const RapidReporting: React.ForwardRefExoticComponent<
93
93
  >;
94
94
  export type RapidReportingRef = RapidReportingWC;
95
95
 
96
- export declare const ZeroReporting: React.ForwardRefExoticComponent<
96
+ export declare const NotPermitted: React.ForwardRefExoticComponent<
97
97
  React.PropsWithChildren<
98
- Omit<PublicOf<ZeroReportingWC>, 'children' | 'style'> &
98
+ Omit<PublicOf<NotPermittedWC>, 'children' | 'style'> &
99
99
  HTMLWCProps & {
100
100
  }
101
- > & React.RefAttributes<ZeroReportingWC>
101
+ > & React.RefAttributes<NotPermittedWC>
102
102
  >;
103
- export type ZeroReportingRef = ZeroReportingWC;
103
+ export type NotPermittedRef = NotPermittedWC;
104
104
 
105
105
  export declare const FoundationReporting: React.ForwardRefExoticComponent<
106
106
  React.PropsWithChildren<
@@ -120,52 +120,14 @@ export declare const RapidReporting: React.ForwardRefExoticComponent<
120
120
  >;
121
121
  export type RapidReportingRef = RapidReportingWC;
122
122
 
123
- export declare const NotPermitted: React.ForwardRefExoticComponent<
124
- React.PropsWithChildren<
125
- Omit<PublicOf<NotPermittedWC>, 'children' | 'style'> &
126
- HTMLWCProps & {
127
- }
128
- > & React.RefAttributes<NotPermittedWC>
129
- >;
130
- export type NotPermittedRef = NotPermittedWC;
131
-
132
- export declare const FilterValueRenderer: React.ForwardRefExoticComponent<
133
- React.PropsWithChildren<
134
- Omit<PublicOf<FilterValueRendererWC>, 'children' | 'style'> &
135
- HTMLWCProps & {
136
- }
137
- > & React.RefAttributes<FilterValueRendererWC>
138
- >;
139
- export type FilterValueRendererRef = FilterValueRendererWC;
140
-
141
- export declare const RowSelectRenderer: React.ForwardRefExoticComponent<
142
- React.PropsWithChildren<
143
- Omit<PublicOf<RowSelectRendererWC>, 'children' | 'style'> &
144
- HTMLWCProps & {
145
- }
146
- > & React.RefAttributes<RowSelectRendererWC>
147
- >;
148
- export type RowSelectRendererRef = RowSelectRendererWC;
149
-
150
- export declare const SelectFields: React.ForwardRefExoticComponent<
151
- React.PropsWithChildren<
152
- Omit<PublicOf<SelectFieldsWC>, 'children' | 'style'> &
153
- HTMLWCProps & {
154
- onSetSelectedFields?: (event: CustomEvent<SelectedFieldsEventDetail>) => void;
155
- }
156
- > & React.RefAttributes<SelectFieldsWC>
157
- >;
158
- export type SelectFieldsRef = SelectFieldsWC;
159
-
160
- export declare const SelectFilters: React.ForwardRefExoticComponent<
123
+ export declare const ZeroReporting: React.ForwardRefExoticComponent<
161
124
  React.PropsWithChildren<
162
- Omit<PublicOf<SelectFiltersWC>, 'children' | 'style'> &
125
+ Omit<PublicOf<ZeroReportingWC>, 'children' | 'style'> &
163
126
  HTMLWCProps & {
164
- onSetSelectedFilters?: (event: CustomEvent<SelectedFiltersEventDetail>) => void;
165
127
  }
166
- > & React.RefAttributes<SelectFiltersWC>
128
+ > & React.RefAttributes<ZeroReportingWC>
167
129
  >;
168
- export type SelectFiltersRef = SelectFiltersWC;
130
+ export type ZeroReportingRef = ZeroReportingWC;
169
131
 
170
132
  export declare const CloneReportConfigModal: React.ForwardRefExoticComponent<
171
133
  React.PropsWithChildren<
@@ -224,23 +186,43 @@ export declare const ReportDestinations: React.ForwardRefExoticComponent<
224
186
  >;
225
187
  export type ReportDestinationsRef = ReportDestinationsWC;
226
188
 
227
- export declare const ColFiltersGrid: React.ForwardRefExoticComponent<
189
+ export declare const FilterValueRenderer: React.ForwardRefExoticComponent<
228
190
  React.PropsWithChildren<
229
- Omit<PublicOf<ColFiltersGridWC>, 'children' | 'style'> &
191
+ Omit<PublicOf<FilterValueRendererWC>, 'children' | 'style'> &
230
192
  HTMLWCProps & {
231
193
  }
232
- > & React.RefAttributes<ColFiltersGridWC>
194
+ > & React.RefAttributes<FilterValueRendererWC>
233
195
  >;
234
- export type ColFiltersGridRef = ColFiltersGridWC;
196
+ export type FilterValueRendererRef = FilterValueRendererWC;
235
197
 
236
- export declare const ColFiltersTutorial: React.ForwardRefExoticComponent<
198
+ export declare const RowSelectRenderer: React.ForwardRefExoticComponent<
237
199
  React.PropsWithChildren<
238
- Omit<PublicOf<ColFiltersTutorialWC>, 'children' | 'style'> &
200
+ Omit<PublicOf<RowSelectRendererWC>, 'children' | 'style'> &
239
201
  HTMLWCProps & {
240
202
  }
241
- > & React.RefAttributes<ColFiltersTutorialWC>
203
+ > & React.RefAttributes<RowSelectRendererWC>
242
204
  >;
243
- export type ColFiltersTutorialRef = ColFiltersTutorialWC;
205
+ export type RowSelectRendererRef = RowSelectRendererWC;
206
+
207
+ export declare const SelectFields: React.ForwardRefExoticComponent<
208
+ React.PropsWithChildren<
209
+ Omit<PublicOf<SelectFieldsWC>, 'children' | 'style'> &
210
+ HTMLWCProps & {
211
+ onSetSelectedFields?: (event: CustomEvent<SelectedFieldsEventDetail>) => void;
212
+ }
213
+ > & React.RefAttributes<SelectFieldsWC>
214
+ >;
215
+ export type SelectFieldsRef = SelectFieldsWC;
216
+
217
+ export declare const SelectFilters: React.ForwardRefExoticComponent<
218
+ React.PropsWithChildren<
219
+ Omit<PublicOf<SelectFiltersWC>, 'children' | 'style'> &
220
+ HTMLWCProps & {
221
+ onSetSelectedFilters?: (event: CustomEvent<SelectedFiltersEventDetail>) => void;
222
+ }
223
+ > & React.RefAttributes<SelectFiltersWC>
224
+ >;
225
+ export type SelectFiltersRef = SelectFiltersWC;
244
226
 
245
227
  export declare const BaseConfig: React.ForwardRefExoticComponent<
246
228
  React.PropsWithChildren<
@@ -251,6 +233,24 @@ export declare const BaseConfig: React.ForwardRefExoticComponent<
251
233
  >;
252
234
  export type BaseConfigRef = BaseConfigWC;
253
235
 
236
+ export declare const ColFiltersGrid: React.ForwardRefExoticComponent<
237
+ React.PropsWithChildren<
238
+ Omit<PublicOf<ColFiltersGridWC>, 'children' | 'style'> &
239
+ HTMLWCProps & {
240
+ }
241
+ > & React.RefAttributes<ColFiltersGridWC>
242
+ >;
243
+ export type ColFiltersGridRef = ColFiltersGridWC;
244
+
245
+ export declare const ColFiltersTutorial: React.ForwardRefExoticComponent<
246
+ React.PropsWithChildren<
247
+ Omit<PublicOf<ColFiltersTutorialWC>, 'children' | 'style'> &
248
+ HTMLWCProps & {
249
+ }
250
+ > & React.RefAttributes<ColFiltersTutorialWC>
251
+ >;
252
+ export type ColFiltersTutorialRef = ColFiltersTutorialWC;
253
+
254
254
  export declare const ColRenamesAliases: React.ForwardRefExoticComponent<
255
255
  React.PropsWithChildren<
256
256
  Omit<PublicOf<ColRenamesAliasesWC>, 'children' | 'style'> &
package/dist/react.cjs CHANGED
@@ -54,76 +54,32 @@ const ReportingSandbox = React.forwardRef(function ReportingSandbox(props, ref)
54
54
 
55
55
  const FoundationReporting = React.forwardRef(function FoundationReporting(props, ref) {
56
56
  const { children, ...rest } = props;
57
- return React.createElement(customElements.getName(FoundationReportingWC) ?? 'foundation-reporting-legacy', { ...rest, ref }, children);
57
+ return React.createElement(customElements.getName(FoundationReportingWC) ?? 'foundation-reporting', { ...rest, ref }, children);
58
58
  });
59
59
 
60
60
  const RapidReporting = React.forwardRef(function RapidReporting(props, ref) {
61
61
  const { children, ...rest } = props;
62
- return React.createElement(customElements.getName(RapidReportingWC) ?? 'rapid-reporting-legacy', { ...rest, ref }, children);
62
+ return React.createElement(customElements.getName(RapidReportingWC) ?? 'rapid-reporting', { ...rest, ref }, children);
63
63
  });
64
64
 
65
- const ZeroReporting = React.forwardRef(function ZeroReporting(props, ref) {
65
+ const NotPermitted = React.forwardRef(function NotPermitted(props, ref) {
66
66
  const { children, ...rest } = props;
67
- return React.createElement(customElements.getName(ZeroReportingWC) ?? 'zero-reporting-legacy', { ...rest, ref }, children);
67
+ return React.createElement(customElements.getName(NotPermittedWC) ?? 'not-permitted', { ...rest, ref }, children);
68
68
  });
69
69
 
70
70
  const FoundationReporting = React.forwardRef(function FoundationReporting(props, ref) {
71
71
  const { children, ...rest } = props;
72
- return React.createElement(customElements.getName(FoundationReportingWC) ?? 'foundation-reporting-legacy', { ...rest, ref }, children);
72
+ return React.createElement(customElements.getName(FoundationReportingWC) ?? 'foundation-reporting', { ...rest, ref }, children);
73
73
  });
74
74
 
75
75
  const RapidReporting = React.forwardRef(function RapidReporting(props, ref) {
76
76
  const { children, ...rest } = props;
77
- return React.createElement(customElements.getName(RapidReportingWC) ?? 'rapid-reporting-legacy', { ...rest, ref }, children);
77
+ return React.createElement(customElements.getName(RapidReportingWC) ?? 'rapid-reporting', { ...rest, ref }, children);
78
78
  });
79
79
 
80
- const NotPermitted = React.forwardRef(function NotPermitted(props, ref) {
81
- const { children, ...rest } = props;
82
- return React.createElement(customElements.getName(NotPermittedWC) ?? 'not-permitted', { ...rest, ref }, children);
83
- });
84
-
85
- const FilterValueRenderer = React.forwardRef(function FilterValueRenderer(props, ref) {
86
- const { children, ...rest } = props;
87
- return React.createElement(customElements.getName(FilterValueRendererWC) ?? '%%prefix%%-filter-value-renderer', { ...rest, ref }, children);
88
- });
89
-
90
- const RowSelectRenderer = React.forwardRef(function RowSelectRenderer(props, ref) {
80
+ const ZeroReporting = React.forwardRef(function ZeroReporting(props, ref) {
91
81
  const { children, ...rest } = props;
92
- return React.createElement(customElements.getName(RowSelectRendererWC) ?? '%%prefix%%-row-select-renderer', { ...rest, ref }, children);
93
- });
94
-
95
- const SelectFields = React.forwardRef(function SelectFields(props, ref) {
96
- const { onSetSelectedFields, children, ...rest } = props;
97
- const _innerRef = React.useRef(null);
98
- const _onSetSelectedFieldsRef = React.useRef(onSetSelectedFields);
99
- _onSetSelectedFieldsRef.current = onSetSelectedFields;
100
- React.useLayoutEffect(() => {
101
- const el = _innerRef.current;
102
- if (!el) return;
103
- const _onSetSelectedFieldsFn = (e) => _onSetSelectedFieldsRef.current?.(e);
104
- el.addEventListener('setSelectedFields', _onSetSelectedFieldsFn);
105
- return () => {
106
- el.removeEventListener('setSelectedFields', _onSetSelectedFieldsFn);
107
- };
108
- }, []);
109
- return React.createElement(customElements.getName(SelectFieldsWC) ?? 'reporting-select-fields', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
110
- });
111
-
112
- const SelectFilters = React.forwardRef(function SelectFilters(props, ref) {
113
- const { onSetSelectedFilters, children, ...rest } = props;
114
- const _innerRef = React.useRef(null);
115
- const _onSetSelectedFiltersRef = React.useRef(onSetSelectedFilters);
116
- _onSetSelectedFiltersRef.current = onSetSelectedFilters;
117
- React.useLayoutEffect(() => {
118
- const el = _innerRef.current;
119
- if (!el) return;
120
- const _onSetSelectedFiltersFn = (e) => _onSetSelectedFiltersRef.current?.(e);
121
- el.addEventListener('setSelectedFilters', _onSetSelectedFiltersFn);
122
- return () => {
123
- el.removeEventListener('setSelectedFilters', _onSetSelectedFiltersFn);
124
- };
125
- }, []);
126
- return React.createElement(customElements.getName(SelectFiltersWC) ?? 'reporting-select-filters', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
82
+ return React.createElement(customElements.getName(ZeroReportingWC) ?? 'zero-reporting-legacy', { ...rest, ref }, children);
127
83
  });
128
84
 
129
85
  const CloneReportConfigModal = React.forwardRef(function CloneReportConfigModal(props, ref) {
@@ -185,14 +141,48 @@ const ReportDestinations = React.forwardRef(function ReportDestinations(props, r
185
141
  return React.createElement(customElements.getName(ReportDestinationsWC) ?? 'report-destinations', { ...rest, ref }, children);
186
142
  });
187
143
 
188
- const ColFiltersGrid = React.forwardRef(function ColFiltersGrid(props, ref) {
144
+ const FilterValueRenderer = React.forwardRef(function FilterValueRenderer(props, ref) {
189
145
  const { children, ...rest } = props;
190
- return React.createElement(customElements.getName(ColFiltersGridWC) ?? 'col-filters', { ...rest, ref }, children);
146
+ return React.createElement(customElements.getName(FilterValueRendererWC) ?? '%%prefix%%-filter-value-renderer', { ...rest, ref }, children);
191
147
  });
192
148
 
193
- const ColFiltersTutorial = React.forwardRef(function ColFiltersTutorial(props, ref) {
149
+ const RowSelectRenderer = React.forwardRef(function RowSelectRenderer(props, ref) {
194
150
  const { children, ...rest } = props;
195
- return React.createElement(customElements.getName(ColFiltersTutorialWC) ?? 'col-filters-tutorial', { ...rest, ref }, children);
151
+ return React.createElement(customElements.getName(RowSelectRendererWC) ?? '%%prefix%%-row-select-renderer', { ...rest, ref }, children);
152
+ });
153
+
154
+ const SelectFields = React.forwardRef(function SelectFields(props, ref) {
155
+ const { onSetSelectedFields, children, ...rest } = props;
156
+ const _innerRef = React.useRef(null);
157
+ const _onSetSelectedFieldsRef = React.useRef(onSetSelectedFields);
158
+ _onSetSelectedFieldsRef.current = onSetSelectedFields;
159
+ React.useLayoutEffect(() => {
160
+ const el = _innerRef.current;
161
+ if (!el) return;
162
+ const _onSetSelectedFieldsFn = (e) => _onSetSelectedFieldsRef.current?.(e);
163
+ el.addEventListener('setSelectedFields', _onSetSelectedFieldsFn);
164
+ return () => {
165
+ el.removeEventListener('setSelectedFields', _onSetSelectedFieldsFn);
166
+ };
167
+ }, []);
168
+ return React.createElement(customElements.getName(SelectFieldsWC) ?? 'reporting-select-fields', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
169
+ });
170
+
171
+ const SelectFilters = React.forwardRef(function SelectFilters(props, ref) {
172
+ const { onSetSelectedFilters, children, ...rest } = props;
173
+ const _innerRef = React.useRef(null);
174
+ const _onSetSelectedFiltersRef = React.useRef(onSetSelectedFilters);
175
+ _onSetSelectedFiltersRef.current = onSetSelectedFilters;
176
+ React.useLayoutEffect(() => {
177
+ const el = _innerRef.current;
178
+ if (!el) return;
179
+ const _onSetSelectedFiltersFn = (e) => _onSetSelectedFiltersRef.current?.(e);
180
+ el.addEventListener('setSelectedFilters', _onSetSelectedFiltersFn);
181
+ return () => {
182
+ el.removeEventListener('setSelectedFilters', _onSetSelectedFiltersFn);
183
+ };
184
+ }, []);
185
+ return React.createElement(customElements.getName(SelectFiltersWC) ?? 'reporting-select-filters', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
196
186
  });
197
187
 
198
188
  const BaseConfig = React.forwardRef(function BaseConfig(props, ref) {
@@ -200,6 +190,16 @@ const BaseConfig = React.forwardRef(function BaseConfig(props, ref) {
200
190
  return React.createElement(customElements.getName(BaseConfigWC) ?? 'base-config', { ...rest, ref }, children);
201
191
  });
202
192
 
193
+ const ColFiltersGrid = React.forwardRef(function ColFiltersGrid(props, ref) {
194
+ const { children, ...rest } = props;
195
+ return React.createElement(customElements.getName(ColFiltersGridWC) ?? 'col-filters', { ...rest, ref }, children);
196
+ });
197
+
198
+ const ColFiltersTutorial = React.forwardRef(function ColFiltersTutorial(props, ref) {
199
+ const { children, ...rest } = props;
200
+ return React.createElement(customElements.getName(ColFiltersTutorialWC) ?? 'col-filters-tutorial', { ...rest, ref }, children);
201
+ });
202
+
203
203
  const ColRenamesAliases = React.forwardRef(function ColRenamesAliases(props, ref) {
204
204
  const { children, ...rest } = props;
205
205
  return React.createElement(customElements.getName(ColRenamesAliasesWC) ?? 'col-rename-alias', { ...rest, ref }, children);
@@ -298,23 +298,23 @@ module.exports = {
298
298
  ReportingSandbox,
299
299
  FoundationReporting,
300
300
  RapidReporting,
301
- ZeroReporting,
301
+ NotPermitted,
302
302
  FoundationReporting,
303
303
  RapidReporting,
304
- NotPermitted,
305
- FilterValueRenderer,
306
- RowSelectRenderer,
307
- SelectFields,
308
- SelectFilters,
304
+ ZeroReporting,
309
305
  CloneReportConfigModal,
310
306
  DataTransformRenderer,
311
307
  ReportingConfigurations,
312
308
  ConfigJourneyOrchestrator,
313
309
  GeneratedReports,
314
310
  ReportDestinations,
311
+ FilterValueRenderer,
312
+ RowSelectRenderer,
313
+ SelectFields,
314
+ SelectFilters,
315
+ BaseConfig,
315
316
  ColFiltersGrid,
316
317
  ColFiltersTutorial,
317
- BaseConfig,
318
318
  ColRenamesAliases,
319
319
  ColRenamesAliasesTutorial,
320
320
  DataTransformsTutorial,
package/dist/react.mjs CHANGED
@@ -52,76 +52,32 @@ export const ReportingSandbox = React.forwardRef(function ReportingSandbox(props
52
52
 
53
53
  export const FoundationReporting = React.forwardRef(function FoundationReporting(props, ref) {
54
54
  const { children, ...rest } = props;
55
- return React.createElement(customElements.getName(FoundationReportingWC) ?? 'foundation-reporting-legacy', { ...rest, ref }, children);
55
+ return React.createElement(customElements.getName(FoundationReportingWC) ?? 'foundation-reporting', { ...rest, ref }, children);
56
56
  });
57
57
 
58
58
  export const RapidReporting = React.forwardRef(function RapidReporting(props, ref) {
59
59
  const { children, ...rest } = props;
60
- return React.createElement(customElements.getName(RapidReportingWC) ?? 'rapid-reporting-legacy', { ...rest, ref }, children);
60
+ return React.createElement(customElements.getName(RapidReportingWC) ?? 'rapid-reporting', { ...rest, ref }, children);
61
61
  });
62
62
 
63
- export const ZeroReporting = React.forwardRef(function ZeroReporting(props, ref) {
63
+ export const NotPermitted = React.forwardRef(function NotPermitted(props, ref) {
64
64
  const { children, ...rest } = props;
65
- return React.createElement(customElements.getName(ZeroReportingWC) ?? 'zero-reporting-legacy', { ...rest, ref }, children);
65
+ return React.createElement(customElements.getName(NotPermittedWC) ?? 'not-permitted', { ...rest, ref }, children);
66
66
  });
67
67
 
68
68
  export const FoundationReporting = React.forwardRef(function FoundationReporting(props, ref) {
69
69
  const { children, ...rest } = props;
70
- return React.createElement(customElements.getName(FoundationReportingWC) ?? 'foundation-reporting-legacy', { ...rest, ref }, children);
70
+ return React.createElement(customElements.getName(FoundationReportingWC) ?? 'foundation-reporting', { ...rest, ref }, children);
71
71
  });
72
72
 
73
73
  export const RapidReporting = React.forwardRef(function RapidReporting(props, ref) {
74
74
  const { children, ...rest } = props;
75
- return React.createElement(customElements.getName(RapidReportingWC) ?? 'rapid-reporting-legacy', { ...rest, ref }, children);
76
- });
77
-
78
- export const NotPermitted = React.forwardRef(function NotPermitted(props, ref) {
79
- const { children, ...rest } = props;
80
- return React.createElement(customElements.getName(NotPermittedWC) ?? 'not-permitted', { ...rest, ref }, children);
81
- });
82
-
83
- export const FilterValueRenderer = React.forwardRef(function FilterValueRenderer(props, ref) {
84
- const { children, ...rest } = props;
85
- return React.createElement(customElements.getName(FilterValueRendererWC) ?? '%%prefix%%-filter-value-renderer', { ...rest, ref }, children);
75
+ return React.createElement(customElements.getName(RapidReportingWC) ?? 'rapid-reporting', { ...rest, ref }, children);
86
76
  });
87
77
 
88
- export const RowSelectRenderer = React.forwardRef(function RowSelectRenderer(props, ref) {
78
+ export const ZeroReporting = React.forwardRef(function ZeroReporting(props, ref) {
89
79
  const { children, ...rest } = props;
90
- return React.createElement(customElements.getName(RowSelectRendererWC) ?? '%%prefix%%-row-select-renderer', { ...rest, ref }, children);
91
- });
92
-
93
- export const SelectFields = React.forwardRef(function SelectFields(props, ref) {
94
- const { onSetSelectedFields, children, ...rest } = props;
95
- const _innerRef = React.useRef(null);
96
- const _onSetSelectedFieldsRef = React.useRef(onSetSelectedFields);
97
- _onSetSelectedFieldsRef.current = onSetSelectedFields;
98
- React.useLayoutEffect(() => {
99
- const el = _innerRef.current;
100
- if (!el) return;
101
- const _onSetSelectedFieldsFn = (e) => _onSetSelectedFieldsRef.current?.(e);
102
- el.addEventListener('setSelectedFields', _onSetSelectedFieldsFn);
103
- return () => {
104
- el.removeEventListener('setSelectedFields', _onSetSelectedFieldsFn);
105
- };
106
- }, []);
107
- return React.createElement(customElements.getName(SelectFieldsWC) ?? 'reporting-select-fields', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
108
- });
109
-
110
- export const SelectFilters = React.forwardRef(function SelectFilters(props, ref) {
111
- const { onSetSelectedFilters, children, ...rest } = props;
112
- const _innerRef = React.useRef(null);
113
- const _onSetSelectedFiltersRef = React.useRef(onSetSelectedFilters);
114
- _onSetSelectedFiltersRef.current = onSetSelectedFilters;
115
- React.useLayoutEffect(() => {
116
- const el = _innerRef.current;
117
- if (!el) return;
118
- const _onSetSelectedFiltersFn = (e) => _onSetSelectedFiltersRef.current?.(e);
119
- el.addEventListener('setSelectedFilters', _onSetSelectedFiltersFn);
120
- return () => {
121
- el.removeEventListener('setSelectedFilters', _onSetSelectedFiltersFn);
122
- };
123
- }, []);
124
- return React.createElement(customElements.getName(SelectFiltersWC) ?? 'reporting-select-filters', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
80
+ return React.createElement(customElements.getName(ZeroReportingWC) ?? 'zero-reporting-legacy', { ...rest, ref }, children);
125
81
  });
126
82
 
127
83
  export const CloneReportConfigModal = React.forwardRef(function CloneReportConfigModal(props, ref) {
@@ -183,14 +139,48 @@ export const ReportDestinations = React.forwardRef(function ReportDestinations(p
183
139
  return React.createElement(customElements.getName(ReportDestinationsWC) ?? 'report-destinations', { ...rest, ref }, children);
184
140
  });
185
141
 
186
- export const ColFiltersGrid = React.forwardRef(function ColFiltersGrid(props, ref) {
142
+ export const FilterValueRenderer = React.forwardRef(function FilterValueRenderer(props, ref) {
187
143
  const { children, ...rest } = props;
188
- return React.createElement(customElements.getName(ColFiltersGridWC) ?? 'col-filters', { ...rest, ref }, children);
144
+ return React.createElement(customElements.getName(FilterValueRendererWC) ?? '%%prefix%%-filter-value-renderer', { ...rest, ref }, children);
189
145
  });
190
146
 
191
- export const ColFiltersTutorial = React.forwardRef(function ColFiltersTutorial(props, ref) {
147
+ export const RowSelectRenderer = React.forwardRef(function RowSelectRenderer(props, ref) {
192
148
  const { children, ...rest } = props;
193
- return React.createElement(customElements.getName(ColFiltersTutorialWC) ?? 'col-filters-tutorial', { ...rest, ref }, children);
149
+ return React.createElement(customElements.getName(RowSelectRendererWC) ?? '%%prefix%%-row-select-renderer', { ...rest, ref }, children);
150
+ });
151
+
152
+ export const SelectFields = React.forwardRef(function SelectFields(props, ref) {
153
+ const { onSetSelectedFields, children, ...rest } = props;
154
+ const _innerRef = React.useRef(null);
155
+ const _onSetSelectedFieldsRef = React.useRef(onSetSelectedFields);
156
+ _onSetSelectedFieldsRef.current = onSetSelectedFields;
157
+ React.useLayoutEffect(() => {
158
+ const el = _innerRef.current;
159
+ if (!el) return;
160
+ const _onSetSelectedFieldsFn = (e) => _onSetSelectedFieldsRef.current?.(e);
161
+ el.addEventListener('setSelectedFields', _onSetSelectedFieldsFn);
162
+ return () => {
163
+ el.removeEventListener('setSelectedFields', _onSetSelectedFieldsFn);
164
+ };
165
+ }, []);
166
+ return React.createElement(customElements.getName(SelectFieldsWC) ?? 'reporting-select-fields', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
167
+ });
168
+
169
+ export const SelectFilters = React.forwardRef(function SelectFilters(props, ref) {
170
+ const { onSetSelectedFilters, children, ...rest } = props;
171
+ const _innerRef = React.useRef(null);
172
+ const _onSetSelectedFiltersRef = React.useRef(onSetSelectedFilters);
173
+ _onSetSelectedFiltersRef.current = onSetSelectedFilters;
174
+ React.useLayoutEffect(() => {
175
+ const el = _innerRef.current;
176
+ if (!el) return;
177
+ const _onSetSelectedFiltersFn = (e) => _onSetSelectedFiltersRef.current?.(e);
178
+ el.addEventListener('setSelectedFilters', _onSetSelectedFiltersFn);
179
+ return () => {
180
+ el.removeEventListener('setSelectedFilters', _onSetSelectedFiltersFn);
181
+ };
182
+ }, []);
183
+ return React.createElement(customElements.getName(SelectFiltersWC) ?? 'reporting-select-filters', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
194
184
  });
195
185
 
196
186
  export const BaseConfig = React.forwardRef(function BaseConfig(props, ref) {
@@ -198,6 +188,16 @@ export const BaseConfig = React.forwardRef(function BaseConfig(props, ref) {
198
188
  return React.createElement(customElements.getName(BaseConfigWC) ?? 'base-config', { ...rest, ref }, children);
199
189
  });
200
190
 
191
+ export const ColFiltersGrid = React.forwardRef(function ColFiltersGrid(props, ref) {
192
+ const { children, ...rest } = props;
193
+ return React.createElement(customElements.getName(ColFiltersGridWC) ?? 'col-filters', { ...rest, ref }, children);
194
+ });
195
+
196
+ export const ColFiltersTutorial = React.forwardRef(function ColFiltersTutorial(props, ref) {
197
+ const { children, ...rest } = props;
198
+ return React.createElement(customElements.getName(ColFiltersTutorialWC) ?? 'col-filters-tutorial', { ...rest, ref }, children);
199
+ });
200
+
201
201
  export const ColRenamesAliases = React.forwardRef(function ColRenamesAliases(props, ref) {
202
202
  const { children, ...rest } = props;
203
203
  return React.createElement(customElements.getName(ColRenamesAliasesWC) ?? 'col-rename-alias', { ...rest, ref }, children);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/pbc-reporting-ui",
3
3
  "description": "Genesis PBC Reporting UI",
4
- "version": "15.50.1",
4
+ "version": "15.50.3",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/esm/index.js",
7
7
  "types": "dist/dts/index.d.ts",
@@ -85,32 +85,32 @@
85
85
  "@ag-grid-community/core": "29.2.0"
86
86
  },
87
87
  "dependencies": {
88
- "@genesislcap/foundation-comms": "15.50.1",
89
- "@genesislcap/foundation-entity-management": "15.50.1",
90
- "@genesislcap/foundation-events": "15.50.1",
91
- "@genesislcap/foundation-forms": "15.50.1",
92
- "@genesislcap/foundation-logger": "15.50.1",
93
- "@genesislcap/foundation-notifications": "15.50.1",
94
- "@genesislcap/foundation-ui": "15.50.1",
95
- "@genesislcap/foundation-user": "15.50.1",
96
- "@genesislcap/foundation-utils": "15.50.1",
97
- "@genesislcap/foundation-zero": "15.50.1",
98
- "@genesislcap/foundation-zero-grid-pro": "15.50.1",
99
- "@genesislcap/grid-pro": "15.50.1",
100
- "@genesislcap/rapid-design-system": "15.50.1",
101
- "@genesislcap/rapid-grid-pro": "15.50.1",
102
- "@genesislcap/web-core": "15.50.1",
88
+ "@genesislcap/foundation-comms": "15.50.3",
89
+ "@genesislcap/foundation-entity-management": "15.50.3",
90
+ "@genesislcap/foundation-events": "15.50.3",
91
+ "@genesislcap/foundation-forms": "15.50.3",
92
+ "@genesislcap/foundation-logger": "15.50.3",
93
+ "@genesislcap/foundation-notifications": "15.50.3",
94
+ "@genesislcap/foundation-ui": "15.50.3",
95
+ "@genesislcap/foundation-user": "15.50.3",
96
+ "@genesislcap/foundation-utils": "15.50.3",
97
+ "@genesislcap/foundation-zero": "15.50.3",
98
+ "@genesislcap/foundation-zero-grid-pro": "15.50.3",
99
+ "@genesislcap/grid-pro": "15.50.3",
100
+ "@genesislcap/rapid-design-system": "15.50.3",
101
+ "@genesislcap/rapid-grid-pro": "15.50.3",
102
+ "@genesislcap/web-core": "15.50.3",
103
103
  "@reduxjs/toolkit": "^2.2.5",
104
104
  "@types/node": "^22.10.2",
105
105
  "change-case": "^5.4.3",
106
106
  "lodash": "^4.17.21"
107
107
  },
108
108
  "devDependencies": {
109
- "@genesislcap/eslint-config": "15.50.1",
110
- "@genesislcap/foundation-testing": "15.50.1",
111
- "@genesislcap/genx": "15.50.1",
112
- "@genesislcap/prettier-config": "15.50.1",
113
- "@genesislcap/stylelint-config": "15.50.1",
109
+ "@genesislcap/eslint-config": "15.50.3",
110
+ "@genesislcap/foundation-testing": "15.50.3",
111
+ "@genesislcap/genx": "15.50.3",
112
+ "@genesislcap/prettier-config": "15.50.3",
113
+ "@genesislcap/stylelint-config": "15.50.3",
114
114
  "@types/json-schema": "^7.0.11",
115
115
  "playwright-lighthouse": "^4.0.0",
116
116
  "rimraf": "^5.0.0"