@genesislcap/pbc-notify-ui 15.79.0 → 15.79.2-alpha-e9d30db797.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.
@@ -5295,6 +5295,95 @@
5295
5295
  }
5296
5296
  ]
5297
5297
  },
5298
+ {
5299
+ "kind": "javascript-module",
5300
+ "path": "src/components/foundation-notification-dashboard/styles/condition-builder.styles.ts",
5301
+ "declarations": [
5302
+ {
5303
+ "kind": "variable",
5304
+ "name": "ConditionBuilderStyles",
5305
+ "default": "css`\n .condition-builder {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n align-items: center;\n margin-bottom: calc(var(--design-unit) * 2px);\n }\n\n rapid-button {\n margin: 0;\n }\n\n /* The AND/OR toggle sits on its own row ABOVE the condition it joins,\n rendered as a pair of small text links rather than buttons - reads like\n a sentence connector (\"... and ...\") instead of a UI control competing\n with the row's fields for attention. */\n .join-toggle-row {\n display: flex;\n margin-bottom: calc(var(--design-unit) * 1px);\n }\n\n .join-toggle {\n display: flex;\n gap: calc(var(--design-unit) * 1.5px);\n }\n\n .join-text {\n font-size: 11px;\n font-weight: 700;\n letter-spacing: 0.02em;\n color: var(--accent-fill-rest);\n cursor: pointer;\n text-decoration: underline dotted;\n text-underline-offset: 3px;\n opacity: 40%;\n }\n\n .join-text:hover {\n opacity: 70%;\n }\n\n .join-text.active {\n opacity: 100%;\n text-decoration: underline solid;\n }\n\n .join-text.active:hover {\n opacity: 100%;\n }\n\n .delete {\n margin: 0;\n display: flex;\n justify-content: center;\n height: calc(var(--design-unit) * 9px);\n }\n\n .delete:hover {\n background-color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 89%);\n }\n\n rapid-text-field {\n width: 100%;\n margin-bottom: 0;\n }\n\n rapid-text-field::part(root) {\n height: calc(var(--design-unit) * 9px);\n }\n\n rapid-select {\n min-width: auto;\n }\n\n rapid-select.left-value::part(control) {\n width: 250px;\n }\n\n rapid-select.logical-operator::part(control) {\n width: 160px;\n }\n\n .logical-operator-null-and-blank {\n width: 100%;\n }\n\n rapid-select.right-criteria::part(control) {\n width: 135px;\n }\n\n rapid-select.right-criteria-user-entry {\n width: 100%;\n }\n\n rapid-select.right-criteria-select {\n width: 100%;\n min-width: 0;\n }\n\n rapid-select::part(listbox) {\n max-height: 160px;\n }\n`"
5306
+ },
5307
+ {
5308
+ "kind": "variable",
5309
+ "name": "ConditionGroupStyles",
5310
+ "default": "css`\n .condition-group-row {\n margin-bottom: calc(var(--design-unit) * 2px);\n }\n\n /* The AND/OR toggle sits on its own row ABOVE the group it joins - see\n ConditionBuilderStyles' .join-toggle-row/.join-text for why it's a pair\n of text links rather than buttons. */\n .join-toggle-row {\n display: flex;\n margin-bottom: calc(var(--design-unit) * 1px);\n }\n\n .join-toggle {\n display: flex;\n gap: calc(var(--design-unit) * 1.5px);\n }\n\n .join-text {\n font-size: 11px;\n font-weight: 700;\n letter-spacing: 0.02em;\n color: var(--accent-fill-rest);\n cursor: pointer;\n text-decoration: underline dotted;\n text-underline-offset: 3px;\n opacity: 40%;\n }\n\n .join-text:hover {\n opacity: 70%;\n }\n\n .join-text.active {\n opacity: 100%;\n text-decoration: underline solid;\n }\n\n .join-text.active:hover {\n opacity: 100%;\n }\n\n /* A full bordered box reads as \"this is one parenthesized unit\" more\n literally than a left rail - it nests naturally too, a group inside a\n group just gets a second box drawn inside the first, like actual nested\n parens would look. */\n .condition-group-box {\n flex: 1;\n min-width: 0;\n border: calc(var(--design-unit) * 0.5px) solid\n color-mix(in srgb, var(--accent-fill-rest), transparent 25%);\n border-radius: calc(var(--design-unit) * 1px);\n padding: calc(var(--design-unit) * 2px);\n background-color: color-mix(in srgb, var(--accent-fill-rest), transparent 96%);\n }\n\n .condition-group-box > .content-row {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n align-items: center;\n margin-top: calc(var(--design-unit) * 1px);\n }\n\n .condition-group-box > .content-row rapid-button {\n font-size: 12px;\n }\n\n rule-condition-builder,\n rule-condition-group,\n template-condition-builder,\n template-condition-group {\n display: block;\n margin-bottom: calc(var(--design-unit) * 1px);\n }\n\n .delete-group {\n margin: 0;\n opacity: 60%;\n }\n\n .delete-group:hover {\n opacity: 100%;\n }\n`"
5311
+ }
5312
+ ],
5313
+ "exports": [
5314
+ {
5315
+ "kind": "js",
5316
+ "name": "ConditionBuilderStyles",
5317
+ "declaration": {
5318
+ "name": "ConditionBuilderStyles",
5319
+ "module": "src/components/foundation-notification-dashboard/styles/condition-builder.styles.ts"
5320
+ }
5321
+ },
5322
+ {
5323
+ "kind": "js",
5324
+ "name": "ConditionGroupStyles",
5325
+ "declaration": {
5326
+ "name": "ConditionGroupStyles",
5327
+ "module": "src/components/foundation-notification-dashboard/styles/condition-builder.styles.ts"
5328
+ }
5329
+ }
5330
+ ]
5331
+ },
5332
+ {
5333
+ "kind": "javascript-module",
5334
+ "path": "src/components/foundation-notification-dashboard/styles/dynamic-rule.styles.ts",
5335
+ "declarations": [
5336
+ {
5337
+ "kind": "variable",
5338
+ "name": "DynamicRuleManagementStyles",
5339
+ "default": "css`\n .container {\n display: flex;\n height: 100%;\n flex-direction: column;\n }\n\n .header {\n display: flex;\n flex-direction: row-reverse;\n }\n\n .grid {\n height: 100%;\n }\n`"
5340
+ },
5341
+ {
5342
+ "kind": "variable",
5343
+ "name": "DynamicRuleDialogStyles",
5344
+ "default": "css`\n ${scrollbarStyles}\n ${top}\n ${bottom}\n\n rapid-modal::part(dialog) {\n padding: 0;\n background: var(--neutral-layer-4);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n }\n\n .dialog-content {\n display: flex;\n flex-direction: column;\n width: ${String(modalWidthPx)}px;\n max-height: 600px;\n overflow-y: scroll;\n gap: calc(var(--design-unit) * 3px);\n padding: calc(var(--design-unit) * 4px);\n }\n\n .content-row {\n display: flex;\n gap: calc(var(--design-unit) * 3px);\n }\n\n .control {\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .topic-lock-hint {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: var(--type-ramp-minus-1-font-size);\n line-height: var(--type-ramp-minus-1-line-height);\n }\n\n .items {\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n display: flex;\n padding: calc(var(--design-unit) * 2px);\n flex-direction: column;\n }\n\n .item {\n gap: 0;\n flex-direction: column;\n margin-bottom: 0;\n }\n\n ${textField}\n ${select}\n\n rapid-button {\n margin: 0;\n }\n\n rapid-select {\n min-width: 0;\n }\n\n rapid-select::part(listbox) {\n max-height: 160px;\n }\n\n .horizontal {\n flex-direction: row;\n }\n\n .destination {\n align-self: center;\n }\n\n .topic {\n min-width: revert-layer;\n }\n\n .expression-preview {\n width: 100%;\n margin-top: calc(var(--design-unit) * 2px);\n }\n\n .expression-preview::part(control) {\n font-family: var(--body-font, monospace);\n font-size: 12px;\n color: var(--neutral-foreground-hint);\n min-height: calc(var(--design-unit) * 12px);\n resize: vertical;\n }\n\n .alert-sound {\n display: flex;\n flex-direction: column;\n gap: calc(var(--design-unit) * 2px);\n margin-top: calc(var(--design-unit) * 2px);\n }\n\n .alert-sound .file-input {\n display: none;\n }\n\n .alert-sound-row {\n display: flex;\n align-items: center;\n gap: calc(var(--design-unit) * 2px);\n flex-wrap: wrap;\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n padding: calc(var(--design-unit) * 2px);\n }\n\n .alert-sound-name {\n flex: 1;\n min-width: 120px;\n color: var(--neutral-foreground-hint);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n`"
5345
+ }
5346
+ ],
5347
+ "exports": [
5348
+ {
5349
+ "kind": "js",
5350
+ "name": "DynamicRuleManagementStyles",
5351
+ "declaration": {
5352
+ "name": "DynamicRuleManagementStyles",
5353
+ "module": "src/components/foundation-notification-dashboard/styles/dynamic-rule.styles.ts"
5354
+ }
5355
+ },
5356
+ {
5357
+ "kind": "js",
5358
+ "name": "DynamicRuleDialogStyles",
5359
+ "declaration": {
5360
+ "name": "DynamicRuleDialogStyles",
5361
+ "module": "src/components/foundation-notification-dashboard/styles/dynamic-rule.styles.ts"
5362
+ }
5363
+ }
5364
+ ]
5365
+ },
5366
+ {
5367
+ "kind": "javascript-module",
5368
+ "path": "src/components/foundation-notification-dashboard/styles/management.styles.ts",
5369
+ "declarations": [
5370
+ {
5371
+ "kind": "variable",
5372
+ "name": "managementGridStyles",
5373
+ "default": "css`\n :host {\n height: 100%;\n }\n\n .container {\n display: flex;\n height: 100%;\n flex-direction: column;\n }\n\n .header {\n display: flex;\n }\n\n .grid {\n height: 100%;\n }\n`"
5374
+ }
5375
+ ],
5376
+ "exports": [
5377
+ {
5378
+ "kind": "js",
5379
+ "name": "managementGridStyles",
5380
+ "declaration": {
5381
+ "name": "managementGridStyles",
5382
+ "module": "src/components/foundation-notification-dashboard/styles/management.styles.ts"
5383
+ }
5384
+ }
5385
+ ]
5386
+ },
5298
5387
  {
5299
5388
  "kind": "javascript-module",
5300
5389
  "path": "src/components/foundation-notification-dashboard/types/expression-type.ts",
@@ -5897,561 +5986,295 @@
5897
5986
  },
5898
5987
  {
5899
5988
  "kind": "javascript-module",
5900
- "path": "src/components/foundation-notification-dashboard/styles/condition-builder.styles.ts",
5901
- "declarations": [
5902
- {
5903
- "kind": "variable",
5904
- "name": "ConditionBuilderStyles",
5905
- "default": "css`\n .condition-builder {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n align-items: center;\n margin-bottom: calc(var(--design-unit) * 2px);\n }\n\n rapid-button {\n margin: 0;\n }\n\n /* The AND/OR toggle sits on its own row ABOVE the condition it joins,\n rendered as a pair of small text links rather than buttons - reads like\n a sentence connector (\"... and ...\") instead of a UI control competing\n with the row's fields for attention. */\n .join-toggle-row {\n display: flex;\n margin-bottom: calc(var(--design-unit) * 1px);\n }\n\n .join-toggle {\n display: flex;\n gap: calc(var(--design-unit) * 1.5px);\n }\n\n .join-text {\n font-size: 11px;\n font-weight: 700;\n letter-spacing: 0.02em;\n color: var(--accent-fill-rest);\n cursor: pointer;\n text-decoration: underline dotted;\n text-underline-offset: 3px;\n opacity: 40%;\n }\n\n .join-text:hover {\n opacity: 70%;\n }\n\n .join-text.active {\n opacity: 100%;\n text-decoration: underline solid;\n }\n\n .join-text.active:hover {\n opacity: 100%;\n }\n\n .delete {\n margin: 0;\n display: flex;\n justify-content: center;\n height: calc(var(--design-unit) * 9px);\n }\n\n .delete:hover {\n background-color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 89%);\n }\n\n rapid-text-field {\n width: 100%;\n margin-bottom: 0;\n }\n\n rapid-text-field::part(root) {\n height: calc(var(--design-unit) * 9px);\n }\n\n rapid-select {\n min-width: auto;\n }\n\n rapid-select.left-value::part(control) {\n width: 250px;\n }\n\n rapid-select.logical-operator::part(control) {\n width: 160px;\n }\n\n .logical-operator-null-and-blank {\n width: 100%;\n }\n\n rapid-select.right-criteria::part(control) {\n width: 135px;\n }\n\n rapid-select.right-criteria-user-entry {\n width: 100%;\n }\n\n rapid-select.right-criteria-select {\n width: 100%;\n min-width: 0;\n }\n\n rapid-select::part(listbox) {\n max-height: 160px;\n }\n`"
5906
- },
5907
- {
5908
- "kind": "variable",
5909
- "name": "ConditionGroupStyles",
5910
- "default": "css`\n .condition-group-row {\n margin-bottom: calc(var(--design-unit) * 2px);\n }\n\n /* The AND/OR toggle sits on its own row ABOVE the group it joins - see\n ConditionBuilderStyles' .join-toggle-row/.join-text for why it's a pair\n of text links rather than buttons. */\n .join-toggle-row {\n display: flex;\n margin-bottom: calc(var(--design-unit) * 1px);\n }\n\n .join-toggle {\n display: flex;\n gap: calc(var(--design-unit) * 1.5px);\n }\n\n .join-text {\n font-size: 11px;\n font-weight: 700;\n letter-spacing: 0.02em;\n color: var(--accent-fill-rest);\n cursor: pointer;\n text-decoration: underline dotted;\n text-underline-offset: 3px;\n opacity: 40%;\n }\n\n .join-text:hover {\n opacity: 70%;\n }\n\n .join-text.active {\n opacity: 100%;\n text-decoration: underline solid;\n }\n\n .join-text.active:hover {\n opacity: 100%;\n }\n\n /* A full bordered box reads as \"this is one parenthesized unit\" more\n literally than a left rail - it nests naturally too, a group inside a\n group just gets a second box drawn inside the first, like actual nested\n parens would look. */\n .condition-group-box {\n flex: 1;\n min-width: 0;\n border: calc(var(--design-unit) * 0.5px) solid\n color-mix(in srgb, var(--accent-fill-rest), transparent 25%);\n border-radius: calc(var(--design-unit) * 1px);\n padding: calc(var(--design-unit) * 2px);\n background-color: color-mix(in srgb, var(--accent-fill-rest), transparent 96%);\n }\n\n .condition-group-box > .content-row {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n align-items: center;\n margin-top: calc(var(--design-unit) * 1px);\n }\n\n .condition-group-box > .content-row rapid-button {\n font-size: 12px;\n }\n\n rule-condition-builder,\n rule-condition-group,\n template-condition-builder,\n template-condition-group {\n display: block;\n margin-bottom: calc(var(--design-unit) * 1px);\n }\n\n .delete-group {\n margin: 0;\n opacity: 60%;\n }\n\n .delete-group:hover {\n opacity: 100%;\n }\n`"
5911
- }
5912
- ],
5913
- "exports": [
5914
- {
5915
- "kind": "js",
5916
- "name": "ConditionBuilderStyles",
5917
- "declaration": {
5918
- "name": "ConditionBuilderStyles",
5919
- "module": "src/components/foundation-notification-dashboard/styles/condition-builder.styles.ts"
5920
- }
5921
- },
5922
- {
5923
- "kind": "js",
5924
- "name": "ConditionGroupStyles",
5925
- "declaration": {
5926
- "name": "ConditionGroupStyles",
5927
- "module": "src/components/foundation-notification-dashboard/styles/condition-builder.styles.ts"
5928
- }
5929
- }
5930
- ]
5931
- },
5932
- {
5933
- "kind": "javascript-module",
5934
- "path": "src/components/foundation-notification-dashboard/styles/dynamic-rule.styles.ts",
5935
- "declarations": [
5936
- {
5937
- "kind": "variable",
5938
- "name": "DynamicRuleManagementStyles",
5939
- "default": "css`\n .container {\n display: flex;\n height: 100%;\n flex-direction: column;\n }\n\n .header {\n display: flex;\n flex-direction: row-reverse;\n }\n\n .grid {\n height: 100%;\n }\n`"
5940
- },
5941
- {
5942
- "kind": "variable",
5943
- "name": "DynamicRuleDialogStyles",
5944
- "default": "css`\n ${scrollbarStyles}\n ${top}\n ${bottom}\n\n rapid-modal::part(dialog) {\n padding: 0;\n background: var(--neutral-layer-4);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n }\n\n .dialog-content {\n display: flex;\n flex-direction: column;\n width: ${String(modalWidthPx)}px;\n max-height: 600px;\n overflow-y: scroll;\n gap: calc(var(--design-unit) * 3px);\n padding: calc(var(--design-unit) * 4px);\n }\n\n .content-row {\n display: flex;\n gap: calc(var(--design-unit) * 3px);\n }\n\n .control {\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .topic-lock-hint {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: var(--type-ramp-minus-1-font-size);\n line-height: var(--type-ramp-minus-1-line-height);\n }\n\n .items {\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n display: flex;\n padding: calc(var(--design-unit) * 2px);\n flex-direction: column;\n }\n\n .item {\n gap: 0;\n flex-direction: column;\n margin-bottom: 0;\n }\n\n ${textField}\n ${select}\n\n rapid-button {\n margin: 0;\n }\n\n rapid-select {\n min-width: 0;\n }\n\n rapid-select::part(listbox) {\n max-height: 160px;\n }\n\n .horizontal {\n flex-direction: row;\n }\n\n .destination {\n align-self: center;\n }\n\n .topic {\n min-width: revert-layer;\n }\n\n .expression-preview {\n width: 100%;\n margin-top: calc(var(--design-unit) * 2px);\n }\n\n .expression-preview::part(control) {\n font-family: var(--body-font, monospace);\n font-size: 12px;\n color: var(--neutral-foreground-hint);\n min-height: calc(var(--design-unit) * 12px);\n resize: vertical;\n }\n\n .alert-sound {\n display: flex;\n flex-direction: column;\n gap: calc(var(--design-unit) * 2px);\n margin-top: calc(var(--design-unit) * 2px);\n }\n\n .alert-sound .file-input {\n display: none;\n }\n\n .alert-sound-row {\n display: flex;\n align-items: center;\n gap: calc(var(--design-unit) * 2px);\n flex-wrap: wrap;\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n padding: calc(var(--design-unit) * 2px);\n }\n\n .alert-sound-name {\n flex: 1;\n min-width: 120px;\n color: var(--neutral-foreground-hint);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n`"
5945
- }
5946
- ],
5947
- "exports": [
5948
- {
5949
- "kind": "js",
5950
- "name": "DynamicRuleManagementStyles",
5951
- "declaration": {
5952
- "name": "DynamicRuleManagementStyles",
5953
- "module": "src/components/foundation-notification-dashboard/styles/dynamic-rule.styles.ts"
5954
- }
5955
- },
5956
- {
5957
- "kind": "js",
5958
- "name": "DynamicRuleDialogStyles",
5959
- "declaration": {
5960
- "name": "DynamicRuleDialogStyles",
5961
- "module": "src/components/foundation-notification-dashboard/styles/dynamic-rule.styles.ts"
5962
- }
5963
- }
5964
- ]
5965
- },
5966
- {
5967
- "kind": "javascript-module",
5968
- "path": "src/components/foundation-notification-dashboard/styles/management.styles.ts",
5969
- "declarations": [
5970
- {
5971
- "kind": "variable",
5972
- "name": "managementGridStyles",
5973
- "default": "css`\n :host {\n height: 100%;\n }\n\n .container {\n display: flex;\n height: 100%;\n flex-direction: column;\n }\n\n .header {\n display: flex;\n }\n\n .grid {\n height: 100%;\n }\n`"
5974
- }
5975
- ],
5976
- "exports": [
5977
- {
5978
- "kind": "js",
5979
- "name": "managementGridStyles",
5980
- "declaration": {
5981
- "name": "managementGridStyles",
5982
- "module": "src/components/foundation-notification-dashboard/styles/management.styles.ts"
5983
- }
5984
- }
5985
- ]
5986
- },
5987
- {
5988
- "kind": "javascript-module",
5989
- "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts",
5989
+ "path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts",
5990
5990
  "declarations": [
5991
5991
  {
5992
5992
  "kind": "variable",
5993
- "name": "noItemsClass",
5994
- "type": {
5995
- "text": "string"
5996
- },
5997
- "default": "'no-items'",
5998
- "description": "Class to use when there are no items"
5999
- },
6000
- {
6001
- "kind": "variable",
6002
- "name": "FoundationInboxCounterStyles",
6003
- "default": "css`\n :host {\n display: inline-block;\n min-width: 16px;\n height: 16px;\n border-radius: 9px;\n text-align: center;\n color: #fff;\n line-height: 16px;\n font-size: 9px;\n font-weight: 700;\n background: ${BACKGROUND_COLOR};\n pointer-events: none;\n }\n\n .hidden {\n visibility: hidden;\n }\n\n :host(.${noItemsClass}) {\n display: none;\n }\n`"
5993
+ "name": "FoundationInboxFlyoutStyles",
5994
+ "default": "css`\n rapid-flyout::part(flyout) {\n width: 30%;\n min-width: 320px;\n padding: 0;\n }\n\n rapid-flyout::part(content) {\n height: 100%;\n display: flex;\n flex-direction: column;\n }\n\n ${FoundationInboxStyles}\n`"
6004
5995
  }
6005
5996
  ],
6006
5997
  "exports": [
6007
5998
  {
6008
5999
  "kind": "js",
6009
- "name": "noItemsClass",
6010
- "declaration": {
6011
- "name": "noItemsClass",
6012
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
6013
- }
6014
- },
6015
- {
6016
- "kind": "js",
6017
- "name": "FoundationInboxCounterStyles",
6000
+ "name": "FoundationInboxFlyoutStyles",
6018
6001
  "declaration": {
6019
- "name": "FoundationInboxCounterStyles",
6020
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
6002
+ "name": "FoundationInboxFlyoutStyles",
6003
+ "module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts"
6021
6004
  }
6022
6005
  }
6023
6006
  ]
6024
6007
  },
6025
6008
  {
6026
6009
  "kind": "javascript-module",
6027
- "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts",
6010
+ "path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.template.ts",
6028
6011
  "declarations": [
6029
6012
  {
6030
6013
  "kind": "variable",
6031
- "name": "FoundationInboxCounterTemplate",
6032
- "default": "html<FoundationInboxCounter>`\n <template class=\"${(x) => classNames([noItemsClass, x.value < 1])}\">\n ${when(\n (x) => x.value > 0,\n html`\n ${(x) => (x.value > MAX_NUMBER_TO_DISPLAY ? `${MAX_NUMBER_TO_DISPLAY}+` : x.value)}\n `,\n )}\n </template>\n`"
6014
+ "name": "FoundationInboxFlyoutTemplate",
6015
+ "default": "html<FoundationInboxFlyout>`\n <rapid-flyout\n ${ref('flyout')}\n position=\"right\"\n @closed=${(x) => (x.flyoutClosed = true)}\n :closed=${(x) => x.flyoutClosed}\n displayHeader=${false}\n >\n <div class=\"inbox-header\">\n <div class=\"inbox-header-title\">Alerts Center</div>\n <rapid-button class=\"inbox-header-close\" @click=${(x) => x.close()}>\n <rapid-icon part=\"icon\" name=\"xmark\" size=\"xl\"></rapid-icon>\n </rapid-button>\n </div>\n\n ${FoundationInboxTemplate}\n </rapid-flyout>\n`"
6033
6016
  }
6034
6017
  ],
6035
6018
  "exports": [
6036
6019
  {
6037
6020
  "kind": "js",
6038
- "name": "FoundationInboxCounterTemplate",
6021
+ "name": "FoundationInboxFlyoutTemplate",
6039
6022
  "declaration": {
6040
- "name": "FoundationInboxCounterTemplate",
6041
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts"
6023
+ "name": "FoundationInboxFlyoutTemplate",
6024
+ "module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.template.ts"
6042
6025
  }
6043
6026
  }
6044
6027
  ]
6045
6028
  },
6046
6029
  {
6047
6030
  "kind": "javascript-module",
6048
- "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts",
6031
+ "path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.ts",
6049
6032
  "declarations": [
6050
6033
  {
6051
6034
  "kind": "class",
6052
6035
  "description": "",
6053
- "name": "FoundationInboxCounter",
6036
+ "name": "FoundationInboxFlyout",
6054
6037
  "members": [
6055
6038
  {
6056
6039
  "kind": "field",
6057
- "name": "value",
6040
+ "name": "ready",
6058
6041
  "type": {
6059
- "text": "number"
6042
+ "text": "boolean"
6060
6043
  },
6061
- "default": "0"
6062
- },
6063
- {
6064
- "kind": "field",
6065
- "name": "connect",
6066
- "type": {
6067
- "text": "Connect"
6068
- }
6044
+ "default": "false"
6069
6045
  },
6070
6046
  {
6071
6047
  "kind": "field",
6072
- "name": "inboxService",
6048
+ "name": "flyout",
6073
6049
  "type": {
6074
- "text": "FoundationInboxService"
6050
+ "text": "Flyout"
6075
6051
  }
6076
6052
  },
6077
6053
  {
6078
6054
  "kind": "field",
6079
- "name": "connectionSub",
6055
+ "name": "flyoutClosed",
6080
6056
  "type": {
6081
- "text": "Subscription"
6057
+ "text": "boolean"
6082
6058
  },
6083
- "privacy": "private"
6059
+ "default": "true"
6084
6060
  },
6085
6061
  {
6086
6062
  "kind": "method",
6087
- "name": "subscribeToAlerts",
6088
- "privacy": "private",
6089
- "return": {
6090
- "type": {
6091
- "text": "Promise<void>"
6092
- }
6093
- },
6094
- "description": "Subscribes to alerts from the inbox service"
6063
+ "name": "open",
6064
+ "privacy": "public"
6065
+ },
6066
+ {
6067
+ "kind": "method",
6068
+ "name": "close",
6069
+ "privacy": "public"
6070
+ },
6071
+ {
6072
+ "kind": "method",
6073
+ "name": "loadRemotes"
6095
6074
  },
6096
6075
  {
6097
6076
  "kind": "field",
6098
- "name": "subscriptionHandler",
6099
- "privacy": "private",
6100
- "description": "Handles subscription updates from the inbox service"
6101
- }
6102
- ],
6103
- "superclass": {
6104
- "name": "GenesisElement",
6105
- "package": "@genesislcap/web-core"
6106
- },
6107
- "tagName": "foundation-inbox-counter",
6108
- "customElement": true
6109
- }
6110
- ],
6111
- "exports": [
6112
- {
6113
- "kind": "js",
6114
- "name": "FoundationInboxCounter",
6115
- "declaration": {
6116
- "name": "FoundationInboxCounter",
6117
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
6118
- }
6119
- },
6120
- {
6121
- "kind": "custom-element-definition",
6122
- "name": "foundation-inbox-counter",
6123
- "declaration": {
6124
- "name": "FoundationInboxCounter",
6125
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
6126
- }
6127
- }
6128
- ]
6129
- },
6130
- {
6131
- "kind": "javascript-module",
6132
- "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts",
6133
- "declarations": [
6134
- {
6135
- "kind": "variable",
6136
- "name": "InboxSubscriptionStyles",
6137
- "default": "css`\n .inbox-subscription {\n display: flex;\n flex-direction: column;\n }\n\n .inbox-subscription.inline {\n margin-top: calc(var(--design-unit) * 2px);\n padding-top: calc(var(--design-unit) * 2px);\n border-top: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n }\n\n .inbox-subscription-header {\n border-top: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n border-bottom: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n padding: calc(var(--design-unit) * 2px);\n }\n\n .inbox-subscription-empty {\n padding: 0 calc(var(--design-unit) * 2px);\n margin: calc(var(--design-unit) * 2px) 0 0;\n }\n\n .inbox-subscription-content {\n display: flex;\n flex-direction: column;\n gap: calc(var(--design-unit) * 3px);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n margin: calc(var(--design-unit) * 2px);\n padding: calc(var(--design-unit) * 2px);\n border-radius: calc(var(--control-corner-radius) * 1px);\n }\n\n .inbox-subscription:not(.inline) .inbox-subscription-content {\n overflow: auto;\n max-height: calc(var(--design-unit) * 80px);\n }\n\n .inbox-subscription.inline .inbox-subscription-content {\n margin: calc(var(--design-unit) * 2px) 0 0;\n overflow: visible;\n max-height: none;\n padding-bottom: calc(var(--design-unit) * 4px);\n }\n\n .inbox-subscription.inline .control:focus-within {\n position: relative;\n z-index: 2;\n }\n\n .inbox-subscription-footer {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n padding: calc(var(--design-unit) * 2px) 0 0;\n border-top: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n margin-top: calc(var(--design-unit) * 2px);\n }\n\n .inbox-subscription:not(.inline) .inbox-subscription-footer {\n padding: calc(var(--design-unit) * 2px);\n margin-top: 0;\n }\n\n .inbox-subscription-footer.auto-submit {\n justify-content: flex-end;\n border-top: none;\n margin-top: 0;\n padding-top: 0;\n }\n\n rapid-button.subscribe,\n rapid-button.cancel {\n display: flex;\n margin: 0;\n flex: 1;\n }\n`"
6138
- }
6139
- ],
6140
- "exports": [
6141
- {
6142
- "kind": "js",
6143
- "name": "InboxSubscriptionStyles",
6144
- "declaration": {
6145
- "name": "InboxSubscriptionStyles",
6146
- "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts"
6147
- }
6148
- }
6149
- ]
6150
- },
6151
- {
6152
- "kind": "javascript-module",
6153
- "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts",
6154
- "declarations": [
6155
- {
6156
- "kind": "variable",
6157
- "name": "InboxSubscriptionTemplate",
6158
- "default": "html<InboxSubscription>`\n <div class=\"inbox-subscription ${(x) => (x.inline ? 'inline' : '')}\">\n ${when(\n (x) => !x.inline,\n html`\n <div class=\"inbox-subscription-header\">\n Subscribe to\n <span style=\"font-weight: bold;\">${(x) => x.template.RULE_NAME}</span>\n </div>\n `,\n )}\n ${when(\n (x) => x.visibleParameters.length === 0,\n html`\n <p class=\"inbox-subscription-empty\">The selected template doesn't have parameters.</p>\n `,\n )}\n ${when(\n (x) => x.visibleParameters.length > 0,\n html`\n <div class=\"inbox-subscription-content\">\n ${repeat(\n (x) => x.visibleParameters,\n html<RuleParameterEntity>`\n <rule-parameter\n :parameter=${(x) => x}\n :isFirstElement=${(x, c) => c.parent.isFirstElement(x)}\n :operator=${(x, c) => c.parent.parametersOperators[x.PARAM_NAME]}\n :requireSelection=${(x, c) => c.parent.usesAutoSubmit()}\n @parameterEdited=${(x, c) => c.parent.parameterEdit(eventDetail(c))}\n ></rule-parameter>\n `,\n )}\n </div>\n `,\n )}\n ${when(\n (x) => !x.inline || x.requiresManualSubscribe(),\n html`\n <div class=\"inbox-subscription-footer\">\n ${when(\n (x) => x.inline,\n html`\n <rapid-button\n class=\"cancel\"\n appearance=\"neutral\"\n @click=${(x) => x.cancelSubscribe()}\n >\n Cancel\n </rapid-button>\n `,\n )}\n <rapid-button\n class=\"subscribe\"\n appearance=\"primary\"\n @click=${(x) => x.subscribeTemplate()}\n ?disabled=${(x) => x.subscribeDisabled}\n >\n Subscribe\n </rapid-button>\n </div>\n `,\n )}\n ${when(\n (x) => x.inline && x.usesAutoSubmit(),\n html`\n <div class=\"inbox-subscription-footer auto-submit\">\n <rapid-button class=\"cancel\" appearance=\"neutral\" @click=${(x) => x.cancelSubscribe()}>\n Cancel\n </rapid-button>\n </div>\n `,\n )}\n </div>\n`"
6159
- }
6160
- ],
6161
- "exports": [
6162
- {
6163
- "kind": "js",
6164
- "name": "InboxSubscriptionTemplate",
6165
- "declaration": {
6166
- "name": "InboxSubscriptionTemplate",
6167
- "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts"
6168
- }
6169
- }
6170
- ]
6171
- },
6172
- {
6173
- "kind": "javascript-module",
6174
- "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts",
6175
- "declarations": [
6176
- {
6177
- "kind": "class",
6178
- "description": "Inbox subscription configuration UI.",
6179
- "name": "InboxSubscription",
6180
- "members": [
6077
+ "name": "auth",
6078
+ "type": {
6079
+ "text": "Auth"
6080
+ },
6081
+ "inheritedFrom": {
6082
+ "name": "FoundationInboxBase",
6083
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6084
+ }
6085
+ },
6181
6086
  {
6182
6087
  "kind": "field",
6183
- "name": "template"
6088
+ "name": "connect",
6089
+ "type": {
6090
+ "text": "Connect"
6091
+ },
6092
+ "inheritedFrom": {
6093
+ "name": "FoundationInboxBase",
6094
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6095
+ }
6184
6096
  },
6185
6097
  {
6186
6098
  "kind": "field",
6187
- "name": "inline",
6099
+ "name": "alertService",
6188
6100
  "type": {
6189
- "text": "boolean"
6101
+ "text": "AlertService"
6190
6102
  },
6191
- "default": "false"
6103
+ "inheritedFrom": {
6104
+ "name": "FoundationInboxBase",
6105
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6106
+ }
6192
6107
  },
6193
6108
  {
6194
6109
  "kind": "field",
6195
- "name": "extraParameterDetails",
6110
+ "name": "inboxService",
6196
6111
  "type": {
6197
- "text": "Record<string, string>"
6112
+ "text": "FoundationInboxService"
6198
6113
  },
6199
- "default": "{}",
6200
- "description": "Merged into subscribe payload (e.g. CHANNEL topic). Hidden from the form."
6114
+ "inheritedFrom": {
6115
+ "name": "FoundationInboxBase",
6116
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6117
+ }
6201
6118
  },
6202
6119
  {
6203
6120
  "kind": "field",
6204
- "name": "parametersDetails",
6121
+ "name": "connectionSub",
6205
6122
  "type": {
6206
- "text": "object"
6123
+ "text": "Subscription"
6207
6124
  },
6208
6125
  "privacy": "private",
6209
- "default": "{}"
6126
+ "inheritedFrom": {
6127
+ "name": "FoundationInboxBase",
6128
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6129
+ }
6210
6130
  },
6211
6131
  {
6212
6132
  "kind": "field",
6213
- "name": "isSubmitting",
6133
+ "name": "alerts",
6214
6134
  "type": {
6215
- "text": "boolean"
6135
+ "text": "Alert[]"
6216
6136
  },
6217
6137
  "privacy": "private",
6218
- "default": "false"
6138
+ "default": "[]",
6139
+ "inheritedFrom": {
6140
+ "name": "FoundationInboxBase",
6141
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6142
+ }
6219
6143
  },
6220
6144
  {
6221
6145
  "kind": "field",
6222
- "name": "parametersOperators",
6146
+ "name": "alertsFilter",
6223
6147
  "type": {
6224
- "text": "object"
6148
+ "text": "Alert[]"
6225
6149
  },
6226
- "default": "{}"
6150
+ "default": "[]",
6151
+ "inheritedFrom": {
6152
+ "name": "FoundationInboxBase",
6153
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6154
+ }
6227
6155
  },
6228
6156
  {
6229
6157
  "kind": "field",
6230
- "name": "subscribeDisabled",
6158
+ "name": "moreAlerts",
6231
6159
  "type": {
6232
6160
  "text": "boolean"
6233
6161
  },
6234
- "default": "true"
6162
+ "default": "false",
6163
+ "inheritedFrom": {
6164
+ "name": "FoundationInboxBase",
6165
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6166
+ }
6235
6167
  },
6236
6168
  {
6237
6169
  "kind": "field",
6238
- "name": "ruleService",
6170
+ "name": "renderAlert",
6239
6171
  "type": {
6240
- "text": "RuleService"
6172
+ "text": "ViewTemplate<Alert, FoundationInbox> | undefined"
6173
+ },
6174
+ "default": "undefined",
6175
+ "description": "Optional per-row template for the Alerts / Alert History lists. When set, it replaces the\ndefault alert row (the `.toast` element) and is rendered with the alert as its source (`x`)\nand the inbox host as `c.parent`, mirroring the internal `html<Alert, FoundationInbox>` row.\nWhen unset, the built-in row is used, so existing consumers are unaffected.",
6176
+ "privacy": "public",
6177
+ "inheritedFrom": {
6178
+ "name": "FoundationInboxBase",
6179
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6241
6180
  }
6242
6181
  },
6243
6182
  {
6244
6183
  "kind": "field",
6245
- "name": "visibleParameters",
6184
+ "name": "hideSeverityFilter",
6246
6185
  "type": {
6247
- "text": "RuleParameterEntity[]"
6186
+ "text": "boolean"
6248
6187
  },
6249
- "readonly": true
6188
+ "default": "false",
6189
+ "description": "Hide the Severity filter block in the search bar. Set via the `hide-severity-filter`\nattribute or property. @public",
6190
+ "inheritedFrom": {
6191
+ "name": "FoundationInboxBase",
6192
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6193
+ }
6250
6194
  },
6251
6195
  {
6252
- "kind": "method",
6253
- "name": "templateChanged"
6196
+ "kind": "field",
6197
+ "name": "hideDateRange",
6198
+ "type": {
6199
+ "text": "boolean"
6200
+ },
6201
+ "default": "false",
6202
+ "description": "Hide the Date Range filter block in the search bar. Set via the `hide-date-range`\nattribute or property. @public",
6203
+ "inheritedFrom": {
6204
+ "name": "FoundationInboxBase",
6205
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6206
+ }
6254
6207
  },
6255
6208
  {
6256
- "kind": "method",
6257
- "name": "usesAutoSubmit",
6258
- "return": {
6259
- "type": {
6260
- "text": "boolean"
6261
- }
6209
+ "kind": "field",
6210
+ "name": "hideTitleSearch",
6211
+ "type": {
6212
+ "text": "boolean"
6213
+ },
6214
+ "default": "false",
6215
+ "description": "Hide the Search-by-Title field in the search bar. Set via the `hide-title-search`\nattribute or property. @public",
6216
+ "inheritedFrom": {
6217
+ "name": "FoundationInboxBase",
6218
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6262
6219
  }
6263
6220
  },
6264
6221
  {
6265
- "kind": "method",
6266
- "name": "requiresManualSubscribe",
6267
- "return": {
6268
- "type": {
6269
- "text": "boolean"
6270
- }
6222
+ "kind": "field",
6223
+ "name": "hideBodySearch",
6224
+ "type": {
6225
+ "text": "boolean"
6226
+ },
6227
+ "default": "false",
6228
+ "description": "Hide the Search-by-Body field in the search bar. Set via the `hide-body-search`\nattribute or property. @public",
6229
+ "inheritedFrom": {
6230
+ "name": "FoundationInboxBase",
6231
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6271
6232
  }
6272
6233
  },
6273
6234
  {
6274
- "kind": "method",
6275
- "name": "parameterEdit",
6276
- "parameters": [
6277
- {
6278
- "name": "value",
6279
- "type": {
6280
- "text": "any"
6281
- }
6282
- }
6283
- ]
6235
+ "kind": "field",
6236
+ "name": "hideClearAll",
6237
+ "type": {
6238
+ "text": "boolean"
6239
+ },
6240
+ "default": "false",
6241
+ "description": "Hide the Clear All Alerts button on the Alerts tab. Set via the `hide-clear-all`\nattribute or property. Per-item dismiss is unchanged. @public",
6242
+ "inheritedFrom": {
6243
+ "name": "FoundationInboxBase",
6244
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6245
+ }
6284
6246
  },
6285
- {
6286
- "kind": "method",
6287
- "name": "autoSubscribe",
6288
- "privacy": "private"
6289
- },
6290
- {
6291
- "kind": "method",
6292
- "name": "verifySubscribe"
6293
- },
6294
- {
6295
- "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
6247
  {
6413
6248
  "kind": "field",
6414
- "name": "ready",
6249
+ "name": "onAlertClick",
6415
6250
  "type": {
6416
- "text": "boolean"
6251
+ "text": "((alert: Alert) => void) | undefined"
6417
6252
  },
6418
- "default": "false"
6419
- },
6420
- {
6421
- "kind": "field",
6422
- "name": "flyout",
6423
- "type": {
6424
- "text": "Flyout"
6253
+ "default": "undefined",
6254
+ "description": "Optional click handler for an alert row, fired with the clicked alert so consumers can open\nthe related record. Interactive elements inside a custom renderAlert template should\ncall `event.stopPropagation()` to avoid triggering this. @public",
6255
+ "inheritedFrom": {
6256
+ "name": "FoundationInboxBase",
6257
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6425
6258
  }
6426
6259
  },
6427
6260
  {
6428
6261
  "kind": "field",
6429
- "name": "flyoutClosed",
6262
+ "name": "ruleService",
6430
6263
  "type": {
6431
- "text": "boolean"
6264
+ "text": "RuleService"
6432
6265
  },
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"
6266
+ "inheritedFrom": {
6267
+ "name": "FoundationInboxBase",
6268
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6269
+ }
6448
6270
  },
6449
6271
  {
6450
6272
  "kind": "field",
6451
- "name": "auth",
6273
+ "name": "rules",
6452
6274
  "type": {
6453
- "text": "Auth"
6275
+ "text": "Rule[]"
6454
6276
  },
6277
+ "default": "[]",
6455
6278
  "inheritedFrom": {
6456
6279
  "name": "FoundationInboxBase",
6457
6280
  "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
@@ -6459,9 +6282,9 @@
6459
6282
  },
6460
6283
  {
6461
6284
  "kind": "field",
6462
- "name": "connect",
6285
+ "name": "templateService",
6463
6286
  "type": {
6464
- "text": "Connect"
6287
+ "text": "TemplateService"
6465
6288
  },
6466
6289
  "inheritedFrom": {
6467
6290
  "name": "FoundationInboxBase",
@@ -6470,9 +6293,9 @@
6470
6293
  },
6471
6294
  {
6472
6295
  "kind": "field",
6473
- "name": "alertService",
6296
+ "name": "notifyService",
6474
6297
  "type": {
6475
- "text": "AlertService"
6298
+ "text": "NotifyService"
6476
6299
  },
6477
6300
  "inheritedFrom": {
6478
6301
  "name": "FoundationInboxBase",
@@ -6481,10 +6304,11 @@
6481
6304
  },
6482
6305
  {
6483
6306
  "kind": "field",
6484
- "name": "inboxService",
6307
+ "name": "templates",
6485
6308
  "type": {
6486
- "text": "FoundationInboxService"
6309
+ "text": "RuleTemplate[]"
6487
6310
  },
6311
+ "default": "[]",
6488
6312
  "inheritedFrom": {
6489
6313
  "name": "FoundationInboxBase",
6490
6314
  "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
@@ -6492,11 +6316,12 @@
6492
6316
  },
6493
6317
  {
6494
6318
  "kind": "field",
6495
- "name": "connectionSub",
6319
+ "name": "broadcastTopics",
6496
6320
  "type": {
6497
- "text": "Subscription"
6321
+ "text": "string[]"
6498
6322
  },
6499
6323
  "privacy": "private",
6324
+ "default": "[]",
6500
6325
  "inheritedFrom": {
6501
6326
  "name": "FoundationInboxBase",
6502
6327
  "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
@@ -6504,9 +6329,9 @@
6504
6329
  },
6505
6330
  {
6506
6331
  "kind": "field",
6507
- "name": "alerts",
6332
+ "name": "routeTopics",
6508
6333
  "type": {
6509
- "text": "Alert[]"
6334
+ "text": "NotifyRouteTopic[]"
6510
6335
  },
6511
6336
  "privacy": "private",
6512
6337
  "default": "[]",
@@ -6517,9 +6342,9 @@
6517
6342
  },
6518
6343
  {
6519
6344
  "kind": "field",
6520
- "name": "alertsFilter",
6345
+ "name": "templatesFilter",
6521
6346
  "type": {
6522
- "text": "Alert[]"
6347
+ "text": "RuleTemplate[]"
6523
6348
  },
6524
6349
  "default": "[]",
6525
6350
  "inheritedFrom": {
@@ -6529,11 +6354,11 @@
6529
6354
  },
6530
6355
  {
6531
6356
  "kind": "field",
6532
- "name": "moreAlerts",
6357
+ "name": "channelOptionsByTemplate",
6533
6358
  "type": {
6534
- "text": "boolean"
6359
+ "text": "Record<string, string[]>"
6535
6360
  },
6536
- "default": "false",
6361
+ "default": "{}",
6537
6362
  "inheritedFrom": {
6538
6363
  "name": "FoundationInboxBase",
6539
6364
  "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
@@ -6541,13 +6366,11 @@
6541
6366
  },
6542
6367
  {
6543
6368
  "kind": "field",
6544
- "name": "renderAlert",
6369
+ "name": "userChannelRules",
6545
6370
  "type": {
6546
- "text": "ViewTemplate<Alert, FoundationInbox> | undefined"
6371
+ "text": "Record<string, Record<string, Rule | null>>"
6547
6372
  },
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",
6373
+ "default": "{}",
6551
6374
  "inheritedFrom": {
6552
6375
  "name": "FoundationInboxBase",
6553
6376
  "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
@@ -6555,12 +6378,11 @@
6555
6378
  },
6556
6379
  {
6557
6380
  "kind": "field",
6558
- "name": "hideSeverityFilter",
6381
+ "name": "channelTogglePending",
6559
6382
  "type": {
6560
- "text": "boolean"
6383
+ "text": "Record<string, Record<string, boolean>>"
6561
6384
  },
6562
- "default": "false",
6563
- "description": "Hide the Severity filter block in the search bar. Set via the `hide-severity-filter`\nattribute or property. @public",
6385
+ "default": "{}",
6564
6386
  "inheritedFrom": {
6565
6387
  "name": "FoundationInboxBase",
6566
6388
  "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
@@ -6568,12 +6390,11 @@
6568
6390
  },
6569
6391
  {
6570
6392
  "kind": "field",
6571
- "name": "hideDateRange",
6393
+ "name": "pendingChannelParameterDetails",
6572
6394
  "type": {
6573
- "text": "boolean"
6395
+ "text": "Record<string, string>"
6574
6396
  },
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",
6397
+ "default": "{}",
6577
6398
  "inheritedFrom": {
6578
6399
  "name": "FoundationInboxBase",
6579
6400
  "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
@@ -6581,12 +6402,12 @@
6581
6402
  },
6582
6403
  {
6583
6404
  "kind": "field",
6584
- "name": "hideTitleSearch",
6405
+ "name": "lastSubscribeParams",
6585
6406
  "type": {
6586
- "text": "boolean"
6407
+ "text": "Record<string, Record<string, string>>"
6587
6408
  },
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",
6409
+ "privacy": "private",
6410
+ "default": "{}",
6590
6411
  "inheritedFrom": {
6591
6412
  "name": "FoundationInboxBase",
6592
6413
  "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
@@ -6594,12 +6415,12 @@
6594
6415
  },
6595
6416
  {
6596
6417
  "kind": "field",
6597
- "name": "hideBodySearch",
6418
+ "name": "templateDetailsById",
6598
6419
  "type": {
6599
- "text": "boolean"
6420
+ "text": "Record<string, NotificationRuleTemplateReply>"
6600
6421
  },
6601
- "default": "false",
6602
- "description": "Hide the Search-by-Body field in the search bar. Set via the `hide-body-search`\nattribute or property. @public",
6422
+ "privacy": "private",
6423
+ "default": "{}",
6603
6424
  "inheritedFrom": {
6604
6425
  "name": "FoundationInboxBase",
6605
6426
  "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
@@ -6607,12 +6428,12 @@
6607
6428
  },
6608
6429
  {
6609
6430
  "kind": "field",
6610
- "name": "hideClearAll",
6431
+ "name": "channelStateQueryId",
6611
6432
  "type": {
6612
- "text": "boolean"
6433
+ "text": "number"
6613
6434
  },
6614
- "default": "false",
6615
- "description": "Hide the Clear All Alerts button on the Alerts tab. Set via the `hide-clear-all`\nattribute or property. Per-item dismiss is unchanged. @public",
6435
+ "privacy": "private",
6436
+ "default": "0",
6616
6437
  "inheritedFrom": {
6617
6438
  "name": "FoundationInboxBase",
6618
6439
  "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
@@ -6620,207 +6441,12 @@
6620
6441
  },
6621
6442
  {
6622
6443
  "kind": "field",
6623
- "name": "onAlertClick",
6444
+ "name": "deferTemplatesFilter",
6624
6445
  "type": {
6625
- "text": "((alert: Alert) => void) | undefined"
6446
+ "text": "boolean"
6626
6447
  },
6627
- "default": "undefined",
6628
- "description": "Optional click handler for an alert row, fired with the clicked alert so consumers can open\nthe related record. Interactive elements inside a custom renderAlert template should\ncall `event.stopPropagation()` to avoid triggering this. @public",
6629
- "inheritedFrom": {
6630
- "name": "FoundationInboxBase",
6631
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6632
- }
6633
- },
6634
- {
6635
- "kind": "field",
6636
- "name": "ruleService",
6637
- "type": {
6638
- "text": "RuleService"
6639
- },
6640
- "inheritedFrom": {
6641
- "name": "FoundationInboxBase",
6642
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6643
- }
6644
- },
6645
- {
6646
- "kind": "field",
6647
- "name": "rules",
6648
- "type": {
6649
- "text": "Rule[]"
6650
- },
6651
- "default": "[]",
6652
- "inheritedFrom": {
6653
- "name": "FoundationInboxBase",
6654
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6655
- }
6656
- },
6657
- {
6658
- "kind": "field",
6659
- "name": "templateService",
6660
- "type": {
6661
- "text": "TemplateService"
6662
- },
6663
- "inheritedFrom": {
6664
- "name": "FoundationInboxBase",
6665
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6666
- }
6667
- },
6668
- {
6669
- "kind": "field",
6670
- "name": "notifyService",
6671
- "type": {
6672
- "text": "NotifyService"
6673
- },
6674
- "inheritedFrom": {
6675
- "name": "FoundationInboxBase",
6676
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6677
- }
6678
- },
6679
- {
6680
- "kind": "field",
6681
- "name": "templates",
6682
- "type": {
6683
- "text": "RuleTemplate[]"
6684
- },
6685
- "default": "[]",
6686
- "inheritedFrom": {
6687
- "name": "FoundationInboxBase",
6688
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6689
- }
6690
- },
6691
- {
6692
- "kind": "field",
6693
- "name": "broadcastTopics",
6694
- "type": {
6695
- "text": "string[]"
6696
- },
6697
- "privacy": "private",
6698
- "default": "[]",
6699
- "inheritedFrom": {
6700
- "name": "FoundationInboxBase",
6701
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6702
- }
6703
- },
6704
- {
6705
- "kind": "field",
6706
- "name": "routeTopics",
6707
- "type": {
6708
- "text": "NotifyRouteTopic[]"
6709
- },
6710
- "privacy": "private",
6711
- "default": "[]",
6712
- "inheritedFrom": {
6713
- "name": "FoundationInboxBase",
6714
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6715
- }
6716
- },
6717
- {
6718
- "kind": "field",
6719
- "name": "templatesFilter",
6720
- "type": {
6721
- "text": "RuleTemplate[]"
6722
- },
6723
- "default": "[]",
6724
- "inheritedFrom": {
6725
- "name": "FoundationInboxBase",
6726
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6727
- }
6728
- },
6729
- {
6730
- "kind": "field",
6731
- "name": "channelOptionsByTemplate",
6732
- "type": {
6733
- "text": "Record<string, string[]>"
6734
- },
6735
- "default": "{}",
6736
- "inheritedFrom": {
6737
- "name": "FoundationInboxBase",
6738
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6739
- }
6740
- },
6741
- {
6742
- "kind": "field",
6743
- "name": "userChannelRules",
6744
- "type": {
6745
- "text": "Record<string, Record<string, Rule | null>>"
6746
- },
6747
- "default": "{}",
6748
- "inheritedFrom": {
6749
- "name": "FoundationInboxBase",
6750
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6751
- }
6752
- },
6753
- {
6754
- "kind": "field",
6755
- "name": "channelTogglePending",
6756
- "type": {
6757
- "text": "Record<string, Record<string, boolean>>"
6758
- },
6759
- "default": "{}",
6760
- "inheritedFrom": {
6761
- "name": "FoundationInboxBase",
6762
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6763
- }
6764
- },
6765
- {
6766
- "kind": "field",
6767
- "name": "pendingChannelParameterDetails",
6768
- "type": {
6769
- "text": "Record<string, string>"
6770
- },
6771
- "default": "{}",
6772
- "inheritedFrom": {
6773
- "name": "FoundationInboxBase",
6774
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6775
- }
6776
- },
6777
- {
6778
- "kind": "field",
6779
- "name": "lastSubscribeParams",
6780
- "type": {
6781
- "text": "Record<string, Record<string, string>>"
6782
- },
6783
- "privacy": "private",
6784
- "default": "{}",
6785
- "inheritedFrom": {
6786
- "name": "FoundationInboxBase",
6787
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6788
- }
6789
- },
6790
- {
6791
- "kind": "field",
6792
- "name": "templateDetailsById",
6793
- "type": {
6794
- "text": "Record<string, NotificationRuleTemplateReply>"
6795
- },
6796
- "privacy": "private",
6797
- "default": "{}",
6798
- "inheritedFrom": {
6799
- "name": "FoundationInboxBase",
6800
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6801
- }
6802
- },
6803
- {
6804
- "kind": "field",
6805
- "name": "channelStateQueryId",
6806
- "type": {
6807
- "text": "number"
6808
- },
6809
- "privacy": "private",
6810
- "default": "0",
6811
- "inheritedFrom": {
6812
- "name": "FoundationInboxBase",
6813
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
6814
- }
6815
- },
6816
- {
6817
- "kind": "field",
6818
- "name": "deferTemplatesFilter",
6819
- "type": {
6820
- "text": "boolean"
6821
- },
6822
- "privacy": "private",
6823
- "default": "false",
6448
+ "privacy": "private",
6449
+ "default": "false",
6824
6450
  "inheritedFrom": {
6825
6451
  "name": "FoundationInboxBase",
6826
6452
  "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
@@ -7670,88 +7296,462 @@
7670
7296
  "customElement": true,
7671
7297
  "attributes": [
7672
7298
  {
7673
- "name": "hide-severity-filter",
7674
- "type": {
7675
- "text": "boolean"
7676
- },
7677
- "default": "false",
7678
- "description": "Hide the Severity filter block in the search bar. Set via the `hide-severity-filter`\nattribute or property. @public",
7679
- "fieldName": "hideSeverityFilter",
7680
- "inheritedFrom": {
7681
- "name": "FoundationInboxBase",
7682
- "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
7683
- }
7299
+ "name": "hide-severity-filter",
7300
+ "type": {
7301
+ "text": "boolean"
7302
+ },
7303
+ "default": "false",
7304
+ "description": "Hide the Severity filter block in the search bar. Set via the `hide-severity-filter`\nattribute or property. @public",
7305
+ "fieldName": "hideSeverityFilter",
7306
+ "inheritedFrom": {
7307
+ "name": "FoundationInboxBase",
7308
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
7309
+ }
7310
+ },
7311
+ {
7312
+ "name": "hide-date-range",
7313
+ "type": {
7314
+ "text": "boolean"
7315
+ },
7316
+ "default": "false",
7317
+ "description": "Hide the Date Range filter block in the search bar. Set via the `hide-date-range`\nattribute or property. @public",
7318
+ "fieldName": "hideDateRange",
7319
+ "inheritedFrom": {
7320
+ "name": "FoundationInboxBase",
7321
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
7322
+ }
7323
+ },
7324
+ {
7325
+ "name": "hide-title-search",
7326
+ "type": {
7327
+ "text": "boolean"
7328
+ },
7329
+ "default": "false",
7330
+ "description": "Hide the Search-by-Title field in the search bar. Set via the `hide-title-search`\nattribute or property. @public",
7331
+ "fieldName": "hideTitleSearch",
7332
+ "inheritedFrom": {
7333
+ "name": "FoundationInboxBase",
7334
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
7335
+ }
7336
+ },
7337
+ {
7338
+ "name": "hide-body-search",
7339
+ "type": {
7340
+ "text": "boolean"
7341
+ },
7342
+ "default": "false",
7343
+ "description": "Hide the Search-by-Body field in the search bar. Set via the `hide-body-search`\nattribute or property. @public",
7344
+ "fieldName": "hideBodySearch",
7345
+ "inheritedFrom": {
7346
+ "name": "FoundationInboxBase",
7347
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
7348
+ }
7349
+ },
7350
+ {
7351
+ "name": "hide-clear-all",
7352
+ "type": {
7353
+ "text": "boolean"
7354
+ },
7355
+ "default": "false",
7356
+ "description": "Hide the Clear All Alerts button on the Alerts tab. Set via the `hide-clear-all`\nattribute or property. Per-item dismiss is unchanged. @public",
7357
+ "fieldName": "hideClearAll",
7358
+ "inheritedFrom": {
7359
+ "name": "FoundationInboxBase",
7360
+ "module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
7361
+ }
7362
+ }
7363
+ ]
7364
+ }
7365
+ ],
7366
+ "exports": [
7367
+ {
7368
+ "kind": "js",
7369
+ "name": "FoundationInboxFlyout",
7370
+ "declaration": {
7371
+ "name": "FoundationInboxFlyout",
7372
+ "module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.ts"
7373
+ }
7374
+ },
7375
+ {
7376
+ "kind": "custom-element-definition",
7377
+ "name": "foundation-inbox-flyout",
7378
+ "declaration": {
7379
+ "name": "FoundationInboxFlyout",
7380
+ "module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.ts"
7381
+ }
7382
+ }
7383
+ ]
7384
+ },
7385
+ {
7386
+ "kind": "javascript-module",
7387
+ "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts",
7388
+ "declarations": [
7389
+ {
7390
+ "kind": "variable",
7391
+ "name": "noItemsClass",
7392
+ "type": {
7393
+ "text": "string"
7394
+ },
7395
+ "default": "'no-items'",
7396
+ "description": "Class to use when there are no items"
7397
+ },
7398
+ {
7399
+ "kind": "variable",
7400
+ "name": "FoundationInboxCounterStyles",
7401
+ "default": "css`\n :host {\n display: inline-block;\n min-width: 16px;\n height: 16px;\n border-radius: 9px;\n text-align: center;\n color: #fff;\n line-height: 16px;\n font-size: 9px;\n font-weight: 700;\n background: ${BACKGROUND_COLOR};\n pointer-events: none;\n }\n\n .hidden {\n visibility: hidden;\n }\n\n :host(.${noItemsClass}) {\n display: none;\n }\n`"
7402
+ }
7403
+ ],
7404
+ "exports": [
7405
+ {
7406
+ "kind": "js",
7407
+ "name": "noItemsClass",
7408
+ "declaration": {
7409
+ "name": "noItemsClass",
7410
+ "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
7411
+ }
7412
+ },
7413
+ {
7414
+ "kind": "js",
7415
+ "name": "FoundationInboxCounterStyles",
7416
+ "declaration": {
7417
+ "name": "FoundationInboxCounterStyles",
7418
+ "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
7419
+ }
7420
+ }
7421
+ ]
7422
+ },
7423
+ {
7424
+ "kind": "javascript-module",
7425
+ "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts",
7426
+ "declarations": [
7427
+ {
7428
+ "kind": "variable",
7429
+ "name": "FoundationInboxCounterTemplate",
7430
+ "default": "html<FoundationInboxCounter>`\n <template class=\"${(x) => classNames([noItemsClass, x.value < 1])}\">\n ${when(\n (x) => x.value > 0,\n html`\n ${(x) => (x.value > MAX_NUMBER_TO_DISPLAY ? `${MAX_NUMBER_TO_DISPLAY}+` : x.value)}\n `,\n )}\n </template>\n`"
7431
+ }
7432
+ ],
7433
+ "exports": [
7434
+ {
7435
+ "kind": "js",
7436
+ "name": "FoundationInboxCounterTemplate",
7437
+ "declaration": {
7438
+ "name": "FoundationInboxCounterTemplate",
7439
+ "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts"
7440
+ }
7441
+ }
7442
+ ]
7443
+ },
7444
+ {
7445
+ "kind": "javascript-module",
7446
+ "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts",
7447
+ "declarations": [
7448
+ {
7449
+ "kind": "class",
7450
+ "description": "",
7451
+ "name": "FoundationInboxCounter",
7452
+ "members": [
7453
+ {
7454
+ "kind": "field",
7455
+ "name": "value",
7456
+ "type": {
7457
+ "text": "number"
7458
+ },
7459
+ "default": "0"
7460
+ },
7461
+ {
7462
+ "kind": "field",
7463
+ "name": "connect",
7464
+ "type": {
7465
+ "text": "Connect"
7466
+ }
7467
+ },
7468
+ {
7469
+ "kind": "field",
7470
+ "name": "inboxService",
7471
+ "type": {
7472
+ "text": "FoundationInboxService"
7473
+ }
7474
+ },
7475
+ {
7476
+ "kind": "field",
7477
+ "name": "connectionSub",
7478
+ "type": {
7479
+ "text": "Subscription"
7480
+ },
7481
+ "privacy": "private"
7482
+ },
7483
+ {
7484
+ "kind": "method",
7485
+ "name": "subscribeToAlerts",
7486
+ "privacy": "private",
7487
+ "return": {
7488
+ "type": {
7489
+ "text": "Promise<void>"
7490
+ }
7491
+ },
7492
+ "description": "Subscribes to alerts from the inbox service"
7493
+ },
7494
+ {
7495
+ "kind": "field",
7496
+ "name": "subscriptionHandler",
7497
+ "privacy": "private",
7498
+ "description": "Handles subscription updates from the inbox service"
7499
+ }
7500
+ ],
7501
+ "superclass": {
7502
+ "name": "GenesisElement",
7503
+ "package": "@genesislcap/web-core"
7504
+ },
7505
+ "tagName": "foundation-inbox-counter",
7506
+ "customElement": true
7507
+ }
7508
+ ],
7509
+ "exports": [
7510
+ {
7511
+ "kind": "js",
7512
+ "name": "FoundationInboxCounter",
7513
+ "declaration": {
7514
+ "name": "FoundationInboxCounter",
7515
+ "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
7516
+ }
7517
+ },
7518
+ {
7519
+ "kind": "custom-element-definition",
7520
+ "name": "foundation-inbox-counter",
7521
+ "declaration": {
7522
+ "name": "FoundationInboxCounter",
7523
+ "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
7524
+ }
7525
+ }
7526
+ ]
7527
+ },
7528
+ {
7529
+ "kind": "javascript-module",
7530
+ "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts",
7531
+ "declarations": [
7532
+ {
7533
+ "kind": "variable",
7534
+ "name": "InboxSubscriptionStyles",
7535
+ "default": "css`\n .inbox-subscription {\n display: flex;\n flex-direction: column;\n }\n\n .inbox-subscription.inline {\n margin-top: calc(var(--design-unit) * 2px);\n padding-top: calc(var(--design-unit) * 2px);\n border-top: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n }\n\n .inbox-subscription-header {\n border-top: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n border-bottom: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n padding: calc(var(--design-unit) * 2px);\n }\n\n .inbox-subscription-empty {\n padding: 0 calc(var(--design-unit) * 2px);\n margin: calc(var(--design-unit) * 2px) 0 0;\n }\n\n .inbox-subscription-content {\n display: flex;\n flex-direction: column;\n gap: calc(var(--design-unit) * 3px);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n margin: calc(var(--design-unit) * 2px);\n padding: calc(var(--design-unit) * 2px);\n border-radius: calc(var(--control-corner-radius) * 1px);\n }\n\n .inbox-subscription:not(.inline) .inbox-subscription-content {\n overflow: auto;\n max-height: calc(var(--design-unit) * 80px);\n }\n\n .inbox-subscription.inline .inbox-subscription-content {\n margin: calc(var(--design-unit) * 2px) 0 0;\n overflow: visible;\n max-height: none;\n padding-bottom: calc(var(--design-unit) * 4px);\n }\n\n .inbox-subscription.inline .control:focus-within {\n position: relative;\n z-index: 2;\n }\n\n .inbox-subscription-footer {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n padding: calc(var(--design-unit) * 2px) 0 0;\n border-top: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n margin-top: calc(var(--design-unit) * 2px);\n }\n\n .inbox-subscription:not(.inline) .inbox-subscription-footer {\n padding: calc(var(--design-unit) * 2px);\n margin-top: 0;\n }\n\n .inbox-subscription-footer.auto-submit {\n justify-content: flex-end;\n border-top: none;\n margin-top: 0;\n padding-top: 0;\n }\n\n rapid-button.subscribe,\n rapid-button.cancel {\n display: flex;\n margin: 0;\n flex: 1;\n }\n`"
7536
+ }
7537
+ ],
7538
+ "exports": [
7539
+ {
7540
+ "kind": "js",
7541
+ "name": "InboxSubscriptionStyles",
7542
+ "declaration": {
7543
+ "name": "InboxSubscriptionStyles",
7544
+ "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts"
7545
+ }
7546
+ }
7547
+ ]
7548
+ },
7549
+ {
7550
+ "kind": "javascript-module",
7551
+ "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts",
7552
+ "declarations": [
7553
+ {
7554
+ "kind": "variable",
7555
+ "name": "InboxSubscriptionTemplate",
7556
+ "default": "html<InboxSubscription>`\n <div class=\"inbox-subscription ${(x) => (x.inline ? 'inline' : '')}\">\n ${when(\n (x) => !x.inline,\n html`\n <div class=\"inbox-subscription-header\">\n Subscribe to\n <span style=\"font-weight: bold;\">${(x) => x.template.RULE_NAME}</span>\n </div>\n `,\n )}\n ${when(\n (x) => x.visibleParameters.length === 0,\n html`\n <p class=\"inbox-subscription-empty\">The selected template doesn't have parameters.</p>\n `,\n )}\n ${when(\n (x) => x.visibleParameters.length > 0,\n html`\n <div class=\"inbox-subscription-content\">\n ${repeat(\n (x) => x.visibleParameters,\n html<RuleParameterEntity>`\n <rule-parameter\n :parameter=${(x) => x}\n :isFirstElement=${(x, c) => c.parent.isFirstElement(x)}\n :operator=${(x, c) => c.parent.parametersOperators[x.PARAM_NAME]}\n :requireSelection=${(x, c) => c.parent.usesAutoSubmit()}\n @parameterEdited=${(x, c) => c.parent.parameterEdit(eventDetail(c))}\n ></rule-parameter>\n `,\n )}\n </div>\n `,\n )}\n ${when(\n (x) => !x.inline || x.requiresManualSubscribe(),\n html`\n <div class=\"inbox-subscription-footer\">\n ${when(\n (x) => x.inline,\n html`\n <rapid-button\n class=\"cancel\"\n appearance=\"neutral\"\n @click=${(x) => x.cancelSubscribe()}\n >\n Cancel\n </rapid-button>\n `,\n )}\n <rapid-button\n class=\"subscribe\"\n appearance=\"primary\"\n @click=${(x) => x.subscribeTemplate()}\n ?disabled=${(x) => x.subscribeDisabled}\n >\n Subscribe\n </rapid-button>\n </div>\n `,\n )}\n ${when(\n (x) => x.inline && x.usesAutoSubmit(),\n html`\n <div class=\"inbox-subscription-footer auto-submit\">\n <rapid-button class=\"cancel\" appearance=\"neutral\" @click=${(x) => x.cancelSubscribe()}>\n Cancel\n </rapid-button>\n </div>\n `,\n )}\n </div>\n`"
7557
+ }
7558
+ ],
7559
+ "exports": [
7560
+ {
7561
+ "kind": "js",
7562
+ "name": "InboxSubscriptionTemplate",
7563
+ "declaration": {
7564
+ "name": "InboxSubscriptionTemplate",
7565
+ "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts"
7566
+ }
7567
+ }
7568
+ ]
7569
+ },
7570
+ {
7571
+ "kind": "javascript-module",
7572
+ "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts",
7573
+ "declarations": [
7574
+ {
7575
+ "kind": "class",
7576
+ "description": "Inbox subscription configuration UI.",
7577
+ "name": "InboxSubscription",
7578
+ "members": [
7579
+ {
7580
+ "kind": "field",
7581
+ "name": "template"
7582
+ },
7583
+ {
7584
+ "kind": "field",
7585
+ "name": "inline",
7586
+ "type": {
7587
+ "text": "boolean"
7588
+ },
7589
+ "default": "false"
7590
+ },
7591
+ {
7592
+ "kind": "field",
7593
+ "name": "extraParameterDetails",
7594
+ "type": {
7595
+ "text": "Record<string, string>"
7596
+ },
7597
+ "default": "{}",
7598
+ "description": "Merged into subscribe payload (e.g. CHANNEL topic). Hidden from the form."
7599
+ },
7600
+ {
7601
+ "kind": "field",
7602
+ "name": "parametersDetails",
7603
+ "type": {
7604
+ "text": "object"
7605
+ },
7606
+ "privacy": "private",
7607
+ "default": "{}"
7608
+ },
7609
+ {
7610
+ "kind": "field",
7611
+ "name": "isSubmitting",
7612
+ "type": {
7613
+ "text": "boolean"
7614
+ },
7615
+ "privacy": "private",
7616
+ "default": "false"
7617
+ },
7618
+ {
7619
+ "kind": "field",
7620
+ "name": "parametersOperators",
7621
+ "type": {
7622
+ "text": "object"
7623
+ },
7624
+ "default": "{}"
7625
+ },
7626
+ {
7627
+ "kind": "field",
7628
+ "name": "subscribeDisabled",
7629
+ "type": {
7630
+ "text": "boolean"
7631
+ },
7632
+ "default": "true"
7633
+ },
7634
+ {
7635
+ "kind": "field",
7636
+ "name": "ruleService",
7637
+ "type": {
7638
+ "text": "RuleService"
7639
+ }
7640
+ },
7641
+ {
7642
+ "kind": "field",
7643
+ "name": "visibleParameters",
7644
+ "type": {
7645
+ "text": "RuleParameterEntity[]"
7646
+ },
7647
+ "readonly": true
7648
+ },
7649
+ {
7650
+ "kind": "method",
7651
+ "name": "templateChanged"
7652
+ },
7653
+ {
7654
+ "kind": "method",
7655
+ "name": "usesAutoSubmit",
7656
+ "return": {
7657
+ "type": {
7658
+ "text": "boolean"
7659
+ }
7660
+ }
7661
+ },
7662
+ {
7663
+ "kind": "method",
7664
+ "name": "requiresManualSubscribe",
7665
+ "return": {
7666
+ "type": {
7667
+ "text": "boolean"
7668
+ }
7669
+ }
7670
+ },
7671
+ {
7672
+ "kind": "method",
7673
+ "name": "parameterEdit",
7674
+ "parameters": [
7675
+ {
7676
+ "name": "value",
7677
+ "type": {
7678
+ "text": "any"
7679
+ }
7680
+ }
7681
+ ]
7682
+ },
7683
+ {
7684
+ "kind": "method",
7685
+ "name": "autoSubscribe",
7686
+ "privacy": "private"
7687
+ },
7688
+ {
7689
+ "kind": "method",
7690
+ "name": "verifySubscribe"
7691
+ },
7692
+ {
7693
+ "kind": "field",
7694
+ "name": "isFirstElement"
7695
+ },
7696
+ {
7697
+ "kind": "method",
7698
+ "name": "subscribeTemplate"
7684
7699
  },
7685
7700
  {
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
- }
7701
+ "kind": "method",
7702
+ "name": "cancelSubscribe"
7697
7703
  },
7698
7704
  {
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
- }
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"
7710
7713
  },
7711
7714
  {
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
- }
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
  ]
@@ -10514,121 +10514,279 @@
10514
10514
  },
10515
10515
  {
10516
10516
  "kind": "field",
10517
- "name": "sourceTyped",
10517
+ "name": "sourceTyped",
10518
+ "type": {
10519
+ "text": "string"
10520
+ }
10521
+ },
10522
+ {
10523
+ "kind": "field",
10524
+ "name": "sourceTextField",
10525
+ "type": {
10526
+ "text": "TextField"
10527
+ }
10528
+ },
10529
+ {
10530
+ "kind": "field",
10531
+ "name": "sourceSelect",
10532
+ "type": {
10533
+ "text": "Select"
10534
+ }
10535
+ },
10536
+ {
10537
+ "kind": "field",
10538
+ "name": "reqRepItems",
10539
+ "type": {
10540
+ "text": "array"
10541
+ },
10542
+ "default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
10543
+ },
10544
+ {
10545
+ "kind": "method",
10546
+ "name": "deleteParameter"
10547
+ },
10548
+ {
10549
+ "kind": "method",
10550
+ "name": "parameterChanged"
10551
+ },
10552
+ {
10553
+ "kind": "method",
10554
+ "name": "nameChanged"
10555
+ },
10556
+ {
10557
+ "kind": "method",
10558
+ "name": "labelChanged"
10559
+ },
10560
+ {
10561
+ "kind": "method",
10562
+ "name": "typeChanged"
10563
+ },
10564
+ {
10565
+ "kind": "method",
10566
+ "name": "sourceTypeChanged"
10567
+ },
10568
+ {
10569
+ "kind": "method",
10570
+ "name": "sourceSelectedChanged"
10571
+ },
10572
+ {
10573
+ "kind": "method",
10574
+ "name": "sourceTypedChanged"
10575
+ },
10576
+ {
10577
+ "kind": "method",
10578
+ "name": "genericChanged",
10579
+ "privacy": "private",
10580
+ "parameters": [
10581
+ {
10582
+ "name": "parameterAttribute"
10583
+ },
10584
+ {
10585
+ "name": "value"
10586
+ }
10587
+ ]
10588
+ }
10589
+ ],
10590
+ "events": [
10591
+ {
10592
+ "description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
10593
+ "name": "delete"
10594
+ },
10595
+ {
10596
+ "description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
10597
+ "name": "edit"
10598
+ }
10599
+ ],
10600
+ "attributes": [
10601
+ {
10602
+ "name": "parameter",
10603
+ "type": {
10604
+ "text": "ParameterBuilderEntity"
10605
+ },
10606
+ "fieldName": "parameter"
10607
+ }
10608
+ ],
10609
+ "superclass": {
10610
+ "name": "GenesisElement",
10611
+ "package": "@genesislcap/web-core"
10612
+ },
10613
+ "tagName": "parameter-builder",
10614
+ "customElement": true
10615
+ }
10616
+ ],
10617
+ "exports": [
10618
+ {
10619
+ "kind": "js",
10620
+ "name": "ParameterBuilder",
10621
+ "declaration": {
10622
+ "name": "ParameterBuilder",
10623
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
10624
+ }
10625
+ },
10626
+ {
10627
+ "kind": "custom-element-definition",
10628
+ "name": "parameter-builder",
10629
+ "declaration": {
10630
+ "name": "ParameterBuilder",
10631
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
10632
+ }
10633
+ }
10634
+ ]
10635
+ },
10636
+ {
10637
+ "kind": "javascript-module",
10638
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
10639
+ "declarations": [
10640
+ {
10641
+ "kind": "variable",
10642
+ "name": "TemplateConditionGroupTemplate",
10643
+ "default": "html<TemplateConditionGroup>`\n ${when(\n (x) => !x.isFirst,\n html`\n <div class=\"join-toggle-row\">\n <div class=\"join-toggle\">\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'AND'])}\"\n @click=${(x) => (x.joinOperator = 'AND')}\n >\n AND\n </span>\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'OR'])}\"\n @click=${(x) => (x.joinOperator = 'OR')}\n >\n OR\n </span>\n </div>\n </div>\n `,\n )}\n <div class=\"condition-group-row\">\n <div class=\"condition-group-box\">\n ${repeat(\n (x) => x.groupChildren,\n html<ConditionNode, TemplateConditionGroup>`\n ${when(\n (x) => isGroup(x),\n html<ConditionNode>`\n <template-condition-group\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\n :node=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></template-condition-group>\n `,\n )}\n ${when(\n (x) => !isGroup(x),\n html<ConditionNode>`\n <template-condition-builder\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\n :condition=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></template-condition-builder>\n `,\n )}\n `,\n { positioning: true },\n )}\n\n <div class=\"content-row\">\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newCondition()}>\n + Condition\n </rapid-button>\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newGroup()}>+ Group</rapid-button>\n <rapid-button appearance=\"icon\" class=\"delete-group\" @click=${(x) => x.deleteSelf()}>\n <rapid-icon variant=\"regular\" name=\"trash-alt\" size=\"lg\" part=\"icon\"></rapid-icon>\n </rapid-button>\n </div>\n </div>\n </div>\n`"
10644
+ }
10645
+ ],
10646
+ "exports": [
10647
+ {
10648
+ "kind": "js",
10649
+ "name": "TemplateConditionGroupTemplate",
10650
+ "declaration": {
10651
+ "name": "TemplateConditionGroupTemplate",
10652
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts"
10653
+ }
10654
+ }
10655
+ ]
10656
+ },
10657
+ {
10658
+ "kind": "javascript-module",
10659
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts",
10660
+ "declarations": [
10661
+ {
10662
+ "kind": "class",
10663
+ "description": "Parenthesized group of conditions/nested groups for notification template\ncriteria - see rule-condition-group for the rationale. Also forwards\n:parameters down to nested template-condition-builder rows so parameter\nbinding (USER_ENTRY) keeps working inside a group.",
10664
+ "name": "TemplateConditionGroup",
10665
+ "members": [
10666
+ {
10667
+ "kind": "field",
10668
+ "name": "node",
10669
+ "type": {
10670
+ "text": "ConditionGroupEntity"
10671
+ }
10672
+ },
10673
+ {
10674
+ "kind": "field",
10675
+ "name": "fields",
10676
+ "type": {
10677
+ "text": "Field[]"
10678
+ },
10679
+ "default": "[]"
10680
+ },
10681
+ {
10682
+ "kind": "field",
10683
+ "name": "parameters",
10518
10684
  "type": {
10519
- "text": "string"
10520
- }
10685
+ "text": "Array<ParameterBuilderEntity>"
10686
+ },
10687
+ "default": "[]"
10521
10688
  },
10522
10689
  {
10523
10690
  "kind": "field",
10524
- "name": "sourceTextField",
10691
+ "name": "isFirst",
10525
10692
  "type": {
10526
- "text": "TextField"
10527
- }
10693
+ "text": "boolean"
10694
+ },
10695
+ "default": "false"
10528
10696
  },
10529
10697
  {
10530
10698
  "kind": "field",
10531
- "name": "sourceSelect",
10699
+ "name": "joinOperator",
10532
10700
  "type": {
10533
- "text": "Select"
10701
+ "text": "string"
10534
10702
  }
10535
10703
  },
10536
10704
  {
10537
10705
  "kind": "field",
10538
- "name": "reqRepItems",
10706
+ "name": "groupChildren",
10539
10707
  "type": {
10540
- "text": "array"
10708
+ "text": "ConditionNode[]"
10541
10709
  },
10542
- "default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
10543
- },
10544
- {
10545
- "kind": "method",
10546
- "name": "deleteParameter"
10547
- },
10548
- {
10549
- "kind": "method",
10550
- "name": "parameterChanged"
10551
- },
10552
- {
10553
- "kind": "method",
10554
- "name": "nameChanged"
10710
+ "default": "[]"
10555
10711
  },
10556
10712
  {
10557
10713
  "kind": "method",
10558
- "name": "labelChanged"
10714
+ "name": "nodeChanged"
10559
10715
  },
10560
10716
  {
10561
10717
  "kind": "method",
10562
- "name": "typeChanged"
10718
+ "name": "joinOperatorChanged"
10563
10719
  },
10564
10720
  {
10565
10721
  "kind": "method",
10566
- "name": "sourceTypeChanged"
10722
+ "name": "newCondition"
10567
10723
  },
10568
10724
  {
10569
10725
  "kind": "method",
10570
- "name": "sourceSelectedChanged"
10726
+ "name": "newGroup"
10571
10727
  },
10572
10728
  {
10573
10729
  "kind": "method",
10574
- "name": "sourceTypedChanged"
10730
+ "name": "editChild",
10731
+ "parameters": [
10732
+ {
10733
+ "name": "_editedChild",
10734
+ "type": {
10735
+ "text": "ConditionNode"
10736
+ }
10737
+ }
10738
+ ]
10575
10739
  },
10576
10740
  {
10577
10741
  "kind": "method",
10578
- "name": "genericChanged",
10579
- "privacy": "private",
10742
+ "name": "deleteChild",
10580
10743
  "parameters": [
10581
10744
  {
10582
- "name": "parameterAttribute"
10583
- },
10584
- {
10585
- "name": "value"
10745
+ "name": "deletedChild",
10746
+ "type": {
10747
+ "text": "ConditionNode"
10748
+ }
10586
10749
  }
10587
10750
  ]
10751
+ },
10752
+ {
10753
+ "kind": "method",
10754
+ "name": "deleteSelf"
10588
10755
  }
10589
10756
  ],
10590
10757
  "events": [
10591
10758
  {
10592
- "description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
10759
+ "description": "Fired when this whole group should be removed",
10593
10760
  "name": "delete"
10594
10761
  },
10595
10762
  {
10596
- "description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
10763
+ "description": "Fired when anything inside this group changes",
10597
10764
  "name": "edit"
10598
10765
  }
10599
10766
  ],
10600
- "attributes": [
10601
- {
10602
- "name": "parameter",
10603
- "type": {
10604
- "text": "ParameterBuilderEntity"
10605
- },
10606
- "fieldName": "parameter"
10607
- }
10608
- ],
10609
10767
  "superclass": {
10610
10768
  "name": "GenesisElement",
10611
10769
  "package": "@genesislcap/web-core"
10612
10770
  },
10613
- "tagName": "parameter-builder",
10771
+ "tagName": "template-condition-group",
10614
10772
  "customElement": true
10615
10773
  }
10616
10774
  ],
10617
10775
  "exports": [
10618
10776
  {
10619
10777
  "kind": "js",
10620
- "name": "ParameterBuilder",
10778
+ "name": "TemplateConditionGroup",
10621
10779
  "declaration": {
10622
- "name": "ParameterBuilder",
10623
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
10780
+ "name": "TemplateConditionGroup",
10781
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
10624
10782
  }
10625
10783
  },
10626
10784
  {
10627
10785
  "kind": "custom-element-definition",
10628
- "name": "parameter-builder",
10786
+ "name": "template-condition-group",
10629
10787
  "declaration": {
10630
- "name": "ParameterBuilder",
10631
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
10788
+ "name": "TemplateConditionGroup",
10789
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
10632
10790
  }
10633
10791
  }
10634
10792
  ]
@@ -10916,164 +11074,6 @@
10916
11074
  }
10917
11075
  }
10918
11076
  ]
10919
- },
10920
- {
10921
- "kind": "javascript-module",
10922
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
10923
- "declarations": [
10924
- {
10925
- "kind": "variable",
10926
- "name": "TemplateConditionGroupTemplate",
10927
- "default": "html<TemplateConditionGroup>`\n ${when(\n (x) => !x.isFirst,\n html`\n <div class=\"join-toggle-row\">\n <div class=\"join-toggle\">\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'AND'])}\"\n @click=${(x) => (x.joinOperator = 'AND')}\n >\n AND\n </span>\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'OR'])}\"\n @click=${(x) => (x.joinOperator = 'OR')}\n >\n OR\n </span>\n </div>\n </div>\n `,\n )}\n <div class=\"condition-group-row\">\n <div class=\"condition-group-box\">\n ${repeat(\n (x) => x.groupChildren,\n html<ConditionNode, TemplateConditionGroup>`\n ${when(\n (x) => isGroup(x),\n html<ConditionNode>`\n <template-condition-group\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\n :node=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></template-condition-group>\n `,\n )}\n ${when(\n (x) => !isGroup(x),\n html<ConditionNode>`\n <template-condition-builder\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\n :condition=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></template-condition-builder>\n `,\n )}\n `,\n { positioning: true },\n )}\n\n <div class=\"content-row\">\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newCondition()}>\n + Condition\n </rapid-button>\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newGroup()}>+ Group</rapid-button>\n <rapid-button appearance=\"icon\" class=\"delete-group\" @click=${(x) => x.deleteSelf()}>\n <rapid-icon variant=\"regular\" name=\"trash-alt\" size=\"lg\" part=\"icon\"></rapid-icon>\n </rapid-button>\n </div>\n </div>\n </div>\n`"
10928
- }
10929
- ],
10930
- "exports": [
10931
- {
10932
- "kind": "js",
10933
- "name": "TemplateConditionGroupTemplate",
10934
- "declaration": {
10935
- "name": "TemplateConditionGroupTemplate",
10936
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts"
10937
- }
10938
- }
10939
- ]
10940
- },
10941
- {
10942
- "kind": "javascript-module",
10943
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts",
10944
- "declarations": [
10945
- {
10946
- "kind": "class",
10947
- "description": "Parenthesized group of conditions/nested groups for notification template\ncriteria - see rule-condition-group for the rationale. Also forwards\n:parameters down to nested template-condition-builder rows so parameter\nbinding (USER_ENTRY) keeps working inside a group.",
10948
- "name": "TemplateConditionGroup",
10949
- "members": [
10950
- {
10951
- "kind": "field",
10952
- "name": "node",
10953
- "type": {
10954
- "text": "ConditionGroupEntity"
10955
- }
10956
- },
10957
- {
10958
- "kind": "field",
10959
- "name": "fields",
10960
- "type": {
10961
- "text": "Field[]"
10962
- },
10963
- "default": "[]"
10964
- },
10965
- {
10966
- "kind": "field",
10967
- "name": "parameters",
10968
- "type": {
10969
- "text": "Array<ParameterBuilderEntity>"
10970
- },
10971
- "default": "[]"
10972
- },
10973
- {
10974
- "kind": "field",
10975
- "name": "isFirst",
10976
- "type": {
10977
- "text": "boolean"
10978
- },
10979
- "default": "false"
10980
- },
10981
- {
10982
- "kind": "field",
10983
- "name": "joinOperator",
10984
- "type": {
10985
- "text": "string"
10986
- }
10987
- },
10988
- {
10989
- "kind": "field",
10990
- "name": "groupChildren",
10991
- "type": {
10992
- "text": "ConditionNode[]"
10993
- },
10994
- "default": "[]"
10995
- },
10996
- {
10997
- "kind": "method",
10998
- "name": "nodeChanged"
10999
- },
11000
- {
11001
- "kind": "method",
11002
- "name": "joinOperatorChanged"
11003
- },
11004
- {
11005
- "kind": "method",
11006
- "name": "newCondition"
11007
- },
11008
- {
11009
- "kind": "method",
11010
- "name": "newGroup"
11011
- },
11012
- {
11013
- "kind": "method",
11014
- "name": "editChild",
11015
- "parameters": [
11016
- {
11017
- "name": "_editedChild",
11018
- "type": {
11019
- "text": "ConditionNode"
11020
- }
11021
- }
11022
- ]
11023
- },
11024
- {
11025
- "kind": "method",
11026
- "name": "deleteChild",
11027
- "parameters": [
11028
- {
11029
- "name": "deletedChild",
11030
- "type": {
11031
- "text": "ConditionNode"
11032
- }
11033
- }
11034
- ]
11035
- },
11036
- {
11037
- "kind": "method",
11038
- "name": "deleteSelf"
11039
- }
11040
- ],
11041
- "events": [
11042
- {
11043
- "description": "Fired when this whole group should be removed",
11044
- "name": "delete"
11045
- },
11046
- {
11047
- "description": "Fired when anything inside this group changes",
11048
- "name": "edit"
11049
- }
11050
- ],
11051
- "superclass": {
11052
- "name": "GenesisElement",
11053
- "package": "@genesislcap/web-core"
11054
- },
11055
- "tagName": "template-condition-group",
11056
- "customElement": true
11057
- }
11058
- ],
11059
- "exports": [
11060
- {
11061
- "kind": "js",
11062
- "name": "TemplateConditionGroup",
11063
- "declaration": {
11064
- "name": "TemplateConditionGroup",
11065
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
11066
- }
11067
- },
11068
- {
11069
- "kind": "custom-element-definition",
11070
- "name": "template-condition-group",
11071
- "declaration": {
11072
- "name": "TemplateConditionGroup",
11073
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
11074
- }
11075
- }
11076
- ]
11077
11077
  }
11078
11078
  ]
11079
11079
  }