@genesislcap/pbc-notify-ui 15.73.0 → 15.75.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 +354 -354
- package/dist/dts/react.d.ts +19 -19
- package/dist/esm/components/foundation-inbox/inbox-base/inbox-base.js +1 -1
- package/dist/react.cjs +10 -10
- package/dist/react.mjs +8 -8
- package/package.json +22 -22
|
@@ -5984,149 +5984,6 @@
|
|
|
5984
5984
|
}
|
|
5985
5985
|
]
|
|
5986
5986
|
},
|
|
5987
|
-
{
|
|
5988
|
-
"kind": "javascript-module",
|
|
5989
|
-
"path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts",
|
|
5990
|
-
"declarations": [
|
|
5991
|
-
{
|
|
5992
|
-
"kind": "variable",
|
|
5993
|
-
"name": "noItemsClass",
|
|
5994
|
-
"type": {
|
|
5995
|
-
"text": "string"
|
|
5996
|
-
},
|
|
5997
|
-
"default": "'no-items'",
|
|
5998
|
-
"description": "Class to use when there are no items"
|
|
5999
|
-
},
|
|
6000
|
-
{
|
|
6001
|
-
"kind": "variable",
|
|
6002
|
-
"name": "FoundationInboxCounterStyles",
|
|
6003
|
-
"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`"
|
|
6004
|
-
}
|
|
6005
|
-
],
|
|
6006
|
-
"exports": [
|
|
6007
|
-
{
|
|
6008
|
-
"kind": "js",
|
|
6009
|
-
"name": "noItemsClass",
|
|
6010
|
-
"declaration": {
|
|
6011
|
-
"name": "noItemsClass",
|
|
6012
|
-
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
|
|
6013
|
-
}
|
|
6014
|
-
},
|
|
6015
|
-
{
|
|
6016
|
-
"kind": "js",
|
|
6017
|
-
"name": "FoundationInboxCounterStyles",
|
|
6018
|
-
"declaration": {
|
|
6019
|
-
"name": "FoundationInboxCounterStyles",
|
|
6020
|
-
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
|
|
6021
|
-
}
|
|
6022
|
-
}
|
|
6023
|
-
]
|
|
6024
|
-
},
|
|
6025
|
-
{
|
|
6026
|
-
"kind": "javascript-module",
|
|
6027
|
-
"path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts",
|
|
6028
|
-
"declarations": [
|
|
6029
|
-
{
|
|
6030
|
-
"kind": "variable",
|
|
6031
|
-
"name": "FoundationInboxCounterTemplate",
|
|
6032
|
-
"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`"
|
|
6033
|
-
}
|
|
6034
|
-
],
|
|
6035
|
-
"exports": [
|
|
6036
|
-
{
|
|
6037
|
-
"kind": "js",
|
|
6038
|
-
"name": "FoundationInboxCounterTemplate",
|
|
6039
|
-
"declaration": {
|
|
6040
|
-
"name": "FoundationInboxCounterTemplate",
|
|
6041
|
-
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts"
|
|
6042
|
-
}
|
|
6043
|
-
}
|
|
6044
|
-
]
|
|
6045
|
-
},
|
|
6046
|
-
{
|
|
6047
|
-
"kind": "javascript-module",
|
|
6048
|
-
"path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts",
|
|
6049
|
-
"declarations": [
|
|
6050
|
-
{
|
|
6051
|
-
"kind": "class",
|
|
6052
|
-
"description": "",
|
|
6053
|
-
"name": "FoundationInboxCounter",
|
|
6054
|
-
"members": [
|
|
6055
|
-
{
|
|
6056
|
-
"kind": "field",
|
|
6057
|
-
"name": "value",
|
|
6058
|
-
"type": {
|
|
6059
|
-
"text": "number"
|
|
6060
|
-
},
|
|
6061
|
-
"default": "0"
|
|
6062
|
-
},
|
|
6063
|
-
{
|
|
6064
|
-
"kind": "field",
|
|
6065
|
-
"name": "connect",
|
|
6066
|
-
"type": {
|
|
6067
|
-
"text": "Connect"
|
|
6068
|
-
}
|
|
6069
|
-
},
|
|
6070
|
-
{
|
|
6071
|
-
"kind": "field",
|
|
6072
|
-
"name": "inboxService",
|
|
6073
|
-
"type": {
|
|
6074
|
-
"text": "FoundationInboxService"
|
|
6075
|
-
}
|
|
6076
|
-
},
|
|
6077
|
-
{
|
|
6078
|
-
"kind": "field",
|
|
6079
|
-
"name": "connectionSub",
|
|
6080
|
-
"type": {
|
|
6081
|
-
"text": "Subscription"
|
|
6082
|
-
},
|
|
6083
|
-
"privacy": "private"
|
|
6084
|
-
},
|
|
6085
|
-
{
|
|
6086
|
-
"kind": "method",
|
|
6087
|
-
"name": "subscribeToAlerts",
|
|
6088
|
-
"privacy": "private",
|
|
6089
|
-
"return": {
|
|
6090
|
-
"type": {
|
|
6091
|
-
"text": "Promise<void>"
|
|
6092
|
-
}
|
|
6093
|
-
},
|
|
6094
|
-
"description": "Subscribes to alerts from the inbox service"
|
|
6095
|
-
},
|
|
6096
|
-
{
|
|
6097
|
-
"kind": "field",
|
|
6098
|
-
"name": "subscriptionHandler",
|
|
6099
|
-
"privacy": "private",
|
|
6100
|
-
"description": "Handles subscription updates from the inbox service"
|
|
6101
|
-
}
|
|
6102
|
-
],
|
|
6103
|
-
"superclass": {
|
|
6104
|
-
"name": "GenesisElement",
|
|
6105
|
-
"package": "@genesislcap/web-core"
|
|
6106
|
-
},
|
|
6107
|
-
"tagName": "foundation-inbox-counter",
|
|
6108
|
-
"customElement": true
|
|
6109
|
-
}
|
|
6110
|
-
],
|
|
6111
|
-
"exports": [
|
|
6112
|
-
{
|
|
6113
|
-
"kind": "js",
|
|
6114
|
-
"name": "FoundationInboxCounter",
|
|
6115
|
-
"declaration": {
|
|
6116
|
-
"name": "FoundationInboxCounter",
|
|
6117
|
-
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
|
|
6118
|
-
}
|
|
6119
|
-
},
|
|
6120
|
-
{
|
|
6121
|
-
"kind": "custom-element-definition",
|
|
6122
|
-
"name": "foundation-inbox-counter",
|
|
6123
|
-
"declaration": {
|
|
6124
|
-
"name": "FoundationInboxCounter",
|
|
6125
|
-
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
|
|
6126
|
-
}
|
|
6127
|
-
}
|
|
6128
|
-
]
|
|
6129
|
-
},
|
|
6130
5987
|
{
|
|
6131
5988
|
"kind": "javascript-module",
|
|
6132
5989
|
"path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts",
|
|
@@ -7527,124 +7384,267 @@
|
|
|
7527
7384
|
},
|
|
7528
7385
|
{
|
|
7529
7386
|
"kind": "javascript-module",
|
|
7530
|
-
"path": "src/components/foundation-inbox/components/inbox-
|
|
7387
|
+
"path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts",
|
|
7531
7388
|
"declarations": [
|
|
7532
7389
|
{
|
|
7533
7390
|
"kind": "variable",
|
|
7534
|
-
"name": "
|
|
7535
|
-
"
|
|
7391
|
+
"name": "noItemsClass",
|
|
7392
|
+
"type": {
|
|
7393
|
+
"text": "string"
|
|
7394
|
+
},
|
|
7395
|
+
"default": "'no-items'",
|
|
7396
|
+
"description": "Class to use when there are no items"
|
|
7397
|
+
},
|
|
7398
|
+
{
|
|
7399
|
+
"kind": "variable",
|
|
7400
|
+
"name": "FoundationInboxCounterStyles",
|
|
7401
|
+
"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`"
|
|
7536
7402
|
}
|
|
7537
7403
|
],
|
|
7538
7404
|
"exports": [
|
|
7539
7405
|
{
|
|
7540
7406
|
"kind": "js",
|
|
7541
|
-
"name": "
|
|
7407
|
+
"name": "noItemsClass",
|
|
7542
7408
|
"declaration": {
|
|
7543
|
-
"name": "
|
|
7544
|
-
"module": "src/components/foundation-inbox/components/inbox-
|
|
7409
|
+
"name": "noItemsClass",
|
|
7410
|
+
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
|
|
7411
|
+
}
|
|
7412
|
+
},
|
|
7413
|
+
{
|
|
7414
|
+
"kind": "js",
|
|
7415
|
+
"name": "FoundationInboxCounterStyles",
|
|
7416
|
+
"declaration": {
|
|
7417
|
+
"name": "FoundationInboxCounterStyles",
|
|
7418
|
+
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
|
|
7545
7419
|
}
|
|
7546
7420
|
}
|
|
7547
7421
|
]
|
|
7548
7422
|
},
|
|
7549
7423
|
{
|
|
7550
7424
|
"kind": "javascript-module",
|
|
7551
|
-
"path": "src/components/foundation-inbox/components/inbox-
|
|
7425
|
+
"path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts",
|
|
7552
7426
|
"declarations": [
|
|
7553
7427
|
{
|
|
7554
7428
|
"kind": "variable",
|
|
7555
|
-
"name": "
|
|
7556
|
-
"default": "html<
|
|
7429
|
+
"name": "FoundationInboxCounterTemplate",
|
|
7430
|
+
"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`"
|
|
7557
7431
|
}
|
|
7558
7432
|
],
|
|
7559
7433
|
"exports": [
|
|
7560
7434
|
{
|
|
7561
7435
|
"kind": "js",
|
|
7562
|
-
"name": "
|
|
7436
|
+
"name": "FoundationInboxCounterTemplate",
|
|
7563
7437
|
"declaration": {
|
|
7564
|
-
"name": "
|
|
7565
|
-
"module": "src/components/foundation-inbox/components/inbox-
|
|
7438
|
+
"name": "FoundationInboxCounterTemplate",
|
|
7439
|
+
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts"
|
|
7566
7440
|
}
|
|
7567
7441
|
}
|
|
7568
7442
|
]
|
|
7569
7443
|
},
|
|
7570
7444
|
{
|
|
7571
7445
|
"kind": "javascript-module",
|
|
7572
|
-
"path": "src/components/foundation-inbox/components/inbox-
|
|
7446
|
+
"path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts",
|
|
7573
7447
|
"declarations": [
|
|
7574
7448
|
{
|
|
7575
7449
|
"kind": "class",
|
|
7576
|
-
"description": "
|
|
7577
|
-
"name": "
|
|
7450
|
+
"description": "",
|
|
7451
|
+
"name": "FoundationInboxCounter",
|
|
7578
7452
|
"members": [
|
|
7579
7453
|
{
|
|
7580
7454
|
"kind": "field",
|
|
7581
|
-
"name": "
|
|
7582
|
-
},
|
|
7583
|
-
{
|
|
7584
|
-
"kind": "field",
|
|
7585
|
-
"name": "inline",
|
|
7586
|
-
"type": {
|
|
7587
|
-
"text": "boolean"
|
|
7588
|
-
},
|
|
7589
|
-
"default": "false"
|
|
7590
|
-
},
|
|
7591
|
-
{
|
|
7592
|
-
"kind": "field",
|
|
7593
|
-
"name": "extraParameterDetails",
|
|
7455
|
+
"name": "value",
|
|
7594
7456
|
"type": {
|
|
7595
|
-
"text": "
|
|
7457
|
+
"text": "number"
|
|
7596
7458
|
},
|
|
7597
|
-
"default": "
|
|
7598
|
-
"description": "Merged into subscribe payload (e.g. CHANNEL topic). Hidden from the form."
|
|
7459
|
+
"default": "0"
|
|
7599
7460
|
},
|
|
7600
7461
|
{
|
|
7601
7462
|
"kind": "field",
|
|
7602
|
-
"name": "
|
|
7463
|
+
"name": "connect",
|
|
7603
7464
|
"type": {
|
|
7604
|
-
"text": "
|
|
7605
|
-
}
|
|
7606
|
-
"privacy": "private",
|
|
7607
|
-
"default": "{}"
|
|
7465
|
+
"text": "Connect"
|
|
7466
|
+
}
|
|
7608
7467
|
},
|
|
7609
7468
|
{
|
|
7610
7469
|
"kind": "field",
|
|
7611
|
-
"name": "
|
|
7470
|
+
"name": "inboxService",
|
|
7612
7471
|
"type": {
|
|
7613
|
-
"text": "
|
|
7614
|
-
}
|
|
7615
|
-
"privacy": "private",
|
|
7616
|
-
"default": "false"
|
|
7472
|
+
"text": "FoundationInboxService"
|
|
7473
|
+
}
|
|
7617
7474
|
},
|
|
7618
7475
|
{
|
|
7619
7476
|
"kind": "field",
|
|
7620
|
-
"name": "
|
|
7477
|
+
"name": "connectionSub",
|
|
7621
7478
|
"type": {
|
|
7622
|
-
"text": "
|
|
7479
|
+
"text": "Subscription"
|
|
7623
7480
|
},
|
|
7624
|
-
"
|
|
7481
|
+
"privacy": "private"
|
|
7625
7482
|
},
|
|
7626
7483
|
{
|
|
7627
|
-
"kind": "
|
|
7628
|
-
"name": "
|
|
7629
|
-
"
|
|
7630
|
-
|
|
7484
|
+
"kind": "method",
|
|
7485
|
+
"name": "subscribeToAlerts",
|
|
7486
|
+
"privacy": "private",
|
|
7487
|
+
"return": {
|
|
7488
|
+
"type": {
|
|
7489
|
+
"text": "Promise<void>"
|
|
7490
|
+
}
|
|
7631
7491
|
},
|
|
7632
|
-
"
|
|
7633
|
-
},
|
|
7634
|
-
{
|
|
7635
|
-
"kind": "field",
|
|
7636
|
-
"name": "ruleService",
|
|
7637
|
-
"type": {
|
|
7638
|
-
"text": "RuleService"
|
|
7639
|
-
}
|
|
7492
|
+
"description": "Subscribes to alerts from the inbox service"
|
|
7640
7493
|
},
|
|
7641
7494
|
{
|
|
7642
7495
|
"kind": "field",
|
|
7643
|
-
"name": "
|
|
7644
|
-
"
|
|
7645
|
-
|
|
7646
|
-
|
|
7647
|
-
|
|
7496
|
+
"name": "subscriptionHandler",
|
|
7497
|
+
"privacy": "private",
|
|
7498
|
+
"description": "Handles subscription updates from the inbox service"
|
|
7499
|
+
}
|
|
7500
|
+
],
|
|
7501
|
+
"superclass": {
|
|
7502
|
+
"name": "GenesisElement",
|
|
7503
|
+
"package": "@genesislcap/web-core"
|
|
7504
|
+
},
|
|
7505
|
+
"tagName": "foundation-inbox-counter",
|
|
7506
|
+
"customElement": true
|
|
7507
|
+
}
|
|
7508
|
+
],
|
|
7509
|
+
"exports": [
|
|
7510
|
+
{
|
|
7511
|
+
"kind": "js",
|
|
7512
|
+
"name": "FoundationInboxCounter",
|
|
7513
|
+
"declaration": {
|
|
7514
|
+
"name": "FoundationInboxCounter",
|
|
7515
|
+
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
|
|
7516
|
+
}
|
|
7517
|
+
},
|
|
7518
|
+
{
|
|
7519
|
+
"kind": "custom-element-definition",
|
|
7520
|
+
"name": "foundation-inbox-counter",
|
|
7521
|
+
"declaration": {
|
|
7522
|
+
"name": "FoundationInboxCounter",
|
|
7523
|
+
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
|
|
7524
|
+
}
|
|
7525
|
+
}
|
|
7526
|
+
]
|
|
7527
|
+
},
|
|
7528
|
+
{
|
|
7529
|
+
"kind": "javascript-module",
|
|
7530
|
+
"path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts",
|
|
7531
|
+
"declarations": [
|
|
7532
|
+
{
|
|
7533
|
+
"kind": "variable",
|
|
7534
|
+
"name": "InboxSubscriptionStyles",
|
|
7535
|
+
"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`"
|
|
7536
|
+
}
|
|
7537
|
+
],
|
|
7538
|
+
"exports": [
|
|
7539
|
+
{
|
|
7540
|
+
"kind": "js",
|
|
7541
|
+
"name": "InboxSubscriptionStyles",
|
|
7542
|
+
"declaration": {
|
|
7543
|
+
"name": "InboxSubscriptionStyles",
|
|
7544
|
+
"module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts"
|
|
7545
|
+
}
|
|
7546
|
+
}
|
|
7547
|
+
]
|
|
7548
|
+
},
|
|
7549
|
+
{
|
|
7550
|
+
"kind": "javascript-module",
|
|
7551
|
+
"path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts",
|
|
7552
|
+
"declarations": [
|
|
7553
|
+
{
|
|
7554
|
+
"kind": "variable",
|
|
7555
|
+
"name": "InboxSubscriptionTemplate",
|
|
7556
|
+
"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`"
|
|
7557
|
+
}
|
|
7558
|
+
],
|
|
7559
|
+
"exports": [
|
|
7560
|
+
{
|
|
7561
|
+
"kind": "js",
|
|
7562
|
+
"name": "InboxSubscriptionTemplate",
|
|
7563
|
+
"declaration": {
|
|
7564
|
+
"name": "InboxSubscriptionTemplate",
|
|
7565
|
+
"module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts"
|
|
7566
|
+
}
|
|
7567
|
+
}
|
|
7568
|
+
]
|
|
7569
|
+
},
|
|
7570
|
+
{
|
|
7571
|
+
"kind": "javascript-module",
|
|
7572
|
+
"path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts",
|
|
7573
|
+
"declarations": [
|
|
7574
|
+
{
|
|
7575
|
+
"kind": "class",
|
|
7576
|
+
"description": "Inbox subscription configuration UI.",
|
|
7577
|
+
"name": "InboxSubscription",
|
|
7578
|
+
"members": [
|
|
7579
|
+
{
|
|
7580
|
+
"kind": "field",
|
|
7581
|
+
"name": "template"
|
|
7582
|
+
},
|
|
7583
|
+
{
|
|
7584
|
+
"kind": "field",
|
|
7585
|
+
"name": "inline",
|
|
7586
|
+
"type": {
|
|
7587
|
+
"text": "boolean"
|
|
7588
|
+
},
|
|
7589
|
+
"default": "false"
|
|
7590
|
+
},
|
|
7591
|
+
{
|
|
7592
|
+
"kind": "field",
|
|
7593
|
+
"name": "extraParameterDetails",
|
|
7594
|
+
"type": {
|
|
7595
|
+
"text": "Record<string, string>"
|
|
7596
|
+
},
|
|
7597
|
+
"default": "{}",
|
|
7598
|
+
"description": "Merged into subscribe payload (e.g. CHANNEL topic). Hidden from the form."
|
|
7599
|
+
},
|
|
7600
|
+
{
|
|
7601
|
+
"kind": "field",
|
|
7602
|
+
"name": "parametersDetails",
|
|
7603
|
+
"type": {
|
|
7604
|
+
"text": "object"
|
|
7605
|
+
},
|
|
7606
|
+
"privacy": "private",
|
|
7607
|
+
"default": "{}"
|
|
7608
|
+
},
|
|
7609
|
+
{
|
|
7610
|
+
"kind": "field",
|
|
7611
|
+
"name": "isSubmitting",
|
|
7612
|
+
"type": {
|
|
7613
|
+
"text": "boolean"
|
|
7614
|
+
},
|
|
7615
|
+
"privacy": "private",
|
|
7616
|
+
"default": "false"
|
|
7617
|
+
},
|
|
7618
|
+
{
|
|
7619
|
+
"kind": "field",
|
|
7620
|
+
"name": "parametersOperators",
|
|
7621
|
+
"type": {
|
|
7622
|
+
"text": "object"
|
|
7623
|
+
},
|
|
7624
|
+
"default": "{}"
|
|
7625
|
+
},
|
|
7626
|
+
{
|
|
7627
|
+
"kind": "field",
|
|
7628
|
+
"name": "subscribeDisabled",
|
|
7629
|
+
"type": {
|
|
7630
|
+
"text": "boolean"
|
|
7631
|
+
},
|
|
7632
|
+
"default": "true"
|
|
7633
|
+
},
|
|
7634
|
+
{
|
|
7635
|
+
"kind": "field",
|
|
7636
|
+
"name": "ruleService",
|
|
7637
|
+
"type": {
|
|
7638
|
+
"text": "RuleService"
|
|
7639
|
+
}
|
|
7640
|
+
},
|
|
7641
|
+
{
|
|
7642
|
+
"kind": "field",
|
|
7643
|
+
"name": "visibleParameters",
|
|
7644
|
+
"type": {
|
|
7645
|
+
"text": "RuleParameterEntity[]"
|
|
7646
|
+
},
|
|
7647
|
+
"readonly": true
|
|
7648
7648
|
},
|
|
7649
7649
|
{
|
|
7650
7650
|
"kind": "method",
|
|
@@ -9985,156 +9985,6 @@
|
|
|
9985
9985
|
}
|
|
9986
9986
|
]
|
|
9987
9987
|
},
|
|
9988
|
-
{
|
|
9989
|
-
"kind": "javascript-module",
|
|
9990
|
-
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
|
|
9991
|
-
"declarations": [
|
|
9992
|
-
{
|
|
9993
|
-
"kind": "variable",
|
|
9994
|
-
"name": "RuleConditionGroupTemplate",
|
|
9995
|
-
"default": "html<RuleConditionGroup>`\n ${when(\n (x) => !x.isFirst,\n html`\n <div class=\"join-toggle-row\">\n <div class=\"join-toggle\">\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'AND'])}\"\n @click=${(x) => (x.joinOperator = 'AND')}\n >\n AND\n </span>\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'OR'])}\"\n @click=${(x) => (x.joinOperator = 'OR')}\n >\n OR\n </span>\n </div>\n </div>\n `,\n )}\n <div class=\"condition-group-row\">\n <div class=\"condition-group-box\">\n ${repeat(\n (x) => x.groupChildren,\n html<ConditionNode, RuleConditionGroup>`\n ${when(\n (x) => isGroup(x),\n html<ConditionNode>`\n <rule-condition-group\n :fields=${(x, c) => c.parent.fields}\n :node=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></rule-condition-group>\n `,\n )}\n ${when(\n (x) => !isGroup(x),\n html<ConditionNode>`\n <rule-condition-builder\n :fields=${(x, c) => c.parent.fields}\n :condition=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></rule-condition-builder>\n `,\n )}\n `,\n { positioning: true },\n )}\n\n <div class=\"content-row\">\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newCondition()}>\n + Condition\n </rapid-button>\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newGroup()}>+ Group</rapid-button>\n <rapid-button appearance=\"icon\" class=\"delete-group\" @click=${(x) => x.deleteSelf()}>\n <rapid-icon variant=\"regular\" name=\"trash-alt\" size=\"lg\" part=\"icon\"></rapid-icon>\n </rapid-button>\n </div>\n </div>\n </div>\n`"
|
|
9996
|
-
}
|
|
9997
|
-
],
|
|
9998
|
-
"exports": [
|
|
9999
|
-
{
|
|
10000
|
-
"kind": "js",
|
|
10001
|
-
"name": "RuleConditionGroupTemplate",
|
|
10002
|
-
"declaration": {
|
|
10003
|
-
"name": "RuleConditionGroupTemplate",
|
|
10004
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
|
|
10005
|
-
}
|
|
10006
|
-
}
|
|
10007
|
-
]
|
|
10008
|
-
},
|
|
10009
|
-
{
|
|
10010
|
-
"kind": "javascript-module",
|
|
10011
|
-
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
|
|
10012
|
-
"declarations": [
|
|
10013
|
-
{
|
|
10014
|
-
"kind": "class",
|
|
10015
|
-
"description": "Parenthesized group of conditions/nested groups for notification rule\ncriteria, joined to the previous sibling via AND/OR like a single\ncondition row - but bracketing its own children off from the rest of the\nlist, so e.g. \"(A && B) || C\" can be expressed without the AND silently\nspanning more than intended.",
|
|
10016
|
-
"name": "RuleConditionGroup",
|
|
10017
|
-
"members": [
|
|
10018
|
-
{
|
|
10019
|
-
"kind": "field",
|
|
10020
|
-
"name": "node",
|
|
10021
|
-
"type": {
|
|
10022
|
-
"text": "ConditionGroupEntity"
|
|
10023
|
-
}
|
|
10024
|
-
},
|
|
10025
|
-
{
|
|
10026
|
-
"kind": "field",
|
|
10027
|
-
"name": "fields",
|
|
10028
|
-
"type": {
|
|
10029
|
-
"text": "Field[]"
|
|
10030
|
-
},
|
|
10031
|
-
"default": "[]"
|
|
10032
|
-
},
|
|
10033
|
-
{
|
|
10034
|
-
"kind": "field",
|
|
10035
|
-
"name": "isFirst",
|
|
10036
|
-
"type": {
|
|
10037
|
-
"text": "boolean"
|
|
10038
|
-
},
|
|
10039
|
-
"default": "false"
|
|
10040
|
-
},
|
|
10041
|
-
{
|
|
10042
|
-
"kind": "field",
|
|
10043
|
-
"name": "joinOperator",
|
|
10044
|
-
"type": {
|
|
10045
|
-
"text": "string"
|
|
10046
|
-
}
|
|
10047
|
-
},
|
|
10048
|
-
{
|
|
10049
|
-
"kind": "field",
|
|
10050
|
-
"name": "groupChildren",
|
|
10051
|
-
"type": {
|
|
10052
|
-
"text": "ConditionNode[]"
|
|
10053
|
-
},
|
|
10054
|
-
"default": "[]"
|
|
10055
|
-
},
|
|
10056
|
-
{
|
|
10057
|
-
"kind": "method",
|
|
10058
|
-
"name": "nodeChanged"
|
|
10059
|
-
},
|
|
10060
|
-
{
|
|
10061
|
-
"kind": "method",
|
|
10062
|
-
"name": "joinOperatorChanged"
|
|
10063
|
-
},
|
|
10064
|
-
{
|
|
10065
|
-
"kind": "method",
|
|
10066
|
-
"name": "newCondition"
|
|
10067
|
-
},
|
|
10068
|
-
{
|
|
10069
|
-
"kind": "method",
|
|
10070
|
-
"name": "newGroup"
|
|
10071
|
-
},
|
|
10072
|
-
{
|
|
10073
|
-
"kind": "method",
|
|
10074
|
-
"name": "editChild",
|
|
10075
|
-
"parameters": [
|
|
10076
|
-
{
|
|
10077
|
-
"name": "_editedChild",
|
|
10078
|
-
"type": {
|
|
10079
|
-
"text": "ConditionNode"
|
|
10080
|
-
}
|
|
10081
|
-
}
|
|
10082
|
-
]
|
|
10083
|
-
},
|
|
10084
|
-
{
|
|
10085
|
-
"kind": "method",
|
|
10086
|
-
"name": "deleteChild",
|
|
10087
|
-
"parameters": [
|
|
10088
|
-
{
|
|
10089
|
-
"name": "deletedChild",
|
|
10090
|
-
"type": {
|
|
10091
|
-
"text": "ConditionNode"
|
|
10092
|
-
}
|
|
10093
|
-
}
|
|
10094
|
-
]
|
|
10095
|
-
},
|
|
10096
|
-
{
|
|
10097
|
-
"kind": "method",
|
|
10098
|
-
"name": "deleteSelf"
|
|
10099
|
-
}
|
|
10100
|
-
],
|
|
10101
|
-
"events": [
|
|
10102
|
-
{
|
|
10103
|
-
"description": "Fired when this whole group should be removed",
|
|
10104
|
-
"name": "delete"
|
|
10105
|
-
},
|
|
10106
|
-
{
|
|
10107
|
-
"description": "Fired when anything inside this group changes",
|
|
10108
|
-
"name": "edit"
|
|
10109
|
-
}
|
|
10110
|
-
],
|
|
10111
|
-
"superclass": {
|
|
10112
|
-
"name": "GenesisElement",
|
|
10113
|
-
"package": "@genesislcap/web-core"
|
|
10114
|
-
},
|
|
10115
|
-
"tagName": "rule-condition-group",
|
|
10116
|
-
"customElement": true
|
|
10117
|
-
}
|
|
10118
|
-
],
|
|
10119
|
-
"exports": [
|
|
10120
|
-
{
|
|
10121
|
-
"kind": "js",
|
|
10122
|
-
"name": "RuleConditionGroup",
|
|
10123
|
-
"declaration": {
|
|
10124
|
-
"name": "RuleConditionGroup",
|
|
10125
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
10126
|
-
}
|
|
10127
|
-
},
|
|
10128
|
-
{
|
|
10129
|
-
"kind": "custom-element-definition",
|
|
10130
|
-
"name": "rule-condition-group",
|
|
10131
|
-
"declaration": {
|
|
10132
|
-
"name": "RuleConditionGroup",
|
|
10133
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
10134
|
-
}
|
|
10135
|
-
}
|
|
10136
|
-
]
|
|
10137
|
-
},
|
|
10138
9988
|
{
|
|
10139
9989
|
"kind": "javascript-module",
|
|
10140
9990
|
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts",
|
|
@@ -10419,6 +10269,156 @@
|
|
|
10419
10269
|
"declarations": [],
|
|
10420
10270
|
"exports": []
|
|
10421
10271
|
},
|
|
10272
|
+
{
|
|
10273
|
+
"kind": "javascript-module",
|
|
10274
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
|
|
10275
|
+
"declarations": [
|
|
10276
|
+
{
|
|
10277
|
+
"kind": "variable",
|
|
10278
|
+
"name": "RuleConditionGroupTemplate",
|
|
10279
|
+
"default": "html<RuleConditionGroup>`\n ${when(\n (x) => !x.isFirst,\n html`\n <div class=\"join-toggle-row\">\n <div class=\"join-toggle\">\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'AND'])}\"\n @click=${(x) => (x.joinOperator = 'AND')}\n >\n AND\n </span>\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'OR'])}\"\n @click=${(x) => (x.joinOperator = 'OR')}\n >\n OR\n </span>\n </div>\n </div>\n `,\n )}\n <div class=\"condition-group-row\">\n <div class=\"condition-group-box\">\n ${repeat(\n (x) => x.groupChildren,\n html<ConditionNode, RuleConditionGroup>`\n ${when(\n (x) => isGroup(x),\n html<ConditionNode>`\n <rule-condition-group\n :fields=${(x, c) => c.parent.fields}\n :node=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></rule-condition-group>\n `,\n )}\n ${when(\n (x) => !isGroup(x),\n html<ConditionNode>`\n <rule-condition-builder\n :fields=${(x, c) => c.parent.fields}\n :condition=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></rule-condition-builder>\n `,\n )}\n `,\n { positioning: true },\n )}\n\n <div class=\"content-row\">\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newCondition()}>\n + Condition\n </rapid-button>\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newGroup()}>+ Group</rapid-button>\n <rapid-button appearance=\"icon\" class=\"delete-group\" @click=${(x) => x.deleteSelf()}>\n <rapid-icon variant=\"regular\" name=\"trash-alt\" size=\"lg\" part=\"icon\"></rapid-icon>\n </rapid-button>\n </div>\n </div>\n </div>\n`"
|
|
10280
|
+
}
|
|
10281
|
+
],
|
|
10282
|
+
"exports": [
|
|
10283
|
+
{
|
|
10284
|
+
"kind": "js",
|
|
10285
|
+
"name": "RuleConditionGroupTemplate",
|
|
10286
|
+
"declaration": {
|
|
10287
|
+
"name": "RuleConditionGroupTemplate",
|
|
10288
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
|
|
10289
|
+
}
|
|
10290
|
+
}
|
|
10291
|
+
]
|
|
10292
|
+
},
|
|
10293
|
+
{
|
|
10294
|
+
"kind": "javascript-module",
|
|
10295
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
|
|
10296
|
+
"declarations": [
|
|
10297
|
+
{
|
|
10298
|
+
"kind": "class",
|
|
10299
|
+
"description": "Parenthesized group of conditions/nested groups for notification rule\ncriteria, joined to the previous sibling via AND/OR like a single\ncondition row - but bracketing its own children off from the rest of the\nlist, so e.g. \"(A && B) || C\" can be expressed without the AND silently\nspanning more than intended.",
|
|
10300
|
+
"name": "RuleConditionGroup",
|
|
10301
|
+
"members": [
|
|
10302
|
+
{
|
|
10303
|
+
"kind": "field",
|
|
10304
|
+
"name": "node",
|
|
10305
|
+
"type": {
|
|
10306
|
+
"text": "ConditionGroupEntity"
|
|
10307
|
+
}
|
|
10308
|
+
},
|
|
10309
|
+
{
|
|
10310
|
+
"kind": "field",
|
|
10311
|
+
"name": "fields",
|
|
10312
|
+
"type": {
|
|
10313
|
+
"text": "Field[]"
|
|
10314
|
+
},
|
|
10315
|
+
"default": "[]"
|
|
10316
|
+
},
|
|
10317
|
+
{
|
|
10318
|
+
"kind": "field",
|
|
10319
|
+
"name": "isFirst",
|
|
10320
|
+
"type": {
|
|
10321
|
+
"text": "boolean"
|
|
10322
|
+
},
|
|
10323
|
+
"default": "false"
|
|
10324
|
+
},
|
|
10325
|
+
{
|
|
10326
|
+
"kind": "field",
|
|
10327
|
+
"name": "joinOperator",
|
|
10328
|
+
"type": {
|
|
10329
|
+
"text": "string"
|
|
10330
|
+
}
|
|
10331
|
+
},
|
|
10332
|
+
{
|
|
10333
|
+
"kind": "field",
|
|
10334
|
+
"name": "groupChildren",
|
|
10335
|
+
"type": {
|
|
10336
|
+
"text": "ConditionNode[]"
|
|
10337
|
+
},
|
|
10338
|
+
"default": "[]"
|
|
10339
|
+
},
|
|
10340
|
+
{
|
|
10341
|
+
"kind": "method",
|
|
10342
|
+
"name": "nodeChanged"
|
|
10343
|
+
},
|
|
10344
|
+
{
|
|
10345
|
+
"kind": "method",
|
|
10346
|
+
"name": "joinOperatorChanged"
|
|
10347
|
+
},
|
|
10348
|
+
{
|
|
10349
|
+
"kind": "method",
|
|
10350
|
+
"name": "newCondition"
|
|
10351
|
+
},
|
|
10352
|
+
{
|
|
10353
|
+
"kind": "method",
|
|
10354
|
+
"name": "newGroup"
|
|
10355
|
+
},
|
|
10356
|
+
{
|
|
10357
|
+
"kind": "method",
|
|
10358
|
+
"name": "editChild",
|
|
10359
|
+
"parameters": [
|
|
10360
|
+
{
|
|
10361
|
+
"name": "_editedChild",
|
|
10362
|
+
"type": {
|
|
10363
|
+
"text": "ConditionNode"
|
|
10364
|
+
}
|
|
10365
|
+
}
|
|
10366
|
+
]
|
|
10367
|
+
},
|
|
10368
|
+
{
|
|
10369
|
+
"kind": "method",
|
|
10370
|
+
"name": "deleteChild",
|
|
10371
|
+
"parameters": [
|
|
10372
|
+
{
|
|
10373
|
+
"name": "deletedChild",
|
|
10374
|
+
"type": {
|
|
10375
|
+
"text": "ConditionNode"
|
|
10376
|
+
}
|
|
10377
|
+
}
|
|
10378
|
+
]
|
|
10379
|
+
},
|
|
10380
|
+
{
|
|
10381
|
+
"kind": "method",
|
|
10382
|
+
"name": "deleteSelf"
|
|
10383
|
+
}
|
|
10384
|
+
],
|
|
10385
|
+
"events": [
|
|
10386
|
+
{
|
|
10387
|
+
"description": "Fired when this whole group should be removed",
|
|
10388
|
+
"name": "delete"
|
|
10389
|
+
},
|
|
10390
|
+
{
|
|
10391
|
+
"description": "Fired when anything inside this group changes",
|
|
10392
|
+
"name": "edit"
|
|
10393
|
+
}
|
|
10394
|
+
],
|
|
10395
|
+
"superclass": {
|
|
10396
|
+
"name": "GenesisElement",
|
|
10397
|
+
"package": "@genesislcap/web-core"
|
|
10398
|
+
},
|
|
10399
|
+
"tagName": "rule-condition-group",
|
|
10400
|
+
"customElement": true
|
|
10401
|
+
}
|
|
10402
|
+
],
|
|
10403
|
+
"exports": [
|
|
10404
|
+
{
|
|
10405
|
+
"kind": "js",
|
|
10406
|
+
"name": "RuleConditionGroup",
|
|
10407
|
+
"declaration": {
|
|
10408
|
+
"name": "RuleConditionGroup",
|
|
10409
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
10410
|
+
}
|
|
10411
|
+
},
|
|
10412
|
+
{
|
|
10413
|
+
"kind": "custom-element-definition",
|
|
10414
|
+
"name": "rule-condition-group",
|
|
10415
|
+
"declaration": {
|
|
10416
|
+
"name": "RuleConditionGroup",
|
|
10417
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
10418
|
+
}
|
|
10419
|
+
}
|
|
10420
|
+
]
|
|
10421
|
+
},
|
|
10422
10422
|
{
|
|
10423
10423
|
"kind": "javascript-module",
|
|
10424
10424
|
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
package/dist/dts/react.d.ts
CHANGED
|
@@ -106,23 +106,23 @@ export declare const FoundationSounds: React.ForwardRefExoticComponent<
|
|
|
106
106
|
>;
|
|
107
107
|
export type FoundationSoundsRef = FoundationSoundsWC;
|
|
108
108
|
|
|
109
|
-
export declare const
|
|
109
|
+
export declare const FoundationInboxFlyout: React.ForwardRefExoticComponent<
|
|
110
110
|
React.PropsWithChildren<
|
|
111
|
-
Omit<PublicOf<
|
|
111
|
+
Omit<PublicOf<FoundationInboxFlyoutWC>, 'children' | 'style'> &
|
|
112
112
|
HTMLWCProps & {
|
|
113
113
|
}
|
|
114
|
-
> & React.RefAttributes<
|
|
114
|
+
> & React.RefAttributes<FoundationInboxFlyoutWC>
|
|
115
115
|
>;
|
|
116
|
-
export type
|
|
116
|
+
export type FoundationInboxFlyoutRef = FoundationInboxFlyoutWC;
|
|
117
117
|
|
|
118
|
-
export declare const
|
|
118
|
+
export declare const FoundationInboxCounter: React.ForwardRefExoticComponent<
|
|
119
119
|
React.PropsWithChildren<
|
|
120
|
-
Omit<PublicOf<
|
|
120
|
+
Omit<PublicOf<FoundationInboxCounterWC>, 'children' | 'style'> &
|
|
121
121
|
HTMLWCProps & {
|
|
122
122
|
}
|
|
123
|
-
> & React.RefAttributes<
|
|
123
|
+
> & React.RefAttributes<FoundationInboxCounterWC>
|
|
124
124
|
>;
|
|
125
|
-
export type
|
|
125
|
+
export type FoundationInboxCounterRef = FoundationInboxCounterWC;
|
|
126
126
|
|
|
127
127
|
export declare const InboxSubscription: React.ForwardRefExoticComponent<
|
|
128
128
|
React.PropsWithChildren<
|
|
@@ -255,17 +255,6 @@ export declare const TemplateDialog: React.ForwardRefExoticComponent<
|
|
|
255
255
|
>;
|
|
256
256
|
export type TemplateDialogRef = TemplateDialogWC;
|
|
257
257
|
|
|
258
|
-
export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
|
|
259
|
-
React.PropsWithChildren<
|
|
260
|
-
Omit<PublicOf<RuleConditionGroupWC>, 'children' | 'style'> &
|
|
261
|
-
HTMLWCProps & {
|
|
262
|
-
onDelete?: (event: CustomEvent<unknown>) => void;
|
|
263
|
-
onEdit?: (event: CustomEvent<unknown>) => void;
|
|
264
|
-
}
|
|
265
|
-
> & React.RefAttributes<RuleConditionGroupWC>
|
|
266
|
-
>;
|
|
267
|
-
export type RuleConditionGroupRef = RuleConditionGroupWC;
|
|
268
|
-
|
|
269
258
|
export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
|
|
270
259
|
React.PropsWithChildren<
|
|
271
260
|
Omit<PublicOf<RuleConditionBuilderWC>, 'children' | 'style'> &
|
|
@@ -277,6 +266,17 @@ export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
|
|
|
277
266
|
>;
|
|
278
267
|
export type RuleConditionBuilderRef = RuleConditionBuilderWC;
|
|
279
268
|
|
|
269
|
+
export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
|
|
270
|
+
React.PropsWithChildren<
|
|
271
|
+
Omit<PublicOf<RuleConditionGroupWC>, 'children' | 'style'> &
|
|
272
|
+
HTMLWCProps & {
|
|
273
|
+
onDelete?: (event: CustomEvent<unknown>) => void;
|
|
274
|
+
onEdit?: (event: CustomEvent<unknown>) => void;
|
|
275
|
+
}
|
|
276
|
+
> & React.RefAttributes<RuleConditionGroupWC>
|
|
277
|
+
>;
|
|
278
|
+
export type RuleConditionGroupRef = RuleConditionGroupWC;
|
|
279
|
+
|
|
280
280
|
export declare const ParameterBuilder: React.ForwardRefExoticComponent<
|
|
281
281
|
React.PropsWithChildren<
|
|
282
282
|
Omit<PublicOf<ParameterBuilderWC>, 'children' | 'style'> &
|
|
@@ -147,7 +147,7 @@ export class FoundationInboxBase extends GenesisElement {
|
|
|
147
147
|
this.connectionSub.unsubscribe();
|
|
148
148
|
}
|
|
149
149
|
watchParentFlyout() {
|
|
150
|
-
const flyout = this.closest('rapid-flyout
|
|
150
|
+
const flyout = this.closest('rapid-flyout');
|
|
151
151
|
if (!flyout) {
|
|
152
152
|
return;
|
|
153
153
|
}
|
package/dist/react.cjs
CHANGED
|
@@ -67,14 +67,14 @@ 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
|
|
70
|
+
const FoundationInboxFlyout = React.forwardRef(function FoundationInboxFlyout(props, ref) {
|
|
71
71
|
const { children, ...rest } = props;
|
|
72
|
-
return React.createElement(customElements.getName(
|
|
72
|
+
return React.createElement(customElements.getName(FoundationInboxFlyoutWC) ?? 'foundation-inbox-flyout', { ...rest, ref }, children);
|
|
73
73
|
});
|
|
74
74
|
|
|
75
|
-
const
|
|
75
|
+
const FoundationInboxCounter = React.forwardRef(function FoundationInboxCounter(props, ref) {
|
|
76
76
|
const { children, ...rest } = props;
|
|
77
|
-
return React.createElement(customElements.getName(
|
|
77
|
+
return React.createElement(customElements.getName(FoundationInboxCounterWC) ?? 'foundation-inbox-counter', { ...rest, ref }, children);
|
|
78
78
|
});
|
|
79
79
|
|
|
80
80
|
const InboxSubscription = React.forwardRef(function InboxSubscription(props, ref) {
|
|
@@ -200,7 +200,7 @@ const TemplateDialog = React.forwardRef(function TemplateDialog(props, ref) {
|
|
|
200
200
|
return React.createElement(customElements.getName(TemplateDialogWC) ?? 'template-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
201
201
|
});
|
|
202
202
|
|
|
203
|
-
const
|
|
203
|
+
const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
|
|
204
204
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
205
205
|
const _innerRef = React.useRef(null);
|
|
206
206
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -219,10 +219,10 @@ const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, r
|
|
|
219
219
|
el.removeEventListener('edit', _onEditFn);
|
|
220
220
|
};
|
|
221
221
|
}, []);
|
|
222
|
-
return React.createElement(customElements.getName(
|
|
222
|
+
return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
223
223
|
});
|
|
224
224
|
|
|
225
|
-
const
|
|
225
|
+
const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
|
|
226
226
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
227
227
|
const _innerRef = React.useRef(null);
|
|
228
228
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -241,7 +241,7 @@ const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(prop
|
|
|
241
241
|
el.removeEventListener('edit', _onEditFn);
|
|
242
242
|
};
|
|
243
243
|
}, []);
|
|
244
|
-
return React.createElement(customElements.getName(
|
|
244
|
+
return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
245
245
|
});
|
|
246
246
|
|
|
247
247
|
const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
|
|
@@ -316,8 +316,8 @@ module.exports = {
|
|
|
316
316
|
FoundationNotificationDashboard,
|
|
317
317
|
FoundationSoundsPanel,
|
|
318
318
|
FoundationSounds,
|
|
319
|
-
FoundationInboxCounter,
|
|
320
319
|
FoundationInboxFlyout,
|
|
320
|
+
FoundationInboxCounter,
|
|
321
321
|
InboxSubscription,
|
|
322
322
|
NotifyAuditManagement,
|
|
323
323
|
RouteManagement,
|
|
@@ -332,8 +332,8 @@ module.exports = {
|
|
|
332
332
|
SlackRouteManagement,
|
|
333
333
|
RuleDialog,
|
|
334
334
|
TemplateDialog,
|
|
335
|
-
RuleConditionGroup,
|
|
336
335
|
RuleConditionBuilder,
|
|
336
|
+
RuleConditionGroup,
|
|
337
337
|
ParameterBuilder,
|
|
338
338
|
TemplateConditionBuilder,
|
|
339
339
|
TemplateConditionGroup,
|
package/dist/react.mjs
CHANGED
|
@@ -65,14 +65,14 @@ 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
|
|
68
|
+
export const FoundationInboxFlyout = React.forwardRef(function FoundationInboxFlyout(props, ref) {
|
|
69
69
|
const { children, ...rest } = props;
|
|
70
|
-
return React.createElement(customElements.getName(
|
|
70
|
+
return React.createElement(customElements.getName(FoundationInboxFlyoutWC) ?? 'foundation-inbox-flyout', { ...rest, ref }, children);
|
|
71
71
|
});
|
|
72
72
|
|
|
73
|
-
export const
|
|
73
|
+
export const FoundationInboxCounter = React.forwardRef(function FoundationInboxCounter(props, ref) {
|
|
74
74
|
const { children, ...rest } = props;
|
|
75
|
-
return React.createElement(customElements.getName(
|
|
75
|
+
return React.createElement(customElements.getName(FoundationInboxCounterWC) ?? 'foundation-inbox-counter', { ...rest, ref }, children);
|
|
76
76
|
});
|
|
77
77
|
|
|
78
78
|
export const InboxSubscription = React.forwardRef(function InboxSubscription(props, ref) {
|
|
@@ -198,7 +198,7 @@ export const TemplateDialog = React.forwardRef(function TemplateDialog(props, re
|
|
|
198
198
|
return React.createElement(customElements.getName(TemplateDialogWC) ?? 'template-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
199
199
|
});
|
|
200
200
|
|
|
201
|
-
export const
|
|
201
|
+
export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
|
|
202
202
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
203
203
|
const _innerRef = React.useRef(null);
|
|
204
204
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -217,10 +217,10 @@ export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(p
|
|
|
217
217
|
el.removeEventListener('edit', _onEditFn);
|
|
218
218
|
};
|
|
219
219
|
}, []);
|
|
220
|
-
return React.createElement(customElements.getName(
|
|
220
|
+
return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
221
221
|
});
|
|
222
222
|
|
|
223
|
-
export const
|
|
223
|
+
export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
|
|
224
224
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
225
225
|
const _innerRef = React.useRef(null);
|
|
226
226
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -239,7 +239,7 @@ export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuild
|
|
|
239
239
|
el.removeEventListener('edit', _onEditFn);
|
|
240
240
|
};
|
|
241
241
|
}, []);
|
|
242
|
-
return React.createElement(customElements.getName(
|
|
242
|
+
return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
243
243
|
});
|
|
244
244
|
|
|
245
245
|
export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
|
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.75.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.75.0",
|
|
84
|
+
"@genesislcap/eslint-config": "15.75.0",
|
|
85
|
+
"@genesislcap/eslint-stylelint-builder": "15.75.0",
|
|
86
|
+
"@genesislcap/foundation-testing": "15.75.0",
|
|
87
|
+
"@genesislcap/genx": "15.75.0",
|
|
88
|
+
"@genesislcap/prettier-config": "15.75.0",
|
|
89
|
+
"@genesislcap/stylelint-config": "15.75.0",
|
|
90
|
+
"@genesislcap/vite-builder": "15.75.0",
|
|
91
|
+
"@genesislcap/webpack-builder": "15.75.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.75.0",
|
|
96
|
+
"@genesislcap/foundation-criteria": "15.75.0",
|
|
97
|
+
"@genesislcap/foundation-entity-management": "15.75.0",
|
|
98
|
+
"@genesislcap/foundation-forms": "15.75.0",
|
|
99
|
+
"@genesislcap/foundation-layout": "15.75.0",
|
|
100
|
+
"@genesislcap/foundation-logger": "15.75.0",
|
|
101
|
+
"@genesislcap/foundation-notifications": "15.75.0",
|
|
102
|
+
"@genesislcap/foundation-ui": "15.75.0",
|
|
103
|
+
"@genesislcap/foundation-utils": "15.75.0",
|
|
104
|
+
"@genesislcap/rapid-design-system": "15.75.0",
|
|
105
|
+
"@genesislcap/rapid-grid-pro": "15.75.0",
|
|
106
|
+
"@genesislcap/web-core": "15.75.0",
|
|
107
107
|
"lodash.debounce": "^4.0.8",
|
|
108
108
|
"rxjs": "^7.5.4"
|
|
109
109
|
},
|