@yuku123/z-cognition-component 2.0.3 → 2.0.5

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 (160) hide show
  1. package/dist-lib/{BaseInput-DHrGPDB9.js → BaseInput-BYGhTvYI.js} +1 -1
  2. package/dist-lib/{ClockCircleOutlined-DP6fSLgk.js → ClockCircleOutlined-DACEazDR.js} +1 -1
  3. package/dist-lib/{Collapse-B77SsmFh.js → Collapse-CZbXdmBX.js} +85 -85
  4. package/dist-lib/{DeleteOutlined-BAZSAooQ.js → DeleteOutlined-CtmAIIV3.js} +4 -4
  5. package/dist-lib/{EllipsisOutlined-Dr4orLLw.js → EllipsisOutlined-pgnttbec.js} +94 -94
  6. package/dist-lib/{EyeOutlined-CudyDdjH.js → EyeOutlined-WKo_SfEi.js} +1 -1
  7. package/dist-lib/{LeftOutlined-CJasZIyX.js → LeftOutlined-B79bB1ZG.js} +1 -1
  8. package/dist-lib/{Pagination-BJ8wnqAa.js → Pagination-CFhUxTf8.js} +4 -4
  9. package/dist-lib/{RotateRightOutlined-DqyspFCO.js → RotateRightOutlined-TrlUrEUZ.js} +1 -1
  10. package/dist-lib/{Table-J_7eBbi7.js → Table-BF9fhMoT.js} +120 -120
  11. package/dist-lib/{accessAk-CA30m5eX.js → accessAk-BKnWRdnG.js} +1 -1
  12. package/dist-lib/{agents-eZDKzePP.js → agents-B5wsLzS-.js} +17 -17
  13. package/dist-lib/{ai-CNSn3-sd.js → ai-CccmxFWN.js} +1 -1
  14. package/dist-lib/{ai-chat-share-Yrqt_J6a.js → ai-chat-share-BjZFvUph.js} +4 -4
  15. package/dist-lib/{ak-manage-DklVFT5I.js → ak-manage-DD_F6560.js} +12 -12
  16. package/dist-lib/{approval-B-bCSmfi.js → approval-a4d4zlUd.js} +3 -3
  17. package/dist-lib/{approvals-B0ggYiyD.js → approvals-DnwdMEU5.js} +2 -2
  18. package/dist-lib/{assistant-Of0mgMsM.js → assistant-BA6oeNSC.js} +39 -39
  19. package/dist-lib/{assistant-history-DcyDhUzJ.js → assistant-history-Dfykk2a4.js} +5 -5
  20. package/dist-lib/{assistant-summary-CjLaTyFz.js → assistant-summary-BkmSqskU.js} +1 -1
  21. package/dist-lib/{audit-wDNCfmOy.js → audit-ZZhtw95x.js} +1 -1
  22. package/dist-lib/{bios-CIwO1AUK.js → bios-CSjjJ5Bc.js} +11 -11
  23. package/dist-lib/{callSuper-CpMOVGin.js → callSuper-Bk-mj4By.js} +1 -1
  24. package/dist-lib/{category-9gqNseEa.js → category-9CorlqP4.js} +1 -1
  25. package/dist-lib/{causal-CzAYukj9.js → causal-CYR-CTQK.js} +5 -5
  26. package/dist-lib/{changelog-CQfIMS51.js → changelog-BcZ6KQ3C.js} +2 -2
  27. package/dist-lib/{changelog-sKJMQrlV.js → changelog-Bqm52V9T.js} +1 -1
  28. package/dist-lib/{chat-panel-BPbqKckR.js → chat-panel-Ctr_CdZu.js} +28 -28
  29. package/dist-lib/{code-space-D_ZE966E.js → code-space-DG83npvh.js} +9 -9
  30. package/dist-lib/{colors-DpKdb8L-.js → colors-DJzrNkCt.js} +3 -3
  31. package/dist-lib/{community-9_7ExHcm.js → community-CXEbdg7X.js} +1 -1
  32. package/dist-lib/{community-CfWXxujB.js → community-Cmx4qRHG.js} +3 -3
  33. package/dist-lib/{community-material-page-Z_EZuBPl.js → community-material-page-jguoD9kV.js} +19 -19
  34. package/dist-lib/{connections-Bcqsp11M.js → connections-DJAsz2Hb.js} +6 -6
  35. package/dist-lib/{createForOfIteratorHelper-CasBzL_Q.js → createForOfIteratorHelper-BArIG0W5.js} +1 -1
  36. package/dist-lib/{detail-CV6xp_Jp.js → detail-BWBtDkWH.js} +4 -4
  37. package/dist-lib/{detail-EyLdjGpX.js → detail-CLqCbf3i.js} +37 -37
  38. package/dist-lib/{detail-DioaWKWj.js → detail-DKLwIzyI.js} +14 -14
  39. package/dist-lib/{development-CFcOIUKc.js → development-DG37KZEV.js} +17 -17
  40. package/dist-lib/{downloads-DtV5hOQv.js → downloads-Cg8PCqDp.js} +1 -1
  41. package/dist-lib/{edit-NtXUNj5N.js → edit-Cfv83zho.js} +24 -24
  42. package/dist-lib/{editor-KZhj-rwT.js → editor-BriqrlTB.js} +16 -16
  43. package/dist-lib/{editor-page-BaxK_OYm.js → editor-page-p2TQlJtq.js} +13 -13
  44. package/dist-lib/{embed-mf8t3QXh.js → embed-CoEyJMJx.js} +3236 -3245
  45. package/dist-lib/embed.css +2 -2
  46. package/dist-lib/{evaluation-CZTpC9v3.js → evaluation-C6CAwoWp.js} +2 -2
  47. package/dist-lib/{execution-B6HmOA2_.js → execution-BMkglxKG.js} +13 -13
  48. package/dist-lib/{graph-DHV-rdiK.js → graph-DkaHV2AX.js} +5 -5
  49. package/dist-lib/{index-BvJ35WL3.js → index-B21fkm-c.js} +9 -9
  50. package/dist-lib/{index-B5Roo82U.js → index-B2Hx9Q2V.js} +20 -20
  51. package/dist-lib/{index-CSJA8wvL.js → index-BMVRmc79.js} +36 -36
  52. package/dist-lib/{index-CdJ5ggvp.js → index-BQnPPCKW.js} +15 -15
  53. package/dist-lib/{index-BqTsLClH.js → index-BRyPjc2E.js} +1 -1
  54. package/dist-lib/{index-BkTegt8T.js → index-BeejupFS.js} +150 -150
  55. package/dist-lib/{index-BEO8itgt.js → index-BelOhXK9.js} +11 -11
  56. package/dist-lib/{index-DU6bO95v.js → index-Bqkx1OMz.js} +70 -70
  57. package/dist-lib/{index--AI-htgA.js → index-Bqpk0cSp.js} +11 -11
  58. package/dist-lib/{index-BoCtPJD4.js → index-BqvwZwaa.js} +181 -181
  59. package/dist-lib/{index-DaMLYomP.js → index-BwkQzFNo.js} +9 -9
  60. package/dist-lib/{index-BPbOPT2j.js → index-By7lJ7OM.js} +2 -2
  61. package/dist-lib/{index-B7SfTpox.js → index-C0bjp6yU.js} +19 -19
  62. package/dist-lib/{index-B12ZggsE.js → index-C8VIE0cr.js} +6 -6
  63. package/dist-lib/{index-C2CV4bte.js → index-CAk-RbBL.js} +2 -2
  64. package/dist-lib/{index-3J47mTL1.js → index-CFMm6EBU.js} +1 -1
  65. package/dist-lib/{index-zXwXfn-X.js → index-CkrD_v5E.js} +12 -12
  66. package/dist-lib/{index-DhSCFLtV.js → index-Ct0MiSE7.js} +81 -81
  67. package/dist-lib/{index-DKAGVWMX.js → index-D1vltZIy.js} +56 -56
  68. package/dist-lib/{index-BsoHetYT.js → index-DQ1YCU_6.js} +38 -38
  69. package/dist-lib/{index-xQmDaKK3.js → index-DQL0rlRD.js} +1 -1
  70. package/dist-lib/{index-DgfIEgir.js → index-Dfpj76EP.js} +1 -1
  71. package/dist-lib/{index-Bw4M9KLv.js → index-DljgNXFS.js} +73 -73
  72. package/dist-lib/{index-CgwK2maq.js → index-DrC19OH2.js} +38 -38
  73. package/dist-lib/{index-CLhLA2ig.js → index-DvdRKgvN.js} +64 -64
  74. package/dist-lib/{index-DGbjbjBY.js → index-EoyTsMVR.js} +2 -2
  75. package/dist-lib/{index-Bln3mJfp.js → index-MN71_qSy.js} +2 -2
  76. package/dist-lib/{index-CwyFMPcr.js → index-MrasjwT1.js} +10 -10
  77. package/dist-lib/{index-VeAMz0iC.js → index-TVyOVj_f.js} +39 -39
  78. package/dist-lib/{index-D6ns_Xmf.js → index-cWJDD_7e.js} +2 -2
  79. package/dist-lib/{index-QZ9JPfVR.js → index-fSzyAUm4.js} +10 -10
  80. package/dist-lib/{index-CF0ucN_K.js → index-gSQpnDVD.js} +3 -3
  81. package/dist-lib/{index-BkJjYgKD.js → index-jfZsBNfr.js} +262 -262
  82. package/dist-lib/{index-Bd7AGv4a.js → index-lpiHPbbx.js} +2 -2
  83. package/dist-lib/{index-CvxfA0ZK.js → index-ly9q05gX.js} +14 -14
  84. package/dist-lib/{index-CtqUgNxs.js → index-mANVYpNc.js} +14 -14
  85. package/dist-lib/{index-2SysmGHo.js → index-o4EXX17N.js} +73 -73
  86. package/dist-lib/index.js +1 -1
  87. package/dist-lib/{json-field-COcz5F2R.js → json-field-BqyYVncd.js} +2 -2
  88. package/dist-lib/{kb-form-modal-D9gnvXbE.js → kb-form-modal-B9_s7HKJ.js} +20 -19
  89. package/dist-lib/{kbTeam-CorrPJFr.js → kbTeam-D_xeQOnk.js} +1 -1
  90. package/dist-lib/{knowledge-base-DJkjMFHW.js → knowledge-base-BIlYHNX_.js} +21 -20
  91. package/dist-lib/{knowledge-hub-DKiDlaZz.js → knowledge-hub-DS9jz2ml.js} +12 -12
  92. package/dist-lib/{login-56zv4aLO.js → login-81vYOi7C.js} +6 -6
  93. package/dist-lib/{markdown-lite-p1tiuSZM.js → markdown-lite-C0TxiY46.js} +30 -30
  94. package/dist-lib/{material-DtPASeqq.js → material-0d6ENLyU.js} +1 -1
  95. package/dist-lib/{material-draft-markdown-281d5_GN.js → material-draft-markdown-BqqPZtbw.js} +2 -2
  96. package/dist-lib/{material-original-preview-CPGjdmbe.js → material-original-preview-BDeVDdfb.js} +5 -5
  97. package/dist-lib/{material-workspace-model-QLsU5qUO.js → material-workspace-model-DPaWrRpo.js} +1 -1
  98. package/dist-lib/{member-Cz-OIdj9.js → member-Dc8Fi9Yt.js} +1 -1
  99. package/dist-lib/memory-reorganization-DN4oUE9r.js +1007 -0
  100. package/dist-lib/{memory-spaces-D-orVNR7.js → memory-spaces-BJp4AIUb.js} +19 -19
  101. package/dist-lib/{message-C9gfvpGg.js → message-C6yBkCNm.js} +1 -1
  102. package/dist-lib/{message-D6FhzB7J.js → message-DPeo_cTR.js} +3 -3
  103. package/dist-lib/{messages-cctmEVcG.js → messages-DdfLmuQI.js} +2 -2
  104. package/dist-lib/{meta-DT_O4zM9.js → meta-CBLO5qXw.js} +2 -2
  105. package/dist-lib/{metrics-BNeVcI8-.js → metrics-7ptCjiKn.js} +2 -2
  106. package/dist-lib/{mobile-D8kZjfQU.js → mobile-DC0hcQji.js} +2 -2
  107. package/dist-lib/{monitor-DexMYjzF.js → monitor-DX1u-yHi.js} +3 -3
  108. package/dist-lib/{monitor-DTUyqumg.js → monitor-DoWMKmYn.js} +3 -3
  109. package/dist-lib/{my-access-DWBV6ohp.js → my-access-64Rn1HXY.js} +3 -3
  110. package/dist-lib/{my-permissions-B-gJZQYM.js → my-permissions-DKjDBIjY.js} +4 -4
  111. package/dist-lib/{navigation-DVlyWnpD.js → navigation-B_vBrx_f.js} +1 -1
  112. package/dist-lib/{new-JmARyD88.js → new-D3Q8_hzT.js} +5 -5
  113. package/dist-lib/{ontology-B4rkO33J.js → ontology-Ct7a7W50.js} +5 -5
  114. package/dist-lib/{ontology-dataprep-BwD5TKs2.js → ontology-dataprep-DhZWKCnw.js} +1 -1
  115. package/dist-lib/{ontology-domains-zxFrjn0v.js → ontology-domains-BG6ZPWXm.js} +35 -35
  116. package/dist-lib/{ontology-extract-BHOxruRO.js → ontology-extract-53pAcKaP.js} +22 -22
  117. package/dist-lib/{ontology-extract-iR_rXxFe.js → ontology-extract-D9RViy3r.js} +1 -1
  118. package/dist-lib/{ontology-flow-Dv5iQ20f.js → ontology-flow-Dx_5Dv1S.js} +3 -3
  119. package/dist-lib/{ontology-flow-CW0SzeK7.js → ontology-flow-cbGY8kOV.js} +6 -6
  120. package/dist-lib/{ontology-modeling-B9wswveh.js → ontology-modeling-9beSFK8t.js} +2 -2
  121. package/dist-lib/{ontology-modeling-hakCluBi.js → ontology-modeling-BkFq7sU1.js} +33 -33
  122. package/dist-lib/{ontology-scenarios-DKnfydG6.js → ontology-scenarios-ANZMjyMB.js} +1 -1
  123. package/dist-lib/{ontology-scenarios-C2kp7Rs-.js → ontology-scenarios-BC1UBvtT.js} +350 -350
  124. package/dist-lib/{ontology-task-config-DmnWyCCB.js → ontology-task-config-dDFRrWtJ.js} +1 -1
  125. package/dist-lib/{ontology-terms-C-NhpcIZ.js → ontology-terms-B9H9VcuR.js} +18 -18
  126. package/dist-lib/{ontology-terms-BoNB-5ar.js → ontology-terms-BcXCuUsy.js} +1 -1
  127. package/dist-lib/{permission-Dq1-AOQw.js → permission-pETAJZl6.js} +2 -2
  128. package/dist-lib/{preset-DCNSE--Y.js → preset-5F2VcdUE.js} +3 -3
  129. package/dist-lib/{progress-CZxOOnIs.js → progress-COKT887h.js} +31 -31
  130. package/dist-lib/{quota-oICQRHFU.js → quota-BzWY9oeV.js} +7 -6
  131. package/dist-lib/{row-By17TCiW.js → row-BFBgIphS.js} +2 -2
  132. package/dist-lib/{runs-DQTDpPaN.js → runs-7LWS6iAN.js} +6 -6
  133. package/dist-lib/{save-blob-CwCZE1Dn.js → save-blob-D_q2LunT.js} +2 -2
  134. package/dist-lib/{scenario-mapping-preview-sJtjgmry.js → scenario-mapping-preview-CDg3_f0U.js} +5 -5
  135. package/dist-lib/{scenario-simple-form-BvKSPFzw.js → scenario-simple-form--KSAzRS6.js} +9 -9
  136. package/dist-lib/{schedule-CwkPPSuT.js → schedule-BDrhhUsA.js} +2 -2
  137. package/dist-lib/{script-gYJAFobb.js → script-CtLQ-RSy.js} +14 -14
  138. package/dist-lib/{settings-CJd5Jj4y.js → settings--NTE0Hux.js} +71 -70
  139. package/dist-lib/{shared-DG5-VCDM.js → shared-BJA7rkgy.js} +1 -1
  140. package/dist-lib/{shared-utils-CFHws1DA.js → shared-utils-E5RBBDWx.js} +2 -2
  141. package/dist-lib/{skills-lxpJ5Lzx.js → skills-IziqBZOm.js} +5 -5
  142. package/dist-lib/{source-selection-DJnQQckl.js → source-selection-WsUOEBKN.js} +1 -1
  143. package/dist-lib/{sources-C83LpCcV.js → sources-D7ViKZtA.js} +12 -12
  144. package/dist-lib/{style-B5THvtDY.js → style-B7phAB4-.js} +8 -8
  145. package/dist-lib/{task-config-BNYoOb79.js → task-config-BhVD-uNg.js} +3 -3
  146. package/dist-lib/{tech-LuZvKDo6.js → tech-C2bOwBWk.js} +1 -1
  147. package/dist-lib/{templates-a-kbCamr.js → templates-Bh3ryZxt.js} +6 -6
  148. package/dist-lib/{tenant-login-COB-5h_2.js → tenant-login-D3193dIQ.js} +30 -30
  149. package/dist-lib/{tools-CrA6GrY6.js → tools-DCLdtvbE.js} +56 -56
  150. package/dist-lib/use-current-tenant-KGbU5HpT.js +22 -0
  151. package/dist-lib/{use-domain-access-ehGJBGvU.js → use-domain-access-CcPd_gzX.js} +1 -1
  152. package/dist-lib/{use-g6-graph-DfRnsBS6.js → use-g6-graph-CPKL_pXo.js} +1 -1
  153. package/dist-lib/{use-graph-layers-CrhEeHfD.js → use-graph-layers-Bi90s60B.js} +9 -9
  154. package/dist-lib/{useBreakpoint-Cul9y9Cu.js → useBreakpoint-SG_cMfLJ.js} +8 -8
  155. package/dist-lib/{useForm-B-dwOwJ8.js → useForm-Cp45oXOc.js} +14 -14
  156. package/dist-lib/{version-control-panel-mWXkC-uB.js → version-control-panel-Db_RP6gX.js} +1 -1
  157. package/dist-lib/{version-management-nPlG7wQO.js → version-management-DuCdU_fJ.js} +2 -2
  158. package/dist-lib/{welcome-Cqv1-rXT.js → welcome-DLcdZGtl.js} +1 -1
  159. package/package.json +1 -1
  160. package/dist-lib/memory-reorganization-DgJnWIrW.js +0 -8
@@ -1,15 +1,15 @@
1
1
  import * as r from "react";
2
2
  import { useRef as dt, useEffect as ut, useMemo as pt, isValidElement as ft } from "react";
3
- import { a$ as ge, b0 as ye, cN as mt, bK as Pe, a7 as gt, a6 as Y, bb as yt, bH as Te, bq as bt, ar as vt, au as Ae, aq as Z, cO as Et, b3 as ht, aT as He, a_ as W, ah as ke, a9 as xt, b1 as Ot, aa as ze, bj as Re, bs as St } from "./embed-mf8t3QXh.js";
4
- import { i as _e } from "./index-BsoHetYT.js";
5
- import { T as be } from "./index-zXwXfn-X.js";
6
- import { T as Ct } from "./index-2SysmGHo.js";
3
+ import { b3 as ge, b4 as ye, cN as mt, bK as Pe, a6 as gt, a5 as Q, an as yt, bI as Re, al as bt, aj as vt, aA as Ae, ah as Z, cO as Et, b7 as ht, aY as He, b2 as W, as as ke, a8 as xt, b5 as Ot, a9 as ze, bm as Te, bt as St } from "./embed-CoEyJMJx.js";
4
+ import { i as _e } from "./index-DQ1YCU_6.js";
5
+ import { T as be } from "./index-CkrD_v5E.js";
6
+ import { T as Ct } from "./index-o4EXX17N.js";
7
7
  import { g as wt } from "./_commonjsHelpers-DaMA6jEr.js";
8
- const Tt = (e, n = !1) => n && e == null ? [] : Array.isArray(e) ? e : [e];
9
- var Rt = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z" } }] }, name: "edit", theme: "outlined" }, _t = function(n, o) {
8
+ const Rt = (e, n = !1) => n && e == null ? [] : Array.isArray(e) ? e : [e];
9
+ var Tt = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z" } }] }, name: "edit", theme: "outlined" }, _t = function(n, o) {
10
10
  return /* @__PURE__ */ r.createElement(ge, ye({}, n, {
11
11
  ref: o,
12
- icon: Rt
12
+ icon: Tt
13
13
  }));
14
14
  }, Be = /* @__PURE__ */ r.forwardRef(_t);
15
15
  process.env.NODE_ENV !== "production" && (Be.displayName = "EditOutlined");
@@ -326,7 +326,7 @@ const It = (e, n, o, t) => {
326
326
  I(v.value.replace(/[\n\r]/g, ""));
327
327
  }, w = () => {
328
328
  b.current = !0;
329
- }, T = () => {
329
+ }, R = () => {
330
330
  b.current = !1;
331
331
  }, j = ({
332
332
  keyCode: v
@@ -341,13 +341,13 @@ const It = (e, n, o, t) => {
341
341
  metaKey: P,
342
342
  shiftKey: _
343
343
  }) => {
344
- C.current !== v || b.current || S || x || P || _ || (v === Te.ENTER ? (E(), m == null || m()) : v === Te.ESC && p());
344
+ C.current !== v || b.current || S || x || P || _ || (v === Re.ENTER ? (E(), m == null || m()) : v === Re.ESC && p());
345
345
  }, U = () => {
346
346
  E();
347
- }, [V, L, q] = We(n), M = Y(n, `${n}-edit-content`, {
347
+ }, [V, L, F] = We(n), M = Q(n, `${n}-edit-content`, {
348
348
  [`${n}-rtl`]: l === "rtl",
349
349
  [`${n}-${a}`]: !!a
350
- }, t, L, q);
350
+ }, t, L, F);
351
351
  return V(/* @__PURE__ */ r.createElement("div", {
352
352
  className: M,
353
353
  style: s
@@ -359,7 +359,7 @@ const It = (e, n, o, t) => {
359
359
  onKeyDown: j,
360
360
  onKeyUp: k,
361
361
  onCompositionStart: w,
362
- onCompositionEnd: T,
362
+ onCompositionEnd: R,
363
363
  onBlur: U,
364
364
  "aria-label": o,
365
365
  rows: 1,
@@ -441,7 +441,7 @@ function Vt() {
441
441
  }
442
442
  var Wt = Vt();
443
443
  const Ut = /* @__PURE__ */ wt(Wt);
444
- var qt = function(e, n, o, t) {
444
+ var Ft = function(e, n, o, t) {
445
445
  function s(l) {
446
446
  return l instanceof o ? l : new o(function(i) {
447
447
  i(l);
@@ -468,7 +468,7 @@ var qt = function(e, n, o, t) {
468
468
  u((t = t.apply(e, n || [])).next());
469
469
  });
470
470
  };
471
- const Ft = ({
471
+ const qt = ({
472
472
  copyConfig: e,
473
473
  children: n
474
474
  }) => {
@@ -476,12 +476,12 @@ const Ft = ({
476
476
  i.current && clearTimeout(i.current);
477
477
  }, d = {};
478
478
  e.format && (d.format = e.format), r.useEffect(() => g, []);
479
- const u = bt((p) => qt(void 0, void 0, void 0, function* () {
479
+ const u = bt((p) => Ft(void 0, void 0, void 0, function* () {
480
480
  var m;
481
481
  p == null || p.preventDefault(), p == null || p.stopPropagation(), l(!0);
482
482
  try {
483
483
  const a = typeof e.text == "function" ? yield e.text() : e.text;
484
- Ut(a || Tt(n, !0).join("") || "", d), l(!1), t(!0), g(), i.current = setTimeout(() => {
484
+ Ut(a || Rt(n, !0).join("") || "", d), l(!1), t(!0), g(), i.current = setTimeout(() => {
485
485
  t(!1);
486
486
  }, 3e3), (m = e.onCopy) === null || m === void 0 || m.call(e, p);
487
487
  } catch (a) {
@@ -538,25 +538,25 @@ const ve = /* @__PURE__ */ r.forwardRef((e, n) => {
538
538
  style: O
539
539
  } = vt("typography"), b = d ?? a, C = i ? Ae(n, i) : n, y = m("typography", o);
540
540
  process.env.NODE_ENV !== "production" && Z("Typography").deprecated(!i, "setContentRef", "ref");
541
- const [I, H, w] = We(y), T = Y(y, h, {
541
+ const [I, H, w] = We(y), R = Q(y, h, {
542
542
  [`${y}-rtl`]: b === "rtl"
543
543
  }, s, l, H, w), j = Object.assign(Object.assign({}, O), u);
544
544
  return I(
545
545
  // @ts-expect-error: Expression produces a union type that is too complex to represent.
546
546
  /* @__PURE__ */ r.createElement(t, Object.assign({
547
- className: T,
547
+ className: R,
548
548
  style: j,
549
549
  ref: C
550
550
  }, p), g)
551
551
  );
552
552
  });
553
553
  process.env.NODE_ENV !== "production" && (ve.displayName = "Typography");
554
- var Gt = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" } }] }, name: "copy", theme: "outlined" }, Qt = function(n, o) {
554
+ var Yt = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" } }] }, name: "copy", theme: "outlined" }, Gt = function(n, o) {
555
555
  return /* @__PURE__ */ r.createElement(ge, ye({}, n, {
556
556
  ref: o,
557
- icon: Gt
557
+ icon: Yt
558
558
  }));
559
- }, Ue = /* @__PURE__ */ r.forwardRef(Qt);
559
+ }, Ue = /* @__PURE__ */ r.forwardRef(Gt);
560
560
  process.env.NODE_ENV !== "production" && (Ue.displayName = "CopyOutlined");
561
561
  function Ie(e) {
562
562
  return e === !1 ? [!1, !1] : Array.isArray(e) ? e : [e];
@@ -564,7 +564,7 @@ function Ie(e) {
564
564
  function de(e, n, o) {
565
565
  return e === !0 || e === void 0 ? n : e || o && n;
566
566
  }
567
- function Yt(e) {
567
+ function Qt(e) {
568
568
  const n = document.createElement("em");
569
569
  e.appendChild(n), process.env.NODE_ENV !== "production" && (n.className = "ant-typography-css-ellipsis-content-measure");
570
570
  const o = e.getBoundingClientRect(), t = n.getBoundingClientRect();
@@ -591,7 +591,7 @@ const Ee = (e) => ["string", "number"].includes(typeof e), Zt = ({
591
591
  title: O
592
592
  }, /* @__PURE__ */ r.createElement("button", {
593
593
  type: "button",
594
- className: Y(`${e}-copy`, {
594
+ className: Q(`${e}-copy`, {
595
595
  [`${e}-copy-success`]: n,
596
596
  [`${e}-copy-icon-only`]: t
597
597
  }),
@@ -599,7 +599,7 @@ const Ee = (e) => ["string", "number"].includes(typeof e), Zt = ({
599
599
  "aria-label": b,
600
600
  tabIndex: i
601
601
  }, n ? de(p[1], /* @__PURE__ */ r.createElement(Et, null), !0) : de(p[0], d ? /* @__PURE__ */ r.createElement(ht, null) : /* @__PURE__ */ r.createElement(Ue, null), !0)));
602
- }, G = /* @__PURE__ */ r.forwardRef(({
602
+ }, Y = /* @__PURE__ */ r.forwardRef(({
603
603
  style: e,
604
604
  children: n
605
605
  }, o) => {
@@ -638,7 +638,7 @@ function $e(e, n) {
638
638
  }
639
639
  return e;
640
640
  }
641
- const ue = 0, pe = 1, fe = 2, me = 3, De = 4, Q = {
641
+ const ue = 0, pe = 1, fe = 2, me = 3, De = 4, G = {
642
642
  display: "-webkit-box",
643
643
  overflow: "hidden",
644
644
  WebkitBoxOrient: "vertical"
@@ -653,16 +653,16 @@ function tn(e) {
653
653
  expanded: i,
654
654
  miscDeps: g,
655
655
  onEllipsis: d
656
- } = e, u = r.useMemo(() => He(t), [t]), p = r.useMemo(() => en(u), [t]), m = r.useMemo(() => s(u, !1), [t]), [a, h] = r.useState(null), O = r.useRef(null), b = r.useRef(null), C = r.useRef(null), y = r.useRef(null), I = r.useRef(null), [H, w] = r.useState(!1), [T, j] = r.useState(ue), [E, k] = r.useState(0), [U, V] = r.useState(null);
656
+ } = e, u = r.useMemo(() => He(t), [t]), p = r.useMemo(() => en(u), [t]), m = r.useMemo(() => s(u, !1), [t]), [a, h] = r.useState(null), O = r.useRef(null), b = r.useRef(null), C = r.useRef(null), y = r.useRef(null), I = r.useRef(null), [H, w] = r.useState(!1), [R, j] = r.useState(ue), [E, k] = r.useState(0), [U, V] = r.useState(null);
657
657
  W(() => {
658
658
  j(n && o && p ? pe : ue);
659
659
  }, [o, t, l, n, u]), W(() => {
660
660
  var v, S, x, P;
661
- if (T === pe) {
661
+ if (R === pe) {
662
662
  j(fe);
663
663
  const _ = b.current && getComputedStyle(b.current).whiteSpace;
664
664
  V(_);
665
- } else if (T === fe) {
665
+ } else if (R === fe) {
666
666
  const _ = !!(!((v = C.current) === null || v === void 0) && v.isExceed());
667
667
  j(_ ? me : De), h(_ ? [0, p] : null), w(_);
668
668
  const z = ((S = C.current) === null || S === void 0 ? void 0 : S.getHeight()) || 0, ne = l === 1 ? 0 : ((x = y.current) === null || x === void 0 ? void 0 : x.getHeight()) || 0, K = ((P = I.current) === null || P === void 0 ? void 0 : P.getHeight()) || 0, oe = Math.max(
@@ -672,7 +672,7 @@ function tn(e) {
672
672
  );
673
673
  k(oe + 1), d(_);
674
674
  }
675
- }, [T]);
675
+ }, [R]);
676
676
  const L = a ? Math.ceil((a[0] + a[1]) / 2) : 0;
677
677
  W(() => {
678
678
  var v;
@@ -683,52 +683,52 @@ function tn(e) {
683
683
  x - S === 1 && (z = _ ? S : x), h(_ ? [S, z] : [z, x]);
684
684
  }
685
685
  }, [a, L]);
686
- const q = r.useMemo(() => {
686
+ const F = r.useMemo(() => {
687
687
  if (!n)
688
688
  return s(u, !1);
689
- if (T !== me || !a || a[0] !== a[1]) {
689
+ if (R !== me || !a || a[0] !== a[1]) {
690
690
  const v = s(u, !1);
691
- return [De, ue].includes(T) ? v : /* @__PURE__ */ r.createElement("span", {
692
- style: Object.assign(Object.assign({}, Q), {
691
+ return [De, ue].includes(R) ? v : /* @__PURE__ */ r.createElement("span", {
692
+ style: Object.assign(Object.assign({}, G), {
693
693
  WebkitLineClamp: l
694
694
  })
695
695
  }, v);
696
696
  }
697
697
  return s(i ? u : $e(u, a[0]), H);
698
- }, [i, T, a, u].concat(ke(g))), M = {
698
+ }, [i, R, a, u].concat(ke(g))), M = {
699
699
  width: o,
700
700
  margin: 0,
701
701
  padding: 0,
702
702
  whiteSpace: U === "nowrap" ? "normal" : "inherit"
703
703
  };
704
- return /* @__PURE__ */ r.createElement(r.Fragment, null, q, T === fe && /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(G, {
705
- style: Object.assign(Object.assign(Object.assign({}, M), Q), {
704
+ return /* @__PURE__ */ r.createElement(r.Fragment, null, F, R === fe && /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(Y, {
705
+ style: Object.assign(Object.assign(Object.assign({}, M), G), {
706
706
  WebkitLineClamp: l
707
707
  }),
708
708
  ref: C
709
- }, m), /* @__PURE__ */ r.createElement(G, {
710
- style: Object.assign(Object.assign(Object.assign({}, M), Q), {
709
+ }, m), /* @__PURE__ */ r.createElement(Y, {
710
+ style: Object.assign(Object.assign(Object.assign({}, M), G), {
711
711
  WebkitLineClamp: l - 1
712
712
  }),
713
713
  ref: y
714
- }, m), /* @__PURE__ */ r.createElement(G, {
715
- style: Object.assign(Object.assign(Object.assign({}, M), Q), {
714
+ }, m), /* @__PURE__ */ r.createElement(Y, {
715
+ style: Object.assign(Object.assign(Object.assign({}, M), G), {
716
716
  WebkitLineClamp: 1
717
717
  }),
718
718
  ref: I
719
- }, s([], !0))), T === me && a && a[0] !== a[1] && /* @__PURE__ */ r.createElement(G, {
719
+ }, s([], !0))), R === me && a && a[0] !== a[1] && /* @__PURE__ */ r.createElement(Y, {
720
720
  style: Object.assign(Object.assign({}, M), {
721
721
  top: 400
722
722
  }),
723
723
  ref: O
724
- }, s($e(u, L), !0)), T === pe && /* @__PURE__ */ r.createElement("span", {
724
+ }, s($e(u, L), !0)), R === pe && /* @__PURE__ */ r.createElement("span", {
725
725
  style: {
726
726
  whiteSpace: "inherit"
727
727
  },
728
728
  ref: b
729
729
  }));
730
730
  }
731
- const qe = ({
731
+ const Fe = ({
732
732
  enableEllipsis: e,
733
733
  isEllipsis: n,
734
734
  children: o,
@@ -736,7 +736,7 @@ const qe = ({
736
736
  }) => !(t != null && t.title) || !e ? o : /* @__PURE__ */ r.createElement(be, Object.assign({
737
737
  open: n ? void 0 : !1
738
738
  }, t), o);
739
- process.env.NODE_ENV !== "production" && (qe.displayName = "EllipsisTooltip");
739
+ process.env.NODE_ENV !== "production" && (Fe.displayName = "EllipsisTooltip");
740
740
  var nn = function(e, n) {
741
741
  var o = {};
742
742
  for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && n.indexOf(t) < 0 && (o[t] = e[t]);
@@ -776,17 +776,17 @@ const rn = "...", Le = ["delete", "mark", "code", "underline", "strong", "keyboa
776
776
  } = e, O = nn(e, ["prefixCls", "className", "style", "type", "disabled", "children", "ellipsis", "editable", "copyable", "component", "title"]), {
777
777
  getPrefixCls: b,
778
778
  direction: C
779
- } = r.useContext(xt), [y] = Ot("Text"), I = r.useRef(null), H = r.useRef(null), w = b("typography", t), T = ze(O, Le), [j, E] = ce(p), [k, U] = Re(!1, {
779
+ } = r.useContext(xt), [y] = Ot("Text"), I = r.useRef(null), H = r.useRef(null), w = b("typography", t), R = ze(O, Le), [j, E] = ce(p), [k, U] = Te(!1, {
780
780
  value: E.editing
781
781
  }), {
782
782
  triggerType: V = ["icon"]
783
783
  } = E, L = (c) => {
784
784
  var f;
785
785
  c && ((f = E.onStart) === null || f === void 0 || f.call(E)), U(c);
786
- }, q = Kt(k);
786
+ }, F = Kt(k);
787
787
  W(() => {
788
788
  var c;
789
- !k && q && ((c = H.current) === null || c === void 0 || c.focus());
789
+ !k && F && ((c = H.current) === null || c === void 0 || c.focus());
790
790
  }, [k]);
791
791
  const M = (c) => {
792
792
  c == null || c.preventDefault(), L(!0);
@@ -800,44 +800,44 @@ const rn = "...", Le = ["delete", "mark", "code", "underline", "strong", "keyboa
800
800
  copied: _,
801
801
  copyLoading: z,
802
802
  onClick: ne
803
- } = Ft({
803
+ } = qt({
804
804
  copyConfig: P,
805
805
  children: d
806
- }), [K, oe] = r.useState(!1), [he, Fe] = r.useState(!1), [xe, Ke] = r.useState(!1), [Oe, Xe] = r.useState(!1), [Je, Ge] = r.useState(!0), [B, R] = ce(u, {
806
+ }), [K, oe] = r.useState(!1), [he, qe] = r.useState(!1), [xe, Ke] = r.useState(!1), [Oe, Xe] = r.useState(!1), [Je, Ye] = r.useState(!0), [B, T] = ce(u, {
807
807
  expandable: !1,
808
808
  symbol: (c) => c ? y == null ? void 0 : y.collapse : y == null ? void 0 : y.expand
809
- }), [A, Qe] = Re(R.defaultExpanded || !1, {
810
- value: R.expanded
811
- }), N = B && (!A || R.expandable === "collapsible"), {
812
- rows: F = 1
813
- } = R, X = r.useMemo(() => (
809
+ }), [A, Ge] = Te(T.defaultExpanded || !1, {
810
+ value: T.expanded
811
+ }), N = B && (!A || T.expandable === "collapsible"), {
812
+ rows: q = 1
813
+ } = T, X = r.useMemo(() => (
814
814
  // Disable ellipsis
815
815
  N && // Provide suffix
816
- (R.suffix !== void 0 || R.onEllipsis || // Can't use css ellipsis since we need to provide the place for button
817
- R.expandable || j || x)
818
- ), [N, R, j, x]);
816
+ (T.suffix !== void 0 || T.onEllipsis || // Can't use css ellipsis since we need to provide the place for button
817
+ T.expandable || j || x)
818
+ ), [N, T, j, x]);
819
819
  W(() => {
820
- B && !X && (oe(_e("webkitLineClamp")), Fe(_e("textOverflow")));
820
+ B && !X && (oe(_e("webkitLineClamp")), qe(_e("textOverflow")));
821
821
  }, [X, B]);
822
- const [$, Ye] = r.useState(N), Se = r.useMemo(() => X ? !1 : F === 1 ? he : K, [X, he, K]);
822
+ const [$, Qe] = r.useState(N), Se = r.useMemo(() => X ? !1 : q === 1 ? he : K, [X, he, K]);
823
823
  W(() => {
824
- Ye(Se && N);
824
+ Qe(Se && N);
825
825
  }, [Se, N]);
826
- const Ce = N && ($ ? Oe : xe), Ze = N && F === 1 && $, re = N && F > 1 && $, et = (c, f) => {
826
+ const Ce = N && ($ ? Oe : xe), Ze = N && q === 1 && $, re = N && q > 1 && $, et = (c, f) => {
827
827
  var D;
828
- Qe(f.expanded), (D = R.onExpand) === null || D === void 0 || D.call(R, c, f);
828
+ Ge(f.expanded), (D = T.onExpand) === null || D === void 0 || D.call(T, c, f);
829
829
  }, [we, tt] = r.useState(0), nt = ({
830
830
  offsetWidth: c
831
831
  }) => {
832
832
  tt(c);
833
833
  }, ot = (c) => {
834
834
  var f;
835
- Ke(c), xe !== c && ((f = R.onEllipsis) === null || f === void 0 || f.call(R, c));
835
+ Ke(c), xe !== c && ((f = T.onEllipsis) === null || f === void 0 || f.call(T, c));
836
836
  };
837
837
  r.useEffect(() => {
838
838
  const c = I.current;
839
839
  if (B && $ && c) {
840
- const f = Yt(c);
840
+ const f = Qt(c);
841
841
  Oe !== f && Xe(f);
842
842
  }
843
843
  }, [B, $, d, re, Je, we]), r.useEffect(() => {
@@ -845,13 +845,13 @@ const rn = "...", Le = ["delete", "mark", "code", "underline", "strong", "keyboa
845
845
  if (typeof IntersectionObserver > "u" || !c || !$ || !N)
846
846
  return;
847
847
  const f = new IntersectionObserver(() => {
848
- Ge(!!c.offsetParent);
848
+ Ye(!!c.offsetParent);
849
849
  });
850
850
  return f.observe(c), () => {
851
851
  f.disconnect();
852
852
  };
853
853
  }, [$, N]);
854
- const se = Xt(R.tooltip, E.text, d), J = r.useMemo(() => {
854
+ const se = Xt(T.tooltip, E.text, d), J = r.useMemo(() => {
855
855
  if (!(!B || $))
856
856
  return [E.text, d, h, se.title].find(Ee);
857
857
  }, [B, $, h, se.title, Ce]);
@@ -874,7 +874,7 @@ const rn = "...", Le = ["delete", "mark", "code", "underline", "strong", "keyboa
874
874
  const {
875
875
  expandable: c,
876
876
  symbol: f
877
- } = R;
877
+ } = T;
878
878
  return c ? /* @__PURE__ */ r.createElement("button", {
879
879
  type: "button",
880
880
  key: "expand",
@@ -917,16 +917,16 @@ const rn = "...", Le = ["delete", "mark", "code", "underline", "strong", "keyboa
917
917
  })) : null, lt = (c) => [c && rt(), st(), it()], at = (c) => [c && !A && /* @__PURE__ */ r.createElement("span", {
918
918
  "aria-hidden": !0,
919
919
  key: "ellipsis"
920
- }, rn), R.suffix, lt(c)];
920
+ }, rn), T.suffix, lt(c)];
921
921
  return /* @__PURE__ */ r.createElement(St, {
922
922
  onResize: nt,
923
923
  disabled: !N
924
- }, (c) => /* @__PURE__ */ r.createElement(qe, {
924
+ }, (c) => /* @__PURE__ */ r.createElement(Fe, {
925
925
  tooltipProps: se,
926
926
  enableEllipsis: N,
927
927
  isEllipsis: Ce
928
928
  }, /* @__PURE__ */ r.createElement(ve, Object.assign({
929
- className: Y({
929
+ className: Q({
930
930
  [`${w}-${i}`]: i,
931
931
  [`${w}-disabled`]: g,
932
932
  [`${w}-ellipsis`]: B,
@@ -935,7 +935,7 @@ const rn = "...", Le = ["delete", "mark", "code", "underline", "strong", "keyboa
935
935
  }, s),
936
936
  prefixCls: t,
937
937
  style: Object.assign(Object.assign({}, l), {
938
- WebkitLineClamp: re ? F : void 0
938
+ WebkitLineClamp: re ? q : void 0
939
939
  }),
940
940
  component: a,
941
941
  ref: Ae(c, I, n),
@@ -943,10 +943,10 @@ const rn = "...", Le = ["delete", "mark", "code", "underline", "strong", "keyboa
943
943
  onClick: V.includes("text") ? M : void 0,
944
944
  "aria-label": J == null ? void 0 : J.toString(),
945
945
  title: h
946
- }, T), /* @__PURE__ */ r.createElement(tn, {
946
+ }, R), /* @__PURE__ */ r.createElement(tn, {
947
947
  enableMeasure: N && !$,
948
948
  text: d,
949
- rows: F,
949
+ rows: q,
950
950
  width: we,
951
951
  onEllipsis: ot,
952
952
  expanded: A,
@@ -1,20 +1,20 @@
1
- import { jsx as l, Fragment as Y, jsxs as f } from "react/jsx-runtime";
2
- import { bh as qe, a6 as F, bk as V, bg as Ae, b0 as ae, bH as Te, ap as c, bJ as ot, a7 as He, a8 as Be, ao as je, bt as lt, aq as Me, aT as Le, ar as at, aK as ct, aA as st, cO as dt, a9 as We, ah as mt, b3 as ut, aG as pt, r as fe, R as gt, ab as te, a as ht, A as ft, B as de, S as bt } from "./embed-mf8t3QXh.js";
1
+ import { jsx as l, Fragment as K, jsxs as f } from "react/jsx-runtime";
2
+ import { bk as qe, a5 as F, bn as V, bj as Ae, b4 as ae, bI as Te, ac as c, af as ot, a6 as He, a7 as Be, ad as je, bu as lt, ah as Me, aY as Le, aj as at, ai as ct, aG as st, cO as dt, a8 as We, as as mt, b7 as ut, aM as pt, r as fe, R as gt, aa as te, a as ht, A as ft, B as de, S as bt } from "./embed-CoEyJMJx.js";
3
3
  import * as h from "react";
4
4
  import Ne, { useState as G, useRef as k, useCallback as $t, useEffect as Oe } from "react";
5
- import { T as x } from "./index-Bw4M9KLv.js";
6
- import { D as g } from "./index-BvJ35WL3.js";
7
- import { T as ue } from "./index-CtqUgNxs.js";
8
- import { C as Ve } from "./Collapse-B77SsmFh.js";
9
- import { M as St } from "./index-B12ZggsE.js";
10
- import { A as pe } from "./index-B7SfTpox.js";
11
- import { F as me } from "./index-BkTegt8T.js";
12
- import { I as De } from "./index-2SysmGHo.js";
13
- import { D as vt } from "./index-DhSCFLtV.js";
14
- import { S as It } from "./index-QZ9JPfVR.js";
15
- import { a as yt } from "./useBreakpoint-Cul9y9Cu.js";
16
- import { P as Ct } from "./progress-CZxOOnIs.js";
17
- import { T as Et } from "./index-zXwXfn-X.js";
5
+ import { T as x } from "./index-DljgNXFS.js";
6
+ import { D as g } from "./index-B21fkm-c.js";
7
+ import { T as ue } from "./index-mANVYpNc.js";
8
+ import { C as Ve } from "./Collapse-CZbXdmBX.js";
9
+ import { M as St } from "./index-C8VIE0cr.js";
10
+ import { A as pe } from "./index-C0bjp6yU.js";
11
+ import { F as me } from "./index-BeejupFS.js";
12
+ import { I as De } from "./index-o4EXX17N.js";
13
+ import { D as vt } from "./index-Ct0MiSE7.js";
14
+ import { S as It } from "./index-fSzyAUm4.js";
15
+ import { a as yt } from "./useBreakpoint-SG_cMfLJ.js";
16
+ import { P as Ct } from "./progress-COKT887h.js";
17
+ import { T as Et } from "./index-CkrD_v5E.js";
18
18
  var Tt = ["className", "prefixCls", "style", "active", "status", "iconPrefix", "icon", "wrapperStyle", "stepNumber", "disabled", "description", "title", "subTitle", "progressDot", "stepIcon", "tailContent", "icons", "stepIndex", "onStepClick", "onClick", "render"];
19
19
  function Pe(e) {
20
20
  return typeof e == "string";
@@ -30,19 +30,19 @@ function Ue(e) {
30
30
  (E === Te.ENTER || E === Te.SPACE) && I(D);
31
31
  });
32
32
  var X = function() {
33
- var E, T, U = F("".concat(n, "-icon"), "".concat(p, "icon"), (E = {}, V(E, "".concat(p, "icon-").concat(u), u && Pe(u)), V(E, "".concat(p, "icon-check"), !u && a === "finish" && (S && !S.finish || !S)), V(E, "".concat(p, "icon-cross"), !u && a === "error" && (S && !S.error || !S)), E)), K = /* @__PURE__ */ h.createElement("span", {
33
+ var E, T, U = F("".concat(n, "-icon"), "".concat(p, "icon"), (E = {}, V(E, "".concat(p, "icon-").concat(u), u && Pe(u)), V(E, "".concat(p, "icon-check"), !u && a === "finish" && (S && !S.finish || !S)), V(E, "".concat(p, "icon-cross"), !u && a === "error" && (S && !S.error || !S)), E)), Y = /* @__PURE__ */ h.createElement("span", {
34
34
  className: "".concat(n, "-icon-dot")
35
35
  });
36
36
  return C ? typeof C == "function" ? T = /* @__PURE__ */ h.createElement("span", {
37
37
  className: "".concat(n, "-icon")
38
- }, C(K, {
38
+ }, C(Y, {
39
39
  index: s - 1,
40
40
  status: a,
41
41
  title: b,
42
42
  description: m
43
43
  })) : T = /* @__PURE__ */ h.createElement("span", {
44
44
  className: "".concat(n, "-icon")
45
- }, K) : u && !Pe(u) ? T = /* @__PURE__ */ h.createElement("span", {
45
+ }, Y) : u && !Pe(u) ? T = /* @__PURE__ */ h.createElement("span", {
46
46
  className: "".concat(n, "-icon")
47
47
  }, u) : S && S.finish && a === "finish" ? T = /* @__PURE__ */ h.createElement("span", {
48
48
  className: "".concat(n, "-icon")
@@ -86,7 +86,7 @@ var Nt = ["prefixCls", "style", "className", "children", "direction", "type", "l
86
86
  function be(e) {
87
87
  var t, i = e.prefixCls, n = i === void 0 ? "rc-steps" : i, r = e.style, o = r === void 0 ? {} : r, a = e.className;
88
88
  e.children;
89
- var p = e.direction, u = p === void 0 ? "horizontal" : p, s = e.type, d = s === void 0 ? "default" : s, m = e.labelPlacement, b = m === void 0 ? "horizontal" : m, v = e.iconPrefix, C = v === void 0 ? "rc" : v, z = e.status, _ = z === void 0 ? "process" : z, S = e.size, D = e.current, I = D === void 0 ? 0 : D, P = e.progressDot, $ = P === void 0 ? !1 : P, N = e.stepIcon, R = e.initial, q = R === void 0 ? 0 : R, X = e.icons, y = e.onChange, w = e.itemRender, H = e.items, O = H === void 0 ? [] : H, j = qe(e, Nt), E = d === "navigation", T = d === "inline", U = T || $, K = T ? "horizontal" : u, Ce = T ? void 0 : S, et = U ? "vertical" : b, tt = F(n, "".concat(n, "-").concat(K), a, (t = {}, V(t, "".concat(n, "-").concat(Ce), Ce), V(t, "".concat(n, "-label-").concat(et), K === "horizontal"), V(t, "".concat(n, "-dot"), !!U), V(t, "".concat(n, "-navigation"), E), V(t, "".concat(n, "-inline"), T), t)), it = function(ie) {
89
+ var p = e.direction, u = p === void 0 ? "horizontal" : p, s = e.type, d = s === void 0 ? "default" : s, m = e.labelPlacement, b = m === void 0 ? "horizontal" : m, v = e.iconPrefix, C = v === void 0 ? "rc" : v, z = e.status, _ = z === void 0 ? "process" : z, S = e.size, D = e.current, I = D === void 0 ? 0 : D, P = e.progressDot, $ = P === void 0 ? !1 : P, N = e.stepIcon, R = e.initial, q = R === void 0 ? 0 : R, X = e.icons, y = e.onChange, w = e.itemRender, H = e.items, O = H === void 0 ? [] : H, j = qe(e, Nt), E = d === "navigation", T = d === "inline", U = T || $, Y = T ? "horizontal" : u, Ce = T ? void 0 : S, et = U ? "vertical" : b, tt = F(n, "".concat(n, "-").concat(Y), a, (t = {}, V(t, "".concat(n, "-").concat(Ce), Ce), V(t, "".concat(n, "-label-").concat(et), Y === "horizontal"), V(t, "".concat(n, "-dot"), !!U), V(t, "".concat(n, "-navigation"), E), V(t, "".concat(n, "-inline"), T), t)), it = function(ie) {
90
90
  y && I !== ie && y(ie);
91
91
  }, nt = function(ie, Ee) {
92
92
  var M = Ae({}, ie), Q = q + Ee;
@@ -1069,7 +1069,7 @@ function Ft(e, t) {
1069
1069
  });
1070
1070
  return Gt(i);
1071
1071
  }
1072
- var Kt = function(e, t) {
1072
+ var Yt = function(e, t) {
1073
1073
  var i = {};
1074
1074
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (i[n] = e[n]);
1075
1075
  if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var r = 0, n = Object.getOwnPropertySymbols(e); r < n.length; r++)
@@ -1088,7 +1088,7 @@ const $e = (e) => {
1088
1088
  current: u = 0,
1089
1089
  children: s,
1090
1090
  style: d
1091
- } = e, m = Kt(e, ["percent", "size", "className", "rootClassName", "direction", "items", "responsive", "current", "children", "style"]), {
1091
+ } = e, m = Yt(e, ["percent", "size", "className", "rootClassName", "direction", "items", "responsive", "current", "children", "style"]), {
1092
1092
  xs: b
1093
1093
  } = yt(p), {
1094
1094
  getPrefixCls: v,
@@ -1110,13 +1110,13 @@ const $e = (e) => {
1110
1110
  status: U
1111
1111
  }) => {
1112
1112
  if (U === "process" && y !== void 0) {
1113
- const K = D === "small" ? 32 : 40;
1113
+ const Y = D === "small" ? 32 : 40;
1114
1114
  return /* @__PURE__ */ h.createElement("div", {
1115
1115
  className: `${I}-progress-icon`
1116
1116
  }, /* @__PURE__ */ h.createElement(Ct, {
1117
1117
  type: "circle",
1118
1118
  percent: y,
1119
- size: K,
1119
+ size: Y,
1120
1120
  strokeWidth: 4,
1121
1121
  format: () => null
1122
1122
  }), T);
@@ -1142,7 +1142,7 @@ const $e = (e) => {
1142
1142
  };
1143
1143
  $e.Step = be.Step;
1144
1144
  process.env.NODE_ENV !== "production" && ($e.displayName = "Steps");
1145
- const Yt = (e) => {
1145
+ const Kt = (e) => {
1146
1146
  const {
1147
1147
  componentCls: t,
1148
1148
  calc: i
@@ -1330,7 +1330,7 @@ const Yt = (e) => {
1330
1330
  customHeadPaddingVertical: e.paddingXXS,
1331
1331
  paddingInlineEnd: 2
1332
1332
  });
1333
- return Yt(t);
1333
+ return Kt(t);
1334
1334
  }, Qt);
1335
1335
  var Zt = function(e, t) {
1336
1336
  var i = {};
@@ -1613,21 +1613,21 @@ const ze = {
1613
1613
  APPROVE_PRODUCTION: { label: "批准发布生产", permission: "development.deploy.production", consequence: "目标环境:生产(PRODUCTION)。此操作将授权发布已验收的冻结分支与 commit,可能影响线上用户。" },
1614
1614
  RETRY: { label: "重试", permission: "development.approve", consequence: "请求后端重试失败执行;具体可重试阶段由后端决定。" }
1615
1615
  };
1616
- function Ke(e) {
1616
+ function Ye(e) {
1617
1617
  return Object.prototype.hasOwnProperty.call(Z, e);
1618
1618
  }
1619
- function Ye(e) {
1619
+ function Ke(e) {
1620
1620
  return [...e.runs].sort((t, i) => i.createTime.localeCompare(t.createTime) || i.updateTime.localeCompare(t.updateTime))[0];
1621
1621
  }
1622
1622
  function Qe(e, t) {
1623
1623
  var i;
1624
- return t === "APPROVE_PRODUCTION" || t === "RETRY" && ((i = Ye(e)) == null ? void 0 : i.stage) === "PRODUCTION";
1624
+ return t === "APPROVE_PRODUCTION" || t === "RETRY" && ((i = Ke(e)) == null ? void 0 : i.stage) === "PRODUCTION";
1625
1625
  }
1626
1626
  function he(e, t) {
1627
- return [...new Set(e.allowedActions)].filter(Ke).filter((i) => {
1627
+ return [...new Set(e.allowedActions)].filter(Ye).filter((i) => {
1628
1628
  var r;
1629
1629
  if (i !== "RETRY") return t(Z[i].permission);
1630
- const n = (r = Ye(e)) == null ? void 0 : r.stage;
1630
+ const n = (r = Ke(e)) == null ? void 0 : r.stage;
1631
1631
  return n === "PRODUCTION" ? t("development.deploy.production") : n === "DEV" ? t("development.deploy.dev") : n === "DEVELOPMENT" && t("development.approve");
1632
1632
  });
1633
1633
  }
@@ -1758,7 +1758,7 @@ function di({ run: e }) {
1758
1758
  /* @__PURE__ */ l(g.Item, { label: "DSH session", children: /* @__PURE__ */ l(W, { value: i }) }),
1759
1759
  /* @__PURE__ */ l(g.Item, { label: "DSH call", children: /* @__PURE__ */ l(W, { value: n }) })
1760
1760
  ] }),
1761
- (e.stage === "DEVELOPMENT" || t.branches.length > 0) && /* @__PURE__ */ f(Y, { children: [
1761
+ (e.stage === "DEVELOPMENT" || t.branches.length > 0) && /* @__PURE__ */ f(K, { children: [
1762
1762
  /* @__PURE__ */ l("h4", { children: "分支与提交" }),
1763
1763
  /* @__PURE__ */ l(ke, { branches: t.branches }),
1764
1764
  /* @__PURE__ */ l("h4", { children: "测试执行证据" }),
@@ -1769,7 +1769,7 @@ function di({ run: e }) {
1769
1769
  /* @__PURE__ */ l(g.Item, { label: "SHA-256", children: /* @__PURE__ */ l(W, { value: r.sha256 }) })
1770
1770
  ] }, o))
1771
1771
  ] }),
1772
- (e.stage !== "DEVELOPMENT" || t.deployments.length > 0) && /* @__PURE__ */ f(Y, { children: [
1772
+ (e.stage !== "DEVELOPMENT" || t.deployments.length > 0) && /* @__PURE__ */ f(K, { children: [
1773
1773
  /* @__PURE__ */ f("h4", { children: [
1774
1774
  "发布记录 · ",
1775
1775
  _e(e.stage)
@@ -1790,7 +1790,7 @@ function di({ run: e }) {
1790
1790
  ] });
1791
1791
  }
1792
1792
  function mi({ runs: e }) {
1793
- return e.length ? /* @__PURE__ */ l(Y, { children: [...e].sort((t, i) => i.createTime.localeCompare(t.createTime)).map((t) => /* @__PURE__ */ l(di, { run: t }, t.code)) }) : /* @__PURE__ */ l(te, { image: te.PRESENTED_IMAGE_SIMPLE, description: "尚无执行记录" });
1793
+ return e.length ? /* @__PURE__ */ l(K, { children: [...e].sort((t, i) => i.createTime.localeCompare(t.createTime)).map((t) => /* @__PURE__ */ l(di, { run: t }, t.code)) }) : /* @__PURE__ */ l(te, { image: te.PRESENTED_IMAGE_SIMPLE, description: "尚无执行记录" });
1794
1794
  }
1795
1795
  function ui({ pending: e, busy: t, error: i, stale: n, onCancel: r, onSubmit: o }) {
1796
1796
  const [a, p] = G(""), [u, s] = G(""), { action: d, issue: m } = e, b = Qe(m, d), v = Z[d];
@@ -1838,7 +1838,7 @@ function B(e) {
1838
1838
  function pi({ context: e }) {
1839
1839
  if (!e || Object.keys(e).length === 0) return /* @__PURE__ */ l(x.Text, { type: "secondary", children: "未附带诊断上下文" });
1840
1840
  const t = Array.isArray(e.events) ? e.events.filter(J) : [], i = J(e.viewport) ? e.viewport : null, n = { runtime: "运行时异常", unhandledrejection: "未处理的异步异常", resource: "资源加载失败", http: "接口失败" };
1841
- return /* @__PURE__ */ f(Y, { children: [
1841
+ return /* @__PURE__ */ f(K, { children: [
1842
1842
  /* @__PURE__ */ f(g, { column: 1, size: "small", children: [
1843
1843
  /* @__PURE__ */ l(g.Item, { label: "采集时间", children: B(e.capturedAt) }),
1844
1844
  /* @__PURE__ */ l(g.Item, { label: "页面路径", children: B(e.route) }),
@@ -1863,7 +1863,7 @@ function pi({ context: e }) {
1863
1863
  }
1864
1864
  function gi({ issue: e }) {
1865
1865
  const t = ci(e), i = Fe(e.status) ? "每 5 秒刷新执行状态" : e.status === "CLOSED" || e.status === "REJECTED" ? "流程已结束,可手动刷新" : t < 0 ? "请查看执行记录,可手动刷新" : "在此卡点等待人工处理,可手动刷新";
1866
- return /* @__PURE__ */ f(Y, { children: [
1866
+ return /* @__PURE__ */ f(K, { children: [
1867
1867
  /* @__PURE__ */ f("section", { className: "development-section", children: [
1868
1868
  /* @__PURE__ */ f("div", { className: "development-section-heading", children: [
1869
1869
  /* @__PURE__ */ l(x.Title, { level: 4, children: e.title }),
@@ -1911,8 +1911,8 @@ function gi({ issue: e }) {
1911
1911
  ] }),
1912
1912
  /* @__PURE__ */ f("section", { className: "development-section", children: [
1913
1913
  /* @__PURE__ */ l("h3", { children: "历史人工决策" }),
1914
- e.history.length ? /* @__PURE__ */ l(Se, { items: e.history.map((n) => ({ children: /* @__PURE__ */ f(Y, { children: [
1915
- /* @__PURE__ */ l(x.Text, { strong: !0, children: Ke(n.action) ? Z[n.action].label : n.action }),
1914
+ e.history.length ? /* @__PURE__ */ l(Se, { items: e.history.map((n) => ({ children: /* @__PURE__ */ f(K, { children: [
1915
+ /* @__PURE__ */ l(x.Text, { strong: !0, children: Ye(n.action) ? Z[n.action].label : n.action }),
1916
1916
  /* @__PURE__ */ f("p", { children: [
1917
1917
  n.at,
1918
1918
  " · 操作人 ",
@@ -1926,7 +1926,7 @@ function gi({ issue: e }) {
1926
1926
  function zi({ code: e, onClose: t, onChanged: i }) {
1927
1927
  var s;
1928
1928
  const n = ht(), { message: r } = ft.useApp(), o = (d) => !n.loading && n.can(d), a = si(e, o, i), p = a.issue ? he(a.issue, o) : [], u = !!(a.pending && (a.conflict || a.pending.issue.version !== ((s = a.issue) == null ? void 0 : s.version) || !p.includes(a.pending.action)));
1929
- return /* @__PURE__ */ f(Y, { children: [
1929
+ return /* @__PURE__ */ f(K, { children: [
1930
1930
  /* @__PURE__ */ f(
1931
1931
  vt,
1932
1932
  {