@genesislcap/pbc-notify-ui 15.25.1 → 15.27.0-FUI-2617.1

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.
@@ -5061,6 +5061,220 @@
5061
5061
  }
5062
5062
  ]
5063
5063
  },
5064
+ {
5065
+ "kind": "javascript-module",
5066
+ "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts",
5067
+ "declarations": [
5068
+ {
5069
+ "kind": "variable",
5070
+ "name": "InboxSubscriptionStyles",
5071
+ "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`"
5072
+ }
5073
+ ],
5074
+ "exports": [
5075
+ {
5076
+ "kind": "js",
5077
+ "name": "InboxSubscriptionStyles",
5078
+ "declaration": {
5079
+ "name": "InboxSubscriptionStyles",
5080
+ "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts"
5081
+ }
5082
+ }
5083
+ ]
5084
+ },
5085
+ {
5086
+ "kind": "javascript-module",
5087
+ "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts",
5088
+ "declarations": [
5089
+ {
5090
+ "kind": "variable",
5091
+ "name": "InboxSubscriptionTemplate",
5092
+ "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) => Object.values(x.template?.PARAMETERS ?? {}).length === 0,\n html`\n <p class=\"inbox-subscription-empty\">The selected template doesn't have parameters.</p>\n `,\n )}\n ${when(\n (x) => Object.values(x.template?.PARAMETERS ?? {}).length > 0,\n html`\n <div class=\"inbox-subscription-content\">\n ${repeat(\n // @ts-ignore\n (x) => Object.values(x.template?.PARAMETERS ?? {}),\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`"
5093
+ }
5094
+ ],
5095
+ "exports": [
5096
+ {
5097
+ "kind": "js",
5098
+ "name": "InboxSubscriptionTemplate",
5099
+ "declaration": {
5100
+ "name": "InboxSubscriptionTemplate",
5101
+ "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts"
5102
+ }
5103
+ }
5104
+ ]
5105
+ },
5106
+ {
5107
+ "kind": "javascript-module",
5108
+ "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts",
5109
+ "declarations": [
5110
+ {
5111
+ "kind": "class",
5112
+ "description": "Inbox subscription configuration UI.",
5113
+ "name": "InboxSubscription",
5114
+ "members": [
5115
+ {
5116
+ "kind": "field",
5117
+ "name": "template"
5118
+ },
5119
+ {
5120
+ "kind": "field",
5121
+ "name": "inline",
5122
+ "type": {
5123
+ "text": "boolean"
5124
+ },
5125
+ "default": "false"
5126
+ },
5127
+ {
5128
+ "kind": "field",
5129
+ "name": "parametersDetails",
5130
+ "type": {
5131
+ "text": "object"
5132
+ },
5133
+ "privacy": "private",
5134
+ "default": "{}"
5135
+ },
5136
+ {
5137
+ "kind": "field",
5138
+ "name": "isSubmitting",
5139
+ "type": {
5140
+ "text": "boolean"
5141
+ },
5142
+ "privacy": "private",
5143
+ "default": "false"
5144
+ },
5145
+ {
5146
+ "kind": "field",
5147
+ "name": "parametersOperators",
5148
+ "type": {
5149
+ "text": "object"
5150
+ },
5151
+ "default": "{}"
5152
+ },
5153
+ {
5154
+ "kind": "field",
5155
+ "name": "subscribeDisabled",
5156
+ "type": {
5157
+ "text": "boolean"
5158
+ },
5159
+ "default": "true"
5160
+ },
5161
+ {
5162
+ "kind": "field",
5163
+ "name": "ruleService",
5164
+ "type": {
5165
+ "text": "RuleService"
5166
+ }
5167
+ },
5168
+ {
5169
+ "kind": "method",
5170
+ "name": "templateChanged"
5171
+ },
5172
+ {
5173
+ "kind": "method",
5174
+ "name": "usesAutoSubmit",
5175
+ "return": {
5176
+ "type": {
5177
+ "text": "boolean"
5178
+ }
5179
+ }
5180
+ },
5181
+ {
5182
+ "kind": "method",
5183
+ "name": "requiresManualSubscribe",
5184
+ "return": {
5185
+ "type": {
5186
+ "text": "boolean"
5187
+ }
5188
+ }
5189
+ },
5190
+ {
5191
+ "kind": "method",
5192
+ "name": "parameterEdit",
5193
+ "parameters": [
5194
+ {
5195
+ "name": "value",
5196
+ "type": {
5197
+ "text": "any"
5198
+ }
5199
+ }
5200
+ ]
5201
+ },
5202
+ {
5203
+ "kind": "method",
5204
+ "name": "autoSubscribe",
5205
+ "privacy": "private"
5206
+ },
5207
+ {
5208
+ "kind": "method",
5209
+ "name": "verifySubscribe"
5210
+ },
5211
+ {
5212
+ "kind": "field",
5213
+ "name": "isFirstElement"
5214
+ },
5215
+ {
5216
+ "kind": "method",
5217
+ "name": "subscribeTemplate"
5218
+ },
5219
+ {
5220
+ "kind": "method",
5221
+ "name": "cancelSubscribe"
5222
+ },
5223
+ {
5224
+ "kind": "field",
5225
+ "name": "createParametersOperatorMap"
5226
+ }
5227
+ ],
5228
+ "events": [
5229
+ {
5230
+ "description": "Fired when a template subscription is created",
5231
+ "name": "templateSubscribed"
5232
+ },
5233
+ {
5234
+ "description": "Fired when inline parameter entry is cancelled",
5235
+ "name": "subscribeCancelled"
5236
+ }
5237
+ ],
5238
+ "attributes": [
5239
+ {
5240
+ "name": "template",
5241
+ "fieldName": "template"
5242
+ },
5243
+ {
5244
+ "type": {
5245
+ "text": "boolean"
5246
+ },
5247
+ "default": "false",
5248
+ "fieldName": "inline"
5249
+ }
5250
+ ],
5251
+ "superclass": {
5252
+ "name": "GenesisElement",
5253
+ "package": "@genesislcap/web-core"
5254
+ },
5255
+ "tagName": "inbox-subscription",
5256
+ "customElement": true
5257
+ }
5258
+ ],
5259
+ "exports": [
5260
+ {
5261
+ "kind": "js",
5262
+ "name": "InboxSubscription",
5263
+ "declaration": {
5264
+ "name": "InboxSubscription",
5265
+ "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
5266
+ }
5267
+ },
5268
+ {
5269
+ "kind": "custom-element-definition",
5270
+ "name": "inbox-subscription",
5271
+ "declaration": {
5272
+ "name": "InboxSubscription",
5273
+ "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
5274
+ }
5275
+ }
5276
+ ]
5277
+ },
5064
5278
  {
5065
5279
  "kind": "javascript-module",
5066
5280
  "path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts",
@@ -6175,232 +6389,53 @@
6175
6389
  },
6176
6390
  {
6177
6391
  "kind": "javascript-module",
6178
- "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts",
6392
+ "path": "src/components/foundation-notification-dashboard/components/routes/route-management.ts",
6179
6393
  "declarations": [
6180
6394
  {
6181
- "kind": "variable",
6182
- "name": "InboxSubscriptionStyles",
6183
- "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`"
6395
+ "kind": "class",
6396
+ "description": "",
6397
+ "name": "RouteManagement",
6398
+ "superclass": {
6399
+ "name": "GenesisElement",
6400
+ "package": "@genesislcap/web-core"
6401
+ },
6402
+ "tagName": "route-management",
6403
+ "customElement": true
6184
6404
  }
6185
6405
  ],
6186
6406
  "exports": [
6187
6407
  {
6188
6408
  "kind": "js",
6189
- "name": "InboxSubscriptionStyles",
6409
+ "name": "RouteManagement",
6190
6410
  "declaration": {
6191
- "name": "InboxSubscriptionStyles",
6192
- "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts"
6411
+ "name": "RouteManagement",
6412
+ "module": "src/components/foundation-notification-dashboard/components/routes/route-management.ts"
6413
+ }
6414
+ },
6415
+ {
6416
+ "kind": "custom-element-definition",
6417
+ "name": "route-management",
6418
+ "declaration": {
6419
+ "name": "RouteManagement",
6420
+ "module": "src/components/foundation-notification-dashboard/components/routes/route-management.ts"
6193
6421
  }
6194
6422
  }
6195
6423
  ]
6196
6424
  },
6197
6425
  {
6198
6426
  "kind": "javascript-module",
6199
- "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts",
6427
+ "path": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts",
6200
6428
  "declarations": [
6201
6429
  {
6202
- "kind": "variable",
6203
- "name": "InboxSubscriptionTemplate",
6204
- "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) => Object.values(x.template?.PARAMETERS ?? {}).length === 0,\n html`\n <p class=\"inbox-subscription-empty\">The selected template doesn't have parameters.</p>\n `,\n )}\n ${when(\n (x) => Object.values(x.template?.PARAMETERS ?? {}).length > 0,\n html`\n <div class=\"inbox-subscription-content\">\n ${repeat(\n // @ts-ignore\n (x) => Object.values(x.template?.PARAMETERS ?? {}),\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`"
6205
- }
6206
- ],
6207
- "exports": [
6208
- {
6209
- "kind": "js",
6210
- "name": "InboxSubscriptionTemplate",
6211
- "declaration": {
6212
- "name": "InboxSubscriptionTemplate",
6213
- "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts"
6214
- }
6215
- }
6216
- ]
6217
- },
6218
- {
6219
- "kind": "javascript-module",
6220
- "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts",
6221
- "declarations": [
6222
- {
6223
- "kind": "class",
6224
- "description": "Inbox subscription configuration UI.",
6225
- "name": "InboxSubscription",
6226
- "members": [
6227
- {
6228
- "kind": "field",
6229
- "name": "template"
6230
- },
6231
- {
6232
- "kind": "field",
6233
- "name": "inline",
6234
- "type": {
6235
- "text": "boolean"
6236
- },
6237
- "default": "false"
6238
- },
6239
- {
6240
- "kind": "field",
6241
- "name": "parametersDetails",
6242
- "type": {
6243
- "text": "object"
6244
- },
6245
- "privacy": "private",
6246
- "default": "{}"
6247
- },
6248
- {
6249
- "kind": "field",
6250
- "name": "isSubmitting",
6251
- "type": {
6252
- "text": "boolean"
6253
- },
6254
- "privacy": "private",
6255
- "default": "false"
6256
- },
6257
- {
6258
- "kind": "field",
6259
- "name": "parametersOperators",
6260
- "type": {
6261
- "text": "object"
6262
- },
6263
- "default": "{}"
6264
- },
6265
- {
6266
- "kind": "field",
6267
- "name": "subscribeDisabled",
6268
- "type": {
6269
- "text": "boolean"
6270
- },
6271
- "default": "true"
6272
- },
6273
- {
6274
- "kind": "field",
6275
- "name": "ruleService",
6276
- "type": {
6277
- "text": "RuleService"
6278
- }
6279
- },
6280
- {
6281
- "kind": "method",
6282
- "name": "templateChanged"
6283
- },
6284
- {
6285
- "kind": "method",
6286
- "name": "usesAutoSubmit",
6287
- "return": {
6288
- "type": {
6289
- "text": "boolean"
6290
- }
6291
- }
6292
- },
6293
- {
6294
- "kind": "method",
6295
- "name": "requiresManualSubscribe",
6296
- "return": {
6297
- "type": {
6298
- "text": "boolean"
6299
- }
6300
- }
6301
- },
6302
- {
6303
- "kind": "method",
6304
- "name": "parameterEdit",
6305
- "parameters": [
6306
- {
6307
- "name": "value",
6308
- "type": {
6309
- "text": "any"
6310
- }
6311
- }
6312
- ]
6313
- },
6314
- {
6315
- "kind": "method",
6316
- "name": "autoSubscribe",
6317
- "privacy": "private"
6318
- },
6319
- {
6320
- "kind": "method",
6321
- "name": "verifySubscribe"
6322
- },
6323
- {
6324
- "kind": "field",
6325
- "name": "isFirstElement"
6326
- },
6327
- {
6328
- "kind": "method",
6329
- "name": "subscribeTemplate"
6330
- },
6331
- {
6332
- "kind": "method",
6333
- "name": "cancelSubscribe"
6334
- },
6335
- {
6336
- "kind": "field",
6337
- "name": "createParametersOperatorMap"
6338
- }
6339
- ],
6340
- "events": [
6341
- {
6342
- "description": "Fired when a template subscription is created",
6343
- "name": "templateSubscribed"
6344
- },
6345
- {
6346
- "description": "Fired when inline parameter entry is cancelled",
6347
- "name": "subscribeCancelled"
6348
- }
6349
- ],
6350
- "attributes": [
6351
- {
6352
- "name": "template",
6353
- "fieldName": "template"
6354
- },
6355
- {
6356
- "type": {
6357
- "text": "boolean"
6358
- },
6359
- "default": "false",
6360
- "fieldName": "inline"
6361
- }
6362
- ],
6363
- "superclass": {
6364
- "name": "GenesisElement",
6365
- "package": "@genesislcap/web-core"
6366
- },
6367
- "tagName": "inbox-subscription",
6368
- "customElement": true
6369
- }
6370
- ],
6371
- "exports": [
6372
- {
6373
- "kind": "js",
6374
- "name": "InboxSubscription",
6375
- "declaration": {
6376
- "name": "InboxSubscription",
6377
- "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
6378
- }
6379
- },
6380
- {
6381
- "kind": "custom-element-definition",
6382
- "name": "inbox-subscription",
6383
- "declaration": {
6384
- "name": "InboxSubscription",
6385
- "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
6386
- }
6387
- }
6388
- ]
6389
- },
6390
- {
6391
- "kind": "javascript-module",
6392
- "path": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts",
6393
- "declarations": [
6394
- {
6395
- "kind": "class",
6396
- "description": "",
6397
- "name": "NotifyAuditManagement",
6398
- "superclass": {
6399
- "name": "GenesisElement",
6400
- "package": "@genesislcap/web-core"
6401
- },
6402
- "tagName": "notify-audit-management",
6403
- "customElement": true
6430
+ "kind": "class",
6431
+ "description": "",
6432
+ "name": "NotifyAuditManagement",
6433
+ "superclass": {
6434
+ "name": "GenesisElement",
6435
+ "package": "@genesislcap/web-core"
6436
+ },
6437
+ "tagName": "notify-audit-management",
6438
+ "customElement": true
6404
6439
  }
6405
6440
  ],
6406
6441
  "exports": [
@@ -6422,41 +6457,6 @@
6422
6457
  }
6423
6458
  ]
6424
6459
  },
6425
- {
6426
- "kind": "javascript-module",
6427
- "path": "src/components/foundation-notification-dashboard/components/routes/route-management.ts",
6428
- "declarations": [
6429
- {
6430
- "kind": "class",
6431
- "description": "",
6432
- "name": "RouteManagement",
6433
- "superclass": {
6434
- "name": "GenesisElement",
6435
- "package": "@genesislcap/web-core"
6436
- },
6437
- "tagName": "route-management",
6438
- "customElement": true
6439
- }
6440
- ],
6441
- "exports": [
6442
- {
6443
- "kind": "js",
6444
- "name": "RouteManagement",
6445
- "declaration": {
6446
- "name": "RouteManagement",
6447
- "module": "src/components/foundation-notification-dashboard/components/routes/route-management.ts"
6448
- }
6449
- },
6450
- {
6451
- "kind": "custom-element-definition",
6452
- "name": "route-management",
6453
- "declaration": {
6454
- "name": "RouteManagement",
6455
- "module": "src/components/foundation-notification-dashboard/components/routes/route-management.ts"
6456
- }
6457
- }
6458
- ]
6459
- },
6460
6460
  {
6461
6461
  "kind": "javascript-module",
6462
6462
  "path": "src/components/foundation-notification-dashboard/components/rules/columns.ts",
@@ -8347,189 +8347,39 @@
8347
8347
  },
8348
8348
  {
8349
8349
  "kind": "javascript-module",
8350
- "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
8350
+ "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts",
8351
8351
  "declarations": [
8352
8352
  {
8353
8353
  "kind": "variable",
8354
- "name": "RuleConditionGroupTemplate",
8355
- "default": "html<RuleConditionGroup>`\n ${when(\n (x) => !x.isFirst,\n html`\n <div class=\"join-toggle-row\">\n <div class=\"join-toggle\">\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'AND'])}\"\n @click=${(x) => (x.joinOperator = 'AND')}\n >\n AND\n </span>\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'OR'])}\"\n @click=${(x) => (x.joinOperator = 'OR')}\n >\n OR\n </span>\n </div>\n </div>\n `,\n )}\n <div class=\"condition-group-row\">\n <div class=\"condition-group-box\">\n ${repeat(\n (x) => x.groupChildren,\n html<ConditionNode, RuleConditionGroup>`\n ${when(\n (x) => isGroup(x),\n html<ConditionNode>`\n <rule-condition-group\n :fields=${(x, c) => c.parent.fields}\n :node=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></rule-condition-group>\n `,\n )}\n ${when(\n (x) => !isGroup(x),\n html<ConditionNode>`\n <rule-condition-builder\n :fields=${(x, c) => c.parent.fields}\n :condition=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></rule-condition-builder>\n `,\n )}\n `,\n { positioning: true },\n )}\n\n <div class=\"content-row\">\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newCondition()}>\n + Condition\n </rapid-button>\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newGroup()}>+ Group</rapid-button>\n <rapid-button appearance=\"icon\" class=\"delete-group\" @click=${(x) => x.deleteSelf()}>\n <rapid-icon variant=\"regular\" name=\"trash-alt\" size=\"lg\" part=\"icon\"></rapid-icon>\n </rapid-button>\n </div>\n </div>\n </div>\n`"
8354
+ "name": "RuleConditionBuilderTemplate",
8355
+ "default": "html<RuleConditionBuilder>`\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 title=${(x) => (x.leftValue ? JSON.parse(x.leftValue).FIELD_NAME : '')}\n class=\"left-value\"\n >\n ${repeat(\n (x) => x.getAllFields(),\n html`\n <rapid-option value=${(x) => JSON.stringify(x)} title=${(x) => x.FIELD_NAME}>\n ${(x) => x.FIELD_NAME}\n </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 title=${(x) => x.logicalOperator}\n >\n ${repeat(\n (x) => x.getLogicalOperators(),\n html`\n <rapid-option value=${(x) => x.operator} title=${(x) => x}>\n ${(x) => x.label}\n </rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => !nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n html`\n <rapid-select\n class=\"right-criteria\"\n :value=${sync((x) => x.rightCriteria)}\n title=${(x) => x.rightCriteria}\n >\n ${repeat(\n (x) => x.getRightCriteria(),\n html`\n <rapid-option value=${(x) => x} title=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.rightCriteria === RightCriteria.VALUE,\n html`\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 ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.DATE,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n type=\"date\"\n ></rapid-text-field>\n `,\n html`\n ${whenElse(\n (x) =>\n JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.DATETIME,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n type=\"datetime-local\"\n ></rapid-text-field>\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 `,\n )}\n `,\n )}\n ${when(\n (x) => x.rightCriteria === RightCriteria.FIELD,\n html`\n <rapid-select\n class=\"right-criteria-select\"\n :value=${sync((x) => x.rightValueSelect)}\n title=${(x) => x.rightValueSelect}\n >\n ${repeat(\n (x) => x.getApplicableFields(),\n html`\n <rapid-option value=${(x) => x.FIELD_NAME} title=${(x) => x.FIELD_NAME}>\n ${(x) => x.FIELD_NAME}\n </rapid-option>\n `,\n )}\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`"
8356
8356
  }
8357
8357
  ],
8358
8358
  "exports": [
8359
8359
  {
8360
8360
  "kind": "js",
8361
- "name": "RuleConditionGroupTemplate",
8361
+ "name": "RuleConditionBuilderTemplate",
8362
8362
  "declaration": {
8363
- "name": "RuleConditionGroupTemplate",
8364
- "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
8363
+ "name": "RuleConditionBuilderTemplate",
8364
+ "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts"
8365
8365
  }
8366
8366
  }
8367
8367
  ]
8368
8368
  },
8369
8369
  {
8370
8370
  "kind": "javascript-module",
8371
- "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
8371
+ "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.ts",
8372
8372
  "declarations": [
8373
8373
  {
8374
8374
  "kind": "class",
8375
- "description": "Parenthesized group of conditions/nested groups for notification rule\ncriteria, joined to the previous sibling via AND/OR like a single\ncondition row - but bracketing its own children off from the rest of the\nlist, so e.g. \"(A && B) || C\" can be expressed without the AND silently\nspanning more than intended.",
8376
- "name": "RuleConditionGroup",
8375
+ "description": "Condition builder for notification rule criteria.",
8376
+ "name": "RuleConditionBuilder",
8377
8377
  "members": [
8378
8378
  {
8379
8379
  "kind": "field",
8380
- "name": "node",
8380
+ "name": "condition",
8381
8381
  "type": {
8382
- "text": "ConditionGroupEntity"
8383
- }
8384
- },
8385
- {
8386
- "kind": "field",
8387
- "name": "fields",
8388
- "type": {
8389
- "text": "Field[]"
8390
- },
8391
- "default": "[]"
8392
- },
8393
- {
8394
- "kind": "field",
8395
- "name": "isFirst",
8396
- "type": {
8397
- "text": "boolean"
8398
- },
8399
- "default": "false"
8400
- },
8401
- {
8402
- "kind": "field",
8403
- "name": "joinOperator",
8404
- "type": {
8405
- "text": "string"
8406
- }
8407
- },
8408
- {
8409
- "kind": "field",
8410
- "name": "groupChildren",
8411
- "type": {
8412
- "text": "ConditionNode[]"
8413
- },
8414
- "default": "[]"
8415
- },
8416
- {
8417
- "kind": "method",
8418
- "name": "nodeChanged"
8419
- },
8420
- {
8421
- "kind": "method",
8422
- "name": "joinOperatorChanged"
8423
- },
8424
- {
8425
- "kind": "method",
8426
- "name": "newCondition"
8427
- },
8428
- {
8429
- "kind": "method",
8430
- "name": "newGroup"
8431
- },
8432
- {
8433
- "kind": "method",
8434
- "name": "editChild",
8435
- "parameters": [
8436
- {
8437
- "name": "_editedChild",
8438
- "type": {
8439
- "text": "ConditionNode"
8440
- }
8441
- }
8442
- ]
8443
- },
8444
- {
8445
- "kind": "method",
8446
- "name": "deleteChild",
8447
- "parameters": [
8448
- {
8449
- "name": "deletedChild",
8450
- "type": {
8451
- "text": "ConditionNode"
8452
- }
8453
- }
8454
- ]
8455
- },
8456
- {
8457
- "kind": "method",
8458
- "name": "deleteSelf"
8459
- }
8460
- ],
8461
- "events": [
8462
- {
8463
- "description": "Fired when this whole group should be removed",
8464
- "name": "delete"
8465
- },
8466
- {
8467
- "description": "Fired when anything inside this group changes",
8468
- "name": "edit"
8469
- }
8470
- ],
8471
- "superclass": {
8472
- "name": "GenesisElement",
8473
- "package": "@genesislcap/web-core"
8474
- },
8475
- "tagName": "rule-condition-group",
8476
- "customElement": true
8477
- }
8478
- ],
8479
- "exports": [
8480
- {
8481
- "kind": "js",
8482
- "name": "RuleConditionGroup",
8483
- "declaration": {
8484
- "name": "RuleConditionGroup",
8485
- "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
8486
- }
8487
- },
8488
- {
8489
- "kind": "custom-element-definition",
8490
- "name": "rule-condition-group",
8491
- "declaration": {
8492
- "name": "RuleConditionGroup",
8493
- "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
8494
- }
8495
- }
8496
- ]
8497
- },
8498
- {
8499
- "kind": "javascript-module",
8500
- "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts",
8501
- "declarations": [
8502
- {
8503
- "kind": "variable",
8504
- "name": "RuleConditionBuilderTemplate",
8505
- "default": "html<RuleConditionBuilder>`\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 title=${(x) => (x.leftValue ? JSON.parse(x.leftValue).FIELD_NAME : '')}\n class=\"left-value\"\n >\n ${repeat(\n (x) => x.getAllFields(),\n html`\n <rapid-option value=${(x) => JSON.stringify(x)} title=${(x) => x.FIELD_NAME}>\n ${(x) => x.FIELD_NAME}\n </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 title=${(x) => x.logicalOperator}\n >\n ${repeat(\n (x) => x.getLogicalOperators(),\n html`\n <rapid-option value=${(x) => x.operator} title=${(x) => x}>\n ${(x) => x.label}\n </rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => !nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n html`\n <rapid-select\n class=\"right-criteria\"\n :value=${sync((x) => x.rightCriteria)}\n title=${(x) => x.rightCriteria}\n >\n ${repeat(\n (x) => x.getRightCriteria(),\n html`\n <rapid-option value=${(x) => x} title=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.rightCriteria === RightCriteria.VALUE,\n html`\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 ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.DATE,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n type=\"date\"\n ></rapid-text-field>\n `,\n html`\n ${whenElse(\n (x) =>\n JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.DATETIME,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n type=\"datetime-local\"\n ></rapid-text-field>\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 `,\n )}\n `,\n )}\n ${when(\n (x) => x.rightCriteria === RightCriteria.FIELD,\n html`\n <rapid-select\n class=\"right-criteria-select\"\n :value=${sync((x) => x.rightValueSelect)}\n title=${(x) => x.rightValueSelect}\n >\n ${repeat(\n (x) => x.getApplicableFields(),\n html`\n <rapid-option value=${(x) => x.FIELD_NAME} title=${(x) => x.FIELD_NAME}>\n ${(x) => x.FIELD_NAME}\n </rapid-option>\n `,\n )}\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`"
8506
- }
8507
- ],
8508
- "exports": [
8509
- {
8510
- "kind": "js",
8511
- "name": "RuleConditionBuilderTemplate",
8512
- "declaration": {
8513
- "name": "RuleConditionBuilderTemplate",
8514
- "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts"
8515
- }
8516
- }
8517
- ]
8518
- },
8519
- {
8520
- "kind": "javascript-module",
8521
- "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.ts",
8522
- "declarations": [
8523
- {
8524
- "kind": "class",
8525
- "description": "Condition builder for notification rule criteria.",
8526
- "name": "RuleConditionBuilder",
8527
- "members": [
8528
- {
8529
- "kind": "field",
8530
- "name": "condition",
8531
- "type": {
8532
- "text": "ConditionBuilderEntity"
8382
+ "text": "ConditionBuilderEntity"
8533
8383
  }
8534
8384
  },
8535
8385
  {
@@ -8779,6 +8629,156 @@
8779
8629
  "declarations": [],
8780
8630
  "exports": []
8781
8631
  },
8632
+ {
8633
+ "kind": "javascript-module",
8634
+ "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
8635
+ "declarations": [
8636
+ {
8637
+ "kind": "variable",
8638
+ "name": "RuleConditionGroupTemplate",
8639
+ "default": "html<RuleConditionGroup>`\n ${when(\n (x) => !x.isFirst,\n html`\n <div class=\"join-toggle-row\">\n <div class=\"join-toggle\">\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'AND'])}\"\n @click=${(x) => (x.joinOperator = 'AND')}\n >\n AND\n </span>\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'OR'])}\"\n @click=${(x) => (x.joinOperator = 'OR')}\n >\n OR\n </span>\n </div>\n </div>\n `,\n )}\n <div class=\"condition-group-row\">\n <div class=\"condition-group-box\">\n ${repeat(\n (x) => x.groupChildren,\n html<ConditionNode, RuleConditionGroup>`\n ${when(\n (x) => isGroup(x),\n html<ConditionNode>`\n <rule-condition-group\n :fields=${(x, c) => c.parent.fields}\n :node=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></rule-condition-group>\n `,\n )}\n ${when(\n (x) => !isGroup(x),\n html<ConditionNode>`\n <rule-condition-builder\n :fields=${(x, c) => c.parent.fields}\n :condition=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></rule-condition-builder>\n `,\n )}\n `,\n { positioning: true },\n )}\n\n <div class=\"content-row\">\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newCondition()}>\n + Condition\n </rapid-button>\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newGroup()}>+ Group</rapid-button>\n <rapid-button appearance=\"icon\" class=\"delete-group\" @click=${(x) => x.deleteSelf()}>\n <rapid-icon variant=\"regular\" name=\"trash-alt\" size=\"lg\" part=\"icon\"></rapid-icon>\n </rapid-button>\n </div>\n </div>\n </div>\n`"
8640
+ }
8641
+ ],
8642
+ "exports": [
8643
+ {
8644
+ "kind": "js",
8645
+ "name": "RuleConditionGroupTemplate",
8646
+ "declaration": {
8647
+ "name": "RuleConditionGroupTemplate",
8648
+ "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
8649
+ }
8650
+ }
8651
+ ]
8652
+ },
8653
+ {
8654
+ "kind": "javascript-module",
8655
+ "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
8656
+ "declarations": [
8657
+ {
8658
+ "kind": "class",
8659
+ "description": "Parenthesized group of conditions/nested groups for notification rule\ncriteria, joined to the previous sibling via AND/OR like a single\ncondition row - but bracketing its own children off from the rest of the\nlist, so e.g. \"(A && B) || C\" can be expressed without the AND silently\nspanning more than intended.",
8660
+ "name": "RuleConditionGroup",
8661
+ "members": [
8662
+ {
8663
+ "kind": "field",
8664
+ "name": "node",
8665
+ "type": {
8666
+ "text": "ConditionGroupEntity"
8667
+ }
8668
+ },
8669
+ {
8670
+ "kind": "field",
8671
+ "name": "fields",
8672
+ "type": {
8673
+ "text": "Field[]"
8674
+ },
8675
+ "default": "[]"
8676
+ },
8677
+ {
8678
+ "kind": "field",
8679
+ "name": "isFirst",
8680
+ "type": {
8681
+ "text": "boolean"
8682
+ },
8683
+ "default": "false"
8684
+ },
8685
+ {
8686
+ "kind": "field",
8687
+ "name": "joinOperator",
8688
+ "type": {
8689
+ "text": "string"
8690
+ }
8691
+ },
8692
+ {
8693
+ "kind": "field",
8694
+ "name": "groupChildren",
8695
+ "type": {
8696
+ "text": "ConditionNode[]"
8697
+ },
8698
+ "default": "[]"
8699
+ },
8700
+ {
8701
+ "kind": "method",
8702
+ "name": "nodeChanged"
8703
+ },
8704
+ {
8705
+ "kind": "method",
8706
+ "name": "joinOperatorChanged"
8707
+ },
8708
+ {
8709
+ "kind": "method",
8710
+ "name": "newCondition"
8711
+ },
8712
+ {
8713
+ "kind": "method",
8714
+ "name": "newGroup"
8715
+ },
8716
+ {
8717
+ "kind": "method",
8718
+ "name": "editChild",
8719
+ "parameters": [
8720
+ {
8721
+ "name": "_editedChild",
8722
+ "type": {
8723
+ "text": "ConditionNode"
8724
+ }
8725
+ }
8726
+ ]
8727
+ },
8728
+ {
8729
+ "kind": "method",
8730
+ "name": "deleteChild",
8731
+ "parameters": [
8732
+ {
8733
+ "name": "deletedChild",
8734
+ "type": {
8735
+ "text": "ConditionNode"
8736
+ }
8737
+ }
8738
+ ]
8739
+ },
8740
+ {
8741
+ "kind": "method",
8742
+ "name": "deleteSelf"
8743
+ }
8744
+ ],
8745
+ "events": [
8746
+ {
8747
+ "description": "Fired when this whole group should be removed",
8748
+ "name": "delete"
8749
+ },
8750
+ {
8751
+ "description": "Fired when anything inside this group changes",
8752
+ "name": "edit"
8753
+ }
8754
+ ],
8755
+ "superclass": {
8756
+ "name": "GenesisElement",
8757
+ "package": "@genesislcap/web-core"
8758
+ },
8759
+ "tagName": "rule-condition-group",
8760
+ "customElement": true
8761
+ }
8762
+ ],
8763
+ "exports": [
8764
+ {
8765
+ "kind": "js",
8766
+ "name": "RuleConditionGroup",
8767
+ "declaration": {
8768
+ "name": "RuleConditionGroup",
8769
+ "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
8770
+ }
8771
+ },
8772
+ {
8773
+ "kind": "custom-element-definition",
8774
+ "name": "rule-condition-group",
8775
+ "declaration": {
8776
+ "name": "RuleConditionGroup",
8777
+ "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
8778
+ }
8779
+ }
8780
+ ]
8781
+ },
8782
8782
  {
8783
8783
  "kind": "javascript-module",
8784
8784
  "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
@@ -115,15 +115,6 @@ export declare const FoundationInboxCounter: React.ForwardRefExoticComponent<
115
115
  >;
116
116
  export type FoundationInboxCounterRef = FoundationInboxCounterWC;
117
117
 
118
- export declare const FoundationInboxFlyout: React.ForwardRefExoticComponent<
119
- React.PropsWithChildren<
120
- Omit<PublicOf<FoundationInboxFlyoutWC>, 'children' | 'style'> &
121
- HTMLWCProps & {
122
- }
123
- > & React.RefAttributes<FoundationInboxFlyoutWC>
124
- >;
125
- export type FoundationInboxFlyoutRef = FoundationInboxFlyoutWC;
126
-
127
118
  export declare const InboxSubscription: React.ForwardRefExoticComponent<
128
119
  React.PropsWithChildren<
129
120
  Omit<PublicOf<InboxSubscriptionWC>, 'children' | 'style'> &
@@ -135,14 +126,14 @@ export declare const InboxSubscription: React.ForwardRefExoticComponent<
135
126
  >;
136
127
  export type InboxSubscriptionRef = InboxSubscriptionWC;
137
128
 
138
- export declare const NotifyAuditManagement: React.ForwardRefExoticComponent<
129
+ export declare const FoundationInboxFlyout: React.ForwardRefExoticComponent<
139
130
  React.PropsWithChildren<
140
- Omit<PublicOf<NotifyAuditManagementWC>, 'children' | 'style'> &
131
+ Omit<PublicOf<FoundationInboxFlyoutWC>, 'children' | 'style'> &
141
132
  HTMLWCProps & {
142
133
  }
143
- > & React.RefAttributes<NotifyAuditManagementWC>
134
+ > & React.RefAttributes<FoundationInboxFlyoutWC>
144
135
  >;
145
- export type NotifyAuditManagementRef = NotifyAuditManagementWC;
136
+ export type FoundationInboxFlyoutRef = FoundationInboxFlyoutWC;
146
137
 
147
138
  export declare const RouteManagement: React.ForwardRefExoticComponent<
148
139
  React.PropsWithChildren<
@@ -153,6 +144,15 @@ export declare const RouteManagement: React.ForwardRefExoticComponent<
153
144
  >;
154
145
  export type RouteManagementRef = RouteManagementWC;
155
146
 
147
+ export declare const NotifyAuditManagement: React.ForwardRefExoticComponent<
148
+ React.PropsWithChildren<
149
+ Omit<PublicOf<NotifyAuditManagementWC>, 'children' | 'style'> &
150
+ HTMLWCProps & {
151
+ }
152
+ > & React.RefAttributes<NotifyAuditManagementWC>
153
+ >;
154
+ export type NotifyAuditManagementRef = NotifyAuditManagementWC;
155
+
156
156
  export declare const RuleManagement: React.ForwardRefExoticComponent<
157
157
  React.PropsWithChildren<
158
158
  Omit<PublicOf<RuleManagementWC>, 'children' | 'style'> &
@@ -255,17 +255,6 @@ export declare const TemplateDialog: React.ForwardRefExoticComponent<
255
255
  >;
256
256
  export type TemplateDialogRef = TemplateDialogWC;
257
257
 
258
- export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
259
- React.PropsWithChildren<
260
- Omit<PublicOf<RuleConditionGroupWC>, 'children' | 'style'> &
261
- HTMLWCProps & {
262
- onDelete?: (event: CustomEvent<unknown>) => void;
263
- onEdit?: (event: CustomEvent<unknown>) => void;
264
- }
265
- > & React.RefAttributes<RuleConditionGroupWC>
266
- >;
267
- export type RuleConditionGroupRef = RuleConditionGroupWC;
268
-
269
258
  export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
270
259
  React.PropsWithChildren<
271
260
  Omit<PublicOf<RuleConditionBuilderWC>, 'children' | 'style'> &
@@ -277,6 +266,17 @@ export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
277
266
  >;
278
267
  export type RuleConditionBuilderRef = RuleConditionBuilderWC;
279
268
 
269
+ export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
270
+ React.PropsWithChildren<
271
+ Omit<PublicOf<RuleConditionGroupWC>, 'children' | 'style'> &
272
+ HTMLWCProps & {
273
+ onDelete?: (event: CustomEvent<unknown>) => void;
274
+ onEdit?: (event: CustomEvent<unknown>) => void;
275
+ }
276
+ > & React.RefAttributes<RuleConditionGroupWC>
277
+ >;
278
+ export type RuleConditionGroupRef = RuleConditionGroupWC;
279
+
280
280
  export declare const ParameterBuilder: React.ForwardRefExoticComponent<
281
281
  React.PropsWithChildren<
282
282
  Omit<PublicOf<ParameterBuilderWC>, 'children' | 'style'> &
package/dist/react.cjs CHANGED
@@ -72,11 +72,6 @@ const FoundationInboxCounter = React.forwardRef(function FoundationInboxCounter(
72
72
  return React.createElement(customElements.getName(FoundationInboxCounterWC) ?? 'foundation-inbox-counter', { ...rest, ref }, children);
73
73
  });
74
74
 
75
- const FoundationInboxFlyout = React.forwardRef(function FoundationInboxFlyout(props, ref) {
76
- const { children, ...rest } = props;
77
- return React.createElement(customElements.getName(FoundationInboxFlyoutWC) ?? 'foundation-inbox-flyout', { ...rest, ref }, children);
78
- });
79
-
80
75
  const InboxSubscription = React.forwardRef(function InboxSubscription(props, ref) {
81
76
  const { onTemplateSubscribed, onSubscribeCancelled, children, ...rest } = props;
82
77
  const _innerRef = React.useRef(null);
@@ -99,9 +94,9 @@ const InboxSubscription = React.forwardRef(function InboxSubscription(props, ref
99
94
  return React.createElement(customElements.getName(InboxSubscriptionWC) ?? 'inbox-subscription', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
100
95
  });
101
96
 
102
- const NotifyAuditManagement = React.forwardRef(function NotifyAuditManagement(props, ref) {
97
+ const FoundationInboxFlyout = React.forwardRef(function FoundationInboxFlyout(props, ref) {
103
98
  const { children, ...rest } = props;
104
- return React.createElement(customElements.getName(NotifyAuditManagementWC) ?? 'notify-audit-management', { ...rest, ref }, children);
99
+ return React.createElement(customElements.getName(FoundationInboxFlyoutWC) ?? 'foundation-inbox-flyout', { ...rest, ref }, children);
105
100
  });
106
101
 
107
102
  const RouteManagement = React.forwardRef(function RouteManagement(props, ref) {
@@ -109,6 +104,11 @@ const RouteManagement = React.forwardRef(function RouteManagement(props, ref) {
109
104
  return React.createElement(customElements.getName(RouteManagementWC) ?? 'route-management', { ...rest, ref }, children);
110
105
  });
111
106
 
107
+ const NotifyAuditManagement = React.forwardRef(function NotifyAuditManagement(props, ref) {
108
+ const { children, ...rest } = props;
109
+ return React.createElement(customElements.getName(NotifyAuditManagementWC) ?? 'notify-audit-management', { ...rest, ref }, children);
110
+ });
111
+
112
112
  const RuleManagement = React.forwardRef(function RuleManagement(props, ref) {
113
113
  const { children, ...rest } = props;
114
114
  return React.createElement(customElements.getName(RuleManagementWC) ?? 'rule-management', { ...rest, ref }, children);
@@ -200,7 +200,7 @@ const TemplateDialog = React.forwardRef(function TemplateDialog(props, ref) {
200
200
  return React.createElement(customElements.getName(TemplateDialogWC) ?? 'template-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
201
201
  });
202
202
 
203
- const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
203
+ const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
204
204
  const { onDelete, onEdit, children, ...rest } = props;
205
205
  const _innerRef = React.useRef(null);
206
206
  const _onDeleteRef = React.useRef(onDelete);
@@ -219,10 +219,10 @@ const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, r
219
219
  el.removeEventListener('edit', _onEditFn);
220
220
  };
221
221
  }, []);
222
- return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
222
+ return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
223
223
  });
224
224
 
225
- const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
225
+ const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
226
226
  const { onDelete, onEdit, children, ...rest } = props;
227
227
  const _innerRef = React.useRef(null);
228
228
  const _onDeleteRef = React.useRef(onDelete);
@@ -241,7 +241,7 @@ const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(prop
241
241
  el.removeEventListener('edit', _onEditFn);
242
242
  };
243
243
  }, []);
244
- return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
244
+ return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
245
245
  });
246
246
 
247
247
  const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
@@ -317,10 +317,10 @@ module.exports = {
317
317
  FoundationSounds,
318
318
  FoundationNotificationDashboard,
319
319
  FoundationInboxCounter,
320
- FoundationInboxFlyout,
321
320
  InboxSubscription,
322
- NotifyAuditManagement,
321
+ FoundationInboxFlyout,
323
322
  RouteManagement,
323
+ NotifyAuditManagement,
324
324
  RuleManagement,
325
325
  TemplateManagement,
326
326
  RuleParameter,
@@ -332,8 +332,8 @@ module.exports = {
332
332
  SlackRouteManagement,
333
333
  RuleDialog,
334
334
  TemplateDialog,
335
- RuleConditionGroup,
336
335
  RuleConditionBuilder,
336
+ RuleConditionGroup,
337
337
  ParameterBuilder,
338
338
  TemplateConditionBuilder,
339
339
  TemplateConditionGroup,
package/dist/react.mjs CHANGED
@@ -70,11 +70,6 @@ export const FoundationInboxCounter = React.forwardRef(function FoundationInboxC
70
70
  return React.createElement(customElements.getName(FoundationInboxCounterWC) ?? 'foundation-inbox-counter', { ...rest, ref }, children);
71
71
  });
72
72
 
73
- export const FoundationInboxFlyout = React.forwardRef(function FoundationInboxFlyout(props, ref) {
74
- const { children, ...rest } = props;
75
- return React.createElement(customElements.getName(FoundationInboxFlyoutWC) ?? 'foundation-inbox-flyout', { ...rest, ref }, children);
76
- });
77
-
78
73
  export const InboxSubscription = React.forwardRef(function InboxSubscription(props, ref) {
79
74
  const { onTemplateSubscribed, onSubscribeCancelled, children, ...rest } = props;
80
75
  const _innerRef = React.useRef(null);
@@ -97,9 +92,9 @@ export const InboxSubscription = React.forwardRef(function InboxSubscription(pro
97
92
  return React.createElement(customElements.getName(InboxSubscriptionWC) ?? 'inbox-subscription', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
98
93
  });
99
94
 
100
- export const NotifyAuditManagement = React.forwardRef(function NotifyAuditManagement(props, ref) {
95
+ export const FoundationInboxFlyout = React.forwardRef(function FoundationInboxFlyout(props, ref) {
101
96
  const { children, ...rest } = props;
102
- return React.createElement(customElements.getName(NotifyAuditManagementWC) ?? 'notify-audit-management', { ...rest, ref }, children);
97
+ return React.createElement(customElements.getName(FoundationInboxFlyoutWC) ?? 'foundation-inbox-flyout', { ...rest, ref }, children);
103
98
  });
104
99
 
105
100
  export const RouteManagement = React.forwardRef(function RouteManagement(props, ref) {
@@ -107,6 +102,11 @@ export const RouteManagement = React.forwardRef(function RouteManagement(props,
107
102
  return React.createElement(customElements.getName(RouteManagementWC) ?? 'route-management', { ...rest, ref }, children);
108
103
  });
109
104
 
105
+ export const NotifyAuditManagement = React.forwardRef(function NotifyAuditManagement(props, ref) {
106
+ const { children, ...rest } = props;
107
+ return React.createElement(customElements.getName(NotifyAuditManagementWC) ?? 'notify-audit-management', { ...rest, ref }, children);
108
+ });
109
+
110
110
  export const RuleManagement = React.forwardRef(function RuleManagement(props, ref) {
111
111
  const { children, ...rest } = props;
112
112
  return React.createElement(customElements.getName(RuleManagementWC) ?? 'rule-management', { ...rest, ref }, children);
@@ -198,7 +198,7 @@ export const TemplateDialog = React.forwardRef(function TemplateDialog(props, re
198
198
  return React.createElement(customElements.getName(TemplateDialogWC) ?? 'template-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
199
199
  });
200
200
 
201
- export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
201
+ export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
202
202
  const { onDelete, onEdit, children, ...rest } = props;
203
203
  const _innerRef = React.useRef(null);
204
204
  const _onDeleteRef = React.useRef(onDelete);
@@ -217,10 +217,10 @@ export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(p
217
217
  el.removeEventListener('edit', _onEditFn);
218
218
  };
219
219
  }, []);
220
- return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
220
+ return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
221
221
  });
222
222
 
223
- export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
223
+ export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
224
224
  const { onDelete, onEdit, children, ...rest } = props;
225
225
  const _innerRef = React.useRef(null);
226
226
  const _onDeleteRef = React.useRef(onDelete);
@@ -239,7 +239,7 @@ export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuild
239
239
  el.removeEventListener('edit', _onEditFn);
240
240
  };
241
241
  }, []);
242
- return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
242
+ return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
243
243
  });
244
244
 
245
245
  export const ParameterBuilder = React.forwardRef(function ParameterBuilder(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.25.1",
4
+ "version": "15.27.0-FUI-2617.1",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "workspaces": [
7
7
  "client"
@@ -81,30 +81,30 @@
81
81
  "@commitlint/cli": "^19.2.1",
82
82
  "@commitlint/config-conventional": "^19.1.0",
83
83
  "@commitlint/format": "^19.0.3",
84
- "@genesislcap/design-system-configurator": "15.25.1",
85
- "@genesislcap/eslint-config": "15.25.1",
86
- "@genesislcap/eslint-stylelint-builder": "15.25.1",
87
- "@genesislcap/foundation-testing": "15.25.1",
88
- "@genesislcap/genx": "15.25.1",
89
- "@genesislcap/prettier-config": "15.25.1",
90
- "@genesislcap/stylelint-config": "15.25.1",
91
- "@genesislcap/vite-builder": "15.25.1",
92
- "@genesislcap/webpack-builder": "15.25.1",
84
+ "@genesislcap/design-system-configurator": "15.27.0-FUI-2617.1",
85
+ "@genesislcap/eslint-config": "15.27.0-FUI-2617.1",
86
+ "@genesislcap/eslint-stylelint-builder": "15.27.0-FUI-2617.1",
87
+ "@genesislcap/foundation-testing": "15.27.0-FUI-2617.1",
88
+ "@genesislcap/genx": "15.27.0-FUI-2617.1",
89
+ "@genesislcap/prettier-config": "15.27.0-FUI-2617.1",
90
+ "@genesislcap/stylelint-config": "15.27.0-FUI-2617.1",
91
+ "@genesislcap/vite-builder": "15.27.0-FUI-2617.1",
92
+ "@genesislcap/webpack-builder": "15.27.0-FUI-2617.1",
93
93
  "dayjs": "^1.11.7"
94
94
  },
95
95
  "dependencies": {
96
- "@genesislcap/foundation-comms": "15.25.1",
97
- "@genesislcap/foundation-criteria": "15.25.1",
98
- "@genesislcap/foundation-entity-management": "15.25.1",
99
- "@genesislcap/foundation-forms": "15.25.1",
100
- "@genesislcap/foundation-layout": "15.25.1",
101
- "@genesislcap/foundation-logger": "15.25.1",
102
- "@genesislcap/foundation-notifications": "15.25.1",
103
- "@genesislcap/foundation-ui": "15.25.1",
104
- "@genesislcap/foundation-utils": "15.25.1",
105
- "@genesislcap/rapid-design-system": "15.25.1",
106
- "@genesislcap/rapid-grid-pro": "15.25.1",
107
- "@genesislcap/web-core": "15.25.1",
96
+ "@genesislcap/foundation-comms": "15.27.0-FUI-2617.1",
97
+ "@genesislcap/foundation-criteria": "15.27.0-FUI-2617.1",
98
+ "@genesislcap/foundation-entity-management": "15.27.0-FUI-2617.1",
99
+ "@genesislcap/foundation-forms": "15.27.0-FUI-2617.1",
100
+ "@genesislcap/foundation-layout": "15.27.0-FUI-2617.1",
101
+ "@genesislcap/foundation-logger": "15.27.0-FUI-2617.1",
102
+ "@genesislcap/foundation-notifications": "15.27.0-FUI-2617.1",
103
+ "@genesislcap/foundation-ui": "15.27.0-FUI-2617.1",
104
+ "@genesislcap/foundation-utils": "15.27.0-FUI-2617.1",
105
+ "@genesislcap/rapid-design-system": "15.27.0-FUI-2617.1",
106
+ "@genesislcap/rapid-grid-pro": "15.27.0-FUI-2617.1",
107
+ "@genesislcap/web-core": "15.27.0-FUI-2617.1",
108
108
  "lodash.debounce": "^4.0.8",
109
109
  "rxjs": "^7.5.4"
110
110
  },