@embedreach/components 0.1.67 → 0.1.68
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/chunks/index.js +11 -6
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
package/dist/chunks/index.js
CHANGED
|
@@ -26068,6 +26068,10 @@ function CreateAutomationDialog({
|
|
|
26068
26068
|
iconDefinitions,
|
|
26069
26069
|
automationType
|
|
26070
26070
|
}) {
|
|
26071
|
+
const onCloseInner = (createdAutomation) => {
|
|
26072
|
+
onClose?.(createdAutomation);
|
|
26073
|
+
setOpen(false);
|
|
26074
|
+
};
|
|
26071
26075
|
return /* @__PURE__ */ jsx(Dialog$1, { open, onOpenChange: setOpen, children: /* @__PURE__ */ jsxs(
|
|
26072
26076
|
DialogContent$1,
|
|
26073
26077
|
{
|
|
@@ -26093,7 +26097,7 @@ function CreateAutomationDialog({
|
|
|
26093
26097
|
/* @__PURE__ */ jsx(
|
|
26094
26098
|
CreateAutomationModal,
|
|
26095
26099
|
{
|
|
26096
|
-
onClose,
|
|
26100
|
+
onClose: onCloseInner,
|
|
26097
26101
|
iconDefinitions,
|
|
26098
26102
|
automationType
|
|
26099
26103
|
}
|
|
@@ -40136,6 +40140,10 @@ function SegmentBuilderDialog({
|
|
|
40136
40140
|
segmentId,
|
|
40137
40141
|
onSegmentUpdated
|
|
40138
40142
|
}) {
|
|
40143
|
+
const onCloseInner = (createdSegment) => {
|
|
40144
|
+
onSegmentUpdated?.(createdSegment);
|
|
40145
|
+
setOpen(false);
|
|
40146
|
+
};
|
|
40139
40147
|
return /* @__PURE__ */ jsx(Dialog$1, { open, onOpenChange: setOpen, children: /* @__PURE__ */ jsxs(
|
|
40140
40148
|
DialogContent$1,
|
|
40141
40149
|
{
|
|
@@ -40160,11 +40168,8 @@ function SegmentBuilderDialog({
|
|
|
40160
40168
|
SegmentBuilder,
|
|
40161
40169
|
{
|
|
40162
40170
|
segmentId,
|
|
40163
|
-
setOpen
|
|
40164
|
-
|
|
40165
|
-
onSegmentUpdated?.(false);
|
|
40166
|
-
},
|
|
40167
|
-
onSegmentUpdated
|
|
40171
|
+
setOpen,
|
|
40172
|
+
onSegmentUpdated: onCloseInner
|
|
40168
40173
|
}
|
|
40169
40174
|
)
|
|
40170
40175
|
]
|