@genesislcap/pbc-notify-ui 15.42.0 → 15.43.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.
@@ -505,27 +505,6 @@
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
- },
529
508
  {
530
509
  "kind": "javascript-module",
531
510
  "path": "src/utils/eventDetail.ts",
@@ -847,6 +826,27 @@
847
826
  }
848
827
  ]
849
828
  },
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",
@@ -6041,62 +6041,58 @@
6041
6041
  },
6042
6042
  {
6043
6043
  "kind": "javascript-module",
6044
- "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts",
6044
+ "path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts",
6045
6045
  "declarations": [
6046
6046
  {
6047
6047
  "kind": "variable",
6048
- "name": "InboxSubscriptionStyles",
6049
- "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`"
6048
+ "name": "FoundationInboxFlyoutStyles",
6049
+ "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`"
6050
6050
  }
6051
6051
  ],
6052
6052
  "exports": [
6053
6053
  {
6054
6054
  "kind": "js",
6055
- "name": "InboxSubscriptionStyles",
6055
+ "name": "FoundationInboxFlyoutStyles",
6056
6056
  "declaration": {
6057
- "name": "InboxSubscriptionStyles",
6058
- "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts"
6057
+ "name": "FoundationInboxFlyoutStyles",
6058
+ "module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts"
6059
6059
  }
6060
6060
  }
6061
6061
  ]
6062
6062
  },
6063
6063
  {
6064
6064
  "kind": "javascript-module",
6065
- "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts",
6065
+ "path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.template.ts",
6066
6066
  "declarations": [
6067
6067
  {
6068
6068
  "kind": "variable",
6069
- "name": "InboxSubscriptionTemplate",
6070
- "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`"
6069
+ "name": "FoundationInboxFlyoutTemplate",
6070
+ "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`"
6071
6071
  }
6072
6072
  ],
6073
6073
  "exports": [
6074
6074
  {
6075
6075
  "kind": "js",
6076
- "name": "InboxSubscriptionTemplate",
6076
+ "name": "FoundationInboxFlyoutTemplate",
6077
6077
  "declaration": {
6078
- "name": "InboxSubscriptionTemplate",
6079
- "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts"
6078
+ "name": "FoundationInboxFlyoutTemplate",
6079
+ "module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.template.ts"
6080
6080
  }
6081
6081
  }
6082
6082
  ]
6083
6083
  },
6084
6084
  {
6085
6085
  "kind": "javascript-module",
6086
- "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts",
6086
+ "path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.ts",
6087
6087
  "declarations": [
6088
6088
  {
6089
6089
  "kind": "class",
6090
- "description": "Inbox subscription configuration UI.",
6091
- "name": "InboxSubscription",
6090
+ "description": "",
6091
+ "name": "FoundationInboxFlyout",
6092
6092
  "members": [
6093
6093
  {
6094
6094
  "kind": "field",
6095
- "name": "template"
6096
- },
6097
- {
6098
- "kind": "field",
6099
- "name": "inline",
6095
+ "name": "ready",
6100
6096
  "type": {
6101
6097
  "text": "boolean"
6102
6098
  },
@@ -6104,405 +6100,178 @@
6104
6100
  },
6105
6101
  {
6106
6102
  "kind": "field",
6107
- "name": "extraParameterDetails",
6103
+ "name": "flyout",
6108
6104
  "type": {
6109
- "text": "Record<string, string>"
6110
- },
6111
- "default": "{}",
6112
- "description": "Merged into subscribe payload (e.g. CHANNEL topic). Hidden from the form."
6105
+ "text": "Flyout"
6106
+ }
6113
6107
  },
6114
6108
  {
6115
6109
  "kind": "field",
6116
- "name": "parametersDetails",
6110
+ "name": "flyoutClosed",
6117
6111
  "type": {
6118
- "text": "object"
6112
+ "text": "boolean"
6119
6113
  },
6120
- "privacy": "private",
6121
- "default": "{}"
6114
+ "default": "true"
6115
+ },
6116
+ {
6117
+ "kind": "method",
6118
+ "name": "open",
6119
+ "privacy": "public"
6120
+ },
6121
+ {
6122
+ "kind": "method",
6123
+ "name": "close",
6124
+ "privacy": "public"
6125
+ },
6126
+ {
6127
+ "kind": "method",
6128
+ "name": "loadRemotes"
6122
6129
  },
6123
6130
  {
6124
6131
  "kind": "field",
6125
- "name": "isSubmitting",
6132
+ "name": "auth",
6126
6133
  "type": {
6127
- "text": "boolean"
6134
+ "text": "Auth"
6128
6135
  },
6129
- "privacy": "private",
6130
- "default": "false"
6136
+ "inheritedFrom": {
6137
+ "name": "FoundationInboxBase",
6138
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6139
+ }
6131
6140
  },
6132
6141
  {
6133
6142
  "kind": "field",
6134
- "name": "parametersOperators",
6143
+ "name": "connect",
6135
6144
  "type": {
6136
- "text": "object"
6145
+ "text": "Connect"
6137
6146
  },
6138
- "default": "{}"
6147
+ "inheritedFrom": {
6148
+ "name": "FoundationInboxBase",
6149
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6150
+ }
6139
6151
  },
6140
6152
  {
6141
6153
  "kind": "field",
6142
- "name": "subscribeDisabled",
6154
+ "name": "alertService",
6143
6155
  "type": {
6144
- "text": "boolean"
6156
+ "text": "AlertService"
6145
6157
  },
6146
- "default": "true"
6158
+ "inheritedFrom": {
6159
+ "name": "FoundationInboxBase",
6160
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6161
+ }
6147
6162
  },
6148
6163
  {
6149
6164
  "kind": "field",
6150
- "name": "ruleService",
6165
+ "name": "inboxService",
6151
6166
  "type": {
6152
- "text": "RuleService"
6167
+ "text": "FoundationInboxService"
6168
+ },
6169
+ "inheritedFrom": {
6170
+ "name": "FoundationInboxBase",
6171
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6153
6172
  }
6154
6173
  },
6155
6174
  {
6156
6175
  "kind": "field",
6157
- "name": "visibleParameters",
6176
+ "name": "connectionSub",
6158
6177
  "type": {
6159
- "text": "RuleParameterEntity[]"
6178
+ "text": "Subscription"
6160
6179
  },
6161
- "readonly": true
6180
+ "privacy": "private",
6181
+ "inheritedFrom": {
6182
+ "name": "FoundationInboxBase",
6183
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6184
+ }
6162
6185
  },
6163
6186
  {
6164
- "kind": "method",
6165
- "name": "templateChanged"
6187
+ "kind": "field",
6188
+ "name": "alerts",
6189
+ "type": {
6190
+ "text": "Alert[]"
6191
+ },
6192
+ "privacy": "private",
6193
+ "default": "[]",
6194
+ "inheritedFrom": {
6195
+ "name": "FoundationInboxBase",
6196
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6197
+ }
6166
6198
  },
6167
6199
  {
6168
- "kind": "method",
6169
- "name": "usesAutoSubmit",
6170
- "return": {
6171
- "type": {
6172
- "text": "boolean"
6173
- }
6200
+ "kind": "field",
6201
+ "name": "alertsFilter",
6202
+ "type": {
6203
+ "text": "Alert[]"
6204
+ },
6205
+ "default": "[]",
6206
+ "inheritedFrom": {
6207
+ "name": "FoundationInboxBase",
6208
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6174
6209
  }
6175
6210
  },
6176
6211
  {
6177
- "kind": "method",
6178
- "name": "requiresManualSubscribe",
6179
- "return": {
6180
- "type": {
6181
- "text": "boolean"
6182
- }
6212
+ "kind": "field",
6213
+ "name": "moreAlerts",
6214
+ "type": {
6215
+ "text": "boolean"
6216
+ },
6217
+ "default": "false",
6218
+ "inheritedFrom": {
6219
+ "name": "FoundationInboxBase",
6220
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6183
6221
  }
6184
6222
  },
6185
6223
  {
6186
- "kind": "method",
6187
- "name": "parameterEdit",
6188
- "parameters": [
6189
- {
6190
- "name": "value",
6191
- "type": {
6192
- "text": "any"
6193
- }
6194
- }
6195
- ]
6224
+ "kind": "field",
6225
+ "name": "renderAlert",
6226
+ "type": {
6227
+ "text": "ViewTemplate<Alert, FoundationInbox> | undefined"
6228
+ },
6229
+ "default": "undefined",
6230
+ "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.",
6231
+ "privacy": "public",
6232
+ "inheritedFrom": {
6233
+ "name": "FoundationInboxBase",
6234
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6235
+ }
6196
6236
  },
6197
6237
  {
6198
- "kind": "method",
6199
- "name": "autoSubscribe",
6200
- "privacy": "private"
6238
+ "kind": "field",
6239
+ "name": "hideSeverityFilter",
6240
+ "type": {
6241
+ "text": "boolean"
6242
+ },
6243
+ "default": "false",
6244
+ "description": "Hide the Severity filter block in the search bar. Set via the `hide-severity-filter`\nattribute or property. @public",
6245
+ "inheritedFrom": {
6246
+ "name": "FoundationInboxBase",
6247
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6248
+ }
6201
6249
  },
6202
6250
  {
6203
- "kind": "method",
6204
- "name": "verifySubscribe"
6251
+ "kind": "field",
6252
+ "name": "hideDateRange",
6253
+ "type": {
6254
+ "text": "boolean"
6255
+ },
6256
+ "default": "false",
6257
+ "description": "Hide the Date Range filter block in the search bar. Set via the `hide-date-range`\nattribute or property. @public",
6258
+ "inheritedFrom": {
6259
+ "name": "FoundationInboxBase",
6260
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6261
+ }
6205
6262
  },
6206
6263
  {
6207
6264
  "kind": "field",
6208
- "name": "isFirstElement"
6209
- },
6210
- {
6211
- "kind": "method",
6212
- "name": "subscribeTemplate"
6213
- },
6214
- {
6215
- "kind": "method",
6216
- "name": "cancelSubscribe"
6217
- },
6218
- {
6219
- "kind": "field",
6220
- "name": "createParametersOperatorMap"
6221
- }
6222
- ],
6223
- "events": [
6224
- {
6225
- "description": "Fired when a template subscription is created. detail: `TemplateSubscribedEventDetail`",
6226
- "name": "templateSubscribed"
6227
- },
6228
- {
6229
- "description": "Fired when inline parameter entry is cancelled",
6230
- "name": "subscribeCancelled"
6231
- }
6232
- ],
6233
- "attributes": [
6234
- {
6235
- "name": "template",
6236
- "fieldName": "template"
6237
- },
6238
- {
6239
- "type": {
6240
- "text": "boolean"
6241
- },
6242
- "default": "false",
6243
- "fieldName": "inline"
6244
- }
6245
- ],
6246
- "superclass": {
6247
- "name": "GenesisElement",
6248
- "package": "@genesislcap/web-core"
6249
- },
6250
- "tagName": "inbox-subscription",
6251
- "customElement": true
6252
- }
6253
- ],
6254
- "exports": [
6255
- {
6256
- "kind": "js",
6257
- "name": "InboxSubscription",
6258
- "declaration": {
6259
- "name": "InboxSubscription",
6260
- "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
6261
- }
6262
- },
6263
- {
6264
- "kind": "custom-element-definition",
6265
- "name": "inbox-subscription",
6266
- "declaration": {
6267
- "name": "InboxSubscription",
6268
- "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
6269
- }
6270
- }
6271
- ]
6272
- },
6273
- {
6274
- "kind": "javascript-module",
6275
- "path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts",
6276
- "declarations": [
6277
- {
6278
- "kind": "variable",
6279
- "name": "FoundationInboxFlyoutStyles",
6280
- "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`"
6281
- }
6282
- ],
6283
- "exports": [
6284
- {
6285
- "kind": "js",
6286
- "name": "FoundationInboxFlyoutStyles",
6287
- "declaration": {
6288
- "name": "FoundationInboxFlyoutStyles",
6289
- "module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts"
6290
- }
6291
- }
6292
- ]
6293
- },
6294
- {
6295
- "kind": "javascript-module",
6296
- "path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.template.ts",
6297
- "declarations": [
6298
- {
6299
- "kind": "variable",
6300
- "name": "FoundationInboxFlyoutTemplate",
6301
- "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`"
6302
- }
6303
- ],
6304
- "exports": [
6305
- {
6306
- "kind": "js",
6307
- "name": "FoundationInboxFlyoutTemplate",
6308
- "declaration": {
6309
- "name": "FoundationInboxFlyoutTemplate",
6310
- "module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.template.ts"
6311
- }
6312
- }
6313
- ]
6314
- },
6315
- {
6316
- "kind": "javascript-module",
6317
- "path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.ts",
6318
- "declarations": [
6319
- {
6320
- "kind": "class",
6321
- "description": "",
6322
- "name": "FoundationInboxFlyout",
6323
- "members": [
6324
- {
6325
- "kind": "field",
6326
- "name": "ready",
6327
- "type": {
6328
- "text": "boolean"
6329
- },
6330
- "default": "false"
6331
- },
6332
- {
6333
- "kind": "field",
6334
- "name": "flyout",
6335
- "type": {
6336
- "text": "Flyout"
6337
- }
6338
- },
6339
- {
6340
- "kind": "field",
6341
- "name": "flyoutClosed",
6342
- "type": {
6343
- "text": "boolean"
6344
- },
6345
- "default": "true"
6346
- },
6347
- {
6348
- "kind": "method",
6349
- "name": "open",
6350
- "privacy": "public"
6351
- },
6352
- {
6353
- "kind": "method",
6354
- "name": "close",
6355
- "privacy": "public"
6356
- },
6357
- {
6358
- "kind": "method",
6359
- "name": "loadRemotes"
6360
- },
6361
- {
6362
- "kind": "field",
6363
- "name": "auth",
6364
- "type": {
6365
- "text": "Auth"
6366
- },
6367
- "inheritedFrom": {
6368
- "name": "FoundationInboxBase",
6369
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6370
- }
6371
- },
6372
- {
6373
- "kind": "field",
6374
- "name": "connect",
6375
- "type": {
6376
- "text": "Connect"
6377
- },
6378
- "inheritedFrom": {
6379
- "name": "FoundationInboxBase",
6380
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6381
- }
6382
- },
6383
- {
6384
- "kind": "field",
6385
- "name": "alertService",
6386
- "type": {
6387
- "text": "AlertService"
6388
- },
6389
- "inheritedFrom": {
6390
- "name": "FoundationInboxBase",
6391
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6392
- }
6393
- },
6394
- {
6395
- "kind": "field",
6396
- "name": "inboxService",
6397
- "type": {
6398
- "text": "FoundationInboxService"
6399
- },
6400
- "inheritedFrom": {
6401
- "name": "FoundationInboxBase",
6402
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6403
- }
6404
- },
6405
- {
6406
- "kind": "field",
6407
- "name": "connectionSub",
6408
- "type": {
6409
- "text": "Subscription"
6410
- },
6411
- "privacy": "private",
6412
- "inheritedFrom": {
6413
- "name": "FoundationInboxBase",
6414
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6415
- }
6416
- },
6417
- {
6418
- "kind": "field",
6419
- "name": "alerts",
6420
- "type": {
6421
- "text": "Alert[]"
6422
- },
6423
- "privacy": "private",
6424
- "default": "[]",
6425
- "inheritedFrom": {
6426
- "name": "FoundationInboxBase",
6427
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6428
- }
6429
- },
6430
- {
6431
- "kind": "field",
6432
- "name": "alertsFilter",
6433
- "type": {
6434
- "text": "Alert[]"
6435
- },
6436
- "default": "[]",
6437
- "inheritedFrom": {
6438
- "name": "FoundationInboxBase",
6439
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6440
- }
6441
- },
6442
- {
6443
- "kind": "field",
6444
- "name": "moreAlerts",
6445
- "type": {
6446
- "text": "boolean"
6447
- },
6448
- "default": "false",
6449
- "inheritedFrom": {
6450
- "name": "FoundationInboxBase",
6451
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6452
- }
6453
- },
6454
- {
6455
- "kind": "field",
6456
- "name": "renderAlert",
6457
- "type": {
6458
- "text": "ViewTemplate<Alert, FoundationInbox> | undefined"
6459
- },
6460
- "default": "undefined",
6461
- "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.",
6462
- "privacy": "public",
6463
- "inheritedFrom": {
6464
- "name": "FoundationInboxBase",
6465
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6466
- }
6467
- },
6468
- {
6469
- "kind": "field",
6470
- "name": "hideSeverityFilter",
6471
- "type": {
6472
- "text": "boolean"
6473
- },
6474
- "default": "false",
6475
- "description": "Hide the Severity filter block in the search bar. Set via the `hide-severity-filter`\nattribute or property. @public",
6476
- "inheritedFrom": {
6477
- "name": "FoundationInboxBase",
6478
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6479
- }
6480
- },
6481
- {
6482
- "kind": "field",
6483
- "name": "hideDateRange",
6484
- "type": {
6485
- "text": "boolean"
6486
- },
6487
- "default": "false",
6488
- "description": "Hide the Date Range filter block in the search bar. Set via the `hide-date-range`\nattribute or property. @public",
6489
- "inheritedFrom": {
6490
- "name": "FoundationInboxBase",
6491
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6492
- }
6493
- },
6494
- {
6495
- "kind": "field",
6496
- "name": "hideTitleSearch",
6497
- "type": {
6498
- "text": "boolean"
6499
- },
6500
- "default": "false",
6501
- "description": "Hide the Search-by-Title field in the search bar. Set via the `hide-title-search`\nattribute or property. @public",
6502
- "inheritedFrom": {
6503
- "name": "FoundationInboxBase",
6504
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6505
- }
6265
+ "name": "hideTitleSearch",
6266
+ "type": {
6267
+ "text": "boolean"
6268
+ },
6269
+ "default": "false",
6270
+ "description": "Hide the Search-by-Title field in the search bar. Set via the `hide-title-search`\nattribute or property. @public",
6271
+ "inheritedFrom": {
6272
+ "name": "FoundationInboxBase",
6273
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6274
+ }
6506
6275
  },
6507
6276
  {
6508
6277
  "kind": "field",
@@ -7536,68 +7305,299 @@
7536
7305
  }
7537
7306
  },
7538
7307
  {
7539
- "kind": "method",
7540
- "name": "cancelPendingSubscribe",
7541
- "inheritedFrom": {
7542
- "name": "FoundationInboxBase",
7543
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
7544
- }
7308
+ "kind": "method",
7309
+ "name": "cancelPendingSubscribe",
7310
+ "inheritedFrom": {
7311
+ "name": "FoundationInboxBase",
7312
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
7313
+ }
7314
+ },
7315
+ {
7316
+ "kind": "method",
7317
+ "name": "formatDateStrForMatchCriteria",
7318
+ "parameters": [
7319
+ {
7320
+ "name": "date",
7321
+ "optional": true,
7322
+ "type": {
7323
+ "text": "string"
7324
+ }
7325
+ }
7326
+ ],
7327
+ "inheritedFrom": {
7328
+ "name": "FoundationInboxBase",
7329
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
7330
+ }
7331
+ }
7332
+ ],
7333
+ "superclass": {
7334
+ "name": "FoundationInboxBase",
7335
+ "module": "/src/components/foundation-inbox/inbox-base/inbox-base"
7336
+ },
7337
+ "tagName": "foundation-inbox-flyout",
7338
+ "customElement": true,
7339
+ "attributes": [
7340
+ {
7341
+ "type": {
7342
+ "text": "boolean"
7343
+ },
7344
+ "default": "false",
7345
+ "description": "Hide the Severity filter block in the search bar. Set via the `hide-severity-filter`\nattribute or property. @public",
7346
+ "fieldName": "hideSeverityFilter",
7347
+ "inheritedFrom": {
7348
+ "name": "FoundationInboxBase",
7349
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
7350
+ }
7351
+ }
7352
+ ]
7353
+ }
7354
+ ],
7355
+ "exports": [
7356
+ {
7357
+ "kind": "js",
7358
+ "name": "FoundationInboxFlyout",
7359
+ "declaration": {
7360
+ "name": "FoundationInboxFlyout",
7361
+ "module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.ts"
7362
+ }
7363
+ },
7364
+ {
7365
+ "kind": "custom-element-definition",
7366
+ "name": "foundation-inbox-flyout",
7367
+ "declaration": {
7368
+ "name": "FoundationInboxFlyout",
7369
+ "module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.ts"
7370
+ }
7371
+ }
7372
+ ]
7373
+ },
7374
+ {
7375
+ "kind": "javascript-module",
7376
+ "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts",
7377
+ "declarations": [
7378
+ {
7379
+ "kind": "variable",
7380
+ "name": "InboxSubscriptionStyles",
7381
+ "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`"
7382
+ }
7383
+ ],
7384
+ "exports": [
7385
+ {
7386
+ "kind": "js",
7387
+ "name": "InboxSubscriptionStyles",
7388
+ "declaration": {
7389
+ "name": "InboxSubscriptionStyles",
7390
+ "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts"
7391
+ }
7392
+ }
7393
+ ]
7394
+ },
7395
+ {
7396
+ "kind": "javascript-module",
7397
+ "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts",
7398
+ "declarations": [
7399
+ {
7400
+ "kind": "variable",
7401
+ "name": "InboxSubscriptionTemplate",
7402
+ "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`"
7403
+ }
7404
+ ],
7405
+ "exports": [
7406
+ {
7407
+ "kind": "js",
7408
+ "name": "InboxSubscriptionTemplate",
7409
+ "declaration": {
7410
+ "name": "InboxSubscriptionTemplate",
7411
+ "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts"
7412
+ }
7413
+ }
7414
+ ]
7415
+ },
7416
+ {
7417
+ "kind": "javascript-module",
7418
+ "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts",
7419
+ "declarations": [
7420
+ {
7421
+ "kind": "class",
7422
+ "description": "Inbox subscription configuration UI.",
7423
+ "name": "InboxSubscription",
7424
+ "members": [
7425
+ {
7426
+ "kind": "field",
7427
+ "name": "template"
7428
+ },
7429
+ {
7430
+ "kind": "field",
7431
+ "name": "inline",
7432
+ "type": {
7433
+ "text": "boolean"
7434
+ },
7435
+ "default": "false"
7436
+ },
7437
+ {
7438
+ "kind": "field",
7439
+ "name": "extraParameterDetails",
7440
+ "type": {
7441
+ "text": "Record<string, string>"
7442
+ },
7443
+ "default": "{}",
7444
+ "description": "Merged into subscribe payload (e.g. CHANNEL topic). Hidden from the form."
7445
+ },
7446
+ {
7447
+ "kind": "field",
7448
+ "name": "parametersDetails",
7449
+ "type": {
7450
+ "text": "object"
7451
+ },
7452
+ "privacy": "private",
7453
+ "default": "{}"
7454
+ },
7455
+ {
7456
+ "kind": "field",
7457
+ "name": "isSubmitting",
7458
+ "type": {
7459
+ "text": "boolean"
7460
+ },
7461
+ "privacy": "private",
7462
+ "default": "false"
7463
+ },
7464
+ {
7465
+ "kind": "field",
7466
+ "name": "parametersOperators",
7467
+ "type": {
7468
+ "text": "object"
7469
+ },
7470
+ "default": "{}"
7471
+ },
7472
+ {
7473
+ "kind": "field",
7474
+ "name": "subscribeDisabled",
7475
+ "type": {
7476
+ "text": "boolean"
7477
+ },
7478
+ "default": "true"
7479
+ },
7480
+ {
7481
+ "kind": "field",
7482
+ "name": "ruleService",
7483
+ "type": {
7484
+ "text": "RuleService"
7485
+ }
7486
+ },
7487
+ {
7488
+ "kind": "field",
7489
+ "name": "visibleParameters",
7490
+ "type": {
7491
+ "text": "RuleParameterEntity[]"
7492
+ },
7493
+ "readonly": true
7494
+ },
7495
+ {
7496
+ "kind": "method",
7497
+ "name": "templateChanged"
7498
+ },
7499
+ {
7500
+ "kind": "method",
7501
+ "name": "usesAutoSubmit",
7502
+ "return": {
7503
+ "type": {
7504
+ "text": "boolean"
7505
+ }
7506
+ }
7507
+ },
7508
+ {
7509
+ "kind": "method",
7510
+ "name": "requiresManualSubscribe",
7511
+ "return": {
7512
+ "type": {
7513
+ "text": "boolean"
7514
+ }
7515
+ }
7516
+ },
7517
+ {
7518
+ "kind": "method",
7519
+ "name": "parameterEdit",
7520
+ "parameters": [
7521
+ {
7522
+ "name": "value",
7523
+ "type": {
7524
+ "text": "any"
7525
+ }
7526
+ }
7527
+ ]
7528
+ },
7529
+ {
7530
+ "kind": "method",
7531
+ "name": "autoSubscribe",
7532
+ "privacy": "private"
7533
+ },
7534
+ {
7535
+ "kind": "method",
7536
+ "name": "verifySubscribe"
7537
+ },
7538
+ {
7539
+ "kind": "field",
7540
+ "name": "isFirstElement"
7541
+ },
7542
+ {
7543
+ "kind": "method",
7544
+ "name": "subscribeTemplate"
7545
+ },
7546
+ {
7547
+ "kind": "method",
7548
+ "name": "cancelSubscribe"
7549
+ },
7550
+ {
7551
+ "kind": "field",
7552
+ "name": "createParametersOperatorMap"
7553
+ }
7554
+ ],
7555
+ "events": [
7556
+ {
7557
+ "description": "Fired when a template subscription is created. detail: `TemplateSubscribedEventDetail`",
7558
+ "name": "templateSubscribed"
7545
7559
  },
7546
7560
  {
7547
- "kind": "method",
7548
- "name": "formatDateStrForMatchCriteria",
7549
- "parameters": [
7550
- {
7551
- "name": "date",
7552
- "optional": true,
7553
- "type": {
7554
- "text": "string"
7555
- }
7556
- }
7557
- ],
7558
- "inheritedFrom": {
7559
- "name": "FoundationInboxBase",
7560
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
7561
- }
7561
+ "description": "Fired when inline parameter entry is cancelled",
7562
+ "name": "subscribeCancelled"
7562
7563
  }
7563
7564
  ],
7564
- "superclass": {
7565
- "name": "FoundationInboxBase",
7566
- "module": "/src/components/foundation-inbox/inbox-base/inbox-base"
7567
- },
7568
- "tagName": "foundation-inbox-flyout",
7569
- "customElement": true,
7570
7565
  "attributes": [
7566
+ {
7567
+ "name": "template",
7568
+ "fieldName": "template"
7569
+ },
7571
7570
  {
7572
7571
  "type": {
7573
7572
  "text": "boolean"
7574
7573
  },
7575
7574
  "default": "false",
7576
- "description": "Hide the Severity filter block in the search bar. Set via the `hide-severity-filter`\nattribute or property. @public",
7577
- "fieldName": "hideSeverityFilter",
7578
- "inheritedFrom": {
7579
- "name": "FoundationInboxBase",
7580
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
7581
- }
7575
+ "fieldName": "inline"
7582
7576
  }
7583
- ]
7577
+ ],
7578
+ "superclass": {
7579
+ "name": "GenesisElement",
7580
+ "package": "@genesislcap/web-core"
7581
+ },
7582
+ "tagName": "inbox-subscription",
7583
+ "customElement": true
7584
7584
  }
7585
7585
  ],
7586
7586
  "exports": [
7587
7587
  {
7588
7588
  "kind": "js",
7589
- "name": "FoundationInboxFlyout",
7589
+ "name": "InboxSubscription",
7590
7590
  "declaration": {
7591
- "name": "FoundationInboxFlyout",
7592
- "module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.ts"
7591
+ "name": "InboxSubscription",
7592
+ "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
7593
7593
  }
7594
7594
  },
7595
7595
  {
7596
7596
  "kind": "custom-element-definition",
7597
- "name": "foundation-inbox-flyout",
7597
+ "name": "inbox-subscription",
7598
7598
  "declaration": {
7599
- "name": "FoundationInboxFlyout",
7600
- "module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.ts"
7599
+ "name": "InboxSubscription",
7600
+ "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
7601
7601
  }
7602
7602
  }
7603
7603
  ]
@@ -9708,275 +9708,125 @@
9708
9708
  "kind": "method",
9709
9709
  "name": "clearAttachedAlertSound",
9710
9710
  "inheritedFrom": {
9711
- "name": "AlertSoundAttachmentMixin",
9712
- "module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
9713
- }
9714
- },
9715
- {
9716
- "kind": "method",
9717
- "name": "testAttachedAlertSound",
9718
- "inheritedFrom": {
9719
- "name": "AlertSoundAttachmentMixin",
9720
- "module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
9721
- }
9722
- },
9723
- {
9724
- "kind": "method",
9725
- "name": "stopTestSound",
9726
- "inheritedFrom": {
9727
- "name": "AlertSoundAttachmentMixin",
9728
- "module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
9729
- }
9730
- },
9731
- {
9732
- "kind": "method",
9733
- "name": "resetAlertSoundState",
9734
- "inheritedFrom": {
9735
- "name": "AlertSoundAttachmentMixin",
9736
- "module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
9737
- }
9738
- },
9739
- {
9740
- "kind": "method",
9741
- "name": "applyAlertSoundToPayload",
9742
- "return": {
9743
- "type": {
9744
- "text": "T"
9745
- }
9746
- },
9747
- "parameters": [
9748
- {
9749
- "name": "target",
9750
- "type": {
9751
- "text": "T"
9752
- }
9753
- }
9754
- ],
9755
- "description": "Merges pending sound / clear flag onto a create/update DETAILS object.",
9756
- "inheritedFrom": {
9757
- "name": "AlertSoundAttachmentMixin",
9758
- "module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
9759
- }
9760
- },
9761
- {
9762
- "kind": "method",
9763
- "name": "syncAlertSoundCacheAfterSave",
9764
- "description": "Keep AlertSoundPlayer's in-memory NOTIFY_ALERT_SOUND cache in sync with\nwhat we just saved — otherwise the next alert still plays the old file.",
9765
- "inheritedFrom": {
9766
- "name": "AlertSoundAttachmentMixin",
9767
- "module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
9768
- }
9769
- }
9770
- ],
9771
- "events": [
9772
- {
9773
- "description": "Fired when the dialog should close",
9774
- "name": "close"
9775
- }
9776
- ],
9777
- "mixins": [
9778
- {
9779
- "name": "AlertSoundAttachmentMixin",
9780
- "module": "/src/components/foundation-notification-dashboard/alert-sound-attachment"
9781
- }
9782
- ],
9783
- "superclass": {
9784
- "name": "GenesisElement",
9785
- "package": "@genesislcap/web-core"
9786
- },
9787
- "tagName": "template-dialog",
9788
- "customElement": true
9789
- }
9790
- ],
9791
- "exports": [
9792
- {
9793
- "kind": "js",
9794
- "name": "TemplateDialog",
9795
- "declaration": {
9796
- "name": "TemplateDialog",
9797
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.ts"
9798
- }
9799
- },
9800
- {
9801
- "kind": "custom-element-definition",
9802
- "name": "template-dialog",
9803
- "declaration": {
9804
- "name": "TemplateDialog",
9805
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.ts"
9806
- }
9807
- }
9808
- ]
9809
- },
9810
- {
9811
- "kind": "javascript-module",
9812
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.types.ts",
9813
- "declarations": [
9814
- {
9815
- "kind": "variable",
9816
- "name": "TemplateDialogMode",
9817
- "type": {
9818
- "text": "{\n CREATE: 'create',\n EDIT: 'edit',\n}"
9819
- },
9820
- "default": "{\n CREATE: 'create',\n EDIT: 'edit',\n}"
9821
- }
9822
- ],
9823
- "exports": [
9824
- {
9825
- "kind": "js",
9826
- "name": "TemplateDialogMode",
9827
- "declaration": {
9828
- "name": "TemplateDialogMode",
9829
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.types.ts"
9830
- }
9831
- }
9832
- ]
9833
- },
9834
- {
9835
- "kind": "javascript-module",
9836
- "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
9837
- "declarations": [
9838
- {
9839
- "kind": "variable",
9840
- "name": "RuleConditionGroupTemplate",
9841
- "default": "html<RuleConditionGroup>`\n ${when(\n (x) => !x.isFirst,\n html`\n <div class=\"join-toggle-row\">\n <div class=\"join-toggle\">\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'AND'])}\"\n @click=${(x) => (x.joinOperator = 'AND')}\n >\n AND\n </span>\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'OR'])}\"\n @click=${(x) => (x.joinOperator = 'OR')}\n >\n OR\n </span>\n </div>\n </div>\n `,\n )}\n <div class=\"condition-group-row\">\n <div class=\"condition-group-box\">\n ${repeat(\n (x) => x.groupChildren,\n html<ConditionNode, RuleConditionGroup>`\n ${when(\n (x) => isGroup(x),\n html<ConditionNode>`\n <rule-condition-group\n :fields=${(x, c) => c.parent.fields}\n :node=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></rule-condition-group>\n `,\n )}\n ${when(\n (x) => !isGroup(x),\n html<ConditionNode>`\n <rule-condition-builder\n :fields=${(x, c) => c.parent.fields}\n :condition=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></rule-condition-builder>\n `,\n )}\n `,\n { positioning: true },\n )}\n\n <div class=\"content-row\">\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newCondition()}>\n + Condition\n </rapid-button>\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newGroup()}>+ Group</rapid-button>\n <rapid-button appearance=\"icon\" class=\"delete-group\" @click=${(x) => x.deleteSelf()}>\n <rapid-icon variant=\"regular\" name=\"trash-alt\" size=\"lg\" part=\"icon\"></rapid-icon>\n </rapid-button>\n </div>\n </div>\n </div>\n`"
9842
- }
9843
- ],
9844
- "exports": [
9845
- {
9846
- "kind": "js",
9847
- "name": "RuleConditionGroupTemplate",
9848
- "declaration": {
9849
- "name": "RuleConditionGroupTemplate",
9850
- "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
9851
- }
9852
- }
9853
- ]
9854
- },
9855
- {
9856
- "kind": "javascript-module",
9857
- "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
9858
- "declarations": [
9859
- {
9860
- "kind": "class",
9861
- "description": "Parenthesized group of conditions/nested groups for notification rule\ncriteria, joined to the previous sibling via AND/OR like a single\ncondition row - but bracketing its own children off from the rest of the\nlist, so e.g. \"(A && B) || C\" can be expressed without the AND silently\nspanning more than intended.",
9862
- "name": "RuleConditionGroup",
9863
- "members": [
9864
- {
9865
- "kind": "field",
9866
- "name": "node",
9867
- "type": {
9868
- "text": "ConditionGroupEntity"
9869
- }
9870
- },
9871
- {
9872
- "kind": "field",
9873
- "name": "fields",
9874
- "type": {
9875
- "text": "Field[]"
9876
- },
9877
- "default": "[]"
9878
- },
9879
- {
9880
- "kind": "field",
9881
- "name": "isFirst",
9882
- "type": {
9883
- "text": "boolean"
9884
- },
9885
- "default": "false"
9886
- },
9887
- {
9888
- "kind": "field",
9889
- "name": "joinOperator",
9890
- "type": {
9891
- "text": "string"
9892
- }
9893
- },
9894
- {
9895
- "kind": "field",
9896
- "name": "groupChildren",
9897
- "type": {
9898
- "text": "ConditionNode[]"
9899
- },
9900
- "default": "[]"
9901
- },
9902
- {
9903
- "kind": "method",
9904
- "name": "nodeChanged"
9711
+ "name": "AlertSoundAttachmentMixin",
9712
+ "module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
9713
+ }
9905
9714
  },
9906
9715
  {
9907
9716
  "kind": "method",
9908
- "name": "joinOperatorChanged"
9717
+ "name": "testAttachedAlertSound",
9718
+ "inheritedFrom": {
9719
+ "name": "AlertSoundAttachmentMixin",
9720
+ "module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
9721
+ }
9909
9722
  },
9910
9723
  {
9911
9724
  "kind": "method",
9912
- "name": "newCondition"
9725
+ "name": "stopTestSound",
9726
+ "inheritedFrom": {
9727
+ "name": "AlertSoundAttachmentMixin",
9728
+ "module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
9729
+ }
9913
9730
  },
9914
9731
  {
9915
9732
  "kind": "method",
9916
- "name": "newGroup"
9733
+ "name": "resetAlertSoundState",
9734
+ "inheritedFrom": {
9735
+ "name": "AlertSoundAttachmentMixin",
9736
+ "module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
9737
+ }
9917
9738
  },
9918
9739
  {
9919
9740
  "kind": "method",
9920
- "name": "editChild",
9921
- "parameters": [
9922
- {
9923
- "name": "_editedChild",
9924
- "type": {
9925
- "text": "ConditionNode"
9926
- }
9741
+ "name": "applyAlertSoundToPayload",
9742
+ "return": {
9743
+ "type": {
9744
+ "text": "T"
9927
9745
  }
9928
- ]
9929
- },
9930
- {
9931
- "kind": "method",
9932
- "name": "deleteChild",
9746
+ },
9933
9747
  "parameters": [
9934
9748
  {
9935
- "name": "deletedChild",
9749
+ "name": "target",
9936
9750
  "type": {
9937
- "text": "ConditionNode"
9751
+ "text": "T"
9938
9752
  }
9939
9753
  }
9940
- ]
9754
+ ],
9755
+ "description": "Merges pending sound / clear flag onto a create/update DETAILS object.",
9756
+ "inheritedFrom": {
9757
+ "name": "AlertSoundAttachmentMixin",
9758
+ "module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
9759
+ }
9941
9760
  },
9942
9761
  {
9943
9762
  "kind": "method",
9944
- "name": "deleteSelf"
9763
+ "name": "syncAlertSoundCacheAfterSave",
9764
+ "description": "Keep AlertSoundPlayer's in-memory NOTIFY_ALERT_SOUND cache in sync with\nwhat we just saved — otherwise the next alert still plays the old file.",
9765
+ "inheritedFrom": {
9766
+ "name": "AlertSoundAttachmentMixin",
9767
+ "module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
9768
+ }
9945
9769
  }
9946
9770
  ],
9947
9771
  "events": [
9948
9772
  {
9949
- "description": "Fired when this whole group should be removed",
9950
- "name": "delete"
9951
- },
9773
+ "description": "Fired when the dialog should close",
9774
+ "name": "close"
9775
+ }
9776
+ ],
9777
+ "mixins": [
9952
9778
  {
9953
- "description": "Fired when anything inside this group changes",
9954
- "name": "edit"
9779
+ "name": "AlertSoundAttachmentMixin",
9780
+ "module": "/src/components/foundation-notification-dashboard/alert-sound-attachment"
9955
9781
  }
9956
9782
  ],
9957
9783
  "superclass": {
9958
9784
  "name": "GenesisElement",
9959
9785
  "package": "@genesislcap/web-core"
9960
9786
  },
9961
- "tagName": "rule-condition-group",
9787
+ "tagName": "template-dialog",
9962
9788
  "customElement": true
9963
9789
  }
9964
9790
  ],
9965
9791
  "exports": [
9966
9792
  {
9967
9793
  "kind": "js",
9968
- "name": "RuleConditionGroup",
9794
+ "name": "TemplateDialog",
9969
9795
  "declaration": {
9970
- "name": "RuleConditionGroup",
9971
- "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
9796
+ "name": "TemplateDialog",
9797
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.ts"
9972
9798
  }
9973
9799
  },
9974
9800
  {
9975
9801
  "kind": "custom-element-definition",
9976
- "name": "rule-condition-group",
9802
+ "name": "template-dialog",
9977
9803
  "declaration": {
9978
- "name": "RuleConditionGroup",
9979
- "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
9804
+ "name": "TemplateDialog",
9805
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.ts"
9806
+ }
9807
+ }
9808
+ ]
9809
+ },
9810
+ {
9811
+ "kind": "javascript-module",
9812
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.types.ts",
9813
+ "declarations": [
9814
+ {
9815
+ "kind": "variable",
9816
+ "name": "TemplateDialogMode",
9817
+ "type": {
9818
+ "text": "{\n CREATE: 'create',\n EDIT: 'edit',\n}"
9819
+ },
9820
+ "default": "{\n CREATE: 'create',\n EDIT: 'edit',\n}"
9821
+ }
9822
+ ],
9823
+ "exports": [
9824
+ {
9825
+ "kind": "js",
9826
+ "name": "TemplateDialogMode",
9827
+ "declaration": {
9828
+ "name": "TemplateDialogMode",
9829
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.types.ts"
9980
9830
  }
9981
9831
  }
9982
9832
  ]
@@ -10265,6 +10115,156 @@
10265
10115
  "declarations": [],
10266
10116
  "exports": []
10267
10117
  },
10118
+ {
10119
+ "kind": "javascript-module",
10120
+ "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
10121
+ "declarations": [
10122
+ {
10123
+ "kind": "variable",
10124
+ "name": "RuleConditionGroupTemplate",
10125
+ "default": "html<RuleConditionGroup>`\n ${when(\n (x) => !x.isFirst,\n html`\n <div class=\"join-toggle-row\">\n <div class=\"join-toggle\">\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'AND'])}\"\n @click=${(x) => (x.joinOperator = 'AND')}\n >\n AND\n </span>\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'OR'])}\"\n @click=${(x) => (x.joinOperator = 'OR')}\n >\n OR\n </span>\n </div>\n </div>\n `,\n )}\n <div class=\"condition-group-row\">\n <div class=\"condition-group-box\">\n ${repeat(\n (x) => x.groupChildren,\n html<ConditionNode, RuleConditionGroup>`\n ${when(\n (x) => isGroup(x),\n html<ConditionNode>`\n <rule-condition-group\n :fields=${(x, c) => c.parent.fields}\n :node=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></rule-condition-group>\n `,\n )}\n ${when(\n (x) => !isGroup(x),\n html<ConditionNode>`\n <rule-condition-builder\n :fields=${(x, c) => c.parent.fields}\n :condition=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></rule-condition-builder>\n `,\n )}\n `,\n { positioning: true },\n )}\n\n <div class=\"content-row\">\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newCondition()}>\n + Condition\n </rapid-button>\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newGroup()}>+ Group</rapid-button>\n <rapid-button appearance=\"icon\" class=\"delete-group\" @click=${(x) => x.deleteSelf()}>\n <rapid-icon variant=\"regular\" name=\"trash-alt\" size=\"lg\" part=\"icon\"></rapid-icon>\n </rapid-button>\n </div>\n </div>\n </div>\n`"
10126
+ }
10127
+ ],
10128
+ "exports": [
10129
+ {
10130
+ "kind": "js",
10131
+ "name": "RuleConditionGroupTemplate",
10132
+ "declaration": {
10133
+ "name": "RuleConditionGroupTemplate",
10134
+ "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
10135
+ }
10136
+ }
10137
+ ]
10138
+ },
10139
+ {
10140
+ "kind": "javascript-module",
10141
+ "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
10142
+ "declarations": [
10143
+ {
10144
+ "kind": "class",
10145
+ "description": "Parenthesized group of conditions/nested groups for notification rule\ncriteria, joined to the previous sibling via AND/OR like a single\ncondition row - but bracketing its own children off from the rest of the\nlist, so e.g. \"(A && B) || C\" can be expressed without the AND silently\nspanning more than intended.",
10146
+ "name": "RuleConditionGroup",
10147
+ "members": [
10148
+ {
10149
+ "kind": "field",
10150
+ "name": "node",
10151
+ "type": {
10152
+ "text": "ConditionGroupEntity"
10153
+ }
10154
+ },
10155
+ {
10156
+ "kind": "field",
10157
+ "name": "fields",
10158
+ "type": {
10159
+ "text": "Field[]"
10160
+ },
10161
+ "default": "[]"
10162
+ },
10163
+ {
10164
+ "kind": "field",
10165
+ "name": "isFirst",
10166
+ "type": {
10167
+ "text": "boolean"
10168
+ },
10169
+ "default": "false"
10170
+ },
10171
+ {
10172
+ "kind": "field",
10173
+ "name": "joinOperator",
10174
+ "type": {
10175
+ "text": "string"
10176
+ }
10177
+ },
10178
+ {
10179
+ "kind": "field",
10180
+ "name": "groupChildren",
10181
+ "type": {
10182
+ "text": "ConditionNode[]"
10183
+ },
10184
+ "default": "[]"
10185
+ },
10186
+ {
10187
+ "kind": "method",
10188
+ "name": "nodeChanged"
10189
+ },
10190
+ {
10191
+ "kind": "method",
10192
+ "name": "joinOperatorChanged"
10193
+ },
10194
+ {
10195
+ "kind": "method",
10196
+ "name": "newCondition"
10197
+ },
10198
+ {
10199
+ "kind": "method",
10200
+ "name": "newGroup"
10201
+ },
10202
+ {
10203
+ "kind": "method",
10204
+ "name": "editChild",
10205
+ "parameters": [
10206
+ {
10207
+ "name": "_editedChild",
10208
+ "type": {
10209
+ "text": "ConditionNode"
10210
+ }
10211
+ }
10212
+ ]
10213
+ },
10214
+ {
10215
+ "kind": "method",
10216
+ "name": "deleteChild",
10217
+ "parameters": [
10218
+ {
10219
+ "name": "deletedChild",
10220
+ "type": {
10221
+ "text": "ConditionNode"
10222
+ }
10223
+ }
10224
+ ]
10225
+ },
10226
+ {
10227
+ "kind": "method",
10228
+ "name": "deleteSelf"
10229
+ }
10230
+ ],
10231
+ "events": [
10232
+ {
10233
+ "description": "Fired when this whole group should be removed",
10234
+ "name": "delete"
10235
+ },
10236
+ {
10237
+ "description": "Fired when anything inside this group changes",
10238
+ "name": "edit"
10239
+ }
10240
+ ],
10241
+ "superclass": {
10242
+ "name": "GenesisElement",
10243
+ "package": "@genesislcap/web-core"
10244
+ },
10245
+ "tagName": "rule-condition-group",
10246
+ "customElement": true
10247
+ }
10248
+ ],
10249
+ "exports": [
10250
+ {
10251
+ "kind": "js",
10252
+ "name": "RuleConditionGroup",
10253
+ "declaration": {
10254
+ "name": "RuleConditionGroup",
10255
+ "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
10256
+ }
10257
+ },
10258
+ {
10259
+ "kind": "custom-element-definition",
10260
+ "name": "rule-condition-group",
10261
+ "declaration": {
10262
+ "name": "RuleConditionGroup",
10263
+ "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
10264
+ }
10265
+ }
10266
+ ]
10267
+ },
10268
10268
  {
10269
10269
  "kind": "javascript-module",
10270
10270
  "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",