@vef-framework-react/integration 2.23.0 → 2.24.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.
Files changed (77) hide show
  1. package/dist/cjs/api/log-api.cjs +1 -1
  2. package/dist/cjs/components/test-connection/index.cjs +1 -1
  3. package/dist/cjs/components/wire-trace/index.cjs +1 -1
  4. package/dist/cjs/pages/console-page/index.cjs +1 -1
  5. package/dist/cjs/pages/console-page/log.cjs +1 -1
  6. package/dist/cjs/pages/console-page/replay.cjs +1 -0
  7. package/dist/cjs/permissions.cjs +1 -1
  8. package/dist/es/api/code-set-api.js +1 -1
  9. package/dist/es/api/crud-api.js +1 -1
  10. package/dist/es/api/index.js +1 -1
  11. package/dist/es/api/log-api.js +11 -5
  12. package/dist/es/api/ops-api.js +1 -1
  13. package/dist/es/api/query.js +1 -1
  14. package/dist/es/api/stats-api.js +1 -1
  15. package/dist/es/components/auth-params/index.js +1 -1
  16. package/dist/es/components/directory/index.js +1 -1
  17. package/dist/es/components/form-section/index.js +1 -1
  18. package/dist/es/components/format.js +1 -1
  19. package/dist/es/components/index.js +1 -1
  20. package/dist/es/components/json-view/index.js +1 -1
  21. package/dist/es/components/params-editor/index.js +1 -1
  22. package/dist/es/components/script-doc/completions.js +1 -1
  23. package/dist/es/components/script-doc/index.js +1 -1
  24. package/dist/es/components/status/colors.js +1 -1
  25. package/dist/es/components/status/index.js +1 -1
  26. package/dist/es/components/status/labels.js +1 -1
  27. package/dist/es/components/test-connection/index.js +84 -84
  28. package/dist/es/components/wire-trace/index.js +7 -2
  29. package/dist/es/index.js +1 -1
  30. package/dist/es/pages/adapter-page/columns.js +1 -1
  31. package/dist/es/pages/adapter-page/form.js +1 -1
  32. package/dist/es/pages/adapter-page/helpers.js +1 -1
  33. package/dist/es/pages/adapter-page/index.js +1 -1
  34. package/dist/es/pages/adapter-page/search.js +1 -1
  35. package/dist/es/pages/code-map-page/columns.js +1 -1
  36. package/dist/es/pages/code-map-page/entries-editor.js +1 -1
  37. package/dist/es/pages/code-map-page/form.js +1 -1
  38. package/dist/es/pages/code-map-page/helpers.js +1 -1
  39. package/dist/es/pages/code-map-page/index.js +1 -1
  40. package/dist/es/pages/code-map-page/model.js +1 -1
  41. package/dist/es/pages/code-map-page/search.js +1 -1
  42. package/dist/es/pages/console-page/diagnostics.js +1 -1
  43. package/dist/es/pages/console-page/dry-run.js +1 -1
  44. package/dist/es/pages/console-page/index.js +4 -3
  45. package/dist/es/pages/console-page/log.js +69 -56
  46. package/dist/es/pages/console-page/replay.js +140 -0
  47. package/dist/es/pages/console-page/stats.js +1 -1
  48. package/dist/es/pages/contract-page/columns.js +1 -1
  49. package/dist/es/pages/contract-page/form.js +1 -1
  50. package/dist/es/pages/contract-page/helpers.js +1 -1
  51. package/dist/es/pages/contract-page/index.js +1 -1
  52. package/dist/es/pages/contract-page/json-schema-completions.js +1 -1
  53. package/dist/es/pages/contract-page/model.js +1 -1
  54. package/dist/es/pages/contract-page/search.js +1 -1
  55. package/dist/es/pages/index.js +1 -1
  56. package/dist/es/pages/route-page/columns.js +1 -1
  57. package/dist/es/pages/route-page/form.js +1 -1
  58. package/dist/es/pages/route-page/helpers.js +1 -1
  59. package/dist/es/pages/route-page/index.js +1 -1
  60. package/dist/es/pages/route-page/search.js +1 -1
  61. package/dist/es/pages/system-page/columns.js +1 -1
  62. package/dist/es/pages/system-page/form.js +1 -1
  63. package/dist/es/pages/system-page/helpers.js +1 -1
  64. package/dist/es/pages/system-page/index.js +1 -1
  65. package/dist/es/pages/system-page/model.js +1 -1
  66. package/dist/es/pages/system-page/search.js +1 -1
  67. package/dist/es/permissions.js +5 -2
  68. package/dist/es/types/enums.js +1 -1
  69. package/dist/es/types/index.js +1 -1
  70. package/dist/types/api/log-api.d.ts +5 -3
  71. package/dist/types/pages/console-page/index.d.ts +1 -0
  72. package/dist/types/pages/console-page/log.d.ts +9 -2
  73. package/dist/types/pages/console-page/replay.d.ts +15 -0
  74. package/dist/types/permissions.d.ts +1 -0
  75. package/dist/types/types/index.d.ts +1 -1
  76. package/dist/types/types/log.d.ts +41 -7
  77. package/package.json +4 -4
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/integration v2.23.0 made by Venus | 2026-09-22T09:09:19.032Z */
1
+ /*! @vef-framework-react/integration v2.24.1 made by Venus | 2026-09-28T10:43:02.883Z */
2
2
  import { useContractDirectory as e, useSystemDirectory as t } from "../../components/directory/index.js";
3
3
  import { ScriptDocLabel as n } from "../../components/script-doc/index.js";
4
4
  import { adapterScriptDoc as r } from "../../components/script-doc/completions.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/integration v2.23.0 made by Venus | 2026-09-22T09:09:19.032Z */
1
+ /*! @vef-framework-react/integration v2.24.1 made by Venus | 2026-09-28T10:43:02.883Z */
2
2
  import { createCrudKit as e } from "@vef-framework-react/components";
3
3
  //#region src/pages/adapter-page/helpers.ts
4
4
  var { OperationButtonGroup: t, ActionButtonGroup: n } = e();
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/integration v2.23.0 made by Venus | 2026-09-22T09:09:19.032Z */
1
+ /*! @vef-framework-react/integration v2.24.1 made by Venus | 2026-09-28T10:43:02.883Z */
2
2
  import { useAdapterApi as e } from "../../api/crud-api.js";
3
3
  import { useContractDirectory as t, useSystemDirectory as n } from "../../components/directory/index.js";
4
4
  import { INTEGRATION_PERMISSIONS as r } from "../../permissions.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/integration v2.23.0 made by Venus | 2026-09-22T09:09:19.032Z */
1
+ /*! @vef-framework-react/integration v2.24.1 made by Venus | 2026-09-28T10:43:02.883Z */
2
2
  import { useContractDirectory as e, useSystemDirectory as t } from "../../components/directory/index.js";
3
3
  import { DIRECTION_OPTIONS as n } from "../../components/status/labels.js";
4
4
  import { useFormContext as r } from "@vef-framework-react/components";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/integration v2.23.0 made by Venus | 2026-09-22T09:09:19.032Z */
1
+ /*! @vef-framework-react/integration v2.24.1 made by Venus | 2026-09-28T10:43:02.883Z */
2
2
  import { formatTimestamp as e } from "../../components/format.js";
3
3
  import { EnabledTag as t } from "../../components/status/index.js";
4
4
  import { UNMAPPED_POLICY_LABELS as n } from "./model.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/integration v2.23.0 made by Venus | 2026-09-22T09:09:19.032Z */
1
+ /*! @vef-framework-react/integration v2.24.1 made by Venus | 2026-09-28T10:43:02.883Z */
2
2
  import { formatCodeValue as e, parseCodeValue as t } from "./model.js";
3
3
  import { useMemo as n, useRef as r, useState as i } from "react";
4
4
  import { EditableTable as a, createEditableColumn as o } from "@vef-framework-react/components";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/integration v2.23.0 made by Venus | 2026-09-22T09:09:19.032Z */
1
+ /*! @vef-framework-react/integration v2.24.1 made by Venus | 2026-09-28T10:43:02.883Z */
2
2
  import { useCodeSetApi as e } from "../../api/code-set-api.js";
3
3
  import { useSystemDirectory as t } from "../../components/directory/index.js";
4
4
  import { CODE_SET_PATTERN as n, validateCodeMapEntries as r } from "./model.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/integration v2.23.0 made by Venus | 2026-09-22T09:09:19.032Z */
1
+ /*! @vef-framework-react/integration v2.24.1 made by Venus | 2026-09-28T10:43:02.883Z */
2
2
  import { API_PATH as e } from "../../api/query.js";
3
3
  import { codeMapFormToParams as t } from "./model.js";
4
4
  import { createApiRequest as n, useApiClient as r } from "@vef-framework-react/core";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/integration v2.23.0 made by Venus | 2026-09-22T09:09:19.032Z */
1
+ /*! @vef-framework-react/integration v2.24.1 made by Venus | 2026-09-28T10:43:02.883Z */
2
2
  import { useCodeMapApi as e } from "../../api/crud-api.js";
3
3
  import { useSystemDirectory as t } from "../../components/directory/index.js";
4
4
  import { INTEGRATION_PERMISSIONS as n } from "../../permissions.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/integration v2.23.0 made by Venus | 2026-09-22T09:09:19.032Z */
1
+ /*! @vef-framework-react/integration v2.24.1 made by Venus | 2026-09-28T10:43:02.883Z */
2
2
  //#region src/pages/code-map-page/model.ts
3
3
  var e = /^[A-Z0-9](?:[\w.-]*[A-Z0-9])?$/i, t = {
4
4
  reject: "未收录报错",
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/integration v2.23.0 made by Venus | 2026-09-22T09:09:19.032Z */
1
+ /*! @vef-framework-react/integration v2.24.1 made by Venus | 2026-09-28T10:43:02.883Z */
2
2
  import { useSystemDirectory as e } from "../../components/directory/index.js";
3
3
  import { useFormContext as t } from "@vef-framework-react/components";
4
4
  import { Fragment as n, jsx as r, jsxs as i } from "@emotion/react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/integration v2.23.0 made by Venus | 2026-09-22T09:09:19.032Z */
1
+ /*! @vef-framework-react/integration v2.24.1 made by Venus | 2026-09-28T10:43:02.883Z */
2
2
  import { useOpsApi as e } from "../../api/ops-api.js";
3
3
  import { FindingKindTag as t } from "../../components/status/index.js";
4
4
  import { useMutation as n } from "@vef-framework-react/core";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/integration v2.23.0 made by Venus | 2026-09-22T09:09:19.032Z */
1
+ /*! @vef-framework-react/integration v2.24.1 made by Venus | 2026-09-28T10:43:02.883Z */
2
2
  import { useOpsApi as e } from "../../api/ops-api.js";
3
3
  import { ParamsEditor as t } from "../../components/params-editor/index.js";
4
4
  import { useContractDirectory as ee, useSystemDirectory as te } from "../../components/directory/index.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/integration v2.23.0 made by Venus | 2026-09-22T09:09:19.032Z */
1
+ /*! @vef-framework-react/integration v2.24.1 made by Venus | 2026-09-28T10:43:02.883Z */
2
2
  import { INTEGRATION_PERMISSIONS as e } from "../../permissions.js";
3
3
  import { DiagnosticsPanel as t } from "./diagnostics.js";
4
4
  import { DryRunPanel as n } from "./dry-run.js";
@@ -14,13 +14,14 @@ var h = /*#__PURE__*/ m({
14
14
  display: "flex",
15
15
  flexDirection: "column",
16
16
  gap: d.spacingMd
17
- }, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFhZ0IiLCJmaWxlIjoiaW5kZXgudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUgeyBUYWJJdGVtIH0gZnJvbSBcIkB2ZWYtZnJhbWV3b3JrLXJlYWN0L2NvbXBvbmVudHNcIjtcbmltcG9ydCB0eXBlIHsgUmVhY3ROb2RlIH0gZnJvbSBcInJlYWN0XCI7XG5cbmltcG9ydCB7IGNzcyB9IGZyb20gXCJAZW1vdGlvbi9yZWFjdFwiO1xuaW1wb3J0IHsgRmxleFRhYnMsIGdsb2JhbENzc1ZhcnMsIFBhZ2UsIFJlc3VsdCwgVGl0bGUgfSBmcm9tIFwiQHZlZi1mcmFtZXdvcmstcmVhY3QvY29tcG9uZW50c1wiO1xuaW1wb3J0IHsgY2hlY2tQZXJtaXNzaW9uLCB1c2VBcHBDb250ZXh0IH0gZnJvbSBcIkB2ZWYtZnJhbWV3b3JrLXJlYWN0L2NvcmVcIjtcblxuaW1wb3J0IHsgSU5URUdSQVRJT05fUEVSTUlTU0lPTlMgfSBmcm9tIFwiLi4vLi4vcGVybWlzc2lvbnNcIjtcbmltcG9ydCB7IERpYWdub3N0aWNzUGFuZWwgfSBmcm9tIFwiLi9kaWFnbm9zdGljc1wiO1xuaW1wb3J0IHsgRHJ5UnVuUGFuZWwgfSBmcm9tIFwiLi9kcnktcnVuXCI7XG5pbXBvcnQgeyBMb2dQYW5lbCB9IGZyb20gXCIuL2xvZ1wiO1xuaW1wb3J0IHsgU3RhdHNQYW5lbCB9IGZyb20gXCIuL3N0YXRzXCI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cGxheVBlcm1pc3Npb249e3Blcm1zLmxvZ1JlcGxheX0gLz5cbiAgICB9KTtcbiAgfVxuXG4gIGlmIChjYW5TdGF0cykge1xuICAgIGl0ZW1zLnB1c2goe1xuICAgICAga2V5OiBcInN0YXRzXCIsXG4gICAgICBsYWJlbDogXCLov5DooYznu5/orqFcIixcbiAgICAgIGNoaWxkcmVuOiA8U3RhdHNQYW5lbCAvPlxuICAgIH0pO1xuICB9XG5cbiAgcmV0dXJuIChcbiAgICA8UGFnZSBtYXJnaW4+XG4gICAgICA8ZGl2IGNzcz17cm9vdENzc30+XG4gICAgICAgIHt0aXRsZSA/IDxUaXRsZSBsZXZlbD17NH0+e3RpdGxlfTwvVGl0bGU+IDogbnVsbH1cblxuICAgICAgICB7aXRlbXMubGVuZ3RoID4gMFxuICAgICAgICAgID8gPEZsZXhUYWJzIGRlZmF1bHRBY3RpdmVLZXk9e2l0ZW1zWzBdPy5rZXl9IGl0ZW1zPXtpdGVtc30gLz5cbiAgICAgICAgICA6IDxSZXN1bHQgc3RhdHVzPVwiNDAzXCIgc3ViVGl0bGU9XCLmmoLml6DmjqfliLblj7Dmk43kvZzmnYPpmZDvvIzor7fogZTns7vnrqHnkIblkZjlvIDpgJrjgIJcIiB0aXRsZT1cIuaXoOiuv+mXruadg+mZkFwiIC8+fVxuICAgICAgPC9kaXY+XG4gICAgPC9QYWdlPlxuICApO1xufVxuIl19 */");
18
18
  function g({ permissions: d, title: m }) {
19
19
  let g = {
20
20
  dryRun: d?.dryRun ?? e.ops.dryRun,
21
21
  dryRunInbound: d?.dryRunInbound ?? e.ops.dryRunInbound,
22
22
  diagnoseRoutes: d?.diagnoseRoutes ?? e.ops.diagnoseRoutes,
23
23
  logQuery: d?.logQuery ?? e.log.query,
24
+ logReplay: d?.logReplay ?? e.log.replay,
24
25
  statsView: d?.statsView ?? e.log.query
25
26
  }, { hasPermission: _ = () => !0 } = o(), v = a(_, g.dryRun), y = a(_, g.dryRunInbound), b = a(_, g.diagnoseRoutes), x = a(_, g.logQuery), S = a(_, g.statsView), C = [];
26
27
  return (v || y) && C.push({
@@ -37,7 +38,7 @@ function g({ permissions: d, title: m }) {
37
38
  }), x && C.push({
38
39
  key: "log",
39
40
  label: "调用日志",
40
- children: /* @__PURE__ */ f(r, {})
41
+ children: /* @__PURE__ */ f(r, { replayPermission: g.logReplay })
41
42
  }), S && C.push({
42
43
  key: "stats",
43
44
  label: "运行统计",
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/integration v2.23.0 made by Venus | 2026-09-22T09:09:19.032Z */
1
+ /*! @vef-framework-react/integration v2.24.1 made by Venus | 2026-09-28T10:43:02.883Z */
2
2
  import { useLogApi as e } from "../../api/log-api.js";
3
3
  import { useContractDirectory as t, useSystemDirectory as n } from "../../components/directory/index.js";
4
4
  import { formatTimestamp as r } from "../../components/format.js";
@@ -7,50 +7,51 @@ import { FAILURE_KINDS as a } from "../../types/enums.js";
7
7
  import { DIRECTION_OPTIONS as o, FAILURE_KIND_LABELS as s } from "../../components/status/labels.js";
8
8
  import { DirectionTag as c, FailureKindTag as l } from "../../components/status/index.js";
9
9
  import { WireTraceTimeline as u } from "../../components/wire-trace/index.js";
10
- import { useState as d } from "react";
11
- import { Alert as f, Button as p, Crud as m, Descriptions as h, Drawer as g, Labeled as _, Stack as v, Text as y, filterOptionByLabel as b, globalCssVars as x, useFormContext as S } from "@vef-framework-react/components";
12
- import { Fragment as C, jsx as w, jsxs as T } from "@emotion/react/jsx-runtime";
10
+ import { ReplayPanel as d } from "./replay.js";
11
+ import { useState as f } from "react";
12
+ import { Alert as p, Button as m, Crud as h, Descriptions as g, Drawer as _, Labeled as v, Stack as y, Text as b, filterOptionByLabel as x, globalCssVars as S, useFormContext as C } from "@vef-framework-react/components";
13
+ import { Fragment as w, jsx as T, jsxs as E } from "@emotion/react/jsx-runtime";
13
14
  //#region src/pages/console-page/log.tsx
14
- var E = a.map((e) => ({
15
+ var D = a.map((e) => ({
15
16
  label: s[e],
16
17
  value: e
17
18
  }));
18
- function D() {
19
- let { AppField: e } = S(), r = n(), i = t(), a = r.items.map((e) => ({
19
+ function O() {
20
+ let { AppField: e } = C(), r = n(), i = t(), a = r.items.map((e) => ({
20
21
  label: e.code,
21
22
  value: e.code
22
23
  })), s = i.items.map((e) => ({
23
24
  label: e.code,
24
25
  value: e.code
25
26
  }));
26
- return /* @__PURE__ */ T(C, { children: [
27
- /* @__PURE__ */ w(e, {
27
+ return /* @__PURE__ */ E(w, { children: [
28
+ /* @__PURE__ */ T(e, {
28
29
  name: "systemCode",
29
- children: (e) => /* @__PURE__ */ w(e.Select, {
30
+ children: (e) => /* @__PURE__ */ T(e.Select, {
30
31
  allowClear: !0,
31
32
  noWrapper: !0,
32
33
  showSearch: !0,
33
- filterOption: b,
34
+ filterOption: x,
34
35
  options: a,
35
36
  placeholder: "系统",
36
37
  style: { minWidth: 140 }
37
38
  })
38
39
  }),
39
- /* @__PURE__ */ w(e, {
40
+ /* @__PURE__ */ T(e, {
40
41
  name: "contractCode",
41
- children: (e) => /* @__PURE__ */ w(e.Select, {
42
+ children: (e) => /* @__PURE__ */ T(e.Select, {
42
43
  allowClear: !0,
43
44
  noWrapper: !0,
44
45
  showSearch: !0,
45
- filterOption: b,
46
+ filterOption: x,
46
47
  options: s,
47
48
  placeholder: "契约",
48
49
  style: { minWidth: 140 }
49
50
  })
50
51
  }),
51
- /* @__PURE__ */ w(e, {
52
+ /* @__PURE__ */ T(e, {
52
53
  name: "direction",
53
- children: (e) => /* @__PURE__ */ w(e.Select, {
54
+ children: (e) => /* @__PURE__ */ T(e.Select, {
54
55
  allowClear: !0,
55
56
  noWrapper: !0,
56
57
  options: o,
@@ -58,19 +59,19 @@ function D() {
58
59
  style: { minWidth: 100 }
59
60
  })
60
61
  }),
61
- /* @__PURE__ */ w(e, {
62
+ /* @__PURE__ */ T(e, {
62
63
  name: "failureKind",
63
- children: (e) => /* @__PURE__ */ w(e.Select, {
64
+ children: (e) => /* @__PURE__ */ T(e.Select, {
64
65
  allowClear: !0,
65
66
  noWrapper: !0,
66
- options: E,
67
+ options: D,
67
68
  placeholder: "失败类型",
68
69
  style: { minWidth: 140 }
69
70
  })
70
71
  })
71
72
  ] });
72
73
  }
73
- var O = [
74
+ var k = [
74
75
  {
75
76
  title: "时间",
76
77
  dataIndex: "createdAt",
@@ -92,14 +93,14 @@ var O = [
92
93
  dataIndex: "direction",
93
94
  width: 80,
94
95
  align: "center",
95
- render: (e) => /* @__PURE__ */ w(c, { direction: e })
96
+ render: (e) => /* @__PURE__ */ T(c, { direction: e })
96
97
  },
97
98
  {
98
99
  title: "结果",
99
100
  dataIndex: "failureKind",
100
101
  width: 120,
101
102
  align: "center",
102
- render: (e) => /* @__PURE__ */ w(l, { failureKind: e })
103
+ render: (e) => /* @__PURE__ */ T(l, { failureKind: e })
103
104
  },
104
105
  {
105
106
  title: "耗时(ms)",
@@ -111,14 +112,14 @@ var O = [
111
112
  title: "请求 ID",
112
113
  dataIndex: "requestId",
113
114
  minWidth: 170,
114
- render: (e) => /* @__PURE__ */ w(y, {
115
+ render: (e) => /* @__PURE__ */ T(b, {
115
116
  code: !0,
116
- style: { fontSize: x.fontSizeSm },
117
+ style: { fontSize: S.fontSizeSm },
117
118
  children: e
118
119
  })
119
120
  }
120
121
  ];
121
- function k(e) {
122
+ function A(e) {
122
123
  return [
123
124
  {
124
125
  key: "system",
@@ -133,12 +134,12 @@ function k(e) {
133
134
  {
134
135
  key: "direction",
135
136
  label: "方向",
136
- children: /* @__PURE__ */ w(c, { direction: e.direction })
137
+ children: /* @__PURE__ */ T(c, { direction: e.direction })
137
138
  },
138
139
  {
139
140
  key: "result",
140
141
  label: "结果",
141
- children: /* @__PURE__ */ w(l, { failureKind: e.failureKind })
142
+ children: /* @__PURE__ */ T(l, { failureKind: e.failureKind })
142
143
  },
143
144
  {
144
145
  key: "duration",
@@ -148,10 +149,10 @@ function k(e) {
148
149
  {
149
150
  key: "requestId",
150
151
  label: "请求 ID",
151
- children: /* @__PURE__ */ w(y, {
152
+ children: /* @__PURE__ */ T(b, {
152
153
  code: !0,
153
154
  copyable: !0,
154
- style: { fontSize: x.fontSizeSm },
155
+ style: { fontSize: S.fontSizeSm },
155
156
  children: e.requestId
156
157
  })
157
158
  },
@@ -162,60 +163,72 @@ function k(e) {
162
163
  }
163
164
  ];
164
165
  }
165
- function A({ log: e }) {
166
- return /* @__PURE__ */ T(v, {
166
+ function j({ log: t, replayPermission: n }) {
167
+ let r = e();
168
+ return /* @__PURE__ */ E(y, {
167
169
  gap: "middle",
168
170
  children: [
169
- /* @__PURE__ */ w(h, {
171
+ /* @__PURE__ */ T(g, {
170
172
  bordered: !0,
171
173
  column: 2,
172
- items: k(e),
174
+ items: A(t),
173
175
  size: "small",
174
176
  styles: { label: { width: 90 } }
175
177
  }),
176
- e.error ? /* @__PURE__ */ w(f, {
178
+ t.error ? /* @__PURE__ */ T(p, {
177
179
  showIcon: !0,
178
- title: e.error,
180
+ title: t.error,
179
181
  type: "error"
180
182
  }) : null,
181
- /* @__PURE__ */ w(_, {
183
+ /* @__PURE__ */ T(v, {
182
184
  label: "输入",
183
- children: /* @__PURE__ */ w(i, { value: e.input ?? null })
185
+ children: /* @__PURE__ */ T(i, { value: t.input ?? null })
184
186
  }),
185
- /* @__PURE__ */ w(_, {
187
+ /* @__PURE__ */ T(v, {
186
188
  label: "输出",
187
- children: /* @__PURE__ */ w(i, { value: e.output ?? null })
189
+ children: /* @__PURE__ */ T(i, { value: t.output ?? null })
188
190
  }),
189
- e.httpTrace && e.httpTrace.length > 0 ? /* @__PURE__ */ w(_, {
191
+ t.httpTrace && t.httpTrace.length > 0 ? /* @__PURE__ */ T(v, {
190
192
  label: "通信轨迹",
191
- children: /* @__PURE__ */ w(u, { trace: e.httpTrace })
192
- }) : null
193
+ children: /* @__PURE__ */ T(u, { trace: t.httpTrace })
194
+ }) : null,
195
+ /* @__PURE__ */ T(v, {
196
+ label: "重放",
197
+ children: /* @__PURE__ */ T(d, {
198
+ log: t,
199
+ permission: n,
200
+ replay: r.replay
201
+ })
202
+ })
193
203
  ]
194
204
  });
195
205
  }
196
- function j() {
197
- let t = e(), [n, r] = d(null);
198
- return /* @__PURE__ */ T(C, { children: [/* @__PURE__ */ w(m, {
199
- basicSearch: /* @__PURE__ */ w(D, {}),
206
+ function M({ replayPermission: t }) {
207
+ let n = e(), [r, i] = f(null);
208
+ return /* @__PURE__ */ E(w, { children: [/* @__PURE__ */ T(h, {
209
+ basicSearch: /* @__PURE__ */ T(O, {}),
200
210
  operationColumn: {
201
211
  width: 80,
202
- render: (e) => /* @__PURE__ */ w(p, {
212
+ render: (e) => /* @__PURE__ */ T(m, {
203
213
  size: "small",
204
214
  type: "link",
205
- onClick: () => r(e),
215
+ onClick: () => i(e),
206
216
  children: "详情"
207
217
  })
208
218
  },
209
- queryFn: t.findPage,
219
+ queryFn: n.findPage,
210
220
  rowKey: "id",
211
- tableColumns: O
212
- }), /* @__PURE__ */ w(g, {
213
- open: n !== null,
214
- size: 760,
221
+ tableColumns: k
222
+ }), /* @__PURE__ */ T(_, {
223
+ open: r !== null,
224
+ size: 960,
215
225
  title: "调用详情",
216
- onClose: () => r(null),
217
- children: n ? /* @__PURE__ */ w(A, { log: n }) : null
226
+ onClose: () => i(null),
227
+ children: r ? /* @__PURE__ */ T(j, {
228
+ log: r,
229
+ replayPermission: t
230
+ }, r.id) : null
218
231
  })] });
219
232
  }
220
233
  //#endregion
221
- export { j as LogPanel };
234
+ export { M as LogPanel };
@@ -0,0 +1,140 @@
1
+ /*! @vef-framework-react/integration v2.24.1 made by Venus | 2026-09-28T10:43:02.883Z */
2
+ import { JsonView as e } from "../../components/json-view/index.js";
3
+ import { adapterScriptDoc as t } from "../../components/script-doc/completions.js";
4
+ import { FailureKindTag as n } from "../../components/status/index.js";
5
+ import { WireTraceTimeline as r } from "../../components/wire-trace/index.js";
6
+ import { useMutation as i } from "@vef-framework-react/core";
7
+ import { useState as a } from "react";
8
+ import { Alert as o, Button as s, Checkbox as c, CodeEditor as l, Flex as u, Grid as d, Icon as f, Labeled as p, PermissionGate as m, Popconfirm as h, Stack as g, Text as _ } from "@vef-framework-react/components";
9
+ import { jsx as v, jsxs as y } from "@emotion/react/jsx-runtime";
10
+ import { RotateCcwIcon as b } from "lucide-react";
11
+ //#region src/pages/console-page/replay.tsx
12
+ function x({ outcome: t, title: r }) {
13
+ return /* @__PURE__ */ y(g, {
14
+ gap: "small",
15
+ children: [
16
+ /* @__PURE__ */ y(u, {
17
+ align: "center",
18
+ gap: "small",
19
+ children: [
20
+ /* @__PURE__ */ v(_, {
21
+ strong: !0,
22
+ children: r
23
+ }),
24
+ /* @__PURE__ */ v(n, { failureKind: t.failureKind }),
25
+ /* @__PURE__ */ v(_, {
26
+ type: "secondary",
27
+ children: `${t.durationMs} ms`
28
+ })
29
+ ]
30
+ }),
31
+ t.error ? /* @__PURE__ */ v(o, {
32
+ showIcon: !0,
33
+ title: t.error,
34
+ type: "error"
35
+ }) : null,
36
+ /* @__PURE__ */ v(p, {
37
+ label: "输入",
38
+ children: /* @__PURE__ */ v(e, { value: t.input ?? null })
39
+ }),
40
+ /* @__PURE__ */ v(p, {
41
+ label: "输出",
42
+ children: /* @__PURE__ */ v(e, { value: t.output ?? null })
43
+ })
44
+ ]
45
+ });
46
+ }
47
+ function S({ log: e, result: t }) {
48
+ return /* @__PURE__ */ y(g, {
49
+ gap: "middle",
50
+ children: [
51
+ t.definitionChanged ? /* @__PURE__ */ v(o, {
52
+ showIcon: !0,
53
+ title: "契约、系统或适配器在这次调用之后修改过,结果差异可能来自这些修改",
54
+ type: "warning"
55
+ }) : null,
56
+ /* @__PURE__ */ y(d, {
57
+ columnGap: "medium",
58
+ children: [/* @__PURE__ */ v(d.Item, {
59
+ span: 12,
60
+ children: /* @__PURE__ */ v(x, {
61
+ outcome: e,
62
+ title: "原始调用"
63
+ })
64
+ }), /* @__PURE__ */ v(d.Item, {
65
+ span: 12,
66
+ children: /* @__PURE__ */ v(x, {
67
+ outcome: t,
68
+ title: "重放结果"
69
+ })
70
+ })]
71
+ }),
72
+ /* @__PURE__ */ v(p, {
73
+ label: "重放通信轨迹",
74
+ children: /* @__PURE__ */ v(r, { trace: t.httpTrace })
75
+ })
76
+ ]
77
+ });
78
+ }
79
+ function C({ log: e, permission: n, replay: r }) {
80
+ let [d, p] = a(!1), [x, C] = a(""), { mutate: w, data: T, isPending: E } = i({ mutationFn: r });
81
+ if (!e.replayable) return /* @__PURE__ */ v(o, {
82
+ showIcon: !0,
83
+ title: "该调用未保留重放数据(需开启 vef.integration.log.replay)",
84
+ type: "info"
85
+ });
86
+ let D = e.direction === "outbound", O = () => w({
87
+ id: e.id,
88
+ script: d && x ? x : void 0
89
+ }), k = /* @__PURE__ */ v(s, {
90
+ icon: /* @__PURE__ */ v(f, { component: b }),
91
+ loading: E,
92
+ type: "primary",
93
+ onClick: D ? void 0 : O,
94
+ children: "重放"
95
+ });
96
+ return /* @__PURE__ */ y(g, {
97
+ gap: "middle",
98
+ children: [
99
+ /* @__PURE__ */ y(u, {
100
+ align: "center",
101
+ gap: "middle",
102
+ wrap: "wrap",
103
+ children: [
104
+ /* @__PURE__ */ v(m, {
105
+ requiredPermissions: n,
106
+ children: D ? /* @__PURE__ */ v(h, {
107
+ title: "出站重放会真实调用外部系统,确认继续?",
108
+ onConfirm: O,
109
+ children: k
110
+ }) : k
111
+ }),
112
+ /* @__PURE__ */ v(c, {
113
+ checked: d,
114
+ onChange: (e) => p(e.target.checked),
115
+ children: "使用临时脚本"
116
+ }),
117
+ /* @__PURE__ */ v(_, {
118
+ type: "secondary",
119
+ children: D ? "以原始输入按当前定义重新执行,不写入统计与调用日志。" : "以原始请求重新执行入站脚本,跳过验签,业务处理器以原始结果应答,不会重复执行业务。"
120
+ })
121
+ ]
122
+ }),
123
+ d ? /* @__PURE__ */ v(l, {
124
+ showLineNumbers: !0,
125
+ completions: t(e.direction).entries,
126
+ height: 200,
127
+ language: "javascript",
128
+ placeholder: "// 留空则使用已保存的适配器脚本",
129
+ value: x,
130
+ onChange: C
131
+ }) : null,
132
+ T ? /* @__PURE__ */ v(S, {
133
+ log: e,
134
+ result: T
135
+ }) : null
136
+ ]
137
+ });
138
+ }
139
+ //#endregion
140
+ export { C as ReplayPanel };
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/integration v2.23.0 made by Venus | 2026-09-22T09:09:19.032Z */
1
+ /*! @vef-framework-react/integration v2.24.1 made by Venus | 2026-09-28T10:43:02.883Z */
2
2
  import { useStatsApi as e } from "../../api/stats-api.js";
3
3
  import { FAILURE_KIND_COLORS as t } from "../../components/status/colors.js";
4
4
  import { FAILURE_KINDS as n } from "../../types/enums.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/integration v2.23.0 made by Venus | 2026-09-22T09:09:19.032Z */
1
+ /*! @vef-framework-react/integration v2.24.1 made by Venus | 2026-09-28T10:43:02.883Z */
2
2
  import { formatTimestamp as e } from "../../components/format.js";
3
3
  import { EnabledTag as t } from "../../components/status/index.js";
4
4
  import { Flex as n, Stack as r, Tag as i, Text as a, globalCssVars as o } from "@vef-framework-react/components";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/integration v2.23.0 made by Venus | 2026-09-22T09:09:19.032Z */
1
+ /*! @vef-framework-react/integration v2.24.1 made by Venus | 2026-09-28T10:43:02.883Z */
2
2
  import { JSON_SCHEMA_COMPLETIONS as e } from "./json-schema-completions.js";
3
3
  import { Grid as t, Labeled as n, LabelsEditor as r, useFormContext as i } from "@vef-framework-react/components";
4
4
  import { jsx as a, jsxs as o } from "@emotion/react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/integration v2.23.0 made by Venus | 2026-09-22T09:09:19.032Z */
1
+ /*! @vef-framework-react/integration v2.24.1 made by Venus | 2026-09-28T10:43:02.883Z */
2
2
  import { API_PATH as e } from "../../api/query.js";
3
3
  import { formValuesToParams as t } from "./model.js";
4
4
  import { createApiRequest as n, useApiClient as r } from "@vef-framework-react/core";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/integration v2.23.0 made by Venus | 2026-09-22T09:09:19.032Z */
1
+ /*! @vef-framework-react/integration v2.24.1 made by Venus | 2026-09-28T10:43:02.883Z */
2
2
  import { useContractApi as e } from "../../api/crud-api.js";
3
3
  import { INTEGRATION_PERMISSIONS as t } from "../../permissions.js";
4
4
  import { contractColumns as n } from "./columns.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/integration v2.23.0 made by Venus | 2026-09-22T09:09:19.032Z */
1
+ /*! @vef-framework-react/integration v2.24.1 made by Venus | 2026-09-28T10:43:02.883Z */
2
2
  //#region src/pages/contract-page/json-schema-completions.ts
3
3
  function e(e, t, n, r) {
4
4
  return {
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/integration v2.23.0 made by Venus | 2026-09-22T09:09:19.032Z */
1
+ /*! @vef-framework-react/integration v2.24.1 made by Venus | 2026-09-28T10:43:02.883Z */
2
2
  //#region src/pages/contract-page/model.ts
3
3
  function e(e) {
4
4
  return e ? JSON.stringify(e, null, 2) : "";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/integration v2.23.0 made by Venus | 2026-09-22T09:09:19.032Z */
1
+ /*! @vef-framework-react/integration v2.24.1 made by Venus | 2026-09-28T10:43:02.883Z */
2
2
  import { Col as e, Labeled as t, LabelsEditor as n, Row as r, useFormContext as i } from "@vef-framework-react/components";
3
3
  import { Fragment as a, jsx as o, jsxs as s } from "@emotion/react/jsx-runtime";
4
4
  //#region src/pages/contract-page/search.tsx
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/integration v2.23.0 made by Venus | 2026-09-22T09:09:19.032Z */
1
+ /*! @vef-framework-react/integration v2.24.1 made by Venus | 2026-09-28T10:43:02.883Z */
2
2
  import { IntegrationAdapterPage as e } from "./adapter-page/index.js";
3
3
  import { IntegrationCodeMapPage as t } from "./code-map-page/index.js";
4
4
  import { IntegrationConsolePage as n } from "./console-page/index.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/integration v2.23.0 made by Venus | 2026-09-22T09:09:19.032Z */
1
+ /*! @vef-framework-react/integration v2.24.1 made by Venus | 2026-09-28T10:43:02.883Z */
2
2
  import { formatTimestamp as e } from "../../components/format.js";
3
3
  import { EnabledTag as t } from "../../components/status/index.js";
4
4
  import { Tag as n, Text as r } from "@vef-framework-react/components";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/integration v2.23.0 made by Venus | 2026-09-22T09:09:19.032Z */
1
+ /*! @vef-framework-react/integration v2.24.1 made by Venus | 2026-09-28T10:43:02.883Z */
2
2
  import { useContractDirectory as e, useSystemDirectory as t } from "../../components/directory/index.js";
3
3
  import { Grid as n, useFormContext as r } from "@vef-framework-react/components";
4
4
  import { jsx as i, jsxs as a } from "@emotion/react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/integration v2.23.0 made by Venus | 2026-09-22T09:09:19.032Z */
1
+ /*! @vef-framework-react/integration v2.24.1 made by Venus | 2026-09-28T10:43:02.883Z */
2
2
  import { createCrudKit as e } from "@vef-framework-react/components";
3
3
  //#region src/pages/route-page/helpers.ts
4
4
  var { OperationButtonGroup: t, ActionButtonGroup: n } = e();