@genesislcap/pbc-notify-ui 15.68.1 → 15.69.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",
@@ -5895,95 +5984,6 @@
5895
5984
  }
5896
5985
  ]
5897
5986
  },
5898
- {
5899
- "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
5987
  {
5988
5988
  "kind": "javascript-module",
5989
5989
  "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts",
@@ -7758,70 +7758,70 @@
7758
7758
  },
7759
7759
  {
7760
7760
  "kind": "javascript-module",
7761
- "path": "src/components/foundation-notification-dashboard/components/routes/route-management.ts",
7761
+ "path": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts",
7762
7762
  "declarations": [
7763
7763
  {
7764
7764
  "kind": "class",
7765
7765
  "description": "",
7766
- "name": "RouteManagement",
7766
+ "name": "NotifyAuditManagement",
7767
7767
  "superclass": {
7768
7768
  "name": "GenesisElement",
7769
7769
  "package": "@genesislcap/web-core"
7770
7770
  },
7771
- "tagName": "route-management",
7771
+ "tagName": "notify-audit-management",
7772
7772
  "customElement": true
7773
7773
  }
7774
7774
  ],
7775
7775
  "exports": [
7776
7776
  {
7777
7777
  "kind": "js",
7778
- "name": "RouteManagement",
7778
+ "name": "NotifyAuditManagement",
7779
7779
  "declaration": {
7780
- "name": "RouteManagement",
7781
- "module": "src/components/foundation-notification-dashboard/components/routes/route-management.ts"
7780
+ "name": "NotifyAuditManagement",
7781
+ "module": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts"
7782
7782
  }
7783
7783
  },
7784
7784
  {
7785
7785
  "kind": "custom-element-definition",
7786
- "name": "route-management",
7786
+ "name": "notify-audit-management",
7787
7787
  "declaration": {
7788
- "name": "RouteManagement",
7789
- "module": "src/components/foundation-notification-dashboard/components/routes/route-management.ts"
7788
+ "name": "NotifyAuditManagement",
7789
+ "module": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts"
7790
7790
  }
7791
7791
  }
7792
7792
  ]
7793
7793
  },
7794
7794
  {
7795
7795
  "kind": "javascript-module",
7796
- "path": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts",
7796
+ "path": "src/components/foundation-notification-dashboard/components/routes/route-management.ts",
7797
7797
  "declarations": [
7798
7798
  {
7799
7799
  "kind": "class",
7800
7800
  "description": "",
7801
- "name": "NotifyAuditManagement",
7801
+ "name": "RouteManagement",
7802
7802
  "superclass": {
7803
7803
  "name": "GenesisElement",
7804
7804
  "package": "@genesislcap/web-core"
7805
7805
  },
7806
- "tagName": "notify-audit-management",
7806
+ "tagName": "route-management",
7807
7807
  "customElement": true
7808
7808
  }
7809
7809
  ],
7810
7810
  "exports": [
7811
7811
  {
7812
7812
  "kind": "js",
7813
- "name": "NotifyAuditManagement",
7813
+ "name": "RouteManagement",
7814
7814
  "declaration": {
7815
- "name": "NotifyAuditManagement",
7816
- "module": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts"
7815
+ "name": "RouteManagement",
7816
+ "module": "src/components/foundation-notification-dashboard/components/routes/route-management.ts"
7817
7817
  }
7818
7818
  },
7819
7819
  {
7820
7820
  "kind": "custom-element-definition",
7821
- "name": "notify-audit-management",
7821
+ "name": "route-management",
7822
7822
  "declaration": {
7823
- "name": "NotifyAuditManagement",
7824
- "module": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts"
7823
+ "name": "RouteManagement",
7824
+ "module": "src/components/foundation-notification-dashboard/components/routes/route-management.ts"
7825
7825
  }
7826
7826
  }
7827
7827
  ]
@@ -10421,39 +10421,253 @@
10421
10421
  },
10422
10422
  {
10423
10423
  "kind": "javascript-module",
10424
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts",
10424
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
10425
10425
  "declarations": [
10426
10426
  {
10427
10427
  "kind": "variable",
10428
- "name": "TemplateConditionBuilderTemplate",
10429
- "default": "html<TemplateConditionBuilder>`\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-builder\">\n <rapid-select\n :value=${sync((x) => x.leftValue)}\n :initialValue=${sync((x) => x.leftValue)}\n class=\"left-value\"\n >\n ${repeat(\n (x) => x.leftValueItems,\n html<Field>`\n <rapid-option value=${(x) => JSON.stringify(x)}>${(x) => x.FIELD_NAME}</rapid-option>\n `,\n )}\n </rapid-select>\n\n <rapid-select\n class=\"logical-operator${(x) =>\n classNames([\n '-null-and-blank',\n nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n ])}\"\n :value=${sync((x) => x.logicalOperator)}\n >\n ${repeat(\n (_) => Object.values(LogicalOperator),\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => !nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n html`\n <rapid-select class=\"right-criteria\" :value=${sync((x) => x.rightCriteria)}>\n ${repeat(\n (x) => x.rightCriteriaOptions,\n html`\n <rapid-option value=${(x) => x}>${(x) => rightCriteriaLabel(x)}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.rightCriteria === RightCriteria.VALUE,\n html<TemplateConditionBuilder>`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.BOOLEAN,\n html`\n <rapid-select class=\"right-criteria-select\" :value=${sync((x) => x.rightValueText)}>\n <rapid-option value=\"true\">true</rapid-option>\n <rapid-option value=\"false\">false</rapid-option>\n </rapid-select>\n `,\n html`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === 'ENUM',\n html`\n <rapid-multiselect\n class=\"right-criteria-select\"\n :selectedOptions=${(x) => x.rightValueMultiSelect}\n @selectionChange=${(x, c) => {\n x.rightValueMultiSelect = (c.event as CustomEvent).detail;\n }}\n search=\"true\"\n all=\"false\"\n >\n <multiselect-datasource\n value-field=\"value\"\n label-field=\"value\"\n :data=${(x) => x.getEnumValues().map((value) => ({ value }))}\n ></multiselect-datasource>\n </rapid-multiselect>\n `,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n placeholder=\"Value (comma-separate for multiple)\"\n autocomplete=\"off\"\n ></rapid-text-field>\n `,\n )}\n `,\n )}\n `,\n )}\n ${when(\n (x) => x.rightCriteria === RightCriteria.USER_ENTRY,\n html<TemplateConditionBuilder>`\n <rapid-select class=\"right-criteria-select\" :value=${sync((x) => x.rightValueSelect)}>\n ${(x) => rightValueItemsOptions(x.rightValueItems)}\n </rapid-select>\n `,\n )}\n `,\n )}\n\n <rapid-button appearance=\"icon\" class=\"delete\" @click=${(x) => x.deleteCondition()}>\n <rapid-icon\n style=\"opacity: 0.5\"\n variant=\"regular\"\n name=\"trash-alt\"\n size=\"lg\"\n part=\"icon\"\n ></rapid-icon>\n </rapid-button>\n </div>\n`"
10428
+ "name": "ParameterBuilderStyles",
10429
+ "default": "css`\n .parameter-builder {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n margin-bottom: calc(var(--design-unit) * 2px);\n }\n\n rapid-button {\n margin: 0;\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.param-type::part(control) {\n width: 115px;\n }\n\n rapid-select.param-source-type::part(control) {\n width: 160px;\n }\n\n rapid-select.param-source::part(control) {\n width: ${PARAM_SOURCE_WIDTH}px;\n }\n\n rapid-text-field.param-source::part(root) {\n width: calc(${PARAM_SOURCE_WIDTH}px + 2px);\n }\n\n rapid-select::part(listbox) {\n max-height: 160px;\n }\n`"
10430
10430
  }
10431
10431
  ],
10432
10432
  "exports": [
10433
10433
  {
10434
10434
  "kind": "js",
10435
- "name": "TemplateConditionBuilderTemplate",
10435
+ "name": "ParameterBuilderStyles",
10436
10436
  "declaration": {
10437
- "name": "TemplateConditionBuilderTemplate",
10438
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts"
10437
+ "name": "ParameterBuilderStyles",
10438
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
10439
10439
  }
10440
10440
  }
10441
10441
  ]
10442
10442
  },
10443
10443
  {
10444
10444
  "kind": "javascript-module",
10445
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts",
10445
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
10446
+ "declarations": [
10447
+ {
10448
+ "kind": "variable",
10449
+ "name": "ParameterBuilderTemplate",
10450
+ "default": "html<ParameterBuilder>`\n <div class=\"parameter-builder\">\n <rapid-text-field\n id=\"param-name\"\n placeholder=\"Name\"\n :value=${sync((x) => x.name)}\n ></rapid-text-field>\n\n <rapid-text-field\n id=\"param-label\"\n placeholder=\"Label\"\n :value=${sync((x) => x.label)}\n ></rapid-text-field>\n\n <rapid-select\n id=\"param-source-type\"\n :value=${sync((x) => x.sourceType)}\n class=\"param-source-type\"\n >\n ${repeat(\n (x) => ALL_PARAM_SOURCE_TYPES,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_USER_TEXT,\n html<ParameterBuilder>`\n <rapid-text-field class=\"param-source\" disabled></rapid-text-field>\n `,\n )}\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_REQ_REP,\n html<ParameterBuilder>`\n <rapid-select\n ${ref('sourceSelect')}\n id=\"param-source\"\n :value=${sync((x) => x.sourceSelected)}\n class=\"param-source\"\n ?disabled=${(x) => x.sourceType !== PARAM_SOURCE_TYPE_REQ_REP}\n >\n ${repeat(\n (x) => x.reqRepItems,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n `,\n )}\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_DEFINED_GROUP,\n html<ParameterBuilder>`\n <rapid-text-field\n ${ref('sourceTextField')}\n class=\"param-source\"\n placeholder=\"item1,item2,item3\"\n :value=${sync((x) => x.sourceTyped)}\n ></rapid-text-field>\n `,\n )}\n\n <rapid-select id=\"param-type\" :value=${sync((x) => x.type)} class=\"param-type\">\n ${repeat(\n (x) => ALL_PARAM_TYPES,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n <rapid-button appearance=\"icon\" class=\"delete\" @click=${(x) => x.deleteParameter()}>\n <rapid-icon\n style=\"opacity: 0.5\"\n variant=\"regular\"\n name=\"trash-alt\"\n size=\"lg\"\n part=\"icon\"\n ></rapid-icon>\n </rapid-button>\n </div>\n`"
10451
+ }
10452
+ ],
10453
+ "exports": [
10454
+ {
10455
+ "kind": "js",
10456
+ "name": "ParameterBuilderTemplate",
10457
+ "declaration": {
10458
+ "name": "ParameterBuilderTemplate",
10459
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
10460
+ }
10461
+ }
10462
+ ]
10463
+ },
10464
+ {
10465
+ "kind": "javascript-module",
10466
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
10446
10467
  "declarations": [
10447
10468
  {
10448
10469
  "kind": "class",
10449
- "description": "Condition builder for template notification rules.",
10450
- "name": "TemplateConditionBuilder",
10470
+ "description": "Parameter builder for notification templates.",
10471
+ "name": "ParameterBuilder",
10451
10472
  "members": [
10452
10473
  {
10453
10474
  "kind": "field",
10454
- "name": "condition",
10475
+ "name": "parameter",
10455
10476
  "type": {
10456
- "text": "ConditionBuilderEntity"
10477
+ "text": "ParameterBuilderEntity"
10478
+ }
10479
+ },
10480
+ {
10481
+ "kind": "field",
10482
+ "name": "name",
10483
+ "type": {
10484
+ "text": "string"
10485
+ }
10486
+ },
10487
+ {
10488
+ "kind": "field",
10489
+ "name": "label",
10490
+ "type": {
10491
+ "text": "string"
10492
+ }
10493
+ },
10494
+ {
10495
+ "kind": "field",
10496
+ "name": "type",
10497
+ "type": {
10498
+ "text": "string"
10499
+ }
10500
+ },
10501
+ {
10502
+ "kind": "field",
10503
+ "name": "sourceType",
10504
+ "type": {
10505
+ "text": "string"
10506
+ }
10507
+ },
10508
+ {
10509
+ "kind": "field",
10510
+ "name": "sourceSelected",
10511
+ "type": {
10512
+ "text": "string"
10513
+ }
10514
+ },
10515
+ {
10516
+ "kind": "field",
10517
+ "name": "sourceTyped",
10518
+ "type": {
10519
+ "text": "string"
10520
+ }
10521
+ },
10522
+ {
10523
+ "kind": "field",
10524
+ "name": "sourceTextField",
10525
+ "type": {
10526
+ "text": "TextField"
10527
+ }
10528
+ },
10529
+ {
10530
+ "kind": "field",
10531
+ "name": "sourceSelect",
10532
+ "type": {
10533
+ "text": "Select"
10534
+ }
10535
+ },
10536
+ {
10537
+ "kind": "field",
10538
+ "name": "reqRepItems",
10539
+ "type": {
10540
+ "text": "array"
10541
+ },
10542
+ "default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
10543
+ },
10544
+ {
10545
+ "kind": "method",
10546
+ "name": "deleteParameter"
10547
+ },
10548
+ {
10549
+ "kind": "method",
10550
+ "name": "parameterChanged"
10551
+ },
10552
+ {
10553
+ "kind": "method",
10554
+ "name": "nameChanged"
10555
+ },
10556
+ {
10557
+ "kind": "method",
10558
+ "name": "labelChanged"
10559
+ },
10560
+ {
10561
+ "kind": "method",
10562
+ "name": "typeChanged"
10563
+ },
10564
+ {
10565
+ "kind": "method",
10566
+ "name": "sourceTypeChanged"
10567
+ },
10568
+ {
10569
+ "kind": "method",
10570
+ "name": "sourceSelectedChanged"
10571
+ },
10572
+ {
10573
+ "kind": "method",
10574
+ "name": "sourceTypedChanged"
10575
+ },
10576
+ {
10577
+ "kind": "method",
10578
+ "name": "genericChanged",
10579
+ "privacy": "private",
10580
+ "parameters": [
10581
+ {
10582
+ "name": "parameterAttribute"
10583
+ },
10584
+ {
10585
+ "name": "value"
10586
+ }
10587
+ ]
10588
+ }
10589
+ ],
10590
+ "events": [
10591
+ {
10592
+ "description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
10593
+ "name": "delete"
10594
+ },
10595
+ {
10596
+ "description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
10597
+ "name": "edit"
10598
+ }
10599
+ ],
10600
+ "attributes": [
10601
+ {
10602
+ "name": "parameter",
10603
+ "type": {
10604
+ "text": "ParameterBuilderEntity"
10605
+ },
10606
+ "fieldName": "parameter"
10607
+ }
10608
+ ],
10609
+ "superclass": {
10610
+ "name": "GenesisElement",
10611
+ "package": "@genesislcap/web-core"
10612
+ },
10613
+ "tagName": "parameter-builder",
10614
+ "customElement": true
10615
+ }
10616
+ ],
10617
+ "exports": [
10618
+ {
10619
+ "kind": "js",
10620
+ "name": "ParameterBuilder",
10621
+ "declaration": {
10622
+ "name": "ParameterBuilder",
10623
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
10624
+ }
10625
+ },
10626
+ {
10627
+ "kind": "custom-element-definition",
10628
+ "name": "parameter-builder",
10629
+ "declaration": {
10630
+ "name": "ParameterBuilder",
10631
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
10632
+ }
10633
+ }
10634
+ ]
10635
+ },
10636
+ {
10637
+ "kind": "javascript-module",
10638
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts",
10639
+ "declarations": [
10640
+ {
10641
+ "kind": "variable",
10642
+ "name": "TemplateConditionBuilderTemplate",
10643
+ "default": "html<TemplateConditionBuilder>`\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-builder\">\n <rapid-select\n :value=${sync((x) => x.leftValue)}\n :initialValue=${sync((x) => x.leftValue)}\n class=\"left-value\"\n >\n ${repeat(\n (x) => x.leftValueItems,\n html<Field>`\n <rapid-option value=${(x) => JSON.stringify(x)}>${(x) => x.FIELD_NAME}</rapid-option>\n `,\n )}\n </rapid-select>\n\n <rapid-select\n class=\"logical-operator${(x) =>\n classNames([\n '-null-and-blank',\n nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n ])}\"\n :value=${sync((x) => x.logicalOperator)}\n >\n ${repeat(\n (_) => Object.values(LogicalOperator),\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => !nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n html`\n <rapid-select class=\"right-criteria\" :value=${sync((x) => x.rightCriteria)}>\n ${repeat(\n (x) => x.rightCriteriaOptions,\n html`\n <rapid-option value=${(x) => x}>${(x) => rightCriteriaLabel(x)}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.rightCriteria === RightCriteria.VALUE,\n html<TemplateConditionBuilder>`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.BOOLEAN,\n html`\n <rapid-select class=\"right-criteria-select\" :value=${sync((x) => x.rightValueText)}>\n <rapid-option value=\"true\">true</rapid-option>\n <rapid-option value=\"false\">false</rapid-option>\n </rapid-select>\n `,\n html`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === 'ENUM',\n html`\n <rapid-multiselect\n class=\"right-criteria-select\"\n :selectedOptions=${(x) => x.rightValueMultiSelect}\n @selectionChange=${(x, c) => {\n x.rightValueMultiSelect = (c.event as CustomEvent).detail;\n }}\n search=\"true\"\n all=\"false\"\n >\n <multiselect-datasource\n value-field=\"value\"\n label-field=\"value\"\n :data=${(x) => x.getEnumValues().map((value) => ({ value }))}\n ></multiselect-datasource>\n </rapid-multiselect>\n `,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n placeholder=\"Value (comma-separate for multiple)\"\n autocomplete=\"off\"\n ></rapid-text-field>\n `,\n )}\n `,\n )}\n `,\n )}\n ${when(\n (x) => x.rightCriteria === RightCriteria.USER_ENTRY,\n html<TemplateConditionBuilder>`\n <rapid-select class=\"right-criteria-select\" :value=${sync((x) => x.rightValueSelect)}>\n ${(x) => rightValueItemsOptions(x.rightValueItems)}\n </rapid-select>\n `,\n )}\n `,\n )}\n\n <rapid-button appearance=\"icon\" class=\"delete\" @click=${(x) => x.deleteCondition()}>\n <rapid-icon\n style=\"opacity: 0.5\"\n variant=\"regular\"\n name=\"trash-alt\"\n size=\"lg\"\n part=\"icon\"\n ></rapid-icon>\n </rapid-button>\n </div>\n`"
10644
+ }
10645
+ ],
10646
+ "exports": [
10647
+ {
10648
+ "kind": "js",
10649
+ "name": "TemplateConditionBuilderTemplate",
10650
+ "declaration": {
10651
+ "name": "TemplateConditionBuilderTemplate",
10652
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts"
10653
+ }
10654
+ }
10655
+ ]
10656
+ },
10657
+ {
10658
+ "kind": "javascript-module",
10659
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts",
10660
+ "declarations": [
10661
+ {
10662
+ "kind": "class",
10663
+ "description": "Condition builder for template notification rules.",
10664
+ "name": "TemplateConditionBuilder",
10665
+ "members": [
10666
+ {
10667
+ "kind": "field",
10668
+ "name": "condition",
10669
+ "type": {
10670
+ "text": "ConditionBuilderEntity"
10457
10671
  }
10458
10672
  },
10459
10673
  {
@@ -10703,220 +10917,6 @@
10703
10917
  }
10704
10918
  ]
10705
10919
  },
10706
- {
10707
- "kind": "javascript-module",
10708
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
10709
- "declarations": [
10710
- {
10711
- "kind": "variable",
10712
- "name": "ParameterBuilderStyles",
10713
- "default": "css`\n .parameter-builder {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n margin-bottom: calc(var(--design-unit) * 2px);\n }\n\n rapid-button {\n margin: 0;\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.param-type::part(control) {\n width: 115px;\n }\n\n rapid-select.param-source-type::part(control) {\n width: 160px;\n }\n\n rapid-select.param-source::part(control) {\n width: ${PARAM_SOURCE_WIDTH}px;\n }\n\n rapid-text-field.param-source::part(root) {\n width: calc(${PARAM_SOURCE_WIDTH}px + 2px);\n }\n\n rapid-select::part(listbox) {\n max-height: 160px;\n }\n`"
10714
- }
10715
- ],
10716
- "exports": [
10717
- {
10718
- "kind": "js",
10719
- "name": "ParameterBuilderStyles",
10720
- "declaration": {
10721
- "name": "ParameterBuilderStyles",
10722
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
10723
- }
10724
- }
10725
- ]
10726
- },
10727
- {
10728
- "kind": "javascript-module",
10729
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
10730
- "declarations": [
10731
- {
10732
- "kind": "variable",
10733
- "name": "ParameterBuilderTemplate",
10734
- "default": "html<ParameterBuilder>`\n <div class=\"parameter-builder\">\n <rapid-text-field\n id=\"param-name\"\n placeholder=\"Name\"\n :value=${sync((x) => x.name)}\n ></rapid-text-field>\n\n <rapid-text-field\n id=\"param-label\"\n placeholder=\"Label\"\n :value=${sync((x) => x.label)}\n ></rapid-text-field>\n\n <rapid-select\n id=\"param-source-type\"\n :value=${sync((x) => x.sourceType)}\n class=\"param-source-type\"\n >\n ${repeat(\n (x) => ALL_PARAM_SOURCE_TYPES,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_USER_TEXT,\n html<ParameterBuilder>`\n <rapid-text-field class=\"param-source\" disabled></rapid-text-field>\n `,\n )}\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_REQ_REP,\n html<ParameterBuilder>`\n <rapid-select\n ${ref('sourceSelect')}\n id=\"param-source\"\n :value=${sync((x) => x.sourceSelected)}\n class=\"param-source\"\n ?disabled=${(x) => x.sourceType !== PARAM_SOURCE_TYPE_REQ_REP}\n >\n ${repeat(\n (x) => x.reqRepItems,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n `,\n )}\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_DEFINED_GROUP,\n html<ParameterBuilder>`\n <rapid-text-field\n ${ref('sourceTextField')}\n class=\"param-source\"\n placeholder=\"item1,item2,item3\"\n :value=${sync((x) => x.sourceTyped)}\n ></rapid-text-field>\n `,\n )}\n\n <rapid-select id=\"param-type\" :value=${sync((x) => x.type)} class=\"param-type\">\n ${repeat(\n (x) => ALL_PARAM_TYPES,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n <rapid-button appearance=\"icon\" class=\"delete\" @click=${(x) => x.deleteParameter()}>\n <rapid-icon\n style=\"opacity: 0.5\"\n variant=\"regular\"\n name=\"trash-alt\"\n size=\"lg\"\n part=\"icon\"\n ></rapid-icon>\n </rapid-button>\n </div>\n`"
10735
- }
10736
- ],
10737
- "exports": [
10738
- {
10739
- "kind": "js",
10740
- "name": "ParameterBuilderTemplate",
10741
- "declaration": {
10742
- "name": "ParameterBuilderTemplate",
10743
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
10744
- }
10745
- }
10746
- ]
10747
- },
10748
- {
10749
- "kind": "javascript-module",
10750
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
10751
- "declarations": [
10752
- {
10753
- "kind": "class",
10754
- "description": "Parameter builder for notification templates.",
10755
- "name": "ParameterBuilder",
10756
- "members": [
10757
- {
10758
- "kind": "field",
10759
- "name": "parameter",
10760
- "type": {
10761
- "text": "ParameterBuilderEntity"
10762
- }
10763
- },
10764
- {
10765
- "kind": "field",
10766
- "name": "name",
10767
- "type": {
10768
- "text": "string"
10769
- }
10770
- },
10771
- {
10772
- "kind": "field",
10773
- "name": "label",
10774
- "type": {
10775
- "text": "string"
10776
- }
10777
- },
10778
- {
10779
- "kind": "field",
10780
- "name": "type",
10781
- "type": {
10782
- "text": "string"
10783
- }
10784
- },
10785
- {
10786
- "kind": "field",
10787
- "name": "sourceType",
10788
- "type": {
10789
- "text": "string"
10790
- }
10791
- },
10792
- {
10793
- "kind": "field",
10794
- "name": "sourceSelected",
10795
- "type": {
10796
- "text": "string"
10797
- }
10798
- },
10799
- {
10800
- "kind": "field",
10801
- "name": "sourceTyped",
10802
- "type": {
10803
- "text": "string"
10804
- }
10805
- },
10806
- {
10807
- "kind": "field",
10808
- "name": "sourceTextField",
10809
- "type": {
10810
- "text": "TextField"
10811
- }
10812
- },
10813
- {
10814
- "kind": "field",
10815
- "name": "sourceSelect",
10816
- "type": {
10817
- "text": "Select"
10818
- }
10819
- },
10820
- {
10821
- "kind": "field",
10822
- "name": "reqRepItems",
10823
- "type": {
10824
- "text": "array"
10825
- },
10826
- "default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
10827
- },
10828
- {
10829
- "kind": "method",
10830
- "name": "deleteParameter"
10831
- },
10832
- {
10833
- "kind": "method",
10834
- "name": "parameterChanged"
10835
- },
10836
- {
10837
- "kind": "method",
10838
- "name": "nameChanged"
10839
- },
10840
- {
10841
- "kind": "method",
10842
- "name": "labelChanged"
10843
- },
10844
- {
10845
- "kind": "method",
10846
- "name": "typeChanged"
10847
- },
10848
- {
10849
- "kind": "method",
10850
- "name": "sourceTypeChanged"
10851
- },
10852
- {
10853
- "kind": "method",
10854
- "name": "sourceSelectedChanged"
10855
- },
10856
- {
10857
- "kind": "method",
10858
- "name": "sourceTypedChanged"
10859
- },
10860
- {
10861
- "kind": "method",
10862
- "name": "genericChanged",
10863
- "privacy": "private",
10864
- "parameters": [
10865
- {
10866
- "name": "parameterAttribute"
10867
- },
10868
- {
10869
- "name": "value"
10870
- }
10871
- ]
10872
- }
10873
- ],
10874
- "events": [
10875
- {
10876
- "description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
10877
- "name": "delete"
10878
- },
10879
- {
10880
- "description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
10881
- "name": "edit"
10882
- }
10883
- ],
10884
- "attributes": [
10885
- {
10886
- "name": "parameter",
10887
- "type": {
10888
- "text": "ParameterBuilderEntity"
10889
- },
10890
- "fieldName": "parameter"
10891
- }
10892
- ],
10893
- "superclass": {
10894
- "name": "GenesisElement",
10895
- "package": "@genesislcap/web-core"
10896
- },
10897
- "tagName": "parameter-builder",
10898
- "customElement": true
10899
- }
10900
- ],
10901
- "exports": [
10902
- {
10903
- "kind": "js",
10904
- "name": "ParameterBuilder",
10905
- "declaration": {
10906
- "name": "ParameterBuilder",
10907
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
10908
- }
10909
- },
10910
- {
10911
- "kind": "custom-element-definition",
10912
- "name": "parameter-builder",
10913
- "declaration": {
10914
- "name": "ParameterBuilder",
10915
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
10916
- }
10917
- }
10918
- ]
10919
- },
10920
10920
  {
10921
10921
  "kind": "javascript-module",
10922
10922
  "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
@@ -135,23 +135,23 @@ export declare const InboxSubscription: React.ForwardRefExoticComponent<
135
135
  >;
136
136
  export type InboxSubscriptionRef = InboxSubscriptionWC;
137
137
 
138
- export declare const RouteManagement: React.ForwardRefExoticComponent<
138
+ export declare const NotifyAuditManagement: React.ForwardRefExoticComponent<
139
139
  React.PropsWithChildren<
140
- Omit<PublicOf<RouteManagementWC>, 'children' | 'style'> &
140
+ Omit<PublicOf<NotifyAuditManagementWC>, 'children' | 'style'> &
141
141
  HTMLWCProps & {
142
142
  }
143
- > & React.RefAttributes<RouteManagementWC>
143
+ > & React.RefAttributes<NotifyAuditManagementWC>
144
144
  >;
145
- export type RouteManagementRef = RouteManagementWC;
145
+ export type NotifyAuditManagementRef = NotifyAuditManagementWC;
146
146
 
147
- export declare const NotifyAuditManagement: React.ForwardRefExoticComponent<
147
+ export declare const RouteManagement: React.ForwardRefExoticComponent<
148
148
  React.PropsWithChildren<
149
- Omit<PublicOf<NotifyAuditManagementWC>, 'children' | 'style'> &
149
+ Omit<PublicOf<RouteManagementWC>, 'children' | 'style'> &
150
150
  HTMLWCProps & {
151
151
  }
152
- > & React.RefAttributes<NotifyAuditManagementWC>
152
+ > & React.RefAttributes<RouteManagementWC>
153
153
  >;
154
- export type NotifyAuditManagementRef = NotifyAuditManagementWC;
154
+ export type RouteManagementRef = RouteManagementWC;
155
155
 
156
156
  export declare const RuleManagement: React.ForwardRefExoticComponent<
157
157
  React.PropsWithChildren<
@@ -277,17 +277,6 @@ export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
277
277
  >;
278
278
  export type RuleConditionGroupRef = RuleConditionGroupWC;
279
279
 
280
- export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
281
- React.PropsWithChildren<
282
- Omit<PublicOf<TemplateConditionBuilderWC>, 'children' | 'style'> &
283
- HTMLWCProps & {
284
- onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
285
- onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
286
- }
287
- > & React.RefAttributes<TemplateConditionBuilderWC>
288
- >;
289
- export type TemplateConditionBuilderRef = TemplateConditionBuilderWC;
290
-
291
280
  export declare const ParameterBuilder: React.ForwardRefExoticComponent<
292
281
  React.PropsWithChildren<
293
282
  Omit<PublicOf<ParameterBuilderWC>, 'children' | 'style'> &
@@ -299,6 +288,17 @@ export declare const ParameterBuilder: React.ForwardRefExoticComponent<
299
288
  >;
300
289
  export type ParameterBuilderRef = ParameterBuilderWC;
301
290
 
291
+ export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
292
+ React.PropsWithChildren<
293
+ Omit<PublicOf<TemplateConditionBuilderWC>, 'children' | 'style'> &
294
+ HTMLWCProps & {
295
+ onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
296
+ onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
297
+ }
298
+ > & React.RefAttributes<TemplateConditionBuilderWC>
299
+ >;
300
+ export type TemplateConditionBuilderRef = TemplateConditionBuilderWC;
301
+
302
302
  export declare const TemplateConditionGroup: React.ForwardRefExoticComponent<
303
303
  React.PropsWithChildren<
304
304
  Omit<PublicOf<TemplateConditionGroupWC>, 'children' | 'style'> &
package/dist/react.cjs CHANGED
@@ -99,14 +99,14 @@ const InboxSubscription = React.forwardRef(function InboxSubscription(props, ref
99
99
  return React.createElement(customElements.getName(InboxSubscriptionWC) ?? 'inbox-subscription', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
100
100
  });
101
101
 
102
- const RouteManagement = React.forwardRef(function RouteManagement(props, ref) {
102
+ const NotifyAuditManagement = React.forwardRef(function NotifyAuditManagement(props, ref) {
103
103
  const { children, ...rest } = props;
104
- return React.createElement(customElements.getName(RouteManagementWC) ?? 'route-management', { ...rest, ref }, children);
104
+ return React.createElement(customElements.getName(NotifyAuditManagementWC) ?? 'notify-audit-management', { ...rest, ref }, children);
105
105
  });
106
106
 
107
- const NotifyAuditManagement = React.forwardRef(function NotifyAuditManagement(props, ref) {
107
+ const RouteManagement = React.forwardRef(function RouteManagement(props, ref) {
108
108
  const { children, ...rest } = props;
109
- return React.createElement(customElements.getName(NotifyAuditManagementWC) ?? 'notify-audit-management', { ...rest, ref }, children);
109
+ return React.createElement(customElements.getName(RouteManagementWC) ?? 'route-management', { ...rest, ref }, children);
110
110
  });
111
111
 
112
112
  const RuleManagement = React.forwardRef(function RuleManagement(props, ref) {
@@ -244,7 +244,7 @@ const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, r
244
244
  return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
245
245
  });
246
246
 
247
- const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
247
+ const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
248
248
  const { onDelete, onEdit, children, ...rest } = props;
249
249
  const _innerRef = React.useRef(null);
250
250
  const _onDeleteRef = React.useRef(onDelete);
@@ -263,10 +263,10 @@ const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuil
263
263
  el.removeEventListener('edit', _onEditFn);
264
264
  };
265
265
  }, []);
266
- return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
266
+ return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
267
267
  });
268
268
 
269
- const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
269
+ const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
270
270
  const { onDelete, onEdit, children, ...rest } = props;
271
271
  const _innerRef = React.useRef(null);
272
272
  const _onDeleteRef = React.useRef(onDelete);
@@ -285,7 +285,7 @@ const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref)
285
285
  el.removeEventListener('edit', _onEditFn);
286
286
  };
287
287
  }, []);
288
- return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
288
+ return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
289
289
  });
290
290
 
291
291
  const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
@@ -319,8 +319,8 @@ module.exports = {
319
319
  FoundationInboxCounter,
320
320
  FoundationInboxFlyout,
321
321
  InboxSubscription,
322
- RouteManagement,
323
322
  NotifyAuditManagement,
323
+ RouteManagement,
324
324
  RuleManagement,
325
325
  TemplateManagement,
326
326
  RuleParameter,
@@ -334,7 +334,7 @@ module.exports = {
334
334
  TemplateDialog,
335
335
  RuleConditionBuilder,
336
336
  RuleConditionGroup,
337
- TemplateConditionBuilder,
338
337
  ParameterBuilder,
338
+ TemplateConditionBuilder,
339
339
  TemplateConditionGroup,
340
340
  };
package/dist/react.mjs CHANGED
@@ -97,14 +97,14 @@ export const InboxSubscription = React.forwardRef(function InboxSubscription(pro
97
97
  return React.createElement(customElements.getName(InboxSubscriptionWC) ?? 'inbox-subscription', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
98
98
  });
99
99
 
100
- export const RouteManagement = React.forwardRef(function RouteManagement(props, ref) {
100
+ export const NotifyAuditManagement = React.forwardRef(function NotifyAuditManagement(props, ref) {
101
101
  const { children, ...rest } = props;
102
- return React.createElement(customElements.getName(RouteManagementWC) ?? 'route-management', { ...rest, ref }, children);
102
+ return React.createElement(customElements.getName(NotifyAuditManagementWC) ?? 'notify-audit-management', { ...rest, ref }, children);
103
103
  });
104
104
 
105
- export const NotifyAuditManagement = React.forwardRef(function NotifyAuditManagement(props, ref) {
105
+ export const RouteManagement = React.forwardRef(function RouteManagement(props, ref) {
106
106
  const { children, ...rest } = props;
107
- return React.createElement(customElements.getName(NotifyAuditManagementWC) ?? 'notify-audit-management', { ...rest, ref }, children);
107
+ return React.createElement(customElements.getName(RouteManagementWC) ?? 'route-management', { ...rest, ref }, children);
108
108
  });
109
109
 
110
110
  export const RuleManagement = React.forwardRef(function RuleManagement(props, ref) {
@@ -242,7 +242,7 @@ export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(p
242
242
  return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
243
243
  });
244
244
 
245
- export const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
245
+ export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
246
246
  const { onDelete, onEdit, children, ...rest } = props;
247
247
  const _innerRef = React.useRef(null);
248
248
  const _onDeleteRef = React.useRef(onDelete);
@@ -261,10 +261,10 @@ export const TemplateConditionBuilder = React.forwardRef(function TemplateCondit
261
261
  el.removeEventListener('edit', _onEditFn);
262
262
  };
263
263
  }, []);
264
- return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
264
+ return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
265
265
  });
266
266
 
267
- export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
267
+ export const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
268
268
  const { onDelete, onEdit, children, ...rest } = props;
269
269
  const _innerRef = React.useRef(null);
270
270
  const _onDeleteRef = React.useRef(onDelete);
@@ -283,7 +283,7 @@ export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props
283
283
  el.removeEventListener('edit', _onEditFn);
284
284
  };
285
285
  }, []);
286
- return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
286
+ return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
287
287
  });
288
288
 
289
289
  export const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/pbc-notify-ui",
3
3
  "description": "Genesis PBC Notify UI",
4
- "version": "15.68.1",
4
+ "version": "15.69.0",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "workspaces": [
7
7
  "client"
@@ -80,30 +80,30 @@
80
80
  "@commitlint/cli": "^19.2.1",
81
81
  "@commitlint/config-conventional": "^19.1.0",
82
82
  "@commitlint/format": "^19.0.3",
83
- "@genesislcap/design-system-configurator": "15.68.1",
84
- "@genesislcap/eslint-config": "15.68.1",
85
- "@genesislcap/eslint-stylelint-builder": "15.68.1",
86
- "@genesislcap/foundation-testing": "15.68.1",
87
- "@genesislcap/genx": "15.68.1",
88
- "@genesislcap/prettier-config": "15.68.1",
89
- "@genesislcap/stylelint-config": "15.68.1",
90
- "@genesislcap/vite-builder": "15.68.1",
91
- "@genesislcap/webpack-builder": "15.68.1",
83
+ "@genesislcap/design-system-configurator": "15.69.0",
84
+ "@genesislcap/eslint-config": "15.69.0",
85
+ "@genesislcap/eslint-stylelint-builder": "15.69.0",
86
+ "@genesislcap/foundation-testing": "15.69.0",
87
+ "@genesislcap/genx": "15.69.0",
88
+ "@genesislcap/prettier-config": "15.69.0",
89
+ "@genesislcap/stylelint-config": "15.69.0",
90
+ "@genesislcap/vite-builder": "15.69.0",
91
+ "@genesislcap/webpack-builder": "15.69.0",
92
92
  "dayjs": "^1.11.7"
93
93
  },
94
94
  "dependencies": {
95
- "@genesislcap/foundation-comms": "15.68.1",
96
- "@genesislcap/foundation-criteria": "15.68.1",
97
- "@genesislcap/foundation-entity-management": "15.68.1",
98
- "@genesislcap/foundation-forms": "15.68.1",
99
- "@genesislcap/foundation-layout": "15.68.1",
100
- "@genesislcap/foundation-logger": "15.68.1",
101
- "@genesislcap/foundation-notifications": "15.68.1",
102
- "@genesislcap/foundation-ui": "15.68.1",
103
- "@genesislcap/foundation-utils": "15.68.1",
104
- "@genesislcap/rapid-design-system": "15.68.1",
105
- "@genesislcap/rapid-grid-pro": "15.68.1",
106
- "@genesislcap/web-core": "15.68.1",
95
+ "@genesislcap/foundation-comms": "15.69.0",
96
+ "@genesislcap/foundation-criteria": "15.69.0",
97
+ "@genesislcap/foundation-entity-management": "15.69.0",
98
+ "@genesislcap/foundation-forms": "15.69.0",
99
+ "@genesislcap/foundation-layout": "15.69.0",
100
+ "@genesislcap/foundation-logger": "15.69.0",
101
+ "@genesislcap/foundation-notifications": "15.69.0",
102
+ "@genesislcap/foundation-ui": "15.69.0",
103
+ "@genesislcap/foundation-utils": "15.69.0",
104
+ "@genesislcap/rapid-design-system": "15.69.0",
105
+ "@genesislcap/rapid-grid-pro": "15.69.0",
106
+ "@genesislcap/web-core": "15.69.0",
107
107
  "lodash.debounce": "^4.0.8",
108
108
  "rxjs": "^7.5.4"
109
109
  },