@genesislcap/pbc-notify-ui 15.92.0-HT-305.1 → 15.92.0-HT-305.2

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.
@@ -505,6 +505,27 @@
505
505
  }
506
506
  ]
507
507
  },
508
+ {
509
+ "kind": "javascript-module",
510
+ "path": "src/styles/scrollbar.styles.ts",
511
+ "declarations": [
512
+ {
513
+ "kind": "variable",
514
+ "name": "scrollbarStyles",
515
+ "default": "css`\n ::-webkit-scrollbar {\n width: calc((var(--base-height-multiplier) + var(--design-unit)) * 1px);\n }\n\n ::-webkit-scrollbar-track {\n background: var(--neutral-layer-1);\n }\n\n ::-webkit-scrollbar-thumb {\n background: var(--neutral-fill-rest);\n }\n`"
516
+ }
517
+ ],
518
+ "exports": [
519
+ {
520
+ "kind": "js",
521
+ "name": "scrollbarStyles",
522
+ "declaration": {
523
+ "name": "scrollbarStyles",
524
+ "module": "src/styles/scrollbar.styles.ts"
525
+ }
526
+ }
527
+ ]
528
+ },
508
529
  {
509
530
  "kind": "javascript-module",
510
531
  "path": "src/utils/eventDetail.ts",
@@ -826,27 +847,6 @@
826
847
  }
827
848
  ]
828
849
  },
829
- {
830
- "kind": "javascript-module",
831
- "path": "src/styles/scrollbar.styles.ts",
832
- "declarations": [
833
- {
834
- "kind": "variable",
835
- "name": "scrollbarStyles",
836
- "default": "css`\n ::-webkit-scrollbar {\n width: calc((var(--base-height-multiplier) + var(--design-unit)) * 1px);\n }\n\n ::-webkit-scrollbar-track {\n background: var(--neutral-layer-1);\n }\n\n ::-webkit-scrollbar-thumb {\n background: var(--neutral-fill-rest);\n }\n`"
837
- }
838
- ],
839
- "exports": [
840
- {
841
- "kind": "js",
842
- "name": "scrollbarStyles",
843
- "declaration": {
844
- "name": "scrollbarStyles",
845
- "module": "src/styles/scrollbar.styles.ts"
846
- }
847
- }
848
- ]
849
- },
850
850
  {
851
851
  "kind": "javascript-module",
852
852
  "path": "src/components/foundation-inbox/inbox.styles.ts",
@@ -5986,220 +5986,472 @@
5986
5986
  },
5987
5987
  {
5988
5988
  "kind": "javascript-module",
5989
- "path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts",
5989
+ "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts",
5990
5990
  "declarations": [
5991
5991
  {
5992
5992
  "kind": "variable",
5993
- "name": "FoundationInboxFlyoutStyles",
5994
- "default": "css`\n rapid-flyout::part(flyout) {\n width: 30%;\n min-width: 320px;\n padding: 0;\n }\n\n rapid-flyout::part(content) {\n height: 100%;\n display: flex;\n flex-direction: column;\n }\n\n ${FoundationInboxStyles}\n`"
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`"
5995
6004
  }
5996
6005
  ],
5997
6006
  "exports": [
5998
6007
  {
5999
6008
  "kind": "js",
6000
- "name": "FoundationInboxFlyoutStyles",
6009
+ "name": "noItemsClass",
6001
6010
  "declaration": {
6002
- "name": "FoundationInboxFlyoutStyles",
6003
- "module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts"
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"
6004
6021
  }
6005
6022
  }
6006
6023
  ]
6007
6024
  },
6008
6025
  {
6009
6026
  "kind": "javascript-module",
6010
- "path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.template.ts",
6027
+ "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts",
6011
6028
  "declarations": [
6012
6029
  {
6013
6030
  "kind": "variable",
6014
- "name": "FoundationInboxFlyoutTemplate",
6015
- "default": "html<FoundationInboxFlyout>`\n <rapid-flyout\n ${ref('flyout')}\n position=\"right\"\n @closed=${(x) => (x.flyoutClosed = true)}\n :closed=${(x) => x.flyoutClosed}\n displayHeader=${false}\n >\n <div class=\"inbox-header\">\n <div class=\"inbox-header-title\">Alerts Center</div>\n <rapid-button class=\"inbox-header-close\" @click=${(x) => x.close()}>\n <rapid-icon part=\"icon\" name=\"xmark\" size=\"xl\"></rapid-icon>\n </rapid-button>\n </div>\n\n ${FoundationInboxTemplate}\n </rapid-flyout>\n`"
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`"
6016
6033
  }
6017
6034
  ],
6018
6035
  "exports": [
6019
6036
  {
6020
6037
  "kind": "js",
6021
- "name": "FoundationInboxFlyoutTemplate",
6038
+ "name": "FoundationInboxCounterTemplate",
6022
6039
  "declaration": {
6023
- "name": "FoundationInboxFlyoutTemplate",
6024
- "module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.template.ts"
6040
+ "name": "FoundationInboxCounterTemplate",
6041
+ "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts"
6025
6042
  }
6026
6043
  }
6027
6044
  ]
6028
6045
  },
6029
6046
  {
6030
6047
  "kind": "javascript-module",
6031
- "path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.ts",
6048
+ "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts",
6032
6049
  "declarations": [
6033
6050
  {
6034
6051
  "kind": "class",
6035
6052
  "description": "",
6036
- "name": "FoundationInboxFlyout",
6053
+ "name": "FoundationInboxCounter",
6037
6054
  "members": [
6038
6055
  {
6039
6056
  "kind": "field",
6040
- "name": "ready",
6057
+ "name": "value",
6041
6058
  "type": {
6042
- "text": "boolean"
6059
+ "text": "number"
6043
6060
  },
6044
- "default": "false"
6061
+ "default": "0"
6045
6062
  },
6046
6063
  {
6047
6064
  "kind": "field",
6048
- "name": "flyout",
6065
+ "name": "connect",
6049
6066
  "type": {
6050
- "text": "Flyout"
6067
+ "text": "Connect"
6051
6068
  }
6052
6069
  },
6053
6070
  {
6054
6071
  "kind": "field",
6055
- "name": "flyoutClosed",
6072
+ "name": "inboxService",
6056
6073
  "type": {
6057
- "text": "boolean"
6058
- },
6059
- "default": "true"
6074
+ "text": "FoundationInboxService"
6075
+ }
6060
6076
  },
6061
6077
  {
6062
- "kind": "method",
6063
- "name": "open",
6064
- "privacy": "public"
6078
+ "kind": "field",
6079
+ "name": "connectionSub",
6080
+ "type": {
6081
+ "text": "Subscription"
6082
+ },
6083
+ "privacy": "private"
6065
6084
  },
6066
6085
  {
6067
6086
  "kind": "method",
6068
- "name": "close",
6069
- "privacy": "public"
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"
6070
6095
  },
6071
6096
  {
6072
- "kind": "method",
6073
- "name": "loadRemotes"
6097
+ "kind": "field",
6098
+ "name": "subscriptionHandler",
6099
+ "privacy": "private",
6100
+ "description": "Handles subscription updates from the inbox service"
6101
+ }
6102
+ ],
6103
+ "superclass": {
6104
+ "name": "GenesisElement",
6105
+ "package": "@genesislcap/web-core"
6106
+ },
6107
+ "tagName": "foundation-inbox-counter",
6108
+ "customElement": true
6109
+ }
6110
+ ],
6111
+ "exports": [
6112
+ {
6113
+ "kind": "js",
6114
+ "name": "FoundationInboxCounter",
6115
+ "declaration": {
6116
+ "name": "FoundationInboxCounter",
6117
+ "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
6118
+ }
6119
+ },
6120
+ {
6121
+ "kind": "custom-element-definition",
6122
+ "name": "foundation-inbox-counter",
6123
+ "declaration": {
6124
+ "name": "FoundationInboxCounter",
6125
+ "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
6126
+ }
6127
+ }
6128
+ ]
6129
+ },
6130
+ {
6131
+ "kind": "javascript-module",
6132
+ "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts",
6133
+ "declarations": [
6134
+ {
6135
+ "kind": "variable",
6136
+ "name": "InboxSubscriptionStyles",
6137
+ "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`"
6138
+ }
6139
+ ],
6140
+ "exports": [
6141
+ {
6142
+ "kind": "js",
6143
+ "name": "InboxSubscriptionStyles",
6144
+ "declaration": {
6145
+ "name": "InboxSubscriptionStyles",
6146
+ "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts"
6147
+ }
6148
+ }
6149
+ ]
6150
+ },
6151
+ {
6152
+ "kind": "javascript-module",
6153
+ "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts",
6154
+ "declarations": [
6155
+ {
6156
+ "kind": "variable",
6157
+ "name": "InboxSubscriptionTemplate",
6158
+ "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`"
6159
+ }
6160
+ ],
6161
+ "exports": [
6162
+ {
6163
+ "kind": "js",
6164
+ "name": "InboxSubscriptionTemplate",
6165
+ "declaration": {
6166
+ "name": "InboxSubscriptionTemplate",
6167
+ "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts"
6168
+ }
6169
+ }
6170
+ ]
6171
+ },
6172
+ {
6173
+ "kind": "javascript-module",
6174
+ "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts",
6175
+ "declarations": [
6176
+ {
6177
+ "kind": "class",
6178
+ "description": "Inbox subscription configuration UI.",
6179
+ "name": "InboxSubscription",
6180
+ "members": [
6181
+ {
6182
+ "kind": "field",
6183
+ "name": "template"
6074
6184
  },
6075
6185
  {
6076
6186
  "kind": "field",
6077
- "name": "auth",
6187
+ "name": "inline",
6078
6188
  "type": {
6079
- "text": "Auth"
6189
+ "text": "boolean"
6080
6190
  },
6081
- "inheritedFrom": {
6082
- "name": "FoundationInboxBase",
6083
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6084
- }
6191
+ "default": "false"
6085
6192
  },
6086
6193
  {
6087
6194
  "kind": "field",
6088
- "name": "connect",
6195
+ "name": "extraParameterDetails",
6089
6196
  "type": {
6090
- "text": "Connect"
6197
+ "text": "Record<string, string>"
6091
6198
  },
6092
- "inheritedFrom": {
6093
- "name": "FoundationInboxBase",
6094
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6095
- }
6199
+ "default": "{}",
6200
+ "description": "Merged into subscribe payload (e.g. CHANNEL topic). Hidden from the form."
6096
6201
  },
6097
6202
  {
6098
6203
  "kind": "field",
6099
- "name": "alertService",
6204
+ "name": "parametersDetails",
6100
6205
  "type": {
6101
- "text": "AlertService"
6206
+ "text": "object"
6102
6207
  },
6103
- "inheritedFrom": {
6104
- "name": "FoundationInboxBase",
6105
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6106
- }
6208
+ "privacy": "private",
6209
+ "default": "{}"
6107
6210
  },
6108
6211
  {
6109
6212
  "kind": "field",
6110
- "name": "inboxService",
6213
+ "name": "isSubmitting",
6111
6214
  "type": {
6112
- "text": "FoundationInboxService"
6215
+ "text": "boolean"
6113
6216
  },
6114
- "inheritedFrom": {
6115
- "name": "FoundationInboxBase",
6116
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6117
- }
6217
+ "privacy": "private",
6218
+ "default": "false"
6118
6219
  },
6119
6220
  {
6120
6221
  "kind": "field",
6121
- "name": "connectionSub",
6222
+ "name": "parametersOperators",
6122
6223
  "type": {
6123
- "text": "Subscription"
6224
+ "text": "object"
6124
6225
  },
6125
- "privacy": "private",
6126
- "inheritedFrom": {
6127
- "name": "FoundationInboxBase",
6128
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6129
- }
6226
+ "default": "{}"
6130
6227
  },
6131
6228
  {
6132
6229
  "kind": "field",
6133
- "name": "alerts",
6230
+ "name": "subscribeDisabled",
6134
6231
  "type": {
6135
- "text": "Alert[]"
6232
+ "text": "boolean"
6136
6233
  },
6137
- "privacy": "private",
6138
- "default": "[]",
6139
- "inheritedFrom": {
6140
- "name": "FoundationInboxBase",
6141
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6234
+ "default": "true"
6235
+ },
6236
+ {
6237
+ "kind": "field",
6238
+ "name": "ruleService",
6239
+ "type": {
6240
+ "text": "RuleService"
6142
6241
  }
6143
6242
  },
6144
6243
  {
6145
6244
  "kind": "field",
6146
- "name": "alertsFilter",
6245
+ "name": "visibleParameters",
6147
6246
  "type": {
6148
- "text": "Alert[]"
6247
+ "text": "RuleParameterEntity[]"
6149
6248
  },
6150
- "default": "[]",
6151
- "inheritedFrom": {
6152
- "name": "FoundationInboxBase",
6153
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6249
+ "readonly": true
6250
+ },
6251
+ {
6252
+ "kind": "method",
6253
+ "name": "templateChanged"
6254
+ },
6255
+ {
6256
+ "kind": "method",
6257
+ "name": "usesAutoSubmit",
6258
+ "return": {
6259
+ "type": {
6260
+ "text": "boolean"
6261
+ }
6262
+ }
6263
+ },
6264
+ {
6265
+ "kind": "method",
6266
+ "name": "requiresManualSubscribe",
6267
+ "return": {
6268
+ "type": {
6269
+ "text": "boolean"
6270
+ }
6154
6271
  }
6155
6272
  },
6273
+ {
6274
+ "kind": "method",
6275
+ "name": "parameterEdit",
6276
+ "parameters": [
6277
+ {
6278
+ "name": "value",
6279
+ "type": {
6280
+ "text": "any"
6281
+ }
6282
+ }
6283
+ ]
6284
+ },
6285
+ {
6286
+ "kind": "method",
6287
+ "name": "autoSubscribe",
6288
+ "privacy": "private"
6289
+ },
6290
+ {
6291
+ "kind": "method",
6292
+ "name": "verifySubscribe"
6293
+ },
6156
6294
  {
6157
6295
  "kind": "field",
6158
- "name": "moreAlerts",
6296
+ "name": "isFirstElement"
6297
+ },
6298
+ {
6299
+ "kind": "method",
6300
+ "name": "subscribeTemplate"
6301
+ },
6302
+ {
6303
+ "kind": "method",
6304
+ "name": "cancelSubscribe"
6305
+ },
6306
+ {
6307
+ "kind": "field",
6308
+ "name": "createParametersOperatorMap"
6309
+ }
6310
+ ],
6311
+ "events": [
6312
+ {
6313
+ "description": "Fired when a template subscription is created. detail: `TemplateSubscribedEventDetail`",
6314
+ "name": "templateSubscribed"
6315
+ },
6316
+ {
6317
+ "description": "Fired when inline parameter entry is cancelled",
6318
+ "name": "subscribeCancelled"
6319
+ }
6320
+ ],
6321
+ "attributes": [
6322
+ {
6323
+ "name": "template",
6324
+ "fieldName": "template"
6325
+ },
6326
+ {
6159
6327
  "type": {
6160
6328
  "text": "boolean"
6161
6329
  },
6162
6330
  "default": "false",
6163
- "inheritedFrom": {
6164
- "name": "FoundationInboxBase",
6165
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6166
- }
6167
- },
6331
+ "fieldName": "inline"
6332
+ }
6333
+ ],
6334
+ "superclass": {
6335
+ "name": "GenesisElement",
6336
+ "package": "@genesislcap/web-core"
6337
+ },
6338
+ "tagName": "inbox-subscription",
6339
+ "customElement": true
6340
+ }
6341
+ ],
6342
+ "exports": [
6343
+ {
6344
+ "kind": "js",
6345
+ "name": "InboxSubscription",
6346
+ "declaration": {
6347
+ "name": "InboxSubscription",
6348
+ "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
6349
+ }
6350
+ },
6351
+ {
6352
+ "kind": "custom-element-definition",
6353
+ "name": "inbox-subscription",
6354
+ "declaration": {
6355
+ "name": "InboxSubscription",
6356
+ "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
6357
+ }
6358
+ }
6359
+ ]
6360
+ },
6361
+ {
6362
+ "kind": "javascript-module",
6363
+ "path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts",
6364
+ "declarations": [
6365
+ {
6366
+ "kind": "variable",
6367
+ "name": "FoundationInboxFlyoutStyles",
6368
+ "default": "css`\n rapid-flyout::part(flyout) {\n width: 30%;\n min-width: 320px;\n padding: 0;\n }\n\n rapid-flyout::part(content) {\n height: 100%;\n display: flex;\n flex-direction: column;\n }\n\n ${FoundationInboxStyles}\n`"
6369
+ }
6370
+ ],
6371
+ "exports": [
6372
+ {
6373
+ "kind": "js",
6374
+ "name": "FoundationInboxFlyoutStyles",
6375
+ "declaration": {
6376
+ "name": "FoundationInboxFlyoutStyles",
6377
+ "module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts"
6378
+ }
6379
+ }
6380
+ ]
6381
+ },
6382
+ {
6383
+ "kind": "javascript-module",
6384
+ "path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.template.ts",
6385
+ "declarations": [
6386
+ {
6387
+ "kind": "variable",
6388
+ "name": "FoundationInboxFlyoutTemplate",
6389
+ "default": "html<FoundationInboxFlyout>`\n <rapid-flyout\n ${ref('flyout')}\n position=\"right\"\n @closed=${(x) => (x.flyoutClosed = true)}\n :closed=${(x) => x.flyoutClosed}\n displayHeader=${false}\n >\n <div class=\"inbox-header\">\n <div class=\"inbox-header-title\">Alerts Center</div>\n <rapid-button class=\"inbox-header-close\" @click=${(x) => x.close()}>\n <rapid-icon part=\"icon\" name=\"xmark\" size=\"xl\"></rapid-icon>\n </rapid-button>\n </div>\n\n ${FoundationInboxTemplate}\n </rapid-flyout>\n`"
6390
+ }
6391
+ ],
6392
+ "exports": [
6393
+ {
6394
+ "kind": "js",
6395
+ "name": "FoundationInboxFlyoutTemplate",
6396
+ "declaration": {
6397
+ "name": "FoundationInboxFlyoutTemplate",
6398
+ "module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.template.ts"
6399
+ }
6400
+ }
6401
+ ]
6402
+ },
6403
+ {
6404
+ "kind": "javascript-module",
6405
+ "path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.ts",
6406
+ "declarations": [
6407
+ {
6408
+ "kind": "class",
6409
+ "description": "",
6410
+ "name": "FoundationInboxFlyout",
6411
+ "members": [
6168
6412
  {
6169
6413
  "kind": "field",
6170
- "name": "renderAlert",
6414
+ "name": "ready",
6171
6415
  "type": {
6172
- "text": "ViewTemplate<Alert, FoundationInbox> | undefined"
6416
+ "text": "boolean"
6173
6417
  },
6174
- "default": "undefined",
6175
- "description": "Optional per-row template for the Alerts / Alert History lists. When set, it replaces the\ndefault alert row (the `.toast` element) and is rendered with the alert as its source (`x`)\nand the inbox host as `c.parent`, mirroring the internal `html<Alert, FoundationInbox>` row.\nWhen unset, the built-in row is used, so existing consumers are unaffected.",
6176
- "privacy": "public",
6177
- "inheritedFrom": {
6178
- "name": "FoundationInboxBase",
6179
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6418
+ "default": "false"
6419
+ },
6420
+ {
6421
+ "kind": "field",
6422
+ "name": "flyout",
6423
+ "type": {
6424
+ "text": "Flyout"
6180
6425
  }
6181
6426
  },
6182
6427
  {
6183
6428
  "kind": "field",
6184
- "name": "hideSeverityFilter",
6429
+ "name": "flyoutClosed",
6185
6430
  "type": {
6186
6431
  "text": "boolean"
6187
6432
  },
6188
- "default": "false",
6189
- "description": "Hide the Severity filter block in the search bar. Set via the `hide-severity-filter`\nattribute or property. @public",
6190
- "inheritedFrom": {
6191
- "name": "FoundationInboxBase",
6192
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6193
- }
6433
+ "default": "true"
6434
+ },
6435
+ {
6436
+ "kind": "method",
6437
+ "name": "open",
6438
+ "privacy": "public"
6439
+ },
6440
+ {
6441
+ "kind": "method",
6442
+ "name": "close",
6443
+ "privacy": "public"
6444
+ },
6445
+ {
6446
+ "kind": "method",
6447
+ "name": "loadRemotes"
6194
6448
  },
6195
6449
  {
6196
6450
  "kind": "field",
6197
- "name": "hideDateRange",
6451
+ "name": "auth",
6198
6452
  "type": {
6199
- "text": "boolean"
6453
+ "text": "Auth"
6200
6454
  },
6201
- "default": "false",
6202
- "description": "Hide the Date Range filter block in the search bar. Set via the `hide-date-range`\nattribute or property. @public",
6203
6455
  "inheritedFrom": {
6204
6456
  "name": "FoundationInboxBase",
6205
6457
  "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
@@ -6207,12 +6459,10 @@
6207
6459
  },
6208
6460
  {
6209
6461
  "kind": "field",
6210
- "name": "hideTitleSearch",
6462
+ "name": "connect",
6211
6463
  "type": {
6212
- "text": "boolean"
6464
+ "text": "Connect"
6213
6465
  },
6214
- "default": "false",
6215
- "description": "Hide the Search-by-Title field in the search bar. Set via the `hide-title-search`\nattribute or property. @public",
6216
6466
  "inheritedFrom": {
6217
6467
  "name": "FoundationInboxBase",
6218
6468
  "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
@@ -6220,12 +6470,10 @@
6220
6470
  },
6221
6471
  {
6222
6472
  "kind": "field",
6223
- "name": "hideBodySearch",
6473
+ "name": "alertService",
6224
6474
  "type": {
6225
- "text": "boolean"
6475
+ "text": "AlertService"
6226
6476
  },
6227
- "default": "false",
6228
- "description": "Hide the Search-by-Body field in the search bar. Set via the `hide-body-search`\nattribute or property. @public",
6229
6477
  "inheritedFrom": {
6230
6478
  "name": "FoundationInboxBase",
6231
6479
  "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
@@ -6233,12 +6481,10 @@
6233
6481
  },
6234
6482
  {
6235
6483
  "kind": "field",
6236
- "name": "hideClearAll",
6484
+ "name": "inboxService",
6237
6485
  "type": {
6238
- "text": "boolean"
6486
+ "text": "FoundationInboxService"
6239
6487
  },
6240
- "default": "false",
6241
- "description": "Hide the Clear All Alerts button on the Alerts tab. Set via the `hide-clear-all`\nattribute or property. Per-item dismiss is unchanged. @public",
6242
6488
  "inheritedFrom": {
6243
6489
  "name": "FoundationInboxBase",
6244
6490
  "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
@@ -6246,7 +6492,135 @@
6246
6492
  },
6247
6493
  {
6248
6494
  "kind": "field",
6249
- "name": "onAlertClick",
6495
+ "name": "connectionSub",
6496
+ "type": {
6497
+ "text": "Subscription"
6498
+ },
6499
+ "privacy": "private",
6500
+ "inheritedFrom": {
6501
+ "name": "FoundationInboxBase",
6502
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6503
+ }
6504
+ },
6505
+ {
6506
+ "kind": "field",
6507
+ "name": "alerts",
6508
+ "type": {
6509
+ "text": "Alert[]"
6510
+ },
6511
+ "privacy": "private",
6512
+ "default": "[]",
6513
+ "inheritedFrom": {
6514
+ "name": "FoundationInboxBase",
6515
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6516
+ }
6517
+ },
6518
+ {
6519
+ "kind": "field",
6520
+ "name": "alertsFilter",
6521
+ "type": {
6522
+ "text": "Alert[]"
6523
+ },
6524
+ "default": "[]",
6525
+ "inheritedFrom": {
6526
+ "name": "FoundationInboxBase",
6527
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6528
+ }
6529
+ },
6530
+ {
6531
+ "kind": "field",
6532
+ "name": "moreAlerts",
6533
+ "type": {
6534
+ "text": "boolean"
6535
+ },
6536
+ "default": "false",
6537
+ "inheritedFrom": {
6538
+ "name": "FoundationInboxBase",
6539
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6540
+ }
6541
+ },
6542
+ {
6543
+ "kind": "field",
6544
+ "name": "renderAlert",
6545
+ "type": {
6546
+ "text": "ViewTemplate<Alert, FoundationInbox> | undefined"
6547
+ },
6548
+ "default": "undefined",
6549
+ "description": "Optional per-row template for the Alerts / Alert History lists. When set, it replaces the\ndefault alert row (the `.toast` element) and is rendered with the alert as its source (`x`)\nand the inbox host as `c.parent`, mirroring the internal `html<Alert, FoundationInbox>` row.\nWhen unset, the built-in row is used, so existing consumers are unaffected.",
6550
+ "privacy": "public",
6551
+ "inheritedFrom": {
6552
+ "name": "FoundationInboxBase",
6553
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6554
+ }
6555
+ },
6556
+ {
6557
+ "kind": "field",
6558
+ "name": "hideSeverityFilter",
6559
+ "type": {
6560
+ "text": "boolean"
6561
+ },
6562
+ "default": "false",
6563
+ "description": "Hide the Severity filter block in the search bar. Set via the `hide-severity-filter`\nattribute or property. @public",
6564
+ "inheritedFrom": {
6565
+ "name": "FoundationInboxBase",
6566
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6567
+ }
6568
+ },
6569
+ {
6570
+ "kind": "field",
6571
+ "name": "hideDateRange",
6572
+ "type": {
6573
+ "text": "boolean"
6574
+ },
6575
+ "default": "false",
6576
+ "description": "Hide the Date Range filter block in the search bar. Set via the `hide-date-range`\nattribute or property. @public",
6577
+ "inheritedFrom": {
6578
+ "name": "FoundationInboxBase",
6579
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6580
+ }
6581
+ },
6582
+ {
6583
+ "kind": "field",
6584
+ "name": "hideTitleSearch",
6585
+ "type": {
6586
+ "text": "boolean"
6587
+ },
6588
+ "default": "false",
6589
+ "description": "Hide the Search-by-Title field in the search bar. Set via the `hide-title-search`\nattribute or property. @public",
6590
+ "inheritedFrom": {
6591
+ "name": "FoundationInboxBase",
6592
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6593
+ }
6594
+ },
6595
+ {
6596
+ "kind": "field",
6597
+ "name": "hideBodySearch",
6598
+ "type": {
6599
+ "text": "boolean"
6600
+ },
6601
+ "default": "false",
6602
+ "description": "Hide the Search-by-Body field in the search bar. Set via the `hide-body-search`\nattribute or property. @public",
6603
+ "inheritedFrom": {
6604
+ "name": "FoundationInboxBase",
6605
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6606
+ }
6607
+ },
6608
+ {
6609
+ "kind": "field",
6610
+ "name": "hideClearAll",
6611
+ "type": {
6612
+ "text": "boolean"
6613
+ },
6614
+ "default": "false",
6615
+ "description": "Hide the Clear All Alerts button on the Alerts tab. Set via the `hide-clear-all`\nattribute or property. Per-item dismiss is unchanged. @public",
6616
+ "inheritedFrom": {
6617
+ "name": "FoundationInboxBase",
6618
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6619
+ }
6620
+ },
6621
+ {
6622
+ "kind": "field",
6623
+ "name": "onAlertClick",
6250
6624
  "type": {
6251
6625
  "text": "((alert: Alert) => void) | undefined"
6252
6626
  },
@@ -7296,462 +7670,88 @@
7296
7670
  "customElement": true,
7297
7671
  "attributes": [
7298
7672
  {
7299
- "name": "hide-severity-filter",
7300
- "type": {
7301
- "text": "boolean"
7302
- },
7303
- "default": "false",
7304
- "description": "Hide the Severity filter block in the search bar. Set via the `hide-severity-filter`\nattribute or property. @public",
7305
- "fieldName": "hideSeverityFilter",
7306
- "inheritedFrom": {
7307
- "name": "FoundationInboxBase",
7308
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
7309
- }
7310
- },
7311
- {
7312
- "name": "hide-date-range",
7313
- "type": {
7314
- "text": "boolean"
7315
- },
7316
- "default": "false",
7317
- "description": "Hide the Date Range filter block in the search bar. Set via the `hide-date-range`\nattribute or property. @public",
7318
- "fieldName": "hideDateRange",
7319
- "inheritedFrom": {
7320
- "name": "FoundationInboxBase",
7321
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
7322
- }
7323
- },
7324
- {
7325
- "name": "hide-title-search",
7326
- "type": {
7327
- "text": "boolean"
7328
- },
7329
- "default": "false",
7330
- "description": "Hide the Search-by-Title field in the search bar. Set via the `hide-title-search`\nattribute or property. @public",
7331
- "fieldName": "hideTitleSearch",
7332
- "inheritedFrom": {
7333
- "name": "FoundationInboxBase",
7334
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
7335
- }
7336
- },
7337
- {
7338
- "name": "hide-body-search",
7339
- "type": {
7340
- "text": "boolean"
7341
- },
7342
- "default": "false",
7343
- "description": "Hide the Search-by-Body field in the search bar. Set via the `hide-body-search`\nattribute or property. @public",
7344
- "fieldName": "hideBodySearch",
7345
- "inheritedFrom": {
7346
- "name": "FoundationInboxBase",
7347
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
7348
- }
7349
- },
7350
- {
7351
- "name": "hide-clear-all",
7352
- "type": {
7353
- "text": "boolean"
7354
- },
7355
- "default": "false",
7356
- "description": "Hide the Clear All Alerts button on the Alerts tab. Set via the `hide-clear-all`\nattribute or property. Per-item dismiss is unchanged. @public",
7357
- "fieldName": "hideClearAll",
7358
- "inheritedFrom": {
7359
- "name": "FoundationInboxBase",
7360
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
7361
- }
7362
- }
7363
- ]
7364
- }
7365
- ],
7366
- "exports": [
7367
- {
7368
- "kind": "js",
7369
- "name": "FoundationInboxFlyout",
7370
- "declaration": {
7371
- "name": "FoundationInboxFlyout",
7372
- "module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.ts"
7373
- }
7374
- },
7375
- {
7376
- "kind": "custom-element-definition",
7377
- "name": "foundation-inbox-flyout",
7378
- "declaration": {
7379
- "name": "FoundationInboxFlyout",
7380
- "module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.ts"
7381
- }
7382
- }
7383
- ]
7384
- },
7385
- {
7386
- "kind": "javascript-module",
7387
- "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts",
7388
- "declarations": [
7389
- {
7390
- "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`"
7402
- }
7403
- ],
7404
- "exports": [
7405
- {
7406
- "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",
7416
- "declaration": {
7417
- "name": "FoundationInboxCounterStyles",
7418
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
7419
- }
7420
- }
7421
- ]
7422
- },
7423
- {
7424
- "kind": "javascript-module",
7425
- "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts",
7426
- "declarations": [
7427
- {
7428
- "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`"
7431
- }
7432
- ],
7433
- "exports": [
7434
- {
7435
- "kind": "js",
7436
- "name": "FoundationInboxCounterTemplate",
7437
- "declaration": {
7438
- "name": "FoundationInboxCounterTemplate",
7439
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts"
7440
- }
7441
- }
7442
- ]
7443
- },
7444
- {
7445
- "kind": "javascript-module",
7446
- "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts",
7447
- "declarations": [
7448
- {
7449
- "kind": "class",
7450
- "description": "",
7451
- "name": "FoundationInboxCounter",
7452
- "members": [
7453
- {
7454
- "kind": "field",
7455
- "name": "value",
7456
- "type": {
7457
- "text": "number"
7458
- },
7459
- "default": "0"
7460
- },
7461
- {
7462
- "kind": "field",
7463
- "name": "connect",
7464
- "type": {
7465
- "text": "Connect"
7466
- }
7467
- },
7468
- {
7469
- "kind": "field",
7470
- "name": "inboxService",
7471
- "type": {
7472
- "text": "FoundationInboxService"
7473
- }
7474
- },
7475
- {
7476
- "kind": "field",
7477
- "name": "connectionSub",
7478
- "type": {
7479
- "text": "Subscription"
7480
- },
7481
- "privacy": "private"
7482
- },
7483
- {
7484
- "kind": "method",
7485
- "name": "subscribeToAlerts",
7486
- "privacy": "private",
7487
- "return": {
7488
- "type": {
7489
- "text": "Promise<void>"
7490
- }
7491
- },
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": "{}"
7625
- },
7626
- {
7627
- "kind": "field",
7628
- "name": "subscribeDisabled",
7629
- "type": {
7630
- "text": "boolean"
7631
- },
7632
- "default": "true"
7633
- },
7634
- {
7635
- "kind": "field",
7636
- "name": "ruleService",
7637
- "type": {
7638
- "text": "RuleService"
7639
- }
7640
- },
7641
- {
7642
- "kind": "field",
7643
- "name": "visibleParameters",
7644
- "type": {
7645
- "text": "RuleParameterEntity[]"
7646
- },
7647
- "readonly": true
7648
- },
7649
- {
7650
- "kind": "method",
7651
- "name": "templateChanged"
7652
- },
7653
- {
7654
- "kind": "method",
7655
- "name": "usesAutoSubmit",
7656
- "return": {
7657
- "type": {
7658
- "text": "boolean"
7659
- }
7660
- }
7661
- },
7662
- {
7663
- "kind": "method",
7664
- "name": "requiresManualSubscribe",
7665
- "return": {
7666
- "type": {
7667
- "text": "boolean"
7668
- }
7669
- }
7670
- },
7671
- {
7672
- "kind": "method",
7673
- "name": "parameterEdit",
7674
- "parameters": [
7675
- {
7676
- "name": "value",
7677
- "type": {
7678
- "text": "any"
7679
- }
7680
- }
7681
- ]
7682
- },
7683
- {
7684
- "kind": "method",
7685
- "name": "autoSubscribe",
7686
- "privacy": "private"
7687
- },
7688
- {
7689
- "kind": "method",
7690
- "name": "verifySubscribe"
7691
- },
7692
- {
7693
- "kind": "field",
7694
- "name": "isFirstElement"
7695
- },
7696
- {
7697
- "kind": "method",
7698
- "name": "subscribeTemplate"
7673
+ "name": "hide-severity-filter",
7674
+ "type": {
7675
+ "text": "boolean"
7676
+ },
7677
+ "default": "false",
7678
+ "description": "Hide the Severity filter block in the search bar. Set via the `hide-severity-filter`\nattribute or property. @public",
7679
+ "fieldName": "hideSeverityFilter",
7680
+ "inheritedFrom": {
7681
+ "name": "FoundationInboxBase",
7682
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
7683
+ }
7699
7684
  },
7700
7685
  {
7701
- "kind": "method",
7702
- "name": "cancelSubscribe"
7686
+ "name": "hide-date-range",
7687
+ "type": {
7688
+ "text": "boolean"
7689
+ },
7690
+ "default": "false",
7691
+ "description": "Hide the Date Range filter block in the search bar. Set via the `hide-date-range`\nattribute or property. @public",
7692
+ "fieldName": "hideDateRange",
7693
+ "inheritedFrom": {
7694
+ "name": "FoundationInboxBase",
7695
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
7696
+ }
7703
7697
  },
7704
7698
  {
7705
- "kind": "field",
7706
- "name": "createParametersOperatorMap"
7707
- }
7708
- ],
7709
- "events": [
7710
- {
7711
- "description": "Fired when a template subscription is created. detail: `TemplateSubscribedEventDetail`",
7712
- "name": "templateSubscribed"
7699
+ "name": "hide-title-search",
7700
+ "type": {
7701
+ "text": "boolean"
7702
+ },
7703
+ "default": "false",
7704
+ "description": "Hide the Search-by-Title field in the search bar. Set via the `hide-title-search`\nattribute or property. @public",
7705
+ "fieldName": "hideTitleSearch",
7706
+ "inheritedFrom": {
7707
+ "name": "FoundationInboxBase",
7708
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
7709
+ }
7713
7710
  },
7714
7711
  {
7715
- "description": "Fired when inline parameter entry is cancelled",
7716
- "name": "subscribeCancelled"
7717
- }
7718
- ],
7719
- "attributes": [
7720
- {
7721
- "name": "template",
7722
- "fieldName": "template"
7712
+ "name": "hide-body-search",
7713
+ "type": {
7714
+ "text": "boolean"
7715
+ },
7716
+ "default": "false",
7717
+ "description": "Hide the Search-by-Body field in the search bar. Set via the `hide-body-search`\nattribute or property. @public",
7718
+ "fieldName": "hideBodySearch",
7719
+ "inheritedFrom": {
7720
+ "name": "FoundationInboxBase",
7721
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
7722
+ }
7723
7723
  },
7724
7724
  {
7725
+ "name": "hide-clear-all",
7725
7726
  "type": {
7726
7727
  "text": "boolean"
7727
7728
  },
7728
7729
  "default": "false",
7729
- "fieldName": "inline"
7730
+ "description": "Hide the Clear All Alerts button on the Alerts tab. Set via the `hide-clear-all`\nattribute or property. Per-item dismiss is unchanged. @public",
7731
+ "fieldName": "hideClearAll",
7732
+ "inheritedFrom": {
7733
+ "name": "FoundationInboxBase",
7734
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
7735
+ }
7730
7736
  }
7731
- ],
7732
- "superclass": {
7733
- "name": "GenesisElement",
7734
- "package": "@genesislcap/web-core"
7735
- },
7736
- "tagName": "inbox-subscription",
7737
- "customElement": true
7737
+ ]
7738
7738
  }
7739
7739
  ],
7740
7740
  "exports": [
7741
7741
  {
7742
7742
  "kind": "js",
7743
- "name": "InboxSubscription",
7743
+ "name": "FoundationInboxFlyout",
7744
7744
  "declaration": {
7745
- "name": "InboxSubscription",
7746
- "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
7745
+ "name": "FoundationInboxFlyout",
7746
+ "module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.ts"
7747
7747
  }
7748
7748
  },
7749
7749
  {
7750
7750
  "kind": "custom-element-definition",
7751
- "name": "inbox-subscription",
7751
+ "name": "foundation-inbox-flyout",
7752
7752
  "declaration": {
7753
- "name": "InboxSubscription",
7754
- "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
7753
+ "name": "FoundationInboxFlyout",
7754
+ "module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.ts"
7755
7755
  }
7756
7756
  }
7757
7757
  ]
@@ -10514,121 +10514,279 @@
10514
10514
  },
10515
10515
  {
10516
10516
  "kind": "field",
10517
- "name": "sourceTyped",
10517
+ "name": "sourceTyped",
10518
+ "type": {
10519
+ "text": "string"
10520
+ }
10521
+ },
10522
+ {
10523
+ "kind": "field",
10524
+ "name": "sourceTextField",
10525
+ "type": {
10526
+ "text": "TextField"
10527
+ }
10528
+ },
10529
+ {
10530
+ "kind": "field",
10531
+ "name": "sourceSelect",
10532
+ "type": {
10533
+ "text": "Select"
10534
+ }
10535
+ },
10536
+ {
10537
+ "kind": "field",
10538
+ "name": "reqRepItems",
10539
+ "type": {
10540
+ "text": "array"
10541
+ },
10542
+ "default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
10543
+ },
10544
+ {
10545
+ "kind": "method",
10546
+ "name": "deleteParameter"
10547
+ },
10548
+ {
10549
+ "kind": "method",
10550
+ "name": "parameterChanged"
10551
+ },
10552
+ {
10553
+ "kind": "method",
10554
+ "name": "nameChanged"
10555
+ },
10556
+ {
10557
+ "kind": "method",
10558
+ "name": "labelChanged"
10559
+ },
10560
+ {
10561
+ "kind": "method",
10562
+ "name": "typeChanged"
10563
+ },
10564
+ {
10565
+ "kind": "method",
10566
+ "name": "sourceTypeChanged"
10567
+ },
10568
+ {
10569
+ "kind": "method",
10570
+ "name": "sourceSelectedChanged"
10571
+ },
10572
+ {
10573
+ "kind": "method",
10574
+ "name": "sourceTypedChanged"
10575
+ },
10576
+ {
10577
+ "kind": "method",
10578
+ "name": "genericChanged",
10579
+ "privacy": "private",
10580
+ "parameters": [
10581
+ {
10582
+ "name": "parameterAttribute"
10583
+ },
10584
+ {
10585
+ "name": "value"
10586
+ }
10587
+ ]
10588
+ }
10589
+ ],
10590
+ "events": [
10591
+ {
10592
+ "description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
10593
+ "name": "delete"
10594
+ },
10595
+ {
10596
+ "description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
10597
+ "name": "edit"
10598
+ }
10599
+ ],
10600
+ "attributes": [
10601
+ {
10602
+ "name": "parameter",
10603
+ "type": {
10604
+ "text": "ParameterBuilderEntity"
10605
+ },
10606
+ "fieldName": "parameter"
10607
+ }
10608
+ ],
10609
+ "superclass": {
10610
+ "name": "GenesisElement",
10611
+ "package": "@genesislcap/web-core"
10612
+ },
10613
+ "tagName": "parameter-builder",
10614
+ "customElement": true
10615
+ }
10616
+ ],
10617
+ "exports": [
10618
+ {
10619
+ "kind": "js",
10620
+ "name": "ParameterBuilder",
10621
+ "declaration": {
10622
+ "name": "ParameterBuilder",
10623
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
10624
+ }
10625
+ },
10626
+ {
10627
+ "kind": "custom-element-definition",
10628
+ "name": "parameter-builder",
10629
+ "declaration": {
10630
+ "name": "ParameterBuilder",
10631
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
10632
+ }
10633
+ }
10634
+ ]
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",
10518
10684
  "type": {
10519
- "text": "string"
10520
- }
10685
+ "text": "Array<ParameterBuilderEntity>"
10686
+ },
10687
+ "default": "[]"
10521
10688
  },
10522
10689
  {
10523
10690
  "kind": "field",
10524
- "name": "sourceTextField",
10691
+ "name": "isFirst",
10525
10692
  "type": {
10526
- "text": "TextField"
10527
- }
10693
+ "text": "boolean"
10694
+ },
10695
+ "default": "false"
10528
10696
  },
10529
10697
  {
10530
10698
  "kind": "field",
10531
- "name": "sourceSelect",
10699
+ "name": "joinOperator",
10532
10700
  "type": {
10533
- "text": "Select"
10701
+ "text": "string"
10534
10702
  }
10535
10703
  },
10536
10704
  {
10537
10705
  "kind": "field",
10538
- "name": "reqRepItems",
10706
+ "name": "groupChildren",
10539
10707
  "type": {
10540
- "text": "array"
10708
+ "text": "ConditionNode[]"
10541
10709
  },
10542
- "default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
10543
- },
10544
- {
10545
- "kind": "method",
10546
- "name": "deleteParameter"
10547
- },
10548
- {
10549
- "kind": "method",
10550
- "name": "parameterChanged"
10551
- },
10552
- {
10553
- "kind": "method",
10554
- "name": "nameChanged"
10710
+ "default": "[]"
10555
10711
  },
10556
10712
  {
10557
10713
  "kind": "method",
10558
- "name": "labelChanged"
10714
+ "name": "nodeChanged"
10559
10715
  },
10560
10716
  {
10561
10717
  "kind": "method",
10562
- "name": "typeChanged"
10718
+ "name": "joinOperatorChanged"
10563
10719
  },
10564
10720
  {
10565
10721
  "kind": "method",
10566
- "name": "sourceTypeChanged"
10722
+ "name": "newCondition"
10567
10723
  },
10568
10724
  {
10569
10725
  "kind": "method",
10570
- "name": "sourceSelectedChanged"
10726
+ "name": "newGroup"
10571
10727
  },
10572
10728
  {
10573
10729
  "kind": "method",
10574
- "name": "sourceTypedChanged"
10730
+ "name": "editChild",
10731
+ "parameters": [
10732
+ {
10733
+ "name": "_editedChild",
10734
+ "type": {
10735
+ "text": "ConditionNode"
10736
+ }
10737
+ }
10738
+ ]
10575
10739
  },
10576
10740
  {
10577
10741
  "kind": "method",
10578
- "name": "genericChanged",
10579
- "privacy": "private",
10742
+ "name": "deleteChild",
10580
10743
  "parameters": [
10581
10744
  {
10582
- "name": "parameterAttribute"
10583
- },
10584
- {
10585
- "name": "value"
10745
+ "name": "deletedChild",
10746
+ "type": {
10747
+ "text": "ConditionNode"
10748
+ }
10586
10749
  }
10587
10750
  ]
10751
+ },
10752
+ {
10753
+ "kind": "method",
10754
+ "name": "deleteSelf"
10588
10755
  }
10589
10756
  ],
10590
10757
  "events": [
10591
10758
  {
10592
- "description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
10759
+ "description": "Fired when this whole group should be removed",
10593
10760
  "name": "delete"
10594
10761
  },
10595
10762
  {
10596
- "description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
10763
+ "description": "Fired when anything inside this group changes",
10597
10764
  "name": "edit"
10598
10765
  }
10599
10766
  ],
10600
- "attributes": [
10601
- {
10602
- "name": "parameter",
10603
- "type": {
10604
- "text": "ParameterBuilderEntity"
10605
- },
10606
- "fieldName": "parameter"
10607
- }
10608
- ],
10609
10767
  "superclass": {
10610
10768
  "name": "GenesisElement",
10611
10769
  "package": "@genesislcap/web-core"
10612
10770
  },
10613
- "tagName": "parameter-builder",
10771
+ "tagName": "template-condition-group",
10614
10772
  "customElement": true
10615
10773
  }
10616
10774
  ],
10617
10775
  "exports": [
10618
10776
  {
10619
10777
  "kind": "js",
10620
- "name": "ParameterBuilder",
10778
+ "name": "TemplateConditionGroup",
10621
10779
  "declaration": {
10622
- "name": "ParameterBuilder",
10623
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
10780
+ "name": "TemplateConditionGroup",
10781
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
10624
10782
  }
10625
10783
  },
10626
10784
  {
10627
10785
  "kind": "custom-element-definition",
10628
- "name": "parameter-builder",
10786
+ "name": "template-condition-group",
10629
10787
  "declaration": {
10630
- "name": "ParameterBuilder",
10631
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
10788
+ "name": "TemplateConditionGroup",
10789
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
10632
10790
  }
10633
10791
  }
10634
10792
  ]
@@ -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
  }