@genesislcap/pbc-notify-ui 15.96.2 → 15.96.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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-inbox/components/inbox-subscription/inbox-subscription.styles.ts",
8078
+ "path": "src/components/foundation-notification-dashboard/components/routes/route-management.ts",
7848
8079
  "declarations": [
7849
8080
  {
7850
- "kind": "variable",
7851
- "name": "InboxSubscriptionStyles",
7852
- "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`"
8081
+ "kind": "class",
8082
+ "description": "",
8083
+ "name": "RouteManagement",
8084
+ "superclass": {
8085
+ "name": "GenesisElement",
8086
+ "package": "@genesislcap/web-core"
8087
+ },
8088
+ "tagName": "route-management",
8089
+ "customElement": true
7853
8090
  }
7854
8091
  ],
7855
8092
  "exports": [
7856
8093
  {
7857
8094
  "kind": "js",
7858
- "name": "InboxSubscriptionStyles",
8095
+ "name": "RouteManagement",
7859
8096
  "declaration": {
7860
- "name": "InboxSubscriptionStyles",
7861
- "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts"
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": "RouteManagement",
8098
+ "module": "src/components/foundation-notification-dashboard/components/routes/route-management.ts"
8064
8099
  }
8065
8100
  },
8066
8101
  {
8067
8102
  "kind": "custom-element-definition",
8068
- "name": "inbox-subscription",
8103
+ "name": "route-management",
8069
8104
  "declaration": {
8070
- "name": "InboxSubscription",
8071
- "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
8105
+ "name": "RouteManagement",
8106
+ "module": "src/components/foundation-notification-dashboard/components/routes/route-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/routes/route-management.ts",
8114
- "declarations": [
8115
- {
8116
- "kind": "class",
8117
- "description": "",
8118
- "name": "RouteManagement",
8119
- "superclass": {
8120
- "name": "GenesisElement",
8121
- "package": "@genesislcap/web-core"
8122
- },
8123
- "tagName": "route-management",
8124
- "customElement": true
8125
- }
8126
- ],
8127
- "exports": [
8128
- {
8129
- "kind": "js",
8130
- "name": "RouteManagement",
8131
- "declaration": {
8132
- "name": "RouteManagement",
8133
- "module": "src/components/foundation-notification-dashboard/components/routes/route-management.ts"
8134
- }
8135
- },
8136
- {
8137
- "kind": "custom-element-definition",
8138
- "name": "route-management",
8139
- "declaration": {
8140
- "name": "RouteManagement",
8141
- "module": "src/components/foundation-notification-dashboard/components/routes/route-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",
@@ -10304,183 +10304,33 @@
10304
10304
  },
10305
10305
  {
10306
10306
  "kind": "javascript-module",
10307
- "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
10307
+ "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts",
10308
10308
  "declarations": [
10309
10309
  {
10310
10310
  "kind": "variable",
10311
- "name": "RuleConditionGroupTemplate",
10312
- "default": "html<RuleConditionGroup>`\n ${when(\n (x) => !x.isFirst,\n html`\n <div class=\"join-toggle-row\">\n <div class=\"join-toggle\">\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'AND'])}\"\n @click=${(x) => (x.joinOperator = 'AND')}\n >\n AND\n </span>\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'OR'])}\"\n @click=${(x) => (x.joinOperator = 'OR')}\n >\n OR\n </span>\n </div>\n </div>\n `,\n )}\n <div class=\"condition-group-row\">\n <div class=\"condition-group-box\">\n ${repeat(\n (x) => x.groupChildren,\n html<ConditionNode, RuleConditionGroup>`\n ${when(\n (x) => isGroup(x),\n html<ConditionNode>`\n <rule-condition-group\n :fields=${(x, c) => c.parent.fields}\n :node=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></rule-condition-group>\n `,\n )}\n ${when(\n (x) => !isGroup(x),\n html<ConditionNode>`\n <rule-condition-builder\n :fields=${(x, c) => c.parent.fields}\n :condition=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></rule-condition-builder>\n `,\n )}\n `,\n { positioning: true },\n )}\n\n <div class=\"content-row\">\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newCondition()}>\n + Condition\n </rapid-button>\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newGroup()}>+ Group</rapid-button>\n <rapid-button appearance=\"icon\" class=\"delete-group\" @click=${(x) => x.deleteSelf()}>\n <rapid-icon variant=\"regular\" name=\"trash-alt\" size=\"lg\" part=\"icon\"></rapid-icon>\n </rapid-button>\n </div>\n </div>\n </div>\n`"
10311
+ "name": "RuleConditionBuilderTemplate",
10312
+ "default": "html<RuleConditionBuilder>`\n ${when(\n (x) => !x.isFirst,\n html`\n <div class=\"join-toggle-row\">\n <div class=\"join-toggle\">\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'AND'])}\"\n @click=${(x) => (x.joinOperator = 'AND')}\n >\n AND\n </span>\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'OR'])}\"\n @click=${(x) => (x.joinOperator = 'OR')}\n >\n OR\n </span>\n </div>\n </div>\n `,\n )}\n <div class=\"condition-builder\">\n <rapid-select\n :value=${sync((x) => x.leftValue)}\n :initialValue=${sync((x) => x.leftValue)}\n title=${(x) => (x.leftValue ? JSON.parse(x.leftValue).FIELD_NAME : '')}\n class=\"left-value\"\n >\n ${repeat(\n (x) => x.getAllFields(),\n html`\n <rapid-option value=${(x) => JSON.stringify(x)} title=${(x) => x.FIELD_NAME}>\n ${(x) => x.FIELD_NAME}\n </rapid-option>\n `,\n )}\n </rapid-select>\n\n <rapid-select\n class=\"logical-operator${(x) =>\n classNames([\n '-null-and-blank',\n nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n ])}\"\n :value=${sync((x) => x.logicalOperator)}\n title=${(x) => x.logicalOperator}\n >\n ${repeat(\n (x) => x.getLogicalOperators(),\n html`\n <rapid-option value=${(x) => x.operator} title=${(x) => x}>\n ${(x) => x.label}\n </rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => !nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n html`\n <rapid-select\n class=\"right-criteria\"\n :value=${sync((x) => x.rightCriteria)}\n title=${(x) => x.rightCriteria}\n >\n ${repeat(\n (x) => x.getRightCriteria(),\n html`\n <rapid-option value=${(x) => x} title=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.rightCriteria === RightCriteria.VALUE,\n html`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.BOOLEAN,\n html`\n <rapid-select class=\"right-criteria-select\" :value=${sync((x) => x.rightValueText)}>\n <rapid-option value=\"true\">true</rapid-option>\n <rapid-option value=\"false\">false</rapid-option>\n </rapid-select>\n `,\n html`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === 'ENUM',\n html`\n <rapid-multiselect\n class=\"right-criteria-select\"\n :selectedOptions=${(x) => x.rightValueMultiSelect}\n @selectionChange=${(x, c) => {\n x.rightValueMultiSelect = (c.event as CustomEvent).detail;\n }}\n search=\"true\"\n all=\"false\"\n >\n <multiselect-datasource\n value-field=\"value\"\n label-field=\"value\"\n :data=${(x) => x.getEnumValues().map((value) => ({ value }))}\n ></multiselect-datasource>\n </rapid-multiselect>\n `,\n html`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.DATE,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n type=\"date\"\n ></rapid-text-field>\n `,\n html`\n ${whenElse(\n (x) =>\n JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.DATETIME,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n type=\"datetime-local\"\n ></rapid-text-field>\n `,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n placeholder=\"Value (comma-separate for multiple)\"\n autocomplete=\"off\"\n ></rapid-text-field>\n `,\n )}\n `,\n )}\n `,\n )}\n `,\n )}\n `,\n )}\n ${when(\n (x) => x.rightCriteria === RightCriteria.FIELD,\n html`\n <rapid-select\n class=\"right-criteria-select\"\n :value=${sync((x) => x.rightValueSelect)}\n title=${(x) => x.rightValueSelect}\n >\n ${repeat(\n (x) => x.getApplicableFields(),\n html`\n <rapid-option value=${(x) => x.FIELD_NAME} title=${(x) => x.FIELD_NAME}>\n ${(x) => x.FIELD_NAME}\n </rapid-option>\n `,\n )}\n </rapid-select>\n `,\n )}\n `,\n )}\n\n <rapid-button appearance=\"icon\" class=\"delete\" @click=${(x) => x.deleteCondition()}>\n <rapid-icon\n style=\"opacity: 0.5\"\n variant=\"regular\"\n name=\"trash-alt\"\n size=\"lg\"\n part=\"icon\"\n ></rapid-icon>\n </rapid-button>\n </div>\n`"
10313
10313
  }
10314
10314
  ],
10315
10315
  "exports": [
10316
10316
  {
10317
10317
  "kind": "js",
10318
- "name": "RuleConditionGroupTemplate",
10318
+ "name": "RuleConditionBuilderTemplate",
10319
10319
  "declaration": {
10320
- "name": "RuleConditionGroupTemplate",
10321
- "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
10320
+ "name": "RuleConditionBuilderTemplate",
10321
+ "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts"
10322
10322
  }
10323
10323
  }
10324
10324
  ]
10325
10325
  },
10326
10326
  {
10327
10327
  "kind": "javascript-module",
10328
- "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
10328
+ "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.ts",
10329
10329
  "declarations": [
10330
10330
  {
10331
10331
  "kind": "class",
10332
- "description": "Parenthesized group of conditions/nested groups for notification rule\ncriteria, joined to the previous sibling via AND/OR like a single\ncondition row - but bracketing its own children off from the rest of the\nlist, so e.g. \"(A && B) || C\" can be expressed without the AND silently\nspanning more than intended.",
10333
- "name": "RuleConditionGroup",
10334
- "members": [
10335
- {
10336
- "kind": "field",
10337
- "name": "node",
10338
- "type": {
10339
- "text": "ConditionGroupEntity"
10340
- }
10341
- },
10342
- {
10343
- "kind": "field",
10344
- "name": "fields",
10345
- "type": {
10346
- "text": "Field[]"
10347
- },
10348
- "default": "[]"
10349
- },
10350
- {
10351
- "kind": "field",
10352
- "name": "isFirst",
10353
- "type": {
10354
- "text": "boolean"
10355
- },
10356
- "default": "false"
10357
- },
10358
- {
10359
- "kind": "field",
10360
- "name": "joinOperator",
10361
- "type": {
10362
- "text": "string"
10363
- }
10364
- },
10365
- {
10366
- "kind": "field",
10367
- "name": "groupChildren",
10368
- "type": {
10369
- "text": "ConditionNode[]"
10370
- },
10371
- "default": "[]"
10372
- },
10373
- {
10374
- "kind": "method",
10375
- "name": "nodeChanged"
10376
- },
10377
- {
10378
- "kind": "method",
10379
- "name": "joinOperatorChanged"
10380
- },
10381
- {
10382
- "kind": "method",
10383
- "name": "newCondition"
10384
- },
10385
- {
10386
- "kind": "method",
10387
- "name": "newGroup"
10388
- },
10389
- {
10390
- "kind": "method",
10391
- "name": "editChild",
10392
- "parameters": [
10393
- {
10394
- "name": "_editedChild",
10395
- "type": {
10396
- "text": "ConditionNode"
10397
- }
10398
- }
10399
- ]
10400
- },
10401
- {
10402
- "kind": "method",
10403
- "name": "deleteChild",
10404
- "parameters": [
10405
- {
10406
- "name": "deletedChild",
10407
- "type": {
10408
- "text": "ConditionNode"
10409
- }
10410
- }
10411
- ]
10412
- },
10413
- {
10414
- "kind": "method",
10415
- "name": "deleteSelf"
10416
- }
10417
- ],
10418
- "events": [
10419
- {
10420
- "description": "Fired when this whole group should be removed",
10421
- "name": "delete"
10422
- },
10423
- {
10424
- "description": "Fired when anything inside this group changes",
10425
- "name": "edit"
10426
- }
10427
- ],
10428
- "superclass": {
10429
- "name": "GenesisElement",
10430
- "package": "@genesislcap/web-core"
10431
- },
10432
- "tagName": "rule-condition-group",
10433
- "customElement": true
10434
- }
10435
- ],
10436
- "exports": [
10437
- {
10438
- "kind": "js",
10439
- "name": "RuleConditionGroup",
10440
- "declaration": {
10441
- "name": "RuleConditionGroup",
10442
- "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
10443
- }
10444
- },
10445
- {
10446
- "kind": "custom-element-definition",
10447
- "name": "rule-condition-group",
10448
- "declaration": {
10449
- "name": "RuleConditionGroup",
10450
- "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
10451
- }
10452
- }
10453
- ]
10454
- },
10455
- {
10456
- "kind": "javascript-module",
10457
- "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts",
10458
- "declarations": [
10459
- {
10460
- "kind": "variable",
10461
- "name": "RuleConditionBuilderTemplate",
10462
- "default": "html<RuleConditionBuilder>`\n ${when(\n (x) => !x.isFirst,\n html`\n <div class=\"join-toggle-row\">\n <div class=\"join-toggle\">\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'AND'])}\"\n @click=${(x) => (x.joinOperator = 'AND')}\n >\n AND\n </span>\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'OR'])}\"\n @click=${(x) => (x.joinOperator = 'OR')}\n >\n OR\n </span>\n </div>\n </div>\n `,\n )}\n <div class=\"condition-builder\">\n <rapid-select\n :value=${sync((x) => x.leftValue)}\n :initialValue=${sync((x) => x.leftValue)}\n title=${(x) => (x.leftValue ? JSON.parse(x.leftValue).FIELD_NAME : '')}\n class=\"left-value\"\n >\n ${repeat(\n (x) => x.getAllFields(),\n html`\n <rapid-option value=${(x) => JSON.stringify(x)} title=${(x) => x.FIELD_NAME}>\n ${(x) => x.FIELD_NAME}\n </rapid-option>\n `,\n )}\n </rapid-select>\n\n <rapid-select\n class=\"logical-operator${(x) =>\n classNames([\n '-null-and-blank',\n nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n ])}\"\n :value=${sync((x) => x.logicalOperator)}\n title=${(x) => x.logicalOperator}\n >\n ${repeat(\n (x) => x.getLogicalOperators(),\n html`\n <rapid-option value=${(x) => x.operator} title=${(x) => x}>\n ${(x) => x.label}\n </rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => !nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n html`\n <rapid-select\n class=\"right-criteria\"\n :value=${sync((x) => x.rightCriteria)}\n title=${(x) => x.rightCriteria}\n >\n ${repeat(\n (x) => x.getRightCriteria(),\n html`\n <rapid-option value=${(x) => x} title=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.rightCriteria === RightCriteria.VALUE,\n html`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.BOOLEAN,\n html`\n <rapid-select class=\"right-criteria-select\" :value=${sync((x) => x.rightValueText)}>\n <rapid-option value=\"true\">true</rapid-option>\n <rapid-option value=\"false\">false</rapid-option>\n </rapid-select>\n `,\n html`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === 'ENUM',\n html`\n <rapid-multiselect\n class=\"right-criteria-select\"\n :selectedOptions=${(x) => x.rightValueMultiSelect}\n @selectionChange=${(x, c) => {\n x.rightValueMultiSelect = (c.event as CustomEvent).detail;\n }}\n search=\"true\"\n all=\"false\"\n >\n <multiselect-datasource\n value-field=\"value\"\n label-field=\"value\"\n :data=${(x) => x.getEnumValues().map((value) => ({ value }))}\n ></multiselect-datasource>\n </rapid-multiselect>\n `,\n html`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.DATE,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n type=\"date\"\n ></rapid-text-field>\n `,\n html`\n ${whenElse(\n (x) =>\n JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.DATETIME,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n type=\"datetime-local\"\n ></rapid-text-field>\n `,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n placeholder=\"Value (comma-separate for multiple)\"\n autocomplete=\"off\"\n ></rapid-text-field>\n `,\n )}\n `,\n )}\n `,\n )}\n `,\n )}\n `,\n )}\n ${when(\n (x) => x.rightCriteria === RightCriteria.FIELD,\n html`\n <rapid-select\n class=\"right-criteria-select\"\n :value=${sync((x) => x.rightValueSelect)}\n title=${(x) => x.rightValueSelect}\n >\n ${repeat(\n (x) => x.getApplicableFields(),\n html`\n <rapid-option value=${(x) => x.FIELD_NAME} title=${(x) => x.FIELD_NAME}>\n ${(x) => x.FIELD_NAME}\n </rapid-option>\n `,\n )}\n </rapid-select>\n `,\n )}\n `,\n )}\n\n <rapid-button appearance=\"icon\" class=\"delete\" @click=${(x) => x.deleteCondition()}>\n <rapid-icon\n style=\"opacity: 0.5\"\n variant=\"regular\"\n name=\"trash-alt\"\n size=\"lg\"\n part=\"icon\"\n ></rapid-icon>\n </rapid-button>\n </div>\n`"
10463
- }
10464
- ],
10465
- "exports": [
10466
- {
10467
- "kind": "js",
10468
- "name": "RuleConditionBuilderTemplate",
10469
- "declaration": {
10470
- "name": "RuleConditionBuilderTemplate",
10471
- "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts"
10472
- }
10473
- }
10474
- ]
10475
- },
10476
- {
10477
- "kind": "javascript-module",
10478
- "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.ts",
10479
- "declarations": [
10480
- {
10481
- "kind": "class",
10482
- "description": "Condition builder for notification rule criteria.",
10483
- "name": "RuleConditionBuilder",
10332
+ "description": "Condition builder for notification rule criteria.",
10333
+ "name": "RuleConditionBuilder",
10484
10334
  "members": [
10485
10335
  {
10486
10336
  "kind": "field",
@@ -10736,6 +10586,156 @@
10736
10586
  "declarations": [],
10737
10587
  "exports": []
10738
10588
  },
10589
+ {
10590
+ "kind": "javascript-module",
10591
+ "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
10592
+ "declarations": [
10593
+ {
10594
+ "kind": "variable",
10595
+ "name": "RuleConditionGroupTemplate",
10596
+ "default": "html<RuleConditionGroup>`\n ${when(\n (x) => !x.isFirst,\n html`\n <div class=\"join-toggle-row\">\n <div class=\"join-toggle\">\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'AND'])}\"\n @click=${(x) => (x.joinOperator = 'AND')}\n >\n AND\n </span>\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'OR'])}\"\n @click=${(x) => (x.joinOperator = 'OR')}\n >\n OR\n </span>\n </div>\n </div>\n `,\n )}\n <div class=\"condition-group-row\">\n <div class=\"condition-group-box\">\n ${repeat(\n (x) => x.groupChildren,\n html<ConditionNode, RuleConditionGroup>`\n ${when(\n (x) => isGroup(x),\n html<ConditionNode>`\n <rule-condition-group\n :fields=${(x, c) => c.parent.fields}\n :node=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></rule-condition-group>\n `,\n )}\n ${when(\n (x) => !isGroup(x),\n html<ConditionNode>`\n <rule-condition-builder\n :fields=${(x, c) => c.parent.fields}\n :condition=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></rule-condition-builder>\n `,\n )}\n `,\n { positioning: true },\n )}\n\n <div class=\"content-row\">\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newCondition()}>\n + Condition\n </rapid-button>\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newGroup()}>+ Group</rapid-button>\n <rapid-button appearance=\"icon\" class=\"delete-group\" @click=${(x) => x.deleteSelf()}>\n <rapid-icon variant=\"regular\" name=\"trash-alt\" size=\"lg\" part=\"icon\"></rapid-icon>\n </rapid-button>\n </div>\n </div>\n </div>\n`"
10597
+ }
10598
+ ],
10599
+ "exports": [
10600
+ {
10601
+ "kind": "js",
10602
+ "name": "RuleConditionGroupTemplate",
10603
+ "declaration": {
10604
+ "name": "RuleConditionGroupTemplate",
10605
+ "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
10606
+ }
10607
+ }
10608
+ ]
10609
+ },
10610
+ {
10611
+ "kind": "javascript-module",
10612
+ "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
10613
+ "declarations": [
10614
+ {
10615
+ "kind": "class",
10616
+ "description": "Parenthesized group of conditions/nested groups for notification rule\ncriteria, joined to the previous sibling via AND/OR like a single\ncondition row - but bracketing its own children off from the rest of the\nlist, so e.g. \"(A && B) || C\" can be expressed without the AND silently\nspanning more than intended.",
10617
+ "name": "RuleConditionGroup",
10618
+ "members": [
10619
+ {
10620
+ "kind": "field",
10621
+ "name": "node",
10622
+ "type": {
10623
+ "text": "ConditionGroupEntity"
10624
+ }
10625
+ },
10626
+ {
10627
+ "kind": "field",
10628
+ "name": "fields",
10629
+ "type": {
10630
+ "text": "Field[]"
10631
+ },
10632
+ "default": "[]"
10633
+ },
10634
+ {
10635
+ "kind": "field",
10636
+ "name": "isFirst",
10637
+ "type": {
10638
+ "text": "boolean"
10639
+ },
10640
+ "default": "false"
10641
+ },
10642
+ {
10643
+ "kind": "field",
10644
+ "name": "joinOperator",
10645
+ "type": {
10646
+ "text": "string"
10647
+ }
10648
+ },
10649
+ {
10650
+ "kind": "field",
10651
+ "name": "groupChildren",
10652
+ "type": {
10653
+ "text": "ConditionNode[]"
10654
+ },
10655
+ "default": "[]"
10656
+ },
10657
+ {
10658
+ "kind": "method",
10659
+ "name": "nodeChanged"
10660
+ },
10661
+ {
10662
+ "kind": "method",
10663
+ "name": "joinOperatorChanged"
10664
+ },
10665
+ {
10666
+ "kind": "method",
10667
+ "name": "newCondition"
10668
+ },
10669
+ {
10670
+ "kind": "method",
10671
+ "name": "newGroup"
10672
+ },
10673
+ {
10674
+ "kind": "method",
10675
+ "name": "editChild",
10676
+ "parameters": [
10677
+ {
10678
+ "name": "_editedChild",
10679
+ "type": {
10680
+ "text": "ConditionNode"
10681
+ }
10682
+ }
10683
+ ]
10684
+ },
10685
+ {
10686
+ "kind": "method",
10687
+ "name": "deleteChild",
10688
+ "parameters": [
10689
+ {
10690
+ "name": "deletedChild",
10691
+ "type": {
10692
+ "text": "ConditionNode"
10693
+ }
10694
+ }
10695
+ ]
10696
+ },
10697
+ {
10698
+ "kind": "method",
10699
+ "name": "deleteSelf"
10700
+ }
10701
+ ],
10702
+ "events": [
10703
+ {
10704
+ "description": "Fired when this whole group should be removed",
10705
+ "name": "delete"
10706
+ },
10707
+ {
10708
+ "description": "Fired when anything inside this group changes",
10709
+ "name": "edit"
10710
+ }
10711
+ ],
10712
+ "superclass": {
10713
+ "name": "GenesisElement",
10714
+ "package": "@genesislcap/web-core"
10715
+ },
10716
+ "tagName": "rule-condition-group",
10717
+ "customElement": true
10718
+ }
10719
+ ],
10720
+ "exports": [
10721
+ {
10722
+ "kind": "js",
10723
+ "name": "RuleConditionGroup",
10724
+ "declaration": {
10725
+ "name": "RuleConditionGroup",
10726
+ "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
10727
+ }
10728
+ },
10729
+ {
10730
+ "kind": "custom-element-definition",
10731
+ "name": "rule-condition-group",
10732
+ "declaration": {
10733
+ "name": "RuleConditionGroup",
10734
+ "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
10735
+ }
10736
+ }
10737
+ ]
10738
+ },
10739
10739
  {
10740
10740
  "kind": "javascript-module",
10741
10741
  "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
@@ -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,14 +126,14 @@ export declare const InboxSubscription: React.ForwardRefExoticComponent<
135
126
  >;
136
127
  export type InboxSubscriptionRef = InboxSubscriptionWC;
137
128
 
138
- export declare const NotifyAuditManagement: React.ForwardRefExoticComponent<
129
+ export declare const FoundationInboxFlyout: React.ForwardRefExoticComponent<
139
130
  React.PropsWithChildren<
140
- Omit<PublicOf<NotifyAuditManagementWC>, 'children' | 'style'> &
131
+ Omit<PublicOf<FoundationInboxFlyoutWC>, 'children' | 'style'> &
141
132
  HTMLWCProps & {
142
133
  }
143
- > & React.RefAttributes<NotifyAuditManagementWC>
134
+ > & React.RefAttributes<FoundationInboxFlyoutWC>
144
135
  >;
145
- export type NotifyAuditManagementRef = NotifyAuditManagementWC;
136
+ export type FoundationInboxFlyoutRef = FoundationInboxFlyoutWC;
146
137
 
147
138
  export declare const RouteManagement: React.ForwardRefExoticComponent<
148
139
  React.PropsWithChildren<
@@ -153,6 +144,15 @@ export declare const RouteManagement: React.ForwardRefExoticComponent<
153
144
  >;
154
145
  export type RouteManagementRef = RouteManagementWC;
155
146
 
147
+ export declare const NotifyAuditManagement: React.ForwardRefExoticComponent<
148
+ React.PropsWithChildren<
149
+ Omit<PublicOf<NotifyAuditManagementWC>, 'children' | 'style'> &
150
+ HTMLWCProps & {
151
+ }
152
+ > & React.RefAttributes<NotifyAuditManagementWC>
153
+ >;
154
+ export type NotifyAuditManagementRef = NotifyAuditManagementWC;
155
+
156
156
  export declare const RuleManagement: React.ForwardRefExoticComponent<
157
157
  React.PropsWithChildren<
158
158
  Omit<PublicOf<RuleManagementWC>, 'children' | 'style'> &
@@ -255,17 +255,6 @@ export declare const TemplateDialog: React.ForwardRefExoticComponent<
255
255
  >;
256
256
  export type TemplateDialogRef = TemplateDialogWC;
257
257
 
258
- export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
259
- React.PropsWithChildren<
260
- Omit<PublicOf<RuleConditionGroupWC>, 'children' | 'style'> &
261
- HTMLWCProps & {
262
- onDelete?: (event: CustomEvent<unknown>) => void;
263
- onEdit?: (event: CustomEvent<unknown>) => void;
264
- }
265
- > & React.RefAttributes<RuleConditionGroupWC>
266
- >;
267
- export type RuleConditionGroupRef = RuleConditionGroupWC;
268
-
269
258
  export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
270
259
  React.PropsWithChildren<
271
260
  Omit<PublicOf<RuleConditionBuilderWC>, 'children' | 'style'> &
@@ -277,6 +266,17 @@ export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
277
266
  >;
278
267
  export type RuleConditionBuilderRef = RuleConditionBuilderWC;
279
268
 
269
+ export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
270
+ React.PropsWithChildren<
271
+ Omit<PublicOf<RuleConditionGroupWC>, 'children' | 'style'> &
272
+ HTMLWCProps & {
273
+ onDelete?: (event: CustomEvent<unknown>) => void;
274
+ onEdit?: (event: CustomEvent<unknown>) => void;
275
+ }
276
+ > & React.RefAttributes<RuleConditionGroupWC>
277
+ >;
278
+ export type RuleConditionGroupRef = RuleConditionGroupWC;
279
+
280
280
  export declare const ParameterBuilder: React.ForwardRefExoticComponent<
281
281
  React.PropsWithChildren<
282
282
  Omit<PublicOf<ParameterBuilderWC>, 'children' | 'style'> &
package/dist/react.cjs CHANGED
@@ -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,9 +94,9 @@ 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
 
102
- const NotifyAuditManagement = React.forwardRef(function NotifyAuditManagement(props, ref) {
97
+ const FoundationInboxFlyout = React.forwardRef(function FoundationInboxFlyout(props, ref) {
103
98
  const { children, ...rest } = props;
104
- return React.createElement(customElements.getName(NotifyAuditManagementWC) ?? 'notify-audit-management', { ...rest, ref }, children);
99
+ return React.createElement(customElements.getName(FoundationInboxFlyoutWC) ?? 'foundation-inbox-flyout', { ...rest, ref }, children);
105
100
  });
106
101
 
107
102
  const RouteManagement = React.forwardRef(function RouteManagement(props, ref) {
@@ -109,6 +104,11 @@ const RouteManagement = React.forwardRef(function RouteManagement(props, ref) {
109
104
  return React.createElement(customElements.getName(RouteManagementWC) ?? 'route-management', { ...rest, ref }, children);
110
105
  });
111
106
 
107
+ const NotifyAuditManagement = React.forwardRef(function NotifyAuditManagement(props, ref) {
108
+ const { children, ...rest } = props;
109
+ return React.createElement(customElements.getName(NotifyAuditManagementWC) ?? 'notify-audit-management', { ...rest, ref }, children);
110
+ });
111
+
112
112
  const RuleManagement = React.forwardRef(function RuleManagement(props, ref) {
113
113
  const { children, ...rest } = props;
114
114
  return React.createElement(customElements.getName(RuleManagementWC) ?? 'rule-management', { ...rest, ref }, children);
@@ -200,7 +200,7 @@ const TemplateDialog = React.forwardRef(function TemplateDialog(props, ref) {
200
200
  return React.createElement(customElements.getName(TemplateDialogWC) ?? 'template-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
201
201
  });
202
202
 
203
- const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
203
+ const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
204
204
  const { onDelete, onEdit, children, ...rest } = props;
205
205
  const _innerRef = React.useRef(null);
206
206
  const _onDeleteRef = React.useRef(onDelete);
@@ -219,10 +219,10 @@ const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, r
219
219
  el.removeEventListener('edit', _onEditFn);
220
220
  };
221
221
  }, []);
222
- return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
222
+ return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
223
223
  });
224
224
 
225
- const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
225
+ const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
226
226
  const { onDelete, onEdit, children, ...rest } = props;
227
227
  const _innerRef = React.useRef(null);
228
228
  const _onDeleteRef = React.useRef(onDelete);
@@ -241,7 +241,7 @@ const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(prop
241
241
  el.removeEventListener('edit', _onEditFn);
242
242
  };
243
243
  }, []);
244
- return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
244
+ return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
245
245
  });
246
246
 
247
247
  const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
@@ -317,10 +317,10 @@ module.exports = {
317
317
  FoundationSoundsPanel,
318
318
  FoundationSounds,
319
319
  FoundationInboxCounter,
320
- FoundationInboxFlyout,
321
320
  InboxSubscription,
322
- NotifyAuditManagement,
321
+ FoundationInboxFlyout,
323
322
  RouteManagement,
323
+ NotifyAuditManagement,
324
324
  RuleManagement,
325
325
  TemplateManagement,
326
326
  RuleParameter,
@@ -332,8 +332,8 @@ module.exports = {
332
332
  SlackRouteManagement,
333
333
  RuleDialog,
334
334
  TemplateDialog,
335
- RuleConditionGroup,
336
335
  RuleConditionBuilder,
336
+ RuleConditionGroup,
337
337
  ParameterBuilder,
338
338
  TemplateConditionBuilder,
339
339
  TemplateConditionGroup,
package/dist/react.mjs CHANGED
@@ -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,9 +92,9 @@ 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
 
100
- export const NotifyAuditManagement = React.forwardRef(function NotifyAuditManagement(props, ref) {
95
+ export const FoundationInboxFlyout = React.forwardRef(function FoundationInboxFlyout(props, ref) {
101
96
  const { children, ...rest } = props;
102
- return React.createElement(customElements.getName(NotifyAuditManagementWC) ?? 'notify-audit-management', { ...rest, ref }, children);
97
+ return React.createElement(customElements.getName(FoundationInboxFlyoutWC) ?? 'foundation-inbox-flyout', { ...rest, ref }, children);
103
98
  });
104
99
 
105
100
  export const RouteManagement = React.forwardRef(function RouteManagement(props, ref) {
@@ -107,6 +102,11 @@ export const RouteManagement = React.forwardRef(function RouteManagement(props,
107
102
  return React.createElement(customElements.getName(RouteManagementWC) ?? 'route-management', { ...rest, ref }, children);
108
103
  });
109
104
 
105
+ export const NotifyAuditManagement = React.forwardRef(function NotifyAuditManagement(props, ref) {
106
+ const { children, ...rest } = props;
107
+ return React.createElement(customElements.getName(NotifyAuditManagementWC) ?? 'notify-audit-management', { ...rest, ref }, children);
108
+ });
109
+
110
110
  export const RuleManagement = React.forwardRef(function RuleManagement(props, ref) {
111
111
  const { children, ...rest } = props;
112
112
  return React.createElement(customElements.getName(RuleManagementWC) ?? 'rule-management', { ...rest, ref }, children);
@@ -198,7 +198,7 @@ export const TemplateDialog = React.forwardRef(function TemplateDialog(props, re
198
198
  return React.createElement(customElements.getName(TemplateDialogWC) ?? 'template-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
199
199
  });
200
200
 
201
- export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
201
+ export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
202
202
  const { onDelete, onEdit, children, ...rest } = props;
203
203
  const _innerRef = React.useRef(null);
204
204
  const _onDeleteRef = React.useRef(onDelete);
@@ -217,10 +217,10 @@ export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(p
217
217
  el.removeEventListener('edit', _onEditFn);
218
218
  };
219
219
  }, []);
220
- return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
220
+ return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
221
221
  });
222
222
 
223
- export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
223
+ export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
224
224
  const { onDelete, onEdit, children, ...rest } = props;
225
225
  const _innerRef = React.useRef(null);
226
226
  const _onDeleteRef = React.useRef(onDelete);
@@ -239,7 +239,7 @@ export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuild
239
239
  el.removeEventListener('edit', _onEditFn);
240
240
  };
241
241
  }, []);
242
- return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
242
+ return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
243
243
  });
244
244
 
245
245
  export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/pbc-notify-ui",
3
3
  "description": "Genesis PBC Notify UI",
4
- "version": "15.96.2",
4
+ "version": "15.96.3",
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.2",
84
- "@genesislcap/eslint-config": "15.96.2",
85
- "@genesislcap/eslint-stylelint-builder": "15.96.2",
86
- "@genesislcap/foundation-testing": "15.96.2",
87
- "@genesislcap/genx": "15.96.2",
88
- "@genesislcap/prettier-config": "15.96.2",
89
- "@genesislcap/stylelint-config": "15.96.2",
90
- "@genesislcap/vite-builder": "15.96.2",
91
- "@genesislcap/webpack-builder": "15.96.2",
83
+ "@genesislcap/design-system-configurator": "15.96.3",
84
+ "@genesislcap/eslint-config": "15.96.3",
85
+ "@genesislcap/eslint-stylelint-builder": "15.96.3",
86
+ "@genesislcap/foundation-testing": "15.96.3",
87
+ "@genesislcap/genx": "15.96.3",
88
+ "@genesislcap/prettier-config": "15.96.3",
89
+ "@genesislcap/stylelint-config": "15.96.3",
90
+ "@genesislcap/vite-builder": "15.96.3",
91
+ "@genesislcap/webpack-builder": "15.96.3",
92
92
  "dayjs": "^1.11.7"
93
93
  },
94
94
  "dependencies": {
95
- "@genesislcap/foundation-comms": "15.96.2",
96
- "@genesislcap/foundation-criteria": "15.96.2",
97
- "@genesislcap/foundation-entity-management": "15.96.2",
98
- "@genesislcap/foundation-forms": "15.96.2",
99
- "@genesislcap/foundation-layout": "15.96.2",
100
- "@genesislcap/foundation-logger": "15.96.2",
101
- "@genesislcap/foundation-notifications": "15.96.2",
102
- "@genesislcap/foundation-ui": "15.96.2",
103
- "@genesislcap/foundation-utils": "15.96.2",
104
- "@genesislcap/rapid-design-system": "15.96.2",
105
- "@genesislcap/rapid-grid-pro": "15.96.2",
106
- "@genesislcap/web-core": "15.96.2",
95
+ "@genesislcap/foundation-comms": "15.96.3",
96
+ "@genesislcap/foundation-criteria": "15.96.3",
97
+ "@genesislcap/foundation-entity-management": "15.96.3",
98
+ "@genesislcap/foundation-forms": "15.96.3",
99
+ "@genesislcap/foundation-layout": "15.96.3",
100
+ "@genesislcap/foundation-logger": "15.96.3",
101
+ "@genesislcap/foundation-notifications": "15.96.3",
102
+ "@genesislcap/foundation-ui": "15.96.3",
103
+ "@genesislcap/foundation-utils": "15.96.3",
104
+ "@genesislcap/rapid-design-system": "15.96.3",
105
+ "@genesislcap/rapid-grid-pro": "15.96.3",
106
+ "@genesislcap/web-core": "15.96.3",
107
107
  "lodash.debounce": "^4.0.8",
108
108
  "rxjs": "^7.5.4"
109
109
  },