@genesislcap/pbc-reporting-ui 15.50.0 → 15.50.1

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 NotPermitted: React.ForwardRefExoticComponent<
96
+ export declare const ZeroReporting: React.ForwardRefExoticComponent<
97
97
  React.PropsWithChildren<
98
- Omit<PublicOf<NotPermittedWC>, 'children' | 'style'> &
98
+ Omit<PublicOf<ZeroReportingWC>, 'children' | 'style'> &
99
99
  HTMLWCProps & {
100
100
  }
101
- > & React.RefAttributes<NotPermittedWC>
101
+ > & React.RefAttributes<ZeroReportingWC>
102
102
  >;
103
- export type NotPermittedRef = NotPermittedWC;
103
+ export type ZeroReportingRef = ZeroReportingWC;
104
104
 
105
105
  export declare const FoundationReporting: React.ForwardRefExoticComponent<
106
106
  React.PropsWithChildren<
@@ -120,14 +120,52 @@ export declare const RapidReporting: React.ForwardRefExoticComponent<
120
120
  >;
121
121
  export type RapidReportingRef = RapidReportingWC;
122
122
 
123
- export declare const ZeroReporting: React.ForwardRefExoticComponent<
123
+ export declare const NotPermitted: React.ForwardRefExoticComponent<
124
124
  React.PropsWithChildren<
125
- Omit<PublicOf<ZeroReportingWC>, 'children' | 'style'> &
125
+ Omit<PublicOf<NotPermittedWC>, 'children' | 'style'> &
126
126
  HTMLWCProps & {
127
127
  }
128
- > & React.RefAttributes<ZeroReportingWC>
128
+ > & React.RefAttributes<NotPermittedWC>
129
129
  >;
130
- export type ZeroReportingRef = ZeroReportingWC;
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<
161
+ React.PropsWithChildren<
162
+ Omit<PublicOf<SelectFiltersWC>, 'children' | 'style'> &
163
+ HTMLWCProps & {
164
+ onSetSelectedFilters?: (event: CustomEvent<SelectedFiltersEventDetail>) => void;
165
+ }
166
+ > & React.RefAttributes<SelectFiltersWC>
167
+ >;
168
+ export type SelectFiltersRef = SelectFiltersWC;
131
169
 
132
170
  export declare const CloneReportConfigModal: React.ForwardRefExoticComponent<
133
171
  React.PropsWithChildren<
@@ -186,43 +224,23 @@ export declare const ReportDestinations: React.ForwardRefExoticComponent<
186
224
  >;
187
225
  export type ReportDestinationsRef = ReportDestinationsWC;
188
226
 
189
- export declare const FilterValueRenderer: React.ForwardRefExoticComponent<
190
- React.PropsWithChildren<
191
- Omit<PublicOf<FilterValueRendererWC>, 'children' | 'style'> &
192
- HTMLWCProps & {
193
- }
194
- > & React.RefAttributes<FilterValueRendererWC>
195
- >;
196
- export type FilterValueRendererRef = FilterValueRendererWC;
197
-
198
- export declare const RowSelectRenderer: React.ForwardRefExoticComponent<
199
- React.PropsWithChildren<
200
- Omit<PublicOf<RowSelectRendererWC>, 'children' | 'style'> &
201
- HTMLWCProps & {
202
- }
203
- > & React.RefAttributes<RowSelectRendererWC>
204
- >;
205
- export type RowSelectRendererRef = RowSelectRendererWC;
206
-
207
- export declare const SelectFields: React.ForwardRefExoticComponent<
227
+ export declare const ColFiltersGrid: React.ForwardRefExoticComponent<
208
228
  React.PropsWithChildren<
209
- Omit<PublicOf<SelectFieldsWC>, 'children' | 'style'> &
229
+ Omit<PublicOf<ColFiltersGridWC>, 'children' | 'style'> &
210
230
  HTMLWCProps & {
211
- onSetSelectedFields?: (event: CustomEvent<SelectedFieldsEventDetail>) => void;
212
231
  }
213
- > & React.RefAttributes<SelectFieldsWC>
232
+ > & React.RefAttributes<ColFiltersGridWC>
214
233
  >;
215
- export type SelectFieldsRef = SelectFieldsWC;
234
+ export type ColFiltersGridRef = ColFiltersGridWC;
216
235
 
217
- export declare const SelectFilters: React.ForwardRefExoticComponent<
236
+ export declare const ColFiltersTutorial: React.ForwardRefExoticComponent<
218
237
  React.PropsWithChildren<
219
- Omit<PublicOf<SelectFiltersWC>, 'children' | 'style'> &
238
+ Omit<PublicOf<ColFiltersTutorialWC>, 'children' | 'style'> &
220
239
  HTMLWCProps & {
221
- onSetSelectedFilters?: (event: CustomEvent<SelectedFiltersEventDetail>) => void;
222
240
  }
223
- > & React.RefAttributes<SelectFiltersWC>
241
+ > & React.RefAttributes<ColFiltersTutorialWC>
224
242
  >;
225
- export type SelectFiltersRef = SelectFiltersWC;
243
+ export type ColFiltersTutorialRef = ColFiltersTutorialWC;
226
244
 
227
245
  export declare const BaseConfig: React.ForwardRefExoticComponent<
228
246
  React.PropsWithChildren<
@@ -233,24 +251,6 @@ export declare const BaseConfig: React.ForwardRefExoticComponent<
233
251
  >;
234
252
  export type BaseConfigRef = BaseConfigWC;
235
253
 
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,32 +54,76 @@ 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', { ...rest, ref }, children);
57
+ return React.createElement(customElements.getName(FoundationReportingWC) ?? 'foundation-reporting-legacy', { ...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', { ...rest, ref }, children);
62
+ return React.createElement(customElements.getName(RapidReportingWC) ?? 'rapid-reporting-legacy', { ...rest, ref }, children);
63
63
  });
64
64
 
65
- const NotPermitted = React.forwardRef(function NotPermitted(props, ref) {
65
+ const ZeroReporting = React.forwardRef(function ZeroReporting(props, ref) {
66
66
  const { children, ...rest } = props;
67
- return React.createElement(customElements.getName(NotPermittedWC) ?? 'not-permitted', { ...rest, ref }, children);
67
+ return React.createElement(customElements.getName(ZeroReportingWC) ?? 'zero-reporting-legacy', { ...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', { ...rest, ref }, children);
72
+ return React.createElement(customElements.getName(FoundationReportingWC) ?? 'foundation-reporting-legacy', { ...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', { ...rest, ref }, children);
77
+ return React.createElement(customElements.getName(RapidReportingWC) ?? 'rapid-reporting-legacy', { ...rest, ref }, children);
78
78
  });
79
79
 
80
- const ZeroReporting = React.forwardRef(function ZeroReporting(props, ref) {
80
+ const NotPermitted = React.forwardRef(function NotPermitted(props, ref) {
81
81
  const { children, ...rest } = props;
82
- return React.createElement(customElements.getName(ZeroReportingWC) ?? 'zero-reporting-legacy', { ...rest, ref }, children);
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) {
91
+ 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);
83
127
  });
84
128
 
85
129
  const CloneReportConfigModal = React.forwardRef(function CloneReportConfigModal(props, ref) {
@@ -141,48 +185,14 @@ const ReportDestinations = React.forwardRef(function ReportDestinations(props, r
141
185
  return React.createElement(customElements.getName(ReportDestinationsWC) ?? 'report-destinations', { ...rest, ref }, children);
142
186
  });
143
187
 
144
- const FilterValueRenderer = React.forwardRef(function FilterValueRenderer(props, ref) {
188
+ const ColFiltersGrid = React.forwardRef(function ColFiltersGrid(props, ref) {
145
189
  const { children, ...rest } = props;
146
- return React.createElement(customElements.getName(FilterValueRendererWC) ?? '%%prefix%%-filter-value-renderer', { ...rest, ref }, children);
190
+ return React.createElement(customElements.getName(ColFiltersGridWC) ?? 'col-filters', { ...rest, ref }, children);
147
191
  });
148
192
 
149
- const RowSelectRenderer = React.forwardRef(function RowSelectRenderer(props, ref) {
193
+ const ColFiltersTutorial = React.forwardRef(function ColFiltersTutorial(props, ref) {
150
194
  const { children, ...rest } = props;
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);
195
+ return React.createElement(customElements.getName(ColFiltersTutorialWC) ?? 'col-filters-tutorial', { ...rest, ref }, children);
186
196
  });
187
197
 
188
198
  const BaseConfig = React.forwardRef(function BaseConfig(props, ref) {
@@ -190,16 +200,6 @@ const BaseConfig = React.forwardRef(function BaseConfig(props, ref) {
190
200
  return React.createElement(customElements.getName(BaseConfigWC) ?? 'base-config', { ...rest, ref }, children);
191
201
  });
192
202
 
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
- NotPermitted,
301
+ ZeroReporting,
302
302
  FoundationReporting,
303
303
  RapidReporting,
304
- ZeroReporting,
304
+ NotPermitted,
305
+ FilterValueRenderer,
306
+ RowSelectRenderer,
307
+ SelectFields,
308
+ SelectFilters,
305
309
  CloneReportConfigModal,
306
310
  DataTransformRenderer,
307
311
  ReportingConfigurations,
308
312
  ConfigJourneyOrchestrator,
309
313
  GeneratedReports,
310
314
  ReportDestinations,
311
- FilterValueRenderer,
312
- RowSelectRenderer,
313
- SelectFields,
314
- SelectFilters,
315
- BaseConfig,
316
315
  ColFiltersGrid,
317
316
  ColFiltersTutorial,
317
+ BaseConfig,
318
318
  ColRenamesAliases,
319
319
  ColRenamesAliasesTutorial,
320
320
  DataTransformsTutorial,
package/dist/react.mjs CHANGED
@@ -52,32 +52,76 @@ 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', { ...rest, ref }, children);
55
+ return React.createElement(customElements.getName(FoundationReportingWC) ?? 'foundation-reporting-legacy', { ...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', { ...rest, ref }, children);
60
+ return React.createElement(customElements.getName(RapidReportingWC) ?? 'rapid-reporting-legacy', { ...rest, ref }, children);
61
61
  });
62
62
 
63
- export const NotPermitted = React.forwardRef(function NotPermitted(props, ref) {
63
+ export const ZeroReporting = React.forwardRef(function ZeroReporting(props, ref) {
64
64
  const { children, ...rest } = props;
65
- return React.createElement(customElements.getName(NotPermittedWC) ?? 'not-permitted', { ...rest, ref }, children);
65
+ return React.createElement(customElements.getName(ZeroReportingWC) ?? 'zero-reporting-legacy', { ...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', { ...rest, ref }, children);
70
+ return React.createElement(customElements.getName(FoundationReportingWC) ?? 'foundation-reporting-legacy', { ...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', { ...rest, ref }, children);
75
+ return React.createElement(customElements.getName(RapidReportingWC) ?? 'rapid-reporting-legacy', { ...rest, ref }, children);
76
76
  });
77
77
 
78
- export const ZeroReporting = React.forwardRef(function ZeroReporting(props, ref) {
78
+ export const NotPermitted = React.forwardRef(function NotPermitted(props, ref) {
79
79
  const { children, ...rest } = props;
80
- return React.createElement(customElements.getName(ZeroReportingWC) ?? 'zero-reporting-legacy', { ...rest, ref }, children);
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);
86
+ });
87
+
88
+ export const RowSelectRenderer = React.forwardRef(function RowSelectRenderer(props, ref) {
89
+ 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);
81
125
  });
82
126
 
83
127
  export const CloneReportConfigModal = React.forwardRef(function CloneReportConfigModal(props, ref) {
@@ -139,48 +183,14 @@ export const ReportDestinations = React.forwardRef(function ReportDestinations(p
139
183
  return React.createElement(customElements.getName(ReportDestinationsWC) ?? 'report-destinations', { ...rest, ref }, children);
140
184
  });
141
185
 
142
- export const FilterValueRenderer = React.forwardRef(function FilterValueRenderer(props, ref) {
186
+ export const ColFiltersGrid = React.forwardRef(function ColFiltersGrid(props, ref) {
143
187
  const { children, ...rest } = props;
144
- return React.createElement(customElements.getName(FilterValueRendererWC) ?? '%%prefix%%-filter-value-renderer', { ...rest, ref }, children);
188
+ return React.createElement(customElements.getName(ColFiltersGridWC) ?? 'col-filters', { ...rest, ref }, children);
145
189
  });
146
190
 
147
- export const RowSelectRenderer = React.forwardRef(function RowSelectRenderer(props, ref) {
191
+ export const ColFiltersTutorial = React.forwardRef(function ColFiltersTutorial(props, ref) {
148
192
  const { children, ...rest } = props;
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);
193
+ return React.createElement(customElements.getName(ColFiltersTutorialWC) ?? 'col-filters-tutorial', { ...rest, ref }, children);
184
194
  });
185
195
 
186
196
  export const BaseConfig = React.forwardRef(function BaseConfig(props, ref) {
@@ -188,16 +198,6 @@ export const BaseConfig = React.forwardRef(function BaseConfig(props, ref) {
188
198
  return React.createElement(customElements.getName(BaseConfigWC) ?? 'base-config', { ...rest, ref }, children);
189
199
  });
190
200
 
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.0",
4
+ "version": "15.50.1",
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.0",
89
- "@genesislcap/foundation-entity-management": "15.50.0",
90
- "@genesislcap/foundation-events": "15.50.0",
91
- "@genesislcap/foundation-forms": "15.50.0",
92
- "@genesislcap/foundation-logger": "15.50.0",
93
- "@genesislcap/foundation-notifications": "15.50.0",
94
- "@genesislcap/foundation-ui": "15.50.0",
95
- "@genesislcap/foundation-user": "15.50.0",
96
- "@genesislcap/foundation-utils": "15.50.0",
97
- "@genesislcap/foundation-zero": "15.50.0",
98
- "@genesislcap/foundation-zero-grid-pro": "15.50.0",
99
- "@genesislcap/grid-pro": "15.50.0",
100
- "@genesislcap/rapid-design-system": "15.50.0",
101
- "@genesislcap/rapid-grid-pro": "15.50.0",
102
- "@genesislcap/web-core": "15.50.0",
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",
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.0",
110
- "@genesislcap/foundation-testing": "15.50.0",
111
- "@genesislcap/genx": "15.50.0",
112
- "@genesislcap/prettier-config": "15.50.0",
113
- "@genesislcap/stylelint-config": "15.50.0",
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",
114
114
  "@types/json-schema": "^7.0.11",
115
115
  "playwright-lighthouse": "^4.0.0",
116
116
  "rimraf": "^5.0.0"