@genesislcap/pbc-notify-ui 15.94.0 → 15.94.1-alpha-6f4e61418f.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 +252 -252
- 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
|
@@ -505,6 +505,27 @@
|
|
|
505
505
|
}
|
|
506
506
|
]
|
|
507
507
|
},
|
|
508
|
+
{
|
|
509
|
+
"kind": "javascript-module",
|
|
510
|
+
"path": "src/styles/scrollbar.styles.ts",
|
|
511
|
+
"declarations": [
|
|
512
|
+
{
|
|
513
|
+
"kind": "variable",
|
|
514
|
+
"name": "scrollbarStyles",
|
|
515
|
+
"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`"
|
|
516
|
+
}
|
|
517
|
+
],
|
|
518
|
+
"exports": [
|
|
519
|
+
{
|
|
520
|
+
"kind": "js",
|
|
521
|
+
"name": "scrollbarStyles",
|
|
522
|
+
"declaration": {
|
|
523
|
+
"name": "scrollbarStyles",
|
|
524
|
+
"module": "src/styles/scrollbar.styles.ts"
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
]
|
|
528
|
+
},
|
|
508
529
|
{
|
|
509
530
|
"kind": "javascript-module",
|
|
510
531
|
"path": "src/utils/default-sounds.ts",
|
|
@@ -1015,27 +1036,6 @@
|
|
|
1015
1036
|
}
|
|
1016
1037
|
]
|
|
1017
1038
|
},
|
|
1018
|
-
{
|
|
1019
|
-
"kind": "javascript-module",
|
|
1020
|
-
"path": "src/styles/scrollbar.styles.ts",
|
|
1021
|
-
"declarations": [
|
|
1022
|
-
{
|
|
1023
|
-
"kind": "variable",
|
|
1024
|
-
"name": "scrollbarStyles",
|
|
1025
|
-
"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`"
|
|
1026
|
-
}
|
|
1027
|
-
],
|
|
1028
|
-
"exports": [
|
|
1029
|
-
{
|
|
1030
|
-
"kind": "js",
|
|
1031
|
-
"name": "scrollbarStyles",
|
|
1032
|
-
"declaration": {
|
|
1033
|
-
"name": "scrollbarStyles",
|
|
1034
|
-
"module": "src/styles/scrollbar.styles.ts"
|
|
1035
|
-
}
|
|
1036
|
-
}
|
|
1037
|
-
]
|
|
1038
|
-
},
|
|
1039
1039
|
{
|
|
1040
1040
|
"kind": "javascript-module",
|
|
1041
1041
|
"path": "src/components/foundation-inbox/inbox.styles.ts",
|
|
@@ -6444,237 +6444,6 @@
|
|
|
6444
6444
|
}
|
|
6445
6445
|
]
|
|
6446
6446
|
},
|
|
6447
|
-
{
|
|
6448
|
-
"kind": "javascript-module",
|
|
6449
|
-
"path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts",
|
|
6450
|
-
"declarations": [
|
|
6451
|
-
{
|
|
6452
|
-
"kind": "variable",
|
|
6453
|
-
"name": "InboxSubscriptionStyles",
|
|
6454
|
-
"default": "css`\n .inbox-subscription {\n display: flex;\n flex-direction: column;\n }\n\n .inbox-subscription.inline {\n margin-top: calc(var(--design-unit) * 2px);\n padding-top: calc(var(--design-unit) * 2px);\n border-top: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n }\n\n .inbox-subscription-header {\n border-top: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n border-bottom: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n padding: calc(var(--design-unit) * 2px);\n }\n\n .inbox-subscription-empty {\n padding: 0 calc(var(--design-unit) * 2px);\n margin: calc(var(--design-unit) * 2px) 0 0;\n }\n\n .inbox-subscription-content {\n display: flex;\n flex-direction: column;\n gap: calc(var(--design-unit) * 3px);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n margin: calc(var(--design-unit) * 2px);\n padding: calc(var(--design-unit) * 2px);\n border-radius: calc(var(--control-corner-radius) * 1px);\n }\n\n .inbox-subscription:not(.inline) .inbox-subscription-content {\n overflow: auto;\n max-height: calc(var(--design-unit) * 80px);\n }\n\n .inbox-subscription.inline .inbox-subscription-content {\n margin: calc(var(--design-unit) * 2px) 0 0;\n overflow: visible;\n max-height: none;\n padding-bottom: calc(var(--design-unit) * 4px);\n }\n\n .inbox-subscription.inline .control:focus-within {\n position: relative;\n z-index: 2;\n }\n\n .inbox-subscription-footer {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n padding: calc(var(--design-unit) * 2px) 0 0;\n border-top: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n margin-top: calc(var(--design-unit) * 2px);\n }\n\n .inbox-subscription:not(.inline) .inbox-subscription-footer {\n padding: calc(var(--design-unit) * 2px);\n margin-top: 0;\n }\n\n .inbox-subscription-footer.auto-submit {\n justify-content: flex-end;\n border-top: none;\n margin-top: 0;\n padding-top: 0;\n }\n\n rapid-button.subscribe,\n rapid-button.cancel {\n display: flex;\n margin: 0;\n flex: 1;\n }\n`"
|
|
6455
|
-
}
|
|
6456
|
-
],
|
|
6457
|
-
"exports": [
|
|
6458
|
-
{
|
|
6459
|
-
"kind": "js",
|
|
6460
|
-
"name": "InboxSubscriptionStyles",
|
|
6461
|
-
"declaration": {
|
|
6462
|
-
"name": "InboxSubscriptionStyles",
|
|
6463
|
-
"module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts"
|
|
6464
|
-
}
|
|
6465
|
-
}
|
|
6466
|
-
]
|
|
6467
|
-
},
|
|
6468
|
-
{
|
|
6469
|
-
"kind": "javascript-module",
|
|
6470
|
-
"path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts",
|
|
6471
|
-
"declarations": [
|
|
6472
|
-
{
|
|
6473
|
-
"kind": "variable",
|
|
6474
|
-
"name": "InboxSubscriptionTemplate",
|
|
6475
|
-
"default": "html<InboxSubscription>`\n <div class=\"inbox-subscription ${(x) => (x.inline ? 'inline' : '')}\">\n ${when(\n (x) => !x.inline,\n html`\n <div class=\"inbox-subscription-header\">\n Subscribe to\n <span style=\"font-weight: bold;\">${(x) => x.template.RULE_NAME}</span>\n </div>\n `,\n )}\n ${when(\n (x) => x.visibleParameters.length === 0,\n html`\n <p class=\"inbox-subscription-empty\">The selected template doesn't have parameters.</p>\n `,\n )}\n ${when(\n (x) => x.visibleParameters.length > 0,\n html`\n <div class=\"inbox-subscription-content\">\n ${repeat(\n (x) => x.visibleParameters,\n html<RuleParameterEntity>`\n <rule-parameter\n :parameter=${(x) => x}\n :isFirstElement=${(x, c) => c.parent.isFirstElement(x)}\n :operator=${(x, c) => c.parent.parametersOperators[x.PARAM_NAME]}\n :requireSelection=${(x, c) => c.parent.usesAutoSubmit()}\n @parameterEdited=${(x, c) => c.parent.parameterEdit(eventDetail(c))}\n ></rule-parameter>\n `,\n )}\n </div>\n `,\n )}\n ${when(\n (x) => !x.inline || x.requiresManualSubscribe(),\n html`\n <div class=\"inbox-subscription-footer\">\n ${when(\n (x) => x.inline,\n html`\n <rapid-button\n class=\"cancel\"\n appearance=\"neutral\"\n @click=${(x) => x.cancelSubscribe()}\n >\n Cancel\n </rapid-button>\n `,\n )}\n <rapid-button\n class=\"subscribe\"\n appearance=\"primary\"\n @click=${(x) => x.subscribeTemplate()}\n ?disabled=${(x) => x.subscribeDisabled}\n >\n Subscribe\n </rapid-button>\n </div>\n `,\n )}\n ${when(\n (x) => x.inline && x.usesAutoSubmit(),\n html`\n <div class=\"inbox-subscription-footer auto-submit\">\n <rapid-button class=\"cancel\" appearance=\"neutral\" @click=${(x) => x.cancelSubscribe()}>\n Cancel\n </rapid-button>\n </div>\n `,\n )}\n </div>\n`"
|
|
6476
|
-
}
|
|
6477
|
-
],
|
|
6478
|
-
"exports": [
|
|
6479
|
-
{
|
|
6480
|
-
"kind": "js",
|
|
6481
|
-
"name": "InboxSubscriptionTemplate",
|
|
6482
|
-
"declaration": {
|
|
6483
|
-
"name": "InboxSubscriptionTemplate",
|
|
6484
|
-
"module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts"
|
|
6485
|
-
}
|
|
6486
|
-
}
|
|
6487
|
-
]
|
|
6488
|
-
},
|
|
6489
|
-
{
|
|
6490
|
-
"kind": "javascript-module",
|
|
6491
|
-
"path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts",
|
|
6492
|
-
"declarations": [
|
|
6493
|
-
{
|
|
6494
|
-
"kind": "class",
|
|
6495
|
-
"description": "Inbox subscription configuration UI.",
|
|
6496
|
-
"name": "InboxSubscription",
|
|
6497
|
-
"members": [
|
|
6498
|
-
{
|
|
6499
|
-
"kind": "field",
|
|
6500
|
-
"name": "template"
|
|
6501
|
-
},
|
|
6502
|
-
{
|
|
6503
|
-
"kind": "field",
|
|
6504
|
-
"name": "inline",
|
|
6505
|
-
"type": {
|
|
6506
|
-
"text": "boolean"
|
|
6507
|
-
},
|
|
6508
|
-
"default": "false"
|
|
6509
|
-
},
|
|
6510
|
-
{
|
|
6511
|
-
"kind": "field",
|
|
6512
|
-
"name": "extraParameterDetails",
|
|
6513
|
-
"type": {
|
|
6514
|
-
"text": "Record<string, string>"
|
|
6515
|
-
},
|
|
6516
|
-
"default": "{}",
|
|
6517
|
-
"description": "Merged into subscribe payload (e.g. CHANNEL topic). Hidden from the form."
|
|
6518
|
-
},
|
|
6519
|
-
{
|
|
6520
|
-
"kind": "field",
|
|
6521
|
-
"name": "parametersDetails",
|
|
6522
|
-
"type": {
|
|
6523
|
-
"text": "object"
|
|
6524
|
-
},
|
|
6525
|
-
"privacy": "private",
|
|
6526
|
-
"default": "{}"
|
|
6527
|
-
},
|
|
6528
|
-
{
|
|
6529
|
-
"kind": "field",
|
|
6530
|
-
"name": "isSubmitting",
|
|
6531
|
-
"type": {
|
|
6532
|
-
"text": "boolean"
|
|
6533
|
-
},
|
|
6534
|
-
"privacy": "private",
|
|
6535
|
-
"default": "false"
|
|
6536
|
-
},
|
|
6537
|
-
{
|
|
6538
|
-
"kind": "field",
|
|
6539
|
-
"name": "parametersOperators",
|
|
6540
|
-
"type": {
|
|
6541
|
-
"text": "object"
|
|
6542
|
-
},
|
|
6543
|
-
"default": "{}"
|
|
6544
|
-
},
|
|
6545
|
-
{
|
|
6546
|
-
"kind": "field",
|
|
6547
|
-
"name": "subscribeDisabled",
|
|
6548
|
-
"type": {
|
|
6549
|
-
"text": "boolean"
|
|
6550
|
-
},
|
|
6551
|
-
"default": "true"
|
|
6552
|
-
},
|
|
6553
|
-
{
|
|
6554
|
-
"kind": "field",
|
|
6555
|
-
"name": "ruleService",
|
|
6556
|
-
"type": {
|
|
6557
|
-
"text": "RuleService"
|
|
6558
|
-
}
|
|
6559
|
-
},
|
|
6560
|
-
{
|
|
6561
|
-
"kind": "field",
|
|
6562
|
-
"name": "visibleParameters",
|
|
6563
|
-
"type": {
|
|
6564
|
-
"text": "RuleParameterEntity[]"
|
|
6565
|
-
},
|
|
6566
|
-
"readonly": true
|
|
6567
|
-
},
|
|
6568
|
-
{
|
|
6569
|
-
"kind": "method",
|
|
6570
|
-
"name": "templateChanged"
|
|
6571
|
-
},
|
|
6572
|
-
{
|
|
6573
|
-
"kind": "method",
|
|
6574
|
-
"name": "usesAutoSubmit",
|
|
6575
|
-
"return": {
|
|
6576
|
-
"type": {
|
|
6577
|
-
"text": "boolean"
|
|
6578
|
-
}
|
|
6579
|
-
}
|
|
6580
|
-
},
|
|
6581
|
-
{
|
|
6582
|
-
"kind": "method",
|
|
6583
|
-
"name": "requiresManualSubscribe",
|
|
6584
|
-
"return": {
|
|
6585
|
-
"type": {
|
|
6586
|
-
"text": "boolean"
|
|
6587
|
-
}
|
|
6588
|
-
}
|
|
6589
|
-
},
|
|
6590
|
-
{
|
|
6591
|
-
"kind": "method",
|
|
6592
|
-
"name": "parameterEdit",
|
|
6593
|
-
"parameters": [
|
|
6594
|
-
{
|
|
6595
|
-
"name": "value",
|
|
6596
|
-
"type": {
|
|
6597
|
-
"text": "any"
|
|
6598
|
-
}
|
|
6599
|
-
}
|
|
6600
|
-
]
|
|
6601
|
-
},
|
|
6602
|
-
{
|
|
6603
|
-
"kind": "method",
|
|
6604
|
-
"name": "autoSubscribe",
|
|
6605
|
-
"privacy": "private"
|
|
6606
|
-
},
|
|
6607
|
-
{
|
|
6608
|
-
"kind": "method",
|
|
6609
|
-
"name": "verifySubscribe"
|
|
6610
|
-
},
|
|
6611
|
-
{
|
|
6612
|
-
"kind": "field",
|
|
6613
|
-
"name": "isFirstElement"
|
|
6614
|
-
},
|
|
6615
|
-
{
|
|
6616
|
-
"kind": "method",
|
|
6617
|
-
"name": "subscribeTemplate"
|
|
6618
|
-
},
|
|
6619
|
-
{
|
|
6620
|
-
"kind": "method",
|
|
6621
|
-
"name": "cancelSubscribe"
|
|
6622
|
-
},
|
|
6623
|
-
{
|
|
6624
|
-
"kind": "field",
|
|
6625
|
-
"name": "createParametersOperatorMap"
|
|
6626
|
-
}
|
|
6627
|
-
],
|
|
6628
|
-
"events": [
|
|
6629
|
-
{
|
|
6630
|
-
"description": "Fired when a template subscription is created. detail: `TemplateSubscribedEventDetail`",
|
|
6631
|
-
"name": "templateSubscribed"
|
|
6632
|
-
},
|
|
6633
|
-
{
|
|
6634
|
-
"description": "Fired when inline parameter entry is cancelled",
|
|
6635
|
-
"name": "subscribeCancelled"
|
|
6636
|
-
}
|
|
6637
|
-
],
|
|
6638
|
-
"attributes": [
|
|
6639
|
-
{
|
|
6640
|
-
"name": "template",
|
|
6641
|
-
"fieldName": "template"
|
|
6642
|
-
},
|
|
6643
|
-
{
|
|
6644
|
-
"type": {
|
|
6645
|
-
"text": "boolean"
|
|
6646
|
-
},
|
|
6647
|
-
"default": "false",
|
|
6648
|
-
"fieldName": "inline"
|
|
6649
|
-
}
|
|
6650
|
-
],
|
|
6651
|
-
"superclass": {
|
|
6652
|
-
"name": "GenesisElement",
|
|
6653
|
-
"package": "@genesislcap/web-core"
|
|
6654
|
-
},
|
|
6655
|
-
"tagName": "inbox-subscription",
|
|
6656
|
-
"customElement": true
|
|
6657
|
-
}
|
|
6658
|
-
],
|
|
6659
|
-
"exports": [
|
|
6660
|
-
{
|
|
6661
|
-
"kind": "js",
|
|
6662
|
-
"name": "InboxSubscription",
|
|
6663
|
-
"declaration": {
|
|
6664
|
-
"name": "InboxSubscription",
|
|
6665
|
-
"module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
|
|
6666
|
-
}
|
|
6667
|
-
},
|
|
6668
|
-
{
|
|
6669
|
-
"kind": "custom-element-definition",
|
|
6670
|
-
"name": "inbox-subscription",
|
|
6671
|
-
"declaration": {
|
|
6672
|
-
"name": "InboxSubscription",
|
|
6673
|
-
"module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
|
|
6674
|
-
}
|
|
6675
|
-
}
|
|
6676
|
-
]
|
|
6677
|
-
},
|
|
6678
6447
|
{
|
|
6679
6448
|
"kind": "javascript-module",
|
|
6680
6449
|
"path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts",
|
|
@@ -8073,6 +7842,237 @@
|
|
|
8073
7842
|
}
|
|
8074
7843
|
]
|
|
8075
7844
|
},
|
|
7845
|
+
{
|
|
7846
|
+
"kind": "javascript-module",
|
|
7847
|
+
"path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts",
|
|
7848
|
+
"declarations": [
|
|
7849
|
+
{
|
|
7850
|
+
"kind": "variable",
|
|
7851
|
+
"name": "InboxSubscriptionStyles",
|
|
7852
|
+
"default": "css`\n .inbox-subscription {\n display: flex;\n flex-direction: column;\n }\n\n .inbox-subscription.inline {\n margin-top: calc(var(--design-unit) * 2px);\n padding-top: calc(var(--design-unit) * 2px);\n border-top: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n }\n\n .inbox-subscription-header {\n border-top: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n border-bottom: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n padding: calc(var(--design-unit) * 2px);\n }\n\n .inbox-subscription-empty {\n padding: 0 calc(var(--design-unit) * 2px);\n margin: calc(var(--design-unit) * 2px) 0 0;\n }\n\n .inbox-subscription-content {\n display: flex;\n flex-direction: column;\n gap: calc(var(--design-unit) * 3px);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n margin: calc(var(--design-unit) * 2px);\n padding: calc(var(--design-unit) * 2px);\n border-radius: calc(var(--control-corner-radius) * 1px);\n }\n\n .inbox-subscription:not(.inline) .inbox-subscription-content {\n overflow: auto;\n max-height: calc(var(--design-unit) * 80px);\n }\n\n .inbox-subscription.inline .inbox-subscription-content {\n margin: calc(var(--design-unit) * 2px) 0 0;\n overflow: visible;\n max-height: none;\n padding-bottom: calc(var(--design-unit) * 4px);\n }\n\n .inbox-subscription.inline .control:focus-within {\n position: relative;\n z-index: 2;\n }\n\n .inbox-subscription-footer {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n padding: calc(var(--design-unit) * 2px) 0 0;\n border-top: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n margin-top: calc(var(--design-unit) * 2px);\n }\n\n .inbox-subscription:not(.inline) .inbox-subscription-footer {\n padding: calc(var(--design-unit) * 2px);\n margin-top: 0;\n }\n\n .inbox-subscription-footer.auto-submit {\n justify-content: flex-end;\n border-top: none;\n margin-top: 0;\n padding-top: 0;\n }\n\n rapid-button.subscribe,\n rapid-button.cancel {\n display: flex;\n margin: 0;\n flex: 1;\n }\n`"
|
|
7853
|
+
}
|
|
7854
|
+
],
|
|
7855
|
+
"exports": [
|
|
7856
|
+
{
|
|
7857
|
+
"kind": "js",
|
|
7858
|
+
"name": "InboxSubscriptionStyles",
|
|
7859
|
+
"declaration": {
|
|
7860
|
+
"name": "InboxSubscriptionStyles",
|
|
7861
|
+
"module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts"
|
|
7862
|
+
}
|
|
7863
|
+
}
|
|
7864
|
+
]
|
|
7865
|
+
},
|
|
7866
|
+
{
|
|
7867
|
+
"kind": "javascript-module",
|
|
7868
|
+
"path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts",
|
|
7869
|
+
"declarations": [
|
|
7870
|
+
{
|
|
7871
|
+
"kind": "variable",
|
|
7872
|
+
"name": "InboxSubscriptionTemplate",
|
|
7873
|
+
"default": "html<InboxSubscription>`\n <div class=\"inbox-subscription ${(x) => (x.inline ? 'inline' : '')}\">\n ${when(\n (x) => !x.inline,\n html`\n <div class=\"inbox-subscription-header\">\n Subscribe to\n <span style=\"font-weight: bold;\">${(x) => x.template.RULE_NAME}</span>\n </div>\n `,\n )}\n ${when(\n (x) => x.visibleParameters.length === 0,\n html`\n <p class=\"inbox-subscription-empty\">The selected template doesn't have parameters.</p>\n `,\n )}\n ${when(\n (x) => x.visibleParameters.length > 0,\n html`\n <div class=\"inbox-subscription-content\">\n ${repeat(\n (x) => x.visibleParameters,\n html<RuleParameterEntity>`\n <rule-parameter\n :parameter=${(x) => x}\n :isFirstElement=${(x, c) => c.parent.isFirstElement(x)}\n :operator=${(x, c) => c.parent.parametersOperators[x.PARAM_NAME]}\n :requireSelection=${(x, c) => c.parent.usesAutoSubmit()}\n @parameterEdited=${(x, c) => c.parent.parameterEdit(eventDetail(c))}\n ></rule-parameter>\n `,\n )}\n </div>\n `,\n )}\n ${when(\n (x) => !x.inline || x.requiresManualSubscribe(),\n html`\n <div class=\"inbox-subscription-footer\">\n ${when(\n (x) => x.inline,\n html`\n <rapid-button\n class=\"cancel\"\n appearance=\"neutral\"\n @click=${(x) => x.cancelSubscribe()}\n >\n Cancel\n </rapid-button>\n `,\n )}\n <rapid-button\n class=\"subscribe\"\n appearance=\"primary\"\n @click=${(x) => x.subscribeTemplate()}\n ?disabled=${(x) => x.subscribeDisabled}\n >\n Subscribe\n </rapid-button>\n </div>\n `,\n )}\n ${when(\n (x) => x.inline && x.usesAutoSubmit(),\n html`\n <div class=\"inbox-subscription-footer auto-submit\">\n <rapid-button class=\"cancel\" appearance=\"neutral\" @click=${(x) => x.cancelSubscribe()}>\n Cancel\n </rapid-button>\n </div>\n `,\n )}\n </div>\n`"
|
|
7874
|
+
}
|
|
7875
|
+
],
|
|
7876
|
+
"exports": [
|
|
7877
|
+
{
|
|
7878
|
+
"kind": "js",
|
|
7879
|
+
"name": "InboxSubscriptionTemplate",
|
|
7880
|
+
"declaration": {
|
|
7881
|
+
"name": "InboxSubscriptionTemplate",
|
|
7882
|
+
"module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts"
|
|
7883
|
+
}
|
|
7884
|
+
}
|
|
7885
|
+
]
|
|
7886
|
+
},
|
|
7887
|
+
{
|
|
7888
|
+
"kind": "javascript-module",
|
|
7889
|
+
"path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts",
|
|
7890
|
+
"declarations": [
|
|
7891
|
+
{
|
|
7892
|
+
"kind": "class",
|
|
7893
|
+
"description": "Inbox subscription configuration UI.",
|
|
7894
|
+
"name": "InboxSubscription",
|
|
7895
|
+
"members": [
|
|
7896
|
+
{
|
|
7897
|
+
"kind": "field",
|
|
7898
|
+
"name": "template"
|
|
7899
|
+
},
|
|
7900
|
+
{
|
|
7901
|
+
"kind": "field",
|
|
7902
|
+
"name": "inline",
|
|
7903
|
+
"type": {
|
|
7904
|
+
"text": "boolean"
|
|
7905
|
+
},
|
|
7906
|
+
"default": "false"
|
|
7907
|
+
},
|
|
7908
|
+
{
|
|
7909
|
+
"kind": "field",
|
|
7910
|
+
"name": "extraParameterDetails",
|
|
7911
|
+
"type": {
|
|
7912
|
+
"text": "Record<string, string>"
|
|
7913
|
+
},
|
|
7914
|
+
"default": "{}",
|
|
7915
|
+
"description": "Merged into subscribe payload (e.g. CHANNEL topic). Hidden from the form."
|
|
7916
|
+
},
|
|
7917
|
+
{
|
|
7918
|
+
"kind": "field",
|
|
7919
|
+
"name": "parametersDetails",
|
|
7920
|
+
"type": {
|
|
7921
|
+
"text": "object"
|
|
7922
|
+
},
|
|
7923
|
+
"privacy": "private",
|
|
7924
|
+
"default": "{}"
|
|
7925
|
+
},
|
|
7926
|
+
{
|
|
7927
|
+
"kind": "field",
|
|
7928
|
+
"name": "isSubmitting",
|
|
7929
|
+
"type": {
|
|
7930
|
+
"text": "boolean"
|
|
7931
|
+
},
|
|
7932
|
+
"privacy": "private",
|
|
7933
|
+
"default": "false"
|
|
7934
|
+
},
|
|
7935
|
+
{
|
|
7936
|
+
"kind": "field",
|
|
7937
|
+
"name": "parametersOperators",
|
|
7938
|
+
"type": {
|
|
7939
|
+
"text": "object"
|
|
7940
|
+
},
|
|
7941
|
+
"default": "{}"
|
|
7942
|
+
},
|
|
7943
|
+
{
|
|
7944
|
+
"kind": "field",
|
|
7945
|
+
"name": "subscribeDisabled",
|
|
7946
|
+
"type": {
|
|
7947
|
+
"text": "boolean"
|
|
7948
|
+
},
|
|
7949
|
+
"default": "true"
|
|
7950
|
+
},
|
|
7951
|
+
{
|
|
7952
|
+
"kind": "field",
|
|
7953
|
+
"name": "ruleService",
|
|
7954
|
+
"type": {
|
|
7955
|
+
"text": "RuleService"
|
|
7956
|
+
}
|
|
7957
|
+
},
|
|
7958
|
+
{
|
|
7959
|
+
"kind": "field",
|
|
7960
|
+
"name": "visibleParameters",
|
|
7961
|
+
"type": {
|
|
7962
|
+
"text": "RuleParameterEntity[]"
|
|
7963
|
+
},
|
|
7964
|
+
"readonly": true
|
|
7965
|
+
},
|
|
7966
|
+
{
|
|
7967
|
+
"kind": "method",
|
|
7968
|
+
"name": "templateChanged"
|
|
7969
|
+
},
|
|
7970
|
+
{
|
|
7971
|
+
"kind": "method",
|
|
7972
|
+
"name": "usesAutoSubmit",
|
|
7973
|
+
"return": {
|
|
7974
|
+
"type": {
|
|
7975
|
+
"text": "boolean"
|
|
7976
|
+
}
|
|
7977
|
+
}
|
|
7978
|
+
},
|
|
7979
|
+
{
|
|
7980
|
+
"kind": "method",
|
|
7981
|
+
"name": "requiresManualSubscribe",
|
|
7982
|
+
"return": {
|
|
7983
|
+
"type": {
|
|
7984
|
+
"text": "boolean"
|
|
7985
|
+
}
|
|
7986
|
+
}
|
|
7987
|
+
},
|
|
7988
|
+
{
|
|
7989
|
+
"kind": "method",
|
|
7990
|
+
"name": "parameterEdit",
|
|
7991
|
+
"parameters": [
|
|
7992
|
+
{
|
|
7993
|
+
"name": "value",
|
|
7994
|
+
"type": {
|
|
7995
|
+
"text": "any"
|
|
7996
|
+
}
|
|
7997
|
+
}
|
|
7998
|
+
]
|
|
7999
|
+
},
|
|
8000
|
+
{
|
|
8001
|
+
"kind": "method",
|
|
8002
|
+
"name": "autoSubscribe",
|
|
8003
|
+
"privacy": "private"
|
|
8004
|
+
},
|
|
8005
|
+
{
|
|
8006
|
+
"kind": "method",
|
|
8007
|
+
"name": "verifySubscribe"
|
|
8008
|
+
},
|
|
8009
|
+
{
|
|
8010
|
+
"kind": "field",
|
|
8011
|
+
"name": "isFirstElement"
|
|
8012
|
+
},
|
|
8013
|
+
{
|
|
8014
|
+
"kind": "method",
|
|
8015
|
+
"name": "subscribeTemplate"
|
|
8016
|
+
},
|
|
8017
|
+
{
|
|
8018
|
+
"kind": "method",
|
|
8019
|
+
"name": "cancelSubscribe"
|
|
8020
|
+
},
|
|
8021
|
+
{
|
|
8022
|
+
"kind": "field",
|
|
8023
|
+
"name": "createParametersOperatorMap"
|
|
8024
|
+
}
|
|
8025
|
+
],
|
|
8026
|
+
"events": [
|
|
8027
|
+
{
|
|
8028
|
+
"description": "Fired when a template subscription is created. detail: `TemplateSubscribedEventDetail`",
|
|
8029
|
+
"name": "templateSubscribed"
|
|
8030
|
+
},
|
|
8031
|
+
{
|
|
8032
|
+
"description": "Fired when inline parameter entry is cancelled",
|
|
8033
|
+
"name": "subscribeCancelled"
|
|
8034
|
+
}
|
|
8035
|
+
],
|
|
8036
|
+
"attributes": [
|
|
8037
|
+
{
|
|
8038
|
+
"name": "template",
|
|
8039
|
+
"fieldName": "template"
|
|
8040
|
+
},
|
|
8041
|
+
{
|
|
8042
|
+
"type": {
|
|
8043
|
+
"text": "boolean"
|
|
8044
|
+
},
|
|
8045
|
+
"default": "false",
|
|
8046
|
+
"fieldName": "inline"
|
|
8047
|
+
}
|
|
8048
|
+
],
|
|
8049
|
+
"superclass": {
|
|
8050
|
+
"name": "GenesisElement",
|
|
8051
|
+
"package": "@genesislcap/web-core"
|
|
8052
|
+
},
|
|
8053
|
+
"tagName": "inbox-subscription",
|
|
8054
|
+
"customElement": true
|
|
8055
|
+
}
|
|
8056
|
+
],
|
|
8057
|
+
"exports": [
|
|
8058
|
+
{
|
|
8059
|
+
"kind": "js",
|
|
8060
|
+
"name": "InboxSubscription",
|
|
8061
|
+
"declaration": {
|
|
8062
|
+
"name": "InboxSubscription",
|
|
8063
|
+
"module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
|
|
8064
|
+
}
|
|
8065
|
+
},
|
|
8066
|
+
{
|
|
8067
|
+
"kind": "custom-element-definition",
|
|
8068
|
+
"name": "inbox-subscription",
|
|
8069
|
+
"declaration": {
|
|
8070
|
+
"name": "InboxSubscription",
|
|
8071
|
+
"module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
|
|
8072
|
+
}
|
|
8073
|
+
}
|
|
8074
|
+
]
|
|
8075
|
+
},
|
|
8076
8076
|
{
|
|
8077
8077
|
"kind": "javascript-module",
|
|
8078
8078
|
"path": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts",
|
package/dist/dts/react.d.ts
CHANGED
|
@@ -115,6 +115,15 @@ export declare const FoundationInboxCounter: React.ForwardRefExoticComponent<
|
|
|
115
115
|
>;
|
|
116
116
|
export type FoundationInboxCounterRef = FoundationInboxCounterWC;
|
|
117
117
|
|
|
118
|
+
export declare const FoundationInboxFlyout: React.ForwardRefExoticComponent<
|
|
119
|
+
React.PropsWithChildren<
|
|
120
|
+
Omit<PublicOf<FoundationInboxFlyoutWC>, 'children' | 'style'> &
|
|
121
|
+
HTMLWCProps & {
|
|
122
|
+
}
|
|
123
|
+
> & React.RefAttributes<FoundationInboxFlyoutWC>
|
|
124
|
+
>;
|
|
125
|
+
export type FoundationInboxFlyoutRef = FoundationInboxFlyoutWC;
|
|
126
|
+
|
|
118
127
|
export declare const InboxSubscription: React.ForwardRefExoticComponent<
|
|
119
128
|
React.PropsWithChildren<
|
|
120
129
|
Omit<PublicOf<InboxSubscriptionWC>, '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 FoundationInboxFlyout: React.ForwardRefExoticComponent<
|
|
130
|
-
React.PropsWithChildren<
|
|
131
|
-
Omit<PublicOf<FoundationInboxFlyoutWC>, 'children' | 'style'> &
|
|
132
|
-
HTMLWCProps & {
|
|
133
|
-
}
|
|
134
|
-
> & React.RefAttributes<FoundationInboxFlyoutWC>
|
|
135
|
-
>;
|
|
136
|
-
export type FoundationInboxFlyoutRef = FoundationInboxFlyoutWC;
|
|
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
|
@@ -72,6 +72,11 @@ const FoundationInboxCounter = React.forwardRef(function FoundationInboxCounter(
|
|
|
72
72
|
return React.createElement(customElements.getName(FoundationInboxCounterWC) ?? 'foundation-inbox-counter', { ...rest, ref }, children);
|
|
73
73
|
});
|
|
74
74
|
|
|
75
|
+
const FoundationInboxFlyout = React.forwardRef(function FoundationInboxFlyout(props, ref) {
|
|
76
|
+
const { children, ...rest } = props;
|
|
77
|
+
return React.createElement(customElements.getName(FoundationInboxFlyoutWC) ?? 'foundation-inbox-flyout', { ...rest, ref }, children);
|
|
78
|
+
});
|
|
79
|
+
|
|
75
80
|
const InboxSubscription = React.forwardRef(function InboxSubscription(props, ref) {
|
|
76
81
|
const { onTemplateSubscribed, onSubscribeCancelled, children, ...rest } = props;
|
|
77
82
|
const _innerRef = React.useRef(null);
|
|
@@ -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 FoundationInboxFlyout = React.forwardRef(function FoundationInboxFlyout(props, ref) {
|
|
98
|
-
const { children, ...rest } = props;
|
|
99
|
-
return React.createElement(customElements.getName(FoundationInboxFlyoutWC) ?? 'foundation-inbox-flyout', { ...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);
|
|
@@ -317,8 +317,8 @@ module.exports = {
|
|
|
317
317
|
FoundationSoundsPanel,
|
|
318
318
|
FoundationSounds,
|
|
319
319
|
FoundationInboxCounter,
|
|
320
|
-
InboxSubscription,
|
|
321
320
|
FoundationInboxFlyout,
|
|
321
|
+
InboxSubscription,
|
|
322
322
|
NotifyAuditManagement,
|
|
323
323
|
RouteManagement,
|
|
324
324
|
RuleManagement,
|
package/dist/react.mjs
CHANGED
|
@@ -70,6 +70,11 @@ export const FoundationInboxCounter = React.forwardRef(function FoundationInboxC
|
|
|
70
70
|
return React.createElement(customElements.getName(FoundationInboxCounterWC) ?? 'foundation-inbox-counter', { ...rest, ref }, children);
|
|
71
71
|
});
|
|
72
72
|
|
|
73
|
+
export const FoundationInboxFlyout = React.forwardRef(function FoundationInboxFlyout(props, ref) {
|
|
74
|
+
const { children, ...rest } = props;
|
|
75
|
+
return React.createElement(customElements.getName(FoundationInboxFlyoutWC) ?? 'foundation-inbox-flyout', { ...rest, ref }, children);
|
|
76
|
+
});
|
|
77
|
+
|
|
73
78
|
export const InboxSubscription = React.forwardRef(function InboxSubscription(props, ref) {
|
|
74
79
|
const { onTemplateSubscribed, onSubscribeCancelled, children, ...rest } = props;
|
|
75
80
|
const _innerRef = React.useRef(null);
|
|
@@ -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 FoundationInboxFlyout = React.forwardRef(function FoundationInboxFlyout(props, ref) {
|
|
96
|
-
const { children, ...rest } = props;
|
|
97
|
-
return React.createElement(customElements.getName(FoundationInboxFlyoutWC) ?? 'foundation-inbox-flyout', { ...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.94.0",
|
|
4
|
+
"version": "15.94.1-alpha-6f4e61418f.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.94.0",
|
|
84
|
-
"@genesislcap/eslint-config": "15.94.0",
|
|
85
|
-
"@genesislcap/eslint-stylelint-builder": "15.94.0",
|
|
86
|
-
"@genesislcap/foundation-testing": "15.94.0",
|
|
87
|
-
"@genesislcap/genx": "15.94.0",
|
|
88
|
-
"@genesislcap/prettier-config": "15.94.0",
|
|
89
|
-
"@genesislcap/stylelint-config": "15.94.0",
|
|
90
|
-
"@genesislcap/vite-builder": "15.94.0",
|
|
91
|
-
"@genesislcap/webpack-builder": "15.94.0",
|
|
83
|
+
"@genesislcap/design-system-configurator": "15.94.1-alpha-6f4e61418f.0",
|
|
84
|
+
"@genesislcap/eslint-config": "15.94.1-alpha-6f4e61418f.0",
|
|
85
|
+
"@genesislcap/eslint-stylelint-builder": "15.94.1-alpha-6f4e61418f.0",
|
|
86
|
+
"@genesislcap/foundation-testing": "15.94.1-alpha-6f4e61418f.0",
|
|
87
|
+
"@genesislcap/genx": "15.94.1-alpha-6f4e61418f.0",
|
|
88
|
+
"@genesislcap/prettier-config": "15.94.1-alpha-6f4e61418f.0",
|
|
89
|
+
"@genesislcap/stylelint-config": "15.94.1-alpha-6f4e61418f.0",
|
|
90
|
+
"@genesislcap/vite-builder": "15.94.1-alpha-6f4e61418f.0",
|
|
91
|
+
"@genesislcap/webpack-builder": "15.94.1-alpha-6f4e61418f.0",
|
|
92
92
|
"dayjs": "^1.11.7"
|
|
93
93
|
},
|
|
94
94
|
"dependencies": {
|
|
95
|
-
"@genesislcap/foundation-comms": "15.94.0",
|
|
96
|
-
"@genesislcap/foundation-criteria": "15.94.0",
|
|
97
|
-
"@genesislcap/foundation-entity-management": "15.94.0",
|
|
98
|
-
"@genesislcap/foundation-forms": "15.94.0",
|
|
99
|
-
"@genesislcap/foundation-layout": "15.94.0",
|
|
100
|
-
"@genesislcap/foundation-logger": "15.94.0",
|
|
101
|
-
"@genesislcap/foundation-notifications": "15.94.0",
|
|
102
|
-
"@genesislcap/foundation-ui": "15.94.0",
|
|
103
|
-
"@genesislcap/foundation-utils": "15.94.0",
|
|
104
|
-
"@genesislcap/rapid-design-system": "15.94.0",
|
|
105
|
-
"@genesislcap/rapid-grid-pro": "15.94.0",
|
|
106
|
-
"@genesislcap/web-core": "15.94.0",
|
|
95
|
+
"@genesislcap/foundation-comms": "15.94.1-alpha-6f4e61418f.0",
|
|
96
|
+
"@genesislcap/foundation-criteria": "15.94.1-alpha-6f4e61418f.0",
|
|
97
|
+
"@genesislcap/foundation-entity-management": "15.94.1-alpha-6f4e61418f.0",
|
|
98
|
+
"@genesislcap/foundation-forms": "15.94.1-alpha-6f4e61418f.0",
|
|
99
|
+
"@genesislcap/foundation-layout": "15.94.1-alpha-6f4e61418f.0",
|
|
100
|
+
"@genesislcap/foundation-logger": "15.94.1-alpha-6f4e61418f.0",
|
|
101
|
+
"@genesislcap/foundation-notifications": "15.94.1-alpha-6f4e61418f.0",
|
|
102
|
+
"@genesislcap/foundation-ui": "15.94.1-alpha-6f4e61418f.0",
|
|
103
|
+
"@genesislcap/foundation-utils": "15.94.1-alpha-6f4e61418f.0",
|
|
104
|
+
"@genesislcap/rapid-design-system": "15.94.1-alpha-6f4e61418f.0",
|
|
105
|
+
"@genesislcap/rapid-grid-pro": "15.94.1-alpha-6f4e61418f.0",
|
|
106
|
+
"@genesislcap/web-core": "15.94.1-alpha-6f4e61418f.0",
|
|
107
107
|
"lodash.debounce": "^4.0.8",
|
|
108
108
|
"rxjs": "^7.5.4"
|
|
109
109
|
},
|