@genesislcap/pbc-notify-ui 15.52.0 → 15.53.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.
- package/dist/custom-elements.json +334 -334
- package/dist/dts/react.d.ts +19 -19
- package/dist/react.cjs +10 -10
- package/dist/react.mjs +8 -8
- package/package.json +22 -22
|
@@ -5896,6 +5896,149 @@
|
|
|
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
|
+
},
|
|
5899
6042
|
{
|
|
5900
6043
|
"kind": "javascript-module",
|
|
5901
6044
|
"path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts",
|
|
@@ -7230,244 +7373,101 @@
|
|
|
7230
7373
|
},
|
|
7231
7374
|
{
|
|
7232
7375
|
"kind": "javascript-module",
|
|
7233
|
-
"path": "src/components/foundation-inbox/components/
|
|
7376
|
+
"path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts",
|
|
7234
7377
|
"declarations": [
|
|
7235
7378
|
{
|
|
7236
7379
|
"kind": "variable",
|
|
7237
|
-
"name": "
|
|
7238
|
-
"
|
|
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`"
|
|
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`"
|
|
7248
7382
|
}
|
|
7249
7383
|
],
|
|
7250
7384
|
"exports": [
|
|
7251
7385
|
{
|
|
7252
7386
|
"kind": "js",
|
|
7253
|
-
"name": "
|
|
7254
|
-
"declaration": {
|
|
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",
|
|
7387
|
+
"name": "InboxSubscriptionStyles",
|
|
7262
7388
|
"declaration": {
|
|
7263
|
-
"name": "
|
|
7264
|
-
"module": "src/components/foundation-inbox/components/
|
|
7389
|
+
"name": "InboxSubscriptionStyles",
|
|
7390
|
+
"module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts"
|
|
7265
7391
|
}
|
|
7266
7392
|
}
|
|
7267
7393
|
]
|
|
7268
7394
|
},
|
|
7269
7395
|
{
|
|
7270
7396
|
"kind": "javascript-module",
|
|
7271
|
-
"path": "src/components/foundation-inbox/components/
|
|
7397
|
+
"path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts",
|
|
7272
7398
|
"declarations": [
|
|
7273
7399
|
{
|
|
7274
7400
|
"kind": "variable",
|
|
7275
|
-
"name": "
|
|
7276
|
-
"default": "html<
|
|
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`"
|
|
7277
7403
|
}
|
|
7278
7404
|
],
|
|
7279
7405
|
"exports": [
|
|
7280
7406
|
{
|
|
7281
7407
|
"kind": "js",
|
|
7282
|
-
"name": "
|
|
7408
|
+
"name": "InboxSubscriptionTemplate",
|
|
7283
7409
|
"declaration": {
|
|
7284
|
-
"name": "
|
|
7285
|
-
"module": "src/components/foundation-inbox/components/
|
|
7410
|
+
"name": "InboxSubscriptionTemplate",
|
|
7411
|
+
"module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts"
|
|
7286
7412
|
}
|
|
7287
7413
|
}
|
|
7288
7414
|
]
|
|
7289
7415
|
},
|
|
7290
7416
|
{
|
|
7291
7417
|
"kind": "javascript-module",
|
|
7292
|
-
"path": "src/components/foundation-inbox/components/
|
|
7418
|
+
"path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts",
|
|
7293
7419
|
"declarations": [
|
|
7294
7420
|
{
|
|
7295
7421
|
"kind": "class",
|
|
7296
|
-
"description": "",
|
|
7297
|
-
"name": "
|
|
7422
|
+
"description": "Inbox subscription configuration UI.",
|
|
7423
|
+
"name": "InboxSubscription",
|
|
7298
7424
|
"members": [
|
|
7299
7425
|
{
|
|
7300
7426
|
"kind": "field",
|
|
7301
|
-
"name": "
|
|
7427
|
+
"name": "template"
|
|
7428
|
+
},
|
|
7429
|
+
{
|
|
7430
|
+
"kind": "field",
|
|
7431
|
+
"name": "inline",
|
|
7302
7432
|
"type": {
|
|
7303
|
-
"text": "
|
|
7433
|
+
"text": "boolean"
|
|
7304
7434
|
},
|
|
7305
|
-
"default": "
|
|
7435
|
+
"default": "false"
|
|
7306
7436
|
},
|
|
7307
7437
|
{
|
|
7308
7438
|
"kind": "field",
|
|
7309
|
-
"name": "
|
|
7439
|
+
"name": "extraParameterDetails",
|
|
7310
7440
|
"type": {
|
|
7311
|
-
"text": "
|
|
7312
|
-
}
|
|
7441
|
+
"text": "Record<string, string>"
|
|
7442
|
+
},
|
|
7443
|
+
"default": "{}",
|
|
7444
|
+
"description": "Merged into subscribe payload (e.g. CHANNEL topic). Hidden from the form."
|
|
7313
7445
|
},
|
|
7314
7446
|
{
|
|
7315
7447
|
"kind": "field",
|
|
7316
|
-
"name": "
|
|
7448
|
+
"name": "parametersDetails",
|
|
7317
7449
|
"type": {
|
|
7318
|
-
"text": "
|
|
7319
|
-
}
|
|
7450
|
+
"text": "object"
|
|
7451
|
+
},
|
|
7452
|
+
"privacy": "private",
|
|
7453
|
+
"default": "{}"
|
|
7320
7454
|
},
|
|
7321
7455
|
{
|
|
7322
7456
|
"kind": "field",
|
|
7323
|
-
"name": "
|
|
7457
|
+
"name": "isSubmitting",
|
|
7324
7458
|
"type": {
|
|
7325
|
-
"text": "
|
|
7459
|
+
"text": "boolean"
|
|
7326
7460
|
},
|
|
7327
|
-
"privacy": "private"
|
|
7461
|
+
"privacy": "private",
|
|
7462
|
+
"default": "false"
|
|
7328
7463
|
},
|
|
7329
7464
|
{
|
|
7330
|
-
"kind": "
|
|
7331
|
-
"name": "
|
|
7332
|
-
"
|
|
7333
|
-
|
|
7334
|
-
"type": {
|
|
7335
|
-
"text": "Promise<void>"
|
|
7336
|
-
}
|
|
7465
|
+
"kind": "field",
|
|
7466
|
+
"name": "parametersOperators",
|
|
7467
|
+
"type": {
|
|
7468
|
+
"text": "object"
|
|
7337
7469
|
},
|
|
7338
|
-
"
|
|
7339
|
-
},
|
|
7340
|
-
{
|
|
7341
|
-
"kind": "field",
|
|
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": "{}"
|
|
7470
|
+
"default": "{}"
|
|
7471
7471
|
},
|
|
7472
7472
|
{
|
|
7473
7473
|
"kind": "field",
|
|
@@ -9831,156 +9831,6 @@
|
|
|
9831
9831
|
}
|
|
9832
9832
|
]
|
|
9833
9833
|
},
|
|
9834
|
-
{
|
|
9835
|
-
"kind": "javascript-module",
|
|
9836
|
-
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
|
|
9837
|
-
"declarations": [
|
|
9838
|
-
{
|
|
9839
|
-
"kind": "variable",
|
|
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
|
-
}
|
|
9843
|
-
],
|
|
9844
|
-
"exports": [
|
|
9845
|
-
{
|
|
9846
|
-
"kind": "js",
|
|
9847
|
-
"name": "RuleConditionGroupTemplate",
|
|
9848
|
-
"declaration": {
|
|
9849
|
-
"name": "RuleConditionGroupTemplate",
|
|
9850
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
|
|
9851
|
-
}
|
|
9852
|
-
}
|
|
9853
|
-
]
|
|
9854
|
-
},
|
|
9855
|
-
{
|
|
9856
|
-
"kind": "javascript-module",
|
|
9857
|
-
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
|
|
9858
|
-
"declarations": [
|
|
9859
|
-
{
|
|
9860
|
-
"kind": "class",
|
|
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
|
-
"members": [
|
|
9864
|
-
{
|
|
9865
|
-
"kind": "field",
|
|
9866
|
-
"name": "node",
|
|
9867
|
-
"type": {
|
|
9868
|
-
"text": "ConditionGroupEntity"
|
|
9869
|
-
}
|
|
9870
|
-
},
|
|
9871
|
-
{
|
|
9872
|
-
"kind": "field",
|
|
9873
|
-
"name": "fields",
|
|
9874
|
-
"type": {
|
|
9875
|
-
"text": "Field[]"
|
|
9876
|
-
},
|
|
9877
|
-
"default": "[]"
|
|
9878
|
-
},
|
|
9879
|
-
{
|
|
9880
|
-
"kind": "field",
|
|
9881
|
-
"name": "isFirst",
|
|
9882
|
-
"type": {
|
|
9883
|
-
"text": "boolean"
|
|
9884
|
-
},
|
|
9885
|
-
"default": "false"
|
|
9886
|
-
},
|
|
9887
|
-
{
|
|
9888
|
-
"kind": "field",
|
|
9889
|
-
"name": "joinOperator",
|
|
9890
|
-
"type": {
|
|
9891
|
-
"text": "string"
|
|
9892
|
-
}
|
|
9893
|
-
},
|
|
9894
|
-
{
|
|
9895
|
-
"kind": "field",
|
|
9896
|
-
"name": "groupChildren",
|
|
9897
|
-
"type": {
|
|
9898
|
-
"text": "ConditionNode[]"
|
|
9899
|
-
},
|
|
9900
|
-
"default": "[]"
|
|
9901
|
-
},
|
|
9902
|
-
{
|
|
9903
|
-
"kind": "method",
|
|
9904
|
-
"name": "nodeChanged"
|
|
9905
|
-
},
|
|
9906
|
-
{
|
|
9907
|
-
"kind": "method",
|
|
9908
|
-
"name": "joinOperatorChanged"
|
|
9909
|
-
},
|
|
9910
|
-
{
|
|
9911
|
-
"kind": "method",
|
|
9912
|
-
"name": "newCondition"
|
|
9913
|
-
},
|
|
9914
|
-
{
|
|
9915
|
-
"kind": "method",
|
|
9916
|
-
"name": "newGroup"
|
|
9917
|
-
},
|
|
9918
|
-
{
|
|
9919
|
-
"kind": "method",
|
|
9920
|
-
"name": "editChild",
|
|
9921
|
-
"parameters": [
|
|
9922
|
-
{
|
|
9923
|
-
"name": "_editedChild",
|
|
9924
|
-
"type": {
|
|
9925
|
-
"text": "ConditionNode"
|
|
9926
|
-
}
|
|
9927
|
-
}
|
|
9928
|
-
]
|
|
9929
|
-
},
|
|
9930
|
-
{
|
|
9931
|
-
"kind": "method",
|
|
9932
|
-
"name": "deleteChild",
|
|
9933
|
-
"parameters": [
|
|
9934
|
-
{
|
|
9935
|
-
"name": "deletedChild",
|
|
9936
|
-
"type": {
|
|
9937
|
-
"text": "ConditionNode"
|
|
9938
|
-
}
|
|
9939
|
-
}
|
|
9940
|
-
]
|
|
9941
|
-
},
|
|
9942
|
-
{
|
|
9943
|
-
"kind": "method",
|
|
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
9834
|
{
|
|
9985
9835
|
"kind": "javascript-module",
|
|
9986
9836
|
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts",
|
|
@@ -10265,6 +10115,156 @@
|
|
|
10265
10115
|
"declarations": [],
|
|
10266
10116
|
"exports": []
|
|
10267
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",
|
|
10121
|
+
"declarations": [
|
|
10122
|
+
{
|
|
10123
|
+
"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`"
|
|
10126
|
+
}
|
|
10127
|
+
],
|
|
10128
|
+
"exports": [
|
|
10129
|
+
{
|
|
10130
|
+
"kind": "js",
|
|
10131
|
+
"name": "RuleConditionGroupTemplate",
|
|
10132
|
+
"declaration": {
|
|
10133
|
+
"name": "RuleConditionGroupTemplate",
|
|
10134
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
|
|
10135
|
+
}
|
|
10136
|
+
}
|
|
10137
|
+
]
|
|
10138
|
+
},
|
|
10139
|
+
{
|
|
10140
|
+
"kind": "javascript-module",
|
|
10141
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
|
|
10142
|
+
"declarations": [
|
|
10143
|
+
{
|
|
10144
|
+
"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",
|
|
10147
|
+
"members": [
|
|
10148
|
+
{
|
|
10149
|
+
"kind": "field",
|
|
10150
|
+
"name": "node",
|
|
10151
|
+
"type": {
|
|
10152
|
+
"text": "ConditionGroupEntity"
|
|
10153
|
+
}
|
|
10154
|
+
},
|
|
10155
|
+
{
|
|
10156
|
+
"kind": "field",
|
|
10157
|
+
"name": "fields",
|
|
10158
|
+
"type": {
|
|
10159
|
+
"text": "Field[]"
|
|
10160
|
+
},
|
|
10161
|
+
"default": "[]"
|
|
10162
|
+
},
|
|
10163
|
+
{
|
|
10164
|
+
"kind": "field",
|
|
10165
|
+
"name": "isFirst",
|
|
10166
|
+
"type": {
|
|
10167
|
+
"text": "boolean"
|
|
10168
|
+
},
|
|
10169
|
+
"default": "false"
|
|
10170
|
+
},
|
|
10171
|
+
{
|
|
10172
|
+
"kind": "field",
|
|
10173
|
+
"name": "joinOperator",
|
|
10174
|
+
"type": {
|
|
10175
|
+
"text": "string"
|
|
10176
|
+
}
|
|
10177
|
+
},
|
|
10178
|
+
{
|
|
10179
|
+
"kind": "field",
|
|
10180
|
+
"name": "groupChildren",
|
|
10181
|
+
"type": {
|
|
10182
|
+
"text": "ConditionNode[]"
|
|
10183
|
+
},
|
|
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"
|
|
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
10268
|
{
|
|
10269
10269
|
"kind": "javascript-module",
|
|
10270
10270
|
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
package/dist/dts/react.d.ts
CHANGED
|
@@ -106,23 +106,23 @@ export declare const FoundationSounds: React.ForwardRefExoticComponent<
|
|
|
106
106
|
>;
|
|
107
107
|
export type FoundationSoundsRef = FoundationSoundsWC;
|
|
108
108
|
|
|
109
|
-
export declare const
|
|
109
|
+
export declare const FoundationInboxCounter: React.ForwardRefExoticComponent<
|
|
110
110
|
React.PropsWithChildren<
|
|
111
|
-
Omit<PublicOf<
|
|
111
|
+
Omit<PublicOf<FoundationInboxCounterWC>, 'children' | 'style'> &
|
|
112
112
|
HTMLWCProps & {
|
|
113
113
|
}
|
|
114
|
-
> & React.RefAttributes<
|
|
114
|
+
> & React.RefAttributes<FoundationInboxCounterWC>
|
|
115
115
|
>;
|
|
116
|
-
export type
|
|
116
|
+
export type FoundationInboxCounterRef = FoundationInboxCounterWC;
|
|
117
117
|
|
|
118
|
-
export declare const
|
|
118
|
+
export declare const FoundationInboxFlyout: React.ForwardRefExoticComponent<
|
|
119
119
|
React.PropsWithChildren<
|
|
120
|
-
Omit<PublicOf<
|
|
120
|
+
Omit<PublicOf<FoundationInboxFlyoutWC>, 'children' | 'style'> &
|
|
121
121
|
HTMLWCProps & {
|
|
122
122
|
}
|
|
123
|
-
> & React.RefAttributes<
|
|
123
|
+
> & React.RefAttributes<FoundationInboxFlyoutWC>
|
|
124
124
|
>;
|
|
125
|
-
export type
|
|
125
|
+
export type FoundationInboxFlyoutRef = FoundationInboxFlyoutWC;
|
|
126
126
|
|
|
127
127
|
export declare const InboxSubscription: React.ForwardRefExoticComponent<
|
|
128
128
|
React.PropsWithChildren<
|
|
@@ -255,17 +255,6 @@ export declare const TemplateDialog: React.ForwardRefExoticComponent<
|
|
|
255
255
|
>;
|
|
256
256
|
export type TemplateDialogRef = TemplateDialogWC;
|
|
257
257
|
|
|
258
|
-
export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
|
|
259
|
-
React.PropsWithChildren<
|
|
260
|
-
Omit<PublicOf<RuleConditionGroupWC>, 'children' | 'style'> &
|
|
261
|
-
HTMLWCProps & {
|
|
262
|
-
onDelete?: (event: CustomEvent<unknown>) => void;
|
|
263
|
-
onEdit?: (event: CustomEvent<unknown>) => void;
|
|
264
|
-
}
|
|
265
|
-
> & React.RefAttributes<RuleConditionGroupWC>
|
|
266
|
-
>;
|
|
267
|
-
export type RuleConditionGroupRef = RuleConditionGroupWC;
|
|
268
|
-
|
|
269
258
|
export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
|
|
270
259
|
React.PropsWithChildren<
|
|
271
260
|
Omit<PublicOf<RuleConditionBuilderWC>, 'children' | 'style'> &
|
|
@@ -277,6 +266,17 @@ export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
|
|
|
277
266
|
>;
|
|
278
267
|
export type RuleConditionBuilderRef = RuleConditionBuilderWC;
|
|
279
268
|
|
|
269
|
+
export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
|
|
270
|
+
React.PropsWithChildren<
|
|
271
|
+
Omit<PublicOf<RuleConditionGroupWC>, 'children' | 'style'> &
|
|
272
|
+
HTMLWCProps & {
|
|
273
|
+
onDelete?: (event: CustomEvent<unknown>) => void;
|
|
274
|
+
onEdit?: (event: CustomEvent<unknown>) => void;
|
|
275
|
+
}
|
|
276
|
+
> & React.RefAttributes<RuleConditionGroupWC>
|
|
277
|
+
>;
|
|
278
|
+
export type RuleConditionGroupRef = RuleConditionGroupWC;
|
|
279
|
+
|
|
280
280
|
export declare const ParameterBuilder: React.ForwardRefExoticComponent<
|
|
281
281
|
React.PropsWithChildren<
|
|
282
282
|
Omit<PublicOf<ParameterBuilderWC>, 'children' | 'style'> &
|
package/dist/react.cjs
CHANGED
|
@@ -67,14 +67,14 @@ const FoundationSounds = React.forwardRef(function FoundationSounds(props, ref)
|
|
|
67
67
|
return React.createElement(customElements.getName(FoundationSoundsWC) ?? 'foundation-sounds', { ...rest, ref }, children);
|
|
68
68
|
});
|
|
69
69
|
|
|
70
|
-
const
|
|
70
|
+
const FoundationInboxCounter = React.forwardRef(function FoundationInboxCounter(props, ref) {
|
|
71
71
|
const { children, ...rest } = props;
|
|
72
|
-
return React.createElement(customElements.getName(
|
|
72
|
+
return React.createElement(customElements.getName(FoundationInboxCounterWC) ?? 'foundation-inbox-counter', { ...rest, ref }, children);
|
|
73
73
|
});
|
|
74
74
|
|
|
75
|
-
const
|
|
75
|
+
const FoundationInboxFlyout = React.forwardRef(function FoundationInboxFlyout(props, ref) {
|
|
76
76
|
const { children, ...rest } = props;
|
|
77
|
-
return React.createElement(customElements.getName(
|
|
77
|
+
return React.createElement(customElements.getName(FoundationInboxFlyoutWC) ?? 'foundation-inbox-flyout', { ...rest, ref }, children);
|
|
78
78
|
});
|
|
79
79
|
|
|
80
80
|
const InboxSubscription = React.forwardRef(function InboxSubscription(props, ref) {
|
|
@@ -200,7 +200,7 @@ const TemplateDialog = React.forwardRef(function TemplateDialog(props, ref) {
|
|
|
200
200
|
return React.createElement(customElements.getName(TemplateDialogWC) ?? 'template-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
201
201
|
});
|
|
202
202
|
|
|
203
|
-
const
|
|
203
|
+
const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
|
|
204
204
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
205
205
|
const _innerRef = React.useRef(null);
|
|
206
206
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -219,10 +219,10 @@ const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, r
|
|
|
219
219
|
el.removeEventListener('edit', _onEditFn);
|
|
220
220
|
};
|
|
221
221
|
}, []);
|
|
222
|
-
return React.createElement(customElements.getName(
|
|
222
|
+
return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
223
223
|
});
|
|
224
224
|
|
|
225
|
-
const
|
|
225
|
+
const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
|
|
226
226
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
227
227
|
const _innerRef = React.useRef(null);
|
|
228
228
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -241,7 +241,7 @@ const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(prop
|
|
|
241
241
|
el.removeEventListener('edit', _onEditFn);
|
|
242
242
|
};
|
|
243
243
|
}, []);
|
|
244
|
-
return React.createElement(customElements.getName(
|
|
244
|
+
return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
245
245
|
});
|
|
246
246
|
|
|
247
247
|
const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
|
|
@@ -316,8 +316,8 @@ module.exports = {
|
|
|
316
316
|
FoundationNotificationDashboard,
|
|
317
317
|
FoundationSoundsPanel,
|
|
318
318
|
FoundationSounds,
|
|
319
|
-
FoundationInboxFlyout,
|
|
320
319
|
FoundationInboxCounter,
|
|
320
|
+
FoundationInboxFlyout,
|
|
321
321
|
InboxSubscription,
|
|
322
322
|
NotifyAuditManagement,
|
|
323
323
|
RouteManagement,
|
|
@@ -332,8 +332,8 @@ module.exports = {
|
|
|
332
332
|
SlackRouteManagement,
|
|
333
333
|
RuleDialog,
|
|
334
334
|
TemplateDialog,
|
|
335
|
-
RuleConditionGroup,
|
|
336
335
|
RuleConditionBuilder,
|
|
336
|
+
RuleConditionGroup,
|
|
337
337
|
ParameterBuilder,
|
|
338
338
|
TemplateConditionBuilder,
|
|
339
339
|
TemplateConditionGroup,
|
package/dist/react.mjs
CHANGED
|
@@ -65,14 +65,14 @@ export const FoundationSounds = React.forwardRef(function FoundationSounds(props
|
|
|
65
65
|
return React.createElement(customElements.getName(FoundationSoundsWC) ?? 'foundation-sounds', { ...rest, ref }, children);
|
|
66
66
|
});
|
|
67
67
|
|
|
68
|
-
export const
|
|
68
|
+
export const FoundationInboxCounter = React.forwardRef(function FoundationInboxCounter(props, ref) {
|
|
69
69
|
const { children, ...rest } = props;
|
|
70
|
-
return React.createElement(customElements.getName(
|
|
70
|
+
return React.createElement(customElements.getName(FoundationInboxCounterWC) ?? 'foundation-inbox-counter', { ...rest, ref }, children);
|
|
71
71
|
});
|
|
72
72
|
|
|
73
|
-
export const
|
|
73
|
+
export const FoundationInboxFlyout = React.forwardRef(function FoundationInboxFlyout(props, ref) {
|
|
74
74
|
const { children, ...rest } = props;
|
|
75
|
-
return React.createElement(customElements.getName(
|
|
75
|
+
return React.createElement(customElements.getName(FoundationInboxFlyoutWC) ?? 'foundation-inbox-flyout', { ...rest, ref }, children);
|
|
76
76
|
});
|
|
77
77
|
|
|
78
78
|
export const InboxSubscription = React.forwardRef(function InboxSubscription(props, ref) {
|
|
@@ -198,7 +198,7 @@ export const TemplateDialog = React.forwardRef(function TemplateDialog(props, re
|
|
|
198
198
|
return React.createElement(customElements.getName(TemplateDialogWC) ?? 'template-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
199
199
|
});
|
|
200
200
|
|
|
201
|
-
export const
|
|
201
|
+
export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
|
|
202
202
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
203
203
|
const _innerRef = React.useRef(null);
|
|
204
204
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -217,10 +217,10 @@ export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(p
|
|
|
217
217
|
el.removeEventListener('edit', _onEditFn);
|
|
218
218
|
};
|
|
219
219
|
}, []);
|
|
220
|
-
return React.createElement(customElements.getName(
|
|
220
|
+
return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
221
221
|
});
|
|
222
222
|
|
|
223
|
-
export const
|
|
223
|
+
export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
|
|
224
224
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
225
225
|
const _innerRef = React.useRef(null);
|
|
226
226
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -239,7 +239,7 @@ export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuild
|
|
|
239
239
|
el.removeEventListener('edit', _onEditFn);
|
|
240
240
|
};
|
|
241
241
|
}, []);
|
|
242
|
-
return React.createElement(customElements.getName(
|
|
242
|
+
return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
243
243
|
});
|
|
244
244
|
|
|
245
245
|
export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/pbc-notify-ui",
|
|
3
3
|
"description": "Genesis PBC Notify UI",
|
|
4
|
-
"version": "15.
|
|
4
|
+
"version": "15.53.0",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"workspaces": [
|
|
7
7
|
"client"
|
|
@@ -80,30 +80,30 @@
|
|
|
80
80
|
"@commitlint/cli": "^19.2.1",
|
|
81
81
|
"@commitlint/config-conventional": "^19.1.0",
|
|
82
82
|
"@commitlint/format": "^19.0.3",
|
|
83
|
-
"@genesislcap/design-system-configurator": "15.
|
|
84
|
-
"@genesislcap/eslint-config": "15.
|
|
85
|
-
"@genesislcap/eslint-stylelint-builder": "15.
|
|
86
|
-
"@genesislcap/foundation-testing": "15.
|
|
87
|
-
"@genesislcap/genx": "15.
|
|
88
|
-
"@genesislcap/prettier-config": "15.
|
|
89
|
-
"@genesislcap/stylelint-config": "15.
|
|
90
|
-
"@genesislcap/vite-builder": "15.
|
|
91
|
-
"@genesislcap/webpack-builder": "15.
|
|
83
|
+
"@genesislcap/design-system-configurator": "15.53.0",
|
|
84
|
+
"@genesislcap/eslint-config": "15.53.0",
|
|
85
|
+
"@genesislcap/eslint-stylelint-builder": "15.53.0",
|
|
86
|
+
"@genesislcap/foundation-testing": "15.53.0",
|
|
87
|
+
"@genesislcap/genx": "15.53.0",
|
|
88
|
+
"@genesislcap/prettier-config": "15.53.0",
|
|
89
|
+
"@genesislcap/stylelint-config": "15.53.0",
|
|
90
|
+
"@genesislcap/vite-builder": "15.53.0",
|
|
91
|
+
"@genesislcap/webpack-builder": "15.53.0",
|
|
92
92
|
"dayjs": "^1.11.7"
|
|
93
93
|
},
|
|
94
94
|
"dependencies": {
|
|
95
|
-
"@genesislcap/foundation-comms": "15.
|
|
96
|
-
"@genesislcap/foundation-criteria": "15.
|
|
97
|
-
"@genesislcap/foundation-entity-management": "15.
|
|
98
|
-
"@genesislcap/foundation-forms": "15.
|
|
99
|
-
"@genesislcap/foundation-layout": "15.
|
|
100
|
-
"@genesislcap/foundation-logger": "15.
|
|
101
|
-
"@genesislcap/foundation-notifications": "15.
|
|
102
|
-
"@genesislcap/foundation-ui": "15.
|
|
103
|
-
"@genesislcap/foundation-utils": "15.
|
|
104
|
-
"@genesislcap/rapid-design-system": "15.
|
|
105
|
-
"@genesislcap/rapid-grid-pro": "15.
|
|
106
|
-
"@genesislcap/web-core": "15.
|
|
95
|
+
"@genesislcap/foundation-comms": "15.53.0",
|
|
96
|
+
"@genesislcap/foundation-criteria": "15.53.0",
|
|
97
|
+
"@genesislcap/foundation-entity-management": "15.53.0",
|
|
98
|
+
"@genesislcap/foundation-forms": "15.53.0",
|
|
99
|
+
"@genesislcap/foundation-layout": "15.53.0",
|
|
100
|
+
"@genesislcap/foundation-logger": "15.53.0",
|
|
101
|
+
"@genesislcap/foundation-notifications": "15.53.0",
|
|
102
|
+
"@genesislcap/foundation-ui": "15.53.0",
|
|
103
|
+
"@genesislcap/foundation-utils": "15.53.0",
|
|
104
|
+
"@genesislcap/rapid-design-system": "15.53.0",
|
|
105
|
+
"@genesislcap/rapid-grid-pro": "15.53.0",
|
|
106
|
+
"@genesislcap/web-core": "15.53.0",
|
|
107
107
|
"lodash.debounce": "^4.0.8",
|
|
108
108
|
"rxjs": "^7.5.4"
|
|
109
109
|
},
|