@vef-framework-react/approval 2.18.0 → 2.20.0

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.
Files changed (60) hide show
  1. package/dist/cjs/components/form-panel/index.cjs +1 -1
  2. package/dist/es/api/admin-api.js +1 -1
  3. package/dist/es/api/category-api.js +1 -1
  4. package/dist/es/api/delegation-api.js +1 -1
  5. package/dist/es/api/flow-api.js +1 -1
  6. package/dist/es/api/index.js +1 -1
  7. package/dist/es/api/instance-api.js +1 -1
  8. package/dist/es/api/my-api.js +1 -1
  9. package/dist/es/api/query.js +1 -1
  10. package/dist/es/components/detail/action-modals.js +1 -1
  11. package/dist/es/components/detail/admin.js +1 -1
  12. package/dist/es/components/detail/drawer.js +1 -1
  13. package/dist/es/components/detail/index.js +1 -1
  14. package/dist/es/components/flow-graph/index.js +1 -1
  15. package/dist/es/components/flow-graph/node.js +1 -1
  16. package/dist/es/components/flow-graph/people-overlay.js +1 -1
  17. package/dist/es/components/flow-graph/people.js +1 -1
  18. package/dist/es/components/form-panel/index.js +5 -3
  19. package/dist/es/components/format.js +1 -1
  20. package/dist/es/components/icon.js +1 -1
  21. package/dist/es/components/index.js +1 -1
  22. package/dist/es/components/principal/index.js +1 -1
  23. package/dist/es/components/status/colors.js +1 -1
  24. package/dist/es/components/status/index.js +1 -1
  25. package/dist/es/components/status/labels.js +1 -1
  26. package/dist/es/components/timeline/index.js +1 -1
  27. package/dist/es/components/user/index.js +1 -1
  28. package/dist/es/index.js +1 -1
  29. package/dist/es/pages/admin-page/index.js +1 -1
  30. package/dist/es/pages/admin-page/instances.js +1 -1
  31. package/dist/es/pages/admin-page/metrics.js +1 -1
  32. package/dist/es/pages/admin-page/projections.js +1 -1
  33. package/dist/es/pages/admin-page/tasks.js +1 -1
  34. package/dist/es/pages/category-page/columns.js +1 -1
  35. package/dist/es/pages/category-page/form.js +1 -1
  36. package/dist/es/pages/category-page/index.js +1 -1
  37. package/dist/es/pages/delegation-page/columns.js +1 -1
  38. package/dist/es/pages/delegation-page/form.js +1 -1
  39. package/dist/es/pages/delegation-page/index.js +1 -1
  40. package/dist/es/pages/flow-page/columns.js +1 -1
  41. package/dist/es/pages/flow-page/designer/basic-step.js +1 -1
  42. package/dist/es/pages/flow-page/designer/flow-step.js +1 -1
  43. package/dist/es/pages/flow-page/designer/form-step.js +1 -1
  44. package/dist/es/pages/flow-page/designer/index.js +1 -1
  45. package/dist/es/pages/flow-page/designer/review-step.js +1 -1
  46. package/dist/es/pages/flow-page/designer/types.js +1 -1
  47. package/dist/es/pages/flow-page/index.js +1 -1
  48. package/dist/es/pages/flow-page/search.js +1 -1
  49. package/dist/es/pages/flow-page/versions.js +1 -1
  50. package/dist/es/pages/index.js +1 -1
  51. package/dist/es/pages/initiate-page/index.js +1 -1
  52. package/dist/es/pages/initiate-page/start-drawer.js +1 -1
  53. package/dist/es/pages/my-instances-page/index.js +1 -1
  54. package/dist/es/pages/task-center-page/index.js +1 -1
  55. package/dist/es/permissions.js +1 -1
  56. package/dist/es/plugins/index.js +1 -1
  57. package/dist/es/types/enums.js +1 -1
  58. package/dist/es/types/index.js +1 -1
  59. package/dist/types/plugins/index.d.ts +16 -1
  60. package/package.json +7 -7
@@ -1 +1 @@
1
- const e=require("../../plugins/index.cjs");let t=require("@vef-framework-react/components"),n=require("@emotion/react/jsx-runtime"),r=require("@vef-framework-react/form-editor");function i({schema:i,formData:a,fieldPermissions:o,disabled:s,device:c=`pc`,apiRef:l,onSubmit:u}){let{registries:d}=e.useApprovalPlugins();return i?(0,n.jsx)(r.RegistryProvider,{registries:d,children:(0,n.jsx)(r.FormRenderer,{apiRef:l,defaultValues:a,device:c,disabled:s,fieldPermissions:o,schema:i,onSubmit:u})}):(0,n.jsx)(t.Empty,{description:`该流程未配置表单`})}exports.InstanceFormPanel=i;
1
+ const e=require("../../plugins/index.cjs");let t=require("@vef-framework-react/components"),n=require("@emotion/react/jsx-runtime"),r=require("@vef-framework-react/form-editor");function i({schema:i,formData:a,fieldPermissions:o,disabled:s,device:c=`pc`,apiRef:l,onSubmit:u}){let{dataSourceResolver:d,evaluators:f,registries:p}=e.useApprovalPlugins();return i?(0,n.jsx)(r.RegistryProvider,{registries:p,children:(0,n.jsx)(r.FormRenderer,{apiRef:l,dataSourceResolver:d,defaultValues:a,device:c,disabled:s,evaluators:f,fieldPermissions:o,schema:i,onSubmit:u})}):(0,n.jsx)(t.Empty,{description:`该流程未配置表单`})}exports.InstanceFormPanel=i;
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { API_PATH as e, toPagedParams as t } from "./query.js";
3
3
  import { createApiRequest as n, useApiClient as r } from "@vef-framework-react/core";
4
4
  import { useMemo as i } from "react";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { API_PATH as e } from "./query.js";
3
3
  import { createApiRequest as t, useApiClient as n } from "@vef-framework-react/core";
4
4
  import { useMemo as r } from "react";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { API_PATH as e } from "./query.js";
3
3
  import { createApiRequest as t, useApiClient as n } from "@vef-framework-react/core";
4
4
  import { useMemo as r } from "react";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { API_PATH as e, toPagedParams as t } from "./query.js";
3
3
  import { createApiRequest as n, useApiClient as r } from "@vef-framework-react/core";
4
4
  import { useMemo as i } from "react";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { API_PATH as e, toPagedParams as t } from "./query.js";
3
3
  import { useAdminApprovalApi as n } from "./admin-api.js";
4
4
  import { useCategoryApi as r } from "./category-api.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { API_PATH as e } from "./query.js";
3
3
  import { createApiRequest as t, useApiClient as n } from "@vef-framework-react/core";
4
4
  import { useMemo as r } from "react";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { API_PATH as e, toPagedParams as t } from "./query.js";
3
3
  import { createApiRequest as n, useApiClient as r } from "@vef-framework-react/core";
4
4
  import { useMemo as i } from "react";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { SYMBOL_PAGINATION as e } from "@vef-framework-react/components";
3
3
  //#region src/api/query.ts
4
4
  var t = "/api";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { TASK_STATUS_LABELS as e } from "../status/labels.js";
3
3
  import { isTaskStatus as t } from "../status/index.js";
4
4
  import { PrincipalSelect as n } from "../principal/index.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { useAdminApprovalApi as e } from "../../api/admin-api.js";
3
3
  import { formatTimestamp as t } from "../format.js";
4
4
  import { ACTIVITY_ACTION_LABELS as n } from "../status/labels.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { InstanceDetailPanel as e } from "./index.js";
3
3
  import { Drawer as t } from "@vef-framework-react/components";
4
4
  import { jsx as n } from "@emotion/react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { useInstanceApi as e } from "../../api/instance-api.js";
3
3
  import { useMyApprovalApi as t } from "../../api/my-api.js";
4
4
  import { useApprovalPlugins as n } from "../../plugins/index.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { ViewerNode as e } from "./node.js";
3
3
  import { useMemo as t } from "react";
4
4
  import { globalCssVars as n } from "@vef-framework-react/components";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { formatTimestamp as e } from "../format.js";
3
3
  import { NODE_PROGRESS_LABELS as t } from "../status/labels.js";
4
4
  import { collectNodePeople as n } from "./people.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { formatTimestamp as e } from "../format.js";
3
3
  import { ACTIVITY_ACTION_LABELS as t } from "../status/labels.js";
4
4
  import { personTone as n } from "./people.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  //#region src/components/flow-graph/people.ts
3
3
  var e = {
4
4
  waiting: "default",
@@ -1,18 +1,20 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { useApprovalPlugins as e } from "../../plugins/index.js";
3
3
  import { Empty as t } from "@vef-framework-react/components";
4
4
  import { jsx as n } from "@emotion/react/jsx-runtime";
5
5
  import { FormRenderer as r, RegistryProvider as i } from "@vef-framework-react/form-editor";
6
6
  //#region src/components/form-panel/index.tsx
7
7
  function a({ schema: a, formData: o, fieldPermissions: s, disabled: c, device: l = "pc", apiRef: u, onSubmit: d }) {
8
- let { registries: f } = e();
8
+ let { dataSourceResolver: f, evaluators: p, registries: m } = e();
9
9
  return a ? /* @__PURE__ */ n(i, {
10
- registries: f,
10
+ registries: m,
11
11
  children: /* @__PURE__ */ n(r, {
12
12
  apiRef: u,
13
+ dataSourceResolver: f,
13
14
  defaultValues: o,
14
15
  device: l,
15
16
  disabled: c,
17
+ evaluators: p,
16
18
  fieldPermissions: s,
17
19
  schema: a,
18
20
  onSubmit: d
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import e from "dayjs";
3
3
  //#region src/components/format.ts
4
4
  function t(t) {
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { DynamicIcon as e } from "@vef-framework-react/components";
3
3
  import { jsx as t } from "@emotion/react/jsx-runtime";
4
4
  //#region src/components/icon.tsx
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { formatDurationSeconds as e, formatTimestamp as t } from "./format.js";
3
3
  import { ACTIVITY_ACTION_LABELS as n, BINDING_PROJECTION_STATUS_LABELS as r, BINDING_PROJECTION_STATUS_OPTIONS as i, INSTANCE_STATUS_LABELS as a, INSTANCE_STATUS_OPTIONS as o, NODE_PROGRESS_LABELS as s, PROCESS_TASK_ACTION_LABELS as c, TASK_STATUS_LABELS as l, TASK_STATUS_OPTIONS as u, VERSION_STATUS_LABELS as d } from "./status/labels.js";
4
4
  import { BINDING_PROJECTION_STATUS_COLORS as f, INSTANCE_STATUS_COLORS as p, NODE_PROGRESS_COLORS as m, TASK_STATUS_COLORS as h, VERSION_STATUS_COLORS as g } from "./status/colors.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { useApprovalPlugins as e } from "../../plugins/index.js";
3
3
  import { Select as t } from "@vef-framework-react/components";
4
4
  import { jsx as n } from "@emotion/react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  //#region src/components/status/colors.ts
3
3
  var e = {
4
4
  running: "processing",
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { BINDING_PROJECTION_STATUS_LABELS as e, INSTANCE_STATUS_LABELS as t, NODE_PROGRESS_LABELS as n, TASK_STATUS_LABELS as r, VERSION_STATUS_LABELS as i } from "./labels.js";
3
3
  import { BINDING_PROJECTION_STATUS_COLORS as a, INSTANCE_STATUS_COLORS as o, NODE_PROGRESS_COLORS as s, TASK_STATUS_COLORS as c, VERSION_STATUS_COLORS as l } from "./colors.js";
4
4
  import { Tag as u } from "@vef-framework-react/components";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  //#region src/components/status/labels.ts
3
3
  var e = {
4
4
  running: "审批中",
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { formatTimestamp as e } from "../format.js";
3
3
  import { ACTIVITY_ACTION_LABELS as t } from "../status/labels.js";
4
4
  import { TaskStatusTag as n } from "../status/index.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { Avatar as e, Space as t, Text as n, Tooltip as r } from "@vef-framework-react/components";
3
3
  import { jsx as i, jsxs as a } from "@emotion/react/jsx-runtime";
4
4
  //#region src/components/user/index.tsx
package/dist/es/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { API_PATH as e, toPagedParams as t } from "./api/query.js";
3
3
  import { useAdminApprovalApi as n } from "./api/admin-api.js";
4
4
  import { useCategoryApi as r } from "./api/category-api.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { APPROVAL_PERMISSIONS as e } from "../../permissions.js";
3
3
  import { InstancesPanel as t } from "./instances.js";
4
4
  import { MetricsPanel as n } from "./metrics.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { useAdminApprovalApi as e } from "../../api/admin-api.js";
3
3
  import { formatTimestamp as t } from "../../components/format.js";
4
4
  import { INSTANCE_STATUS_OPTIONS as n } from "../../components/status/labels.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { useAdminApprovalApi as e } from "../../api/admin-api.js";
3
3
  import { formatDurationSeconds as t, formatTimestamp as n } from "../../components/format.js";
4
4
  import { BINDING_PROJECTION_STATUS_LABELS as r, INSTANCE_STATUS_LABELS as i, TASK_STATUS_LABELS as a } from "../../components/status/labels.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { useAdminApprovalApi as e } from "../../api/admin-api.js";
3
3
  import { formatTimestamp as t } from "../../components/format.js";
4
4
  import { BINDING_PROJECTION_STATUS_OPTIONS as n } from "../../components/status/labels.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { useAdminApprovalApi as e } from "../../api/admin-api.js";
3
3
  import { formatTimestamp as t } from "../../components/format.js";
4
4
  import { TASK_STATUS_OPTIONS as n } from "../../components/status/labels.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { formatTimestamp as e } from "../../components/format.js";
3
3
  import { FlowIcon as t } from "../../components/icon.js";
4
4
  import { Flex as n, Tag as r, Text as i } from "@vef-framework-react/components";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { Grid as e, useFormContext as t } from "@vef-framework-react/components";
3
3
  import { jsx as n, jsxs as r } from "@emotion/react/jsx-runtime";
4
4
  import { z as i } from "@vef-framework-react/shared";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { useCategoryApi as e } from "../../api/category-api.js";
3
3
  import { APPROVAL_PERMISSIONS as t } from "../../permissions.js";
4
4
  import { categoryColumns as n } from "./columns.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { formatTimestamp as e } from "../../components/format.js";
3
3
  import { Tag as t, Text as n } from "@vef-framework-react/components";
4
4
  import { jsx as r } from "@emotion/react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { useCategoryApi as e } from "../../api/category-api.js";
3
3
  import { PrincipalSelect as t } from "../../components/principal/index.js";
4
4
  import { buildCategoryTreeOptions as n } from "../category-page/form.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { useDelegationApi as e } from "../../api/delegation-api.js";
3
3
  import { APPROVAL_PERMISSIONS as t } from "../../permissions.js";
4
4
  import { delegationColumns as n } from "./columns.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { formatTimestamp as e } from "../../components/format.js";
3
3
  import { FlowIcon as t } from "../../components/icon.js";
4
4
  import { Flex as n, LabelsDisplay as r, Tag as i, Text as a } from "@vef-framework-react/components";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { INSTANCE_STATUS_LABELS as e } from "../../../components/status/labels.js";
3
3
  import { PrincipalSelect as t } from "../../../components/principal/index.js";
4
4
  import { BUILTIN_INITIATOR_KINDS as n } from "../../../types/enums.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { Alert as e, Stack as t, globalCssVars as n } from "@vef-framework-react/components";
3
3
  import { jsx as r, jsxs as i } from "@emotion/react/jsx-runtime";
4
4
  import { ApprovalFlowEditor as a } from "@vef-framework-react/approval-flow-editor";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { Alert as e, Flex as t, Segmented as n, Stack as r, Text as i, globalCssVars as a } from "@vef-framework-react/components";
3
3
  import { jsx as o, jsxs as s } from "@emotion/react/jsx-runtime";
4
4
  import { FormEditor as c } from "@vef-framework-react/form-editor";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { useCategoryApi as e } from "../../../api/category-api.js";
3
3
  import { useFlowApi as t } from "../../../api/flow-api.js";
4
4
  import { toEditorPlugins as n, useApprovalPlugins as r } from "../../../plugins/index.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { initiatorsForSubmit as e } from "./types.js";
3
3
  import { Card as t, Descriptions as n, Flex as r, Input as i, Labeled as a, LabelsDisplay as o, Stack as s, Switch as c, Table as l, Tag as u, Text as d, globalCssVars as f } from "@vef-framework-react/components";
4
4
  import { jsx as p, jsxs as m } from "@emotion/react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  //#region src/pages/flow-page/designer/types.ts
3
3
  var e = {
4
4
  nodes: [],
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { useCategoryApi as e } from "../../api/category-api.js";
3
3
  import { useFlowApi as t } from "../../api/flow-api.js";
4
4
  import { APPROVAL_PERMISSIONS as n } from "../../permissions.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { LabelFilterSelect as e, Select as t, useFormContext as n } from "@vef-framework-react/components";
3
3
  import { Fragment as r, jsx as i, jsxs as a } from "@emotion/react/jsx-runtime";
4
4
  //#region src/pages/flow-page/search.tsx
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { useFlowApi as e } from "../../api/flow-api.js";
3
3
  import { formatTimestamp as t } from "../../components/format.js";
4
4
  import { VersionStatusTag as n } from "../../components/status/index.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { ApprovalAdminPage as e } from "./admin-page/index.js";
3
3
  import { ApprovalCategoryPage as t } from "./category-page/index.js";
4
4
  import { ApprovalDelegationPage as n } from "./delegation-page/index.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { useMyApprovalApi as e } from "../../api/my-api.js";
3
3
  import { FlowIcon as t } from "../../components/icon.js";
4
4
  import { StartInstanceDrawer as n } from "./start-drawer.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { useInstanceApi as e } from "../../api/instance-api.js";
3
3
  import { useMyApprovalApi as t } from "../../api/my-api.js";
4
4
  import { InstanceFormPanel as n } from "../../components/form-panel/index.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { useInstanceApi as e } from "../../api/instance-api.js";
3
3
  import { useMyApprovalApi as t } from "../../api/my-api.js";
4
4
  import { formatTimestamp as n } from "../../components/format.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { useMyApprovalApi as e } from "../../api/my-api.js";
3
3
  import { formatTimestamp as t } from "../../components/format.js";
4
4
  import { TaskStatusTag as n } from "../../components/status/index.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  //#region src/permissions.ts
3
3
  var e = {
4
4
  category: {
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { createContext as e, use as t, useMemo as n, useState as r } from "react";
3
3
  import { createApprovalRegistries as i } from "@vef-framework-react/approval-form-bridge";
4
4
  import { jsx as a } from "@emotion/react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  //#region src/types/enums.ts
3
3
  var e = [
4
4
  "approved",
@@ -1,3 +1,3 @@
1
- /*! @vef-framework-react/approval v2.18.0 made by Venus | 2026-08-31T14:48:19.173Z */
1
+ /*! @vef-framework-react/approval v2.20.0 made by Venus | 2026-09-07T11:08:26.228Z */
2
2
  import { BUILTIN_INITIATOR_KINDS as e, FINAL_INSTANCE_STATUSES as t, isFinalInstanceStatus as n } from "./enums.js";
3
3
  export { e as BUILTIN_INITIATOR_KINDS, t as FINAL_INSTANCE_STATUSES, n as isFinalInstanceStatus };
@@ -1,5 +1,5 @@
1
1
  import { EditorPlugins, FormFieldDefinition, PickerProps } from '@vef-framework-react/approval-flow-editor';
2
- import { DeviceRegistries } from '@vef-framework-react/form-editor';
2
+ import { DataSourceResolver, DeviceRegistries, LinkageEvaluators } from '@vef-framework-react/form-editor';
3
3
  import { FC, PropsWithChildren, ReactNode } from 'react';
4
4
  import { KindOptions } from '../types';
5
5
  /**
@@ -33,6 +33,21 @@ export interface ApprovalPlugins {
33
33
  * `Instance.Globals` at instance start.
34
34
  */
35
35
  globalSubjects?: FormFieldDefinition[];
36
+ /**
37
+ * Turns a form's remote data-source request into options. Without one, every
38
+ * remote source in an approval form resolves to an empty list — the designer
39
+ * lets you configure the request, but nothing fetches it. Wire the host's
40
+ * API client here.
41
+ */
42
+ dataSourceResolver?: DataSourceResolver;
43
+ /**
44
+ * Overrides for expression / script evaluation in form linkage and in
45
+ * data-source parameters bound to the form. Optional: the form runtime falls
46
+ * back to its built-in JavaScript evaluator (`$form` / `$vars` / `$user` /
47
+ * `$node` in scope), so wire this only to swap in a different expression
48
+ * language or sandbox.
49
+ */
50
+ evaluators?: LinkageEvaluators;
36
51
  /**
37
52
  * Renders an instance's opaque business reference as a host-navigable
38
53
  * element (a link to the business record, a drawer trigger, …). Defaults to
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vef-framework-react/approval",
3
- "version": "2.18.0",
3
+ "version": "2.20.0",
4
4
  "private": false,
5
5
  "description": "Approval engine pages and runtime components for VEF framework",
6
6
  "keywords": [
@@ -44,12 +44,12 @@
44
44
  "@xyflow/react": "^12.11.1",
45
45
  "dayjs": "^1.11.0",
46
46
  "lucide-react": "^1.23.0",
47
- "@vef-framework-react/approval-form-bridge": "2.18.0",
48
- "@vef-framework-react/approval-flow-editor": "2.18.0",
49
- "@vef-framework-react/shared": "2.18.0",
50
- "@vef-framework-react/core": "2.18.0",
51
- "@vef-framework-react/components": "2.18.0",
52
- "@vef-framework-react/form-editor": "2.18.0"
47
+ "@vef-framework-react/approval-flow-editor": "2.20.0",
48
+ "@vef-framework-react/components": "2.20.0",
49
+ "@vef-framework-react/approval-form-bridge": "2.20.0",
50
+ "@vef-framework-react/core": "2.20.0",
51
+ "@vef-framework-react/form-editor": "2.20.0",
52
+ "@vef-framework-react/shared": "2.20.0"
53
53
  },
54
54
  "devDependencies": {
55
55
  "react": "^19.2.7"