@genesislcap/pbc-notify-ui 15.46.1 → 15.46.2-FUI-2628.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +467 -467
- package/dist/dts/react.d.ts +17 -17
- package/dist/react.cjs +10 -10
- package/dist/react.mjs +8 -8
- package/package.json +22 -22
|
@@ -5207,6 +5207,95 @@
|
|
|
5207
5207
|
}
|
|
5208
5208
|
]
|
|
5209
5209
|
},
|
|
5210
|
+
{
|
|
5211
|
+
"kind": "javascript-module",
|
|
5212
|
+
"path": "src/components/foundation-notification-dashboard/styles/condition-builder.styles.ts",
|
|
5213
|
+
"declarations": [
|
|
5214
|
+
{
|
|
5215
|
+
"kind": "variable",
|
|
5216
|
+
"name": "ConditionBuilderStyles",
|
|
5217
|
+
"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`"
|
|
5218
|
+
},
|
|
5219
|
+
{
|
|
5220
|
+
"kind": "variable",
|
|
5221
|
+
"name": "ConditionGroupStyles",
|
|
5222
|
+
"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`"
|
|
5223
|
+
}
|
|
5224
|
+
],
|
|
5225
|
+
"exports": [
|
|
5226
|
+
{
|
|
5227
|
+
"kind": "js",
|
|
5228
|
+
"name": "ConditionBuilderStyles",
|
|
5229
|
+
"declaration": {
|
|
5230
|
+
"name": "ConditionBuilderStyles",
|
|
5231
|
+
"module": "src/components/foundation-notification-dashboard/styles/condition-builder.styles.ts"
|
|
5232
|
+
}
|
|
5233
|
+
},
|
|
5234
|
+
{
|
|
5235
|
+
"kind": "js",
|
|
5236
|
+
"name": "ConditionGroupStyles",
|
|
5237
|
+
"declaration": {
|
|
5238
|
+
"name": "ConditionGroupStyles",
|
|
5239
|
+
"module": "src/components/foundation-notification-dashboard/styles/condition-builder.styles.ts"
|
|
5240
|
+
}
|
|
5241
|
+
}
|
|
5242
|
+
]
|
|
5243
|
+
},
|
|
5244
|
+
{
|
|
5245
|
+
"kind": "javascript-module",
|
|
5246
|
+
"path": "src/components/foundation-notification-dashboard/styles/dynamic-rule.styles.ts",
|
|
5247
|
+
"declarations": [
|
|
5248
|
+
{
|
|
5249
|
+
"kind": "variable",
|
|
5250
|
+
"name": "DynamicRuleManagementStyles",
|
|
5251
|
+
"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`"
|
|
5252
|
+
},
|
|
5253
|
+
{
|
|
5254
|
+
"kind": "variable",
|
|
5255
|
+
"name": "DynamicRuleDialogStyles",
|
|
5256
|
+
"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`"
|
|
5257
|
+
}
|
|
5258
|
+
],
|
|
5259
|
+
"exports": [
|
|
5260
|
+
{
|
|
5261
|
+
"kind": "js",
|
|
5262
|
+
"name": "DynamicRuleManagementStyles",
|
|
5263
|
+
"declaration": {
|
|
5264
|
+
"name": "DynamicRuleManagementStyles",
|
|
5265
|
+
"module": "src/components/foundation-notification-dashboard/styles/dynamic-rule.styles.ts"
|
|
5266
|
+
}
|
|
5267
|
+
},
|
|
5268
|
+
{
|
|
5269
|
+
"kind": "js",
|
|
5270
|
+
"name": "DynamicRuleDialogStyles",
|
|
5271
|
+
"declaration": {
|
|
5272
|
+
"name": "DynamicRuleDialogStyles",
|
|
5273
|
+
"module": "src/components/foundation-notification-dashboard/styles/dynamic-rule.styles.ts"
|
|
5274
|
+
}
|
|
5275
|
+
}
|
|
5276
|
+
]
|
|
5277
|
+
},
|
|
5278
|
+
{
|
|
5279
|
+
"kind": "javascript-module",
|
|
5280
|
+
"path": "src/components/foundation-notification-dashboard/styles/management.styles.ts",
|
|
5281
|
+
"declarations": [
|
|
5282
|
+
{
|
|
5283
|
+
"kind": "variable",
|
|
5284
|
+
"name": "managementGridStyles",
|
|
5285
|
+
"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`"
|
|
5286
|
+
}
|
|
5287
|
+
],
|
|
5288
|
+
"exports": [
|
|
5289
|
+
{
|
|
5290
|
+
"kind": "js",
|
|
5291
|
+
"name": "managementGridStyles",
|
|
5292
|
+
"declaration": {
|
|
5293
|
+
"name": "managementGridStyles",
|
|
5294
|
+
"module": "src/components/foundation-notification-dashboard/styles/management.styles.ts"
|
|
5295
|
+
}
|
|
5296
|
+
}
|
|
5297
|
+
]
|
|
5298
|
+
},
|
|
5210
5299
|
{
|
|
5211
5300
|
"kind": "javascript-module",
|
|
5212
5301
|
"path": "src/components/foundation-notification-dashboard/types/expression-type.ts",
|
|
@@ -5807,95 +5896,6 @@
|
|
|
5807
5896
|
}
|
|
5808
5897
|
]
|
|
5809
5898
|
},
|
|
5810
|
-
{
|
|
5811
|
-
"kind": "javascript-module",
|
|
5812
|
-
"path": "src/components/foundation-notification-dashboard/styles/condition-builder.styles.ts",
|
|
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",
|
|
5847
|
-
"declarations": [
|
|
5848
|
-
{
|
|
5849
|
-
"kind": "variable",
|
|
5850
|
-
"name": "DynamicRuleManagementStyles",
|
|
5851
|
-
"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`"
|
|
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`"
|
|
5857
|
-
}
|
|
5858
|
-
],
|
|
5859
|
-
"exports": [
|
|
5860
|
-
{
|
|
5861
|
-
"kind": "js",
|
|
5862
|
-
"name": "DynamicRuleManagementStyles",
|
|
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",
|
|
5871
|
-
"declaration": {
|
|
5872
|
-
"name": "DynamicRuleDialogStyles",
|
|
5873
|
-
"module": "src/components/foundation-notification-dashboard/styles/dynamic-rule.styles.ts"
|
|
5874
|
-
}
|
|
5875
|
-
}
|
|
5876
|
-
]
|
|
5877
|
-
},
|
|
5878
|
-
{
|
|
5879
|
-
"kind": "javascript-module",
|
|
5880
|
-
"path": "src/components/foundation-notification-dashboard/styles/management.styles.ts",
|
|
5881
|
-
"declarations": [
|
|
5882
|
-
{
|
|
5883
|
-
"kind": "variable",
|
|
5884
|
-
"name": "managementGridStyles",
|
|
5885
|
-
"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`"
|
|
5886
|
-
}
|
|
5887
|
-
],
|
|
5888
|
-
"exports": [
|
|
5889
|
-
{
|
|
5890
|
-
"kind": "js",
|
|
5891
|
-
"name": "managementGridStyles",
|
|
5892
|
-
"declaration": {
|
|
5893
|
-
"name": "managementGridStyles",
|
|
5894
|
-
"module": "src/components/foundation-notification-dashboard/styles/management.styles.ts"
|
|
5895
|
-
}
|
|
5896
|
-
}
|
|
5897
|
-
]
|
|
5898
|
-
},
|
|
5899
5899
|
{
|
|
5900
5900
|
"kind": "javascript-module",
|
|
5901
5901
|
"path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts",
|
|
@@ -9833,39 +9833,39 @@
|
|
|
9833
9833
|
},
|
|
9834
9834
|
{
|
|
9835
9835
|
"kind": "javascript-module",
|
|
9836
|
-
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-
|
|
9836
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
|
|
9837
9837
|
"declarations": [
|
|
9838
9838
|
{
|
|
9839
9839
|
"kind": "variable",
|
|
9840
|
-
"name": "
|
|
9841
|
-
"default": "html<
|
|
9840
|
+
"name": "RuleConditionGroupTemplate",
|
|
9841
|
+
"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`"
|
|
9842
9842
|
}
|
|
9843
9843
|
],
|
|
9844
9844
|
"exports": [
|
|
9845
9845
|
{
|
|
9846
9846
|
"kind": "js",
|
|
9847
|
-
"name": "
|
|
9847
|
+
"name": "RuleConditionGroupTemplate",
|
|
9848
9848
|
"declaration": {
|
|
9849
|
-
"name": "
|
|
9850
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-
|
|
9849
|
+
"name": "RuleConditionGroupTemplate",
|
|
9850
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
|
|
9851
9851
|
}
|
|
9852
9852
|
}
|
|
9853
9853
|
]
|
|
9854
9854
|
},
|
|
9855
9855
|
{
|
|
9856
9856
|
"kind": "javascript-module",
|
|
9857
|
-
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-
|
|
9857
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
|
|
9858
9858
|
"declarations": [
|
|
9859
9859
|
{
|
|
9860
9860
|
"kind": "class",
|
|
9861
|
-
"description": "
|
|
9862
|
-
"name": "
|
|
9861
|
+
"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.",
|
|
9862
|
+
"name": "RuleConditionGroup",
|
|
9863
9863
|
"members": [
|
|
9864
9864
|
{
|
|
9865
9865
|
"kind": "field",
|
|
9866
|
-
"name": "
|
|
9866
|
+
"name": "node",
|
|
9867
9867
|
"type": {
|
|
9868
|
-
"text": "
|
|
9868
|
+
"text": "ConditionGroupEntity"
|
|
9869
9869
|
}
|
|
9870
9870
|
},
|
|
9871
9871
|
{
|
|
@@ -9893,192 +9893,64 @@
|
|
|
9893
9893
|
},
|
|
9894
9894
|
{
|
|
9895
9895
|
"kind": "field",
|
|
9896
|
-
"name": "
|
|
9897
|
-
"type": {
|
|
9898
|
-
"text": "string"
|
|
9899
|
-
},
|
|
9900
|
-
"default": "null"
|
|
9901
|
-
},
|
|
9902
|
-
{
|
|
9903
|
-
"kind": "field",
|
|
9904
|
-
"name": "leftValueItems",
|
|
9896
|
+
"name": "groupChildren",
|
|
9905
9897
|
"type": {
|
|
9906
|
-
"text": "
|
|
9898
|
+
"text": "ConditionNode[]"
|
|
9907
9899
|
},
|
|
9908
9900
|
"default": "[]"
|
|
9909
9901
|
},
|
|
9910
9902
|
{
|
|
9911
|
-
"kind": "
|
|
9912
|
-
"name": "
|
|
9913
|
-
"type": {
|
|
9914
|
-
"text": "string"
|
|
9915
|
-
},
|
|
9916
|
-
"default": "null"
|
|
9917
|
-
},
|
|
9918
|
-
{
|
|
9919
|
-
"kind": "field",
|
|
9920
|
-
"name": "rightCriteria",
|
|
9921
|
-
"type": {
|
|
9922
|
-
"text": "string"
|
|
9923
|
-
}
|
|
9924
|
-
},
|
|
9925
|
-
{
|
|
9926
|
-
"kind": "field",
|
|
9927
|
-
"name": "rightValueText",
|
|
9928
|
-
"type": {
|
|
9929
|
-
"text": "string"
|
|
9930
|
-
},
|
|
9931
|
-
"default": "null"
|
|
9932
|
-
},
|
|
9933
|
-
{
|
|
9934
|
-
"kind": "field",
|
|
9935
|
-
"name": "rightValueSelect",
|
|
9936
|
-
"type": {
|
|
9937
|
-
"text": "string"
|
|
9938
|
-
},
|
|
9939
|
-
"default": "null"
|
|
9903
|
+
"kind": "method",
|
|
9904
|
+
"name": "nodeChanged"
|
|
9940
9905
|
},
|
|
9941
9906
|
{
|
|
9942
|
-
"kind": "
|
|
9943
|
-
"name": "
|
|
9944
|
-
"type": {
|
|
9945
|
-
"text": "string[]"
|
|
9946
|
-
},
|
|
9947
|
-
"default": "[]"
|
|
9907
|
+
"kind": "method",
|
|
9908
|
+
"name": "joinOperatorChanged"
|
|
9948
9909
|
},
|
|
9949
9910
|
{
|
|
9950
9911
|
"kind": "method",
|
|
9951
|
-
"name": "
|
|
9912
|
+
"name": "newCondition"
|
|
9952
9913
|
},
|
|
9953
9914
|
{
|
|
9954
9915
|
"kind": "method",
|
|
9955
|
-
"name": "
|
|
9916
|
+
"name": "newGroup"
|
|
9956
9917
|
},
|
|
9957
9918
|
{
|
|
9958
9919
|
"kind": "method",
|
|
9959
|
-
"name": "
|
|
9960
|
-
},
|
|
9961
|
-
{
|
|
9962
|
-
"kind": "method",
|
|
9963
|
-
"name": "fieldsChanged"
|
|
9964
|
-
},
|
|
9965
|
-
{
|
|
9966
|
-
"kind": "method",
|
|
9967
|
-
"name": "assignLeftValue",
|
|
9968
|
-
"privacy": "private"
|
|
9969
|
-
},
|
|
9970
|
-
{
|
|
9971
|
-
"kind": "method",
|
|
9972
|
-
"name": "assignRightValue"
|
|
9973
|
-
},
|
|
9974
|
-
{
|
|
9975
|
-
"kind": "method",
|
|
9976
|
-
"name": "getRightCriteria",
|
|
9977
|
-
"return": {
|
|
9978
|
-
"type": {
|
|
9979
|
-
"text": "Array<any>"
|
|
9980
|
-
}
|
|
9981
|
-
}
|
|
9982
|
-
},
|
|
9983
|
-
{
|
|
9984
|
-
"kind": "method",
|
|
9985
|
-
"name": "getLogicalOperators",
|
|
9986
|
-
"return": {
|
|
9987
|
-
"type": {
|
|
9988
|
-
"text": "Array<any>"
|
|
9989
|
-
}
|
|
9990
|
-
}
|
|
9991
|
-
},
|
|
9992
|
-
{
|
|
9993
|
-
"kind": "method",
|
|
9994
|
-
"name": "leftValueChanged"
|
|
9995
|
-
},
|
|
9996
|
-
{
|
|
9997
|
-
"kind": "method",
|
|
9998
|
-
"name": "logicalOperatorChanged"
|
|
9999
|
-
},
|
|
10000
|
-
{
|
|
10001
|
-
"kind": "method",
|
|
10002
|
-
"name": "rightCriteriaChanged"
|
|
10003
|
-
},
|
|
10004
|
-
{
|
|
10005
|
-
"kind": "method",
|
|
10006
|
-
"name": "clearRightValueText",
|
|
10007
|
-
"privacy": "private"
|
|
10008
|
-
},
|
|
10009
|
-
{
|
|
10010
|
-
"kind": "method",
|
|
10011
|
-
"name": "clearRightValueSelect",
|
|
10012
|
-
"privacy": "private"
|
|
10013
|
-
},
|
|
10014
|
-
{
|
|
10015
|
-
"kind": "method",
|
|
10016
|
-
"name": "rightValueTextChanged"
|
|
10017
|
-
},
|
|
10018
|
-
{
|
|
10019
|
-
"kind": "method",
|
|
10020
|
-
"name": "rightValueSelectChanged"
|
|
10021
|
-
},
|
|
10022
|
-
{
|
|
10023
|
-
"kind": "method",
|
|
10024
|
-
"name": "rightValueMultiSelectChanged"
|
|
10025
|
-
},
|
|
10026
|
-
{
|
|
10027
|
-
"kind": "method",
|
|
10028
|
-
"name": "getEnumValues",
|
|
10029
|
-
"return": {
|
|
10030
|
-
"type": {
|
|
10031
|
-
"text": "string[]"
|
|
10032
|
-
}
|
|
10033
|
-
}
|
|
10034
|
-
},
|
|
10035
|
-
{
|
|
10036
|
-
"kind": "method",
|
|
10037
|
-
"name": "convertDateTime",
|
|
9920
|
+
"name": "editChild",
|
|
10038
9921
|
"parameters": [
|
|
10039
9922
|
{
|
|
10040
|
-
"name": "
|
|
9923
|
+
"name": "_editedChild",
|
|
10041
9924
|
"type": {
|
|
10042
|
-
"text": "
|
|
9925
|
+
"text": "ConditionNode"
|
|
10043
9926
|
}
|
|
10044
9927
|
}
|
|
10045
9928
|
]
|
|
10046
9929
|
},
|
|
10047
9930
|
{
|
|
10048
9931
|
"kind": "method",
|
|
10049
|
-
"name": "
|
|
9932
|
+
"name": "deleteChild",
|
|
10050
9933
|
"parameters": [
|
|
10051
9934
|
{
|
|
10052
|
-
"name": "
|
|
10053
|
-
"type": {
|
|
10054
|
-
"text": "number"
|
|
10055
|
-
}
|
|
10056
|
-
},
|
|
10057
|
-
{
|
|
10058
|
-
"name": "time",
|
|
10059
|
-
"default": "false",
|
|
9935
|
+
"name": "deletedChild",
|
|
10060
9936
|
"type": {
|
|
10061
|
-
"text": "
|
|
9937
|
+
"text": "ConditionNode"
|
|
10062
9938
|
}
|
|
10063
9939
|
}
|
|
10064
9940
|
]
|
|
10065
9941
|
},
|
|
10066
9942
|
{
|
|
10067
9943
|
"kind": "method",
|
|
10068
|
-
"name": "
|
|
10069
|
-
},
|
|
10070
|
-
{
|
|
10071
|
-
"kind": "method",
|
|
10072
|
-
"name": "getApplicableFields"
|
|
9944
|
+
"name": "deleteSelf"
|
|
10073
9945
|
}
|
|
10074
9946
|
],
|
|
10075
9947
|
"events": [
|
|
10076
9948
|
{
|
|
10077
|
-
"description": "Fired when
|
|
9949
|
+
"description": "Fired when this whole group should be removed",
|
|
10078
9950
|
"name": "delete"
|
|
10079
9951
|
},
|
|
10080
9952
|
{
|
|
10081
|
-
"description": "Fired when
|
|
9953
|
+
"description": "Fired when anything inside this group changes",
|
|
10082
9954
|
"name": "edit"
|
|
10083
9955
|
}
|
|
10084
9956
|
],
|
|
@@ -10086,70 +9958,64 @@
|
|
|
10086
9958
|
"name": "GenesisElement",
|
|
10087
9959
|
"package": "@genesislcap/web-core"
|
|
10088
9960
|
},
|
|
10089
|
-
"tagName": "rule-condition-
|
|
9961
|
+
"tagName": "rule-condition-group",
|
|
10090
9962
|
"customElement": true
|
|
10091
9963
|
}
|
|
10092
9964
|
],
|
|
10093
9965
|
"exports": [
|
|
10094
9966
|
{
|
|
10095
9967
|
"kind": "js",
|
|
10096
|
-
"name": "
|
|
9968
|
+
"name": "RuleConditionGroup",
|
|
10097
9969
|
"declaration": {
|
|
10098
|
-
"name": "
|
|
10099
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-
|
|
9970
|
+
"name": "RuleConditionGroup",
|
|
9971
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
10100
9972
|
}
|
|
10101
9973
|
},
|
|
10102
9974
|
{
|
|
10103
9975
|
"kind": "custom-element-definition",
|
|
10104
|
-
"name": "rule-condition-
|
|
9976
|
+
"name": "rule-condition-group",
|
|
10105
9977
|
"declaration": {
|
|
10106
|
-
"name": "
|
|
10107
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-
|
|
9978
|
+
"name": "RuleConditionGroup",
|
|
9979
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
10108
9980
|
}
|
|
10109
9981
|
}
|
|
10110
9982
|
]
|
|
10111
9983
|
},
|
|
10112
9984
|
{
|
|
10113
9985
|
"kind": "javascript-module",
|
|
10114
|
-
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.
|
|
10115
|
-
"declarations": [],
|
|
10116
|
-
"exports": []
|
|
10117
|
-
},
|
|
10118
|
-
{
|
|
10119
|
-
"kind": "javascript-module",
|
|
10120
|
-
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
|
|
9986
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts",
|
|
10121
9987
|
"declarations": [
|
|
10122
9988
|
{
|
|
10123
9989
|
"kind": "variable",
|
|
10124
|
-
"name": "
|
|
10125
|
-
"default": "html<
|
|
9990
|
+
"name": "RuleConditionBuilderTemplate",
|
|
9991
|
+
"default": "html<RuleConditionBuilder>`\n ${when(\n (x) => !x.isFirst,\n html`\n <div class=\"join-toggle-row\">\n <div class=\"join-toggle\">\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'AND'])}\"\n @click=${(x) => (x.joinOperator = 'AND')}\n >\n AND\n </span>\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'OR'])}\"\n @click=${(x) => (x.joinOperator = 'OR')}\n >\n OR\n </span>\n </div>\n </div>\n `,\n )}\n <div class=\"condition-builder\">\n <rapid-select\n :value=${sync((x) => x.leftValue)}\n :initialValue=${sync((x) => x.leftValue)}\n title=${(x) => (x.leftValue ? JSON.parse(x.leftValue).FIELD_NAME : '')}\n class=\"left-value\"\n >\n ${repeat(\n (x) => x.getAllFields(),\n html`\n <rapid-option value=${(x) => JSON.stringify(x)} title=${(x) => x.FIELD_NAME}>\n ${(x) => x.FIELD_NAME}\n </rapid-option>\n `,\n )}\n </rapid-select>\n\n <rapid-select\n class=\"logical-operator${(x) =>\n classNames([\n '-null-and-blank',\n nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n ])}\"\n :value=${sync((x) => x.logicalOperator)}\n title=${(x) => x.logicalOperator}\n >\n ${repeat(\n (x) => x.getLogicalOperators(),\n html`\n <rapid-option value=${(x) => x.operator} title=${(x) => x}>\n ${(x) => x.label}\n </rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => !nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n html`\n <rapid-select\n class=\"right-criteria\"\n :value=${sync((x) => x.rightCriteria)}\n title=${(x) => x.rightCriteria}\n >\n ${repeat(\n (x) => x.getRightCriteria(),\n html`\n <rapid-option value=${(x) => x} title=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.rightCriteria === RightCriteria.VALUE,\n html`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.BOOLEAN,\n html`\n <rapid-select class=\"right-criteria-select\" :value=${sync((x) => x.rightValueText)}>\n <rapid-option value=\"true\">true</rapid-option>\n <rapid-option value=\"false\">false</rapid-option>\n </rapid-select>\n `,\n html`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === 'ENUM',\n html`\n <rapid-multiselect\n class=\"right-criteria-select\"\n :selectedOptions=${(x) => x.rightValueMultiSelect}\n @selectionChange=${(x, c) => {\n x.rightValueMultiSelect = (c.event as CustomEvent).detail;\n }}\n search=\"true\"\n all=\"false\"\n >\n <multiselect-datasource\n value-field=\"value\"\n label-field=\"value\"\n :data=${(x) => x.getEnumValues().map((value) => ({ value }))}\n ></multiselect-datasource>\n </rapid-multiselect>\n `,\n html`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.DATE,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n type=\"date\"\n ></rapid-text-field>\n `,\n html`\n ${whenElse(\n (x) =>\n JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.DATETIME,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n type=\"datetime-local\"\n ></rapid-text-field>\n `,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n placeholder=\"Value (comma-separate for multiple)\"\n autocomplete=\"off\"\n ></rapid-text-field>\n `,\n )}\n `,\n )}\n `,\n )}\n `,\n )}\n `,\n )}\n ${when(\n (x) => x.rightCriteria === RightCriteria.FIELD,\n html`\n <rapid-select\n class=\"right-criteria-select\"\n :value=${sync((x) => x.rightValueSelect)}\n title=${(x) => x.rightValueSelect}\n >\n ${repeat(\n (x) => x.getApplicableFields(),\n html`\n <rapid-option value=${(x) => x.FIELD_NAME} title=${(x) => x.FIELD_NAME}>\n ${(x) => x.FIELD_NAME}\n </rapid-option>\n `,\n )}\n </rapid-select>\n `,\n )}\n `,\n )}\n\n <rapid-button appearance=\"icon\" class=\"delete\" @click=${(x) => x.deleteCondition()}>\n <rapid-icon\n style=\"opacity: 0.5\"\n variant=\"regular\"\n name=\"trash-alt\"\n size=\"lg\"\n part=\"icon\"\n ></rapid-icon>\n </rapid-button>\n </div>\n`"
|
|
10126
9992
|
}
|
|
10127
9993
|
],
|
|
10128
9994
|
"exports": [
|
|
10129
9995
|
{
|
|
10130
9996
|
"kind": "js",
|
|
10131
|
-
"name": "
|
|
9997
|
+
"name": "RuleConditionBuilderTemplate",
|
|
10132
9998
|
"declaration": {
|
|
10133
|
-
"name": "
|
|
10134
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-
|
|
9999
|
+
"name": "RuleConditionBuilderTemplate",
|
|
10000
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts"
|
|
10135
10001
|
}
|
|
10136
10002
|
}
|
|
10137
10003
|
]
|
|
10138
10004
|
},
|
|
10139
10005
|
{
|
|
10140
10006
|
"kind": "javascript-module",
|
|
10141
|
-
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-
|
|
10007
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.ts",
|
|
10142
10008
|
"declarations": [
|
|
10143
10009
|
{
|
|
10144
10010
|
"kind": "class",
|
|
10145
|
-
"description": "
|
|
10146
|
-
"name": "
|
|
10011
|
+
"description": "Condition builder for notification rule criteria.",
|
|
10012
|
+
"name": "RuleConditionBuilder",
|
|
10147
10013
|
"members": [
|
|
10148
10014
|
{
|
|
10149
10015
|
"kind": "field",
|
|
10150
|
-
"name": "
|
|
10016
|
+
"name": "condition",
|
|
10151
10017
|
"type": {
|
|
10152
|
-
"text": "
|
|
10018
|
+
"text": "ConditionBuilderEntity"
|
|
10153
10019
|
}
|
|
10154
10020
|
},
|
|
10155
10021
|
{
|
|
@@ -10177,308 +10043,228 @@
|
|
|
10177
10043
|
},
|
|
10178
10044
|
{
|
|
10179
10045
|
"kind": "field",
|
|
10180
|
-
"name": "
|
|
10046
|
+
"name": "leftValue",
|
|
10181
10047
|
"type": {
|
|
10182
|
-
"text": "
|
|
10048
|
+
"text": "string"
|
|
10183
10049
|
},
|
|
10184
|
-
"default": "
|
|
10185
|
-
},
|
|
10186
|
-
{
|
|
10187
|
-
"kind": "method",
|
|
10188
|
-
"name": "nodeChanged"
|
|
10189
|
-
},
|
|
10190
|
-
{
|
|
10191
|
-
"kind": "method",
|
|
10192
|
-
"name": "joinOperatorChanged"
|
|
10193
|
-
},
|
|
10194
|
-
{
|
|
10195
|
-
"kind": "method",
|
|
10196
|
-
"name": "newCondition"
|
|
10197
|
-
},
|
|
10198
|
-
{
|
|
10199
|
-
"kind": "method",
|
|
10200
|
-
"name": "newGroup"
|
|
10201
|
-
},
|
|
10202
|
-
{
|
|
10203
|
-
"kind": "method",
|
|
10204
|
-
"name": "editChild",
|
|
10205
|
-
"parameters": [
|
|
10206
|
-
{
|
|
10207
|
-
"name": "_editedChild",
|
|
10208
|
-
"type": {
|
|
10209
|
-
"text": "ConditionNode"
|
|
10210
|
-
}
|
|
10211
|
-
}
|
|
10212
|
-
]
|
|
10213
|
-
},
|
|
10214
|
-
{
|
|
10215
|
-
"kind": "method",
|
|
10216
|
-
"name": "deleteChild",
|
|
10217
|
-
"parameters": [
|
|
10218
|
-
{
|
|
10219
|
-
"name": "deletedChild",
|
|
10220
|
-
"type": {
|
|
10221
|
-
"text": "ConditionNode"
|
|
10222
|
-
}
|
|
10223
|
-
}
|
|
10224
|
-
]
|
|
10225
|
-
},
|
|
10226
|
-
{
|
|
10227
|
-
"kind": "method",
|
|
10228
|
-
"name": "deleteSelf"
|
|
10229
|
-
}
|
|
10230
|
-
],
|
|
10231
|
-
"events": [
|
|
10232
|
-
{
|
|
10233
|
-
"description": "Fired when this whole group should be removed",
|
|
10234
|
-
"name": "delete"
|
|
10050
|
+
"default": "null"
|
|
10235
10051
|
},
|
|
10236
|
-
{
|
|
10237
|
-
"description": "Fired when anything inside this group changes",
|
|
10238
|
-
"name": "edit"
|
|
10239
|
-
}
|
|
10240
|
-
],
|
|
10241
|
-
"superclass": {
|
|
10242
|
-
"name": "GenesisElement",
|
|
10243
|
-
"package": "@genesislcap/web-core"
|
|
10244
|
-
},
|
|
10245
|
-
"tagName": "rule-condition-group",
|
|
10246
|
-
"customElement": true
|
|
10247
|
-
}
|
|
10248
|
-
],
|
|
10249
|
-
"exports": [
|
|
10250
|
-
{
|
|
10251
|
-
"kind": "js",
|
|
10252
|
-
"name": "RuleConditionGroup",
|
|
10253
|
-
"declaration": {
|
|
10254
|
-
"name": "RuleConditionGroup",
|
|
10255
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
10256
|
-
}
|
|
10257
|
-
},
|
|
10258
|
-
{
|
|
10259
|
-
"kind": "custom-element-definition",
|
|
10260
|
-
"name": "rule-condition-group",
|
|
10261
|
-
"declaration": {
|
|
10262
|
-
"name": "RuleConditionGroup",
|
|
10263
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
10264
|
-
}
|
|
10265
|
-
}
|
|
10266
|
-
]
|
|
10267
|
-
},
|
|
10268
|
-
{
|
|
10269
|
-
"kind": "javascript-module",
|
|
10270
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
|
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",
|
|
10292
|
-
"declarations": [
|
|
10293
|
-
{
|
|
10294
|
-
"kind": "variable",
|
|
10295
|
-
"name": "ParameterBuilderTemplate",
|
|
10296
|
-
"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`"
|
|
10297
|
-
}
|
|
10298
|
-
],
|
|
10299
|
-
"exports": [
|
|
10300
|
-
{
|
|
10301
|
-
"kind": "js",
|
|
10302
|
-
"name": "ParameterBuilderTemplate",
|
|
10303
|
-
"declaration": {
|
|
10304
|
-
"name": "ParameterBuilderTemplate",
|
|
10305
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
|
|
10306
|
-
}
|
|
10307
|
-
}
|
|
10308
|
-
]
|
|
10309
|
-
},
|
|
10310
|
-
{
|
|
10311
|
-
"kind": "javascript-module",
|
|
10312
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
|
|
10313
|
-
"declarations": [
|
|
10314
|
-
{
|
|
10315
|
-
"kind": "class",
|
|
10316
|
-
"description": "Parameter builder for notification templates.",
|
|
10317
|
-
"name": "ParameterBuilder",
|
|
10318
|
-
"members": [
|
|
10319
10052
|
{
|
|
10320
10053
|
"kind": "field",
|
|
10321
|
-
"name": "
|
|
10054
|
+
"name": "leftValueItems",
|
|
10322
10055
|
"type": {
|
|
10323
|
-
"text": "
|
|
10324
|
-
}
|
|
10056
|
+
"text": "Array<any>"
|
|
10057
|
+
},
|
|
10058
|
+
"default": "[]"
|
|
10325
10059
|
},
|
|
10326
10060
|
{
|
|
10327
10061
|
"kind": "field",
|
|
10328
|
-
"name": "
|
|
10062
|
+
"name": "logicalOperator",
|
|
10329
10063
|
"type": {
|
|
10330
10064
|
"text": "string"
|
|
10331
|
-
}
|
|
10065
|
+
},
|
|
10066
|
+
"default": "null"
|
|
10332
10067
|
},
|
|
10333
10068
|
{
|
|
10334
10069
|
"kind": "field",
|
|
10335
|
-
"name": "
|
|
10070
|
+
"name": "rightCriteria",
|
|
10336
10071
|
"type": {
|
|
10337
10072
|
"text": "string"
|
|
10338
10073
|
}
|
|
10339
10074
|
},
|
|
10340
10075
|
{
|
|
10341
10076
|
"kind": "field",
|
|
10342
|
-
"name": "
|
|
10077
|
+
"name": "rightValueText",
|
|
10343
10078
|
"type": {
|
|
10344
10079
|
"text": "string"
|
|
10345
|
-
}
|
|
10080
|
+
},
|
|
10081
|
+
"default": "null"
|
|
10346
10082
|
},
|
|
10347
10083
|
{
|
|
10348
10084
|
"kind": "field",
|
|
10349
|
-
"name": "
|
|
10085
|
+
"name": "rightValueSelect",
|
|
10350
10086
|
"type": {
|
|
10351
10087
|
"text": "string"
|
|
10352
|
-
}
|
|
10088
|
+
},
|
|
10089
|
+
"default": "null"
|
|
10353
10090
|
},
|
|
10354
10091
|
{
|
|
10355
10092
|
"kind": "field",
|
|
10356
|
-
"name": "
|
|
10093
|
+
"name": "rightValueMultiSelect",
|
|
10357
10094
|
"type": {
|
|
10358
|
-
"text": "string"
|
|
10359
|
-
}
|
|
10095
|
+
"text": "string[]"
|
|
10096
|
+
},
|
|
10097
|
+
"default": "[]"
|
|
10360
10098
|
},
|
|
10361
10099
|
{
|
|
10362
|
-
"kind": "
|
|
10363
|
-
"name": "
|
|
10364
|
-
"type": {
|
|
10365
|
-
"text": "string"
|
|
10366
|
-
}
|
|
10100
|
+
"kind": "method",
|
|
10101
|
+
"name": "deleteCondition"
|
|
10367
10102
|
},
|
|
10368
10103
|
{
|
|
10369
|
-
"kind": "
|
|
10370
|
-
"name": "
|
|
10371
|
-
|
|
10372
|
-
|
|
10104
|
+
"kind": "method",
|
|
10105
|
+
"name": "conditionChanged"
|
|
10106
|
+
},
|
|
10107
|
+
{
|
|
10108
|
+
"kind": "method",
|
|
10109
|
+
"name": "joinOperatorChanged"
|
|
10110
|
+
},
|
|
10111
|
+
{
|
|
10112
|
+
"kind": "method",
|
|
10113
|
+
"name": "fieldsChanged"
|
|
10114
|
+
},
|
|
10115
|
+
{
|
|
10116
|
+
"kind": "method",
|
|
10117
|
+
"name": "assignLeftValue",
|
|
10118
|
+
"privacy": "private"
|
|
10119
|
+
},
|
|
10120
|
+
{
|
|
10121
|
+
"kind": "method",
|
|
10122
|
+
"name": "assignRightValue"
|
|
10123
|
+
},
|
|
10124
|
+
{
|
|
10125
|
+
"kind": "method",
|
|
10126
|
+
"name": "getRightCriteria",
|
|
10127
|
+
"return": {
|
|
10128
|
+
"type": {
|
|
10129
|
+
"text": "Array<any>"
|
|
10130
|
+
}
|
|
10373
10131
|
}
|
|
10374
10132
|
},
|
|
10375
10133
|
{
|
|
10376
|
-
"kind": "
|
|
10377
|
-
"name": "
|
|
10378
|
-
"
|
|
10379
|
-
"
|
|
10134
|
+
"kind": "method",
|
|
10135
|
+
"name": "getLogicalOperators",
|
|
10136
|
+
"return": {
|
|
10137
|
+
"type": {
|
|
10138
|
+
"text": "Array<any>"
|
|
10139
|
+
}
|
|
10380
10140
|
}
|
|
10381
10141
|
},
|
|
10382
10142
|
{
|
|
10383
|
-
"kind": "
|
|
10384
|
-
"name": "
|
|
10385
|
-
"type": {
|
|
10386
|
-
"text": "array"
|
|
10387
|
-
},
|
|
10388
|
-
"default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
|
|
10143
|
+
"kind": "method",
|
|
10144
|
+
"name": "leftValueChanged"
|
|
10389
10145
|
},
|
|
10390
10146
|
{
|
|
10391
10147
|
"kind": "method",
|
|
10392
|
-
"name": "
|
|
10148
|
+
"name": "logicalOperatorChanged"
|
|
10393
10149
|
},
|
|
10394
10150
|
{
|
|
10395
10151
|
"kind": "method",
|
|
10396
|
-
"name": "
|
|
10152
|
+
"name": "rightCriteriaChanged"
|
|
10397
10153
|
},
|
|
10398
10154
|
{
|
|
10399
10155
|
"kind": "method",
|
|
10400
|
-
"name": "
|
|
10156
|
+
"name": "clearRightValueText",
|
|
10157
|
+
"privacy": "private"
|
|
10401
10158
|
},
|
|
10402
10159
|
{
|
|
10403
10160
|
"kind": "method",
|
|
10404
|
-
"name": "
|
|
10161
|
+
"name": "clearRightValueSelect",
|
|
10162
|
+
"privacy": "private"
|
|
10405
10163
|
},
|
|
10406
10164
|
{
|
|
10407
10165
|
"kind": "method",
|
|
10408
|
-
"name": "
|
|
10166
|
+
"name": "rightValueTextChanged"
|
|
10409
10167
|
},
|
|
10410
10168
|
{
|
|
10411
10169
|
"kind": "method",
|
|
10412
|
-
"name": "
|
|
10170
|
+
"name": "rightValueSelectChanged"
|
|
10413
10171
|
},
|
|
10414
10172
|
{
|
|
10415
10173
|
"kind": "method",
|
|
10416
|
-
"name": "
|
|
10174
|
+
"name": "rightValueMultiSelectChanged"
|
|
10417
10175
|
},
|
|
10418
10176
|
{
|
|
10419
10177
|
"kind": "method",
|
|
10420
|
-
"name": "
|
|
10178
|
+
"name": "getEnumValues",
|
|
10179
|
+
"return": {
|
|
10180
|
+
"type": {
|
|
10181
|
+
"text": "string[]"
|
|
10182
|
+
}
|
|
10183
|
+
}
|
|
10421
10184
|
},
|
|
10422
10185
|
{
|
|
10423
10186
|
"kind": "method",
|
|
10424
|
-
"name": "
|
|
10425
|
-
"privacy": "private",
|
|
10187
|
+
"name": "convertDateTime",
|
|
10426
10188
|
"parameters": [
|
|
10427
10189
|
{
|
|
10428
|
-
"name": "
|
|
10190
|
+
"name": "dateTimeStr",
|
|
10191
|
+
"type": {
|
|
10192
|
+
"text": "string"
|
|
10193
|
+
}
|
|
10194
|
+
}
|
|
10195
|
+
]
|
|
10196
|
+
},
|
|
10197
|
+
{
|
|
10198
|
+
"kind": "method",
|
|
10199
|
+
"name": "convertLongForDatePicker",
|
|
10200
|
+
"parameters": [
|
|
10201
|
+
{
|
|
10202
|
+
"name": "value",
|
|
10203
|
+
"type": {
|
|
10204
|
+
"text": "number"
|
|
10205
|
+
}
|
|
10429
10206
|
},
|
|
10430
10207
|
{
|
|
10431
|
-
"name": "
|
|
10208
|
+
"name": "time",
|
|
10209
|
+
"default": "false",
|
|
10210
|
+
"type": {
|
|
10211
|
+
"text": "boolean"
|
|
10212
|
+
}
|
|
10432
10213
|
}
|
|
10433
10214
|
]
|
|
10215
|
+
},
|
|
10216
|
+
{
|
|
10217
|
+
"kind": "method",
|
|
10218
|
+
"name": "getAllFields"
|
|
10219
|
+
},
|
|
10220
|
+
{
|
|
10221
|
+
"kind": "method",
|
|
10222
|
+
"name": "getApplicableFields"
|
|
10434
10223
|
}
|
|
10435
10224
|
],
|
|
10436
10225
|
"events": [
|
|
10437
10226
|
{
|
|
10438
|
-
"description": "Fired when a
|
|
10227
|
+
"description": "Fired when a condition is deleted. detail: `ConditionBuilderEntity`",
|
|
10439
10228
|
"name": "delete"
|
|
10440
10229
|
},
|
|
10441
10230
|
{
|
|
10442
|
-
"description": "Fired when a
|
|
10231
|
+
"description": "Fired when a condition is edited. detail: `ConditionBuilderEntity`",
|
|
10443
10232
|
"name": "edit"
|
|
10444
10233
|
}
|
|
10445
10234
|
],
|
|
10446
|
-
"attributes": [
|
|
10447
|
-
{
|
|
10448
|
-
"name": "parameter",
|
|
10449
|
-
"type": {
|
|
10450
|
-
"text": "ParameterBuilderEntity"
|
|
10451
|
-
},
|
|
10452
|
-
"fieldName": "parameter"
|
|
10453
|
-
}
|
|
10454
|
-
],
|
|
10455
10235
|
"superclass": {
|
|
10456
10236
|
"name": "GenesisElement",
|
|
10457
10237
|
"package": "@genesislcap/web-core"
|
|
10458
10238
|
},
|
|
10459
|
-
"tagName": "
|
|
10239
|
+
"tagName": "rule-condition-builder",
|
|
10460
10240
|
"customElement": true
|
|
10461
10241
|
}
|
|
10462
10242
|
],
|
|
10463
10243
|
"exports": [
|
|
10464
10244
|
{
|
|
10465
10245
|
"kind": "js",
|
|
10466
|
-
"name": "
|
|
10246
|
+
"name": "RuleConditionBuilder",
|
|
10467
10247
|
"declaration": {
|
|
10468
|
-
"name": "
|
|
10469
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
10248
|
+
"name": "RuleConditionBuilder",
|
|
10249
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.ts"
|
|
10470
10250
|
}
|
|
10471
10251
|
},
|
|
10472
10252
|
{
|
|
10473
10253
|
"kind": "custom-element-definition",
|
|
10474
|
-
"name": "
|
|
10254
|
+
"name": "rule-condition-builder",
|
|
10475
10255
|
"declaration": {
|
|
10476
|
-
"name": "
|
|
10477
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
10256
|
+
"name": "RuleConditionBuilder",
|
|
10257
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.ts"
|
|
10478
10258
|
}
|
|
10479
10259
|
}
|
|
10480
10260
|
]
|
|
10481
10261
|
},
|
|
10262
|
+
{
|
|
10263
|
+
"kind": "javascript-module",
|
|
10264
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.types.ts",
|
|
10265
|
+
"declarations": [],
|
|
10266
|
+
"exports": []
|
|
10267
|
+
},
|
|
10482
10268
|
{
|
|
10483
10269
|
"kind": "javascript-module",
|
|
10484
10270
|
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts",
|
|
@@ -10763,6 +10549,220 @@
|
|
|
10763
10549
|
}
|
|
10764
10550
|
]
|
|
10765
10551
|
},
|
|
10552
|
+
{
|
|
10553
|
+
"kind": "javascript-module",
|
|
10554
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
|
10555
|
+
"declarations": [
|
|
10556
|
+
{
|
|
10557
|
+
"kind": "variable",
|
|
10558
|
+
"name": "ParameterBuilderStyles",
|
|
10559
|
+
"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`"
|
|
10560
|
+
}
|
|
10561
|
+
],
|
|
10562
|
+
"exports": [
|
|
10563
|
+
{
|
|
10564
|
+
"kind": "js",
|
|
10565
|
+
"name": "ParameterBuilderStyles",
|
|
10566
|
+
"declaration": {
|
|
10567
|
+
"name": "ParameterBuilderStyles",
|
|
10568
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
|
|
10569
|
+
}
|
|
10570
|
+
}
|
|
10571
|
+
]
|
|
10572
|
+
},
|
|
10573
|
+
{
|
|
10574
|
+
"kind": "javascript-module",
|
|
10575
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
|
|
10576
|
+
"declarations": [
|
|
10577
|
+
{
|
|
10578
|
+
"kind": "variable",
|
|
10579
|
+
"name": "ParameterBuilderTemplate",
|
|
10580
|
+
"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`"
|
|
10581
|
+
}
|
|
10582
|
+
],
|
|
10583
|
+
"exports": [
|
|
10584
|
+
{
|
|
10585
|
+
"kind": "js",
|
|
10586
|
+
"name": "ParameterBuilderTemplate",
|
|
10587
|
+
"declaration": {
|
|
10588
|
+
"name": "ParameterBuilderTemplate",
|
|
10589
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
|
|
10590
|
+
}
|
|
10591
|
+
}
|
|
10592
|
+
]
|
|
10593
|
+
},
|
|
10594
|
+
{
|
|
10595
|
+
"kind": "javascript-module",
|
|
10596
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
|
|
10597
|
+
"declarations": [
|
|
10598
|
+
{
|
|
10599
|
+
"kind": "class",
|
|
10600
|
+
"description": "Parameter builder for notification templates.",
|
|
10601
|
+
"name": "ParameterBuilder",
|
|
10602
|
+
"members": [
|
|
10603
|
+
{
|
|
10604
|
+
"kind": "field",
|
|
10605
|
+
"name": "parameter",
|
|
10606
|
+
"type": {
|
|
10607
|
+
"text": "ParameterBuilderEntity"
|
|
10608
|
+
}
|
|
10609
|
+
},
|
|
10610
|
+
{
|
|
10611
|
+
"kind": "field",
|
|
10612
|
+
"name": "name",
|
|
10613
|
+
"type": {
|
|
10614
|
+
"text": "string"
|
|
10615
|
+
}
|
|
10616
|
+
},
|
|
10617
|
+
{
|
|
10618
|
+
"kind": "field",
|
|
10619
|
+
"name": "label",
|
|
10620
|
+
"type": {
|
|
10621
|
+
"text": "string"
|
|
10622
|
+
}
|
|
10623
|
+
},
|
|
10624
|
+
{
|
|
10625
|
+
"kind": "field",
|
|
10626
|
+
"name": "type",
|
|
10627
|
+
"type": {
|
|
10628
|
+
"text": "string"
|
|
10629
|
+
}
|
|
10630
|
+
},
|
|
10631
|
+
{
|
|
10632
|
+
"kind": "field",
|
|
10633
|
+
"name": "sourceType",
|
|
10634
|
+
"type": {
|
|
10635
|
+
"text": "string"
|
|
10636
|
+
}
|
|
10637
|
+
},
|
|
10638
|
+
{
|
|
10639
|
+
"kind": "field",
|
|
10640
|
+
"name": "sourceSelected",
|
|
10641
|
+
"type": {
|
|
10642
|
+
"text": "string"
|
|
10643
|
+
}
|
|
10644
|
+
},
|
|
10645
|
+
{
|
|
10646
|
+
"kind": "field",
|
|
10647
|
+
"name": "sourceTyped",
|
|
10648
|
+
"type": {
|
|
10649
|
+
"text": "string"
|
|
10650
|
+
}
|
|
10651
|
+
},
|
|
10652
|
+
{
|
|
10653
|
+
"kind": "field",
|
|
10654
|
+
"name": "sourceTextField",
|
|
10655
|
+
"type": {
|
|
10656
|
+
"text": "TextField"
|
|
10657
|
+
}
|
|
10658
|
+
},
|
|
10659
|
+
{
|
|
10660
|
+
"kind": "field",
|
|
10661
|
+
"name": "sourceSelect",
|
|
10662
|
+
"type": {
|
|
10663
|
+
"text": "Select"
|
|
10664
|
+
}
|
|
10665
|
+
},
|
|
10666
|
+
{
|
|
10667
|
+
"kind": "field",
|
|
10668
|
+
"name": "reqRepItems",
|
|
10669
|
+
"type": {
|
|
10670
|
+
"text": "array"
|
|
10671
|
+
},
|
|
10672
|
+
"default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
|
|
10673
|
+
},
|
|
10674
|
+
{
|
|
10675
|
+
"kind": "method",
|
|
10676
|
+
"name": "deleteParameter"
|
|
10677
|
+
},
|
|
10678
|
+
{
|
|
10679
|
+
"kind": "method",
|
|
10680
|
+
"name": "parameterChanged"
|
|
10681
|
+
},
|
|
10682
|
+
{
|
|
10683
|
+
"kind": "method",
|
|
10684
|
+
"name": "nameChanged"
|
|
10685
|
+
},
|
|
10686
|
+
{
|
|
10687
|
+
"kind": "method",
|
|
10688
|
+
"name": "labelChanged"
|
|
10689
|
+
},
|
|
10690
|
+
{
|
|
10691
|
+
"kind": "method",
|
|
10692
|
+
"name": "typeChanged"
|
|
10693
|
+
},
|
|
10694
|
+
{
|
|
10695
|
+
"kind": "method",
|
|
10696
|
+
"name": "sourceTypeChanged"
|
|
10697
|
+
},
|
|
10698
|
+
{
|
|
10699
|
+
"kind": "method",
|
|
10700
|
+
"name": "sourceSelectedChanged"
|
|
10701
|
+
},
|
|
10702
|
+
{
|
|
10703
|
+
"kind": "method",
|
|
10704
|
+
"name": "sourceTypedChanged"
|
|
10705
|
+
},
|
|
10706
|
+
{
|
|
10707
|
+
"kind": "method",
|
|
10708
|
+
"name": "genericChanged",
|
|
10709
|
+
"privacy": "private",
|
|
10710
|
+
"parameters": [
|
|
10711
|
+
{
|
|
10712
|
+
"name": "parameterAttribute"
|
|
10713
|
+
},
|
|
10714
|
+
{
|
|
10715
|
+
"name": "value"
|
|
10716
|
+
}
|
|
10717
|
+
]
|
|
10718
|
+
}
|
|
10719
|
+
],
|
|
10720
|
+
"events": [
|
|
10721
|
+
{
|
|
10722
|
+
"description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
|
|
10723
|
+
"name": "delete"
|
|
10724
|
+
},
|
|
10725
|
+
{
|
|
10726
|
+
"description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
|
|
10727
|
+
"name": "edit"
|
|
10728
|
+
}
|
|
10729
|
+
],
|
|
10730
|
+
"attributes": [
|
|
10731
|
+
{
|
|
10732
|
+
"name": "parameter",
|
|
10733
|
+
"type": {
|
|
10734
|
+
"text": "ParameterBuilderEntity"
|
|
10735
|
+
},
|
|
10736
|
+
"fieldName": "parameter"
|
|
10737
|
+
}
|
|
10738
|
+
],
|
|
10739
|
+
"superclass": {
|
|
10740
|
+
"name": "GenesisElement",
|
|
10741
|
+
"package": "@genesislcap/web-core"
|
|
10742
|
+
},
|
|
10743
|
+
"tagName": "parameter-builder",
|
|
10744
|
+
"customElement": true
|
|
10745
|
+
}
|
|
10746
|
+
],
|
|
10747
|
+
"exports": [
|
|
10748
|
+
{
|
|
10749
|
+
"kind": "js",
|
|
10750
|
+
"name": "ParameterBuilder",
|
|
10751
|
+
"declaration": {
|
|
10752
|
+
"name": "ParameterBuilder",
|
|
10753
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
10754
|
+
}
|
|
10755
|
+
},
|
|
10756
|
+
{
|
|
10757
|
+
"kind": "custom-element-definition",
|
|
10758
|
+
"name": "parameter-builder",
|
|
10759
|
+
"declaration": {
|
|
10760
|
+
"name": "ParameterBuilder",
|
|
10761
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
10762
|
+
}
|
|
10763
|
+
}
|
|
10764
|
+
]
|
|
10765
|
+
},
|
|
10766
10766
|
{
|
|
10767
10767
|
"kind": "javascript-module",
|
|
10768
10768
|
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
|