@genesislcap/pbc-notify-ui 15.71.0 → 15.72.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 +593 -593
- package/dist/dts/react.d.ts +21 -21
- package/dist/react.cjs +25 -25
- package/dist/react.mjs +23 -23
- package/package.json +22 -22
package/dist/dts/react.d.ts
CHANGED
|
@@ -181,6 +181,16 @@ export declare const RuleParameter: React.ForwardRefExoticComponent<
|
|
|
181
181
|
>;
|
|
182
182
|
export type RuleParameterRef = RuleParameterWC;
|
|
183
183
|
|
|
184
|
+
export declare const RuleDialog: React.ForwardRefExoticComponent<
|
|
185
|
+
React.PropsWithChildren<
|
|
186
|
+
Omit<PublicOf<RuleDialogWC>, 'children' | 'style'> &
|
|
187
|
+
HTMLWCProps & {
|
|
188
|
+
onClose?: (event: CustomEvent<unknown>) => void;
|
|
189
|
+
}
|
|
190
|
+
> & React.RefAttributes<RuleDialogWC>
|
|
191
|
+
>;
|
|
192
|
+
export type RuleDialogRef = RuleDialogWC;
|
|
193
|
+
|
|
184
194
|
export declare const EmailDistributionRouteManagement: React.ForwardRefExoticComponent<
|
|
185
195
|
React.PropsWithChildren<
|
|
186
196
|
Omit<PublicOf<EmailDistributionRouteManagementWC>, 'children' | 'style'> &
|
|
@@ -235,16 +245,6 @@ export declare const SlackRouteManagement: React.ForwardRefExoticComponent<
|
|
|
235
245
|
>;
|
|
236
246
|
export type SlackRouteManagementRef = SlackRouteManagementWC;
|
|
237
247
|
|
|
238
|
-
export declare const RuleDialog: React.ForwardRefExoticComponent<
|
|
239
|
-
React.PropsWithChildren<
|
|
240
|
-
Omit<PublicOf<RuleDialogWC>, 'children' | 'style'> &
|
|
241
|
-
HTMLWCProps & {
|
|
242
|
-
onClose?: (event: CustomEvent<unknown>) => void;
|
|
243
|
-
}
|
|
244
|
-
> & React.RefAttributes<RuleDialogWC>
|
|
245
|
-
>;
|
|
246
|
-
export type RuleDialogRef = RuleDialogWC;
|
|
247
|
-
|
|
248
248
|
export declare const TemplateDialog: React.ForwardRefExoticComponent<
|
|
249
249
|
React.PropsWithChildren<
|
|
250
250
|
Omit<PublicOf<TemplateDialogWC>, 'children' | 'style'> &
|
|
@@ -277,17 +277,6 @@ export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
|
|
|
277
277
|
>;
|
|
278
278
|
export type RuleConditionGroupRef = RuleConditionGroupWC;
|
|
279
279
|
|
|
280
|
-
export declare const ParameterBuilder: React.ForwardRefExoticComponent<
|
|
281
|
-
React.PropsWithChildren<
|
|
282
|
-
Omit<PublicOf<ParameterBuilderWC>, 'children' | 'style'> &
|
|
283
|
-
HTMLWCProps & {
|
|
284
|
-
onDelete?: (event: CustomEvent<ParameterBuilderEntity>) => void;
|
|
285
|
-
onEdit?: (event: CustomEvent<ParameterBuilderEntity>) => void;
|
|
286
|
-
}
|
|
287
|
-
> & React.RefAttributes<ParameterBuilderWC>
|
|
288
|
-
>;
|
|
289
|
-
export type ParameterBuilderRef = ParameterBuilderWC;
|
|
290
|
-
|
|
291
280
|
export declare const TemplateConditionGroup: React.ForwardRefExoticComponent<
|
|
292
281
|
React.PropsWithChildren<
|
|
293
282
|
Omit<PublicOf<TemplateConditionGroupWC>, 'children' | 'style'> &
|
|
@@ -310,4 +299,15 @@ export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
|
|
|
310
299
|
>;
|
|
311
300
|
export type TemplateConditionBuilderRef = TemplateConditionBuilderWC;
|
|
312
301
|
|
|
302
|
+
export declare const ParameterBuilder: React.ForwardRefExoticComponent<
|
|
303
|
+
React.PropsWithChildren<
|
|
304
|
+
Omit<PublicOf<ParameterBuilderWC>, 'children' | 'style'> &
|
|
305
|
+
HTMLWCProps & {
|
|
306
|
+
onDelete?: (event: CustomEvent<ParameterBuilderEntity>) => void;
|
|
307
|
+
onEdit?: (event: CustomEvent<ParameterBuilderEntity>) => void;
|
|
308
|
+
}
|
|
309
|
+
> & React.RefAttributes<ParameterBuilderWC>
|
|
310
|
+
>;
|
|
311
|
+
export type ParameterBuilderRef = ParameterBuilderWC;
|
|
312
|
+
|
|
313
313
|
export {};
|
package/dist/react.cjs
CHANGED
|
@@ -136,6 +136,23 @@ const RuleParameter = React.forwardRef(function RuleParameter(props, ref) {
|
|
|
136
136
|
return React.createElement(customElements.getName(RuleParameterWC) ?? 'rule-parameter', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
137
137
|
});
|
|
138
138
|
|
|
139
|
+
const RuleDialog = React.forwardRef(function RuleDialog(props, ref) {
|
|
140
|
+
const { onClose, children, ...rest } = props;
|
|
141
|
+
const _innerRef = React.useRef(null);
|
|
142
|
+
const _onCloseRef = React.useRef(onClose);
|
|
143
|
+
_onCloseRef.current = onClose;
|
|
144
|
+
React.useLayoutEffect(() => {
|
|
145
|
+
const el = _innerRef.current;
|
|
146
|
+
if (!el) return;
|
|
147
|
+
const _onCloseFn = (e) => _onCloseRef.current?.(e);
|
|
148
|
+
el.addEventListener('close', _onCloseFn);
|
|
149
|
+
return () => {
|
|
150
|
+
el.removeEventListener('close', _onCloseFn);
|
|
151
|
+
};
|
|
152
|
+
}, []);
|
|
153
|
+
return React.createElement(customElements.getName(RuleDialogWC) ?? 'rule-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
154
|
+
});
|
|
155
|
+
|
|
139
156
|
const EmailDistributionRouteManagement = React.forwardRef(function EmailDistributionRouteManagement(props, ref) {
|
|
140
157
|
const { children, ...rest } = props;
|
|
141
158
|
return React.createElement(customElements.getName(EmailDistributionRouteManagementWC) ?? 'email-distribution-route-management', { ...rest, ref }, children);
|
|
@@ -166,23 +183,6 @@ const SlackRouteManagement = React.forwardRef(function SlackRouteManagement(prop
|
|
|
166
183
|
return React.createElement(customElements.getName(SlackRouteManagementWC) ?? 'slack-route-management', { ...rest, ref }, children);
|
|
167
184
|
});
|
|
168
185
|
|
|
169
|
-
const RuleDialog = React.forwardRef(function RuleDialog(props, ref) {
|
|
170
|
-
const { onClose, children, ...rest } = props;
|
|
171
|
-
const _innerRef = React.useRef(null);
|
|
172
|
-
const _onCloseRef = React.useRef(onClose);
|
|
173
|
-
_onCloseRef.current = onClose;
|
|
174
|
-
React.useLayoutEffect(() => {
|
|
175
|
-
const el = _innerRef.current;
|
|
176
|
-
if (!el) return;
|
|
177
|
-
const _onCloseFn = (e) => _onCloseRef.current?.(e);
|
|
178
|
-
el.addEventListener('close', _onCloseFn);
|
|
179
|
-
return () => {
|
|
180
|
-
el.removeEventListener('close', _onCloseFn);
|
|
181
|
-
};
|
|
182
|
-
}, []);
|
|
183
|
-
return React.createElement(customElements.getName(RuleDialogWC) ?? 'rule-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
184
|
-
});
|
|
185
|
-
|
|
186
186
|
const TemplateDialog = React.forwardRef(function TemplateDialog(props, ref) {
|
|
187
187
|
const { onClose, children, ...rest } = props;
|
|
188
188
|
const _innerRef = React.useRef(null);
|
|
@@ -244,7 +244,7 @@ const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, r
|
|
|
244
244
|
return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
245
245
|
});
|
|
246
246
|
|
|
247
|
-
const
|
|
247
|
+
const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
|
|
248
248
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
249
249
|
const _innerRef = React.useRef(null);
|
|
250
250
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -263,10 +263,10 @@ const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref)
|
|
|
263
263
|
el.removeEventListener('edit', _onEditFn);
|
|
264
264
|
};
|
|
265
265
|
}, []);
|
|
266
|
-
return React.createElement(customElements.getName(
|
|
266
|
+
return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
267
267
|
});
|
|
268
268
|
|
|
269
|
-
const
|
|
269
|
+
const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
|
|
270
270
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
271
271
|
const _innerRef = React.useRef(null);
|
|
272
272
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -285,10 +285,10 @@ const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(
|
|
|
285
285
|
el.removeEventListener('edit', _onEditFn);
|
|
286
286
|
};
|
|
287
287
|
}, []);
|
|
288
|
-
return React.createElement(customElements.getName(
|
|
288
|
+
return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
289
289
|
});
|
|
290
290
|
|
|
291
|
-
const
|
|
291
|
+
const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
|
|
292
292
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
293
293
|
const _innerRef = React.useRef(null);
|
|
294
294
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -307,7 +307,7 @@ const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuil
|
|
|
307
307
|
el.removeEventListener('edit', _onEditFn);
|
|
308
308
|
};
|
|
309
309
|
}, []);
|
|
310
|
-
return React.createElement(customElements.getName(
|
|
310
|
+
return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
311
311
|
});
|
|
312
312
|
|
|
313
313
|
module.exports = {
|
|
@@ -324,17 +324,17 @@ module.exports = {
|
|
|
324
324
|
RuleManagement,
|
|
325
325
|
TemplateManagement,
|
|
326
326
|
RuleParameter,
|
|
327
|
+
RuleDialog,
|
|
327
328
|
EmailDistributionRouteManagement,
|
|
328
329
|
EmailUserRouteManagement,
|
|
329
330
|
LogRouteManagement,
|
|
330
331
|
MSTeamsRouteManagement,
|
|
331
332
|
ScreenRouteManagement,
|
|
332
333
|
SlackRouteManagement,
|
|
333
|
-
RuleDialog,
|
|
334
334
|
TemplateDialog,
|
|
335
335
|
RuleConditionBuilder,
|
|
336
336
|
RuleConditionGroup,
|
|
337
|
-
ParameterBuilder,
|
|
338
337
|
TemplateConditionGroup,
|
|
339
338
|
TemplateConditionBuilder,
|
|
339
|
+
ParameterBuilder,
|
|
340
340
|
};
|
package/dist/react.mjs
CHANGED
|
@@ -134,6 +134,23 @@ export const RuleParameter = React.forwardRef(function RuleParameter(props, ref)
|
|
|
134
134
|
return React.createElement(customElements.getName(RuleParameterWC) ?? 'rule-parameter', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
135
135
|
});
|
|
136
136
|
|
|
137
|
+
export const RuleDialog = React.forwardRef(function RuleDialog(props, ref) {
|
|
138
|
+
const { onClose, children, ...rest } = props;
|
|
139
|
+
const _innerRef = React.useRef(null);
|
|
140
|
+
const _onCloseRef = React.useRef(onClose);
|
|
141
|
+
_onCloseRef.current = onClose;
|
|
142
|
+
React.useLayoutEffect(() => {
|
|
143
|
+
const el = _innerRef.current;
|
|
144
|
+
if (!el) return;
|
|
145
|
+
const _onCloseFn = (e) => _onCloseRef.current?.(e);
|
|
146
|
+
el.addEventListener('close', _onCloseFn);
|
|
147
|
+
return () => {
|
|
148
|
+
el.removeEventListener('close', _onCloseFn);
|
|
149
|
+
};
|
|
150
|
+
}, []);
|
|
151
|
+
return React.createElement(customElements.getName(RuleDialogWC) ?? 'rule-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
152
|
+
});
|
|
153
|
+
|
|
137
154
|
export const EmailDistributionRouteManagement = React.forwardRef(function EmailDistributionRouteManagement(props, ref) {
|
|
138
155
|
const { children, ...rest } = props;
|
|
139
156
|
return React.createElement(customElements.getName(EmailDistributionRouteManagementWC) ?? 'email-distribution-route-management', { ...rest, ref }, children);
|
|
@@ -164,23 +181,6 @@ export const SlackRouteManagement = React.forwardRef(function SlackRouteManageme
|
|
|
164
181
|
return React.createElement(customElements.getName(SlackRouteManagementWC) ?? 'slack-route-management', { ...rest, ref }, children);
|
|
165
182
|
});
|
|
166
183
|
|
|
167
|
-
export const RuleDialog = React.forwardRef(function RuleDialog(props, ref) {
|
|
168
|
-
const { onClose, children, ...rest } = props;
|
|
169
|
-
const _innerRef = React.useRef(null);
|
|
170
|
-
const _onCloseRef = React.useRef(onClose);
|
|
171
|
-
_onCloseRef.current = onClose;
|
|
172
|
-
React.useLayoutEffect(() => {
|
|
173
|
-
const el = _innerRef.current;
|
|
174
|
-
if (!el) return;
|
|
175
|
-
const _onCloseFn = (e) => _onCloseRef.current?.(e);
|
|
176
|
-
el.addEventListener('close', _onCloseFn);
|
|
177
|
-
return () => {
|
|
178
|
-
el.removeEventListener('close', _onCloseFn);
|
|
179
|
-
};
|
|
180
|
-
}, []);
|
|
181
|
-
return React.createElement(customElements.getName(RuleDialogWC) ?? 'rule-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
182
|
-
});
|
|
183
|
-
|
|
184
184
|
export const TemplateDialog = React.forwardRef(function TemplateDialog(props, ref) {
|
|
185
185
|
const { onClose, children, ...rest } = props;
|
|
186
186
|
const _innerRef = React.useRef(null);
|
|
@@ -242,7 +242,7 @@ export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(p
|
|
|
242
242
|
return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
243
243
|
});
|
|
244
244
|
|
|
245
|
-
export const
|
|
245
|
+
export const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
|
|
246
246
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
247
247
|
const _innerRef = React.useRef(null);
|
|
248
248
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -261,10 +261,10 @@ export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props
|
|
|
261
261
|
el.removeEventListener('edit', _onEditFn);
|
|
262
262
|
};
|
|
263
263
|
}, []);
|
|
264
|
-
return React.createElement(customElements.getName(
|
|
264
|
+
return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
265
265
|
});
|
|
266
266
|
|
|
267
|
-
export const
|
|
267
|
+
export const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
|
|
268
268
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
269
269
|
const _innerRef = React.useRef(null);
|
|
270
270
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -283,10 +283,10 @@ export const TemplateConditionGroup = React.forwardRef(function TemplateConditio
|
|
|
283
283
|
el.removeEventListener('edit', _onEditFn);
|
|
284
284
|
};
|
|
285
285
|
}, []);
|
|
286
|
-
return React.createElement(customElements.getName(
|
|
286
|
+
return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
287
287
|
});
|
|
288
288
|
|
|
289
|
-
export const
|
|
289
|
+
export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
|
|
290
290
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
291
291
|
const _innerRef = React.useRef(null);
|
|
292
292
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -305,5 +305,5 @@ export const TemplateConditionBuilder = React.forwardRef(function TemplateCondit
|
|
|
305
305
|
el.removeEventListener('edit', _onEditFn);
|
|
306
306
|
};
|
|
307
307
|
}, []);
|
|
308
|
-
return React.createElement(customElements.getName(
|
|
308
|
+
return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
309
309
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/pbc-notify-ui",
|
|
3
3
|
"description": "Genesis PBC Notify UI",
|
|
4
|
-
"version": "15.
|
|
4
|
+
"version": "15.72.0",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"workspaces": [
|
|
7
7
|
"client"
|
|
@@ -80,30 +80,30 @@
|
|
|
80
80
|
"@commitlint/cli": "^19.2.1",
|
|
81
81
|
"@commitlint/config-conventional": "^19.1.0",
|
|
82
82
|
"@commitlint/format": "^19.0.3",
|
|
83
|
-
"@genesislcap/design-system-configurator": "15.
|
|
84
|
-
"@genesislcap/eslint-config": "15.
|
|
85
|
-
"@genesislcap/eslint-stylelint-builder": "15.
|
|
86
|
-
"@genesislcap/foundation-testing": "15.
|
|
87
|
-
"@genesislcap/genx": "15.
|
|
88
|
-
"@genesislcap/prettier-config": "15.
|
|
89
|
-
"@genesislcap/stylelint-config": "15.
|
|
90
|
-
"@genesislcap/vite-builder": "15.
|
|
91
|
-
"@genesislcap/webpack-builder": "15.
|
|
83
|
+
"@genesislcap/design-system-configurator": "15.72.0",
|
|
84
|
+
"@genesislcap/eslint-config": "15.72.0",
|
|
85
|
+
"@genesislcap/eslint-stylelint-builder": "15.72.0",
|
|
86
|
+
"@genesislcap/foundation-testing": "15.72.0",
|
|
87
|
+
"@genesislcap/genx": "15.72.0",
|
|
88
|
+
"@genesislcap/prettier-config": "15.72.0",
|
|
89
|
+
"@genesislcap/stylelint-config": "15.72.0",
|
|
90
|
+
"@genesislcap/vite-builder": "15.72.0",
|
|
91
|
+
"@genesislcap/webpack-builder": "15.72.0",
|
|
92
92
|
"dayjs": "^1.11.7"
|
|
93
93
|
},
|
|
94
94
|
"dependencies": {
|
|
95
|
-
"@genesislcap/foundation-comms": "15.
|
|
96
|
-
"@genesislcap/foundation-criteria": "15.
|
|
97
|
-
"@genesislcap/foundation-entity-management": "15.
|
|
98
|
-
"@genesislcap/foundation-forms": "15.
|
|
99
|
-
"@genesislcap/foundation-layout": "15.
|
|
100
|
-
"@genesislcap/foundation-logger": "15.
|
|
101
|
-
"@genesislcap/foundation-notifications": "15.
|
|
102
|
-
"@genesislcap/foundation-ui": "15.
|
|
103
|
-
"@genesislcap/foundation-utils": "15.
|
|
104
|
-
"@genesislcap/rapid-design-system": "15.
|
|
105
|
-
"@genesislcap/rapid-grid-pro": "15.
|
|
106
|
-
"@genesislcap/web-core": "15.
|
|
95
|
+
"@genesislcap/foundation-comms": "15.72.0",
|
|
96
|
+
"@genesislcap/foundation-criteria": "15.72.0",
|
|
97
|
+
"@genesislcap/foundation-entity-management": "15.72.0",
|
|
98
|
+
"@genesislcap/foundation-forms": "15.72.0",
|
|
99
|
+
"@genesislcap/foundation-layout": "15.72.0",
|
|
100
|
+
"@genesislcap/foundation-logger": "15.72.0",
|
|
101
|
+
"@genesislcap/foundation-notifications": "15.72.0",
|
|
102
|
+
"@genesislcap/foundation-ui": "15.72.0",
|
|
103
|
+
"@genesislcap/foundation-utils": "15.72.0",
|
|
104
|
+
"@genesislcap/rapid-design-system": "15.72.0",
|
|
105
|
+
"@genesislcap/rapid-grid-pro": "15.72.0",
|
|
106
|
+
"@genesislcap/web-core": "15.72.0",
|
|
107
107
|
"lodash.debounce": "^4.0.8",
|
|
108
108
|
"rxjs": "^7.5.4"
|
|
109
109
|
},
|