@yuku123/z-cognition-component 2.0.4 → 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-rxw05EpT.js → BaseInput-BYGhTvYI.js} +16 -16
  2. package/dist-lib/{ClockCircleOutlined-DqK04lTb.js → ClockCircleOutlined-DACEazDR.js} +2 -2
  3. package/dist-lib/{Collapse-D9XOithE.js → Collapse-CZbXdmBX.js} +98 -98
  4. package/dist-lib/{DeleteOutlined-DnGmqa7C.js → DeleteOutlined-CtmAIIV3.js} +4 -4
  5. package/dist-lib/{EllipsisOutlined-VzQrhleP.js → EllipsisOutlined-pgnttbec.js} +73 -73
  6. package/dist-lib/{EyeOutlined-CIFgRd6d.js → EyeOutlined-WKo_SfEi.js} +4 -4
  7. package/dist-lib/{LeftOutlined-Be44-JWT.js → LeftOutlined-B79bB1ZG.js} +1 -1
  8. package/dist-lib/{Pagination-BuFXTevS.js → Pagination-CFhUxTf8.js} +32 -32
  9. package/dist-lib/{RotateRightOutlined-CYlCNRvD.js → RotateRightOutlined-TrlUrEUZ.js} +1 -1
  10. package/dist-lib/{Table-D1RvQXGM.js → Table-BF9fhMoT.js} +120 -120
  11. package/dist-lib/{accessAk-DlxcvD0O.js → accessAk-BKnWRdnG.js} +1 -1
  12. package/dist-lib/{agents-CabJdV6W.js → agents-B5wsLzS-.js} +6 -6
  13. package/dist-lib/{ai-DZ6fqUyK.js → ai-CccmxFWN.js} +1 -1
  14. package/dist-lib/{ai-chat-share-CYSU7UlK.js → ai-chat-share-BjZFvUph.js} +4 -4
  15. package/dist-lib/{ak-manage-MTp2UyyK.js → ak-manage-DD_F6560.js} +12 -12
  16. package/dist-lib/{approval-F9OYS1Ov.js → approval-a4d4zlUd.js} +3 -3
  17. package/dist-lib/{approvals-DDEl02-L.js → approvals-DnwdMEU5.js} +2 -2
  18. package/dist-lib/{assistant-CcC1rvys.js → assistant-BA6oeNSC.js} +5 -5
  19. package/dist-lib/{assistant-history-fmy8IsJL.js → assistant-history-Dfykk2a4.js} +5 -5
  20. package/dist-lib/{assistant-summary-kuK5-mku.js → assistant-summary-BkmSqskU.js} +1 -1
  21. package/dist-lib/{audit-C0GYByqU.js → audit-ZZhtw95x.js} +1 -1
  22. package/dist-lib/{bios-_axkM_DR.js → bios-CSjjJ5Bc.js} +11 -11
  23. package/dist-lib/{callSuper-CuPJalb0.js → callSuper-Bk-mj4By.js} +1 -1
  24. package/dist-lib/{category-BPLw60Ia.js → category-9CorlqP4.js} +1 -1
  25. package/dist-lib/{causal-CcWolsb5.js → causal-CYR-CTQK.js} +5 -5
  26. package/dist-lib/{changelog-BQdmpq5H.js → changelog-BcZ6KQ3C.js} +2 -2
  27. package/dist-lib/{changelog-DC6nlUDh.js → changelog-Bqm52V9T.js} +1 -1
  28. package/dist-lib/{chat-panel-CgpP4Xf5.js → chat-panel-Ctr_CdZu.js} +3 -3
  29. package/dist-lib/{code-space-CZ3CzVcA.js → code-space-DG83npvh.js} +9 -9
  30. package/dist-lib/{colors-BsFEfaVs.js → colors-DJzrNkCt.js} +1 -1
  31. package/dist-lib/{community-ESJc4qtl.js → community-CXEbdg7X.js} +1 -1
  32. package/dist-lib/{community-D9mD_Tq1.js → community-Cmx4qRHG.js} +3 -3
  33. package/dist-lib/{community-material-page-Ct5uMwhv.js → community-material-page-jguoD9kV.js} +7 -7
  34. package/dist-lib/{connections-DrxmCfe3.js → connections-DJAsz2Hb.js} +6 -6
  35. package/dist-lib/{createForOfIteratorHelper-3K1vcDqi.js → createForOfIteratorHelper-BArIG0W5.js} +1 -1
  36. package/dist-lib/{detail-kPAVlzm3.js → detail-BWBtDkWH.js} +4 -4
  37. package/dist-lib/{detail-DXOJf57e.js → detail-CLqCbf3i.js} +2 -2
  38. package/dist-lib/{detail-lGslEB8s.js → detail-DKLwIzyI.js} +14 -14
  39. package/dist-lib/{development-aLXXcLcF.js → development-DG37KZEV.js} +9 -9
  40. package/dist-lib/{downloads-DFOEFvX6.js → downloads-Cg8PCqDp.js} +1 -1
  41. package/dist-lib/{edit-BbtVK23D.js → edit-Cfv83zho.js} +77 -77
  42. package/dist-lib/{editor-DbLQFOUf.js → editor-BriqrlTB.js} +5 -5
  43. package/dist-lib/{editor-page-B_H0fRAI.js → editor-page-p2TQlJtq.js} +13 -13
  44. package/dist-lib/{embed-BUaR8PAn.js → embed-CoEyJMJx.js} +2235 -2219
  45. package/dist-lib/embed.css +1 -1
  46. package/dist-lib/{evaluation-8Tx-3UQh.js → evaluation-C6CAwoWp.js} +2 -2
  47. package/dist-lib/{execution-Dz5dBEFl.js → execution-BMkglxKG.js} +9 -9
  48. package/dist-lib/{graph-DacHEbKr.js → graph-DkaHV2AX.js} +5 -5
  49. package/dist-lib/{index-CS6H40rM.js → index-B21fkm-c.js} +21 -21
  50. package/dist-lib/{index-jHh-ITBK.js → index-B2Hx9Q2V.js} +40 -40
  51. package/dist-lib/{index-Ddx6XQu5.js → index-BMVRmc79.js} +2 -2
  52. package/dist-lib/{index-QkktEus5.js → index-BQnPPCKW.js} +9 -9
  53. package/dist-lib/{index-CjFA5T3K.js → index-BRyPjc2E.js} +1 -1
  54. package/dist-lib/{index-Bt9F-2Fl.js → index-BeejupFS.js} +64 -64
  55. package/dist-lib/{index-DTgboCiF.js → index-BelOhXK9.js} +10 -10
  56. package/dist-lib/{index-BWmgE7bB.js → index-Bqkx1OMz.js} +50 -50
  57. package/dist-lib/{index-CSoMwNHq.js → index-Bqpk0cSp.js} +54 -54
  58. package/dist-lib/{index-B6G8CZ1v.js → index-BqvwZwaa.js} +109 -109
  59. package/dist-lib/{index-keRQ37lH.js → index-BwkQzFNo.js} +4 -4
  60. package/dist-lib/{index-BU2GXuww.js → index-By7lJ7OM.js} +2 -2
  61. package/dist-lib/{index-IB3GOib9.js → index-C0bjp6yU.js} +23 -23
  62. package/dist-lib/{index-yPMzsLHL.js → index-C8VIE0cr.js} +4 -4
  63. package/dist-lib/{index-Di2bQwQn.js → index-CAk-RbBL.js} +2 -2
  64. package/dist-lib/{index-D23tZfhi.js → index-CFMm6EBU.js} +1 -1
  65. package/dist-lib/{index-DR9LGJpi.js → index-CkrD_v5E.js} +14 -14
  66. package/dist-lib/{index-DlqhOJnd.js → index-Ct0MiSE7.js} +79 -79
  67. package/dist-lib/{index-BDWjubAD.js → index-D1vltZIy.js} +58 -58
  68. package/dist-lib/{index-BMv3kGDG.js → index-DQ1YCU_6.js} +31 -31
  69. package/dist-lib/{index-GQGXGr9M.js → index-DQL0rlRD.js} +1 -1
  70. package/dist-lib/{index-BOB3j3H_.js → index-Dfpj76EP.js} +1 -1
  71. package/dist-lib/{index-BI-rknta.js → index-DljgNXFS.js} +29 -29
  72. package/dist-lib/{index-CdNxm2We.js → index-DrC19OH2.js} +14 -14
  73. package/dist-lib/{index-Be_iqVpx.js → index-DvdRKgvN.js} +68 -68
  74. package/dist-lib/{index-Bi7O9pQv.js → index-EoyTsMVR.js} +182 -182
  75. package/dist-lib/{index-fVCVIu8I.js → index-MN71_qSy.js} +2 -2
  76. package/dist-lib/{index-Bf8IQq4A.js → index-MrasjwT1.js} +18 -18
  77. package/dist-lib/{index-Pcxp_AYe.js → index-TVyOVj_f.js} +75 -75
  78. package/dist-lib/{index-BtW_nQBU.js → index-cWJDD_7e.js} +2 -2
  79. package/dist-lib/{index-BLGPH51v.js → index-fSzyAUm4.js} +10 -10
  80. package/dist-lib/{index-n6hK1r_G.js → index-gSQpnDVD.js} +3 -3
  81. package/dist-lib/{index-D7nLwQye.js → index-jfZsBNfr.js} +274 -274
  82. package/dist-lib/{index-qYfXuLnZ.js → index-lpiHPbbx.js} +2 -2
  83. package/dist-lib/{index-BuGHtvxH.js → index-ly9q05gX.js} +8 -8
  84. package/dist-lib/{index-CDxeB8C4.js → index-mANVYpNc.js} +16 -16
  85. package/dist-lib/{index-CNBwau86.js → index-o4EXX17N.js} +73 -73
  86. package/dist-lib/index.js +1 -1
  87. package/dist-lib/{json-field-Bu-gFb6c.js → json-field-BqyYVncd.js} +2 -2
  88. package/dist-lib/{kb-form-modal-DsXpXfNT.js → kb-form-modal-B9_s7HKJ.js} +2 -2
  89. package/dist-lib/{kbTeam-D8hsAHI5.js → kbTeam-D_xeQOnk.js} +1 -1
  90. package/dist-lib/{knowledge-base-D2XMD7iI.js → knowledge-base-BIlYHNX_.js} +6 -6
  91. package/dist-lib/{knowledge-hub-BoBR8-j-.js → knowledge-hub-DS9jz2ml.js} +4 -4
  92. package/dist-lib/{login-B4C374Y_.js → login-81vYOi7C.js} +6 -6
  93. package/dist-lib/{markdown-lite-ROKlyMXg.js → markdown-lite-C0TxiY46.js} +35 -35
  94. package/dist-lib/{material-CqtPqoZj.js → material-0d6ENLyU.js} +1 -1
  95. package/dist-lib/{material-draft-markdown-BKlKt3pc.js → material-draft-markdown-BqqPZtbw.js} +2 -2
  96. package/dist-lib/{material-original-preview-pzANkVK5.js → material-original-preview-BDeVDdfb.js} +5 -5
  97. package/dist-lib/{material-workspace-model-BUpogooV.js → material-workspace-model-DPaWrRpo.js} +1 -1
  98. package/dist-lib/{member-CCTFfLDC.js → member-Dc8Fi9Yt.js} +1 -1
  99. package/dist-lib/memory-reorganization-DN4oUE9r.js +1007 -0
  100. package/dist-lib/{memory-spaces-CZGIBlz2.js → memory-spaces-BJp4AIUb.js} +19 -19
  101. package/dist-lib/{message-Rz7LvGMk.js → message-C6yBkCNm.js} +1 -1
  102. package/dist-lib/{message-Chq3cAdy.js → message-DPeo_cTR.js} +3 -3
  103. package/dist-lib/{messages-DciGawgR.js → messages-DdfLmuQI.js} +2 -2
  104. package/dist-lib/{meta-BWgVxZgd.js → meta-CBLO5qXw.js} +2 -2
  105. package/dist-lib/{metrics-iWreq4IL.js → metrics-7ptCjiKn.js} +2 -2
  106. package/dist-lib/{mobile-CNrK04Ak.js → mobile-DC0hcQji.js} +2 -2
  107. package/dist-lib/{monitor-BpUJZCht.js → monitor-DX1u-yHi.js} +3 -3
  108. package/dist-lib/{monitor-CaTKbDI1.js → monitor-DoWMKmYn.js} +3 -3
  109. package/dist-lib/{my-access-ZH5CWVGF.js → my-access-64Rn1HXY.js} +3 -3
  110. package/dist-lib/{my-permissions-edhi0lav.js → my-permissions-DKjDBIjY.js} +4 -4
  111. package/dist-lib/{navigation-2WdPUP2T.js → navigation-B_vBrx_f.js} +1 -1
  112. package/dist-lib/{new-Dq6mvU2w.js → new-D3Q8_hzT.js} +5 -5
  113. package/dist-lib/{ontology-BX6X1X2J.js → ontology-Ct7a7W50.js} +5 -5
  114. package/dist-lib/{ontology-dataprep-BjMnFRBG.js → ontology-dataprep-DhZWKCnw.js} +1 -1
  115. package/dist-lib/{ontology-domains-B7AuwW8S.js → ontology-domains-BG6ZPWXm.js} +57 -57
  116. package/dist-lib/{ontology-extract-wbvBwGZO.js → ontology-extract-53pAcKaP.js} +22 -22
  117. package/dist-lib/{ontology-extract-FpJ6K8z6.js → ontology-extract-D9RViy3r.js} +1 -1
  118. package/dist-lib/{ontology-flow-Cgi8Fk-i.js → ontology-flow-Dx_5Dv1S.js} +3 -3
  119. package/dist-lib/{ontology-flow-CJsIvS35.js → ontology-flow-cbGY8kOV.js} +6 -6
  120. package/dist-lib/{ontology-modeling-CeDS1-FE.js → ontology-modeling-9beSFK8t.js} +2 -2
  121. package/dist-lib/{ontology-modeling-C_6GvHBT.js → ontology-modeling-BkFq7sU1.js} +33 -33
  122. package/dist-lib/{ontology-scenarios-4Ar7Y8Kt.js → ontology-scenarios-ANZMjyMB.js} +11 -11
  123. package/dist-lib/{ontology-scenarios-BaYN82pv.js → ontology-scenarios-BC1UBvtT.js} +85 -85
  124. package/dist-lib/{ontology-task-config-CDt7NdIq.js → ontology-task-config-dDFRrWtJ.js} +1 -1
  125. package/dist-lib/{ontology-terms-CxTp2Dcq.js → ontology-terms-B9H9VcuR.js} +18 -18
  126. package/dist-lib/{ontology-terms-CnFarWZX.js → ontology-terms-BcXCuUsy.js} +1 -1
  127. package/dist-lib/{permission-CNqwhyF3.js → permission-pETAJZl6.js} +2 -2
  128. package/dist-lib/{preset-CfByvcqu.js → preset-5F2VcdUE.js} +3 -3
  129. package/dist-lib/{progress-ImhDvynO.js → progress-COKT887h.js} +31 -31
  130. package/dist-lib/{quota-B38BWyPo.js → quota-BzWY9oeV.js} +2 -2
  131. package/dist-lib/{row-DeVE0t_N.js → row-BFBgIphS.js} +2 -2
  132. package/dist-lib/{runs-ILSUwEOv.js → runs-7LWS6iAN.js} +6 -6
  133. package/dist-lib/{save-blob-C5BbV45B.js → save-blob-D_q2LunT.js} +2 -2
  134. package/dist-lib/{scenario-mapping-preview-7v1SRE7V.js → scenario-mapping-preview-CDg3_f0U.js} +17 -17
  135. package/dist-lib/{scenario-simple-form-mFm6f2ho.js → scenario-simple-form--KSAzRS6.js} +9 -9
  136. package/dist-lib/{schedule-DzB9rZrm.js → schedule-BDrhhUsA.js} +2 -2
  137. package/dist-lib/{script-CKdVDsYh.js → script-CtLQ-RSy.js} +14 -14
  138. package/dist-lib/{settings-CaihqQtz.js → settings--NTE0Hux.js} +8 -8
  139. package/dist-lib/{shared-B51Q5536.js → shared-BJA7rkgy.js} +1 -1
  140. package/dist-lib/{shared-utils-Ck5sql2m.js → shared-utils-E5RBBDWx.js} +2 -2
  141. package/dist-lib/{skills-By3A0Dc1.js → skills-IziqBZOm.js} +5 -5
  142. package/dist-lib/{source-selection-sIKyG7xR.js → source-selection-WsUOEBKN.js} +1 -1
  143. package/dist-lib/{sources-DvIMColY.js → sources-D7ViKZtA.js} +12 -12
  144. package/dist-lib/{style-BHQZmWlH.js → style-B7phAB4-.js} +4 -4
  145. package/dist-lib/{task-config-CoPFj_FN.js → task-config-BhVD-uNg.js} +3 -3
  146. package/dist-lib/{tech-BJgEEFrT.js → tech-C2bOwBWk.js} +1 -1
  147. package/dist-lib/{templates-CODaf2QI.js → templates-Bh3ryZxt.js} +6 -6
  148. package/dist-lib/{tenant-login-DmN4qfah.js → tenant-login-D3193dIQ.js} +24 -24
  149. package/dist-lib/{tools-CyRz1Ofg.js → tools-DCLdtvbE.js} +56 -56
  150. package/dist-lib/{use-current-tenant-otPCQ3X8.js → use-current-tenant-KGbU5HpT.js} +1 -1
  151. package/dist-lib/{use-domain-access-BuD99GTw.js → use-domain-access-CcPd_gzX.js} +1 -1
  152. package/dist-lib/{use-g6-graph-C5h9frJM.js → use-g6-graph-CPKL_pXo.js} +1 -1
  153. package/dist-lib/{use-graph-layers-Cbd3Jggb.js → use-graph-layers-Bi90s60B.js} +9 -9
  154. package/dist-lib/{useBreakpoint-B8dF3ifo.js → useBreakpoint-SG_cMfLJ.js} +6 -6
  155. package/dist-lib/{useForm-BZkiMeaN.js → useForm-Cp45oXOc.js} +13 -13
  156. package/dist-lib/{version-control-panel-HdMlbpbO.js → version-control-panel-Db_RP6gX.js} +1 -1
  157. package/dist-lib/{version-management-BYoxw4GV.js → version-management-DuCdU_fJ.js} +2 -2
  158. package/dist-lib/{welcome-CMNXQf8J.js → welcome-DLcdZGtl.js} +1 -1
  159. package/package.json +1 -1
  160. package/dist-lib/memory-reorganization-CBTDCRhV.js +0 -8
@@ -1,8 +1,8 @@
1
1
  import * as n from "react";
2
- import { bf as Y, ag as Ie, by as G, aS as Ut, bg as Lt, bj as Bt, be as xt, cZ as Xt, bx as kt, bh as ne, bp as Gt, bG as et, a$ as Kt, c_ as Yt, bi as _t, c$ as qt, a6 as Jt, a7 as Ht, ao as Dt, a8 as Zt, aq as Qt, bM as er, ap as tr, bk as rr, aF as Tt, d0 as nr, bl as ar, a5 as Pt, d1 as lr, d2 as or, aT as ir, cV as sr, bN as ur, a9 as Rt, aJ as cr, aI as dr, bm as fr, cn as vr, ce as Ot, d3 as hr, bo as pr, cv as mr } from "./embed-BUaR8PAn.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-Bi7O9pQv.js";
4
- import { _ as xr } from "./createForOfIteratorHelper-3K1vcDqi.js";
5
- import { g as Nr } from "./index-CjFA5T3K.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), Y(Y({}, s), {}, {
13
+ return l.set(o, u), Z(Z({}, s), {}, {
14
14
  label: u
15
15
  });
16
16
  });
@@ -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 Y(Y({}, 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
- G(!bt(o), "TreeNode `value` is invalidate: undefined"), G(!s.valueEntities.has(o), "Same `value` exist in the tree: ".concat(o)), G(!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 = Y({
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,10 +96,10 @@ function $t(e) {
96
96
  function wt(e) {
97
97
  if (!e)
98
98
  return e;
99
- var t = Y({}, e);
99
+ var t = Z({}, e);
100
100
  return "props" in t || Object.defineProperty(t, "props", {
101
101
  get: function() {
102
- return G(!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
  }
@@ -109,14 +109,14 @@ function Pr(e, t, r, l, a, s) {
109
109
  function f(p) {
110
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 O = "".concat(_, "-").concat(D), I = E[s.value], H = r.includes(I), J = f(E[s.children] || [], O, 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
117
  pos: O,
118
- node: Z,
119
- children: J
118
+ node: J,
119
+ children: q
120
120
  };
121
121
  return M || i.push(ae), ae;
122
122
  }
@@ -132,11 +132,11 @@ function Pr(e, t, r, l, a, s) {
132
132
  }
133
133
  Object.defineProperty(e, "triggerNode", {
134
134
  get: function() {
135
- return G(!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 G(!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
  });
@@ -154,7 +154,7 @@ var Or = function(t, r, l) {
154
154
  var M = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
155
155
  return _.reduce(function(E, D) {
156
156
  var O = D[i], I = M || u(r, wt(D)), H = p(O || [], I);
157
- return (I || H.length) && E.push(Y(Y({}, D), {}, Bt({
157
+ return (I || H.length) && E.push(Z(Z({}, D), {}, Bt({
158
158
  isLeaf: void 0
159
159
  }, i, H))), E;
160
160
  }, []);
@@ -173,7 +173,7 @@ function Mt(e) {
173
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 = Y(Y({}, i), {}, {
176
+ var u = i[r], f = Z(Z({}, i), {}, {
177
177
  key: i.key || u
178
178
  });
179
179
  s.set(u, f);
@@ -186,7 +186,7 @@ function Vr(e, t, r) {
186
186
  return n.useMemo(function() {
187
187
  if (e) {
188
188
  if (r) {
189
- var l = Y({
189
+ var l = Z({
190
190
  id: "id",
191
191
  pId: "pId",
192
192
  rootPId: null
@@ -208,7 +208,7 @@ 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, M = p.listHeight, E = p.listItemHeight, D = p.listItemScrollOffset, O = 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
213
  return O;
214
214
  },
@@ -219,15 +219,15 @@ var Wt = /* @__PURE__ */ n.createContext(null), Ft = /* @__PURE__ */ n.createCon
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,11 +236,11 @@ 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), q = 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 : q;
243
- }, [q, 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;
@@ -262,16 +262,16 @@ 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 = Gt(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;
274
+ return R.includes(v) || T === null ? !1 : T <= 0 ? !0 : Le && T ? te(m) : !1;
275
275
  }), Pe = function m(v) {
276
276
  var x = xr(v), C;
277
277
  try {
@@ -303,7 +303,7 @@ var Wt = /* @__PURE__ */ n.createContext(null), Ft = /* @__PURE__ */ n.createCon
303
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) || {}, Oe = W.selectable, ie = W.value, Ye = W.disabled;
326
- Oe !== !1 && !Ye && !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,12 +341,12 @@ var Wt = /* @__PURE__ */ n.createContext(null), Ft = /* @__PURE__ */ n.createCon
341
341
  }
342
342
  };
343
343
  });
344
- var Ge = kt(function() {
344
+ var Ye = kt(function() {
345
345
  return !o;
346
- }, [o, ce || q], 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 = Ge ? je : null;
349
+ }), K = Ye ? je : null;
350
350
  if (F.length === 0)
351
351
  return /* @__PURE__ */ n.createElement("div", {
352
352
  role: "listbox",
@@ -373,10 +373,10 @@ var Wt = /* @__PURE__ */ n.createContext(null), Ft = /* @__PURE__ */ n.createCon
373
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,7 +385,7 @@ 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
391
  }, P, {
@@ -396,8 +396,8 @@ 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");
@@ -420,20 +420,20 @@ function Vt(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
- G(!t, "`searchPlaceholder` has been removed."), r && a === !1 && G(!1, "`treeCheckStrictly` will force set `labelInValue` to `true`."), (a || r) && G(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 ? G(!s || Array.isArray(s), "`value` should be an array when `TreeSelect` is checkable or multiple.") : G(!Array.isArray(s), "`value` should not be array when `TreeSelect` is single mode."), u && (i === "SHOW_ALL" && !r || i === "SHOW_PARENT") && G(!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, M = e.onSearch, E = e.autoClearSearchValue, D = E === void 0 ? !0 : E, O = 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, q = e.switcherIcon, Ue = e.treeMotion, ee = e.treeTitleRender, De = e.onPopupScroll, ye = Lt(e, Rr), oe = Yt(r), me = R && !T, B = R || T, Te = T || Le, $ = B || ae, V = _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
434
  }), be = ne(V, 2), L = be[0], tt = be[1], te = n.useMemo(function() {
435
- return R ? J || dt : Et;
436
- }, [J, R]);
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() {
@@ -449,7 +449,7 @@ var zt = /* @__PURE__ */ n.forwardRef(function(e, t) {
449
449
  }
450
450
  }), Be = ne(Pe, 2), we = Be[0], ge = Be[1], Xe = function(d) {
451
451
  ge(d), M == null || M(d);
452
- }, z = Vr(A, Ke, ue), Ge = Dr(z, w), K = Ge.keyEntities, P = Ge.valueEntities, m = n.useCallback(function(c) {
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
455
  P.has(g) ? h.push(g) : d.push(g);
@@ -463,18 +463,18 @@ var zt = /* @__PURE__ */ n.forwardRef(function(e, t) {
463
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
  });
@@ -505,11 +505,11 @@ var zt = /* @__PURE__ */ n.forwardRef(function(e, t) {
505
505
  return U.forEach(function(h) {
506
506
  h.halfChecked ? d.push(h) : c.push(h);
507
507
  }), [c, d];
508
- }, [U]), Oe = ne(W, 2), ie = Oe[0], Ye = Oe[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, Ye, me, K), st = ne(ft, 2), xe = st[0], qe = st[1], rt = n.useMemo(function() {
512
+ }, [ie]), ft = Ir(ie, Ze, me, K), st = ne(ft, 2), xe = st[0], Ge = st[1], rt = n.useMemo(function() {
513
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;
@@ -524,13 +524,13 @@ 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 Y(Y({}, 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 = Mt(function(c, d, h) {
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
534
  var g = Vt(c, te, K, w);
535
535
  if (!(ut && g.length > ut)) {
536
536
  var re = N(c);
@@ -545,7 +545,7 @@ 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 = Ye.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));
@@ -567,7 +567,7 @@ var zt = /* @__PURE__ */ n.forwardRef(function(e, t) {
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");
@@ -584,7 +584,7 @@ var zt = /* @__PURE__ */ n.forwardRef(function(e, t) {
584
584
  Qe = ct.checkedKeys;
585
585
  } else {
586
586
  var se = St(Me, {
587
- halfCheckedKeys: qe
587
+ halfCheckedKeys: Ge
588
588
  }, K);
589
589
  Qe = se.checkedKeys;
590
590
  }
@@ -592,18 +592,18 @@ 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, P, K, w, $, it, Ze, me, u, f, xe, qe, 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 G(!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
  }
@@ -612,7 +612,7 @@ var zt = /* @__PURE__ */ n.forwardRef(function(e, t) {
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,
635
+ leftMaxCount: le === void 0 ? null : le - qe.length,
636
+ leafCountOnly: te === "SHOW_CHILD" && !T && !!A,
637
637
  valueEntities: P
638
638
  };
639
- }, [Fe, ve, _e, Ce, Q, v, w, nt, We, ee, De, le, Je.length, te, T, R, P]), 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: qe,
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: q,
654
+ switcherIcon: G,
655
655
  treeLine: Se,
656
656
  treeNodeFilterProp: H,
657
657
  keyEntities: K
658
658
  };
659
- }, [B, ce, He, Re, xe, qe, de, ke, Ae, $e, he, Ue, pe, q, 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(qt, 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
  });
@@ -762,23 +762,23 @@ const jr = (e, t) => {
762
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: q,
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
@@ -820,16 +820,16 @@ const jr = (e, t) => {
820
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(V, q), w = Tt(V), Pe = Tt(L), [Be, we, ge] = nr(V, w), [Xe] = Wr(L, be, Pe), [z, Ge] = ar("treeSelect", Ae, 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`]: q === "rtl"
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
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
830
  hasFeedback: Oe,
831
831
  isFormItemInput: ie,
832
- feedbackIcon: Ye
832
+ feedbackIcon: Ze
833
833
  } = n.useContext(ir), it = pr(W, Ke), {
834
834
  suffixIcon: ft,
835
835
  removeIcon: st,
@@ -838,33 +838,33 @@ const jr = (e, t) => {
838
838
  multiple: x,
839
839
  showSuffixIcon: N,
840
840
  hasFeedback: Oe,
841
- feedbackIcon: Ye,
841
+ feedbackIcon: Ze,
842
842
  prefixCls: V,
843
843
  componentName: "TreeSelect"
844
- })), qe = 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 : q === "rtl" ? "bottomRight" : "bottomLeft", [J, q]), 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 = Pt(!i && L, {
855
- [`${V}-lg`]: Je === "large",
856
- [`${V}-sm`]: Je === "small",
857
- [`${V}-rtl`]: q === "rtl",
858
- [`${V}-${z}`]: Ge,
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
859
  [`${V}-in-form-item`]: ie
860
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
864
+ showLine: A
865
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),
@@ -877,12 +877,12 @@ const jr = (e, t) => {
877
877
  treeCheckable: D && /* @__PURE__ */ n.createElement("span", {
878
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: qe,
885
+ allowClear: Ge,
886
886
  switcherIcon: mt,
887
887
  showTreeIcon: b,
888
888
  notFoundContent: rt,
@@ -894,7 +894,7 @@ const jr = (e, t) => {
894
894
  }),
895
895
  dropdownRender: m,
896
896
  onDropdownVisibleChange: v,
897
- choiceTransitionName: Ot($, "", A),
897
+ choiceTransitionName: Ot($, "", R),
898
898
  transitionName: Ot($, "slide-up", ue),
899
899
  treeExpandAction: ce,
900
900
  tagRender: x ? ze : void 0,
@@ -903,7 +903,7 @@ const jr = (e, t) => {
903
903
  treeCheckStrictly: Q
904
904
  }));
905
905
  return Be(Xe(Ct));
906
- }, zr = /* @__PURE__ */ n.forwardRef(jr), Ve = zr, Ur = mr(Ve, "dropdownAlign", (e) => Rt(e, ["visible"]));
906
+ }, zr = /* @__PURE__ */ n.forwardRef(jr), Ve = zr, Ur = mr(Ve, "dropdownAlign", (e) => At(e, ["visible"]));
907
907
  Ve.TreeNode = Nt;
908
908
  Ve.SHOW_ALL = Et;
909
909
  Ve.SHOW_PARENT = It;
@@ -1,5 +1,5 @@
1
1
  import * as e from "react";
2
- import { a_ as C, a$ as A, a6 as W, a7 as j, ao as h, a8 as z, a5 as F, ap as $, av as S, aw as N, ay as x } from "./embed-BUaR8PAn.js";
2
+ import { b3 as C, b4 as A, a6 as W, a7 as j, ac as h, a8 as z, a5 as F, ah as $, aC as S, aD as N, aF as x } from "./embed-CoEyJMJx.js";
3
3
  var H = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" } }] }, name: "warning", theme: "filled" }, I = function(a, r) {
4
4
  return /* @__PURE__ */ e.createElement(C, A({}, a, {
5
5
  ref: r,
@@ -529,7 +529,7 @@ const R = () => /* @__PURE__ */ e.createElement("svg", {
529
529
  }
530
530
  }
531
531
  };
532
- }, w = (t) => {
532
+ }, b = (t) => {
533
533
  const {
534
534
  componentCls: a,
535
535
  iconCls: r
@@ -548,7 +548,7 @@ const R = () => /* @__PURE__ */ e.createElement("svg", {
548
548
  color: t.resultWarningIconColor
549
549
  }
550
550
  };
551
- }, _ = (t) => [V(t), w(t)], b = (t) => _(t), O = (t) => ({
551
+ }, w = (t) => [V(t), b(t)], _ = (t) => w(t), O = (t) => ({
552
552
  titleFontSize: t.fontSizeHeading3,
553
553
  subtitleFontSize: t.fontSize,
554
554
  iconFontSize: t.fontSizeHeading3 * 3,
@@ -562,7 +562,7 @@ const R = () => /* @__PURE__ */ e.createElement("svg", {
562
562
  imageWidth: 250,
563
563
  imageHeight: 295
564
564
  });
565
- return [b(l)];
565
+ return [_(l)];
566
566
  }, O), G = () => /* @__PURE__ */ e.createElement("svg", {
567
567
  width: "251",
568
568
  height: "294"