@genesislcap/pbc-notify-ui 15.0.0 → 15.1.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 +673 -382
- package/dist/dts/components/foundation-inbox/inbox-base/inbox-base.d.ts +38 -2
- package/dist/dts/components/foundation-inbox/inbox-base/inbox-base.d.ts.map +1 -1
- package/dist/dts/components/foundation-inbox/inbox.template.d.ts.map +1 -1
- package/dist/dts/index.d.ts +2 -1
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/react.d.ts +22 -22
- package/dist/esm/components/foundation-inbox/inbox-base/inbox-base.js +55 -2
- package/dist/esm/components/foundation-inbox/inbox.template.js +45 -21
- package/dist/esm/index.js +1 -0
- package/dist/pbc-notify-ui.api.json +348 -0
- package/dist/pbc-notify-ui.d.ts +39 -3
- package/dist/react.cjs +10 -10
- package/dist/react.mjs +8 -8
- package/package.json +23 -23
- package/src/components/foundation-inbox/inbox-base/inbox-base.ts +44 -2
- package/src/components/foundation-inbox/inbox.template.ts +54 -24
- package/src/index.ts +2 -0
|
@@ -178,6 +178,354 @@
|
|
|
178
178
|
"name": "",
|
|
179
179
|
"preserveMemberOrder": false,
|
|
180
180
|
"members": [
|
|
181
|
+
{
|
|
182
|
+
"kind": "Interface",
|
|
183
|
+
"canonicalReference": "@genesislcap/pbc-notify-ui!Alert:interface",
|
|
184
|
+
"docComment": "",
|
|
185
|
+
"excerptTokens": [
|
|
186
|
+
{
|
|
187
|
+
"kind": "Content",
|
|
188
|
+
"text": "export interface Alert "
|
|
189
|
+
}
|
|
190
|
+
],
|
|
191
|
+
"fileUrlPath": "src/components/foundation-inbox/inbox.types.ts",
|
|
192
|
+
"releaseTag": "Public",
|
|
193
|
+
"name": "Alert",
|
|
194
|
+
"preserveMemberOrder": false,
|
|
195
|
+
"members": [
|
|
196
|
+
{
|
|
197
|
+
"kind": "PropertySignature",
|
|
198
|
+
"canonicalReference": "@genesislcap/pbc-notify-ui!Alert#ALERT_ID:member",
|
|
199
|
+
"docComment": "",
|
|
200
|
+
"excerptTokens": [
|
|
201
|
+
{
|
|
202
|
+
"kind": "Content",
|
|
203
|
+
"text": "ALERT_ID: "
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"kind": "Content",
|
|
207
|
+
"text": "string"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"kind": "Content",
|
|
211
|
+
"text": ";"
|
|
212
|
+
}
|
|
213
|
+
],
|
|
214
|
+
"isReadonly": false,
|
|
215
|
+
"isOptional": false,
|
|
216
|
+
"releaseTag": "Public",
|
|
217
|
+
"name": "ALERT_ID",
|
|
218
|
+
"propertyTypeTokenRange": {
|
|
219
|
+
"startIndex": 1,
|
|
220
|
+
"endIndex": 2
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"kind": "PropertySignature",
|
|
225
|
+
"canonicalReference": "@genesislcap/pbc-notify-ui!Alert#ALERT_STATUS:member",
|
|
226
|
+
"docComment": "",
|
|
227
|
+
"excerptTokens": [
|
|
228
|
+
{
|
|
229
|
+
"kind": "Content",
|
|
230
|
+
"text": "ALERT_STATUS: "
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"kind": "Reference",
|
|
234
|
+
"text": "AlertStatus",
|
|
235
|
+
"canonicalReference": "@genesislcap/pbc-notify-ui!AlertStatus:enum"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"kind": "Content",
|
|
239
|
+
"text": ";"
|
|
240
|
+
}
|
|
241
|
+
],
|
|
242
|
+
"isReadonly": false,
|
|
243
|
+
"isOptional": false,
|
|
244
|
+
"releaseTag": "Public",
|
|
245
|
+
"name": "ALERT_STATUS",
|
|
246
|
+
"propertyTypeTokenRange": {
|
|
247
|
+
"startIndex": 1,
|
|
248
|
+
"endIndex": 2
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"kind": "PropertySignature",
|
|
253
|
+
"canonicalReference": "@genesislcap/pbc-notify-ui!Alert#CREATED_AT:member",
|
|
254
|
+
"docComment": "",
|
|
255
|
+
"excerptTokens": [
|
|
256
|
+
{
|
|
257
|
+
"kind": "Content",
|
|
258
|
+
"text": "CREATED_AT: "
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"kind": "Content",
|
|
262
|
+
"text": "number"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"kind": "Content",
|
|
266
|
+
"text": ";"
|
|
267
|
+
}
|
|
268
|
+
],
|
|
269
|
+
"isReadonly": false,
|
|
270
|
+
"isOptional": false,
|
|
271
|
+
"releaseTag": "Public",
|
|
272
|
+
"name": "CREATED_AT",
|
|
273
|
+
"propertyTypeTokenRange": {
|
|
274
|
+
"startIndex": 1,
|
|
275
|
+
"endIndex": 2
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"kind": "PropertySignature",
|
|
280
|
+
"canonicalReference": "@genesislcap/pbc-notify-ui!Alert#EXPIRY:member",
|
|
281
|
+
"docComment": "",
|
|
282
|
+
"excerptTokens": [
|
|
283
|
+
{
|
|
284
|
+
"kind": "Content",
|
|
285
|
+
"text": "EXPIRY: "
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"kind": "Content",
|
|
289
|
+
"text": "number"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"kind": "Content",
|
|
293
|
+
"text": ";"
|
|
294
|
+
}
|
|
295
|
+
],
|
|
296
|
+
"isReadonly": false,
|
|
297
|
+
"isOptional": false,
|
|
298
|
+
"releaseTag": "Public",
|
|
299
|
+
"name": "EXPIRY",
|
|
300
|
+
"propertyTypeTokenRange": {
|
|
301
|
+
"startIndex": 1,
|
|
302
|
+
"endIndex": 2
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"kind": "PropertySignature",
|
|
307
|
+
"canonicalReference": "@genesislcap/pbc-notify-ui!Alert#HEADER:member",
|
|
308
|
+
"docComment": "",
|
|
309
|
+
"excerptTokens": [
|
|
310
|
+
{
|
|
311
|
+
"kind": "Content",
|
|
312
|
+
"text": "HEADER: "
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"kind": "Content",
|
|
316
|
+
"text": "string"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"kind": "Content",
|
|
320
|
+
"text": ";"
|
|
321
|
+
}
|
|
322
|
+
],
|
|
323
|
+
"isReadonly": false,
|
|
324
|
+
"isOptional": false,
|
|
325
|
+
"releaseTag": "Public",
|
|
326
|
+
"name": "HEADER",
|
|
327
|
+
"propertyTypeTokenRange": {
|
|
328
|
+
"startIndex": 1,
|
|
329
|
+
"endIndex": 2
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"kind": "PropertySignature",
|
|
334
|
+
"canonicalReference": "@genesislcap/pbc-notify-ui!Alert#MESSAGE:member",
|
|
335
|
+
"docComment": "",
|
|
336
|
+
"excerptTokens": [
|
|
337
|
+
{
|
|
338
|
+
"kind": "Content",
|
|
339
|
+
"text": "MESSAGE: "
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"kind": "Content",
|
|
343
|
+
"text": "string"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"kind": "Content",
|
|
347
|
+
"text": ";"
|
|
348
|
+
}
|
|
349
|
+
],
|
|
350
|
+
"isReadonly": false,
|
|
351
|
+
"isOptional": false,
|
|
352
|
+
"releaseTag": "Public",
|
|
353
|
+
"name": "MESSAGE",
|
|
354
|
+
"propertyTypeTokenRange": {
|
|
355
|
+
"startIndex": 1,
|
|
356
|
+
"endIndex": 2
|
|
357
|
+
}
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"kind": "PropertySignature",
|
|
361
|
+
"canonicalReference": "@genesislcap/pbc-notify-ui!Alert#NOTIFY_SEVERITY:member",
|
|
362
|
+
"docComment": "",
|
|
363
|
+
"excerptTokens": [
|
|
364
|
+
{
|
|
365
|
+
"kind": "Content",
|
|
366
|
+
"text": "NOTIFY_SEVERITY: "
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"kind": "Content",
|
|
370
|
+
"text": "string"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"kind": "Content",
|
|
374
|
+
"text": ";"
|
|
375
|
+
}
|
|
376
|
+
],
|
|
377
|
+
"isReadonly": false,
|
|
378
|
+
"isOptional": false,
|
|
379
|
+
"releaseTag": "Public",
|
|
380
|
+
"name": "NOTIFY_SEVERITY",
|
|
381
|
+
"propertyTypeTokenRange": {
|
|
382
|
+
"startIndex": 1,
|
|
383
|
+
"endIndex": 2
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"kind": "PropertySignature",
|
|
388
|
+
"canonicalReference": "@genesislcap/pbc-notify-ui!Alert#TABLE_ENTITY_ID:member",
|
|
389
|
+
"docComment": "",
|
|
390
|
+
"excerptTokens": [
|
|
391
|
+
{
|
|
392
|
+
"kind": "Content",
|
|
393
|
+
"text": "TABLE_ENTITY_ID: "
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"kind": "Content",
|
|
397
|
+
"text": "string"
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"kind": "Content",
|
|
401
|
+
"text": ";"
|
|
402
|
+
}
|
|
403
|
+
],
|
|
404
|
+
"isReadonly": false,
|
|
405
|
+
"isOptional": false,
|
|
406
|
+
"releaseTag": "Public",
|
|
407
|
+
"name": "TABLE_ENTITY_ID",
|
|
408
|
+
"propertyTypeTokenRange": {
|
|
409
|
+
"startIndex": 1,
|
|
410
|
+
"endIndex": 2
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"kind": "PropertySignature",
|
|
415
|
+
"canonicalReference": "@genesislcap/pbc-notify-ui!Alert#TOPIC:member",
|
|
416
|
+
"docComment": "",
|
|
417
|
+
"excerptTokens": [
|
|
418
|
+
{
|
|
419
|
+
"kind": "Content",
|
|
420
|
+
"text": "TOPIC: "
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"kind": "Content",
|
|
424
|
+
"text": "string"
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"kind": "Content",
|
|
428
|
+
"text": ";"
|
|
429
|
+
}
|
|
430
|
+
],
|
|
431
|
+
"isReadonly": false,
|
|
432
|
+
"isOptional": false,
|
|
433
|
+
"releaseTag": "Public",
|
|
434
|
+
"name": "TOPIC",
|
|
435
|
+
"propertyTypeTokenRange": {
|
|
436
|
+
"startIndex": 1,
|
|
437
|
+
"endIndex": 2
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"kind": "PropertySignature",
|
|
442
|
+
"canonicalReference": "@genesislcap/pbc-notify-ui!Alert#USER_NAME:member",
|
|
443
|
+
"docComment": "",
|
|
444
|
+
"excerptTokens": [
|
|
445
|
+
{
|
|
446
|
+
"kind": "Content",
|
|
447
|
+
"text": "USER_NAME: "
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"kind": "Content",
|
|
451
|
+
"text": "string"
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"kind": "Content",
|
|
455
|
+
"text": ";"
|
|
456
|
+
}
|
|
457
|
+
],
|
|
458
|
+
"isReadonly": false,
|
|
459
|
+
"isOptional": false,
|
|
460
|
+
"releaseTag": "Public",
|
|
461
|
+
"name": "USER_NAME",
|
|
462
|
+
"propertyTypeTokenRange": {
|
|
463
|
+
"startIndex": 1,
|
|
464
|
+
"endIndex": 2
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
],
|
|
468
|
+
"extendsTokenRanges": []
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"kind": "Enum",
|
|
472
|
+
"canonicalReference": "@genesislcap/pbc-notify-ui!AlertStatus:enum",
|
|
473
|
+
"docComment": "",
|
|
474
|
+
"excerptTokens": [
|
|
475
|
+
{
|
|
476
|
+
"kind": "Content",
|
|
477
|
+
"text": "export declare enum AlertStatus "
|
|
478
|
+
}
|
|
479
|
+
],
|
|
480
|
+
"fileUrlPath": "src/components/foundation-inbox/inbox.types.ts",
|
|
481
|
+
"releaseTag": "Public",
|
|
482
|
+
"name": "AlertStatus",
|
|
483
|
+
"preserveMemberOrder": false,
|
|
484
|
+
"members": [
|
|
485
|
+
{
|
|
486
|
+
"kind": "EnumMember",
|
|
487
|
+
"canonicalReference": "@genesislcap/pbc-notify-ui!AlertStatus.DISMISSED:member",
|
|
488
|
+
"docComment": "",
|
|
489
|
+
"excerptTokens": [
|
|
490
|
+
{
|
|
491
|
+
"kind": "Content",
|
|
492
|
+
"text": "DISMISSED = "
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"kind": "Content",
|
|
496
|
+
"text": "\"DISMISSED\""
|
|
497
|
+
}
|
|
498
|
+
],
|
|
499
|
+
"initializerTokenRange": {
|
|
500
|
+
"startIndex": 1,
|
|
501
|
+
"endIndex": 2
|
|
502
|
+
},
|
|
503
|
+
"releaseTag": "Public",
|
|
504
|
+
"name": "DISMISSED"
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"kind": "EnumMember",
|
|
508
|
+
"canonicalReference": "@genesislcap/pbc-notify-ui!AlertStatus.NEW:member",
|
|
509
|
+
"docComment": "",
|
|
510
|
+
"excerptTokens": [
|
|
511
|
+
{
|
|
512
|
+
"kind": "Content",
|
|
513
|
+
"text": "NEW = "
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"kind": "Content",
|
|
517
|
+
"text": "\"NEW\""
|
|
518
|
+
}
|
|
519
|
+
],
|
|
520
|
+
"initializerTokenRange": {
|
|
521
|
+
"startIndex": 1,
|
|
522
|
+
"endIndex": 2
|
|
523
|
+
},
|
|
524
|
+
"releaseTag": "Public",
|
|
525
|
+
"name": "NEW"
|
|
526
|
+
}
|
|
527
|
+
]
|
|
528
|
+
},
|
|
181
529
|
{
|
|
182
530
|
"kind": "TypeAlias",
|
|
183
531
|
"canonicalReference": "@genesislcap/pbc-notify-ui!ConditionBuilderEntity:type",
|
package/dist/pbc-notify-ui.d.ts
CHANGED
|
@@ -7,8 +7,9 @@ import { InterfaceSymbol } from '@microsoft/fast-foundation';
|
|
|
7
7
|
import { Message } from '@genesislcap/foundation-comms';
|
|
8
8
|
import { SocketObservable } from '@genesislcap/foundation-comms';
|
|
9
9
|
import type { Tabs } from '@genesislcap/foundation-ui';
|
|
10
|
+
import { ViewTemplate } from '@genesislcap/web-core';
|
|
10
11
|
|
|
11
|
-
declare interface Alert {
|
|
12
|
+
export declare interface Alert {
|
|
12
13
|
ALERT_ID: string;
|
|
13
14
|
ALERT_STATUS: AlertStatus;
|
|
14
15
|
CREATED_AT: number;
|
|
@@ -29,7 +30,7 @@ declare interface AlertService {
|
|
|
29
30
|
|
|
30
31
|
declare const AlertService: InterfaceSymbol<AlertService>;
|
|
31
32
|
|
|
32
|
-
declare enum AlertStatus {
|
|
33
|
+
export declare enum AlertStatus {
|
|
33
34
|
NEW = "NEW",
|
|
34
35
|
DISMISSED = "DISMISSED"
|
|
35
36
|
}
|
|
@@ -62,6 +63,41 @@ declare class FoundationInboxBase extends GenesisElement {
|
|
|
62
63
|
private alerts;
|
|
63
64
|
alertsFilter: Alert[];
|
|
64
65
|
moreAlerts: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Optional per-row template for the Alerts / Alert History lists. When set, it replaces the
|
|
68
|
+
* default alert row (the `.toast` element) and is rendered with the alert as its source (`x`)
|
|
69
|
+
* and the inbox host as `c.parent`, mirroring the internal `html<Alert, FoundationInbox>` row.
|
|
70
|
+
* When unset, the built-in row is used, so existing consumers are unaffected.
|
|
71
|
+
*
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
renderAlert: ViewTemplate<Alert, FoundationInbox> | undefined;
|
|
75
|
+
/**
|
|
76
|
+
* Hide the Severity filter block in the search bar. Set via the `hide-severity-filter`
|
|
77
|
+
* attribute or property. @public
|
|
78
|
+
*/
|
|
79
|
+
hideSeverityFilter: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Hide the Date Range filter block in the search bar. Set via the `hide-date-range`
|
|
82
|
+
* attribute or property. @public
|
|
83
|
+
*/
|
|
84
|
+
hideDateRange: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Hide the Search-by-Title field in the search bar. Set via the `hide-title-search`
|
|
87
|
+
* attribute or property. @public
|
|
88
|
+
*/
|
|
89
|
+
hideTitleSearch: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* Hide the Search-by-Body field in the search bar. Set via the `hide-body-search`
|
|
92
|
+
* attribute or property. @public
|
|
93
|
+
*/
|
|
94
|
+
hideBodySearch: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* Optional click handler for an alert row, fired with the clicked alert so consumers can open
|
|
97
|
+
* the related record. Interactive elements inside a custom {@link renderAlert} template should
|
|
98
|
+
* call `event.stopPropagation()` to avoid triggering this. @public
|
|
99
|
+
*/
|
|
100
|
+
onAlertClick: ((alert: Alert) => void) | undefined;
|
|
65
101
|
ruleService: RuleService;
|
|
66
102
|
rules: Rule_2[];
|
|
67
103
|
templateService: TemplateService;
|
|
@@ -84,7 +120,7 @@ declare class FoundationInboxBase extends GenesisElement {
|
|
|
84
120
|
toDatePickerValue: string;
|
|
85
121
|
criteriaMatchAlertStatus: Expression;
|
|
86
122
|
reverse: boolean;
|
|
87
|
-
sortDirection:
|
|
123
|
+
sortDirection: 'Asc' | 'Desc';
|
|
88
124
|
showLoadingIndicator: boolean;
|
|
89
125
|
severityType: any[];
|
|
90
126
|
tabs: Tabs;
|
package/dist/react.cjs
CHANGED
|
@@ -182,7 +182,7 @@ const TemplateDialog = React.forwardRef(function TemplateDialog(props, ref) {
|
|
|
182
182
|
return React.createElement(customElements.getName(TemplateDialogWC) ?? 'template-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
183
183
|
});
|
|
184
184
|
|
|
185
|
-
const
|
|
185
|
+
const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
|
|
186
186
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
187
187
|
const _innerRef = React.useRef(null);
|
|
188
188
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -201,10 +201,10 @@ const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, r
|
|
|
201
201
|
el.removeEventListener('edit', _onEditFn);
|
|
202
202
|
};
|
|
203
203
|
}, []);
|
|
204
|
-
return React.createElement(customElements.getName(
|
|
204
|
+
return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
205
205
|
});
|
|
206
206
|
|
|
207
|
-
const
|
|
207
|
+
const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
|
|
208
208
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
209
209
|
const _innerRef = React.useRef(null);
|
|
210
210
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -223,7 +223,7 @@ const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(prop
|
|
|
223
223
|
el.removeEventListener('edit', _onEditFn);
|
|
224
224
|
};
|
|
225
225
|
}, []);
|
|
226
|
-
return React.createElement(customElements.getName(
|
|
226
|
+
return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
227
227
|
});
|
|
228
228
|
|
|
229
229
|
const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
|
|
@@ -248,7 +248,7 @@ const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref)
|
|
|
248
248
|
return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
249
249
|
});
|
|
250
250
|
|
|
251
|
-
const
|
|
251
|
+
const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
|
|
252
252
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
253
253
|
const _innerRef = React.useRef(null);
|
|
254
254
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -267,10 +267,10 @@ const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(
|
|
|
267
267
|
el.removeEventListener('edit', _onEditFn);
|
|
268
268
|
};
|
|
269
269
|
}, []);
|
|
270
|
-
return React.createElement(customElements.getName(
|
|
270
|
+
return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
271
271
|
});
|
|
272
272
|
|
|
273
|
-
const
|
|
273
|
+
const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
|
|
274
274
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
275
275
|
const _innerRef = React.useRef(null);
|
|
276
276
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -289,7 +289,7 @@ const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuil
|
|
|
289
289
|
el.removeEventListener('edit', _onEditFn);
|
|
290
290
|
};
|
|
291
291
|
}, []);
|
|
292
|
-
return React.createElement(customElements.getName(
|
|
292
|
+
return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
293
293
|
});
|
|
294
294
|
|
|
295
295
|
module.exports = {
|
|
@@ -311,9 +311,9 @@ module.exports = {
|
|
|
311
311
|
ScreenRouteManagement,
|
|
312
312
|
RuleDialog,
|
|
313
313
|
TemplateDialog,
|
|
314
|
-
RuleConditionGroup,
|
|
315
314
|
RuleConditionBuilder,
|
|
315
|
+
RuleConditionGroup,
|
|
316
316
|
ParameterBuilder,
|
|
317
|
-
TemplateConditionGroup,
|
|
318
317
|
TemplateConditionBuilder,
|
|
318
|
+
TemplateConditionGroup,
|
|
319
319
|
};
|
package/dist/react.mjs
CHANGED
|
@@ -180,7 +180,7 @@ export const TemplateDialog = React.forwardRef(function TemplateDialog(props, re
|
|
|
180
180
|
return React.createElement(customElements.getName(TemplateDialogWC) ?? 'template-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
181
181
|
});
|
|
182
182
|
|
|
183
|
-
export const
|
|
183
|
+
export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
|
|
184
184
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
185
185
|
const _innerRef = React.useRef(null);
|
|
186
186
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -199,10 +199,10 @@ export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(p
|
|
|
199
199
|
el.removeEventListener('edit', _onEditFn);
|
|
200
200
|
};
|
|
201
201
|
}, []);
|
|
202
|
-
return React.createElement(customElements.getName(
|
|
202
|
+
return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
203
203
|
});
|
|
204
204
|
|
|
205
|
-
export const
|
|
205
|
+
export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
|
|
206
206
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
207
207
|
const _innerRef = React.useRef(null);
|
|
208
208
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -221,7 +221,7 @@ export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuild
|
|
|
221
221
|
el.removeEventListener('edit', _onEditFn);
|
|
222
222
|
};
|
|
223
223
|
}, []);
|
|
224
|
-
return React.createElement(customElements.getName(
|
|
224
|
+
return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
225
225
|
});
|
|
226
226
|
|
|
227
227
|
export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
|
|
@@ -246,7 +246,7 @@ export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props
|
|
|
246
246
|
return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
247
247
|
});
|
|
248
248
|
|
|
249
|
-
export const
|
|
249
|
+
export const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
|
|
250
250
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
251
251
|
const _innerRef = React.useRef(null);
|
|
252
252
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -265,10 +265,10 @@ export const TemplateConditionGroup = React.forwardRef(function TemplateConditio
|
|
|
265
265
|
el.removeEventListener('edit', _onEditFn);
|
|
266
266
|
};
|
|
267
267
|
}, []);
|
|
268
|
-
return React.createElement(customElements.getName(
|
|
268
|
+
return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
269
269
|
});
|
|
270
270
|
|
|
271
|
-
export const
|
|
271
|
+
export const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
|
|
272
272
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
273
273
|
const _innerRef = React.useRef(null);
|
|
274
274
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -287,5 +287,5 @@ export const TemplateConditionBuilder = React.forwardRef(function TemplateCondit
|
|
|
287
287
|
el.removeEventListener('edit', _onEditFn);
|
|
288
288
|
};
|
|
289
289
|
}, []);
|
|
290
|
-
return React.createElement(customElements.getName(
|
|
290
|
+
return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
291
291
|
});
|
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.1.0",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"workspaces": [
|
|
7
7
|
"client"
|
|
@@ -83,30 +83,30 @@
|
|
|
83
83
|
"@commitlint/format": "^19.0.3",
|
|
84
84
|
"@genesiscommunitysuccess/cep-fast-plugin": "5.0.3",
|
|
85
85
|
"@genesiscommunitysuccess/custom-elements-lsp": "5.0.3",
|
|
86
|
-
"@genesislcap/design-system-configurator": "15.
|
|
87
|
-
"@genesislcap/eslint-config": "15.
|
|
88
|
-
"@genesislcap/eslint-stylelint-builder": "15.
|
|
89
|
-
"@genesislcap/foundation-testing": "15.
|
|
90
|
-
"@genesislcap/genx": "15.
|
|
91
|
-
"@genesislcap/prettier-config": "15.
|
|
92
|
-
"@genesislcap/stylelint-config": "15.
|
|
93
|
-
"@genesislcap/vite-builder": "15.
|
|
94
|
-
"@genesislcap/webpack-builder": "15.
|
|
86
|
+
"@genesislcap/design-system-configurator": "15.1.0",
|
|
87
|
+
"@genesislcap/eslint-config": "15.1.0",
|
|
88
|
+
"@genesislcap/eslint-stylelint-builder": "15.1.0",
|
|
89
|
+
"@genesislcap/foundation-testing": "15.1.0",
|
|
90
|
+
"@genesislcap/genx": "15.1.0",
|
|
91
|
+
"@genesislcap/prettier-config": "15.1.0",
|
|
92
|
+
"@genesislcap/stylelint-config": "15.1.0",
|
|
93
|
+
"@genesislcap/vite-builder": "15.1.0",
|
|
94
|
+
"@genesislcap/webpack-builder": "15.1.0",
|
|
95
95
|
"dayjs": "^1.11.7"
|
|
96
96
|
},
|
|
97
97
|
"dependencies": {
|
|
98
|
-
"@genesislcap/foundation-comms": "15.
|
|
99
|
-
"@genesislcap/foundation-criteria": "15.
|
|
100
|
-
"@genesislcap/foundation-entity-management": "15.
|
|
101
|
-
"@genesislcap/foundation-forms": "15.
|
|
102
|
-
"@genesislcap/foundation-layout": "15.
|
|
103
|
-
"@genesislcap/foundation-logger": "15.
|
|
104
|
-
"@genesislcap/foundation-notifications": "15.
|
|
105
|
-
"@genesislcap/foundation-ui": "15.
|
|
106
|
-
"@genesislcap/foundation-utils": "15.
|
|
107
|
-
"@genesislcap/rapid-design-system": "15.
|
|
108
|
-
"@genesislcap/rapid-grid-pro": "15.
|
|
109
|
-
"@genesislcap/web-core": "15.
|
|
98
|
+
"@genesislcap/foundation-comms": "15.1.0",
|
|
99
|
+
"@genesislcap/foundation-criteria": "15.1.0",
|
|
100
|
+
"@genesislcap/foundation-entity-management": "15.1.0",
|
|
101
|
+
"@genesislcap/foundation-forms": "15.1.0",
|
|
102
|
+
"@genesislcap/foundation-layout": "15.1.0",
|
|
103
|
+
"@genesislcap/foundation-logger": "15.1.0",
|
|
104
|
+
"@genesislcap/foundation-notifications": "15.1.0",
|
|
105
|
+
"@genesislcap/foundation-ui": "15.1.0",
|
|
106
|
+
"@genesislcap/foundation-utils": "15.1.0",
|
|
107
|
+
"@genesislcap/rapid-design-system": "15.1.0",
|
|
108
|
+
"@genesislcap/rapid-grid-pro": "15.1.0",
|
|
109
|
+
"@genesislcap/web-core": "15.1.0",
|
|
110
110
|
"lodash.debounce": "^4.0.8",
|
|
111
111
|
"rxjs": "^7.5.4"
|
|
112
112
|
},
|
|
@@ -114,5 +114,5 @@
|
|
|
114
114
|
"access": "public"
|
|
115
115
|
},
|
|
116
116
|
"customElements": "dist/custom-elements.json",
|
|
117
|
-
"gitHead": "
|
|
117
|
+
"gitHead": "f841e54c9b682f3cf01448a9db79d67a66b88c84"
|
|
118
118
|
}
|