@oneclick.dev/cms-kit 0.0.27 → 0.0.28
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/index.cjs.js +1 -1
- package/dist/index.es.js +11 -11
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -66970,7 +66970,7 @@ const _sfc_main$3D = /* @__PURE__ */ defineComponent({
|
|
|
66970
66970
|
},
|
|
66971
66971
|
setup(__props) {
|
|
66972
66972
|
const props = __props;
|
|
66973
|
-
const createNewNode = inject("createNewNode");
|
|
66973
|
+
const createNewNode = inject$1("createNewNode");
|
|
66974
66974
|
const addNode = () => {
|
|
66975
66975
|
createNewNode({ type: "empty", parentId: props.nodeId, sourceHandle: "success" });
|
|
66976
66976
|
};
|
|
@@ -68224,7 +68224,7 @@ const _sfc_main$3A = /* @__PURE__ */ defineComponent({
|
|
|
68224
68224
|
},
|
|
68225
68225
|
setup(__props) {
|
|
68226
68226
|
const props = __props;
|
|
68227
|
-
const createNewNode = inject("createNewNode");
|
|
68227
|
+
const createNewNode = inject$1("createNewNode");
|
|
68228
68228
|
const addSuccessNode = () => {
|
|
68229
68229
|
createNewNode({ type: "empty", parentId: props.nodeId, sourceHandle: "success" });
|
|
68230
68230
|
};
|
|
@@ -68333,7 +68333,7 @@ const _sfc_main$3y = /* @__PURE__ */ defineComponent({
|
|
|
68333
68333
|
},
|
|
68334
68334
|
setup(__props) {
|
|
68335
68335
|
const props = __props;
|
|
68336
|
-
const createNewNode = inject("createNewNode");
|
|
68336
|
+
const createNewNode = inject$1("createNewNode");
|
|
68337
68337
|
const addSuccessNode = () => {
|
|
68338
68338
|
createNewNode({ type: "empty", parentId: props.nodeId, sourceHandle: "success" });
|
|
68339
68339
|
};
|
|
@@ -68505,7 +68505,7 @@ const _sfc_main$3v = /* @__PURE__ */ defineComponent({
|
|
|
68505
68505
|
},
|
|
68506
68506
|
setup(__props) {
|
|
68507
68507
|
const props = __props;
|
|
68508
|
-
const createNewNode = inject("createNewNode");
|
|
68508
|
+
const createNewNode = inject$1("createNewNode");
|
|
68509
68509
|
const addSuccessNode = () => {
|
|
68510
68510
|
createNewNode({ type: "empty", parentId: props.nodeId, sourceHandle: "success" });
|
|
68511
68511
|
};
|
|
@@ -77547,7 +77547,7 @@ const _sfc_main$3h = /* @__PURE__ */ defineComponent({
|
|
|
77547
77547
|
});
|
|
77548
77548
|
updateNodeInternals();
|
|
77549
77549
|
};
|
|
77550
|
-
onMounted(() => {
|
|
77550
|
+
onMounted$1(() => {
|
|
77551
77551
|
fitView();
|
|
77552
77552
|
zoomTo(1.5);
|
|
77553
77553
|
});
|
|
@@ -79181,7 +79181,7 @@ const _sfc_main$2Z = /* @__PURE__ */ defineComponent({
|
|
|
79181
79181
|
setup(__props, { emit: __emit }) {
|
|
79182
79182
|
const props = __props;
|
|
79183
79183
|
const emit = __emit;
|
|
79184
|
-
const node = computed({
|
|
79184
|
+
const node = computed$1({
|
|
79185
79185
|
get: () => props.modelValue,
|
|
79186
79186
|
set: (value) => {
|
|
79187
79187
|
emit("update:modelValue", value);
|
|
@@ -79198,15 +79198,15 @@ const _sfc_main$2Z = /* @__PURE__ */ defineComponent({
|
|
|
79198
79198
|
for: "return-data"
|
|
79199
79199
|
}, "Return data", -1)),
|
|
79200
79200
|
createVNode(_component_Switch, {
|
|
79201
|
-
modelValue:
|
|
79202
|
-
"onUpdate:modelValue": _cache2[0] || (_cache2[0] = ($event) =>
|
|
79201
|
+
modelValue: node.value.data.returnData,
|
|
79202
|
+
"onUpdate:modelValue": _cache2[0] || (_cache2[0] = ($event) => node.value.data.returnData = $event),
|
|
79203
79203
|
id: "return-data"
|
|
79204
79204
|
}, null, 8, ["modelValue"])
|
|
79205
79205
|
]),
|
|
79206
|
-
|
|
79206
|
+
node.value.data.returnData ? (openBlock(), createElementBlock("div", _hoisted_3$n, [
|
|
79207
79207
|
createVNode(_component_CodeEditor, {
|
|
79208
|
-
modelValue:
|
|
79209
|
-
"onUpdate:modelValue": _cache2[1] || (_cache2[1] = ($event) =>
|
|
79208
|
+
modelValue: node.value.data.transform,
|
|
79209
|
+
"onUpdate:modelValue": _cache2[1] || (_cache2[1] = ($event) => node.value.data.transform = $event),
|
|
79210
79210
|
variables: [],
|
|
79211
79211
|
placeholder: "return ...",
|
|
79212
79212
|
class: "mb-1"
|