@genesislcap/pbc-notify-ui 15.46.2-FUI-2628.2 → 15.46.3
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.
- package/dist/custom-elements.json +593 -593
- package/dist/dts/react.d.ts +25 -25
- package/dist/react.cjs +15 -15
- package/dist/react.mjs +12 -12
- package/package.json +22 -22
|
@@ -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-
|
|
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": "
|
|
7381
|
-
"
|
|
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": "
|
|
7253
|
+
"name": "noItemsClass",
|
|
7388
7254
|
"declaration": {
|
|
7389
|
-
"name": "
|
|
7390
|
-
"module": "src/components/foundation-inbox/components/inbox-
|
|
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-
|
|
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": "
|
|
7402
|
-
"default": "html<
|
|
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": "
|
|
7282
|
+
"name": "FoundationInboxCounterTemplate",
|
|
7409
7283
|
"declaration": {
|
|
7410
|
-
"name": "
|
|
7411
|
-
"module": "src/components/foundation-inbox/components/inbox-
|
|
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-
|
|
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": "
|
|
7423
|
-
"name": "
|
|
7296
|
+
"description": "",
|
|
7297
|
+
"name": "FoundationInboxCounter",
|
|
7424
7298
|
"members": [
|
|
7425
7299
|
{
|
|
7426
7300
|
"kind": "field",
|
|
7427
|
-
"name": "
|
|
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": "
|
|
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": "
|
|
7309
|
+
"name": "connect",
|
|
7449
7310
|
"type": {
|
|
7450
|
-
"text": "
|
|
7451
|
-
}
|
|
7452
|
-
"privacy": "private",
|
|
7453
|
-
"default": "{}"
|
|
7311
|
+
"text": "Connect"
|
|
7312
|
+
}
|
|
7454
7313
|
},
|
|
7455
7314
|
{
|
|
7456
7315
|
"kind": "field",
|
|
7457
|
-
"name": "
|
|
7316
|
+
"name": "inboxService",
|
|
7458
7317
|
"type": {
|
|
7459
|
-
"text": "
|
|
7460
|
-
}
|
|
7461
|
-
"privacy": "private",
|
|
7462
|
-
"default": "false"
|
|
7318
|
+
"text": "FoundationInboxService"
|
|
7319
|
+
}
|
|
7463
7320
|
},
|
|
7464
7321
|
{
|
|
7465
7322
|
"kind": "field",
|
|
7466
|
-
"name": "
|
|
7323
|
+
"name": "connectionSub",
|
|
7467
7324
|
"type": {
|
|
7468
|
-
"text": "
|
|
7325
|
+
"text": "Subscription"
|
|
7469
7326
|
},
|
|
7470
|
-
"
|
|
7327
|
+
"privacy": "private"
|
|
7471
7328
|
},
|
|
7472
7329
|
{
|
|
7473
|
-
"kind": "
|
|
7474
|
-
"name": "
|
|
7475
|
-
"
|
|
7476
|
-
|
|
7330
|
+
"kind": "method",
|
|
7331
|
+
"name": "subscribeToAlerts",
|
|
7332
|
+
"privacy": "private",
|
|
7333
|
+
"return": {
|
|
7334
|
+
"type": {
|
|
7335
|
+
"text": "Promise<void>"
|
|
7336
|
+
}
|
|
7477
7337
|
},
|
|
7478
|
-
"
|
|
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": "
|
|
7490
|
-
"
|
|
7491
|
-
|
|
7492
|
-
|
|
7493
|
-
|
|
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-
|
|
9836
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts",
|
|
9837
9837
|
"declarations": [
|
|
9838
9838
|
{
|
|
9839
9839
|
"kind": "variable",
|
|
9840
|
-
"name": "
|
|
9841
|
-
"default": "html<
|
|
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`"
|
|
9842
9842
|
}
|
|
9843
9843
|
],
|
|
9844
9844
|
"exports": [
|
|
9845
9845
|
{
|
|
9846
9846
|
"kind": "js",
|
|
9847
|
-
"name": "
|
|
9847
|
+
"name": "RuleConditionBuilderTemplate",
|
|
9848
9848
|
"declaration": {
|
|
9849
|
-
"name": "
|
|
9850
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-
|
|
9849
|
+
"name": "RuleConditionBuilderTemplate",
|
|
9850
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.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-
|
|
9857
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.ts",
|
|
9858
9858
|
"declarations": [
|
|
9859
9859
|
{
|
|
9860
9860
|
"kind": "class",
|
|
9861
|
-
"description": "
|
|
9862
|
-
"name": "
|
|
9861
|
+
"description": "Condition builder for notification rule criteria.",
|
|
9862
|
+
"name": "RuleConditionBuilder",
|
|
9863
9863
|
"members": [
|
|
9864
9864
|
{
|
|
9865
9865
|
"kind": "field",
|
|
9866
|
-
"name": "
|
|
9866
|
+
"name": "condition",
|
|
9867
9867
|
"type": {
|
|
9868
|
-
"text": "
|
|
9868
|
+
"text": "ConditionBuilderEntity"
|
|
9869
9869
|
}
|
|
9870
9870
|
},
|
|
9871
9871
|
{
|
|
@@ -9893,64 +9893,192 @@
|
|
|
9893
9893
|
},
|
|
9894
9894
|
{
|
|
9895
9895
|
"kind": "field",
|
|
9896
|
-
"name": "
|
|
9896
|
+
"name": "leftValue",
|
|
9897
9897
|
"type": {
|
|
9898
|
-
"text": "
|
|
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",
|
|
9944
|
+
"type": {
|
|
9945
|
+
"text": "string[]"
|
|
9899
9946
|
},
|
|
9900
9947
|
"default": "[]"
|
|
9901
9948
|
},
|
|
9902
9949
|
{
|
|
9903
9950
|
"kind": "method",
|
|
9904
|
-
"name": "
|
|
9951
|
+
"name": "deleteCondition"
|
|
9905
9952
|
},
|
|
9906
9953
|
{
|
|
9907
9954
|
"kind": "method",
|
|
9908
|
-
"name": "
|
|
9955
|
+
"name": "conditionChanged"
|
|
9909
9956
|
},
|
|
9910
9957
|
{
|
|
9911
9958
|
"kind": "method",
|
|
9912
|
-
"name": "
|
|
9959
|
+
"name": "joinOperatorChanged"
|
|
9913
9960
|
},
|
|
9914
9961
|
{
|
|
9915
9962
|
"kind": "method",
|
|
9916
|
-
"name": "
|
|
9963
|
+
"name": "fieldsChanged"
|
|
9917
9964
|
},
|
|
9918
9965
|
{
|
|
9919
9966
|
"kind": "method",
|
|
9920
|
-
"name": "
|
|
9921
|
-
"
|
|
9922
|
-
{
|
|
9923
|
-
"name": "_editedChild",
|
|
9924
|
-
"type": {
|
|
9925
|
-
"text": "ConditionNode"
|
|
9926
|
-
}
|
|
9927
|
-
}
|
|
9928
|
-
]
|
|
9967
|
+
"name": "assignLeftValue",
|
|
9968
|
+
"privacy": "private"
|
|
9929
9969
|
},
|
|
9930
9970
|
{
|
|
9931
9971
|
"kind": "method",
|
|
9932
|
-
"name": "
|
|
9933
|
-
"parameters": [
|
|
9934
|
-
{
|
|
9935
|
-
"name": "deletedChild",
|
|
9936
|
-
"type": {
|
|
9937
|
-
"text": "ConditionNode"
|
|
9938
|
-
}
|
|
9939
|
-
}
|
|
9940
|
-
]
|
|
9972
|
+
"name": "assignRightValue"
|
|
9941
9973
|
},
|
|
9942
9974
|
{
|
|
9943
9975
|
"kind": "method",
|
|
9944
|
-
"name": "
|
|
9945
|
-
|
|
9976
|
+
"name": "getRightCriteria",
|
|
9977
|
+
"return": {
|
|
9978
|
+
"type": {
|
|
9979
|
+
"text": "Array<any>"
|
|
9980
|
+
}
|
|
9981
|
+
}
|
|
9982
|
+
},
|
|
9983
|
+
{
|
|
9984
|
+
"kind": "method",
|
|
9985
|
+
"name": "getLogicalOperators",
|
|
9986
|
+
"return": {
|
|
9987
|
+
"type": {
|
|
9988
|
+
"text": "Array<any>"
|
|
9989
|
+
}
|
|
9990
|
+
}
|
|
9991
|
+
},
|
|
9992
|
+
{
|
|
9993
|
+
"kind": "method",
|
|
9994
|
+
"name": "leftValueChanged"
|
|
9995
|
+
},
|
|
9996
|
+
{
|
|
9997
|
+
"kind": "method",
|
|
9998
|
+
"name": "logicalOperatorChanged"
|
|
9999
|
+
},
|
|
10000
|
+
{
|
|
10001
|
+
"kind": "method",
|
|
10002
|
+
"name": "rightCriteriaChanged"
|
|
10003
|
+
},
|
|
10004
|
+
{
|
|
10005
|
+
"kind": "method",
|
|
10006
|
+
"name": "clearRightValueText",
|
|
10007
|
+
"privacy": "private"
|
|
10008
|
+
},
|
|
10009
|
+
{
|
|
10010
|
+
"kind": "method",
|
|
10011
|
+
"name": "clearRightValueSelect",
|
|
10012
|
+
"privacy": "private"
|
|
10013
|
+
},
|
|
10014
|
+
{
|
|
10015
|
+
"kind": "method",
|
|
10016
|
+
"name": "rightValueTextChanged"
|
|
10017
|
+
},
|
|
10018
|
+
{
|
|
10019
|
+
"kind": "method",
|
|
10020
|
+
"name": "rightValueSelectChanged"
|
|
10021
|
+
},
|
|
10022
|
+
{
|
|
10023
|
+
"kind": "method",
|
|
10024
|
+
"name": "rightValueMultiSelectChanged"
|
|
10025
|
+
},
|
|
10026
|
+
{
|
|
10027
|
+
"kind": "method",
|
|
10028
|
+
"name": "getEnumValues",
|
|
10029
|
+
"return": {
|
|
10030
|
+
"type": {
|
|
10031
|
+
"text": "string[]"
|
|
10032
|
+
}
|
|
10033
|
+
}
|
|
10034
|
+
},
|
|
10035
|
+
{
|
|
10036
|
+
"kind": "method",
|
|
10037
|
+
"name": "convertDateTime",
|
|
10038
|
+
"parameters": [
|
|
10039
|
+
{
|
|
10040
|
+
"name": "dateTimeStr",
|
|
10041
|
+
"type": {
|
|
10042
|
+
"text": "string"
|
|
10043
|
+
}
|
|
10044
|
+
}
|
|
10045
|
+
]
|
|
10046
|
+
},
|
|
10047
|
+
{
|
|
10048
|
+
"kind": "method",
|
|
10049
|
+
"name": "convertLongForDatePicker",
|
|
10050
|
+
"parameters": [
|
|
10051
|
+
{
|
|
10052
|
+
"name": "value",
|
|
10053
|
+
"type": {
|
|
10054
|
+
"text": "number"
|
|
10055
|
+
}
|
|
10056
|
+
},
|
|
10057
|
+
{
|
|
10058
|
+
"name": "time",
|
|
10059
|
+
"default": "false",
|
|
10060
|
+
"type": {
|
|
10061
|
+
"text": "boolean"
|
|
10062
|
+
}
|
|
10063
|
+
}
|
|
10064
|
+
]
|
|
10065
|
+
},
|
|
10066
|
+
{
|
|
10067
|
+
"kind": "method",
|
|
10068
|
+
"name": "getAllFields"
|
|
10069
|
+
},
|
|
10070
|
+
{
|
|
10071
|
+
"kind": "method",
|
|
10072
|
+
"name": "getApplicableFields"
|
|
10073
|
+
}
|
|
9946
10074
|
],
|
|
9947
10075
|
"events": [
|
|
9948
10076
|
{
|
|
9949
|
-
"description": "Fired when
|
|
10077
|
+
"description": "Fired when a condition is deleted. detail: `ConditionBuilderEntity`",
|
|
9950
10078
|
"name": "delete"
|
|
9951
10079
|
},
|
|
9952
10080
|
{
|
|
9953
|
-
"description": "Fired when
|
|
10081
|
+
"description": "Fired when a condition is edited. detail: `ConditionBuilderEntity`",
|
|
9954
10082
|
"name": "edit"
|
|
9955
10083
|
}
|
|
9956
10084
|
],
|
|
@@ -9958,64 +10086,70 @@
|
|
|
9958
10086
|
"name": "GenesisElement",
|
|
9959
10087
|
"package": "@genesislcap/web-core"
|
|
9960
10088
|
},
|
|
9961
|
-
"tagName": "rule-condition-
|
|
10089
|
+
"tagName": "rule-condition-builder",
|
|
9962
10090
|
"customElement": true
|
|
9963
10091
|
}
|
|
9964
10092
|
],
|
|
9965
10093
|
"exports": [
|
|
9966
10094
|
{
|
|
9967
10095
|
"kind": "js",
|
|
9968
|
-
"name": "
|
|
10096
|
+
"name": "RuleConditionBuilder",
|
|
9969
10097
|
"declaration": {
|
|
9970
|
-
"name": "
|
|
9971
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-
|
|
10098
|
+
"name": "RuleConditionBuilder",
|
|
10099
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.ts"
|
|
9972
10100
|
}
|
|
9973
10101
|
},
|
|
9974
10102
|
{
|
|
9975
10103
|
"kind": "custom-element-definition",
|
|
9976
|
-
"name": "rule-condition-
|
|
10104
|
+
"name": "rule-condition-builder",
|
|
9977
10105
|
"declaration": {
|
|
9978
|
-
"name": "
|
|
9979
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-
|
|
10106
|
+
"name": "RuleConditionBuilder",
|
|
10107
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.ts"
|
|
9980
10108
|
}
|
|
9981
10109
|
}
|
|
9982
10110
|
]
|
|
9983
10111
|
},
|
|
9984
10112
|
{
|
|
9985
10113
|
"kind": "javascript-module",
|
|
9986
|
-
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.
|
|
10114
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.types.ts",
|
|
10115
|
+
"declarations": [],
|
|
10116
|
+
"exports": []
|
|
10117
|
+
},
|
|
10118
|
+
{
|
|
10119
|
+
"kind": "javascript-module",
|
|
10120
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
|
|
9987
10121
|
"declarations": [
|
|
9988
10122
|
{
|
|
9989
10123
|
"kind": "variable",
|
|
9990
|
-
"name": "
|
|
9991
|
-
"default": "html<
|
|
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`"
|
|
9992
10126
|
}
|
|
9993
10127
|
],
|
|
9994
10128
|
"exports": [
|
|
9995
10129
|
{
|
|
9996
10130
|
"kind": "js",
|
|
9997
|
-
"name": "
|
|
10131
|
+
"name": "RuleConditionGroupTemplate",
|
|
9998
10132
|
"declaration": {
|
|
9999
|
-
"name": "
|
|
10000
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-
|
|
10133
|
+
"name": "RuleConditionGroupTemplate",
|
|
10134
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
|
|
10001
10135
|
}
|
|
10002
10136
|
}
|
|
10003
10137
|
]
|
|
10004
10138
|
},
|
|
10005
10139
|
{
|
|
10006
10140
|
"kind": "javascript-module",
|
|
10007
|
-
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-
|
|
10141
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
|
|
10008
10142
|
"declarations": [
|
|
10009
10143
|
{
|
|
10010
10144
|
"kind": "class",
|
|
10011
|
-
"description": "
|
|
10012
|
-
"name": "
|
|
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",
|
|
10013
10147
|
"members": [
|
|
10014
10148
|
{
|
|
10015
10149
|
"kind": "field",
|
|
10016
|
-
"name": "
|
|
10150
|
+
"name": "node",
|
|
10017
10151
|
"type": {
|
|
10018
|
-
"text": "
|
|
10152
|
+
"text": "ConditionGroupEntity"
|
|
10019
10153
|
}
|
|
10020
10154
|
},
|
|
10021
10155
|
{
|
|
@@ -10043,228 +10177,308 @@
|
|
|
10043
10177
|
},
|
|
10044
10178
|
{
|
|
10045
10179
|
"kind": "field",
|
|
10046
|
-
"name": "
|
|
10180
|
+
"name": "groupChildren",
|
|
10047
10181
|
"type": {
|
|
10048
|
-
"text": "
|
|
10182
|
+
"text": "ConditionNode[]"
|
|
10049
10183
|
},
|
|
10050
|
-
"default": "
|
|
10184
|
+
"default": "[]"
|
|
10185
|
+
},
|
|
10186
|
+
{
|
|
10187
|
+
"kind": "method",
|
|
10188
|
+
"name": "nodeChanged"
|
|
10189
|
+
},
|
|
10190
|
+
{
|
|
10191
|
+
"kind": "method",
|
|
10192
|
+
"name": "joinOperatorChanged"
|
|
10193
|
+
},
|
|
10194
|
+
{
|
|
10195
|
+
"kind": "method",
|
|
10196
|
+
"name": "newCondition"
|
|
10197
|
+
},
|
|
10198
|
+
{
|
|
10199
|
+
"kind": "method",
|
|
10200
|
+
"name": "newGroup"
|
|
10201
|
+
},
|
|
10202
|
+
{
|
|
10203
|
+
"kind": "method",
|
|
10204
|
+
"name": "editChild",
|
|
10205
|
+
"parameters": [
|
|
10206
|
+
{
|
|
10207
|
+
"name": "_editedChild",
|
|
10208
|
+
"type": {
|
|
10209
|
+
"text": "ConditionNode"
|
|
10210
|
+
}
|
|
10211
|
+
}
|
|
10212
|
+
]
|
|
10213
|
+
},
|
|
10214
|
+
{
|
|
10215
|
+
"kind": "method",
|
|
10216
|
+
"name": "deleteChild",
|
|
10217
|
+
"parameters": [
|
|
10218
|
+
{
|
|
10219
|
+
"name": "deletedChild",
|
|
10220
|
+
"type": {
|
|
10221
|
+
"text": "ConditionNode"
|
|
10222
|
+
}
|
|
10223
|
+
}
|
|
10224
|
+
]
|
|
10225
|
+
},
|
|
10226
|
+
{
|
|
10227
|
+
"kind": "method",
|
|
10228
|
+
"name": "deleteSelf"
|
|
10229
|
+
}
|
|
10230
|
+
],
|
|
10231
|
+
"events": [
|
|
10232
|
+
{
|
|
10233
|
+
"description": "Fired when this whole group should be removed",
|
|
10234
|
+
"name": "delete"
|
|
10051
10235
|
},
|
|
10236
|
+
{
|
|
10237
|
+
"description": "Fired when anything inside this group changes",
|
|
10238
|
+
"name": "edit"
|
|
10239
|
+
}
|
|
10240
|
+
],
|
|
10241
|
+
"superclass": {
|
|
10242
|
+
"name": "GenesisElement",
|
|
10243
|
+
"package": "@genesislcap/web-core"
|
|
10244
|
+
},
|
|
10245
|
+
"tagName": "rule-condition-group",
|
|
10246
|
+
"customElement": true
|
|
10247
|
+
}
|
|
10248
|
+
],
|
|
10249
|
+
"exports": [
|
|
10250
|
+
{
|
|
10251
|
+
"kind": "js",
|
|
10252
|
+
"name": "RuleConditionGroup",
|
|
10253
|
+
"declaration": {
|
|
10254
|
+
"name": "RuleConditionGroup",
|
|
10255
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
10256
|
+
}
|
|
10257
|
+
},
|
|
10258
|
+
{
|
|
10259
|
+
"kind": "custom-element-definition",
|
|
10260
|
+
"name": "rule-condition-group",
|
|
10261
|
+
"declaration": {
|
|
10262
|
+
"name": "RuleConditionGroup",
|
|
10263
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
10264
|
+
}
|
|
10265
|
+
}
|
|
10266
|
+
]
|
|
10267
|
+
},
|
|
10268
|
+
{
|
|
10269
|
+
"kind": "javascript-module",
|
|
10270
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
|
10271
|
+
"declarations": [
|
|
10272
|
+
{
|
|
10273
|
+
"kind": "variable",
|
|
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
|
+
}
|
|
10277
|
+
],
|
|
10278
|
+
"exports": [
|
|
10279
|
+
{
|
|
10280
|
+
"kind": "js",
|
|
10281
|
+
"name": "ParameterBuilderStyles",
|
|
10282
|
+
"declaration": {
|
|
10283
|
+
"name": "ParameterBuilderStyles",
|
|
10284
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
|
|
10285
|
+
}
|
|
10286
|
+
}
|
|
10287
|
+
]
|
|
10288
|
+
},
|
|
10289
|
+
{
|
|
10290
|
+
"kind": "javascript-module",
|
|
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",
|
|
10313
|
+
"declarations": [
|
|
10314
|
+
{
|
|
10315
|
+
"kind": "class",
|
|
10316
|
+
"description": "Parameter builder for notification templates.",
|
|
10317
|
+
"name": "ParameterBuilder",
|
|
10318
|
+
"members": [
|
|
10052
10319
|
{
|
|
10053
10320
|
"kind": "field",
|
|
10054
|
-
"name": "
|
|
10321
|
+
"name": "parameter",
|
|
10055
10322
|
"type": {
|
|
10056
|
-
"text": "
|
|
10057
|
-
}
|
|
10058
|
-
"default": "[]"
|
|
10323
|
+
"text": "ParameterBuilderEntity"
|
|
10324
|
+
}
|
|
10059
10325
|
},
|
|
10060
10326
|
{
|
|
10061
10327
|
"kind": "field",
|
|
10062
|
-
"name": "
|
|
10328
|
+
"name": "name",
|
|
10063
10329
|
"type": {
|
|
10064
10330
|
"text": "string"
|
|
10065
|
-
}
|
|
10066
|
-
"default": "null"
|
|
10331
|
+
}
|
|
10067
10332
|
},
|
|
10068
10333
|
{
|
|
10069
10334
|
"kind": "field",
|
|
10070
|
-
"name": "
|
|
10335
|
+
"name": "label",
|
|
10071
10336
|
"type": {
|
|
10072
10337
|
"text": "string"
|
|
10073
10338
|
}
|
|
10074
10339
|
},
|
|
10075
10340
|
{
|
|
10076
10341
|
"kind": "field",
|
|
10077
|
-
"name": "
|
|
10342
|
+
"name": "type",
|
|
10078
10343
|
"type": {
|
|
10079
10344
|
"text": "string"
|
|
10080
|
-
}
|
|
10081
|
-
"default": "null"
|
|
10345
|
+
}
|
|
10082
10346
|
},
|
|
10083
10347
|
{
|
|
10084
10348
|
"kind": "field",
|
|
10085
|
-
"name": "
|
|
10349
|
+
"name": "sourceType",
|
|
10086
10350
|
"type": {
|
|
10087
10351
|
"text": "string"
|
|
10088
|
-
}
|
|
10089
|
-
"default": "null"
|
|
10352
|
+
}
|
|
10090
10353
|
},
|
|
10091
10354
|
{
|
|
10092
10355
|
"kind": "field",
|
|
10093
|
-
"name": "
|
|
10356
|
+
"name": "sourceSelected",
|
|
10094
10357
|
"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"
|
|
10358
|
+
"text": "string"
|
|
10359
|
+
}
|
|
10123
10360
|
},
|
|
10124
10361
|
{
|
|
10125
|
-
"kind": "
|
|
10126
|
-
"name": "
|
|
10127
|
-
"
|
|
10128
|
-
"
|
|
10129
|
-
"text": "Array<any>"
|
|
10130
|
-
}
|
|
10362
|
+
"kind": "field",
|
|
10363
|
+
"name": "sourceTyped",
|
|
10364
|
+
"type": {
|
|
10365
|
+
"text": "string"
|
|
10131
10366
|
}
|
|
10132
10367
|
},
|
|
10133
10368
|
{
|
|
10134
|
-
"kind": "
|
|
10135
|
-
"name": "
|
|
10136
|
-
"
|
|
10137
|
-
"
|
|
10138
|
-
"text": "Array<any>"
|
|
10139
|
-
}
|
|
10369
|
+
"kind": "field",
|
|
10370
|
+
"name": "sourceTextField",
|
|
10371
|
+
"type": {
|
|
10372
|
+
"text": "TextField"
|
|
10140
10373
|
}
|
|
10141
10374
|
},
|
|
10142
10375
|
{
|
|
10143
|
-
"kind": "
|
|
10144
|
-
"name": "
|
|
10376
|
+
"kind": "field",
|
|
10377
|
+
"name": "sourceSelect",
|
|
10378
|
+
"type": {
|
|
10379
|
+
"text": "Select"
|
|
10380
|
+
}
|
|
10145
10381
|
},
|
|
10146
10382
|
{
|
|
10147
|
-
"kind": "
|
|
10148
|
-
"name": "
|
|
10383
|
+
"kind": "field",
|
|
10384
|
+
"name": "reqRepItems",
|
|
10385
|
+
"type": {
|
|
10386
|
+
"text": "array"
|
|
10387
|
+
},
|
|
10388
|
+
"default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
|
|
10149
10389
|
},
|
|
10150
10390
|
{
|
|
10151
10391
|
"kind": "method",
|
|
10152
|
-
"name": "
|
|
10392
|
+
"name": "deleteParameter"
|
|
10153
10393
|
},
|
|
10154
10394
|
{
|
|
10155
10395
|
"kind": "method",
|
|
10156
|
-
"name": "
|
|
10157
|
-
"privacy": "private"
|
|
10396
|
+
"name": "parameterChanged"
|
|
10158
10397
|
},
|
|
10159
10398
|
{
|
|
10160
10399
|
"kind": "method",
|
|
10161
|
-
"name": "
|
|
10162
|
-
"privacy": "private"
|
|
10400
|
+
"name": "nameChanged"
|
|
10163
10401
|
},
|
|
10164
10402
|
{
|
|
10165
10403
|
"kind": "method",
|
|
10166
|
-
"name": "
|
|
10404
|
+
"name": "labelChanged"
|
|
10167
10405
|
},
|
|
10168
10406
|
{
|
|
10169
10407
|
"kind": "method",
|
|
10170
|
-
"name": "
|
|
10408
|
+
"name": "typeChanged"
|
|
10171
10409
|
},
|
|
10172
10410
|
{
|
|
10173
10411
|
"kind": "method",
|
|
10174
|
-
"name": "
|
|
10412
|
+
"name": "sourceTypeChanged"
|
|
10175
10413
|
},
|
|
10176
10414
|
{
|
|
10177
10415
|
"kind": "method",
|
|
10178
|
-
"name": "
|
|
10179
|
-
"return": {
|
|
10180
|
-
"type": {
|
|
10181
|
-
"text": "string[]"
|
|
10182
|
-
}
|
|
10183
|
-
}
|
|
10416
|
+
"name": "sourceSelectedChanged"
|
|
10184
10417
|
},
|
|
10185
10418
|
{
|
|
10186
10419
|
"kind": "method",
|
|
10187
|
-
"name": "
|
|
10188
|
-
"parameters": [
|
|
10189
|
-
{
|
|
10190
|
-
"name": "dateTimeStr",
|
|
10191
|
-
"type": {
|
|
10192
|
-
"text": "string"
|
|
10193
|
-
}
|
|
10194
|
-
}
|
|
10195
|
-
]
|
|
10420
|
+
"name": "sourceTypedChanged"
|
|
10196
10421
|
},
|
|
10197
10422
|
{
|
|
10198
10423
|
"kind": "method",
|
|
10199
|
-
"name": "
|
|
10424
|
+
"name": "genericChanged",
|
|
10425
|
+
"privacy": "private",
|
|
10200
10426
|
"parameters": [
|
|
10201
10427
|
{
|
|
10202
|
-
"name": "
|
|
10203
|
-
"type": {
|
|
10204
|
-
"text": "number"
|
|
10205
|
-
}
|
|
10428
|
+
"name": "parameterAttribute"
|
|
10206
10429
|
},
|
|
10207
10430
|
{
|
|
10208
|
-
"name": "
|
|
10209
|
-
"default": "false",
|
|
10210
|
-
"type": {
|
|
10211
|
-
"text": "boolean"
|
|
10212
|
-
}
|
|
10431
|
+
"name": "value"
|
|
10213
10432
|
}
|
|
10214
10433
|
]
|
|
10215
|
-
},
|
|
10216
|
-
{
|
|
10217
|
-
"kind": "method",
|
|
10218
|
-
"name": "getAllFields"
|
|
10219
|
-
},
|
|
10220
|
-
{
|
|
10221
|
-
"kind": "method",
|
|
10222
|
-
"name": "getApplicableFields"
|
|
10223
10434
|
}
|
|
10224
10435
|
],
|
|
10225
10436
|
"events": [
|
|
10226
10437
|
{
|
|
10227
|
-
"description": "Fired when a
|
|
10438
|
+
"description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
|
|
10228
10439
|
"name": "delete"
|
|
10229
10440
|
},
|
|
10230
10441
|
{
|
|
10231
|
-
"description": "Fired when a
|
|
10442
|
+
"description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
|
|
10232
10443
|
"name": "edit"
|
|
10233
10444
|
}
|
|
10234
10445
|
],
|
|
10446
|
+
"attributes": [
|
|
10447
|
+
{
|
|
10448
|
+
"name": "parameter",
|
|
10449
|
+
"type": {
|
|
10450
|
+
"text": "ParameterBuilderEntity"
|
|
10451
|
+
},
|
|
10452
|
+
"fieldName": "parameter"
|
|
10453
|
+
}
|
|
10454
|
+
],
|
|
10235
10455
|
"superclass": {
|
|
10236
10456
|
"name": "GenesisElement",
|
|
10237
10457
|
"package": "@genesislcap/web-core"
|
|
10238
10458
|
},
|
|
10239
|
-
"tagName": "
|
|
10459
|
+
"tagName": "parameter-builder",
|
|
10240
10460
|
"customElement": true
|
|
10241
10461
|
}
|
|
10242
10462
|
],
|
|
10243
10463
|
"exports": [
|
|
10244
10464
|
{
|
|
10245
10465
|
"kind": "js",
|
|
10246
|
-
"name": "
|
|
10466
|
+
"name": "ParameterBuilder",
|
|
10247
10467
|
"declaration": {
|
|
10248
|
-
"name": "
|
|
10249
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
10468
|
+
"name": "ParameterBuilder",
|
|
10469
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
10250
10470
|
}
|
|
10251
10471
|
},
|
|
10252
10472
|
{
|
|
10253
10473
|
"kind": "custom-element-definition",
|
|
10254
|
-
"name": "
|
|
10474
|
+
"name": "parameter-builder",
|
|
10255
10475
|
"declaration": {
|
|
10256
|
-
"name": "
|
|
10257
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
10476
|
+
"name": "ParameterBuilder",
|
|
10477
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
10258
10478
|
}
|
|
10259
10479
|
}
|
|
10260
10480
|
]
|
|
10261
10481
|
},
|
|
10262
|
-
{
|
|
10263
|
-
"kind": "javascript-module",
|
|
10264
|
-
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.types.ts",
|
|
10265
|
-
"declarations": [],
|
|
10266
|
-
"exports": []
|
|
10267
|
-
},
|
|
10268
10482
|
{
|
|
10269
10483
|
"kind": "javascript-module",
|
|
10270
10484
|
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts",
|
|
@@ -10549,220 +10763,6 @@
|
|
|
10549
10763
|
}
|
|
10550
10764
|
]
|
|
10551
10765
|
},
|
|
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",
|
|
10566
|
-
"declaration": {
|
|
10567
|
-
"name": "ParameterBuilderStyles",
|
|
10568
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
|
|
10569
|
-
}
|
|
10570
|
-
}
|
|
10571
|
-
]
|
|
10572
|
-
},
|
|
10573
|
-
{
|
|
10574
|
-
"kind": "javascript-module",
|
|
10575
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
|
|
10576
|
-
"declarations": [
|
|
10577
|
-
{
|
|
10578
|
-
"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`"
|
|
10581
|
-
}
|
|
10582
|
-
],
|
|
10583
|
-
"exports": [
|
|
10584
|
-
{
|
|
10585
|
-
"kind": "js",
|
|
10586
|
-
"name": "ParameterBuilderTemplate",
|
|
10587
|
-
"declaration": {
|
|
10588
|
-
"name": "ParameterBuilderTemplate",
|
|
10589
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
|
|
10590
|
-
}
|
|
10591
|
-
}
|
|
10592
|
-
]
|
|
10593
|
-
},
|
|
10594
|
-
{
|
|
10595
|
-
"kind": "javascript-module",
|
|
10596
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
|
|
10597
|
-
"declarations": [
|
|
10598
|
-
{
|
|
10599
|
-
"kind": "class",
|
|
10600
|
-
"description": "Parameter builder for notification templates.",
|
|
10601
|
-
"name": "ParameterBuilder",
|
|
10602
|
-
"members": [
|
|
10603
|
-
{
|
|
10604
|
-
"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",
|
|
10620
|
-
"type": {
|
|
10621
|
-
"text": "string"
|
|
10622
|
-
}
|
|
10623
|
-
},
|
|
10624
|
-
{
|
|
10625
|
-
"kind": "field",
|
|
10626
|
-
"name": "type",
|
|
10627
|
-
"type": {
|
|
10628
|
-
"text": "string"
|
|
10629
|
-
}
|
|
10630
|
-
},
|
|
10631
|
-
{
|
|
10632
|
-
"kind": "field",
|
|
10633
|
-
"name": "sourceType",
|
|
10634
|
-
"type": {
|
|
10635
|
-
"text": "string"
|
|
10636
|
-
}
|
|
10637
|
-
},
|
|
10638
|
-
{
|
|
10639
|
-
"kind": "field",
|
|
10640
|
-
"name": "sourceSelected",
|
|
10641
|
-
"type": {
|
|
10642
|
-
"text": "string"
|
|
10643
|
-
}
|
|
10644
|
-
},
|
|
10645
|
-
{
|
|
10646
|
-
"kind": "field",
|
|
10647
|
-
"name": "sourceTyped",
|
|
10648
|
-
"type": {
|
|
10649
|
-
"text": "string"
|
|
10650
|
-
}
|
|
10651
|
-
},
|
|
10652
|
-
{
|
|
10653
|
-
"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",
|
|
10669
|
-
"type": {
|
|
10670
|
-
"text": "array"
|
|
10671
|
-
},
|
|
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"
|
|
10685
|
-
},
|
|
10686
|
-
{
|
|
10687
|
-
"kind": "method",
|
|
10688
|
-
"name": "labelChanged"
|
|
10689
|
-
},
|
|
10690
|
-
{
|
|
10691
|
-
"kind": "method",
|
|
10692
|
-
"name": "typeChanged"
|
|
10693
|
-
},
|
|
10694
|
-
{
|
|
10695
|
-
"kind": "method",
|
|
10696
|
-
"name": "sourceTypeChanged"
|
|
10697
|
-
},
|
|
10698
|
-
{
|
|
10699
|
-
"kind": "method",
|
|
10700
|
-
"name": "sourceSelectedChanged"
|
|
10701
|
-
},
|
|
10702
|
-
{
|
|
10703
|
-
"kind": "method",
|
|
10704
|
-
"name": "sourceTypedChanged"
|
|
10705
|
-
},
|
|
10706
|
-
{
|
|
10707
|
-
"kind": "method",
|
|
10708
|
-
"name": "genericChanged",
|
|
10709
|
-
"privacy": "private",
|
|
10710
|
-
"parameters": [
|
|
10711
|
-
{
|
|
10712
|
-
"name": "parameterAttribute"
|
|
10713
|
-
},
|
|
10714
|
-
{
|
|
10715
|
-
"name": "value"
|
|
10716
|
-
}
|
|
10717
|
-
]
|
|
10718
|
-
}
|
|
10719
|
-
],
|
|
10720
|
-
"events": [
|
|
10721
|
-
{
|
|
10722
|
-
"description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
|
|
10723
|
-
"name": "delete"
|
|
10724
|
-
},
|
|
10725
|
-
{
|
|
10726
|
-
"description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
|
|
10727
|
-
"name": "edit"
|
|
10728
|
-
}
|
|
10729
|
-
],
|
|
10730
|
-
"attributes": [
|
|
10731
|
-
{
|
|
10732
|
-
"name": "parameter",
|
|
10733
|
-
"type": {
|
|
10734
|
-
"text": "ParameterBuilderEntity"
|
|
10735
|
-
},
|
|
10736
|
-
"fieldName": "parameter"
|
|
10737
|
-
}
|
|
10738
|
-
],
|
|
10739
|
-
"superclass": {
|
|
10740
|
-
"name": "GenesisElement",
|
|
10741
|
-
"package": "@genesislcap/web-core"
|
|
10742
|
-
},
|
|
10743
|
-
"tagName": "parameter-builder",
|
|
10744
|
-
"customElement": true
|
|
10745
|
-
}
|
|
10746
|
-
],
|
|
10747
|
-
"exports": [
|
|
10748
|
-
{
|
|
10749
|
-
"kind": "js",
|
|
10750
|
-
"name": "ParameterBuilder",
|
|
10751
|
-
"declaration": {
|
|
10752
|
-
"name": "ParameterBuilder",
|
|
10753
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
10754
|
-
}
|
|
10755
|
-
},
|
|
10756
|
-
{
|
|
10757
|
-
"kind": "custom-element-definition",
|
|
10758
|
-
"name": "parameter-builder",
|
|
10759
|
-
"declaration": {
|
|
10760
|
-
"name": "ParameterBuilder",
|
|
10761
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
10762
|
-
}
|
|
10763
|
-
}
|
|
10764
|
-
]
|
|
10765
|
-
},
|
|
10766
10766
|
{
|
|
10767
10767
|
"kind": "javascript-module",
|
|
10768
10768
|
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
|