@yuku123/z-cognition-component 2.0.3 → 2.0.4

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 (159) hide show
  1. package/dist-lib/{BaseInput-DHrGPDB9.js → BaseInput-rxw05EpT.js} +16 -16
  2. package/dist-lib/{ClockCircleOutlined-DP6fSLgk.js → ClockCircleOutlined-DqK04lTb.js} +2 -2
  3. package/dist-lib/{Collapse-B77SsmFh.js → Collapse-D9XOithE.js} +76 -76
  4. package/dist-lib/{DeleteOutlined-BAZSAooQ.js → DeleteOutlined-DnGmqa7C.js} +1 -1
  5. package/dist-lib/{EllipsisOutlined-Dr4orLLw.js → EllipsisOutlined-VzQrhleP.js} +144 -144
  6. package/dist-lib/{EyeOutlined-CudyDdjH.js → EyeOutlined-CIFgRd6d.js} +4 -4
  7. package/dist-lib/{LeftOutlined-CJasZIyX.js → LeftOutlined-Be44-JWT.js} +1 -1
  8. package/dist-lib/{Pagination-BJ8wnqAa.js → Pagination-BuFXTevS.js} +32 -32
  9. package/dist-lib/{RotateRightOutlined-DqyspFCO.js → RotateRightOutlined-CYlCNRvD.js} +1 -1
  10. package/dist-lib/{Table-J_7eBbi7.js → Table-D1RvQXGM.js} +9 -9
  11. package/dist-lib/{accessAk-CA30m5eX.js → accessAk-DlxcvD0O.js} +1 -1
  12. package/dist-lib/{agents-eZDKzePP.js → agents-CabJdV6W.js} +17 -17
  13. package/dist-lib/{ai-CNSn3-sd.js → ai-DZ6fqUyK.js} +1 -1
  14. package/dist-lib/{ai-chat-share-Yrqt_J6a.js → ai-chat-share-CYSU7UlK.js} +4 -4
  15. package/dist-lib/{ak-manage-DklVFT5I.js → ak-manage-MTp2UyyK.js} +12 -12
  16. package/dist-lib/{approval-B-bCSmfi.js → approval-F9OYS1Ov.js} +3 -3
  17. package/dist-lib/{approvals-B0ggYiyD.js → approvals-DDEl02-L.js} +2 -2
  18. package/dist-lib/{assistant-Of0mgMsM.js → assistant-CcC1rvys.js} +39 -39
  19. package/dist-lib/{assistant-history-DcyDhUzJ.js → assistant-history-fmy8IsJL.js} +5 -5
  20. package/dist-lib/{assistant-summary-CjLaTyFz.js → assistant-summary-kuK5-mku.js} +1 -1
  21. package/dist-lib/{audit-wDNCfmOy.js → audit-C0GYByqU.js} +1 -1
  22. package/dist-lib/{bios-CIwO1AUK.js → bios-_axkM_DR.js} +11 -11
  23. package/dist-lib/{callSuper-CpMOVGin.js → callSuper-CuPJalb0.js} +1 -1
  24. package/dist-lib/{category-9gqNseEa.js → category-BPLw60Ia.js} +1 -1
  25. package/dist-lib/{causal-CzAYukj9.js → causal-CcWolsb5.js} +5 -5
  26. package/dist-lib/{changelog-CQfIMS51.js → changelog-BQdmpq5H.js} +2 -2
  27. package/dist-lib/{changelog-sKJMQrlV.js → changelog-DC6nlUDh.js} +1 -1
  28. package/dist-lib/{chat-panel-BPbqKckR.js → chat-panel-CgpP4Xf5.js} +28 -28
  29. package/dist-lib/{code-space-D_ZE966E.js → code-space-CZ3CzVcA.js} +9 -9
  30. package/dist-lib/{colors-DpKdb8L-.js → colors-BsFEfaVs.js} +3 -3
  31. package/dist-lib/{community-CfWXxujB.js → community-D9mD_Tq1.js} +3 -3
  32. package/dist-lib/{community-9_7ExHcm.js → community-ESJc4qtl.js} +1 -1
  33. package/dist-lib/{community-material-page-Z_EZuBPl.js → community-material-page-Ct5uMwhv.js} +19 -19
  34. package/dist-lib/{connections-Bcqsp11M.js → connections-DrxmCfe3.js} +6 -6
  35. package/dist-lib/{createForOfIteratorHelper-CasBzL_Q.js → createForOfIteratorHelper-3K1vcDqi.js} +1 -1
  36. package/dist-lib/{detail-EyLdjGpX.js → detail-DXOJf57e.js} +37 -37
  37. package/dist-lib/{detail-CV6xp_Jp.js → detail-kPAVlzm3.js} +4 -4
  38. package/dist-lib/{detail-DioaWKWj.js → detail-lGslEB8s.js} +14 -14
  39. package/dist-lib/{development-CFcOIUKc.js → development-aLXXcLcF.js} +17 -17
  40. package/dist-lib/{downloads-DtV5hOQv.js → downloads-DFOEFvX6.js} +1 -1
  41. package/dist-lib/{edit-NtXUNj5N.js → edit-BbtVK23D.js} +88 -88
  42. package/dist-lib/{editor-KZhj-rwT.js → editor-DbLQFOUf.js} +16 -16
  43. package/dist-lib/{editor-page-BaxK_OYm.js → editor-page-B_H0fRAI.js} +13 -13
  44. package/dist-lib/{embed-mf8t3QXh.js → embed-BUaR8PAn.js} +3930 -3955
  45. package/dist-lib/embed.css +1 -1
  46. package/dist-lib/{evaluation-CZTpC9v3.js → evaluation-8Tx-3UQh.js} +2 -2
  47. package/dist-lib/{execution-B6HmOA2_.js → execution-Dz5dBEFl.js} +13 -13
  48. package/dist-lib/{graph-DHV-rdiK.js → graph-DacHEbKr.js} +5 -5
  49. package/dist-lib/{index-BoCtPJD4.js → index-B6G8CZ1v.js} +130 -130
  50. package/dist-lib/{index-DKAGVWMX.js → index-BDWjubAD.js} +6 -6
  51. package/dist-lib/{index-Bw4M9KLv.js → index-BI-rknta.js} +75 -75
  52. package/dist-lib/{index-QZ9JPfVR.js → index-BLGPH51v.js} +4 -4
  53. package/dist-lib/{index-BsoHetYT.js → index-BMv3kGDG.js} +20 -20
  54. package/dist-lib/{index-DgfIEgir.js → index-BOB3j3H_.js} +1 -1
  55. package/dist-lib/{index-BPbOPT2j.js → index-BU2GXuww.js} +2 -2
  56. package/dist-lib/{index-DU6bO95v.js → index-BWmgE7bB.js} +88 -88
  57. package/dist-lib/{index-CLhLA2ig.js → index-Be_iqVpx.js} +78 -78
  58. package/dist-lib/{index-CwyFMPcr.js → index-Bf8IQq4A.js} +15 -15
  59. package/dist-lib/{index-DGbjbjBY.js → index-Bi7O9pQv.js} +182 -182
  60. package/dist-lib/{index-BkTegt8T.js → index-Bt9F-2Fl.js} +100 -100
  61. package/dist-lib/{index-D6ns_Xmf.js → index-BtW_nQBU.js} +2 -2
  62. package/dist-lib/{index-CvxfA0ZK.js → index-BuGHtvxH.js} +16 -16
  63. package/dist-lib/{index-CtqUgNxs.js → index-CDxeB8C4.js} +24 -24
  64. package/dist-lib/{index-2SysmGHo.js → index-CNBwau86.js} +139 -139
  65. package/dist-lib/{index-BvJ35WL3.js → index-CS6H40rM.js} +15 -15
  66. package/dist-lib/{index--AI-htgA.js → index-CSoMwNHq.js} +45 -45
  67. package/dist-lib/{index-CgwK2maq.js → index-CdNxm2We.js} +38 -38
  68. package/dist-lib/{index-BqTsLClH.js → index-CjFA5T3K.js} +1 -1
  69. package/dist-lib/{index-3J47mTL1.js → index-D23tZfhi.js} +1 -1
  70. package/dist-lib/{index-BkJjYgKD.js → index-D7nLwQye.js} +486 -486
  71. package/dist-lib/{index-zXwXfn-X.js → index-DR9LGJpi.js} +23 -23
  72. package/dist-lib/{index-BEO8itgt.js → index-DTgboCiF.js} +13 -13
  73. package/dist-lib/{index-CSJA8wvL.js → index-Ddx6XQu5.js} +36 -36
  74. package/dist-lib/{index-C2CV4bte.js → index-Di2bQwQn.js} +2 -2
  75. package/dist-lib/{index-DhSCFLtV.js → index-DlqhOJnd.js} +98 -98
  76. package/dist-lib/{index-xQmDaKK3.js → index-GQGXGr9M.js} +1 -1
  77. package/dist-lib/{index-B7SfTpox.js → index-IB3GOib9.js} +8 -8
  78. package/dist-lib/{index-VeAMz0iC.js → index-Pcxp_AYe.js} +43 -43
  79. package/dist-lib/{index-CdJ5ggvp.js → index-QkktEus5.js} +17 -17
  80. package/dist-lib/{index-Bln3mJfp.js → index-fVCVIu8I.js} +2 -2
  81. package/dist-lib/{index-B5Roo82U.js → index-jHh-ITBK.js} +25 -25
  82. package/dist-lib/{index-DaMLYomP.js → index-keRQ37lH.js} +6 -6
  83. package/dist-lib/{index-CF0ucN_K.js → index-n6hK1r_G.js} +3 -3
  84. package/dist-lib/{index-Bd7AGv4a.js → index-qYfXuLnZ.js} +2 -2
  85. package/dist-lib/{index-B12ZggsE.js → index-yPMzsLHL.js} +3 -3
  86. package/dist-lib/index.js +1 -1
  87. package/dist-lib/{json-field-COcz5F2R.js → json-field-Bu-gFb6c.js} +2 -2
  88. package/dist-lib/{kb-form-modal-D9gnvXbE.js → kb-form-modal-DsXpXfNT.js} +20 -19
  89. package/dist-lib/{kbTeam-CorrPJFr.js → kbTeam-D8hsAHI5.js} +1 -1
  90. package/dist-lib/{knowledge-base-DJkjMFHW.js → knowledge-base-D2XMD7iI.js} +21 -20
  91. package/dist-lib/{knowledge-hub-DKiDlaZz.js → knowledge-hub-BoBR8-j-.js} +12 -12
  92. package/dist-lib/{login-56zv4aLO.js → login-B4C374Y_.js} +3 -3
  93. package/dist-lib/{markdown-lite-p1tiuSZM.js → markdown-lite-ROKlyMXg.js} +55 -55
  94. package/dist-lib/{material-DtPASeqq.js → material-CqtPqoZj.js} +1 -1
  95. package/dist-lib/{material-draft-markdown-281d5_GN.js → material-draft-markdown-BKlKt3pc.js} +2 -2
  96. package/dist-lib/{material-original-preview-CPGjdmbe.js → material-original-preview-pzANkVK5.js} +5 -5
  97. package/dist-lib/{material-workspace-model-QLsU5qUO.js → material-workspace-model-BUpogooV.js} +1 -1
  98. package/dist-lib/{member-Cz-OIdj9.js → member-CCTFfLDC.js} +1 -1
  99. package/dist-lib/{memory-reorganization-DgJnWIrW.js → memory-reorganization-CBTDCRhV.js} +1 -1
  100. package/dist-lib/{memory-spaces-D-orVNR7.js → memory-spaces-CZGIBlz2.js} +19 -19
  101. package/dist-lib/{message-D6FhzB7J.js → message-Chq3cAdy.js} +3 -3
  102. package/dist-lib/{message-C9gfvpGg.js → message-Rz7LvGMk.js} +1 -1
  103. package/dist-lib/{messages-cctmEVcG.js → messages-DciGawgR.js} +2 -2
  104. package/dist-lib/{meta-DT_O4zM9.js → meta-BWgVxZgd.js} +2 -2
  105. package/dist-lib/{metrics-BNeVcI8-.js → metrics-iWreq4IL.js} +2 -2
  106. package/dist-lib/{mobile-D8kZjfQU.js → mobile-CNrK04Ak.js} +2 -2
  107. package/dist-lib/{monitor-DexMYjzF.js → monitor-BpUJZCht.js} +3 -3
  108. package/dist-lib/{monitor-DTUyqumg.js → monitor-CaTKbDI1.js} +3 -3
  109. package/dist-lib/{my-access-DWBV6ohp.js → my-access-ZH5CWVGF.js} +3 -3
  110. package/dist-lib/{my-permissions-B-gJZQYM.js → my-permissions-edhi0lav.js} +4 -4
  111. package/dist-lib/{navigation-DVlyWnpD.js → navigation-2WdPUP2T.js} +1 -1
  112. package/dist-lib/{new-JmARyD88.js → new-Dq6mvU2w.js} +5 -5
  113. package/dist-lib/{ontology-B4rkO33J.js → ontology-BX6X1X2J.js} +5 -5
  114. package/dist-lib/{ontology-dataprep-BwD5TKs2.js → ontology-dataprep-BjMnFRBG.js} +1 -1
  115. package/dist-lib/{ontology-domains-zxFrjn0v.js → ontology-domains-B7AuwW8S.js} +63 -63
  116. package/dist-lib/{ontology-extract-iR_rXxFe.js → ontology-extract-FpJ6K8z6.js} +1 -1
  117. package/dist-lib/{ontology-extract-BHOxruRO.js → ontology-extract-wbvBwGZO.js} +22 -22
  118. package/dist-lib/{ontology-flow-CW0SzeK7.js → ontology-flow-CJsIvS35.js} +6 -6
  119. package/dist-lib/{ontology-flow-Dv5iQ20f.js → ontology-flow-Cgi8Fk-i.js} +3 -3
  120. package/dist-lib/{ontology-modeling-hakCluBi.js → ontology-modeling-C_6GvHBT.js} +33 -33
  121. package/dist-lib/{ontology-modeling-B9wswveh.js → ontology-modeling-CeDS1-FE.js} +2 -2
  122. package/dist-lib/{ontology-scenarios-DKnfydG6.js → ontology-scenarios-4Ar7Y8Kt.js} +11 -11
  123. package/dist-lib/{ontology-scenarios-C2kp7Rs-.js → ontology-scenarios-BaYN82pv.js} +392 -392
  124. package/dist-lib/{ontology-task-config-DmnWyCCB.js → ontology-task-config-CDt7NdIq.js} +1 -1
  125. package/dist-lib/{ontology-terms-BoNB-5ar.js → ontology-terms-CnFarWZX.js} +1 -1
  126. package/dist-lib/{ontology-terms-C-NhpcIZ.js → ontology-terms-CxTp2Dcq.js} +18 -18
  127. package/dist-lib/{permission-Dq1-AOQw.js → permission-CNqwhyF3.js} +2 -2
  128. package/dist-lib/{preset-DCNSE--Y.js → preset-CfByvcqu.js} +3 -3
  129. package/dist-lib/{progress-CZxOOnIs.js → progress-ImhDvynO.js} +2 -2
  130. package/dist-lib/{quota-oICQRHFU.js → quota-B38BWyPo.js} +7 -6
  131. package/dist-lib/{row-By17TCiW.js → row-DeVE0t_N.js} +2 -2
  132. package/dist-lib/{runs-DQTDpPaN.js → runs-ILSUwEOv.js} +6 -6
  133. package/dist-lib/{save-blob-CwCZE1Dn.js → save-blob-C5BbV45B.js} +2 -2
  134. package/dist-lib/{scenario-mapping-preview-sJtjgmry.js → scenario-mapping-preview-7v1SRE7V.js} +17 -17
  135. package/dist-lib/{scenario-simple-form-BvKSPFzw.js → scenario-simple-form-mFm6f2ho.js} +9 -9
  136. package/dist-lib/{schedule-CwkPPSuT.js → schedule-DzB9rZrm.js} +2 -2
  137. package/dist-lib/{script-gYJAFobb.js → script-CKdVDsYh.js} +14 -14
  138. package/dist-lib/{settings-CJd5Jj4y.js → settings-CaihqQtz.js} +71 -70
  139. package/dist-lib/{shared-DG5-VCDM.js → shared-B51Q5536.js} +1 -1
  140. package/dist-lib/{shared-utils-CFHws1DA.js → shared-utils-Ck5sql2m.js} +2 -2
  141. package/dist-lib/{skills-lxpJ5Lzx.js → skills-By3A0Dc1.js} +5 -5
  142. package/dist-lib/{source-selection-DJnQQckl.js → source-selection-sIKyG7xR.js} +1 -1
  143. package/dist-lib/{sources-C83LpCcV.js → sources-DvIMColY.js} +12 -12
  144. package/dist-lib/{style-B5THvtDY.js → style-BHQZmWlH.js} +8 -8
  145. package/dist-lib/{task-config-BNYoOb79.js → task-config-CoPFj_FN.js} +3 -3
  146. package/dist-lib/{tech-LuZvKDo6.js → tech-BJgEEFrT.js} +1 -1
  147. package/dist-lib/{templates-a-kbCamr.js → templates-CODaf2QI.js} +6 -6
  148. package/dist-lib/{tenant-login-COB-5h_2.js → tenant-login-DmN4qfah.js} +12 -12
  149. package/dist-lib/{tools-CrA6GrY6.js → tools-CyRz1Ofg.js} +4 -4
  150. package/dist-lib/use-current-tenant-otPCQ3X8.js +22 -0
  151. package/dist-lib/{use-domain-access-ehGJBGvU.js → use-domain-access-BuD99GTw.js} +1 -1
  152. package/dist-lib/{use-g6-graph-DfRnsBS6.js → use-g6-graph-C5h9frJM.js} +1 -1
  153. package/dist-lib/{use-graph-layers-CrhEeHfD.js → use-graph-layers-Cbd3Jggb.js} +9 -9
  154. package/dist-lib/{useBreakpoint-Cul9y9Cu.js → useBreakpoint-B8dF3ifo.js} +4 -4
  155. package/dist-lib/{useForm-B-dwOwJ8.js → useForm-BZkiMeaN.js} +6 -6
  156. package/dist-lib/{version-control-panel-mWXkC-uB.js → version-control-panel-HdMlbpbO.js} +1 -1
  157. package/dist-lib/{version-management-nPlG7wQO.js → version-management-BYoxw4GV.js} +2 -2
  158. package/dist-lib/{welcome-Cqv1-rXT.js → welcome-CMNXQf8J.js} +1 -1
  159. package/package.json +1 -1
@@ -1,37 +1,37 @@
1
1
  import { jsx as n, jsxs as t, Fragment as J } from "react/jsx-runtime";
2
2
  import * as W from "react";
3
3
  import { useState as p, useRef as ce, useCallback as x, useEffect as z, useMemo as Y } from "react";
4
- import { P as Gn } from "./index-Bd7AGv4a.js";
5
- import { a$ as he, b0 as pe, A as _e, S as Qe, ab as Me, B as D, h as ie, dT as Qn, dH as ze, br as bn, L as Be, bG as Wn, dW as Yn, dB as Zn, de as Jn, I as Xn, t as en, k as Oe, r as ve, K as es, dX as Tn, u as ns, dy as ss, e as as, d8 as ts } from "./embed-mf8t3QXh.js";
6
- import { T as rs, a as ls, u as os, b as cs, C as is, S as ds, R as us, I as ms, E as hs, c as ps, d as fs, e as gs, s as vs } from "./use-graph-layers-CrhEeHfD.js";
7
- import { t as ys, j as Ns, o as tn, k as bs, h as Ts, r as Ss, D as Cs, T as ws, e as Is } from "./ontology-modeling-B9wswveh.js";
8
- import { D as We } from "./index-DhSCFLtV.js";
9
- import { T as ue, R as Sn } from "./index-Bw4M9KLv.js";
10
- import { D as U } from "./index-BvJ35WL3.js";
11
- import { T as O } from "./index-CtqUgNxs.js";
12
- import { A as Ae } from "./index-B7SfTpox.js";
13
- import { F as me } from "./Table-J_7eBbi7.js";
14
- import { I as se } from "./index-2SysmGHo.js";
15
- import { C as ks } from "./Collapse-B77SsmFh.js";
16
- import { S as Es } from "./index-B5Roo82U.js";
17
- import { S as Fe } from "./index-QZ9JPfVR.js";
18
- import { u as rn } from "./use-domain-access-ehGJBGvU.js";
19
- import { T as F } from "./index-zXwXfn-X.js";
20
- import { R as nn, T as Cn } from "./index-CSJA8wvL.js";
21
- import { R as wn, a as Rs, s as In, S as Ls, b as As } from "./scenario-mapping-preview-sJtjgmry.js";
4
+ import { P as Gn } from "./index-qYfXuLnZ.js";
5
+ import { a_ as he, a$ as pe, A as Be, S as Qe, aa as Me, B as D, h as ie, dT as Qn, dH as ze, bq as bn, L as _e, bF as Wn, dW as Yn, dB as Zn, de as Jn, I as Xn, t as en, k as Oe, r as ve, K as es, dX as Tn, u as ns, dy as ss, e as as, d8 as ts } from "./embed-BUaR8PAn.js";
6
+ import { T as ls, a as rs, u as os, b as cs, C as is, S as ds, R as us, I as ms, E as hs, c as ps, d as fs, e as gs, s as vs } from "./use-graph-layers-Cbd3Jggb.js";
7
+ import { t as ys, j as Ns, o as tn, k as bs, h as Ts, r as Ss, D as Cs, T as ws, e as Is } from "./ontology-modeling-CeDS1-FE.js";
8
+ import { D as We } from "./index-DlqhOJnd.js";
9
+ import { T as ue, R as Sn } from "./index-BI-rknta.js";
10
+ import { D as U } from "./index-CS6H40rM.js";
11
+ import { T as O } from "./index-CDxeB8C4.js";
12
+ import { A as Ae } from "./index-IB3GOib9.js";
13
+ import { F as me } from "./Table-D1RvQXGM.js";
14
+ import { I as se } from "./index-CNBwau86.js";
15
+ import { C as ks } from "./Collapse-D9XOithE.js";
16
+ import { S as Es } from "./index-jHh-ITBK.js";
17
+ import { S as Fe } from "./index-BLGPH51v.js";
18
+ import { u as ln } from "./use-domain-access-BuD99GTw.js";
19
+ import { T as F } from "./index-DR9LGJpi.js";
20
+ import { R as nn, T as Cn } from "./index-Ddx6XQu5.js";
21
+ import { R as wn, a as Rs, s as In, S as Ls, b as As } from "./scenario-mapping-preview-7v1SRE7V.js";
22
22
  import { u as Ds } from "./use-escape-key-4SZ4l7av.js";
23
23
  import { c as mn, f as xs } from "./format-CWI99NCN.js";
24
- import { a as Ps } from "./LeftOutlined-CJasZIyX.js";
25
- import { R as Ie, F as Le } from "./index-BkTegt8T.js";
26
- import { D as kn } from "./index-DU6bO95v.js";
27
- import { M as En } from "./index-B12ZggsE.js";
28
- import { R as $s } from "./RotateRightOutlined-DqyspFCO.js";
29
- import { R as hn, g as Rn, a as Os, b as Ze, l as Ms, r as zs, p as Bs, c as _s, d as Fs, e as Us, f as Hs, h as Ks, i as Vs, j as js, k as qs, m as Gs, n as Qs, o as Ws } from "./ontology-scenarios-DKnfydG6.js";
30
- import { R as Ys } from "./ClockCircleOutlined-DP6fSLgk.js";
31
- import { T as He } from "./index-CLhLA2ig.js";
32
- import { S as Zs } from "./index-DKAGVWMX.js";
33
- import { P as Je } from "./index-CvxfA0ZK.js";
34
- import { R as Js } from "./DeleteOutlined-BAZSAooQ.js";
24
+ import { a as Ps } from "./LeftOutlined-Be44-JWT.js";
25
+ import { R as Ie, F as Le } from "./index-Bt9F-2Fl.js";
26
+ import { D as kn } from "./index-BWmgE7bB.js";
27
+ import { M as En } from "./index-yPMzsLHL.js";
28
+ import { R as $s } from "./RotateRightOutlined-CYlCNRvD.js";
29
+ import { R as hn, g as Rn, a as Os, b as Ze, l as Ms, r as zs, p as _s, c as Bs, d as Fs, e as Us, f as Hs, h as Ks, i as Vs, j as js, k as qs, m as Gs, n as Qs, o as Ws } from "./ontology-scenarios-4Ar7Y8Kt.js";
30
+ import { R as Ys } from "./ClockCircleOutlined-DqK04lTb.js";
31
+ import { T as He } from "./index-Be_iqVpx.js";
32
+ import { S as Zs } from "./index-BDWjubAD.js";
33
+ import { P as Je } from "./index-BuGHtvxH.js";
34
+ import { R as Js } from "./DeleteOutlined-DnGmqa7C.js";
35
35
  var Xs = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M193 796c0 17.7 14.3 32 32 32h574c17.7 0 32-14.3 32-32V563c0-176.2-142.8-319-319-319S193 386.8 193 563v233zm72-233c0-136.4 110.6-247 247-247s247 110.6 247 247v193H404V585c0-5.5-4.5-10-10-10h-44c-5.5 0-10 4.5-10 10v171h-75V563zm-48.1-252.5l39.6-39.6c3.1-3.1 3.1-8.2 0-11.3l-67.9-67.9a8.03 8.03 0 00-11.3 0l-39.6 39.6a8.03 8.03 0 000 11.3l67.9 67.9c3.1 3.1 8.1 3.1 11.3 0zm669.6-79.2l-39.6-39.6a8.03 8.03 0 00-11.3 0l-67.9 67.9a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l67.9-67.9c3.1-3.2 3.1-8.2 0-11.3zM832 892H192c-17.7 0-32 14.3-32 32v24c0 4.4 3.6 8 8 8h688c4.4 0 8-3.6 8-8v-24c0-17.7-14.3-32-32-32zM484 180h56c4.4 0 8-3.6 8-8V76c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v96c0 4.4 3.6 8 8 8z" } }] }, name: "alert", theme: "outlined" }, ea = function(a, s) {
36
36
  return /* @__PURE__ */ W.createElement(he, pe({}, a, {
37
37
  ref: s,
@@ -53,12 +53,12 @@ var aa = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "fa
53
53
  }));
54
54
  }, sn = /* @__PURE__ */ W.forwardRef(ta);
55
55
  process.env.NODE_ENV !== "production" && (sn.displayName = "ArrowLeftOutlined");
56
- var ra = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M740 161c-61.8 0-112 50.2-112 112 0 50.1 33.1 92.6 78.5 106.9v95.9L320 602.4V318.1c44.2-15 76-56.9 76-106.1 0-61.8-50.2-112-112-112s-112 50.2-112 112c0 49.2 31.8 91 76 106.1V706c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1v-27.8l423.5-138.7a50.52 50.52 0 0034.9-48.2V378.2c42.9-15.8 73.6-57 73.6-105.2 0-61.8-50.2-112-112-112zm-504 51a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm96 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm408-491a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" } }] }, name: "branches", theme: "outlined" }, la = function(a, s) {
56
+ var la = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M740 161c-61.8 0-112 50.2-112 112 0 50.1 33.1 92.6 78.5 106.9v95.9L320 602.4V318.1c44.2-15 76-56.9 76-106.1 0-61.8-50.2-112-112-112s-112 50.2-112 112c0 49.2 31.8 91 76 106.1V706c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1v-27.8l423.5-138.7a50.52 50.52 0 0034.9-48.2V378.2c42.9-15.8 73.6-57 73.6-105.2 0-61.8-50.2-112-112-112zm-504 51a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm96 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm408-491a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" } }] }, name: "branches", theme: "outlined" }, ra = function(a, s) {
57
57
  return /* @__PURE__ */ W.createElement(he, pe({}, a, {
58
58
  ref: s,
59
- icon: ra
59
+ icon: la
60
60
  }));
61
- }, Ye = /* @__PURE__ */ W.forwardRef(la);
61
+ }, Ye = /* @__PURE__ */ W.forwardRef(ra);
62
62
  process.env.NODE_ENV !== "production" && (Ye.displayName = "BranchesOutlined");
63
63
  var oa = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M704 446H320c-4.4 0-8 3.6-8 8v402c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8V454c0-4.4-3.6-8-8-8zm-328 64h272v117H376V510zm272 290H376V683h272v117z" } }, { tag: "path", attrs: { d: "M424 748a32 32 0 1064 0 32 32 0 10-64 0zm0-178a32 32 0 1064 0 32 32 0 10-64 0z" } }, { tag: "path", attrs: { d: "M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z" } }] }, name: "cloud-server", theme: "outlined" }, ca = function(a, s) {
64
64
  return /* @__PURE__ */ W.createElement(he, pe({}, a, {
@@ -104,7 +104,7 @@ var va = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "fa
104
104
  process.env.NODE_ENV !== "production" && (On.displayName = "TagsOutlined");
105
105
  const Na = 10, Mn = 3;
106
106
  function ba(e = 0) {
107
- const [a, s] = p(!0), [r, o] = p(), [c, l] = p(""), [m, u] = p(""), [h, d] = p([]), [b, i] = p(0), [f, C] = p(1), [v, g] = p(!0), y = ce(0), T = a ? 1 : r, k = x(
107
+ const [a, s] = p(!0), [l, o] = p(), [c, r] = p(""), [m, u] = p(""), [h, d] = p([]), [b, i] = p(0), [f, C] = p(1), [v, g] = p(!0), y = ce(0), T = a ? 1 : l, k = x(
108
108
  async (w) => {
109
109
  const N = ++y.current;
110
110
  g(!0);
@@ -134,10 +134,10 @@ function ba(e = 0) {
134
134
  }, [e, k]), {
135
135
  todoOnly: a,
136
136
  setTodoOnly: s,
137
- status: r,
137
+ status: l,
138
138
  setStatus: o,
139
139
  searchInput: c,
140
- setSearchInput: l,
140
+ setSearchInput: r,
141
141
  keyword: m,
142
142
  setKeyword: u,
143
143
  records: h,
@@ -150,7 +150,7 @@ function ba(e = 0) {
150
150
  function X(e) {
151
151
  return e && e.replace("T", " ").replace(/\.\d+/, "").replace(/Z$/, "") || "-";
152
152
  }
153
- function ln(e) {
153
+ function rn(e) {
154
154
  return e == null || Number.isNaN(e) ? "-" : e < 1e3 ? `${Math.max(0, Math.round(e))} ms` : e < 6e4 ? `${(e / 1e3).toFixed(1)} s` : e < 36e5 ? `${Math.round(e / 6e4)} min` : `${(e / 36e5).toFixed(1)} h`;
155
155
  }
156
156
  function an(e) {
@@ -240,12 +240,12 @@ function ka({
240
240
  orderStatus: a,
241
241
  onRetry: s
242
242
  }) {
243
- const r = Ca(e.afterJson), o = wa(r.definition), c = Ta(e.status), l = e.status === 3;
243
+ const l = Ca(e.afterJson), o = wa(l.definition), c = Ta(e.status), r = e.status === 3;
244
244
  return /* @__PURE__ */ n(
245
245
  ks,
246
246
  {
247
247
  size: "small",
248
- defaultActiveKey: l ? ["item"] : [],
248
+ defaultActiveKey: r ? ["item"] : [],
249
249
  items: [
250
250
  {
251
251
  key: "item",
@@ -254,29 +254,29 @@ function ka({
254
254
  "#",
255
255
  e.seqNo ?? "-"
256
256
  ] }),
257
- /* @__PURE__ */ n("b", { children: r.scenarioCode || e.targetName || e.code }),
257
+ /* @__PURE__ */ n("b", { children: l.scenarioCode || e.targetName || e.code }),
258
258
  e.itemType !== void 0 ? /* @__PURE__ */ n(O, { color: "blue", children: Ts(e.itemType) }) : null,
259
259
  c ? /* @__PURE__ */ n(O, { color: Sa(e.status), children: c }) : null
260
260
  ] }),
261
261
  children: /* @__PURE__ */ t("div", { className: "osc-scn-order-item-body", children: [
262
262
  /* @__PURE__ */ t(U, { size: "small", column: 2, children: [
263
- /* @__PURE__ */ n(U.Item, { label: "场景编码", children: /* @__PURE__ */ n("span", { className: "mono", children: r.scenarioCode || e.targetName || "—" }) }),
264
- /* @__PURE__ */ n(U.Item, { label: "场景名称", children: r.name || "—" }),
265
- /* @__PURE__ */ n(U.Item, { label: "说明", span: 2, children: r.description || "—" }),
263
+ /* @__PURE__ */ n(U.Item, { label: "场景编码", children: /* @__PURE__ */ n("span", { className: "mono", children: l.scenarioCode || e.targetName || "—" }) }),
264
+ /* @__PURE__ */ n(U.Item, { label: "场景名称", children: l.name || "—" }),
265
+ /* @__PURE__ */ n(U.Item, { label: "说明", span: 2, children: l.description || "—" }),
266
266
  /* @__PURE__ */ n(U.Item, { label: "定义摘要", span: 2, children: o ? `${o.types} 个源对象 · ${o.edges} 条源关系 · ${o.relations} 条目标关系` : "下线场景不携带投影定义" })
267
267
  ] }),
268
- r.definition ? /* @__PURE__ */ n("pre", { className: "osc-scn-order-def", children: JSON.stringify(r.definition, null, 2) }) : null,
268
+ l.definition ? /* @__PURE__ */ n("pre", { className: "osc-scn-order-def", children: JSON.stringify(l.definition, null, 2) }) : null,
269
269
  e.errorMsg ? /* @__PURE__ */ n(
270
270
  Ae,
271
271
  {
272
272
  style: { marginTop: 8 },
273
- type: l ? "error" : "warning",
273
+ type: r ? "error" : "warning",
274
274
  showIcon: !0,
275
- message: l ? "失败原因" : "跳过原因",
275
+ message: r ? "失败原因" : "跳过原因",
276
276
  description: e.errorMsg
277
277
  }
278
278
  ) : null,
279
- a === 6 && (l || e.status === 4) ? /* @__PURE__ */ n(
279
+ a === 6 && (r || e.status === 4) ? /* @__PURE__ */ n(
280
280
  D,
281
281
  {
282
282
  style: { marginTop: 8 },
@@ -296,10 +296,10 @@ function zn({
296
296
  open: e,
297
297
  orderCode: a,
298
298
  onClose: s,
299
- onChanged: r,
299
+ onChanged: l,
300
300
  onOpenTasks: o
301
301
  }) {
302
- const { message: c } = _e.useApp(), [l, m] = p(null), [u, h] = p(!1), [d, b] = p(), [i, f] = p(!1), [C, v] = p(!1), [g, y] = p(""), [T, k] = p(0), A = ce(!1), w = l == null ? void 0 : l.order, N = w == null ? void 0 : w.status, E = w == null ? void 0 : w.code;
302
+ const { message: c } = Be.useApp(), [r, m] = p(null), [u, h] = p(!1), [d, b] = p(), [i, f] = p(!1), [C, v] = p(!1), [g, y] = p(""), [T, k] = p(0), A = ce(!1), w = r == null ? void 0 : r.order, N = w == null ? void 0 : w.status, E = w == null ? void 0 : w.code;
303
303
  z(() => {
304
304
  A.current = !1;
305
305
  }, [a]), z(() => {
@@ -333,8 +333,8 @@ function zn({
333
333
  };
334
334
  }, [e, E, N]);
335
335
  const L = x(() => {
336
- k((R) => R + 1), r == null || r();
337
- }, [r]), Z = async () => {
336
+ k((R) => R + 1), l == null || l();
337
+ }, [l]), Z = async () => {
338
338
  if (!w)
339
339
  return;
340
340
  f(!0);
@@ -371,7 +371,7 @@ function zn({
371
371
  /* @__PURE__ */ n(U.Item, { label: "工单号", children: /* @__PURE__ */ n("span", { className: "mono", children: w.orderNo || w.code }) }),
372
372
  /* @__PURE__ */ n(U.Item, { label: "场景编码", children: /* @__PURE__ */ n("span", { className: "mono", children: w.sourceRef || "—" }) }),
373
373
  /* @__PURE__ */ t(U.Item, { label: "变更项", children: [
374
- w.itemCount ?? l.items.length,
374
+ w.itemCount ?? r.items.length,
375
375
  w.failedItemCount ? `(失败 ${w.failedItemCount})` : ""
376
376
  ] }),
377
377
  /* @__PURE__ */ n(U.Item, { label: "Schema 版本", children: /* @__PURE__ */ t("span", { className: "mono", children: [
@@ -395,10 +395,10 @@ function zn({
395
395
  ) : null,
396
396
  /* @__PURE__ */ t("div", { className: "osc-scn-order-section-title", children: [
397
397
  "变更项(",
398
- l.items.length,
398
+ r.items.length,
399
399
  ")"
400
400
  ] }),
401
- /* @__PURE__ */ n("div", { className: "osc-scn-order-items", children: l.items.length ? [...l.items].sort((R, K) => (R.seqNo ?? 0) - (K.seqNo ?? 0)).map((R) => /* @__PURE__ */ n(
401
+ /* @__PURE__ */ n("div", { className: "osc-scn-order-items", children: r.items.length ? [...r.items].sort((R, K) => (R.seqNo ?? 0) - (K.seqNo ?? 0)).map((R) => /* @__PURE__ */ n(
402
402
  ka,
403
403
  {
404
404
  item: R,
@@ -489,16 +489,16 @@ function La({
489
489
  focusOrderCode: e,
490
490
  domainVersion: a = 0,
491
491
  onOrderChange: s,
492
- onOpenTasks: r
492
+ onOpenTasks: l
493
493
  }) {
494
- const o = ba(a), [c, l] = p(), [m, u] = p(a);
495
- m !== a && (u(a), l(void 0)), z(() => {
496
- e && l(e);
494
+ const o = ba(a), [c, r] = p(), [m, u] = p(a);
495
+ m !== a && (u(a), r(void 0)), z(() => {
496
+ e && r(e);
497
497
  }, [e]);
498
498
  const h = (i) => {
499
- l(i), s == null || s(i);
499
+ r(i), s == null || s(i);
500
500
  }, d = () => {
501
- l(void 0), s == null || s(void 0);
501
+ r(void 0), s == null || s(void 0);
502
502
  }, b = [
503
503
  {
504
504
  title: "工单",
@@ -618,7 +618,7 @@ function La({
618
618
  onClose: d,
619
619
  onChanged: () => void o.load(o.current),
620
620
  onOpenTasks: (i) => {
621
- l(void 0), r == null || r(i);
621
+ r(void 0), l == null || l(i);
622
622
  }
623
623
  }
624
624
  )
@@ -667,19 +667,19 @@ function za(e) {
667
667
  function Ue(e) {
668
668
  return e.mode === 1;
669
669
  }
670
- function Bn({ status: e }) {
670
+ function _n({ status: e }) {
671
671
  const a = Aa[e] ?? { label: `状态${e}`, color: "default" };
672
672
  return /* @__PURE__ */ n(O, { color: a.color, children: a.label });
673
673
  }
674
- function _n({ status: e }) {
674
+ function Bn({ status: e }) {
675
675
  const a = Da[e] ?? { label: `状态${e}`, color: "default" };
676
676
  return /* @__PURE__ */ n(O, { color: a.color, children: a.label });
677
677
  }
678
- function Ba({ status: e }) {
678
+ function _a({ status: e }) {
679
679
  const a = Pa[e] ?? { label: `状态${e}`, color: "default" };
680
680
  return /* @__PURE__ */ n(O, { color: a.color, children: a.label });
681
681
  }
682
- function _a({ status: e }) {
682
+ function Ba({ status: e }) {
683
683
  const a = $a[e] ?? { label: `状态${e}`, color: "default" };
684
684
  return /* @__PURE__ */ n(O, { color: a.color, children: a.label });
685
685
  }
@@ -701,13 +701,13 @@ function Ha({
701
701
  state: e,
702
702
  scope: a,
703
703
  ancestors: s = [],
704
- activeCode: r,
704
+ activeCode: l,
705
705
  onSelect: o
706
706
  }) {
707
707
  var w;
708
- const [c, l] = p(e.keyword), u = rn().can("scenario.write") ? void 0 : Qn();
708
+ const [c, r] = p(e.keyword), u = ln().can("scenario.write") ? void 0 : Qn();
709
709
  z(() => {
710
- l(e.keyword);
710
+ r(e.keyword);
711
711
  }, [e.keyword]);
712
712
  const h = (N) => {
713
713
  const E = N.trim();
@@ -736,7 +736,7 @@ function Ha({
736
736
  "button",
737
737
  {
738
738
  type: "button",
739
- className: `osc-scn-card${N.scenarioCode === r ? " active" : ""}`,
739
+ className: `osc-scn-card${N.scenarioCode === l ? " active" : ""}`,
740
740
  onClick: () => o(N.scenarioCode),
741
741
  children: [
742
742
  /* @__PURE__ */ t("span", { className: "osc-scn-card-top", children: [
@@ -753,8 +753,8 @@ function Ha({
753
753
  "v",
754
754
  N.projectionVersion
755
755
  ] }) : null,
756
- N.status !== void 0 && N.status !== 2 ? /* @__PURE__ */ n(Bn, { status: N.status }) : null,
757
- Ue(N) || N.syncStatus === void 0 || N.syncStatus === 3 ? null : /* @__PURE__ */ n(_n, { status: N.syncStatus })
756
+ N.status !== void 0 && N.status !== 2 ? /* @__PURE__ */ n(_n, { status: N.status }) : null,
757
+ Ue(N) || N.syncStatus === void 0 || N.syncStatus === 3 ? null : /* @__PURE__ */ n(Bn, { status: N.syncStatus })
758
758
  ] }),
759
759
  /* @__PURE__ */ t("span", { className: "osc-scn-card-sub", children: [
760
760
  /* @__PURE__ */ t("span", { className: "osc-scn-card-code mono", children: [
@@ -791,7 +791,7 @@ function Ha({
791
791
  prefix: /* @__PURE__ */ n(bn, {}),
792
792
  placeholder: "搜索场景名 / 编码,回车确认",
793
793
  value: c,
794
- onChange: (N) => l(N.target.value),
794
+ onChange: (N) => r(N.target.value),
795
795
  onPressEnter: (N) => h(N.currentTarget.value),
796
796
  onBlur: (N) => h(N.target.value)
797
797
  }
@@ -817,7 +817,7 @@ function Ha({
817
817
  onChange: (N) => e.setSyncStatus(N)
818
818
  }
819
819
  ),
820
- /* @__PURE__ */ n("span", { className: "osc-scn-create", children: u ? /* @__PURE__ */ n(F, { title: u, children: /* @__PURE__ */ n("span", { children: /* @__PURE__ */ n(D, { type: "primary", icon: /* @__PURE__ */ n(nn, {}), disabled: !0, children: "新建" }) }) }) : /* @__PURE__ */ n(Be, { to: "/ontology/scenarios/new", "aria-label": "新建场景", children: /* @__PURE__ */ n(D, { type: "primary", icon: /* @__PURE__ */ n(nn, {}), children: "新建" }) }) })
820
+ /* @__PURE__ */ n("span", { className: "osc-scn-create", children: u ? /* @__PURE__ */ n(F, { title: u, children: /* @__PURE__ */ n("span", { children: /* @__PURE__ */ n(D, { type: "primary", icon: /* @__PURE__ */ n(nn, {}), disabled: !0, children: "新建" }) }) }) : /* @__PURE__ */ n(_e, { to: "/ontology/scenarios/new", "aria-label": "新建场景", children: /* @__PURE__ */ n(D, { type: "primary", icon: /* @__PURE__ */ n(nn, {}), children: "新建" }) }) })
821
821
  ] }),
822
822
  /* @__PURE__ */ t("div", { className: "row between", children: [
823
823
  /* @__PURE__ */ t("span", { className: "note", children: [
@@ -916,17 +916,17 @@ const Ka = {
916
916
  byTag: /* @__PURE__ */ new Map()
917
917
  };
918
918
  function Va(e) {
919
- const [a, s] = p(Ka), [r, o] = p(0);
919
+ const [a, s] = p(Ka), [l, o] = p(0);
920
920
  z(() => {
921
921
  if (!e) {
922
922
  s({ loading: !1, graphBound: !1, total: void 0, byTag: /* @__PURE__ */ new Map() });
923
923
  return;
924
924
  }
925
- let l = !1;
925
+ let r = !1;
926
926
  return s((u) => ({ ...u, loading: !0 })), (async () => {
927
927
  try {
928
928
  const u = await Yn({ scope: "SCENARIO", scenarioCode: e });
929
- if (l) return;
929
+ if (r) return;
930
930
  if (!u) {
931
931
  s({ loading: !1, graphBound: !1, total: void 0, byTag: /* @__PURE__ */ new Map() });
932
932
  return;
@@ -938,13 +938,13 @@ function Va(e) {
938
938
  byTag: new Map(u.tags.map((h) => [h.tagName, h.instanceCount]))
939
939
  });
940
940
  } finally {
941
- l || s((u) => u.loading ? { ...u, loading: !1 } : u);
941
+ r || s((u) => u.loading ? { ...u, loading: !1 } : u);
942
942
  }
943
943
  })(), () => {
944
- l = !0;
944
+ r = !0;
945
945
  };
946
- }, [e, r]);
947
- const c = x(() => o((l) => l + 1), []);
946
+ }, [e, l]);
947
+ const c = x(() => o((r) => r + 1), []);
948
948
  return { ...a, reload: c };
949
949
  }
950
950
  function ja() {
@@ -960,12 +960,12 @@ function ja() {
960
960
  }, []), e;
961
961
  }
962
962
  function qa() {
963
- const [e, a] = p(""), [s, r] = p("");
963
+ const [e, a] = p(""), [s, l] = p("");
964
964
  return z(() => {
965
965
  let o = !1;
966
966
  return (async () => {
967
- const l = await Jn();
968
- o || !l || (a(l.name), r(l.graphSpace ?? ""));
967
+ const r = await Jn();
968
+ o || !r || (a(r.name), l(r.graphSpace ?? ""));
969
969
  })(), () => {
970
970
  o = !0;
971
971
  };
@@ -976,11 +976,11 @@ function Ga({
976
976
  base: a,
977
977
  counts: s
978
978
  }) {
979
- const r = new Map(((a == null ? void 0 : a.nodes) ?? []).map((h) => [h.tagName, h])), o = new Map(((a == null ? void 0 : a.edges) ?? []).map((h) => [h.edgeName, h])), c = [];
979
+ const l = new Map(((a == null ? void 0 : a.nodes) ?? []).map((h) => [h.tagName, h])), o = new Map(((a == null ? void 0 : a.edges) ?? []).map((h) => [h.edgeName, h])), c = [];
980
980
  for (const h of e.draft.sourceTypes)
981
981
  c.includes(h) || c.push(h);
982
- const l = c.map((h) => {
983
- const d = r.get(h), b = s != null && s.graphBound ? s.byTag.get(h) : void 0;
982
+ const r = c.map((h) => {
983
+ const d = l.get(h), b = s != null && s.graphBound ? s.byTag.get(h) : void 0;
984
984
  return {
985
985
  code: (d == null ? void 0 : d.code) ?? h,
986
986
  tagName: h,
@@ -1007,34 +1007,34 @@ function Ga({
1007
1007
  });
1008
1008
  return {
1009
1009
  ontologyCode: (a == null ? void 0 : a.ontologyCode) ?? "",
1010
- nodeCount: String(l.length),
1010
+ nodeCount: String(r.length),
1011
1011
  edgeCount: String(u.length),
1012
1012
  truncated: (a == null ? void 0 : a.truncated) ?? !1,
1013
- nodes: l,
1013
+ nodes: r,
1014
1014
  edges: u
1015
1015
  };
1016
1016
  }
1017
1017
  function Qa(e, a) {
1018
- const s = ((e == null ? void 0 : e.nodes) ?? []).map((l) => ({
1019
- code: l.code,
1020
- tagName: l.tagName,
1021
- displayName: l.displayName,
1022
- category: l.category,
1023
- bizDomain: l.bizDomain,
1024
- levelCode: l.levelCode,
1025
- instanceCount: l.instanceCount,
1018
+ const s = ((e == null ? void 0 : e.nodes) ?? []).map((r) => ({
1019
+ code: r.code,
1020
+ tagName: r.tagName,
1021
+ displayName: r.displayName,
1022
+ category: r.category,
1023
+ bizDomain: r.bizDomain,
1024
+ levelCode: r.levelCode,
1025
+ instanceCount: r.instanceCount,
1026
1026
  status: "ACTIVE"
1027
- })), r = /* @__PURE__ */ new Map();
1028
- for (const l of (e == null ? void 0 : e.edges) ?? []) {
1029
- const m = r.get(l.edgeName);
1030
- m ? m.push(l) : r.set(l.edgeName, [l]);
1027
+ })), l = /* @__PURE__ */ new Map();
1028
+ for (const r of (e == null ? void 0 : e.edges) ?? []) {
1029
+ const m = l.get(r.edgeName);
1030
+ m ? m.push(r) : l.set(r.edgeName, [r]);
1031
1031
  }
1032
- const o = new Map(((a == null ? void 0 : a.edges) ?? []).map((l) => [l.edgeName, l.code])), c = [];
1033
- for (const [l, m] of r) {
1034
- const u = o.get(l) ?? m[0].code;
1032
+ const o = new Map(((a == null ? void 0 : a.edges) ?? []).map((r) => [r.edgeName, r.code])), c = [];
1033
+ for (const [r, m] of l) {
1034
+ const u = o.get(r) ?? m[0].code;
1035
1035
  c.push({
1036
1036
  code: u,
1037
- edgeName: l,
1037
+ edgeName: r,
1038
1038
  displayName: m[0].displayName,
1039
1039
  status: "ACTIVE",
1040
1040
  endpoints: m.map((h) => ({
@@ -1054,10 +1054,10 @@ function Wa({
1054
1054
  view: e,
1055
1055
  base: a,
1056
1056
  categories: s,
1057
- counts: r,
1057
+ counts: l,
1058
1058
  ontologyName: o,
1059
1059
  domainCode: c,
1060
- domainName: l,
1060
+ domainName: r,
1061
1061
  chainTagNames: m,
1062
1062
  flashTagNames: u,
1063
1063
  activeEdgeName: h,
@@ -1101,21 +1101,21 @@ function Wa({
1101
1101
  /* @__PURE__ */ t("div", { className: "osc-sg-tp-domain", children: [
1102
1102
  "域",
1103
1103
  /* @__PURE__ */ t("span", { className: "mono", children: [
1104
- l,
1104
+ r,
1105
1105
  " · ",
1106
1106
  c
1107
1107
  ] })
1108
1108
  ] })
1109
1109
  ] }),
1110
1110
  /* @__PURE__ */ n(
1111
- rs,
1111
+ ls,
1112
1112
  {
1113
1113
  tags: C.tags,
1114
1114
  edges: C.edges,
1115
1115
  tagTotal: C.tags.length,
1116
1116
  edgeTotal: C.edges.length,
1117
1117
  categories: s,
1118
- instanceCountKnown: r.graphBound && !r.loading,
1118
+ instanceCountKnown: l.graphBound && !l.loading,
1119
1119
  chainTagNames: m,
1120
1120
  flashTagNames: u,
1121
1121
  activeEdgeName: h,
@@ -1132,15 +1132,15 @@ function Za({
1132
1132
  detail: e,
1133
1133
  graph: a,
1134
1134
  graphFailed: s,
1135
- onReloadGraph: r,
1135
+ onReloadGraph: l,
1136
1136
  model: o,
1137
1137
  domainCode: c,
1138
- domainName: l,
1138
+ domainName: r,
1139
1139
  identity: m,
1140
1140
  actions: u
1141
1141
  }) {
1142
1142
  var M;
1143
- const h = Va(e.scenarioCode), d = qa(), b = ja(), i = ls(), f = os({ scope: "SCENARIO", scenarioCode: e.scenarioCode }), C = Y(
1143
+ const h = Va(e.scenarioCode), d = qa(), b = ja(), i = rs(), f = os({ scope: "SCENARIO", scenarioCode: e.scenarioCode }), C = Y(
1144
1144
  () => h.loading || !h.graphBound ? void 0 : { graphBound: !0, byTag: h.byTag },
1145
1145
  [h.loading, h.graphBound, h.byTag]
1146
1146
  ), v = Y(
@@ -1153,7 +1153,7 @@ function Za({
1153
1153
  },
1154
1154
  []
1155
1155
  );
1156
- const re = Y(
1156
+ const le = Y(
1157
1157
  () => Object.fromEntries(
1158
1158
  ((v == null ? void 0 : v.nodes) ?? []).map((S) => [
1159
1159
  S.tagName,
@@ -1169,11 +1169,11 @@ function Za({
1169
1169
  ])
1170
1170
  ),
1171
1171
  [v]
1172
- ), le = (S) => {
1172
+ ), re = (S) => {
1173
1173
  const $ = g.pickNode(S);
1174
1174
  $.kind === "unreachable" && en("未找到可行链路", `已将 ${$.tagName} 切换为链路起点`, "warn");
1175
1175
  }, oe = (S) => {
1176
- i.clearFocus(), q(null), H(null), R(null), f.enterInstanceWith(S), N({ kind: "tag", tagName: S, tagLabels: re }), A("table");
1176
+ i.clearFocus(), q(null), H(null), R(null), f.enterInstanceWith(S), N({ kind: "tag", tagName: S, tagLabels: le }), A("table");
1177
1177
  }, Q = () => {
1178
1178
  const S = g.chainNodeNames;
1179
1179
  if (S.length === 1) {
@@ -1185,7 +1185,7 @@ function Za({
1185
1185
  i.clearFocus(), q(null), H(null), R(null), f.enterInstanceWithTags([...new Set(S)]), A("table"), N({
1186
1186
  kind: "chain",
1187
1187
  steps: $,
1188
- tagLabels: re,
1188
+ tagLabels: le,
1189
1189
  edgeLabels: fe,
1190
1190
  edgeReversed: $.map((P) => {
1191
1191
  const j = ((v == null ? void 0 : v.edges) ?? []).find(
@@ -1241,10 +1241,10 @@ function Za({
1241
1241
  };
1242
1242
  });
1243
1243
  return { nodes: $, edges: P };
1244
- }, [v, g.chainNodeNames, g.selectedSteps]), B = Y(
1244
+ }, [v, g.chainNodeNames, g.selectedSteps]), _ = Y(
1245
1245
  () => (g.selectedSteps ?? []).map((S) => S.edgeName),
1246
1246
  [g.selectedSteps]
1247
- ), _ = g.selectedSteps && g.selectedSteps.length > is ? `链路已达 ${g.selectedSteps.length} 段(上限 4 段),点击链上节点截断后再查` : void 0;
1247
+ ), B = g.selectedSteps && g.selectedSteps.length > is ? `链路已达 ${g.selectedSteps.length} 段(上限 4 段),点击链上节点截断后再查` : void 0;
1248
1248
  Ds(() => {
1249
1249
  if (Z) {
1250
1250
  H(null);
@@ -1282,8 +1282,8 @@ function Za({
1282
1282
  view: we,
1283
1283
  loading: !a && !s,
1284
1284
  failed: s,
1285
- onRetry: r,
1286
- onRefresh: r,
1285
+ onRetry: l,
1286
+ onRefresh: l,
1287
1287
  categories: b,
1288
1288
  layer: f.layer,
1289
1289
  tagCount: Number((v == null ? void 0 : v.nodeCount) ?? 0),
@@ -1300,7 +1300,7 @@ function Za({
1300
1300
  var $;
1301
1301
  return i.focusInstance(S.vid, (($ = f.subgraph.view) == null ? void 0 : $.edges) ?? []);
1302
1302
  },
1303
- onChainNodePick: le,
1303
+ onChainNodePick: re,
1304
1304
  onChainEdgePick: (S) => {
1305
1305
  g.pickEdge(
1306
1306
  S.edgeName,
@@ -1319,7 +1319,7 @@ function Za({
1319
1319
  onExpandNeighbors: () => {
1320
1320
  },
1321
1321
  chainPathKeys: g.pathNodeKeys,
1322
- chainEdgeNames: B,
1322
+ chainEdgeNames: _,
1323
1323
  highlightEdgeName: K ?? void 0,
1324
1324
  headLeft: /* @__PURE__ */ t("div", { className: "osc-sg-head", children: [
1325
1325
  m,
@@ -1342,13 +1342,13 @@ function Za({
1342
1342
  counts: h,
1343
1343
  ontologyName: d.name,
1344
1344
  domainCode: c,
1345
- domainName: l,
1345
+ domainName: r,
1346
1346
  chainTagNames: g.chainNodeNames,
1347
1347
  flashTagNames: ae,
1348
1348
  activeEdgeName: K ?? void 0,
1349
1349
  collapsed: y,
1350
1350
  onToggleCollapsed: () => T((S) => !S),
1351
- onPickTag: le,
1351
+ onPickTag: re,
1352
1352
  onPickEdge: Se
1353
1353
  }
1354
1354
  ) : null,
@@ -1362,7 +1362,7 @@ function Za({
1362
1362
  maxHops: g.maxHops,
1363
1363
  maxResults: g.maxResults,
1364
1364
  canQuery: g.canQuery || g.chainNodeNames.length === 1,
1365
- queryHint: _,
1365
+ queryHint: B,
1366
1366
  onTruncateAt: g.truncateAt,
1367
1367
  onStepBack: g.stepBack,
1368
1368
  onClear: g.clearAll,
@@ -1432,7 +1432,7 @@ function Xa({ detail: e, onOpenRun: a }) {
1432
1432
  /* @__PURE__ */ n("span", { className: "osc-health-sep" }),
1433
1433
  /* @__PURE__ */ t("span", { children: [
1434
1434
  "延迟 ",
1435
- /* @__PURE__ */ n("b", { children: ln(e.lagMs) })
1435
+ /* @__PURE__ */ n("b", { children: rn(e.lagMs) })
1436
1436
  ] }),
1437
1437
  /* @__PURE__ */ n("span", { className: "osc-health-sep" }),
1438
1438
  /* @__PURE__ */ t("span", { children: [
@@ -1458,7 +1458,7 @@ function Xa({ detail: e, onOpenRun: a }) {
1458
1458
  }
1459
1459
  function et({ detail: e }) {
1460
1460
  var o;
1461
- const a = Ue(e), s = !a && (e.stale || e.syncStatus === 5), r = e.activeProjection;
1461
+ const a = Ue(e), s = !a && (e.stale || e.syncStatus === 5), l = e.activeProjection;
1462
1462
  return /* @__PURE__ */ t("div", { className: "osc-side-card", children: [
1463
1463
  /* @__PURE__ */ t("div", { className: "osc-side-head", children: [
1464
1464
  /* @__PURE__ */ n(Ye, {}),
@@ -1489,16 +1489,16 @@ function et({ detail: e }) {
1489
1489
  ] }),
1490
1490
  /* @__PURE__ */ t("div", { className: "row", children: [
1491
1491
  /* @__PURE__ */ n("label", { children: "生效工单" }),
1492
- /* @__PURE__ */ n("b", { className: "mono", children: (r == null ? void 0 : r.effectiveOrderCode) || "—" })
1492
+ /* @__PURE__ */ n("b", { className: "mono", children: (l == null ? void 0 : l.effectiveOrderCode) || "—" })
1493
1493
  ] }),
1494
1494
  /* @__PURE__ */ t("div", { className: "row", children: [
1495
1495
  /* @__PURE__ */ n("label", { children: "生效时间" }),
1496
- /* @__PURE__ */ n("b", { className: "mono", children: X(r == null ? void 0 : r.effectiveAt) })
1496
+ /* @__PURE__ */ n("b", { className: "mono", children: X(l == null ? void 0 : l.effectiveAt) })
1497
1497
  ] })
1498
1498
  ] }),
1499
1499
  /* @__PURE__ */ t("div", { className: "row", children: [
1500
1500
  /* @__PURE__ */ n("label", { children: "定义哈希" }),
1501
- /* @__PURE__ */ n("b", { className: "mono", children: ((o = r == null ? void 0 : r.definitionHash) == null ? void 0 : o.slice(0, 16)) || "—" })
1501
+ /* @__PURE__ */ n("b", { className: "mono", children: ((o = l == null ? void 0 : l.definitionHash) == null ? void 0 : o.slice(0, 16)) || "—" })
1502
1502
  ] })
1503
1503
  ] })
1504
1504
  ] })
@@ -1548,11 +1548,11 @@ function at({
1548
1548
  open: e,
1549
1549
  onClose: a,
1550
1550
  detail: s,
1551
- definition: r,
1551
+ definition: l,
1552
1552
  model: o,
1553
1553
  consumers: c
1554
1554
  }) {
1555
- const l = Ue(s), m = (r == null ? void 0 : r.identity.strategy) === "PREFIX_TARGET_TAG" ? "目标类型前缀" : "保留源 vid";
1555
+ const r = Ue(s), m = (l == null ? void 0 : l.identity.strategy) === "PREFIX_TARGET_TAG" ? "目标类型前缀" : "保留源 vid";
1556
1556
  return /* @__PURE__ */ t(
1557
1557
  We,
1558
1558
  {
@@ -1567,14 +1567,14 @@ function at({
1567
1567
  /* @__PURE__ */ n("p", { className: "osc-drawer-lead", children: s.description || "未填写场景说明。" }),
1568
1568
  /* @__PURE__ */ t("div", { className: "osc-def-grid", children: [
1569
1569
  /* @__PURE__ */ t("div", { className: "osc-kv", children: [
1570
- l ? null : /* @__PURE__ */ t(J, { children: [
1570
+ r ? null : /* @__PURE__ */ t(J, { children: [
1571
1571
  /* @__PURE__ */ t("div", { className: "row", children: [
1572
1572
  /* @__PURE__ */ n("label", { children: "数据截至" }),
1573
1573
  /* @__PURE__ */ n("b", { className: "mono", children: X(s.dataAsOf) })
1574
1574
  ] }),
1575
1575
  /* @__PURE__ */ t("div", { className: "row", children: [
1576
1576
  /* @__PURE__ */ n("label", { children: "同步延迟" }),
1577
- /* @__PURE__ */ n("b", { children: ln(s.lagMs) })
1577
+ /* @__PURE__ */ n("b", { children: rn(s.lagMs) })
1578
1578
  ] }),
1579
1579
  /* @__PURE__ */ t("div", { className: "row", children: [
1580
1580
  /* @__PURE__ */ n("label", { children: "场景空间" }),
@@ -1586,8 +1586,8 @@ function at({
1586
1586
  /* @__PURE__ */ n("b", { className: "mono", children: s.baseSchemaVersion ?? "—" })
1587
1587
  ] }),
1588
1588
  /* @__PURE__ */ t("div", { className: "row", children: [
1589
- /* @__PURE__ */ n("label", { children: l ? "定义版本" : "投影版本" }),
1590
- /* @__PURE__ */ n("b", { className: "mono", children: s.projectionVersion ? `v${s.projectionVersion}` : l ? "—" : "未钉版本" })
1589
+ /* @__PURE__ */ n("label", { children: r ? "定义版本" : "投影版本" }),
1590
+ /* @__PURE__ */ n("b", { className: "mono", children: s.projectionVersion ? `v${s.projectionVersion}` : r ? "—" : "未钉版本" })
1591
1591
  ] }),
1592
1592
  /* @__PURE__ */ t("div", { className: "row", children: [
1593
1593
  /* @__PURE__ */ n("label", { children: "创建时间" }),
@@ -1599,7 +1599,7 @@ function at({
1599
1599
  /* @__PURE__ */ n("label", { children: "场景编码" }),
1600
1600
  /* @__PURE__ */ n("b", { className: "mono", children: s.scenarioCode })
1601
1601
  ] }),
1602
- l ? null : /* @__PURE__ */ t(J, { children: [
1602
+ r ? null : /* @__PURE__ */ t(J, { children: [
1603
1603
  /* @__PURE__ */ t("div", { className: "row", children: [
1604
1604
  /* @__PURE__ */ n("label", { children: "定义方式" }),
1605
1605
  /* @__PURE__ */ n("b", { children: /* @__PURE__ */ n(O, { color: "blue", children: "基础子图 + 映射" }) })
@@ -1625,7 +1625,7 @@ function at({
1625
1625
  " 个"
1626
1626
  ] })
1627
1627
  ] }),
1628
- l ? null : /* @__PURE__ */ t("div", { className: "row", children: [
1628
+ r ? null : /* @__PURE__ */ t("div", { className: "row", children: [
1629
1629
  /* @__PURE__ */ n("label", { children: "失败项" }),
1630
1630
  /* @__PURE__ */ t("b", { className: s.failedItemCount > 0 ? "osc-danger" : "", children: [
1631
1631
  s.failedItemCount,
@@ -1666,17 +1666,17 @@ function tt({ relations: e }) {
1666
1666
  /* @__PURE__ */ n("small", { children: a.sources.length ? a.sources.join(" / ") : "新增关系" })
1667
1667
  ] }),
1668
1668
  /* @__PURE__ */ n("span", { className: "osc-edge-arrow", children: "→" }),
1669
- /* @__PURE__ */ n("div", { className: "osc-edge-cells", children: a.endpoints.length === 0 ? /* @__PURE__ */ n("small", { children: "未声明端点" }) : a.endpoints.map((r) => /* @__PURE__ */ t("span", { children: [
1670
- /* @__PURE__ */ n("b", { children: r.srcTag }),
1669
+ /* @__PURE__ */ n("div", { className: "osc-edge-cells", children: a.endpoints.length === 0 ? /* @__PURE__ */ n("small", { children: "未声明端点" }) : a.endpoints.map((l) => /* @__PURE__ */ t("span", { children: [
1670
+ /* @__PURE__ */ n("b", { children: l.srcTag }),
1671
1671
  " → ",
1672
- /* @__PURE__ */ n("b", { children: r.dstTag })
1673
- ] }, `${r.srcTag}-${r.dstTag}`)) }),
1672
+ /* @__PURE__ */ n("b", { children: l.dstTag })
1673
+ ] }, `${l.srcTag}-${l.dstTag}`)) }),
1674
1674
  /* @__PURE__ */ n(O, { color: a.op === "DIRECT" ? "default" : "geekblue", children: ((s = Rs[a.op]) == null ? void 0 : s.label) ?? a.op })
1675
1675
  ] }, a.target);
1676
1676
  })
1677
1677
  ] });
1678
1678
  }
1679
- function rt({
1679
+ function lt({
1680
1680
  projections: e,
1681
1681
  loading: a
1682
1682
  }) {
@@ -1691,49 +1691,49 @@ function rt({
1691
1691
  title: "版本",
1692
1692
  dataIndex: "version",
1693
1693
  width: 80,
1694
- render: (r) => `v${r}`
1694
+ render: (l) => `v${l}`
1695
1695
  },
1696
1696
  {
1697
1697
  title: "模式",
1698
1698
  dataIndex: "mode",
1699
1699
  width: 110,
1700
- render: (r) => r === "SUBGRAPH" ? /* @__PURE__ */ n(O, { color: "blue", children: "纯子图" }) : r === "MIXED" ? /* @__PURE__ */ n(O, { children: "混合映射" }) : "-"
1700
+ render: (l) => l === "SUBGRAPH" ? /* @__PURE__ */ n(O, { color: "blue", children: "纯子图" }) : l === "MIXED" ? /* @__PURE__ */ n(O, { children: "混合映射" }) : "-"
1701
1701
  },
1702
1702
  {
1703
1703
  title: "状态",
1704
1704
  dataIndex: "status",
1705
1705
  width: 100,
1706
- render: (r, o) => /* @__PURE__ */ n(_a, { status: o.status })
1706
+ render: (l, o) => /* @__PURE__ */ n(Ba, { status: o.status })
1707
1707
  },
1708
1708
  {
1709
1709
  title: "定义哈希",
1710
1710
  dataIndex: "definitionHash",
1711
1711
  width: 220,
1712
- render: (r) => r ? /* @__PURE__ */ n(ue.Text, { code: !0, ellipsis: { tooltip: r }, style: { maxWidth: 200 }, children: r }) : "-"
1712
+ render: (l) => l ? /* @__PURE__ */ n(ue.Text, { code: !0, ellipsis: { tooltip: l }, style: { maxWidth: 200 }, children: l }) : "-"
1713
1713
  },
1714
1714
  {
1715
1715
  title: "生效工单",
1716
1716
  dataIndex: "effectiveOrderCode",
1717
1717
  width: 180,
1718
- render: (r) => r || "-"
1718
+ render: (l) => l || "-"
1719
1719
  },
1720
1720
  {
1721
1721
  title: "生效时间",
1722
1722
  dataIndex: "effectiveAt",
1723
1723
  width: 150,
1724
- render: (r) => X(r)
1724
+ render: (l) => X(l)
1725
1725
  },
1726
1726
  {
1727
1727
  title: "当前生效",
1728
1728
  dataIndex: "active",
1729
1729
  width: 90,
1730
- render: (r) => r ? /* @__PURE__ */ n(O, { color: "success", children: "生效中" }) : "-"
1730
+ render: (l) => l ? /* @__PURE__ */ n(O, { color: "success", children: "生效中" }) : "-"
1731
1731
  }
1732
1732
  ],
1733
1733
  dataSource: e,
1734
1734
  locale: { emptyText: "暂无投影版本" },
1735
1735
  expandable: {
1736
- expandedRowRender: (r) => /* @__PURE__ */ n("pre", { className: "osc-json-block", children: r.definition || "(无定义内容)" })
1736
+ expandedRowRender: (l) => /* @__PURE__ */ n("pre", { className: "osc-json-block", children: l.definition || "(无定义内容)" })
1737
1737
  }
1738
1738
  }
1739
1739
  );
@@ -1741,12 +1741,12 @@ function rt({
1741
1741
  function Fn(e) {
1742
1742
  return e.syncStatus === 5;
1743
1743
  }
1744
- function lt({
1744
+ function rt({
1745
1745
  detail: e,
1746
1746
  workbenchPath: a,
1747
1747
  onOpenSync: s
1748
1748
  }) {
1749
- const r = `/ontology/scenarios/${encodeURIComponent(e.scenarioCode)}/edit`, o = e.projectionVersion ? `v${e.projectionVersion}` : "未钉版本";
1749
+ const l = `/ontology/scenarios/${encodeURIComponent(e.scenarioCode)}/edit`, o = e.projectionVersion ? `v${e.projectionVersion}` : "未钉版本";
1750
1750
  return /* @__PURE__ */ n("section", { className: "osc-stale-guide", "aria-label": "结构陈旧处置", children: /* @__PURE__ */ t("div", { className: "osc-stale-guide-head", children: [
1751
1751
  /* @__PURE__ */ n(Ln, {}),
1752
1752
  /* @__PURE__ */ n("b", { children: "结构已陈旧" }),
@@ -1755,7 +1755,7 @@ function lt({
1755
1755
  /* @__PURE__ */ n("span", { className: "spacer" }),
1756
1756
  /* @__PURE__ */ n(F, { title: "更新投影并提交工单,审批生效后在同一场景空间就地 diff 并全量重放,成功后恢复增量同步;不新建空间,也不能沿用旧版本重试。", children: /* @__PURE__ */ n(Ie, { className: "osc-help" }) }),
1757
1757
  a && e.status !== 2 ? /* @__PURE__ */ n("span", { className: "note", children: "场景不可编辑:先恢复可用状态" }) : null,
1758
- a && e.status === 2 ? /* @__PURE__ */ n(Be, { to: r, children: /* @__PURE__ */ n(D, { type: "primary", size: "small", icon: /* @__PURE__ */ n(Sn, {}), children: "更新投影工单" }) }) : null,
1758
+ a && e.status === 2 ? /* @__PURE__ */ n(_e, { to: l, children: /* @__PURE__ */ n(D, { type: "primary", size: "small", icon: /* @__PURE__ */ n(Sn, {}), children: "更新投影工单" }) }) : null,
1759
1759
  s ? /* @__PURE__ */ n(D, { size: "small", type: "text", icon: /* @__PURE__ */ n(wn, {}), onClick: s, children: "查看同步运行" }) : null
1760
1760
  ] }) });
1761
1761
  }
@@ -1764,10 +1764,10 @@ function ct({
1764
1764
  detail: e,
1765
1765
  actions: a,
1766
1766
  onDeleted: s,
1767
- readOnly: r = !1,
1767
+ readOnly: l = !1,
1768
1768
  readOnlyReason: o
1769
1769
  }) {
1770
- const [c, l] = p(!1), [m, u] = p(""), h = e.status === 2, d = e.syncPaused === 1, b = Fn(e), i = e.status === 3 || e.syncStatus === 6, f = r ? o : b ? ot : void 0, C = async (T) => {
1770
+ const [c, r] = p(!1), [m, u] = p(""), h = e.status === 2, d = e.syncPaused === 1, b = Fn(e), i = e.status === 3 || e.syncStatus === 6, f = l ? o : b ? ot : void 0, C = async (T) => {
1771
1771
  await Oe({
1772
1772
  title: "重新下发同步运行",
1773
1773
  sub: T === 2 ? "按增量通道从当前水位继续消费变更流;在途运行会被拒绝(51113)。" : "从当前水位重新全量重放;期间场景不可读,完成后自动恢复。",
@@ -1793,14 +1793,14 @@ function ct({
1793
1793
  title: "删除场景",
1794
1794
  sub: "删除后场景空间交由清理任务异步回收,空间编码作废且不复用;该操作不可撤销。",
1795
1795
  confirmText: "删除"
1796
- }) && (l(!1), await a.remove(), s());
1796
+ }) && (r(!1), await a.remove(), s());
1797
1797
  };
1798
1798
  return /* @__PURE__ */ t(J, { children: [
1799
1799
  /* @__PURE__ */ t(Fe, { wrap: !0, children: [
1800
1800
  /* @__PURE__ */ n(F, { title: f, children: /* @__PURE__ */ n("span", { children: /* @__PURE__ */ n(
1801
1801
  kn,
1802
1802
  {
1803
- disabled: r || !h || b || a.busy !== void 0,
1803
+ disabled: l || !h || b || a.busy !== void 0,
1804
1804
  menu: {
1805
1805
  items: [
1806
1806
  { key: "1", label: "全量重放" },
@@ -1815,7 +1815,7 @@ function ct({
1815
1815
  D,
1816
1816
  {
1817
1817
  loading: a.busy === "resume",
1818
- disabled: r || !h,
1818
+ disabled: l || !h,
1819
1819
  onClick: () => a.resume(),
1820
1820
  children: "恢复增量"
1821
1821
  }
@@ -1823,8 +1823,8 @@ function ct({
1823
1823
  D,
1824
1824
  {
1825
1825
  loading: a.busy === "pause",
1826
- disabled: r || !h || e.status === 1 || b,
1827
- onClick: () => l(!0),
1826
+ disabled: l || !h || e.status === 1 || b,
1827
+ onClick: () => r(!0),
1828
1828
  children: "暂停增量"
1829
1829
  }
1830
1830
  ) }) }),
@@ -1832,7 +1832,7 @@ function ct({
1832
1832
  D,
1833
1833
  {
1834
1834
  loading: a.busy === "repair",
1835
- disabled: r || !h || b || e.failedItemCount === 0,
1835
+ disabled: l || !h || b || e.failedItemCount === 0,
1836
1836
  onClick: () => void g(),
1837
1837
  children: "定点修复"
1838
1838
  }
@@ -1841,7 +1841,7 @@ function ct({
1841
1841
  D,
1842
1842
  {
1843
1843
  loading: a.busy === "reconcile",
1844
- disabled: r || !h || b,
1844
+ disabled: l || !h || b,
1845
1845
  onClick: () => void v(),
1846
1846
  children: "对账"
1847
1847
  }
@@ -1851,7 +1851,7 @@ function ct({
1851
1851
  {
1852
1852
  danger: !0,
1853
1853
  loading: a.busy === "delete",
1854
- disabled: r || !i,
1854
+ disabled: l || !i,
1855
1855
  onClick: () => void y(),
1856
1856
  children: "删除场景"
1857
1857
  }
@@ -1866,9 +1866,9 @@ function ct({
1866
1866
  cancelText: "取消",
1867
1867
  confirmLoading: a.busy === "pause",
1868
1868
  onOk: () => {
1869
- a.pause(m.trim()), l(!1), u("");
1869
+ a.pause(m.trim()), r(!1), u("");
1870
1870
  },
1871
- onCancel: () => l(!1),
1871
+ onCancel: () => r(!1),
1872
1872
  children: /* @__PURE__ */ n(
1873
1873
  se.TextArea,
1874
1874
  {
@@ -1918,7 +1918,7 @@ function it({ detail: e }) {
1918
1918
  /* @__PURE__ */ n(U.Item, { label: "基础 Schema 版本", children: e.baseSchemaVersion ?? "-" }),
1919
1919
  /* @__PURE__ */ n(U.Item, { label: "已应用变更水位", children: e.lastAppliedChangeId ?? "-" }),
1920
1920
  /* @__PURE__ */ n(U.Item, { label: "数据截止", children: X(e.dataAsOf) }),
1921
- /* @__PURE__ */ n(U.Item, { label: "同步延迟", children: /* @__PURE__ */ n(O, { color: e.stale ? "orange" : "blue", children: ln(e.lagMs) }) }),
1921
+ /* @__PURE__ */ n(U.Item, { label: "同步延迟", children: /* @__PURE__ */ n(O, { color: e.stale ? "orange" : "blue", children: rn(e.lagMs) }) }),
1922
1922
  /* @__PURE__ */ n(U.Item, { label: "最近同步", children: X(e.lastSyncedAt) }),
1923
1923
  /* @__PURE__ */ n(U.Item, { label: "创建时间", children: X(e.createTime) })
1924
1924
  ] })
@@ -2012,7 +2012,7 @@ function ut({ state: e }) {
2012
2012
  title: "状态",
2013
2013
  dataIndex: "status",
2014
2014
  width: 100,
2015
- render: (s) => /* @__PURE__ */ n(Ba, { status: s })
2015
+ render: (s) => /* @__PURE__ */ n(_a, { status: s })
2016
2016
  },
2017
2017
  {
2018
2018
  title: "投影版本",
@@ -2024,7 +2024,7 @@ function ut({ state: e }) {
2024
2024
  title: "水位",
2025
2025
  key: "watermark",
2026
2026
  width: 140,
2027
- render: (s, r) => `${an(r.watermarkFrom)} → ${an(r.watermarkTo)}`
2027
+ render: (s, l) => `${an(l.watermarkFrom)} → ${an(l.watermarkTo)}`
2028
2028
  },
2029
2029
  {
2030
2030
  title: "统计",
@@ -2109,18 +2109,18 @@ function ut({ state: e }) {
2109
2109
  ] });
2110
2110
  }
2111
2111
  function mt({ detail: e }) {
2112
- const a = e.status === 2, s = e.status === 1, r = s && e.syncStatus === 2, o = e.activeRun ? `全量重放 ${e.activeRun.runCode} · ${X(e.activeRun.startedAt)}` : "全量重放", c = [
2112
+ const a = e.status === 2, s = e.status === 1, l = s && e.syncStatus === 2, o = e.activeRun ? `全量重放 ${e.activeRun.runCode} · ${X(e.activeRun.startedAt)}` : "全量重放", c = [
2113
2113
  {
2114
2114
  done: !0,
2115
2115
  text: s ? "工单生效:结构已建,自动生成 FULL 运行。" : "结构已就绪,无在途结构变更。"
2116
2116
  },
2117
2117
  {
2118
- done: !r,
2119
- text: `${o}${r ? " 进行中" : " 已完成"}。`
2118
+ done: !l,
2119
+ text: `${o}${l ? " 进行中" : " 已完成"}。`
2120
2120
  },
2121
2121
  {
2122
2122
  done: !1,
2123
- text: r ? "校验完成前查询返回 SCENARIO_PROVISIONING。" : s ? "结构初始化中;完成后自动开始全量重放。" : e.status === 3 ? "场景已停用;空间与数据保留,不对外解析。" : "场景已删除,空间已异步清理,编码永久作废。"
2123
+ text: l ? "校验完成前查询返回 SCENARIO_PROVISIONING。" : s ? "结构初始化中;完成后自动开始全量重放。" : e.status === 3 ? "场景已停用;空间与数据保留,不对外解析。" : "场景已删除,空间已异步清理,编码永久作废。"
2124
2124
  }
2125
2125
  ];
2126
2126
  return a ? /* @__PURE__ */ n("div", { className: "osc-gate", children: /* @__PURE__ */ t("div", { className: "osc-gate-row ok", children: [
@@ -2129,19 +2129,19 @@ function mt({ detail: e }) {
2129
2129
  o,
2130
2130
  " 已完成,场景可解析。"
2131
2131
  ] })
2132
- ] }) }) : /* @__PURE__ */ n("div", { className: "osc-gate", children: c.map((l) => /* @__PURE__ */ t("div", { className: `osc-gate-row ${l.done ? "ok" : "warn"}`, children: [
2133
- /* @__PURE__ */ n("span", { className: "ic", children: l.done ? /* @__PURE__ */ n(hn, {}) : /* @__PURE__ */ n(Ys, {}) }),
2134
- /* @__PURE__ */ n("span", { children: l.text })
2135
- ] }, l.text)) });
2132
+ ] }) }) : /* @__PURE__ */ n("div", { className: "osc-gate", children: c.map((r) => /* @__PURE__ */ t("div", { className: `osc-gate-row ${r.done ? "ok" : "warn"}`, children: [
2133
+ /* @__PURE__ */ n("span", { className: "ic", children: r.done ? /* @__PURE__ */ n(hn, {}) : /* @__PURE__ */ n(Ys, {}) }),
2134
+ /* @__PURE__ */ n("span", { children: r.text })
2135
+ ] }, r.text)) });
2136
2136
  }
2137
2137
  function ht({
2138
2138
  open: e,
2139
2139
  onClose: a,
2140
2140
  detail: s,
2141
- state: r,
2141
+ state: l,
2142
2142
  actions: o,
2143
2143
  readOnly: c,
2144
- readOnlyReason: l,
2144
+ readOnlyReason: r,
2145
2145
  onDeleted: m
2146
2146
  }) {
2147
2147
  var u;
@@ -2170,11 +2170,11 @@ function ht({
2170
2170
  detail: s,
2171
2171
  actions: o,
2172
2172
  readOnly: c,
2173
- readOnlyReason: l,
2173
+ readOnlyReason: r,
2174
2174
  onDeleted: m
2175
2175
  }
2176
2176
  ) }) }),
2177
- /* @__PURE__ */ n("div", { className: "panel-body flush", children: /* @__PURE__ */ n(ut, { state: r }) })
2177
+ /* @__PURE__ */ n("div", { className: "panel-body flush", children: /* @__PURE__ */ n(ut, { state: l }) })
2178
2178
  ] })
2179
2179
  },
2180
2180
  {
@@ -2184,7 +2184,7 @@ function ht({
2184
2184
  s.failedItemCount,
2185
2185
  /* @__PURE__ */ n(F, { title: "失败不会自动重试:需人工修复后触发下一轮同步,修复后核对水位是否推进。", children: /* @__PURE__ */ n(Ie, { className: "osc-help" }) })
2186
2186
  ] }),
2187
- children: /* @__PURE__ */ n("section", { className: "panel", children: /* @__PURE__ */ n("div", { className: "panel-body flush", children: /* @__PURE__ */ n(dt, { state: r }) }) })
2187
+ children: /* @__PURE__ */ n("section", { className: "panel", children: /* @__PURE__ */ n("div", { className: "panel-body flush", children: /* @__PURE__ */ n(dt, { state: l }) }) })
2188
2188
  },
2189
2189
  {
2190
2190
  key: "space",
@@ -2216,10 +2216,10 @@ function ht({
2216
2216
  /* @__PURE__ */ n("span", { className: "hint", children: "历史版本不可修改" })
2217
2217
  ] }),
2218
2218
  /* @__PURE__ */ n("div", { className: "panel-body flush", children: /* @__PURE__ */ n(
2219
- rt,
2219
+ lt,
2220
2220
  {
2221
- projections: r.projections,
2222
- loading: r.projectionsLoading
2221
+ projections: l.projections,
2222
+ loading: l.projectionsLoading
2223
2223
  }
2224
2224
  ) })
2225
2225
  ] })
@@ -2340,11 +2340,11 @@ function Tt(e) {
2340
2340
  });
2341
2341
  }
2342
2342
  function St(e, a) {
2343
- const { message: s } = _e.useApp(), [r, o] = p(!1), [c, l] = p(null), [m, u] = p(), [h, d] = p(!1), [b, i] = p(!1), f = ce(0), C = x(() => {
2344
- l(null), u(void 0), o(!0);
2343
+ const { message: s } = Be.useApp(), [l, o] = p(!1), [c, r] = p(null), [m, u] = p(), [h, d] = p(!1), [b, i] = p(!1), f = ce(0), C = x(() => {
2344
+ r(null), u(void 0), o(!0);
2345
2345
  }, []), v = x(
2346
2346
  (k) => {
2347
- l(k), u(void 0), d(!0), o(!0);
2347
+ r(k), u(void 0), d(!0), o(!0);
2348
2348
  const A = ++f.current;
2349
2349
  pn(e, k).then((w) => {
2350
2350
  f.current === A && (u(w), d(!1));
@@ -2363,7 +2363,7 @@ function St(e, a) {
2363
2363
  };
2364
2364
  try {
2365
2365
  const w = c ? await yt(A) : await vt(A);
2366
- return w && (l(w.id), u(w), s.success("已保存为草稿;发布须先在右侧调试台试运行通过"), a()), w;
2366
+ return w && (r(w.id), u(w), s.success("已保存为草稿;发布须先在右侧调试台试运行通过"), a()), w;
2367
2367
  } finally {
2368
2368
  i(!1);
2369
2369
  }
@@ -2378,7 +2378,7 @@ function St(e, a) {
2378
2378
  });
2379
2379
  }, [c, e]);
2380
2380
  return {
2381
- open: r,
2381
+ open: l,
2382
2382
  openCreate: C,
2383
2383
  openEdit: v,
2384
2384
  close: g,
@@ -2395,8 +2395,8 @@ function wt(e) {
2395
2395
  if (!e)
2396
2396
  return [];
2397
2397
  const a = [], s = /* @__PURE__ */ new Set();
2398
- for (const r of e.matchAll(Ct))
2399
- s.has(r[1]) || (s.add(r[1]), a.push(r[1]));
2398
+ for (const l of e.matchAll(Ct))
2399
+ s.has(l[1]) || (s.add(l[1]), a.push(l[1]));
2400
2400
  return a;
2401
2401
  }
2402
2402
  const It = "PRESERVE";
@@ -2415,8 +2415,8 @@ function Et(e) {
2415
2415
  const a = /* @__PURE__ */ new Set();
2416
2416
  for (const s of e.typeTransforms || [])
2417
2417
  if (s.op === "DIRECT")
2418
- for (const r of s.to || [])
2419
- s.from === r && a.add(r);
2418
+ for (const l of s.to || [])
2419
+ s.from === l && a.add(l);
2420
2420
  if (a.size === 0 && e.mode === "SUBGRAPH")
2421
2421
  for (const s of e.tags || [])
2422
2422
  a.add(s.name);
@@ -2426,13 +2426,13 @@ function fn(e) {
2426
2426
  return { value: e, label: e };
2427
2427
  }
2428
2428
  function Rt(e, a) {
2429
- const [s, r] = p(), [o, c] = p(!1), [l, m] = p(!1), u = ce(null);
2429
+ const [s, l] = p(), [o, c] = p(!1), [r, m] = p(!1), u = ce(null);
2430
2430
  return z(() => {
2431
2431
  if (!a || !e || u.current === e)
2432
2432
  return;
2433
2433
  let h = !0;
2434
2434
  return m(!0), Rn(e).then((d) => {
2435
- h && (u.current = e, r(d), c(!0), m(!1));
2435
+ h && (u.current = e, l(d), c(!0), m(!1));
2436
2436
  }), () => {
2437
2437
  h = !1;
2438
2438
  };
@@ -2444,7 +2444,7 @@ function Rt(e, a) {
2444
2444
  tags: [],
2445
2445
  planTags: [],
2446
2446
  edges: [],
2447
- loading: l,
2447
+ loading: r,
2448
2448
  hint: o ? s ? "场景尚无生效投影;配置型模板可保存,生效后才能调试与调用" : "场景结构加载失败,配置型检索的类型下拉暂不可用" : void 0
2449
2449
  };
2450
2450
  const b = Et(h).map(fn), i = (h.tags || []).map((v) => fn(v.name)), f = /* @__PURE__ */ new Map();
@@ -2458,13 +2458,13 @@ function Rt(e, a) {
2458
2458
  tags: b,
2459
2459
  planTags: i,
2460
2460
  edges: [...f.values()],
2461
- loading: l,
2461
+ loading: r,
2462
2462
  hint: b.length === 0 ? "场景没有可按名称直通且身份保持的对象类型,配置型检索不可用" : void 0
2463
2463
  };
2464
- }, [s, o, l]);
2464
+ }, [s, o, r]);
2465
2465
  }
2466
2466
  function Lt(e, a, s) {
2467
- const [r, o] = p({}), [c, l] = p(!1), [m, u] = p(null), [h, d] = p(null), b = x((C, v) => {
2467
+ const [l, o] = p({}), [c, r] = p(!1), [m, u] = p(null), [h, d] = p(null), b = x((C, v) => {
2468
2468
  o((g) => ({ ...g, [C]: v }));
2469
2469
  }, []), i = x(() => {
2470
2470
  o({}), u(null), d(null);
@@ -2472,20 +2472,20 @@ function Lt(e, a, s) {
2472
2472
  async (C) => {
2473
2473
  const v = C ?? a;
2474
2474
  if (v) {
2475
- l(!0), d(null);
2475
+ r(!0), d(null);
2476
2476
  try {
2477
- const g = await bt(e, v, r);
2477
+ const g = await bt(e, v, l);
2478
2478
  u(g), s();
2479
2479
  } catch (g) {
2480
2480
  u(null), d(g.message || "执行失败");
2481
2481
  } finally {
2482
- l(!1);
2482
+ r(!1);
2483
2483
  }
2484
2484
  }
2485
2485
  },
2486
- [s, e, a, r]
2486
+ [s, e, a, l]
2487
2487
  );
2488
- return { values: r, setValue: b, reset: i, run: f, running: c, result: m, error: h };
2488
+ return { values: l, setValue: b, reset: i, run: f, running: c, result: m, error: h };
2489
2489
  }
2490
2490
  const Kn = [
2491
2491
  { value: 1, label: "图检索", color: "green", desc: "写 nGQL 模板,在场景对象与关系上精确查" },
@@ -2517,23 +2517,23 @@ function $e(e) {
2517
2517
  return a || void 0;
2518
2518
  }
2519
2519
  function je(e, a) {
2520
- const s = a || {}, r = $e(s.queryParam) || "query", o = s.topK ?? 5, c = s.minScore ?? 0.6;
2520
+ const s = a || {}, l = $e(s.queryParam) || "query", o = s.topK ?? 5, c = s.minScore ?? 0.6;
2521
2521
  if (e === 2) {
2522
2522
  const h = $e(s.filterTag);
2523
2523
  return {
2524
2524
  scope: "node",
2525
- queryParam: r,
2525
+ queryParam: l,
2526
2526
  topK: o,
2527
2527
  minScore: c,
2528
2528
  ...h ? { filterTag: h } : {}
2529
2529
  };
2530
2530
  }
2531
- const l = $e(s.startTag), m = $e(s.edgeType), u = $e(s.endTag);
2531
+ const r = $e(s.startTag), m = $e(s.edgeType), u = $e(s.endTag);
2532
2532
  return {
2533
- queryParam: r,
2533
+ queryParam: l,
2534
2534
  topK: o,
2535
2535
  minScore: c,
2536
- ...l ? { startTag: l } : {},
2536
+ ...r ? { startTag: r } : {},
2537
2537
  ...m ? { edgeType: m } : {},
2538
2538
  hops: s.hops ?? 2,
2539
2539
  direction: s.direction || "both",
@@ -2576,7 +2576,7 @@ function xt(e) {
2576
2576
  return e.length > 0 && "source" in e[0] && "target" in e[0];
2577
2577
  }
2578
2578
  function Pt(e, a) {
2579
- return (e.length > 0 ? e : Object.keys(a[0] ?? {})).map((r) => ({ title: r, dataIndex: r, key: r, ellipsis: !0 }));
2579
+ return (e.length > 0 ? e : Object.keys(a[0] ?? {})).map((l) => ({ title: l, dataIndex: l, key: l, ellipsis: !0 }));
2580
2580
  }
2581
2581
  function $t(e, a, s) {
2582
2582
  if (s.length > 0 && "score" in s[0]) {
@@ -2596,7 +2596,7 @@ function Mt(e) {
2596
2596
  return e < 1e3 ? `${Math.max(0, Math.round(e))} ms` : e < 6e4 ? `${(e / 1e3).toFixed(1)} s` : e < 36e5 ? `${Math.round(e / 6e4)} min` : `${(e / 36e5).toFixed(1)} h`;
2597
2597
  }
2598
2598
  function zt({ result: e }) {
2599
- const a = Ge(e.retrievalType), s = jn(a), r = a === 3, o = e.recall || [];
2599
+ const a = Ge(e.retrievalType), s = jn(a), l = a === 3, o = e.recall || [];
2600
2600
  return /* @__PURE__ */ t("div", { className: "oss-debug-result", children: [
2601
2601
  /* @__PURE__ */ t("div", { className: "oss-debug-meta", children: [
2602
2602
  e.retrievalType ? /* @__PURE__ */ n(O, { color: s.color, children: s.label }) : null,
@@ -2605,18 +2605,18 @@ function zt({ result: e }) {
2605
2605
  "命中 ",
2606
2606
  e.rowCount,
2607
2607
  " 行",
2608
- r ? ` · 相似对象 ${e.recallCount ?? o.length} 条` : "",
2608
+ l ? ` · 相似对象 ${e.recallCount ?? o.length} 条` : "",
2609
2609
  ` · 耗时 ${e.durationMs}ms`,
2610
2610
  e.dataAsOf ? ` · 数据时点 ${xs(e.dataAsOf)}` : "",
2611
2611
  e.lagMs != null ? ` · 滞后 ${Mt(e.lagMs)}` : ""
2612
2612
  ] })
2613
2613
  ] }),
2614
- r && o.length > 0 && /* @__PURE__ */ t("div", { className: "oss-debug-stage", children: [
2614
+ l && o.length > 0 && /* @__PURE__ */ t("div", { className: "oss-debug-stage", children: [
2615
2615
  /* @__PURE__ */ n("div", { className: "oss-debug-stage-title", children: "① 向量召回" }),
2616
2616
  /* @__PURE__ */ n(
2617
2617
  me,
2618
2618
  {
2619
- rowKey: (c, l) => `recall-${l}`,
2619
+ rowKey: (c, r) => `recall-${r}`,
2620
2620
  size: "small",
2621
2621
  columns: qn,
2622
2622
  dataSource: o,
@@ -2626,17 +2626,17 @@ function zt({ result: e }) {
2626
2626
  )
2627
2627
  ] }),
2628
2628
  e.renderedContent && /* @__PURE__ */ t("div", { className: "oss-debug-statement", children: [
2629
- /* @__PURE__ */ n("div", { className: "oss-debug-statement-title", children: r ? "② 图扩展语句" : "实际执行语句" }),
2629
+ /* @__PURE__ */ n("div", { className: "oss-debug-statement-title", children: l ? "② 图扩展语句" : "实际执行语句" }),
2630
2630
  /* @__PURE__ */ n("pre", { children: e.renderedContent })
2631
2631
  ] }),
2632
- r && /* @__PURE__ */ n("div", { className: "oss-debug-stage-title", children: "② 扩展结果(按综合分排序)" }),
2632
+ l && /* @__PURE__ */ n("div", { className: "oss-debug-stage-title", children: "② 扩展结果(按综合分排序)" }),
2633
2633
  a === 2 && /* @__PURE__ */ n("div", { className: "oss-debug-stage-title", children: "召回结果" }),
2634
2634
  e.truncated && /* @__PURE__ */ n(
2635
2635
  Ae,
2636
2636
  {
2637
2637
  type: "warning",
2638
2638
  showIcon: !0,
2639
- message: `命中 ${e.rowCount} 行,仅展示前 ${e.rows.length} 行(${r ? "按配置的返回条数截断" : "受控上限 200"})`
2639
+ message: `命中 ${e.rowCount} 行,仅展示前 ${e.rows.length} 行(${l ? "按配置的返回条数截断" : "受控上限 200"})`
2640
2640
  }
2641
2641
  ),
2642
2642
  /* @__PURE__ */ n(
@@ -2645,7 +2645,7 @@ function zt({ result: e }) {
2645
2645
  rowKey: "__rowKey",
2646
2646
  size: "small",
2647
2647
  columns: $t(a, e.columns, e.rows),
2648
- dataSource: e.rows.map((c, l) => ({ ...c, __rowKey: l })),
2648
+ dataSource: e.rows.map((c, r) => ({ ...c, __rowKey: r })),
2649
2649
  pagination: { pageSize: 10, size: "small", hideOnSinglePage: !0 },
2650
2650
  locale: { emptyText: Ot[a] },
2651
2651
  scroll: { x: "max-content" }
@@ -2658,14 +2658,14 @@ const Ke = {
2658
2658
  optionFilterProp: "label",
2659
2659
  style: { width: "100%" }
2660
2660
  };
2661
- function Bt({
2661
+ function _t({
2662
2662
  mode: e,
2663
2663
  config: a,
2664
2664
  options: s,
2665
- onChange: r
2665
+ onChange: l
2666
2666
  }) {
2667
2667
  var h;
2668
- const o = un(a), c = !Vn.test(o), l = Y(() => {
2668
+ const o = un(a), c = !Vn.test(o), r = Y(() => {
2669
2669
  const d = a.startTag;
2670
2670
  return d ? s.edges.filter(
2671
2671
  (b) => b.pairs.some((i) => i.srcTag === d || i.dstTag === d)
@@ -2690,7 +2690,7 @@ function Bt({
2690
2690
  {
2691
2691
  value: o,
2692
2692
  status: c ? "error" : void 0,
2693
- onChange: (d) => r({ queryParam: d.target.value }),
2693
+ onChange: (d) => l({ queryParam: d.target.value }),
2694
2694
  placeholder: "query"
2695
2695
  }
2696
2696
  ),
@@ -2705,7 +2705,7 @@ function Bt({
2705
2705
  min: 1,
2706
2706
  max: 50,
2707
2707
  value: a.topK ?? 5,
2708
- onChange: (d) => r({ topK: d ?? 5 }),
2708
+ onChange: (d) => l({ topK: d ?? 5 }),
2709
2709
  style: { width: "100%" }
2710
2710
  }
2711
2711
  )
@@ -2719,7 +2719,7 @@ function Bt({
2719
2719
  max: 1,
2720
2720
  step: 0.05,
2721
2721
  value: a.minScore ?? 0.6,
2722
- onChange: (d) => r({ minScore: d ?? 0.6 }),
2722
+ onChange: (d) => l({ minScore: d ?? 0.6 }),
2723
2723
  style: { width: "100%" }
2724
2724
  }
2725
2725
  )
@@ -2737,7 +2737,7 @@ function Bt({
2737
2737
  loading: s.loading,
2738
2738
  placeholder: "不限(全部可直通对象)",
2739
2739
  options: s.tags,
2740
- onChange: (d) => r({ filterTag: d })
2740
+ onChange: (d) => l({ filterTag: d })
2741
2741
  }
2742
2742
  )
2743
2743
  ] }),
@@ -2757,7 +2757,7 @@ function Bt({
2757
2757
  loading: s.loading,
2758
2758
  placeholder: "选择起点",
2759
2759
  options: s.tags,
2760
- onChange: (d) => r({ startTag: d })
2760
+ onChange: (d) => l({ startTag: d })
2761
2761
  }
2762
2762
  )
2763
2763
  ] }),
@@ -2773,8 +2773,8 @@ function Bt({
2773
2773
  value: a.edgeType,
2774
2774
  loading: s.loading,
2775
2775
  placeholder: "选择要沿用的关系",
2776
- options: l,
2777
- onChange: (d) => r({ edgeType: d })
2776
+ options: r,
2777
+ onChange: (d) => l({ edgeType: d })
2778
2778
  }
2779
2779
  )
2780
2780
  ] }),
@@ -2786,7 +2786,7 @@ function Bt({
2786
2786
  min: 1,
2787
2787
  max: 3,
2788
2788
  value: a.hops ?? 2,
2789
- onChange: (d) => r({ hops: d ?? 2 }),
2789
+ onChange: (d) => l({ hops: d ?? 2 }),
2790
2790
  style: { width: "100%" }
2791
2791
  }
2792
2792
  )
@@ -2801,7 +2801,7 @@ function Bt({
2801
2801
  value: d.value,
2802
2802
  label: d.label
2803
2803
  })),
2804
- onChange: (d) => r({ direction: d })
2804
+ onChange: (d) => l({ direction: d })
2805
2805
  }
2806
2806
  )
2807
2807
  ] }),
@@ -2816,7 +2816,7 @@ function Bt({
2816
2816
  loading: s.loading,
2817
2817
  placeholder: "不限",
2818
2818
  options: m,
2819
- onChange: (d) => r({ endTag: d })
2819
+ onChange: (d) => l({ endTag: d })
2820
2820
  }
2821
2821
  )
2822
2822
  ] }),
@@ -2828,7 +2828,7 @@ function Bt({
2828
2828
  min: 1,
2829
2829
  max: 200,
2830
2830
  value: a.resultLimit ?? 20,
2831
- onChange: (d) => r({ resultLimit: d ?? 20 }),
2831
+ onChange: (d) => l({ resultLimit: d ?? 20 }),
2832
2832
  style: { width: "100%" }
2833
2833
  }
2834
2834
  )
@@ -2844,42 +2844,42 @@ function Bt({
2844
2844
  ] })
2845
2845
  ] });
2846
2846
  }
2847
- function _t({
2847
+ function Bt({
2848
2848
  value: e,
2849
2849
  disabled: a,
2850
2850
  onChange: s
2851
2851
  }) {
2852
- return /* @__PURE__ */ n("div", { className: "oss-mode-row", role: "radiogroup", "aria-label": "检索模式", children: Kn.map((r) => /* @__PURE__ */ t(
2852
+ return /* @__PURE__ */ n("div", { className: "oss-mode-row", role: "radiogroup", "aria-label": "检索模式", children: Kn.map((l) => /* @__PURE__ */ t(
2853
2853
  "button",
2854
2854
  {
2855
2855
  type: "button",
2856
2856
  role: "radio",
2857
- "aria-checked": e === r.value,
2857
+ "aria-checked": e === l.value,
2858
2858
  disabled: a,
2859
- className: `oss-mode-card${e === r.value ? " active" : ""}`,
2860
- onClick: () => s(r.value),
2859
+ className: `oss-mode-card${e === l.value ? " active" : ""}`,
2860
+ onClick: () => s(l.value),
2861
2861
  children: [
2862
- /* @__PURE__ */ n("span", { className: "oss-mode-title", children: r.label }),
2863
- /* @__PURE__ */ n("span", { className: "oss-mode-desc", children: r.desc })
2862
+ /* @__PURE__ */ n("span", { className: "oss-mode-title", children: l.label }),
2863
+ /* @__PURE__ */ n("span", { className: "oss-mode-desc", children: l.desc })
2864
2864
  ]
2865
2865
  },
2866
- r.value
2866
+ l.value
2867
2867
  )) });
2868
2868
  }
2869
2869
  function Ft({
2870
2870
  scenario: e,
2871
2871
  domainName: a,
2872
2872
  editor: s,
2873
- onPublished: r
2873
+ onPublished: l
2874
2874
  }) {
2875
- var xe, ke, B, _, Ce, we, Ee;
2876
- const { message: o } = _e.useApp(), [c] = Le.useForm(), [l, m] = p(1), [u, h] = p({}), [d, b] = p({}), [i, f] = p(Pe(1, {}, "")), [C, v] = p(!1), [g, y] = p(!1), [T, k] = p(!1), [A, w] = p(""), [N, E] = p(!1), [L, Z] = p(null), H = Le.useWatch("serviceContent", c) || "", V = Lt(
2875
+ var xe, ke, _, B, Ce, we, Ee;
2876
+ const { message: o } = Be.useApp(), [c] = Le.useForm(), [r, m] = p(1), [u, h] = p({}), [d, b] = p({}), [i, f] = p(Pe(1, {}, "")), [C, v] = p(!1), [g, y] = p(!1), [T, k] = p(!1), [A, w] = p(""), [N, E] = p(!1), [L, Z] = p(null), H = Le.useWatch("serviceContent", c) || "", V = Lt(
2877
2877
  e.scenarioCode,
2878
2878
  s.editingId,
2879
2879
  s.refreshDetail
2880
2880
  ), { reset: R } = V, K = Rt(
2881
2881
  e.scenarioCode,
2882
- s.open && l !== 1
2882
+ s.open && r !== 1
2883
2883
  ), q = Y(() => wt(H), [H]), ae = Y(
2884
2884
  () => q.map((I) => {
2885
2885
  var M, S, $;
@@ -2892,17 +2892,17 @@ function Ft({
2892
2892
  }),
2893
2893
  [q, d]
2894
2894
  ), ee = Y(
2895
- () => vn(l, ae, u),
2896
- [l, ae, u]
2897
- ), G = Pe(l, u, H) !== i, re = ce(null);
2895
+ () => vn(r, ae, u),
2896
+ [r, ae, u]
2897
+ ), G = Pe(r, u, H) !== i, le = ce(null);
2898
2898
  z(() => {
2899
2899
  if (!s.open) {
2900
- re.current = null, c.resetFields(), m(1), h({}), b({}), f(Pe(1, {}, "")), R();
2900
+ le.current = null, c.resetFields(), m(1), h({}), b({}), f(Pe(1, {}, "")), R();
2901
2901
  return;
2902
2902
  }
2903
2903
  if (s.detail) {
2904
- if (re.current !== s.detail.id) {
2905
- re.current = s.detail.id;
2904
+ if (le.current !== s.detail.id) {
2905
+ le.current = s.detail.id;
2906
2906
  const I = Ge(s.detail.retrievalType), M = I === 1 ? {} : je(I, s.detail.vectorConfig);
2907
2907
  m(I), h(M), c.setFieldsValue({
2908
2908
  code: s.detail.serviceCode,
@@ -2917,27 +2917,27 @@ function Ft({
2917
2917
  Pe(I, M, s.detail.serviceContent || "")
2918
2918
  ), R();
2919
2919
  }
2920
- } else s.editingId || (re.current = null, c.resetFields(), m(1), h({}), b({}), f(Pe(1, {}, "")), R());
2920
+ } else s.editingId || (le.current = null, c.resetFields(), m(1), h({}), b({}), f(Pe(1, {}, "")), R());
2921
2921
  }, [s.open, s.detail, s.editingId, c, R]);
2922
2922
  const fe = (I) => {
2923
- I !== l && (m(I), h(I === 1 ? {} : At(I)), R());
2924
- }, le = (I) => {
2923
+ I !== r && (m(I), h(I === 1 ? {} : At(I)), R());
2924
+ }, re = (I) => {
2925
2925
  h((M) => ({ ...M, ...I }));
2926
2926
  }, oe = (I) => {
2927
2927
  const M = {
2928
2928
  code: I.code.trim(),
2929
2929
  serviceName: I.serviceName.trim(),
2930
2930
  description: I.description,
2931
- retrievalType: l
2931
+ retrievalType: r
2932
2932
  };
2933
- if (l === 1)
2933
+ if (r === 1)
2934
2934
  return { ...M, serviceContent: I.serviceContent.trim(), params: ae };
2935
- const S = je(l, u);
2936
- return Vn.test(un(S)) ? l === 3 && (!S.startTag || !S.edgeType) ? (o.warning("请先选择混合检索的起点对象和关联关系"), null) : {
2935
+ const S = je(r, u);
2936
+ return Vn.test(un(S)) ? r === 3 && (!S.startTag || !S.edgeType) ? (o.warning("请先选择混合检索的起点对象和关联关系"), null) : {
2937
2937
  ...M,
2938
2938
  serviceContent: "",
2939
2939
  vectorConfig: S,
2940
- params: vn(l, ae, S)
2940
+ params: vn(r, ae, S)
2941
2941
  } : (o.warning("查询文本参数名不合法:小写字母开头,可含数字与下划线,最长 64 位"), null);
2942
2942
  }, Q = async () => {
2943
2943
  let I;
@@ -2969,7 +2969,7 @@ function Ft({
2969
2969
  if (!(!await Q() || !s.editingId)) {
2970
2970
  v(!0);
2971
2971
  try {
2972
- await Un(e.scenarioCode, s.editingId) && (o.success("已发布:消费方可按服务编码调用"), s.refreshDetail(), r());
2972
+ await Un(e.scenarioCode, s.editingId) && (o.success("已发布:消费方可按服务编码调用"), s.refreshDetail(), l());
2973
2973
  } finally {
2974
2974
  v(!1);
2975
2975
  }
@@ -2991,12 +2991,12 @@ function Ft({
2991
2991
  if (s.editingId) {
2992
2992
  y(!0);
2993
2993
  try {
2994
- await Hn(e.scenarioCode, s.editingId) && (o.success("已下线"), s.refreshDetail(), r());
2994
+ await Hn(e.scenarioCode, s.editingId) && (o.success("已下线"), s.refreshDetail(), l());
2995
2995
  } finally {
2996
2996
  y(!1);
2997
2997
  }
2998
2998
  }
2999
- }, ge = !!s.editingId && !!s.detail && (((xe = s.detail) == null ? void 0 : xe.status) === "DRAFT" || ((ke = s.detail) == null ? void 0 : ke.status) === "DISABLED") && !!((B = s.detail) != null && B.debugPassed) && !G, Se = ((_ = s.detail) == null ? void 0 : _.status) === "PUBLISHED" ? "已发布" : ((Ce = s.detail) == null ? void 0 : Ce.status) === "DISABLED" ? "已下线" : "草稿";
2999
+ }, ge = !!s.editingId && !!s.detail && (((xe = s.detail) == null ? void 0 : xe.status) === "DRAFT" || ((ke = s.detail) == null ? void 0 : ke.status) === "DISABLED") && !!((_ = s.detail) != null && _.debugPassed) && !G, Se = ((B = s.detail) == null ? void 0 : B.status) === "PUBLISHED" ? "已发布" : ((Ce = s.detail) == null ? void 0 : Ce.status) === "DISABLED" ? "已下线" : "草稿";
3000
3000
  return /* @__PURE__ */ t(
3001
3001
  We,
3002
3002
  {
@@ -3057,7 +3057,7 @@ function Ft({
3057
3057
  /* @__PURE__ */ t("div", { className: "oss-editor-layout", children: [
3058
3058
  /* @__PURE__ */ t("div", { className: "oss-editor-left", children: [
3059
3059
  /* @__PURE__ */ n("div", { className: "oss-mode-label", children: "检索模式" }),
3060
- /* @__PURE__ */ n(_t, { value: l, onChange: fe }),
3060
+ /* @__PURE__ */ n(Bt, { value: r, onChange: fe }),
3061
3061
  /* @__PURE__ */ t(Le, { form: c, layout: "vertical", children: [
3062
3062
  /* @__PURE__ */ n(
3063
3063
  Le.Item,
@@ -3093,7 +3093,7 @@ function Ft({
3093
3093
  }
3094
3094
  ),
3095
3095
  /* @__PURE__ */ n(Le.Item, { name: "description", label: "描述", children: /* @__PURE__ */ n(se.TextArea, { rows: 2 }) }),
3096
- l === 1 ? /* @__PURE__ */ n(
3096
+ r === 1 ? /* @__PURE__ */ n(
3097
3097
  Le.Item,
3098
3098
  {
3099
3099
  name: "serviceContent",
@@ -3126,16 +3126,16 @@ RETURN v.name AS name LIMIT 20`
3126
3126
  )
3127
3127
  }
3128
3128
  ) : /* @__PURE__ */ n(
3129
- Bt,
3129
+ _t,
3130
3130
  {
3131
- mode: l,
3131
+ mode: r,
3132
3132
  config: u,
3133
3133
  options: K,
3134
- onChange: le
3134
+ onChange: re
3135
3135
  }
3136
3136
  )
3137
3137
  ] }),
3138
- l === 1 && q.length > 0 && /* @__PURE__ */ t("div", { className: "oss-param-defs", children: [
3138
+ r === 1 && q.length > 0 && /* @__PURE__ */ t("div", { className: "oss-param-defs", children: [
3139
3139
  /* @__PURE__ */ n("div", { className: "oss-param-title", children: "参数定义(自动提取)" }),
3140
3140
  q.map((I) => {
3141
3141
  var M, S, $;
@@ -3283,10 +3283,10 @@ function Kt({
3283
3283
  onCreate: e,
3284
3284
  onEdit: a,
3285
3285
  records: s,
3286
- counts: r,
3286
+ counts: l,
3287
3287
  loading: o,
3288
3288
  statusFilter: c,
3289
- setStatusFilter: l,
3289
+ setStatusFilter: r,
3290
3290
  setKeyword: m,
3291
3291
  publish: u,
3292
3292
  disable: h,
@@ -3412,10 +3412,10 @@ function Kt({
3412
3412
  {
3413
3413
  type: "button",
3414
3414
  className: `oss-filter${c === g.value ? " active" : ""}`,
3415
- onClick: () => l(g.value),
3415
+ onClick: () => r(g.value),
3416
3416
  children: [
3417
3417
  g.label,
3418
- /* @__PURE__ */ n("em", { children: g.countKey ? r[g.countKey] : r.all })
3418
+ /* @__PURE__ */ n("em", { children: g.countKey ? l[g.countKey] : l.all })
3419
3419
  ]
3420
3420
  },
3421
3421
  g.value
@@ -3472,7 +3472,7 @@ function Vt({
3472
3472
  domainName: a,
3473
3473
  templates: s
3474
3474
  }) {
3475
- const r = St(s.scenarioCode, s.reload), o = rn();
3475
+ const l = St(s.scenarioCode, s.reload), o = ln();
3476
3476
  if (!e)
3477
3477
  return /* @__PURE__ */ n("div", { className: "oss-planned", children: /* @__PURE__ */ n(Me, { description: "选择左侧场景后查看其服务目录" }) });
3478
3478
  const c = In(
@@ -3484,8 +3484,8 @@ function Vt({
3484
3484
  /* @__PURE__ */ n(
3485
3485
  Kt,
3486
3486
  {
3487
- onCreate: r.openCreate,
3488
- onEdit: r.openEdit,
3487
+ onCreate: l.openCreate,
3488
+ onEdit: l.openEdit,
3489
3489
  records: s.records,
3490
3490
  counts: s.counts,
3491
3491
  loading: s.loading,
@@ -3504,7 +3504,7 @@ function Vt({
3504
3504
  {
3505
3505
  scenario: e,
3506
3506
  domainName: a,
3507
- editor: r,
3507
+ editor: l,
3508
3508
  onPublished: s.reload
3509
3509
  }
3510
3510
  )
@@ -3512,10 +3512,10 @@ function Vt({
3512
3512
  }
3513
3513
  const yn = { all: 0, DRAFT: 0, PUBLISHED: 0, DISABLED: 0 };
3514
3514
  function jt(e) {
3515
- const { message: a } = _e.useApp(), [s, r] = p([]), [o, c] = p(yn), [l, m] = p(!0), [u, h] = p("ALL"), [d, b] = p(""), [i, f] = p(0), C = x(() => f((T) => T + 1), []);
3515
+ const { message: a } = Be.useApp(), [s, l] = p([]), [o, c] = p(yn), [r, m] = p(!0), [u, h] = p("ALL"), [d, b] = p(""), [i, f] = p(0), C = x(() => f((T) => T + 1), []);
3516
3516
  z(() => {
3517
3517
  if (!e) {
3518
- r([]), c(yn), m(!1);
3518
+ l([]), c(yn), m(!1);
3519
3519
  return;
3520
3520
  }
3521
3521
  let T = !0;
@@ -3526,7 +3526,7 @@ function jt(e) {
3526
3526
  current: 1,
3527
3527
  size: 100
3528
3528
  }).then((k) => {
3529
- T && (r((k == null ? void 0 : k.records) || []), k && c({
3529
+ T && (l((k == null ? void 0 : k.records) || []), k && c({
3530
3530
  all: k.draftCount + k.publishedCount + k.disabledCount,
3531
3531
  DRAFT: k.draftCount,
3532
3532
  PUBLISHED: k.publishedCount,
@@ -3556,7 +3556,7 @@ function jt(e) {
3556
3556
  scenarioCode: e,
3557
3557
  records: s,
3558
3558
  counts: o,
3559
- loading: l,
3559
+ loading: r,
3560
3560
  statusFilter: u,
3561
3561
  setStatusFilter: h,
3562
3562
  keyword: d,
@@ -3571,7 +3571,7 @@ function qt({
3571
3571
  detail: e,
3572
3572
  domainCode: a,
3573
3573
  domainName: s,
3574
- readOnly: r,
3574
+ readOnly: l,
3575
3575
  readOnlyReason: o
3576
3576
  }) {
3577
3577
  const c = jt(e.scenarioCode);
@@ -3580,7 +3580,7 @@ function qt({
3580
3580
  /* @__PURE__ */ n("b", { children: "场景模板服务" }),
3581
3581
  a ? /* @__PURE__ */ n(O, { color: "blue", icon: /* @__PURE__ */ n(Tn, {}), children: s }) : null,
3582
3582
  /* @__PURE__ */ n("span", { className: "oss-count", children: c.counts.all }),
3583
- r ? /* @__PURE__ */ n(F, { title: o, children: /* @__PURE__ */ n("span", { className: "oss-flag", children: "只读" }) }) : null,
3583
+ l ? /* @__PURE__ */ n(F, { title: o, children: /* @__PURE__ */ n("span", { className: "oss-flag", children: "只读" }) }) : null,
3584
3584
  /* @__PURE__ */ n(
3585
3585
  F,
3586
3586
  {
@@ -3603,9 +3603,9 @@ function qt({
3603
3603
  function Gt(e) {
3604
3604
  return e.status === 4 ? "场景已删除,查询不回落基础空间" : e.status === 3 ? "场景已停用,查询不回落基础空间" : Ue(e) ? "" : e.syncStatus === 6 ? "同步失败,查询不回落基础空间" : e.syncStatus === 7 ? "同步已暂停,保留既有数据" : e.status === 1 ? "全量重放未完成,暂不对外解析" : "";
3605
3605
  }
3606
- function Qt({ workbench: e, scope: a, pane: s, onPane: r }) {
3607
- var le, oe;
3608
- const o = ns(), { state: c, graph: l, graphFailed: m, reloadGraph: u, actions: h, definition: d, model: b } = e, i = c.detail, [f, C] = p(!1), [v, g] = p(!1), y = rn();
3606
+ function Qt({ workbench: e, scope: a, pane: s, onPane: l }) {
3607
+ var re, oe;
3608
+ const o = ns(), { state: c, graph: r, graphFailed: m, reloadGraph: u, actions: h, definition: d, model: b } = e, i = c.detail, [f, C] = p(!1), [v, g] = p(!1), y = ln();
3609
3609
  if (c.detailLoading && !i)
3610
3610
  return /* @__PURE__ */ t("div", { className: "osc-scn-stage-state", children: [
3611
3611
  /* @__PURE__ */ n(Qe, {}),
@@ -3613,7 +3613,7 @@ function Qt({ workbench: e, scope: a, pane: s, onPane: r }) {
3613
3613
  ] });
3614
3614
  if (!i)
3615
3615
  return /* @__PURE__ */ n("div", { className: "empty", style: { padding: "60px 24px" }, children: /* @__PURE__ */ n("b", { children: c.detailFailed ? "场景不存在或加载失败" : "选择左侧场景查看工作台" }) });
3616
- const T = Ue(i), k = !T && Fn(i), A = Gt(i), w = `/ontology/scenarios/${encodeURIComponent(i.scenarioCode)}/edit`, N = ((le = i.domainCode) == null ? void 0 : le.trim()) ?? "", E = N ? ze({
3616
+ const T = Ue(i), k = !T && Fn(i), A = Gt(i), w = `/ontology/scenarios/${encodeURIComponent(i.scenarioCode)}/edit`, N = ((re = i.domainCode) == null ? void 0 : re.trim()) ?? "", E = N ? ze({
3617
3617
  domainCode: N,
3618
3618
  name: (oe = a.domains.find((Q) => Q.domainCode === N)) == null ? void 0 : oe.name
3619
3619
  }) : "", L = In(
@@ -3647,7 +3647,7 @@ function Qt({ workbench: e, scope: a, pane: s, onPane: r }) {
3647
3647
  {
3648
3648
  key: "orders",
3649
3649
  icon: /* @__PURE__ */ n(Ye, {}),
3650
- label: /* @__PURE__ */ n(Be, { to: "/approvals", children: "关联工单" })
3650
+ label: /* @__PURE__ */ n(_e, { to: "/approvals", children: "关联工单" })
3651
3651
  }
3652
3652
  ],
3653
3653
  ...T && !L.readOnly && i.status === 2 ? [{ key: "offline", icon: /* @__PURE__ */ n($n, {}), label: "下线场景", onClick: () => void V() }] : [],
@@ -3686,8 +3686,8 @@ function Qt({ workbench: e, scope: a, pane: s, onPane: r }) {
3686
3686
  onClick: H
3687
3687
  }
3688
3688
  ) }),
3689
- i.status !== 2 ? /* @__PURE__ */ n(Bn, { status: i.status }) : null,
3690
- T || i.syncStatus === 3 ? null : /* @__PURE__ */ n(_n, { status: i.syncStatus }),
3689
+ i.status !== 2 ? /* @__PURE__ */ n(_n, { status: i.status }) : null,
3690
+ T || i.syncStatus === 3 ? null : /* @__PURE__ */ n(Bn, { status: i.syncStatus }),
3691
3691
  N ? /* @__PURE__ */ n(O, { color: "blue", icon: /* @__PURE__ */ n(Tn, {}), children: E }) : null,
3692
3692
  L.readOnly ? /* @__PURE__ */ n(F, { title: L.reason, children: /* @__PURE__ */ n(O, { color: "orange", icon: /* @__PURE__ */ n(qe, {}), children: "只读" }) }) : null,
3693
3693
  /* @__PURE__ */ t("span", { className: "mono osc-scn-code", children: [
@@ -3695,8 +3695,8 @@ function Qt({ workbench: e, scope: a, pane: s, onPane: r }) {
3695
3695
  i.scenarioCode,
3696
3696
  i.projectionVersion ? ` · v${i.projectionVersion}` : ""
3697
3697
  ] })
3698
- ] }), re = /* @__PURE__ */ t("div", { className: "osc-scn-stage-actions", children: [
3699
- L.readOnly ? /* @__PURE__ */ n(F, { title: L.reason, children: /* @__PURE__ */ n("span", { children: ae }) }) : /* @__PURE__ */ n(Be, { to: w, children: ae }),
3698
+ ] }), le = /* @__PURE__ */ t("div", { className: "osc-scn-stage-actions", children: [
3699
+ L.readOnly ? /* @__PURE__ */ n(F, { title: L.reason, children: /* @__PURE__ */ n("span", { children: ae }) }) : /* @__PURE__ */ n(_e, { to: w, children: ae }),
3700
3700
  K.length > 0 ? /* @__PURE__ */ n(kn, { menu: { items: K }, trigger: ["click"], placement: "bottomRight", children: /* @__PURE__ */ n(D, { size: "small", type: "text", icon: /* @__PURE__ */ n(xn, {}) }) }) : null
3701
3701
  ] });
3702
3702
  return /* @__PURE__ */ t(J, { children: [
@@ -3705,7 +3705,7 @@ function Qt({ workbench: e, scope: a, pane: s, onPane: r }) {
3705
3705
  {
3706
3706
  className: T && s === "map" ? "osc-scn-tabs is-graph" : "osc-scn-tabs",
3707
3707
  activeKey: s,
3708
- onChange: (Q) => r(Q),
3708
+ onChange: (Q) => l(Q),
3709
3709
  items: [
3710
3710
  {
3711
3711
  key: "map",
@@ -3719,23 +3719,23 @@ function Qt({ workbench: e, scope: a, pane: s, onPane: r }) {
3719
3719
  Za,
3720
3720
  {
3721
3721
  detail: i,
3722
- graph: l,
3722
+ graph: r,
3723
3723
  graphFailed: m,
3724
3724
  onReloadGraph: u,
3725
3725
  model: b,
3726
3726
  domainCode: N,
3727
3727
  domainName: E,
3728
3728
  identity: G,
3729
- actions: re
3729
+ actions: le
3730
3730
  }
3731
3731
  )
3732
3732
  ] }) : /* @__PURE__ */ t(J, { children: [
3733
3733
  /* @__PURE__ */ t("header", { className: "osc-scn-head", children: [
3734
3734
  G,
3735
- re
3735
+ le
3736
3736
  ] }),
3737
3737
  /* @__PURE__ */ n(Xa, { detail: i, onOpenRun: Z }),
3738
- k ? /* @__PURE__ */ n(lt, { detail: i, onOpenSync: Z }) : A ? /* @__PURE__ */ t("div", { className: "osc-scope-note", children: [
3738
+ k ? /* @__PURE__ */ n(rt, { detail: i, onOpenSync: Z }) : A ? /* @__PURE__ */ t("div", { className: "osc-scope-note", children: [
3739
3739
  /* @__PURE__ */ n(Ze, {}),
3740
3740
  /* @__PURE__ */ n("span", { children: A })
3741
3741
  ] }) : null,
@@ -3743,7 +3743,7 @@ function Qt({ workbench: e, scope: a, pane: s, onPane: r }) {
3743
3743
  Ls,
3744
3744
  {
3745
3745
  model: b,
3746
- graph: l,
3746
+ graph: r,
3747
3747
  scenarioCode: i.scenarioCode,
3748
3748
  name: i.name || i.scenarioCode,
3749
3749
  description: i.description,
@@ -3800,7 +3800,7 @@ function Qt({ workbench: e, scope: a, pane: s, onPane: r }) {
3800
3800
  }
3801
3801
  const Wt = 10, Yt = /* @__PURE__ */ new Set(["QUEUED", "RUNNING", "PAUSED"]);
3802
3802
  function Zt(e) {
3803
- const [a, s] = p(), [r, o] = p(""), [c, l] = p(""), [m, u] = p([]), [h, d] = p(0), [b, i] = p(1), [f, C] = p(!0), v = ce(0), g = x(
3803
+ const [a, s] = p(), [l, o] = p(""), [c, r] = p(""), [m, u] = p([]), [h, d] = p(0), [b, i] = p(1), [f, C] = p(!0), v = ce(0), g = x(
3804
3804
  async (T) => {
3805
3805
  const k = ++v.current;
3806
3806
  C(!0);
@@ -3834,10 +3834,10 @@ function Zt(e) {
3834
3834
  }, [y, b, g]), {
3835
3835
  runStatus: a,
3836
3836
  setRunStatus: s,
3837
- searchInput: r,
3837
+ searchInput: l,
3838
3838
  setSearchInput: o,
3839
3839
  keyword: c,
3840
- setKeyword: l,
3840
+ setKeyword: r,
3841
3841
  records: m,
3842
3842
  total: h,
3843
3843
  current: b,
@@ -3854,10 +3854,10 @@ const Jt = 10, Xt = [
3854
3854
  { value: "FAILED", label: "失败" },
3855
3855
  { value: "CANCELED", label: "已取消" }
3856
3856
  ];
3857
- function er({ focusOrderCode: e, onOrderChange: a }) {
3858
- const s = Zt(e), [r, o] = p(), c = (m) => {
3857
+ function el({ focusOrderCode: e, onOrderChange: a }) {
3858
+ const s = Zt(e), [l, o] = p(), c = (m) => {
3859
3859
  m && o(m);
3860
- }, l = [
3860
+ }, r = [
3861
3861
  {
3862
3862
  title: "工单",
3863
3863
  key: "order",
@@ -3949,7 +3949,7 @@ function er({ focusOrderCode: e, onOrderChange: a }) {
3949
3949
  size: "small",
3950
3950
  loading: s.loading,
3951
3951
  dataSource: s.records,
3952
- columns: l,
3952
+ columns: r,
3953
3953
  scroll: { x: 1e3 },
3954
3954
  onRow: (m) => ({
3955
3955
  style: { cursor: m.orderCode ? "pointer" : "default" },
@@ -3970,17 +3970,17 @@ function er({ focusOrderCode: e, onOrderChange: a }) {
3970
3970
  /* @__PURE__ */ n(
3971
3971
  zn,
3972
3972
  {
3973
- open: !!r,
3974
- orderCode: r,
3973
+ open: !!l,
3974
+ orderCode: l,
3975
3975
  onClose: () => o(void 0),
3976
3976
  onChanged: () => void s.load(s.current)
3977
3977
  }
3978
3978
  )
3979
3979
  ] });
3980
3980
  }
3981
- const nr = 10;
3982
- function sr() {
3983
- const [e, a] = p([]), [s, r] = p(0), [o, c] = p(1), [l, m] = p(!0), [u, h] = p(!1), [d, b] = p(""), [i, f] = p(), [C, v] = p(), g = ce(0), y = x(
3981
+ const nl = 10;
3982
+ function sl() {
3983
+ const [e, a] = p([]), [s, l] = p(0), [o, c] = p(1), [r, m] = p(!0), [u, h] = p(!1), [d, b] = p(""), [i, f] = p(), [C, v] = p(), g = ce(0), y = x(
3984
3984
  async (A) => {
3985
3985
  const w = ++g.current;
3986
3986
  m(!0);
@@ -3990,12 +3990,12 @@ function sr() {
3990
3990
  status: i,
3991
3991
  syncStatus: C,
3992
3992
  current: A,
3993
- size: nr
3993
+ size: nl
3994
3994
  });
3995
3995
  if (w !== g.current)
3996
3996
  return;
3997
3997
  const E = (N == null ? void 0 : N.records) ?? [];
3998
- a((L) => A > 1 ? [...L, ...E] : E), r((N == null ? void 0 : N.total) ?? 0), c(A), h(!1);
3998
+ a((L) => A > 1 ? [...L, ...E] : E), l((N == null ? void 0 : N.total) ?? 0), c(A), h(!1);
3999
3999
  } catch {
4000
4000
  w === g.current && h(!0);
4001
4001
  } finally {
@@ -4012,7 +4012,7 @@ function sr() {
4012
4012
  records: e,
4013
4013
  total: s,
4014
4014
  current: o,
4015
- loading: l,
4015
+ loading: r,
4016
4016
  failed: u,
4017
4017
  hasMore: e.length < s,
4018
4018
  keyword: d,
@@ -4025,106 +4025,106 @@ function sr() {
4025
4025
  reload: k
4026
4026
  };
4027
4027
  }
4028
- function ar() {
4029
- const [e, a] = p(), [s, r] = p(!1), [o, c] = p(0);
4028
+ function al() {
4029
+ const [e, a] = p(), [s, l] = p(!1), [o, c] = p(0);
4030
4030
  z(() => {
4031
4031
  let m = !0;
4032
4032
  return ss().then((u) => {
4033
- m && (a(u), r(!1));
4033
+ m && (a(u), l(!1));
4034
4034
  }).catch(() => {
4035
- m && r(!0);
4035
+ m && l(!0);
4036
4036
  }), () => {
4037
4037
  m = !1;
4038
4038
  };
4039
4039
  }, [o]);
4040
- const l = x(() => c((m) => m + 1), []);
4041
- return { graph: e, failed: s, reload: l };
4040
+ const r = x(() => c((m) => m + 1), []);
4041
+ return { graph: e, failed: s, reload: r };
4042
4042
  }
4043
- function tr(e) {
4043
+ function tl(e) {
4044
4044
  return e instanceof Error ? e.message : "操作失败";
4045
4045
  }
4046
- function rr(e, a, s) {
4047
- const { message: r } = _e.useApp(), [o, c] = p(), l = x(
4046
+ function ll(e, a, s) {
4047
+ const { message: l } = Be.useApp(), [o, c] = p(), r = x(
4048
4048
  async (C, v, g) => {
4049
4049
  c(C);
4050
4050
  try {
4051
- await g(), r.success(v), a();
4051
+ await g(), l.success(v), a();
4052
4052
  } catch (y) {
4053
- r.error(tr(y));
4053
+ l.error(tl(y));
4054
4054
  } finally {
4055
4055
  c(void 0);
4056
4056
  }
4057
4057
  },
4058
- [r, a]
4058
+ [l, a]
4059
4059
  ), m = x(
4060
- (C) => l("retry", "已下发同步运行", () => zs({ scenarioCode: e, runType: C })),
4061
- [l, e]
4060
+ (C) => r("retry", "已下发同步运行", () => zs({ scenarioCode: e, runType: C })),
4061
+ [r, e]
4062
4062
  ), u = x(
4063
- (C) => l("pause", "已暂停增量同步", () => Bs({ scenarioCode: e, reason: C })),
4064
- [l, e]
4063
+ (C) => r("pause", "已暂停增量同步", () => _s({ scenarioCode: e, reason: C })),
4064
+ [r, e]
4065
4065
  ), h = x(
4066
- () => l("resume", "已恢复增量同步", () => _s({ scenarioCode: e })),
4067
- [l, e]
4066
+ () => r("resume", "已恢复增量同步", () => Bs({ scenarioCode: e })),
4067
+ [r, e]
4068
4068
  ), d = x(
4069
- () => l("repair", "已下发定点修复", () => Fs({ scenarioCode: e })),
4070
- [l, e]
4069
+ () => r("repair", "已下发定点修复", () => Fs({ scenarioCode: e })),
4070
+ [r, e]
4071
4071
  ), b = x(
4072
- () => l("reconcile", "已下发对账", () => Us({ scenarioCode: e })),
4073
- [l, e]
4072
+ () => r("reconcile", "已下发对账", () => Us({ scenarioCode: e })),
4073
+ [r, e]
4074
4074
  ), i = x(
4075
- () => l(
4075
+ () => r(
4076
4076
  "offline",
4077
4077
  "场景已下线",
4078
4078
  () => Hs({ op: "RETIRE", scenarioCode: e, domainCode: s })
4079
4079
  ),
4080
- [l, e, s]
4080
+ [r, e, s]
4081
4081
  ), f = x(
4082
- () => l("delete", "场景已删除,空间待异步清理", () => Ks({ scenarioCode: e })),
4083
- [l, e]
4082
+ () => r("delete", "场景已删除,空间待异步清理", () => Ks({ scenarioCode: e })),
4083
+ [r, e]
4084
4084
  );
4085
4085
  return { busy: o, retry: m, pause: u, resume: h, repair: d, reconcile: b, offline: i, remove: f };
4086
4086
  }
4087
4087
  const Nn = 10;
4088
- function lr(e) {
4089
- const [a, s] = p(), [r, o] = p(!0), [c, l] = p(!1), [m, u] = p([]), [h, d] = p(!1), [b, i] = p([]), [f, C] = p([]), [v, g] = p(0), [y, T] = p(1), [k, A] = p(!1), [w, N] = p(), [E, L] = p(), [Z, H] = p([]), [V, R] = p(0), [K, q] = p(1), [ae, ee] = p(!1), [G, re] = p([]), fe = ce(0), le = x(async () => {
4088
+ function rl(e) {
4089
+ const [a, s] = p(), [l, o] = p(!0), [c, r] = p(!1), [m, u] = p([]), [h, d] = p(!1), [b, i] = p([]), [f, C] = p([]), [v, g] = p(0), [y, T] = p(1), [k, A] = p(!1), [w, N] = p(), [E, L] = p(), [Z, H] = p([]), [V, R] = p(0), [K, q] = p(1), [ae, ee] = p(!1), [G, le] = p([]), fe = ce(0), re = x(async () => {
4090
4090
  if (!e) {
4091
4091
  o(!1);
4092
4092
  return;
4093
4093
  }
4094
- const B = ++fe.current;
4094
+ const _ = ++fe.current;
4095
4095
  try {
4096
- const _ = await Rn(e);
4097
- if (B !== fe.current)
4096
+ const B = await Rn(e);
4097
+ if (_ !== fe.current)
4098
4098
  return;
4099
- s(_), l(!_);
4099
+ s(B), r(!B);
4100
4100
  } catch {
4101
- B === fe.current && (s(void 0), l(!0));
4101
+ _ === fe.current && (s(void 0), r(!0));
4102
4102
  } finally {
4103
- B === fe.current && o(!1);
4103
+ _ === fe.current && o(!1);
4104
4104
  }
4105
4105
  }, [e]), oe = x(async () => {
4106
4106
  if (e) {
4107
4107
  d(!0);
4108
4108
  try {
4109
- const B = await Vs(e);
4110
- u(B ?? []);
4109
+ const _ = await Vs(e);
4110
+ u(_ ?? []);
4111
4111
  } finally {
4112
4112
  d(!1);
4113
4113
  }
4114
4114
  }
4115
4115
  }, [e]), Q = x(
4116
- async (B) => {
4116
+ async (_) => {
4117
4117
  if (e) {
4118
4118
  A(!0);
4119
4119
  try {
4120
- const _ = await js({
4120
+ const B = await js({
4121
4121
  scenarioCode: e,
4122
4122
  runType: w,
4123
4123
  status: E,
4124
- current: B,
4124
+ current: _,
4125
4125
  size: Nn
4126
4126
  });
4127
- C((_ == null ? void 0 : _.records) ?? []), g((_ == null ? void 0 : _.total) ?? 0), T(B);
4127
+ C((B == null ? void 0 : B.records) ?? []), g((B == null ? void 0 : B.total) ?? 0), T(_);
4128
4128
  } finally {
4129
4129
  A(!1);
4130
4130
  }
@@ -4132,16 +4132,16 @@ function lr(e) {
4132
4132
  },
4133
4133
  [e, w, E]
4134
4134
  ), te = x(
4135
- async (B) => {
4135
+ async (_) => {
4136
4136
  if (e) {
4137
4137
  ee(!0);
4138
4138
  try {
4139
- const _ = await qs({
4139
+ const B = await qs({
4140
4140
  scenarioCode: e,
4141
- current: B,
4141
+ current: _,
4142
4142
  size: Nn
4143
4143
  });
4144
- H((_ == null ? void 0 : _.records) ?? []), R((_ == null ? void 0 : _.total) ?? 0), q(B);
4144
+ H((B == null ? void 0 : B.records) ?? []), R((B == null ? void 0 : B.total) ?? 0), q(_);
4145
4145
  } finally {
4146
4146
  ee(!1);
4147
4147
  }
@@ -4151,14 +4151,14 @@ function lr(e) {
4151
4151
  ), de = x(async () => {
4152
4152
  if (!e)
4153
4153
  return;
4154
- const B = await Gs(e);
4155
- i(B ?? []);
4154
+ const _ = await Gs(e);
4155
+ i(_ ?? []);
4156
4156
  }, [e]);
4157
4157
  z(() => {
4158
- s(void 0), o(!0), l(!1), C([]), g(0), T(1), H([]), R(0), q(1), u([]), i([]);
4158
+ s(void 0), o(!0), r(!1), C([]), g(0), T(1), H([]), R(0), q(1), u([]), i([]);
4159
4159
  }, [e]), z(() => {
4160
- le();
4161
- }, [le]);
4160
+ re();
4161
+ }, [re]);
4162
4162
  const be = G.includes("runs"), Te = G.includes("failures"), ge = G.includes("projections"), Se = G.includes("consumers");
4163
4163
  z(() => {
4164
4164
  e && be && Q(1);
@@ -4169,16 +4169,16 @@ function lr(e) {
4169
4169
  }, [e, ge, oe]), z(() => {
4170
4170
  e && Se && de();
4171
4171
  }, [e, Se, de]);
4172
- const xe = x((B) => {
4173
- re((_) => {
4174
- const Ce = B.filter((we) => !_.includes(we));
4175
- return Ce.length === 0 ? _ : [..._, ...Ce];
4172
+ const xe = x((_) => {
4173
+ le((B) => {
4174
+ const Ce = _.filter((we) => !B.includes(we));
4175
+ return Ce.length === 0 ? B : [...B, ...Ce];
4176
4176
  });
4177
4177
  }, []), ke = x(async () => {
4178
- const B = [le()];
4179
- be && B.push(Q(y)), Te && B.push(te(K)), ge && B.push(oe()), Se && B.push(de()), await Promise.all(B);
4178
+ const _ = [re()];
4179
+ be && _.push(Q(y)), Te && _.push(te(K)), ge && _.push(oe()), Se && _.push(de()), await Promise.all(_);
4180
4180
  }, [
4181
- le,
4181
+ re,
4182
4182
  Q,
4183
4183
  te,
4184
4184
  oe,
@@ -4193,7 +4193,7 @@ function lr(e) {
4193
4193
  return {
4194
4194
  scenarioCode: e,
4195
4195
  detail: a,
4196
- detailLoading: r,
4196
+ detailLoading: l,
4197
4197
  detailFailed: c,
4198
4198
  projections: m,
4199
4199
  projectionsLoading: h,
@@ -4216,21 +4216,21 @@ function lr(e) {
4216
4216
  refresh: ke
4217
4217
  };
4218
4218
  }
4219
- function or(e, a, s = 5e3) {
4220
- const r = ce(a);
4219
+ function ol(e, a, s = 5e3) {
4220
+ const l = ce(a);
4221
4221
  z(() => {
4222
- r.current = a;
4222
+ l.current = a;
4223
4223
  }, [a]), z(() => {
4224
4224
  if (!e)
4225
4225
  return;
4226
- const o = window.setInterval(() => r.current(), s);
4226
+ const o = window.setInterval(() => l.current(), s);
4227
4227
  return () => window.clearInterval(o);
4228
4228
  }, [e, s]);
4229
4229
  }
4230
- function cr(e) {
4230
+ function cl(e) {
4231
4231
  var b;
4232
- const a = lr(e), { graph: s, failed: r, reload: o } = ar(), c = a.detail, l = rr(e, () => void a.refresh(), c == null ? void 0 : c.domainCode), m = c ? Ma(c.status, c.syncStatus) || za((b = c.activeRun) == null ? void 0 : b.status) : !1;
4233
- or(m, () => void a.refresh());
4232
+ const a = rl(e), { graph: s, failed: l, reload: o } = al(), c = a.detail, r = ll(e, () => void a.refresh(), c == null ? void 0 : c.domainCode), m = c ? Ma(c.status, c.syncStatus) || za((b = c.activeRun) == null ? void 0 : b.status) : !1;
4233
+ ol(m, () => void a.refresh());
4234
4234
  const u = Y(
4235
4235
  () => {
4236
4236
  var i;
@@ -4251,26 +4251,26 @@ function cr(e) {
4251
4251
  }) : void 0,
4252
4252
  [c, u, h, s]
4253
4253
  );
4254
- return { state: a, graph: s, graphFailed: r, reloadGraph: o, actions: l, definition: u, model: d };
4254
+ return { state: a, graph: s, graphFailed: l, reloadGraph: o, actions: r, definition: u, model: d };
4255
4255
  }
4256
- const ir = ["scenarios", "orders", "tasks"];
4257
- function dr(e) {
4258
- return ir.find((a) => a === e) ?? "scenarios";
4256
+ const il = ["scenarios", "orders", "tasks"];
4257
+ function dl(e) {
4258
+ return il.find((a) => a === e) ?? "scenarios";
4259
4259
  }
4260
- function Vr({ embedded: e = !1 }) {
4260
+ function Vl({ embedded: e = !1 }) {
4261
4261
  var g;
4262
- const [a, s] = as(), r = dr(a.get("tab")), o = ts(), c = sr(), l = Y(
4262
+ const [a, s] = as(), l = dl(a.get("tab")), o = ts(), c = sl(), r = Y(
4263
4263
  () => vs(o.domains, o.currentCode, o.scope).map((y) => ({
4264
4264
  code: y.domainCode,
4265
4265
  name: ze({ domainCode: y.domainCode, name: y.name })
4266
4266
  })),
4267
4267
  [o.domains, o.currentCode, o.scope]
4268
4268
  ), m = Y(
4269
- () => new Set(l.map((y) => y.code.trim().toUpperCase())),
4270
- [l]
4269
+ () => new Set(r.map((y) => y.code.trim().toUpperCase())),
4270
+ [r]
4271
4271
  ), u = c.records.find(
4272
4272
  (y) => !m.has((y.domainCode ?? "").trim().toUpperCase())
4273
- ), h = a.get("scenario") ?? "", d = r === "scenarios" && (h || (u == null ? void 0 : u.scenarioCode) || ((g = c.records[0]) == null ? void 0 : g.scenarioCode)) || "", b = a.get("pane") === "service" ? "service" : "map", i = a.get("order") ?? void 0, f = cr(d), C = ce(o.version);
4273
+ ), h = a.get("scenario") ?? "", d = l === "scenarios" && (h || (u == null ? void 0 : u.scenarioCode) || ((g = c.records[0]) == null ? void 0 : g.scenarioCode)) || "", b = a.get("pane") === "service" ? "service" : "map", i = a.get("order") ?? void 0, f = cl(d), C = ce(o.version);
4274
4274
  z(() => {
4275
4275
  if (C.current === o.version)
4276
4276
  return;
@@ -4285,12 +4285,12 @@ function Vr({ embedded: e = !1 }) {
4285
4285
  const T = new URLSearchParams(a);
4286
4286
  y.tab && T.set("tab", y.tab), y.order ? T.set("order", y.order) : T.delete("order"), y.scenario && T.set("scenario", y.scenario), y.pane && (y.pane === "map" ? T.delete("pane") : T.set("pane", y.pane)), s(T, { replace: !0 });
4287
4287
  };
4288
- return r !== "scenarios" ? /* @__PURE__ */ t("div", { className: "view osc-page", children: [
4288
+ return l !== "scenarios" ? /* @__PURE__ */ t("div", { className: "view osc-page", children: [
4289
4289
  /* @__PURE__ */ n(
4290
4290
  Gn,
4291
4291
  {
4292
- title: r === "orders" ? "场景工单" : "场景调度任务",
4293
- meta: /* @__PURE__ */ n("span", { children: r === "orders" ? "仅场景页直提的投影工单 · 审批通过后自动下发结构变更任务" : "场景工单审批通过后下发的结构变更任务 · 按场景来源过滤" }),
4292
+ title: l === "orders" ? "场景工单" : "场景调度任务",
4293
+ meta: /* @__PURE__ */ n("span", { children: l === "orders" ? "仅场景页直提的投影工单 · 审批通过后自动下发结构变更任务" : "场景工单审批通过后下发的结构变更任务 · 按场景来源过滤" }),
4294
4294
  actions: e ? /* @__PURE__ */ n(
4295
4295
  D,
4296
4296
  {
@@ -4298,10 +4298,10 @@ function Vr({ embedded: e = !1 }) {
4298
4298
  onClick: () => v({ tab: "scenarios" }),
4299
4299
  children: "返回场景"
4300
4300
  }
4301
- ) : /* @__PURE__ */ n(Be, { to: "/ontology/scenarios", children: /* @__PURE__ */ n(D, { icon: /* @__PURE__ */ n(sn, {}), children: "返回场景" }) })
4301
+ ) : /* @__PURE__ */ n(_e, { to: "/ontology/scenarios", children: /* @__PURE__ */ n(D, { icon: /* @__PURE__ */ n(sn, {}), children: "返回场景" }) })
4302
4302
  }
4303
4303
  ),
4304
- r === "orders" ? /* @__PURE__ */ n(
4304
+ l === "orders" ? /* @__PURE__ */ n(
4305
4305
  La,
4306
4306
  {
4307
4307
  focusOrderCode: i,
@@ -4310,7 +4310,7 @@ function Vr({ embedded: e = !1 }) {
4310
4310
  onOpenTasks: (y) => v({ tab: "tasks", order: y })
4311
4311
  }
4312
4312
  ) : /* @__PURE__ */ n(
4313
- er,
4313
+ el,
4314
4314
  {
4315
4315
  focusOrderCode: i,
4316
4316
  onOrderChange: (y) => v({ tab: "tasks", order: y })
@@ -4322,7 +4322,7 @@ function Vr({ embedded: e = !1 }) {
4322
4322
  {
4323
4323
  state: c,
4324
4324
  scope: o,
4325
- ancestors: l,
4325
+ ancestors: r,
4326
4326
  activeCode: d,
4327
4327
  onSelect: (y) => v({ scenario: y })
4328
4328
  }
@@ -4339,5 +4339,5 @@ function Vr({ embedded: e = !1 }) {
4339
4339
  ] }) });
4340
4340
  }
4341
4341
  export {
4342
- Vr as default
4342
+ Vl as default
4343
4343
  };