@genesislcap/pbc-notify-ui 15.82.0 → 15.83.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.
@@ -5984,6 +5984,149 @@
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
+ },
5987
6130
  {
5988
6131
  "kind": "javascript-module",
5989
6132
  "path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts",
@@ -7384,244 +7527,101 @@
7384
7527
  },
7385
7528
  {
7386
7529
  "kind": "javascript-module",
7387
- "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts",
7530
+ "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts",
7388
7531
  "declarations": [
7389
7532
  {
7390
7533
  "kind": "variable",
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`"
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`"
7402
7536
  }
7403
7537
  ],
7404
7538
  "exports": [
7405
7539
  {
7406
7540
  "kind": "js",
7407
- "name": "noItemsClass",
7408
- "declaration": {
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",
7541
+ "name": "InboxSubscriptionStyles",
7416
7542
  "declaration": {
7417
- "name": "FoundationInboxCounterStyles",
7418
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
7543
+ "name": "InboxSubscriptionStyles",
7544
+ "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts"
7419
7545
  }
7420
7546
  }
7421
7547
  ]
7422
7548
  },
7423
7549
  {
7424
7550
  "kind": "javascript-module",
7425
- "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts",
7551
+ "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts",
7426
7552
  "declarations": [
7427
7553
  {
7428
7554
  "kind": "variable",
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`"
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`"
7431
7557
  }
7432
7558
  ],
7433
7559
  "exports": [
7434
7560
  {
7435
7561
  "kind": "js",
7436
- "name": "FoundationInboxCounterTemplate",
7562
+ "name": "InboxSubscriptionTemplate",
7437
7563
  "declaration": {
7438
- "name": "FoundationInboxCounterTemplate",
7439
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts"
7564
+ "name": "InboxSubscriptionTemplate",
7565
+ "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts"
7440
7566
  }
7441
7567
  }
7442
7568
  ]
7443
7569
  },
7444
7570
  {
7445
7571
  "kind": "javascript-module",
7446
- "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts",
7572
+ "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts",
7447
7573
  "declarations": [
7448
7574
  {
7449
7575
  "kind": "class",
7450
- "description": "",
7451
- "name": "FoundationInboxCounter",
7576
+ "description": "Inbox subscription configuration UI.",
7577
+ "name": "InboxSubscription",
7452
7578
  "members": [
7453
7579
  {
7454
7580
  "kind": "field",
7455
- "name": "value",
7581
+ "name": "template"
7582
+ },
7583
+ {
7584
+ "kind": "field",
7585
+ "name": "inline",
7456
7586
  "type": {
7457
- "text": "number"
7587
+ "text": "boolean"
7458
7588
  },
7459
- "default": "0"
7589
+ "default": "false"
7460
7590
  },
7461
7591
  {
7462
7592
  "kind": "field",
7463
- "name": "connect",
7593
+ "name": "extraParameterDetails",
7464
7594
  "type": {
7465
- "text": "Connect"
7466
- }
7595
+ "text": "Record<string, string>"
7596
+ },
7597
+ "default": "{}",
7598
+ "description": "Merged into subscribe payload (e.g. CHANNEL topic). Hidden from the form."
7467
7599
  },
7468
7600
  {
7469
7601
  "kind": "field",
7470
- "name": "inboxService",
7602
+ "name": "parametersDetails",
7471
7603
  "type": {
7472
- "text": "FoundationInboxService"
7473
- }
7604
+ "text": "object"
7605
+ },
7606
+ "privacy": "private",
7607
+ "default": "{}"
7474
7608
  },
7475
7609
  {
7476
7610
  "kind": "field",
7477
- "name": "connectionSub",
7611
+ "name": "isSubmitting",
7478
7612
  "type": {
7479
- "text": "Subscription"
7613
+ "text": "boolean"
7480
7614
  },
7481
- "privacy": "private"
7615
+ "privacy": "private",
7616
+ "default": "false"
7482
7617
  },
7483
7618
  {
7484
- "kind": "method",
7485
- "name": "subscribeToAlerts",
7486
- "privacy": "private",
7487
- "return": {
7488
- "type": {
7489
- "text": "Promise<void>"
7490
- }
7619
+ "kind": "field",
7620
+ "name": "parametersOperators",
7621
+ "type": {
7622
+ "text": "object"
7491
7623
  },
7492
- "description": "Subscribes to alerts from the inbox service"
7493
- },
7494
- {
7495
- "kind": "field",
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": "{}"
7624
+ "default": "{}"
7625
7625
  },
7626
7626
  {
7627
7627
  "kind": "field",
@@ -9985,6 +9985,156 @@
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
+ },
9988
10138
  {
9989
10139
  "kind": "javascript-module",
9990
10140
  "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts",
@@ -10269,156 +10419,6 @@
10269
10419
  "declarations": [],
10270
10420
  "exports": []
10271
10421
  },
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",
@@ -106,23 +106,23 @@ export declare const FoundationSounds: React.ForwardRefExoticComponent<
106
106
  >;
107
107
  export type FoundationSoundsRef = FoundationSoundsWC;
108
108
 
109
- export declare const FoundationInboxFlyout: React.ForwardRefExoticComponent<
109
+ export declare const FoundationInboxCounter: React.ForwardRefExoticComponent<
110
110
  React.PropsWithChildren<
111
- Omit<PublicOf<FoundationInboxFlyoutWC>, 'children' | 'style'> &
111
+ Omit<PublicOf<FoundationInboxCounterWC>, 'children' | 'style'> &
112
112
  HTMLWCProps & {
113
113
  }
114
- > & React.RefAttributes<FoundationInboxFlyoutWC>
114
+ > & React.RefAttributes<FoundationInboxCounterWC>
115
115
  >;
116
- export type FoundationInboxFlyoutRef = FoundationInboxFlyoutWC;
116
+ export type FoundationInboxCounterRef = FoundationInboxCounterWC;
117
117
 
118
- export declare const FoundationInboxCounter: React.ForwardRefExoticComponent<
118
+ export declare const FoundationInboxFlyout: React.ForwardRefExoticComponent<
119
119
  React.PropsWithChildren<
120
- Omit<PublicOf<FoundationInboxCounterWC>, 'children' | 'style'> &
120
+ Omit<PublicOf<FoundationInboxFlyoutWC>, 'children' | 'style'> &
121
121
  HTMLWCProps & {
122
122
  }
123
- > & React.RefAttributes<FoundationInboxCounterWC>
123
+ > & React.RefAttributes<FoundationInboxFlyoutWC>
124
124
  >;
125
- export type FoundationInboxCounterRef = FoundationInboxCounterWC;
125
+ export type FoundationInboxFlyoutRef = FoundationInboxFlyoutWC;
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 RuleConditionBuilder: React.ForwardRefExoticComponent<
259
- React.PropsWithChildren<
260
- Omit<PublicOf<RuleConditionBuilderWC>, 'children' | 'style'> &
261
- HTMLWCProps & {
262
- onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
263
- onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
264
- }
265
- > & React.RefAttributes<RuleConditionBuilderWC>
266
- >;
267
- export type RuleConditionBuilderRef = RuleConditionBuilderWC;
268
-
269
258
  export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
270
259
  React.PropsWithChildren<
271
260
  Omit<PublicOf<RuleConditionGroupWC>, 'children' | 'style'> &
@@ -277,6 +266,17 @@ export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
277
266
  >;
278
267
  export type RuleConditionGroupRef = RuleConditionGroupWC;
279
268
 
269
+ export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
270
+ React.PropsWithChildren<
271
+ Omit<PublicOf<RuleConditionBuilderWC>, 'children' | 'style'> &
272
+ HTMLWCProps & {
273
+ onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
274
+ onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
275
+ }
276
+ > & React.RefAttributes<RuleConditionBuilderWC>
277
+ >;
278
+ export type RuleConditionBuilderRef = RuleConditionBuilderWC;
279
+
280
280
  export declare const ParameterBuilder: React.ForwardRefExoticComponent<
281
281
  React.PropsWithChildren<
282
282
  Omit<PublicOf<ParameterBuilderWC>, 'children' | 'style'> &
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 FoundationInboxFlyout = React.forwardRef(function FoundationInboxFlyout(props, ref) {
70
+ const FoundationInboxCounter = React.forwardRef(function FoundationInboxCounter(props, ref) {
71
71
  const { children, ...rest } = props;
72
- return React.createElement(customElements.getName(FoundationInboxFlyoutWC) ?? 'foundation-inbox-flyout', { ...rest, ref }, children);
72
+ return React.createElement(customElements.getName(FoundationInboxCounterWC) ?? 'foundation-inbox-counter', { ...rest, ref }, children);
73
73
  });
74
74
 
75
- const FoundationInboxCounter = React.forwardRef(function FoundationInboxCounter(props, ref) {
75
+ const FoundationInboxFlyout = React.forwardRef(function FoundationInboxFlyout(props, ref) {
76
76
  const { children, ...rest } = props;
77
- return React.createElement(customElements.getName(FoundationInboxCounterWC) ?? 'foundation-inbox-counter', { ...rest, ref }, children);
77
+ return React.createElement(customElements.getName(FoundationInboxFlyoutWC) ?? 'foundation-inbox-flyout', { ...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 RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
203
+ const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(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 RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(prop
219
219
  el.removeEventListener('edit', _onEditFn);
220
220
  };
221
221
  }, []);
222
- return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
222
+ return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
223
223
  });
224
224
 
225
- const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
225
+ const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(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 RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, r
241
241
  el.removeEventListener('edit', _onEditFn);
242
242
  };
243
243
  }, []);
244
- return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
244
+ return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...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
- FoundationInboxFlyout,
320
319
  FoundationInboxCounter,
320
+ FoundationInboxFlyout,
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
- RuleConditionBuilder,
336
335
  RuleConditionGroup,
336
+ RuleConditionBuilder,
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 FoundationInboxFlyout = React.forwardRef(function FoundationInboxFlyout(props, ref) {
68
+ export const FoundationInboxCounter = React.forwardRef(function FoundationInboxCounter(props, ref) {
69
69
  const { children, ...rest } = props;
70
- return React.createElement(customElements.getName(FoundationInboxFlyoutWC) ?? 'foundation-inbox-flyout', { ...rest, ref }, children);
70
+ return React.createElement(customElements.getName(FoundationInboxCounterWC) ?? 'foundation-inbox-counter', { ...rest, ref }, children);
71
71
  });
72
72
 
73
- export const FoundationInboxCounter = React.forwardRef(function FoundationInboxCounter(props, ref) {
73
+ export const FoundationInboxFlyout = React.forwardRef(function FoundationInboxFlyout(props, ref) {
74
74
  const { children, ...rest } = props;
75
- return React.createElement(customElements.getName(FoundationInboxCounterWC) ?? 'foundation-inbox-counter', { ...rest, ref }, children);
75
+ return React.createElement(customElements.getName(FoundationInboxFlyoutWC) ?? 'foundation-inbox-flyout', { ...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 RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
201
+ export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(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 RuleConditionBuilder = React.forwardRef(function RuleConditionBuild
217
217
  el.removeEventListener('edit', _onEditFn);
218
218
  };
219
219
  }, []);
220
- return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
220
+ return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
221
221
  });
222
222
 
223
- export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
223
+ export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(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 RuleConditionGroup = React.forwardRef(function RuleConditionGroup(p
239
239
  el.removeEventListener('edit', _onEditFn);
240
240
  };
241
241
  }, []);
242
- return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
242
+ return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...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.82.0",
4
+ "version": "15.83.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.82.0",
84
- "@genesislcap/eslint-config": "15.82.0",
85
- "@genesislcap/eslint-stylelint-builder": "15.82.0",
86
- "@genesislcap/foundation-testing": "15.82.0",
87
- "@genesislcap/genx": "15.82.0",
88
- "@genesislcap/prettier-config": "15.82.0",
89
- "@genesislcap/stylelint-config": "15.82.0",
90
- "@genesislcap/vite-builder": "15.82.0",
91
- "@genesislcap/webpack-builder": "15.82.0",
83
+ "@genesislcap/design-system-configurator": "15.83.0",
84
+ "@genesislcap/eslint-config": "15.83.0",
85
+ "@genesislcap/eslint-stylelint-builder": "15.83.0",
86
+ "@genesislcap/foundation-testing": "15.83.0",
87
+ "@genesislcap/genx": "15.83.0",
88
+ "@genesislcap/prettier-config": "15.83.0",
89
+ "@genesislcap/stylelint-config": "15.83.0",
90
+ "@genesislcap/vite-builder": "15.83.0",
91
+ "@genesislcap/webpack-builder": "15.83.0",
92
92
  "dayjs": "^1.11.7"
93
93
  },
94
94
  "dependencies": {
95
- "@genesislcap/foundation-comms": "15.82.0",
96
- "@genesislcap/foundation-criteria": "15.82.0",
97
- "@genesislcap/foundation-entity-management": "15.82.0",
98
- "@genesislcap/foundation-forms": "15.82.0",
99
- "@genesislcap/foundation-layout": "15.82.0",
100
- "@genesislcap/foundation-logger": "15.82.0",
101
- "@genesislcap/foundation-notifications": "15.82.0",
102
- "@genesislcap/foundation-ui": "15.82.0",
103
- "@genesislcap/foundation-utils": "15.82.0",
104
- "@genesislcap/rapid-design-system": "15.82.0",
105
- "@genesislcap/rapid-grid-pro": "15.82.0",
106
- "@genesislcap/web-core": "15.82.0",
95
+ "@genesislcap/foundation-comms": "15.83.0",
96
+ "@genesislcap/foundation-criteria": "15.83.0",
97
+ "@genesislcap/foundation-entity-management": "15.83.0",
98
+ "@genesislcap/foundation-forms": "15.83.0",
99
+ "@genesislcap/foundation-layout": "15.83.0",
100
+ "@genesislcap/foundation-logger": "15.83.0",
101
+ "@genesislcap/foundation-notifications": "15.83.0",
102
+ "@genesislcap/foundation-ui": "15.83.0",
103
+ "@genesislcap/foundation-utils": "15.83.0",
104
+ "@genesislcap/rapid-design-system": "15.83.0",
105
+ "@genesislcap/rapid-grid-pro": "15.83.0",
106
+ "@genesislcap/web-core": "15.83.0",
107
107
  "lodash.debounce": "^4.0.8",
108
108
  "rxjs": "^7.5.4"
109
109
  },