@genesislcap/pbc-notify-ui 15.58.2 → 15.59.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.
@@ -6039,6 +6039,237 @@
6039
6039
  }
6040
6040
  ]
6041
6041
  },
6042
+ {
6043
+ "kind": "javascript-module",
6044
+ "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts",
6045
+ "declarations": [
6046
+ {
6047
+ "kind": "variable",
6048
+ "name": "InboxSubscriptionStyles",
6049
+ "default": "css`\n .inbox-subscription {\n display: flex;\n flex-direction: column;\n }\n\n .inbox-subscription.inline {\n margin-top: calc(var(--design-unit) * 2px);\n padding-top: calc(var(--design-unit) * 2px);\n border-top: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n }\n\n .inbox-subscription-header {\n border-top: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n border-bottom: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n padding: calc(var(--design-unit) * 2px);\n }\n\n .inbox-subscription-empty {\n padding: 0 calc(var(--design-unit) * 2px);\n margin: calc(var(--design-unit) * 2px) 0 0;\n }\n\n .inbox-subscription-content {\n display: flex;\n flex-direction: column;\n gap: calc(var(--design-unit) * 3px);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n margin: calc(var(--design-unit) * 2px);\n padding: calc(var(--design-unit) * 2px);\n border-radius: calc(var(--control-corner-radius) * 1px);\n }\n\n .inbox-subscription:not(.inline) .inbox-subscription-content {\n overflow: auto;\n max-height: calc(var(--design-unit) * 80px);\n }\n\n .inbox-subscription.inline .inbox-subscription-content {\n margin: calc(var(--design-unit) * 2px) 0 0;\n overflow: visible;\n max-height: none;\n padding-bottom: calc(var(--design-unit) * 4px);\n }\n\n .inbox-subscription.inline .control:focus-within {\n position: relative;\n z-index: 2;\n }\n\n .inbox-subscription-footer {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n padding: calc(var(--design-unit) * 2px) 0 0;\n border-top: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n margin-top: calc(var(--design-unit) * 2px);\n }\n\n .inbox-subscription:not(.inline) .inbox-subscription-footer {\n padding: calc(var(--design-unit) * 2px);\n margin-top: 0;\n }\n\n .inbox-subscription-footer.auto-submit {\n justify-content: flex-end;\n border-top: none;\n margin-top: 0;\n padding-top: 0;\n }\n\n rapid-button.subscribe,\n rapid-button.cancel {\n display: flex;\n margin: 0;\n flex: 1;\n }\n`"
6050
+ }
6051
+ ],
6052
+ "exports": [
6053
+ {
6054
+ "kind": "js",
6055
+ "name": "InboxSubscriptionStyles",
6056
+ "declaration": {
6057
+ "name": "InboxSubscriptionStyles",
6058
+ "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts"
6059
+ }
6060
+ }
6061
+ ]
6062
+ },
6063
+ {
6064
+ "kind": "javascript-module",
6065
+ "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts",
6066
+ "declarations": [
6067
+ {
6068
+ "kind": "variable",
6069
+ "name": "InboxSubscriptionTemplate",
6070
+ "default": "html<InboxSubscription>`\n <div class=\"inbox-subscription ${(x) => (x.inline ? 'inline' : '')}\">\n ${when(\n (x) => !x.inline,\n html`\n <div class=\"inbox-subscription-header\">\n Subscribe to\n <span style=\"font-weight: bold;\">${(x) => x.template.RULE_NAME}</span>\n </div>\n `,\n )}\n ${when(\n (x) => x.visibleParameters.length === 0,\n html`\n <p class=\"inbox-subscription-empty\">The selected template doesn't have parameters.</p>\n `,\n )}\n ${when(\n (x) => x.visibleParameters.length > 0,\n html`\n <div class=\"inbox-subscription-content\">\n ${repeat(\n (x) => x.visibleParameters,\n html<RuleParameterEntity>`\n <rule-parameter\n :parameter=${(x) => x}\n :isFirstElement=${(x, c) => c.parent.isFirstElement(x)}\n :operator=${(x, c) => c.parent.parametersOperators[x.PARAM_NAME]}\n :requireSelection=${(x, c) => c.parent.usesAutoSubmit()}\n @parameterEdited=${(x, c) => c.parent.parameterEdit(eventDetail(c))}\n ></rule-parameter>\n `,\n )}\n </div>\n `,\n )}\n ${when(\n (x) => !x.inline || x.requiresManualSubscribe(),\n html`\n <div class=\"inbox-subscription-footer\">\n ${when(\n (x) => x.inline,\n html`\n <rapid-button\n class=\"cancel\"\n appearance=\"neutral\"\n @click=${(x) => x.cancelSubscribe()}\n >\n Cancel\n </rapid-button>\n `,\n )}\n <rapid-button\n class=\"subscribe\"\n appearance=\"primary\"\n @click=${(x) => x.subscribeTemplate()}\n ?disabled=${(x) => x.subscribeDisabled}\n >\n Subscribe\n </rapid-button>\n </div>\n `,\n )}\n ${when(\n (x) => x.inline && x.usesAutoSubmit(),\n html`\n <div class=\"inbox-subscription-footer auto-submit\">\n <rapid-button class=\"cancel\" appearance=\"neutral\" @click=${(x) => x.cancelSubscribe()}>\n Cancel\n </rapid-button>\n </div>\n `,\n )}\n </div>\n`"
6071
+ }
6072
+ ],
6073
+ "exports": [
6074
+ {
6075
+ "kind": "js",
6076
+ "name": "InboxSubscriptionTemplate",
6077
+ "declaration": {
6078
+ "name": "InboxSubscriptionTemplate",
6079
+ "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts"
6080
+ }
6081
+ }
6082
+ ]
6083
+ },
6084
+ {
6085
+ "kind": "javascript-module",
6086
+ "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts",
6087
+ "declarations": [
6088
+ {
6089
+ "kind": "class",
6090
+ "description": "Inbox subscription configuration UI.",
6091
+ "name": "InboxSubscription",
6092
+ "members": [
6093
+ {
6094
+ "kind": "field",
6095
+ "name": "template"
6096
+ },
6097
+ {
6098
+ "kind": "field",
6099
+ "name": "inline",
6100
+ "type": {
6101
+ "text": "boolean"
6102
+ },
6103
+ "default": "false"
6104
+ },
6105
+ {
6106
+ "kind": "field",
6107
+ "name": "extraParameterDetails",
6108
+ "type": {
6109
+ "text": "Record<string, string>"
6110
+ },
6111
+ "default": "{}",
6112
+ "description": "Merged into subscribe payload (e.g. CHANNEL topic). Hidden from the form."
6113
+ },
6114
+ {
6115
+ "kind": "field",
6116
+ "name": "parametersDetails",
6117
+ "type": {
6118
+ "text": "object"
6119
+ },
6120
+ "privacy": "private",
6121
+ "default": "{}"
6122
+ },
6123
+ {
6124
+ "kind": "field",
6125
+ "name": "isSubmitting",
6126
+ "type": {
6127
+ "text": "boolean"
6128
+ },
6129
+ "privacy": "private",
6130
+ "default": "false"
6131
+ },
6132
+ {
6133
+ "kind": "field",
6134
+ "name": "parametersOperators",
6135
+ "type": {
6136
+ "text": "object"
6137
+ },
6138
+ "default": "{}"
6139
+ },
6140
+ {
6141
+ "kind": "field",
6142
+ "name": "subscribeDisabled",
6143
+ "type": {
6144
+ "text": "boolean"
6145
+ },
6146
+ "default": "true"
6147
+ },
6148
+ {
6149
+ "kind": "field",
6150
+ "name": "ruleService",
6151
+ "type": {
6152
+ "text": "RuleService"
6153
+ }
6154
+ },
6155
+ {
6156
+ "kind": "field",
6157
+ "name": "visibleParameters",
6158
+ "type": {
6159
+ "text": "RuleParameterEntity[]"
6160
+ },
6161
+ "readonly": true
6162
+ },
6163
+ {
6164
+ "kind": "method",
6165
+ "name": "templateChanged"
6166
+ },
6167
+ {
6168
+ "kind": "method",
6169
+ "name": "usesAutoSubmit",
6170
+ "return": {
6171
+ "type": {
6172
+ "text": "boolean"
6173
+ }
6174
+ }
6175
+ },
6176
+ {
6177
+ "kind": "method",
6178
+ "name": "requiresManualSubscribe",
6179
+ "return": {
6180
+ "type": {
6181
+ "text": "boolean"
6182
+ }
6183
+ }
6184
+ },
6185
+ {
6186
+ "kind": "method",
6187
+ "name": "parameterEdit",
6188
+ "parameters": [
6189
+ {
6190
+ "name": "value",
6191
+ "type": {
6192
+ "text": "any"
6193
+ }
6194
+ }
6195
+ ]
6196
+ },
6197
+ {
6198
+ "kind": "method",
6199
+ "name": "autoSubscribe",
6200
+ "privacy": "private"
6201
+ },
6202
+ {
6203
+ "kind": "method",
6204
+ "name": "verifySubscribe"
6205
+ },
6206
+ {
6207
+ "kind": "field",
6208
+ "name": "isFirstElement"
6209
+ },
6210
+ {
6211
+ "kind": "method",
6212
+ "name": "subscribeTemplate"
6213
+ },
6214
+ {
6215
+ "kind": "method",
6216
+ "name": "cancelSubscribe"
6217
+ },
6218
+ {
6219
+ "kind": "field",
6220
+ "name": "createParametersOperatorMap"
6221
+ }
6222
+ ],
6223
+ "events": [
6224
+ {
6225
+ "description": "Fired when a template subscription is created. detail: `TemplateSubscribedEventDetail`",
6226
+ "name": "templateSubscribed"
6227
+ },
6228
+ {
6229
+ "description": "Fired when inline parameter entry is cancelled",
6230
+ "name": "subscribeCancelled"
6231
+ }
6232
+ ],
6233
+ "attributes": [
6234
+ {
6235
+ "name": "template",
6236
+ "fieldName": "template"
6237
+ },
6238
+ {
6239
+ "type": {
6240
+ "text": "boolean"
6241
+ },
6242
+ "default": "false",
6243
+ "fieldName": "inline"
6244
+ }
6245
+ ],
6246
+ "superclass": {
6247
+ "name": "GenesisElement",
6248
+ "package": "@genesislcap/web-core"
6249
+ },
6250
+ "tagName": "inbox-subscription",
6251
+ "customElement": true
6252
+ }
6253
+ ],
6254
+ "exports": [
6255
+ {
6256
+ "kind": "js",
6257
+ "name": "InboxSubscription",
6258
+ "declaration": {
6259
+ "name": "InboxSubscription",
6260
+ "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
6261
+ }
6262
+ },
6263
+ {
6264
+ "kind": "custom-element-definition",
6265
+ "name": "inbox-subscription",
6266
+ "declaration": {
6267
+ "name": "InboxSubscription",
6268
+ "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
6269
+ }
6270
+ }
6271
+ ]
6272
+ },
6042
6273
  {
6043
6274
  "kind": "javascript-module",
6044
6275
  "path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts",
@@ -7373,258 +7604,27 @@
7373
7604
  },
7374
7605
  {
7375
7606
  "kind": "javascript-module",
7376
- "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts",
7607
+ "path": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts",
7377
7608
  "declarations": [
7378
7609
  {
7379
- "kind": "variable",
7380
- "name": "InboxSubscriptionStyles",
7381
- "default": "css`\n .inbox-subscription {\n display: flex;\n flex-direction: column;\n }\n\n .inbox-subscription.inline {\n margin-top: calc(var(--design-unit) * 2px);\n padding-top: calc(var(--design-unit) * 2px);\n border-top: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n }\n\n .inbox-subscription-header {\n border-top: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n border-bottom: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n padding: calc(var(--design-unit) * 2px);\n }\n\n .inbox-subscription-empty {\n padding: 0 calc(var(--design-unit) * 2px);\n margin: calc(var(--design-unit) * 2px) 0 0;\n }\n\n .inbox-subscription-content {\n display: flex;\n flex-direction: column;\n gap: calc(var(--design-unit) * 3px);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n margin: calc(var(--design-unit) * 2px);\n padding: calc(var(--design-unit) * 2px);\n border-radius: calc(var(--control-corner-radius) * 1px);\n }\n\n .inbox-subscription:not(.inline) .inbox-subscription-content {\n overflow: auto;\n max-height: calc(var(--design-unit) * 80px);\n }\n\n .inbox-subscription.inline .inbox-subscription-content {\n margin: calc(var(--design-unit) * 2px) 0 0;\n overflow: visible;\n max-height: none;\n padding-bottom: calc(var(--design-unit) * 4px);\n }\n\n .inbox-subscription.inline .control:focus-within {\n position: relative;\n z-index: 2;\n }\n\n .inbox-subscription-footer {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n padding: calc(var(--design-unit) * 2px) 0 0;\n border-top: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n margin-top: calc(var(--design-unit) * 2px);\n }\n\n .inbox-subscription:not(.inline) .inbox-subscription-footer {\n padding: calc(var(--design-unit) * 2px);\n margin-top: 0;\n }\n\n .inbox-subscription-footer.auto-submit {\n justify-content: flex-end;\n border-top: none;\n margin-top: 0;\n padding-top: 0;\n }\n\n rapid-button.subscribe,\n rapid-button.cancel {\n display: flex;\n margin: 0;\n flex: 1;\n }\n`"
7610
+ "kind": "class",
7611
+ "description": "",
7612
+ "name": "NotifyAuditManagement",
7613
+ "superclass": {
7614
+ "name": "GenesisElement",
7615
+ "package": "@genesislcap/web-core"
7616
+ },
7617
+ "tagName": "notify-audit-management",
7618
+ "customElement": true
7382
7619
  }
7383
7620
  ],
7384
7621
  "exports": [
7385
7622
  {
7386
7623
  "kind": "js",
7387
- "name": "InboxSubscriptionStyles",
7624
+ "name": "NotifyAuditManagement",
7388
7625
  "declaration": {
7389
- "name": "InboxSubscriptionStyles",
7390
- "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts"
7391
- }
7392
- }
7393
- ]
7394
- },
7395
- {
7396
- "kind": "javascript-module",
7397
- "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts",
7398
- "declarations": [
7399
- {
7400
- "kind": "variable",
7401
- "name": "InboxSubscriptionTemplate",
7402
- "default": "html<InboxSubscription>`\n <div class=\"inbox-subscription ${(x) => (x.inline ? 'inline' : '')}\">\n ${when(\n (x) => !x.inline,\n html`\n <div class=\"inbox-subscription-header\">\n Subscribe to\n <span style=\"font-weight: bold;\">${(x) => x.template.RULE_NAME}</span>\n </div>\n `,\n )}\n ${when(\n (x) => x.visibleParameters.length === 0,\n html`\n <p class=\"inbox-subscription-empty\">The selected template doesn't have parameters.</p>\n `,\n )}\n ${when(\n (x) => x.visibleParameters.length > 0,\n html`\n <div class=\"inbox-subscription-content\">\n ${repeat(\n (x) => x.visibleParameters,\n html<RuleParameterEntity>`\n <rule-parameter\n :parameter=${(x) => x}\n :isFirstElement=${(x, c) => c.parent.isFirstElement(x)}\n :operator=${(x, c) => c.parent.parametersOperators[x.PARAM_NAME]}\n :requireSelection=${(x, c) => c.parent.usesAutoSubmit()}\n @parameterEdited=${(x, c) => c.parent.parameterEdit(eventDetail(c))}\n ></rule-parameter>\n `,\n )}\n </div>\n `,\n )}\n ${when(\n (x) => !x.inline || x.requiresManualSubscribe(),\n html`\n <div class=\"inbox-subscription-footer\">\n ${when(\n (x) => x.inline,\n html`\n <rapid-button\n class=\"cancel\"\n appearance=\"neutral\"\n @click=${(x) => x.cancelSubscribe()}\n >\n Cancel\n </rapid-button>\n `,\n )}\n <rapid-button\n class=\"subscribe\"\n appearance=\"primary\"\n @click=${(x) => x.subscribeTemplate()}\n ?disabled=${(x) => x.subscribeDisabled}\n >\n Subscribe\n </rapid-button>\n </div>\n `,\n )}\n ${when(\n (x) => x.inline && x.usesAutoSubmit(),\n html`\n <div class=\"inbox-subscription-footer auto-submit\">\n <rapid-button class=\"cancel\" appearance=\"neutral\" @click=${(x) => x.cancelSubscribe()}>\n Cancel\n </rapid-button>\n </div>\n `,\n )}\n </div>\n`"
7403
- }
7404
- ],
7405
- "exports": [
7406
- {
7407
- "kind": "js",
7408
- "name": "InboxSubscriptionTemplate",
7409
- "declaration": {
7410
- "name": "InboxSubscriptionTemplate",
7411
- "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts"
7412
- }
7413
- }
7414
- ]
7415
- },
7416
- {
7417
- "kind": "javascript-module",
7418
- "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts",
7419
- "declarations": [
7420
- {
7421
- "kind": "class",
7422
- "description": "Inbox subscription configuration UI.",
7423
- "name": "InboxSubscription",
7424
- "members": [
7425
- {
7426
- "kind": "field",
7427
- "name": "template"
7428
- },
7429
- {
7430
- "kind": "field",
7431
- "name": "inline",
7432
- "type": {
7433
- "text": "boolean"
7434
- },
7435
- "default": "false"
7436
- },
7437
- {
7438
- "kind": "field",
7439
- "name": "extraParameterDetails",
7440
- "type": {
7441
- "text": "Record<string, string>"
7442
- },
7443
- "default": "{}",
7444
- "description": "Merged into subscribe payload (e.g. CHANNEL topic). Hidden from the form."
7445
- },
7446
- {
7447
- "kind": "field",
7448
- "name": "parametersDetails",
7449
- "type": {
7450
- "text": "object"
7451
- },
7452
- "privacy": "private",
7453
- "default": "{}"
7454
- },
7455
- {
7456
- "kind": "field",
7457
- "name": "isSubmitting",
7458
- "type": {
7459
- "text": "boolean"
7460
- },
7461
- "privacy": "private",
7462
- "default": "false"
7463
- },
7464
- {
7465
- "kind": "field",
7466
- "name": "parametersOperators",
7467
- "type": {
7468
- "text": "object"
7469
- },
7470
- "default": "{}"
7471
- },
7472
- {
7473
- "kind": "field",
7474
- "name": "subscribeDisabled",
7475
- "type": {
7476
- "text": "boolean"
7477
- },
7478
- "default": "true"
7479
- },
7480
- {
7481
- "kind": "field",
7482
- "name": "ruleService",
7483
- "type": {
7484
- "text": "RuleService"
7485
- }
7486
- },
7487
- {
7488
- "kind": "field",
7489
- "name": "visibleParameters",
7490
- "type": {
7491
- "text": "RuleParameterEntity[]"
7492
- },
7493
- "readonly": true
7494
- },
7495
- {
7496
- "kind": "method",
7497
- "name": "templateChanged"
7498
- },
7499
- {
7500
- "kind": "method",
7501
- "name": "usesAutoSubmit",
7502
- "return": {
7503
- "type": {
7504
- "text": "boolean"
7505
- }
7506
- }
7507
- },
7508
- {
7509
- "kind": "method",
7510
- "name": "requiresManualSubscribe",
7511
- "return": {
7512
- "type": {
7513
- "text": "boolean"
7514
- }
7515
- }
7516
- },
7517
- {
7518
- "kind": "method",
7519
- "name": "parameterEdit",
7520
- "parameters": [
7521
- {
7522
- "name": "value",
7523
- "type": {
7524
- "text": "any"
7525
- }
7526
- }
7527
- ]
7528
- },
7529
- {
7530
- "kind": "method",
7531
- "name": "autoSubscribe",
7532
- "privacy": "private"
7533
- },
7534
- {
7535
- "kind": "method",
7536
- "name": "verifySubscribe"
7537
- },
7538
- {
7539
- "kind": "field",
7540
- "name": "isFirstElement"
7541
- },
7542
- {
7543
- "kind": "method",
7544
- "name": "subscribeTemplate"
7545
- },
7546
- {
7547
- "kind": "method",
7548
- "name": "cancelSubscribe"
7549
- },
7550
- {
7551
- "kind": "field",
7552
- "name": "createParametersOperatorMap"
7553
- }
7554
- ],
7555
- "events": [
7556
- {
7557
- "description": "Fired when a template subscription is created. detail: `TemplateSubscribedEventDetail`",
7558
- "name": "templateSubscribed"
7559
- },
7560
- {
7561
- "description": "Fired when inline parameter entry is cancelled",
7562
- "name": "subscribeCancelled"
7563
- }
7564
- ],
7565
- "attributes": [
7566
- {
7567
- "name": "template",
7568
- "fieldName": "template"
7569
- },
7570
- {
7571
- "type": {
7572
- "text": "boolean"
7573
- },
7574
- "default": "false",
7575
- "fieldName": "inline"
7576
- }
7577
- ],
7578
- "superclass": {
7579
- "name": "GenesisElement",
7580
- "package": "@genesislcap/web-core"
7581
- },
7582
- "tagName": "inbox-subscription",
7583
- "customElement": true
7584
- }
7585
- ],
7586
- "exports": [
7587
- {
7588
- "kind": "js",
7589
- "name": "InboxSubscription",
7590
- "declaration": {
7591
- "name": "InboxSubscription",
7592
- "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
7593
- }
7594
- },
7595
- {
7596
- "kind": "custom-element-definition",
7597
- "name": "inbox-subscription",
7598
- "declaration": {
7599
- "name": "InboxSubscription",
7600
- "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
7601
- }
7602
- }
7603
- ]
7604
- },
7605
- {
7606
- "kind": "javascript-module",
7607
- "path": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts",
7608
- "declarations": [
7609
- {
7610
- "kind": "class",
7611
- "description": "",
7612
- "name": "NotifyAuditManagement",
7613
- "superclass": {
7614
- "name": "GenesisElement",
7615
- "package": "@genesislcap/web-core"
7616
- },
7617
- "tagName": "notify-audit-management",
7618
- "customElement": true
7619
- }
7620
- ],
7621
- "exports": [
7622
- {
7623
- "kind": "js",
7624
- "name": "NotifyAuditManagement",
7625
- "declaration": {
7626
- "name": "NotifyAuditManagement",
7627
- "module": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts"
7626
+ "name": "NotifyAuditManagement",
7627
+ "module": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts"
7628
7628
  }
7629
7629
  },
7630
7630
  {
@@ -10267,552 +10267,426 @@
10267
10267
  },
10268
10268
  {
10269
10269
  "kind": "javascript-module",
10270
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts",
10270
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
10271
10271
  "declarations": [
10272
10272
  {
10273
10273
  "kind": "variable",
10274
- "name": "TemplateConditionBuilderTemplate",
10275
- "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`"
10274
+ "name": "ParameterBuilderStyles",
10275
+ "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`"
10276
10276
  }
10277
10277
  ],
10278
10278
  "exports": [
10279
10279
  {
10280
10280
  "kind": "js",
10281
- "name": "TemplateConditionBuilderTemplate",
10281
+ "name": "ParameterBuilderStyles",
10282
10282
  "declaration": {
10283
- "name": "TemplateConditionBuilderTemplate",
10284
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts"
10283
+ "name": "ParameterBuilderStyles",
10284
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
10285
10285
  }
10286
10286
  }
10287
10287
  ]
10288
10288
  },
10289
10289
  {
10290
10290
  "kind": "javascript-module",
10291
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts",
10291
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
10292
10292
  "declarations": [
10293
10293
  {
10294
- "kind": "class",
10295
- "description": "Condition builder for template notification rules.",
10296
- "name": "TemplateConditionBuilder",
10297
- "members": [
10298
- {
10299
- "kind": "field",
10300
- "name": "condition",
10301
- "type": {
10302
- "text": "ConditionBuilderEntity"
10303
- }
10304
- },
10305
- {
10306
- "kind": "field",
10307
- "name": "parameters",
10308
- "type": {
10309
- "text": "Array<ParameterBuilderEntity>"
10310
- },
10311
- "default": "[]"
10312
- },
10313
- {
10314
- "kind": "field",
10315
- "name": "fields",
10316
- "type": {
10317
- "text": "Field[]"
10318
- },
10319
- "default": "[]"
10320
- },
10294
+ "kind": "variable",
10295
+ "name": "ParameterBuilderTemplate",
10296
+ "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`"
10297
+ }
10298
+ ],
10299
+ "exports": [
10300
+ {
10301
+ "kind": "js",
10302
+ "name": "ParameterBuilderTemplate",
10303
+ "declaration": {
10304
+ "name": "ParameterBuilderTemplate",
10305
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
10306
+ }
10307
+ }
10308
+ ]
10309
+ },
10310
+ {
10311
+ "kind": "javascript-module",
10312
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
10313
+ "declarations": [
10314
+ {
10315
+ "kind": "class",
10316
+ "description": "Parameter builder for notification templates.",
10317
+ "name": "ParameterBuilder",
10318
+ "members": [
10321
10319
  {
10322
10320
  "kind": "field",
10323
- "name": "isFirst",
10321
+ "name": "parameter",
10324
10322
  "type": {
10325
- "text": "boolean"
10326
- },
10327
- "default": "false"
10323
+ "text": "ParameterBuilderEntity"
10324
+ }
10328
10325
  },
10329
10326
  {
10330
10327
  "kind": "field",
10331
- "name": "joinOperator",
10328
+ "name": "name",
10332
10329
  "type": {
10333
10330
  "text": "string"
10334
10331
  }
10335
10332
  },
10336
10333
  {
10337
10334
  "kind": "field",
10338
- "name": "leftValue",
10339
- "type": {
10340
- "text": "any"
10341
- },
10342
- "default": "null"
10343
- },
10344
- {
10345
- "kind": "field",
10346
- "name": "leftValueItems",
10347
- "type": {
10348
- "text": "Array<any>"
10349
- },
10350
- "default": "[]"
10351
- },
10352
- {
10353
- "kind": "field",
10354
- "name": "logicalOperator",
10335
+ "name": "label",
10355
10336
  "type": {
10356
10337
  "text": "string"
10357
- },
10358
- "default": "null"
10338
+ }
10359
10339
  },
10360
10340
  {
10361
10341
  "kind": "field",
10362
- "name": "rightCriteria",
10342
+ "name": "type",
10363
10343
  "type": {
10364
10344
  "text": "string"
10365
10345
  }
10366
10346
  },
10367
10347
  {
10368
10348
  "kind": "field",
10369
- "name": "rightValueText",
10349
+ "name": "sourceType",
10370
10350
  "type": {
10371
10351
  "text": "string"
10372
- },
10373
- "default": "null"
10352
+ }
10374
10353
  },
10375
10354
  {
10376
10355
  "kind": "field",
10377
- "name": "rightValueSelect",
10356
+ "name": "sourceSelected",
10378
10357
  "type": {
10379
10358
  "text": "string"
10380
- },
10381
- "default": "null"
10359
+ }
10382
10360
  },
10383
10361
  {
10384
10362
  "kind": "field",
10385
- "name": "rightValueItems",
10363
+ "name": "sourceTyped",
10386
10364
  "type": {
10387
- "text": "Array<any>"
10388
- },
10389
- "default": "[]"
10365
+ "text": "string"
10366
+ }
10390
10367
  },
10391
10368
  {
10392
10369
  "kind": "field",
10393
- "name": "rightValueMultiSelect",
10370
+ "name": "sourceTextField",
10394
10371
  "type": {
10395
- "text": "string[]"
10396
- },
10397
- "default": "[]"
10372
+ "text": "TextField"
10373
+ }
10398
10374
  },
10399
10375
  {
10400
10376
  "kind": "field",
10401
- "name": "rightCriteriaOptions",
10377
+ "name": "sourceSelect",
10402
10378
  "type": {
10403
- "text": "RightCriteria[]"
10404
- },
10405
- "readonly": true
10379
+ "text": "Select"
10380
+ }
10406
10381
  },
10407
10382
  {
10408
10383
  "kind": "field",
10409
- "name": "isStringLeftValue",
10384
+ "name": "reqRepItems",
10410
10385
  "type": {
10411
- "text": "boolean"
10386
+ "text": "array"
10412
10387
  },
10413
- "privacy": "private",
10414
- "readonly": true
10415
- },
10416
- {
10417
- "kind": "method",
10418
- "name": "deleteCondition"
10419
- },
10420
- {
10421
- "kind": "method",
10422
- "name": "conditionChanged"
10423
- },
10424
- {
10425
- "kind": "method",
10426
- "name": "joinOperatorChanged"
10427
- },
10428
- {
10429
- "kind": "method",
10430
- "name": "parametersChanged"
10431
- },
10432
- {
10433
- "kind": "method",
10434
- "name": "getMatchingParameter",
10435
- "privacy": "private",
10436
- "return": {
10437
- "type": {
10438
- "text": "ParameterBuilderEntity | undefined"
10439
- }
10440
- }
10441
- },
10442
- {
10443
- "kind": "method",
10444
- "name": "syncParameterBinding",
10445
- "privacy": "private",
10446
- "return": {
10447
- "type": {
10448
- "text": "boolean"
10449
- }
10450
- }
10451
- },
10452
- {
10453
- "kind": "method",
10454
- "name": "resetToValueEditor",
10455
- "privacy": "private"
10456
- },
10457
- {
10458
- "kind": "method",
10459
- "name": "fieldsChanged"
10460
- },
10461
- {
10462
- "kind": "method",
10463
- "name": "logicalOperatorChanged"
10464
- },
10465
- {
10466
- "kind": "method",
10467
- "name": "assignLeftValue",
10468
- "privacy": "private"
10388
+ "default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
10469
10389
  },
10470
10390
  {
10471
10391
  "kind": "method",
10472
- "name": "leftValueChanged"
10392
+ "name": "deleteParameter"
10473
10393
  },
10474
10394
  {
10475
10395
  "kind": "method",
10476
- "name": "assignRightValue",
10477
- "privacy": "private"
10396
+ "name": "parameterChanged"
10478
10397
  },
10479
10398
  {
10480
10399
  "kind": "method",
10481
- "name": "rightCriteriaChanged"
10400
+ "name": "nameChanged"
10482
10401
  },
10483
10402
  {
10484
10403
  "kind": "method",
10485
- "name": "clearRightValueText",
10486
- "privacy": "private"
10404
+ "name": "labelChanged"
10487
10405
  },
10488
10406
  {
10489
10407
  "kind": "method",
10490
- "name": "clearRightValueSelect",
10491
- "privacy": "private"
10408
+ "name": "typeChanged"
10492
10409
  },
10493
10410
  {
10494
10411
  "kind": "method",
10495
- "name": "rightValueTextChanged"
10412
+ "name": "sourceTypeChanged"
10496
10413
  },
10497
10414
  {
10498
10415
  "kind": "method",
10499
- "name": "rightValueSelectChanged"
10416
+ "name": "sourceSelectedChanged"
10500
10417
  },
10501
10418
  {
10502
10419
  "kind": "method",
10503
- "name": "rightValueMultiSelectChanged"
10420
+ "name": "sourceTypedChanged"
10504
10421
  },
10505
10422
  {
10506
10423
  "kind": "method",
10507
- "name": "getEnumValues",
10508
- "return": {
10509
- "type": {
10510
- "text": "string[]"
10424
+ "name": "genericChanged",
10425
+ "privacy": "private",
10426
+ "parameters": [
10427
+ {
10428
+ "name": "parameterAttribute"
10429
+ },
10430
+ {
10431
+ "name": "value"
10511
10432
  }
10512
- }
10433
+ ]
10513
10434
  }
10514
10435
  ],
10515
10436
  "events": [
10516
10437
  {
10517
- "description": "Fired when a condition is deleted. detail: `ConditionBuilderEntity`",
10438
+ "description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
10518
10439
  "name": "delete"
10519
10440
  },
10520
10441
  {
10521
- "description": "Fired when a condition is edited. detail: `ConditionBuilderEntity`",
10442
+ "description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
10522
10443
  "name": "edit"
10523
10444
  }
10524
10445
  ],
10446
+ "attributes": [
10447
+ {
10448
+ "name": "parameter",
10449
+ "type": {
10450
+ "text": "ParameterBuilderEntity"
10451
+ },
10452
+ "fieldName": "parameter"
10453
+ }
10454
+ ],
10525
10455
  "superclass": {
10526
10456
  "name": "GenesisElement",
10527
10457
  "package": "@genesislcap/web-core"
10528
10458
  },
10529
- "tagName": "template-condition-builder",
10459
+ "tagName": "parameter-builder",
10530
10460
  "customElement": true
10531
10461
  }
10532
10462
  ],
10533
10463
  "exports": [
10534
10464
  {
10535
10465
  "kind": "js",
10536
- "name": "TemplateConditionBuilder",
10466
+ "name": "ParameterBuilder",
10537
10467
  "declaration": {
10538
- "name": "TemplateConditionBuilder",
10539
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts"
10468
+ "name": "ParameterBuilder",
10469
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
10540
10470
  }
10541
10471
  },
10542
10472
  {
10543
10473
  "kind": "custom-element-definition",
10544
- "name": "template-condition-builder",
10545
- "declaration": {
10546
- "name": "TemplateConditionBuilder",
10547
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts"
10548
- }
10549
- }
10550
- ]
10551
- },
10552
- {
10553
- "kind": "javascript-module",
10554
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
10555
- "declarations": [
10556
- {
10557
- "kind": "variable",
10558
- "name": "ParameterBuilderStyles",
10559
- "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`"
10560
- }
10561
- ],
10562
- "exports": [
10563
- {
10564
- "kind": "js",
10565
- "name": "ParameterBuilderStyles",
10474
+ "name": "parameter-builder",
10566
10475
  "declaration": {
10567
- "name": "ParameterBuilderStyles",
10568
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
10476
+ "name": "ParameterBuilder",
10477
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
10569
10478
  }
10570
10479
  }
10571
10480
  ]
10572
10481
  },
10573
10482
  {
10574
10483
  "kind": "javascript-module",
10575
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
10484
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
10576
10485
  "declarations": [
10577
10486
  {
10578
10487
  "kind": "variable",
10579
- "name": "ParameterBuilderTemplate",
10580
- "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`"
10488
+ "name": "TemplateConditionGroupTemplate",
10489
+ "default": "html<TemplateConditionGroup>`\n ${when(\n (x) => !x.isFirst,\n html`\n <div class=\"join-toggle-row\">\n <div class=\"join-toggle\">\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'AND'])}\"\n @click=${(x) => (x.joinOperator = 'AND')}\n >\n AND\n </span>\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'OR'])}\"\n @click=${(x) => (x.joinOperator = 'OR')}\n >\n OR\n </span>\n </div>\n </div>\n `,\n )}\n <div class=\"condition-group-row\">\n <div class=\"condition-group-box\">\n ${repeat(\n (x) => x.groupChildren,\n html<ConditionNode, TemplateConditionGroup>`\n ${when(\n (x) => isGroup(x),\n html<ConditionNode>`\n <template-condition-group\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\n :node=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></template-condition-group>\n `,\n )}\n ${when(\n (x) => !isGroup(x),\n html<ConditionNode>`\n <template-condition-builder\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\n :condition=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></template-condition-builder>\n `,\n )}\n `,\n { positioning: true },\n )}\n\n <div class=\"content-row\">\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newCondition()}>\n + Condition\n </rapid-button>\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newGroup()}>+ Group</rapid-button>\n <rapid-button appearance=\"icon\" class=\"delete-group\" @click=${(x) => x.deleteSelf()}>\n <rapid-icon variant=\"regular\" name=\"trash-alt\" size=\"lg\" part=\"icon\"></rapid-icon>\n </rapid-button>\n </div>\n </div>\n </div>\n`"
10581
10490
  }
10582
10491
  ],
10583
10492
  "exports": [
10584
10493
  {
10585
10494
  "kind": "js",
10586
- "name": "ParameterBuilderTemplate",
10495
+ "name": "TemplateConditionGroupTemplate",
10587
10496
  "declaration": {
10588
- "name": "ParameterBuilderTemplate",
10589
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
10497
+ "name": "TemplateConditionGroupTemplate",
10498
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts"
10590
10499
  }
10591
10500
  }
10592
10501
  ]
10593
10502
  },
10594
10503
  {
10595
10504
  "kind": "javascript-module",
10596
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
10505
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts",
10597
10506
  "declarations": [
10598
10507
  {
10599
10508
  "kind": "class",
10600
- "description": "Parameter builder for notification templates.",
10601
- "name": "ParameterBuilder",
10509
+ "description": "Parenthesized group of conditions/nested groups for notification template\ncriteria - see rule-condition-group for the rationale. Also forwards\n:parameters down to nested template-condition-builder rows so parameter\nbinding (USER_ENTRY) keeps working inside a group.",
10510
+ "name": "TemplateConditionGroup",
10602
10511
  "members": [
10603
10512
  {
10604
10513
  "kind": "field",
10605
- "name": "parameter",
10606
- "type": {
10607
- "text": "ParameterBuilderEntity"
10608
- }
10609
- },
10610
- {
10611
- "kind": "field",
10612
- "name": "name",
10613
- "type": {
10614
- "text": "string"
10615
- }
10616
- },
10617
- {
10618
- "kind": "field",
10619
- "name": "label",
10514
+ "name": "node",
10620
10515
  "type": {
10621
- "text": "string"
10516
+ "text": "ConditionGroupEntity"
10622
10517
  }
10623
10518
  },
10624
10519
  {
10625
10520
  "kind": "field",
10626
- "name": "type",
10521
+ "name": "fields",
10627
10522
  "type": {
10628
- "text": "string"
10629
- }
10523
+ "text": "Field[]"
10524
+ },
10525
+ "default": "[]"
10630
10526
  },
10631
10527
  {
10632
10528
  "kind": "field",
10633
- "name": "sourceType",
10529
+ "name": "parameters",
10634
10530
  "type": {
10635
- "text": "string"
10636
- }
10531
+ "text": "Array<ParameterBuilderEntity>"
10532
+ },
10533
+ "default": "[]"
10637
10534
  },
10638
10535
  {
10639
10536
  "kind": "field",
10640
- "name": "sourceSelected",
10537
+ "name": "isFirst",
10641
10538
  "type": {
10642
- "text": "string"
10643
- }
10539
+ "text": "boolean"
10540
+ },
10541
+ "default": "false"
10644
10542
  },
10645
10543
  {
10646
10544
  "kind": "field",
10647
- "name": "sourceTyped",
10545
+ "name": "joinOperator",
10648
10546
  "type": {
10649
10547
  "text": "string"
10650
10548
  }
10651
10549
  },
10652
10550
  {
10653
10551
  "kind": "field",
10654
- "name": "sourceTextField",
10655
- "type": {
10656
- "text": "TextField"
10657
- }
10658
- },
10659
- {
10660
- "kind": "field",
10661
- "name": "sourceSelect",
10662
- "type": {
10663
- "text": "Select"
10664
- }
10665
- },
10666
- {
10667
- "kind": "field",
10668
- "name": "reqRepItems",
10552
+ "name": "groupChildren",
10669
10553
  "type": {
10670
- "text": "array"
10554
+ "text": "ConditionNode[]"
10671
10555
  },
10672
- "default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
10673
- },
10674
- {
10675
- "kind": "method",
10676
- "name": "deleteParameter"
10677
- },
10678
- {
10679
- "kind": "method",
10680
- "name": "parameterChanged"
10681
- },
10682
- {
10683
- "kind": "method",
10684
- "name": "nameChanged"
10556
+ "default": "[]"
10685
10557
  },
10686
10558
  {
10687
10559
  "kind": "method",
10688
- "name": "labelChanged"
10560
+ "name": "nodeChanged"
10689
10561
  },
10690
10562
  {
10691
10563
  "kind": "method",
10692
- "name": "typeChanged"
10564
+ "name": "joinOperatorChanged"
10693
10565
  },
10694
10566
  {
10695
10567
  "kind": "method",
10696
- "name": "sourceTypeChanged"
10568
+ "name": "newCondition"
10697
10569
  },
10698
10570
  {
10699
10571
  "kind": "method",
10700
- "name": "sourceSelectedChanged"
10572
+ "name": "newGroup"
10701
10573
  },
10702
10574
  {
10703
10575
  "kind": "method",
10704
- "name": "sourceTypedChanged"
10576
+ "name": "editChild",
10577
+ "parameters": [
10578
+ {
10579
+ "name": "_editedChild",
10580
+ "type": {
10581
+ "text": "ConditionNode"
10582
+ }
10583
+ }
10584
+ ]
10705
10585
  },
10706
10586
  {
10707
10587
  "kind": "method",
10708
- "name": "genericChanged",
10709
- "privacy": "private",
10588
+ "name": "deleteChild",
10710
10589
  "parameters": [
10711
10590
  {
10712
- "name": "parameterAttribute"
10713
- },
10714
- {
10715
- "name": "value"
10591
+ "name": "deletedChild",
10592
+ "type": {
10593
+ "text": "ConditionNode"
10594
+ }
10716
10595
  }
10717
10596
  ]
10597
+ },
10598
+ {
10599
+ "kind": "method",
10600
+ "name": "deleteSelf"
10718
10601
  }
10719
10602
  ],
10720
10603
  "events": [
10721
10604
  {
10722
- "description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
10605
+ "description": "Fired when this whole group should be removed",
10723
10606
  "name": "delete"
10724
10607
  },
10725
10608
  {
10726
- "description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
10609
+ "description": "Fired when anything inside this group changes",
10727
10610
  "name": "edit"
10728
10611
  }
10729
10612
  ],
10730
- "attributes": [
10731
- {
10732
- "name": "parameter",
10733
- "type": {
10734
- "text": "ParameterBuilderEntity"
10735
- },
10736
- "fieldName": "parameter"
10737
- }
10738
- ],
10739
10613
  "superclass": {
10740
10614
  "name": "GenesisElement",
10741
10615
  "package": "@genesislcap/web-core"
10742
10616
  },
10743
- "tagName": "parameter-builder",
10617
+ "tagName": "template-condition-group",
10744
10618
  "customElement": true
10745
10619
  }
10746
10620
  ],
10747
10621
  "exports": [
10748
10622
  {
10749
10623
  "kind": "js",
10750
- "name": "ParameterBuilder",
10624
+ "name": "TemplateConditionGroup",
10751
10625
  "declaration": {
10752
- "name": "ParameterBuilder",
10753
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
10626
+ "name": "TemplateConditionGroup",
10627
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
10754
10628
  }
10755
10629
  },
10756
10630
  {
10757
10631
  "kind": "custom-element-definition",
10758
- "name": "parameter-builder",
10632
+ "name": "template-condition-group",
10759
10633
  "declaration": {
10760
- "name": "ParameterBuilder",
10761
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
10634
+ "name": "TemplateConditionGroup",
10635
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
10762
10636
  }
10763
10637
  }
10764
10638
  ]
10765
10639
  },
10766
10640
  {
10767
10641
  "kind": "javascript-module",
10768
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
10642
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts",
10769
10643
  "declarations": [
10770
10644
  {
10771
10645
  "kind": "variable",
10772
- "name": "TemplateConditionGroupTemplate",
10773
- "default": "html<TemplateConditionGroup>`\n ${when(\n (x) => !x.isFirst,\n html`\n <div class=\"join-toggle-row\">\n <div class=\"join-toggle\">\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'AND'])}\"\n @click=${(x) => (x.joinOperator = 'AND')}\n >\n AND\n </span>\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'OR'])}\"\n @click=${(x) => (x.joinOperator = 'OR')}\n >\n OR\n </span>\n </div>\n </div>\n `,\n )}\n <div class=\"condition-group-row\">\n <div class=\"condition-group-box\">\n ${repeat(\n (x) => x.groupChildren,\n html<ConditionNode, TemplateConditionGroup>`\n ${when(\n (x) => isGroup(x),\n html<ConditionNode>`\n <template-condition-group\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\n :node=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></template-condition-group>\n `,\n )}\n ${when(\n (x) => !isGroup(x),\n html<ConditionNode>`\n <template-condition-builder\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\n :condition=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></template-condition-builder>\n `,\n )}\n `,\n { positioning: true },\n )}\n\n <div class=\"content-row\">\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newCondition()}>\n + Condition\n </rapid-button>\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newGroup()}>+ Group</rapid-button>\n <rapid-button appearance=\"icon\" class=\"delete-group\" @click=${(x) => x.deleteSelf()}>\n <rapid-icon variant=\"regular\" name=\"trash-alt\" size=\"lg\" part=\"icon\"></rapid-icon>\n </rapid-button>\n </div>\n </div>\n </div>\n`"
10646
+ "name": "TemplateConditionBuilderTemplate",
10647
+ "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`"
10774
10648
  }
10775
10649
  ],
10776
10650
  "exports": [
10777
10651
  {
10778
10652
  "kind": "js",
10779
- "name": "TemplateConditionGroupTemplate",
10653
+ "name": "TemplateConditionBuilderTemplate",
10780
10654
  "declaration": {
10781
- "name": "TemplateConditionGroupTemplate",
10782
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts"
10655
+ "name": "TemplateConditionBuilderTemplate",
10656
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts"
10783
10657
  }
10784
10658
  }
10785
10659
  ]
10786
10660
  },
10787
10661
  {
10788
10662
  "kind": "javascript-module",
10789
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts",
10663
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts",
10790
10664
  "declarations": [
10791
10665
  {
10792
10666
  "kind": "class",
10793
- "description": "Parenthesized group of conditions/nested groups for notification template\ncriteria - see rule-condition-group for the rationale. Also forwards\n:parameters down to nested template-condition-builder rows so parameter\nbinding (USER_ENTRY) keeps working inside a group.",
10794
- "name": "TemplateConditionGroup",
10667
+ "description": "Condition builder for template notification rules.",
10668
+ "name": "TemplateConditionBuilder",
10795
10669
  "members": [
10796
10670
  {
10797
10671
  "kind": "field",
10798
- "name": "node",
10672
+ "name": "condition",
10799
10673
  "type": {
10800
- "text": "ConditionGroupEntity"
10674
+ "text": "ConditionBuilderEntity"
10801
10675
  }
10802
10676
  },
10803
10677
  {
10804
10678
  "kind": "field",
10805
- "name": "fields",
10679
+ "name": "parameters",
10806
10680
  "type": {
10807
- "text": "Field[]"
10681
+ "text": "Array<ParameterBuilderEntity>"
10808
10682
  },
10809
10683
  "default": "[]"
10810
10684
  },
10811
10685
  {
10812
10686
  "kind": "field",
10813
- "name": "parameters",
10687
+ "name": "fields",
10814
10688
  "type": {
10815
- "text": "Array<ParameterBuilderEntity>"
10689
+ "text": "Field[]"
10816
10690
  },
10817
10691
  "default": "[]"
10818
10692
  },
@@ -10833,64 +10707,190 @@
10833
10707
  },
10834
10708
  {
10835
10709
  "kind": "field",
10836
- "name": "groupChildren",
10710
+ "name": "leftValue",
10837
10711
  "type": {
10838
- "text": "ConditionNode[]"
10712
+ "text": "any"
10713
+ },
10714
+ "default": "null"
10715
+ },
10716
+ {
10717
+ "kind": "field",
10718
+ "name": "leftValueItems",
10719
+ "type": {
10720
+ "text": "Array<any>"
10721
+ },
10722
+ "default": "[]"
10723
+ },
10724
+ {
10725
+ "kind": "field",
10726
+ "name": "logicalOperator",
10727
+ "type": {
10728
+ "text": "string"
10729
+ },
10730
+ "default": "null"
10731
+ },
10732
+ {
10733
+ "kind": "field",
10734
+ "name": "rightCriteria",
10735
+ "type": {
10736
+ "text": "string"
10737
+ }
10738
+ },
10739
+ {
10740
+ "kind": "field",
10741
+ "name": "rightValueText",
10742
+ "type": {
10743
+ "text": "string"
10744
+ },
10745
+ "default": "null"
10746
+ },
10747
+ {
10748
+ "kind": "field",
10749
+ "name": "rightValueSelect",
10750
+ "type": {
10751
+ "text": "string"
10752
+ },
10753
+ "default": "null"
10754
+ },
10755
+ {
10756
+ "kind": "field",
10757
+ "name": "rightValueItems",
10758
+ "type": {
10759
+ "text": "Array<any>"
10760
+ },
10761
+ "default": "[]"
10762
+ },
10763
+ {
10764
+ "kind": "field",
10765
+ "name": "rightValueMultiSelect",
10766
+ "type": {
10767
+ "text": "string[]"
10839
10768
  },
10840
10769
  "default": "[]"
10841
10770
  },
10771
+ {
10772
+ "kind": "field",
10773
+ "name": "rightCriteriaOptions",
10774
+ "type": {
10775
+ "text": "RightCriteria[]"
10776
+ },
10777
+ "readonly": true
10778
+ },
10779
+ {
10780
+ "kind": "field",
10781
+ "name": "isStringLeftValue",
10782
+ "type": {
10783
+ "text": "boolean"
10784
+ },
10785
+ "privacy": "private",
10786
+ "readonly": true
10787
+ },
10842
10788
  {
10843
10789
  "kind": "method",
10844
- "name": "nodeChanged"
10790
+ "name": "deleteCondition"
10845
10791
  },
10846
10792
  {
10847
10793
  "kind": "method",
10848
- "name": "joinOperatorChanged"
10794
+ "name": "conditionChanged"
10849
10795
  },
10850
10796
  {
10851
10797
  "kind": "method",
10852
- "name": "newCondition"
10798
+ "name": "joinOperatorChanged"
10853
10799
  },
10854
10800
  {
10855
10801
  "kind": "method",
10856
- "name": "newGroup"
10802
+ "name": "parametersChanged"
10857
10803
  },
10858
10804
  {
10859
10805
  "kind": "method",
10860
- "name": "editChild",
10861
- "parameters": [
10862
- {
10863
- "name": "_editedChild",
10864
- "type": {
10865
- "text": "ConditionNode"
10866
- }
10806
+ "name": "getMatchingParameter",
10807
+ "privacy": "private",
10808
+ "return": {
10809
+ "type": {
10810
+ "text": "ParameterBuilderEntity | undefined"
10867
10811
  }
10868
- ]
10812
+ }
10869
10813
  },
10870
10814
  {
10871
10815
  "kind": "method",
10872
- "name": "deleteChild",
10873
- "parameters": [
10874
- {
10875
- "name": "deletedChild",
10876
- "type": {
10877
- "text": "ConditionNode"
10878
- }
10816
+ "name": "syncParameterBinding",
10817
+ "privacy": "private",
10818
+ "return": {
10819
+ "type": {
10820
+ "text": "boolean"
10879
10821
  }
10880
- ]
10822
+ }
10881
10823
  },
10882
10824
  {
10883
10825
  "kind": "method",
10884
- "name": "deleteSelf"
10826
+ "name": "resetToValueEditor",
10827
+ "privacy": "private"
10828
+ },
10829
+ {
10830
+ "kind": "method",
10831
+ "name": "fieldsChanged"
10832
+ },
10833
+ {
10834
+ "kind": "method",
10835
+ "name": "logicalOperatorChanged"
10836
+ },
10837
+ {
10838
+ "kind": "method",
10839
+ "name": "assignLeftValue",
10840
+ "privacy": "private"
10841
+ },
10842
+ {
10843
+ "kind": "method",
10844
+ "name": "leftValueChanged"
10845
+ },
10846
+ {
10847
+ "kind": "method",
10848
+ "name": "assignRightValue",
10849
+ "privacy": "private"
10850
+ },
10851
+ {
10852
+ "kind": "method",
10853
+ "name": "rightCriteriaChanged"
10854
+ },
10855
+ {
10856
+ "kind": "method",
10857
+ "name": "clearRightValueText",
10858
+ "privacy": "private"
10859
+ },
10860
+ {
10861
+ "kind": "method",
10862
+ "name": "clearRightValueSelect",
10863
+ "privacy": "private"
10864
+ },
10865
+ {
10866
+ "kind": "method",
10867
+ "name": "rightValueTextChanged"
10868
+ },
10869
+ {
10870
+ "kind": "method",
10871
+ "name": "rightValueSelectChanged"
10872
+ },
10873
+ {
10874
+ "kind": "method",
10875
+ "name": "rightValueMultiSelectChanged"
10876
+ },
10877
+ {
10878
+ "kind": "method",
10879
+ "name": "getEnumValues",
10880
+ "return": {
10881
+ "type": {
10882
+ "text": "string[]"
10883
+ }
10884
+ }
10885
10885
  }
10886
10886
  ],
10887
10887
  "events": [
10888
10888
  {
10889
- "description": "Fired when this whole group should be removed",
10889
+ "description": "Fired when a condition is deleted. detail: `ConditionBuilderEntity`",
10890
10890
  "name": "delete"
10891
10891
  },
10892
10892
  {
10893
- "description": "Fired when anything inside this group changes",
10893
+ "description": "Fired when a condition is edited. detail: `ConditionBuilderEntity`",
10894
10894
  "name": "edit"
10895
10895
  }
10896
10896
  ],
@@ -10898,25 +10898,25 @@
10898
10898
  "name": "GenesisElement",
10899
10899
  "package": "@genesislcap/web-core"
10900
10900
  },
10901
- "tagName": "template-condition-group",
10901
+ "tagName": "template-condition-builder",
10902
10902
  "customElement": true
10903
10903
  }
10904
10904
  ],
10905
10905
  "exports": [
10906
10906
  {
10907
10907
  "kind": "js",
10908
- "name": "TemplateConditionGroup",
10908
+ "name": "TemplateConditionBuilder",
10909
10909
  "declaration": {
10910
- "name": "TemplateConditionGroup",
10911
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
10910
+ "name": "TemplateConditionBuilder",
10911
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts"
10912
10912
  }
10913
10913
  },
10914
10914
  {
10915
10915
  "kind": "custom-element-definition",
10916
- "name": "template-condition-group",
10916
+ "name": "template-condition-builder",
10917
10917
  "declaration": {
10918
- "name": "TemplateConditionGroup",
10919
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
10918
+ "name": "TemplateConditionBuilder",
10919
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts"
10920
10920
  }
10921
10921
  }
10922
10922
  ]