@genesislcap/pbc-notify-ui 15.95.2-GENC-1665.2 → 15.95.2
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 +565 -565
- package/dist/dts/react.d.ts +24 -24
- package/dist/react.cjs +16 -16
- package/dist/react.mjs +13 -13
- package/package.json +22 -22
|
@@ -6444,6 +6444,237 @@
|
|
|
6444
6444
|
}
|
|
6445
6445
|
]
|
|
6446
6446
|
},
|
|
6447
|
+
{
|
|
6448
|
+
"kind": "javascript-module",
|
|
6449
|
+
"path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts",
|
|
6450
|
+
"declarations": [
|
|
6451
|
+
{
|
|
6452
|
+
"kind": "variable",
|
|
6453
|
+
"name": "InboxSubscriptionStyles",
|
|
6454
|
+
"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`"
|
|
6455
|
+
}
|
|
6456
|
+
],
|
|
6457
|
+
"exports": [
|
|
6458
|
+
{
|
|
6459
|
+
"kind": "js",
|
|
6460
|
+
"name": "InboxSubscriptionStyles",
|
|
6461
|
+
"declaration": {
|
|
6462
|
+
"name": "InboxSubscriptionStyles",
|
|
6463
|
+
"module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts"
|
|
6464
|
+
}
|
|
6465
|
+
}
|
|
6466
|
+
]
|
|
6467
|
+
},
|
|
6468
|
+
{
|
|
6469
|
+
"kind": "javascript-module",
|
|
6470
|
+
"path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts",
|
|
6471
|
+
"declarations": [
|
|
6472
|
+
{
|
|
6473
|
+
"kind": "variable",
|
|
6474
|
+
"name": "InboxSubscriptionTemplate",
|
|
6475
|
+
"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`"
|
|
6476
|
+
}
|
|
6477
|
+
],
|
|
6478
|
+
"exports": [
|
|
6479
|
+
{
|
|
6480
|
+
"kind": "js",
|
|
6481
|
+
"name": "InboxSubscriptionTemplate",
|
|
6482
|
+
"declaration": {
|
|
6483
|
+
"name": "InboxSubscriptionTemplate",
|
|
6484
|
+
"module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts"
|
|
6485
|
+
}
|
|
6486
|
+
}
|
|
6487
|
+
]
|
|
6488
|
+
},
|
|
6489
|
+
{
|
|
6490
|
+
"kind": "javascript-module",
|
|
6491
|
+
"path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts",
|
|
6492
|
+
"declarations": [
|
|
6493
|
+
{
|
|
6494
|
+
"kind": "class",
|
|
6495
|
+
"description": "Inbox subscription configuration UI.",
|
|
6496
|
+
"name": "InboxSubscription",
|
|
6497
|
+
"members": [
|
|
6498
|
+
{
|
|
6499
|
+
"kind": "field",
|
|
6500
|
+
"name": "template"
|
|
6501
|
+
},
|
|
6502
|
+
{
|
|
6503
|
+
"kind": "field",
|
|
6504
|
+
"name": "inline",
|
|
6505
|
+
"type": {
|
|
6506
|
+
"text": "boolean"
|
|
6507
|
+
},
|
|
6508
|
+
"default": "false"
|
|
6509
|
+
},
|
|
6510
|
+
{
|
|
6511
|
+
"kind": "field",
|
|
6512
|
+
"name": "extraParameterDetails",
|
|
6513
|
+
"type": {
|
|
6514
|
+
"text": "Record<string, string>"
|
|
6515
|
+
},
|
|
6516
|
+
"default": "{}",
|
|
6517
|
+
"description": "Merged into subscribe payload (e.g. CHANNEL topic). Hidden from the form."
|
|
6518
|
+
},
|
|
6519
|
+
{
|
|
6520
|
+
"kind": "field",
|
|
6521
|
+
"name": "parametersDetails",
|
|
6522
|
+
"type": {
|
|
6523
|
+
"text": "object"
|
|
6524
|
+
},
|
|
6525
|
+
"privacy": "private",
|
|
6526
|
+
"default": "{}"
|
|
6527
|
+
},
|
|
6528
|
+
{
|
|
6529
|
+
"kind": "field",
|
|
6530
|
+
"name": "isSubmitting",
|
|
6531
|
+
"type": {
|
|
6532
|
+
"text": "boolean"
|
|
6533
|
+
},
|
|
6534
|
+
"privacy": "private",
|
|
6535
|
+
"default": "false"
|
|
6536
|
+
},
|
|
6537
|
+
{
|
|
6538
|
+
"kind": "field",
|
|
6539
|
+
"name": "parametersOperators",
|
|
6540
|
+
"type": {
|
|
6541
|
+
"text": "object"
|
|
6542
|
+
},
|
|
6543
|
+
"default": "{}"
|
|
6544
|
+
},
|
|
6545
|
+
{
|
|
6546
|
+
"kind": "field",
|
|
6547
|
+
"name": "subscribeDisabled",
|
|
6548
|
+
"type": {
|
|
6549
|
+
"text": "boolean"
|
|
6550
|
+
},
|
|
6551
|
+
"default": "true"
|
|
6552
|
+
},
|
|
6553
|
+
{
|
|
6554
|
+
"kind": "field",
|
|
6555
|
+
"name": "ruleService",
|
|
6556
|
+
"type": {
|
|
6557
|
+
"text": "RuleService"
|
|
6558
|
+
}
|
|
6559
|
+
},
|
|
6560
|
+
{
|
|
6561
|
+
"kind": "field",
|
|
6562
|
+
"name": "visibleParameters",
|
|
6563
|
+
"type": {
|
|
6564
|
+
"text": "RuleParameterEntity[]"
|
|
6565
|
+
},
|
|
6566
|
+
"readonly": true
|
|
6567
|
+
},
|
|
6568
|
+
{
|
|
6569
|
+
"kind": "method",
|
|
6570
|
+
"name": "templateChanged"
|
|
6571
|
+
},
|
|
6572
|
+
{
|
|
6573
|
+
"kind": "method",
|
|
6574
|
+
"name": "usesAutoSubmit",
|
|
6575
|
+
"return": {
|
|
6576
|
+
"type": {
|
|
6577
|
+
"text": "boolean"
|
|
6578
|
+
}
|
|
6579
|
+
}
|
|
6580
|
+
},
|
|
6581
|
+
{
|
|
6582
|
+
"kind": "method",
|
|
6583
|
+
"name": "requiresManualSubscribe",
|
|
6584
|
+
"return": {
|
|
6585
|
+
"type": {
|
|
6586
|
+
"text": "boolean"
|
|
6587
|
+
}
|
|
6588
|
+
}
|
|
6589
|
+
},
|
|
6590
|
+
{
|
|
6591
|
+
"kind": "method",
|
|
6592
|
+
"name": "parameterEdit",
|
|
6593
|
+
"parameters": [
|
|
6594
|
+
{
|
|
6595
|
+
"name": "value",
|
|
6596
|
+
"type": {
|
|
6597
|
+
"text": "any"
|
|
6598
|
+
}
|
|
6599
|
+
}
|
|
6600
|
+
]
|
|
6601
|
+
},
|
|
6602
|
+
{
|
|
6603
|
+
"kind": "method",
|
|
6604
|
+
"name": "autoSubscribe",
|
|
6605
|
+
"privacy": "private"
|
|
6606
|
+
},
|
|
6607
|
+
{
|
|
6608
|
+
"kind": "method",
|
|
6609
|
+
"name": "verifySubscribe"
|
|
6610
|
+
},
|
|
6611
|
+
{
|
|
6612
|
+
"kind": "field",
|
|
6613
|
+
"name": "isFirstElement"
|
|
6614
|
+
},
|
|
6615
|
+
{
|
|
6616
|
+
"kind": "method",
|
|
6617
|
+
"name": "subscribeTemplate"
|
|
6618
|
+
},
|
|
6619
|
+
{
|
|
6620
|
+
"kind": "method",
|
|
6621
|
+
"name": "cancelSubscribe"
|
|
6622
|
+
},
|
|
6623
|
+
{
|
|
6624
|
+
"kind": "field",
|
|
6625
|
+
"name": "createParametersOperatorMap"
|
|
6626
|
+
}
|
|
6627
|
+
],
|
|
6628
|
+
"events": [
|
|
6629
|
+
{
|
|
6630
|
+
"description": "Fired when a template subscription is created. detail: `TemplateSubscribedEventDetail`",
|
|
6631
|
+
"name": "templateSubscribed"
|
|
6632
|
+
},
|
|
6633
|
+
{
|
|
6634
|
+
"description": "Fired when inline parameter entry is cancelled",
|
|
6635
|
+
"name": "subscribeCancelled"
|
|
6636
|
+
}
|
|
6637
|
+
],
|
|
6638
|
+
"attributes": [
|
|
6639
|
+
{
|
|
6640
|
+
"name": "template",
|
|
6641
|
+
"fieldName": "template"
|
|
6642
|
+
},
|
|
6643
|
+
{
|
|
6644
|
+
"type": {
|
|
6645
|
+
"text": "boolean"
|
|
6646
|
+
},
|
|
6647
|
+
"default": "false",
|
|
6648
|
+
"fieldName": "inline"
|
|
6649
|
+
}
|
|
6650
|
+
],
|
|
6651
|
+
"superclass": {
|
|
6652
|
+
"name": "GenesisElement",
|
|
6653
|
+
"package": "@genesislcap/web-core"
|
|
6654
|
+
},
|
|
6655
|
+
"tagName": "inbox-subscription",
|
|
6656
|
+
"customElement": true
|
|
6657
|
+
}
|
|
6658
|
+
],
|
|
6659
|
+
"exports": [
|
|
6660
|
+
{
|
|
6661
|
+
"kind": "js",
|
|
6662
|
+
"name": "InboxSubscription",
|
|
6663
|
+
"declaration": {
|
|
6664
|
+
"name": "InboxSubscription",
|
|
6665
|
+
"module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
|
|
6666
|
+
}
|
|
6667
|
+
},
|
|
6668
|
+
{
|
|
6669
|
+
"kind": "custom-element-definition",
|
|
6670
|
+
"name": "inbox-subscription",
|
|
6671
|
+
"declaration": {
|
|
6672
|
+
"name": "InboxSubscription",
|
|
6673
|
+
"module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
|
|
6674
|
+
}
|
|
6675
|
+
}
|
|
6676
|
+
]
|
|
6677
|
+
},
|
|
6447
6678
|
{
|
|
6448
6679
|
"kind": "javascript-module",
|
|
6449
6680
|
"path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts",
|
|
@@ -7844,231 +8075,35 @@
|
|
|
7844
8075
|
},
|
|
7845
8076
|
{
|
|
7846
8077
|
"kind": "javascript-module",
|
|
7847
|
-
"path": "src/components/foundation-
|
|
8078
|
+
"path": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts",
|
|
7848
8079
|
"declarations": [
|
|
7849
8080
|
{
|
|
7850
|
-
"kind": "
|
|
7851
|
-
"
|
|
7852
|
-
"
|
|
8081
|
+
"kind": "class",
|
|
8082
|
+
"description": "",
|
|
8083
|
+
"name": "NotifyAuditManagement",
|
|
8084
|
+
"superclass": {
|
|
8085
|
+
"name": "GenesisElement",
|
|
8086
|
+
"package": "@genesislcap/web-core"
|
|
8087
|
+
},
|
|
8088
|
+
"tagName": "notify-audit-management",
|
|
8089
|
+
"customElement": true
|
|
7853
8090
|
}
|
|
7854
8091
|
],
|
|
7855
8092
|
"exports": [
|
|
7856
8093
|
{
|
|
7857
8094
|
"kind": "js",
|
|
7858
|
-
"name": "
|
|
8095
|
+
"name": "NotifyAuditManagement",
|
|
7859
8096
|
"declaration": {
|
|
7860
|
-
"name": "
|
|
7861
|
-
"module": "src/components/foundation-
|
|
7862
|
-
}
|
|
7863
|
-
}
|
|
7864
|
-
]
|
|
7865
|
-
},
|
|
7866
|
-
{
|
|
7867
|
-
"kind": "javascript-module",
|
|
7868
|
-
"path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts",
|
|
7869
|
-
"declarations": [
|
|
7870
|
-
{
|
|
7871
|
-
"kind": "variable",
|
|
7872
|
-
"name": "InboxSubscriptionTemplate",
|
|
7873
|
-
"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`"
|
|
7874
|
-
}
|
|
7875
|
-
],
|
|
7876
|
-
"exports": [
|
|
7877
|
-
{
|
|
7878
|
-
"kind": "js",
|
|
7879
|
-
"name": "InboxSubscriptionTemplate",
|
|
7880
|
-
"declaration": {
|
|
7881
|
-
"name": "InboxSubscriptionTemplate",
|
|
7882
|
-
"module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts"
|
|
7883
|
-
}
|
|
7884
|
-
}
|
|
7885
|
-
]
|
|
7886
|
-
},
|
|
7887
|
-
{
|
|
7888
|
-
"kind": "javascript-module",
|
|
7889
|
-
"path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts",
|
|
7890
|
-
"declarations": [
|
|
7891
|
-
{
|
|
7892
|
-
"kind": "class",
|
|
7893
|
-
"description": "Inbox subscription configuration UI.",
|
|
7894
|
-
"name": "InboxSubscription",
|
|
7895
|
-
"members": [
|
|
7896
|
-
{
|
|
7897
|
-
"kind": "field",
|
|
7898
|
-
"name": "template"
|
|
7899
|
-
},
|
|
7900
|
-
{
|
|
7901
|
-
"kind": "field",
|
|
7902
|
-
"name": "inline",
|
|
7903
|
-
"type": {
|
|
7904
|
-
"text": "boolean"
|
|
7905
|
-
},
|
|
7906
|
-
"default": "false"
|
|
7907
|
-
},
|
|
7908
|
-
{
|
|
7909
|
-
"kind": "field",
|
|
7910
|
-
"name": "extraParameterDetails",
|
|
7911
|
-
"type": {
|
|
7912
|
-
"text": "Record<string, string>"
|
|
7913
|
-
},
|
|
7914
|
-
"default": "{}",
|
|
7915
|
-
"description": "Merged into subscribe payload (e.g. CHANNEL topic). Hidden from the form."
|
|
7916
|
-
},
|
|
7917
|
-
{
|
|
7918
|
-
"kind": "field",
|
|
7919
|
-
"name": "parametersDetails",
|
|
7920
|
-
"type": {
|
|
7921
|
-
"text": "object"
|
|
7922
|
-
},
|
|
7923
|
-
"privacy": "private",
|
|
7924
|
-
"default": "{}"
|
|
7925
|
-
},
|
|
7926
|
-
{
|
|
7927
|
-
"kind": "field",
|
|
7928
|
-
"name": "isSubmitting",
|
|
7929
|
-
"type": {
|
|
7930
|
-
"text": "boolean"
|
|
7931
|
-
},
|
|
7932
|
-
"privacy": "private",
|
|
7933
|
-
"default": "false"
|
|
7934
|
-
},
|
|
7935
|
-
{
|
|
7936
|
-
"kind": "field",
|
|
7937
|
-
"name": "parametersOperators",
|
|
7938
|
-
"type": {
|
|
7939
|
-
"text": "object"
|
|
7940
|
-
},
|
|
7941
|
-
"default": "{}"
|
|
7942
|
-
},
|
|
7943
|
-
{
|
|
7944
|
-
"kind": "field",
|
|
7945
|
-
"name": "subscribeDisabled",
|
|
7946
|
-
"type": {
|
|
7947
|
-
"text": "boolean"
|
|
7948
|
-
},
|
|
7949
|
-
"default": "true"
|
|
7950
|
-
},
|
|
7951
|
-
{
|
|
7952
|
-
"kind": "field",
|
|
7953
|
-
"name": "ruleService",
|
|
7954
|
-
"type": {
|
|
7955
|
-
"text": "RuleService"
|
|
7956
|
-
}
|
|
7957
|
-
},
|
|
7958
|
-
{
|
|
7959
|
-
"kind": "field",
|
|
7960
|
-
"name": "visibleParameters",
|
|
7961
|
-
"type": {
|
|
7962
|
-
"text": "RuleParameterEntity[]"
|
|
7963
|
-
},
|
|
7964
|
-
"readonly": true
|
|
7965
|
-
},
|
|
7966
|
-
{
|
|
7967
|
-
"kind": "method",
|
|
7968
|
-
"name": "templateChanged"
|
|
7969
|
-
},
|
|
7970
|
-
{
|
|
7971
|
-
"kind": "method",
|
|
7972
|
-
"name": "usesAutoSubmit",
|
|
7973
|
-
"return": {
|
|
7974
|
-
"type": {
|
|
7975
|
-
"text": "boolean"
|
|
7976
|
-
}
|
|
7977
|
-
}
|
|
7978
|
-
},
|
|
7979
|
-
{
|
|
7980
|
-
"kind": "method",
|
|
7981
|
-
"name": "requiresManualSubscribe",
|
|
7982
|
-
"return": {
|
|
7983
|
-
"type": {
|
|
7984
|
-
"text": "boolean"
|
|
7985
|
-
}
|
|
7986
|
-
}
|
|
7987
|
-
},
|
|
7988
|
-
{
|
|
7989
|
-
"kind": "method",
|
|
7990
|
-
"name": "parameterEdit",
|
|
7991
|
-
"parameters": [
|
|
7992
|
-
{
|
|
7993
|
-
"name": "value",
|
|
7994
|
-
"type": {
|
|
7995
|
-
"text": "any"
|
|
7996
|
-
}
|
|
7997
|
-
}
|
|
7998
|
-
]
|
|
7999
|
-
},
|
|
8000
|
-
{
|
|
8001
|
-
"kind": "method",
|
|
8002
|
-
"name": "autoSubscribe",
|
|
8003
|
-
"privacy": "private"
|
|
8004
|
-
},
|
|
8005
|
-
{
|
|
8006
|
-
"kind": "method",
|
|
8007
|
-
"name": "verifySubscribe"
|
|
8008
|
-
},
|
|
8009
|
-
{
|
|
8010
|
-
"kind": "field",
|
|
8011
|
-
"name": "isFirstElement"
|
|
8012
|
-
},
|
|
8013
|
-
{
|
|
8014
|
-
"kind": "method",
|
|
8015
|
-
"name": "subscribeTemplate"
|
|
8016
|
-
},
|
|
8017
|
-
{
|
|
8018
|
-
"kind": "method",
|
|
8019
|
-
"name": "cancelSubscribe"
|
|
8020
|
-
},
|
|
8021
|
-
{
|
|
8022
|
-
"kind": "field",
|
|
8023
|
-
"name": "createParametersOperatorMap"
|
|
8024
|
-
}
|
|
8025
|
-
],
|
|
8026
|
-
"events": [
|
|
8027
|
-
{
|
|
8028
|
-
"description": "Fired when a template subscription is created. detail: `TemplateSubscribedEventDetail`",
|
|
8029
|
-
"name": "templateSubscribed"
|
|
8030
|
-
},
|
|
8031
|
-
{
|
|
8032
|
-
"description": "Fired when inline parameter entry is cancelled",
|
|
8033
|
-
"name": "subscribeCancelled"
|
|
8034
|
-
}
|
|
8035
|
-
],
|
|
8036
|
-
"attributes": [
|
|
8037
|
-
{
|
|
8038
|
-
"name": "template",
|
|
8039
|
-
"fieldName": "template"
|
|
8040
|
-
},
|
|
8041
|
-
{
|
|
8042
|
-
"type": {
|
|
8043
|
-
"text": "boolean"
|
|
8044
|
-
},
|
|
8045
|
-
"default": "false",
|
|
8046
|
-
"fieldName": "inline"
|
|
8047
|
-
}
|
|
8048
|
-
],
|
|
8049
|
-
"superclass": {
|
|
8050
|
-
"name": "GenesisElement",
|
|
8051
|
-
"package": "@genesislcap/web-core"
|
|
8052
|
-
},
|
|
8053
|
-
"tagName": "inbox-subscription",
|
|
8054
|
-
"customElement": true
|
|
8055
|
-
}
|
|
8056
|
-
],
|
|
8057
|
-
"exports": [
|
|
8058
|
-
{
|
|
8059
|
-
"kind": "js",
|
|
8060
|
-
"name": "InboxSubscription",
|
|
8061
|
-
"declaration": {
|
|
8062
|
-
"name": "InboxSubscription",
|
|
8063
|
-
"module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
|
|
8097
|
+
"name": "NotifyAuditManagement",
|
|
8098
|
+
"module": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts"
|
|
8064
8099
|
}
|
|
8065
8100
|
},
|
|
8066
8101
|
{
|
|
8067
8102
|
"kind": "custom-element-definition",
|
|
8068
|
-
"name": "
|
|
8103
|
+
"name": "notify-audit-management",
|
|
8069
8104
|
"declaration": {
|
|
8070
|
-
"name": "
|
|
8071
|
-
"module": "src/components/foundation-
|
|
8105
|
+
"name": "NotifyAuditManagement",
|
|
8106
|
+
"module": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts"
|
|
8072
8107
|
}
|
|
8073
8108
|
}
|
|
8074
8109
|
]
|
|
@@ -8108,41 +8143,6 @@
|
|
|
8108
8143
|
}
|
|
8109
8144
|
]
|
|
8110
8145
|
},
|
|
8111
|
-
{
|
|
8112
|
-
"kind": "javascript-module",
|
|
8113
|
-
"path": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts",
|
|
8114
|
-
"declarations": [
|
|
8115
|
-
{
|
|
8116
|
-
"kind": "class",
|
|
8117
|
-
"description": "",
|
|
8118
|
-
"name": "NotifyAuditManagement",
|
|
8119
|
-
"superclass": {
|
|
8120
|
-
"name": "GenesisElement",
|
|
8121
|
-
"package": "@genesislcap/web-core"
|
|
8122
|
-
},
|
|
8123
|
-
"tagName": "notify-audit-management",
|
|
8124
|
-
"customElement": true
|
|
8125
|
-
}
|
|
8126
|
-
],
|
|
8127
|
-
"exports": [
|
|
8128
|
-
{
|
|
8129
|
-
"kind": "js",
|
|
8130
|
-
"name": "NotifyAuditManagement",
|
|
8131
|
-
"declaration": {
|
|
8132
|
-
"name": "NotifyAuditManagement",
|
|
8133
|
-
"module": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts"
|
|
8134
|
-
}
|
|
8135
|
-
},
|
|
8136
|
-
{
|
|
8137
|
-
"kind": "custom-element-definition",
|
|
8138
|
-
"name": "notify-audit-management",
|
|
8139
|
-
"declaration": {
|
|
8140
|
-
"name": "NotifyAuditManagement",
|
|
8141
|
-
"module": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts"
|
|
8142
|
-
}
|
|
8143
|
-
}
|
|
8144
|
-
]
|
|
8145
|
-
},
|
|
8146
8146
|
{
|
|
8147
8147
|
"kind": "javascript-module",
|
|
8148
8148
|
"path": "src/components/foundation-notification-dashboard/components/rules/columns.ts",
|
|
@@ -10738,426 +10738,552 @@
|
|
|
10738
10738
|
},
|
|
10739
10739
|
{
|
|
10740
10740
|
"kind": "javascript-module",
|
|
10741
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
10741
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts",
|
|
10742
10742
|
"declarations": [
|
|
10743
10743
|
{
|
|
10744
10744
|
"kind": "variable",
|
|
10745
|
-
"name": "
|
|
10746
|
-
"default": "
|
|
10745
|
+
"name": "TemplateConditionBuilderTemplate",
|
|
10746
|
+
"default": "html<TemplateConditionBuilder>`\n ${when(\n (x) => !x.isFirst,\n html`\n <div class=\"join-toggle-row\">\n <div class=\"join-toggle\">\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'AND'])}\"\n @click=${(x) => (x.joinOperator = 'AND')}\n >\n AND\n </span>\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'OR'])}\"\n @click=${(x) => (x.joinOperator = 'OR')}\n >\n OR\n </span>\n </div>\n </div>\n `,\n )}\n <div class=\"condition-builder\">\n <rapid-select\n :value=${sync((x) => x.leftValue)}\n :initialValue=${sync((x) => x.leftValue)}\n class=\"left-value\"\n >\n ${repeat(\n (x) => x.leftValueItems,\n html<Field>`\n <rapid-option value=${(x) => JSON.stringify(x)}>${(x) => x.FIELD_NAME}</rapid-option>\n `,\n )}\n </rapid-select>\n\n <rapid-select\n class=\"logical-operator${(x) =>\n classNames([\n '-null-and-blank',\n nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n ])}\"\n :value=${sync((x) => x.logicalOperator)}\n >\n ${repeat(\n (_) => Object.values(LogicalOperator),\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => !nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n html`\n <rapid-select class=\"right-criteria\" :value=${sync((x) => x.rightCriteria)}>\n ${repeat(\n (x) => x.rightCriteriaOptions,\n html`\n <rapid-option value=${(x) => x}>${(x) => rightCriteriaLabel(x)}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.rightCriteria === RightCriteria.VALUE,\n html<TemplateConditionBuilder>`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.BOOLEAN,\n html`\n <rapid-select class=\"right-criteria-select\" :value=${sync((x) => x.rightValueText)}>\n <rapid-option value=\"true\">true</rapid-option>\n <rapid-option value=\"false\">false</rapid-option>\n </rapid-select>\n `,\n html`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === 'ENUM',\n html`\n <rapid-multiselect\n class=\"right-criteria-select\"\n :selectedOptions=${(x) => x.rightValueMultiSelect}\n @selectionChange=${(x, c) => {\n x.rightValueMultiSelect = (c.event as CustomEvent).detail;\n }}\n search=\"true\"\n all=\"false\"\n >\n <multiselect-datasource\n value-field=\"value\"\n label-field=\"value\"\n :data=${(x) => x.getEnumValues().map((value) => ({ value }))}\n ></multiselect-datasource>\n </rapid-multiselect>\n `,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n placeholder=\"Value (comma-separate for multiple)\"\n autocomplete=\"off\"\n ></rapid-text-field>\n `,\n )}\n `,\n )}\n `,\n )}\n ${when(\n (x) => x.rightCriteria === RightCriteria.USER_ENTRY,\n html<TemplateConditionBuilder>`\n <rapid-select class=\"right-criteria-select\" :value=${sync((x) => x.rightValueSelect)}>\n ${(x) => rightValueItemsOptions(x.rightValueItems)}\n </rapid-select>\n `,\n )}\n `,\n )}\n\n <rapid-button appearance=\"icon\" class=\"delete\" @click=${(x) => x.deleteCondition()}>\n <rapid-icon\n style=\"opacity: 0.5\"\n variant=\"regular\"\n name=\"trash-alt\"\n size=\"lg\"\n part=\"icon\"\n ></rapid-icon>\n </rapid-button>\n </div>\n`"
|
|
10747
10747
|
}
|
|
10748
10748
|
],
|
|
10749
10749
|
"exports": [
|
|
10750
10750
|
{
|
|
10751
10751
|
"kind": "js",
|
|
10752
|
-
"name": "
|
|
10752
|
+
"name": "TemplateConditionBuilderTemplate",
|
|
10753
10753
|
"declaration": {
|
|
10754
|
-
"name": "
|
|
10755
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
10754
|
+
"name": "TemplateConditionBuilderTemplate",
|
|
10755
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts"
|
|
10756
10756
|
}
|
|
10757
10757
|
}
|
|
10758
10758
|
]
|
|
10759
10759
|
},
|
|
10760
10760
|
{
|
|
10761
10761
|
"kind": "javascript-module",
|
|
10762
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
10763
|
-
"declarations": [
|
|
10764
|
-
{
|
|
10765
|
-
"kind": "variable",
|
|
10766
|
-
"name": "ParameterBuilderTemplate",
|
|
10767
|
-
"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`"
|
|
10768
|
-
}
|
|
10769
|
-
],
|
|
10770
|
-
"exports": [
|
|
10771
|
-
{
|
|
10772
|
-
"kind": "js",
|
|
10773
|
-
"name": "ParameterBuilderTemplate",
|
|
10774
|
-
"declaration": {
|
|
10775
|
-
"name": "ParameterBuilderTemplate",
|
|
10776
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
|
|
10777
|
-
}
|
|
10778
|
-
}
|
|
10779
|
-
]
|
|
10780
|
-
},
|
|
10781
|
-
{
|
|
10782
|
-
"kind": "javascript-module",
|
|
10783
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
|
|
10762
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts",
|
|
10784
10763
|
"declarations": [
|
|
10785
10764
|
{
|
|
10786
10765
|
"kind": "class",
|
|
10787
|
-
"description": "
|
|
10788
|
-
"name": "
|
|
10766
|
+
"description": "Condition builder for template notification rules.",
|
|
10767
|
+
"name": "TemplateConditionBuilder",
|
|
10789
10768
|
"members": [
|
|
10790
10769
|
{
|
|
10791
10770
|
"kind": "field",
|
|
10792
|
-
"name": "
|
|
10771
|
+
"name": "condition",
|
|
10793
10772
|
"type": {
|
|
10794
|
-
"text": "
|
|
10773
|
+
"text": "ConditionBuilderEntity"
|
|
10795
10774
|
}
|
|
10796
10775
|
},
|
|
10797
10776
|
{
|
|
10798
10777
|
"kind": "field",
|
|
10799
|
-
"name": "
|
|
10778
|
+
"name": "parameters",
|
|
10800
10779
|
"type": {
|
|
10801
|
-
"text": "
|
|
10802
|
-
}
|
|
10780
|
+
"text": "Array<ParameterBuilderEntity>"
|
|
10781
|
+
},
|
|
10782
|
+
"default": "[]"
|
|
10803
10783
|
},
|
|
10804
10784
|
{
|
|
10805
10785
|
"kind": "field",
|
|
10806
|
-
"name": "
|
|
10786
|
+
"name": "fields",
|
|
10787
|
+
"type": {
|
|
10788
|
+
"text": "Field[]"
|
|
10789
|
+
},
|
|
10790
|
+
"default": "[]"
|
|
10791
|
+
},
|
|
10792
|
+
{
|
|
10793
|
+
"kind": "field",
|
|
10794
|
+
"name": "isFirst",
|
|
10795
|
+
"type": {
|
|
10796
|
+
"text": "boolean"
|
|
10797
|
+
},
|
|
10798
|
+
"default": "false"
|
|
10799
|
+
},
|
|
10800
|
+
{
|
|
10801
|
+
"kind": "field",
|
|
10802
|
+
"name": "joinOperator",
|
|
10807
10803
|
"type": {
|
|
10808
10804
|
"text": "string"
|
|
10809
10805
|
}
|
|
10810
10806
|
},
|
|
10811
10807
|
{
|
|
10812
10808
|
"kind": "field",
|
|
10813
|
-
"name": "
|
|
10809
|
+
"name": "leftValue",
|
|
10810
|
+
"type": {
|
|
10811
|
+
"text": "any"
|
|
10812
|
+
},
|
|
10813
|
+
"default": "null"
|
|
10814
|
+
},
|
|
10815
|
+
{
|
|
10816
|
+
"kind": "field",
|
|
10817
|
+
"name": "leftValueItems",
|
|
10818
|
+
"type": {
|
|
10819
|
+
"text": "Array<any>"
|
|
10820
|
+
},
|
|
10821
|
+
"default": "[]"
|
|
10822
|
+
},
|
|
10823
|
+
{
|
|
10824
|
+
"kind": "field",
|
|
10825
|
+
"name": "logicalOperator",
|
|
10814
10826
|
"type": {
|
|
10815
10827
|
"text": "string"
|
|
10816
|
-
}
|
|
10828
|
+
},
|
|
10829
|
+
"default": "null"
|
|
10817
10830
|
},
|
|
10818
10831
|
{
|
|
10819
10832
|
"kind": "field",
|
|
10820
|
-
"name": "
|
|
10833
|
+
"name": "rightCriteria",
|
|
10821
10834
|
"type": {
|
|
10822
10835
|
"text": "string"
|
|
10823
10836
|
}
|
|
10824
10837
|
},
|
|
10825
10838
|
{
|
|
10826
10839
|
"kind": "field",
|
|
10827
|
-
"name": "
|
|
10840
|
+
"name": "rightValueText",
|
|
10828
10841
|
"type": {
|
|
10829
10842
|
"text": "string"
|
|
10830
|
-
}
|
|
10843
|
+
},
|
|
10844
|
+
"default": "null"
|
|
10831
10845
|
},
|
|
10832
10846
|
{
|
|
10833
10847
|
"kind": "field",
|
|
10834
|
-
"name": "
|
|
10848
|
+
"name": "rightValueSelect",
|
|
10835
10849
|
"type": {
|
|
10836
10850
|
"text": "string"
|
|
10837
|
-
}
|
|
10851
|
+
},
|
|
10852
|
+
"default": "null"
|
|
10838
10853
|
},
|
|
10839
10854
|
{
|
|
10840
10855
|
"kind": "field",
|
|
10841
|
-
"name": "
|
|
10856
|
+
"name": "rightValueItems",
|
|
10842
10857
|
"type": {
|
|
10843
|
-
"text": "
|
|
10844
|
-
}
|
|
10858
|
+
"text": "Array<any>"
|
|
10859
|
+
},
|
|
10860
|
+
"default": "[]"
|
|
10845
10861
|
},
|
|
10846
10862
|
{
|
|
10847
10863
|
"kind": "field",
|
|
10848
|
-
"name": "
|
|
10864
|
+
"name": "rightValueMultiSelect",
|
|
10849
10865
|
"type": {
|
|
10850
|
-
"text": "
|
|
10851
|
-
}
|
|
10866
|
+
"text": "string[]"
|
|
10867
|
+
},
|
|
10868
|
+
"default": "[]"
|
|
10852
10869
|
},
|
|
10853
10870
|
{
|
|
10854
10871
|
"kind": "field",
|
|
10855
|
-
"name": "
|
|
10872
|
+
"name": "rightCriteriaOptions",
|
|
10856
10873
|
"type": {
|
|
10857
|
-
"text": "
|
|
10874
|
+
"text": "RightCriteria[]"
|
|
10858
10875
|
},
|
|
10859
|
-
"
|
|
10876
|
+
"readonly": true
|
|
10877
|
+
},
|
|
10878
|
+
{
|
|
10879
|
+
"kind": "field",
|
|
10880
|
+
"name": "isStringLeftValue",
|
|
10881
|
+
"type": {
|
|
10882
|
+
"text": "boolean"
|
|
10883
|
+
},
|
|
10884
|
+
"privacy": "private",
|
|
10885
|
+
"readonly": true
|
|
10860
10886
|
},
|
|
10861
10887
|
{
|
|
10862
10888
|
"kind": "method",
|
|
10863
|
-
"name": "
|
|
10889
|
+
"name": "deleteCondition"
|
|
10864
10890
|
},
|
|
10865
10891
|
{
|
|
10866
10892
|
"kind": "method",
|
|
10867
|
-
"name": "
|
|
10893
|
+
"name": "conditionChanged"
|
|
10868
10894
|
},
|
|
10869
10895
|
{
|
|
10870
10896
|
"kind": "method",
|
|
10871
|
-
"name": "
|
|
10897
|
+
"name": "joinOperatorChanged"
|
|
10872
10898
|
},
|
|
10873
10899
|
{
|
|
10874
10900
|
"kind": "method",
|
|
10875
|
-
"name": "
|
|
10901
|
+
"name": "parametersChanged"
|
|
10876
10902
|
},
|
|
10877
10903
|
{
|
|
10878
10904
|
"kind": "method",
|
|
10879
|
-
"name": "
|
|
10905
|
+
"name": "getMatchingParameter",
|
|
10906
|
+
"privacy": "private",
|
|
10907
|
+
"return": {
|
|
10908
|
+
"type": {
|
|
10909
|
+
"text": "ParameterBuilderEntity | undefined"
|
|
10910
|
+
}
|
|
10911
|
+
}
|
|
10880
10912
|
},
|
|
10881
10913
|
{
|
|
10882
10914
|
"kind": "method",
|
|
10883
|
-
"name": "
|
|
10915
|
+
"name": "syncParameterBinding",
|
|
10916
|
+
"privacy": "private",
|
|
10917
|
+
"return": {
|
|
10918
|
+
"type": {
|
|
10919
|
+
"text": "boolean"
|
|
10920
|
+
}
|
|
10921
|
+
}
|
|
10884
10922
|
},
|
|
10885
10923
|
{
|
|
10886
10924
|
"kind": "method",
|
|
10887
|
-
"name": "
|
|
10925
|
+
"name": "resetToValueEditor",
|
|
10926
|
+
"privacy": "private"
|
|
10888
10927
|
},
|
|
10889
10928
|
{
|
|
10890
10929
|
"kind": "method",
|
|
10891
|
-
"name": "
|
|
10930
|
+
"name": "fieldsChanged"
|
|
10892
10931
|
},
|
|
10893
10932
|
{
|
|
10894
10933
|
"kind": "method",
|
|
10895
|
-
"name": "
|
|
10896
|
-
|
|
10897
|
-
|
|
10898
|
-
|
|
10899
|
-
|
|
10900
|
-
|
|
10901
|
-
|
|
10902
|
-
|
|
10934
|
+
"name": "logicalOperatorChanged"
|
|
10935
|
+
},
|
|
10936
|
+
{
|
|
10937
|
+
"kind": "method",
|
|
10938
|
+
"name": "assignLeftValue",
|
|
10939
|
+
"privacy": "private"
|
|
10940
|
+
},
|
|
10941
|
+
{
|
|
10942
|
+
"kind": "method",
|
|
10943
|
+
"name": "leftValueChanged"
|
|
10944
|
+
},
|
|
10945
|
+
{
|
|
10946
|
+
"kind": "method",
|
|
10947
|
+
"name": "assignRightValue",
|
|
10948
|
+
"privacy": "private"
|
|
10949
|
+
},
|
|
10950
|
+
{
|
|
10951
|
+
"kind": "method",
|
|
10952
|
+
"name": "rightCriteriaChanged"
|
|
10953
|
+
},
|
|
10954
|
+
{
|
|
10955
|
+
"kind": "method",
|
|
10956
|
+
"name": "clearRightValueText",
|
|
10957
|
+
"privacy": "private"
|
|
10958
|
+
},
|
|
10959
|
+
{
|
|
10960
|
+
"kind": "method",
|
|
10961
|
+
"name": "clearRightValueSelect",
|
|
10962
|
+
"privacy": "private"
|
|
10963
|
+
},
|
|
10964
|
+
{
|
|
10965
|
+
"kind": "method",
|
|
10966
|
+
"name": "rightValueTextChanged"
|
|
10967
|
+
},
|
|
10968
|
+
{
|
|
10969
|
+
"kind": "method",
|
|
10970
|
+
"name": "rightValueSelectChanged"
|
|
10971
|
+
},
|
|
10972
|
+
{
|
|
10973
|
+
"kind": "method",
|
|
10974
|
+
"name": "rightValueMultiSelectChanged"
|
|
10975
|
+
},
|
|
10976
|
+
{
|
|
10977
|
+
"kind": "method",
|
|
10978
|
+
"name": "getEnumValues",
|
|
10979
|
+
"return": {
|
|
10980
|
+
"type": {
|
|
10981
|
+
"text": "string[]"
|
|
10903
10982
|
}
|
|
10904
|
-
|
|
10983
|
+
}
|
|
10905
10984
|
}
|
|
10906
10985
|
],
|
|
10907
10986
|
"events": [
|
|
10908
10987
|
{
|
|
10909
|
-
"description": "Fired when a
|
|
10988
|
+
"description": "Fired when a condition is deleted. detail: `ConditionBuilderEntity`",
|
|
10910
10989
|
"name": "delete"
|
|
10911
10990
|
},
|
|
10912
10991
|
{
|
|
10913
|
-
"description": "Fired when a
|
|
10992
|
+
"description": "Fired when a condition is edited. detail: `ConditionBuilderEntity`",
|
|
10914
10993
|
"name": "edit"
|
|
10915
10994
|
}
|
|
10916
10995
|
],
|
|
10917
|
-
"attributes": [
|
|
10918
|
-
{
|
|
10919
|
-
"name": "parameter",
|
|
10920
|
-
"type": {
|
|
10921
|
-
"text": "ParameterBuilderEntity"
|
|
10922
|
-
},
|
|
10923
|
-
"fieldName": "parameter"
|
|
10924
|
-
}
|
|
10925
|
-
],
|
|
10926
10996
|
"superclass": {
|
|
10927
10997
|
"name": "GenesisElement",
|
|
10928
10998
|
"package": "@genesislcap/web-core"
|
|
10929
10999
|
},
|
|
10930
|
-
"tagName": "
|
|
11000
|
+
"tagName": "template-condition-builder",
|
|
10931
11001
|
"customElement": true
|
|
10932
11002
|
}
|
|
10933
11003
|
],
|
|
10934
11004
|
"exports": [
|
|
10935
11005
|
{
|
|
10936
11006
|
"kind": "js",
|
|
10937
|
-
"name": "
|
|
11007
|
+
"name": "TemplateConditionBuilder",
|
|
10938
11008
|
"declaration": {
|
|
10939
|
-
"name": "
|
|
10940
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
11009
|
+
"name": "TemplateConditionBuilder",
|
|
11010
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts"
|
|
10941
11011
|
}
|
|
10942
11012
|
},
|
|
10943
11013
|
{
|
|
10944
11014
|
"kind": "custom-element-definition",
|
|
10945
|
-
"name": "
|
|
11015
|
+
"name": "template-condition-builder",
|
|
10946
11016
|
"declaration": {
|
|
10947
|
-
"name": "
|
|
10948
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
11017
|
+
"name": "TemplateConditionBuilder",
|
|
11018
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts"
|
|
10949
11019
|
}
|
|
10950
11020
|
}
|
|
10951
11021
|
]
|
|
10952
11022
|
},
|
|
10953
11023
|
{
|
|
10954
11024
|
"kind": "javascript-module",
|
|
10955
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
11025
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
|
10956
11026
|
"declarations": [
|
|
10957
11027
|
{
|
|
10958
11028
|
"kind": "variable",
|
|
10959
|
-
"name": "
|
|
10960
|
-
"default": "
|
|
11029
|
+
"name": "ParameterBuilderStyles",
|
|
11030
|
+
"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`"
|
|
10961
11031
|
}
|
|
10962
11032
|
],
|
|
10963
11033
|
"exports": [
|
|
10964
11034
|
{
|
|
10965
11035
|
"kind": "js",
|
|
10966
|
-
"name": "
|
|
11036
|
+
"name": "ParameterBuilderStyles",
|
|
10967
11037
|
"declaration": {
|
|
10968
|
-
"name": "
|
|
10969
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
11038
|
+
"name": "ParameterBuilderStyles",
|
|
11039
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
|
|
10970
11040
|
}
|
|
10971
11041
|
}
|
|
10972
11042
|
]
|
|
10973
11043
|
},
|
|
10974
11044
|
{
|
|
10975
11045
|
"kind": "javascript-module",
|
|
10976
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
11046
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
|
|
11047
|
+
"declarations": [
|
|
11048
|
+
{
|
|
11049
|
+
"kind": "variable",
|
|
11050
|
+
"name": "ParameterBuilderTemplate",
|
|
11051
|
+
"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`"
|
|
11052
|
+
}
|
|
11053
|
+
],
|
|
11054
|
+
"exports": [
|
|
11055
|
+
{
|
|
11056
|
+
"kind": "js",
|
|
11057
|
+
"name": "ParameterBuilderTemplate",
|
|
11058
|
+
"declaration": {
|
|
11059
|
+
"name": "ParameterBuilderTemplate",
|
|
11060
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
|
|
11061
|
+
}
|
|
11062
|
+
}
|
|
11063
|
+
]
|
|
11064
|
+
},
|
|
11065
|
+
{
|
|
11066
|
+
"kind": "javascript-module",
|
|
11067
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
|
|
10977
11068
|
"declarations": [
|
|
10978
11069
|
{
|
|
10979
11070
|
"kind": "class",
|
|
10980
|
-
"description": "
|
|
10981
|
-
"name": "
|
|
11071
|
+
"description": "Parameter builder for notification templates.",
|
|
11072
|
+
"name": "ParameterBuilder",
|
|
10982
11073
|
"members": [
|
|
10983
11074
|
{
|
|
10984
11075
|
"kind": "field",
|
|
10985
|
-
"name": "
|
|
11076
|
+
"name": "parameter",
|
|
10986
11077
|
"type": {
|
|
10987
|
-
"text": "
|
|
11078
|
+
"text": "ParameterBuilderEntity"
|
|
10988
11079
|
}
|
|
10989
11080
|
},
|
|
10990
11081
|
{
|
|
10991
11082
|
"kind": "field",
|
|
10992
|
-
"name": "
|
|
11083
|
+
"name": "name",
|
|
10993
11084
|
"type": {
|
|
10994
|
-
"text": "
|
|
10995
|
-
}
|
|
10996
|
-
"default": "[]"
|
|
11085
|
+
"text": "string"
|
|
11086
|
+
}
|
|
10997
11087
|
},
|
|
10998
11088
|
{
|
|
10999
11089
|
"kind": "field",
|
|
11000
|
-
"name": "
|
|
11090
|
+
"name": "label",
|
|
11001
11091
|
"type": {
|
|
11002
|
-
"text": "
|
|
11003
|
-
}
|
|
11004
|
-
"default": "[]"
|
|
11092
|
+
"text": "string"
|
|
11093
|
+
}
|
|
11005
11094
|
},
|
|
11006
11095
|
{
|
|
11007
11096
|
"kind": "field",
|
|
11008
|
-
"name": "
|
|
11097
|
+
"name": "type",
|
|
11009
11098
|
"type": {
|
|
11010
|
-
"text": "
|
|
11011
|
-
}
|
|
11012
|
-
"default": "false"
|
|
11099
|
+
"text": "string"
|
|
11100
|
+
}
|
|
11013
11101
|
},
|
|
11014
11102
|
{
|
|
11015
11103
|
"kind": "field",
|
|
11016
|
-
"name": "
|
|
11104
|
+
"name": "sourceType",
|
|
11017
11105
|
"type": {
|
|
11018
11106
|
"text": "string"
|
|
11019
11107
|
}
|
|
11020
11108
|
},
|
|
11021
11109
|
{
|
|
11022
11110
|
"kind": "field",
|
|
11023
|
-
"name": "
|
|
11111
|
+
"name": "sourceSelected",
|
|
11024
11112
|
"type": {
|
|
11025
|
-
"text": "
|
|
11113
|
+
"text": "string"
|
|
11114
|
+
}
|
|
11115
|
+
},
|
|
11116
|
+
{
|
|
11117
|
+
"kind": "field",
|
|
11118
|
+
"name": "sourceTyped",
|
|
11119
|
+
"type": {
|
|
11120
|
+
"text": "string"
|
|
11121
|
+
}
|
|
11122
|
+
},
|
|
11123
|
+
{
|
|
11124
|
+
"kind": "field",
|
|
11125
|
+
"name": "sourceTextField",
|
|
11126
|
+
"type": {
|
|
11127
|
+
"text": "TextField"
|
|
11128
|
+
}
|
|
11129
|
+
},
|
|
11130
|
+
{
|
|
11131
|
+
"kind": "field",
|
|
11132
|
+
"name": "sourceSelect",
|
|
11133
|
+
"type": {
|
|
11134
|
+
"text": "Select"
|
|
11135
|
+
}
|
|
11136
|
+
},
|
|
11137
|
+
{
|
|
11138
|
+
"kind": "field",
|
|
11139
|
+
"name": "reqRepItems",
|
|
11140
|
+
"type": {
|
|
11141
|
+
"text": "array"
|
|
11026
11142
|
},
|
|
11027
|
-
"default": "[]"
|
|
11143
|
+
"default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
|
|
11028
11144
|
},
|
|
11029
11145
|
{
|
|
11030
11146
|
"kind": "method",
|
|
11031
|
-
"name": "
|
|
11147
|
+
"name": "deleteParameter"
|
|
11032
11148
|
},
|
|
11033
11149
|
{
|
|
11034
11150
|
"kind": "method",
|
|
11035
|
-
"name": "
|
|
11151
|
+
"name": "parameterChanged"
|
|
11036
11152
|
},
|
|
11037
11153
|
{
|
|
11038
11154
|
"kind": "method",
|
|
11039
|
-
"name": "
|
|
11155
|
+
"name": "nameChanged"
|
|
11040
11156
|
},
|
|
11041
11157
|
{
|
|
11042
11158
|
"kind": "method",
|
|
11043
|
-
"name": "
|
|
11159
|
+
"name": "labelChanged"
|
|
11044
11160
|
},
|
|
11045
11161
|
{
|
|
11046
11162
|
"kind": "method",
|
|
11047
|
-
"name": "
|
|
11048
|
-
"parameters": [
|
|
11049
|
-
{
|
|
11050
|
-
"name": "_editedChild",
|
|
11051
|
-
"type": {
|
|
11052
|
-
"text": "ConditionNode"
|
|
11053
|
-
}
|
|
11054
|
-
}
|
|
11055
|
-
]
|
|
11163
|
+
"name": "typeChanged"
|
|
11056
11164
|
},
|
|
11057
11165
|
{
|
|
11058
11166
|
"kind": "method",
|
|
11059
|
-
"name": "
|
|
11167
|
+
"name": "sourceTypeChanged"
|
|
11168
|
+
},
|
|
11169
|
+
{
|
|
11170
|
+
"kind": "method",
|
|
11171
|
+
"name": "sourceSelectedChanged"
|
|
11172
|
+
},
|
|
11173
|
+
{
|
|
11174
|
+
"kind": "method",
|
|
11175
|
+
"name": "sourceTypedChanged"
|
|
11176
|
+
},
|
|
11177
|
+
{
|
|
11178
|
+
"kind": "method",
|
|
11179
|
+
"name": "genericChanged",
|
|
11180
|
+
"privacy": "private",
|
|
11060
11181
|
"parameters": [
|
|
11061
11182
|
{
|
|
11062
|
-
"name": "
|
|
11063
|
-
|
|
11064
|
-
|
|
11065
|
-
|
|
11183
|
+
"name": "parameterAttribute"
|
|
11184
|
+
},
|
|
11185
|
+
{
|
|
11186
|
+
"name": "value"
|
|
11066
11187
|
}
|
|
11067
11188
|
]
|
|
11068
|
-
},
|
|
11069
|
-
{
|
|
11070
|
-
"kind": "method",
|
|
11071
|
-
"name": "deleteSelf"
|
|
11072
11189
|
}
|
|
11073
11190
|
],
|
|
11074
11191
|
"events": [
|
|
11075
11192
|
{
|
|
11076
|
-
"description": "Fired when
|
|
11193
|
+
"description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
|
|
11077
11194
|
"name": "delete"
|
|
11078
11195
|
},
|
|
11079
11196
|
{
|
|
11080
|
-
"description": "Fired when
|
|
11197
|
+
"description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
|
|
11081
11198
|
"name": "edit"
|
|
11082
11199
|
}
|
|
11083
11200
|
],
|
|
11201
|
+
"attributes": [
|
|
11202
|
+
{
|
|
11203
|
+
"name": "parameter",
|
|
11204
|
+
"type": {
|
|
11205
|
+
"text": "ParameterBuilderEntity"
|
|
11206
|
+
},
|
|
11207
|
+
"fieldName": "parameter"
|
|
11208
|
+
}
|
|
11209
|
+
],
|
|
11084
11210
|
"superclass": {
|
|
11085
11211
|
"name": "GenesisElement",
|
|
11086
11212
|
"package": "@genesislcap/web-core"
|
|
11087
11213
|
},
|
|
11088
|
-
"tagName": "
|
|
11214
|
+
"tagName": "parameter-builder",
|
|
11089
11215
|
"customElement": true
|
|
11090
11216
|
}
|
|
11091
11217
|
],
|
|
11092
11218
|
"exports": [
|
|
11093
11219
|
{
|
|
11094
11220
|
"kind": "js",
|
|
11095
|
-
"name": "
|
|
11221
|
+
"name": "ParameterBuilder",
|
|
11096
11222
|
"declaration": {
|
|
11097
|
-
"name": "
|
|
11098
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
11223
|
+
"name": "ParameterBuilder",
|
|
11224
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
11099
11225
|
}
|
|
11100
11226
|
},
|
|
11101
11227
|
{
|
|
11102
11228
|
"kind": "custom-element-definition",
|
|
11103
|
-
"name": "
|
|
11229
|
+
"name": "parameter-builder",
|
|
11104
11230
|
"declaration": {
|
|
11105
|
-
"name": "
|
|
11106
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
11231
|
+
"name": "ParameterBuilder",
|
|
11232
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
11107
11233
|
}
|
|
11108
11234
|
}
|
|
11109
11235
|
]
|
|
11110
11236
|
},
|
|
11111
11237
|
{
|
|
11112
11238
|
"kind": "javascript-module",
|
|
11113
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-
|
|
11239
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
|
|
11114
11240
|
"declarations": [
|
|
11115
11241
|
{
|
|
11116
11242
|
"kind": "variable",
|
|
11117
|
-
"name": "
|
|
11118
|
-
"default": "html<
|
|
11243
|
+
"name": "TemplateConditionGroupTemplate",
|
|
11244
|
+
"default": "html<TemplateConditionGroup>`\n ${when(\n (x) => !x.isFirst,\n html`\n <div class=\"join-toggle-row\">\n <div class=\"join-toggle\">\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'AND'])}\"\n @click=${(x) => (x.joinOperator = 'AND')}\n >\n AND\n </span>\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'OR'])}\"\n @click=${(x) => (x.joinOperator = 'OR')}\n >\n OR\n </span>\n </div>\n </div>\n `,\n )}\n <div class=\"condition-group-row\">\n <div class=\"condition-group-box\">\n ${repeat(\n (x) => x.groupChildren,\n html<ConditionNode, TemplateConditionGroup>`\n ${when(\n (x) => isGroup(x),\n html<ConditionNode>`\n <template-condition-group\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\n :node=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></template-condition-group>\n `,\n )}\n ${when(\n (x) => !isGroup(x),\n html<ConditionNode>`\n <template-condition-builder\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\n :condition=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></template-condition-builder>\n `,\n )}\n `,\n { positioning: true },\n )}\n\n <div class=\"content-row\">\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newCondition()}>\n + Condition\n </rapid-button>\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newGroup()}>+ Group</rapid-button>\n <rapid-button appearance=\"icon\" class=\"delete-group\" @click=${(x) => x.deleteSelf()}>\n <rapid-icon variant=\"regular\" name=\"trash-alt\" size=\"lg\" part=\"icon\"></rapid-icon>\n </rapid-button>\n </div>\n </div>\n </div>\n`"
|
|
11119
11245
|
}
|
|
11120
11246
|
],
|
|
11121
11247
|
"exports": [
|
|
11122
11248
|
{
|
|
11123
11249
|
"kind": "js",
|
|
11124
|
-
"name": "
|
|
11250
|
+
"name": "TemplateConditionGroupTemplate",
|
|
11125
11251
|
"declaration": {
|
|
11126
|
-
"name": "
|
|
11127
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-
|
|
11252
|
+
"name": "TemplateConditionGroupTemplate",
|
|
11253
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts"
|
|
11128
11254
|
}
|
|
11129
11255
|
}
|
|
11130
11256
|
]
|
|
11131
11257
|
},
|
|
11132
11258
|
{
|
|
11133
11259
|
"kind": "javascript-module",
|
|
11134
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-
|
|
11260
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts",
|
|
11135
11261
|
"declarations": [
|
|
11136
11262
|
{
|
|
11137
11263
|
"kind": "class",
|
|
11138
|
-
"description": "
|
|
11139
|
-
"name": "
|
|
11264
|
+
"description": "Parenthesized group of conditions/nested groups for notification template\ncriteria - see rule-condition-group for the rationale. Also forwards\n:parameters down to nested template-condition-builder rows so parameter\nbinding (USER_ENTRY) keeps working inside a group.",
|
|
11265
|
+
"name": "TemplateConditionGroup",
|
|
11140
11266
|
"members": [
|
|
11141
11267
|
{
|
|
11142
11268
|
"kind": "field",
|
|
11143
|
-
"name": "
|
|
11269
|
+
"name": "node",
|
|
11144
11270
|
"type": {
|
|
11145
|
-
"text": "
|
|
11271
|
+
"text": "ConditionGroupEntity"
|
|
11146
11272
|
}
|
|
11147
11273
|
},
|
|
11148
11274
|
{
|
|
11149
11275
|
"kind": "field",
|
|
11150
|
-
"name": "
|
|
11276
|
+
"name": "fields",
|
|
11151
11277
|
"type": {
|
|
11152
|
-
"text": "
|
|
11278
|
+
"text": "Field[]"
|
|
11153
11279
|
},
|
|
11154
11280
|
"default": "[]"
|
|
11155
11281
|
},
|
|
11156
11282
|
{
|
|
11157
11283
|
"kind": "field",
|
|
11158
|
-
"name": "
|
|
11284
|
+
"name": "parameters",
|
|
11159
11285
|
"type": {
|
|
11160
|
-
"text": "
|
|
11286
|
+
"text": "Array<ParameterBuilderEntity>"
|
|
11161
11287
|
},
|
|
11162
11288
|
"default": "[]"
|
|
11163
11289
|
},
|
|
@@ -11178,91 +11304,15 @@
|
|
|
11178
11304
|
},
|
|
11179
11305
|
{
|
|
11180
11306
|
"kind": "field",
|
|
11181
|
-
"name": "
|
|
11182
|
-
"type": {
|
|
11183
|
-
"text": "any"
|
|
11184
|
-
},
|
|
11185
|
-
"default": "null"
|
|
11186
|
-
},
|
|
11187
|
-
{
|
|
11188
|
-
"kind": "field",
|
|
11189
|
-
"name": "leftValueItems",
|
|
11190
|
-
"type": {
|
|
11191
|
-
"text": "Array<any>"
|
|
11192
|
-
},
|
|
11193
|
-
"default": "[]"
|
|
11194
|
-
},
|
|
11195
|
-
{
|
|
11196
|
-
"kind": "field",
|
|
11197
|
-
"name": "logicalOperator",
|
|
11198
|
-
"type": {
|
|
11199
|
-
"text": "string"
|
|
11200
|
-
},
|
|
11201
|
-
"default": "null"
|
|
11202
|
-
},
|
|
11203
|
-
{
|
|
11204
|
-
"kind": "field",
|
|
11205
|
-
"name": "rightCriteria",
|
|
11206
|
-
"type": {
|
|
11207
|
-
"text": "string"
|
|
11208
|
-
}
|
|
11209
|
-
},
|
|
11210
|
-
{
|
|
11211
|
-
"kind": "field",
|
|
11212
|
-
"name": "rightValueText",
|
|
11213
|
-
"type": {
|
|
11214
|
-
"text": "string"
|
|
11215
|
-
},
|
|
11216
|
-
"default": "null"
|
|
11217
|
-
},
|
|
11218
|
-
{
|
|
11219
|
-
"kind": "field",
|
|
11220
|
-
"name": "rightValueSelect",
|
|
11221
|
-
"type": {
|
|
11222
|
-
"text": "string"
|
|
11223
|
-
},
|
|
11224
|
-
"default": "null"
|
|
11225
|
-
},
|
|
11226
|
-
{
|
|
11227
|
-
"kind": "field",
|
|
11228
|
-
"name": "rightValueItems",
|
|
11229
|
-
"type": {
|
|
11230
|
-
"text": "Array<any>"
|
|
11231
|
-
},
|
|
11232
|
-
"default": "[]"
|
|
11233
|
-
},
|
|
11234
|
-
{
|
|
11235
|
-
"kind": "field",
|
|
11236
|
-
"name": "rightValueMultiSelect",
|
|
11307
|
+
"name": "groupChildren",
|
|
11237
11308
|
"type": {
|
|
11238
|
-
"text": "
|
|
11309
|
+
"text": "ConditionNode[]"
|
|
11239
11310
|
},
|
|
11240
11311
|
"default": "[]"
|
|
11241
11312
|
},
|
|
11242
|
-
{
|
|
11243
|
-
"kind": "field",
|
|
11244
|
-
"name": "rightCriteriaOptions",
|
|
11245
|
-
"type": {
|
|
11246
|
-
"text": "RightCriteria[]"
|
|
11247
|
-
},
|
|
11248
|
-
"readonly": true
|
|
11249
|
-
},
|
|
11250
|
-
{
|
|
11251
|
-
"kind": "field",
|
|
11252
|
-
"name": "isStringLeftValue",
|
|
11253
|
-
"type": {
|
|
11254
|
-
"text": "boolean"
|
|
11255
|
-
},
|
|
11256
|
-
"privacy": "private",
|
|
11257
|
-
"readonly": true
|
|
11258
|
-
},
|
|
11259
|
-
{
|
|
11260
|
-
"kind": "method",
|
|
11261
|
-
"name": "deleteCondition"
|
|
11262
|
-
},
|
|
11263
11313
|
{
|
|
11264
11314
|
"kind": "method",
|
|
11265
|
-
"name": "
|
|
11315
|
+
"name": "nodeChanged"
|
|
11266
11316
|
},
|
|
11267
11317
|
{
|
|
11268
11318
|
"kind": "method",
|
|
@@ -11270,98 +11320,48 @@
|
|
|
11270
11320
|
},
|
|
11271
11321
|
{
|
|
11272
11322
|
"kind": "method",
|
|
11273
|
-
"name": "
|
|
11323
|
+
"name": "newCondition"
|
|
11274
11324
|
},
|
|
11275
11325
|
{
|
|
11276
11326
|
"kind": "method",
|
|
11277
|
-
"name": "
|
|
11278
|
-
"privacy": "private",
|
|
11279
|
-
"return": {
|
|
11280
|
-
"type": {
|
|
11281
|
-
"text": "ParameterBuilderEntity | undefined"
|
|
11282
|
-
}
|
|
11283
|
-
}
|
|
11327
|
+
"name": "newGroup"
|
|
11284
11328
|
},
|
|
11285
11329
|
{
|
|
11286
11330
|
"kind": "method",
|
|
11287
|
-
"name": "
|
|
11288
|
-
"
|
|
11289
|
-
|
|
11290
|
-
|
|
11291
|
-
"
|
|
11331
|
+
"name": "editChild",
|
|
11332
|
+
"parameters": [
|
|
11333
|
+
{
|
|
11334
|
+
"name": "_editedChild",
|
|
11335
|
+
"type": {
|
|
11336
|
+
"text": "ConditionNode"
|
|
11337
|
+
}
|
|
11292
11338
|
}
|
|
11293
|
-
|
|
11294
|
-
},
|
|
11295
|
-
{
|
|
11296
|
-
"kind": "method",
|
|
11297
|
-
"name": "resetToValueEditor",
|
|
11298
|
-
"privacy": "private"
|
|
11299
|
-
},
|
|
11300
|
-
{
|
|
11301
|
-
"kind": "method",
|
|
11302
|
-
"name": "fieldsChanged"
|
|
11303
|
-
},
|
|
11304
|
-
{
|
|
11305
|
-
"kind": "method",
|
|
11306
|
-
"name": "logicalOperatorChanged"
|
|
11307
|
-
},
|
|
11308
|
-
{
|
|
11309
|
-
"kind": "method",
|
|
11310
|
-
"name": "assignLeftValue",
|
|
11311
|
-
"privacy": "private"
|
|
11312
|
-
},
|
|
11313
|
-
{
|
|
11314
|
-
"kind": "method",
|
|
11315
|
-
"name": "leftValueChanged"
|
|
11316
|
-
},
|
|
11317
|
-
{
|
|
11318
|
-
"kind": "method",
|
|
11319
|
-
"name": "assignRightValue",
|
|
11320
|
-
"privacy": "private"
|
|
11321
|
-
},
|
|
11322
|
-
{
|
|
11323
|
-
"kind": "method",
|
|
11324
|
-
"name": "rightCriteriaChanged"
|
|
11325
|
-
},
|
|
11326
|
-
{
|
|
11327
|
-
"kind": "method",
|
|
11328
|
-
"name": "clearRightValueText",
|
|
11329
|
-
"privacy": "private"
|
|
11330
|
-
},
|
|
11331
|
-
{
|
|
11332
|
-
"kind": "method",
|
|
11333
|
-
"name": "clearRightValueSelect",
|
|
11334
|
-
"privacy": "private"
|
|
11335
|
-
},
|
|
11336
|
-
{
|
|
11337
|
-
"kind": "method",
|
|
11338
|
-
"name": "rightValueTextChanged"
|
|
11339
|
-
},
|
|
11340
|
-
{
|
|
11341
|
-
"kind": "method",
|
|
11342
|
-
"name": "rightValueSelectChanged"
|
|
11339
|
+
]
|
|
11343
11340
|
},
|
|
11344
11341
|
{
|
|
11345
11342
|
"kind": "method",
|
|
11346
|
-
"name": "
|
|
11343
|
+
"name": "deleteChild",
|
|
11344
|
+
"parameters": [
|
|
11345
|
+
{
|
|
11346
|
+
"name": "deletedChild",
|
|
11347
|
+
"type": {
|
|
11348
|
+
"text": "ConditionNode"
|
|
11349
|
+
}
|
|
11350
|
+
}
|
|
11351
|
+
]
|
|
11347
11352
|
},
|
|
11348
11353
|
{
|
|
11349
11354
|
"kind": "method",
|
|
11350
|
-
"name": "
|
|
11351
|
-
"return": {
|
|
11352
|
-
"type": {
|
|
11353
|
-
"text": "string[]"
|
|
11354
|
-
}
|
|
11355
|
-
}
|
|
11355
|
+
"name": "deleteSelf"
|
|
11356
11356
|
}
|
|
11357
11357
|
],
|
|
11358
11358
|
"events": [
|
|
11359
11359
|
{
|
|
11360
|
-
"description": "Fired when
|
|
11360
|
+
"description": "Fired when this whole group should be removed",
|
|
11361
11361
|
"name": "delete"
|
|
11362
11362
|
},
|
|
11363
11363
|
{
|
|
11364
|
-
"description": "Fired when
|
|
11364
|
+
"description": "Fired when anything inside this group changes",
|
|
11365
11365
|
"name": "edit"
|
|
11366
11366
|
}
|
|
11367
11367
|
],
|
|
@@ -11369,25 +11369,25 @@
|
|
|
11369
11369
|
"name": "GenesisElement",
|
|
11370
11370
|
"package": "@genesislcap/web-core"
|
|
11371
11371
|
},
|
|
11372
|
-
"tagName": "template-condition-
|
|
11372
|
+
"tagName": "template-condition-group",
|
|
11373
11373
|
"customElement": true
|
|
11374
11374
|
}
|
|
11375
11375
|
],
|
|
11376
11376
|
"exports": [
|
|
11377
11377
|
{
|
|
11378
11378
|
"kind": "js",
|
|
11379
|
-
"name": "
|
|
11379
|
+
"name": "TemplateConditionGroup",
|
|
11380
11380
|
"declaration": {
|
|
11381
|
-
"name": "
|
|
11382
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-
|
|
11381
|
+
"name": "TemplateConditionGroup",
|
|
11382
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
|
|
11383
11383
|
}
|
|
11384
11384
|
},
|
|
11385
11385
|
{
|
|
11386
11386
|
"kind": "custom-element-definition",
|
|
11387
|
-
"name": "template-condition-
|
|
11387
|
+
"name": "template-condition-group",
|
|
11388
11388
|
"declaration": {
|
|
11389
|
-
"name": "
|
|
11390
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-
|
|
11389
|
+
"name": "TemplateConditionGroup",
|
|
11390
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
|
|
11391
11391
|
}
|
|
11392
11392
|
}
|
|
11393
11393
|
]
|