@genesislcap/pbc-notify-ui 15.51.0 → 15.52.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.
@@ -5896,149 +5896,6 @@
5896
5896
  }
5897
5897
  ]
5898
5898
  },
5899
- {
5900
- "kind": "javascript-module",
5901
- "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts",
5902
- "declarations": [
5903
- {
5904
- "kind": "variable",
5905
- "name": "noItemsClass",
5906
- "type": {
5907
- "text": "string"
5908
- },
5909
- "default": "'no-items'",
5910
- "description": "Class to use when there are no items"
5911
- },
5912
- {
5913
- "kind": "variable",
5914
- "name": "FoundationInboxCounterStyles",
5915
- "default": "css`\n :host {\n display: inline-block;\n min-width: 16px;\n height: 16px;\n border-radius: 9px;\n text-align: center;\n color: #fff;\n line-height: 16px;\n font-size: 9px;\n font-weight: 700;\n background: ${BACKGROUND_COLOR};\n pointer-events: none;\n }\n\n .hidden {\n visibility: hidden;\n }\n\n :host(.${noItemsClass}) {\n display: none;\n }\n`"
5916
- }
5917
- ],
5918
- "exports": [
5919
- {
5920
- "kind": "js",
5921
- "name": "noItemsClass",
5922
- "declaration": {
5923
- "name": "noItemsClass",
5924
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
5925
- }
5926
- },
5927
- {
5928
- "kind": "js",
5929
- "name": "FoundationInboxCounterStyles",
5930
- "declaration": {
5931
- "name": "FoundationInboxCounterStyles",
5932
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
5933
- }
5934
- }
5935
- ]
5936
- },
5937
- {
5938
- "kind": "javascript-module",
5939
- "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts",
5940
- "declarations": [
5941
- {
5942
- "kind": "variable",
5943
- "name": "FoundationInboxCounterTemplate",
5944
- "default": "html<FoundationInboxCounter>`\n <template class=\"${(x) => classNames([noItemsClass, x.value < 1])}\">\n ${when(\n (x) => x.value > 0,\n html`\n ${(x) => (x.value > MAX_NUMBER_TO_DISPLAY ? `${MAX_NUMBER_TO_DISPLAY}+` : x.value)}\n `,\n )}\n </template>\n`"
5945
- }
5946
- ],
5947
- "exports": [
5948
- {
5949
- "kind": "js",
5950
- "name": "FoundationInboxCounterTemplate",
5951
- "declaration": {
5952
- "name": "FoundationInboxCounterTemplate",
5953
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts"
5954
- }
5955
- }
5956
- ]
5957
- },
5958
- {
5959
- "kind": "javascript-module",
5960
- "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts",
5961
- "declarations": [
5962
- {
5963
- "kind": "class",
5964
- "description": "",
5965
- "name": "FoundationInboxCounter",
5966
- "members": [
5967
- {
5968
- "kind": "field",
5969
- "name": "value",
5970
- "type": {
5971
- "text": "number"
5972
- },
5973
- "default": "0"
5974
- },
5975
- {
5976
- "kind": "field",
5977
- "name": "connect",
5978
- "type": {
5979
- "text": "Connect"
5980
- }
5981
- },
5982
- {
5983
- "kind": "field",
5984
- "name": "inboxService",
5985
- "type": {
5986
- "text": "FoundationInboxService"
5987
- }
5988
- },
5989
- {
5990
- "kind": "field",
5991
- "name": "connectionSub",
5992
- "type": {
5993
- "text": "Subscription"
5994
- },
5995
- "privacy": "private"
5996
- },
5997
- {
5998
- "kind": "method",
5999
- "name": "subscribeToAlerts",
6000
- "privacy": "private",
6001
- "return": {
6002
- "type": {
6003
- "text": "Promise<void>"
6004
- }
6005
- },
6006
- "description": "Subscribes to alerts from the inbox service"
6007
- },
6008
- {
6009
- "kind": "field",
6010
- "name": "subscriptionHandler",
6011
- "privacy": "private",
6012
- "description": "Handles subscription updates from the inbox service"
6013
- }
6014
- ],
6015
- "superclass": {
6016
- "name": "GenesisElement",
6017
- "package": "@genesislcap/web-core"
6018
- },
6019
- "tagName": "foundation-inbox-counter",
6020
- "customElement": true
6021
- }
6022
- ],
6023
- "exports": [
6024
- {
6025
- "kind": "js",
6026
- "name": "FoundationInboxCounter",
6027
- "declaration": {
6028
- "name": "FoundationInboxCounter",
6029
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
6030
- }
6031
- },
6032
- {
6033
- "kind": "custom-element-definition",
6034
- "name": "foundation-inbox-counter",
6035
- "declaration": {
6036
- "name": "FoundationInboxCounter",
6037
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
6038
- }
6039
- }
6040
- ]
6041
- },
6042
5899
  {
6043
5900
  "kind": "javascript-module",
6044
5901
  "path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts",
@@ -7373,124 +7230,267 @@
7373
7230
  },
7374
7231
  {
7375
7232
  "kind": "javascript-module",
7376
- "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts",
7233
+ "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts",
7377
7234
  "declarations": [
7378
7235
  {
7379
7236
  "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`"
7237
+ "name": "noItemsClass",
7238
+ "type": {
7239
+ "text": "string"
7240
+ },
7241
+ "default": "'no-items'",
7242
+ "description": "Class to use when there are no items"
7243
+ },
7244
+ {
7245
+ "kind": "variable",
7246
+ "name": "FoundationInboxCounterStyles",
7247
+ "default": "css`\n :host {\n display: inline-block;\n min-width: 16px;\n height: 16px;\n border-radius: 9px;\n text-align: center;\n color: #fff;\n line-height: 16px;\n font-size: 9px;\n font-weight: 700;\n background: ${BACKGROUND_COLOR};\n pointer-events: none;\n }\n\n .hidden {\n visibility: hidden;\n }\n\n :host(.${noItemsClass}) {\n display: none;\n }\n`"
7382
7248
  }
7383
7249
  ],
7384
7250
  "exports": [
7385
7251
  {
7386
7252
  "kind": "js",
7387
- "name": "InboxSubscriptionStyles",
7253
+ "name": "noItemsClass",
7388
7254
  "declaration": {
7389
- "name": "InboxSubscriptionStyles",
7390
- "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts"
7255
+ "name": "noItemsClass",
7256
+ "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
7257
+ }
7258
+ },
7259
+ {
7260
+ "kind": "js",
7261
+ "name": "FoundationInboxCounterStyles",
7262
+ "declaration": {
7263
+ "name": "FoundationInboxCounterStyles",
7264
+ "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
7391
7265
  }
7392
7266
  }
7393
7267
  ]
7394
7268
  },
7395
7269
  {
7396
7270
  "kind": "javascript-module",
7397
- "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts",
7271
+ "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts",
7398
7272
  "declarations": [
7399
7273
  {
7400
7274
  "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`"
7275
+ "name": "FoundationInboxCounterTemplate",
7276
+ "default": "html<FoundationInboxCounter>`\n <template class=\"${(x) => classNames([noItemsClass, x.value < 1])}\">\n ${when(\n (x) => x.value > 0,\n html`\n ${(x) => (x.value > MAX_NUMBER_TO_DISPLAY ? `${MAX_NUMBER_TO_DISPLAY}+` : x.value)}\n `,\n )}\n </template>\n`"
7403
7277
  }
7404
7278
  ],
7405
7279
  "exports": [
7406
7280
  {
7407
7281
  "kind": "js",
7408
- "name": "InboxSubscriptionTemplate",
7282
+ "name": "FoundationInboxCounterTemplate",
7409
7283
  "declaration": {
7410
- "name": "InboxSubscriptionTemplate",
7411
- "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts"
7284
+ "name": "FoundationInboxCounterTemplate",
7285
+ "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts"
7412
7286
  }
7413
7287
  }
7414
7288
  ]
7415
7289
  },
7416
7290
  {
7417
7291
  "kind": "javascript-module",
7418
- "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts",
7292
+ "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts",
7419
7293
  "declarations": [
7420
7294
  {
7421
7295
  "kind": "class",
7422
- "description": "Inbox subscription configuration UI.",
7423
- "name": "InboxSubscription",
7296
+ "description": "",
7297
+ "name": "FoundationInboxCounter",
7424
7298
  "members": [
7425
7299
  {
7426
7300
  "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",
7301
+ "name": "value",
7440
7302
  "type": {
7441
- "text": "Record<string, string>"
7303
+ "text": "number"
7442
7304
  },
7443
- "default": "{}",
7444
- "description": "Merged into subscribe payload (e.g. CHANNEL topic). Hidden from the form."
7305
+ "default": "0"
7445
7306
  },
7446
7307
  {
7447
7308
  "kind": "field",
7448
- "name": "parametersDetails",
7309
+ "name": "connect",
7449
7310
  "type": {
7450
- "text": "object"
7451
- },
7452
- "privacy": "private",
7453
- "default": "{}"
7311
+ "text": "Connect"
7312
+ }
7454
7313
  },
7455
7314
  {
7456
7315
  "kind": "field",
7457
- "name": "isSubmitting",
7316
+ "name": "inboxService",
7458
7317
  "type": {
7459
- "text": "boolean"
7460
- },
7461
- "privacy": "private",
7462
- "default": "false"
7318
+ "text": "FoundationInboxService"
7319
+ }
7463
7320
  },
7464
7321
  {
7465
7322
  "kind": "field",
7466
- "name": "parametersOperators",
7323
+ "name": "connectionSub",
7467
7324
  "type": {
7468
- "text": "object"
7325
+ "text": "Subscription"
7469
7326
  },
7470
- "default": "{}"
7327
+ "privacy": "private"
7471
7328
  },
7472
7329
  {
7473
- "kind": "field",
7474
- "name": "subscribeDisabled",
7475
- "type": {
7476
- "text": "boolean"
7330
+ "kind": "method",
7331
+ "name": "subscribeToAlerts",
7332
+ "privacy": "private",
7333
+ "return": {
7334
+ "type": {
7335
+ "text": "Promise<void>"
7336
+ }
7477
7337
  },
7478
- "default": "true"
7479
- },
7480
- {
7481
- "kind": "field",
7482
- "name": "ruleService",
7483
- "type": {
7484
- "text": "RuleService"
7485
- }
7338
+ "description": "Subscribes to alerts from the inbox service"
7486
7339
  },
7487
7340
  {
7488
7341
  "kind": "field",
7489
- "name": "visibleParameters",
7490
- "type": {
7491
- "text": "RuleParameterEntity[]"
7492
- },
7493
- "readonly": true
7342
+ "name": "subscriptionHandler",
7343
+ "privacy": "private",
7344
+ "description": "Handles subscription updates from the inbox service"
7345
+ }
7346
+ ],
7347
+ "superclass": {
7348
+ "name": "GenesisElement",
7349
+ "package": "@genesislcap/web-core"
7350
+ },
7351
+ "tagName": "foundation-inbox-counter",
7352
+ "customElement": true
7353
+ }
7354
+ ],
7355
+ "exports": [
7356
+ {
7357
+ "kind": "js",
7358
+ "name": "FoundationInboxCounter",
7359
+ "declaration": {
7360
+ "name": "FoundationInboxCounter",
7361
+ "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
7362
+ }
7363
+ },
7364
+ {
7365
+ "kind": "custom-element-definition",
7366
+ "name": "foundation-inbox-counter",
7367
+ "declaration": {
7368
+ "name": "FoundationInboxCounter",
7369
+ "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
7370
+ }
7371
+ }
7372
+ ]
7373
+ },
7374
+ {
7375
+ "kind": "javascript-module",
7376
+ "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts",
7377
+ "declarations": [
7378
+ {
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`"
7382
+ }
7383
+ ],
7384
+ "exports": [
7385
+ {
7386
+ "kind": "js",
7387
+ "name": "InboxSubscriptionStyles",
7388
+ "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
7494
  },
7495
7495
  {
7496
7496
  "kind": "method",
@@ -9833,39 +9833,39 @@
9833
9833
  },
9834
9834
  {
9835
9835
  "kind": "javascript-module",
9836
- "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts",
9836
+ "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
9837
9837
  "declarations": [
9838
9838
  {
9839
9839
  "kind": "variable",
9840
- "name": "RuleConditionBuilderTemplate",
9841
- "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`"
9840
+ "name": "RuleConditionGroupTemplate",
9841
+ "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`"
9842
9842
  }
9843
9843
  ],
9844
9844
  "exports": [
9845
9845
  {
9846
9846
  "kind": "js",
9847
- "name": "RuleConditionBuilderTemplate",
9847
+ "name": "RuleConditionGroupTemplate",
9848
9848
  "declaration": {
9849
- "name": "RuleConditionBuilderTemplate",
9850
- "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts"
9849
+ "name": "RuleConditionGroupTemplate",
9850
+ "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
9851
9851
  }
9852
9852
  }
9853
9853
  ]
9854
9854
  },
9855
9855
  {
9856
9856
  "kind": "javascript-module",
9857
- "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.ts",
9857
+ "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
9858
9858
  "declarations": [
9859
9859
  {
9860
9860
  "kind": "class",
9861
- "description": "Condition builder for notification rule criteria.",
9862
- "name": "RuleConditionBuilder",
9861
+ "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.",
9862
+ "name": "RuleConditionGroup",
9863
9863
  "members": [
9864
9864
  {
9865
9865
  "kind": "field",
9866
- "name": "condition",
9866
+ "name": "node",
9867
9867
  "type": {
9868
- "text": "ConditionBuilderEntity"
9868
+ "text": "ConditionGroupEntity"
9869
9869
  }
9870
9870
  },
9871
9871
  {
@@ -9893,88 +9893,238 @@
9893
9893
  },
9894
9894
  {
9895
9895
  "kind": "field",
9896
- "name": "leftValue",
9897
- "type": {
9898
- "text": "string"
9899
- },
9900
- "default": "null"
9901
- },
9902
- {
9903
- "kind": "field",
9904
- "name": "leftValueItems",
9905
- "type": {
9906
- "text": "Array<any>"
9907
- },
9908
- "default": "[]"
9909
- },
9910
- {
9911
- "kind": "field",
9912
- "name": "logicalOperator",
9913
- "type": {
9914
- "text": "string"
9915
- },
9916
- "default": "null"
9917
- },
9918
- {
9919
- "kind": "field",
9920
- "name": "rightCriteria",
9921
- "type": {
9922
- "text": "string"
9923
- }
9924
- },
9925
- {
9926
- "kind": "field",
9927
- "name": "rightValueText",
9928
- "type": {
9929
- "text": "string"
9930
- },
9931
- "default": "null"
9932
- },
9933
- {
9934
- "kind": "field",
9935
- "name": "rightValueSelect",
9936
- "type": {
9937
- "text": "string"
9938
- },
9939
- "default": "null"
9940
- },
9941
- {
9942
- "kind": "field",
9943
- "name": "rightValueMultiSelect",
9896
+ "name": "groupChildren",
9944
9897
  "type": {
9945
- "text": "string[]"
9898
+ "text": "ConditionNode[]"
9946
9899
  },
9947
9900
  "default": "[]"
9948
9901
  },
9949
9902
  {
9950
9903
  "kind": "method",
9951
- "name": "deleteCondition"
9904
+ "name": "nodeChanged"
9952
9905
  },
9953
9906
  {
9954
9907
  "kind": "method",
9955
- "name": "conditionChanged"
9908
+ "name": "joinOperatorChanged"
9956
9909
  },
9957
9910
  {
9958
9911
  "kind": "method",
9959
- "name": "joinOperatorChanged"
9912
+ "name": "newCondition"
9960
9913
  },
9961
9914
  {
9962
9915
  "kind": "method",
9963
- "name": "fieldsChanged"
9916
+ "name": "newGroup"
9964
9917
  },
9965
9918
  {
9966
9919
  "kind": "method",
9967
- "name": "assignLeftValue",
9968
- "privacy": "private"
9920
+ "name": "editChild",
9921
+ "parameters": [
9922
+ {
9923
+ "name": "_editedChild",
9924
+ "type": {
9925
+ "text": "ConditionNode"
9926
+ }
9927
+ }
9928
+ ]
9969
9929
  },
9970
9930
  {
9971
9931
  "kind": "method",
9972
- "name": "assignRightValue"
9932
+ "name": "deleteChild",
9933
+ "parameters": [
9934
+ {
9935
+ "name": "deletedChild",
9936
+ "type": {
9937
+ "text": "ConditionNode"
9938
+ }
9939
+ }
9940
+ ]
9973
9941
  },
9974
9942
  {
9975
9943
  "kind": "method",
9976
- "name": "getRightCriteria",
9977
- "return": {
9944
+ "name": "deleteSelf"
9945
+ }
9946
+ ],
9947
+ "events": [
9948
+ {
9949
+ "description": "Fired when this whole group should be removed",
9950
+ "name": "delete"
9951
+ },
9952
+ {
9953
+ "description": "Fired when anything inside this group changes",
9954
+ "name": "edit"
9955
+ }
9956
+ ],
9957
+ "superclass": {
9958
+ "name": "GenesisElement",
9959
+ "package": "@genesislcap/web-core"
9960
+ },
9961
+ "tagName": "rule-condition-group",
9962
+ "customElement": true
9963
+ }
9964
+ ],
9965
+ "exports": [
9966
+ {
9967
+ "kind": "js",
9968
+ "name": "RuleConditionGroup",
9969
+ "declaration": {
9970
+ "name": "RuleConditionGroup",
9971
+ "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
9972
+ }
9973
+ },
9974
+ {
9975
+ "kind": "custom-element-definition",
9976
+ "name": "rule-condition-group",
9977
+ "declaration": {
9978
+ "name": "RuleConditionGroup",
9979
+ "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
9980
+ }
9981
+ }
9982
+ ]
9983
+ },
9984
+ {
9985
+ "kind": "javascript-module",
9986
+ "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts",
9987
+ "declarations": [
9988
+ {
9989
+ "kind": "variable",
9990
+ "name": "RuleConditionBuilderTemplate",
9991
+ "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`"
9992
+ }
9993
+ ],
9994
+ "exports": [
9995
+ {
9996
+ "kind": "js",
9997
+ "name": "RuleConditionBuilderTemplate",
9998
+ "declaration": {
9999
+ "name": "RuleConditionBuilderTemplate",
10000
+ "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts"
10001
+ }
10002
+ }
10003
+ ]
10004
+ },
10005
+ {
10006
+ "kind": "javascript-module",
10007
+ "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.ts",
10008
+ "declarations": [
10009
+ {
10010
+ "kind": "class",
10011
+ "description": "Condition builder for notification rule criteria.",
10012
+ "name": "RuleConditionBuilder",
10013
+ "members": [
10014
+ {
10015
+ "kind": "field",
10016
+ "name": "condition",
10017
+ "type": {
10018
+ "text": "ConditionBuilderEntity"
10019
+ }
10020
+ },
10021
+ {
10022
+ "kind": "field",
10023
+ "name": "fields",
10024
+ "type": {
10025
+ "text": "Field[]"
10026
+ },
10027
+ "default": "[]"
10028
+ },
10029
+ {
10030
+ "kind": "field",
10031
+ "name": "isFirst",
10032
+ "type": {
10033
+ "text": "boolean"
10034
+ },
10035
+ "default": "false"
10036
+ },
10037
+ {
10038
+ "kind": "field",
10039
+ "name": "joinOperator",
10040
+ "type": {
10041
+ "text": "string"
10042
+ }
10043
+ },
10044
+ {
10045
+ "kind": "field",
10046
+ "name": "leftValue",
10047
+ "type": {
10048
+ "text": "string"
10049
+ },
10050
+ "default": "null"
10051
+ },
10052
+ {
10053
+ "kind": "field",
10054
+ "name": "leftValueItems",
10055
+ "type": {
10056
+ "text": "Array<any>"
10057
+ },
10058
+ "default": "[]"
10059
+ },
10060
+ {
10061
+ "kind": "field",
10062
+ "name": "logicalOperator",
10063
+ "type": {
10064
+ "text": "string"
10065
+ },
10066
+ "default": "null"
10067
+ },
10068
+ {
10069
+ "kind": "field",
10070
+ "name": "rightCriteria",
10071
+ "type": {
10072
+ "text": "string"
10073
+ }
10074
+ },
10075
+ {
10076
+ "kind": "field",
10077
+ "name": "rightValueText",
10078
+ "type": {
10079
+ "text": "string"
10080
+ },
10081
+ "default": "null"
10082
+ },
10083
+ {
10084
+ "kind": "field",
10085
+ "name": "rightValueSelect",
10086
+ "type": {
10087
+ "text": "string"
10088
+ },
10089
+ "default": "null"
10090
+ },
10091
+ {
10092
+ "kind": "field",
10093
+ "name": "rightValueMultiSelect",
10094
+ "type": {
10095
+ "text": "string[]"
10096
+ },
10097
+ "default": "[]"
10098
+ },
10099
+ {
10100
+ "kind": "method",
10101
+ "name": "deleteCondition"
10102
+ },
10103
+ {
10104
+ "kind": "method",
10105
+ "name": "conditionChanged"
10106
+ },
10107
+ {
10108
+ "kind": "method",
10109
+ "name": "joinOperatorChanged"
10110
+ },
10111
+ {
10112
+ "kind": "method",
10113
+ "name": "fieldsChanged"
10114
+ },
10115
+ {
10116
+ "kind": "method",
10117
+ "name": "assignLeftValue",
10118
+ "privacy": "private"
10119
+ },
10120
+ {
10121
+ "kind": "method",
10122
+ "name": "assignRightValue"
10123
+ },
10124
+ {
10125
+ "kind": "method",
10126
+ "name": "getRightCriteria",
10127
+ "return": {
9978
10128
  "type": {
9979
10129
  "text": "Array<any>"
9980
10130
  }
@@ -10117,150 +10267,214 @@
10117
10267
  },
10118
10268
  {
10119
10269
  "kind": "javascript-module",
10120
- "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
10270
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
10121
10271
  "declarations": [
10122
10272
  {
10123
10273
  "kind": "variable",
10124
- "name": "RuleConditionGroupTemplate",
10125
- "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`"
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`"
10126
10276
  }
10127
10277
  ],
10128
10278
  "exports": [
10129
10279
  {
10130
10280
  "kind": "js",
10131
- "name": "RuleConditionGroupTemplate",
10281
+ "name": "ParameterBuilderStyles",
10132
10282
  "declaration": {
10133
- "name": "RuleConditionGroupTemplate",
10134
- "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
10283
+ "name": "ParameterBuilderStyles",
10284
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
10135
10285
  }
10136
10286
  }
10137
10287
  ]
10138
10288
  },
10139
10289
  {
10140
10290
  "kind": "javascript-module",
10141
- "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
10291
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
10292
+ "declarations": [
10293
+ {
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",
10142
10313
  "declarations": [
10143
10314
  {
10144
10315
  "kind": "class",
10145
- "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.",
10146
- "name": "RuleConditionGroup",
10316
+ "description": "Parameter builder for notification templates.",
10317
+ "name": "ParameterBuilder",
10147
10318
  "members": [
10148
10319
  {
10149
10320
  "kind": "field",
10150
- "name": "node",
10321
+ "name": "parameter",
10151
10322
  "type": {
10152
- "text": "ConditionGroupEntity"
10323
+ "text": "ParameterBuilderEntity"
10153
10324
  }
10154
10325
  },
10155
10326
  {
10156
10327
  "kind": "field",
10157
- "name": "fields",
10328
+ "name": "name",
10158
10329
  "type": {
10159
- "text": "Field[]"
10160
- },
10161
- "default": "[]"
10330
+ "text": "string"
10331
+ }
10162
10332
  },
10163
10333
  {
10164
10334
  "kind": "field",
10165
- "name": "isFirst",
10335
+ "name": "label",
10166
10336
  "type": {
10167
- "text": "boolean"
10168
- },
10169
- "default": "false"
10337
+ "text": "string"
10338
+ }
10170
10339
  },
10171
10340
  {
10172
10341
  "kind": "field",
10173
- "name": "joinOperator",
10342
+ "name": "type",
10174
10343
  "type": {
10175
10344
  "text": "string"
10176
10345
  }
10177
10346
  },
10178
10347
  {
10179
10348
  "kind": "field",
10180
- "name": "groupChildren",
10349
+ "name": "sourceType",
10181
10350
  "type": {
10182
- "text": "ConditionNode[]"
10351
+ "text": "string"
10352
+ }
10353
+ },
10354
+ {
10355
+ "kind": "field",
10356
+ "name": "sourceSelected",
10357
+ "type": {
10358
+ "text": "string"
10359
+ }
10360
+ },
10361
+ {
10362
+ "kind": "field",
10363
+ "name": "sourceTyped",
10364
+ "type": {
10365
+ "text": "string"
10366
+ }
10367
+ },
10368
+ {
10369
+ "kind": "field",
10370
+ "name": "sourceTextField",
10371
+ "type": {
10372
+ "text": "TextField"
10373
+ }
10374
+ },
10375
+ {
10376
+ "kind": "field",
10377
+ "name": "sourceSelect",
10378
+ "type": {
10379
+ "text": "Select"
10380
+ }
10381
+ },
10382
+ {
10383
+ "kind": "field",
10384
+ "name": "reqRepItems",
10385
+ "type": {
10386
+ "text": "array"
10183
10387
  },
10184
- "default": "[]"
10388
+ "default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
10185
10389
  },
10186
10390
  {
10187
10391
  "kind": "method",
10188
- "name": "nodeChanged"
10392
+ "name": "deleteParameter"
10189
10393
  },
10190
10394
  {
10191
10395
  "kind": "method",
10192
- "name": "joinOperatorChanged"
10396
+ "name": "parameterChanged"
10193
10397
  },
10194
10398
  {
10195
10399
  "kind": "method",
10196
- "name": "newCondition"
10400
+ "name": "nameChanged"
10197
10401
  },
10198
10402
  {
10199
10403
  "kind": "method",
10200
- "name": "newGroup"
10404
+ "name": "labelChanged"
10201
10405
  },
10202
10406
  {
10203
10407
  "kind": "method",
10204
- "name": "editChild",
10205
- "parameters": [
10206
- {
10207
- "name": "_editedChild",
10208
- "type": {
10209
- "text": "ConditionNode"
10210
- }
10211
- }
10212
- ]
10408
+ "name": "typeChanged"
10409
+ },
10410
+ {
10411
+ "kind": "method",
10412
+ "name": "sourceTypeChanged"
10413
+ },
10414
+ {
10415
+ "kind": "method",
10416
+ "name": "sourceSelectedChanged"
10417
+ },
10418
+ {
10419
+ "kind": "method",
10420
+ "name": "sourceTypedChanged"
10213
10421
  },
10214
10422
  {
10215
10423
  "kind": "method",
10216
- "name": "deleteChild",
10424
+ "name": "genericChanged",
10425
+ "privacy": "private",
10217
10426
  "parameters": [
10218
10427
  {
10219
- "name": "deletedChild",
10220
- "type": {
10221
- "text": "ConditionNode"
10222
- }
10428
+ "name": "parameterAttribute"
10429
+ },
10430
+ {
10431
+ "name": "value"
10223
10432
  }
10224
10433
  ]
10225
- },
10226
- {
10227
- "kind": "method",
10228
- "name": "deleteSelf"
10229
10434
  }
10230
10435
  ],
10231
10436
  "events": [
10232
10437
  {
10233
- "description": "Fired when this whole group should be removed",
10438
+ "description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
10234
10439
  "name": "delete"
10235
10440
  },
10236
10441
  {
10237
- "description": "Fired when anything inside this group changes",
10442
+ "description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
10238
10443
  "name": "edit"
10239
10444
  }
10240
10445
  ],
10446
+ "attributes": [
10447
+ {
10448
+ "name": "parameter",
10449
+ "type": {
10450
+ "text": "ParameterBuilderEntity"
10451
+ },
10452
+ "fieldName": "parameter"
10453
+ }
10454
+ ],
10241
10455
  "superclass": {
10242
10456
  "name": "GenesisElement",
10243
10457
  "package": "@genesislcap/web-core"
10244
10458
  },
10245
- "tagName": "rule-condition-group",
10459
+ "tagName": "parameter-builder",
10246
10460
  "customElement": true
10247
10461
  }
10248
10462
  ],
10249
10463
  "exports": [
10250
10464
  {
10251
10465
  "kind": "js",
10252
- "name": "RuleConditionGroup",
10466
+ "name": "ParameterBuilder",
10253
10467
  "declaration": {
10254
- "name": "RuleConditionGroup",
10255
- "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
10468
+ "name": "ParameterBuilder",
10469
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
10256
10470
  }
10257
10471
  },
10258
10472
  {
10259
10473
  "kind": "custom-element-definition",
10260
- "name": "rule-condition-group",
10474
+ "name": "parameter-builder",
10261
10475
  "declaration": {
10262
- "name": "RuleConditionGroup",
10263
- "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
10476
+ "name": "ParameterBuilder",
10477
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
10264
10478
  }
10265
10479
  }
10266
10480
  ]
@@ -10706,220 +10920,6 @@
10706
10920
  }
10707
10921
  }
10708
10922
  ]
10709
- },
10710
- {
10711
- "kind": "javascript-module",
10712
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
10713
- "declarations": [
10714
- {
10715
- "kind": "variable",
10716
- "name": "ParameterBuilderStyles",
10717
- "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`"
10718
- }
10719
- ],
10720
- "exports": [
10721
- {
10722
- "kind": "js",
10723
- "name": "ParameterBuilderStyles",
10724
- "declaration": {
10725
- "name": "ParameterBuilderStyles",
10726
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
10727
- }
10728
- }
10729
- ]
10730
- },
10731
- {
10732
- "kind": "javascript-module",
10733
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
10734
- "declarations": [
10735
- {
10736
- "kind": "variable",
10737
- "name": "ParameterBuilderTemplate",
10738
- "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`"
10739
- }
10740
- ],
10741
- "exports": [
10742
- {
10743
- "kind": "js",
10744
- "name": "ParameterBuilderTemplate",
10745
- "declaration": {
10746
- "name": "ParameterBuilderTemplate",
10747
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
10748
- }
10749
- }
10750
- ]
10751
- },
10752
- {
10753
- "kind": "javascript-module",
10754
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
10755
- "declarations": [
10756
- {
10757
- "kind": "class",
10758
- "description": "Parameter builder for notification templates.",
10759
- "name": "ParameterBuilder",
10760
- "members": [
10761
- {
10762
- "kind": "field",
10763
- "name": "parameter",
10764
- "type": {
10765
- "text": "ParameterBuilderEntity"
10766
- }
10767
- },
10768
- {
10769
- "kind": "field",
10770
- "name": "name",
10771
- "type": {
10772
- "text": "string"
10773
- }
10774
- },
10775
- {
10776
- "kind": "field",
10777
- "name": "label",
10778
- "type": {
10779
- "text": "string"
10780
- }
10781
- },
10782
- {
10783
- "kind": "field",
10784
- "name": "type",
10785
- "type": {
10786
- "text": "string"
10787
- }
10788
- },
10789
- {
10790
- "kind": "field",
10791
- "name": "sourceType",
10792
- "type": {
10793
- "text": "string"
10794
- }
10795
- },
10796
- {
10797
- "kind": "field",
10798
- "name": "sourceSelected",
10799
- "type": {
10800
- "text": "string"
10801
- }
10802
- },
10803
- {
10804
- "kind": "field",
10805
- "name": "sourceTyped",
10806
- "type": {
10807
- "text": "string"
10808
- }
10809
- },
10810
- {
10811
- "kind": "field",
10812
- "name": "sourceTextField",
10813
- "type": {
10814
- "text": "TextField"
10815
- }
10816
- },
10817
- {
10818
- "kind": "field",
10819
- "name": "sourceSelect",
10820
- "type": {
10821
- "text": "Select"
10822
- }
10823
- },
10824
- {
10825
- "kind": "field",
10826
- "name": "reqRepItems",
10827
- "type": {
10828
- "text": "array"
10829
- },
10830
- "default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
10831
- },
10832
- {
10833
- "kind": "method",
10834
- "name": "deleteParameter"
10835
- },
10836
- {
10837
- "kind": "method",
10838
- "name": "parameterChanged"
10839
- },
10840
- {
10841
- "kind": "method",
10842
- "name": "nameChanged"
10843
- },
10844
- {
10845
- "kind": "method",
10846
- "name": "labelChanged"
10847
- },
10848
- {
10849
- "kind": "method",
10850
- "name": "typeChanged"
10851
- },
10852
- {
10853
- "kind": "method",
10854
- "name": "sourceTypeChanged"
10855
- },
10856
- {
10857
- "kind": "method",
10858
- "name": "sourceSelectedChanged"
10859
- },
10860
- {
10861
- "kind": "method",
10862
- "name": "sourceTypedChanged"
10863
- },
10864
- {
10865
- "kind": "method",
10866
- "name": "genericChanged",
10867
- "privacy": "private",
10868
- "parameters": [
10869
- {
10870
- "name": "parameterAttribute"
10871
- },
10872
- {
10873
- "name": "value"
10874
- }
10875
- ]
10876
- }
10877
- ],
10878
- "events": [
10879
- {
10880
- "description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
10881
- "name": "delete"
10882
- },
10883
- {
10884
- "description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
10885
- "name": "edit"
10886
- }
10887
- ],
10888
- "attributes": [
10889
- {
10890
- "name": "parameter",
10891
- "type": {
10892
- "text": "ParameterBuilderEntity"
10893
- },
10894
- "fieldName": "parameter"
10895
- }
10896
- ],
10897
- "superclass": {
10898
- "name": "GenesisElement",
10899
- "package": "@genesislcap/web-core"
10900
- },
10901
- "tagName": "parameter-builder",
10902
- "customElement": true
10903
- }
10904
- ],
10905
- "exports": [
10906
- {
10907
- "kind": "js",
10908
- "name": "ParameterBuilder",
10909
- "declaration": {
10910
- "name": "ParameterBuilder",
10911
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
10912
- }
10913
- },
10914
- {
10915
- "kind": "custom-element-definition",
10916
- "name": "parameter-builder",
10917
- "declaration": {
10918
- "name": "ParameterBuilder",
10919
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
10920
- }
10921
- }
10922
- ]
10923
10923
  }
10924
10924
  ]
10925
10925
  }