@oneclick.dev/cms-kit 0.0.35 → 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.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)),
package/dist/index.d.ts CHANGED
@@ -131,6 +131,7 @@ declare type UseModuleRoute = () => {
131
131
  moduleId: string;
132
132
  basePath: string;
133
133
  params: Record<string, string>;
134
+ query: Record<string, string>;
134
135
  pageComponent: any;
135
136
  };
136
137
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oneclick.dev/cms-kit",
3
- "version": "0.0.35",
3
+ "version": "0.0.37",
4
4
  "type": "module",
5
5
  "main": "./dist/cms-kit.cjs",
6
6
  "module": "./dist/cms-kit.js",