@genesislcap/pbc-notify-ui 15.21.0 → 15.21.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 +307 -307
- package/dist/dts/react.d.ts +9 -9
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +22 -22
|
@@ -324,21 +324,157 @@
|
|
|
324
324
|
},
|
|
325
325
|
{
|
|
326
326
|
"kind": "javascript-module",
|
|
327
|
-
"path": "src/
|
|
327
|
+
"path": "src/services/alert.service.ts",
|
|
328
328
|
"declarations": [
|
|
329
329
|
{
|
|
330
330
|
"kind": "variable",
|
|
331
|
-
"name": "
|
|
332
|
-
"default": "css`\n ::-webkit-scrollbar {\n width: calc((var(--base-height-multiplier) + var(--design-unit)) * 1px);\n }\n\n ::-webkit-scrollbar-track {\n background: var(--neutral-layer-1);\n }\n\n ::-webkit-scrollbar-thumb {\n background: var(--neutral-fill-rest);\n }\n`"
|
|
331
|
+
"name": "AlertService"
|
|
333
332
|
}
|
|
334
333
|
],
|
|
335
334
|
"exports": [
|
|
336
335
|
{
|
|
337
336
|
"kind": "js",
|
|
338
|
-
"name": "
|
|
337
|
+
"name": "AlertService",
|
|
339
338
|
"declaration": {
|
|
340
|
-
"name": "
|
|
341
|
-
"module": "src/
|
|
339
|
+
"name": "AlertService",
|
|
340
|
+
"module": "src/services/alert.service.ts"
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
]
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"kind": "javascript-module",
|
|
347
|
+
"path": "src/services/inbox.service.ts",
|
|
348
|
+
"declarations": [
|
|
349
|
+
{
|
|
350
|
+
"kind": "variable",
|
|
351
|
+
"name": "INBOX_PAGE_SIZE",
|
|
352
|
+
"type": {
|
|
353
|
+
"text": "number"
|
|
354
|
+
},
|
|
355
|
+
"default": "20",
|
|
356
|
+
"description": "Number of alert rows fetched per data server batch. The first batch is loaded\non subscribe; subsequent batches are fetched via FoundationInboxService.getMoreRows."
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"kind": "variable",
|
|
360
|
+
"name": "FoundationInboxService"
|
|
361
|
+
}
|
|
362
|
+
],
|
|
363
|
+
"exports": [
|
|
364
|
+
{
|
|
365
|
+
"kind": "js",
|
|
366
|
+
"name": "INBOX_PAGE_SIZE",
|
|
367
|
+
"declaration": {
|
|
368
|
+
"name": "INBOX_PAGE_SIZE",
|
|
369
|
+
"module": "src/services/inbox.service.ts"
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"kind": "js",
|
|
374
|
+
"name": "FoundationInboxService",
|
|
375
|
+
"declaration": {
|
|
376
|
+
"name": "FoundationInboxService",
|
|
377
|
+
"module": "src/services/inbox.service.ts"
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
]
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"kind": "javascript-module",
|
|
384
|
+
"path": "src/services/notify-route.service.ts",
|
|
385
|
+
"declarations": [
|
|
386
|
+
{
|
|
387
|
+
"kind": "variable",
|
|
388
|
+
"name": "NotifyRouteService"
|
|
389
|
+
}
|
|
390
|
+
],
|
|
391
|
+
"exports": [
|
|
392
|
+
{
|
|
393
|
+
"kind": "js",
|
|
394
|
+
"name": "NotifyRouteService",
|
|
395
|
+
"declaration": {
|
|
396
|
+
"name": "NotifyRouteService",
|
|
397
|
+
"module": "src/services/notify-route.service.ts"
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
]
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"kind": "javascript-module",
|
|
404
|
+
"path": "src/services/notify.service.ts",
|
|
405
|
+
"declarations": [
|
|
406
|
+
{
|
|
407
|
+
"kind": "variable",
|
|
408
|
+
"name": "NotifyService"
|
|
409
|
+
}
|
|
410
|
+
],
|
|
411
|
+
"exports": [
|
|
412
|
+
{
|
|
413
|
+
"kind": "js",
|
|
414
|
+
"name": "NotifyService",
|
|
415
|
+
"declaration": {
|
|
416
|
+
"name": "NotifyService",
|
|
417
|
+
"module": "src/services/notify.service.ts"
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
]
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"kind": "javascript-module",
|
|
424
|
+
"path": "src/services/rule.service.ts",
|
|
425
|
+
"declarations": [
|
|
426
|
+
{
|
|
427
|
+
"kind": "variable",
|
|
428
|
+
"name": "RuleService"
|
|
429
|
+
}
|
|
430
|
+
],
|
|
431
|
+
"exports": [
|
|
432
|
+
{
|
|
433
|
+
"kind": "js",
|
|
434
|
+
"name": "RuleService",
|
|
435
|
+
"declaration": {
|
|
436
|
+
"name": "RuleService",
|
|
437
|
+
"module": "src/services/rule.service.ts"
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
]
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"kind": "javascript-module",
|
|
444
|
+
"path": "src/services/system.service.ts",
|
|
445
|
+
"declarations": [
|
|
446
|
+
{
|
|
447
|
+
"kind": "variable",
|
|
448
|
+
"name": "SystemService"
|
|
449
|
+
}
|
|
450
|
+
],
|
|
451
|
+
"exports": [
|
|
452
|
+
{
|
|
453
|
+
"kind": "js",
|
|
454
|
+
"name": "SystemService",
|
|
455
|
+
"declaration": {
|
|
456
|
+
"name": "SystemService",
|
|
457
|
+
"module": "src/services/system.service.ts"
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
]
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
"kind": "javascript-module",
|
|
464
|
+
"path": "src/services/template.service.ts",
|
|
465
|
+
"declarations": [
|
|
466
|
+
{
|
|
467
|
+
"kind": "variable",
|
|
468
|
+
"name": "TemplateService"
|
|
469
|
+
}
|
|
470
|
+
],
|
|
471
|
+
"exports": [
|
|
472
|
+
{
|
|
473
|
+
"kind": "js",
|
|
474
|
+
"name": "TemplateService",
|
|
475
|
+
"declaration": {
|
|
476
|
+
"name": "TemplateService",
|
|
477
|
+
"module": "src/services/template.service.ts"
|
|
342
478
|
}
|
|
343
479
|
}
|
|
344
480
|
]
|
|
@@ -664,6 +800,27 @@
|
|
|
664
800
|
}
|
|
665
801
|
]
|
|
666
802
|
},
|
|
803
|
+
{
|
|
804
|
+
"kind": "javascript-module",
|
|
805
|
+
"path": "src/styles/scrollbar.styles.ts",
|
|
806
|
+
"declarations": [
|
|
807
|
+
{
|
|
808
|
+
"kind": "variable",
|
|
809
|
+
"name": "scrollbarStyles",
|
|
810
|
+
"default": "css`\n ::-webkit-scrollbar {\n width: calc((var(--base-height-multiplier) + var(--design-unit)) * 1px);\n }\n\n ::-webkit-scrollbar-track {\n background: var(--neutral-layer-1);\n }\n\n ::-webkit-scrollbar-thumb {\n background: var(--neutral-fill-rest);\n }\n`"
|
|
811
|
+
}
|
|
812
|
+
],
|
|
813
|
+
"exports": [
|
|
814
|
+
{
|
|
815
|
+
"kind": "js",
|
|
816
|
+
"name": "scrollbarStyles",
|
|
817
|
+
"declaration": {
|
|
818
|
+
"name": "scrollbarStyles",
|
|
819
|
+
"module": "src/styles/scrollbar.styles.ts"
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
]
|
|
823
|
+
},
|
|
667
824
|
{
|
|
668
825
|
"kind": "javascript-module",
|
|
669
826
|
"path": "src/components/foundation-inbox/inbox.styles.ts",
|
|
@@ -3319,164 +3476,7 @@
|
|
|
3319
3476
|
},
|
|
3320
3477
|
{
|
|
3321
3478
|
"kind": "javascript-module",
|
|
3322
|
-
"path": "src/
|
|
3323
|
-
"declarations": [
|
|
3324
|
-
{
|
|
3325
|
-
"kind": "variable",
|
|
3326
|
-
"name": "AlertService"
|
|
3327
|
-
}
|
|
3328
|
-
],
|
|
3329
|
-
"exports": [
|
|
3330
|
-
{
|
|
3331
|
-
"kind": "js",
|
|
3332
|
-
"name": "AlertService",
|
|
3333
|
-
"declaration": {
|
|
3334
|
-
"name": "AlertService",
|
|
3335
|
-
"module": "src/services/alert.service.ts"
|
|
3336
|
-
}
|
|
3337
|
-
}
|
|
3338
|
-
]
|
|
3339
|
-
},
|
|
3340
|
-
{
|
|
3341
|
-
"kind": "javascript-module",
|
|
3342
|
-
"path": "src/services/inbox.service.ts",
|
|
3343
|
-
"declarations": [
|
|
3344
|
-
{
|
|
3345
|
-
"kind": "variable",
|
|
3346
|
-
"name": "INBOX_PAGE_SIZE",
|
|
3347
|
-
"type": {
|
|
3348
|
-
"text": "number"
|
|
3349
|
-
},
|
|
3350
|
-
"default": "20",
|
|
3351
|
-
"description": "Number of alert rows fetched per data server batch. The first batch is loaded\non subscribe; subsequent batches are fetched via FoundationInboxService.getMoreRows."
|
|
3352
|
-
},
|
|
3353
|
-
{
|
|
3354
|
-
"kind": "variable",
|
|
3355
|
-
"name": "FoundationInboxService"
|
|
3356
|
-
}
|
|
3357
|
-
],
|
|
3358
|
-
"exports": [
|
|
3359
|
-
{
|
|
3360
|
-
"kind": "js",
|
|
3361
|
-
"name": "INBOX_PAGE_SIZE",
|
|
3362
|
-
"declaration": {
|
|
3363
|
-
"name": "INBOX_PAGE_SIZE",
|
|
3364
|
-
"module": "src/services/inbox.service.ts"
|
|
3365
|
-
}
|
|
3366
|
-
},
|
|
3367
|
-
{
|
|
3368
|
-
"kind": "js",
|
|
3369
|
-
"name": "FoundationInboxService",
|
|
3370
|
-
"declaration": {
|
|
3371
|
-
"name": "FoundationInboxService",
|
|
3372
|
-
"module": "src/services/inbox.service.ts"
|
|
3373
|
-
}
|
|
3374
|
-
}
|
|
3375
|
-
]
|
|
3376
|
-
},
|
|
3377
|
-
{
|
|
3378
|
-
"kind": "javascript-module",
|
|
3379
|
-
"path": "src/services/notify-route.service.ts",
|
|
3380
|
-
"declarations": [
|
|
3381
|
-
{
|
|
3382
|
-
"kind": "variable",
|
|
3383
|
-
"name": "NotifyRouteService"
|
|
3384
|
-
}
|
|
3385
|
-
],
|
|
3386
|
-
"exports": [
|
|
3387
|
-
{
|
|
3388
|
-
"kind": "js",
|
|
3389
|
-
"name": "NotifyRouteService",
|
|
3390
|
-
"declaration": {
|
|
3391
|
-
"name": "NotifyRouteService",
|
|
3392
|
-
"module": "src/services/notify-route.service.ts"
|
|
3393
|
-
}
|
|
3394
|
-
}
|
|
3395
|
-
]
|
|
3396
|
-
},
|
|
3397
|
-
{
|
|
3398
|
-
"kind": "javascript-module",
|
|
3399
|
-
"path": "src/services/notify.service.ts",
|
|
3400
|
-
"declarations": [
|
|
3401
|
-
{
|
|
3402
|
-
"kind": "variable",
|
|
3403
|
-
"name": "NotifyService"
|
|
3404
|
-
}
|
|
3405
|
-
],
|
|
3406
|
-
"exports": [
|
|
3407
|
-
{
|
|
3408
|
-
"kind": "js",
|
|
3409
|
-
"name": "NotifyService",
|
|
3410
|
-
"declaration": {
|
|
3411
|
-
"name": "NotifyService",
|
|
3412
|
-
"module": "src/services/notify.service.ts"
|
|
3413
|
-
}
|
|
3414
|
-
}
|
|
3415
|
-
]
|
|
3416
|
-
},
|
|
3417
|
-
{
|
|
3418
|
-
"kind": "javascript-module",
|
|
3419
|
-
"path": "src/services/rule.service.ts",
|
|
3420
|
-
"declarations": [
|
|
3421
|
-
{
|
|
3422
|
-
"kind": "variable",
|
|
3423
|
-
"name": "RuleService"
|
|
3424
|
-
}
|
|
3425
|
-
],
|
|
3426
|
-
"exports": [
|
|
3427
|
-
{
|
|
3428
|
-
"kind": "js",
|
|
3429
|
-
"name": "RuleService",
|
|
3430
|
-
"declaration": {
|
|
3431
|
-
"name": "RuleService",
|
|
3432
|
-
"module": "src/services/rule.service.ts"
|
|
3433
|
-
}
|
|
3434
|
-
}
|
|
3435
|
-
]
|
|
3436
|
-
},
|
|
3437
|
-
{
|
|
3438
|
-
"kind": "javascript-module",
|
|
3439
|
-
"path": "src/services/system.service.ts",
|
|
3440
|
-
"declarations": [
|
|
3441
|
-
{
|
|
3442
|
-
"kind": "variable",
|
|
3443
|
-
"name": "SystemService"
|
|
3444
|
-
}
|
|
3445
|
-
],
|
|
3446
|
-
"exports": [
|
|
3447
|
-
{
|
|
3448
|
-
"kind": "js",
|
|
3449
|
-
"name": "SystemService",
|
|
3450
|
-
"declaration": {
|
|
3451
|
-
"name": "SystemService",
|
|
3452
|
-
"module": "src/services/system.service.ts"
|
|
3453
|
-
}
|
|
3454
|
-
}
|
|
3455
|
-
]
|
|
3456
|
-
},
|
|
3457
|
-
{
|
|
3458
|
-
"kind": "javascript-module",
|
|
3459
|
-
"path": "src/services/template.service.ts",
|
|
3460
|
-
"declarations": [
|
|
3461
|
-
{
|
|
3462
|
-
"kind": "variable",
|
|
3463
|
-
"name": "TemplateService"
|
|
3464
|
-
}
|
|
3465
|
-
],
|
|
3466
|
-
"exports": [
|
|
3467
|
-
{
|
|
3468
|
-
"kind": "js",
|
|
3469
|
-
"name": "TemplateService",
|
|
3470
|
-
"declaration": {
|
|
3471
|
-
"name": "TemplateService",
|
|
3472
|
-
"module": "src/services/template.service.ts"
|
|
3473
|
-
}
|
|
3474
|
-
}
|
|
3475
|
-
]
|
|
3476
|
-
},
|
|
3477
|
-
{
|
|
3478
|
-
"kind": "javascript-module",
|
|
3479
|
-
"path": "src/components/foundation-inbox/inbox-base/inbox-base.ts",
|
|
3479
|
+
"path": "src/components/foundation-inbox/inbox-base/inbox-base.ts",
|
|
3480
3480
|
"declarations": [
|
|
3481
3481
|
{
|
|
3482
3482
|
"kind": "class",
|
|
@@ -4918,6 +4918,149 @@
|
|
|
4918
4918
|
}
|
|
4919
4919
|
]
|
|
4920
4920
|
},
|
|
4921
|
+
{
|
|
4922
|
+
"kind": "javascript-module",
|
|
4923
|
+
"path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts",
|
|
4924
|
+
"declarations": [
|
|
4925
|
+
{
|
|
4926
|
+
"kind": "variable",
|
|
4927
|
+
"name": "noItemsClass",
|
|
4928
|
+
"type": {
|
|
4929
|
+
"text": "string"
|
|
4930
|
+
},
|
|
4931
|
+
"default": "'no-items'",
|
|
4932
|
+
"description": "Class to use when there are no items"
|
|
4933
|
+
},
|
|
4934
|
+
{
|
|
4935
|
+
"kind": "variable",
|
|
4936
|
+
"name": "FoundationInboxCounterStyles",
|
|
4937
|
+
"default": "css`\n :host {\n display: inline-block;\n min-width: 16px;\n height: 16px;\n border-radius: 9px;\n text-align: center;\n color: #fff;\n line-height: 16px;\n font-size: 9px;\n font-weight: 700;\n background: ${BACKGROUND_COLOR};\n pointer-events: none;\n }\n\n .hidden {\n visibility: hidden;\n }\n\n :host(.${noItemsClass}) {\n display: none;\n }\n`"
|
|
4938
|
+
}
|
|
4939
|
+
],
|
|
4940
|
+
"exports": [
|
|
4941
|
+
{
|
|
4942
|
+
"kind": "js",
|
|
4943
|
+
"name": "noItemsClass",
|
|
4944
|
+
"declaration": {
|
|
4945
|
+
"name": "noItemsClass",
|
|
4946
|
+
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
|
|
4947
|
+
}
|
|
4948
|
+
},
|
|
4949
|
+
{
|
|
4950
|
+
"kind": "js",
|
|
4951
|
+
"name": "FoundationInboxCounterStyles",
|
|
4952
|
+
"declaration": {
|
|
4953
|
+
"name": "FoundationInboxCounterStyles",
|
|
4954
|
+
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
|
|
4955
|
+
}
|
|
4956
|
+
}
|
|
4957
|
+
]
|
|
4958
|
+
},
|
|
4959
|
+
{
|
|
4960
|
+
"kind": "javascript-module",
|
|
4961
|
+
"path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts",
|
|
4962
|
+
"declarations": [
|
|
4963
|
+
{
|
|
4964
|
+
"kind": "variable",
|
|
4965
|
+
"name": "FoundationInboxCounterTemplate",
|
|
4966
|
+
"default": "html<FoundationInboxCounter>`\n <template class=\"${(x) => classNames([noItemsClass, x.value < 1])}\">\n ${when(\n (x) => x.value > 0,\n html`\n ${(x) => (x.value > MAX_NUMBER_TO_DISPLAY ? `${MAX_NUMBER_TO_DISPLAY}+` : x.value)}\n `,\n )}\n </template>\n`"
|
|
4967
|
+
}
|
|
4968
|
+
],
|
|
4969
|
+
"exports": [
|
|
4970
|
+
{
|
|
4971
|
+
"kind": "js",
|
|
4972
|
+
"name": "FoundationInboxCounterTemplate",
|
|
4973
|
+
"declaration": {
|
|
4974
|
+
"name": "FoundationInboxCounterTemplate",
|
|
4975
|
+
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts"
|
|
4976
|
+
}
|
|
4977
|
+
}
|
|
4978
|
+
]
|
|
4979
|
+
},
|
|
4980
|
+
{
|
|
4981
|
+
"kind": "javascript-module",
|
|
4982
|
+
"path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts",
|
|
4983
|
+
"declarations": [
|
|
4984
|
+
{
|
|
4985
|
+
"kind": "class",
|
|
4986
|
+
"description": "",
|
|
4987
|
+
"name": "FoundationInboxCounter",
|
|
4988
|
+
"members": [
|
|
4989
|
+
{
|
|
4990
|
+
"kind": "field",
|
|
4991
|
+
"name": "value",
|
|
4992
|
+
"type": {
|
|
4993
|
+
"text": "number"
|
|
4994
|
+
},
|
|
4995
|
+
"default": "0"
|
|
4996
|
+
},
|
|
4997
|
+
{
|
|
4998
|
+
"kind": "field",
|
|
4999
|
+
"name": "connect",
|
|
5000
|
+
"type": {
|
|
5001
|
+
"text": "Connect"
|
|
5002
|
+
}
|
|
5003
|
+
},
|
|
5004
|
+
{
|
|
5005
|
+
"kind": "field",
|
|
5006
|
+
"name": "inboxService",
|
|
5007
|
+
"type": {
|
|
5008
|
+
"text": "FoundationInboxService"
|
|
5009
|
+
}
|
|
5010
|
+
},
|
|
5011
|
+
{
|
|
5012
|
+
"kind": "field",
|
|
5013
|
+
"name": "connectionSub",
|
|
5014
|
+
"type": {
|
|
5015
|
+
"text": "Subscription"
|
|
5016
|
+
},
|
|
5017
|
+
"privacy": "private"
|
|
5018
|
+
},
|
|
5019
|
+
{
|
|
5020
|
+
"kind": "method",
|
|
5021
|
+
"name": "subscribeToAlerts",
|
|
5022
|
+
"privacy": "private",
|
|
5023
|
+
"return": {
|
|
5024
|
+
"type": {
|
|
5025
|
+
"text": "Promise<void>"
|
|
5026
|
+
}
|
|
5027
|
+
},
|
|
5028
|
+
"description": "Subscribes to alerts from the inbox service"
|
|
5029
|
+
},
|
|
5030
|
+
{
|
|
5031
|
+
"kind": "field",
|
|
5032
|
+
"name": "subscriptionHandler",
|
|
5033
|
+
"privacy": "private",
|
|
5034
|
+
"description": "Handles subscription updates from the inbox service"
|
|
5035
|
+
}
|
|
5036
|
+
],
|
|
5037
|
+
"superclass": {
|
|
5038
|
+
"name": "GenesisElement",
|
|
5039
|
+
"package": "@genesislcap/web-core"
|
|
5040
|
+
},
|
|
5041
|
+
"tagName": "foundation-inbox-counter",
|
|
5042
|
+
"customElement": true
|
|
5043
|
+
}
|
|
5044
|
+
],
|
|
5045
|
+
"exports": [
|
|
5046
|
+
{
|
|
5047
|
+
"kind": "js",
|
|
5048
|
+
"name": "FoundationInboxCounter",
|
|
5049
|
+
"declaration": {
|
|
5050
|
+
"name": "FoundationInboxCounter",
|
|
5051
|
+
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
|
|
5052
|
+
}
|
|
5053
|
+
},
|
|
5054
|
+
{
|
|
5055
|
+
"kind": "custom-element-definition",
|
|
5056
|
+
"name": "foundation-inbox-counter",
|
|
5057
|
+
"declaration": {
|
|
5058
|
+
"name": "FoundationInboxCounter",
|
|
5059
|
+
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
|
|
5060
|
+
}
|
|
5061
|
+
}
|
|
5062
|
+
]
|
|
5063
|
+
},
|
|
4921
5064
|
{
|
|
4922
5065
|
"kind": "javascript-module",
|
|
4923
5066
|
"path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts",
|
|
@@ -6244,149 +6387,6 @@
|
|
|
6244
6387
|
}
|
|
6245
6388
|
]
|
|
6246
6389
|
},
|
|
6247
|
-
{
|
|
6248
|
-
"kind": "javascript-module",
|
|
6249
|
-
"path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts",
|
|
6250
|
-
"declarations": [
|
|
6251
|
-
{
|
|
6252
|
-
"kind": "variable",
|
|
6253
|
-
"name": "noItemsClass",
|
|
6254
|
-
"type": {
|
|
6255
|
-
"text": "string"
|
|
6256
|
-
},
|
|
6257
|
-
"default": "'no-items'",
|
|
6258
|
-
"description": "Class to use when there are no items"
|
|
6259
|
-
},
|
|
6260
|
-
{
|
|
6261
|
-
"kind": "variable",
|
|
6262
|
-
"name": "FoundationInboxCounterStyles",
|
|
6263
|
-
"default": "css`\n :host {\n display: inline-block;\n min-width: 16px;\n height: 16px;\n border-radius: 9px;\n text-align: center;\n color: #fff;\n line-height: 16px;\n font-size: 9px;\n font-weight: 700;\n background: ${BACKGROUND_COLOR};\n pointer-events: none;\n }\n\n .hidden {\n visibility: hidden;\n }\n\n :host(.${noItemsClass}) {\n display: none;\n }\n`"
|
|
6264
|
-
}
|
|
6265
|
-
],
|
|
6266
|
-
"exports": [
|
|
6267
|
-
{
|
|
6268
|
-
"kind": "js",
|
|
6269
|
-
"name": "noItemsClass",
|
|
6270
|
-
"declaration": {
|
|
6271
|
-
"name": "noItemsClass",
|
|
6272
|
-
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
|
|
6273
|
-
}
|
|
6274
|
-
},
|
|
6275
|
-
{
|
|
6276
|
-
"kind": "js",
|
|
6277
|
-
"name": "FoundationInboxCounterStyles",
|
|
6278
|
-
"declaration": {
|
|
6279
|
-
"name": "FoundationInboxCounterStyles",
|
|
6280
|
-
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
|
|
6281
|
-
}
|
|
6282
|
-
}
|
|
6283
|
-
]
|
|
6284
|
-
},
|
|
6285
|
-
{
|
|
6286
|
-
"kind": "javascript-module",
|
|
6287
|
-
"path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts",
|
|
6288
|
-
"declarations": [
|
|
6289
|
-
{
|
|
6290
|
-
"kind": "variable",
|
|
6291
|
-
"name": "FoundationInboxCounterTemplate",
|
|
6292
|
-
"default": "html<FoundationInboxCounter>`\n <template class=\"${(x) => classNames([noItemsClass, x.value < 1])}\">\n ${when(\n (x) => x.value > 0,\n html`\n ${(x) => (x.value > MAX_NUMBER_TO_DISPLAY ? `${MAX_NUMBER_TO_DISPLAY}+` : x.value)}\n `,\n )}\n </template>\n`"
|
|
6293
|
-
}
|
|
6294
|
-
],
|
|
6295
|
-
"exports": [
|
|
6296
|
-
{
|
|
6297
|
-
"kind": "js",
|
|
6298
|
-
"name": "FoundationInboxCounterTemplate",
|
|
6299
|
-
"declaration": {
|
|
6300
|
-
"name": "FoundationInboxCounterTemplate",
|
|
6301
|
-
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts"
|
|
6302
|
-
}
|
|
6303
|
-
}
|
|
6304
|
-
]
|
|
6305
|
-
},
|
|
6306
|
-
{
|
|
6307
|
-
"kind": "javascript-module",
|
|
6308
|
-
"path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts",
|
|
6309
|
-
"declarations": [
|
|
6310
|
-
{
|
|
6311
|
-
"kind": "class",
|
|
6312
|
-
"description": "",
|
|
6313
|
-
"name": "FoundationInboxCounter",
|
|
6314
|
-
"members": [
|
|
6315
|
-
{
|
|
6316
|
-
"kind": "field",
|
|
6317
|
-
"name": "value",
|
|
6318
|
-
"type": {
|
|
6319
|
-
"text": "number"
|
|
6320
|
-
},
|
|
6321
|
-
"default": "0"
|
|
6322
|
-
},
|
|
6323
|
-
{
|
|
6324
|
-
"kind": "field",
|
|
6325
|
-
"name": "connect",
|
|
6326
|
-
"type": {
|
|
6327
|
-
"text": "Connect"
|
|
6328
|
-
}
|
|
6329
|
-
},
|
|
6330
|
-
{
|
|
6331
|
-
"kind": "field",
|
|
6332
|
-
"name": "inboxService",
|
|
6333
|
-
"type": {
|
|
6334
|
-
"text": "FoundationInboxService"
|
|
6335
|
-
}
|
|
6336
|
-
},
|
|
6337
|
-
{
|
|
6338
|
-
"kind": "field",
|
|
6339
|
-
"name": "connectionSub",
|
|
6340
|
-
"type": {
|
|
6341
|
-
"text": "Subscription"
|
|
6342
|
-
},
|
|
6343
|
-
"privacy": "private"
|
|
6344
|
-
},
|
|
6345
|
-
{
|
|
6346
|
-
"kind": "method",
|
|
6347
|
-
"name": "subscribeToAlerts",
|
|
6348
|
-
"privacy": "private",
|
|
6349
|
-
"return": {
|
|
6350
|
-
"type": {
|
|
6351
|
-
"text": "Promise<void>"
|
|
6352
|
-
}
|
|
6353
|
-
},
|
|
6354
|
-
"description": "Subscribes to alerts from the inbox service"
|
|
6355
|
-
},
|
|
6356
|
-
{
|
|
6357
|
-
"kind": "field",
|
|
6358
|
-
"name": "subscriptionHandler",
|
|
6359
|
-
"privacy": "private",
|
|
6360
|
-
"description": "Handles subscription updates from the inbox service"
|
|
6361
|
-
}
|
|
6362
|
-
],
|
|
6363
|
-
"superclass": {
|
|
6364
|
-
"name": "GenesisElement",
|
|
6365
|
-
"package": "@genesislcap/web-core"
|
|
6366
|
-
},
|
|
6367
|
-
"tagName": "foundation-inbox-counter",
|
|
6368
|
-
"customElement": true
|
|
6369
|
-
}
|
|
6370
|
-
],
|
|
6371
|
-
"exports": [
|
|
6372
|
-
{
|
|
6373
|
-
"kind": "js",
|
|
6374
|
-
"name": "FoundationInboxCounter",
|
|
6375
|
-
"declaration": {
|
|
6376
|
-
"name": "FoundationInboxCounter",
|
|
6377
|
-
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
|
|
6378
|
-
}
|
|
6379
|
-
},
|
|
6380
|
-
{
|
|
6381
|
-
"kind": "custom-element-definition",
|
|
6382
|
-
"name": "foundation-inbox-counter",
|
|
6383
|
-
"declaration": {
|
|
6384
|
-
"name": "FoundationInboxCounter",
|
|
6385
|
-
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
|
|
6386
|
-
}
|
|
6387
|
-
}
|
|
6388
|
-
]
|
|
6389
|
-
},
|
|
6390
6390
|
{
|
|
6391
6391
|
"kind": "javascript-module",
|
|
6392
6392
|
"path": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts",
|
package/dist/dts/react.d.ts
CHANGED
|
@@ -106,6 +106,15 @@ export declare const FoundationSounds: React.ForwardRefExoticComponent<
|
|
|
106
106
|
>;
|
|
107
107
|
export type FoundationSoundsRef = FoundationSoundsWC;
|
|
108
108
|
|
|
109
|
+
export declare const FoundationInboxCounter: React.ForwardRefExoticComponent<
|
|
110
|
+
React.PropsWithChildren<
|
|
111
|
+
Omit<PublicOf<FoundationInboxCounterWC>, 'children' | 'style'> &
|
|
112
|
+
HTMLWCProps & {
|
|
113
|
+
}
|
|
114
|
+
> & React.RefAttributes<FoundationInboxCounterWC>
|
|
115
|
+
>;
|
|
116
|
+
export type FoundationInboxCounterRef = FoundationInboxCounterWC;
|
|
117
|
+
|
|
109
118
|
export declare const FoundationInboxFlyout: React.ForwardRefExoticComponent<
|
|
110
119
|
React.PropsWithChildren<
|
|
111
120
|
Omit<PublicOf<FoundationInboxFlyoutWC>, 'children' | 'style'> &
|
|
@@ -126,15 +135,6 @@ export declare const InboxSubscription: React.ForwardRefExoticComponent<
|
|
|
126
135
|
>;
|
|
127
136
|
export type InboxSubscriptionRef = InboxSubscriptionWC;
|
|
128
137
|
|
|
129
|
-
export declare const FoundationInboxCounter: React.ForwardRefExoticComponent<
|
|
130
|
-
React.PropsWithChildren<
|
|
131
|
-
Omit<PublicOf<FoundationInboxCounterWC>, 'children' | 'style'> &
|
|
132
|
-
HTMLWCProps & {
|
|
133
|
-
}
|
|
134
|
-
> & React.RefAttributes<FoundationInboxCounterWC>
|
|
135
|
-
>;
|
|
136
|
-
export type FoundationInboxCounterRef = FoundationInboxCounterWC;
|
|
137
|
-
|
|
138
138
|
export declare const NotifyAuditManagement: React.ForwardRefExoticComponent<
|
|
139
139
|
React.PropsWithChildren<
|
|
140
140
|
Omit<PublicOf<NotifyAuditManagementWC>, 'children' | 'style'> &
|
package/dist/react.cjs
CHANGED
|
@@ -67,6 +67,11 @@ const FoundationSounds = React.forwardRef(function FoundationSounds(props, ref)
|
|
|
67
67
|
return React.createElement(customElements.getName(FoundationSoundsWC) ?? 'foundation-sounds', { ...rest, ref }, children);
|
|
68
68
|
});
|
|
69
69
|
|
|
70
|
+
const FoundationInboxCounter = React.forwardRef(function FoundationInboxCounter(props, ref) {
|
|
71
|
+
const { children, ...rest } = props;
|
|
72
|
+
return React.createElement(customElements.getName(FoundationInboxCounterWC) ?? 'foundation-inbox-counter', { ...rest, ref }, children);
|
|
73
|
+
});
|
|
74
|
+
|
|
70
75
|
const FoundationInboxFlyout = React.forwardRef(function FoundationInboxFlyout(props, ref) {
|
|
71
76
|
const { children, ...rest } = props;
|
|
72
77
|
return React.createElement(customElements.getName(FoundationInboxFlyoutWC) ?? 'foundation-inbox-flyout', { ...rest, ref }, children);
|
|
@@ -94,11 +99,6 @@ const InboxSubscription = React.forwardRef(function InboxSubscription(props, ref
|
|
|
94
99
|
return React.createElement(customElements.getName(InboxSubscriptionWC) ?? 'inbox-subscription', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
95
100
|
});
|
|
96
101
|
|
|
97
|
-
const FoundationInboxCounter = React.forwardRef(function FoundationInboxCounter(props, ref) {
|
|
98
|
-
const { children, ...rest } = props;
|
|
99
|
-
return React.createElement(customElements.getName(FoundationInboxCounterWC) ?? 'foundation-inbox-counter', { ...rest, ref }, children);
|
|
100
|
-
});
|
|
101
|
-
|
|
102
102
|
const NotifyAuditManagement = React.forwardRef(function NotifyAuditManagement(props, ref) {
|
|
103
103
|
const { children, ...rest } = props;
|
|
104
104
|
return React.createElement(customElements.getName(NotifyAuditManagementWC) ?? 'notify-audit-management', { ...rest, ref }, children);
|
|
@@ -316,9 +316,9 @@ module.exports = {
|
|
|
316
316
|
FoundationNotificationDashboard,
|
|
317
317
|
FoundationSoundsPanel,
|
|
318
318
|
FoundationSounds,
|
|
319
|
+
FoundationInboxCounter,
|
|
319
320
|
FoundationInboxFlyout,
|
|
320
321
|
InboxSubscription,
|
|
321
|
-
FoundationInboxCounter,
|
|
322
322
|
NotifyAuditManagement,
|
|
323
323
|
RouteManagement,
|
|
324
324
|
RuleManagement,
|
package/dist/react.mjs
CHANGED
|
@@ -65,6 +65,11 @@ export const FoundationSounds = React.forwardRef(function FoundationSounds(props
|
|
|
65
65
|
return React.createElement(customElements.getName(FoundationSoundsWC) ?? 'foundation-sounds', { ...rest, ref }, children);
|
|
66
66
|
});
|
|
67
67
|
|
|
68
|
+
export const FoundationInboxCounter = React.forwardRef(function FoundationInboxCounter(props, ref) {
|
|
69
|
+
const { children, ...rest } = props;
|
|
70
|
+
return React.createElement(customElements.getName(FoundationInboxCounterWC) ?? 'foundation-inbox-counter', { ...rest, ref }, children);
|
|
71
|
+
});
|
|
72
|
+
|
|
68
73
|
export const FoundationInboxFlyout = React.forwardRef(function FoundationInboxFlyout(props, ref) {
|
|
69
74
|
const { children, ...rest } = props;
|
|
70
75
|
return React.createElement(customElements.getName(FoundationInboxFlyoutWC) ?? 'foundation-inbox-flyout', { ...rest, ref }, children);
|
|
@@ -92,11 +97,6 @@ export const InboxSubscription = React.forwardRef(function InboxSubscription(pro
|
|
|
92
97
|
return React.createElement(customElements.getName(InboxSubscriptionWC) ?? 'inbox-subscription', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
93
98
|
});
|
|
94
99
|
|
|
95
|
-
export const FoundationInboxCounter = React.forwardRef(function FoundationInboxCounter(props, ref) {
|
|
96
|
-
const { children, ...rest } = props;
|
|
97
|
-
return React.createElement(customElements.getName(FoundationInboxCounterWC) ?? 'foundation-inbox-counter', { ...rest, ref }, children);
|
|
98
|
-
});
|
|
99
|
-
|
|
100
100
|
export const NotifyAuditManagement = React.forwardRef(function NotifyAuditManagement(props, ref) {
|
|
101
101
|
const { children, ...rest } = props;
|
|
102
102
|
return React.createElement(customElements.getName(NotifyAuditManagementWC) ?? 'notify-audit-management', { ...rest, ref }, children);
|
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.21.
|
|
4
|
+
"version": "15.21.1",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"workspaces": [
|
|
7
7
|
"client"
|
|
@@ -81,30 +81,30 @@
|
|
|
81
81
|
"@commitlint/cli": "^19.2.1",
|
|
82
82
|
"@commitlint/config-conventional": "^19.1.0",
|
|
83
83
|
"@commitlint/format": "^19.0.3",
|
|
84
|
-
"@genesislcap/design-system-configurator": "15.21.
|
|
85
|
-
"@genesislcap/eslint-config": "15.21.
|
|
86
|
-
"@genesislcap/eslint-stylelint-builder": "15.21.
|
|
87
|
-
"@genesislcap/foundation-testing": "15.21.
|
|
88
|
-
"@genesislcap/genx": "15.21.
|
|
89
|
-
"@genesislcap/prettier-config": "15.21.
|
|
90
|
-
"@genesislcap/stylelint-config": "15.21.
|
|
91
|
-
"@genesislcap/vite-builder": "15.21.
|
|
92
|
-
"@genesislcap/webpack-builder": "15.21.
|
|
84
|
+
"@genesislcap/design-system-configurator": "15.21.1",
|
|
85
|
+
"@genesislcap/eslint-config": "15.21.1",
|
|
86
|
+
"@genesislcap/eslint-stylelint-builder": "15.21.1",
|
|
87
|
+
"@genesislcap/foundation-testing": "15.21.1",
|
|
88
|
+
"@genesislcap/genx": "15.21.1",
|
|
89
|
+
"@genesislcap/prettier-config": "15.21.1",
|
|
90
|
+
"@genesislcap/stylelint-config": "15.21.1",
|
|
91
|
+
"@genesislcap/vite-builder": "15.21.1",
|
|
92
|
+
"@genesislcap/webpack-builder": "15.21.1",
|
|
93
93
|
"dayjs": "^1.11.7"
|
|
94
94
|
},
|
|
95
95
|
"dependencies": {
|
|
96
|
-
"@genesislcap/foundation-comms": "15.21.
|
|
97
|
-
"@genesislcap/foundation-criteria": "15.21.
|
|
98
|
-
"@genesislcap/foundation-entity-management": "15.21.
|
|
99
|
-
"@genesislcap/foundation-forms": "15.21.
|
|
100
|
-
"@genesislcap/foundation-layout": "15.21.
|
|
101
|
-
"@genesislcap/foundation-logger": "15.21.
|
|
102
|
-
"@genesislcap/foundation-notifications": "15.21.
|
|
103
|
-
"@genesislcap/foundation-ui": "15.21.
|
|
104
|
-
"@genesislcap/foundation-utils": "15.21.
|
|
105
|
-
"@genesislcap/rapid-design-system": "15.21.
|
|
106
|
-
"@genesislcap/rapid-grid-pro": "15.21.
|
|
107
|
-
"@genesislcap/web-core": "15.21.
|
|
96
|
+
"@genesislcap/foundation-comms": "15.21.1",
|
|
97
|
+
"@genesislcap/foundation-criteria": "15.21.1",
|
|
98
|
+
"@genesislcap/foundation-entity-management": "15.21.1",
|
|
99
|
+
"@genesislcap/foundation-forms": "15.21.1",
|
|
100
|
+
"@genesislcap/foundation-layout": "15.21.1",
|
|
101
|
+
"@genesislcap/foundation-logger": "15.21.1",
|
|
102
|
+
"@genesislcap/foundation-notifications": "15.21.1",
|
|
103
|
+
"@genesislcap/foundation-ui": "15.21.1",
|
|
104
|
+
"@genesislcap/foundation-utils": "15.21.1",
|
|
105
|
+
"@genesislcap/rapid-design-system": "15.21.1",
|
|
106
|
+
"@genesislcap/rapid-grid-pro": "15.21.1",
|
|
107
|
+
"@genesislcap/web-core": "15.21.1",
|
|
108
108
|
"lodash.debounce": "^4.0.8",
|
|
109
109
|
"rxjs": "^7.5.4"
|
|
110
110
|
},
|