@genesislcap/pbc-notify-ui 15.96.0 → 15.96.1
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 +465 -465
- package/dist/dts/react.d.ts +20 -20
- package/dist/react.cjs +13 -13
- package/dist/react.mjs +11 -11
- 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,258 +8075,27 @@
|
|
|
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"
|
|
8064
|
-
}
|
|
8065
|
-
},
|
|
8066
|
-
{
|
|
8067
|
-
"kind": "custom-element-definition",
|
|
8068
|
-
"name": "inbox-subscription",
|
|
8069
|
-
"declaration": {
|
|
8070
|
-
"name": "InboxSubscription",
|
|
8071
|
-
"module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
|
|
8072
|
-
}
|
|
8073
|
-
}
|
|
8074
|
-
]
|
|
8075
|
-
},
|
|
8076
|
-
{
|
|
8077
|
-
"kind": "javascript-module",
|
|
8078
|
-
"path": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts",
|
|
8079
|
-
"declarations": [
|
|
8080
|
-
{
|
|
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
|
|
8090
|
-
}
|
|
8091
|
-
],
|
|
8092
|
-
"exports": [
|
|
8093
|
-
{
|
|
8094
|
-
"kind": "js",
|
|
8095
|
-
"name": "NotifyAuditManagement",
|
|
8096
|
-
"declaration": {
|
|
8097
|
-
"name": "NotifyAuditManagement",
|
|
8098
|
-
"module": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts"
|
|
8097
|
+
"name": "NotifyAuditManagement",
|
|
8098
|
+
"module": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts"
|
|
8099
8099
|
}
|
|
8100
8100
|
},
|
|
8101
8101
|
{
|
|
@@ -10738,242 +10738,28 @@
|
|
|
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",
|
|
10784
|
-
"declarations": [
|
|
10785
|
-
{
|
|
10786
|
-
"kind": "class",
|
|
10787
|
-
"description": "Parameter builder for notification templates.",
|
|
10788
|
-
"name": "ParameterBuilder",
|
|
10789
|
-
"members": [
|
|
10790
|
-
{
|
|
10791
|
-
"kind": "field",
|
|
10792
|
-
"name": "parameter",
|
|
10793
|
-
"type": {
|
|
10794
|
-
"text": "ParameterBuilderEntity"
|
|
10795
|
-
}
|
|
10796
|
-
},
|
|
10797
|
-
{
|
|
10798
|
-
"kind": "field",
|
|
10799
|
-
"name": "name",
|
|
10800
|
-
"type": {
|
|
10801
|
-
"text": "string"
|
|
10802
|
-
}
|
|
10803
|
-
},
|
|
10804
|
-
{
|
|
10805
|
-
"kind": "field",
|
|
10806
|
-
"name": "label",
|
|
10807
|
-
"type": {
|
|
10808
|
-
"text": "string"
|
|
10809
|
-
}
|
|
10810
|
-
},
|
|
10811
|
-
{
|
|
10812
|
-
"kind": "field",
|
|
10813
|
-
"name": "type",
|
|
10814
|
-
"type": {
|
|
10815
|
-
"text": "string"
|
|
10816
|
-
}
|
|
10817
|
-
},
|
|
10818
|
-
{
|
|
10819
|
-
"kind": "field",
|
|
10820
|
-
"name": "sourceType",
|
|
10821
|
-
"type": {
|
|
10822
|
-
"text": "string"
|
|
10823
|
-
}
|
|
10824
|
-
},
|
|
10825
|
-
{
|
|
10826
|
-
"kind": "field",
|
|
10827
|
-
"name": "sourceSelected",
|
|
10828
|
-
"type": {
|
|
10829
|
-
"text": "string"
|
|
10830
|
-
}
|
|
10831
|
-
},
|
|
10832
|
-
{
|
|
10833
|
-
"kind": "field",
|
|
10834
|
-
"name": "sourceTyped",
|
|
10835
|
-
"type": {
|
|
10836
|
-
"text": "string"
|
|
10837
|
-
}
|
|
10838
|
-
},
|
|
10839
|
-
{
|
|
10840
|
-
"kind": "field",
|
|
10841
|
-
"name": "sourceTextField",
|
|
10842
|
-
"type": {
|
|
10843
|
-
"text": "TextField"
|
|
10844
|
-
}
|
|
10845
|
-
},
|
|
10846
|
-
{
|
|
10847
|
-
"kind": "field",
|
|
10848
|
-
"name": "sourceSelect",
|
|
10849
|
-
"type": {
|
|
10850
|
-
"text": "Select"
|
|
10851
|
-
}
|
|
10852
|
-
},
|
|
10853
|
-
{
|
|
10854
|
-
"kind": "field",
|
|
10855
|
-
"name": "reqRepItems",
|
|
10856
|
-
"type": {
|
|
10857
|
-
"text": "array"
|
|
10858
|
-
},
|
|
10859
|
-
"default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
|
|
10860
|
-
},
|
|
10861
|
-
{
|
|
10862
|
-
"kind": "method",
|
|
10863
|
-
"name": "deleteParameter"
|
|
10864
|
-
},
|
|
10865
|
-
{
|
|
10866
|
-
"kind": "method",
|
|
10867
|
-
"name": "parameterChanged"
|
|
10868
|
-
},
|
|
10869
|
-
{
|
|
10870
|
-
"kind": "method",
|
|
10871
|
-
"name": "nameChanged"
|
|
10872
|
-
},
|
|
10873
|
-
{
|
|
10874
|
-
"kind": "method",
|
|
10875
|
-
"name": "labelChanged"
|
|
10876
|
-
},
|
|
10877
|
-
{
|
|
10878
|
-
"kind": "method",
|
|
10879
|
-
"name": "typeChanged"
|
|
10880
|
-
},
|
|
10881
|
-
{
|
|
10882
|
-
"kind": "method",
|
|
10883
|
-
"name": "sourceTypeChanged"
|
|
10884
|
-
},
|
|
10885
|
-
{
|
|
10886
|
-
"kind": "method",
|
|
10887
|
-
"name": "sourceSelectedChanged"
|
|
10888
|
-
},
|
|
10889
|
-
{
|
|
10890
|
-
"kind": "method",
|
|
10891
|
-
"name": "sourceTypedChanged"
|
|
10892
|
-
},
|
|
10893
|
-
{
|
|
10894
|
-
"kind": "method",
|
|
10895
|
-
"name": "genericChanged",
|
|
10896
|
-
"privacy": "private",
|
|
10897
|
-
"parameters": [
|
|
10898
|
-
{
|
|
10899
|
-
"name": "parameterAttribute"
|
|
10900
|
-
},
|
|
10901
|
-
{
|
|
10902
|
-
"name": "value"
|
|
10903
|
-
}
|
|
10904
|
-
]
|
|
10905
|
-
}
|
|
10906
|
-
],
|
|
10907
|
-
"events": [
|
|
10908
|
-
{
|
|
10909
|
-
"description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
|
|
10910
|
-
"name": "delete"
|
|
10911
|
-
},
|
|
10912
|
-
{
|
|
10913
|
-
"description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
|
|
10914
|
-
"name": "edit"
|
|
10915
|
-
}
|
|
10916
|
-
],
|
|
10917
|
-
"attributes": [
|
|
10918
|
-
{
|
|
10919
|
-
"name": "parameter",
|
|
10920
|
-
"type": {
|
|
10921
|
-
"text": "ParameterBuilderEntity"
|
|
10922
|
-
},
|
|
10923
|
-
"fieldName": "parameter"
|
|
10924
|
-
}
|
|
10925
|
-
],
|
|
10926
|
-
"superclass": {
|
|
10927
|
-
"name": "GenesisElement",
|
|
10928
|
-
"package": "@genesislcap/web-core"
|
|
10929
|
-
},
|
|
10930
|
-
"tagName": "parameter-builder",
|
|
10931
|
-
"customElement": true
|
|
10932
|
-
}
|
|
10933
|
-
],
|
|
10934
|
-
"exports": [
|
|
10935
|
-
{
|
|
10936
|
-
"kind": "js",
|
|
10937
|
-
"name": "ParameterBuilder",
|
|
10938
|
-
"declaration": {
|
|
10939
|
-
"name": "ParameterBuilder",
|
|
10940
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
10941
|
-
}
|
|
10942
|
-
},
|
|
10943
|
-
{
|
|
10944
|
-
"kind": "custom-element-definition",
|
|
10945
|
-
"name": "parameter-builder",
|
|
10946
|
-
"declaration": {
|
|
10947
|
-
"name": "ParameterBuilder",
|
|
10948
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
10949
|
-
}
|
|
10950
|
-
}
|
|
10951
|
-
]
|
|
10952
|
-
},
|
|
10953
|
-
{
|
|
10954
|
-
"kind": "javascript-module",
|
|
10955
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts",
|
|
10956
|
-
"declarations": [
|
|
10957
|
-
{
|
|
10958
|
-
"kind": "variable",
|
|
10959
|
-
"name": "TemplateConditionBuilderTemplate",
|
|
10960
|
-
"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`"
|
|
10961
|
-
}
|
|
10962
|
-
],
|
|
10963
|
-
"exports": [
|
|
10964
|
-
{
|
|
10965
|
-
"kind": "js",
|
|
10966
|
-
"name": "TemplateConditionBuilderTemplate",
|
|
10967
|
-
"declaration": {
|
|
10968
|
-
"name": "TemplateConditionBuilderTemplate",
|
|
10969
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts"
|
|
10970
|
-
}
|
|
10971
|
-
}
|
|
10972
|
-
]
|
|
10973
|
-
},
|
|
10974
|
-
{
|
|
10975
|
-
"kind": "javascript-module",
|
|
10976
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts",
|
|
10762
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts",
|
|
10977
10763
|
"declarations": [
|
|
10978
10764
|
{
|
|
10979
10765
|
"kind": "class",
|
|
@@ -11391,6 +11177,220 @@
|
|
|
11391
11177
|
}
|
|
11392
11178
|
}
|
|
11393
11179
|
]
|
|
11180
|
+
},
|
|
11181
|
+
{
|
|
11182
|
+
"kind": "javascript-module",
|
|
11183
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
|
11184
|
+
"declarations": [
|
|
11185
|
+
{
|
|
11186
|
+
"kind": "variable",
|
|
11187
|
+
"name": "ParameterBuilderStyles",
|
|
11188
|
+
"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`"
|
|
11189
|
+
}
|
|
11190
|
+
],
|
|
11191
|
+
"exports": [
|
|
11192
|
+
{
|
|
11193
|
+
"kind": "js",
|
|
11194
|
+
"name": "ParameterBuilderStyles",
|
|
11195
|
+
"declaration": {
|
|
11196
|
+
"name": "ParameterBuilderStyles",
|
|
11197
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
|
|
11198
|
+
}
|
|
11199
|
+
}
|
|
11200
|
+
]
|
|
11201
|
+
},
|
|
11202
|
+
{
|
|
11203
|
+
"kind": "javascript-module",
|
|
11204
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
|
|
11205
|
+
"declarations": [
|
|
11206
|
+
{
|
|
11207
|
+
"kind": "variable",
|
|
11208
|
+
"name": "ParameterBuilderTemplate",
|
|
11209
|
+
"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`"
|
|
11210
|
+
}
|
|
11211
|
+
],
|
|
11212
|
+
"exports": [
|
|
11213
|
+
{
|
|
11214
|
+
"kind": "js",
|
|
11215
|
+
"name": "ParameterBuilderTemplate",
|
|
11216
|
+
"declaration": {
|
|
11217
|
+
"name": "ParameterBuilderTemplate",
|
|
11218
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
|
|
11219
|
+
}
|
|
11220
|
+
}
|
|
11221
|
+
]
|
|
11222
|
+
},
|
|
11223
|
+
{
|
|
11224
|
+
"kind": "javascript-module",
|
|
11225
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
|
|
11226
|
+
"declarations": [
|
|
11227
|
+
{
|
|
11228
|
+
"kind": "class",
|
|
11229
|
+
"description": "Parameter builder for notification templates.",
|
|
11230
|
+
"name": "ParameterBuilder",
|
|
11231
|
+
"members": [
|
|
11232
|
+
{
|
|
11233
|
+
"kind": "field",
|
|
11234
|
+
"name": "parameter",
|
|
11235
|
+
"type": {
|
|
11236
|
+
"text": "ParameterBuilderEntity"
|
|
11237
|
+
}
|
|
11238
|
+
},
|
|
11239
|
+
{
|
|
11240
|
+
"kind": "field",
|
|
11241
|
+
"name": "name",
|
|
11242
|
+
"type": {
|
|
11243
|
+
"text": "string"
|
|
11244
|
+
}
|
|
11245
|
+
},
|
|
11246
|
+
{
|
|
11247
|
+
"kind": "field",
|
|
11248
|
+
"name": "label",
|
|
11249
|
+
"type": {
|
|
11250
|
+
"text": "string"
|
|
11251
|
+
}
|
|
11252
|
+
},
|
|
11253
|
+
{
|
|
11254
|
+
"kind": "field",
|
|
11255
|
+
"name": "type",
|
|
11256
|
+
"type": {
|
|
11257
|
+
"text": "string"
|
|
11258
|
+
}
|
|
11259
|
+
},
|
|
11260
|
+
{
|
|
11261
|
+
"kind": "field",
|
|
11262
|
+
"name": "sourceType",
|
|
11263
|
+
"type": {
|
|
11264
|
+
"text": "string"
|
|
11265
|
+
}
|
|
11266
|
+
},
|
|
11267
|
+
{
|
|
11268
|
+
"kind": "field",
|
|
11269
|
+
"name": "sourceSelected",
|
|
11270
|
+
"type": {
|
|
11271
|
+
"text": "string"
|
|
11272
|
+
}
|
|
11273
|
+
},
|
|
11274
|
+
{
|
|
11275
|
+
"kind": "field",
|
|
11276
|
+
"name": "sourceTyped",
|
|
11277
|
+
"type": {
|
|
11278
|
+
"text": "string"
|
|
11279
|
+
}
|
|
11280
|
+
},
|
|
11281
|
+
{
|
|
11282
|
+
"kind": "field",
|
|
11283
|
+
"name": "sourceTextField",
|
|
11284
|
+
"type": {
|
|
11285
|
+
"text": "TextField"
|
|
11286
|
+
}
|
|
11287
|
+
},
|
|
11288
|
+
{
|
|
11289
|
+
"kind": "field",
|
|
11290
|
+
"name": "sourceSelect",
|
|
11291
|
+
"type": {
|
|
11292
|
+
"text": "Select"
|
|
11293
|
+
}
|
|
11294
|
+
},
|
|
11295
|
+
{
|
|
11296
|
+
"kind": "field",
|
|
11297
|
+
"name": "reqRepItems",
|
|
11298
|
+
"type": {
|
|
11299
|
+
"text": "array"
|
|
11300
|
+
},
|
|
11301
|
+
"default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
|
|
11302
|
+
},
|
|
11303
|
+
{
|
|
11304
|
+
"kind": "method",
|
|
11305
|
+
"name": "deleteParameter"
|
|
11306
|
+
},
|
|
11307
|
+
{
|
|
11308
|
+
"kind": "method",
|
|
11309
|
+
"name": "parameterChanged"
|
|
11310
|
+
},
|
|
11311
|
+
{
|
|
11312
|
+
"kind": "method",
|
|
11313
|
+
"name": "nameChanged"
|
|
11314
|
+
},
|
|
11315
|
+
{
|
|
11316
|
+
"kind": "method",
|
|
11317
|
+
"name": "labelChanged"
|
|
11318
|
+
},
|
|
11319
|
+
{
|
|
11320
|
+
"kind": "method",
|
|
11321
|
+
"name": "typeChanged"
|
|
11322
|
+
},
|
|
11323
|
+
{
|
|
11324
|
+
"kind": "method",
|
|
11325
|
+
"name": "sourceTypeChanged"
|
|
11326
|
+
},
|
|
11327
|
+
{
|
|
11328
|
+
"kind": "method",
|
|
11329
|
+
"name": "sourceSelectedChanged"
|
|
11330
|
+
},
|
|
11331
|
+
{
|
|
11332
|
+
"kind": "method",
|
|
11333
|
+
"name": "sourceTypedChanged"
|
|
11334
|
+
},
|
|
11335
|
+
{
|
|
11336
|
+
"kind": "method",
|
|
11337
|
+
"name": "genericChanged",
|
|
11338
|
+
"privacy": "private",
|
|
11339
|
+
"parameters": [
|
|
11340
|
+
{
|
|
11341
|
+
"name": "parameterAttribute"
|
|
11342
|
+
},
|
|
11343
|
+
{
|
|
11344
|
+
"name": "value"
|
|
11345
|
+
}
|
|
11346
|
+
]
|
|
11347
|
+
}
|
|
11348
|
+
],
|
|
11349
|
+
"events": [
|
|
11350
|
+
{
|
|
11351
|
+
"description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
|
|
11352
|
+
"name": "delete"
|
|
11353
|
+
},
|
|
11354
|
+
{
|
|
11355
|
+
"description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
|
|
11356
|
+
"name": "edit"
|
|
11357
|
+
}
|
|
11358
|
+
],
|
|
11359
|
+
"attributes": [
|
|
11360
|
+
{
|
|
11361
|
+
"name": "parameter",
|
|
11362
|
+
"type": {
|
|
11363
|
+
"text": "ParameterBuilderEntity"
|
|
11364
|
+
},
|
|
11365
|
+
"fieldName": "parameter"
|
|
11366
|
+
}
|
|
11367
|
+
],
|
|
11368
|
+
"superclass": {
|
|
11369
|
+
"name": "GenesisElement",
|
|
11370
|
+
"package": "@genesislcap/web-core"
|
|
11371
|
+
},
|
|
11372
|
+
"tagName": "parameter-builder",
|
|
11373
|
+
"customElement": true
|
|
11374
|
+
}
|
|
11375
|
+
],
|
|
11376
|
+
"exports": [
|
|
11377
|
+
{
|
|
11378
|
+
"kind": "js",
|
|
11379
|
+
"name": "ParameterBuilder",
|
|
11380
|
+
"declaration": {
|
|
11381
|
+
"name": "ParameterBuilder",
|
|
11382
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
11383
|
+
}
|
|
11384
|
+
},
|
|
11385
|
+
{
|
|
11386
|
+
"kind": "custom-element-definition",
|
|
11387
|
+
"name": "parameter-builder",
|
|
11388
|
+
"declaration": {
|
|
11389
|
+
"name": "ParameterBuilder",
|
|
11390
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
11391
|
+
}
|
|
11392
|
+
}
|
|
11393
|
+
]
|
|
11394
11394
|
}
|
|
11395
11395
|
]
|
|
11396
11396
|
}
|
package/dist/dts/react.d.ts
CHANGED
|
@@ -115,15 +115,6 @@ export declare const FoundationInboxCounter: React.ForwardRefExoticComponent<
|
|
|
115
115
|
>;
|
|
116
116
|
export type FoundationInboxCounterRef = FoundationInboxCounterWC;
|
|
117
117
|
|
|
118
|
-
export declare const FoundationInboxFlyout: React.ForwardRefExoticComponent<
|
|
119
|
-
React.PropsWithChildren<
|
|
120
|
-
Omit<PublicOf<FoundationInboxFlyoutWC>, 'children' | 'style'> &
|
|
121
|
-
HTMLWCProps & {
|
|
122
|
-
}
|
|
123
|
-
> & React.RefAttributes<FoundationInboxFlyoutWC>
|
|
124
|
-
>;
|
|
125
|
-
export type FoundationInboxFlyoutRef = FoundationInboxFlyoutWC;
|
|
126
|
-
|
|
127
118
|
export declare const InboxSubscription: React.ForwardRefExoticComponent<
|
|
128
119
|
React.PropsWithChildren<
|
|
129
120
|
Omit<PublicOf<InboxSubscriptionWC>, 'children' | 'style'> &
|
|
@@ -135,6 +126,15 @@ export declare const InboxSubscription: React.ForwardRefExoticComponent<
|
|
|
135
126
|
>;
|
|
136
127
|
export type InboxSubscriptionRef = InboxSubscriptionWC;
|
|
137
128
|
|
|
129
|
+
export declare const FoundationInboxFlyout: React.ForwardRefExoticComponent<
|
|
130
|
+
React.PropsWithChildren<
|
|
131
|
+
Omit<PublicOf<FoundationInboxFlyoutWC>, 'children' | 'style'> &
|
|
132
|
+
HTMLWCProps & {
|
|
133
|
+
}
|
|
134
|
+
> & React.RefAttributes<FoundationInboxFlyoutWC>
|
|
135
|
+
>;
|
|
136
|
+
export type FoundationInboxFlyoutRef = FoundationInboxFlyoutWC;
|
|
137
|
+
|
|
138
138
|
export declare const NotifyAuditManagement: React.ForwardRefExoticComponent<
|
|
139
139
|
React.PropsWithChildren<
|
|
140
140
|
Omit<PublicOf<NotifyAuditManagementWC>, 'children' | 'style'> &
|
|
@@ -277,17 +277,6 @@ export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
|
|
|
277
277
|
>;
|
|
278
278
|
export type RuleConditionBuilderRef = RuleConditionBuilderWC;
|
|
279
279
|
|
|
280
|
-
export declare const ParameterBuilder: React.ForwardRefExoticComponent<
|
|
281
|
-
React.PropsWithChildren<
|
|
282
|
-
Omit<PublicOf<ParameterBuilderWC>, 'children' | 'style'> &
|
|
283
|
-
HTMLWCProps & {
|
|
284
|
-
onDelete?: (event: CustomEvent<ParameterBuilderEntity>) => void;
|
|
285
|
-
onEdit?: (event: CustomEvent<ParameterBuilderEntity>) => void;
|
|
286
|
-
}
|
|
287
|
-
> & React.RefAttributes<ParameterBuilderWC>
|
|
288
|
-
>;
|
|
289
|
-
export type ParameterBuilderRef = ParameterBuilderWC;
|
|
290
|
-
|
|
291
280
|
export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
|
|
292
281
|
React.PropsWithChildren<
|
|
293
282
|
Omit<PublicOf<TemplateConditionBuilderWC>, 'children' | 'style'> &
|
|
@@ -310,4 +299,15 @@ export declare const TemplateConditionGroup: React.ForwardRefExoticComponent<
|
|
|
310
299
|
>;
|
|
311
300
|
export type TemplateConditionGroupRef = TemplateConditionGroupWC;
|
|
312
301
|
|
|
302
|
+
export declare const ParameterBuilder: React.ForwardRefExoticComponent<
|
|
303
|
+
React.PropsWithChildren<
|
|
304
|
+
Omit<PublicOf<ParameterBuilderWC>, 'children' | 'style'> &
|
|
305
|
+
HTMLWCProps & {
|
|
306
|
+
onDelete?: (event: CustomEvent<ParameterBuilderEntity>) => void;
|
|
307
|
+
onEdit?: (event: CustomEvent<ParameterBuilderEntity>) => void;
|
|
308
|
+
}
|
|
309
|
+
> & React.RefAttributes<ParameterBuilderWC>
|
|
310
|
+
>;
|
|
311
|
+
export type ParameterBuilderRef = ParameterBuilderWC;
|
|
312
|
+
|
|
313
313
|
export {};
|
package/dist/react.cjs
CHANGED
|
@@ -72,11 +72,6 @@ const FoundationInboxCounter = React.forwardRef(function FoundationInboxCounter(
|
|
|
72
72
|
return React.createElement(customElements.getName(FoundationInboxCounterWC) ?? 'foundation-inbox-counter', { ...rest, ref }, children);
|
|
73
73
|
});
|
|
74
74
|
|
|
75
|
-
const FoundationInboxFlyout = React.forwardRef(function FoundationInboxFlyout(props, ref) {
|
|
76
|
-
const { children, ...rest } = props;
|
|
77
|
-
return React.createElement(customElements.getName(FoundationInboxFlyoutWC) ?? 'foundation-inbox-flyout', { ...rest, ref }, children);
|
|
78
|
-
});
|
|
79
|
-
|
|
80
75
|
const InboxSubscription = React.forwardRef(function InboxSubscription(props, ref) {
|
|
81
76
|
const { onTemplateSubscribed, onSubscribeCancelled, children, ...rest } = props;
|
|
82
77
|
const _innerRef = React.useRef(null);
|
|
@@ -99,6 +94,11 @@ const InboxSubscription = React.forwardRef(function InboxSubscription(props, ref
|
|
|
99
94
|
return React.createElement(customElements.getName(InboxSubscriptionWC) ?? 'inbox-subscription', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
100
95
|
});
|
|
101
96
|
|
|
97
|
+
const FoundationInboxFlyout = React.forwardRef(function FoundationInboxFlyout(props, ref) {
|
|
98
|
+
const { children, ...rest } = props;
|
|
99
|
+
return React.createElement(customElements.getName(FoundationInboxFlyoutWC) ?? 'foundation-inbox-flyout', { ...rest, ref }, children);
|
|
100
|
+
});
|
|
101
|
+
|
|
102
102
|
const NotifyAuditManagement = React.forwardRef(function NotifyAuditManagement(props, ref) {
|
|
103
103
|
const { children, ...rest } = props;
|
|
104
104
|
return React.createElement(customElements.getName(NotifyAuditManagementWC) ?? 'notify-audit-management', { ...rest, ref }, children);
|
|
@@ -244,7 +244,7 @@ const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(prop
|
|
|
244
244
|
return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
245
245
|
});
|
|
246
246
|
|
|
247
|
-
const
|
|
247
|
+
const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
|
|
248
248
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
249
249
|
const _innerRef = React.useRef(null);
|
|
250
250
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -263,10 +263,10 @@ const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref)
|
|
|
263
263
|
el.removeEventListener('edit', _onEditFn);
|
|
264
264
|
};
|
|
265
265
|
}, []);
|
|
266
|
-
return React.createElement(customElements.getName(
|
|
266
|
+
return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
267
267
|
});
|
|
268
268
|
|
|
269
|
-
const
|
|
269
|
+
const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
|
|
270
270
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
271
271
|
const _innerRef = React.useRef(null);
|
|
272
272
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -285,10 +285,10 @@ const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuil
|
|
|
285
285
|
el.removeEventListener('edit', _onEditFn);
|
|
286
286
|
};
|
|
287
287
|
}, []);
|
|
288
|
-
return React.createElement(customElements.getName(
|
|
288
|
+
return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
289
289
|
});
|
|
290
290
|
|
|
291
|
-
const
|
|
291
|
+
const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
|
|
292
292
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
293
293
|
const _innerRef = React.useRef(null);
|
|
294
294
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -307,7 +307,7 @@ const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(
|
|
|
307
307
|
el.removeEventListener('edit', _onEditFn);
|
|
308
308
|
};
|
|
309
309
|
}, []);
|
|
310
|
-
return React.createElement(customElements.getName(
|
|
310
|
+
return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
311
311
|
});
|
|
312
312
|
|
|
313
313
|
module.exports = {
|
|
@@ -317,8 +317,8 @@ module.exports = {
|
|
|
317
317
|
FoundationSoundsPanel,
|
|
318
318
|
FoundationSounds,
|
|
319
319
|
FoundationInboxCounter,
|
|
320
|
-
FoundationInboxFlyout,
|
|
321
320
|
InboxSubscription,
|
|
321
|
+
FoundationInboxFlyout,
|
|
322
322
|
NotifyAuditManagement,
|
|
323
323
|
RouteManagement,
|
|
324
324
|
RuleManagement,
|
|
@@ -334,7 +334,7 @@ module.exports = {
|
|
|
334
334
|
TemplateDialog,
|
|
335
335
|
RuleConditionGroup,
|
|
336
336
|
RuleConditionBuilder,
|
|
337
|
-
ParameterBuilder,
|
|
338
337
|
TemplateConditionBuilder,
|
|
339
338
|
TemplateConditionGroup,
|
|
339
|
+
ParameterBuilder,
|
|
340
340
|
};
|
package/dist/react.mjs
CHANGED
|
@@ -70,11 +70,6 @@ export const FoundationInboxCounter = React.forwardRef(function FoundationInboxC
|
|
|
70
70
|
return React.createElement(customElements.getName(FoundationInboxCounterWC) ?? 'foundation-inbox-counter', { ...rest, ref }, children);
|
|
71
71
|
});
|
|
72
72
|
|
|
73
|
-
export const FoundationInboxFlyout = React.forwardRef(function FoundationInboxFlyout(props, ref) {
|
|
74
|
-
const { children, ...rest } = props;
|
|
75
|
-
return React.createElement(customElements.getName(FoundationInboxFlyoutWC) ?? 'foundation-inbox-flyout', { ...rest, ref }, children);
|
|
76
|
-
});
|
|
77
|
-
|
|
78
73
|
export const InboxSubscription = React.forwardRef(function InboxSubscription(props, ref) {
|
|
79
74
|
const { onTemplateSubscribed, onSubscribeCancelled, children, ...rest } = props;
|
|
80
75
|
const _innerRef = React.useRef(null);
|
|
@@ -97,6 +92,11 @@ export const InboxSubscription = React.forwardRef(function InboxSubscription(pro
|
|
|
97
92
|
return React.createElement(customElements.getName(InboxSubscriptionWC) ?? 'inbox-subscription', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
98
93
|
});
|
|
99
94
|
|
|
95
|
+
export const FoundationInboxFlyout = React.forwardRef(function FoundationInboxFlyout(props, ref) {
|
|
96
|
+
const { children, ...rest } = props;
|
|
97
|
+
return React.createElement(customElements.getName(FoundationInboxFlyoutWC) ?? 'foundation-inbox-flyout', { ...rest, ref }, children);
|
|
98
|
+
});
|
|
99
|
+
|
|
100
100
|
export const NotifyAuditManagement = React.forwardRef(function NotifyAuditManagement(props, ref) {
|
|
101
101
|
const { children, ...rest } = props;
|
|
102
102
|
return React.createElement(customElements.getName(NotifyAuditManagementWC) ?? 'notify-audit-management', { ...rest, ref }, children);
|
|
@@ -242,7 +242,7 @@ export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuild
|
|
|
242
242
|
return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
243
243
|
});
|
|
244
244
|
|
|
245
|
-
export const
|
|
245
|
+
export const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
|
|
246
246
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
247
247
|
const _innerRef = React.useRef(null);
|
|
248
248
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -261,10 +261,10 @@ export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props
|
|
|
261
261
|
el.removeEventListener('edit', _onEditFn);
|
|
262
262
|
};
|
|
263
263
|
}, []);
|
|
264
|
-
return React.createElement(customElements.getName(
|
|
264
|
+
return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
265
265
|
});
|
|
266
266
|
|
|
267
|
-
export const
|
|
267
|
+
export const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
|
|
268
268
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
269
269
|
const _innerRef = React.useRef(null);
|
|
270
270
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -283,10 +283,10 @@ export const TemplateConditionBuilder = React.forwardRef(function TemplateCondit
|
|
|
283
283
|
el.removeEventListener('edit', _onEditFn);
|
|
284
284
|
};
|
|
285
285
|
}, []);
|
|
286
|
-
return React.createElement(customElements.getName(
|
|
286
|
+
return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
287
287
|
});
|
|
288
288
|
|
|
289
|
-
export const
|
|
289
|
+
export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
|
|
290
290
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
291
291
|
const _innerRef = React.useRef(null);
|
|
292
292
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -305,5 +305,5 @@ export const TemplateConditionGroup = React.forwardRef(function TemplateConditio
|
|
|
305
305
|
el.removeEventListener('edit', _onEditFn);
|
|
306
306
|
};
|
|
307
307
|
}, []);
|
|
308
|
-
return React.createElement(customElements.getName(
|
|
308
|
+
return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
309
309
|
});
|
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.96.
|
|
4
|
+
"version": "15.96.1",
|
|
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.96.
|
|
84
|
-
"@genesislcap/eslint-config": "15.96.
|
|
85
|
-
"@genesislcap/eslint-stylelint-builder": "15.96.
|
|
86
|
-
"@genesislcap/foundation-testing": "15.96.
|
|
87
|
-
"@genesislcap/genx": "15.96.
|
|
88
|
-
"@genesislcap/prettier-config": "15.96.
|
|
89
|
-
"@genesislcap/stylelint-config": "15.96.
|
|
90
|
-
"@genesislcap/vite-builder": "15.96.
|
|
91
|
-
"@genesislcap/webpack-builder": "15.96.
|
|
83
|
+
"@genesislcap/design-system-configurator": "15.96.1",
|
|
84
|
+
"@genesislcap/eslint-config": "15.96.1",
|
|
85
|
+
"@genesislcap/eslint-stylelint-builder": "15.96.1",
|
|
86
|
+
"@genesislcap/foundation-testing": "15.96.1",
|
|
87
|
+
"@genesislcap/genx": "15.96.1",
|
|
88
|
+
"@genesislcap/prettier-config": "15.96.1",
|
|
89
|
+
"@genesislcap/stylelint-config": "15.96.1",
|
|
90
|
+
"@genesislcap/vite-builder": "15.96.1",
|
|
91
|
+
"@genesislcap/webpack-builder": "15.96.1",
|
|
92
92
|
"dayjs": "^1.11.7"
|
|
93
93
|
},
|
|
94
94
|
"dependencies": {
|
|
95
|
-
"@genesislcap/foundation-comms": "15.96.
|
|
96
|
-
"@genesislcap/foundation-criteria": "15.96.
|
|
97
|
-
"@genesislcap/foundation-entity-management": "15.96.
|
|
98
|
-
"@genesislcap/foundation-forms": "15.96.
|
|
99
|
-
"@genesislcap/foundation-layout": "15.96.
|
|
100
|
-
"@genesislcap/foundation-logger": "15.96.
|
|
101
|
-
"@genesislcap/foundation-notifications": "15.96.
|
|
102
|
-
"@genesislcap/foundation-ui": "15.96.
|
|
103
|
-
"@genesislcap/foundation-utils": "15.96.
|
|
104
|
-
"@genesislcap/rapid-design-system": "15.96.
|
|
105
|
-
"@genesislcap/rapid-grid-pro": "15.96.
|
|
106
|
-
"@genesislcap/web-core": "15.96.
|
|
95
|
+
"@genesislcap/foundation-comms": "15.96.1",
|
|
96
|
+
"@genesislcap/foundation-criteria": "15.96.1",
|
|
97
|
+
"@genesislcap/foundation-entity-management": "15.96.1",
|
|
98
|
+
"@genesislcap/foundation-forms": "15.96.1",
|
|
99
|
+
"@genesislcap/foundation-layout": "15.96.1",
|
|
100
|
+
"@genesislcap/foundation-logger": "15.96.1",
|
|
101
|
+
"@genesislcap/foundation-notifications": "15.96.1",
|
|
102
|
+
"@genesislcap/foundation-ui": "15.96.1",
|
|
103
|
+
"@genesislcap/foundation-utils": "15.96.1",
|
|
104
|
+
"@genesislcap/rapid-design-system": "15.96.1",
|
|
105
|
+
"@genesislcap/rapid-grid-pro": "15.96.1",
|
|
106
|
+
"@genesislcap/web-core": "15.96.1",
|
|
107
107
|
"lodash.debounce": "^4.0.8",
|
|
108
108
|
"rxjs": "^7.5.4"
|
|
109
109
|
},
|