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

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",
@@ -6129,62 +6129,58 @@
6129
6129
  },
6130
6130
  {
6131
6131
  "kind": "javascript-module",
6132
- "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts",
6132
+ "path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts",
6133
6133
  "declarations": [
6134
6134
  {
6135
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`"
6136
+ "name": "FoundationInboxFlyoutStyles",
6137
+ "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`"
6138
6138
  }
6139
6139
  ],
6140
6140
  "exports": [
6141
6141
  {
6142
6142
  "kind": "js",
6143
- "name": "InboxSubscriptionStyles",
6143
+ "name": "FoundationInboxFlyoutStyles",
6144
6144
  "declaration": {
6145
- "name": "InboxSubscriptionStyles",
6146
- "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts"
6145
+ "name": "FoundationInboxFlyoutStyles",
6146
+ "module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts"
6147
6147
  }
6148
6148
  }
6149
6149
  ]
6150
6150
  },
6151
6151
  {
6152
6152
  "kind": "javascript-module",
6153
- "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts",
6153
+ "path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.template.ts",
6154
6154
  "declarations": [
6155
6155
  {
6156
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`"
6157
+ "name": "FoundationInboxFlyoutTemplate",
6158
+ "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`"
6159
6159
  }
6160
6160
  ],
6161
6161
  "exports": [
6162
6162
  {
6163
6163
  "kind": "js",
6164
- "name": "InboxSubscriptionTemplate",
6164
+ "name": "FoundationInboxFlyoutTemplate",
6165
6165
  "declaration": {
6166
- "name": "InboxSubscriptionTemplate",
6167
- "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts"
6166
+ "name": "FoundationInboxFlyoutTemplate",
6167
+ "module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.template.ts"
6168
6168
  }
6169
6169
  }
6170
6170
  ]
6171
6171
  },
6172
6172
  {
6173
6173
  "kind": "javascript-module",
6174
- "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts",
6174
+ "path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.ts",
6175
6175
  "declarations": [
6176
6176
  {
6177
6177
  "kind": "class",
6178
- "description": "Inbox subscription configuration UI.",
6179
- "name": "InboxSubscription",
6178
+ "description": "",
6179
+ "name": "FoundationInboxFlyout",
6180
6180
  "members": [
6181
6181
  {
6182
6182
  "kind": "field",
6183
- "name": "template"
6184
- },
6185
- {
6186
- "kind": "field",
6187
- "name": "inline",
6183
+ "name": "ready",
6188
6184
  "type": {
6189
6185
  "text": "boolean"
6190
6186
  },
@@ -6192,405 +6188,178 @@
6192
6188
  },
6193
6189
  {
6194
6190
  "kind": "field",
6195
- "name": "extraParameterDetails",
6191
+ "name": "flyout",
6196
6192
  "type": {
6197
- "text": "Record<string, string>"
6198
- },
6199
- "default": "{}",
6200
- "description": "Merged into subscribe payload (e.g. CHANNEL topic). Hidden from the form."
6193
+ "text": "Flyout"
6194
+ }
6201
6195
  },
6202
6196
  {
6203
6197
  "kind": "field",
6204
- "name": "parametersDetails",
6198
+ "name": "flyoutClosed",
6205
6199
  "type": {
6206
- "text": "object"
6200
+ "text": "boolean"
6207
6201
  },
6208
- "privacy": "private",
6209
- "default": "{}"
6202
+ "default": "true"
6203
+ },
6204
+ {
6205
+ "kind": "method",
6206
+ "name": "open",
6207
+ "privacy": "public"
6208
+ },
6209
+ {
6210
+ "kind": "method",
6211
+ "name": "close",
6212
+ "privacy": "public"
6213
+ },
6214
+ {
6215
+ "kind": "method",
6216
+ "name": "loadRemotes"
6210
6217
  },
6211
6218
  {
6212
6219
  "kind": "field",
6213
- "name": "isSubmitting",
6220
+ "name": "auth",
6214
6221
  "type": {
6215
- "text": "boolean"
6222
+ "text": "Auth"
6216
6223
  },
6217
- "privacy": "private",
6218
- "default": "false"
6224
+ "inheritedFrom": {
6225
+ "name": "FoundationInboxBase",
6226
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6227
+ }
6219
6228
  },
6220
6229
  {
6221
6230
  "kind": "field",
6222
- "name": "parametersOperators",
6231
+ "name": "connect",
6223
6232
  "type": {
6224
- "text": "object"
6233
+ "text": "Connect"
6225
6234
  },
6226
- "default": "{}"
6235
+ "inheritedFrom": {
6236
+ "name": "FoundationInboxBase",
6237
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6238
+ }
6227
6239
  },
6228
6240
  {
6229
6241
  "kind": "field",
6230
- "name": "subscribeDisabled",
6242
+ "name": "alertService",
6231
6243
  "type": {
6232
- "text": "boolean"
6244
+ "text": "AlertService"
6233
6245
  },
6234
- "default": "true"
6246
+ "inheritedFrom": {
6247
+ "name": "FoundationInboxBase",
6248
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6249
+ }
6235
6250
  },
6236
6251
  {
6237
6252
  "kind": "field",
6238
- "name": "ruleService",
6253
+ "name": "inboxService",
6239
6254
  "type": {
6240
- "text": "RuleService"
6255
+ "text": "FoundationInboxService"
6256
+ },
6257
+ "inheritedFrom": {
6258
+ "name": "FoundationInboxBase",
6259
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6241
6260
  }
6242
6261
  },
6243
6262
  {
6244
6263
  "kind": "field",
6245
- "name": "visibleParameters",
6264
+ "name": "connectionSub",
6246
6265
  "type": {
6247
- "text": "RuleParameterEntity[]"
6266
+ "text": "Subscription"
6248
6267
  },
6249
- "readonly": true
6268
+ "privacy": "private",
6269
+ "inheritedFrom": {
6270
+ "name": "FoundationInboxBase",
6271
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6272
+ }
6250
6273
  },
6251
6274
  {
6252
- "kind": "method",
6253
- "name": "templateChanged"
6275
+ "kind": "field",
6276
+ "name": "alerts",
6277
+ "type": {
6278
+ "text": "Alert[]"
6279
+ },
6280
+ "privacy": "private",
6281
+ "default": "[]",
6282
+ "inheritedFrom": {
6283
+ "name": "FoundationInboxBase",
6284
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6285
+ }
6254
6286
  },
6255
6287
  {
6256
- "kind": "method",
6257
- "name": "usesAutoSubmit",
6258
- "return": {
6259
- "type": {
6260
- "text": "boolean"
6261
- }
6288
+ "kind": "field",
6289
+ "name": "alertsFilter",
6290
+ "type": {
6291
+ "text": "Alert[]"
6292
+ },
6293
+ "default": "[]",
6294
+ "inheritedFrom": {
6295
+ "name": "FoundationInboxBase",
6296
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6262
6297
  }
6263
6298
  },
6264
6299
  {
6265
- "kind": "method",
6266
- "name": "requiresManualSubscribe",
6267
- "return": {
6268
- "type": {
6269
- "text": "boolean"
6270
- }
6300
+ "kind": "field",
6301
+ "name": "moreAlerts",
6302
+ "type": {
6303
+ "text": "boolean"
6304
+ },
6305
+ "default": "false",
6306
+ "inheritedFrom": {
6307
+ "name": "FoundationInboxBase",
6308
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6271
6309
  }
6272
6310
  },
6273
6311
  {
6274
- "kind": "method",
6275
- "name": "parameterEdit",
6276
- "parameters": [
6277
- {
6278
- "name": "value",
6279
- "type": {
6280
- "text": "any"
6281
- }
6282
- }
6283
- ]
6312
+ "kind": "field",
6313
+ "name": "renderAlert",
6314
+ "type": {
6315
+ "text": "ViewTemplate<Alert, FoundationInbox> | undefined"
6316
+ },
6317
+ "default": "undefined",
6318
+ "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.",
6319
+ "privacy": "public",
6320
+ "inheritedFrom": {
6321
+ "name": "FoundationInboxBase",
6322
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6323
+ }
6284
6324
  },
6285
6325
  {
6286
- "kind": "method",
6287
- "name": "autoSubscribe",
6288
- "privacy": "private"
6326
+ "kind": "field",
6327
+ "name": "hideSeverityFilter",
6328
+ "type": {
6329
+ "text": "boolean"
6330
+ },
6331
+ "default": "false",
6332
+ "description": "Hide the Severity filter block in the search bar. Set via the `hide-severity-filter`\nattribute or property. @public",
6333
+ "inheritedFrom": {
6334
+ "name": "FoundationInboxBase",
6335
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6336
+ }
6289
6337
  },
6290
6338
  {
6291
- "kind": "method",
6292
- "name": "verifySubscribe"
6339
+ "kind": "field",
6340
+ "name": "hideDateRange",
6341
+ "type": {
6342
+ "text": "boolean"
6343
+ },
6344
+ "default": "false",
6345
+ "description": "Hide the Date Range filter block in the search bar. Set via the `hide-date-range`\nattribute or property. @public",
6346
+ "inheritedFrom": {
6347
+ "name": "FoundationInboxBase",
6348
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6349
+ }
6293
6350
  },
6294
6351
  {
6295
6352
  "kind": "field",
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
- {
6327
- "type": {
6328
- "text": "boolean"
6329
- },
6330
- "default": "false",
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": [
6412
- {
6413
- "kind": "field",
6414
- "name": "ready",
6415
- "type": {
6416
- "text": "boolean"
6417
- },
6418
- "default": "false"
6419
- },
6420
- {
6421
- "kind": "field",
6422
- "name": "flyout",
6423
- "type": {
6424
- "text": "Flyout"
6425
- }
6426
- },
6427
- {
6428
- "kind": "field",
6429
- "name": "flyoutClosed",
6430
- "type": {
6431
- "text": "boolean"
6432
- },
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"
6448
- },
6449
- {
6450
- "kind": "field",
6451
- "name": "auth",
6452
- "type": {
6453
- "text": "Auth"
6454
- },
6455
- "inheritedFrom": {
6456
- "name": "FoundationInboxBase",
6457
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6458
- }
6459
- },
6460
- {
6461
- "kind": "field",
6462
- "name": "connect",
6463
- "type": {
6464
- "text": "Connect"
6465
- },
6466
- "inheritedFrom": {
6467
- "name": "FoundationInboxBase",
6468
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6469
- }
6470
- },
6471
- {
6472
- "kind": "field",
6473
- "name": "alertService",
6474
- "type": {
6475
- "text": "AlertService"
6476
- },
6477
- "inheritedFrom": {
6478
- "name": "FoundationInboxBase",
6479
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6480
- }
6481
- },
6482
- {
6483
- "kind": "field",
6484
- "name": "inboxService",
6485
- "type": {
6486
- "text": "FoundationInboxService"
6487
- },
6488
- "inheritedFrom": {
6489
- "name": "FoundationInboxBase",
6490
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6491
- }
6492
- },
6493
- {
6494
- "kind": "field",
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
- }
6353
+ "name": "hideTitleSearch",
6354
+ "type": {
6355
+ "text": "boolean"
6356
+ },
6357
+ "default": "false",
6358
+ "description": "Hide the Search-by-Title field in the search bar. Set via the `hide-title-search`\nattribute or property. @public",
6359
+ "inheritedFrom": {
6360
+ "name": "FoundationInboxBase",
6361
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6362
+ }
6594
6363
  },
6595
6364
  {
6596
6365
  "kind": "field",
@@ -7683,75 +7452,306 @@
7683
7452
  }
7684
7453
  },
7685
7454
  {
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
- }
7455
+ "name": "hide-date-range",
7456
+ "type": {
7457
+ "text": "boolean"
7458
+ },
7459
+ "default": "false",
7460
+ "description": "Hide the Date Range filter block in the search bar. Set via the `hide-date-range`\nattribute or property. @public",
7461
+ "fieldName": "hideDateRange",
7462
+ "inheritedFrom": {
7463
+ "name": "FoundationInboxBase",
7464
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
7465
+ }
7466
+ },
7467
+ {
7468
+ "name": "hide-title-search",
7469
+ "type": {
7470
+ "text": "boolean"
7471
+ },
7472
+ "default": "false",
7473
+ "description": "Hide the Search-by-Title field in the search bar. Set via the `hide-title-search`\nattribute or property. @public",
7474
+ "fieldName": "hideTitleSearch",
7475
+ "inheritedFrom": {
7476
+ "name": "FoundationInboxBase",
7477
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
7478
+ }
7479
+ },
7480
+ {
7481
+ "name": "hide-body-search",
7482
+ "type": {
7483
+ "text": "boolean"
7484
+ },
7485
+ "default": "false",
7486
+ "description": "Hide the Search-by-Body field in the search bar. Set via the `hide-body-search`\nattribute or property. @public",
7487
+ "fieldName": "hideBodySearch",
7488
+ "inheritedFrom": {
7489
+ "name": "FoundationInboxBase",
7490
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
7491
+ }
7492
+ },
7493
+ {
7494
+ "name": "hide-clear-all",
7495
+ "type": {
7496
+ "text": "boolean"
7497
+ },
7498
+ "default": "false",
7499
+ "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",
7500
+ "fieldName": "hideClearAll",
7501
+ "inheritedFrom": {
7502
+ "name": "FoundationInboxBase",
7503
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
7504
+ }
7505
+ }
7506
+ ]
7507
+ }
7508
+ ],
7509
+ "exports": [
7510
+ {
7511
+ "kind": "js",
7512
+ "name": "FoundationInboxFlyout",
7513
+ "declaration": {
7514
+ "name": "FoundationInboxFlyout",
7515
+ "module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.ts"
7516
+ }
7517
+ },
7518
+ {
7519
+ "kind": "custom-element-definition",
7520
+ "name": "foundation-inbox-flyout",
7521
+ "declaration": {
7522
+ "name": "FoundationInboxFlyout",
7523
+ "module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.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"
7697
7695
  },
7698
7696
  {
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
- }
7697
+ "kind": "method",
7698
+ "name": "subscribeTemplate"
7710
7699
  },
7711
7700
  {
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
- }
7701
+ "kind": "method",
7702
+ "name": "cancelSubscribe"
7703
+ },
7704
+ {
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"
7713
+ },
7714
+ {
7715
+ "description": "Fired when inline parameter entry is cancelled",
7716
+ "name": "subscribeCancelled"
7717
+ }
7718
+ ],
7719
+ "attributes": [
7720
+ {
7721
+ "name": "template",
7722
+ "fieldName": "template"
7723
7723
  },
7724
7724
  {
7725
- "name": "hide-clear-all",
7726
7725
  "type": {
7727
7726
  "text": "boolean"
7728
7727
  },
7729
7728
  "default": "false",
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
- }
7729
+ "fieldName": "inline"
7736
7730
  }
7737
- ]
7731
+ ],
7732
+ "superclass": {
7733
+ "name": "GenesisElement",
7734
+ "package": "@genesislcap/web-core"
7735
+ },
7736
+ "tagName": "inbox-subscription",
7737
+ "customElement": true
7738
7738
  }
7739
7739
  ],
7740
7740
  "exports": [
7741
7741
  {
7742
7742
  "kind": "js",
7743
- "name": "FoundationInboxFlyout",
7743
+ "name": "InboxSubscription",
7744
7744
  "declaration": {
7745
- "name": "FoundationInboxFlyout",
7746
- "module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.ts"
7745
+ "name": "InboxSubscription",
7746
+ "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
7747
7747
  }
7748
7748
  },
7749
7749
  {
7750
7750
  "kind": "custom-element-definition",
7751
- "name": "foundation-inbox-flyout",
7751
+ "name": "inbox-subscription",
7752
7752
  "declaration": {
7753
- "name": "FoundationInboxFlyout",
7754
- "module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.ts"
7753
+ "name": "InboxSubscription",
7754
+ "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
7755
7755
  }
7756
7756
  }
7757
7757
  ]
@@ -10509,284 +10509,126 @@
10509
10509
  "kind": "field",
10510
10510
  "name": "sourceSelected",
10511
10511
  "type": {
10512
- "text": "string"
10513
- }
10514
- },
10515
- {
10516
- "kind": "field",
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": "[]"
10512
+ "text": "string"
10513
+ }
10680
10514
  },
10681
10515
  {
10682
10516
  "kind": "field",
10683
- "name": "parameters",
10517
+ "name": "sourceTyped",
10684
10518
  "type": {
10685
- "text": "Array<ParameterBuilderEntity>"
10686
- },
10687
- "default": "[]"
10519
+ "text": "string"
10520
+ }
10688
10521
  },
10689
10522
  {
10690
10523
  "kind": "field",
10691
- "name": "isFirst",
10524
+ "name": "sourceTextField",
10692
10525
  "type": {
10693
- "text": "boolean"
10694
- },
10695
- "default": "false"
10526
+ "text": "TextField"
10527
+ }
10696
10528
  },
10697
10529
  {
10698
10530
  "kind": "field",
10699
- "name": "joinOperator",
10531
+ "name": "sourceSelect",
10700
10532
  "type": {
10701
- "text": "string"
10533
+ "text": "Select"
10702
10534
  }
10703
10535
  },
10704
10536
  {
10705
10537
  "kind": "field",
10706
- "name": "groupChildren",
10538
+ "name": "reqRepItems",
10707
10539
  "type": {
10708
- "text": "ConditionNode[]"
10540
+ "text": "array"
10709
10541
  },
10710
- "default": "[]"
10542
+ "default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
10711
10543
  },
10712
10544
  {
10713
10545
  "kind": "method",
10714
- "name": "nodeChanged"
10546
+ "name": "deleteParameter"
10715
10547
  },
10716
10548
  {
10717
10549
  "kind": "method",
10718
- "name": "joinOperatorChanged"
10550
+ "name": "parameterChanged"
10719
10551
  },
10720
10552
  {
10721
10553
  "kind": "method",
10722
- "name": "newCondition"
10554
+ "name": "nameChanged"
10723
10555
  },
10724
10556
  {
10725
10557
  "kind": "method",
10726
- "name": "newGroup"
10558
+ "name": "labelChanged"
10727
10559
  },
10728
10560
  {
10729
10561
  "kind": "method",
10730
- "name": "editChild",
10731
- "parameters": [
10732
- {
10733
- "name": "_editedChild",
10734
- "type": {
10735
- "text": "ConditionNode"
10736
- }
10737
- }
10738
- ]
10562
+ "name": "typeChanged"
10739
10563
  },
10740
10564
  {
10741
10565
  "kind": "method",
10742
- "name": "deleteChild",
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",
10743
10580
  "parameters": [
10744
10581
  {
10745
- "name": "deletedChild",
10746
- "type": {
10747
- "text": "ConditionNode"
10748
- }
10582
+ "name": "parameterAttribute"
10583
+ },
10584
+ {
10585
+ "name": "value"
10749
10586
  }
10750
10587
  ]
10751
- },
10752
- {
10753
- "kind": "method",
10754
- "name": "deleteSelf"
10755
10588
  }
10756
10589
  ],
10757
10590
  "events": [
10758
10591
  {
10759
- "description": "Fired when this whole group should be removed",
10592
+ "description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
10760
10593
  "name": "delete"
10761
10594
  },
10762
10595
  {
10763
- "description": "Fired when anything inside this group changes",
10596
+ "description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
10764
10597
  "name": "edit"
10765
10598
  }
10766
10599
  ],
10600
+ "attributes": [
10601
+ {
10602
+ "name": "parameter",
10603
+ "type": {
10604
+ "text": "ParameterBuilderEntity"
10605
+ },
10606
+ "fieldName": "parameter"
10607
+ }
10608
+ ],
10767
10609
  "superclass": {
10768
10610
  "name": "GenesisElement",
10769
10611
  "package": "@genesislcap/web-core"
10770
10612
  },
10771
- "tagName": "template-condition-group",
10613
+ "tagName": "parameter-builder",
10772
10614
  "customElement": true
10773
10615
  }
10774
10616
  ],
10775
10617
  "exports": [
10776
10618
  {
10777
10619
  "kind": "js",
10778
- "name": "TemplateConditionGroup",
10620
+ "name": "ParameterBuilder",
10779
10621
  "declaration": {
10780
- "name": "TemplateConditionGroup",
10781
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
10622
+ "name": "ParameterBuilder",
10623
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
10782
10624
  }
10783
10625
  },
10784
10626
  {
10785
10627
  "kind": "custom-element-definition",
10786
- "name": "template-condition-group",
10628
+ "name": "parameter-builder",
10787
10629
  "declaration": {
10788
- "name": "TemplateConditionGroup",
10789
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
10630
+ "name": "ParameterBuilder",
10631
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
10790
10632
  }
10791
10633
  }
10792
10634
  ]
@@ -11074,6 +10916,164 @@
11074
10916
  }
11075
10917
  }
11076
10918
  ]
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
  }