@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,5 +1,5 @@
1
1
  import * as n from "react";
2
- import { bh as He, cm as Ke, b0 as le, a6 as S, as as me, bz as fe, bB as Le, bi as ve, at as ye, bg as I, bk as be, bH as ue, a_ as ge, cH as Ve, ar as ke, bP as We, bQ as he, i as Te, a7 as Be, a8 as Fe, ap as te, ct as Ue, bw as Ae, aq as Xe, cM as Ye, au as Ge, co as qe, bo as Ze, cv as Qe, cf as Ce, a9 as Je } from "./embed-mf8t3QXh.js";
2
+ import { bk as He, cl as Ke, b4 as le, a5 as S, ak as me, bA as fe, bC as Le, bl as ve, az as ye, bj as R, bn as pe, bI as ue, b2 as ge, cH as Ve, aj as ke, bO as We, bP as he, i as Te, a6 as Ae, a7 as Be, ac as te, cs as Fe, bx as Ue, ah as Xe, cM as Ye, aA as Ge, cn as qe, bq as Ze, cu as Je, ce as Ce, a8 as Qe } from "./embed-CoEyJMJx.js";
3
3
  var we = /* @__PURE__ */ n.createContext(null), Ne = /* @__PURE__ */ n.createContext({}), et = ["prefixCls", "className", "containerRef"], Oe = function(t) {
4
4
  var o = t.prefixCls, a = t.className, r = t.containerRef, s = He(t, et), l = n.useContext(Ne), i = l.panel, c = Ke(i, r);
5
5
  return /* @__PURE__ */ n.createElement("div", le({
@@ -27,24 +27,24 @@ var Se = {
27
27
  position: "absolute"
28
28
  };
29
29
  function nt(e, t) {
30
- var o, a, r, s = e.prefixCls, l = e.open, i = e.placement, c = e.inline, h = e.push, C = e.forceRender, w = e.autoFocus, E = e.keyboard, p = e.classNames, $ = e.rootClassName, v = e.rootStyle, d = e.zIndex, x = e.className, b = e.id, j = e.style, k = e.motion, M = e.width, z = e.height, D = e.children, u = e.mask, g = e.maskClosable, N = e.maskMotion, G = e.maskClassName, q = e.maskStyle, V = e.afterOpenChange, H = e.onClose, W = e.onMouseEnter, T = e.onMouseOver, B = e.onMouseLeave, P = e.onClick, ne = e.onKeyDown, ae = e.onKeyUp, y = e.styles, K = e.drawerRender, _ = n.useRef(), F = n.useRef(), U = n.useRef();
30
+ var o, a, r, s = e.prefixCls, l = e.open, i = e.placement, c = e.inline, h = e.push, C = e.forceRender, w = e.autoFocus, E = e.keyboard, b = e.classNames, $ = e.rootClassName, v = e.rootStyle, d = e.zIndex, x = e.className, p = e.id, j = e.style, k = e.motion, M = e.width, z = e.height, D = e.children, u = e.mask, g = e.maskClosable, N = e.maskMotion, G = e.maskClassName, q = e.maskStyle, V = e.afterOpenChange, H = e.onClose, W = e.onMouseEnter, T = e.onMouseOver, A = e.onMouseLeave, P = e.onClick, ne = e.onKeyDown, ae = e.onKeyUp, y = e.styles, K = e.drawerRender, _ = n.useRef(), B = n.useRef(), F = n.useRef();
31
31
  n.useImperativeHandle(t, function() {
32
32
  return _.current;
33
33
  });
34
34
  var oe = function(O) {
35
- var Q = O.keyCode, J = O.shiftKey;
36
- switch (Q) {
35
+ var J = O.keyCode, Q = O.shiftKey;
36
+ switch (J) {
37
37
  // Tab active
38
38
  case ue.TAB: {
39
- if (Q === ue.TAB) {
40
- if (!J && document.activeElement === U.current) {
39
+ if (J === ue.TAB) {
40
+ if (!Q && document.activeElement === F.current) {
41
41
  var ee;
42
- (ee = F.current) === null || ee === void 0 || ee.focus({
42
+ (ee = B.current) === null || ee === void 0 || ee.focus({
43
43
  preventScroll: !0
44
44
  });
45
- } else if (J && document.activeElement === F.current) {
45
+ } else if (Q && document.activeElement === B.current) {
46
46
  var de;
47
- (de = U.current) === null || de === void 0 || de.focus({
47
+ (de = F.current) === null || de === void 0 || de.focus({
48
48
  preventScroll: !0
49
49
  });
50
50
  }
@@ -66,13 +66,13 @@ function nt(e, t) {
66
66
  });
67
67
  }
68
68
  }, [l]);
69
- var re = n.useState(!1), se = ve(re, 2), A = se[0], L = se[1], m = n.useContext(we), X;
69
+ var re = n.useState(!1), se = ve(re, 2), U = se[0], L = se[1], m = n.useContext(we), X;
70
70
  typeof h == "boolean" ? X = h ? {} : {
71
71
  distance: 0
72
72
  } : X = h || {};
73
- var R = (o = (a = (r = X) === null || r === void 0 ? void 0 : r.distance) !== null && a !== void 0 ? a : m == null ? void 0 : m.pushDistance) !== null && o !== void 0 ? o : 180, Z = n.useMemo(function() {
73
+ var I = (o = (a = (r = X) === null || r === void 0 ? void 0 : r.distance) !== null && a !== void 0 ? a : m == null ? void 0 : m.pushDistance) !== null && o !== void 0 ? o : 180, Z = n.useMemo(function() {
74
74
  return {
75
- pushDistance: R,
75
+ pushDistance: I,
76
76
  push: function() {
77
77
  L(!0);
78
78
  },
@@ -80,7 +80,7 @@ function nt(e, t) {
80
80
  L(!1);
81
81
  }
82
82
  };
83
- }, [R]);
83
+ }, [I]);
84
84
  n.useEffect(function() {
85
85
  if (l) {
86
86
  var f;
@@ -100,34 +100,34 @@ function nt(e, t) {
100
100
  }, N, {
101
101
  visible: u && l
102
102
  }), function(f, O) {
103
- var Q = f.className, J = f.style;
103
+ var J = f.className, Q = f.style;
104
104
  return /* @__PURE__ */ n.createElement("div", {
105
- className: S("".concat(s, "-mask"), Q, p == null ? void 0 : p.mask, G),
106
- style: I(I(I({}, J), q), y == null ? void 0 : y.mask),
105
+ className: S("".concat(s, "-mask"), J, b == null ? void 0 : b.mask, G),
106
+ style: R(R(R({}, Q), q), y == null ? void 0 : y.mask),
107
107
  onClick: g && l ? H : void 0,
108
108
  ref: O
109
109
  });
110
110
  }), ce = typeof k == "function" ? k(i) : k, Y = {};
111
- if (A && R)
111
+ if (U && I)
112
112
  switch (i) {
113
113
  case "top":
114
- Y.transform = "translateY(".concat(R, "px)");
114
+ Y.transform = "translateY(".concat(I, "px)");
115
115
  break;
116
116
  case "bottom":
117
- Y.transform = "translateY(".concat(-R, "px)");
117
+ Y.transform = "translateY(".concat(-I, "px)");
118
118
  break;
119
119
  case "left":
120
- Y.transform = "translateX(".concat(R, "px)");
120
+ Y.transform = "translateX(".concat(I, "px)");
121
121
  break;
122
122
  default:
123
- Y.transform = "translateX(".concat(-R, "px)");
123
+ Y.transform = "translateX(".concat(-I, "px)");
124
124
  break;
125
125
  }
126
126
  i === "left" || i === "right" ? Y.width = xe(M) : Y.height = xe(z);
127
127
  var _e = {
128
128
  onMouseEnter: W,
129
129
  onMouseOver: T,
130
- onMouseLeave: B,
130
+ onMouseLeave: A,
131
131
  onClick: P,
132
132
  onKeyDown: ne,
133
133
  onKeyUp: ae
@@ -142,39 +142,39 @@ function nt(e, t) {
142
142
  removeOnLeave: !1,
143
143
  leavedClassName: "".concat(s, "-content-wrapper-hidden")
144
144
  }), function(f, O) {
145
- var Q = f.className, J = f.style, ee = /* @__PURE__ */ n.createElement(Oe, le({
146
- id: b,
145
+ var J = f.className, Q = f.style, ee = /* @__PURE__ */ n.createElement(Oe, le({
146
+ id: p,
147
147
  containerRef: O,
148
148
  prefixCls: s,
149
- className: S(x, p == null ? void 0 : p.content),
150
- style: I(I({}, j), y == null ? void 0 : y.content)
149
+ className: S(x, b == null ? void 0 : b.content),
150
+ style: R(R({}, j), y == null ? void 0 : y.content)
151
151
  }, me(e, {
152
152
  aria: !0
153
153
  }), _e), D);
154
154
  return /* @__PURE__ */ n.createElement("div", le({
155
- className: S("".concat(s, "-content-wrapper"), p == null ? void 0 : p.wrapper, Q),
156
- style: I(I(I({}, Y), J), y == null ? void 0 : y.wrapper)
155
+ className: S("".concat(s, "-content-wrapper"), b == null ? void 0 : b.wrapper, J),
156
+ style: R(R(R({}, Y), Q), y == null ? void 0 : y.wrapper)
157
157
  }, me(e, {
158
158
  data: !0
159
159
  })), K ? K(ee) : ee);
160
- }), pe = I({}, v);
161
- return d && (pe.zIndex = d), /* @__PURE__ */ n.createElement(we.Provider, {
160
+ }), be = R({}, v);
161
+ return d && (be.zIndex = d), /* @__PURE__ */ n.createElement(we.Provider, {
162
162
  value: Z
163
163
  }, /* @__PURE__ */ n.createElement("div", {
164
- className: S(s, "".concat(s, "-").concat(i), $, be(be({}, "".concat(s, "-open"), l), "".concat(s, "-inline"), c)),
165
- style: pe,
164
+ className: S(s, "".concat(s, "-").concat(i), $, pe(pe({}, "".concat(s, "-open"), l), "".concat(s, "-inline"), c)),
165
+ style: be,
166
166
  tabIndex: -1,
167
167
  ref: _,
168
168
  onKeyDown: oe
169
169
  }, ie, /* @__PURE__ */ n.createElement("div", {
170
170
  tabIndex: 0,
171
- ref: F,
171
+ ref: B,
172
172
  style: Se,
173
173
  "aria-hidden": "true",
174
174
  "data-sentinel": "start"
175
175
  }), ze, /* @__PURE__ */ n.createElement("div", {
176
176
  tabIndex: 0,
177
- ref: U,
177
+ ref: F,
178
178
  style: Se,
179
179
  "aria-hidden": "true",
180
180
  "data-sentinel": "end"
@@ -183,9 +183,9 @@ function nt(e, t) {
183
183
  var Ee = /* @__PURE__ */ n.forwardRef(nt);
184
184
  process.env.NODE_ENV !== "production" && (Ee.displayName = "DrawerPopup");
185
185
  var $e = function(t) {
186
- var o = t.open, a = o === void 0 ? !1 : o, r = t.prefixCls, s = r === void 0 ? "rc-drawer" : r, l = t.placement, i = l === void 0 ? "right" : l, c = t.autoFocus, h = c === void 0 ? !0 : c, C = t.keyboard, w = C === void 0 ? !0 : C, E = t.width, p = E === void 0 ? 378 : E, $ = t.mask, v = $ === void 0 ? !0 : $, d = t.maskClosable, x = d === void 0 ? !0 : d, b = t.getContainer, j = t.forceRender, k = t.afterOpenChange, M = t.destroyOnClose, z = t.onMouseEnter, D = t.onMouseOver, u = t.onMouseLeave, g = t.onClick, N = t.onKeyDown, G = t.onKeyUp, q = t.panelRef, V = n.useState(!1), H = ve(V, 2), W = H[0], T = H[1];
186
+ var o = t.open, a = o === void 0 ? !1 : o, r = t.prefixCls, s = r === void 0 ? "rc-drawer" : r, l = t.placement, i = l === void 0 ? "right" : l, c = t.autoFocus, h = c === void 0 ? !0 : c, C = t.keyboard, w = C === void 0 ? !0 : C, E = t.width, b = E === void 0 ? 378 : E, $ = t.mask, v = $ === void 0 ? !0 : $, d = t.maskClosable, x = d === void 0 ? !0 : d, p = t.getContainer, j = t.forceRender, k = t.afterOpenChange, M = t.destroyOnClose, z = t.onMouseEnter, D = t.onMouseOver, u = t.onMouseLeave, g = t.onClick, N = t.onKeyDown, G = t.onKeyUp, q = t.panelRef, V = n.useState(!1), H = ve(V, 2), W = H[0], T = H[1];
187
187
  process.env.NODE_ENV !== "production" && tt(t);
188
- var B = n.useState(!1), P = ve(B, 2), ne = P[0], ae = P[1];
188
+ var A = n.useState(!1), P = ve(A, 2), ne = P[0], ae = P[1];
189
189
  ge(function() {
190
190
  ae(!0);
191
191
  }, []);
@@ -193,15 +193,15 @@ var $e = function(t) {
193
193
  ge(function() {
194
194
  y && (_.current = document.activeElement);
195
195
  }, [y]);
196
- var F = function(A) {
196
+ var B = function(U) {
197
197
  var L;
198
- if (T(A), k == null || k(A), !A && _.current && !((L = K.current) !== null && L !== void 0 && L.contains(_.current))) {
198
+ if (T(U), k == null || k(U), !U && _.current && !((L = K.current) !== null && L !== void 0 && L.contains(_.current))) {
199
199
  var m;
200
200
  (m = _.current) === null || m === void 0 || m.focus({
201
201
  preventScroll: !0
202
202
  });
203
203
  }
204
- }, U = n.useMemo(function() {
204
+ }, F = n.useMemo(function() {
205
205
  return {
206
206
  panel: q
207
207
  };
@@ -215,25 +215,25 @@ var $e = function(t) {
215
215
  onClick: g,
216
216
  onKeyDown: N,
217
217
  onKeyUp: G
218
- }, re = I(I({}, t), {}, {
218
+ }, re = R(R({}, t), {}, {
219
219
  open: y,
220
220
  prefixCls: s,
221
221
  placement: i,
222
222
  autoFocus: h,
223
223
  keyboard: w,
224
- width: p,
224
+ width: b,
225
225
  mask: v,
226
226
  maskClosable: x,
227
- inline: b === !1,
228
- afterOpenChange: F,
227
+ inline: p === !1,
228
+ afterOpenChange: B,
229
229
  ref: K
230
230
  }, oe);
231
231
  return /* @__PURE__ */ n.createElement(Ne.Provider, {
232
- value: U
232
+ value: F
233
233
  }, /* @__PURE__ */ n.createElement(Ve, {
234
234
  open: y || j || W,
235
235
  autoDestroy: !1,
236
- getContainer: b,
236
+ getContainer: p,
237
237
  autoLock: v && (y || W)
238
238
  }, /* @__PURE__ */ n.createElement(Ee, re)));
239
239
  };
@@ -251,20 +251,20 @@ const De = (e) => {
251
251
  onClose: C,
252
252
  headerStyle: w,
253
253
  bodyStyle: E,
254
- footerStyle: p,
254
+ footerStyle: b,
255
255
  children: $,
256
256
  classNames: v,
257
257
  styles: d
258
258
  } = e, x = ke("drawer");
259
- let b;
260
- c === !1 ? b = void 0 : c === void 0 || c === !0 ? b = "start" : b = (c == null ? void 0 : c.placement) === "end" ? "end" : "start";
259
+ let p;
260
+ c === !1 ? p = void 0 : c === void 0 || c === !0 ? p = "start" : p = (c == null ? void 0 : c.placement) === "end" ? "end" : "start";
261
261
  const j = n.useCallback((u) => /* @__PURE__ */ n.createElement("button", {
262
262
  type: "button",
263
263
  onClick: C,
264
264
  className: S(`${a}-close`, {
265
- [`${a}-close-${b}`]: b === "end"
265
+ [`${a}-close-${p}`]: p === "end"
266
266
  })
267
- }, u), [C, a, b]), [k, M] = We(he(e), he(x), {
267
+ }, u), [C, a, p]), [k, M] = We(he(e), he(x), {
268
268
  closable: !0,
269
269
  closeIconRender: j
270
270
  }), z = () => {
@@ -276,12 +276,12 @@ const De = (e) => {
276
276
  }, (g = x.classNames) === null || g === void 0 ? void 0 : g.header, v == null ? void 0 : v.header)
277
277
  }, /* @__PURE__ */ n.createElement("div", {
278
278
  className: `${a}-header-title`
279
- }, b === "start" && M, s && /* @__PURE__ */ n.createElement("div", {
279
+ }, p === "start" && M, s && /* @__PURE__ */ n.createElement("div", {
280
280
  className: `${a}-title`,
281
281
  id: r
282
282
  }, s)), i && /* @__PURE__ */ n.createElement("div", {
283
283
  className: `${a}-extra`
284
- }, i), b === "end" && M);
284
+ }, i), p === "end" && M);
285
285
  }, D = () => {
286
286
  var u, g;
287
287
  if (!l)
@@ -289,7 +289,7 @@ const De = (e) => {
289
289
  const N = `${a}-footer`;
290
290
  return /* @__PURE__ */ n.createElement("div", {
291
291
  className: S(N, (u = x.classNames) === null || u === void 0 ? void 0 : u.footer, v == null ? void 0 : v.footer),
292
- style: Object.assign(Object.assign(Object.assign({}, (g = x.styles) === null || g === void 0 ? void 0 : g.footer), p), d == null ? void 0 : d.footer)
292
+ style: Object.assign(Object.assign(Object.assign({}, (g = x.styles) === null || g === void 0 ? void 0 : g.footer), b), d == null ? void 0 : d.footer)
293
293
  }, l);
294
294
  };
295
295
  return /* @__PURE__ */ n.createElement(n.Fragment, null, z(), /* @__PURE__ */ n.createElement("div", {
@@ -318,7 +318,7 @@ const De = (e) => {
318
318
  "&-leave": Object.assign(Object.assign({}, t), {
319
319
  "&-active": e
320
320
  })
321
- }), Re = (e, t) => Object.assign({
321
+ }), Ie = (e, t) => Object.assign({
322
322
  "&-enter, &-appear, &-leave": {
323
323
  "&-start": {
324
324
  transition: "none"
@@ -331,7 +331,7 @@ const De = (e) => {
331
331
  opacity: e
332
332
  }, {
333
333
  opacity: 1
334
- })), ot = (e, t) => [Re(0.7, t), Pe({
334
+ })), ot = (e, t) => [Ie(0.7, t), Pe({
335
335
  transform: at(e)
336
336
  }, {
337
337
  transform: "none"
@@ -343,7 +343,7 @@ const De = (e) => {
343
343
  return {
344
344
  [t]: {
345
345
  // ======================== Mask ========================
346
- [`${t}-mask-motion`]: Re(0, o),
346
+ [`${t}-mask-motion`]: Ie(0, o),
347
347
  // ======================= Panel ========================
348
348
  [`${t}-panel-motion`]: ["left", "right", "top", "bottom"].reduce((a, r) => Object.assign(Object.assign({}, a), {
349
349
  [`&-${r}`]: ot(r, o)
@@ -364,12 +364,12 @@ const De = (e) => {
364
364
  paddingLG: C,
365
365
  fontSizeLG: w,
366
366
  lineHeightLG: E,
367
- lineWidth: p,
367
+ lineWidth: b,
368
368
  lineType: $,
369
369
  colorSplit: v,
370
370
  marginXS: d,
371
371
  colorIcon: x,
372
- colorIconHover: b,
372
+ colorIconHover: p,
373
373
  colorBgTextHover: j,
374
374
  colorBgTextActive: k,
375
375
  colorText: M,
@@ -470,7 +470,7 @@ const De = (e) => {
470
470
  padding: `${te(h)} ${te(C)}`,
471
471
  fontSize: w,
472
472
  lineHeight: E,
473
- borderBottom: `${te(p)} ${$} ${v}`,
473
+ borderBottom: `${te(b)} ${$} ${v}`,
474
474
  "&-title": {
475
475
  display: "flex",
476
476
  flex: 1,
@@ -509,14 +509,14 @@ const De = (e) => {
509
509
  marginInlineEnd: d
510
510
  },
511
511
  "&:hover": {
512
- color: b,
512
+ color: p,
513
513
  backgroundColor: j,
514
514
  textDecoration: "none"
515
515
  },
516
516
  "&:active": {
517
517
  backgroundColor: k
518
518
  }
519
- }, Ue(e)),
519
+ }, Fe(e)),
520
520
  [`${o}-title`]: {
521
521
  flex: 1,
522
522
  margin: 0,
@@ -542,7 +542,7 @@ const De = (e) => {
542
542
  [`${o}-footer`]: {
543
543
  flexShrink: 0,
544
544
  padding: `${te(D)} ${te(u)}`,
545
- borderTop: `${te(p)} ${$} ${v}`
545
+ borderTop: `${te(b)} ${$} ${v}`
546
546
  },
547
547
  // ====================== RTL =======================
548
548
  "&-rtl": {
@@ -554,8 +554,8 @@ const De = (e) => {
554
554
  zIndexPopup: e.zIndexPopupBase,
555
555
  footerPaddingBlock: e.paddingXS,
556
556
  footerPaddingInline: e.padding
557
- }), Ie = Be("Drawer", (e) => {
558
- const t = Fe(e, {});
557
+ }), Re = Ae("Drawer", (e) => {
558
+ const t = Be(e, {});
559
559
  return [st(t), rt(t)];
560
560
  }, lt);
561
561
  var je = function(e, t) {
@@ -581,27 +581,27 @@ const it = {
581
581
  onClose: C,
582
582
  prefixCls: w,
583
583
  getContainer: E,
584
- panelRef: p = null,
584
+ panelRef: b = null,
585
585
  style: $,
586
586
  className: v,
587
587
  "aria-labelledby": d,
588
588
  // Deprecated
589
589
  visible: x,
590
- afterVisibleChange: b,
590
+ afterVisibleChange: p,
591
591
  maskStyle: j,
592
592
  drawerStyle: k,
593
593
  contentWrapperStyle: M,
594
594
  destroyOnClose: z,
595
595
  destroyOnHidden: D
596
- } = e, u = je(e, ["rootClassName", "width", "height", "size", "mask", "push", "open", "afterOpenChange", "onClose", "prefixCls", "getContainer", "panelRef", "style", "className", "aria-labelledby", "visible", "afterVisibleChange", "maskStyle", "drawerStyle", "contentWrapperStyle", "destroyOnClose", "destroyOnHidden"]), g = Ae(), N = u.title ? g : void 0, {
596
+ } = e, u = je(e, ["rootClassName", "width", "height", "size", "mask", "push", "open", "afterOpenChange", "onClose", "prefixCls", "getContainer", "panelRef", "style", "className", "aria-labelledby", "visible", "afterVisibleChange", "maskStyle", "drawerStyle", "contentWrapperStyle", "destroyOnClose", "destroyOnHidden"]), g = Ue(), N = u.title ? g : void 0, {
597
597
  getPopupContainer: G,
598
598
  getPrefixCls: q,
599
599
  direction: V,
600
600
  className: H,
601
601
  style: W,
602
602
  classNames: T,
603
- styles: B
604
- } = ke("drawer"), P = q("drawer", w), [ne, ae, y] = Ie(P), K = (
603
+ styles: A
604
+ } = ke("drawer"), P = q("drawer", w), [ne, ae, y] = Re(P), K = (
605
605
  // 有可能为 false,所以不能直接判断
606
606
  E === void 0 && G ? () => G(document.body) : E
607
607
  ), _ = S({
@@ -614,7 +614,7 @@ const it = {
614
614
  Z.deprecated(!(ie in e), ie, ce);
615
615
  }), K !== void 0 && ((t = e.style) === null || t === void 0 ? void 0 : t.position) === "absolute" && process.env.NODE_ENV !== "production" && Z(!1, "breaking", "`style` is replaced by `rootStyle` in v5. Please check that `position: absolute` is necessary.");
616
616
  }
617
- const F = n.useMemo(() => a ?? (s === "large" ? 736 : 378), [a, s]), U = n.useMemo(() => r ?? (s === "large" ? 736 : 378), [r, s]), oe = {
617
+ const B = n.useMemo(() => a ?? (s === "large" ? 736 : 378), [a, s]), F = n.useMemo(() => r ?? (s === "large" ? 736 : 378), [r, s]), oe = {
618
618
  motionName: Ce(P, "mask-motion"),
619
619
  motionAppear: !0,
620
620
  motionEnter: !0,
@@ -626,14 +626,14 @@ const it = {
626
626
  motionEnter: !0,
627
627
  motionLeave: !0,
628
628
  motionDeadline: 500
629
- }), se = Ye(), A = Ge(p, se), [L, m] = qe("Drawer", u.zIndex), {
629
+ }), se = Ye(), U = Ge(b, se), [L, m] = qe("Drawer", u.zIndex), {
630
630
  classNames: X = {},
631
- styles: R = {}
631
+ styles: I = {}
632
632
  } = u;
633
633
  return ne(/* @__PURE__ */ n.createElement(Ze, {
634
634
  form: !0,
635
635
  space: !0
636
- }, /* @__PURE__ */ n.createElement(Qe.Provider, {
636
+ }, /* @__PURE__ */ n.createElement(Je.Provider, {
637
637
  value: m
638
638
  }, /* @__PURE__ */ n.createElement($e, Object.assign({
639
639
  prefixCls: P,
@@ -647,21 +647,21 @@ const it = {
647
647
  wrapper: S(X.wrapper, T.wrapper)
648
648
  },
649
649
  styles: {
650
- mask: Object.assign(Object.assign(Object.assign({}, R.mask), j), B.mask),
651
- content: Object.assign(Object.assign(Object.assign({}, R.content), k), B.content),
652
- wrapper: Object.assign(Object.assign(Object.assign({}, R.wrapper), M), B.wrapper)
650
+ mask: Object.assign(Object.assign(Object.assign({}, I.mask), j), A.mask),
651
+ content: Object.assign(Object.assign(Object.assign({}, I.content), k), A.content),
652
+ wrapper: Object.assign(Object.assign(Object.assign({}, I.wrapper), M), A.wrapper)
653
653
  },
654
654
  open: c ?? x,
655
655
  mask: l,
656
656
  push: i,
657
- width: F,
658
- height: U,
657
+ width: B,
658
+ height: F,
659
659
  style: Object.assign(Object.assign({}, W), $),
660
660
  className: S(H, v),
661
661
  rootClassName: _,
662
662
  getContainer: K,
663
- afterOpenChange: h ?? b,
664
- panelRef: A,
663
+ afterOpenChange: h ?? p,
664
+ panelRef: U,
665
665
  zIndex: L,
666
666
  "aria-labelledby": d ?? N,
667
667
  // TODO: In the future, destroyOnClose in rc-drawer needs to be upgrade to destroyOnHidden
@@ -680,7 +680,7 @@ const it = {
680
680
  placement: r = "right"
681
681
  } = e, s = je(e, ["prefixCls", "style", "className", "placement"]), {
682
682
  getPrefixCls: l
683
- } = n.useContext(Je), i = l("drawer", t), [c, h, C] = Ie(i), w = S(i, `${i}-pure`, `${i}-${r}`, h, C, a);
683
+ } = n.useContext(Qe), i = l("drawer", t), [c, h, C] = Re(i), w = S(i, `${i}-pure`, `${i}-${r}`, h, C, a);
684
684
  return c(/* @__PURE__ */ n.createElement("div", {
685
685
  className: w,
686
686
  style: o