@genesislcap/pbc-notify-ui 15.67.0 → 15.68.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 +738 -584
- package/dist/dts/components/foundation-inbox/inbox-base/inbox-base.d.ts +5 -0
- package/dist/dts/components/foundation-inbox/inbox-base/inbox-base.d.ts.map +1 -1
- package/dist/dts/react.d.ts +19 -19
- package/dist/esm/components/foundation-inbox/inbox-base/inbox-base.js +12 -4
- package/dist/esm/components/foundation-inbox/inbox.template.js +1 -1
- package/dist/pbc-notify-ui.d.ts +5 -0
- package/dist/react.cjs +12 -12
- package/dist/react.mjs +10 -10
- package/package.json +22 -22
|
@@ -972,6 +972,7 @@
|
|
|
972
972
|
"customElement": true,
|
|
973
973
|
"attributes": [
|
|
974
974
|
{
|
|
975
|
+
"name": "hide-severity-filter",
|
|
975
976
|
"type": {
|
|
976
977
|
"text": "boolean"
|
|
977
978
|
},
|
|
@@ -982,6 +983,58 @@
|
|
|
982
983
|
"name": "FoundationInboxBase",
|
|
983
984
|
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
984
985
|
}
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
"name": "hide-date-range",
|
|
989
|
+
"type": {
|
|
990
|
+
"text": "boolean"
|
|
991
|
+
},
|
|
992
|
+
"default": "false",
|
|
993
|
+
"description": "Hide the Date Range filter block in the search bar. Set via the `hide-date-range`\nattribute or property. @public",
|
|
994
|
+
"fieldName": "hideDateRange",
|
|
995
|
+
"inheritedFrom": {
|
|
996
|
+
"name": "FoundationInboxBase",
|
|
997
|
+
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
998
|
+
}
|
|
999
|
+
},
|
|
1000
|
+
{
|
|
1001
|
+
"name": "hide-title-search",
|
|
1002
|
+
"type": {
|
|
1003
|
+
"text": "boolean"
|
|
1004
|
+
},
|
|
1005
|
+
"default": "false",
|
|
1006
|
+
"description": "Hide the Search-by-Title field in the search bar. Set via the `hide-title-search`\nattribute or property. @public",
|
|
1007
|
+
"fieldName": "hideTitleSearch",
|
|
1008
|
+
"inheritedFrom": {
|
|
1009
|
+
"name": "FoundationInboxBase",
|
|
1010
|
+
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
1011
|
+
}
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
"name": "hide-body-search",
|
|
1015
|
+
"type": {
|
|
1016
|
+
"text": "boolean"
|
|
1017
|
+
},
|
|
1018
|
+
"default": "false",
|
|
1019
|
+
"description": "Hide the Search-by-Body field in the search bar. Set via the `hide-body-search`\nattribute or property. @public",
|
|
1020
|
+
"fieldName": "hideBodySearch",
|
|
1021
|
+
"inheritedFrom": {
|
|
1022
|
+
"name": "FoundationInboxBase",
|
|
1023
|
+
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
1024
|
+
}
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
"name": "hide-clear-all",
|
|
1028
|
+
"type": {
|
|
1029
|
+
"text": "boolean"
|
|
1030
|
+
},
|
|
1031
|
+
"default": "false",
|
|
1032
|
+
"description": "Hide the Clear All Alerts button on the Alerts tab. Set via the `hide-clear-all`\nattribute or property. Per-item dismiss is unchanged. @public",
|
|
1033
|
+
"fieldName": "hideClearAll",
|
|
1034
|
+
"inheritedFrom": {
|
|
1035
|
+
"name": "FoundationInboxBase",
|
|
1036
|
+
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
1037
|
+
}
|
|
985
1038
|
}
|
|
986
1039
|
],
|
|
987
1040
|
"members": [
|
|
@@ -1144,6 +1197,19 @@
|
|
|
1144
1197
|
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
1145
1198
|
}
|
|
1146
1199
|
},
|
|
1200
|
+
{
|
|
1201
|
+
"kind": "field",
|
|
1202
|
+
"name": "hideClearAll",
|
|
1203
|
+
"type": {
|
|
1204
|
+
"text": "boolean"
|
|
1205
|
+
},
|
|
1206
|
+
"default": "false",
|
|
1207
|
+
"description": "Hide the Clear All Alerts button on the Alerts tab. Set via the `hide-clear-all`\nattribute or property. Per-item dismiss is unchanged. @public",
|
|
1208
|
+
"inheritedFrom": {
|
|
1209
|
+
"name": "FoundationInboxBase",
|
|
1210
|
+
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
1211
|
+
}
|
|
1212
|
+
},
|
|
1147
1213
|
{
|
|
1148
1214
|
"kind": "field",
|
|
1149
1215
|
"name": "onAlertClick",
|
|
@@ -4412,6 +4478,15 @@
|
|
|
4412
4478
|
"default": "false",
|
|
4413
4479
|
"description": "Hide the Search-by-Body field in the search bar. Set via the `hide-body-search`\nattribute or property. @public"
|
|
4414
4480
|
},
|
|
4481
|
+
{
|
|
4482
|
+
"kind": "field",
|
|
4483
|
+
"name": "hideClearAll",
|
|
4484
|
+
"type": {
|
|
4485
|
+
"text": "boolean"
|
|
4486
|
+
},
|
|
4487
|
+
"default": "false",
|
|
4488
|
+
"description": "Hide the Clear All Alerts button on the Alerts tab. Set via the `hide-clear-all`\nattribute or property. Per-item dismiss is unchanged. @public"
|
|
4489
|
+
},
|
|
4415
4490
|
{
|
|
4416
4491
|
"kind": "field",
|
|
4417
4492
|
"name": "onAlertClick",
|
|
@@ -5158,6 +5233,7 @@
|
|
|
5158
5233
|
],
|
|
5159
5234
|
"attributes": [
|
|
5160
5235
|
{
|
|
5236
|
+
"name": "hide-severity-filter",
|
|
5161
5237
|
"type": {
|
|
5162
5238
|
"text": "boolean"
|
|
5163
5239
|
},
|
|
@@ -5166,6 +5242,7 @@
|
|
|
5166
5242
|
"fieldName": "hideSeverityFilter"
|
|
5167
5243
|
},
|
|
5168
5244
|
{
|
|
5245
|
+
"name": "hide-date-range",
|
|
5169
5246
|
"type": {
|
|
5170
5247
|
"text": "boolean"
|
|
5171
5248
|
},
|
|
@@ -5174,6 +5251,7 @@
|
|
|
5174
5251
|
"fieldName": "hideDateRange"
|
|
5175
5252
|
},
|
|
5176
5253
|
{
|
|
5254
|
+
"name": "hide-title-search",
|
|
5177
5255
|
"type": {
|
|
5178
5256
|
"text": "boolean"
|
|
5179
5257
|
},
|
|
@@ -5182,12 +5260,22 @@
|
|
|
5182
5260
|
"fieldName": "hideTitleSearch"
|
|
5183
5261
|
},
|
|
5184
5262
|
{
|
|
5263
|
+
"name": "hide-body-search",
|
|
5185
5264
|
"type": {
|
|
5186
5265
|
"text": "boolean"
|
|
5187
5266
|
},
|
|
5188
5267
|
"default": "false",
|
|
5189
5268
|
"description": "Hide the Search-by-Body field in the search bar. Set via the `hide-body-search`\nattribute or property. @public",
|
|
5190
5269
|
"fieldName": "hideBodySearch"
|
|
5270
|
+
},
|
|
5271
|
+
{
|
|
5272
|
+
"name": "hide-clear-all",
|
|
5273
|
+
"type": {
|
|
5274
|
+
"text": "boolean"
|
|
5275
|
+
},
|
|
5276
|
+
"default": "false",
|
|
5277
|
+
"description": "Hide the Clear All Alerts button on the Alerts tab. Set via the `hide-clear-all`\nattribute or property. Per-item dismiss is unchanged. @public",
|
|
5278
|
+
"fieldName": "hideClearAll"
|
|
5191
5279
|
}
|
|
5192
5280
|
],
|
|
5193
5281
|
"superclass": {
|
|
@@ -5207,6 +5295,95 @@
|
|
|
5207
5295
|
}
|
|
5208
5296
|
]
|
|
5209
5297
|
},
|
|
5298
|
+
{
|
|
5299
|
+
"kind": "javascript-module",
|
|
5300
|
+
"path": "src/components/foundation-notification-dashboard/styles/condition-builder.styles.ts",
|
|
5301
|
+
"declarations": [
|
|
5302
|
+
{
|
|
5303
|
+
"kind": "variable",
|
|
5304
|
+
"name": "ConditionBuilderStyles",
|
|
5305
|
+
"default": "css`\n .condition-builder {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n align-items: center;\n margin-bottom: calc(var(--design-unit) * 2px);\n }\n\n rapid-button {\n margin: 0;\n }\n\n /* The AND/OR toggle sits on its own row ABOVE the condition it joins,\n rendered as a pair of small text links rather than buttons - reads like\n a sentence connector (\"... and ...\") instead of a UI control competing\n with the row's fields for attention. */\n .join-toggle-row {\n display: flex;\n margin-bottom: calc(var(--design-unit) * 1px);\n }\n\n .join-toggle {\n display: flex;\n gap: calc(var(--design-unit) * 1.5px);\n }\n\n .join-text {\n font-size: 11px;\n font-weight: 700;\n letter-spacing: 0.02em;\n color: var(--accent-fill-rest);\n cursor: pointer;\n text-decoration: underline dotted;\n text-underline-offset: 3px;\n opacity: 40%;\n }\n\n .join-text:hover {\n opacity: 70%;\n }\n\n .join-text.active {\n opacity: 100%;\n text-decoration: underline solid;\n }\n\n .join-text.active:hover {\n opacity: 100%;\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.left-value::part(control) {\n width: 250px;\n }\n\n rapid-select.logical-operator::part(control) {\n width: 160px;\n }\n\n .logical-operator-null-and-blank {\n width: 100%;\n }\n\n rapid-select.right-criteria::part(control) {\n width: 135px;\n }\n\n rapid-select.right-criteria-user-entry {\n width: 100%;\n }\n\n rapid-select.right-criteria-select {\n width: 100%;\n min-width: 0;\n }\n\n rapid-select::part(listbox) {\n max-height: 160px;\n }\n`"
|
|
5306
|
+
},
|
|
5307
|
+
{
|
|
5308
|
+
"kind": "variable",
|
|
5309
|
+
"name": "ConditionGroupStyles",
|
|
5310
|
+
"default": "css`\n .condition-group-row {\n margin-bottom: calc(var(--design-unit) * 2px);\n }\n\n /* The AND/OR toggle sits on its own row ABOVE the group it joins - see\n ConditionBuilderStyles' .join-toggle-row/.join-text for why it's a pair\n of text links rather than buttons. */\n .join-toggle-row {\n display: flex;\n margin-bottom: calc(var(--design-unit) * 1px);\n }\n\n .join-toggle {\n display: flex;\n gap: calc(var(--design-unit) * 1.5px);\n }\n\n .join-text {\n font-size: 11px;\n font-weight: 700;\n letter-spacing: 0.02em;\n color: var(--accent-fill-rest);\n cursor: pointer;\n text-decoration: underline dotted;\n text-underline-offset: 3px;\n opacity: 40%;\n }\n\n .join-text:hover {\n opacity: 70%;\n }\n\n .join-text.active {\n opacity: 100%;\n text-decoration: underline solid;\n }\n\n .join-text.active:hover {\n opacity: 100%;\n }\n\n /* A full bordered box reads as \"this is one parenthesized unit\" more\n literally than a left rail - it nests naturally too, a group inside a\n group just gets a second box drawn inside the first, like actual nested\n parens would look. */\n .condition-group-box {\n flex: 1;\n min-width: 0;\n border: calc(var(--design-unit) * 0.5px) solid\n color-mix(in srgb, var(--accent-fill-rest), transparent 25%);\n border-radius: calc(var(--design-unit) * 1px);\n padding: calc(var(--design-unit) * 2px);\n background-color: color-mix(in srgb, var(--accent-fill-rest), transparent 96%);\n }\n\n .condition-group-box > .content-row {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n align-items: center;\n margin-top: calc(var(--design-unit) * 1px);\n }\n\n .condition-group-box > .content-row rapid-button {\n font-size: 12px;\n }\n\n rule-condition-builder,\n rule-condition-group,\n template-condition-builder,\n template-condition-group {\n display: block;\n margin-bottom: calc(var(--design-unit) * 1px);\n }\n\n .delete-group {\n margin: 0;\n opacity: 60%;\n }\n\n .delete-group:hover {\n opacity: 100%;\n }\n`"
|
|
5311
|
+
}
|
|
5312
|
+
],
|
|
5313
|
+
"exports": [
|
|
5314
|
+
{
|
|
5315
|
+
"kind": "js",
|
|
5316
|
+
"name": "ConditionBuilderStyles",
|
|
5317
|
+
"declaration": {
|
|
5318
|
+
"name": "ConditionBuilderStyles",
|
|
5319
|
+
"module": "src/components/foundation-notification-dashboard/styles/condition-builder.styles.ts"
|
|
5320
|
+
}
|
|
5321
|
+
},
|
|
5322
|
+
{
|
|
5323
|
+
"kind": "js",
|
|
5324
|
+
"name": "ConditionGroupStyles",
|
|
5325
|
+
"declaration": {
|
|
5326
|
+
"name": "ConditionGroupStyles",
|
|
5327
|
+
"module": "src/components/foundation-notification-dashboard/styles/condition-builder.styles.ts"
|
|
5328
|
+
}
|
|
5329
|
+
}
|
|
5330
|
+
]
|
|
5331
|
+
},
|
|
5332
|
+
{
|
|
5333
|
+
"kind": "javascript-module",
|
|
5334
|
+
"path": "src/components/foundation-notification-dashboard/styles/dynamic-rule.styles.ts",
|
|
5335
|
+
"declarations": [
|
|
5336
|
+
{
|
|
5337
|
+
"kind": "variable",
|
|
5338
|
+
"name": "DynamicRuleManagementStyles",
|
|
5339
|
+
"default": "css`\n .container {\n display: flex;\n height: 100%;\n flex-direction: column;\n }\n\n .header {\n display: flex;\n flex-direction: row-reverse;\n }\n\n .grid {\n height: 100%;\n }\n`"
|
|
5340
|
+
},
|
|
5341
|
+
{
|
|
5342
|
+
"kind": "variable",
|
|
5343
|
+
"name": "DynamicRuleDialogStyles",
|
|
5344
|
+
"default": "css`\n ${scrollbarStyles}\n ${top}\n ${bottom}\n\n rapid-modal::part(dialog) {\n padding: 0;\n background: var(--neutral-layer-4);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n }\n\n .dialog-content {\n display: flex;\n flex-direction: column;\n width: ${String(modalWidthPx)}px;\n max-height: 600px;\n overflow-y: scroll;\n gap: calc(var(--design-unit) * 3px);\n padding: calc(var(--design-unit) * 4px);\n }\n\n .content-row {\n display: flex;\n gap: calc(var(--design-unit) * 3px);\n }\n\n .control {\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .topic-lock-hint {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: var(--type-ramp-minus-1-font-size);\n line-height: var(--type-ramp-minus-1-line-height);\n }\n\n .items {\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n display: flex;\n padding: calc(var(--design-unit) * 2px);\n flex-direction: column;\n }\n\n .item {\n gap: 0;\n flex-direction: column;\n margin-bottom: 0;\n }\n\n ${textField}\n ${select}\n\n rapid-button {\n margin: 0;\n }\n\n rapid-select {\n min-width: 0;\n }\n\n rapid-select::part(listbox) {\n max-height: 160px;\n }\n\n .horizontal {\n flex-direction: row;\n }\n\n .destination {\n align-self: center;\n }\n\n .topic {\n min-width: revert-layer;\n }\n\n .expression-preview {\n width: 100%;\n margin-top: calc(var(--design-unit) * 2px);\n }\n\n .expression-preview::part(control) {\n font-family: var(--body-font, monospace);\n font-size: 12px;\n color: var(--neutral-foreground-hint);\n min-height: calc(var(--design-unit) * 12px);\n resize: vertical;\n }\n\n .alert-sound {\n display: flex;\n flex-direction: column;\n gap: calc(var(--design-unit) * 2px);\n margin-top: calc(var(--design-unit) * 2px);\n }\n\n .alert-sound .file-input {\n display: none;\n }\n\n .alert-sound-row {\n display: flex;\n align-items: center;\n gap: calc(var(--design-unit) * 2px);\n flex-wrap: wrap;\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n padding: calc(var(--design-unit) * 2px);\n }\n\n .alert-sound-name {\n flex: 1;\n min-width: 120px;\n color: var(--neutral-foreground-hint);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n`"
|
|
5345
|
+
}
|
|
5346
|
+
],
|
|
5347
|
+
"exports": [
|
|
5348
|
+
{
|
|
5349
|
+
"kind": "js",
|
|
5350
|
+
"name": "DynamicRuleManagementStyles",
|
|
5351
|
+
"declaration": {
|
|
5352
|
+
"name": "DynamicRuleManagementStyles",
|
|
5353
|
+
"module": "src/components/foundation-notification-dashboard/styles/dynamic-rule.styles.ts"
|
|
5354
|
+
}
|
|
5355
|
+
},
|
|
5356
|
+
{
|
|
5357
|
+
"kind": "js",
|
|
5358
|
+
"name": "DynamicRuleDialogStyles",
|
|
5359
|
+
"declaration": {
|
|
5360
|
+
"name": "DynamicRuleDialogStyles",
|
|
5361
|
+
"module": "src/components/foundation-notification-dashboard/styles/dynamic-rule.styles.ts"
|
|
5362
|
+
}
|
|
5363
|
+
}
|
|
5364
|
+
]
|
|
5365
|
+
},
|
|
5366
|
+
{
|
|
5367
|
+
"kind": "javascript-module",
|
|
5368
|
+
"path": "src/components/foundation-notification-dashboard/styles/management.styles.ts",
|
|
5369
|
+
"declarations": [
|
|
5370
|
+
{
|
|
5371
|
+
"kind": "variable",
|
|
5372
|
+
"name": "managementGridStyles",
|
|
5373
|
+
"default": "css`\n :host {\n height: 100%;\n }\n\n .container {\n display: flex;\n height: 100%;\n flex-direction: column;\n }\n\n .header {\n display: flex;\n }\n\n .grid {\n height: 100%;\n }\n`"
|
|
5374
|
+
}
|
|
5375
|
+
],
|
|
5376
|
+
"exports": [
|
|
5377
|
+
{
|
|
5378
|
+
"kind": "js",
|
|
5379
|
+
"name": "managementGridStyles",
|
|
5380
|
+
"declaration": {
|
|
5381
|
+
"name": "managementGridStyles",
|
|
5382
|
+
"module": "src/components/foundation-notification-dashboard/styles/management.styles.ts"
|
|
5383
|
+
}
|
|
5384
|
+
}
|
|
5385
|
+
]
|
|
5386
|
+
},
|
|
5210
5387
|
{
|
|
5211
5388
|
"kind": "javascript-module",
|
|
5212
5389
|
"path": "src/components/foundation-notification-dashboard/types/expression-type.ts",
|
|
@@ -5809,281 +5986,49 @@
|
|
|
5809
5986
|
},
|
|
5810
5987
|
{
|
|
5811
5988
|
"kind": "javascript-module",
|
|
5812
|
-
"path": "src/components/foundation-
|
|
5813
|
-
"declarations": [
|
|
5814
|
-
{
|
|
5815
|
-
"kind": "variable",
|
|
5816
|
-
"name": "ConditionBuilderStyles",
|
|
5817
|
-
"default": "css`\n .condition-builder {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n align-items: center;\n margin-bottom: calc(var(--design-unit) * 2px);\n }\n\n rapid-button {\n margin: 0;\n }\n\n /* The AND/OR toggle sits on its own row ABOVE the condition it joins,\n rendered as a pair of small text links rather than buttons - reads like\n a sentence connector (\"... and ...\") instead of a UI control competing\n with the row's fields for attention. */\n .join-toggle-row {\n display: flex;\n margin-bottom: calc(var(--design-unit) * 1px);\n }\n\n .join-toggle {\n display: flex;\n gap: calc(var(--design-unit) * 1.5px);\n }\n\n .join-text {\n font-size: 11px;\n font-weight: 700;\n letter-spacing: 0.02em;\n color: var(--accent-fill-rest);\n cursor: pointer;\n text-decoration: underline dotted;\n text-underline-offset: 3px;\n opacity: 40%;\n }\n\n .join-text:hover {\n opacity: 70%;\n }\n\n .join-text.active {\n opacity: 100%;\n text-decoration: underline solid;\n }\n\n .join-text.active:hover {\n opacity: 100%;\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.left-value::part(control) {\n width: 250px;\n }\n\n rapid-select.logical-operator::part(control) {\n width: 160px;\n }\n\n .logical-operator-null-and-blank {\n width: 100%;\n }\n\n rapid-select.right-criteria::part(control) {\n width: 135px;\n }\n\n rapid-select.right-criteria-user-entry {\n width: 100%;\n }\n\n rapid-select.right-criteria-select {\n width: 100%;\n min-width: 0;\n }\n\n rapid-select::part(listbox) {\n max-height: 160px;\n }\n`"
|
|
5818
|
-
},
|
|
5819
|
-
{
|
|
5820
|
-
"kind": "variable",
|
|
5821
|
-
"name": "ConditionGroupStyles",
|
|
5822
|
-
"default": "css`\n .condition-group-row {\n margin-bottom: calc(var(--design-unit) * 2px);\n }\n\n /* The AND/OR toggle sits on its own row ABOVE the group it joins - see\n ConditionBuilderStyles' .join-toggle-row/.join-text for why it's a pair\n of text links rather than buttons. */\n .join-toggle-row {\n display: flex;\n margin-bottom: calc(var(--design-unit) * 1px);\n }\n\n .join-toggle {\n display: flex;\n gap: calc(var(--design-unit) * 1.5px);\n }\n\n .join-text {\n font-size: 11px;\n font-weight: 700;\n letter-spacing: 0.02em;\n color: var(--accent-fill-rest);\n cursor: pointer;\n text-decoration: underline dotted;\n text-underline-offset: 3px;\n opacity: 40%;\n }\n\n .join-text:hover {\n opacity: 70%;\n }\n\n .join-text.active {\n opacity: 100%;\n text-decoration: underline solid;\n }\n\n .join-text.active:hover {\n opacity: 100%;\n }\n\n /* A full bordered box reads as \"this is one parenthesized unit\" more\n literally than a left rail - it nests naturally too, a group inside a\n group just gets a second box drawn inside the first, like actual nested\n parens would look. */\n .condition-group-box {\n flex: 1;\n min-width: 0;\n border: calc(var(--design-unit) * 0.5px) solid\n color-mix(in srgb, var(--accent-fill-rest), transparent 25%);\n border-radius: calc(var(--design-unit) * 1px);\n padding: calc(var(--design-unit) * 2px);\n background-color: color-mix(in srgb, var(--accent-fill-rest), transparent 96%);\n }\n\n .condition-group-box > .content-row {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n align-items: center;\n margin-top: calc(var(--design-unit) * 1px);\n }\n\n .condition-group-box > .content-row rapid-button {\n font-size: 12px;\n }\n\n rule-condition-builder,\n rule-condition-group,\n template-condition-builder,\n template-condition-group {\n display: block;\n margin-bottom: calc(var(--design-unit) * 1px);\n }\n\n .delete-group {\n margin: 0;\n opacity: 60%;\n }\n\n .delete-group:hover {\n opacity: 100%;\n }\n`"
|
|
5823
|
-
}
|
|
5824
|
-
],
|
|
5825
|
-
"exports": [
|
|
5826
|
-
{
|
|
5827
|
-
"kind": "js",
|
|
5828
|
-
"name": "ConditionBuilderStyles",
|
|
5829
|
-
"declaration": {
|
|
5830
|
-
"name": "ConditionBuilderStyles",
|
|
5831
|
-
"module": "src/components/foundation-notification-dashboard/styles/condition-builder.styles.ts"
|
|
5832
|
-
}
|
|
5833
|
-
},
|
|
5834
|
-
{
|
|
5835
|
-
"kind": "js",
|
|
5836
|
-
"name": "ConditionGroupStyles",
|
|
5837
|
-
"declaration": {
|
|
5838
|
-
"name": "ConditionGroupStyles",
|
|
5839
|
-
"module": "src/components/foundation-notification-dashboard/styles/condition-builder.styles.ts"
|
|
5840
|
-
}
|
|
5841
|
-
}
|
|
5842
|
-
]
|
|
5843
|
-
},
|
|
5844
|
-
{
|
|
5845
|
-
"kind": "javascript-module",
|
|
5846
|
-
"path": "src/components/foundation-notification-dashboard/styles/dynamic-rule.styles.ts",
|
|
5989
|
+
"path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts",
|
|
5847
5990
|
"declarations": [
|
|
5848
5991
|
{
|
|
5849
5992
|
"kind": "variable",
|
|
5850
|
-
"name": "
|
|
5851
|
-
"default": "css`\n
|
|
5852
|
-
},
|
|
5853
|
-
{
|
|
5854
|
-
"kind": "variable",
|
|
5855
|
-
"name": "DynamicRuleDialogStyles",
|
|
5856
|
-
"default": "css`\n ${scrollbarStyles}\n ${top}\n ${bottom}\n\n rapid-modal::part(dialog) {\n padding: 0;\n background: var(--neutral-layer-4);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n }\n\n .dialog-content {\n display: flex;\n flex-direction: column;\n width: ${String(modalWidthPx)}px;\n max-height: 600px;\n overflow-y: scroll;\n gap: calc(var(--design-unit) * 3px);\n padding: calc(var(--design-unit) * 4px);\n }\n\n .content-row {\n display: flex;\n gap: calc(var(--design-unit) * 3px);\n }\n\n .control {\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .topic-lock-hint {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: var(--type-ramp-minus-1-font-size);\n line-height: var(--type-ramp-minus-1-line-height);\n }\n\n .items {\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n display: flex;\n padding: calc(var(--design-unit) * 2px);\n flex-direction: column;\n }\n\n .item {\n gap: 0;\n flex-direction: column;\n margin-bottom: 0;\n }\n\n ${textField}\n ${select}\n\n rapid-button {\n margin: 0;\n }\n\n rapid-select {\n min-width: 0;\n }\n\n rapid-select::part(listbox) {\n max-height: 160px;\n }\n\n .horizontal {\n flex-direction: row;\n }\n\n .destination {\n align-self: center;\n }\n\n .topic {\n min-width: revert-layer;\n }\n\n .expression-preview {\n width: 100%;\n margin-top: calc(var(--design-unit) * 2px);\n }\n\n .expression-preview::part(control) {\n font-family: var(--body-font, monospace);\n font-size: 12px;\n color: var(--neutral-foreground-hint);\n min-height: calc(var(--design-unit) * 12px);\n resize: vertical;\n }\n\n .alert-sound {\n display: flex;\n flex-direction: column;\n gap: calc(var(--design-unit) * 2px);\n margin-top: calc(var(--design-unit) * 2px);\n }\n\n .alert-sound .file-input {\n display: none;\n }\n\n .alert-sound-row {\n display: flex;\n align-items: center;\n gap: calc(var(--design-unit) * 2px);\n flex-wrap: wrap;\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n padding: calc(var(--design-unit) * 2px);\n }\n\n .alert-sound-name {\n flex: 1;\n min-width: 120px;\n color: var(--neutral-foreground-hint);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n`"
|
|
5993
|
+
"name": "FoundationInboxFlyoutStyles",
|
|
5994
|
+
"default": "css`\n rapid-flyout::part(flyout) {\n width: 30%;\n min-width: 320px;\n padding: 0;\n }\n\n rapid-flyout::part(content) {\n height: 100%;\n display: flex;\n flex-direction: column;\n }\n\n ${FoundationInboxStyles}\n`"
|
|
5857
5995
|
}
|
|
5858
5996
|
],
|
|
5859
5997
|
"exports": [
|
|
5860
5998
|
{
|
|
5861
5999
|
"kind": "js",
|
|
5862
|
-
"name": "
|
|
5863
|
-
"declaration": {
|
|
5864
|
-
"name": "DynamicRuleManagementStyles",
|
|
5865
|
-
"module": "src/components/foundation-notification-dashboard/styles/dynamic-rule.styles.ts"
|
|
5866
|
-
}
|
|
5867
|
-
},
|
|
5868
|
-
{
|
|
5869
|
-
"kind": "js",
|
|
5870
|
-
"name": "DynamicRuleDialogStyles",
|
|
6000
|
+
"name": "FoundationInboxFlyoutStyles",
|
|
5871
6001
|
"declaration": {
|
|
5872
|
-
"name": "
|
|
5873
|
-
"module": "src/components/foundation-
|
|
6002
|
+
"name": "FoundationInboxFlyoutStyles",
|
|
6003
|
+
"module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts"
|
|
5874
6004
|
}
|
|
5875
6005
|
}
|
|
5876
6006
|
]
|
|
5877
6007
|
},
|
|
5878
6008
|
{
|
|
5879
6009
|
"kind": "javascript-module",
|
|
5880
|
-
"path": "src/components/foundation-
|
|
6010
|
+
"path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.template.ts",
|
|
5881
6011
|
"declarations": [
|
|
5882
6012
|
{
|
|
5883
6013
|
"kind": "variable",
|
|
5884
|
-
"name": "
|
|
5885
|
-
"default": "
|
|
6014
|
+
"name": "FoundationInboxFlyoutTemplate",
|
|
6015
|
+
"default": "html<FoundationInboxFlyout>`\n <rapid-flyout\n ${ref('flyout')}\n position=\"right\"\n @closed=${(x) => (x.flyoutClosed = true)}\n :closed=${(x) => x.flyoutClosed}\n displayHeader=${false}\n >\n <div class=\"inbox-header\">\n <div class=\"inbox-header-title\">Alerts Center</div>\n <rapid-button class=\"inbox-header-close\" @click=${(x) => x.close()}>\n <rapid-icon part=\"icon\" name=\"xmark\" size=\"xl\"></rapid-icon>\n </rapid-button>\n </div>\n\n ${FoundationInboxTemplate}\n </rapid-flyout>\n`"
|
|
5886
6016
|
}
|
|
5887
6017
|
],
|
|
5888
6018
|
"exports": [
|
|
5889
6019
|
{
|
|
5890
6020
|
"kind": "js",
|
|
5891
|
-
"name": "
|
|
6021
|
+
"name": "FoundationInboxFlyoutTemplate",
|
|
5892
6022
|
"declaration": {
|
|
5893
|
-
"name": "
|
|
5894
|
-
"module": "src/components/foundation-
|
|
6023
|
+
"name": "FoundationInboxFlyoutTemplate",
|
|
6024
|
+
"module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.template.ts"
|
|
5895
6025
|
}
|
|
5896
6026
|
}
|
|
5897
6027
|
]
|
|
5898
6028
|
},
|
|
5899
6029
|
{
|
|
5900
6030
|
"kind": "javascript-module",
|
|
5901
|
-
"path": "src/components/foundation-inbox/components/foundation-inbox-
|
|
5902
|
-
"declarations": [
|
|
5903
|
-
{
|
|
5904
|
-
"kind": "variable",
|
|
5905
|
-
"name": "noItemsClass",
|
|
5906
|
-
"type": {
|
|
5907
|
-
"text": "string"
|
|
5908
|
-
},
|
|
5909
|
-
"default": "'no-items'",
|
|
5910
|
-
"description": "Class to use when there are no items"
|
|
5911
|
-
},
|
|
5912
|
-
{
|
|
5913
|
-
"kind": "variable",
|
|
5914
|
-
"name": "FoundationInboxCounterStyles",
|
|
5915
|
-
"default": "css`\n :host {\n display: inline-block;\n min-width: 16px;\n height: 16px;\n border-radius: 9px;\n text-align: center;\n color: #fff;\n line-height: 16px;\n font-size: 9px;\n font-weight: 700;\n background: ${BACKGROUND_COLOR};\n pointer-events: none;\n }\n\n .hidden {\n visibility: hidden;\n }\n\n :host(.${noItemsClass}) {\n display: none;\n }\n`"
|
|
5916
|
-
}
|
|
5917
|
-
],
|
|
5918
|
-
"exports": [
|
|
5919
|
-
{
|
|
5920
|
-
"kind": "js",
|
|
5921
|
-
"name": "noItemsClass",
|
|
5922
|
-
"declaration": {
|
|
5923
|
-
"name": "noItemsClass",
|
|
5924
|
-
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
|
|
5925
|
-
}
|
|
5926
|
-
},
|
|
5927
|
-
{
|
|
5928
|
-
"kind": "js",
|
|
5929
|
-
"name": "FoundationInboxCounterStyles",
|
|
5930
|
-
"declaration": {
|
|
5931
|
-
"name": "FoundationInboxCounterStyles",
|
|
5932
|
-
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
|
|
5933
|
-
}
|
|
5934
|
-
}
|
|
5935
|
-
]
|
|
5936
|
-
},
|
|
5937
|
-
{
|
|
5938
|
-
"kind": "javascript-module",
|
|
5939
|
-
"path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts",
|
|
5940
|
-
"declarations": [
|
|
5941
|
-
{
|
|
5942
|
-
"kind": "variable",
|
|
5943
|
-
"name": "FoundationInboxCounterTemplate",
|
|
5944
|
-
"default": "html<FoundationInboxCounter>`\n <template class=\"${(x) => classNames([noItemsClass, x.value < 1])}\">\n ${when(\n (x) => x.value > 0,\n html`\n ${(x) => (x.value > MAX_NUMBER_TO_DISPLAY ? `${MAX_NUMBER_TO_DISPLAY}+` : x.value)}\n `,\n )}\n </template>\n`"
|
|
5945
|
-
}
|
|
5946
|
-
],
|
|
5947
|
-
"exports": [
|
|
5948
|
-
{
|
|
5949
|
-
"kind": "js",
|
|
5950
|
-
"name": "FoundationInboxCounterTemplate",
|
|
5951
|
-
"declaration": {
|
|
5952
|
-
"name": "FoundationInboxCounterTemplate",
|
|
5953
|
-
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts"
|
|
5954
|
-
}
|
|
5955
|
-
}
|
|
5956
|
-
]
|
|
5957
|
-
},
|
|
5958
|
-
{
|
|
5959
|
-
"kind": "javascript-module",
|
|
5960
|
-
"path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts",
|
|
5961
|
-
"declarations": [
|
|
5962
|
-
{
|
|
5963
|
-
"kind": "class",
|
|
5964
|
-
"description": "",
|
|
5965
|
-
"name": "FoundationInboxCounter",
|
|
5966
|
-
"members": [
|
|
5967
|
-
{
|
|
5968
|
-
"kind": "field",
|
|
5969
|
-
"name": "value",
|
|
5970
|
-
"type": {
|
|
5971
|
-
"text": "number"
|
|
5972
|
-
},
|
|
5973
|
-
"default": "0"
|
|
5974
|
-
},
|
|
5975
|
-
{
|
|
5976
|
-
"kind": "field",
|
|
5977
|
-
"name": "connect",
|
|
5978
|
-
"type": {
|
|
5979
|
-
"text": "Connect"
|
|
5980
|
-
}
|
|
5981
|
-
},
|
|
5982
|
-
{
|
|
5983
|
-
"kind": "field",
|
|
5984
|
-
"name": "inboxService",
|
|
5985
|
-
"type": {
|
|
5986
|
-
"text": "FoundationInboxService"
|
|
5987
|
-
}
|
|
5988
|
-
},
|
|
5989
|
-
{
|
|
5990
|
-
"kind": "field",
|
|
5991
|
-
"name": "connectionSub",
|
|
5992
|
-
"type": {
|
|
5993
|
-
"text": "Subscription"
|
|
5994
|
-
},
|
|
5995
|
-
"privacy": "private"
|
|
5996
|
-
},
|
|
5997
|
-
{
|
|
5998
|
-
"kind": "method",
|
|
5999
|
-
"name": "subscribeToAlerts",
|
|
6000
|
-
"privacy": "private",
|
|
6001
|
-
"return": {
|
|
6002
|
-
"type": {
|
|
6003
|
-
"text": "Promise<void>"
|
|
6004
|
-
}
|
|
6005
|
-
},
|
|
6006
|
-
"description": "Subscribes to alerts from the inbox service"
|
|
6007
|
-
},
|
|
6008
|
-
{
|
|
6009
|
-
"kind": "field",
|
|
6010
|
-
"name": "subscriptionHandler",
|
|
6011
|
-
"privacy": "private",
|
|
6012
|
-
"description": "Handles subscription updates from the inbox service"
|
|
6013
|
-
}
|
|
6014
|
-
],
|
|
6015
|
-
"superclass": {
|
|
6016
|
-
"name": "GenesisElement",
|
|
6017
|
-
"package": "@genesislcap/web-core"
|
|
6018
|
-
},
|
|
6019
|
-
"tagName": "foundation-inbox-counter",
|
|
6020
|
-
"customElement": true
|
|
6021
|
-
}
|
|
6022
|
-
],
|
|
6023
|
-
"exports": [
|
|
6024
|
-
{
|
|
6025
|
-
"kind": "js",
|
|
6026
|
-
"name": "FoundationInboxCounter",
|
|
6027
|
-
"declaration": {
|
|
6028
|
-
"name": "FoundationInboxCounter",
|
|
6029
|
-
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
|
|
6030
|
-
}
|
|
6031
|
-
},
|
|
6032
|
-
{
|
|
6033
|
-
"kind": "custom-element-definition",
|
|
6034
|
-
"name": "foundation-inbox-counter",
|
|
6035
|
-
"declaration": {
|
|
6036
|
-
"name": "FoundationInboxCounter",
|
|
6037
|
-
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
|
|
6038
|
-
}
|
|
6039
|
-
}
|
|
6040
|
-
]
|
|
6041
|
-
},
|
|
6042
|
-
{
|
|
6043
|
-
"kind": "javascript-module",
|
|
6044
|
-
"path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts",
|
|
6045
|
-
"declarations": [
|
|
6046
|
-
{
|
|
6047
|
-
"kind": "variable",
|
|
6048
|
-
"name": "FoundationInboxFlyoutStyles",
|
|
6049
|
-
"default": "css`\n rapid-flyout::part(flyout) {\n width: 30%;\n min-width: 320px;\n padding: 0;\n }\n\n rapid-flyout::part(content) {\n height: 100%;\n display: flex;\n flex-direction: column;\n }\n\n ${FoundationInboxStyles}\n`"
|
|
6050
|
-
}
|
|
6051
|
-
],
|
|
6052
|
-
"exports": [
|
|
6053
|
-
{
|
|
6054
|
-
"kind": "js",
|
|
6055
|
-
"name": "FoundationInboxFlyoutStyles",
|
|
6056
|
-
"declaration": {
|
|
6057
|
-
"name": "FoundationInboxFlyoutStyles",
|
|
6058
|
-
"module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts"
|
|
6059
|
-
}
|
|
6060
|
-
}
|
|
6061
|
-
]
|
|
6062
|
-
},
|
|
6063
|
-
{
|
|
6064
|
-
"kind": "javascript-module",
|
|
6065
|
-
"path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.template.ts",
|
|
6066
|
-
"declarations": [
|
|
6067
|
-
{
|
|
6068
|
-
"kind": "variable",
|
|
6069
|
-
"name": "FoundationInboxFlyoutTemplate",
|
|
6070
|
-
"default": "html<FoundationInboxFlyout>`\n <rapid-flyout\n ${ref('flyout')}\n position=\"right\"\n @closed=${(x) => (x.flyoutClosed = true)}\n :closed=${(x) => x.flyoutClosed}\n displayHeader=${false}\n >\n <div class=\"inbox-header\">\n <div class=\"inbox-header-title\">Alerts Center</div>\n <rapid-button class=\"inbox-header-close\" @click=${(x) => x.close()}>\n <rapid-icon part=\"icon\" name=\"xmark\" size=\"xl\"></rapid-icon>\n </rapid-button>\n </div>\n\n ${FoundationInboxTemplate}\n </rapid-flyout>\n`"
|
|
6071
|
-
}
|
|
6072
|
-
],
|
|
6073
|
-
"exports": [
|
|
6074
|
-
{
|
|
6075
|
-
"kind": "js",
|
|
6076
|
-
"name": "FoundationInboxFlyoutTemplate",
|
|
6077
|
-
"declaration": {
|
|
6078
|
-
"name": "FoundationInboxFlyoutTemplate",
|
|
6079
|
-
"module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.template.ts"
|
|
6080
|
-
}
|
|
6081
|
-
}
|
|
6082
|
-
]
|
|
6083
|
-
},
|
|
6084
|
-
{
|
|
6085
|
-
"kind": "javascript-module",
|
|
6086
|
-
"path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.ts",
|
|
6031
|
+
"path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.ts",
|
|
6087
6032
|
"declarations": [
|
|
6088
6033
|
{
|
|
6089
6034
|
"kind": "class",
|
|
@@ -6286,6 +6231,19 @@
|
|
|
6286
6231
|
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
6287
6232
|
}
|
|
6288
6233
|
},
|
|
6234
|
+
{
|
|
6235
|
+
"kind": "field",
|
|
6236
|
+
"name": "hideClearAll",
|
|
6237
|
+
"type": {
|
|
6238
|
+
"text": "boolean"
|
|
6239
|
+
},
|
|
6240
|
+
"default": "false",
|
|
6241
|
+
"description": "Hide the Clear All Alerts button on the Alerts tab. Set via the `hide-clear-all`\nattribute or property. Per-item dismiss is unchanged. @public",
|
|
6242
|
+
"inheritedFrom": {
|
|
6243
|
+
"name": "FoundationInboxBase",
|
|
6244
|
+
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
6245
|
+
}
|
|
6246
|
+
},
|
|
6289
6247
|
{
|
|
6290
6248
|
"kind": "field",
|
|
6291
6249
|
"name": "onAlertClick",
|
|
@@ -7338,6 +7296,7 @@
|
|
|
7338
7296
|
"customElement": true,
|
|
7339
7297
|
"attributes": [
|
|
7340
7298
|
{
|
|
7299
|
+
"name": "hide-severity-filter",
|
|
7341
7300
|
"type": {
|
|
7342
7301
|
"text": "boolean"
|
|
7343
7302
|
},
|
|
@@ -7348,6 +7307,58 @@
|
|
|
7348
7307
|
"name": "FoundationInboxBase",
|
|
7349
7308
|
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
7350
7309
|
}
|
|
7310
|
+
},
|
|
7311
|
+
{
|
|
7312
|
+
"name": "hide-date-range",
|
|
7313
|
+
"type": {
|
|
7314
|
+
"text": "boolean"
|
|
7315
|
+
},
|
|
7316
|
+
"default": "false",
|
|
7317
|
+
"description": "Hide the Date Range filter block in the search bar. Set via the `hide-date-range`\nattribute or property. @public",
|
|
7318
|
+
"fieldName": "hideDateRange",
|
|
7319
|
+
"inheritedFrom": {
|
|
7320
|
+
"name": "FoundationInboxBase",
|
|
7321
|
+
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
7322
|
+
}
|
|
7323
|
+
},
|
|
7324
|
+
{
|
|
7325
|
+
"name": "hide-title-search",
|
|
7326
|
+
"type": {
|
|
7327
|
+
"text": "boolean"
|
|
7328
|
+
},
|
|
7329
|
+
"default": "false",
|
|
7330
|
+
"description": "Hide the Search-by-Title field in the search bar. Set via the `hide-title-search`\nattribute or property. @public",
|
|
7331
|
+
"fieldName": "hideTitleSearch",
|
|
7332
|
+
"inheritedFrom": {
|
|
7333
|
+
"name": "FoundationInboxBase",
|
|
7334
|
+
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
7335
|
+
}
|
|
7336
|
+
},
|
|
7337
|
+
{
|
|
7338
|
+
"name": "hide-body-search",
|
|
7339
|
+
"type": {
|
|
7340
|
+
"text": "boolean"
|
|
7341
|
+
},
|
|
7342
|
+
"default": "false",
|
|
7343
|
+
"description": "Hide the Search-by-Body field in the search bar. Set via the `hide-body-search`\nattribute or property. @public",
|
|
7344
|
+
"fieldName": "hideBodySearch",
|
|
7345
|
+
"inheritedFrom": {
|
|
7346
|
+
"name": "FoundationInboxBase",
|
|
7347
|
+
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
7348
|
+
}
|
|
7349
|
+
},
|
|
7350
|
+
{
|
|
7351
|
+
"name": "hide-clear-all",
|
|
7352
|
+
"type": {
|
|
7353
|
+
"text": "boolean"
|
|
7354
|
+
},
|
|
7355
|
+
"default": "false",
|
|
7356
|
+
"description": "Hide the Clear All Alerts button on the Alerts tab. Set via the `hide-clear-all`\nattribute or property. Per-item dismiss is unchanged. @public",
|
|
7357
|
+
"fieldName": "hideClearAll",
|
|
7358
|
+
"inheritedFrom": {
|
|
7359
|
+
"name": "FoundationInboxBase",
|
|
7360
|
+
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
7361
|
+
}
|
|
7351
7362
|
}
|
|
7352
7363
|
]
|
|
7353
7364
|
}
|
|
@@ -7373,53 +7384,196 @@
|
|
|
7373
7384
|
},
|
|
7374
7385
|
{
|
|
7375
7386
|
"kind": "javascript-module",
|
|
7376
|
-
"path": "src/components/foundation-inbox/components/inbox-
|
|
7387
|
+
"path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts",
|
|
7377
7388
|
"declarations": [
|
|
7378
7389
|
{
|
|
7379
7390
|
"kind": "variable",
|
|
7380
|
-
"name": "
|
|
7381
|
-
"
|
|
7391
|
+
"name": "noItemsClass",
|
|
7392
|
+
"type": {
|
|
7393
|
+
"text": "string"
|
|
7394
|
+
},
|
|
7395
|
+
"default": "'no-items'",
|
|
7396
|
+
"description": "Class to use when there are no items"
|
|
7397
|
+
},
|
|
7398
|
+
{
|
|
7399
|
+
"kind": "variable",
|
|
7400
|
+
"name": "FoundationInboxCounterStyles",
|
|
7401
|
+
"default": "css`\n :host {\n display: inline-block;\n min-width: 16px;\n height: 16px;\n border-radius: 9px;\n text-align: center;\n color: #fff;\n line-height: 16px;\n font-size: 9px;\n font-weight: 700;\n background: ${BACKGROUND_COLOR};\n pointer-events: none;\n }\n\n .hidden {\n visibility: hidden;\n }\n\n :host(.${noItemsClass}) {\n display: none;\n }\n`"
|
|
7382
7402
|
}
|
|
7383
7403
|
],
|
|
7384
7404
|
"exports": [
|
|
7385
7405
|
{
|
|
7386
7406
|
"kind": "js",
|
|
7387
|
-
"name": "
|
|
7407
|
+
"name": "noItemsClass",
|
|
7388
7408
|
"declaration": {
|
|
7389
|
-
"name": "
|
|
7390
|
-
"module": "src/components/foundation-inbox/components/inbox-
|
|
7409
|
+
"name": "noItemsClass",
|
|
7410
|
+
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
|
|
7411
|
+
}
|
|
7412
|
+
},
|
|
7413
|
+
{
|
|
7414
|
+
"kind": "js",
|
|
7415
|
+
"name": "FoundationInboxCounterStyles",
|
|
7416
|
+
"declaration": {
|
|
7417
|
+
"name": "FoundationInboxCounterStyles",
|
|
7418
|
+
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
|
|
7391
7419
|
}
|
|
7392
7420
|
}
|
|
7393
7421
|
]
|
|
7394
7422
|
},
|
|
7395
7423
|
{
|
|
7396
7424
|
"kind": "javascript-module",
|
|
7397
|
-
"path": "src/components/foundation-inbox/components/inbox-
|
|
7425
|
+
"path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts",
|
|
7398
7426
|
"declarations": [
|
|
7399
7427
|
{
|
|
7400
7428
|
"kind": "variable",
|
|
7401
|
-
"name": "
|
|
7402
|
-
"default": "html<
|
|
7429
|
+
"name": "FoundationInboxCounterTemplate",
|
|
7430
|
+
"default": "html<FoundationInboxCounter>`\n <template class=\"${(x) => classNames([noItemsClass, x.value < 1])}\">\n ${when(\n (x) => x.value > 0,\n html`\n ${(x) => (x.value > MAX_NUMBER_TO_DISPLAY ? `${MAX_NUMBER_TO_DISPLAY}+` : x.value)}\n `,\n )}\n </template>\n`"
|
|
7403
7431
|
}
|
|
7404
7432
|
],
|
|
7405
7433
|
"exports": [
|
|
7406
7434
|
{
|
|
7407
7435
|
"kind": "js",
|
|
7408
|
-
"name": "
|
|
7436
|
+
"name": "FoundationInboxCounterTemplate",
|
|
7409
7437
|
"declaration": {
|
|
7410
|
-
"name": "
|
|
7411
|
-
"module": "src/components/foundation-inbox/components/inbox-
|
|
7438
|
+
"name": "FoundationInboxCounterTemplate",
|
|
7439
|
+
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts"
|
|
7412
7440
|
}
|
|
7413
7441
|
}
|
|
7414
7442
|
]
|
|
7415
7443
|
},
|
|
7416
7444
|
{
|
|
7417
7445
|
"kind": "javascript-module",
|
|
7418
|
-
"path": "src/components/foundation-inbox/components/inbox-
|
|
7446
|
+
"path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts",
|
|
7419
7447
|
"declarations": [
|
|
7420
7448
|
{
|
|
7421
7449
|
"kind": "class",
|
|
7422
|
-
"description": "
|
|
7450
|
+
"description": "",
|
|
7451
|
+
"name": "FoundationInboxCounter",
|
|
7452
|
+
"members": [
|
|
7453
|
+
{
|
|
7454
|
+
"kind": "field",
|
|
7455
|
+
"name": "value",
|
|
7456
|
+
"type": {
|
|
7457
|
+
"text": "number"
|
|
7458
|
+
},
|
|
7459
|
+
"default": "0"
|
|
7460
|
+
},
|
|
7461
|
+
{
|
|
7462
|
+
"kind": "field",
|
|
7463
|
+
"name": "connect",
|
|
7464
|
+
"type": {
|
|
7465
|
+
"text": "Connect"
|
|
7466
|
+
}
|
|
7467
|
+
},
|
|
7468
|
+
{
|
|
7469
|
+
"kind": "field",
|
|
7470
|
+
"name": "inboxService",
|
|
7471
|
+
"type": {
|
|
7472
|
+
"text": "FoundationInboxService"
|
|
7473
|
+
}
|
|
7474
|
+
},
|
|
7475
|
+
{
|
|
7476
|
+
"kind": "field",
|
|
7477
|
+
"name": "connectionSub",
|
|
7478
|
+
"type": {
|
|
7479
|
+
"text": "Subscription"
|
|
7480
|
+
},
|
|
7481
|
+
"privacy": "private"
|
|
7482
|
+
},
|
|
7483
|
+
{
|
|
7484
|
+
"kind": "method",
|
|
7485
|
+
"name": "subscribeToAlerts",
|
|
7486
|
+
"privacy": "private",
|
|
7487
|
+
"return": {
|
|
7488
|
+
"type": {
|
|
7489
|
+
"text": "Promise<void>"
|
|
7490
|
+
}
|
|
7491
|
+
},
|
|
7492
|
+
"description": "Subscribes to alerts from the inbox service"
|
|
7493
|
+
},
|
|
7494
|
+
{
|
|
7495
|
+
"kind": "field",
|
|
7496
|
+
"name": "subscriptionHandler",
|
|
7497
|
+
"privacy": "private",
|
|
7498
|
+
"description": "Handles subscription updates from the inbox service"
|
|
7499
|
+
}
|
|
7500
|
+
],
|
|
7501
|
+
"superclass": {
|
|
7502
|
+
"name": "GenesisElement",
|
|
7503
|
+
"package": "@genesislcap/web-core"
|
|
7504
|
+
},
|
|
7505
|
+
"tagName": "foundation-inbox-counter",
|
|
7506
|
+
"customElement": true
|
|
7507
|
+
}
|
|
7508
|
+
],
|
|
7509
|
+
"exports": [
|
|
7510
|
+
{
|
|
7511
|
+
"kind": "js",
|
|
7512
|
+
"name": "FoundationInboxCounter",
|
|
7513
|
+
"declaration": {
|
|
7514
|
+
"name": "FoundationInboxCounter",
|
|
7515
|
+
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
|
|
7516
|
+
}
|
|
7517
|
+
},
|
|
7518
|
+
{
|
|
7519
|
+
"kind": "custom-element-definition",
|
|
7520
|
+
"name": "foundation-inbox-counter",
|
|
7521
|
+
"declaration": {
|
|
7522
|
+
"name": "FoundationInboxCounter",
|
|
7523
|
+
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
|
|
7524
|
+
}
|
|
7525
|
+
}
|
|
7526
|
+
]
|
|
7527
|
+
},
|
|
7528
|
+
{
|
|
7529
|
+
"kind": "javascript-module",
|
|
7530
|
+
"path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts",
|
|
7531
|
+
"declarations": [
|
|
7532
|
+
{
|
|
7533
|
+
"kind": "variable",
|
|
7534
|
+
"name": "InboxSubscriptionStyles",
|
|
7535
|
+
"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`"
|
|
7536
|
+
}
|
|
7537
|
+
],
|
|
7538
|
+
"exports": [
|
|
7539
|
+
{
|
|
7540
|
+
"kind": "js",
|
|
7541
|
+
"name": "InboxSubscriptionStyles",
|
|
7542
|
+
"declaration": {
|
|
7543
|
+
"name": "InboxSubscriptionStyles",
|
|
7544
|
+
"module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts"
|
|
7545
|
+
}
|
|
7546
|
+
}
|
|
7547
|
+
]
|
|
7548
|
+
},
|
|
7549
|
+
{
|
|
7550
|
+
"kind": "javascript-module",
|
|
7551
|
+
"path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts",
|
|
7552
|
+
"declarations": [
|
|
7553
|
+
{
|
|
7554
|
+
"kind": "variable",
|
|
7555
|
+
"name": "InboxSubscriptionTemplate",
|
|
7556
|
+
"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`"
|
|
7557
|
+
}
|
|
7558
|
+
],
|
|
7559
|
+
"exports": [
|
|
7560
|
+
{
|
|
7561
|
+
"kind": "js",
|
|
7562
|
+
"name": "InboxSubscriptionTemplate",
|
|
7563
|
+
"declaration": {
|
|
7564
|
+
"name": "InboxSubscriptionTemplate",
|
|
7565
|
+
"module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts"
|
|
7566
|
+
}
|
|
7567
|
+
}
|
|
7568
|
+
]
|
|
7569
|
+
},
|
|
7570
|
+
{
|
|
7571
|
+
"kind": "javascript-module",
|
|
7572
|
+
"path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts",
|
|
7573
|
+
"declarations": [
|
|
7574
|
+
{
|
|
7575
|
+
"kind": "class",
|
|
7576
|
+
"description": "Inbox subscription configuration UI.",
|
|
7423
7577
|
"name": "InboxSubscription",
|
|
7424
7578
|
"members": [
|
|
7425
7579
|
{
|
|
@@ -10267,426 +10421,552 @@
|
|
|
10267
10421
|
},
|
|
10268
10422
|
{
|
|
10269
10423
|
"kind": "javascript-module",
|
|
10270
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
10271
|
-
"declarations": [
|
|
10272
|
-
{
|
|
10273
|
-
"kind": "variable",
|
|
10274
|
-
"name": "ParameterBuilderStyles",
|
|
10275
|
-
"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`"
|
|
10276
|
-
}
|
|
10277
|
-
],
|
|
10278
|
-
"exports": [
|
|
10279
|
-
{
|
|
10280
|
-
"kind": "js",
|
|
10281
|
-
"name": "ParameterBuilderStyles",
|
|
10282
|
-
"declaration": {
|
|
10283
|
-
"name": "ParameterBuilderStyles",
|
|
10284
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
|
|
10285
|
-
}
|
|
10286
|
-
}
|
|
10287
|
-
]
|
|
10288
|
-
},
|
|
10289
|
-
{
|
|
10290
|
-
"kind": "javascript-module",
|
|
10291
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
|
|
10424
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts",
|
|
10292
10425
|
"declarations": [
|
|
10293
10426
|
{
|
|
10294
10427
|
"kind": "variable",
|
|
10295
|
-
"name": "
|
|
10296
|
-
"default": "html<
|
|
10428
|
+
"name": "TemplateConditionBuilderTemplate",
|
|
10429
|
+
"default": "html<TemplateConditionBuilder>`\n ${when(\n (x) => !x.isFirst,\n html`\n <div class=\"join-toggle-row\">\n <div class=\"join-toggle\">\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'AND'])}\"\n @click=${(x) => (x.joinOperator = 'AND')}\n >\n AND\n </span>\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'OR'])}\"\n @click=${(x) => (x.joinOperator = 'OR')}\n >\n OR\n </span>\n </div>\n </div>\n `,\n )}\n <div class=\"condition-builder\">\n <rapid-select\n :value=${sync((x) => x.leftValue)}\n :initialValue=${sync((x) => x.leftValue)}\n class=\"left-value\"\n >\n ${repeat(\n (x) => x.leftValueItems,\n html<Field>`\n <rapid-option value=${(x) => JSON.stringify(x)}>${(x) => x.FIELD_NAME}</rapid-option>\n `,\n )}\n </rapid-select>\n\n <rapid-select\n class=\"logical-operator${(x) =>\n classNames([\n '-null-and-blank',\n nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n ])}\"\n :value=${sync((x) => x.logicalOperator)}\n >\n ${repeat(\n (_) => Object.values(LogicalOperator),\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => !nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n html`\n <rapid-select class=\"right-criteria\" :value=${sync((x) => x.rightCriteria)}>\n ${repeat(\n (x) => x.rightCriteriaOptions,\n html`\n <rapid-option value=${(x) => x}>${(x) => rightCriteriaLabel(x)}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.rightCriteria === RightCriteria.VALUE,\n html<TemplateConditionBuilder>`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.BOOLEAN,\n html`\n <rapid-select class=\"right-criteria-select\" :value=${sync((x) => x.rightValueText)}>\n <rapid-option value=\"true\">true</rapid-option>\n <rapid-option value=\"false\">false</rapid-option>\n </rapid-select>\n `,\n html`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === 'ENUM',\n html`\n <rapid-multiselect\n class=\"right-criteria-select\"\n :selectedOptions=${(x) => x.rightValueMultiSelect}\n @selectionChange=${(x, c) => {\n x.rightValueMultiSelect = (c.event as CustomEvent).detail;\n }}\n search=\"true\"\n all=\"false\"\n >\n <multiselect-datasource\n value-field=\"value\"\n label-field=\"value\"\n :data=${(x) => x.getEnumValues().map((value) => ({ value }))}\n ></multiselect-datasource>\n </rapid-multiselect>\n `,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n placeholder=\"Value (comma-separate for multiple)\"\n autocomplete=\"off\"\n ></rapid-text-field>\n `,\n )}\n `,\n )}\n `,\n )}\n ${when(\n (x) => x.rightCriteria === RightCriteria.USER_ENTRY,\n html<TemplateConditionBuilder>`\n <rapid-select class=\"right-criteria-select\" :value=${sync((x) => x.rightValueSelect)}>\n ${(x) => rightValueItemsOptions(x.rightValueItems)}\n </rapid-select>\n `,\n )}\n `,\n )}\n\n <rapid-button appearance=\"icon\" class=\"delete\" @click=${(x) => x.deleteCondition()}>\n <rapid-icon\n style=\"opacity: 0.5\"\n variant=\"regular\"\n name=\"trash-alt\"\n size=\"lg\"\n part=\"icon\"\n ></rapid-icon>\n </rapid-button>\n </div>\n`"
|
|
10297
10430
|
}
|
|
10298
10431
|
],
|
|
10299
10432
|
"exports": [
|
|
10300
10433
|
{
|
|
10301
10434
|
"kind": "js",
|
|
10302
|
-
"name": "
|
|
10435
|
+
"name": "TemplateConditionBuilderTemplate",
|
|
10303
10436
|
"declaration": {
|
|
10304
|
-
"name": "
|
|
10305
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
10437
|
+
"name": "TemplateConditionBuilderTemplate",
|
|
10438
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts"
|
|
10306
10439
|
}
|
|
10307
10440
|
}
|
|
10308
10441
|
]
|
|
10309
10442
|
},
|
|
10310
10443
|
{
|
|
10311
10444
|
"kind": "javascript-module",
|
|
10312
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
10445
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts",
|
|
10313
10446
|
"declarations": [
|
|
10314
10447
|
{
|
|
10315
10448
|
"kind": "class",
|
|
10316
|
-
"description": "
|
|
10317
|
-
"name": "
|
|
10449
|
+
"description": "Condition builder for template notification rules.",
|
|
10450
|
+
"name": "TemplateConditionBuilder",
|
|
10318
10451
|
"members": [
|
|
10319
10452
|
{
|
|
10320
10453
|
"kind": "field",
|
|
10321
|
-
"name": "
|
|
10454
|
+
"name": "condition",
|
|
10322
10455
|
"type": {
|
|
10323
|
-
"text": "
|
|
10456
|
+
"text": "ConditionBuilderEntity"
|
|
10324
10457
|
}
|
|
10325
10458
|
},
|
|
10326
10459
|
{
|
|
10327
10460
|
"kind": "field",
|
|
10328
|
-
"name": "
|
|
10461
|
+
"name": "parameters",
|
|
10329
10462
|
"type": {
|
|
10330
|
-
"text": "
|
|
10331
|
-
}
|
|
10463
|
+
"text": "Array<ParameterBuilderEntity>"
|
|
10464
|
+
},
|
|
10465
|
+
"default": "[]"
|
|
10332
10466
|
},
|
|
10333
10467
|
{
|
|
10334
10468
|
"kind": "field",
|
|
10335
|
-
"name": "
|
|
10469
|
+
"name": "fields",
|
|
10336
10470
|
"type": {
|
|
10337
|
-
"text": "
|
|
10338
|
-
}
|
|
10471
|
+
"text": "Field[]"
|
|
10472
|
+
},
|
|
10473
|
+
"default": "[]"
|
|
10339
10474
|
},
|
|
10340
10475
|
{
|
|
10341
10476
|
"kind": "field",
|
|
10342
|
-
"name": "
|
|
10477
|
+
"name": "isFirst",
|
|
10343
10478
|
"type": {
|
|
10344
|
-
"text": "
|
|
10345
|
-
}
|
|
10479
|
+
"text": "boolean"
|
|
10480
|
+
},
|
|
10481
|
+
"default": "false"
|
|
10346
10482
|
},
|
|
10347
10483
|
{
|
|
10348
10484
|
"kind": "field",
|
|
10349
|
-
"name": "
|
|
10485
|
+
"name": "joinOperator",
|
|
10350
10486
|
"type": {
|
|
10351
10487
|
"text": "string"
|
|
10352
10488
|
}
|
|
10353
10489
|
},
|
|
10354
10490
|
{
|
|
10355
10491
|
"kind": "field",
|
|
10356
|
-
"name": "
|
|
10492
|
+
"name": "leftValue",
|
|
10357
10493
|
"type": {
|
|
10358
|
-
"text": "
|
|
10359
|
-
}
|
|
10494
|
+
"text": "any"
|
|
10495
|
+
},
|
|
10496
|
+
"default": "null"
|
|
10360
10497
|
},
|
|
10361
10498
|
{
|
|
10362
10499
|
"kind": "field",
|
|
10363
|
-
"name": "
|
|
10500
|
+
"name": "leftValueItems",
|
|
10364
10501
|
"type": {
|
|
10365
|
-
"text": "
|
|
10366
|
-
}
|
|
10502
|
+
"text": "Array<any>"
|
|
10503
|
+
},
|
|
10504
|
+
"default": "[]"
|
|
10367
10505
|
},
|
|
10368
10506
|
{
|
|
10369
10507
|
"kind": "field",
|
|
10370
|
-
"name": "
|
|
10508
|
+
"name": "logicalOperator",
|
|
10371
10509
|
"type": {
|
|
10372
|
-
"text": "
|
|
10373
|
-
}
|
|
10510
|
+
"text": "string"
|
|
10511
|
+
},
|
|
10512
|
+
"default": "null"
|
|
10374
10513
|
},
|
|
10375
10514
|
{
|
|
10376
10515
|
"kind": "field",
|
|
10377
|
-
"name": "
|
|
10516
|
+
"name": "rightCriteria",
|
|
10378
10517
|
"type": {
|
|
10379
|
-
"text": "
|
|
10518
|
+
"text": "string"
|
|
10380
10519
|
}
|
|
10381
10520
|
},
|
|
10382
10521
|
{
|
|
10383
10522
|
"kind": "field",
|
|
10384
|
-
"name": "
|
|
10523
|
+
"name": "rightValueText",
|
|
10385
10524
|
"type": {
|
|
10386
|
-
"text": "
|
|
10525
|
+
"text": "string"
|
|
10387
10526
|
},
|
|
10388
|
-
"default": "
|
|
10527
|
+
"default": "null"
|
|
10389
10528
|
},
|
|
10390
10529
|
{
|
|
10391
|
-
"kind": "
|
|
10392
|
-
"name": "
|
|
10530
|
+
"kind": "field",
|
|
10531
|
+
"name": "rightValueSelect",
|
|
10532
|
+
"type": {
|
|
10533
|
+
"text": "string"
|
|
10534
|
+
},
|
|
10535
|
+
"default": "null"
|
|
10393
10536
|
},
|
|
10394
10537
|
{
|
|
10395
|
-
"kind": "
|
|
10396
|
-
"name": "
|
|
10538
|
+
"kind": "field",
|
|
10539
|
+
"name": "rightValueItems",
|
|
10540
|
+
"type": {
|
|
10541
|
+
"text": "Array<any>"
|
|
10542
|
+
},
|
|
10543
|
+
"default": "[]"
|
|
10397
10544
|
},
|
|
10398
10545
|
{
|
|
10399
|
-
"kind": "
|
|
10400
|
-
"name": "
|
|
10546
|
+
"kind": "field",
|
|
10547
|
+
"name": "rightValueMultiSelect",
|
|
10548
|
+
"type": {
|
|
10549
|
+
"text": "string[]"
|
|
10550
|
+
},
|
|
10551
|
+
"default": "[]"
|
|
10401
10552
|
},
|
|
10402
10553
|
{
|
|
10403
|
-
"kind": "
|
|
10404
|
-
"name": "
|
|
10554
|
+
"kind": "field",
|
|
10555
|
+
"name": "rightCriteriaOptions",
|
|
10556
|
+
"type": {
|
|
10557
|
+
"text": "RightCriteria[]"
|
|
10558
|
+
},
|
|
10559
|
+
"readonly": true
|
|
10560
|
+
},
|
|
10561
|
+
{
|
|
10562
|
+
"kind": "field",
|
|
10563
|
+
"name": "isStringLeftValue",
|
|
10564
|
+
"type": {
|
|
10565
|
+
"text": "boolean"
|
|
10566
|
+
},
|
|
10567
|
+
"privacy": "private",
|
|
10568
|
+
"readonly": true
|
|
10405
10569
|
},
|
|
10406
10570
|
{
|
|
10407
10571
|
"kind": "method",
|
|
10408
|
-
"name": "
|
|
10572
|
+
"name": "deleteCondition"
|
|
10409
10573
|
},
|
|
10410
10574
|
{
|
|
10411
10575
|
"kind": "method",
|
|
10412
|
-
"name": "
|
|
10576
|
+
"name": "conditionChanged"
|
|
10413
10577
|
},
|
|
10414
10578
|
{
|
|
10415
10579
|
"kind": "method",
|
|
10416
|
-
"name": "
|
|
10580
|
+
"name": "joinOperatorChanged"
|
|
10417
10581
|
},
|
|
10418
10582
|
{
|
|
10419
10583
|
"kind": "method",
|
|
10420
|
-
"name": "
|
|
10584
|
+
"name": "parametersChanged"
|
|
10421
10585
|
},
|
|
10422
10586
|
{
|
|
10423
10587
|
"kind": "method",
|
|
10424
|
-
"name": "
|
|
10588
|
+
"name": "getMatchingParameter",
|
|
10425
10589
|
"privacy": "private",
|
|
10426
|
-
"
|
|
10427
|
-
{
|
|
10428
|
-
"
|
|
10429
|
-
},
|
|
10430
|
-
{
|
|
10431
|
-
"name": "value"
|
|
10590
|
+
"return": {
|
|
10591
|
+
"type": {
|
|
10592
|
+
"text": "ParameterBuilderEntity | undefined"
|
|
10432
10593
|
}
|
|
10433
|
-
|
|
10594
|
+
}
|
|
10595
|
+
},
|
|
10596
|
+
{
|
|
10597
|
+
"kind": "method",
|
|
10598
|
+
"name": "syncParameterBinding",
|
|
10599
|
+
"privacy": "private",
|
|
10600
|
+
"return": {
|
|
10601
|
+
"type": {
|
|
10602
|
+
"text": "boolean"
|
|
10603
|
+
}
|
|
10604
|
+
}
|
|
10605
|
+
},
|
|
10606
|
+
{
|
|
10607
|
+
"kind": "method",
|
|
10608
|
+
"name": "resetToValueEditor",
|
|
10609
|
+
"privacy": "private"
|
|
10610
|
+
},
|
|
10611
|
+
{
|
|
10612
|
+
"kind": "method",
|
|
10613
|
+
"name": "fieldsChanged"
|
|
10614
|
+
},
|
|
10615
|
+
{
|
|
10616
|
+
"kind": "method",
|
|
10617
|
+
"name": "logicalOperatorChanged"
|
|
10618
|
+
},
|
|
10619
|
+
{
|
|
10620
|
+
"kind": "method",
|
|
10621
|
+
"name": "assignLeftValue",
|
|
10622
|
+
"privacy": "private"
|
|
10623
|
+
},
|
|
10624
|
+
{
|
|
10625
|
+
"kind": "method",
|
|
10626
|
+
"name": "leftValueChanged"
|
|
10627
|
+
},
|
|
10628
|
+
{
|
|
10629
|
+
"kind": "method",
|
|
10630
|
+
"name": "assignRightValue",
|
|
10631
|
+
"privacy": "private"
|
|
10632
|
+
},
|
|
10633
|
+
{
|
|
10634
|
+
"kind": "method",
|
|
10635
|
+
"name": "rightCriteriaChanged"
|
|
10636
|
+
},
|
|
10637
|
+
{
|
|
10638
|
+
"kind": "method",
|
|
10639
|
+
"name": "clearRightValueText",
|
|
10640
|
+
"privacy": "private"
|
|
10641
|
+
},
|
|
10642
|
+
{
|
|
10643
|
+
"kind": "method",
|
|
10644
|
+
"name": "clearRightValueSelect",
|
|
10645
|
+
"privacy": "private"
|
|
10646
|
+
},
|
|
10647
|
+
{
|
|
10648
|
+
"kind": "method",
|
|
10649
|
+
"name": "rightValueTextChanged"
|
|
10650
|
+
},
|
|
10651
|
+
{
|
|
10652
|
+
"kind": "method",
|
|
10653
|
+
"name": "rightValueSelectChanged"
|
|
10654
|
+
},
|
|
10655
|
+
{
|
|
10656
|
+
"kind": "method",
|
|
10657
|
+
"name": "rightValueMultiSelectChanged"
|
|
10658
|
+
},
|
|
10659
|
+
{
|
|
10660
|
+
"kind": "method",
|
|
10661
|
+
"name": "getEnumValues",
|
|
10662
|
+
"return": {
|
|
10663
|
+
"type": {
|
|
10664
|
+
"text": "string[]"
|
|
10665
|
+
}
|
|
10666
|
+
}
|
|
10434
10667
|
}
|
|
10435
10668
|
],
|
|
10436
10669
|
"events": [
|
|
10437
10670
|
{
|
|
10438
|
-
"description": "Fired when a
|
|
10671
|
+
"description": "Fired when a condition is deleted. detail: `ConditionBuilderEntity`",
|
|
10439
10672
|
"name": "delete"
|
|
10440
10673
|
},
|
|
10441
10674
|
{
|
|
10442
|
-
"description": "Fired when a
|
|
10675
|
+
"description": "Fired when a condition is edited. detail: `ConditionBuilderEntity`",
|
|
10443
10676
|
"name": "edit"
|
|
10444
10677
|
}
|
|
10445
10678
|
],
|
|
10446
|
-
"attributes": [
|
|
10447
|
-
{
|
|
10448
|
-
"name": "parameter",
|
|
10449
|
-
"type": {
|
|
10450
|
-
"text": "ParameterBuilderEntity"
|
|
10451
|
-
},
|
|
10452
|
-
"fieldName": "parameter"
|
|
10453
|
-
}
|
|
10454
|
-
],
|
|
10455
10679
|
"superclass": {
|
|
10456
10680
|
"name": "GenesisElement",
|
|
10457
10681
|
"package": "@genesislcap/web-core"
|
|
10458
10682
|
},
|
|
10459
|
-
"tagName": "
|
|
10683
|
+
"tagName": "template-condition-builder",
|
|
10460
10684
|
"customElement": true
|
|
10461
10685
|
}
|
|
10462
10686
|
],
|
|
10463
10687
|
"exports": [
|
|
10464
10688
|
{
|
|
10465
10689
|
"kind": "js",
|
|
10466
|
-
"name": "
|
|
10690
|
+
"name": "TemplateConditionBuilder",
|
|
10467
10691
|
"declaration": {
|
|
10468
|
-
"name": "
|
|
10469
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
10692
|
+
"name": "TemplateConditionBuilder",
|
|
10693
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts"
|
|
10470
10694
|
}
|
|
10471
10695
|
},
|
|
10472
10696
|
{
|
|
10473
10697
|
"kind": "custom-element-definition",
|
|
10474
|
-
"name": "
|
|
10698
|
+
"name": "template-condition-builder",
|
|
10475
10699
|
"declaration": {
|
|
10476
|
-
"name": "
|
|
10477
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
10700
|
+
"name": "TemplateConditionBuilder",
|
|
10701
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts"
|
|
10478
10702
|
}
|
|
10479
10703
|
}
|
|
10480
10704
|
]
|
|
10481
10705
|
},
|
|
10482
10706
|
{
|
|
10483
10707
|
"kind": "javascript-module",
|
|
10484
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
10708
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
|
10485
10709
|
"declarations": [
|
|
10486
10710
|
{
|
|
10487
10711
|
"kind": "variable",
|
|
10488
|
-
"name": "
|
|
10489
|
-
"default": "
|
|
10712
|
+
"name": "ParameterBuilderStyles",
|
|
10713
|
+
"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`"
|
|
10490
10714
|
}
|
|
10491
10715
|
],
|
|
10492
10716
|
"exports": [
|
|
10493
10717
|
{
|
|
10494
10718
|
"kind": "js",
|
|
10495
|
-
"name": "
|
|
10719
|
+
"name": "ParameterBuilderStyles",
|
|
10496
10720
|
"declaration": {
|
|
10497
|
-
"name": "
|
|
10498
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
10721
|
+
"name": "ParameterBuilderStyles",
|
|
10722
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
|
|
10499
10723
|
}
|
|
10500
10724
|
}
|
|
10501
10725
|
]
|
|
10502
10726
|
},
|
|
10503
10727
|
{
|
|
10504
10728
|
"kind": "javascript-module",
|
|
10505
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
10729
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
|
|
10730
|
+
"declarations": [
|
|
10731
|
+
{
|
|
10732
|
+
"kind": "variable",
|
|
10733
|
+
"name": "ParameterBuilderTemplate",
|
|
10734
|
+
"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`"
|
|
10735
|
+
}
|
|
10736
|
+
],
|
|
10737
|
+
"exports": [
|
|
10738
|
+
{
|
|
10739
|
+
"kind": "js",
|
|
10740
|
+
"name": "ParameterBuilderTemplate",
|
|
10741
|
+
"declaration": {
|
|
10742
|
+
"name": "ParameterBuilderTemplate",
|
|
10743
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
|
|
10744
|
+
}
|
|
10745
|
+
}
|
|
10746
|
+
]
|
|
10747
|
+
},
|
|
10748
|
+
{
|
|
10749
|
+
"kind": "javascript-module",
|
|
10750
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
|
|
10506
10751
|
"declarations": [
|
|
10507
10752
|
{
|
|
10508
10753
|
"kind": "class",
|
|
10509
|
-
"description": "
|
|
10510
|
-
"name": "
|
|
10754
|
+
"description": "Parameter builder for notification templates.",
|
|
10755
|
+
"name": "ParameterBuilder",
|
|
10511
10756
|
"members": [
|
|
10512
10757
|
{
|
|
10513
10758
|
"kind": "field",
|
|
10514
|
-
"name": "
|
|
10759
|
+
"name": "parameter",
|
|
10515
10760
|
"type": {
|
|
10516
|
-
"text": "
|
|
10761
|
+
"text": "ParameterBuilderEntity"
|
|
10517
10762
|
}
|
|
10518
10763
|
},
|
|
10519
10764
|
{
|
|
10520
10765
|
"kind": "field",
|
|
10521
|
-
"name": "
|
|
10766
|
+
"name": "name",
|
|
10522
10767
|
"type": {
|
|
10523
|
-
"text": "
|
|
10524
|
-
}
|
|
10525
|
-
"default": "[]"
|
|
10768
|
+
"text": "string"
|
|
10769
|
+
}
|
|
10526
10770
|
},
|
|
10527
10771
|
{
|
|
10528
10772
|
"kind": "field",
|
|
10529
|
-
"name": "
|
|
10773
|
+
"name": "label",
|
|
10530
10774
|
"type": {
|
|
10531
|
-
"text": "
|
|
10532
|
-
}
|
|
10533
|
-
"default": "[]"
|
|
10775
|
+
"text": "string"
|
|
10776
|
+
}
|
|
10534
10777
|
},
|
|
10535
10778
|
{
|
|
10536
10779
|
"kind": "field",
|
|
10537
|
-
"name": "
|
|
10780
|
+
"name": "type",
|
|
10538
10781
|
"type": {
|
|
10539
|
-
"text": "
|
|
10540
|
-
}
|
|
10541
|
-
"default": "false"
|
|
10782
|
+
"text": "string"
|
|
10783
|
+
}
|
|
10542
10784
|
},
|
|
10543
10785
|
{
|
|
10544
10786
|
"kind": "field",
|
|
10545
|
-
"name": "
|
|
10787
|
+
"name": "sourceType",
|
|
10546
10788
|
"type": {
|
|
10547
10789
|
"text": "string"
|
|
10548
10790
|
}
|
|
10549
10791
|
},
|
|
10550
10792
|
{
|
|
10551
10793
|
"kind": "field",
|
|
10552
|
-
"name": "
|
|
10794
|
+
"name": "sourceSelected",
|
|
10553
10795
|
"type": {
|
|
10554
|
-
"text": "
|
|
10796
|
+
"text": "string"
|
|
10797
|
+
}
|
|
10798
|
+
},
|
|
10799
|
+
{
|
|
10800
|
+
"kind": "field",
|
|
10801
|
+
"name": "sourceTyped",
|
|
10802
|
+
"type": {
|
|
10803
|
+
"text": "string"
|
|
10804
|
+
}
|
|
10805
|
+
},
|
|
10806
|
+
{
|
|
10807
|
+
"kind": "field",
|
|
10808
|
+
"name": "sourceTextField",
|
|
10809
|
+
"type": {
|
|
10810
|
+
"text": "TextField"
|
|
10811
|
+
}
|
|
10812
|
+
},
|
|
10813
|
+
{
|
|
10814
|
+
"kind": "field",
|
|
10815
|
+
"name": "sourceSelect",
|
|
10816
|
+
"type": {
|
|
10817
|
+
"text": "Select"
|
|
10818
|
+
}
|
|
10819
|
+
},
|
|
10820
|
+
{
|
|
10821
|
+
"kind": "field",
|
|
10822
|
+
"name": "reqRepItems",
|
|
10823
|
+
"type": {
|
|
10824
|
+
"text": "array"
|
|
10555
10825
|
},
|
|
10556
|
-
"default": "[]"
|
|
10826
|
+
"default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
|
|
10557
10827
|
},
|
|
10558
10828
|
{
|
|
10559
10829
|
"kind": "method",
|
|
10560
|
-
"name": "
|
|
10830
|
+
"name": "deleteParameter"
|
|
10561
10831
|
},
|
|
10562
10832
|
{
|
|
10563
10833
|
"kind": "method",
|
|
10564
|
-
"name": "
|
|
10834
|
+
"name": "parameterChanged"
|
|
10565
10835
|
},
|
|
10566
10836
|
{
|
|
10567
10837
|
"kind": "method",
|
|
10568
|
-
"name": "
|
|
10838
|
+
"name": "nameChanged"
|
|
10569
10839
|
},
|
|
10570
10840
|
{
|
|
10571
10841
|
"kind": "method",
|
|
10572
|
-
"name": "
|
|
10842
|
+
"name": "labelChanged"
|
|
10573
10843
|
},
|
|
10574
10844
|
{
|
|
10575
10845
|
"kind": "method",
|
|
10576
|
-
"name": "
|
|
10577
|
-
"parameters": [
|
|
10578
|
-
{
|
|
10579
|
-
"name": "_editedChild",
|
|
10580
|
-
"type": {
|
|
10581
|
-
"text": "ConditionNode"
|
|
10582
|
-
}
|
|
10583
|
-
}
|
|
10584
|
-
]
|
|
10846
|
+
"name": "typeChanged"
|
|
10585
10847
|
},
|
|
10586
10848
|
{
|
|
10587
10849
|
"kind": "method",
|
|
10588
|
-
"name": "
|
|
10850
|
+
"name": "sourceTypeChanged"
|
|
10851
|
+
},
|
|
10852
|
+
{
|
|
10853
|
+
"kind": "method",
|
|
10854
|
+
"name": "sourceSelectedChanged"
|
|
10855
|
+
},
|
|
10856
|
+
{
|
|
10857
|
+
"kind": "method",
|
|
10858
|
+
"name": "sourceTypedChanged"
|
|
10859
|
+
},
|
|
10860
|
+
{
|
|
10861
|
+
"kind": "method",
|
|
10862
|
+
"name": "genericChanged",
|
|
10863
|
+
"privacy": "private",
|
|
10589
10864
|
"parameters": [
|
|
10590
10865
|
{
|
|
10591
|
-
"name": "
|
|
10592
|
-
|
|
10593
|
-
|
|
10594
|
-
|
|
10866
|
+
"name": "parameterAttribute"
|
|
10867
|
+
},
|
|
10868
|
+
{
|
|
10869
|
+
"name": "value"
|
|
10595
10870
|
}
|
|
10596
10871
|
]
|
|
10597
|
-
},
|
|
10598
|
-
{
|
|
10599
|
-
"kind": "method",
|
|
10600
|
-
"name": "deleteSelf"
|
|
10601
10872
|
}
|
|
10602
10873
|
],
|
|
10603
10874
|
"events": [
|
|
10604
10875
|
{
|
|
10605
|
-
"description": "Fired when
|
|
10876
|
+
"description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
|
|
10606
10877
|
"name": "delete"
|
|
10607
10878
|
},
|
|
10608
10879
|
{
|
|
10609
|
-
"description": "Fired when
|
|
10880
|
+
"description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
|
|
10610
10881
|
"name": "edit"
|
|
10611
10882
|
}
|
|
10612
10883
|
],
|
|
10884
|
+
"attributes": [
|
|
10885
|
+
{
|
|
10886
|
+
"name": "parameter",
|
|
10887
|
+
"type": {
|
|
10888
|
+
"text": "ParameterBuilderEntity"
|
|
10889
|
+
},
|
|
10890
|
+
"fieldName": "parameter"
|
|
10891
|
+
}
|
|
10892
|
+
],
|
|
10613
10893
|
"superclass": {
|
|
10614
10894
|
"name": "GenesisElement",
|
|
10615
10895
|
"package": "@genesislcap/web-core"
|
|
10616
10896
|
},
|
|
10617
|
-
"tagName": "
|
|
10897
|
+
"tagName": "parameter-builder",
|
|
10618
10898
|
"customElement": true
|
|
10619
10899
|
}
|
|
10620
10900
|
],
|
|
10621
10901
|
"exports": [
|
|
10622
10902
|
{
|
|
10623
10903
|
"kind": "js",
|
|
10624
|
-
"name": "
|
|
10904
|
+
"name": "ParameterBuilder",
|
|
10625
10905
|
"declaration": {
|
|
10626
|
-
"name": "
|
|
10627
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
10906
|
+
"name": "ParameterBuilder",
|
|
10907
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
10628
10908
|
}
|
|
10629
10909
|
},
|
|
10630
10910
|
{
|
|
10631
10911
|
"kind": "custom-element-definition",
|
|
10632
|
-
"name": "
|
|
10912
|
+
"name": "parameter-builder",
|
|
10633
10913
|
"declaration": {
|
|
10634
|
-
"name": "
|
|
10635
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
10914
|
+
"name": "ParameterBuilder",
|
|
10915
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
10636
10916
|
}
|
|
10637
10917
|
}
|
|
10638
10918
|
]
|
|
10639
10919
|
},
|
|
10640
10920
|
{
|
|
10641
10921
|
"kind": "javascript-module",
|
|
10642
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-
|
|
10922
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
|
|
10643
10923
|
"declarations": [
|
|
10644
10924
|
{
|
|
10645
10925
|
"kind": "variable",
|
|
10646
|
-
"name": "
|
|
10647
|
-
"default": "html<
|
|
10926
|
+
"name": "TemplateConditionGroupTemplate",
|
|
10927
|
+
"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`"
|
|
10648
10928
|
}
|
|
10649
10929
|
],
|
|
10650
10930
|
"exports": [
|
|
10651
10931
|
{
|
|
10652
10932
|
"kind": "js",
|
|
10653
|
-
"name": "
|
|
10933
|
+
"name": "TemplateConditionGroupTemplate",
|
|
10654
10934
|
"declaration": {
|
|
10655
|
-
"name": "
|
|
10656
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-
|
|
10935
|
+
"name": "TemplateConditionGroupTemplate",
|
|
10936
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts"
|
|
10657
10937
|
}
|
|
10658
10938
|
}
|
|
10659
10939
|
]
|
|
10660
10940
|
},
|
|
10661
10941
|
{
|
|
10662
10942
|
"kind": "javascript-module",
|
|
10663
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-
|
|
10943
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts",
|
|
10664
10944
|
"declarations": [
|
|
10665
10945
|
{
|
|
10666
10946
|
"kind": "class",
|
|
10667
|
-
"description": "
|
|
10668
|
-
"name": "
|
|
10947
|
+
"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.",
|
|
10948
|
+
"name": "TemplateConditionGroup",
|
|
10669
10949
|
"members": [
|
|
10670
10950
|
{
|
|
10671
10951
|
"kind": "field",
|
|
10672
|
-
"name": "
|
|
10952
|
+
"name": "node",
|
|
10673
10953
|
"type": {
|
|
10674
|
-
"text": "
|
|
10954
|
+
"text": "ConditionGroupEntity"
|
|
10675
10955
|
}
|
|
10676
10956
|
},
|
|
10677
10957
|
{
|
|
10678
10958
|
"kind": "field",
|
|
10679
|
-
"name": "
|
|
10959
|
+
"name": "fields",
|
|
10680
10960
|
"type": {
|
|
10681
|
-
"text": "
|
|
10961
|
+
"text": "Field[]"
|
|
10682
10962
|
},
|
|
10683
10963
|
"default": "[]"
|
|
10684
10964
|
},
|
|
10685
10965
|
{
|
|
10686
10966
|
"kind": "field",
|
|
10687
|
-
"name": "
|
|
10967
|
+
"name": "parameters",
|
|
10688
10968
|
"type": {
|
|
10689
|
-
"text": "
|
|
10969
|
+
"text": "Array<ParameterBuilderEntity>"
|
|
10690
10970
|
},
|
|
10691
10971
|
"default": "[]"
|
|
10692
10972
|
},
|
|
@@ -10707,91 +10987,15 @@
|
|
|
10707
10987
|
},
|
|
10708
10988
|
{
|
|
10709
10989
|
"kind": "field",
|
|
10710
|
-
"name": "
|
|
10711
|
-
"type": {
|
|
10712
|
-
"text": "any"
|
|
10713
|
-
},
|
|
10714
|
-
"default": "null"
|
|
10715
|
-
},
|
|
10716
|
-
{
|
|
10717
|
-
"kind": "field",
|
|
10718
|
-
"name": "leftValueItems",
|
|
10719
|
-
"type": {
|
|
10720
|
-
"text": "Array<any>"
|
|
10721
|
-
},
|
|
10722
|
-
"default": "[]"
|
|
10723
|
-
},
|
|
10724
|
-
{
|
|
10725
|
-
"kind": "field",
|
|
10726
|
-
"name": "logicalOperator",
|
|
10727
|
-
"type": {
|
|
10728
|
-
"text": "string"
|
|
10729
|
-
},
|
|
10730
|
-
"default": "null"
|
|
10731
|
-
},
|
|
10732
|
-
{
|
|
10733
|
-
"kind": "field",
|
|
10734
|
-
"name": "rightCriteria",
|
|
10735
|
-
"type": {
|
|
10736
|
-
"text": "string"
|
|
10737
|
-
}
|
|
10738
|
-
},
|
|
10739
|
-
{
|
|
10740
|
-
"kind": "field",
|
|
10741
|
-
"name": "rightValueText",
|
|
10742
|
-
"type": {
|
|
10743
|
-
"text": "string"
|
|
10744
|
-
},
|
|
10745
|
-
"default": "null"
|
|
10746
|
-
},
|
|
10747
|
-
{
|
|
10748
|
-
"kind": "field",
|
|
10749
|
-
"name": "rightValueSelect",
|
|
10750
|
-
"type": {
|
|
10751
|
-
"text": "string"
|
|
10752
|
-
},
|
|
10753
|
-
"default": "null"
|
|
10754
|
-
},
|
|
10755
|
-
{
|
|
10756
|
-
"kind": "field",
|
|
10757
|
-
"name": "rightValueItems",
|
|
10758
|
-
"type": {
|
|
10759
|
-
"text": "Array<any>"
|
|
10760
|
-
},
|
|
10761
|
-
"default": "[]"
|
|
10762
|
-
},
|
|
10763
|
-
{
|
|
10764
|
-
"kind": "field",
|
|
10765
|
-
"name": "rightValueMultiSelect",
|
|
10990
|
+
"name": "groupChildren",
|
|
10766
10991
|
"type": {
|
|
10767
|
-
"text": "
|
|
10992
|
+
"text": "ConditionNode[]"
|
|
10768
10993
|
},
|
|
10769
10994
|
"default": "[]"
|
|
10770
10995
|
},
|
|
10771
|
-
{
|
|
10772
|
-
"kind": "field",
|
|
10773
|
-
"name": "rightCriteriaOptions",
|
|
10774
|
-
"type": {
|
|
10775
|
-
"text": "RightCriteria[]"
|
|
10776
|
-
},
|
|
10777
|
-
"readonly": true
|
|
10778
|
-
},
|
|
10779
|
-
{
|
|
10780
|
-
"kind": "field",
|
|
10781
|
-
"name": "isStringLeftValue",
|
|
10782
|
-
"type": {
|
|
10783
|
-
"text": "boolean"
|
|
10784
|
-
},
|
|
10785
|
-
"privacy": "private",
|
|
10786
|
-
"readonly": true
|
|
10787
|
-
},
|
|
10788
|
-
{
|
|
10789
|
-
"kind": "method",
|
|
10790
|
-
"name": "deleteCondition"
|
|
10791
|
-
},
|
|
10792
10996
|
{
|
|
10793
10997
|
"kind": "method",
|
|
10794
|
-
"name": "
|
|
10998
|
+
"name": "nodeChanged"
|
|
10795
10999
|
},
|
|
10796
11000
|
{
|
|
10797
11001
|
"kind": "method",
|
|
@@ -10799,98 +11003,48 @@
|
|
|
10799
11003
|
},
|
|
10800
11004
|
{
|
|
10801
11005
|
"kind": "method",
|
|
10802
|
-
"name": "
|
|
11006
|
+
"name": "newCondition"
|
|
10803
11007
|
},
|
|
10804
11008
|
{
|
|
10805
11009
|
"kind": "method",
|
|
10806
|
-
"name": "
|
|
10807
|
-
"privacy": "private",
|
|
10808
|
-
"return": {
|
|
10809
|
-
"type": {
|
|
10810
|
-
"text": "ParameterBuilderEntity | undefined"
|
|
10811
|
-
}
|
|
10812
|
-
}
|
|
11010
|
+
"name": "newGroup"
|
|
10813
11011
|
},
|
|
10814
11012
|
{
|
|
10815
11013
|
"kind": "method",
|
|
10816
|
-
"name": "
|
|
10817
|
-
"
|
|
10818
|
-
|
|
10819
|
-
|
|
10820
|
-
"
|
|
11014
|
+
"name": "editChild",
|
|
11015
|
+
"parameters": [
|
|
11016
|
+
{
|
|
11017
|
+
"name": "_editedChild",
|
|
11018
|
+
"type": {
|
|
11019
|
+
"text": "ConditionNode"
|
|
11020
|
+
}
|
|
10821
11021
|
}
|
|
10822
|
-
|
|
10823
|
-
},
|
|
10824
|
-
{
|
|
10825
|
-
"kind": "method",
|
|
10826
|
-
"name": "resetToValueEditor",
|
|
10827
|
-
"privacy": "private"
|
|
10828
|
-
},
|
|
10829
|
-
{
|
|
10830
|
-
"kind": "method",
|
|
10831
|
-
"name": "fieldsChanged"
|
|
10832
|
-
},
|
|
10833
|
-
{
|
|
10834
|
-
"kind": "method",
|
|
10835
|
-
"name": "logicalOperatorChanged"
|
|
10836
|
-
},
|
|
10837
|
-
{
|
|
10838
|
-
"kind": "method",
|
|
10839
|
-
"name": "assignLeftValue",
|
|
10840
|
-
"privacy": "private"
|
|
10841
|
-
},
|
|
10842
|
-
{
|
|
10843
|
-
"kind": "method",
|
|
10844
|
-
"name": "leftValueChanged"
|
|
10845
|
-
},
|
|
10846
|
-
{
|
|
10847
|
-
"kind": "method",
|
|
10848
|
-
"name": "assignRightValue",
|
|
10849
|
-
"privacy": "private"
|
|
10850
|
-
},
|
|
10851
|
-
{
|
|
10852
|
-
"kind": "method",
|
|
10853
|
-
"name": "rightCriteriaChanged"
|
|
10854
|
-
},
|
|
10855
|
-
{
|
|
10856
|
-
"kind": "method",
|
|
10857
|
-
"name": "clearRightValueText",
|
|
10858
|
-
"privacy": "private"
|
|
10859
|
-
},
|
|
10860
|
-
{
|
|
10861
|
-
"kind": "method",
|
|
10862
|
-
"name": "clearRightValueSelect",
|
|
10863
|
-
"privacy": "private"
|
|
10864
|
-
},
|
|
10865
|
-
{
|
|
10866
|
-
"kind": "method",
|
|
10867
|
-
"name": "rightValueTextChanged"
|
|
10868
|
-
},
|
|
10869
|
-
{
|
|
10870
|
-
"kind": "method",
|
|
10871
|
-
"name": "rightValueSelectChanged"
|
|
11022
|
+
]
|
|
10872
11023
|
},
|
|
10873
11024
|
{
|
|
10874
11025
|
"kind": "method",
|
|
10875
|
-
"name": "
|
|
11026
|
+
"name": "deleteChild",
|
|
11027
|
+
"parameters": [
|
|
11028
|
+
{
|
|
11029
|
+
"name": "deletedChild",
|
|
11030
|
+
"type": {
|
|
11031
|
+
"text": "ConditionNode"
|
|
11032
|
+
}
|
|
11033
|
+
}
|
|
11034
|
+
]
|
|
10876
11035
|
},
|
|
10877
11036
|
{
|
|
10878
11037
|
"kind": "method",
|
|
10879
|
-
"name": "
|
|
10880
|
-
"return": {
|
|
10881
|
-
"type": {
|
|
10882
|
-
"text": "string[]"
|
|
10883
|
-
}
|
|
10884
|
-
}
|
|
11038
|
+
"name": "deleteSelf"
|
|
10885
11039
|
}
|
|
10886
11040
|
],
|
|
10887
11041
|
"events": [
|
|
10888
11042
|
{
|
|
10889
|
-
"description": "Fired when
|
|
11043
|
+
"description": "Fired when this whole group should be removed",
|
|
10890
11044
|
"name": "delete"
|
|
10891
11045
|
},
|
|
10892
11046
|
{
|
|
10893
|
-
"description": "Fired when
|
|
11047
|
+
"description": "Fired when anything inside this group changes",
|
|
10894
11048
|
"name": "edit"
|
|
10895
11049
|
}
|
|
10896
11050
|
],
|
|
@@ -10898,25 +11052,25 @@
|
|
|
10898
11052
|
"name": "GenesisElement",
|
|
10899
11053
|
"package": "@genesislcap/web-core"
|
|
10900
11054
|
},
|
|
10901
|
-
"tagName": "template-condition-
|
|
11055
|
+
"tagName": "template-condition-group",
|
|
10902
11056
|
"customElement": true
|
|
10903
11057
|
}
|
|
10904
11058
|
],
|
|
10905
11059
|
"exports": [
|
|
10906
11060
|
{
|
|
10907
11061
|
"kind": "js",
|
|
10908
|
-
"name": "
|
|
11062
|
+
"name": "TemplateConditionGroup",
|
|
10909
11063
|
"declaration": {
|
|
10910
|
-
"name": "
|
|
10911
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-
|
|
11064
|
+
"name": "TemplateConditionGroup",
|
|
11065
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
|
|
10912
11066
|
}
|
|
10913
11067
|
},
|
|
10914
11068
|
{
|
|
10915
11069
|
"kind": "custom-element-definition",
|
|
10916
|
-
"name": "template-condition-
|
|
11070
|
+
"name": "template-condition-group",
|
|
10917
11071
|
"declaration": {
|
|
10918
|
-
"name": "
|
|
10919
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-
|
|
11072
|
+
"name": "TemplateConditionGroup",
|
|
11073
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
|
|
10920
11074
|
}
|
|
10921
11075
|
}
|
|
10922
11076
|
]
|