@genesislcap/pbc-notify-ui 15.0.0 → 15.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +673 -382
- package/dist/dts/components/foundation-inbox/inbox-base/inbox-base.d.ts +38 -2
- package/dist/dts/components/foundation-inbox/inbox-base/inbox-base.d.ts.map +1 -1
- package/dist/dts/components/foundation-inbox/inbox.template.d.ts.map +1 -1
- package/dist/dts/index.d.ts +2 -1
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/react.d.ts +22 -22
- package/dist/esm/components/foundation-inbox/inbox-base/inbox-base.js +55 -2
- package/dist/esm/components/foundation-inbox/inbox.template.js +45 -21
- package/dist/esm/index.js +1 -0
- package/dist/pbc-notify-ui.api.json +348 -0
- package/dist/pbc-notify-ui.d.ts +39 -3
- package/dist/react.cjs +10 -10
- package/dist/react.mjs +8 -8
- package/package.json +23 -23
- package/src/components/foundation-inbox/inbox-base/inbox-base.ts +44 -2
- package/src/components/foundation-inbox/inbox.template.ts +54 -24
- package/src/index.ts +2 -0
|
@@ -45,6 +45,14 @@
|
|
|
45
45
|
"package": "./components/foundation-notification-dashboard"
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
|
+
{
|
|
49
|
+
"kind": "js",
|
|
50
|
+
"name": "Alert",
|
|
51
|
+
"declaration": {
|
|
52
|
+
"name": "Alert",
|
|
53
|
+
"module": "./components/foundation-inbox/inbox.types"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
48
56
|
{
|
|
49
57
|
"kind": "js",
|
|
50
58
|
"name": "ParameterEditedEventDetail",
|
|
@@ -61,6 +69,14 @@
|
|
|
61
69
|
"module": "./components/foundation-inbox/inbox.types"
|
|
62
70
|
}
|
|
63
71
|
},
|
|
72
|
+
{
|
|
73
|
+
"kind": "js",
|
|
74
|
+
"name": "AlertStatus",
|
|
75
|
+
"declaration": {
|
|
76
|
+
"name": "AlertStatus",
|
|
77
|
+
"module": "./components/foundation-inbox/inbox.types"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
64
80
|
{
|
|
65
81
|
"kind": "js",
|
|
66
82
|
"name": "ConditionBuilderEntity",
|
|
@@ -399,27 +415,6 @@
|
|
|
399
415
|
}
|
|
400
416
|
]
|
|
401
417
|
},
|
|
402
|
-
{
|
|
403
|
-
"kind": "javascript-module",
|
|
404
|
-
"path": "src/styles/scrollbar.styles.ts",
|
|
405
|
-
"declarations": [
|
|
406
|
-
{
|
|
407
|
-
"kind": "variable",
|
|
408
|
-
"name": "scrollbarStyles",
|
|
409
|
-
"default": "css`\n ::-webkit-scrollbar {\n width: calc((var(--base-height-multiplier) + var(--design-unit)) * 1px);\n }\n\n ::-webkit-scrollbar-track {\n background: var(--neutral-layer-1);\n }\n\n ::-webkit-scrollbar-thumb {\n background: var(--neutral-fill-rest);\n }\n`"
|
|
410
|
-
}
|
|
411
|
-
],
|
|
412
|
-
"exports": [
|
|
413
|
-
{
|
|
414
|
-
"kind": "js",
|
|
415
|
-
"name": "scrollbarStyles",
|
|
416
|
-
"declaration": {
|
|
417
|
-
"name": "scrollbarStyles",
|
|
418
|
-
"module": "src/styles/scrollbar.styles.ts"
|
|
419
|
-
}
|
|
420
|
-
}
|
|
421
|
-
]
|
|
422
|
-
},
|
|
423
418
|
{
|
|
424
419
|
"kind": "javascript-module",
|
|
425
420
|
"path": "src/utils/eventDetail.ts",
|
|
@@ -741,6 +736,27 @@
|
|
|
741
736
|
}
|
|
742
737
|
]
|
|
743
738
|
},
|
|
739
|
+
{
|
|
740
|
+
"kind": "javascript-module",
|
|
741
|
+
"path": "src/styles/scrollbar.styles.ts",
|
|
742
|
+
"declarations": [
|
|
743
|
+
{
|
|
744
|
+
"kind": "variable",
|
|
745
|
+
"name": "scrollbarStyles",
|
|
746
|
+
"default": "css`\n ::-webkit-scrollbar {\n width: calc((var(--base-height-multiplier) + var(--design-unit)) * 1px);\n }\n\n ::-webkit-scrollbar-track {\n background: var(--neutral-layer-1);\n }\n\n ::-webkit-scrollbar-thumb {\n background: var(--neutral-fill-rest);\n }\n`"
|
|
747
|
+
}
|
|
748
|
+
],
|
|
749
|
+
"exports": [
|
|
750
|
+
{
|
|
751
|
+
"kind": "js",
|
|
752
|
+
"name": "scrollbarStyles",
|
|
753
|
+
"declaration": {
|
|
754
|
+
"name": "scrollbarStyles",
|
|
755
|
+
"module": "src/styles/scrollbar.styles.ts"
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
]
|
|
759
|
+
},
|
|
744
760
|
{
|
|
745
761
|
"kind": "javascript-module",
|
|
746
762
|
"path": "src/components/foundation-inbox/inbox.styles.ts",
|
|
@@ -864,6 +880,20 @@
|
|
|
864
880
|
},
|
|
865
881
|
"tagName": "foundation-inbox",
|
|
866
882
|
"customElement": true,
|
|
883
|
+
"attributes": [
|
|
884
|
+
{
|
|
885
|
+
"type": {
|
|
886
|
+
"text": "boolean"
|
|
887
|
+
},
|
|
888
|
+
"default": "false",
|
|
889
|
+
"description": "Hide the Severity filter block in the search bar. Set via the `hide-severity-filter`\nattribute or property. @public",
|
|
890
|
+
"fieldName": "hideSeverityFilter",
|
|
891
|
+
"inheritedFrom": {
|
|
892
|
+
"name": "FoundationInboxBase",
|
|
893
|
+
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
894
|
+
}
|
|
895
|
+
}
|
|
896
|
+
],
|
|
867
897
|
"members": [
|
|
868
898
|
{
|
|
869
899
|
"kind": "field",
|
|
@@ -958,6 +988,85 @@
|
|
|
958
988
|
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
959
989
|
}
|
|
960
990
|
},
|
|
991
|
+
{
|
|
992
|
+
"kind": "field",
|
|
993
|
+
"name": "renderAlert",
|
|
994
|
+
"type": {
|
|
995
|
+
"text": "ViewTemplate<Alert, FoundationInbox> | undefined"
|
|
996
|
+
},
|
|
997
|
+
"default": "undefined",
|
|
998
|
+
"description": "Optional per-row template for the Alerts / Alert History lists. When set, it replaces the\ndefault alert row (the `.toast` element) and is rendered with the alert as its source (`x`)\nand the inbox host as `c.parent`, mirroring the internal `html<Alert, FoundationInbox>` row.\nWhen unset, the built-in row is used, so existing consumers are unaffected.",
|
|
999
|
+
"privacy": "public",
|
|
1000
|
+
"inheritedFrom": {
|
|
1001
|
+
"name": "FoundationInboxBase",
|
|
1002
|
+
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
1003
|
+
}
|
|
1004
|
+
},
|
|
1005
|
+
{
|
|
1006
|
+
"kind": "field",
|
|
1007
|
+
"name": "hideSeverityFilter",
|
|
1008
|
+
"type": {
|
|
1009
|
+
"text": "boolean"
|
|
1010
|
+
},
|
|
1011
|
+
"default": "false",
|
|
1012
|
+
"description": "Hide the Severity filter block in the search bar. Set via the `hide-severity-filter`\nattribute or property. @public",
|
|
1013
|
+
"inheritedFrom": {
|
|
1014
|
+
"name": "FoundationInboxBase",
|
|
1015
|
+
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
1016
|
+
}
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
"kind": "field",
|
|
1020
|
+
"name": "hideDateRange",
|
|
1021
|
+
"type": {
|
|
1022
|
+
"text": "boolean"
|
|
1023
|
+
},
|
|
1024
|
+
"default": "false",
|
|
1025
|
+
"description": "Hide the Date Range filter block in the search bar. Set via the `hide-date-range`\nattribute or property. @public",
|
|
1026
|
+
"inheritedFrom": {
|
|
1027
|
+
"name": "FoundationInboxBase",
|
|
1028
|
+
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
1029
|
+
}
|
|
1030
|
+
},
|
|
1031
|
+
{
|
|
1032
|
+
"kind": "field",
|
|
1033
|
+
"name": "hideTitleSearch",
|
|
1034
|
+
"type": {
|
|
1035
|
+
"text": "boolean"
|
|
1036
|
+
},
|
|
1037
|
+
"default": "false",
|
|
1038
|
+
"description": "Hide the Search-by-Title field in the search bar. Set via the `hide-title-search`\nattribute or property. @public",
|
|
1039
|
+
"inheritedFrom": {
|
|
1040
|
+
"name": "FoundationInboxBase",
|
|
1041
|
+
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
1042
|
+
}
|
|
1043
|
+
},
|
|
1044
|
+
{
|
|
1045
|
+
"kind": "field",
|
|
1046
|
+
"name": "hideBodySearch",
|
|
1047
|
+
"type": {
|
|
1048
|
+
"text": "boolean"
|
|
1049
|
+
},
|
|
1050
|
+
"default": "false",
|
|
1051
|
+
"description": "Hide the Search-by-Body field in the search bar. Set via the `hide-body-search`\nattribute or property. @public",
|
|
1052
|
+
"inheritedFrom": {
|
|
1053
|
+
"name": "FoundationInboxBase",
|
|
1054
|
+
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
1055
|
+
}
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
"kind": "field",
|
|
1059
|
+
"name": "onAlertClick",
|
|
1060
|
+
"type": {
|
|
1061
|
+
"text": "((alert: Alert) => void) | undefined"
|
|
1062
|
+
},
|
|
1063
|
+
"default": "undefined",
|
|
1064
|
+
"description": "Optional click handler for an alert row, fired with the clicked alert so consumers can open\nthe related record. Interactive elements inside a custom renderAlert template should\ncall `event.stopPropagation()` to avoid triggering this. @public",
|
|
1065
|
+
"inheritedFrom": {
|
|
1066
|
+
"name": "FoundationInboxBase",
|
|
1067
|
+
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
1068
|
+
}
|
|
1069
|
+
},
|
|
961
1070
|
{
|
|
962
1071
|
"kind": "field",
|
|
963
1072
|
"name": "ruleService",
|
|
@@ -1222,9 +1331,9 @@
|
|
|
1222
1331
|
"kind": "field",
|
|
1223
1332
|
"name": "sortDirection",
|
|
1224
1333
|
"type": {
|
|
1225
|
-
"text": "
|
|
1334
|
+
"text": "'Asc' | 'Desc'"
|
|
1226
1335
|
},
|
|
1227
|
-
"default": "'
|
|
1336
|
+
"default": "'Desc'",
|
|
1228
1337
|
"inheritedFrom": {
|
|
1229
1338
|
"name": "FoundationInboxBase",
|
|
1230
1339
|
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
@@ -2514,6 +2623,61 @@
|
|
|
2514
2623
|
},
|
|
2515
2624
|
"default": "false"
|
|
2516
2625
|
},
|
|
2626
|
+
{
|
|
2627
|
+
"kind": "field",
|
|
2628
|
+
"name": "renderAlert",
|
|
2629
|
+
"type": {
|
|
2630
|
+
"text": "ViewTemplate<Alert, FoundationInbox> | undefined"
|
|
2631
|
+
},
|
|
2632
|
+
"default": "undefined",
|
|
2633
|
+
"description": "Optional per-row template for the Alerts / Alert History lists. When set, it replaces the\ndefault alert row (the `.toast` element) and is rendered with the alert as its source (`x`)\nand the inbox host as `c.parent`, mirroring the internal `html<Alert, FoundationInbox>` row.\nWhen unset, the built-in row is used, so existing consumers are unaffected.",
|
|
2634
|
+
"privacy": "public"
|
|
2635
|
+
},
|
|
2636
|
+
{
|
|
2637
|
+
"kind": "field",
|
|
2638
|
+
"name": "hideSeverityFilter",
|
|
2639
|
+
"type": {
|
|
2640
|
+
"text": "boolean"
|
|
2641
|
+
},
|
|
2642
|
+
"default": "false",
|
|
2643
|
+
"description": "Hide the Severity filter block in the search bar. Set via the `hide-severity-filter`\nattribute or property. @public"
|
|
2644
|
+
},
|
|
2645
|
+
{
|
|
2646
|
+
"kind": "field",
|
|
2647
|
+
"name": "hideDateRange",
|
|
2648
|
+
"type": {
|
|
2649
|
+
"text": "boolean"
|
|
2650
|
+
},
|
|
2651
|
+
"default": "false",
|
|
2652
|
+
"description": "Hide the Date Range filter block in the search bar. Set via the `hide-date-range`\nattribute or property. @public"
|
|
2653
|
+
},
|
|
2654
|
+
{
|
|
2655
|
+
"kind": "field",
|
|
2656
|
+
"name": "hideTitleSearch",
|
|
2657
|
+
"type": {
|
|
2658
|
+
"text": "boolean"
|
|
2659
|
+
},
|
|
2660
|
+
"default": "false",
|
|
2661
|
+
"description": "Hide the Search-by-Title field in the search bar. Set via the `hide-title-search`\nattribute or property. @public"
|
|
2662
|
+
},
|
|
2663
|
+
{
|
|
2664
|
+
"kind": "field",
|
|
2665
|
+
"name": "hideBodySearch",
|
|
2666
|
+
"type": {
|
|
2667
|
+
"text": "boolean"
|
|
2668
|
+
},
|
|
2669
|
+
"default": "false",
|
|
2670
|
+
"description": "Hide the Search-by-Body field in the search bar. Set via the `hide-body-search`\nattribute or property. @public"
|
|
2671
|
+
},
|
|
2672
|
+
{
|
|
2673
|
+
"kind": "field",
|
|
2674
|
+
"name": "onAlertClick",
|
|
2675
|
+
"type": {
|
|
2676
|
+
"text": "((alert: Alert) => void) | undefined"
|
|
2677
|
+
},
|
|
2678
|
+
"default": "undefined",
|
|
2679
|
+
"description": "Optional click handler for an alert row, fired with the clicked alert so consumers can open\nthe related record. Interactive elements inside a custom renderAlert template should\ncall `event.stopPropagation()` to avoid triggering this. @public"
|
|
2680
|
+
},
|
|
2517
2681
|
{
|
|
2518
2682
|
"kind": "field",
|
|
2519
2683
|
"name": "ruleService",
|
|
@@ -2690,9 +2854,9 @@
|
|
|
2690
2854
|
"kind": "field",
|
|
2691
2855
|
"name": "sortDirection",
|
|
2692
2856
|
"type": {
|
|
2693
|
-
"text": "
|
|
2857
|
+
"text": "'Asc' | 'Desc'"
|
|
2694
2858
|
},
|
|
2695
|
-
"default": "'
|
|
2859
|
+
"default": "'Desc'"
|
|
2696
2860
|
},
|
|
2697
2861
|
{
|
|
2698
2862
|
"kind": "field",
|
|
@@ -3085,6 +3249,40 @@
|
|
|
3085
3249
|
]
|
|
3086
3250
|
}
|
|
3087
3251
|
],
|
|
3252
|
+
"attributes": [
|
|
3253
|
+
{
|
|
3254
|
+
"type": {
|
|
3255
|
+
"text": "boolean"
|
|
3256
|
+
},
|
|
3257
|
+
"default": "false",
|
|
3258
|
+
"description": "Hide the Severity filter block in the search bar. Set via the `hide-severity-filter`\nattribute or property. @public",
|
|
3259
|
+
"fieldName": "hideSeverityFilter"
|
|
3260
|
+
},
|
|
3261
|
+
{
|
|
3262
|
+
"type": {
|
|
3263
|
+
"text": "boolean"
|
|
3264
|
+
},
|
|
3265
|
+
"default": "false",
|
|
3266
|
+
"description": "Hide the Date Range filter block in the search bar. Set via the `hide-date-range`\nattribute or property. @public",
|
|
3267
|
+
"fieldName": "hideDateRange"
|
|
3268
|
+
},
|
|
3269
|
+
{
|
|
3270
|
+
"type": {
|
|
3271
|
+
"text": "boolean"
|
|
3272
|
+
},
|
|
3273
|
+
"default": "false",
|
|
3274
|
+
"description": "Hide the Search-by-Title field in the search bar. Set via the `hide-title-search`\nattribute or property. @public",
|
|
3275
|
+
"fieldName": "hideTitleSearch"
|
|
3276
|
+
},
|
|
3277
|
+
{
|
|
3278
|
+
"type": {
|
|
3279
|
+
"text": "boolean"
|
|
3280
|
+
},
|
|
3281
|
+
"default": "false",
|
|
3282
|
+
"description": "Hide the Search-by-Body field in the search bar. Set via the `hide-body-search`\nattribute or property. @public",
|
|
3283
|
+
"fieldName": "hideBodySearch"
|
|
3284
|
+
}
|
|
3285
|
+
],
|
|
3088
3286
|
"superclass": {
|
|
3089
3287
|
"name": "GenesisElement",
|
|
3090
3288
|
"package": "@genesislcap/web-core"
|
|
@@ -4117,10 +4315,13 @@
|
|
|
4117
4315
|
},
|
|
4118
4316
|
{
|
|
4119
4317
|
"kind": "field",
|
|
4120
|
-
"name": "
|
|
4318
|
+
"name": "renderAlert",
|
|
4121
4319
|
"type": {
|
|
4122
|
-
"text": "
|
|
4320
|
+
"text": "ViewTemplate<Alert, FoundationInbox> | undefined"
|
|
4123
4321
|
},
|
|
4322
|
+
"default": "undefined",
|
|
4323
|
+
"description": "Optional per-row template for the Alerts / Alert History lists. When set, it replaces the\ndefault alert row (the `.toast` element) and is rendered with the alert as its source (`x`)\nand the inbox host as `c.parent`, mirroring the internal `html<Alert, FoundationInbox>` row.\nWhen unset, the built-in row is used, so existing consumers are unaffected.",
|
|
4324
|
+
"privacy": "public",
|
|
4124
4325
|
"inheritedFrom": {
|
|
4125
4326
|
"name": "FoundationInboxBase",
|
|
4126
4327
|
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
@@ -4128,11 +4329,12 @@
|
|
|
4128
4329
|
},
|
|
4129
4330
|
{
|
|
4130
4331
|
"kind": "field",
|
|
4131
|
-
"name": "
|
|
4332
|
+
"name": "hideSeverityFilter",
|
|
4132
4333
|
"type": {
|
|
4133
|
-
"text": "
|
|
4334
|
+
"text": "boolean"
|
|
4134
4335
|
},
|
|
4135
|
-
"default": "
|
|
4336
|
+
"default": "false",
|
|
4337
|
+
"description": "Hide the Severity filter block in the search bar. Set via the `hide-severity-filter`\nattribute or property. @public",
|
|
4136
4338
|
"inheritedFrom": {
|
|
4137
4339
|
"name": "FoundationInboxBase",
|
|
4138
4340
|
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
@@ -4140,10 +4342,12 @@
|
|
|
4140
4342
|
},
|
|
4141
4343
|
{
|
|
4142
4344
|
"kind": "field",
|
|
4143
|
-
"name": "
|
|
4345
|
+
"name": "hideDateRange",
|
|
4144
4346
|
"type": {
|
|
4145
|
-
"text": "
|
|
4347
|
+
"text": "boolean"
|
|
4146
4348
|
},
|
|
4349
|
+
"default": "false",
|
|
4350
|
+
"description": "Hide the Date Range filter block in the search bar. Set via the `hide-date-range`\nattribute or property. @public",
|
|
4147
4351
|
"inheritedFrom": {
|
|
4148
4352
|
"name": "FoundationInboxBase",
|
|
4149
4353
|
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
@@ -4151,11 +4355,12 @@
|
|
|
4151
4355
|
},
|
|
4152
4356
|
{
|
|
4153
4357
|
"kind": "field",
|
|
4154
|
-
"name": "
|
|
4358
|
+
"name": "hideTitleSearch",
|
|
4155
4359
|
"type": {
|
|
4156
|
-
"text": "
|
|
4360
|
+
"text": "boolean"
|
|
4157
4361
|
},
|
|
4158
|
-
"default": "
|
|
4362
|
+
"default": "false",
|
|
4363
|
+
"description": "Hide the Search-by-Title field in the search bar. Set via the `hide-title-search`\nattribute or property. @public",
|
|
4159
4364
|
"inheritedFrom": {
|
|
4160
4365
|
"name": "FoundationInboxBase",
|
|
4161
4366
|
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
@@ -4163,11 +4368,12 @@
|
|
|
4163
4368
|
},
|
|
4164
4369
|
{
|
|
4165
4370
|
"kind": "field",
|
|
4166
|
-
"name": "
|
|
4371
|
+
"name": "hideBodySearch",
|
|
4167
4372
|
"type": {
|
|
4168
|
-
"text": "
|
|
4373
|
+
"text": "boolean"
|
|
4169
4374
|
},
|
|
4170
|
-
"default": "
|
|
4375
|
+
"default": "false",
|
|
4376
|
+
"description": "Hide the Search-by-Body field in the search bar. Set via the `hide-body-search`\nattribute or property. @public",
|
|
4171
4377
|
"inheritedFrom": {
|
|
4172
4378
|
"name": "FoundationInboxBase",
|
|
4173
4379
|
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
@@ -4175,10 +4381,12 @@
|
|
|
4175
4381
|
},
|
|
4176
4382
|
{
|
|
4177
4383
|
"kind": "field",
|
|
4178
|
-
"name": "
|
|
4384
|
+
"name": "onAlertClick",
|
|
4179
4385
|
"type": {
|
|
4180
|
-
"text": "
|
|
4386
|
+
"text": "((alert: Alert) => void) | undefined"
|
|
4181
4387
|
},
|
|
4388
|
+
"default": "undefined",
|
|
4389
|
+
"description": "Optional click handler for an alert row, fired with the clicked alert so consumers can open\nthe related record. Interactive elements inside a custom renderAlert template should\ncall `event.stopPropagation()` to avoid triggering this. @public",
|
|
4182
4390
|
"inheritedFrom": {
|
|
4183
4391
|
"name": "FoundationInboxBase",
|
|
4184
4392
|
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
@@ -4186,11 +4394,10 @@
|
|
|
4186
4394
|
},
|
|
4187
4395
|
{
|
|
4188
4396
|
"kind": "field",
|
|
4189
|
-
"name": "
|
|
4397
|
+
"name": "ruleService",
|
|
4190
4398
|
"type": {
|
|
4191
|
-
"text": "
|
|
4399
|
+
"text": "RuleService"
|
|
4192
4400
|
},
|
|
4193
|
-
"default": "{}",
|
|
4194
4401
|
"inheritedFrom": {
|
|
4195
4402
|
"name": "FoundationInboxBase",
|
|
4196
4403
|
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
@@ -4198,11 +4405,11 @@
|
|
|
4198
4405
|
},
|
|
4199
4406
|
{
|
|
4200
4407
|
"kind": "field",
|
|
4201
|
-
"name": "
|
|
4408
|
+
"name": "rules",
|
|
4202
4409
|
"type": {
|
|
4203
|
-
"text": "
|
|
4410
|
+
"text": "Rule[]"
|
|
4204
4411
|
},
|
|
4205
|
-
"default": "
|
|
4412
|
+
"default": "[]",
|
|
4206
4413
|
"inheritedFrom": {
|
|
4207
4414
|
"name": "FoundationInboxBase",
|
|
4208
4415
|
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
@@ -4210,11 +4417,10 @@
|
|
|
4210
4417
|
},
|
|
4211
4418
|
{
|
|
4212
4419
|
"kind": "field",
|
|
4213
|
-
"name": "
|
|
4420
|
+
"name": "templateService",
|
|
4214
4421
|
"type": {
|
|
4215
|
-
"text": "
|
|
4422
|
+
"text": "TemplateService"
|
|
4216
4423
|
},
|
|
4217
|
-
"default": "{}",
|
|
4218
4424
|
"inheritedFrom": {
|
|
4219
4425
|
"name": "FoundationInboxBase",
|
|
4220
4426
|
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
@@ -4222,12 +4428,11 @@
|
|
|
4222
4428
|
},
|
|
4223
4429
|
{
|
|
4224
4430
|
"kind": "field",
|
|
4225
|
-
"name": "
|
|
4431
|
+
"name": "templates",
|
|
4226
4432
|
"type": {
|
|
4227
|
-
"text": "
|
|
4433
|
+
"text": "RuleTemplate[]"
|
|
4228
4434
|
},
|
|
4229
|
-
"
|
|
4230
|
-
"default": "0",
|
|
4435
|
+
"default": "[]",
|
|
4231
4436
|
"inheritedFrom": {
|
|
4232
4437
|
"name": "FoundationInboxBase",
|
|
4233
4438
|
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
@@ -4235,11 +4440,11 @@
|
|
|
4235
4440
|
},
|
|
4236
4441
|
{
|
|
4237
4442
|
"kind": "field",
|
|
4238
|
-
"name": "
|
|
4443
|
+
"name": "templatesFilter",
|
|
4239
4444
|
"type": {
|
|
4240
|
-
"text": "
|
|
4445
|
+
"text": "RuleTemplate[]"
|
|
4241
4446
|
},
|
|
4242
|
-
"default": "
|
|
4447
|
+
"default": "[]",
|
|
4243
4448
|
"inheritedFrom": {
|
|
4244
4449
|
"name": "FoundationInboxBase",
|
|
4245
4450
|
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
@@ -4247,11 +4452,10 @@
|
|
|
4247
4452
|
},
|
|
4248
4453
|
{
|
|
4249
4454
|
"kind": "field",
|
|
4250
|
-
"name": "
|
|
4455
|
+
"name": "routeService",
|
|
4251
4456
|
"type": {
|
|
4252
|
-
"text": "
|
|
4457
|
+
"text": "NotifyRouteService"
|
|
4253
4458
|
},
|
|
4254
|
-
"default": "null",
|
|
4255
4459
|
"inheritedFrom": {
|
|
4256
4460
|
"name": "FoundationInboxBase",
|
|
4257
4461
|
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
@@ -4259,7 +4463,80 @@
|
|
|
4259
4463
|
},
|
|
4260
4464
|
{
|
|
4261
4465
|
"kind": "field",
|
|
4262
|
-
"name": "
|
|
4466
|
+
"name": "channelAvailability",
|
|
4467
|
+
"type": {
|
|
4468
|
+
"text": "Record<string, Record<NotifyChannel, boolean>>"
|
|
4469
|
+
},
|
|
4470
|
+
"default": "{}",
|
|
4471
|
+
"inheritedFrom": {
|
|
4472
|
+
"name": "FoundationInboxBase",
|
|
4473
|
+
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
4474
|
+
}
|
|
4475
|
+
},
|
|
4476
|
+
{
|
|
4477
|
+
"kind": "field",
|
|
4478
|
+
"name": "userChannelRoutes",
|
|
4479
|
+
"type": {
|
|
4480
|
+
"text": "Record<string, Record<NotifyChannel, NotifyRoute | null>>"
|
|
4481
|
+
},
|
|
4482
|
+
"default": "{}",
|
|
4483
|
+
"inheritedFrom": {
|
|
4484
|
+
"name": "FoundationInboxBase",
|
|
4485
|
+
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
4486
|
+
}
|
|
4487
|
+
},
|
|
4488
|
+
{
|
|
4489
|
+
"kind": "field",
|
|
4490
|
+
"name": "channelTogglePending",
|
|
4491
|
+
"type": {
|
|
4492
|
+
"text": "Record<string, Partial<Record<NotifyChannel, boolean>>>"
|
|
4493
|
+
},
|
|
4494
|
+
"default": "{}",
|
|
4495
|
+
"inheritedFrom": {
|
|
4496
|
+
"name": "FoundationInboxBase",
|
|
4497
|
+
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
4498
|
+
}
|
|
4499
|
+
},
|
|
4500
|
+
{
|
|
4501
|
+
"kind": "field",
|
|
4502
|
+
"name": "channelRoutesQueryId",
|
|
4503
|
+
"type": {
|
|
4504
|
+
"text": "number"
|
|
4505
|
+
},
|
|
4506
|
+
"privacy": "private",
|
|
4507
|
+
"default": "0",
|
|
4508
|
+
"inheritedFrom": {
|
|
4509
|
+
"name": "FoundationInboxBase",
|
|
4510
|
+
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
4511
|
+
}
|
|
4512
|
+
},
|
|
4513
|
+
{
|
|
4514
|
+
"kind": "field",
|
|
4515
|
+
"name": "searchAlertLog",
|
|
4516
|
+
"type": {
|
|
4517
|
+
"text": "string"
|
|
4518
|
+
},
|
|
4519
|
+
"default": "null",
|
|
4520
|
+
"inheritedFrom": {
|
|
4521
|
+
"name": "FoundationInboxBase",
|
|
4522
|
+
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
4523
|
+
}
|
|
4524
|
+
},
|
|
4525
|
+
{
|
|
4526
|
+
"kind": "field",
|
|
4527
|
+
"name": "titleSearchValue",
|
|
4528
|
+
"type": {
|
|
4529
|
+
"text": "string"
|
|
4530
|
+
},
|
|
4531
|
+
"default": "null",
|
|
4532
|
+
"inheritedFrom": {
|
|
4533
|
+
"name": "FoundationInboxBase",
|
|
4534
|
+
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
4535
|
+
}
|
|
4536
|
+
},
|
|
4537
|
+
{
|
|
4538
|
+
"kind": "field",
|
|
4539
|
+
"name": "bodySearchValue",
|
|
4263
4540
|
"type": {
|
|
4264
4541
|
"text": "string"
|
|
4265
4542
|
},
|
|
@@ -4379,9 +4656,9 @@
|
|
|
4379
4656
|
"kind": "field",
|
|
4380
4657
|
"name": "sortDirection",
|
|
4381
4658
|
"type": {
|
|
4382
|
-
"text": "
|
|
4659
|
+
"text": "'Asc' | 'Desc'"
|
|
4383
4660
|
},
|
|
4384
|
-
"default": "'
|
|
4661
|
+
"default": "'Desc'",
|
|
4385
4662
|
"inheritedFrom": {
|
|
4386
4663
|
"name": "FoundationInboxBase",
|
|
4387
4664
|
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
@@ -4919,7 +5196,21 @@
|
|
|
4919
5196
|
"module": "/src/components/foundation-inbox/inbox-base/inbox-base"
|
|
4920
5197
|
},
|
|
4921
5198
|
"tagName": "foundation-inbox-flyout",
|
|
4922
|
-
"customElement": true
|
|
5199
|
+
"customElement": true,
|
|
5200
|
+
"attributes": [
|
|
5201
|
+
{
|
|
5202
|
+
"type": {
|
|
5203
|
+
"text": "boolean"
|
|
5204
|
+
},
|
|
5205
|
+
"default": "false",
|
|
5206
|
+
"description": "Hide the Severity filter block in the search bar. Set via the `hide-severity-filter`\nattribute or property. @public",
|
|
5207
|
+
"fieldName": "hideSeverityFilter",
|
|
5208
|
+
"inheritedFrom": {
|
|
5209
|
+
"name": "FoundationInboxBase",
|
|
5210
|
+
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
5211
|
+
}
|
|
5212
|
+
}
|
|
5213
|
+
]
|
|
4923
5214
|
}
|
|
4924
5215
|
],
|
|
4925
5216
|
"exports": [
|
|
@@ -6560,156 +6851,6 @@
|
|
|
6560
6851
|
}
|
|
6561
6852
|
]
|
|
6562
6853
|
},
|
|
6563
|
-
{
|
|
6564
|
-
"kind": "javascript-module",
|
|
6565
|
-
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
|
|
6566
|
-
"declarations": [
|
|
6567
|
-
{
|
|
6568
|
-
"kind": "variable",
|
|
6569
|
-
"name": "RuleConditionGroupTemplate",
|
|
6570
|
-
"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`"
|
|
6571
|
-
}
|
|
6572
|
-
],
|
|
6573
|
-
"exports": [
|
|
6574
|
-
{
|
|
6575
|
-
"kind": "js",
|
|
6576
|
-
"name": "RuleConditionGroupTemplate",
|
|
6577
|
-
"declaration": {
|
|
6578
|
-
"name": "RuleConditionGroupTemplate",
|
|
6579
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
|
|
6580
|
-
}
|
|
6581
|
-
}
|
|
6582
|
-
]
|
|
6583
|
-
},
|
|
6584
|
-
{
|
|
6585
|
-
"kind": "javascript-module",
|
|
6586
|
-
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
|
|
6587
|
-
"declarations": [
|
|
6588
|
-
{
|
|
6589
|
-
"kind": "class",
|
|
6590
|
-
"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.",
|
|
6591
|
-
"name": "RuleConditionGroup",
|
|
6592
|
-
"members": [
|
|
6593
|
-
{
|
|
6594
|
-
"kind": "field",
|
|
6595
|
-
"name": "node",
|
|
6596
|
-
"type": {
|
|
6597
|
-
"text": "ConditionGroupEntity"
|
|
6598
|
-
}
|
|
6599
|
-
},
|
|
6600
|
-
{
|
|
6601
|
-
"kind": "field",
|
|
6602
|
-
"name": "fields",
|
|
6603
|
-
"type": {
|
|
6604
|
-
"text": "Field[]"
|
|
6605
|
-
},
|
|
6606
|
-
"default": "[]"
|
|
6607
|
-
},
|
|
6608
|
-
{
|
|
6609
|
-
"kind": "field",
|
|
6610
|
-
"name": "isFirst",
|
|
6611
|
-
"type": {
|
|
6612
|
-
"text": "boolean"
|
|
6613
|
-
},
|
|
6614
|
-
"default": "false"
|
|
6615
|
-
},
|
|
6616
|
-
{
|
|
6617
|
-
"kind": "field",
|
|
6618
|
-
"name": "joinOperator",
|
|
6619
|
-
"type": {
|
|
6620
|
-
"text": "string"
|
|
6621
|
-
}
|
|
6622
|
-
},
|
|
6623
|
-
{
|
|
6624
|
-
"kind": "field",
|
|
6625
|
-
"name": "groupChildren",
|
|
6626
|
-
"type": {
|
|
6627
|
-
"text": "ConditionNode[]"
|
|
6628
|
-
},
|
|
6629
|
-
"default": "[]"
|
|
6630
|
-
},
|
|
6631
|
-
{
|
|
6632
|
-
"kind": "method",
|
|
6633
|
-
"name": "nodeChanged"
|
|
6634
|
-
},
|
|
6635
|
-
{
|
|
6636
|
-
"kind": "method",
|
|
6637
|
-
"name": "joinOperatorChanged"
|
|
6638
|
-
},
|
|
6639
|
-
{
|
|
6640
|
-
"kind": "method",
|
|
6641
|
-
"name": "newCondition"
|
|
6642
|
-
},
|
|
6643
|
-
{
|
|
6644
|
-
"kind": "method",
|
|
6645
|
-
"name": "newGroup"
|
|
6646
|
-
},
|
|
6647
|
-
{
|
|
6648
|
-
"kind": "method",
|
|
6649
|
-
"name": "editChild",
|
|
6650
|
-
"parameters": [
|
|
6651
|
-
{
|
|
6652
|
-
"name": "_editedChild",
|
|
6653
|
-
"type": {
|
|
6654
|
-
"text": "ConditionNode"
|
|
6655
|
-
}
|
|
6656
|
-
}
|
|
6657
|
-
]
|
|
6658
|
-
},
|
|
6659
|
-
{
|
|
6660
|
-
"kind": "method",
|
|
6661
|
-
"name": "deleteChild",
|
|
6662
|
-
"parameters": [
|
|
6663
|
-
{
|
|
6664
|
-
"name": "deletedChild",
|
|
6665
|
-
"type": {
|
|
6666
|
-
"text": "ConditionNode"
|
|
6667
|
-
}
|
|
6668
|
-
}
|
|
6669
|
-
]
|
|
6670
|
-
},
|
|
6671
|
-
{
|
|
6672
|
-
"kind": "method",
|
|
6673
|
-
"name": "deleteSelf"
|
|
6674
|
-
}
|
|
6675
|
-
],
|
|
6676
|
-
"events": [
|
|
6677
|
-
{
|
|
6678
|
-
"description": "Fired when this whole group should be removed",
|
|
6679
|
-
"name": "delete"
|
|
6680
|
-
},
|
|
6681
|
-
{
|
|
6682
|
-
"description": "Fired when anything inside this group changes",
|
|
6683
|
-
"name": "edit"
|
|
6684
|
-
}
|
|
6685
|
-
],
|
|
6686
|
-
"superclass": {
|
|
6687
|
-
"name": "GenesisElement",
|
|
6688
|
-
"package": "@genesislcap/web-core"
|
|
6689
|
-
},
|
|
6690
|
-
"tagName": "rule-condition-group",
|
|
6691
|
-
"customElement": true
|
|
6692
|
-
}
|
|
6693
|
-
],
|
|
6694
|
-
"exports": [
|
|
6695
|
-
{
|
|
6696
|
-
"kind": "js",
|
|
6697
|
-
"name": "RuleConditionGroup",
|
|
6698
|
-
"declaration": {
|
|
6699
|
-
"name": "RuleConditionGroup",
|
|
6700
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
6701
|
-
}
|
|
6702
|
-
},
|
|
6703
|
-
{
|
|
6704
|
-
"kind": "custom-element-definition",
|
|
6705
|
-
"name": "rule-condition-group",
|
|
6706
|
-
"declaration": {
|
|
6707
|
-
"name": "RuleConditionGroup",
|
|
6708
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
6709
|
-
}
|
|
6710
|
-
}
|
|
6711
|
-
]
|
|
6712
|
-
},
|
|
6713
6854
|
{
|
|
6714
6855
|
"kind": "javascript-module",
|
|
6715
6856
|
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts",
|
|
@@ -6996,34 +7137,184 @@
|
|
|
6996
7137
|
},
|
|
6997
7138
|
{
|
|
6998
7139
|
"kind": "javascript-module",
|
|
6999
|
-
"path": "src/components/foundation-notification-dashboard/components/
|
|
7140
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
|
|
7000
7141
|
"declarations": [
|
|
7001
7142
|
{
|
|
7002
7143
|
"kind": "variable",
|
|
7003
|
-
"name": "
|
|
7004
|
-
"default": "
|
|
7144
|
+
"name": "RuleConditionGroupTemplate",
|
|
7145
|
+
"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`"
|
|
7005
7146
|
}
|
|
7006
7147
|
],
|
|
7007
7148
|
"exports": [
|
|
7008
7149
|
{
|
|
7009
7150
|
"kind": "js",
|
|
7010
|
-
"name": "
|
|
7151
|
+
"name": "RuleConditionGroupTemplate",
|
|
7011
7152
|
"declaration": {
|
|
7012
|
-
"name": "
|
|
7013
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
7153
|
+
"name": "RuleConditionGroupTemplate",
|
|
7154
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
|
|
7014
7155
|
}
|
|
7015
7156
|
}
|
|
7016
7157
|
]
|
|
7017
7158
|
},
|
|
7018
7159
|
{
|
|
7019
7160
|
"kind": "javascript-module",
|
|
7020
|
-
"path": "src/components/foundation-notification-dashboard/components/
|
|
7161
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
|
|
7021
7162
|
"declarations": [
|
|
7022
7163
|
{
|
|
7023
|
-
"kind": "
|
|
7024
|
-
"
|
|
7025
|
-
"
|
|
7026
|
-
|
|
7164
|
+
"kind": "class",
|
|
7165
|
+
"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.",
|
|
7166
|
+
"name": "RuleConditionGroup",
|
|
7167
|
+
"members": [
|
|
7168
|
+
{
|
|
7169
|
+
"kind": "field",
|
|
7170
|
+
"name": "node",
|
|
7171
|
+
"type": {
|
|
7172
|
+
"text": "ConditionGroupEntity"
|
|
7173
|
+
}
|
|
7174
|
+
},
|
|
7175
|
+
{
|
|
7176
|
+
"kind": "field",
|
|
7177
|
+
"name": "fields",
|
|
7178
|
+
"type": {
|
|
7179
|
+
"text": "Field[]"
|
|
7180
|
+
},
|
|
7181
|
+
"default": "[]"
|
|
7182
|
+
},
|
|
7183
|
+
{
|
|
7184
|
+
"kind": "field",
|
|
7185
|
+
"name": "isFirst",
|
|
7186
|
+
"type": {
|
|
7187
|
+
"text": "boolean"
|
|
7188
|
+
},
|
|
7189
|
+
"default": "false"
|
|
7190
|
+
},
|
|
7191
|
+
{
|
|
7192
|
+
"kind": "field",
|
|
7193
|
+
"name": "joinOperator",
|
|
7194
|
+
"type": {
|
|
7195
|
+
"text": "string"
|
|
7196
|
+
}
|
|
7197
|
+
},
|
|
7198
|
+
{
|
|
7199
|
+
"kind": "field",
|
|
7200
|
+
"name": "groupChildren",
|
|
7201
|
+
"type": {
|
|
7202
|
+
"text": "ConditionNode[]"
|
|
7203
|
+
},
|
|
7204
|
+
"default": "[]"
|
|
7205
|
+
},
|
|
7206
|
+
{
|
|
7207
|
+
"kind": "method",
|
|
7208
|
+
"name": "nodeChanged"
|
|
7209
|
+
},
|
|
7210
|
+
{
|
|
7211
|
+
"kind": "method",
|
|
7212
|
+
"name": "joinOperatorChanged"
|
|
7213
|
+
},
|
|
7214
|
+
{
|
|
7215
|
+
"kind": "method",
|
|
7216
|
+
"name": "newCondition"
|
|
7217
|
+
},
|
|
7218
|
+
{
|
|
7219
|
+
"kind": "method",
|
|
7220
|
+
"name": "newGroup"
|
|
7221
|
+
},
|
|
7222
|
+
{
|
|
7223
|
+
"kind": "method",
|
|
7224
|
+
"name": "editChild",
|
|
7225
|
+
"parameters": [
|
|
7226
|
+
{
|
|
7227
|
+
"name": "_editedChild",
|
|
7228
|
+
"type": {
|
|
7229
|
+
"text": "ConditionNode"
|
|
7230
|
+
}
|
|
7231
|
+
}
|
|
7232
|
+
]
|
|
7233
|
+
},
|
|
7234
|
+
{
|
|
7235
|
+
"kind": "method",
|
|
7236
|
+
"name": "deleteChild",
|
|
7237
|
+
"parameters": [
|
|
7238
|
+
{
|
|
7239
|
+
"name": "deletedChild",
|
|
7240
|
+
"type": {
|
|
7241
|
+
"text": "ConditionNode"
|
|
7242
|
+
}
|
|
7243
|
+
}
|
|
7244
|
+
]
|
|
7245
|
+
},
|
|
7246
|
+
{
|
|
7247
|
+
"kind": "method",
|
|
7248
|
+
"name": "deleteSelf"
|
|
7249
|
+
}
|
|
7250
|
+
],
|
|
7251
|
+
"events": [
|
|
7252
|
+
{
|
|
7253
|
+
"description": "Fired when this whole group should be removed",
|
|
7254
|
+
"name": "delete"
|
|
7255
|
+
},
|
|
7256
|
+
{
|
|
7257
|
+
"description": "Fired when anything inside this group changes",
|
|
7258
|
+
"name": "edit"
|
|
7259
|
+
}
|
|
7260
|
+
],
|
|
7261
|
+
"superclass": {
|
|
7262
|
+
"name": "GenesisElement",
|
|
7263
|
+
"package": "@genesislcap/web-core"
|
|
7264
|
+
},
|
|
7265
|
+
"tagName": "rule-condition-group",
|
|
7266
|
+
"customElement": true
|
|
7267
|
+
}
|
|
7268
|
+
],
|
|
7269
|
+
"exports": [
|
|
7270
|
+
{
|
|
7271
|
+
"kind": "js",
|
|
7272
|
+
"name": "RuleConditionGroup",
|
|
7273
|
+
"declaration": {
|
|
7274
|
+
"name": "RuleConditionGroup",
|
|
7275
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
7276
|
+
}
|
|
7277
|
+
},
|
|
7278
|
+
{
|
|
7279
|
+
"kind": "custom-element-definition",
|
|
7280
|
+
"name": "rule-condition-group",
|
|
7281
|
+
"declaration": {
|
|
7282
|
+
"name": "RuleConditionGroup",
|
|
7283
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
7284
|
+
}
|
|
7285
|
+
}
|
|
7286
|
+
]
|
|
7287
|
+
},
|
|
7288
|
+
{
|
|
7289
|
+
"kind": "javascript-module",
|
|
7290
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
|
7291
|
+
"declarations": [
|
|
7292
|
+
{
|
|
7293
|
+
"kind": "variable",
|
|
7294
|
+
"name": "ParameterBuilderStyles",
|
|
7295
|
+
"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`"
|
|
7296
|
+
}
|
|
7297
|
+
],
|
|
7298
|
+
"exports": [
|
|
7299
|
+
{
|
|
7300
|
+
"kind": "js",
|
|
7301
|
+
"name": "ParameterBuilderStyles",
|
|
7302
|
+
"declaration": {
|
|
7303
|
+
"name": "ParameterBuilderStyles",
|
|
7304
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
|
|
7305
|
+
}
|
|
7306
|
+
}
|
|
7307
|
+
]
|
|
7308
|
+
},
|
|
7309
|
+
{
|
|
7310
|
+
"kind": "javascript-module",
|
|
7311
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
|
|
7312
|
+
"declarations": [
|
|
7313
|
+
{
|
|
7314
|
+
"kind": "variable",
|
|
7315
|
+
"name": "ParameterBuilderTemplate",
|
|
7316
|
+
"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`"
|
|
7317
|
+
}
|
|
7027
7318
|
],
|
|
7028
7319
|
"exports": [
|
|
7029
7320
|
{
|
|
@@ -7208,164 +7499,6 @@
|
|
|
7208
7499
|
}
|
|
7209
7500
|
]
|
|
7210
7501
|
},
|
|
7211
|
-
{
|
|
7212
|
-
"kind": "javascript-module",
|
|
7213
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
|
|
7214
|
-
"declarations": [
|
|
7215
|
-
{
|
|
7216
|
-
"kind": "variable",
|
|
7217
|
-
"name": "TemplateConditionGroupTemplate",
|
|
7218
|
-
"default": "html<TemplateConditionGroup>`\n ${when(\n (x) => !x.isFirst,\n html`\n <div class=\"join-toggle-row\">\n <div class=\"join-toggle\">\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'AND'])}\"\n @click=${(x) => (x.joinOperator = 'AND')}\n >\n AND\n </span>\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'OR'])}\"\n @click=${(x) => (x.joinOperator = 'OR')}\n >\n OR\n </span>\n </div>\n </div>\n `,\n )}\n <div class=\"condition-group-row\">\n <div class=\"condition-group-box\">\n ${repeat(\n (x) => x.groupChildren,\n html<ConditionNode, TemplateConditionGroup>`\n ${when(\n (x) => isGroup(x),\n html<ConditionNode>`\n <template-condition-group\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\n :node=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></template-condition-group>\n `,\n )}\n ${when(\n (x) => !isGroup(x),\n html<ConditionNode>`\n <template-condition-builder\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\n :condition=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></template-condition-builder>\n `,\n )}\n `,\n { positioning: true },\n )}\n\n <div class=\"content-row\">\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newCondition()}>\n + Condition\n </rapid-button>\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newGroup()}>+ Group</rapid-button>\n <rapid-button appearance=\"icon\" class=\"delete-group\" @click=${(x) => x.deleteSelf()}>\n <rapid-icon variant=\"regular\" name=\"trash-alt\" size=\"lg\" part=\"icon\"></rapid-icon>\n </rapid-button>\n </div>\n </div>\n </div>\n`"
|
|
7219
|
-
}
|
|
7220
|
-
],
|
|
7221
|
-
"exports": [
|
|
7222
|
-
{
|
|
7223
|
-
"kind": "js",
|
|
7224
|
-
"name": "TemplateConditionGroupTemplate",
|
|
7225
|
-
"declaration": {
|
|
7226
|
-
"name": "TemplateConditionGroupTemplate",
|
|
7227
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts"
|
|
7228
|
-
}
|
|
7229
|
-
}
|
|
7230
|
-
]
|
|
7231
|
-
},
|
|
7232
|
-
{
|
|
7233
|
-
"kind": "javascript-module",
|
|
7234
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts",
|
|
7235
|
-
"declarations": [
|
|
7236
|
-
{
|
|
7237
|
-
"kind": "class",
|
|
7238
|
-
"description": "Parenthesized group of conditions/nested groups for notification template\ncriteria - see rule-condition-group for the rationale. Also forwards\n:parameters down to nested template-condition-builder rows so parameter\nbinding (USER_ENTRY) keeps working inside a group.",
|
|
7239
|
-
"name": "TemplateConditionGroup",
|
|
7240
|
-
"members": [
|
|
7241
|
-
{
|
|
7242
|
-
"kind": "field",
|
|
7243
|
-
"name": "node",
|
|
7244
|
-
"type": {
|
|
7245
|
-
"text": "ConditionGroupEntity"
|
|
7246
|
-
}
|
|
7247
|
-
},
|
|
7248
|
-
{
|
|
7249
|
-
"kind": "field",
|
|
7250
|
-
"name": "fields",
|
|
7251
|
-
"type": {
|
|
7252
|
-
"text": "Field[]"
|
|
7253
|
-
},
|
|
7254
|
-
"default": "[]"
|
|
7255
|
-
},
|
|
7256
|
-
{
|
|
7257
|
-
"kind": "field",
|
|
7258
|
-
"name": "parameters",
|
|
7259
|
-
"type": {
|
|
7260
|
-
"text": "Array<ParameterBuilderEntity>"
|
|
7261
|
-
},
|
|
7262
|
-
"default": "[]"
|
|
7263
|
-
},
|
|
7264
|
-
{
|
|
7265
|
-
"kind": "field",
|
|
7266
|
-
"name": "isFirst",
|
|
7267
|
-
"type": {
|
|
7268
|
-
"text": "boolean"
|
|
7269
|
-
},
|
|
7270
|
-
"default": "false"
|
|
7271
|
-
},
|
|
7272
|
-
{
|
|
7273
|
-
"kind": "field",
|
|
7274
|
-
"name": "joinOperator",
|
|
7275
|
-
"type": {
|
|
7276
|
-
"text": "string"
|
|
7277
|
-
}
|
|
7278
|
-
},
|
|
7279
|
-
{
|
|
7280
|
-
"kind": "field",
|
|
7281
|
-
"name": "groupChildren",
|
|
7282
|
-
"type": {
|
|
7283
|
-
"text": "ConditionNode[]"
|
|
7284
|
-
},
|
|
7285
|
-
"default": "[]"
|
|
7286
|
-
},
|
|
7287
|
-
{
|
|
7288
|
-
"kind": "method",
|
|
7289
|
-
"name": "nodeChanged"
|
|
7290
|
-
},
|
|
7291
|
-
{
|
|
7292
|
-
"kind": "method",
|
|
7293
|
-
"name": "joinOperatorChanged"
|
|
7294
|
-
},
|
|
7295
|
-
{
|
|
7296
|
-
"kind": "method",
|
|
7297
|
-
"name": "newCondition"
|
|
7298
|
-
},
|
|
7299
|
-
{
|
|
7300
|
-
"kind": "method",
|
|
7301
|
-
"name": "newGroup"
|
|
7302
|
-
},
|
|
7303
|
-
{
|
|
7304
|
-
"kind": "method",
|
|
7305
|
-
"name": "editChild",
|
|
7306
|
-
"parameters": [
|
|
7307
|
-
{
|
|
7308
|
-
"name": "_editedChild",
|
|
7309
|
-
"type": {
|
|
7310
|
-
"text": "ConditionNode"
|
|
7311
|
-
}
|
|
7312
|
-
}
|
|
7313
|
-
]
|
|
7314
|
-
},
|
|
7315
|
-
{
|
|
7316
|
-
"kind": "method",
|
|
7317
|
-
"name": "deleteChild",
|
|
7318
|
-
"parameters": [
|
|
7319
|
-
{
|
|
7320
|
-
"name": "deletedChild",
|
|
7321
|
-
"type": {
|
|
7322
|
-
"text": "ConditionNode"
|
|
7323
|
-
}
|
|
7324
|
-
}
|
|
7325
|
-
]
|
|
7326
|
-
},
|
|
7327
|
-
{
|
|
7328
|
-
"kind": "method",
|
|
7329
|
-
"name": "deleteSelf"
|
|
7330
|
-
}
|
|
7331
|
-
],
|
|
7332
|
-
"events": [
|
|
7333
|
-
{
|
|
7334
|
-
"description": "Fired when this whole group should be removed",
|
|
7335
|
-
"name": "delete"
|
|
7336
|
-
},
|
|
7337
|
-
{
|
|
7338
|
-
"description": "Fired when anything inside this group changes",
|
|
7339
|
-
"name": "edit"
|
|
7340
|
-
}
|
|
7341
|
-
],
|
|
7342
|
-
"superclass": {
|
|
7343
|
-
"name": "GenesisElement",
|
|
7344
|
-
"package": "@genesislcap/web-core"
|
|
7345
|
-
},
|
|
7346
|
-
"tagName": "template-condition-group",
|
|
7347
|
-
"customElement": true
|
|
7348
|
-
}
|
|
7349
|
-
],
|
|
7350
|
-
"exports": [
|
|
7351
|
-
{
|
|
7352
|
-
"kind": "js",
|
|
7353
|
-
"name": "TemplateConditionGroup",
|
|
7354
|
-
"declaration": {
|
|
7355
|
-
"name": "TemplateConditionGroup",
|
|
7356
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
|
|
7357
|
-
}
|
|
7358
|
-
},
|
|
7359
|
-
{
|
|
7360
|
-
"kind": "custom-element-definition",
|
|
7361
|
-
"name": "template-condition-group",
|
|
7362
|
-
"declaration": {
|
|
7363
|
-
"name": "TemplateConditionGroup",
|
|
7364
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
|
|
7365
|
-
}
|
|
7366
|
-
}
|
|
7367
|
-
]
|
|
7368
|
-
},
|
|
7369
7502
|
{
|
|
7370
7503
|
"kind": "javascript-module",
|
|
7371
7504
|
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts",
|
|
@@ -7657,6 +7790,164 @@
|
|
|
7657
7790
|
}
|
|
7658
7791
|
}
|
|
7659
7792
|
]
|
|
7793
|
+
},
|
|
7794
|
+
{
|
|
7795
|
+
"kind": "javascript-module",
|
|
7796
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
|
|
7797
|
+
"declarations": [
|
|
7798
|
+
{
|
|
7799
|
+
"kind": "variable",
|
|
7800
|
+
"name": "TemplateConditionGroupTemplate",
|
|
7801
|
+
"default": "html<TemplateConditionGroup>`\n ${when(\n (x) => !x.isFirst,\n html`\n <div class=\"join-toggle-row\">\n <div class=\"join-toggle\">\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'AND'])}\"\n @click=${(x) => (x.joinOperator = 'AND')}\n >\n AND\n </span>\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'OR'])}\"\n @click=${(x) => (x.joinOperator = 'OR')}\n >\n OR\n </span>\n </div>\n </div>\n `,\n )}\n <div class=\"condition-group-row\">\n <div class=\"condition-group-box\">\n ${repeat(\n (x) => x.groupChildren,\n html<ConditionNode, TemplateConditionGroup>`\n ${when(\n (x) => isGroup(x),\n html<ConditionNode>`\n <template-condition-group\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\n :node=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></template-condition-group>\n `,\n )}\n ${when(\n (x) => !isGroup(x),\n html<ConditionNode>`\n <template-condition-builder\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\n :condition=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></template-condition-builder>\n `,\n )}\n `,\n { positioning: true },\n )}\n\n <div class=\"content-row\">\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newCondition()}>\n + Condition\n </rapid-button>\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newGroup()}>+ Group</rapid-button>\n <rapid-button appearance=\"icon\" class=\"delete-group\" @click=${(x) => x.deleteSelf()}>\n <rapid-icon variant=\"regular\" name=\"trash-alt\" size=\"lg\" part=\"icon\"></rapid-icon>\n </rapid-button>\n </div>\n </div>\n </div>\n`"
|
|
7802
|
+
}
|
|
7803
|
+
],
|
|
7804
|
+
"exports": [
|
|
7805
|
+
{
|
|
7806
|
+
"kind": "js",
|
|
7807
|
+
"name": "TemplateConditionGroupTemplate",
|
|
7808
|
+
"declaration": {
|
|
7809
|
+
"name": "TemplateConditionGroupTemplate",
|
|
7810
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts"
|
|
7811
|
+
}
|
|
7812
|
+
}
|
|
7813
|
+
]
|
|
7814
|
+
},
|
|
7815
|
+
{
|
|
7816
|
+
"kind": "javascript-module",
|
|
7817
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts",
|
|
7818
|
+
"declarations": [
|
|
7819
|
+
{
|
|
7820
|
+
"kind": "class",
|
|
7821
|
+
"description": "Parenthesized group of conditions/nested groups for notification template\ncriteria - see rule-condition-group for the rationale. Also forwards\n:parameters down to nested template-condition-builder rows so parameter\nbinding (USER_ENTRY) keeps working inside a group.",
|
|
7822
|
+
"name": "TemplateConditionGroup",
|
|
7823
|
+
"members": [
|
|
7824
|
+
{
|
|
7825
|
+
"kind": "field",
|
|
7826
|
+
"name": "node",
|
|
7827
|
+
"type": {
|
|
7828
|
+
"text": "ConditionGroupEntity"
|
|
7829
|
+
}
|
|
7830
|
+
},
|
|
7831
|
+
{
|
|
7832
|
+
"kind": "field",
|
|
7833
|
+
"name": "fields",
|
|
7834
|
+
"type": {
|
|
7835
|
+
"text": "Field[]"
|
|
7836
|
+
},
|
|
7837
|
+
"default": "[]"
|
|
7838
|
+
},
|
|
7839
|
+
{
|
|
7840
|
+
"kind": "field",
|
|
7841
|
+
"name": "parameters",
|
|
7842
|
+
"type": {
|
|
7843
|
+
"text": "Array<ParameterBuilderEntity>"
|
|
7844
|
+
},
|
|
7845
|
+
"default": "[]"
|
|
7846
|
+
},
|
|
7847
|
+
{
|
|
7848
|
+
"kind": "field",
|
|
7849
|
+
"name": "isFirst",
|
|
7850
|
+
"type": {
|
|
7851
|
+
"text": "boolean"
|
|
7852
|
+
},
|
|
7853
|
+
"default": "false"
|
|
7854
|
+
},
|
|
7855
|
+
{
|
|
7856
|
+
"kind": "field",
|
|
7857
|
+
"name": "joinOperator",
|
|
7858
|
+
"type": {
|
|
7859
|
+
"text": "string"
|
|
7860
|
+
}
|
|
7861
|
+
},
|
|
7862
|
+
{
|
|
7863
|
+
"kind": "field",
|
|
7864
|
+
"name": "groupChildren",
|
|
7865
|
+
"type": {
|
|
7866
|
+
"text": "ConditionNode[]"
|
|
7867
|
+
},
|
|
7868
|
+
"default": "[]"
|
|
7869
|
+
},
|
|
7870
|
+
{
|
|
7871
|
+
"kind": "method",
|
|
7872
|
+
"name": "nodeChanged"
|
|
7873
|
+
},
|
|
7874
|
+
{
|
|
7875
|
+
"kind": "method",
|
|
7876
|
+
"name": "joinOperatorChanged"
|
|
7877
|
+
},
|
|
7878
|
+
{
|
|
7879
|
+
"kind": "method",
|
|
7880
|
+
"name": "newCondition"
|
|
7881
|
+
},
|
|
7882
|
+
{
|
|
7883
|
+
"kind": "method",
|
|
7884
|
+
"name": "newGroup"
|
|
7885
|
+
},
|
|
7886
|
+
{
|
|
7887
|
+
"kind": "method",
|
|
7888
|
+
"name": "editChild",
|
|
7889
|
+
"parameters": [
|
|
7890
|
+
{
|
|
7891
|
+
"name": "_editedChild",
|
|
7892
|
+
"type": {
|
|
7893
|
+
"text": "ConditionNode"
|
|
7894
|
+
}
|
|
7895
|
+
}
|
|
7896
|
+
]
|
|
7897
|
+
},
|
|
7898
|
+
{
|
|
7899
|
+
"kind": "method",
|
|
7900
|
+
"name": "deleteChild",
|
|
7901
|
+
"parameters": [
|
|
7902
|
+
{
|
|
7903
|
+
"name": "deletedChild",
|
|
7904
|
+
"type": {
|
|
7905
|
+
"text": "ConditionNode"
|
|
7906
|
+
}
|
|
7907
|
+
}
|
|
7908
|
+
]
|
|
7909
|
+
},
|
|
7910
|
+
{
|
|
7911
|
+
"kind": "method",
|
|
7912
|
+
"name": "deleteSelf"
|
|
7913
|
+
}
|
|
7914
|
+
],
|
|
7915
|
+
"events": [
|
|
7916
|
+
{
|
|
7917
|
+
"description": "Fired when this whole group should be removed",
|
|
7918
|
+
"name": "delete"
|
|
7919
|
+
},
|
|
7920
|
+
{
|
|
7921
|
+
"description": "Fired when anything inside this group changes",
|
|
7922
|
+
"name": "edit"
|
|
7923
|
+
}
|
|
7924
|
+
],
|
|
7925
|
+
"superclass": {
|
|
7926
|
+
"name": "GenesisElement",
|
|
7927
|
+
"package": "@genesislcap/web-core"
|
|
7928
|
+
},
|
|
7929
|
+
"tagName": "template-condition-group",
|
|
7930
|
+
"customElement": true
|
|
7931
|
+
}
|
|
7932
|
+
],
|
|
7933
|
+
"exports": [
|
|
7934
|
+
{
|
|
7935
|
+
"kind": "js",
|
|
7936
|
+
"name": "TemplateConditionGroup",
|
|
7937
|
+
"declaration": {
|
|
7938
|
+
"name": "TemplateConditionGroup",
|
|
7939
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
|
|
7940
|
+
}
|
|
7941
|
+
},
|
|
7942
|
+
{
|
|
7943
|
+
"kind": "custom-element-definition",
|
|
7944
|
+
"name": "template-condition-group",
|
|
7945
|
+
"declaration": {
|
|
7946
|
+
"name": "TemplateConditionGroup",
|
|
7947
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
|
|
7948
|
+
}
|
|
7949
|
+
}
|
|
7950
|
+
]
|
|
7660
7951
|
}
|
|
7661
7952
|
]
|
|
7662
7953
|
}
|