@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,11 +1,11 @@
1
1
  import { jsx as I, jsxs as st } from "react/jsx-runtime";
2
2
  import * as d from "react";
3
3
  import Ce, { useContext as qe, useRef as ye, useState as pe, useEffect as Ne, useMemo as tt, Fragment as Nt } from "react";
4
- import { a6 as oe, bk as ce, at as Rt, cH as Et, bg as P, bH as He, bi as W, bx as Ot, aV as Mt, cI as $t, bh as Re, b0 as ie, cJ as Pt, ah as Tt, bf as lt, bj as Ve, a$ as ze, a7 as _t, a8 as nt, bL as be, cK as kt, cL as Lt, ce as zt, bJ as At, ap as ct, aA as jt, a9 as Dt, aG as ut, co as dt, cf as ke, aq as Yt, ar as Xt, b1 as Wt, I as Zt } from "./embed-mf8t3QXh.js";
5
- import { R as Ht } from "./EyeOutlined-CudyDdjH.js";
4
+ import { a5 as oe, bj as ce, as as Rt, cH as Et, bf as P, bG as He, bh as W, bw as Ot, aU as Mt, cI as $t, bg as Re, a$ as ie, cJ as Pt, ag as Tt, be as lt, bi as Fe, a_ as ze, a6 as _t, a7 as nt, bK as be, cK as kt, cL as Lt, cd as zt, bI as At, ao as ct, az as jt, a8 as Dt, aF as ut, cn as dt, ce as ke, ap as Yt, aq as Xt, b0 as Wt, I as Zt } from "./embed-BUaR8PAn.js";
5
+ import { R as Ht } from "./EyeOutlined-CIFgRd6d.js";
6
6
  import { a as Se } from "./addEventListener-Dkqq5HCC.js";
7
- import { a as Fe, R as Be } from "./LeftOutlined-CJasZIyX.js";
8
- import { R as Vt } from "./RotateRightOutlined-DqyspFCO.js";
7
+ import { a as Ve, R as Be } from "./LeftOutlined-Be44-JWT.js";
8
+ import { R as Ft } from "./RotateRightOutlined-CYlCNRvD.js";
9
9
  function ft() {
10
10
  var t = document.documentElement.clientWidth, e = window.innerHeight || document.documentElement.clientHeight;
11
11
  return {
@@ -13,7 +13,7 @@ function ft() {
13
13
  height: e
14
14
  };
15
15
  }
16
- function Ft(t) {
16
+ function Vt(t) {
17
17
  var e = t.getBoundingClientRect(), n = document.documentElement;
18
18
  return {
19
19
  left: e.left + (window.pageXOffset || n.scrollLeft) - (n.clientLeft || document.body.clientLeft || 0),
@@ -21,7 +21,7 @@ function Ft(t) {
21
21
  };
22
22
  }
23
23
  var Ee = /* @__PURE__ */ d.createContext(null), Bt = function(e) {
24
- var n = e.visible, o = e.maskTransitionName, r = e.getContainer, a = e.prefixCls, s = e.rootClassName, l = e.icons, i = e.countRender, f = e.showSwitch, u = e.showProgress, c = e.current, g = e.transform, h = e.count, w = e.scale, m = e.minScale, p = e.maxScale, b = e.closeIcon, N = e.onActive, O = e.onClose, M = e.onZoomIn, v = e.onZoomOut, y = e.onRotateRight, x = e.onRotateLeft, C = e.onFlipX, R = e.onFlipY, E = e.onReset, S = e.toolbarRender, $ = e.zIndex, _ = e.image, T = qe(Ee), j = l.rotateLeft, Y = l.rotateRight, H = l.zoomIn, B = l.zoomOut, J = l.close, F = l.left, U = l.right, Q = l.flipX, G = l.flipY, se = "".concat(a, "-operations-operation");
24
+ var n = e.visible, o = e.maskTransitionName, r = e.getContainer, a = e.prefixCls, s = e.rootClassName, l = e.icons, i = e.countRender, f = e.showSwitch, u = e.showProgress, c = e.current, g = e.transform, h = e.count, w = e.scale, m = e.minScale, p = e.maxScale, b = e.closeIcon, N = e.onActive, O = e.onClose, M = e.onZoomIn, v = e.onZoomOut, y = e.onRotateRight, x = e.onRotateLeft, C = e.onFlipX, R = e.onFlipY, E = e.onReset, S = e.toolbarRender, $ = e.zIndex, _ = e.image, T = qe(Ee), j = l.rotateLeft, Y = l.rotateRight, H = l.zoomIn, B = l.zoomOut, Q = l.close, V = l.left, U = l.right, J = l.flipX, G = l.flipY, se = "".concat(a, "-operations-operation");
25
25
  d.useEffect(function() {
26
26
  var L = function(A) {
27
27
  A.keyCode === He.ESC && O();
@@ -33,14 +33,14 @@ var Ee = /* @__PURE__ */ d.createContext(null), Bt = function(e) {
33
33
  var ee = function(z, A) {
34
34
  z.preventDefault(), z.stopPropagation(), N(A);
35
35
  }, D = d.useCallback(function(L) {
36
- var z = L.type, A = L.disabled, V = L.onClick, X = L.icon;
36
+ var z = L.type, A = L.disabled, F = L.onClick, X = L.icon;
37
37
  return /* @__PURE__ */ d.createElement("div", {
38
38
  key: z,
39
39
  className: oe(se, "".concat(a, "-operations-operation-").concat(z), ce({}, "".concat(a, "-operations-operation-disabled"), !!A)),
40
- onClick: V
40
+ onClick: F
41
41
  }, X);
42
42
  }, [se, a]), le = f ? D({
43
- icon: F,
43
+ icon: V,
44
44
  onClick: function(z) {
45
45
  return ee(z, -1);
46
46
  },
@@ -58,7 +58,7 @@ var Ee = /* @__PURE__ */ d.createContext(null), Bt = function(e) {
58
58
  onClick: R,
59
59
  type: "flipY"
60
60
  }), k = D({
61
- icon: Q,
61
+ icon: J,
62
62
  onClick: C,
63
63
  type: "flipX"
64
64
  }), re = D({
@@ -98,12 +98,12 @@ var Ee = /* @__PURE__ */ d.createContext(null), Bt = function(e) {
98
98
  }, b === null ? null : /* @__PURE__ */ d.createElement("button", {
99
99
  className: "".concat(a, "-close"),
100
100
  onClick: O
101
- }, b || J), f && /* @__PURE__ */ d.createElement(d.Fragment, null, /* @__PURE__ */ d.createElement("div", {
101
+ }, b || Q), f && /* @__PURE__ */ d.createElement(d.Fragment, null, /* @__PURE__ */ d.createElement("div", {
102
102
  className: oe("".concat(a, "-switch-left"), ce({}, "".concat(a, "-switch-left-disabled"), c === 0)),
103
103
  onClick: function(X) {
104
104
  return ee(X, -1);
105
105
  }
106
- }, F), /* @__PURE__ */ d.createElement("div", {
106
+ }, V), /* @__PURE__ */ d.createElement("div", {
107
107
  className: oe("".concat(a, "-switch-right"), ce({}, "".concat(a, "-switch-right-disabled"), c === h - 1)),
108
108
  onClick: function(X) {
109
109
  return ee(X, 1);
@@ -171,14 +171,14 @@ function Ut(t, e, n, o) {
171
171
  }, g = function(w, m, p, b, N) {
172
172
  var O = t.current, M = O.width, v = O.height, y = O.offsetWidth, x = O.offsetHeight, C = O.offsetLeft, R = O.offsetTop, E = w, S = i.scale * w;
173
173
  S > n ? (S = n, E = n / i.scale) : S < e && (S = N ? S : e, E = S / i.scale);
174
- var $ = p ?? innerWidth / 2, _ = b ?? innerHeight / 2, T = E - 1, j = T * M * 0.5, Y = T * v * 0.5, H = T * ($ - i.x - C), B = T * (_ - i.y - R), J = i.x - (H - j), F = i.y - (B - Y);
174
+ var $ = p ?? innerWidth / 2, _ = b ?? innerHeight / 2, T = E - 1, j = T * M * 0.5, Y = T * v * 0.5, H = T * ($ - i.x - C), B = T * (_ - i.y - R), Q = i.x - (H - j), V = i.y - (B - Y);
175
175
  if (w < 1 && S === 1) {
176
- var U = y * S, Q = x * S, G = ft(), se = G.width, ee = G.height;
177
- U <= se && Q <= ee && (J = 0, F = 0);
176
+ var U = y * S, J = x * S, G = ft(), se = G.width, ee = G.height;
177
+ U <= se && J <= ee && (Q = 0, V = 0);
178
178
  }
179
179
  c({
180
- x: J,
181
- y: F,
180
+ x: Q,
181
+ y: V,
182
182
  scale: S
183
183
  }, m);
184
184
  };
@@ -304,14 +304,14 @@ function Le(t, e) {
304
304
  var n = t.x - e.x, o = t.y - e.y;
305
305
  return Math.hypot(n, o);
306
306
  }
307
- function Jt(t, e, n, o) {
307
+ function Qt(t, e, n, o) {
308
308
  var r = Le(t, n), a = Le(e, o);
309
309
  if (r === 0 && a === 0)
310
310
  return [t.x, t.y];
311
311
  var s = r / (r + a), l = t.x + s * (e.x - t.x), i = t.y + s * (e.y - t.y);
312
312
  return [l, i];
313
313
  }
314
- function Qt(t, e, n, o, r, a, s) {
314
+ function Jt(t, e, n, o, r, a, s) {
315
315
  var l = r.rotate, i = r.scale, f = r.x, u = r.y, c = pe(!1), g = W(c, 2), h = g[0], w = g[1], m = ye({
316
316
  point1: {
317
317
  x: 0,
@@ -355,7 +355,7 @@ function Qt(t, e, n, o, r, a, s) {
355
355
  }, _ = {
356
356
  x: x[1].clientX,
357
357
  y: x[1].clientY
358
- }, T = Jt(R, E, $, _), j = W(T, 2), Y = j[0], H = j[1], B = Le($, _) / Le(R, E);
358
+ }, T = Qt(R, E, $, _), j = W(T, 2), Y = j[0], H = j[1], B = Le($, _) / Le(R, E);
359
359
  s(B, "touchZoom", Y, H, !0), p({
360
360
  point1: $,
361
361
  point2: _,
@@ -409,7 +409,7 @@ var en = ["fallback", "src", "imgRef"], tn = ["prefixCls", "src", "alt", "imageI
409
409
  }
410
410
  }, a, f));
411
411
  }, gt = function(e) {
412
- var n = e.prefixCls, o = e.src, r = e.alt, a = e.imageInfo, s = e.fallback, l = e.movable, i = l === void 0 ? !0 : l, f = e.onClose, u = e.visible, c = e.icons, g = c === void 0 ? {} : c, h = e.rootClassName, w = e.closeIcon, m = e.getContainer, p = e.current, b = p === void 0 ? 0 : p, N = e.count, O = N === void 0 ? 1 : N, M = e.countRender, v = e.scaleStep, y = v === void 0 ? 0.5 : v, x = e.minScale, C = x === void 0 ? 1 : x, R = e.maxScale, E = R === void 0 ? 50 : R, S = e.transitionName, $ = S === void 0 ? "zoom" : S, _ = e.maskTransitionName, T = _ === void 0 ? "fade" : _, j = e.imageRender, Y = e.imgCommonProps, H = e.toolbarRender, B = e.onTransform, J = e.onChange, F = Re(e, tn), U = ye(), Q = qe(Ee), G = Q && O > 1, se = Q && O >= 1, ee = pe(!0), D = W(ee, 2), le = D[0], te = D[1], K = Ut(U, C, E, B), k = K.transform, re = K.resetTransform, Z = K.updateTransform, q = K.dispatchZoomChange, ae = Kt(U, i, u, y, k, Z, q), ue = ae.isMoving, L = ae.onMouseDown, z = ae.onWheel, A = Qt(U, i, u, C, k, Z, q), V = A.isTouching, X = A.onTouchStart, me = A.onTouchMove, we = A.onTouchEnd, de = k.rotate, fe = k.scale, De = oe(ce({}, "".concat(n, "-moving"), ue));
412
+ var n = e.prefixCls, o = e.src, r = e.alt, a = e.imageInfo, s = e.fallback, l = e.movable, i = l === void 0 ? !0 : l, f = e.onClose, u = e.visible, c = e.icons, g = c === void 0 ? {} : c, h = e.rootClassName, w = e.closeIcon, m = e.getContainer, p = e.current, b = p === void 0 ? 0 : p, N = e.count, O = N === void 0 ? 1 : N, M = e.countRender, v = e.scaleStep, y = v === void 0 ? 0.5 : v, x = e.minScale, C = x === void 0 ? 1 : x, R = e.maxScale, E = R === void 0 ? 50 : R, S = e.transitionName, $ = S === void 0 ? "zoom" : S, _ = e.maskTransitionName, T = _ === void 0 ? "fade" : _, j = e.imageRender, Y = e.imgCommonProps, H = e.toolbarRender, B = e.onTransform, Q = e.onChange, V = Re(e, tn), U = ye(), J = qe(Ee), G = J && O > 1, se = J && O >= 1, ee = pe(!0), D = W(ee, 2), le = D[0], te = D[1], K = Ut(U, C, E, B), k = K.transform, re = K.resetTransform, Z = K.updateTransform, q = K.dispatchZoomChange, ae = Kt(U, i, u, y, k, Z, q), ue = ae.isMoving, L = ae.onMouseDown, z = ae.onWheel, A = Jt(U, i, u, C, k, Z, q), F = A.isTouching, X = A.onTouchStart, me = A.onTouchMove, we = A.onTouchEnd, de = k.rotate, fe = k.scale, De = oe(ce({}, "".concat(n, "-moving"), ue));
413
413
  Ne(function() {
414
414
  le || te(!0);
415
415
  }, [le]);
@@ -439,7 +439,7 @@ var en = ["fallback", "src", "imgRef"], tn = ["prefixCls", "src", "alt", "imageI
439
439
  re("reset");
440
440
  }, We = function(he) {
441
441
  var Pe = b + he;
442
- !Number.isInteger(Pe) || Pe < 0 || Pe > O - 1 || (te(!1), re(he < 0 ? "prev" : "next"), J == null || J(Pe, b));
442
+ !Number.isInteger(Pe) || Pe < 0 || Pe > O - 1 || (te(!1), re(he < 0 ? "prev" : "next"), Q == null || Q(Pe, b));
443
443
  }, It = function(he) {
444
444
  !u || !G || (he.keyCode === He.LEFT ? We(-1) : he.keyCode === He.RIGHT && We(1));
445
445
  }, yt = function(he) {
@@ -455,7 +455,7 @@ var en = ["fallback", "src", "imgRef"], tn = ["prefixCls", "src", "alt", "imageI
455
455
  ne.remove();
456
456
  };
457
457
  }, [u, G, b]);
458
- var Qe = /* @__PURE__ */ Ce.createElement(nn, ie({}, Y, {
458
+ var Je = /* @__PURE__ */ Ce.createElement(nn, ie({}, Y, {
459
459
  width: e.width,
460
460
  height: e.height,
461
461
  imgRef: U,
@@ -463,7 +463,7 @@ var en = ["fallback", "src", "imgRef"], tn = ["prefixCls", "src", "alt", "imageI
463
463
  alt: r,
464
464
  style: {
465
465
  transform: "translate3d(".concat(k.x, "px, ").concat(k.y, "px, 0) scale3d(").concat(k.flipX ? "-" : "").concat(fe, ", ").concat(k.flipY ? "-" : "").concat(fe, ", 1) rotate(").concat(de, "deg)"),
466
- transitionDuration: (!le || V) && "0s"
466
+ transitionDuration: (!le || F) && "0s"
467
467
  },
468
468
  fallback: s,
469
469
  src: o,
@@ -491,16 +491,16 @@ var en = ["fallback", "src", "imgRef"], tn = ["prefixCls", "src", "alt", "imageI
491
491
  },
492
492
  rootClassName: h,
493
493
  getContainer: m
494
- }, F, {
494
+ }, V, {
495
495
  afterClose: Ye
496
496
  }), /* @__PURE__ */ Ce.createElement("div", {
497
497
  className: "".concat(n, "-img-wrapper")
498
- }, j ? j(Qe, P({
498
+ }, j ? j(Je, P({
499
499
  transform: k,
500
500
  image: et
501
- }, Q ? {
501
+ }, J ? {
502
502
  current: b
503
- } : {})) : Qe)), /* @__PURE__ */ Ce.createElement(Bt, {
503
+ } : {})) : Je)), /* @__PURE__ */ Ce.createElement(Bt, {
504
504
  visible: u,
505
505
  transform: k,
506
506
  maskTransitionName: T,
@@ -527,7 +527,7 @@ var en = ["fallback", "src", "imgRef"], tn = ["prefixCls", "src", "alt", "imageI
527
527
  onFlipY: $e,
528
528
  onClose: f,
529
529
  onReset: xt,
530
- zIndex: F.zIndex !== void 0 ? F.zIndex + 1 : void 0,
530
+ zIndex: V.zIndex !== void 0 ? V.zIndex + 1 : void 0,
531
531
  image: et
532
532
  }));
533
533
  }, Ue = ["crossOrigin", "decoding", "draggable", "loading", "referrerPolicy", "sizes", "srcSet", "useMap", "alt"];
@@ -566,29 +566,29 @@ function on(t) {
566
566
  return [s, a, !!t];
567
567
  }
568
568
  var rn = ["visible", "onVisibleChange", "getContainer", "current", "movable", "minScale", "maxScale", "countRender", "closeIcon", "onChange", "onTransform", "toolbarRender", "imageRender"], an = ["src"], sn = function(e) {
569
- var n, o = e.previewPrefixCls, r = o === void 0 ? "rc-image-preview" : o, a = e.children, s = e.icons, l = s === void 0 ? {} : s, i = e.items, f = e.preview, u = e.fallback, c = lt(f) === "object" ? f : {}, g = c.visible, h = c.onVisibleChange, w = c.getContainer, m = c.current, p = c.movable, b = c.minScale, N = c.maxScale, O = c.countRender, M = c.closeIcon, v = c.onChange, y = c.onTransform, x = c.toolbarRender, C = c.imageRender, R = Re(c, rn), E = on(i), S = W(E, 3), $ = S[0], _ = S[1], T = S[2], j = Ve(0, {
569
+ var n, o = e.previewPrefixCls, r = o === void 0 ? "rc-image-preview" : o, a = e.children, s = e.icons, l = s === void 0 ? {} : s, i = e.items, f = e.preview, u = e.fallback, c = lt(f) === "object" ? f : {}, g = c.visible, h = c.onVisibleChange, w = c.getContainer, m = c.current, p = c.movable, b = c.minScale, N = c.maxScale, O = c.countRender, M = c.closeIcon, v = c.onChange, y = c.onTransform, x = c.toolbarRender, C = c.imageRender, R = Re(c, rn), E = on(i), S = W(E, 3), $ = S[0], _ = S[1], T = S[2], j = Fe(0, {
570
570
  value: m
571
- }), Y = W(j, 2), H = Y[0], B = Y[1], J = pe(!1), F = W(J, 2), U = F[0], Q = F[1], G = ((n = $[H]) === null || n === void 0 ? void 0 : n.data) || {}, se = G.src, ee = Re(G, an), D = Ve(!!g, {
571
+ }), Y = W(j, 2), H = Y[0], B = Y[1], Q = pe(!1), V = W(Q, 2), U = V[0], J = V[1], G = ((n = $[H]) === null || n === void 0 ? void 0 : n.data) || {}, se = G.src, ee = Re(G, an), D = Fe(!!g, {
572
572
  value: g,
573
- onChange: function(V, X) {
574
- h == null || h(V, X, H);
573
+ onChange: function(F, X) {
574
+ h == null || h(F, X, H);
575
575
  }
576
- }), le = W(D, 2), te = le[0], K = le[1], k = pe(null), re = W(k, 2), Z = re[0], q = re[1], ae = d.useCallback(function(A, V, X, me) {
576
+ }), le = W(D, 2), te = le[0], K = le[1], k = pe(null), re = W(k, 2), Z = re[0], q = re[1], ae = d.useCallback(function(A, F, X, me) {
577
577
  var we = T ? $.findIndex(function(de) {
578
- return de.data.src === V;
578
+ return de.data.src === F;
579
579
  }) : $.findIndex(function(de) {
580
580
  return de.id === A;
581
581
  });
582
582
  B(we < 0 ? 0 : we), K(!0), q({
583
583
  x: X,
584
584
  y: me
585
- }), Q(!0);
585
+ }), J(!0);
586
586
  }, [$, T]);
587
587
  d.useEffect(function() {
588
- te ? U || B(0) : Q(!1);
588
+ te ? U || B(0) : J(!1);
589
589
  }, [te]);
590
- var ue = function(V, X) {
591
- B(V), v == null || v(V, X);
590
+ var ue = function(F, X) {
591
+ B(F), v == null || v(F, X);
592
592
  }, L = function() {
593
593
  K(!1), q(null);
594
594
  }, z = d.useMemo(function() {
@@ -638,15 +638,15 @@ function ln(t, e) {
638
638
  }, [t, e]), r;
639
639
  }
640
640
  var cn = ["src", "alt", "onPreviewClose", "prefixCls", "previewPrefixCls", "placeholder", "fallback", "width", "height", "style", "preview", "className", "onClick", "onError", "wrapperClassName", "wrapperStyle", "rootClassName"], un = ["src", "visible", "onVisibleChange", "getContainer", "mask", "maskClassName", "movable", "icons", "scaleStep", "minScale", "maxScale", "imageRender", "toolbarRender"], Ae = function(e) {
641
- var n = e.src, o = e.alt, r = e.onPreviewClose, a = e.prefixCls, s = a === void 0 ? "rc-image" : a, l = e.previewPrefixCls, i = l === void 0 ? "".concat(s, "-preview") : l, f = e.placeholder, u = e.fallback, c = e.width, g = e.height, h = e.style, w = e.preview, m = w === void 0 ? !0 : w, p = e.className, b = e.onClick, N = e.onError, O = e.wrapperClassName, M = e.wrapperStyle, v = e.rootClassName, y = Re(e, cn), x = f && f !== !0, C = lt(m) === "object" ? m : {}, R = C.src, E = C.visible, S = E === void 0 ? void 0 : E, $ = C.onVisibleChange, _ = $ === void 0 ? r : $, T = C.getContainer, j = T === void 0 ? void 0 : T, Y = C.mask, H = C.maskClassName, B = C.movable, J = C.icons, F = C.scaleStep, U = C.minScale, Q = C.maxScale, G = C.imageRender, se = C.toolbarRender, ee = Re(C, un), D = R ?? n, le = Ve(!!S, {
641
+ var n = e.src, o = e.alt, r = e.onPreviewClose, a = e.prefixCls, s = a === void 0 ? "rc-image" : a, l = e.previewPrefixCls, i = l === void 0 ? "".concat(s, "-preview") : l, f = e.placeholder, u = e.fallback, c = e.width, g = e.height, h = e.style, w = e.preview, m = w === void 0 ? !0 : w, p = e.className, b = e.onClick, N = e.onError, O = e.wrapperClassName, M = e.wrapperStyle, v = e.rootClassName, y = Re(e, cn), x = f && f !== !0, C = lt(m) === "object" ? m : {}, R = C.src, E = C.visible, S = E === void 0 ? void 0 : E, $ = C.onVisibleChange, _ = $ === void 0 ? r : $, T = C.getContainer, j = T === void 0 ? void 0 : T, Y = C.mask, H = C.maskClassName, B = C.movable, Q = C.icons, V = C.scaleStep, U = C.minScale, J = C.maxScale, G = C.imageRender, se = C.toolbarRender, ee = Re(C, un), D = R ?? n, le = Fe(!!S, {
642
642
  value: S,
643
643
  onChange: _
644
644
  }), te = W(le, 2), K = te[0], k = te[1], re = vt({
645
645
  src: n,
646
646
  isCustomPlaceholder: x,
647
647
  fallback: u
648
- }), Z = W(re, 3), q = Z[0], ae = Z[1], ue = Z[2], L = pe(null), z = W(L, 2), A = z[0], V = z[1], X = qe(Ee), me = !!m, we = function() {
649
- k(!1), V(null);
648
+ }), Z = W(re, 3), q = Z[0], ae = Z[1], ue = Z[2], L = pe(null), z = W(L, 2), A = z[0], F = z[1], X = qe(Ee), me = !!m, we = function() {
649
+ k(!1), F(null);
650
650
  }, de = oe(s, O, v, ce({}, "".concat(s, "-error"), ue === "error")), fe = tt(function() {
651
651
  var ve = {};
652
652
  return Ue.forEach(function(ge) {
@@ -659,8 +659,8 @@ var cn = ["src", "alt", "onPreviewClose", "prefixCls", "previewPrefixCls", "plac
659
659
  src: D
660
660
  });
661
661
  }, [D, fe]), Ye = ln(me, De), Xe = function(ge) {
662
- var Oe = Ft(ge.target), Me = Oe.left, $e = Oe.top;
663
- X ? X.onPreview(Ye, D, Me, $e) : (V({
662
+ var Oe = Vt(ge.target), Me = Oe.left, $e = Oe.top;
663
+ X ? X.onPreview(Ye, D, Me, $e) : (F({
664
664
  x: Me,
665
665
  y: $e
666
666
  }), k(!0)), b == null || b(ge);
@@ -704,11 +704,11 @@ var cn = ["src", "alt", "onPreviewClose", "prefixCls", "previewPrefixCls", "plac
704
704
  },
705
705
  fallback: u,
706
706
  getContainer: j,
707
- icons: J,
707
+ icons: Q,
708
708
  movable: B,
709
- scaleStep: F,
709
+ scaleStep: V,
710
710
  minScale: U,
711
- maxScale: Q,
711
+ maxScale: J,
712
712
  rootClassName: v,
713
713
  imageRender: G,
714
714
  imgCommonProps: fe,
@@ -1047,12 +1047,12 @@ var Rn = function(t, e) {
1047
1047
  };
1048
1048
  const bt = {
1049
1049
  rotateLeft: /* @__PURE__ */ d.createElement(ht, null),
1050
- rotateRight: /* @__PURE__ */ d.createElement(Vt, null),
1050
+ rotateRight: /* @__PURE__ */ d.createElement(Ft, null),
1051
1051
  zoomIn: /* @__PURE__ */ d.createElement(pt, null),
1052
1052
  zoomOut: /* @__PURE__ */ d.createElement(wt, null),
1053
1053
  close: /* @__PURE__ */ d.createElement(jt, null),
1054
1054
  left: /* @__PURE__ */ d.createElement(Be, null),
1055
- right: /* @__PURE__ */ d.createElement(Fe, null),
1055
+ right: /* @__PURE__ */ d.createElement(Ve, null),
1056
1056
  flipX: /* @__PURE__ */ d.createElement(Ge, null),
1057
1057
  flipY: /* @__PURE__ */ d.createElement(Ge, {
1058
1058
  rotate: 90
@@ -1066,8 +1066,8 @@ const bt = {
1066
1066
  getPrefixCls: r,
1067
1067
  direction: a
1068
1068
  } = d.useContext(Dt), s = r("image", e), l = `${s}-preview`, i = r(), f = ut(s), [u, c, g] = Ct(s, f), [h] = dt("ImagePreview", typeof n == "object" ? n.zIndex : void 0), w = d.useMemo(() => Object.assign(Object.assign({}, bt), {
1069
- left: a === "rtl" ? /* @__PURE__ */ d.createElement(Fe, null) : /* @__PURE__ */ d.createElement(Be, null),
1070
- right: a === "rtl" ? /* @__PURE__ */ d.createElement(Be, null) : /* @__PURE__ */ d.createElement(Fe, null)
1069
+ left: a === "rtl" ? /* @__PURE__ */ d.createElement(Ve, null) : /* @__PURE__ */ d.createElement(Be, null),
1070
+ right: a === "rtl" ? /* @__PURE__ */ d.createElement(Be, null) : /* @__PURE__ */ d.createElement(Ve, null)
1071
1071
  }), [a]), m = d.useMemo(() => {
1072
1072
  var p;
1073
1073
  if (n === !1)
@@ -1093,7 +1093,7 @@ var at = function(t, e) {
1093
1093
  e.indexOf(o[r]) < 0 && Object.prototype.propertyIsEnumerable.call(t, o[r]) && (n[o[r]] = t[o[r]]);
1094
1094
  return n;
1095
1095
  };
1096
- const Je = (t) => {
1096
+ const Qe = (t) => {
1097
1097
  const {
1098
1098
  prefixCls: e,
1099
1099
  preview: n,
@@ -1145,8 +1145,8 @@ const Je = (t) => {
1145
1145
  fallback: E
1146
1146
  }, l)));
1147
1147
  };
1148
- Je.PreviewGroup = En;
1149
- process.env.NODE_ENV !== "production" && (Je.displayName = "Image");
1148
+ Qe.PreviewGroup = En;
1149
+ process.env.NODE_ENV !== "production" && (Qe.displayName = "Image");
1150
1150
  const je = "\\d{1,5}[::]\\d{1,5}(?:[–\\-~](?:\\d{1,5}[::])?\\d{1,5})?", On = new RegExp(`^(${je})$`);
1151
1151
  function Ze(t) {
1152
1152
  const e = On.exec(t.trim());
@@ -1320,7 +1320,7 @@ function Ie(t, e) {
1320
1320
  const m = Wn(g[2]);
1321
1321
  m ? (s = !0, a.push(
1322
1322
  /* @__PURE__ */ I(
1323
- Je,
1323
+ Qe,
1324
1324
  {
1325
1325
  className: "md-img",
1326
1326
  src: m,
@@ -1,4 +1,4 @@
1
- import { cG as f, t as g, r as o, K as $ } from "./embed-mf8t3QXh.js";
1
+ import { cG as f, t as g, r as o, K as $ } from "./embed-BUaR8PAn.js";
2
2
  const r = "/kb/v1/material", m = 100, y = 30, s = () => ({ "X-Tenant-Code": $() });
3
3
  async function n(e) {
4
4
  try {
@@ -1,7 +1,7 @@
1
1
  import { jsxs as h, jsx as s } from "react/jsx-runtime";
2
2
  import { useState as b, useCallback as A, useMemo as ee, useEffect as W, createContext as O, useContext as H, useRef as $ } from "react";
3
- import { m as ne } from "./material-DtPASeqq.js";
4
- import { I as m } from "./embed-mf8t3QXh.js";
3
+ import { m as ne } from "./material-CqtPqoZj.js";
4
+ import { I as m } from "./embed-BUaR8PAn.js";
5
5
  import { createPortal as te } from "react-dom";
6
6
  import { b as D } from "./format-CWI99NCN.js";
7
7
  const B = /* @__PURE__ */ new Map(), w = /* @__PURE__ */ new Map();
@@ -1,11 +1,11 @@
1
1
  import { jsxs as c, Fragment as z, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as o, useEffect as F, Suspense as w, lazy as h } from "react";
3
- import { I as x } from "./embed-mf8t3QXh.js";
4
- import { j as V } from "./material-DtPASeqq.js";
5
- import { r as H } from "./material-workspace-model-QLsU5qUO.js";
6
- import { M as L } from "./material-draft-markdown-281d5_GN.js";
3
+ import { I as x } from "./embed-BUaR8PAn.js";
4
+ import { j as V } from "./material-CqtPqoZj.js";
5
+ import { r as H } from "./material-workspace-model-BUpogooV.js";
6
+ import { M as L } from "./material-draft-markdown-BKlKt3pc.js";
7
7
  import { createPortal as W } from "react-dom";
8
- import { S as X } from "./index-B5Roo82U.js";
8
+ import { S as X } from "./index-jHh-ITBK.js";
9
9
  const y = [
10
10
  { key: "original", label: "原件" },
11
11
  { key: "draft", label: "解析稿" },
@@ -1,4 +1,4 @@
1
- import { e as w } from "./material-DtPASeqq.js";
1
+ import { e as w } from "./material-CqtPqoZj.js";
2
2
  const R = [
3
3
  "document",
4
4
  "table",
@@ -1,4 +1,4 @@
1
- import { t as d, r as a, K as c } from "./embed-mf8t3QXh.js";
1
+ import { t as d, r as a, K as c } from "./embed-BUaR8PAn.js";
2
2
  const r = "/kb/v1/knowledgeBase/member", n = () => ({ "X-Tenant-Code": c() });
3
3
  async function s(e) {
4
4
  try {
@@ -1,5 +1,5 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { ac as r } from "./embed-mf8t3QXh.js";
2
+ import { ab as r } from "./embed-BUaR8PAn.js";
3
3
  function a() {
4
4
  return /* @__PURE__ */ e(r, { menuCode: "menu.memory.reorganize", children: /* @__PURE__ */ e("div", { className: "view memory-reorganization-view", children: /* @__PURE__ */ e("div", { className: "empty", children: "暂未开放" }) }) });
5
5
  }
@@ -1,26 +1,26 @@
1
1
  import { jsxs as c, jsx as e, Fragment as H } from "react/jsx-runtime";
2
2
  import fe, { useState as v, useCallback as V, useEffect as K, useRef as te, useMemo as ee } from "react";
3
- import { a6 as Oe, a7 as ot, a8 as lt, a9 as it, aa as st, r as O, I as R, B as x, ab as se, j as ct, h as ce, S as ke, A as _e, ac as dt, u as mt, a as ut } from "./embed-mf8t3QXh.js";
3
+ import { a5 as Oe, a6 as ot, a7 as lt, a8 as it, a9 as st, r as O, I as R, B as x, aa as se, j as ct, h as ce, S as ke, A as _e, ab as dt, u as mt, a as ut } from "./embed-BUaR8PAn.js";
4
4
  import { u as pt } from "./use-split-width-SsLqbGjr.js";
5
- import { D as ht } from "./index-DU6bO95v.js";
5
+ import { D as ht } from "./index-BWmgE7bB.js";
6
6
  import { u as je } from "./use-resizable-columns-BpMCRKif.js";
7
- import { T as A } from "./index-zXwXfn-X.js";
8
- import { I as F } from "./index-2SysmGHo.js";
9
- import { F as Be } from "./Table-J_7eBbi7.js";
10
- import { M as Fe } from "./index-C2CV4bte.js";
11
- import { M as We } from "./index-B12ZggsE.js";
12
- import { A as L } from "./index-B7SfTpox.js";
13
- import { F as z } from "./index-BkTegt8T.js";
14
- import { D as me } from "./index-DhSCFLtV.js";
15
- import { T as yt } from "./index-DGbjbjBY.js";
16
- import { S as bt } from "./index-DKAGVWMX.js";
17
- import { D as ft } from "./index-BvJ35WL3.js";
18
- import { T as Ge } from "./index-CtqUgNxs.js";
19
- import { i as Re, S as ne } from "./index-QZ9JPfVR.js";
20
- import { M as gt } from "./material-draft-markdown-281d5_GN.js";
21
- import { T as Y } from "./index-Bw4M9KLv.js";
22
- import { L as ge } from "./index-BEO8itgt.js";
23
- import { S as vt } from "./index-B5Roo82U.js";
7
+ import { T as A } from "./index-DR9LGJpi.js";
8
+ import { I as F } from "./index-CNBwau86.js";
9
+ import { F as Be } from "./Table-D1RvQXGM.js";
10
+ import { M as Fe } from "./index-Di2bQwQn.js";
11
+ import { M as We } from "./index-yPMzsLHL.js";
12
+ import { A as L } from "./index-IB3GOib9.js";
13
+ import { F as z } from "./index-Bt9F-2Fl.js";
14
+ import { D as me } from "./index-DlqhOJnd.js";
15
+ import { T as yt } from "./index-Bi7O9pQv.js";
16
+ import { S as bt } from "./index-BDWjubAD.js";
17
+ import { D as ft } from "./index-CS6H40rM.js";
18
+ import { T as Ge } from "./index-CDxeB8C4.js";
19
+ import { i as Re, S as ne } from "./index-BLGPH51v.js";
20
+ import { M as gt } from "./material-draft-markdown-BKlKt3pc.js";
21
+ import { T as Y } from "./index-BI-rknta.js";
22
+ import { L as ge } from "./index-DTgboCiF.js";
23
+ import { S as vt } from "./index-jHh-ITBK.js";
24
24
  const Ve = ["wrap", "nowrap", "wrap-reverse"], He = ["flex-start", "flex-end", "start", "end", "center", "space-between", "space-around", "space-evenly", "stretch", "normal", "left", "right"], Ke = ["center", "start", "end", "flex-start", "flex-end", "self-start", "self-end", "baseline", "normal", "stretch"], kt = (t, n) => {
25
25
  const l = n.wrap === !0 ? "wrap" : n.wrap;
26
26
  return {
@@ -1,8 +1,8 @@
1
1
  import { jsxs as n, jsx as t, Fragment as S } from "react/jsx-runtime";
2
2
  import { useState as o, useEffect as w, useMemo as $ } from "react";
3
- import { u as G, a as F, I as d, n as U, t as _ } from "./embed-mf8t3QXh.js";
4
- import { T as j } from "./index-Bln3mJfp.js";
5
- import { g as H, p as X, m as x } from "./message-C9gfvpGg.js";
3
+ import { u as G, a as F, I as d, n as U, t as _ } from "./embed-BUaR8PAn.js";
4
+ import { T as j } from "./index-fVCVIu8I.js";
5
+ import { g as H, p as X, m as x } from "./message-Rz7LvGMk.js";
6
6
  import { a as J } from "./format-CWI99NCN.js";
7
7
  const W = "brain:message-changed";
8
8
  function V() {
@@ -1,4 +1,4 @@
1
- import { r as a, K as t } from "./embed-mf8t3QXh.js";
1
+ import { r as a, K as t } from "./embed-BUaR8PAn.js";
2
2
  const s = "/kb/v1/message", n = () => ({ "X-Tenant-Code": t() });
3
3
  async function i(e) {
4
4
  return a(`${s}/page`, {
@@ -1,7 +1,7 @@
1
1
  import { jsx as e, jsxs as t, Fragment as D } from "react/jsx-runtime";
2
- import { e as J, I as p, a as Z, j as q, t as S, k as X } from "./embed-mf8t3QXh.js";
2
+ import { e as J, I as p, a as Z, j as q, t as S, k as X } from "./embed-BUaR8PAn.js";
3
3
  import { useState as r, useEffect as Y, useMemo as Q, useCallback as W } from "react";
4
- import { l as ee, s as le, r as te, a as ae } from "./message-C9gfvpGg.js";
4
+ import { l as ee, s as le, r as te, a as ae } from "./message-Rz7LvGMk.js";
5
5
  import { f as $ } from "./format-CWI99NCN.js";
6
6
  /* empty css */
7
7
  const ne = [
@@ -1,7 +1,7 @@
1
1
  import { jsxs as a, jsx as e, Fragment as re } from "react/jsx-runtime";
2
2
  import { useState as p, useRef as oe, useEffect as j, useMemo as K } from "react";
3
- import { r as Z, I as N } from "./embed-mf8t3QXh.js";
4
- import { T as Ne } from "./index-Bln3mJfp.js";
3
+ import { r as Z, I as N } from "./embed-BUaR8PAn.js";
4
+ import { T as Ne } from "./index-fVCVIu8I.js";
5
5
  import { u as de } from "./use-split-width-SsLqbGjr.js";
6
6
  const ee = "/kb/v1/meta";
7
7
  function be() {
@@ -1,7 +1,7 @@
1
1
  import { jsxs as n, jsx as t, Fragment as $ } from "react/jsx-runtime";
2
- import { I as h } from "./embed-mf8t3QXh.js";
2
+ import { I as h } from "./embed-BUaR8PAn.js";
3
3
  import { useState as M, useEffect as S } from "react";
4
- import { A as L } from "./shared-DG5-VCDM.js";
4
+ import { A as L } from "./shared-B51Q5536.js";
5
5
  /* empty css */
6
6
  function T({ latency: e, stages: a }) {
7
7
  const l = [
@@ -1,7 +1,7 @@
1
1
  import { jsx as e, jsxs as r, Fragment as H } from "react/jsx-runtime";
2
2
  import { useState as h, useEffect as q, useRef as X } from "react";
3
- import { I as w, K as $e, dk as $t, dl as St, dm as It } from "./embed-mf8t3QXh.js";
4
- import { M as ct } from "./markdown-lite-p1tiuSZM.js";
3
+ import { I as w, K as $e, dk as $t, dl as St, dm as It } from "./embed-BUaR8PAn.js";
4
+ import { M as ct } from "./markdown-lite-ROKlyMXg.js";
5
5
  const Mt = [
6
6
  { key: "home", label: "首页", icon: "home" },
7
7
  { key: "library", label: "知识库", icon: "book-open" },
@@ -1,9 +1,9 @@
1
1
  import { jsxs as n, jsx as e, Fragment as v } from "react/jsx-runtime";
2
- import { I as h, r as M, K as S } from "./embed-mf8t3QXh.js";
2
+ import { I as h, r as M, K as S } from "./embed-BUaR8PAn.js";
3
3
  import { u as P } from "./use-escape-key-4SZ4l7av.js";
4
- import { f as A } from "./shared-utils-CFHws1DA.js";
4
+ import { f as A } from "./shared-utils-Ck5sql2m.js";
5
5
  import { createPortal as R } from "react-dom";
6
- import { c as E, A as C, a as x } from "./shared-DG5-VCDM.js";
6
+ import { c as E, A as C, a as x } from "./shared-B51Q5536.js";
7
7
  import { a as z } from "./format-CWI99NCN.js";
8
8
  import { useState as p, useEffect as w } from "react";
9
9
  /* empty css */
@@ -1,9 +1,9 @@
1
1
  import { jsx as e, jsxs as t, Fragment as X } from "react/jsx-runtime";
2
- import { I as h } from "./embed-mf8t3QXh.js";
2
+ import { I as h } from "./embed-BUaR8PAn.js";
3
3
  import { createPortal as Z } from "react-dom";
4
4
  import { u as J } from "./use-escape-key-4SZ4l7av.js";
5
- import { c as Y, A as Q } from "./shared-DG5-VCDM.js";
6
- import { K as O, L as V, M as ee, N as z } from "./ai-CNSn3-sd.js";
5
+ import { c as Y, A as Q } from "./shared-B51Q5536.js";
6
+ import { K as O, L as V, M as ee, N as z } from "./ai-DZ6fqUyK.js";
7
7
  import { d as G } from "./dayjs.min-DoEf5yCX.js";
8
8
  import { useState as f, useEffect as F, useCallback as q } from "react";
9
9
  /* empty css */
@@ -1,9 +1,9 @@
1
1
  import { jsxs as a, jsx as e, Fragment as g } from "react/jsx-runtime";
2
2
  import { useState as h, useRef as _, useEffect as I, Fragment as Z, useLayoutEffect as ee } from "react";
3
- import { T as ae } from "./index-Bln3mJfp.js";
4
- import { r as z, I as u, t as C, R as te, j as ne } from "./embed-mf8t3QXh.js";
3
+ import { T as ae } from "./index-fVCVIu8I.js";
4
+ import { r as z, I as u, t as C, R as te, j as ne } from "./embed-BUaR8PAn.js";
5
5
  import { c as U } from "./clipboard-CbytnWlq.js";
6
- import { l as V, c as le } from "./accessAk-CA30m5eX.js";
6
+ import { l as V, c as le } from "./accessAk-DlxcvD0O.js";
7
7
  import { f as ie } from "./format-CWI99NCN.js";
8
8
  const re = "/kb/v1/client/kb", ce = "/kb/v1/client/ontology", se = "/kb/v1/client/ak";
9
9
  function oe(t, s, r) {
@@ -1,9 +1,9 @@
1
1
  import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as m, useEffect as O, useMemo as B, useCallback as U } from "react";
3
- import { A as j } from "./index-3J47mTL1.js";
4
- import { a as K, o as w, q, s as F, M as V, v as Z, u as H, w as J, I as g, n as Q, D as W, x as X } from "./embed-mf8t3QXh.js";
5
- import { T as Y } from "./index-Bln3mJfp.js";
6
- import { R as ee, r as ae } from "./member-Cz-OIdj9.js";
3
+ import { A as j } from "./index-D23tZfhi.js";
4
+ import { a as K, o as w, q, s as F, M as V, v as Z, u as H, w as J, I as g, n as Q, D as W, x as X } from "./embed-BUaR8PAn.js";
5
+ import { T as Y } from "./index-fVCVIu8I.js";
6
+ import { R as ee, r as ae } from "./member-CCTFfLDC.js";
7
7
  import { b as se } from "./catalog-tree-n4_6K8s6.js";
8
8
  const ne = new Map(V.map((s) => [s.code, s.icon]));
9
9
  function le(s, l) {
@@ -1,6 +1,6 @@
1
1
  import { jsx as r, jsxs as f } from "react/jsx-runtime";
2
2
  import { B as h } from "./brand-mark-CZN3BhGW.js";
3
- import { ai as g, dj as m } from "./embed-mf8t3QXh.js";
3
+ import { ah as g, dj as m } from "./embed-BUaR8PAn.js";
4
4
  const c = {
5
5
  public: "//apex.come-future.com",
6
6
  local: "http://c2f.apex-dev.cfuture.shop",
@@ -1,9 +1,9 @@
1
1
  import { jsxs as a, jsx as e } from "react/jsx-runtime";
2
- import { dH as d, dX as t, d8 as l, L as n, B as c, dT as m } from "./embed-mf8t3QXh.js";
3
- import { u as h } from "./use-domain-access-ehGJBGvU.js";
4
- import { S as p } from "./scenario-simple-form-BvKSPFzw.js";
5
- import "./ontology-scenarios-DKnfydG6.js";
6
- import { R as u } from "./index-DaMLYomP.js";
2
+ import { dH as d, dX as t, d8 as l, L as n, B as c, dT as m } from "./embed-BUaR8PAn.js";
3
+ import { u as h } from "./use-domain-access-BuD99GTw.js";
4
+ import { S as p } from "./scenario-simple-form-mFm6f2ho.js";
5
+ import "./ontology-scenarios-4Ar7Y8Kt.js";
6
+ import { R as u } from "./index-keRQ37lH.js";
7
7
  function g({ scope: s }) {
8
8
  const i = s.domains.find((r) => r.domainCode === s.currentCode), o = i ? d(i) : s.currentCode ?? "未选域";
9
9
  return /* @__PURE__ */ a("span", { className: "domain-badge", title: "域切换在顶栏右上", children: [
@@ -1,14 +1,14 @@
1
1
  import { jsx as e, jsxs as r, Fragment as Y } from "react/jsx-runtime";
2
2
  import { useMemo as G, useState as u, useCallback as S, useRef as K, useEffect as _ } from "react";
3
- import { S as fn, ab as Le, I as z, j as vn, h as bn, d6 as Nn, d7 as Cn, dx as ie, dy as Tn, dz as yn, de as wn, dA as Sn, t as q, dB as En, dC as kn, dD as xn, dE as Rn, dF as In, dG as On, u as Dn, d8 as An, dH as _e } from "./embed-mf8t3QXh.js";
4
- import { T as Fn, s as Mn, u as Ln, a as _n, b as Pn, C as Hn, S as Vn, R as Kn, I as zn, E as Bn, c as Gn, d as $n, e as Wn, f as Pe } from "./use-graph-layers-CrhEeHfD.js";
3
+ import { S as fn, aa as Le, I as z, j as vn, h as bn, d6 as Nn, d7 as Cn, dx as ie, dy as Tn, dz as yn, de as wn, dA as Sn, t as q, dB as En, dC as kn, dD as xn, dE as Rn, dF as In, dG as On, u as Dn, d8 as An, dH as _e } from "./embed-BUaR8PAn.js";
4
+ import { T as Fn, s as Mn, u as Ln, a as _n, b as Pn, C as Hn, S as Vn, R as Kn, I as zn, E as Bn, c as Gn, d as $n, e as Wn, f as Pe } from "./use-graph-layers-Cbd3Jggb.js";
5
5
  import { u as Un } from "./use-escape-key-4SZ4l7av.js";
6
6
  import { u as qn } from "./use-split-width-SsLqbGjr.js";
7
- import { A as Qn } from "./index-CdJ5ggvp.js";
7
+ import { A as Qn } from "./index-QkktEus5.js";
8
8
  import { c as Xn } from "./format-CWI99NCN.js";
9
- import { S as jn } from "./index-DKAGVWMX.js";
9
+ import { S as jn } from "./index-BDWjubAD.js";
10
10
  import { F as Yn, a as He, c as Zn, b as Jn } from "./focus-set-lt52maBX.js";
11
- import { b as et } from "./ai-CNSn3-sd.js";
11
+ import { b as et } from "./ai-DZ6fqUyK.js";
12
12
  function nt({
13
13
  keyword: t,
14
14
  view: l,
@@ -1,4 +1,4 @@
1
- import { t as d, r as t, K as c } from "./embed-mf8t3QXh.js";
1
+ import { t as d, r as t, K as c } from "./embed-BUaR8PAn.js";
2
2
  const a = "/kb/v1/ontology", o = () => ({ "X-Tenant-Code": c() });
3
3
  async function s(e, n) {
4
4
  try {