@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,8 +1,8 @@
1
1
  import * as n from "react";
2
- import { bg as G, ah as Ie, bz as q, aT as Ut, bh as Lt, bk as Bt, bf as xt, cZ as Xt, by as kt, bi as ne, bq as qt, bH as et, b0 as Kt, c_ as Gt, bj as _t, c$ as Yt, a7 as Jt, a8 as Ht, ap as Dt, a9 as Zt, ar as Qt, bN as er, aq as tr, bl as rr, aG as Tt, d0 as nr, bm as ar, a6 as Ot, d1 as lr, d2 as or, aU as ir, cV as sr, bO as ur, aa as Rt, aK as cr, aJ as dr, bn as fr, co as vr, cf as Pt, d3 as hr, bp as pr, cw as mr } from "./embed-mf8t3QXh.js";
3
- import { a as St, c as gr, U as Cr, e as Sr, i as yr, g as br, S as wr } from "./index-DGbjbjBY.js";
4
- import { _ as xr } from "./createForOfIteratorHelper-CasBzL_Q.js";
5
- import { g as Nr } from "./index-BqTsLClH.js";
2
+ import { bj as Z, as as Ie, bA as Y, aY as Ut, bk as Lt, bn as Bt, bi as xt, cZ as Xt, bz as kt, bl as ne, al as Yt, bI as et, b4 as Kt, c_ as Zt, bm as _t, c$ as Gt, a6 as qt, a7 as Ht, ac as Dt, a8 as Jt, aj as Qt, bM as er, ah as tr, bo as rr, aM as Tt, d0 as nr, ag as ar, a5 as Pt, d1 as lr, d2 as or, aZ as ir, cV as sr, bN as ur, a9 as At, ai as cr, aP as dr, bp as fr, cn as vr, ce as Ot, d3 as hr, br as pr, cv as mr } from "./embed-CoEyJMJx.js";
3
+ import { a as St, c as gr, U as Cr, e as Sr, i as yr, g as br, S as wr } from "./index-EoyTsMVR.js";
4
+ import { _ as xr } from "./createForOfIteratorHelper-BArIG0W5.js";
5
+ import { g as Nr } from "./index-BRyPjc2E.js";
6
6
  const Er = (function(e) {
7
7
  var t = n.useRef({
8
8
  valueLabels: /* @__PURE__ */ new Map()
@@ -10,7 +10,7 @@ const Er = (function(e) {
10
10
  return n.useMemo(function() {
11
11
  var r = t.current.valueLabels, l = /* @__PURE__ */ new Map(), a = e.map(function(s) {
12
12
  var o = s.value, i = s.label, u = i ?? r.get(o);
13
- return l.set(o, u), G(G({}, s), {}, {
13
+ return l.set(o, u), Z(Z({}, s), {}, {
14
14
  label: u
15
15
  });
16
16
  });
@@ -21,11 +21,11 @@ var Ir = function(t, r, l, a) {
21
21
  return n.useMemo(function() {
22
22
  var s = function(E) {
23
23
  return E.map(function(D) {
24
- var P = D.value;
25
- return P;
24
+ var O = D.value;
25
+ return O;
26
26
  });
27
- }, o = s(t), i = s(r), u = o.filter(function(V) {
28
- return !a[V];
27
+ }, o = s(t), i = s(r), u = o.filter(function(M) {
28
+ return !a[M];
29
29
  }), f = o, p = i;
30
30
  if (l) {
31
31
  var _ = St(o, !0, a);
@@ -33,7 +33,7 @@ var Ir = function(t, r, l, a) {
33
33
  }
34
34
  return [Array.from(new Set([].concat(Ie(u), Ie(f)))), p];
35
35
  }, [t, r, l, a]);
36
- }, At = function(t) {
36
+ }, Rt = function(t) {
37
37
  return Array.isArray(t) ? t : t !== void 0 ? [t] : [];
38
38
  }, kr = function(t) {
39
39
  var r = t || {}, l = r.label, a = r.value, s = r.children;
@@ -61,7 +61,7 @@ const Dr = (function(e, t) {
61
61
  var r = gr(e, {
62
62
  fieldNames: t,
63
63
  initWrapper: function(a) {
64
- return G(G({}, a), {}, {
64
+ return Z(Z({}, a), {}, {
65
65
  valueEntities: /* @__PURE__ */ new Map()
66
66
  });
67
67
  },
@@ -69,7 +69,7 @@ const Dr = (function(e, t) {
69
69
  var o = a.node[t.value];
70
70
  if (process.env.NODE_ENV !== "production") {
71
71
  var i = a.node.key;
72
- q(!bt(o), "TreeNode `value` is invalidate: undefined"), q(!s.valueEntities.has(o), "Same `value` exist in the tree: ".concat(o)), q(!i || String(i) === String(o), "`key` or `value` with TreeNode must be the same or you can remove one of them. key: ".concat(i, ", value: ").concat(o, "."));
72
+ Y(!bt(o), "TreeNode `value` is invalidate: undefined"), Y(!s.valueEntities.has(o), "Same `value` exist in the tree: ".concat(o)), Y(!i || String(i) === String(o), "`key` or `value` with TreeNode must be the same or you can remove one of them. key: ".concat(i, ", value: ").concat(o, "."));
73
73
  }
74
74
  s.valueEntities.set(o, a);
75
75
  }
@@ -84,7 +84,7 @@ function $t(e) {
84
84
  return Ut(e).map(function(t) {
85
85
  if (!/* @__PURE__ */ n.isValidElement(t) || !t.type)
86
86
  return null;
87
- var r = t, l = r.key, a = r.props, s = a.children, o = a.value, i = Lt(a, Tr), u = G({
87
+ var r = t, l = r.key, a = r.props, s = a.children, o = a.value, i = Lt(a, Tr), u = Z({
88
88
  key: l,
89
89
  value: o
90
90
  }, i), f = $t(s);
@@ -96,29 +96,29 @@ function $t(e) {
96
96
  function wt(e) {
97
97
  if (!e)
98
98
  return e;
99
- var t = G({}, e);
99
+ var t = Z({}, e);
100
100
  return "props" in t || Object.defineProperty(t, "props", {
101
101
  get: function() {
102
- return q(!1, "New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."), t;
102
+ return Y(!1, "New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."), t;
103
103
  }
104
104
  }), t;
105
105
  }
106
- function Or(e, t, r, l, a, s) {
106
+ function Pr(e, t, r, l, a, s) {
107
107
  var o = null, i = null;
108
108
  function u() {
109
109
  function f(p) {
110
- var _ = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "0", V = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
110
+ var _ = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "0", M = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
111
111
  return p.map(function(E, D) {
112
- var P = "".concat(_, "-").concat(D), I = E[s.value], H = r.includes(I), J = f(E[s.children] || [], P, H), Z = /* @__PURE__ */ n.createElement(Nt, E, J.map(function(R) {
113
- return R.node;
112
+ var O = "".concat(_, "-").concat(D), I = E[s.value], H = r.includes(I), q = f(E[s.children] || [], O, H), J = /* @__PURE__ */ n.createElement(Nt, E, q.map(function(A) {
113
+ return A.node;
114
114
  }));
115
- if (t === I && (o = Z), H) {
115
+ if (t === I && (o = J), H) {
116
116
  var ae = {
117
- pos: P,
118
- node: Z,
119
- children: J
117
+ pos: O,
118
+ node: J,
119
+ children: q
120
120
  };
121
- return V || i.push(ae), ae;
121
+ return M || i.push(ae), ae;
122
122
  }
123
123
  return null;
124
124
  }).filter(function(E) {
@@ -126,24 +126,24 @@ function Or(e, t, r, l, a, s) {
126
126
  });
127
127
  }
128
128
  i || (i = [], f(l), i.sort(function(p, _) {
129
- var V = p.node.props.value, E = _.node.props.value, D = r.indexOf(V), P = r.indexOf(E);
130
- return D - P;
129
+ var M = p.node.props.value, E = _.node.props.value, D = r.indexOf(M), O = r.indexOf(E);
130
+ return D - O;
131
131
  }));
132
132
  }
133
133
  Object.defineProperty(e, "triggerNode", {
134
134
  get: function() {
135
- return q(!1, "`triggerNode` is deprecated. Please consider decoupling data with node."), u(), o;
135
+ return Y(!1, "`triggerNode` is deprecated. Please consider decoupling data with node."), u(), o;
136
136
  }
137
137
  }), Object.defineProperty(e, "allCheckedNodes", {
138
138
  get: function() {
139
- return q(!1, "`allCheckedNodes` is deprecated. Please consider decoupling data with node."), u(), a ? i : i.map(function(p) {
139
+ return Y(!1, "`allCheckedNodes` is deprecated. Please consider decoupling data with node."), u(), a ? i : i.map(function(p) {
140
140
  var _ = p.node;
141
141
  return _;
142
142
  });
143
143
  }
144
144
  });
145
145
  }
146
- var Pr = function(t, r, l) {
146
+ var Or = function(t, r, l) {
147
147
  var a = l.fieldNames, s = l.treeNodeFilterProp, o = l.filterTreeNode, i = a.children;
148
148
  return n.useMemo(function() {
149
149
  if (!r || o === !1)
@@ -151,10 +151,10 @@ var Pr = function(t, r, l) {
151
151
  var u = typeof o == "function" ? o : function(p, _) {
152
152
  return String(_[s]).toUpperCase().includes(r.toUpperCase());
153
153
  }, f = function p(_) {
154
- var V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
154
+ var M = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
155
155
  return _.reduce(function(E, D) {
156
- var P = D[i], I = V || u(r, wt(D)), H = p(P || [], I);
157
- return (I || H.length) && E.push(G(G({}, D), {}, Bt({
156
+ var O = D[i], I = M || u(r, wt(D)), H = p(O || [], I);
157
+ return (I || H.length) && E.push(Z(Z({}, D), {}, Bt({
158
158
  isLeaf: void 0
159
159
  }, i, H))), E;
160
160
  }, []);
@@ -162,7 +162,7 @@ var Pr = function(t, r, l) {
162
162
  return f(t);
163
163
  }, [t, r, i, s, o]);
164
164
  };
165
- function Vt(e) {
165
+ function Mt(e) {
166
166
  var t = n.useRef();
167
167
  t.current = e;
168
168
  var r = n.useCallback(function() {
@@ -170,10 +170,10 @@ function Vt(e) {
170
170
  }, []);
171
171
  return r;
172
172
  }
173
- function Vr(e, t) {
173
+ function Mr(e, t) {
174
174
  var r = t.id, l = t.pId, a = t.rootPId, s = /* @__PURE__ */ new Map(), o = [];
175
175
  return e.forEach(function(i) {
176
- var u = i[r], f = G(G({}, i), {}, {
176
+ var u = i[r], f = Z(Z({}, i), {}, {
177
177
  key: i.key || u
178
178
  });
179
179
  s.set(u, f);
@@ -182,16 +182,16 @@ function Vr(e, t) {
182
182
  f ? (f.children = f.children || [], f.children.push(i)) : (u === a || a === null) && o.push(i);
183
183
  }), o;
184
184
  }
185
- function Mr(e, t, r) {
185
+ function Vr(e, t, r) {
186
186
  return n.useMemo(function() {
187
187
  if (e) {
188
188
  if (r) {
189
- var l = G({
189
+ var l = Z({
190
190
  id: "id",
191
191
  pId: "pId",
192
192
  rootPId: null
193
193
  }, xt(r) === "object" ? r : {});
194
- return Vr(e, l);
194
+ return Mr(e, l);
195
195
  }
196
196
  return e;
197
197
  }
@@ -208,26 +208,26 @@ var Wt = /* @__PURE__ */ n.createContext(null), Ft = /* @__PURE__ */ n.createCon
208
208
  padding: 0,
209
209
  margin: 0
210
210
  }, Kr = function(t, r) {
211
- var l = Xt(), a = l.prefixCls, s = l.multiple, o = l.searchValue, i = l.toggleOpen, u = l.open, f = l.notFoundContent, p = n.useContext(Ft), _ = p.virtual, V = p.listHeight, E = p.listItemHeight, D = p.listItemScrollOffset, P = p.treeData, I = p.fieldNames, H = p.onSelect, J = p.dropdownMatchSelectWidth, Z = p.treeExpandAction, ae = p.treeTitleRender, R = p.onPopupScroll, T = p.leftMaxCount, Le = p.leafCountOnly, le = p.valueEntities, b = n.useContext(Wt), ue = b.checkable, A = b.checkedKeys, Ke = b.halfCheckedKeys, ce = b.treeExpandedKeys, He = b.treeDefaultExpandAll, Re = b.treeDefaultExpandedKeys, de = b.onTreeExpand, ke = b.treeIcon, Ae = b.showTreeIcon, $e = b.switcherIcon, We = b.treeLine, Fe = b.treeNodeFilterProp, je = b.loadData, _e = b.treeLoadedKeys, ze = b.treeMotion, Ce = b.onTreeLoad, fe = b.keyEntities, Q = n.useRef(), F = kt(
211
+ var l = Xt(), a = l.prefixCls, s = l.multiple, o = l.searchValue, i = l.toggleOpen, u = l.open, f = l.notFoundContent, p = n.useContext(Ft), _ = p.virtual, M = p.listHeight, E = p.listItemHeight, D = p.listItemScrollOffset, O = p.treeData, I = p.fieldNames, H = p.onSelect, q = p.dropdownMatchSelectWidth, J = p.treeExpandAction, ae = p.treeTitleRender, A = p.onPopupScroll, T = p.leftMaxCount, Le = p.leafCountOnly, le = p.valueEntities, b = n.useContext(Wt), ue = b.checkable, R = b.checkedKeys, Ke = b.halfCheckedKeys, ce = b.treeExpandedKeys, He = b.treeDefaultExpandAll, Ae = b.treeDefaultExpandedKeys, de = b.onTreeExpand, ke = b.treeIcon, Re = b.showTreeIcon, $e = b.switcherIcon, We = b.treeLine, Fe = b.treeNodeFilterProp, je = b.loadData, _e = b.treeLoadedKeys, ze = b.treeMotion, Ce = b.onTreeLoad, fe = b.keyEntities, Q = n.useRef(), F = kt(
212
212
  function() {
213
- return P;
213
+ return O;
214
214
  },
215
215
  // eslint-disable-next-line react-hooks/exhaustive-deps
216
- [u, P],
216
+ [u, O],
217
217
  function(m, v) {
218
218
  return v[0] && m[1] !== v[1];
219
219
  }
220
220
  ), j = n.useMemo(function() {
221
221
  return ue ? {
222
- checked: A,
222
+ checked: R,
223
223
  halfChecked: Ke
224
224
  } : null;
225
- }, [ue, A, Ke]);
225
+ }, [ue, R, Ke]);
226
226
  n.useEffect(function() {
227
- if (u && !s && A.length) {
227
+ if (u && !s && R.length) {
228
228
  var m;
229
229
  (m = Q.current) === null || m === void 0 || m.scrollTo({
230
- key: A[0]
230
+ key: R[0]
231
231
  });
232
232
  }
233
233
  }, [u]);
@@ -236,21 +236,21 @@ var Wt = /* @__PURE__ */ n.createContext(null), Ft = /* @__PURE__ */ n.createCon
236
236
  }, Se = function(v, x) {
237
237
  var C = x.node;
238
238
  ue && yt(C) || (H(C.key, {
239
- selected: !A.includes(C.key)
239
+ selected: !R.includes(C.key)
240
240
  }), s || i(!1));
241
- }, he = n.useState(Re), pe = ne(he, 2), Y = pe[0], Ue = pe[1], ee = n.useState(null), De = ne(ee, 2), ye = De[0], oe = De[1], me = n.useMemo(function() {
242
- return ce ? Ie(ce) : o ? ye : Y;
243
- }, [Y, ye, ce, o]), B = function(v) {
241
+ }, he = n.useState(Ae), pe = ne(he, 2), G = pe[0], Ue = pe[1], ee = n.useState(null), De = ne(ee, 2), ye = De[0], oe = De[1], me = n.useMemo(function() {
242
+ return ce ? Ie(ce) : o ? ye : G;
243
+ }, [G, ye, ce, o]), B = function(v) {
244
244
  Ue(v), oe(v), de && de(v);
245
245
  }, Te = String(o).toLowerCase(), $ = function(v) {
246
246
  return Te ? String(v[Fe]).toLowerCase().includes(Te) : !1;
247
247
  };
248
248
  n.useEffect(function() {
249
- o && oe(_r(P, I));
249
+ o && oe(_r(O, I));
250
250
  }, [o]);
251
- var M = n.useState(function() {
251
+ var V = n.useState(function() {
252
252
  return /* @__PURE__ */ new Map();
253
- }), be = ne(M, 2), L = be[0], tt = be[1];
253
+ }), be = ne(V, 2), L = be[0], tt = be[1];
254
254
  n.useEffect(function() {
255
255
  T && tt(/* @__PURE__ */ new Map());
256
256
  }, [T]);
@@ -262,17 +262,17 @@ var Wt = /* @__PURE__ */ n.createContext(null), Ft = /* @__PURE__ */ n.createCon
262
262
  L.set(v, !1);
263
263
  else {
264
264
  var N = x.children.filter(function(W) {
265
- return !W.node.disabled && !W.node.disableCheckbox && !A.includes(W.node[I.value]);
265
+ return !W.node.disabled && !W.node.disableCheckbox && !R.includes(W.node[I.value]);
266
266
  }), U = N.length;
267
267
  L.set(v, U > T);
268
268
  }
269
269
  }
270
270
  return L.get(v);
271
271
  }
272
- var w = qt(function(m) {
272
+ var w = Yt(function(m) {
273
273
  var v = m[I.value];
274
- return A.includes(v) || T === null ? !1 : T <= 0 ? !0 : Le && T ? te(m) : !1;
275
- }), Oe = function m(v) {
274
+ return R.includes(v) || T === null ? !1 : T <= 0 ? !0 : Le && T ? te(m) : !1;
275
+ }), Pe = function m(v) {
276
276
  var x = xr(v), C;
277
277
  try {
278
278
  for (x.s(); !(C = x.n()).done; ) {
@@ -300,10 +300,10 @@ var Wt = /* @__PURE__ */ n.createContext(null), Ft = /* @__PURE__ */ n.createCon
300
300
  n.useEffect(function() {
301
301
  if (u) {
302
302
  var m = null, v = function() {
303
- var C = Oe(F);
303
+ var C = Pe(F);
304
304
  return C ? C[I.value] : null;
305
305
  };
306
- !s && A.length && !o ? m = A[0] : m = v(), Xe(m);
306
+ !s && R.length && !o ? m = R[0] : m = v(), Xe(m);
307
307
  }
308
308
  }, [u, o]), n.useImperativeHandle(r, function() {
309
309
  var m;
@@ -322,12 +322,12 @@ var Wt = /* @__PURE__ */ n.createContext(null), Ft = /* @__PURE__ */ n.createCon
322
322
  // >>> Select item
323
323
  case et.ENTER: {
324
324
  if (z) {
325
- var U = w(z.node), W = (z == null ? void 0 : z.node) || {}, Pe = W.selectable, ie = W.value, Ge = W.disabled;
326
- Pe !== !1 && !Ge && !U && Se(null, {
325
+ var U = w(z.node), W = (z == null ? void 0 : z.node) || {}, Oe = W.selectable, ie = W.value, Ze = W.disabled;
326
+ Oe !== !1 && !Ze && !U && Se(null, {
327
327
  node: {
328
328
  key: ge
329
329
  },
330
- selected: !A.includes(ie)
330
+ selected: !R.includes(ie)
331
331
  });
332
332
  }
333
333
  break;
@@ -341,22 +341,22 @@ var Wt = /* @__PURE__ */ n.createContext(null), Ft = /* @__PURE__ */ n.createCon
341
341
  }
342
342
  };
343
343
  });
344
- var qe = kt(function() {
344
+ var Ye = kt(function() {
345
345
  return !o;
346
- }, [o, ce || Y], function(m, v) {
346
+ }, [o, ce || G], function(m, v) {
347
347
  var x = ne(m, 1), C = x[0], N = ne(v, 2), U = N[0], W = N[1];
348
348
  return C !== U && !!(U || W);
349
- }), K = qe ? je : null;
349
+ }), K = Ye ? je : null;
350
350
  if (F.length === 0)
351
351
  return /* @__PURE__ */ n.createElement("div", {
352
352
  role: "listbox",
353
353
  className: "".concat(a, "-empty"),
354
354
  onMouseDown: ve
355
355
  }, f);
356
- var O = {
356
+ var P = {
357
357
  fieldNames: I
358
358
  };
359
- return _e && (O.loadedKeys = _e), me && (O.expandedKeys = me), /* @__PURE__ */ n.createElement("div", {
359
+ return _e && (P.loadedKeys = _e), me && (P.expandedKeys = me), /* @__PURE__ */ n.createElement("div", {
360
360
  onMouseDown: ve
361
361
  }, z && u && /* @__PURE__ */ n.createElement("span", {
362
362
  style: Lr,
@@ -370,13 +370,13 @@ var Wt = /* @__PURE__ */ n.createContext(null), Ft = /* @__PURE__ */ n.createCon
370
370
  focusable: !1,
371
371
  prefixCls: "".concat(a, "-tree"),
372
372
  treeData: F,
373
- height: V,
373
+ height: M,
374
374
  itemHeight: E,
375
375
  itemScrollOffset: D,
376
- virtual: _ !== !1 && J !== !1,
376
+ virtual: _ !== !1 && q !== !1,
377
377
  multiple: s,
378
378
  icon: ke,
379
- showIcon: Ae,
379
+ showIcon: Re,
380
380
  switcherIcon: $e,
381
381
  showLine: We,
382
382
  loadData: K,
@@ -385,10 +385,10 @@ var Wt = /* @__PURE__ */ n.createContext(null), Ft = /* @__PURE__ */ n.createCon
385
385
  checkable: ue,
386
386
  checkStrictly: !0,
387
387
  checkedKeys: j,
388
- selectedKeys: ue ? [] : A,
388
+ selectedKeys: ue ? [] : R,
389
389
  defaultExpandAll: He,
390
390
  titleRender: ae
391
- }, O, {
391
+ }, P, {
392
392
  // Proxy event out
393
393
  onActiveChange: Xe,
394
394
  onSelect: Se,
@@ -396,13 +396,13 @@ var Wt = /* @__PURE__ */ n.createContext(null), Ft = /* @__PURE__ */ n.createCon
396
396
  onExpand: B,
397
397
  onLoad: Ce,
398
398
  filterTreeNode: $,
399
- expandAction: Z,
400
- onScroll: R
399
+ expandAction: J,
400
+ onScroll: A
401
401
  }))));
402
402
  }, jt = /* @__PURE__ */ n.forwardRef(Kr);
403
403
  process.env.NODE_ENV !== "production" && (jt.displayName = "OptionList");
404
404
  var Et = "SHOW_ALL", It = "SHOW_PARENT", dt = "SHOW_CHILD";
405
- function Mt(e, t, r, l) {
405
+ function Vt(e, t, r, l) {
406
406
  var a = new Set(e);
407
407
  return t === dt ? e.filter(function(s) {
408
408
  var o = r[s];
@@ -420,20 +420,20 @@ function Mt(e, t, r, l) {
420
420
  }
421
421
  function Hr(e) {
422
422
  var t = e.searchPlaceholder, r = e.treeCheckStrictly, l = e.treeCheckable, a = e.labelInValue, s = e.value, o = e.multiple, i = e.showCheckedStrategy, u = e.maxCount;
423
- q(!t, "`searchPlaceholder` has been removed."), r && a === !1 && q(!1, "`treeCheckStrictly` will force set `labelInValue` to `true`."), (a || r) && q(At(s).every(function(f) {
423
+ Y(!t, "`searchPlaceholder` has been removed."), r && a === !1 && Y(!1, "`treeCheckStrictly` will force set `labelInValue` to `true`."), (a || r) && Y(Rt(s).every(function(f) {
424
424
  return f && xt(f) === "object" && "value" in f;
425
- }), "Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."), r || o || l ? q(!s || Array.isArray(s), "`value` should be an array when `TreeSelect` is checkable or multiple.") : q(!Array.isArray(s), "`value` should not be array when `TreeSelect` is single mode."), u && (i === "SHOW_ALL" && !r || i === "SHOW_PARENT") && q(!1, "`maxCount` not work with `showCheckedStrategy=SHOW_ALL` (when `treeCheckStrictly=false`) or `showCheckedStrategy=SHOW_PARENT`.");
425
+ }), "Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."), r || o || l ? Y(!s || Array.isArray(s), "`value` should be an array when `TreeSelect` is checkable or multiple.") : Y(!Array.isArray(s), "`value` should not be array when `TreeSelect` is single mode."), u && (i === "SHOW_ALL" && !r || i === "SHOW_PARENT") && Y(!1, "`maxCount` not work with `showCheckedStrategy=SHOW_ALL` (when `treeCheckStrictly=false`) or `showCheckedStrategy=SHOW_PARENT`.");
426
426
  }
427
- var Rr = ["id", "prefixCls", "value", "defaultValue", "onChange", "onSelect", "onDeselect", "searchValue", "inputValue", "onSearch", "autoClearSearchValue", "filterTreeNode", "treeNodeFilterProp", "showCheckedStrategy", "treeNodeLabelProp", "multiple", "treeCheckable", "treeCheckStrictly", "labelInValue", "maxCount", "fieldNames", "treeDataSimpleMode", "treeData", "children", "loadData", "treeLoadedKeys", "onTreeLoad", "treeDefaultExpandAll", "treeExpandedKeys", "treeDefaultExpandedKeys", "onTreeExpand", "treeExpandAction", "virtual", "listHeight", "listItemHeight", "listItemScrollOffset", "onDropdownVisibleChange", "dropdownMatchSelectWidth", "treeLine", "treeIcon", "showTreeIcon", "switcherIcon", "treeMotion", "treeTitleRender", "onPopupScroll"];
428
- function Ar(e) {
427
+ var Ar = ["id", "prefixCls", "value", "defaultValue", "onChange", "onSelect", "onDeselect", "searchValue", "inputValue", "onSearch", "autoClearSearchValue", "filterTreeNode", "treeNodeFilterProp", "showCheckedStrategy", "treeNodeLabelProp", "multiple", "treeCheckable", "treeCheckStrictly", "labelInValue", "maxCount", "fieldNames", "treeDataSimpleMode", "treeData", "children", "loadData", "treeLoadedKeys", "onTreeLoad", "treeDefaultExpandAll", "treeExpandedKeys", "treeDefaultExpandedKeys", "onTreeExpand", "treeExpandAction", "virtual", "listHeight", "listItemHeight", "listItemScrollOffset", "onDropdownVisibleChange", "dropdownMatchSelectWidth", "treeLine", "treeIcon", "showTreeIcon", "switcherIcon", "treeMotion", "treeTitleRender", "onPopupScroll"];
428
+ function Rr(e) {
429
429
  return !e || xt(e) !== "object";
430
430
  }
431
431
  var zt = /* @__PURE__ */ n.forwardRef(function(e, t) {
432
- var r = e.id, l = e.prefixCls, a = l === void 0 ? "rc-tree-select" : l, s = e.value, o = e.defaultValue, i = e.onChange, u = e.onSelect, f = e.onDeselect, p = e.searchValue, _ = e.inputValue, V = e.onSearch, E = e.autoClearSearchValue, D = E === void 0 ? !0 : E, P = e.filterTreeNode, I = e.treeNodeFilterProp, H = I === void 0 ? "value" : I, J = e.showCheckedStrategy, Z = e.treeNodeLabelProp, ae = e.multiple, R = e.treeCheckable, T = e.treeCheckStrictly, Le = e.labelInValue, le = e.maxCount, b = e.fieldNames, ue = e.treeDataSimpleMode, A = e.treeData, Ke = e.children, ce = e.loadData, He = e.treeLoadedKeys, Re = e.onTreeLoad, de = e.treeDefaultExpandAll, ke = e.treeExpandedKeys, Ae = e.treeDefaultExpandedKeys, $e = e.onTreeExpand, We = e.treeExpandAction, Fe = e.virtual, je = e.listHeight, _e = je === void 0 ? 200 : je, ze = e.listItemHeight, Ce = ze === void 0 ? 20 : ze, fe = e.listItemScrollOffset, Q = fe === void 0 ? 0 : fe, F = e.onDropdownVisibleChange, j = e.dropdownMatchSelectWidth, ve = j === void 0 ? !0 : j, Se = e.treeLine, he = e.treeIcon, pe = e.showTreeIcon, Y = e.switcherIcon, Ue = e.treeMotion, ee = e.treeTitleRender, De = e.onPopupScroll, ye = Lt(e, Rr), oe = Gt(r), me = R && !T, B = R || T, Te = T || Le, $ = B || ae, M = _t(o, {
432
+ var r = e.id, l = e.prefixCls, a = l === void 0 ? "rc-tree-select" : l, s = e.value, o = e.defaultValue, i = e.onChange, u = e.onSelect, f = e.onDeselect, p = e.searchValue, _ = e.inputValue, M = e.onSearch, E = e.autoClearSearchValue, D = E === void 0 ? !0 : E, O = e.filterTreeNode, I = e.treeNodeFilterProp, H = I === void 0 ? "value" : I, q = e.showCheckedStrategy, J = e.treeNodeLabelProp, ae = e.multiple, A = e.treeCheckable, T = e.treeCheckStrictly, Le = e.labelInValue, le = e.maxCount, b = e.fieldNames, ue = e.treeDataSimpleMode, R = e.treeData, Ke = e.children, ce = e.loadData, He = e.treeLoadedKeys, Ae = e.onTreeLoad, de = e.treeDefaultExpandAll, ke = e.treeExpandedKeys, Re = e.treeDefaultExpandedKeys, $e = e.onTreeExpand, We = e.treeExpandAction, Fe = e.virtual, je = e.listHeight, _e = je === void 0 ? 200 : je, ze = e.listItemHeight, Ce = ze === void 0 ? 20 : ze, fe = e.listItemScrollOffset, Q = fe === void 0 ? 0 : fe, F = e.onDropdownVisibleChange, j = e.dropdownMatchSelectWidth, ve = j === void 0 ? !0 : j, Se = e.treeLine, he = e.treeIcon, pe = e.showTreeIcon, G = e.switcherIcon, Ue = e.treeMotion, ee = e.treeTitleRender, De = e.onPopupScroll, ye = Lt(e, Ar), oe = Zt(r), me = A && !T, B = A || T, Te = T || Le, $ = B || ae, V = _t(o, {
433
433
  value: s
434
- }), be = ne(M, 2), L = be[0], tt = be[1], te = n.useMemo(function() {
435
- return R ? J || dt : Et;
436
- }, [J, R]);
434
+ }), be = ne(V, 2), L = be[0], tt = be[1], te = n.useMemo(function() {
435
+ return A ? q || dt : Et;
436
+ }, [q, A]);
437
437
  process.env.NODE_ENV !== "production" && Hr(e);
438
438
  var w = n.useMemo(
439
439
  function() {
@@ -442,46 +442,46 @@ var zt = /* @__PURE__ */ n.forwardRef(function(e, t) {
442
442
  /* eslint-disable react-hooks/exhaustive-deps */
443
443
  [JSON.stringify(b)]
444
444
  /* eslint-enable react-hooks/exhaustive-deps */
445
- ), Oe = _t("", {
445
+ ), Pe = _t("", {
446
446
  value: p !== void 0 ? p : _,
447
447
  postState: function(d) {
448
448
  return d || "";
449
449
  }
450
- }), Be = ne(Oe, 2), we = Be[0], ge = Be[1], Xe = function(d) {
451
- ge(d), V == null || V(d);
452
- }, z = Mr(A, Ke, ue), qe = Dr(z, w), K = qe.keyEntities, O = qe.valueEntities, m = n.useCallback(function(c) {
450
+ }), Be = ne(Pe, 2), we = Be[0], ge = Be[1], Xe = function(d) {
451
+ ge(d), M == null || M(d);
452
+ }, z = Vr(R, Ke, ue), Ye = Dr(z, w), K = Ye.keyEntities, P = Ye.valueEntities, m = n.useCallback(function(c) {
453
453
  var d = [], h = [];
454
454
  return c.forEach(function(g) {
455
- O.has(g) ? h.push(g) : d.push(g);
455
+ P.has(g) ? h.push(g) : d.push(g);
456
456
  }), {
457
457
  missingRawValues: d,
458
458
  existRawValues: h
459
459
  };
460
- }, [O]), v = Pr(z, we, {
460
+ }, [P]), v = Or(z, we, {
461
461
  fieldNames: w,
462
462
  treeNodeFilterProp: H,
463
- filterTreeNode: P
463
+ filterTreeNode: O
464
464
  }), x = n.useCallback(function(c) {
465
465
  if (c) {
466
- if (Z)
467
- return c[Z];
466
+ if (J)
467
+ return c[J];
468
468
  for (var d = w._title, h = 0; h < d.length; h += 1) {
469
469
  var g = c[d[h]];
470
470
  if (g !== void 0)
471
471
  return g;
472
472
  }
473
473
  }
474
- }, [w, Z]), C = n.useCallback(function(c) {
475
- var d = At(c);
474
+ }, [w, J]), C = n.useCallback(function(c) {
475
+ var d = Rt(c);
476
476
  return d.map(function(h) {
477
- return Ar(h) ? {
477
+ return Rr(h) ? {
478
478
  value: h
479
479
  } : h;
480
480
  });
481
481
  }, []), N = n.useCallback(function(c) {
482
482
  var d = C(c);
483
483
  return d.map(function(h) {
484
- var g = h.label, re = h.value, k = h.halfChecked, S, y = O.get(re);
484
+ var g = h.label, re = h.value, k = h.halfChecked, S, y = P.get(re);
485
485
  if (y) {
486
486
  var X;
487
487
  g = ee ? ee(y.node) : (X = g) !== null && X !== void 0 ? X : x(y.node), S = y.node.disabled;
@@ -498,19 +498,19 @@ var zt = /* @__PURE__ */ n.forwardRef(function(e, t) {
498
498
  disabled: S
499
499
  };
500
500
  });
501
- }, [O, x, C, L]), U = n.useMemo(function() {
501
+ }, [P, x, C, L]), U = n.useMemo(function() {
502
502
  return C(L === null ? [] : L);
503
503
  }, [C, L]), W = n.useMemo(function() {
504
504
  var c = [], d = [];
505
505
  return U.forEach(function(h) {
506
506
  h.halfChecked ? d.push(h) : c.push(h);
507
507
  }), [c, d];
508
- }, [U]), Pe = ne(W, 2), ie = Pe[0], Ge = Pe[1], it = n.useMemo(function() {
508
+ }, [U]), Oe = ne(W, 2), ie = Oe[0], Ze = Oe[1], it = n.useMemo(function() {
509
509
  return ie.map(function(c) {
510
510
  return c.value;
511
511
  });
512
- }, [ie]), ft = Ir(ie, Ge, me, K), st = ne(ft, 2), xe = st[0], Ye = st[1], rt = n.useMemo(function() {
513
- var c = Mt(xe, te, K, w), d = c.map(function(k) {
512
+ }, [ie]), ft = Ir(ie, Ze, me, K), st = ne(ft, 2), xe = st[0], Ge = st[1], rt = n.useMemo(function() {
513
+ var c = Vt(xe, te, K, w), d = c.map(function(k) {
514
514
  var S, y;
515
515
  return (S = (y = K[k]) === null || y === void 0 || (y = y.node) === null || y === void 0 ? void 0 : y[w.value]) !== null && S !== void 0 ? S : k;
516
516
  }), h = d.map(function(k) {
@@ -524,20 +524,20 @@ var zt = /* @__PURE__ */ n.forwardRef(function(e, t) {
524
524
  }), g = N(h), re = g[0];
525
525
  return !$ && re && bt(re.value) && bt(re.label) ? [] : g.map(function(k) {
526
526
  var S;
527
- return G(G({}, k), {}, {
527
+ return Z(Z({}, k), {}, {
528
528
  label: (S = k.label) !== null && S !== void 0 ? S : k.value
529
529
  });
530
530
  });
531
- }, [w, $, xe, ie, N, te, K]), vt = Er(rt), ht = ne(vt, 1), Je = ht[0], ut = n.useMemo(function() {
532
- return $ && (te === "SHOW_CHILD" || T || !R) ? le : null;
533
- }, [le, $, T, te, R]), Ze = Vt(function(c, d, h) {
534
- var g = Mt(c, te, K, w);
531
+ }, [w, $, xe, ie, N, te, K]), vt = Er(rt), ht = ne(vt, 1), qe = ht[0], ut = n.useMemo(function() {
532
+ return $ && (te === "SHOW_CHILD" || T || !A) ? le : null;
533
+ }, [le, $, T, te, A]), Je = Mt(function(c, d, h) {
534
+ var g = Vt(c, te, K, w);
535
535
  if (!(ut && g.length > ut)) {
536
536
  var re = N(c);
537
537
  if (tt(re), D && ge(""), i) {
538
538
  var k = c;
539
539
  me && (k = g.map(function(se) {
540
- var Ee = O.get(se);
540
+ var Ee = P.get(se);
541
541
  return Ee ? Ee.node[w.value] : se;
542
542
  }));
543
543
  var S = d || {
@@ -545,29 +545,29 @@ var zt = /* @__PURE__ */ n.forwardRef(function(e, t) {
545
545
  selected: void 0
546
546
  }, y = S.triggerValue, X = S.selected, Ne = k;
547
547
  if (T) {
548
- var at = Ge.filter(function(se) {
548
+ var at = Ze.filter(function(se) {
549
549
  return !k.includes(se.value);
550
550
  });
551
551
  Ne = [].concat(Ie(Ne), Ie(at));
552
552
  }
553
- var lt = N(Ne), Ve = {
553
+ var lt = N(Ne), Me = {
554
554
  // [Legacy] Always return as array contains label & value
555
555
  preValue: ie,
556
556
  triggerValue: y
557
557
  }, Qe = !0;
558
- (T || h === "selection" && !X) && (Qe = !1), Or(Ve, y, c, z, Qe, w), B ? Ve.checked = X : Ve.selected = X;
558
+ (T || h === "selection" && !X) && (Qe = !1), Pr(Me, y, c, z, Qe, w), B ? Me.checked = X : Me.selected = X;
559
559
  var ct = Te ? lt : lt.map(function(se) {
560
560
  return se.value;
561
561
  });
562
562
  i($ ? ct : ct[0], Te ? null : lt.map(function(se) {
563
563
  return se.label;
564
- }), Ve);
564
+ }), Me);
565
565
  }
566
566
  }
567
567
  }), nt = n.useCallback(function(c, d) {
568
568
  var h, g = d.selected, re = d.source, k = K[c], S = k == null ? void 0 : k.node, y = (h = S == null ? void 0 : S[w.value]) !== null && h !== void 0 ? h : c;
569
569
  if (!$)
570
- Ze([y], {
570
+ Je([y], {
571
571
  selected: !0,
572
572
  triggerValue: y
573
573
  }, "option");
@@ -576,15 +576,15 @@ var zt = /* @__PURE__ */ n.forwardRef(function(e, t) {
576
576
  return Ee !== y;
577
577
  });
578
578
  if (me) {
579
- var Ne = m(X), at = Ne.missingRawValues, lt = Ne.existRawValues, Ve = lt.map(function(Ee) {
580
- return O.get(Ee).key;
579
+ var Ne = m(X), at = Ne.missingRawValues, lt = Ne.existRawValues, Me = lt.map(function(Ee) {
580
+ return P.get(Ee).key;
581
581
  }), Qe;
582
582
  if (g) {
583
- var ct = St(Ve, !0, K);
583
+ var ct = St(Me, !0, K);
584
584
  Qe = ct.checkedKeys;
585
585
  } else {
586
- var se = St(Ve, {
587
- halfCheckedKeys: Ye
586
+ var se = St(Me, {
587
+ halfCheckedKeys: Ge
588
588
  }, K);
589
589
  Qe = se.checkedKeys;
590
590
  }
@@ -592,27 +592,27 @@ var zt = /* @__PURE__ */ n.forwardRef(function(e, t) {
592
592
  return K[Ee].node[w.value];
593
593
  })));
594
594
  }
595
- Ze(X, {
595
+ Je(X, {
596
596
  selected: g,
597
597
  triggerValue: y
598
598
  }, re || "option");
599
599
  }
600
600
  g || !$ ? u == null || u(y, wt(S)) : f == null || f(y, wt(S));
601
- }, [m, O, K, w, $, it, Ze, me, u, f, xe, Ye, le]), pt = n.useCallback(function(c) {
601
+ }, [m, P, K, w, $, it, Je, me, u, f, xe, Ge, le]), pt = n.useCallback(function(c) {
602
602
  if (F) {
603
603
  var d = {};
604
604
  Object.defineProperty(d, "documentClickClose", {
605
605
  get: function() {
606
- return q(!1, "Second param of `onDropdownVisibleChange` has been removed."), !1;
606
+ return Y(!1, "Second param of `onDropdownVisibleChange` has been removed."), !1;
607
607
  }
608
608
  }), F(c, d);
609
609
  }
610
- }, [F]), mt = Vt(function(c, d) {
610
+ }, [F]), mt = Mt(function(c, d) {
611
611
  var h = c.map(function(g) {
612
612
  return g.value;
613
613
  });
614
614
  if (d.type === "clear") {
615
- Ze(h, {}, "selection");
615
+ Je(h, {}, "selection");
616
616
  return;
617
617
  }
618
618
  d.values.length && nt(d.values[0].value, {
@@ -632,43 +632,43 @@ var zt = /* @__PURE__ */ n.forwardRef(function(e, t) {
632
632
  treeExpandAction: We,
633
633
  treeTitleRender: ee,
634
634
  onPopupScroll: De,
635
- leftMaxCount: le === void 0 ? null : le - Je.length,
636
- leafCountOnly: te === "SHOW_CHILD" && !T && !!R,
637
- valueEntities: O
635
+ leftMaxCount: le === void 0 ? null : le - qe.length,
636
+ leafCountOnly: te === "SHOW_CHILD" && !T && !!A,
637
+ valueEntities: P
638
638
  };
639
- }, [Fe, ve, _e, Ce, Q, v, w, nt, We, ee, De, le, Je.length, te, T, R, O]), Ct = n.useMemo(function() {
639
+ }, [Fe, ve, _e, Ce, Q, v, w, nt, We, ee, De, le, qe.length, te, T, A, P]), Ct = n.useMemo(function() {
640
640
  return {
641
641
  checkable: B,
642
642
  loadData: ce,
643
643
  treeLoadedKeys: He,
644
- onTreeLoad: Re,
644
+ onTreeLoad: Ae,
645
645
  checkedKeys: xe,
646
- halfCheckedKeys: Ye,
646
+ halfCheckedKeys: Ge,
647
647
  treeDefaultExpandAll: de,
648
648
  treeExpandedKeys: ke,
649
- treeDefaultExpandedKeys: Ae,
649
+ treeDefaultExpandedKeys: Re,
650
650
  onTreeExpand: $e,
651
651
  treeIcon: he,
652
652
  treeMotion: Ue,
653
653
  showTreeIcon: pe,
654
- switcherIcon: Y,
654
+ switcherIcon: G,
655
655
  treeLine: Se,
656
656
  treeNodeFilterProp: H,
657
657
  keyEntities: K
658
658
  };
659
- }, [B, ce, He, Re, xe, Ye, de, ke, Ae, $e, he, Ue, pe, Y, Se, H, K]);
659
+ }, [B, ce, He, Ae, xe, Ge, de, ke, Re, $e, he, Ue, pe, G, Se, H, K]);
660
660
  return /* @__PURE__ */ n.createElement(Ft.Provider, {
661
661
  value: gt
662
662
  }, /* @__PURE__ */ n.createElement(Wt.Provider, {
663
663
  value: Ct
664
- }, /* @__PURE__ */ n.createElement(Yt, Kt({
664
+ }, /* @__PURE__ */ n.createElement(Gt, Kt({
665
665
  ref: t
666
666
  }, ye, {
667
667
  // >>> MISC
668
668
  id: oe,
669
669
  prefixCls: a,
670
670
  mode: $ ? "multiple" : void 0,
671
- displayValues: Je,
671
+ displayValues: qe,
672
672
  onDisplayValuesChange: mt,
673
673
  searchValue: we,
674
674
  onSearch: Xe,
@@ -734,7 +734,7 @@ const $r = (e) => {
734
734
  ];
735
735
  };
736
736
  function Wr(e, t, r) {
737
- return Jt("TreeSelect", (l) => {
737
+ return qt("TreeSelect", (l) => {
738
738
  const a = Ht(l, {
739
739
  treePrefixCls: t
740
740
  });
@@ -756,29 +756,29 @@ const jr = (e, t) => {
756
756
  disabled: f,
757
757
  bordered: p = !0,
758
758
  style: _,
759
- className: V,
759
+ className: M,
760
760
  rootClassName: E,
761
761
  treeCheckable: D,
762
- multiple: P,
762
+ multiple: O,
763
763
  listHeight: I = 256,
764
764
  listItemHeight: H,
765
- placement: J,
766
- notFoundContent: Z,
765
+ placement: q,
766
+ notFoundContent: J,
767
767
  switcherIcon: ae,
768
- treeLine: R,
768
+ treeLine: A,
769
769
  getPopupContainer: T,
770
770
  popupClassName: Le,
771
771
  dropdownClassName: le,
772
772
  treeIcon: b = !1,
773
773
  transitionName: ue,
774
- choiceTransitionName: A = "",
774
+ choiceTransitionName: R = "",
775
775
  status: Ke,
776
776
  treeExpandAction: ce,
777
777
  builtinPlacements: He,
778
- dropdownMatchSelectWidth: Re,
778
+ dropdownMatchSelectWidth: Ae,
779
779
  popupMatchSelectWidth: de,
780
780
  allowClear: ke,
781
- variant: Ae,
781
+ variant: Re,
782
782
  dropdownStyle: $e,
783
783
  dropdownRender: We,
784
784
  popupRender: Fe,
@@ -794,11 +794,11 @@ const jr = (e, t) => {
794
794
  getPopupContainer: Se,
795
795
  getPrefixCls: he,
796
796
  renderEmpty: pe,
797
- direction: Y,
797
+ direction: G,
798
798
  virtual: Ue,
799
799
  popupMatchSelectWidth: ee,
800
800
  popupOverflow: De
801
- } = n.useContext(Zt), {
801
+ } = n.useContext(Jt), {
802
802
  styles: ye,
803
803
  classNames: oe,
804
804
  switcherIcon: me
@@ -815,21 +815,21 @@ const jr = (e, t) => {
815
815
  bordered: "variant"
816
816
  }).forEach(([h, g]) => {
817
817
  c.deprecated(!(h in e), h, g);
818
- }), process.env.NODE_ENV !== "production" && c(P !== !1 || !D, "usage", "`multiple` will always be `true` when `treeCheckable` is true"), process.env.NODE_ENV !== "production" && c(!("showArrow" in e), "deprecated", "`showArrow` is deprecated which will be removed in next major version. It will be a default behavior, you can hide it by setting `suffixIcon` to null.");
818
+ }), process.env.NODE_ENV !== "production" && c(O !== !1 || !D, "usage", "`multiple` will always be `true` when `treeCheckable` is true"), process.env.NODE_ENV !== "production" && c(!("showArrow" in e), "deprecated", "`showArrow` is deprecated which will be removed in next major version. It will be a default behavior, you can hide it by setting `suffixIcon` to null.");
819
819
  }
820
- const $ = he(), M = he("select", i), be = he("select-tree", i), L = he("tree-select", i), {
820
+ const $ = he(), V = he("select", i), be = he("select-tree", i), L = he("tree-select", i), {
821
821
  compactSize: tt,
822
822
  compactItemClassnames: te
823
- } = rr(M, Y), w = Tt(M), Oe = Tt(L), [Be, we, ge] = nr(M, w), [Xe] = Wr(L, be, Oe), [z, qe] = ar("treeSelect", Ae, p), K = Ot(((r = j == null ? void 0 : j.popup) === null || r === void 0 ? void 0 : r.root) || ((l = oe == null ? void 0 : oe.popup) === null || l === void 0 ? void 0 : l.root) || Le || le, `${L}-dropdown`, {
824
- [`${L}-dropdown-rtl`]: Y === "rtl"
825
- }, E, oe.root, j == null ? void 0 : j.root, ge, w, Oe, we), O = ((a = F == null ? void 0 : F.popup) === null || a === void 0 ? void 0 : a.root) || ((s = ye == null ? void 0 : ye.popup) === null || s === void 0 ? void 0 : s.root) || $e, m = lr(Fe || We), v = _e || je, x = !!(D || P), C = n.useMemo(() => {
823
+ } = rr(V, G), w = Tt(V), Pe = Tt(L), [Be, we, ge] = nr(V, w), [Xe] = Wr(L, be, Pe), [z, Ye] = ar("treeSelect", Re, p), K = Pt(((r = j == null ? void 0 : j.popup) === null || r === void 0 ? void 0 : r.root) || ((l = oe == null ? void 0 : oe.popup) === null || l === void 0 ? void 0 : l.root) || Le || le, `${L}-dropdown`, {
824
+ [`${L}-dropdown-rtl`]: G === "rtl"
825
+ }, E, oe.root, j == null ? void 0 : j.root, ge, w, Pe, we), P = ((a = F == null ? void 0 : F.popup) === null || a === void 0 ? void 0 : a.root) || ((s = ye == null ? void 0 : ye.popup) === null || s === void 0 ? void 0 : s.root) || $e, m = lr(Fe || We), v = _e || je, x = !!(D || O), C = n.useMemo(() => {
826
826
  if (!(Ce && (fe === "SHOW_ALL" && !Q || fe === "SHOW_PARENT")))
827
827
  return Ce;
828
- }, [Ce, fe, Q]), N = or(e.suffixIcon, e.showArrow), U = (o = de ?? Re) !== null && o !== void 0 ? o : ee, {
828
+ }, [Ce, fe, Q]), N = or(e.suffixIcon, e.showArrow), U = (o = de ?? Ae) !== null && o !== void 0 ? o : ee, {
829
829
  status: W,
830
- hasFeedback: Pe,
830
+ hasFeedback: Oe,
831
831
  isFormItemInput: ie,
832
- feedbackIcon: Ge
832
+ feedbackIcon: Ze
833
833
  } = n.useContext(ir), it = pr(W, Ke), {
834
834
  suffixIcon: ft,
835
835
  removeIcon: st,
@@ -837,65 +837,65 @@ const jr = (e, t) => {
837
837
  } = sr(Object.assign(Object.assign({}, ve), {
838
838
  multiple: x,
839
839
  showSuffixIcon: N,
840
- hasFeedback: Pe,
841
- feedbackIcon: Ge,
842
- prefixCls: M,
840
+ hasFeedback: Oe,
841
+ feedbackIcon: Ze,
842
+ prefixCls: V,
843
843
  componentName: "TreeSelect"
844
- })), Ye = ke === !0 ? {
844
+ })), Ge = ke === !0 ? {
845
845
  clearIcon: xe
846
846
  } : ke;
847
847
  let rt;
848
- Z !== void 0 ? rt = Z : rt = (pe == null ? void 0 : pe("Select")) || /* @__PURE__ */ n.createElement(ur, {
848
+ J !== void 0 ? rt = J : rt = (pe == null ? void 0 : pe("Select")) || /* @__PURE__ */ n.createElement(ur, {
849
849
  componentName: "Select"
850
850
  });
851
- const vt = Rt(ve, ["suffixIcon", "removeIcon", "clearIcon", "itemIcon", "switcherIcon", "style"]), ht = n.useMemo(() => J !== void 0 ? J : Y === "rtl" ? "bottomRight" : "bottomLeft", [J, Y]), Je = cr((c) => {
851
+ const vt = At(ve, ["suffixIcon", "removeIcon", "clearIcon", "itemIcon", "switcherIcon", "style"]), ht = n.useMemo(() => q !== void 0 ? q : G === "rtl" ? "bottomRight" : "bottomLeft", [q, G]), qe = cr((c) => {
852
852
  var d;
853
853
  return (d = u ?? tt) !== null && d !== void 0 ? d : c;
854
- }), ut = n.useContext(dr), Ze = f ?? ut, nt = Ot(!i && L, {
855
- [`${M}-lg`]: Je === "large",
856
- [`${M}-sm`]: Je === "small",
857
- [`${M}-rtl`]: Y === "rtl",
858
- [`${M}-${z}`]: qe,
859
- [`${M}-in-form-item`]: ie
860
- }, fr(M, it, Pe), te, V, E, oe.root, j == null ? void 0 : j.root, ge, w, Oe, we), pt = ae ?? me, mt = (c) => /* @__PURE__ */ n.createElement(wr, {
854
+ }), ut = n.useContext(dr), Je = f ?? ut, nt = Pt(!i && L, {
855
+ [`${V}-lg`]: qe === "large",
856
+ [`${V}-sm`]: qe === "small",
857
+ [`${V}-rtl`]: G === "rtl",
858
+ [`${V}-${z}`]: Ye,
859
+ [`${V}-in-form-item`]: ie
860
+ }, fr(V, it, Oe), te, M, E, oe.root, j == null ? void 0 : j.root, ge, w, Pe, we), pt = ae ?? me, mt = (c) => /* @__PURE__ */ n.createElement(wr, {
861
861
  prefixCls: be,
862
862
  switcherIcon: pt,
863
863
  treeNodeProps: c,
864
- showLine: R
865
- }), [gt] = vr("SelectLike", O == null ? void 0 : O.zIndex), Ct = /* @__PURE__ */ n.createElement(ot, Object.assign({
864
+ showLine: A
865
+ }), [gt] = vr("SelectLike", P == null ? void 0 : P.zIndex), Ct = /* @__PURE__ */ n.createElement(ot, Object.assign({
866
866
  virtual: Ue,
867
- disabled: Ze
867
+ disabled: Je
868
868
  }, vt, {
869
869
  dropdownMatchSelectWidth: U,
870
870
  builtinPlacements: hr(He, De),
871
871
  ref: t,
872
- prefixCls: M,
872
+ prefixCls: V,
873
873
  className: nt,
874
874
  style: Object.assign(Object.assign({}, F == null ? void 0 : F.root), _),
875
875
  listHeight: I,
876
876
  listItemHeight: Te,
877
877
  treeCheckable: D && /* @__PURE__ */ n.createElement("span", {
878
- className: `${M}-tree-checkbox-inner`
878
+ className: `${V}-tree-checkbox-inner`
879
879
  }),
880
- treeLine: !!R,
880
+ treeLine: !!A,
881
881
  suffixIcon: ft,
882
882
  multiple: x,
883
883
  placement: ht,
884
884
  removeIcon: st,
885
- allowClear: Ye,
885
+ allowClear: Ge,
886
886
  switcherIcon: mt,
887
887
  showTreeIcon: b,
888
888
  notFoundContent: rt,
889
889
  getPopupContainer: T || Se,
890
890
  treeMotion: null,
891
891
  dropdownClassName: K,
892
- dropdownStyle: Object.assign(Object.assign({}, O), {
892
+ dropdownStyle: Object.assign(Object.assign({}, P), {
893
893
  zIndex: gt
894
894
  }),
895
895
  dropdownRender: m,
896
896
  onDropdownVisibleChange: v,
897
- choiceTransitionName: Pt($, "", A),
898
- transitionName: Pt($, "slide-up", ue),
897
+ choiceTransitionName: Ot($, "", R),
898
+ transitionName: Ot($, "slide-up", ue),
899
899
  treeExpandAction: ce,
900
900
  tagRender: x ? ze : void 0,
901
901
  maxCount: C,
@@ -903,13 +903,13 @@ const jr = (e, t) => {
903
903
  treeCheckStrictly: Q
904
904
  }));
905
905
  return Be(Xe(Ct));
906
- }, zr = /* @__PURE__ */ n.forwardRef(jr), Me = zr, Ur = mr(Me, "dropdownAlign", (e) => Rt(e, ["visible"]));
907
- Me.TreeNode = Nt;
908
- Me.SHOW_ALL = Et;
909
- Me.SHOW_PARENT = It;
910
- Me.SHOW_CHILD = dt;
911
- Me._InternalPanelDoNotUseOrYouWillBeFired = Ur;
912
- process.env.NODE_ENV !== "production" && (Me.displayName = "TreeSelect");
906
+ }, zr = /* @__PURE__ */ n.forwardRef(jr), Ve = zr, Ur = mr(Ve, "dropdownAlign", (e) => At(e, ["visible"]));
907
+ Ve.TreeNode = Nt;
908
+ Ve.SHOW_ALL = Et;
909
+ Ve.SHOW_PARENT = It;
910
+ Ve.SHOW_CHILD = dt;
911
+ Ve._InternalPanelDoNotUseOrYouWillBeFired = Ur;
912
+ process.env.NODE_ENV !== "production" && (Ve.displayName = "TreeSelect");
913
913
  export {
914
- Me as T
914
+ Ve as T
915
915
  };