@nocobase/plugin-flow-engine 2.1.0-beta.47 → 2.1.0-beta.48

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.
@@ -8,16 +8,16 @@
8
8
  */
9
9
 
10
10
  module.exports = {
11
- "@nocobase/client": "2.1.0-beta.47",
11
+ "@nocobase/client": "2.1.0-beta.48",
12
12
  "lodash": "4.18.1",
13
- "@nocobase/database": "2.1.0-beta.47",
14
- "@nocobase/data-source-manager": "2.1.0-beta.47",
15
- "@nocobase/resourcer": "2.1.0-beta.47",
16
- "@nocobase/utils": "2.1.0-beta.47",
17
- "@nocobase/cache": "2.1.0-beta.47",
18
- "@nocobase/server": "2.1.0-beta.47",
19
- "@nocobase/actions": "2.1.0-beta.47",
13
+ "@nocobase/database": "2.1.0-beta.48",
14
+ "@nocobase/data-source-manager": "2.1.0-beta.48",
15
+ "@nocobase/resourcer": "2.1.0-beta.48",
16
+ "@nocobase/utils": "2.1.0-beta.48",
17
+ "@nocobase/cache": "2.1.0-beta.48",
18
+ "@nocobase/server": "2.1.0-beta.48",
19
+ "@nocobase/actions": "2.1.0-beta.48",
20
20
  "sequelize": "6.35.2",
21
21
  "@formily/json-schema": "2.3.7",
22
- "@nocobase/ai": "2.1.0-beta.47"
22
+ "@nocobase/ai": "2.1.0-beta.48"
23
23
  };
@@ -1 +1 @@
1
- {"name":"@ant-design/icons-svg","version":"4.3.1","sideEffects":false,"description":"Abstract nodes for ant design icons.","contributors":["HeskeyBaozi <hezhiyu233@foxmail.com>"],"homepage":"https://github.com/ant-design/ant-design-icons/","license":"MIT","main":"lib/index.js","module":"es/index.js","files":["lib","es","inline-svg","inline-namespaced-svg"],"repository":{"type":"git","url":"git+https://github.com/ant-design/ant-design-icons.git"},"scripts":{"g":"npm run generate","generate":"cross-env NODE_ENV=production gulp --require ts-node/register/transpile-only","type-check":"tsc --noEmit","build:es":"tsc --project tsconfig.build.json --module esnext --outDir es","build:lib":"tsc --project tsconfig.build.json --module commonjs --outDir lib","build":"cross-env NODE_ENV=production && npm run build:es && npm run build:lib","test":"cross-env NODE_ENV=test && npm run test:unit","test:unit":"jest","prepublishOnly":"npm run test && npm run g && npm run build && npm run type-check && npm run digest","digest":"node scripts/digest.js"},"bugs":{"url":"https://github.com/ant-design/ant-design-icons/issues"},"devDependencies":{"@babel/core":"^7.8.6","@babel/preset-env":"^7.8.6","@babel/preset-typescript":"^7.8.3","@rgrove/parse-xml":"^2.0.2","@types/gulp":"^4.0.6","@types/gulp-concat":"^0.0.32","@types/gulp-rename":"^0.0.33","@types/jest":"^25.1.3","@types/lodash.camelcase":"^4.3.6","@types/lodash.template":"^4.4.6","@types/lodash.upperfirst":"^4.3.6","@types/node":"^13.9.3","@types/ramda":"^0.26.43","@types/rgrove__parse-xml":"^1.1.0","@types/svgo":"^1.3.1","@types/through2":"^2.0.34","@typescript-eslint/eslint-plugin":"^2.21.0","@typescript-eslint/parser":"^2.21.0","babel-jest":"^25.1.0","cross-env":"^7.0.0","del":"^5.1.0","eslint":"^7.16.0","globby":"^11.0.0","gulp":"^4.0.2","gulp-clone":"^2.0.1","gulp-concat":"^2.6.1","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","jest":"^25.1.0","lodash.camelcase":"^4.3.0","lodash.template":"^4.5.0","lodash.upperfirst":"^4.3.1","ramda":"^0.27.0","svgo":"^1.3.2","through2":"^3.0.1","ts-node":"^8.6.2","typescript":"^4.0.0","vinyl":"^2.2.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_lastModified":"2026-06-09T23:04:35.356Z"}
1
+ {"name":"@ant-design/icons-svg","version":"4.3.1","sideEffects":false,"description":"Abstract nodes for ant design icons.","contributors":["HeskeyBaozi <hezhiyu233@foxmail.com>"],"homepage":"https://github.com/ant-design/ant-design-icons/","license":"MIT","main":"lib/index.js","module":"es/index.js","files":["lib","es","inline-svg","inline-namespaced-svg"],"repository":{"type":"git","url":"git+https://github.com/ant-design/ant-design-icons.git"},"scripts":{"g":"npm run generate","generate":"cross-env NODE_ENV=production gulp --require ts-node/register/transpile-only","type-check":"tsc --noEmit","build:es":"tsc --project tsconfig.build.json --module esnext --outDir es","build:lib":"tsc --project tsconfig.build.json --module commonjs --outDir lib","build":"cross-env NODE_ENV=production && npm run build:es && npm run build:lib","test":"cross-env NODE_ENV=test && npm run test:unit","test:unit":"jest","prepublishOnly":"npm run test && npm run g && npm run build && npm run type-check && npm run digest","digest":"node scripts/digest.js"},"bugs":{"url":"https://github.com/ant-design/ant-design-icons/issues"},"devDependencies":{"@babel/core":"^7.8.6","@babel/preset-env":"^7.8.6","@babel/preset-typescript":"^7.8.3","@rgrove/parse-xml":"^2.0.2","@types/gulp":"^4.0.6","@types/gulp-concat":"^0.0.32","@types/gulp-rename":"^0.0.33","@types/jest":"^25.1.3","@types/lodash.camelcase":"^4.3.6","@types/lodash.template":"^4.4.6","@types/lodash.upperfirst":"^4.3.6","@types/node":"^13.9.3","@types/ramda":"^0.26.43","@types/rgrove__parse-xml":"^1.1.0","@types/svgo":"^1.3.1","@types/through2":"^2.0.34","@typescript-eslint/eslint-plugin":"^2.21.0","@typescript-eslint/parser":"^2.21.0","babel-jest":"^25.1.0","cross-env":"^7.0.0","del":"^5.1.0","eslint":"^7.16.0","globby":"^11.0.0","gulp":"^4.0.2","gulp-clone":"^2.0.1","gulp-concat":"^2.6.1","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","jest":"^25.1.0","lodash.camelcase":"^4.3.0","lodash.template":"^4.5.0","lodash.upperfirst":"^4.3.1","ramda":"^0.27.0","svgo":"^1.3.2","through2":"^3.0.1","ts-node":"^8.6.2","typescript":"^4.0.0","vinyl":"^2.2.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_lastModified":"2026-06-10T17:07:45.836Z"}
@@ -1 +1 @@
1
- {"name":"acorn","description":"ECMAScript parser","homepage":"https://github.com/acornjs/acorn","main":"dist/acorn.js","types":"dist/acorn.d.ts","module":"dist/acorn.mjs","exports":{".":[{"import":"./dist/acorn.mjs","require":"./dist/acorn.js","default":"./dist/acorn.js"},"./dist/acorn.js"],"./package.json":"./package.json"},"version":"8.11.2","engines":{"node":">=0.4.0"},"maintainers":[{"name":"Marijn Haverbeke","email":"marijnh@gmail.com","web":"https://marijnhaverbeke.nl"},{"name":"Ingvar Stepanyan","email":"me@rreverser.com","web":"https://rreverser.com/"},{"name":"Adrian Heine","web":"http://adrianheine.de"}],"repository":{"type":"git","url":"https://github.com/acornjs/acorn.git"},"license":"MIT","scripts":{"prepare":"cd ..; npm run build:main"},"bin":{"acorn":"./bin/acorn"},"_lastModified":"2026-06-09T23:04:36.513Z"}
1
+ {"name":"acorn","description":"ECMAScript parser","homepage":"https://github.com/acornjs/acorn","main":"dist/acorn.js","types":"dist/acorn.d.ts","module":"dist/acorn.mjs","exports":{".":[{"import":"./dist/acorn.mjs","require":"./dist/acorn.js","default":"./dist/acorn.js"},"./dist/acorn.js"],"./package.json":"./package.json"},"version":"8.11.2","engines":{"node":">=0.4.0"},"maintainers":[{"name":"Marijn Haverbeke","email":"marijnh@gmail.com","web":"https://marijnhaverbeke.nl"},{"name":"Ingvar Stepanyan","email":"me@rreverser.com","web":"https://rreverser.com/"},{"name":"Adrian Heine","web":"http://adrianheine.de"}],"repository":{"type":"git","url":"https://github.com/acornjs/acorn.git"},"license":"MIT","scripts":{"prepare":"cd ..; npm run build:main"},"bin":{"acorn":"./bin/acorn"},"_lastModified":"2026-06-10T17:07:46.691Z"}
@@ -1 +1 @@
1
- {"name":"acorn-jsx","description":"Modern, fast React.js JSX parser","homepage":"https://github.com/acornjs/acorn-jsx","version":"5.3.2","maintainers":[{"name":"Ingvar Stepanyan","email":"me@rreverser.com","web":"http://rreverser.com/"}],"repository":{"type":"git","url":"https://github.com/acornjs/acorn-jsx"},"license":"MIT","scripts":{"test":"node test/run.js"},"peerDependencies":{"acorn":"^6.0.0 || ^7.0.0 || ^8.0.0"},"devDependencies":{"acorn":"^8.0.1"},"_lastModified":"2026-06-09T23:04:36.966Z"}
1
+ {"name":"acorn-jsx","description":"Modern, fast React.js JSX parser","homepage":"https://github.com/acornjs/acorn-jsx","version":"5.3.2","maintainers":[{"name":"Ingvar Stepanyan","email":"me@rreverser.com","web":"http://rreverser.com/"}],"repository":{"type":"git","url":"https://github.com/acornjs/acorn-jsx"},"license":"MIT","scripts":{"test":"node test/run.js"},"peerDependencies":{"acorn":"^6.0.0 || ^7.0.0 || ^8.0.0"},"devDependencies":{"acorn":"^8.0.1"},"_lastModified":"2026-06-10T17:07:47.112Z"}
@@ -1 +1 @@
1
- {"name":"acorn-walk","description":"ECMAScript (ESTree) AST walker","homepage":"https://github.com/acornjs/acorn","main":"dist/walk.js","types":"dist/walk.d.ts","module":"dist/walk.mjs","exports":{".":[{"import":"./dist/walk.mjs","require":"./dist/walk.js","default":"./dist/walk.js"},"./dist/walk.js"],"./package.json":"./package.json"},"version":"8.3.4","engines":{"node":">=0.4.0"},"dependencies":{"acorn":"^8.11.0"},"maintainers":[{"name":"Marijn Haverbeke","email":"marijnh@gmail.com","web":"https://marijnhaverbeke.nl"},{"name":"Ingvar Stepanyan","email":"me@rreverser.com","web":"https://rreverser.com/"},{"name":"Adrian Heine","web":"http://adrianheine.de"}],"repository":{"type":"git","url":"https://github.com/acornjs/acorn.git"},"scripts":{"prepare":"cd ..; npm run build:walk"},"license":"MIT","_lastModified":"2026-06-09T23:04:37.084Z"}
1
+ {"name":"acorn-walk","description":"ECMAScript (ESTree) AST walker","homepage":"https://github.com/acornjs/acorn","main":"dist/walk.js","types":"dist/walk.d.ts","module":"dist/walk.mjs","exports":{".":[{"import":"./dist/walk.mjs","require":"./dist/walk.js","default":"./dist/walk.js"},"./dist/walk.js"],"./package.json":"./package.json"},"version":"8.3.4","engines":{"node":">=0.4.0"},"dependencies":{"acorn":"^8.11.0"},"maintainers":[{"name":"Marijn Haverbeke","email":"marijnh@gmail.com","web":"https://marijnhaverbeke.nl"},{"name":"Ingvar Stepanyan","email":"me@rreverser.com","web":"https://rreverser.com/"},{"name":"Adrian Heine","web":"http://adrianheine.de"}],"repository":{"type":"git","url":"https://github.com/acornjs/acorn.git"},"scripts":{"prepare":"cd ..; npm run build:walk"},"license":"MIT","_lastModified":"2026-06-10T17:07:47.221Z"}
@@ -1 +1 @@
1
- {"name":"ses","version":"1.14.0","description":"Hardened JavaScript for Fearless Cooperation","keywords":["lockdown","harden","Compartment","assert","security","confinement","isolation","object capabilities","ocaps","secure execution","third-party code","prototype pollution","supply-chain attack","plugin"],"author":"Agoric","license":"Apache-2.0","homepage":"https://github.com/Agoric/SES-shim/tree/master/packages/ses#readme","repository":{"type":"git","url":"git+https://github.com/endojs/endo.git","directory":"packages/ses"},"bugs":{"url":"https://github.com/endojs/endo/issues"},"type":"module","main":"./dist/ses.cjs","module":"./index.js","unpkg":"./dist/ses.umd.js","types":"./types.d.ts","exports":{".":{"import":{"types":"./types.d.ts","xs":"./src-xs/index.js","default":"./index.js"},"require":{"types":"./dist/types.d.cts","default":"./dist/ses.cjs"}},"./lockdown":{"import":{"types":"./types.d.ts","default":"./index.js"},"require":{"types":"./dist/types.d.cts","default":"./dist/ses.cjs"}},"./hermes":{"require":{"types":"./dist/types.d.cts","default":"./dist/ses-hermes.cjs"}},"./tools.js":"./tools.js","./assert-shim.js":"./assert-shim.js","./lockdown-shim.js":{"xs":"./src-xs/lockdown-shim.js","default":"./lockdown-shim.js"},"./compartment-shim.js":{"xs":"./src-xs/compartment-shim.js","default":"./compartment-shim.js"},"./console-shim.js":"./console-shim.js","./package.json":"./package.json"},"scripts":{"build:vanilla":"node scripts/bundle.js","build:hermes":"node scripts/bundle.js hermes","build":"yarn build:vanilla && yarn build:hermes","clean":"rm -rf dist","cover":"c8 ava","demo":"python3 -m http.server","lint":"yarn lint:types && yarn lint:eslint","lint-fix":"eslint --fix .","lint:eslint":"eslint .","lint:types":"tsc","prepare":"npm run clean && npm run build","qt":"ava","test":"tsd && ava","test:hermes":"./scripts/hermes-test.sh","test:xs":"xst dist/ses.umd.js test/_lockdown-safe.js && node scripts/generate-test-xs.js && xst tmp/test-xs.js && rm -rf tmp","postpack":"git clean -fX \"*.d.ts*\" \"*.d.cts*\" \"*.d.mts*\" \"*.tsbuildinfo\""},"dependencies":{"@endo/cache-map":"^1.1.0","@endo/env-options":"^1.1.11","@endo/immutable-arraybuffer":"^1.1.2"},"devDependencies":{"@babel/generator":"^7.26.3","@babel/parser":"~7.26.2","@babel/traverse":"~7.25.9","@babel/types":"~7.26.0","@endo/compartment-mapper":"^1.6.3","@endo/module-source":"^1.3.3","@endo/test262-runner":"^0.1.48","@types/babel__traverse":"^7.20.5","ava":"^6.1.3","babel-eslint":"^10.1.0","c8":"^7.14.0","core-js":"^3.31.0","eslint":"^8.57.1","eslint-config-airbnb-base":"^15.0.0","eslint-config-prettier":"^9.1.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-import":"^2.31.0","hermes-engine-cli":"^0.12.0","prettier":"^3.5.3","terser":"^5.16.6","tsd":"^0.31.2","typescript":"~5.8.3"},"files":["./*.d.ts","./*.js","./*.map","LICENSE*","SECURITY*","dist","lib","src","tools"],"publishConfig":{"access":"public"},"eslintConfig":{"extends":["plugin:@endo/ses"]},"ava":{"files":["test/**/*.test.*"],"timeout":"2m"},"typeCoverage":{"atLeast":81.17},"gitHead":"9815aea9541f241389d2135c6097a7442bdffa17","_lastModified":"2026-06-09T23:04:36.048Z"}
1
+ {"name":"ses","version":"1.14.0","description":"Hardened JavaScript for Fearless Cooperation","keywords":["lockdown","harden","Compartment","assert","security","confinement","isolation","object capabilities","ocaps","secure execution","third-party code","prototype pollution","supply-chain attack","plugin"],"author":"Agoric","license":"Apache-2.0","homepage":"https://github.com/Agoric/SES-shim/tree/master/packages/ses#readme","repository":{"type":"git","url":"git+https://github.com/endojs/endo.git","directory":"packages/ses"},"bugs":{"url":"https://github.com/endojs/endo/issues"},"type":"module","main":"./dist/ses.cjs","module":"./index.js","unpkg":"./dist/ses.umd.js","types":"./types.d.ts","exports":{".":{"import":{"types":"./types.d.ts","xs":"./src-xs/index.js","default":"./index.js"},"require":{"types":"./dist/types.d.cts","default":"./dist/ses.cjs"}},"./lockdown":{"import":{"types":"./types.d.ts","default":"./index.js"},"require":{"types":"./dist/types.d.cts","default":"./dist/ses.cjs"}},"./hermes":{"require":{"types":"./dist/types.d.cts","default":"./dist/ses-hermes.cjs"}},"./tools.js":"./tools.js","./assert-shim.js":"./assert-shim.js","./lockdown-shim.js":{"xs":"./src-xs/lockdown-shim.js","default":"./lockdown-shim.js"},"./compartment-shim.js":{"xs":"./src-xs/compartment-shim.js","default":"./compartment-shim.js"},"./console-shim.js":"./console-shim.js","./package.json":"./package.json"},"scripts":{"build:vanilla":"node scripts/bundle.js","build:hermes":"node scripts/bundle.js hermes","build":"yarn build:vanilla && yarn build:hermes","clean":"rm -rf dist","cover":"c8 ava","demo":"python3 -m http.server","lint":"yarn lint:types && yarn lint:eslint","lint-fix":"eslint --fix .","lint:eslint":"eslint .","lint:types":"tsc","prepare":"npm run clean && npm run build","qt":"ava","test":"tsd && ava","test:hermes":"./scripts/hermes-test.sh","test:xs":"xst dist/ses.umd.js test/_lockdown-safe.js && node scripts/generate-test-xs.js && xst tmp/test-xs.js && rm -rf tmp","postpack":"git clean -fX \"*.d.ts*\" \"*.d.cts*\" \"*.d.mts*\" \"*.tsbuildinfo\""},"dependencies":{"@endo/cache-map":"^1.1.0","@endo/env-options":"^1.1.11","@endo/immutable-arraybuffer":"^1.1.2"},"devDependencies":{"@babel/generator":"^7.26.3","@babel/parser":"~7.26.2","@babel/traverse":"~7.25.9","@babel/types":"~7.26.0","@endo/compartment-mapper":"^1.6.3","@endo/module-source":"^1.3.3","@endo/test262-runner":"^0.1.48","@types/babel__traverse":"^7.20.5","ava":"^6.1.3","babel-eslint":"^10.1.0","c8":"^7.14.0","core-js":"^3.31.0","eslint":"^8.57.1","eslint-config-airbnb-base":"^15.0.0","eslint-config-prettier":"^9.1.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-import":"^2.31.0","hermes-engine-cli":"^0.12.0","prettier":"^3.5.3","terser":"^5.16.6","tsd":"^0.31.2","typescript":"~5.8.3"},"files":["./*.d.ts","./*.js","./*.map","LICENSE*","SECURITY*","dist","lib","src","tools"],"publishConfig":{"access":"public"},"eslintConfig":{"extends":["plugin:@endo/ses"]},"ava":{"files":["test/**/*.test.*"],"timeout":"2m"},"typeCoverage":{"atLeast":81.17},"gitHead":"9815aea9541f241389d2135c6097a7442bdffa17","_lastModified":"2026-06-10T17:07:46.306Z"}
@@ -1 +1 @@
1
- {"name":"zod","version":"4.3.5","type":"module","license":"MIT","author":"Colin McDonnell <zod@colinhacks.com>","description":"TypeScript-first schema declaration and validation library with static type inference","homepage":"https://zod.dev","llms":"https://zod.dev/llms.txt","llmsFull":"https://zod.dev/llms-full.txt","mcpServer":"https://mcp.inkeep.com/zod/mcp","funding":"https://github.com/sponsors/colinhacks","sideEffects":false,"files":["src","**/*.js","**/*.mjs","**/*.cjs","**/*.d.ts","**/*.d.mts","**/*.d.cts","**/package.json"],"keywords":["typescript","schema","validation","type","inference"],"main":"./index.cjs","types":"./index.d.cts","module":"./index.js","zshy":{"exports":{"./package.json":"./package.json",".":"./src/index.ts","./mini":"./src/mini/index.ts","./locales":"./src/locales/index.ts","./v3":"./src/v3/index.ts","./v4":"./src/v4/index.ts","./v4-mini":"./src/v4-mini/index.ts","./v4/mini":"./src/v4/mini/index.ts","./v4/core":"./src/v4/core/index.ts","./v4/locales":"./src/v4/locales/index.ts","./v4/locales/*":"./src/v4/locales/*"},"conditions":{"@zod/source":"src"}},"exports":{"./package.json":"./package.json",".":{"@zod/source":"./src/index.ts","types":"./index.d.cts","import":"./index.js","require":"./index.cjs"},"./mini":{"@zod/source":"./src/mini/index.ts","types":"./mini/index.d.cts","import":"./mini/index.js","require":"./mini/index.cjs"},"./locales":{"@zod/source":"./src/locales/index.ts","types":"./locales/index.d.cts","import":"./locales/index.js","require":"./locales/index.cjs"},"./v3":{"@zod/source":"./src/v3/index.ts","types":"./v3/index.d.cts","import":"./v3/index.js","require":"./v3/index.cjs"},"./v4":{"@zod/source":"./src/v4/index.ts","types":"./v4/index.d.cts","import":"./v4/index.js","require":"./v4/index.cjs"},"./v4-mini":{"@zod/source":"./src/v4-mini/index.ts","types":"./v4-mini/index.d.cts","import":"./v4-mini/index.js","require":"./v4-mini/index.cjs"},"./v4/mini":{"@zod/source":"./src/v4/mini/index.ts","types":"./v4/mini/index.d.cts","import":"./v4/mini/index.js","require":"./v4/mini/index.cjs"},"./v4/core":{"@zod/source":"./src/v4/core/index.ts","types":"./v4/core/index.d.cts","import":"./v4/core/index.js","require":"./v4/core/index.cjs"},"./v4/locales":{"@zod/source":"./src/v4/locales/index.ts","types":"./v4/locales/index.d.cts","import":"./v4/locales/index.js","require":"./v4/locales/index.cjs"},"./v4/locales/*":{"@zod/source":"./src/v4/locales/*","types":"./v4/locales/*","import":"./v4/locales/*","require":"./v4/locales/*"}},"repository":{"type":"git","url":"git+https://github.com/colinhacks/zod.git"},"bugs":{"url":"https://github.com/colinhacks/zod/issues"},"support":{"backing":{"npm-funding":true}},"scripts":{"clean":"git clean -xdf . -e node_modules","build":"zshy --project tsconfig.build.json","postbuild":"tsx ../../scripts/write-stub-package-jsons.ts && pnpm biome check --write .","test:watch":"pnpm vitest","test":"pnpm vitest run","prepublishOnly":"tsx ../../scripts/check-versions.ts"},"_lastModified":"2026-06-09T23:04:38.275Z"}
1
+ {"name":"zod","version":"4.3.5","type":"module","license":"MIT","author":"Colin McDonnell <zod@colinhacks.com>","description":"TypeScript-first schema declaration and validation library with static type inference","homepage":"https://zod.dev","llms":"https://zod.dev/llms.txt","llmsFull":"https://zod.dev/llms-full.txt","mcpServer":"https://mcp.inkeep.com/zod/mcp","funding":"https://github.com/sponsors/colinhacks","sideEffects":false,"files":["src","**/*.js","**/*.mjs","**/*.cjs","**/*.d.ts","**/*.d.mts","**/*.d.cts","**/package.json"],"keywords":["typescript","schema","validation","type","inference"],"main":"./index.cjs","types":"./index.d.cts","module":"./index.js","zshy":{"exports":{"./package.json":"./package.json",".":"./src/index.ts","./mini":"./src/mini/index.ts","./locales":"./src/locales/index.ts","./v3":"./src/v3/index.ts","./v4":"./src/v4/index.ts","./v4-mini":"./src/v4-mini/index.ts","./v4/mini":"./src/v4/mini/index.ts","./v4/core":"./src/v4/core/index.ts","./v4/locales":"./src/v4/locales/index.ts","./v4/locales/*":"./src/v4/locales/*"},"conditions":{"@zod/source":"src"}},"exports":{"./package.json":"./package.json",".":{"@zod/source":"./src/index.ts","types":"./index.d.cts","import":"./index.js","require":"./index.cjs"},"./mini":{"@zod/source":"./src/mini/index.ts","types":"./mini/index.d.cts","import":"./mini/index.js","require":"./mini/index.cjs"},"./locales":{"@zod/source":"./src/locales/index.ts","types":"./locales/index.d.cts","import":"./locales/index.js","require":"./locales/index.cjs"},"./v3":{"@zod/source":"./src/v3/index.ts","types":"./v3/index.d.cts","import":"./v3/index.js","require":"./v3/index.cjs"},"./v4":{"@zod/source":"./src/v4/index.ts","types":"./v4/index.d.cts","import":"./v4/index.js","require":"./v4/index.cjs"},"./v4-mini":{"@zod/source":"./src/v4-mini/index.ts","types":"./v4-mini/index.d.cts","import":"./v4-mini/index.js","require":"./v4-mini/index.cjs"},"./v4/mini":{"@zod/source":"./src/v4/mini/index.ts","types":"./v4/mini/index.d.cts","import":"./v4/mini/index.js","require":"./v4/mini/index.cjs"},"./v4/core":{"@zod/source":"./src/v4/core/index.ts","types":"./v4/core/index.d.cts","import":"./v4/core/index.js","require":"./v4/core/index.cjs"},"./v4/locales":{"@zod/source":"./src/v4/locales/index.ts","types":"./v4/locales/index.d.cts","import":"./v4/locales/index.js","require":"./v4/locales/index.cjs"},"./v4/locales/*":{"@zod/source":"./src/v4/locales/*","types":"./v4/locales/*","import":"./v4/locales/*","require":"./v4/locales/*"}},"repository":{"type":"git","url":"git+https://github.com/colinhacks/zod.git"},"bugs":{"url":"https://github.com/colinhacks/zod/issues"},"support":{"backing":{"npm-funding":true}},"scripts":{"clean":"git clean -xdf . -e node_modules","build":"zshy --project tsconfig.build.json","postbuild":"tsx ../../scripts/write-stub-package-jsons.ts && pnpm biome check --write .","test:watch":"pnpm vitest","test":"pnpm vitest run","prepublishOnly":"tsx ../../scripts/check-versions.ts"},"_lastModified":"2026-06-10T17:07:48.254Z"}
@@ -125,6 +125,7 @@ export declare class FlowSurfacesService {
125
125
  private buildAuthoringContextFromPopupProfile;
126
126
  private buildTargetAuthoringContext;
127
127
  private resolvePopupCurrentRecordResourceFilterByTk;
128
+ private resolveLocalActionPopupOpenViewFilterByTk;
128
129
  private resolvePopupAssociationFields;
129
130
  private findPopupHostNode;
130
131
  private getBlockKeyByUse;
@@ -1131,6 +1131,7 @@ class FlowSurfacesService {
1131
1131
  const parentRoute = await this.assertMenuParentIsGroup(values.parentMenuRouteId, transaction);
1132
1132
  this.assertVisibleNavigationIcon("createMenu", "values", values);
1133
1133
  const pageSchemaUid = values.pageSchemaUid || (0, import_utils.uid)();
1134
+ const menuSchemaUid = (0, import_utils.uid)();
1134
1135
  const pageUid = values.pageUid || (0, import_utils.uid)();
1135
1136
  const tabSchemaUid = values.tabSchemaUid || (0, import_utils.uid)();
1136
1137
  const tabSchemaName = values.tabSchemaName || (0, import_utils.uid)();
@@ -1145,6 +1146,7 @@ class FlowSurfacesService {
1145
1146
  icon: values.icon,
1146
1147
  tooltip: values.tooltip,
1147
1148
  schemaUid: pageSchemaUid,
1149
+ menuSchemaUid,
1148
1150
  hideInMenu: !!values.hideInMenu,
1149
1151
  enableTabs: false,
1150
1152
  displayTitle: values.displayTitle !== false,
@@ -1197,6 +1199,7 @@ class FlowSurfacesService {
1197
1199
  );
1198
1200
  return this.buildMenuResult(route, {
1199
1201
  pageSchemaUid,
1202
+ menuSchemaUid,
1200
1203
  pageUid,
1201
1204
  tabRouteId: this.readRouteField(tabRoute, "id"),
1202
1205
  tabSchemaUid,
@@ -1950,6 +1953,12 @@ class FlowSurfacesService {
1950
1953
  }
1951
1954
  return `{{ctx.record.${this.getCollectionFilterTargetKey(popupProfile.currentCollection)}}}`;
1952
1955
  }
1956
+ resolveLocalActionPopupOpenViewFilterByTk(popupProfile) {
1957
+ if (!(popupProfile == null ? void 0 : popupProfile.hasCurrentRecord) || !popupProfile.currentCollection) {
1958
+ return void 0;
1959
+ }
1960
+ return `{{ctx.record.${this.getCollectionFilterTargetKey(popupProfile.currentCollection)}}}`;
1961
+ }
1953
1962
  resolvePopupAssociationFields(popupProfile, blockUse) {
1954
1963
  var _a;
1955
1964
  if (!popupProfile.currentCollection || !popupProfile.hasCurrentRecord) {
@@ -5808,6 +5817,7 @@ class FlowSurfacesService {
5808
5817
  const enableTabs = !!values.enableTabs;
5809
5818
  const displayTitle = values.displayTitle !== false;
5810
5819
  const title = values.title || this.readRouteField(route, "title") || pageSchemaUid;
5820
+ const menuSchemaUid = this.readRouteField(route, "menuSchemaUid");
5811
5821
  const nextRouteOptions = {
5812
5822
  ...routeOptions,
5813
5823
  ...values.routeOptions || {}
@@ -5866,6 +5876,7 @@ class FlowSurfacesService {
5866
5876
  values: {
5867
5877
  title,
5868
5878
  icon: Object.prototype.hasOwnProperty.call(values, "icon") ? values.icon : this.readRouteField(route, "icon"),
5879
+ ...!import_lodash.default.isNil(menuSchemaUid) && menuSchemaUid !== "" ? { menuSchemaUid } : {},
5869
5880
  enableTabs,
5870
5881
  enableHeader: values.enableHeader,
5871
5882
  displayTitle,
@@ -5897,6 +5908,7 @@ class FlowSurfacesService {
5897
5908
  routeId,
5898
5909
  parentMenuRouteId: this.readRouteField(route, "parentId") ?? null,
5899
5910
  pageSchemaUid,
5911
+ ...!import_lodash.default.isNil(menuSchemaUid) && menuSchemaUid !== "" ? { menuSchemaUid } : {},
5900
5912
  pageUid,
5901
5913
  tabSchemaUid,
5902
5914
  tabRouteId: this.readRouteField(tabRoute, "id"),
@@ -11131,7 +11143,7 @@ class FlowSurfacesService {
11131
11143
  hasCurrentRecord: true
11132
11144
  }
11133
11145
  }) : (popupProfile == null ? void 0 : popupProfile.currentCollection) ? this.getCollectionFilterTargetKey(popupProfile.currentCollection) : null;
11134
- const defaultFilterByTk = this.resolvePopupCurrentRecordResourceFilterByTk(popupProfile);
11146
+ const defaultFilterByTk = this.resolveLocalActionPopupOpenViewFilterByTk(popupProfile);
11135
11147
  const currentFilterByTk = import_lodash.default.isString(currentOpenView.filterByTk) ? currentOpenView.filterByTk.trim() : "";
11136
11148
  const preserveCustomFilterByTk = currentFilterByTk && !this.shouldOmitRuntimeRecordFilterByTk(currentOpenView.filterByTk, { filterTargetKey: filterTargetKey || "" });
11137
11149
  const nextOpenView = (0, import_service_utils.buildDefinedPayload)({
@@ -11160,7 +11172,10 @@ class FlowSurfacesService {
11160
11172
  return;
11161
11173
  }
11162
11174
  const currentOpenView = this.resolvePopupHostOpenView(actionNode);
11163
- if (this.isExternalPopupOpenView(currentOpenView, actionNode.uid) || (0, import_service_helpers.hasConfiguredFlowContextValue)(currentOpenView == null ? void 0 : currentOpenView.filterByTk)) {
11175
+ if (this.isExternalPopupOpenView(currentOpenView, actionNode.uid)) {
11176
+ return;
11177
+ }
11178
+ if ((0, import_service_helpers.hasConfiguredFlowContextValue)(currentOpenView == null ? void 0 : currentOpenView.filterByTk) && this.normalizeFlowContextTemplateValue(currentOpenView == null ? void 0 : currentOpenView.filterByTk) !== "{{ctx.view.inputArgs.filterByTk}}") {
11164
11179
  return;
11165
11180
  }
11166
11181
  const popupProfile = await this.resolvePopupBlockProfile(
@@ -11181,8 +11196,11 @@ class FlowSurfacesService {
11181
11196
  const currentGroupOpenView = import_lodash.default.isPlainObject(currentGroup[stepKey]) ? currentGroup[stepKey] : {};
11182
11197
  const filterTargetKey = (popupProfile == null ? void 0 : popupProfile.currentCollection) ? this.getCollectionFilterTargetKey(popupProfile.currentCollection) : null;
11183
11198
  const currentFilterByTk = import_lodash.default.isString(currentGroupOpenView == null ? void 0 : currentGroupOpenView.filterByTk) ? currentGroupOpenView.filterByTk.trim() : "";
11184
- const defaultFilterByTk = this.resolvePopupCurrentRecordResourceFilterByTk(popupProfile);
11185
- const preserveCustomFilterByTk = currentFilterByTk && currentFilterByTk !== "{{ctx.view.inputArgs.filterByTk}}" && currentFilterByTk !== "{{ctx.record." + filterTargetKey + "}}";
11199
+ const defaultFilterByTk = this.resolveLocalActionPopupOpenViewFilterByTk(popupProfile);
11200
+ const normalizedCurrentFilterByTk = this.normalizeFlowContextTemplateValue(currentGroupOpenView == null ? void 0 : currentGroupOpenView.filterByTk);
11201
+ const normalizedDefaultFilterByTk = this.normalizeFlowContextTemplateValue(defaultFilterByTk);
11202
+ const normalizedExpectedRecordFilterByTk = filterTargetKey ? `{{ctx.record.${filterTargetKey}}}` : "";
11203
+ const preserveCustomFilterByTk = !!currentFilterByTk && normalizedCurrentFilterByTk !== "{{ctx.view.inputArgs.filterByTk}}" && (!normalizedDefaultFilterByTk || normalizedCurrentFilterByTk !== normalizedDefaultFilterByTk) && (!normalizedExpectedRecordFilterByTk || normalizedCurrentFilterByTk !== normalizedExpectedRecordFilterByTk);
11186
11204
  const nextOpenView = (0, import_service_utils.buildDefinedPayload)({
11187
11205
  ...currentGroupOpenView,
11188
11206
  dataSourceKey: (currentOpenView == null ? void 0 : currentOpenView.dataSourceKey) || (popupProfile == null ? void 0 : popupProfile.dataSourceKey) || "main",
@@ -12712,7 +12730,7 @@ class FlowSurfacesService {
12712
12730
  return import_lodash.default.uniqBy([...base || [], ...extra || []], "key");
12713
12731
  }
12714
12732
  async resolveSqlChartPreview(query, _transaction) {
12715
- var _a, _b;
12733
+ var _a, _b, _c;
12716
12734
  const normalizedSql = this.normalizeReadOnlyChartSql(query == null ? void 0 : query.sql);
12717
12735
  let transformed;
12718
12736
  try {
@@ -12731,8 +12749,9 @@ class FlowSurfacesService {
12731
12749
  });
12732
12750
  return { riskyHints };
12733
12751
  }
12734
- const db = (_b = (_a = this.plugin).getDatabaseByDataSourceKey) == null ? void 0 : _b.call(_a, (query == null ? void 0 : query.sqlDatasource) || "main");
12735
- if (!(db == null ? void 0 : db.runSQL)) {
12752
+ const sqlDataSourceKey = (query == null ? void 0 : query.sqlDatasource) || "main";
12753
+ const runSQLByDataSourceKey = (_a = this.plugin.runSQLByDataSourceKey) == null ? void 0 : _a.bind(this.plugin);
12754
+ if (!runSQLByDataSourceKey) {
12736
12755
  riskyHints.push({
12737
12756
  key: "sql_preview_unavailable",
12738
12757
  title: "SQL preview unavailable",
@@ -12741,14 +12760,22 @@ class FlowSurfacesService {
12741
12760
  return { riskyHints };
12742
12761
  }
12743
12762
  try {
12744
- const previewMetadataResult = await this.runChartSqlPreviewRaw(
12745
- db,
12746
- this.buildChartSqlPreviewMetadataQuery(transformed.sql),
12747
- transformed.bind,
12748
- _transaction
12749
- );
12750
- const previewAliases = this.extractSqlChartPreviewAliases(previewMetadataResult == null ? void 0 : previewMetadataResult[1]);
12751
- const rows = await db.runSQL(this.buildChartSqlPreviewQuery(transformed.sql), {
12763
+ let previewAliases = [];
12764
+ try {
12765
+ const db = (_c = (_b = this.plugin).getDatabaseByDataSourceKey) == null ? void 0 : _c.call(_b, sqlDataSourceKey);
12766
+ if (db) {
12767
+ const previewMetadataResult = await this.runChartSqlPreviewRaw(
12768
+ db,
12769
+ this.buildChartSqlPreviewMetadataQuery(transformed.sql),
12770
+ transformed.bind,
12771
+ _transaction
12772
+ );
12773
+ previewAliases = this.extractSqlChartPreviewAliases(previewMetadataResult == null ? void 0 : previewMetadataResult[1]);
12774
+ }
12775
+ } catch {
12776
+ previewAliases = [];
12777
+ }
12778
+ const rows = await runSQLByDataSourceKey(sqlDataSourceKey, this.buildChartSqlPreviewQuery(transformed.sql), {
12752
12779
  type: "selectRows",
12753
12780
  bind: transformed.bind,
12754
12781
  transaction: _transaction
@@ -11,6 +11,7 @@ export declare class PluginFlowEngineServer extends PluginUISchemaStorageServer
11
11
  afterAdd(): Promise<void>;
12
12
  beforeLoad(): Promise<void>;
13
13
  getDatabaseByDataSourceKey(dataSourceKey?: string): import("@nocobase/database").default;
14
+ runSQLByDataSourceKey(dataSourceKey: string | undefined, sql: string, options?: Record<string, unknown>): Promise<any>;
14
15
  load(): Promise<void>;
15
16
  install(): Promise<void>;
16
17
  afterEnable(): Promise<void>;
@@ -58,6 +58,19 @@ class PluginFlowEngineServer extends import_server.default {
58
58
  }
59
59
  return cm.db;
60
60
  }
61
+ async runSQLByDataSourceKey(dataSourceKey, sql, options = {}) {
62
+ var _a;
63
+ const key = dataSourceKey || "main";
64
+ const dataSource = this.app.dataSourceManager.get(key);
65
+ if (!dataSource) {
66
+ throw new Error(`data source "${key}" does not exist`);
67
+ }
68
+ const cm = dataSource.collectionManager;
69
+ if (typeof ((_a = cm.db) == null ? void 0 : _a.runSQL) !== "function") {
70
+ throw new Error(`data source "${key}" does not support SQL`);
71
+ }
72
+ return await cm.db.runSQL(sql, options);
73
+ }
61
74
  async load() {
62
75
  await super.load();
63
76
  (0, import_flow_surfaces.registerFlowSurfacesResource)(this);
@@ -107,10 +120,9 @@ class PluginFlowEngineServer extends import_server.default {
107
120
  const record = await r.findOne({
108
121
  filter: { uid }
109
122
  });
110
- const db = this.getDatabaseByDataSourceKey(record.dataSourceKey || dataSourceKey);
111
123
  const result = await (0, import_utils.transformSQL)(record.sql);
112
124
  const sql = await (0, import_utils.parseLiquidContext)(result.sql, liquidContext);
113
- ctx.body = await db.runSQL(sql, {
125
+ ctx.body = await this.runSQLByDataSourceKey(record.dataSourceKey || dataSourceKey, sql, {
114
126
  type,
115
127
  filter,
116
128
  bind
@@ -142,8 +154,7 @@ class PluginFlowEngineServer extends import_server.default {
142
154
  },
143
155
  "flowSql:run": async (ctx, next) => {
144
156
  const { sql, type, filter, bind, dataSourceKey } = ctx.action.params.values;
145
- const db = this.getDatabaseByDataSourceKey(dataSourceKey);
146
- ctx.body = await db.runSQL(sql, { type, filter, bind });
157
+ ctx.body = await this.runSQLByDataSourceKey(dataSourceKey, sql, { type, filter, bind });
147
158
  await next();
148
159
  }
149
160
  });
@@ -3194,6 +3194,9 @@ declare const _default: {
3194
3194
  pageSchemaUid: {
3195
3195
  type: string;
3196
3196
  };
3197
+ menuSchemaUid: {
3198
+ type: string;
3199
+ };
3197
3200
  pageUid: {
3198
3201
  type: string;
3199
3202
  };
@@ -3339,6 +3342,9 @@ declare const _default: {
3339
3342
  pageSchemaUid: {
3340
3343
  type: string;
3341
3344
  };
3345
+ menuSchemaUid: {
3346
+ type: string;
3347
+ };
3342
3348
  pageUid: {
3343
3349
  type: string;
3344
3350
  };
@@ -6450,6 +6456,10 @@ declare const _default: {
6450
6456
  schemaUid: {
6451
6457
  type: string;
6452
6458
  };
6459
+ menuSchemaUid: {
6460
+ type: string;
6461
+ nullable: boolean;
6462
+ };
6453
6463
  tabSchemaName: {
6454
6464
  type: string;
6455
6465
  };
@@ -1904,6 +1904,10 @@ const schemas = {
1904
1904
  schemaUid: {
1905
1905
  type: "string"
1906
1906
  },
1907
+ menuSchemaUid: {
1908
+ type: "string",
1909
+ nullable: true
1910
+ },
1907
1911
  tabSchemaName: {
1908
1912
  type: "string"
1909
1913
  },
@@ -4453,6 +4457,9 @@ const schemas = {
4453
4457
  pageSchemaUid: {
4454
4458
  type: "string"
4455
4459
  },
4460
+ menuSchemaUid: {
4461
+ type: "string"
4462
+ },
4456
4463
  pageUid: {
4457
4464
  type: "string"
4458
4465
  },
@@ -4566,6 +4573,9 @@ const schemas = {
4566
4573
  pageSchemaUid: {
4567
4574
  type: "string"
4568
4575
  },
4576
+ menuSchemaUid: {
4577
+ type: "string"
4578
+ },
4569
4579
  pageUid: {
4570
4580
  type: "string"
4571
4581
  },
@@ -3194,6 +3194,9 @@ declare const _default: {
3194
3194
  pageSchemaUid: {
3195
3195
  type: string;
3196
3196
  };
3197
+ menuSchemaUid: {
3198
+ type: string;
3199
+ };
3197
3200
  pageUid: {
3198
3201
  type: string;
3199
3202
  };
@@ -3339,6 +3342,9 @@ declare const _default: {
3339
3342
  pageSchemaUid: {
3340
3343
  type: string;
3341
3344
  };
3345
+ menuSchemaUid: {
3346
+ type: string;
3347
+ };
3342
3348
  pageUid: {
3343
3349
  type: string;
3344
3350
  };
@@ -6450,6 +6456,10 @@ declare const _default: {
6450
6456
  schemaUid: {
6451
6457
  type: string;
6452
6458
  };
6459
+ menuSchemaUid: {
6460
+ type: string;
6461
+ nullable: boolean;
6462
+ };
6453
6463
  tabSchemaName: {
6454
6464
  type: string;
6455
6465
  };
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "displayName.zh-CN": "前端流引擎",
5
5
  "description": "",
6
6
  "description.zh-CN": "",
7
- "version": "2.1.0-beta.47",
7
+ "version": "2.1.0-beta.48",
8
8
  "main": "./dist/server/index.js",
9
9
  "license": "Apache-2.0",
10
10
  "devDependencies": {
@@ -26,5 +26,5 @@
26
26
  "@nocobase/test": "2.x",
27
27
  "@nocobase/utils": "2.x"
28
28
  },
29
- "gitHead": "bf8fc3790e3494c901b4d22861c5471a0d27c464"
29
+ "gitHead": "f8c27a286db015c5e433b48241f14c0412e50530"
30
30
  }