@vef-framework-react/approval 2.13.0 → 2.13.1
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/cjs/components/timeline/index.cjs +1 -1
- package/dist/cjs/pages/flow-page/designer/index.cjs +1 -1
- package/dist/cjs/pages/flow-page/designer/review-step.cjs +1 -1
- package/dist/cjs/pages/flow-page/designer/types.cjs +1 -1
- package/dist/es/api/admin-api.js +1 -1
- package/dist/es/api/category-api.js +1 -1
- package/dist/es/api/delegation-api.js +1 -1
- package/dist/es/api/flow-api.js +1 -1
- package/dist/es/api/index.js +1 -1
- package/dist/es/api/instance-api.js +1 -1
- package/dist/es/api/my-api.js +1 -1
- package/dist/es/api/query.js +1 -1
- package/dist/es/components/detail/action-modals.js +1 -1
- package/dist/es/components/detail/admin.js +1 -1
- package/dist/es/components/detail/drawer.js +1 -1
- package/dist/es/components/detail/index.js +1 -1
- package/dist/es/components/flow-graph/index.js +1 -1
- package/dist/es/components/form-panel/index.js +1 -1
- package/dist/es/components/format.js +1 -1
- package/dist/es/components/icon.js +1 -1
- package/dist/es/components/index.js +1 -1
- package/dist/es/components/principal/index.js +1 -1
- package/dist/es/components/status/colors.js +1 -1
- package/dist/es/components/status/index.js +1 -1
- package/dist/es/components/status/labels.js +1 -1
- package/dist/es/components/timeline/index.js +15 -9
- package/dist/es/components/user/index.js +1 -1
- package/dist/es/index.js +1 -1
- package/dist/es/pages/admin-page/index.js +1 -1
- package/dist/es/pages/admin-page/instances.js +1 -1
- package/dist/es/pages/admin-page/metrics.js +1 -1
- package/dist/es/pages/admin-page/projections.js +1 -1
- package/dist/es/pages/admin-page/tasks.js +1 -1
- package/dist/es/pages/category-page/columns.js +1 -1
- package/dist/es/pages/category-page/form.js +1 -1
- package/dist/es/pages/category-page/index.js +1 -1
- package/dist/es/pages/delegation-page/columns.js +1 -1
- package/dist/es/pages/delegation-page/form.js +1 -1
- package/dist/es/pages/delegation-page/index.js +1 -1
- package/dist/es/pages/flow-page/columns.js +1 -1
- package/dist/es/pages/flow-page/designer/basic-step.js +1 -1
- package/dist/es/pages/flow-page/designer/flow-step.js +1 -1
- package/dist/es/pages/flow-page/designer/form-step.js +1 -1
- package/dist/es/pages/flow-page/designer/index.js +134 -134
- package/dist/es/pages/flow-page/designer/review-step.js +40 -39
- package/dist/es/pages/flow-page/designer/types.js +5 -2
- package/dist/es/pages/flow-page/index.js +1 -1
- package/dist/es/pages/flow-page/search.js +1 -1
- package/dist/es/pages/flow-page/versions.js +1 -1
- package/dist/es/pages/index.js +1 -1
- package/dist/es/pages/initiate-page/index.js +1 -1
- package/dist/es/pages/initiate-page/start-drawer.js +1 -1
- package/dist/es/pages/my-instances-page/index.js +1 -1
- package/dist/es/pages/task-center-page/index.js +1 -1
- package/dist/es/permissions.js +1 -1
- package/dist/es/plugins/index.js +1 -1
- package/dist/es/types/enums.js +1 -1
- package/dist/es/types/index.js +1 -1
- package/dist/types/pages/flow-page/designer/types.d.ts +14 -0
- package/dist/types/types/detail.d.ts +6 -2
- package/package.json +7 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/approval v2.13.
|
|
1
|
+
/*! @vef-framework-react/approval v2.13.1 made by Venus | 2026-07-28T11:22:46.566Z */
|
|
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";
|
package/dist/es/permissions.js
CHANGED
package/dist/es/plugins/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/approval v2.13.
|
|
1
|
+
/*! @vef-framework-react/approval v2.13.1 made by Venus | 2026-07-28T11:22:46.566Z */
|
|
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";
|
package/dist/es/types/enums.js
CHANGED
package/dist/es/types/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! @vef-framework-react/approval v2.13.
|
|
1
|
+
/*! @vef-framework-react/approval v2.13.1 made by Venus | 2026-07-28T11:22:46.566Z */
|
|
2
2
|
import { FINAL_INSTANCE_STATUSES as e, isFinalInstanceStatus as t } from "./enums.js";
|
|
3
3
|
export { e as FINAL_INSTANCE_STATUSES, t as isFinalInstanceStatus };
|
|
@@ -43,6 +43,20 @@ export declare function createEmptyDraft(tenantId: string): FlowDraft;
|
|
|
43
43
|
* SQL identifiers.
|
|
44
44
|
*/
|
|
45
45
|
export declare const BUSINESS_IDENTIFIER_PATTERN: RegExp;
|
|
46
|
+
/**
|
|
47
|
+
* The initiator rules a draft should be saved with.
|
|
48
|
+
*
|
|
49
|
+
* A flow open to everyone carries none: the two settings are mutually exclusive
|
|
50
|
+
* server-side, because initiation permission short-circuits on the flag and
|
|
51
|
+
* never reads the rules — saved rules would show a restriction that does not
|
|
52
|
+
* hold. The draft still keeps whatever was typed, so toggling the switch back
|
|
53
|
+
* does not lose it; the rules are dropped only on the way out, the same way a
|
|
54
|
+
* standalone flow drops its in-progress business binding.
|
|
55
|
+
*
|
|
56
|
+
* Rules with nothing selected are incomplete and never sent. Validation and
|
|
57
|
+
* submit both read this, so what the wizard accepts is exactly what it saves.
|
|
58
|
+
*/
|
|
59
|
+
export declare function initiatorsForSubmit(draft: FlowDraft): InitiatorParams[];
|
|
46
60
|
/**
|
|
47
61
|
* Client-side pre-check of the backend binding save gate
|
|
48
62
|
* (`binding.NormalizeConfig`): table, key columns, status column and
|
|
@@ -47,9 +47,13 @@ export interface CCRecipient {
|
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
49
|
* Kind of an instance timeline entry: node entries plus the withdraw /
|
|
50
|
-
* terminate milestones.
|
|
50
|
+
* terminate milestones. `condition` never appears — a branch routes without
|
|
51
|
+
* anything to narrate — but `end` does: reaching the end node is the only
|
|
52
|
+
* signal that an instance finished by passing, since approval writes no
|
|
53
|
+
* milestone the way withdraw and terminate do, and a rejection stops on the
|
|
54
|
+
* approval node with a `rejected` visit instead of traversing to the end.
|
|
51
55
|
*/
|
|
52
|
-
export type TimelineEntryKind = "start" | "approval" | "handle" | "cc" | "withdraw" | "terminate";
|
|
56
|
+
export type TimelineEntryKind = "start" | "approval" | "handle" | "cc" | "end" | "withdraw" | "terminate";
|
|
53
57
|
/**
|
|
54
58
|
* One step of the instance timeline — the chronological, node-by-node account
|
|
55
59
|
* of the path an instance actually took, mirroring `approval.TimelineEntry`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vef-framework-react/approval",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.1",
|
|
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-flow-editor": "2.13.
|
|
48
|
-
"@vef-framework-react/
|
|
49
|
-
"@vef-framework-react/core": "2.13.
|
|
50
|
-
"@vef-framework-react/form-editor": "2.13.
|
|
51
|
-
"@vef-framework-react/
|
|
52
|
-
"@vef-framework-react/shared": "2.13.
|
|
47
|
+
"@vef-framework-react/approval-flow-editor": "2.13.1",
|
|
48
|
+
"@vef-framework-react/components": "2.13.1",
|
|
49
|
+
"@vef-framework-react/core": "2.13.1",
|
|
50
|
+
"@vef-framework-react/form-editor": "2.13.1",
|
|
51
|
+
"@vef-framework-react/approval-form-bridge": "2.13.1",
|
|
52
|
+
"@vef-framework-react/shared": "2.13.1"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"react": "^19.2.7"
|