@genesislcap/pbc-notify-ui 15.75.0 → 15.76.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",
@@ -10633,6 +10633,164 @@
10633
10633
  }
10634
10634
  ]
10635
10635
  },
10636
+ {
10637
+ "kind": "javascript-module",
10638
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
10639
+ "declarations": [
10640
+ {
10641
+ "kind": "variable",
10642
+ "name": "TemplateConditionGroupTemplate",
10643
+ "default": "html<TemplateConditionGroup>`\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, TemplateConditionGroup>`\n ${when(\n (x) => isGroup(x),\n html<ConditionNode>`\n <template-condition-group\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\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 ></template-condition-group>\n `,\n )}\n ${when(\n (x) => !isGroup(x),\n html<ConditionNode>`\n <template-condition-builder\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\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 ></template-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`"
10644
+ }
10645
+ ],
10646
+ "exports": [
10647
+ {
10648
+ "kind": "js",
10649
+ "name": "TemplateConditionGroupTemplate",
10650
+ "declaration": {
10651
+ "name": "TemplateConditionGroupTemplate",
10652
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts"
10653
+ }
10654
+ }
10655
+ ]
10656
+ },
10657
+ {
10658
+ "kind": "javascript-module",
10659
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts",
10660
+ "declarations": [
10661
+ {
10662
+ "kind": "class",
10663
+ "description": "Parenthesized group of conditions/nested groups for notification template\ncriteria - see rule-condition-group for the rationale. Also forwards\n:parameters down to nested template-condition-builder rows so parameter\nbinding (USER_ENTRY) keeps working inside a group.",
10664
+ "name": "TemplateConditionGroup",
10665
+ "members": [
10666
+ {
10667
+ "kind": "field",
10668
+ "name": "node",
10669
+ "type": {
10670
+ "text": "ConditionGroupEntity"
10671
+ }
10672
+ },
10673
+ {
10674
+ "kind": "field",
10675
+ "name": "fields",
10676
+ "type": {
10677
+ "text": "Field[]"
10678
+ },
10679
+ "default": "[]"
10680
+ },
10681
+ {
10682
+ "kind": "field",
10683
+ "name": "parameters",
10684
+ "type": {
10685
+ "text": "Array<ParameterBuilderEntity>"
10686
+ },
10687
+ "default": "[]"
10688
+ },
10689
+ {
10690
+ "kind": "field",
10691
+ "name": "isFirst",
10692
+ "type": {
10693
+ "text": "boolean"
10694
+ },
10695
+ "default": "false"
10696
+ },
10697
+ {
10698
+ "kind": "field",
10699
+ "name": "joinOperator",
10700
+ "type": {
10701
+ "text": "string"
10702
+ }
10703
+ },
10704
+ {
10705
+ "kind": "field",
10706
+ "name": "groupChildren",
10707
+ "type": {
10708
+ "text": "ConditionNode[]"
10709
+ },
10710
+ "default": "[]"
10711
+ },
10712
+ {
10713
+ "kind": "method",
10714
+ "name": "nodeChanged"
10715
+ },
10716
+ {
10717
+ "kind": "method",
10718
+ "name": "joinOperatorChanged"
10719
+ },
10720
+ {
10721
+ "kind": "method",
10722
+ "name": "newCondition"
10723
+ },
10724
+ {
10725
+ "kind": "method",
10726
+ "name": "newGroup"
10727
+ },
10728
+ {
10729
+ "kind": "method",
10730
+ "name": "editChild",
10731
+ "parameters": [
10732
+ {
10733
+ "name": "_editedChild",
10734
+ "type": {
10735
+ "text": "ConditionNode"
10736
+ }
10737
+ }
10738
+ ]
10739
+ },
10740
+ {
10741
+ "kind": "method",
10742
+ "name": "deleteChild",
10743
+ "parameters": [
10744
+ {
10745
+ "name": "deletedChild",
10746
+ "type": {
10747
+ "text": "ConditionNode"
10748
+ }
10749
+ }
10750
+ ]
10751
+ },
10752
+ {
10753
+ "kind": "method",
10754
+ "name": "deleteSelf"
10755
+ }
10756
+ ],
10757
+ "events": [
10758
+ {
10759
+ "description": "Fired when this whole group should be removed",
10760
+ "name": "delete"
10761
+ },
10762
+ {
10763
+ "description": "Fired when anything inside this group changes",
10764
+ "name": "edit"
10765
+ }
10766
+ ],
10767
+ "superclass": {
10768
+ "name": "GenesisElement",
10769
+ "package": "@genesislcap/web-core"
10770
+ },
10771
+ "tagName": "template-condition-group",
10772
+ "customElement": true
10773
+ }
10774
+ ],
10775
+ "exports": [
10776
+ {
10777
+ "kind": "js",
10778
+ "name": "TemplateConditionGroup",
10779
+ "declaration": {
10780
+ "name": "TemplateConditionGroup",
10781
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
10782
+ }
10783
+ },
10784
+ {
10785
+ "kind": "custom-element-definition",
10786
+ "name": "template-condition-group",
10787
+ "declaration": {
10788
+ "name": "TemplateConditionGroup",
10789
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
10790
+ }
10791
+ }
10792
+ ]
10793
+ },
10636
10794
  {
10637
10795
  "kind": "javascript-module",
10638
10796
  "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts",
@@ -10916,164 +11074,6 @@
10916
11074
  }
10917
11075
  }
10918
11076
  ]
10919
- },
10920
- {
10921
- "kind": "javascript-module",
10922
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
10923
- "declarations": [
10924
- {
10925
- "kind": "variable",
10926
- "name": "TemplateConditionGroupTemplate",
10927
- "default": "html<TemplateConditionGroup>`\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, TemplateConditionGroup>`\n ${when(\n (x) => isGroup(x),\n html<ConditionNode>`\n <template-condition-group\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\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 ></template-condition-group>\n `,\n )}\n ${when(\n (x) => !isGroup(x),\n html<ConditionNode>`\n <template-condition-builder\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\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 ></template-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`"
10928
- }
10929
- ],
10930
- "exports": [
10931
- {
10932
- "kind": "js",
10933
- "name": "TemplateConditionGroupTemplate",
10934
- "declaration": {
10935
- "name": "TemplateConditionGroupTemplate",
10936
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts"
10937
- }
10938
- }
10939
- ]
10940
- },
10941
- {
10942
- "kind": "javascript-module",
10943
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts",
10944
- "declarations": [
10945
- {
10946
- "kind": "class",
10947
- "description": "Parenthesized group of conditions/nested groups for notification template\ncriteria - see rule-condition-group for the rationale. Also forwards\n:parameters down to nested template-condition-builder rows so parameter\nbinding (USER_ENTRY) keeps working inside a group.",
10948
- "name": "TemplateConditionGroup",
10949
- "members": [
10950
- {
10951
- "kind": "field",
10952
- "name": "node",
10953
- "type": {
10954
- "text": "ConditionGroupEntity"
10955
- }
10956
- },
10957
- {
10958
- "kind": "field",
10959
- "name": "fields",
10960
- "type": {
10961
- "text": "Field[]"
10962
- },
10963
- "default": "[]"
10964
- },
10965
- {
10966
- "kind": "field",
10967
- "name": "parameters",
10968
- "type": {
10969
- "text": "Array<ParameterBuilderEntity>"
10970
- },
10971
- "default": "[]"
10972
- },
10973
- {
10974
- "kind": "field",
10975
- "name": "isFirst",
10976
- "type": {
10977
- "text": "boolean"
10978
- },
10979
- "default": "false"
10980
- },
10981
- {
10982
- "kind": "field",
10983
- "name": "joinOperator",
10984
- "type": {
10985
- "text": "string"
10986
- }
10987
- },
10988
- {
10989
- "kind": "field",
10990
- "name": "groupChildren",
10991
- "type": {
10992
- "text": "ConditionNode[]"
10993
- },
10994
- "default": "[]"
10995
- },
10996
- {
10997
- "kind": "method",
10998
- "name": "nodeChanged"
10999
- },
11000
- {
11001
- "kind": "method",
11002
- "name": "joinOperatorChanged"
11003
- },
11004
- {
11005
- "kind": "method",
11006
- "name": "newCondition"
11007
- },
11008
- {
11009
- "kind": "method",
11010
- "name": "newGroup"
11011
- },
11012
- {
11013
- "kind": "method",
11014
- "name": "editChild",
11015
- "parameters": [
11016
- {
11017
- "name": "_editedChild",
11018
- "type": {
11019
- "text": "ConditionNode"
11020
- }
11021
- }
11022
- ]
11023
- },
11024
- {
11025
- "kind": "method",
11026
- "name": "deleteChild",
11027
- "parameters": [
11028
- {
11029
- "name": "deletedChild",
11030
- "type": {
11031
- "text": "ConditionNode"
11032
- }
11033
- }
11034
- ]
11035
- },
11036
- {
11037
- "kind": "method",
11038
- "name": "deleteSelf"
11039
- }
11040
- ],
11041
- "events": [
11042
- {
11043
- "description": "Fired when this whole group should be removed",
11044
- "name": "delete"
11045
- },
11046
- {
11047
- "description": "Fired when anything inside this group changes",
11048
- "name": "edit"
11049
- }
11050
- ],
11051
- "superclass": {
11052
- "name": "GenesisElement",
11053
- "package": "@genesislcap/web-core"
11054
- },
11055
- "tagName": "template-condition-group",
11056
- "customElement": true
11057
- }
11058
- ],
11059
- "exports": [
11060
- {
11061
- "kind": "js",
11062
- "name": "TemplateConditionGroup",
11063
- "declaration": {
11064
- "name": "TemplateConditionGroup",
11065
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
11066
- }
11067
- },
11068
- {
11069
- "kind": "custom-element-definition",
11070
- "name": "template-condition-group",
11071
- "declaration": {
11072
- "name": "TemplateConditionGroup",
11073
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
11074
- }
11075
- }
11076
- ]
11077
11077
  }
11078
11078
  ]
11079
11079
  }
@@ -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<
@@ -288,17 +288,6 @@ export declare const ParameterBuilder: React.ForwardRefExoticComponent<
288
288
  >;
289
289
  export type ParameterBuilderRef = ParameterBuilderWC;
290
290
 
291
- export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
292
- React.PropsWithChildren<
293
- Omit<PublicOf<TemplateConditionBuilderWC>, 'children' | 'style'> &
294
- HTMLWCProps & {
295
- onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
296
- onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
297
- }
298
- > & React.RefAttributes<TemplateConditionBuilderWC>
299
- >;
300
- export type TemplateConditionBuilderRef = TemplateConditionBuilderWC;
301
-
302
291
  export declare const TemplateConditionGroup: React.ForwardRefExoticComponent<
303
292
  React.PropsWithChildren<
304
293
  Omit<PublicOf<TemplateConditionGroupWC>, 'children' | 'style'> &
@@ -310,4 +299,15 @@ export declare const TemplateConditionGroup: React.ForwardRefExoticComponent<
310
299
  >;
311
300
  export type TemplateConditionGroupRef = TemplateConditionGroupWC;
312
301
 
302
+ export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
303
+ React.PropsWithChildren<
304
+ Omit<PublicOf<TemplateConditionBuilderWC>, 'children' | 'style'> &
305
+ HTMLWCProps & {
306
+ onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
307
+ onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
308
+ }
309
+ > & React.RefAttributes<TemplateConditionBuilderWC>
310
+ >;
311
+ export type TemplateConditionBuilderRef = TemplateConditionBuilderWC;
312
+
313
313
  export {};
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) {
@@ -266,7 +266,7 @@ const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref)
266
266
  return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
267
267
  });
268
268
 
269
- const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
269
+ const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
270
270
  const { onDelete, onEdit, children, ...rest } = props;
271
271
  const _innerRef = React.useRef(null);
272
272
  const _onDeleteRef = React.useRef(onDelete);
@@ -285,10 +285,10 @@ const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuil
285
285
  el.removeEventListener('edit', _onEditFn);
286
286
  };
287
287
  }, []);
288
- return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
288
+ return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
289
289
  });
290
290
 
291
- const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
291
+ const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
292
292
  const { onDelete, onEdit, children, ...rest } = props;
293
293
  const _innerRef = React.useRef(null);
294
294
  const _onDeleteRef = React.useRef(onDelete);
@@ -307,7 +307,7 @@ const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(
307
307
  el.removeEventListener('edit', _onEditFn);
308
308
  };
309
309
  }, []);
310
- return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
310
+ return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
311
311
  });
312
312
 
313
313
  module.exports = {
@@ -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,
@@ -335,6 +335,6 @@ module.exports = {
335
335
  RuleConditionBuilder,
336
336
  RuleConditionGroup,
337
337
  ParameterBuilder,
338
- TemplateConditionBuilder,
339
338
  TemplateConditionGroup,
339
+ TemplateConditionBuilder,
340
340
  };
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) {
@@ -264,7 +264,7 @@ export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props
264
264
  return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
265
265
  });
266
266
 
267
- export const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
267
+ export const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
268
268
  const { onDelete, onEdit, children, ...rest } = props;
269
269
  const _innerRef = React.useRef(null);
270
270
  const _onDeleteRef = React.useRef(onDelete);
@@ -283,10 +283,10 @@ export const TemplateConditionBuilder = React.forwardRef(function TemplateCondit
283
283
  el.removeEventListener('edit', _onEditFn);
284
284
  };
285
285
  }, []);
286
- return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
286
+ return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
287
287
  });
288
288
 
289
- export const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
289
+ export const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
290
290
  const { onDelete, onEdit, children, ...rest } = props;
291
291
  const _innerRef = React.useRef(null);
292
292
  const _onDeleteRef = React.useRef(onDelete);
@@ -305,5 +305,5 @@ export const TemplateConditionGroup = React.forwardRef(function TemplateConditio
305
305
  el.removeEventListener('edit', _onEditFn);
306
306
  };
307
307
  }, []);
308
- return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
308
+ return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
309
309
  });
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.75.0",
4
+ "version": "15.76.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.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",
83
+ "@genesislcap/design-system-configurator": "15.76.0",
84
+ "@genesislcap/eslint-config": "15.76.0",
85
+ "@genesislcap/eslint-stylelint-builder": "15.76.0",
86
+ "@genesislcap/foundation-testing": "15.76.0",
87
+ "@genesislcap/genx": "15.76.0",
88
+ "@genesislcap/prettier-config": "15.76.0",
89
+ "@genesislcap/stylelint-config": "15.76.0",
90
+ "@genesislcap/vite-builder": "15.76.0",
91
+ "@genesislcap/webpack-builder": "15.76.0",
92
92
  "dayjs": "^1.11.7"
93
93
  },
94
94
  "dependencies": {
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",
95
+ "@genesislcap/foundation-comms": "15.76.0",
96
+ "@genesislcap/foundation-criteria": "15.76.0",
97
+ "@genesislcap/foundation-entity-management": "15.76.0",
98
+ "@genesislcap/foundation-forms": "15.76.0",
99
+ "@genesislcap/foundation-layout": "15.76.0",
100
+ "@genesislcap/foundation-logger": "15.76.0",
101
+ "@genesislcap/foundation-notifications": "15.76.0",
102
+ "@genesislcap/foundation-ui": "15.76.0",
103
+ "@genesislcap/foundation-utils": "15.76.0",
104
+ "@genesislcap/rapid-design-system": "15.76.0",
105
+ "@genesislcap/rapid-grid-pro": "15.76.0",
106
+ "@genesislcap/web-core": "15.76.0",
107
107
  "lodash.debounce": "^4.0.8",
108
108
  "rxjs": "^7.5.4"
109
109
  },