@genesislcap/pbc-reporting-ui 15.36.0 → 15.36.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.
- package/dist/custom-elements.json +5717 -4582
- package/dist/dts/react.d.ts +44 -44
- package/dist/react.cjs +65 -65
- package/dist/react.mjs +57 -57
- package/package.json +21 -21
package/dist/dts/react.d.ts
CHANGED
|
@@ -93,14 +93,14 @@ export declare const RapidReporting: React.ForwardRefExoticComponent<
|
|
|
93
93
|
>;
|
|
94
94
|
export type RapidReportingRef = RapidReportingWC;
|
|
95
95
|
|
|
96
|
-
export declare const
|
|
96
|
+
export declare const NotPermitted: React.ForwardRefExoticComponent<
|
|
97
97
|
React.PropsWithChildren<
|
|
98
|
-
Omit<PublicOf<
|
|
98
|
+
Omit<PublicOf<NotPermittedWC>, 'children' | 'style'> &
|
|
99
99
|
HTMLWCProps & {
|
|
100
100
|
}
|
|
101
|
-
> & React.RefAttributes<
|
|
101
|
+
> & React.RefAttributes<NotPermittedWC>
|
|
102
102
|
>;
|
|
103
|
-
export type
|
|
103
|
+
export type NotPermittedRef = NotPermittedWC;
|
|
104
104
|
|
|
105
105
|
export declare const FoundationReporting: React.ForwardRefExoticComponent<
|
|
106
106
|
React.PropsWithChildren<
|
|
@@ -120,52 +120,42 @@ export declare const RapidReporting: React.ForwardRefExoticComponent<
|
|
|
120
120
|
>;
|
|
121
121
|
export type RapidReportingRef = RapidReportingWC;
|
|
122
122
|
|
|
123
|
-
export declare const
|
|
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<
|
|
123
|
+
export declare const ZeroReporting: React.ForwardRefExoticComponent<
|
|
133
124
|
React.PropsWithChildren<
|
|
134
|
-
Omit<PublicOf<
|
|
125
|
+
Omit<PublicOf<ZeroReportingWC>, 'children' | 'style'> &
|
|
135
126
|
HTMLWCProps & {
|
|
136
127
|
}
|
|
137
|
-
> & React.RefAttributes<
|
|
128
|
+
> & React.RefAttributes<ZeroReportingWC>
|
|
138
129
|
>;
|
|
139
|
-
export type
|
|
130
|
+
export type ZeroReportingRef = ZeroReportingWC;
|
|
140
131
|
|
|
141
|
-
export declare const
|
|
132
|
+
export declare const ConfigJourneyOrchestrator: React.ForwardRefExoticComponent<
|
|
142
133
|
React.PropsWithChildren<
|
|
143
|
-
Omit<PublicOf<
|
|
134
|
+
Omit<PublicOf<ConfigJourneyOrchestratorWC>, 'children' | 'style'> &
|
|
144
135
|
HTMLWCProps & {
|
|
136
|
+
onSetReportConfigDispMode?: (event: CustomEvent<'edit' | 'list'>) => void;
|
|
145
137
|
}
|
|
146
|
-
> & React.RefAttributes<
|
|
138
|
+
> & React.RefAttributes<ConfigJourneyOrchestratorWC>
|
|
147
139
|
>;
|
|
148
|
-
export type
|
|
140
|
+
export type ConfigJourneyOrchestratorRef = ConfigJourneyOrchestratorWC;
|
|
149
141
|
|
|
150
|
-
export declare const
|
|
142
|
+
export declare const GeneratedReports: React.ForwardRefExoticComponent<
|
|
151
143
|
React.PropsWithChildren<
|
|
152
|
-
Omit<PublicOf<
|
|
144
|
+
Omit<PublicOf<GeneratedReportsWC>, 'children' | 'style'> &
|
|
153
145
|
HTMLWCProps & {
|
|
154
|
-
onSetSelectedFields?: (event: CustomEvent<SelectedFieldsEventDetail>) => void;
|
|
155
146
|
}
|
|
156
|
-
> & React.RefAttributes<
|
|
147
|
+
> & React.RefAttributes<GeneratedReportsWC>
|
|
157
148
|
>;
|
|
158
|
-
export type
|
|
149
|
+
export type GeneratedReportsRef = GeneratedReportsWC;
|
|
159
150
|
|
|
160
|
-
export declare const
|
|
151
|
+
export declare const ReportDestinations: React.ForwardRefExoticComponent<
|
|
161
152
|
React.PropsWithChildren<
|
|
162
|
-
Omit<PublicOf<
|
|
153
|
+
Omit<PublicOf<ReportDestinationsWC>, 'children' | 'style'> &
|
|
163
154
|
HTMLWCProps & {
|
|
164
|
-
onSetSelectedFilters?: (event: CustomEvent<SelectedFiltersEventDetail>) => void;
|
|
165
155
|
}
|
|
166
|
-
> & React.RefAttributes<
|
|
156
|
+
> & React.RefAttributes<ReportDestinationsWC>
|
|
167
157
|
>;
|
|
168
|
-
export type
|
|
158
|
+
export type ReportDestinationsRef = ReportDestinationsWC;
|
|
169
159
|
|
|
170
160
|
export declare const CloneReportConfigModal: React.ForwardRefExoticComponent<
|
|
171
161
|
React.PropsWithChildren<
|
|
@@ -196,33 +186,43 @@ export declare const ReportingConfigurations: React.ForwardRefExoticComponent<
|
|
|
196
186
|
>;
|
|
197
187
|
export type ReportingConfigurationsRef = ReportingConfigurationsWC;
|
|
198
188
|
|
|
199
|
-
export declare const
|
|
189
|
+
export declare const FilterValueRenderer: React.ForwardRefExoticComponent<
|
|
200
190
|
React.PropsWithChildren<
|
|
201
|
-
Omit<PublicOf<
|
|
191
|
+
Omit<PublicOf<FilterValueRendererWC>, 'children' | 'style'> &
|
|
202
192
|
HTMLWCProps & {
|
|
203
|
-
onSetReportConfigDispMode?: (event: CustomEvent<'edit' | 'list'>) => void;
|
|
204
193
|
}
|
|
205
|
-
> & React.RefAttributes<
|
|
194
|
+
> & React.RefAttributes<FilterValueRendererWC>
|
|
206
195
|
>;
|
|
207
|
-
export type
|
|
196
|
+
export type FilterValueRendererRef = FilterValueRendererWC;
|
|
208
197
|
|
|
209
|
-
export declare const
|
|
198
|
+
export declare const RowSelectRenderer: React.ForwardRefExoticComponent<
|
|
210
199
|
React.PropsWithChildren<
|
|
211
|
-
Omit<PublicOf<
|
|
200
|
+
Omit<PublicOf<RowSelectRendererWC>, 'children' | 'style'> &
|
|
212
201
|
HTMLWCProps & {
|
|
213
202
|
}
|
|
214
|
-
> & React.RefAttributes<
|
|
203
|
+
> & React.RefAttributes<RowSelectRendererWC>
|
|
215
204
|
>;
|
|
216
|
-
export type
|
|
205
|
+
export type RowSelectRendererRef = RowSelectRendererWC;
|
|
217
206
|
|
|
218
|
-
export declare const
|
|
207
|
+
export declare const SelectFields: React.ForwardRefExoticComponent<
|
|
219
208
|
React.PropsWithChildren<
|
|
220
|
-
Omit<PublicOf<
|
|
209
|
+
Omit<PublicOf<SelectFieldsWC>, 'children' | 'style'> &
|
|
221
210
|
HTMLWCProps & {
|
|
211
|
+
onSetSelectedFields?: (event: CustomEvent<SelectedFieldsEventDetail>) => void;
|
|
222
212
|
}
|
|
223
|
-
> & React.RefAttributes<
|
|
213
|
+
> & React.RefAttributes<SelectFieldsWC>
|
|
224
214
|
>;
|
|
225
|
-
export type
|
|
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;
|
|
226
226
|
|
|
227
227
|
export declare const BaseConfig: React.ForwardRefExoticComponent<
|
|
228
228
|
React.PropsWithChildren<
|
package/dist/react.cjs
CHANGED
|
@@ -54,76 +54,59 @@ 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
|
|
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
|
|
62
|
+
return React.createElement(customElements.getName(RapidReportingWC) ?? 'rapid-reporting', { ...rest, ref }, children);
|
|
63
63
|
});
|
|
64
64
|
|
|
65
|
-
const
|
|
65
|
+
const NotPermitted = React.forwardRef(function NotPermitted(props, ref) {
|
|
66
66
|
const { children, ...rest } = props;
|
|
67
|
-
return React.createElement(customElements.getName(
|
|
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
|
|
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
|
|
78
|
-
});
|
|
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);
|
|
77
|
+
return React.createElement(customElements.getName(RapidReportingWC) ?? 'rapid-reporting', { ...rest, ref }, children);
|
|
88
78
|
});
|
|
89
79
|
|
|
90
|
-
const
|
|
80
|
+
const ZeroReporting = React.forwardRef(function ZeroReporting(props, ref) {
|
|
91
81
|
const { children, ...rest } = props;
|
|
92
|
-
return React.createElement(customElements.getName(
|
|
82
|
+
return React.createElement(customElements.getName(ZeroReportingWC) ?? 'zero-reporting-legacy', { ...rest, ref }, children);
|
|
93
83
|
});
|
|
94
84
|
|
|
95
|
-
const
|
|
96
|
-
const {
|
|
85
|
+
const ConfigJourneyOrchestrator = React.forwardRef(function ConfigJourneyOrchestrator(props, ref) {
|
|
86
|
+
const { onSetReportConfigDispMode, children, ...rest } = props;
|
|
97
87
|
const _innerRef = React.useRef(null);
|
|
98
|
-
const
|
|
99
|
-
|
|
88
|
+
const _onSetReportConfigDispModeRef = React.useRef(onSetReportConfigDispMode);
|
|
89
|
+
_onSetReportConfigDispModeRef.current = onSetReportConfigDispMode;
|
|
100
90
|
React.useLayoutEffect(() => {
|
|
101
91
|
const el = _innerRef.current;
|
|
102
92
|
if (!el) return;
|
|
103
|
-
const
|
|
104
|
-
el.addEventListener('
|
|
93
|
+
const _onSetReportConfigDispModeFn = (e) => _onSetReportConfigDispModeRef.current?.(e);
|
|
94
|
+
el.addEventListener('set-report-config-disp-mode', _onSetReportConfigDispModeFn);
|
|
105
95
|
return () => {
|
|
106
|
-
el.removeEventListener('
|
|
96
|
+
el.removeEventListener('set-report-config-disp-mode', _onSetReportConfigDispModeFn);
|
|
107
97
|
};
|
|
108
98
|
}, []);
|
|
109
|
-
return React.createElement(customElements.getName(
|
|
99
|
+
return React.createElement(customElements.getName(ConfigJourneyOrchestratorWC) ?? 'config-journey-orchestrator', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
110
100
|
});
|
|
111
101
|
|
|
112
|
-
const
|
|
113
|
-
const {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
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);
|
|
102
|
+
const GeneratedReports = React.forwardRef(function GeneratedReports(props, ref) {
|
|
103
|
+
const { children, ...rest } = props;
|
|
104
|
+
return React.createElement(customElements.getName(GeneratedReportsWC) ?? 'generated-reports', { ...rest, ref }, children);
|
|
105
|
+
});
|
|
106
|
+
|
|
107
|
+
const ReportDestinations = React.forwardRef(function ReportDestinations(props, ref) {
|
|
108
|
+
const { children, ...rest } = props;
|
|
109
|
+
return React.createElement(customElements.getName(ReportDestinationsWC) ?? 'report-destinations', { ...rest, ref }, children);
|
|
127
110
|
});
|
|
128
111
|
|
|
129
112
|
const CloneReportConfigModal = React.forwardRef(function CloneReportConfigModal(props, ref) {
|
|
@@ -158,31 +141,48 @@ const ReportingConfigurations = React.forwardRef(function ReportingConfiguration
|
|
|
158
141
|
return React.createElement(customElements.getName(ReportingConfigurationsWC) ?? 'reporting-configurations', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
159
142
|
});
|
|
160
143
|
|
|
161
|
-
const
|
|
162
|
-
const {
|
|
144
|
+
const FilterValueRenderer = React.forwardRef(function FilterValueRenderer(props, ref) {
|
|
145
|
+
const { children, ...rest } = props;
|
|
146
|
+
return React.createElement(customElements.getName(FilterValueRendererWC) ?? '%%prefix%%-filter-value-renderer', { ...rest, ref }, children);
|
|
147
|
+
});
|
|
148
|
+
|
|
149
|
+
const RowSelectRenderer = React.forwardRef(function RowSelectRenderer(props, ref) {
|
|
150
|
+
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;
|
|
163
156
|
const _innerRef = React.useRef(null);
|
|
164
|
-
const
|
|
165
|
-
|
|
157
|
+
const _onSetSelectedFieldsRef = React.useRef(onSetSelectedFields);
|
|
158
|
+
_onSetSelectedFieldsRef.current = onSetSelectedFields;
|
|
166
159
|
React.useLayoutEffect(() => {
|
|
167
160
|
const el = _innerRef.current;
|
|
168
161
|
if (!el) return;
|
|
169
|
-
const
|
|
170
|
-
el.addEventListener('
|
|
162
|
+
const _onSetSelectedFieldsFn = (e) => _onSetSelectedFieldsRef.current?.(e);
|
|
163
|
+
el.addEventListener('setSelectedFields', _onSetSelectedFieldsFn);
|
|
171
164
|
return () => {
|
|
172
|
-
el.removeEventListener('
|
|
165
|
+
el.removeEventListener('setSelectedFields', _onSetSelectedFieldsFn);
|
|
173
166
|
};
|
|
174
167
|
}, []);
|
|
175
|
-
return React.createElement(customElements.getName(
|
|
176
|
-
});
|
|
177
|
-
|
|
178
|
-
const GeneratedReports = React.forwardRef(function GeneratedReports(props, ref) {
|
|
179
|
-
const { children, ...rest } = props;
|
|
180
|
-
return React.createElement(customElements.getName(GeneratedReportsWC) ?? 'generated-reports', { ...rest, ref }, children);
|
|
168
|
+
return React.createElement(customElements.getName(SelectFieldsWC) ?? 'reporting-select-fields', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
181
169
|
});
|
|
182
170
|
|
|
183
|
-
const
|
|
184
|
-
const { children, ...rest } = props;
|
|
185
|
-
|
|
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);
|
|
186
186
|
});
|
|
187
187
|
|
|
188
188
|
const BaseConfig = React.forwardRef(function BaseConfig(props, ref) {
|
|
@@ -298,20 +298,20 @@ module.exports = {
|
|
|
298
298
|
ReportingSandbox,
|
|
299
299
|
FoundationReporting,
|
|
300
300
|
RapidReporting,
|
|
301
|
-
|
|
301
|
+
NotPermitted,
|
|
302
302
|
FoundationReporting,
|
|
303
303
|
RapidReporting,
|
|
304
|
-
|
|
304
|
+
ZeroReporting,
|
|
305
|
+
ConfigJourneyOrchestrator,
|
|
306
|
+
GeneratedReports,
|
|
307
|
+
ReportDestinations,
|
|
308
|
+
CloneReportConfigModal,
|
|
309
|
+
DataTransformRenderer,
|
|
310
|
+
ReportingConfigurations,
|
|
305
311
|
FilterValueRenderer,
|
|
306
312
|
RowSelectRenderer,
|
|
307
313
|
SelectFields,
|
|
308
314
|
SelectFilters,
|
|
309
|
-
CloneReportConfigModal,
|
|
310
|
-
DataTransformRenderer,
|
|
311
|
-
ReportingConfigurations,
|
|
312
|
-
ConfigJourneyOrchestrator,
|
|
313
|
-
GeneratedReports,
|
|
314
|
-
ReportDestinations,
|
|
315
315
|
BaseConfig,
|
|
316
316
|
ColFiltersGrid,
|
|
317
317
|
ColFiltersTutorial,
|
package/dist/react.mjs
CHANGED
|
@@ -52,76 +52,59 @@ 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
|
|
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
|
|
60
|
+
return React.createElement(customElements.getName(RapidReportingWC) ?? 'rapid-reporting', { ...rest, ref }, children);
|
|
61
61
|
});
|
|
62
62
|
|
|
63
|
-
export const
|
|
63
|
+
export const NotPermitted = React.forwardRef(function NotPermitted(props, ref) {
|
|
64
64
|
const { children, ...rest } = props;
|
|
65
|
-
return React.createElement(customElements.getName(
|
|
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
|
|
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
|
|
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
|
|
78
|
+
export const ZeroReporting = React.forwardRef(function ZeroReporting(props, ref) {
|
|
89
79
|
const { children, ...rest } = props;
|
|
90
|
-
return React.createElement(customElements.getName(
|
|
80
|
+
return React.createElement(customElements.getName(ZeroReportingWC) ?? 'zero-reporting-legacy', { ...rest, ref }, children);
|
|
91
81
|
});
|
|
92
82
|
|
|
93
|
-
export const
|
|
94
|
-
const {
|
|
83
|
+
export const ConfigJourneyOrchestrator = React.forwardRef(function ConfigJourneyOrchestrator(props, ref) {
|
|
84
|
+
const { onSetReportConfigDispMode, children, ...rest } = props;
|
|
95
85
|
const _innerRef = React.useRef(null);
|
|
96
|
-
const
|
|
97
|
-
|
|
86
|
+
const _onSetReportConfigDispModeRef = React.useRef(onSetReportConfigDispMode);
|
|
87
|
+
_onSetReportConfigDispModeRef.current = onSetReportConfigDispMode;
|
|
98
88
|
React.useLayoutEffect(() => {
|
|
99
89
|
const el = _innerRef.current;
|
|
100
90
|
if (!el) return;
|
|
101
|
-
const
|
|
102
|
-
el.addEventListener('
|
|
91
|
+
const _onSetReportConfigDispModeFn = (e) => _onSetReportConfigDispModeRef.current?.(e);
|
|
92
|
+
el.addEventListener('set-report-config-disp-mode', _onSetReportConfigDispModeFn);
|
|
103
93
|
return () => {
|
|
104
|
-
el.removeEventListener('
|
|
94
|
+
el.removeEventListener('set-report-config-disp-mode', _onSetReportConfigDispModeFn);
|
|
105
95
|
};
|
|
106
96
|
}, []);
|
|
107
|
-
return React.createElement(customElements.getName(
|
|
97
|
+
return React.createElement(customElements.getName(ConfigJourneyOrchestratorWC) ?? 'config-journey-orchestrator', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
108
98
|
});
|
|
109
99
|
|
|
110
|
-
export const
|
|
111
|
-
const {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
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);
|
|
100
|
+
export const GeneratedReports = React.forwardRef(function GeneratedReports(props, ref) {
|
|
101
|
+
const { children, ...rest } = props;
|
|
102
|
+
return React.createElement(customElements.getName(GeneratedReportsWC) ?? 'generated-reports', { ...rest, ref }, children);
|
|
103
|
+
});
|
|
104
|
+
|
|
105
|
+
export const ReportDestinations = React.forwardRef(function ReportDestinations(props, ref) {
|
|
106
|
+
const { children, ...rest } = props;
|
|
107
|
+
return React.createElement(customElements.getName(ReportDestinationsWC) ?? 'report-destinations', { ...rest, ref }, children);
|
|
125
108
|
});
|
|
126
109
|
|
|
127
110
|
export const CloneReportConfigModal = React.forwardRef(function CloneReportConfigModal(props, ref) {
|
|
@@ -156,31 +139,48 @@ export const ReportingConfigurations = React.forwardRef(function ReportingConfig
|
|
|
156
139
|
return React.createElement(customElements.getName(ReportingConfigurationsWC) ?? 'reporting-configurations', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
157
140
|
});
|
|
158
141
|
|
|
159
|
-
export const
|
|
160
|
-
const {
|
|
142
|
+
export const FilterValueRenderer = React.forwardRef(function FilterValueRenderer(props, ref) {
|
|
143
|
+
const { children, ...rest } = props;
|
|
144
|
+
return React.createElement(customElements.getName(FilterValueRendererWC) ?? '%%prefix%%-filter-value-renderer', { ...rest, ref }, children);
|
|
145
|
+
});
|
|
146
|
+
|
|
147
|
+
export const RowSelectRenderer = React.forwardRef(function RowSelectRenderer(props, ref) {
|
|
148
|
+
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;
|
|
161
154
|
const _innerRef = React.useRef(null);
|
|
162
|
-
const
|
|
163
|
-
|
|
155
|
+
const _onSetSelectedFieldsRef = React.useRef(onSetSelectedFields);
|
|
156
|
+
_onSetSelectedFieldsRef.current = onSetSelectedFields;
|
|
164
157
|
React.useLayoutEffect(() => {
|
|
165
158
|
const el = _innerRef.current;
|
|
166
159
|
if (!el) return;
|
|
167
|
-
const
|
|
168
|
-
el.addEventListener('
|
|
160
|
+
const _onSetSelectedFieldsFn = (e) => _onSetSelectedFieldsRef.current?.(e);
|
|
161
|
+
el.addEventListener('setSelectedFields', _onSetSelectedFieldsFn);
|
|
169
162
|
return () => {
|
|
170
|
-
el.removeEventListener('
|
|
163
|
+
el.removeEventListener('setSelectedFields', _onSetSelectedFieldsFn);
|
|
171
164
|
};
|
|
172
165
|
}, []);
|
|
173
|
-
return React.createElement(customElements.getName(
|
|
174
|
-
});
|
|
175
|
-
|
|
176
|
-
export const GeneratedReports = React.forwardRef(function GeneratedReports(props, ref) {
|
|
177
|
-
const { children, ...rest } = props;
|
|
178
|
-
return React.createElement(customElements.getName(GeneratedReportsWC) ?? 'generated-reports', { ...rest, ref }, children);
|
|
166
|
+
return React.createElement(customElements.getName(SelectFieldsWC) ?? 'reporting-select-fields', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
179
167
|
});
|
|
180
168
|
|
|
181
|
-
export const
|
|
182
|
-
const { children, ...rest } = props;
|
|
183
|
-
|
|
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);
|
|
184
184
|
});
|
|
185
185
|
|
|
186
186
|
export const BaseConfig = React.forwardRef(function BaseConfig(props, ref) {
|
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.36.
|
|
4
|
+
"version": "15.36.1",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
7
7
|
"types": "dist/dts/index.d.ts",
|
|
@@ -86,32 +86,32 @@
|
|
|
86
86
|
"@ag-grid-community/core": "29.2.0"
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
89
|
-
"@genesislcap/foundation-comms": "15.36.
|
|
90
|
-
"@genesislcap/foundation-entity-management": "15.36.
|
|
91
|
-
"@genesislcap/foundation-events": "15.36.
|
|
92
|
-
"@genesislcap/foundation-forms": "15.36.
|
|
93
|
-
"@genesislcap/foundation-logger": "15.36.
|
|
94
|
-
"@genesislcap/foundation-notifications": "15.36.
|
|
95
|
-
"@genesislcap/foundation-ui": "15.36.
|
|
96
|
-
"@genesislcap/foundation-user": "15.36.
|
|
97
|
-
"@genesislcap/foundation-utils": "15.36.
|
|
98
|
-
"@genesislcap/foundation-zero": "15.36.
|
|
99
|
-
"@genesislcap/foundation-zero-grid-pro": "15.36.
|
|
100
|
-
"@genesislcap/grid-pro": "15.36.
|
|
101
|
-
"@genesislcap/rapid-design-system": "15.36.
|
|
102
|
-
"@genesislcap/rapid-grid-pro": "15.36.
|
|
103
|
-
"@genesislcap/web-core": "15.36.
|
|
89
|
+
"@genesislcap/foundation-comms": "15.36.1",
|
|
90
|
+
"@genesislcap/foundation-entity-management": "15.36.1",
|
|
91
|
+
"@genesislcap/foundation-events": "15.36.1",
|
|
92
|
+
"@genesislcap/foundation-forms": "15.36.1",
|
|
93
|
+
"@genesislcap/foundation-logger": "15.36.1",
|
|
94
|
+
"@genesislcap/foundation-notifications": "15.36.1",
|
|
95
|
+
"@genesislcap/foundation-ui": "15.36.1",
|
|
96
|
+
"@genesislcap/foundation-user": "15.36.1",
|
|
97
|
+
"@genesislcap/foundation-utils": "15.36.1",
|
|
98
|
+
"@genesislcap/foundation-zero": "15.36.1",
|
|
99
|
+
"@genesislcap/foundation-zero-grid-pro": "15.36.1",
|
|
100
|
+
"@genesislcap/grid-pro": "15.36.1",
|
|
101
|
+
"@genesislcap/rapid-design-system": "15.36.1",
|
|
102
|
+
"@genesislcap/rapid-grid-pro": "15.36.1",
|
|
103
|
+
"@genesislcap/web-core": "15.36.1",
|
|
104
104
|
"@reduxjs/toolkit": "^2.2.5",
|
|
105
105
|
"@types/node": "^22.10.2",
|
|
106
106
|
"change-case": "^5.4.3",
|
|
107
107
|
"lodash": "^4.17.21"
|
|
108
108
|
},
|
|
109
109
|
"devDependencies": {
|
|
110
|
-
"@genesislcap/eslint-config": "15.36.
|
|
111
|
-
"@genesislcap/foundation-testing": "15.36.
|
|
112
|
-
"@genesislcap/genx": "15.36.
|
|
113
|
-
"@genesislcap/prettier-config": "15.36.
|
|
114
|
-
"@genesislcap/stylelint-config": "15.36.
|
|
110
|
+
"@genesislcap/eslint-config": "15.36.1",
|
|
111
|
+
"@genesislcap/foundation-testing": "15.36.1",
|
|
112
|
+
"@genesislcap/genx": "15.36.1",
|
|
113
|
+
"@genesislcap/prettier-config": "15.36.1",
|
|
114
|
+
"@genesislcap/stylelint-config": "15.36.1",
|
|
115
115
|
"@types/json-schema": "^7.0.11",
|
|
116
116
|
"playwright-lighthouse": "^4.0.0",
|
|
117
117
|
"rimraf": "^5.0.0"
|