@oneclick.dev/cms-kit 0.0.36 → 0.0.37
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/cms-kit.cjs +1 -1
- package/dist/cms-kit.js +5 -0
- package/package.json +1 -1
package/dist/cms-kit.js
CHANGED
|
@@ -67991,12 +67991,16 @@ function useRunProcess({
|
|
|
67991
67991
|
const { updateNodeData, getConnectedEdges: getConnectedEdges2, findNode } = useVueFlow();
|
|
67992
67992
|
const nodeOutputs = /* @__PURE__ */ new Map();
|
|
67993
67993
|
const nodeMap = new Map(nodes.map((node) => [node.id, node]));
|
|
67994
|
+
console.log("dagreGraph", dagreGraph);
|
|
67994
67995
|
const graph2 = toRef(() => toValue$2(dagreGraph));
|
|
67996
|
+
console.log("graph", graph2.value);
|
|
67995
67997
|
const isRunning = ref(false);
|
|
67996
67998
|
const runningTasks = /* @__PURE__ */ new Map();
|
|
67997
67999
|
const executedNodes = /* @__PURE__ */ new Set();
|
|
67998
68000
|
const upcomingTasks = /* @__PURE__ */ new Set();
|
|
68001
|
+
console.log("variables", variables);
|
|
67999
68002
|
const localVariables = ref(variables ? JSON.parse(JSON.stringify(variables.map((v) => ({ ...v, value: Object.keys(v).includes("defaultValue") ? v.defaultValue : v.value ?? null })))) : []);
|
|
68003
|
+
console.log("localVariables", localVariables.value);
|
|
68000
68004
|
async function runNode(nodeId, isStart = false) {
|
|
68001
68005
|
var _a2, _b, _c, _d;
|
|
68002
68006
|
if (executedNodes.has(nodeId)) {
|
|
@@ -80198,6 +80202,7 @@ const _sfc_main$2U = /* @__PURE__ */ defineComponent({
|
|
|
80198
80202
|
provide("createNewNode", createNewNode);
|
|
80199
80203
|
const getState = () => {
|
|
80200
80204
|
let state = toObject();
|
|
80205
|
+
console.log("getting state", variables.value, computedVariables.value);
|
|
80201
80206
|
return {
|
|
80202
80207
|
...state,
|
|
80203
80208
|
variables: JSON.parse(JSON.stringify(variables.value)),
|