@genesislcap/pbc-notify-ui 15.23.0 → 15.23.1-FUI-2603.9
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 +322 -322
- package/dist/dts/react.d.ts +12 -12
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +4 -4
- package/package.json +22 -22
|
@@ -4229,95 +4229,6 @@
|
|
|
4229
4229
|
}
|
|
4230
4230
|
]
|
|
4231
4231
|
},
|
|
4232
|
-
{
|
|
4233
|
-
"kind": "javascript-module",
|
|
4234
|
-
"path": "src/components/foundation-notification-dashboard/styles/condition-builder.styles.ts",
|
|
4235
|
-
"declarations": [
|
|
4236
|
-
{
|
|
4237
|
-
"kind": "variable",
|
|
4238
|
-
"name": "ConditionBuilderStyles",
|
|
4239
|
-
"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`"
|
|
4240
|
-
},
|
|
4241
|
-
{
|
|
4242
|
-
"kind": "variable",
|
|
4243
|
-
"name": "ConditionGroupStyles",
|
|
4244
|
-
"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`"
|
|
4245
|
-
}
|
|
4246
|
-
],
|
|
4247
|
-
"exports": [
|
|
4248
|
-
{
|
|
4249
|
-
"kind": "js",
|
|
4250
|
-
"name": "ConditionBuilderStyles",
|
|
4251
|
-
"declaration": {
|
|
4252
|
-
"name": "ConditionBuilderStyles",
|
|
4253
|
-
"module": "src/components/foundation-notification-dashboard/styles/condition-builder.styles.ts"
|
|
4254
|
-
}
|
|
4255
|
-
},
|
|
4256
|
-
{
|
|
4257
|
-
"kind": "js",
|
|
4258
|
-
"name": "ConditionGroupStyles",
|
|
4259
|
-
"declaration": {
|
|
4260
|
-
"name": "ConditionGroupStyles",
|
|
4261
|
-
"module": "src/components/foundation-notification-dashboard/styles/condition-builder.styles.ts"
|
|
4262
|
-
}
|
|
4263
|
-
}
|
|
4264
|
-
]
|
|
4265
|
-
},
|
|
4266
|
-
{
|
|
4267
|
-
"kind": "javascript-module",
|
|
4268
|
-
"path": "src/components/foundation-notification-dashboard/styles/dynamic-rule.styles.ts",
|
|
4269
|
-
"declarations": [
|
|
4270
|
-
{
|
|
4271
|
-
"kind": "variable",
|
|
4272
|
-
"name": "DynamicRuleManagementStyles",
|
|
4273
|
-
"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`"
|
|
4274
|
-
},
|
|
4275
|
-
{
|
|
4276
|
-
"kind": "variable",
|
|
4277
|
-
"name": "DynamicRuleDialogStyles",
|
|
4278
|
-
"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 .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`"
|
|
4279
|
-
}
|
|
4280
|
-
],
|
|
4281
|
-
"exports": [
|
|
4282
|
-
{
|
|
4283
|
-
"kind": "js",
|
|
4284
|
-
"name": "DynamicRuleManagementStyles",
|
|
4285
|
-
"declaration": {
|
|
4286
|
-
"name": "DynamicRuleManagementStyles",
|
|
4287
|
-
"module": "src/components/foundation-notification-dashboard/styles/dynamic-rule.styles.ts"
|
|
4288
|
-
}
|
|
4289
|
-
},
|
|
4290
|
-
{
|
|
4291
|
-
"kind": "js",
|
|
4292
|
-
"name": "DynamicRuleDialogStyles",
|
|
4293
|
-
"declaration": {
|
|
4294
|
-
"name": "DynamicRuleDialogStyles",
|
|
4295
|
-
"module": "src/components/foundation-notification-dashboard/styles/dynamic-rule.styles.ts"
|
|
4296
|
-
}
|
|
4297
|
-
}
|
|
4298
|
-
]
|
|
4299
|
-
},
|
|
4300
|
-
{
|
|
4301
|
-
"kind": "javascript-module",
|
|
4302
|
-
"path": "src/components/foundation-notification-dashboard/styles/management.styles.ts",
|
|
4303
|
-
"declarations": [
|
|
4304
|
-
{
|
|
4305
|
-
"kind": "variable",
|
|
4306
|
-
"name": "managementGridStyles",
|
|
4307
|
-
"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`"
|
|
4308
|
-
}
|
|
4309
|
-
],
|
|
4310
|
-
"exports": [
|
|
4311
|
-
{
|
|
4312
|
-
"kind": "js",
|
|
4313
|
-
"name": "managementGridStyles",
|
|
4314
|
-
"declaration": {
|
|
4315
|
-
"name": "managementGridStyles",
|
|
4316
|
-
"module": "src/components/foundation-notification-dashboard/styles/management.styles.ts"
|
|
4317
|
-
}
|
|
4318
|
-
}
|
|
4319
|
-
]
|
|
4320
|
-
},
|
|
4321
4232
|
{
|
|
4322
4233
|
"kind": "javascript-module",
|
|
4323
4234
|
"path": "src/components/foundation-notification-dashboard/types/expression-type.ts",
|
|
@@ -4918,6 +4829,95 @@
|
|
|
4918
4829
|
}
|
|
4919
4830
|
]
|
|
4920
4831
|
},
|
|
4832
|
+
{
|
|
4833
|
+
"kind": "javascript-module",
|
|
4834
|
+
"path": "src/components/foundation-notification-dashboard/styles/condition-builder.styles.ts",
|
|
4835
|
+
"declarations": [
|
|
4836
|
+
{
|
|
4837
|
+
"kind": "variable",
|
|
4838
|
+
"name": "ConditionBuilderStyles",
|
|
4839
|
+
"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`"
|
|
4840
|
+
},
|
|
4841
|
+
{
|
|
4842
|
+
"kind": "variable",
|
|
4843
|
+
"name": "ConditionGroupStyles",
|
|
4844
|
+
"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`"
|
|
4845
|
+
}
|
|
4846
|
+
],
|
|
4847
|
+
"exports": [
|
|
4848
|
+
{
|
|
4849
|
+
"kind": "js",
|
|
4850
|
+
"name": "ConditionBuilderStyles",
|
|
4851
|
+
"declaration": {
|
|
4852
|
+
"name": "ConditionBuilderStyles",
|
|
4853
|
+
"module": "src/components/foundation-notification-dashboard/styles/condition-builder.styles.ts"
|
|
4854
|
+
}
|
|
4855
|
+
},
|
|
4856
|
+
{
|
|
4857
|
+
"kind": "js",
|
|
4858
|
+
"name": "ConditionGroupStyles",
|
|
4859
|
+
"declaration": {
|
|
4860
|
+
"name": "ConditionGroupStyles",
|
|
4861
|
+
"module": "src/components/foundation-notification-dashboard/styles/condition-builder.styles.ts"
|
|
4862
|
+
}
|
|
4863
|
+
}
|
|
4864
|
+
]
|
|
4865
|
+
},
|
|
4866
|
+
{
|
|
4867
|
+
"kind": "javascript-module",
|
|
4868
|
+
"path": "src/components/foundation-notification-dashboard/styles/dynamic-rule.styles.ts",
|
|
4869
|
+
"declarations": [
|
|
4870
|
+
{
|
|
4871
|
+
"kind": "variable",
|
|
4872
|
+
"name": "DynamicRuleManagementStyles",
|
|
4873
|
+
"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`"
|
|
4874
|
+
},
|
|
4875
|
+
{
|
|
4876
|
+
"kind": "variable",
|
|
4877
|
+
"name": "DynamicRuleDialogStyles",
|
|
4878
|
+
"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 .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`"
|
|
4879
|
+
}
|
|
4880
|
+
],
|
|
4881
|
+
"exports": [
|
|
4882
|
+
{
|
|
4883
|
+
"kind": "js",
|
|
4884
|
+
"name": "DynamicRuleManagementStyles",
|
|
4885
|
+
"declaration": {
|
|
4886
|
+
"name": "DynamicRuleManagementStyles",
|
|
4887
|
+
"module": "src/components/foundation-notification-dashboard/styles/dynamic-rule.styles.ts"
|
|
4888
|
+
}
|
|
4889
|
+
},
|
|
4890
|
+
{
|
|
4891
|
+
"kind": "js",
|
|
4892
|
+
"name": "DynamicRuleDialogStyles",
|
|
4893
|
+
"declaration": {
|
|
4894
|
+
"name": "DynamicRuleDialogStyles",
|
|
4895
|
+
"module": "src/components/foundation-notification-dashboard/styles/dynamic-rule.styles.ts"
|
|
4896
|
+
}
|
|
4897
|
+
}
|
|
4898
|
+
]
|
|
4899
|
+
},
|
|
4900
|
+
{
|
|
4901
|
+
"kind": "javascript-module",
|
|
4902
|
+
"path": "src/components/foundation-notification-dashboard/styles/management.styles.ts",
|
|
4903
|
+
"declarations": [
|
|
4904
|
+
{
|
|
4905
|
+
"kind": "variable",
|
|
4906
|
+
"name": "managementGridStyles",
|
|
4907
|
+
"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`"
|
|
4908
|
+
}
|
|
4909
|
+
],
|
|
4910
|
+
"exports": [
|
|
4911
|
+
{
|
|
4912
|
+
"kind": "js",
|
|
4913
|
+
"name": "managementGridStyles",
|
|
4914
|
+
"declaration": {
|
|
4915
|
+
"name": "managementGridStyles",
|
|
4916
|
+
"module": "src/components/foundation-notification-dashboard/styles/management.styles.ts"
|
|
4917
|
+
}
|
|
4918
|
+
}
|
|
4919
|
+
]
|
|
4920
|
+
},
|
|
4921
4921
|
{
|
|
4922
4922
|
"kind": "javascript-module",
|
|
4923
4923
|
"path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts",
|
|
@@ -8781,214 +8781,267 @@
|
|
|
8781
8781
|
},
|
|
8782
8782
|
{
|
|
8783
8783
|
"kind": "javascript-module",
|
|
8784
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
8785
|
-
"declarations": [
|
|
8786
|
-
{
|
|
8787
|
-
"kind": "variable",
|
|
8788
|
-
"name": "ParameterBuilderStyles",
|
|
8789
|
-
"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`"
|
|
8790
|
-
}
|
|
8791
|
-
],
|
|
8792
|
-
"exports": [
|
|
8793
|
-
{
|
|
8794
|
-
"kind": "js",
|
|
8795
|
-
"name": "ParameterBuilderStyles",
|
|
8796
|
-
"declaration": {
|
|
8797
|
-
"name": "ParameterBuilderStyles",
|
|
8798
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
|
|
8799
|
-
}
|
|
8800
|
-
}
|
|
8801
|
-
]
|
|
8802
|
-
},
|
|
8803
|
-
{
|
|
8804
|
-
"kind": "javascript-module",
|
|
8805
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
|
|
8784
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts",
|
|
8806
8785
|
"declarations": [
|
|
8807
8786
|
{
|
|
8808
8787
|
"kind": "variable",
|
|
8809
|
-
"name": "
|
|
8810
|
-
"default": "html<
|
|
8788
|
+
"name": "TemplateConditionBuilderTemplate",
|
|
8789
|
+
"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 (_) => Object.values(RightCriteria),\n html`\n <rapid-option value=${(x) => x}>${(x) => 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`"
|
|
8811
8790
|
}
|
|
8812
8791
|
],
|
|
8813
8792
|
"exports": [
|
|
8814
8793
|
{
|
|
8815
8794
|
"kind": "js",
|
|
8816
|
-
"name": "
|
|
8795
|
+
"name": "TemplateConditionBuilderTemplate",
|
|
8817
8796
|
"declaration": {
|
|
8818
|
-
"name": "
|
|
8819
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
8797
|
+
"name": "TemplateConditionBuilderTemplate",
|
|
8798
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts"
|
|
8820
8799
|
}
|
|
8821
8800
|
}
|
|
8822
8801
|
]
|
|
8823
8802
|
},
|
|
8824
8803
|
{
|
|
8825
8804
|
"kind": "javascript-module",
|
|
8826
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
8805
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts",
|
|
8827
8806
|
"declarations": [
|
|
8828
8807
|
{
|
|
8829
8808
|
"kind": "class",
|
|
8830
|
-
"description": "
|
|
8831
|
-
"name": "
|
|
8809
|
+
"description": "Condition builder for template notification rules.",
|
|
8810
|
+
"name": "TemplateConditionBuilder",
|
|
8832
8811
|
"members": [
|
|
8833
8812
|
{
|
|
8834
8813
|
"kind": "field",
|
|
8835
|
-
"name": "
|
|
8814
|
+
"name": "condition",
|
|
8836
8815
|
"type": {
|
|
8837
|
-
"text": "
|
|
8816
|
+
"text": "ConditionBuilderEntity"
|
|
8838
8817
|
}
|
|
8839
8818
|
},
|
|
8840
8819
|
{
|
|
8841
8820
|
"kind": "field",
|
|
8842
|
-
"name": "
|
|
8821
|
+
"name": "parameters",
|
|
8843
8822
|
"type": {
|
|
8844
|
-
"text": "
|
|
8845
|
-
}
|
|
8823
|
+
"text": "Array<ParameterBuilderEntity>"
|
|
8824
|
+
},
|
|
8825
|
+
"default": "[]"
|
|
8846
8826
|
},
|
|
8847
8827
|
{
|
|
8848
8828
|
"kind": "field",
|
|
8849
|
-
"name": "
|
|
8829
|
+
"name": "fields",
|
|
8850
8830
|
"type": {
|
|
8851
|
-
"text": "
|
|
8852
|
-
}
|
|
8831
|
+
"text": "Field[]"
|
|
8832
|
+
},
|
|
8833
|
+
"default": "[]"
|
|
8853
8834
|
},
|
|
8854
8835
|
{
|
|
8855
8836
|
"kind": "field",
|
|
8856
|
-
"name": "
|
|
8837
|
+
"name": "isFirst",
|
|
8857
8838
|
"type": {
|
|
8858
|
-
"text": "
|
|
8859
|
-
}
|
|
8839
|
+
"text": "boolean"
|
|
8840
|
+
},
|
|
8841
|
+
"default": "false"
|
|
8860
8842
|
},
|
|
8861
8843
|
{
|
|
8862
8844
|
"kind": "field",
|
|
8863
|
-
"name": "
|
|
8845
|
+
"name": "joinOperator",
|
|
8864
8846
|
"type": {
|
|
8865
8847
|
"text": "string"
|
|
8866
8848
|
}
|
|
8867
8849
|
},
|
|
8868
8850
|
{
|
|
8869
8851
|
"kind": "field",
|
|
8870
|
-
"name": "
|
|
8852
|
+
"name": "leftValue",
|
|
8871
8853
|
"type": {
|
|
8872
|
-
"text": "
|
|
8873
|
-
}
|
|
8854
|
+
"text": "any"
|
|
8855
|
+
},
|
|
8856
|
+
"default": "null"
|
|
8874
8857
|
},
|
|
8875
8858
|
{
|
|
8876
8859
|
"kind": "field",
|
|
8877
|
-
"name": "
|
|
8860
|
+
"name": "leftValueItems",
|
|
8878
8861
|
"type": {
|
|
8879
|
-
"text": "
|
|
8880
|
-
}
|
|
8881
|
-
|
|
8862
|
+
"text": "Array<any>"
|
|
8863
|
+
},
|
|
8864
|
+
"default": "[]"
|
|
8865
|
+
},
|
|
8882
8866
|
{
|
|
8883
8867
|
"kind": "field",
|
|
8884
|
-
"name": "
|
|
8868
|
+
"name": "logicalOperator",
|
|
8885
8869
|
"type": {
|
|
8886
|
-
"text": "
|
|
8887
|
-
}
|
|
8870
|
+
"text": "string"
|
|
8871
|
+
},
|
|
8872
|
+
"default": "null"
|
|
8888
8873
|
},
|
|
8889
8874
|
{
|
|
8890
8875
|
"kind": "field",
|
|
8891
|
-
"name": "
|
|
8876
|
+
"name": "rightCriteria",
|
|
8892
8877
|
"type": {
|
|
8893
|
-
"text": "
|
|
8878
|
+
"text": "string"
|
|
8894
8879
|
}
|
|
8895
8880
|
},
|
|
8896
8881
|
{
|
|
8897
8882
|
"kind": "field",
|
|
8898
|
-
"name": "
|
|
8883
|
+
"name": "rightValueText",
|
|
8899
8884
|
"type": {
|
|
8900
|
-
"text": "
|
|
8885
|
+
"text": "string"
|
|
8901
8886
|
},
|
|
8902
|
-
"default": "
|
|
8887
|
+
"default": "null"
|
|
8888
|
+
},
|
|
8889
|
+
{
|
|
8890
|
+
"kind": "field",
|
|
8891
|
+
"name": "rightValueSelect",
|
|
8892
|
+
"type": {
|
|
8893
|
+
"text": "string"
|
|
8894
|
+
},
|
|
8895
|
+
"default": "null"
|
|
8896
|
+
},
|
|
8897
|
+
{
|
|
8898
|
+
"kind": "field",
|
|
8899
|
+
"name": "rightValueItems",
|
|
8900
|
+
"type": {
|
|
8901
|
+
"text": "Array<any>"
|
|
8902
|
+
},
|
|
8903
|
+
"default": "[]"
|
|
8904
|
+
},
|
|
8905
|
+
{
|
|
8906
|
+
"kind": "field",
|
|
8907
|
+
"name": "rightValueMultiSelect",
|
|
8908
|
+
"type": {
|
|
8909
|
+
"text": "string[]"
|
|
8910
|
+
},
|
|
8911
|
+
"default": "[]"
|
|
8903
8912
|
},
|
|
8904
8913
|
{
|
|
8905
8914
|
"kind": "method",
|
|
8906
|
-
"name": "
|
|
8915
|
+
"name": "deleteCondition"
|
|
8907
8916
|
},
|
|
8908
8917
|
{
|
|
8909
8918
|
"kind": "method",
|
|
8910
|
-
"name": "
|
|
8919
|
+
"name": "conditionChanged"
|
|
8911
8920
|
},
|
|
8912
8921
|
{
|
|
8913
8922
|
"kind": "method",
|
|
8914
|
-
"name": "
|
|
8923
|
+
"name": "joinOperatorChanged"
|
|
8915
8924
|
},
|
|
8916
8925
|
{
|
|
8917
8926
|
"kind": "method",
|
|
8918
|
-
"name": "
|
|
8927
|
+
"name": "parametersChanged"
|
|
8919
8928
|
},
|
|
8920
8929
|
{
|
|
8921
8930
|
"kind": "method",
|
|
8922
|
-
"name": "
|
|
8931
|
+
"name": "getMatchingParameter",
|
|
8932
|
+
"privacy": "private",
|
|
8933
|
+
"return": {
|
|
8934
|
+
"type": {
|
|
8935
|
+
"text": "ParameterBuilderEntity | undefined"
|
|
8936
|
+
}
|
|
8937
|
+
}
|
|
8923
8938
|
},
|
|
8924
8939
|
{
|
|
8925
8940
|
"kind": "method",
|
|
8926
|
-
"name": "
|
|
8941
|
+
"name": "syncParameterBinding",
|
|
8942
|
+
"privacy": "private",
|
|
8943
|
+
"return": {
|
|
8944
|
+
"type": {
|
|
8945
|
+
"text": "boolean"
|
|
8946
|
+
}
|
|
8947
|
+
}
|
|
8927
8948
|
},
|
|
8928
8949
|
{
|
|
8929
8950
|
"kind": "method",
|
|
8930
|
-
"name": "
|
|
8951
|
+
"name": "resetToValueEditor",
|
|
8952
|
+
"privacy": "private"
|
|
8931
8953
|
},
|
|
8932
8954
|
{
|
|
8933
8955
|
"kind": "method",
|
|
8934
|
-
"name": "
|
|
8956
|
+
"name": "fieldsChanged"
|
|
8935
8957
|
},
|
|
8936
8958
|
{
|
|
8937
8959
|
"kind": "method",
|
|
8938
|
-
"name": "
|
|
8939
|
-
|
|
8940
|
-
|
|
8941
|
-
|
|
8942
|
-
|
|
8943
|
-
|
|
8944
|
-
|
|
8945
|
-
|
|
8960
|
+
"name": "logicalOperatorChanged"
|
|
8961
|
+
},
|
|
8962
|
+
{
|
|
8963
|
+
"kind": "method",
|
|
8964
|
+
"name": "assignLeftValue",
|
|
8965
|
+
"privacy": "private"
|
|
8966
|
+
},
|
|
8967
|
+
{
|
|
8968
|
+
"kind": "method",
|
|
8969
|
+
"name": "leftValueChanged"
|
|
8970
|
+
},
|
|
8971
|
+
{
|
|
8972
|
+
"kind": "method",
|
|
8973
|
+
"name": "assignRightValue",
|
|
8974
|
+
"privacy": "private"
|
|
8975
|
+
},
|
|
8976
|
+
{
|
|
8977
|
+
"kind": "method",
|
|
8978
|
+
"name": "rightCriteriaChanged"
|
|
8979
|
+
},
|
|
8980
|
+
{
|
|
8981
|
+
"kind": "method",
|
|
8982
|
+
"name": "clearRightValueText",
|
|
8983
|
+
"privacy": "private"
|
|
8984
|
+
},
|
|
8985
|
+
{
|
|
8986
|
+
"kind": "method",
|
|
8987
|
+
"name": "clearRightValueSelect",
|
|
8988
|
+
"privacy": "private"
|
|
8989
|
+
},
|
|
8990
|
+
{
|
|
8991
|
+
"kind": "method",
|
|
8992
|
+
"name": "rightValueTextChanged"
|
|
8993
|
+
},
|
|
8994
|
+
{
|
|
8995
|
+
"kind": "method",
|
|
8996
|
+
"name": "rightValueSelectChanged"
|
|
8997
|
+
},
|
|
8998
|
+
{
|
|
8999
|
+
"kind": "method",
|
|
9000
|
+
"name": "rightValueMultiSelectChanged"
|
|
9001
|
+
},
|
|
9002
|
+
{
|
|
9003
|
+
"kind": "method",
|
|
9004
|
+
"name": "getEnumValues",
|
|
9005
|
+
"return": {
|
|
9006
|
+
"type": {
|
|
9007
|
+
"text": "string[]"
|
|
8946
9008
|
}
|
|
8947
|
-
|
|
9009
|
+
}
|
|
8948
9010
|
}
|
|
8949
9011
|
],
|
|
8950
9012
|
"events": [
|
|
8951
9013
|
{
|
|
8952
|
-
"description": "Fired when a
|
|
9014
|
+
"description": "Fired when a condition is deleted. detail: `ConditionBuilderEntity`",
|
|
8953
9015
|
"name": "delete"
|
|
8954
9016
|
},
|
|
8955
9017
|
{
|
|
8956
|
-
"description": "Fired when a
|
|
9018
|
+
"description": "Fired when a condition is edited. detail: `ConditionBuilderEntity`",
|
|
8957
9019
|
"name": "edit"
|
|
8958
9020
|
}
|
|
8959
9021
|
],
|
|
8960
|
-
"attributes": [
|
|
8961
|
-
{
|
|
8962
|
-
"name": "parameter",
|
|
8963
|
-
"type": {
|
|
8964
|
-
"text": "ParameterBuilderEntity"
|
|
8965
|
-
},
|
|
8966
|
-
"fieldName": "parameter"
|
|
8967
|
-
}
|
|
8968
|
-
],
|
|
8969
9022
|
"superclass": {
|
|
8970
9023
|
"name": "GenesisElement",
|
|
8971
9024
|
"package": "@genesislcap/web-core"
|
|
8972
9025
|
},
|
|
8973
|
-
"tagName": "
|
|
9026
|
+
"tagName": "template-condition-builder",
|
|
8974
9027
|
"customElement": true
|
|
8975
9028
|
}
|
|
8976
9029
|
],
|
|
8977
9030
|
"exports": [
|
|
8978
9031
|
{
|
|
8979
9032
|
"kind": "js",
|
|
8980
|
-
"name": "
|
|
9033
|
+
"name": "TemplateConditionBuilder",
|
|
8981
9034
|
"declaration": {
|
|
8982
|
-
"name": "
|
|
8983
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
9035
|
+
"name": "TemplateConditionBuilder",
|
|
9036
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts"
|
|
8984
9037
|
}
|
|
8985
9038
|
},
|
|
8986
9039
|
{
|
|
8987
9040
|
"kind": "custom-element-definition",
|
|
8988
|
-
"name": "
|
|
9041
|
+
"name": "template-condition-builder",
|
|
8989
9042
|
"declaration": {
|
|
8990
|
-
"name": "
|
|
8991
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
9043
|
+
"name": "TemplateConditionBuilder",
|
|
9044
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts"
|
|
8992
9045
|
}
|
|
8993
9046
|
}
|
|
8994
9047
|
]
|
|
@@ -9153,267 +9206,214 @@
|
|
|
9153
9206
|
},
|
|
9154
9207
|
{
|
|
9155
9208
|
"kind": "javascript-module",
|
|
9156
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
9209
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
|
9157
9210
|
"declarations": [
|
|
9158
9211
|
{
|
|
9159
9212
|
"kind": "variable",
|
|
9160
|
-
"name": "
|
|
9161
|
-
"default": "
|
|
9213
|
+
"name": "ParameterBuilderStyles",
|
|
9214
|
+
"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`"
|
|
9162
9215
|
}
|
|
9163
9216
|
],
|
|
9164
9217
|
"exports": [
|
|
9165
9218
|
{
|
|
9166
9219
|
"kind": "js",
|
|
9167
|
-
"name": "
|
|
9220
|
+
"name": "ParameterBuilderStyles",
|
|
9168
9221
|
"declaration": {
|
|
9169
|
-
"name": "
|
|
9170
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
9222
|
+
"name": "ParameterBuilderStyles",
|
|
9223
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
|
|
9171
9224
|
}
|
|
9172
9225
|
}
|
|
9173
9226
|
]
|
|
9174
9227
|
},
|
|
9175
9228
|
{
|
|
9176
9229
|
"kind": "javascript-module",
|
|
9177
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
9230
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
|
|
9231
|
+
"declarations": [
|
|
9232
|
+
{
|
|
9233
|
+
"kind": "variable",
|
|
9234
|
+
"name": "ParameterBuilderTemplate",
|
|
9235
|
+
"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`"
|
|
9236
|
+
}
|
|
9237
|
+
],
|
|
9238
|
+
"exports": [
|
|
9239
|
+
{
|
|
9240
|
+
"kind": "js",
|
|
9241
|
+
"name": "ParameterBuilderTemplate",
|
|
9242
|
+
"declaration": {
|
|
9243
|
+
"name": "ParameterBuilderTemplate",
|
|
9244
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
|
|
9245
|
+
}
|
|
9246
|
+
}
|
|
9247
|
+
]
|
|
9248
|
+
},
|
|
9249
|
+
{
|
|
9250
|
+
"kind": "javascript-module",
|
|
9251
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
|
|
9178
9252
|
"declarations": [
|
|
9179
9253
|
{
|
|
9180
9254
|
"kind": "class",
|
|
9181
|
-
"description": "
|
|
9182
|
-
"name": "
|
|
9255
|
+
"description": "Parameter builder for notification templates.",
|
|
9256
|
+
"name": "ParameterBuilder",
|
|
9183
9257
|
"members": [
|
|
9184
9258
|
{
|
|
9185
9259
|
"kind": "field",
|
|
9186
|
-
"name": "
|
|
9260
|
+
"name": "parameter",
|
|
9187
9261
|
"type": {
|
|
9188
|
-
"text": "
|
|
9262
|
+
"text": "ParameterBuilderEntity"
|
|
9189
9263
|
}
|
|
9190
9264
|
},
|
|
9191
9265
|
{
|
|
9192
9266
|
"kind": "field",
|
|
9193
|
-
"name": "
|
|
9194
|
-
"type": {
|
|
9195
|
-
"text": "Array<ParameterBuilderEntity>"
|
|
9196
|
-
},
|
|
9197
|
-
"default": "[]"
|
|
9198
|
-
},
|
|
9199
|
-
{
|
|
9200
|
-
"kind": "field",
|
|
9201
|
-
"name": "fields",
|
|
9202
|
-
"type": {
|
|
9203
|
-
"text": "Field[]"
|
|
9204
|
-
},
|
|
9205
|
-
"default": "[]"
|
|
9206
|
-
},
|
|
9207
|
-
{
|
|
9208
|
-
"kind": "field",
|
|
9209
|
-
"name": "isFirst",
|
|
9210
|
-
"type": {
|
|
9211
|
-
"text": "boolean"
|
|
9212
|
-
},
|
|
9213
|
-
"default": "false"
|
|
9214
|
-
},
|
|
9215
|
-
{
|
|
9216
|
-
"kind": "field",
|
|
9217
|
-
"name": "joinOperator",
|
|
9267
|
+
"name": "name",
|
|
9218
9268
|
"type": {
|
|
9219
9269
|
"text": "string"
|
|
9220
9270
|
}
|
|
9221
9271
|
},
|
|
9222
9272
|
{
|
|
9223
9273
|
"kind": "field",
|
|
9224
|
-
"name": "
|
|
9274
|
+
"name": "label",
|
|
9225
9275
|
"type": {
|
|
9226
|
-
"text": "
|
|
9227
|
-
}
|
|
9228
|
-
"default": "null"
|
|
9276
|
+
"text": "string"
|
|
9277
|
+
}
|
|
9229
9278
|
},
|
|
9230
9279
|
{
|
|
9231
9280
|
"kind": "field",
|
|
9232
|
-
"name": "
|
|
9281
|
+
"name": "type",
|
|
9233
9282
|
"type": {
|
|
9234
|
-
"text": "
|
|
9235
|
-
}
|
|
9236
|
-
"default": "[]"
|
|
9283
|
+
"text": "string"
|
|
9284
|
+
}
|
|
9237
9285
|
},
|
|
9238
9286
|
{
|
|
9239
9287
|
"kind": "field",
|
|
9240
|
-
"name": "
|
|
9288
|
+
"name": "sourceType",
|
|
9241
9289
|
"type": {
|
|
9242
9290
|
"text": "string"
|
|
9243
|
-
}
|
|
9244
|
-
"default": "null"
|
|
9291
|
+
}
|
|
9245
9292
|
},
|
|
9246
9293
|
{
|
|
9247
9294
|
"kind": "field",
|
|
9248
|
-
"name": "
|
|
9295
|
+
"name": "sourceSelected",
|
|
9249
9296
|
"type": {
|
|
9250
9297
|
"text": "string"
|
|
9251
9298
|
}
|
|
9252
9299
|
},
|
|
9253
9300
|
{
|
|
9254
9301
|
"kind": "field",
|
|
9255
|
-
"name": "
|
|
9302
|
+
"name": "sourceTyped",
|
|
9256
9303
|
"type": {
|
|
9257
9304
|
"text": "string"
|
|
9258
|
-
}
|
|
9259
|
-
"default": "null"
|
|
9305
|
+
}
|
|
9260
9306
|
},
|
|
9261
9307
|
{
|
|
9262
9308
|
"kind": "field",
|
|
9263
|
-
"name": "
|
|
9309
|
+
"name": "sourceTextField",
|
|
9264
9310
|
"type": {
|
|
9265
|
-
"text": "
|
|
9266
|
-
}
|
|
9267
|
-
"default": "null"
|
|
9311
|
+
"text": "TextField"
|
|
9312
|
+
}
|
|
9268
9313
|
},
|
|
9269
9314
|
{
|
|
9270
9315
|
"kind": "field",
|
|
9271
|
-
"name": "
|
|
9316
|
+
"name": "sourceSelect",
|
|
9272
9317
|
"type": {
|
|
9273
|
-
"text": "
|
|
9274
|
-
}
|
|
9275
|
-
"default": "[]"
|
|
9318
|
+
"text": "Select"
|
|
9319
|
+
}
|
|
9276
9320
|
},
|
|
9277
9321
|
{
|
|
9278
9322
|
"kind": "field",
|
|
9279
|
-
"name": "
|
|
9323
|
+
"name": "reqRepItems",
|
|
9280
9324
|
"type": {
|
|
9281
|
-
"text": "
|
|
9325
|
+
"text": "array"
|
|
9282
9326
|
},
|
|
9283
|
-
"default": "[]"
|
|
9284
|
-
},
|
|
9285
|
-
{
|
|
9286
|
-
"kind": "method",
|
|
9287
|
-
"name": "deleteCondition"
|
|
9288
|
-
},
|
|
9289
|
-
{
|
|
9290
|
-
"kind": "method",
|
|
9291
|
-
"name": "conditionChanged"
|
|
9292
|
-
},
|
|
9293
|
-
{
|
|
9294
|
-
"kind": "method",
|
|
9295
|
-
"name": "joinOperatorChanged"
|
|
9296
|
-
},
|
|
9297
|
-
{
|
|
9298
|
-
"kind": "method",
|
|
9299
|
-
"name": "parametersChanged"
|
|
9300
|
-
},
|
|
9301
|
-
{
|
|
9302
|
-
"kind": "method",
|
|
9303
|
-
"name": "getMatchingParameter",
|
|
9304
|
-
"privacy": "private",
|
|
9305
|
-
"return": {
|
|
9306
|
-
"type": {
|
|
9307
|
-
"text": "ParameterBuilderEntity | undefined"
|
|
9308
|
-
}
|
|
9309
|
-
}
|
|
9310
|
-
},
|
|
9311
|
-
{
|
|
9312
|
-
"kind": "method",
|
|
9313
|
-
"name": "syncParameterBinding",
|
|
9314
|
-
"privacy": "private",
|
|
9315
|
-
"return": {
|
|
9316
|
-
"type": {
|
|
9317
|
-
"text": "boolean"
|
|
9318
|
-
}
|
|
9319
|
-
}
|
|
9320
|
-
},
|
|
9321
|
-
{
|
|
9322
|
-
"kind": "method",
|
|
9323
|
-
"name": "resetToValueEditor",
|
|
9324
|
-
"privacy": "private"
|
|
9325
|
-
},
|
|
9326
|
-
{
|
|
9327
|
-
"kind": "method",
|
|
9328
|
-
"name": "fieldsChanged"
|
|
9329
|
-
},
|
|
9330
|
-
{
|
|
9331
|
-
"kind": "method",
|
|
9332
|
-
"name": "logicalOperatorChanged"
|
|
9333
|
-
},
|
|
9334
|
-
{
|
|
9335
|
-
"kind": "method",
|
|
9336
|
-
"name": "assignLeftValue",
|
|
9337
|
-
"privacy": "private"
|
|
9327
|
+
"default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
|
|
9338
9328
|
},
|
|
9339
9329
|
{
|
|
9340
9330
|
"kind": "method",
|
|
9341
|
-
"name": "
|
|
9331
|
+
"name": "deleteParameter"
|
|
9342
9332
|
},
|
|
9343
9333
|
{
|
|
9344
9334
|
"kind": "method",
|
|
9345
|
-
"name": "
|
|
9346
|
-
"privacy": "private"
|
|
9335
|
+
"name": "parameterChanged"
|
|
9347
9336
|
},
|
|
9348
9337
|
{
|
|
9349
9338
|
"kind": "method",
|
|
9350
|
-
"name": "
|
|
9339
|
+
"name": "nameChanged"
|
|
9351
9340
|
},
|
|
9352
9341
|
{
|
|
9353
9342
|
"kind": "method",
|
|
9354
|
-
"name": "
|
|
9355
|
-
"privacy": "private"
|
|
9343
|
+
"name": "labelChanged"
|
|
9356
9344
|
},
|
|
9357
9345
|
{
|
|
9358
9346
|
"kind": "method",
|
|
9359
|
-
"name": "
|
|
9360
|
-
"privacy": "private"
|
|
9347
|
+
"name": "typeChanged"
|
|
9361
9348
|
},
|
|
9362
9349
|
{
|
|
9363
9350
|
"kind": "method",
|
|
9364
|
-
"name": "
|
|
9351
|
+
"name": "sourceTypeChanged"
|
|
9365
9352
|
},
|
|
9366
9353
|
{
|
|
9367
9354
|
"kind": "method",
|
|
9368
|
-
"name": "
|
|
9355
|
+
"name": "sourceSelectedChanged"
|
|
9369
9356
|
},
|
|
9370
9357
|
{
|
|
9371
9358
|
"kind": "method",
|
|
9372
|
-
"name": "
|
|
9359
|
+
"name": "sourceTypedChanged"
|
|
9373
9360
|
},
|
|
9374
9361
|
{
|
|
9375
9362
|
"kind": "method",
|
|
9376
|
-
"name": "
|
|
9377
|
-
"
|
|
9378
|
-
|
|
9379
|
-
|
|
9363
|
+
"name": "genericChanged",
|
|
9364
|
+
"privacy": "private",
|
|
9365
|
+
"parameters": [
|
|
9366
|
+
{
|
|
9367
|
+
"name": "parameterAttribute"
|
|
9368
|
+
},
|
|
9369
|
+
{
|
|
9370
|
+
"name": "value"
|
|
9380
9371
|
}
|
|
9381
|
-
|
|
9372
|
+
]
|
|
9382
9373
|
}
|
|
9383
9374
|
],
|
|
9384
9375
|
"events": [
|
|
9385
9376
|
{
|
|
9386
|
-
"description": "Fired when a
|
|
9377
|
+
"description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
|
|
9387
9378
|
"name": "delete"
|
|
9388
9379
|
},
|
|
9389
9380
|
{
|
|
9390
|
-
"description": "Fired when a
|
|
9381
|
+
"description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
|
|
9391
9382
|
"name": "edit"
|
|
9392
9383
|
}
|
|
9393
9384
|
],
|
|
9385
|
+
"attributes": [
|
|
9386
|
+
{
|
|
9387
|
+
"name": "parameter",
|
|
9388
|
+
"type": {
|
|
9389
|
+
"text": "ParameterBuilderEntity"
|
|
9390
|
+
},
|
|
9391
|
+
"fieldName": "parameter"
|
|
9392
|
+
}
|
|
9393
|
+
],
|
|
9394
9394
|
"superclass": {
|
|
9395
9395
|
"name": "GenesisElement",
|
|
9396
9396
|
"package": "@genesislcap/web-core"
|
|
9397
9397
|
},
|
|
9398
|
-
"tagName": "
|
|
9398
|
+
"tagName": "parameter-builder",
|
|
9399
9399
|
"customElement": true
|
|
9400
9400
|
}
|
|
9401
9401
|
],
|
|
9402
9402
|
"exports": [
|
|
9403
9403
|
{
|
|
9404
9404
|
"kind": "js",
|
|
9405
|
-
"name": "
|
|
9405
|
+
"name": "ParameterBuilder",
|
|
9406
9406
|
"declaration": {
|
|
9407
|
-
"name": "
|
|
9408
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
9407
|
+
"name": "ParameterBuilder",
|
|
9408
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
9409
9409
|
}
|
|
9410
9410
|
},
|
|
9411
9411
|
{
|
|
9412
9412
|
"kind": "custom-element-definition",
|
|
9413
|
-
"name": "
|
|
9413
|
+
"name": "parameter-builder",
|
|
9414
9414
|
"declaration": {
|
|
9415
|
-
"name": "
|
|
9416
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
9415
|
+
"name": "ParameterBuilder",
|
|
9416
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
9417
9417
|
}
|
|
9418
9418
|
}
|
|
9419
9419
|
]
|
package/dist/dts/react.d.ts
CHANGED
|
@@ -277,16 +277,16 @@ export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
|
|
|
277
277
|
>;
|
|
278
278
|
export type RuleConditionGroupRef = RuleConditionGroupWC;
|
|
279
279
|
|
|
280
|
-
export declare const
|
|
280
|
+
export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
|
|
281
281
|
React.PropsWithChildren<
|
|
282
|
-
Omit<PublicOf<
|
|
282
|
+
Omit<PublicOf<TemplateConditionBuilderWC>, 'children' | 'style'> &
|
|
283
283
|
HTMLWCProps & {
|
|
284
|
-
onDelete?: (event: CustomEvent<
|
|
285
|
-
onEdit?: (event: CustomEvent<
|
|
284
|
+
onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
285
|
+
onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
286
286
|
}
|
|
287
|
-
> & React.RefAttributes<
|
|
287
|
+
> & React.RefAttributes<TemplateConditionBuilderWC>
|
|
288
288
|
>;
|
|
289
|
-
export type
|
|
289
|
+
export type TemplateConditionBuilderRef = TemplateConditionBuilderWC;
|
|
290
290
|
|
|
291
291
|
export declare const TemplateConditionGroup: React.ForwardRefExoticComponent<
|
|
292
292
|
React.PropsWithChildren<
|
|
@@ -299,15 +299,15 @@ export declare const TemplateConditionGroup: React.ForwardRefExoticComponent<
|
|
|
299
299
|
>;
|
|
300
300
|
export type TemplateConditionGroupRef = TemplateConditionGroupWC;
|
|
301
301
|
|
|
302
|
-
export declare const
|
|
302
|
+
export declare const ParameterBuilder: React.ForwardRefExoticComponent<
|
|
303
303
|
React.PropsWithChildren<
|
|
304
|
-
Omit<PublicOf<
|
|
304
|
+
Omit<PublicOf<ParameterBuilderWC>, 'children' | 'style'> &
|
|
305
305
|
HTMLWCProps & {
|
|
306
|
-
onDelete?: (event: CustomEvent<
|
|
307
|
-
onEdit?: (event: CustomEvent<
|
|
306
|
+
onDelete?: (event: CustomEvent<ParameterBuilderEntity>) => void;
|
|
307
|
+
onEdit?: (event: CustomEvent<ParameterBuilderEntity>) => void;
|
|
308
308
|
}
|
|
309
|
-
> & React.RefAttributes<
|
|
309
|
+
> & React.RefAttributes<ParameterBuilderWC>
|
|
310
310
|
>;
|
|
311
|
-
export type
|
|
311
|
+
export type ParameterBuilderRef = ParameterBuilderWC;
|
|
312
312
|
|
|
313
313
|
export {};
|
package/dist/react.cjs
CHANGED
|
@@ -244,7 +244,7 @@ const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, r
|
|
|
244
244
|
return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
245
245
|
});
|
|
246
246
|
|
|
247
|
-
const
|
|
247
|
+
const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
|
|
248
248
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
249
249
|
const _innerRef = React.useRef(null);
|
|
250
250
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -263,7 +263,7 @@ const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref)
|
|
|
263
263
|
el.removeEventListener('edit', _onEditFn);
|
|
264
264
|
};
|
|
265
265
|
}, []);
|
|
266
|
-
return React.createElement(customElements.getName(
|
|
266
|
+
return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
267
267
|
});
|
|
268
268
|
|
|
269
269
|
const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
|
|
@@ -288,7 +288,7 @@ const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(
|
|
|
288
288
|
return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
289
289
|
});
|
|
290
290
|
|
|
291
|
-
const
|
|
291
|
+
const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
|
|
292
292
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
293
293
|
const _innerRef = React.useRef(null);
|
|
294
294
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -307,7 +307,7 @@ const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuil
|
|
|
307
307
|
el.removeEventListener('edit', _onEditFn);
|
|
308
308
|
};
|
|
309
309
|
}, []);
|
|
310
|
-
return React.createElement(customElements.getName(
|
|
310
|
+
return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
311
311
|
});
|
|
312
312
|
|
|
313
313
|
module.exports = {
|
|
@@ -334,7 +334,7 @@ module.exports = {
|
|
|
334
334
|
TemplateDialog,
|
|
335
335
|
RuleConditionBuilder,
|
|
336
336
|
RuleConditionGroup,
|
|
337
|
-
ParameterBuilder,
|
|
338
|
-
TemplateConditionGroup,
|
|
339
337
|
TemplateConditionBuilder,
|
|
338
|
+
TemplateConditionGroup,
|
|
339
|
+
ParameterBuilder,
|
|
340
340
|
};
|
package/dist/react.mjs
CHANGED
|
@@ -242,7 +242,7 @@ export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(p
|
|
|
242
242
|
return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
243
243
|
});
|
|
244
244
|
|
|
245
|
-
export const
|
|
245
|
+
export const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
|
|
246
246
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
247
247
|
const _innerRef = React.useRef(null);
|
|
248
248
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -261,7 +261,7 @@ export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props
|
|
|
261
261
|
el.removeEventListener('edit', _onEditFn);
|
|
262
262
|
};
|
|
263
263
|
}, []);
|
|
264
|
-
return React.createElement(customElements.getName(
|
|
264
|
+
return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
265
265
|
});
|
|
266
266
|
|
|
267
267
|
export const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
|
|
@@ -286,7 +286,7 @@ export const TemplateConditionGroup = React.forwardRef(function TemplateConditio
|
|
|
286
286
|
return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
287
287
|
});
|
|
288
288
|
|
|
289
|
-
export const
|
|
289
|
+
export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
|
|
290
290
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
291
291
|
const _innerRef = React.useRef(null);
|
|
292
292
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -305,5 +305,5 @@ export const TemplateConditionBuilder = React.forwardRef(function TemplateCondit
|
|
|
305
305
|
el.removeEventListener('edit', _onEditFn);
|
|
306
306
|
};
|
|
307
307
|
}, []);
|
|
308
|
-
return React.createElement(customElements.getName(
|
|
308
|
+
return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
309
309
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/pbc-notify-ui",
|
|
3
3
|
"description": "Genesis PBC Notify UI",
|
|
4
|
-
"version": "15.23.
|
|
4
|
+
"version": "15.23.1-FUI-2603.9",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"workspaces": [
|
|
7
7
|
"client"
|
|
@@ -81,30 +81,30 @@
|
|
|
81
81
|
"@commitlint/cli": "^19.2.1",
|
|
82
82
|
"@commitlint/config-conventional": "^19.1.0",
|
|
83
83
|
"@commitlint/format": "^19.0.3",
|
|
84
|
-
"@genesislcap/design-system-configurator": "15.23.
|
|
85
|
-
"@genesislcap/eslint-config": "15.23.
|
|
86
|
-
"@genesislcap/eslint-stylelint-builder": "15.23.
|
|
87
|
-
"@genesislcap/foundation-testing": "15.23.
|
|
88
|
-
"@genesislcap/genx": "15.23.
|
|
89
|
-
"@genesislcap/prettier-config": "15.23.
|
|
90
|
-
"@genesislcap/stylelint-config": "15.23.
|
|
91
|
-
"@genesislcap/vite-builder": "15.23.
|
|
92
|
-
"@genesislcap/webpack-builder": "15.23.
|
|
84
|
+
"@genesislcap/design-system-configurator": "15.23.1-FUI-2603.9",
|
|
85
|
+
"@genesislcap/eslint-config": "15.23.1-FUI-2603.9",
|
|
86
|
+
"@genesislcap/eslint-stylelint-builder": "15.23.1-FUI-2603.9",
|
|
87
|
+
"@genesislcap/foundation-testing": "15.23.1-FUI-2603.9",
|
|
88
|
+
"@genesislcap/genx": "15.23.1-FUI-2603.9",
|
|
89
|
+
"@genesislcap/prettier-config": "15.23.1-FUI-2603.9",
|
|
90
|
+
"@genesislcap/stylelint-config": "15.23.1-FUI-2603.9",
|
|
91
|
+
"@genesislcap/vite-builder": "15.23.1-FUI-2603.9",
|
|
92
|
+
"@genesislcap/webpack-builder": "15.23.1-FUI-2603.9",
|
|
93
93
|
"dayjs": "^1.11.7"
|
|
94
94
|
},
|
|
95
95
|
"dependencies": {
|
|
96
|
-
"@genesislcap/foundation-comms": "15.23.
|
|
97
|
-
"@genesislcap/foundation-criteria": "15.23.
|
|
98
|
-
"@genesislcap/foundation-entity-management": "15.23.
|
|
99
|
-
"@genesislcap/foundation-forms": "15.23.
|
|
100
|
-
"@genesislcap/foundation-layout": "15.23.
|
|
101
|
-
"@genesislcap/foundation-logger": "15.23.
|
|
102
|
-
"@genesislcap/foundation-notifications": "15.23.
|
|
103
|
-
"@genesislcap/foundation-ui": "15.23.
|
|
104
|
-
"@genesislcap/foundation-utils": "15.23.
|
|
105
|
-
"@genesislcap/rapid-design-system": "15.23.
|
|
106
|
-
"@genesislcap/rapid-grid-pro": "15.23.
|
|
107
|
-
"@genesislcap/web-core": "15.23.
|
|
96
|
+
"@genesislcap/foundation-comms": "15.23.1-FUI-2603.9",
|
|
97
|
+
"@genesislcap/foundation-criteria": "15.23.1-FUI-2603.9",
|
|
98
|
+
"@genesislcap/foundation-entity-management": "15.23.1-FUI-2603.9",
|
|
99
|
+
"@genesislcap/foundation-forms": "15.23.1-FUI-2603.9",
|
|
100
|
+
"@genesislcap/foundation-layout": "15.23.1-FUI-2603.9",
|
|
101
|
+
"@genesislcap/foundation-logger": "15.23.1-FUI-2603.9",
|
|
102
|
+
"@genesislcap/foundation-notifications": "15.23.1-FUI-2603.9",
|
|
103
|
+
"@genesislcap/foundation-ui": "15.23.1-FUI-2603.9",
|
|
104
|
+
"@genesislcap/foundation-utils": "15.23.1-FUI-2603.9",
|
|
105
|
+
"@genesislcap/rapid-design-system": "15.23.1-FUI-2603.9",
|
|
106
|
+
"@genesislcap/rapid-grid-pro": "15.23.1-FUI-2603.9",
|
|
107
|
+
"@genesislcap/web-core": "15.23.1-FUI-2603.9",
|
|
108
108
|
"lodash.debounce": "^4.0.8",
|
|
109
109
|
"rxjs": "^7.5.4"
|
|
110
110
|
},
|