@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,26 +1,26 @@
1
1
  import { jsxs as c, jsx as e, Fragment as H } from "react/jsx-runtime";
2
2
  import fe, { useState as v, useCallback as V, useEffect as K, useRef as te, useMemo as ee } from "react";
3
- import { a5 as Oe, a6 as ot, a7 as lt, a8 as it, a9 as st, r as O, I as R, B as x, aa as se, j as ct, h as ce, S as ke, A as _e, ab as dt, u as mt, a as ut } from "./embed-BUaR8PAn.js";
3
+ import { a5 as Oe, a6 as ot, a7 as lt, a8 as it, a9 as st, r as O, I as R, B as x, aa as se, j as ct, h as ce, S as ke, A as _e, ab as dt, u as mt, a as ut } from "./embed-CoEyJMJx.js";
4
4
  import { u as pt } from "./use-split-width-SsLqbGjr.js";
5
- import { D as ht } from "./index-BWmgE7bB.js";
5
+ import { D as ht } from "./index-Bqkx1OMz.js";
6
6
  import { u as je } from "./use-resizable-columns-BpMCRKif.js";
7
- import { T as A } from "./index-DR9LGJpi.js";
8
- import { I as F } from "./index-CNBwau86.js";
9
- import { F as Be } from "./Table-D1RvQXGM.js";
10
- import { M as Fe } from "./index-Di2bQwQn.js";
11
- import { M as We } from "./index-yPMzsLHL.js";
12
- import { A as L } from "./index-IB3GOib9.js";
13
- import { F as z } from "./index-Bt9F-2Fl.js";
14
- import { D as me } from "./index-DlqhOJnd.js";
15
- import { T as yt } from "./index-Bi7O9pQv.js";
16
- import { S as bt } from "./index-BDWjubAD.js";
17
- import { D as ft } from "./index-CS6H40rM.js";
18
- import { T as Ge } from "./index-CDxeB8C4.js";
19
- import { i as Re, S as ne } from "./index-BLGPH51v.js";
20
- import { M as gt } from "./material-draft-markdown-BKlKt3pc.js";
21
- import { T as Y } from "./index-BI-rknta.js";
22
- import { L as ge } from "./index-DTgboCiF.js";
23
- import { S as vt } from "./index-jHh-ITBK.js";
7
+ import { T as A } from "./index-CkrD_v5E.js";
8
+ import { I as F } from "./index-o4EXX17N.js";
9
+ import { F as Be } from "./Table-BF9fhMoT.js";
10
+ import { M as Fe } from "./index-CAk-RbBL.js";
11
+ import { M as We } from "./index-C8VIE0cr.js";
12
+ import { A as L } from "./index-C0bjp6yU.js";
13
+ import { F as z } from "./index-BeejupFS.js";
14
+ import { D as me } from "./index-Ct0MiSE7.js";
15
+ import { T as yt } from "./index-EoyTsMVR.js";
16
+ import { S as bt } from "./index-D1vltZIy.js";
17
+ import { D as ft } from "./index-B21fkm-c.js";
18
+ import { T as Ge } from "./index-mANVYpNc.js";
19
+ import { i as Re, S as ne } from "./index-fSzyAUm4.js";
20
+ import { M as gt } from "./material-draft-markdown-BqqPZtbw.js";
21
+ import { T as Y } from "./index-DljgNXFS.js";
22
+ import { L as ge } from "./index-BelOhXK9.js";
23
+ import { S as vt } from "./index-B2Hx9Q2V.js";
24
24
  const Ve = ["wrap", "nowrap", "wrap-reverse"], He = ["flex-start", "flex-end", "start", "end", "center", "space-between", "space-around", "space-evenly", "stretch", "normal", "left", "right"], Ke = ["center", "start", "end", "flex-start", "flex-end", "self-start", "self-end", "baseline", "normal", "stretch"], kt = (t, n) => {
25
25
  const l = n.wrap === !0 ? "wrap" : n.wrap;
26
26
  return {
@@ -1,4 +1,4 @@
1
- import { r as a, K as t } from "./embed-BUaR8PAn.js";
1
+ import { r as a, K as t } from "./embed-CoEyJMJx.js";
2
2
  const s = "/kb/v1/message", n = () => ({ "X-Tenant-Code": t() });
3
3
  async function i(e) {
4
4
  return a(`${s}/page`, {
@@ -1,8 +1,8 @@
1
1
  import { jsxs as n, jsx as t, Fragment as S } from "react/jsx-runtime";
2
2
  import { useState as o, useEffect as w, useMemo as $ } from "react";
3
- import { u as G, a as F, I as d, n as U, t as _ } from "./embed-BUaR8PAn.js";
4
- import { T as j } from "./index-fVCVIu8I.js";
5
- import { g as H, p as X, m as x } from "./message-Rz7LvGMk.js";
3
+ import { u as G, a as F, I as d, n as U, t as _ } from "./embed-CoEyJMJx.js";
4
+ import { T as j } from "./index-MN71_qSy.js";
5
+ import { g as H, p as X, m as x } from "./message-C6yBkCNm.js";
6
6
  import { a as J } from "./format-CWI99NCN.js";
7
7
  const W = "brain:message-changed";
8
8
  function V() {
@@ -1,7 +1,7 @@
1
1
  import { jsx as e, jsxs as t, Fragment as D } from "react/jsx-runtime";
2
- import { e as J, I as p, a as Z, j as q, t as S, k as X } from "./embed-BUaR8PAn.js";
2
+ import { e as J, I as p, a as Z, j as q, t as S, k as X } from "./embed-CoEyJMJx.js";
3
3
  import { useState as r, useEffect as Y, useMemo as Q, useCallback as W } from "react";
4
- import { l as ee, s as le, r as te, a as ae } from "./message-Rz7LvGMk.js";
4
+ import { l as ee, s as le, r as te, a as ae } from "./message-C6yBkCNm.js";
5
5
  import { f as $ } from "./format-CWI99NCN.js";
6
6
  /* empty css */
7
7
  const ne = [
@@ -1,7 +1,7 @@
1
1
  import { jsxs as a, jsx as e, Fragment as re } from "react/jsx-runtime";
2
2
  import { useState as p, useRef as oe, useEffect as j, useMemo as K } from "react";
3
- import { r as Z, I as N } from "./embed-BUaR8PAn.js";
4
- import { T as Ne } from "./index-fVCVIu8I.js";
3
+ import { r as Z, I as N } from "./embed-CoEyJMJx.js";
4
+ import { T as Ne } from "./index-MN71_qSy.js";
5
5
  import { u as de } from "./use-split-width-SsLqbGjr.js";
6
6
  const ee = "/kb/v1/meta";
7
7
  function be() {
@@ -1,7 +1,7 @@
1
1
  import { jsxs as n, jsx as t, Fragment as $ } from "react/jsx-runtime";
2
- import { I as h } from "./embed-BUaR8PAn.js";
2
+ import { I as h } from "./embed-CoEyJMJx.js";
3
3
  import { useState as M, useEffect as S } from "react";
4
- import { A as L } from "./shared-B51Q5536.js";
4
+ import { A as L } from "./shared-BJA7rkgy.js";
5
5
  /* empty css */
6
6
  function T({ latency: e, stages: a }) {
7
7
  const l = [
@@ -1,7 +1,7 @@
1
1
  import { jsx as e, jsxs as r, Fragment as H } from "react/jsx-runtime";
2
2
  import { useState as h, useEffect as q, useRef as X } from "react";
3
- import { I as w, K as $e, dk as $t, dl as St, dm as It } from "./embed-BUaR8PAn.js";
4
- import { M as ct } from "./markdown-lite-ROKlyMXg.js";
3
+ import { I as w, K as $e, dk as $t, dl as St, dm as It } from "./embed-CoEyJMJx.js";
4
+ import { M as ct } from "./markdown-lite-C0TxiY46.js";
5
5
  const Mt = [
6
6
  { key: "home", label: "首页", icon: "home" },
7
7
  { key: "library", label: "知识库", icon: "book-open" },
@@ -1,9 +1,9 @@
1
1
  import { jsxs as n, jsx as e, Fragment as v } from "react/jsx-runtime";
2
- import { I as h, r as M, K as S } from "./embed-BUaR8PAn.js";
2
+ import { I as h, r as M, K as S } from "./embed-CoEyJMJx.js";
3
3
  import { u as P } from "./use-escape-key-4SZ4l7av.js";
4
- import { f as A } from "./shared-utils-Ck5sql2m.js";
4
+ import { f as A } from "./shared-utils-E5RBBDWx.js";
5
5
  import { createPortal as R } from "react-dom";
6
- import { c as E, A as C, a as x } from "./shared-B51Q5536.js";
6
+ import { c as E, A as C, a as x } from "./shared-BJA7rkgy.js";
7
7
  import { a as z } from "./format-CWI99NCN.js";
8
8
  import { useState as p, useEffect as w } from "react";
9
9
  /* empty css */
@@ -1,9 +1,9 @@
1
1
  import { jsx as e, jsxs as t, Fragment as X } from "react/jsx-runtime";
2
- import { I as h } from "./embed-BUaR8PAn.js";
2
+ import { I as h } from "./embed-CoEyJMJx.js";
3
3
  import { createPortal as Z } from "react-dom";
4
4
  import { u as J } from "./use-escape-key-4SZ4l7av.js";
5
- import { c as Y, A as Q } from "./shared-B51Q5536.js";
6
- import { K as O, L as V, M as ee, N as z } from "./ai-DZ6fqUyK.js";
5
+ import { c as Y, A as Q } from "./shared-BJA7rkgy.js";
6
+ import { K as O, L as V, M as ee, N as z } from "./ai-CccmxFWN.js";
7
7
  import { d as G } from "./dayjs.min-DoEf5yCX.js";
8
8
  import { useState as f, useEffect as F, useCallback as q } from "react";
9
9
  /* empty css */
@@ -1,9 +1,9 @@
1
1
  import { jsxs as a, jsx as e, Fragment as g } from "react/jsx-runtime";
2
2
  import { useState as h, useRef as _, useEffect as I, Fragment as Z, useLayoutEffect as ee } from "react";
3
- import { T as ae } from "./index-fVCVIu8I.js";
4
- import { r as z, I as u, t as C, R as te, j as ne } from "./embed-BUaR8PAn.js";
3
+ import { T as ae } from "./index-MN71_qSy.js";
4
+ import { r as z, I as u, t as C, R as te, j as ne } from "./embed-CoEyJMJx.js";
5
5
  import { c as U } from "./clipboard-CbytnWlq.js";
6
- import { l as V, c as le } from "./accessAk-DlxcvD0O.js";
6
+ import { l as V, c as le } from "./accessAk-BKnWRdnG.js";
7
7
  import { f as ie } from "./format-CWI99NCN.js";
8
8
  const re = "/kb/v1/client/kb", ce = "/kb/v1/client/ontology", se = "/kb/v1/client/ak";
9
9
  function oe(t, s, r) {
@@ -1,9 +1,9 @@
1
1
  import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as m, useEffect as O, useMemo as B, useCallback as U } from "react";
3
- import { A as j } from "./index-D23tZfhi.js";
4
- import { a as K, o as w, q, s as F, M as V, v as Z, u as H, w as J, I as g, n as Q, D as W, x as X } from "./embed-BUaR8PAn.js";
5
- import { T as Y } from "./index-fVCVIu8I.js";
6
- import { R as ee, r as ae } from "./member-CCTFfLDC.js";
3
+ import { A as j } from "./index-CFMm6EBU.js";
4
+ import { a as K, o as w, q, s as F, M as V, v as Z, u as H, w as J, I as g, n as Q, D as W, x as X } from "./embed-CoEyJMJx.js";
5
+ import { T as Y } from "./index-MN71_qSy.js";
6
+ import { R as ee, r as ae } from "./member-Dc8Fi9Yt.js";
7
7
  import { b as se } from "./catalog-tree-n4_6K8s6.js";
8
8
  const ne = new Map(V.map((s) => [s.code, s.icon]));
9
9
  function le(s, l) {
@@ -1,6 +1,6 @@
1
1
  import { jsx as r, jsxs as f } from "react/jsx-runtime";
2
2
  import { B as h } from "./brand-mark-CZN3BhGW.js";
3
- import { ah as g, dj as m } from "./embed-BUaR8PAn.js";
3
+ import { at as g, dj as m } from "./embed-CoEyJMJx.js";
4
4
  const c = {
5
5
  public: "//apex.come-future.com",
6
6
  local: "http://c2f.apex-dev.cfuture.shop",
@@ -1,9 +1,9 @@
1
1
  import { jsxs as a, jsx as e } from "react/jsx-runtime";
2
- import { dH as d, dX as t, d8 as l, L as n, B as c, dT as m } from "./embed-BUaR8PAn.js";
3
- import { u as h } from "./use-domain-access-BuD99GTw.js";
4
- import { S as p } from "./scenario-simple-form-mFm6f2ho.js";
5
- import "./ontology-scenarios-4Ar7Y8Kt.js";
6
- import { R as u } from "./index-keRQ37lH.js";
2
+ import { dH as d, dX as t, d8 as l, L as n, B as c, dT as m } from "./embed-CoEyJMJx.js";
3
+ import { u as h } from "./use-domain-access-CcPd_gzX.js";
4
+ import { S as p } from "./scenario-simple-form--KSAzRS6.js";
5
+ import "./ontology-scenarios-ANZMjyMB.js";
6
+ import { R as u } from "./index-BwkQzFNo.js";
7
7
  function g({ scope: s }) {
8
8
  const i = s.domains.find((r) => r.domainCode === s.currentCode), o = i ? d(i) : s.currentCode ?? "未选域";
9
9
  return /* @__PURE__ */ a("span", { className: "domain-badge", title: "域切换在顶栏右上", children: [
@@ -1,14 +1,14 @@
1
1
  import { jsx as e, jsxs as r, Fragment as Y } from "react/jsx-runtime";
2
2
  import { useMemo as G, useState as u, useCallback as S, useRef as K, useEffect as _ } from "react";
3
- import { S as fn, aa as Le, I as z, j as vn, h as bn, d6 as Nn, d7 as Cn, dx as ie, dy as Tn, dz as yn, de as wn, dA as Sn, t as q, dB as En, dC as kn, dD as xn, dE as Rn, dF as In, dG as On, u as Dn, d8 as An, dH as _e } from "./embed-BUaR8PAn.js";
4
- import { T as Fn, s as Mn, u as Ln, a as _n, b as Pn, C as Hn, S as Vn, R as Kn, I as zn, E as Bn, c as Gn, d as $n, e as Wn, f as Pe } from "./use-graph-layers-Cbd3Jggb.js";
3
+ import { S as fn, aa as Le, I as z, j as vn, h as bn, d6 as Nn, d7 as Cn, dx as ie, dy as Tn, dz as yn, de as wn, dA as Sn, t as q, dB as En, dC as kn, dD as xn, dE as Rn, dF as In, dG as On, u as Dn, d8 as An, dH as _e } from "./embed-CoEyJMJx.js";
4
+ import { T as Fn, s as Mn, u as Ln, a as _n, b as Pn, C as Hn, S as Vn, R as Kn, I as zn, E as Bn, c as Gn, d as $n, e as Wn, f as Pe } from "./use-graph-layers-Bi90s60B.js";
5
5
  import { u as Un } from "./use-escape-key-4SZ4l7av.js";
6
6
  import { u as qn } from "./use-split-width-SsLqbGjr.js";
7
- import { A as Qn } from "./index-QkktEus5.js";
7
+ import { A as Qn } from "./index-BQnPPCKW.js";
8
8
  import { c as Xn } from "./format-CWI99NCN.js";
9
- import { S as jn } from "./index-BDWjubAD.js";
9
+ import { S as jn } from "./index-D1vltZIy.js";
10
10
  import { F as Yn, a as He, c as Zn, b as Jn } from "./focus-set-lt52maBX.js";
11
- import { b as et } from "./ai-DZ6fqUyK.js";
11
+ import { b as et } from "./ai-CccmxFWN.js";
12
12
  function nt({
13
13
  keyword: t,
14
14
  view: l,
@@ -1,4 +1,4 @@
1
- import { t as d, r as t, K as c } from "./embed-BUaR8PAn.js";
1
+ import { t as d, r as t, K as c } from "./embed-CoEyJMJx.js";
2
2
  const a = "/kb/v1/ontology", o = () => ({ "X-Tenant-Code": c() });
3
3
  async function s(e, n) {
4
4
  try {
@@ -1,16 +1,16 @@
1
1
  import { jsx as e, jsxs as o, Fragment as Oe } from "react/jsx-runtime";
2
2
  import * as Ce from "react";
3
- import { useState as g, useCallback as Re, useEffect as me, useMemo as _, useRef as De, useLayoutEffect as Ve, Suspense as qe, lazy as Te, Fragment as Je } from "react";
4
- import { a6 as Ue, a7 as Qe, an as Xe, ao as de, aq as Ze, aJ as Ye, a5 as en, ap as nn, A as Be, dL as an, g as tn, j as on, I as h, D as B, dM as ln, dN as sn, dO as rn, h as dn, B as ze, w as Fe, x as Ge, dP as cn, dQ as mn, d8 as un, a as hn, e as pn, dh as bn, dR as gn } from "./embed-BUaR8PAn.js";
3
+ import { useState as g, useCallback as Re, useEffect as me, useMemo as _, useRef as De, useLayoutEffect as Ve, Suspense as qe, lazy as Te, Fragment as Ue } from "react";
4
+ import { a6 as Je, a7 as Qe, ad as Xe, ac as de, aj as Ze, ai as Ye, a5 as en, ah as nn, A as Be, dL as an, g as tn, j as on, I as h, D as B, dM as ln, dN as sn, dO as rn, h as dn, B as ze, w as Fe, x as Ge, dP as cn, dQ as mn, d8 as un, a as hn, e as pn, dh as bn, dR as gn } from "./embed-CoEyJMJx.js";
5
5
  import { f as Ie } from "./format-CWI99NCN.js";
6
- import { T as fn } from "./index-DR9LGJpi.js";
7
- import { F as U } from "./index-Bt9F-2Fl.js";
8
- import { M as Nn } from "./index-yPMzsLHL.js";
9
- import { I as Ne } from "./index-CNBwau86.js";
10
- import { T as vn } from "./index-Be_iqVpx.js";
11
- import { S as yn } from "./index-BLGPH51v.js";
12
- import { T as Cn } from "./index-fVCVIu8I.js";
13
- import { u as kn } from "./use-domain-access-BuD99GTw.js";
6
+ import { T as fn } from "./index-CkrD_v5E.js";
7
+ import { F as J } from "./index-BeejupFS.js";
8
+ import { M as Nn } from "./index-C8VIE0cr.js";
9
+ import { I as Ne } from "./index-o4EXX17N.js";
10
+ import { T as vn } from "./index-DvdRKgvN.js";
11
+ import { S as yn } from "./index-fSzyAUm4.js";
12
+ import { T as Cn } from "./index-MN71_qSy.js";
13
+ import { u as kn } from "./use-domain-access-CcPd_gzX.js";
14
14
  import { createPortal as wn } from "react-dom";
15
15
  import { u as $n } from "./use-escape-key-4SZ4l7av.js";
16
16
  const En = (n) => {
@@ -173,7 +173,7 @@ const En = (n) => {
173
173
  textPaddingInline: "1em",
174
174
  orientationMargin: 0.05,
175
175
  verticalMarginInline: n.marginXS
176
- }), On = Ue("Divider", (n) => {
176
+ }), On = Je("Divider", (n) => {
177
177
  const t = Qe(n, {
178
178
  dividerHorizontalWithTextGutterMargin: n.margin,
179
179
  sizePaddingEdgeHorizontal: 0
@@ -212,8 +212,8 @@ const zn = {
212
212
  variant: x = "solid",
213
213
  plain: Q,
214
214
  style: oe,
215
- size: W
216
- } = n, le = Dn(n, ["prefixCls", "type", "orientation", "orientationMargin", "className", "rootClassName", "children", "dashed", "variant", "plain", "style", "size"]), w = t("divider", b), [D, M, P] = On(w), j = Ye(W), R = zn[j], F = !!k, y = Ce.useMemo(() => r === "left" ? c === "rtl" ? "end" : "start" : r === "right" ? c === "rtl" ? "start" : "end" : r, [c, r]), K = y === "start" && d != null, H = y === "end" && d != null, T = en(w, i, M, P, `${w}-${m}`, {
215
+ size: j
216
+ } = n, le = Dn(n, ["prefixCls", "type", "orientation", "orientationMargin", "className", "rootClassName", "children", "dashed", "variant", "plain", "style", "size"]), w = t("divider", b), [D, M, P] = On(w), W = Ye(j), R = zn[W], F = !!k, y = Ce.useMemo(() => r === "left" ? c === "rtl" ? "end" : "start" : r === "right" ? c === "rtl" ? "start" : "end" : r, [c, r]), K = y === "start" && d != null, H = y === "end" && d != null, T = en(w, i, M, P, `${w}-${m}`, {
217
217
  [`${w}-with-text`]: F,
218
218
  [`${w}-with-text-${y}`]: F,
219
219
  [`${w}-dashed`]: !!f,
@@ -251,7 +251,7 @@ function Rn({
251
251
  open: t,
252
252
  onClose: c
253
253
  }) {
254
- const { message: i } = Be.useApp(), [s, b] = g("DIRECT"), [m, r] = g(""), [d, v] = g("all"), [$, k] = g([]), [f, x] = g(!1), [Q, oe] = g(!1), [W, le] = g(0), [w, D] = g(null), [M, P] = g(null), [j, R] = g(!1), [F, y] = g([]), [K, H] = g(!1), [T, G] = g(""), [L, z] = g(null), [X, u] = g("READ"), [N, S] = g(!1), E = Re(() => le((l) => l + 1), []);
254
+ const { message: i } = Be.useApp(), [s, b] = g("DIRECT"), [m, r] = g(""), [d, v] = g("all"), [$, k] = g([]), [f, x] = g(!1), [Q, oe] = g(!1), [j, le] = g(0), [w, D] = g(null), [M, P] = g(null), [W, R] = g(!1), [F, y] = g([]), [K, H] = g(!1), [T, G] = g(""), [L, z] = g(null), [X, u] = g("READ"), [N, S] = g(!1), E = Re(() => le((l) => l + 1), []);
255
255
  me(() => {
256
256
  if (!t)
257
257
  return;
@@ -262,7 +262,7 @@ function Rn({
262
262
  })(), () => {
263
263
  l = !1;
264
264
  };
265
- }, [t, n.domainCode, W]);
265
+ }, [t, n.domainCode, j]);
266
266
  const Z = async (l) => {
267
267
  H(!0);
268
268
  try {
@@ -408,7 +408,7 @@ function Rn({
408
408
  ] })
409
409
  ] })
410
410
  ] }),
411
- j ? /* @__PURE__ */ o("div", { className: "member-add", children: [
411
+ W ? /* @__PURE__ */ o("div", { className: "member-add", children: [
412
412
  /* @__PURE__ */ o("div", { className: "row gap-6 member-add-bar", children: [
413
413
  /* @__PURE__ */ o("div", { className: "input-icon", children: [
414
414
  /* @__PURE__ */ e(h, { name: "search", size: 13 }),
@@ -659,7 +659,7 @@ function Mn({
659
659
  scope: i,
660
660
  onClose: s
661
661
  }) {
662
- const [b] = U.useForm(), [m, r] = g(!1);
662
+ const [b] = J.useForm(), [m, r] = g(!1);
663
663
  me(() => {
664
664
  if (n) {
665
665
  if (t) {
@@ -701,9 +701,9 @@ function Mn({
701
701
  width: 520,
702
702
  onCancel: s,
703
703
  destroyOnHidden: !0,
704
- children: /* @__PURE__ */ o(U, { form: b, layout: "vertical", requiredMark: !1, children: [
705
- t ? /* @__PURE__ */ e(U.Item, { label: "域编码", children: /* @__PURE__ */ e(Ne, { value: t.domainCode, disabled: !0 }) }) : /* @__PURE__ */ e(
706
- U.Item,
704
+ children: /* @__PURE__ */ o(J, { form: b, layout: "vertical", requiredMark: !1, children: [
705
+ t ? /* @__PURE__ */ e(J.Item, { label: "域编码", children: /* @__PURE__ */ e(Ne, { value: t.domainCode, disabled: !0 }) }) : /* @__PURE__ */ e(
706
+ J.Item,
707
707
  {
708
708
  name: "domainCode",
709
709
  label: "域编码",
@@ -718,8 +718,8 @@ function Mn({
718
718
  children: /* @__PURE__ */ e(Ne, { placeholder: "例如 OPD", autoComplete: "off" })
719
719
  }
720
720
  ),
721
- t ? null : c ? /* @__PURE__ */ e(U.Item, { label: "父域", children: /* @__PURE__ */ e(Ne, { value: `${c.name}(${c.domainCode})`, disabled: !0 }) }) : /* @__PURE__ */ e(
722
- U.Item,
721
+ t ? null : c ? /* @__PURE__ */ e(J.Item, { label: "父域", children: /* @__PURE__ */ e(Ne, { value: `${c.name}(${c.domainCode})`, disabled: !0 }) }) : /* @__PURE__ */ e(
722
+ J.Item,
723
723
  {
724
724
  name: "kind",
725
725
  label: "所属分类",
@@ -728,7 +728,7 @@ function Mn({
728
728
  }
729
729
  ),
730
730
  /* @__PURE__ */ e(
731
- U.Item,
731
+ J.Item,
732
732
  {
733
733
  name: "name",
734
734
  label: "域名称",
@@ -736,8 +736,8 @@ function Mn({
736
736
  children: /* @__PURE__ */ e(Ne, { placeholder: "例如 门诊", maxLength: 255, autoComplete: "off" })
737
737
  }
738
738
  ),
739
- /* @__PURE__ */ e(U.Item, { name: "description", label: "域说明", children: /* @__PURE__ */ e(Ne.TextArea, { rows: 2, maxLength: 500, placeholder: "选填" }) }),
740
- /* @__PURE__ */ e(U.Item, { name: "sortOrder", label: "展示顺序", children: /* @__PURE__ */ e(vn, { min: 0, max: 9999, style: { width: 120 } }) }),
739
+ /* @__PURE__ */ e(J.Item, { name: "description", label: "域说明", children: /* @__PURE__ */ e(Ne.TextArea, { rows: 2, maxLength: 500, placeholder: "选填" }) }),
740
+ /* @__PURE__ */ e(J.Item, { name: "sortOrder", label: "展示顺序", children: /* @__PURE__ */ e(vn, { min: 0, max: 9999, style: { width: 120 } }) }),
741
741
  /* @__PURE__ */ e(_e, { style: { margin: "8px 0 12px" } }),
742
742
  /* @__PURE__ */ o(yn, { children: [
743
743
  /* @__PURE__ */ e(ze, { type: "primary", loading: m, onClick: () => void d(), children: "保存" }),
@@ -759,7 +759,7 @@ function xe(n) {
759
759
  return ue.some((c) => c.key === t) ? t : "OBJECT";
760
760
  }
761
761
  const Ln = (n, t) => n.sortOrder - t.sortOrder || n.name.localeCompare(t.name, "zh-Hans-CN"), Me = (n) => 1 + n.children.reduce((t, c) => t + Me(c), 0);
762
- function We(n, t) {
762
+ function je(n, t) {
763
763
  return !t || [n.name, n.domainCode, n.description ?? ""].join(" ").toLowerCase().includes(t);
764
764
  }
765
765
  function Ae(n, t) {
@@ -777,7 +777,7 @@ function Ae(n, t) {
777
777
  if (r > 7)
778
778
  return null;
779
779
  const d = (i.get(we(m.domainCode)) ?? []).map((v) => b(v, r + 1)).filter((v) => v !== null);
780
- return !We(m, t) && d.length === 0 ? null : { record: m, children: d };
780
+ return !je(m, t) && d.length === 0 ? null : { record: m, children: d };
781
781
  };
782
782
  return ue.map((m) => {
783
783
  const r = s.filter((d) => xe(d) === m.key).map((d) => b(d, 0)).filter((d) => d !== null);
@@ -790,16 +790,16 @@ function Ae(n, t) {
790
790
  });
791
791
  }
792
792
  const te = (n) => (n ?? "").trim().toUpperCase();
793
- function je(n, t, c, i) {
793
+ function We(n, t, c, i) {
794
794
  const s = [];
795
795
  return n.forEach((b, m) => {
796
796
  s.push({ node: b, level: t, tail: m === n.length - 1 });
797
797
  const r = b.record.domainCode;
798
- b.children.length && (i || !c.has(r)) && s.push(...je(b.children, t + 1, c, i));
798
+ b.children.length && (i || !c.has(r)) && s.push(...We(b.children, t + 1, c, i));
799
799
  }), s;
800
800
  }
801
801
  function Bn({ scope: n }) {
802
- const [t, c] = g(null), [i, s] = g(!1), [b, m] = g(""), [r, d] = g(() => /* @__PURE__ */ new Set()), [v, $] = g(!1), [k, f] = g(null), x = De(null), Q = De(null), { pending: oe, pendingRoles: W, markPending: le } = Fe(i);
802
+ const [t, c] = g(null), [i, s] = g(!1), [b, m] = g(""), [r, d] = g(() => /* @__PURE__ */ new Set()), [v, $] = g(!1), [k, f] = g(null), x = De(null), Q = De(null), { pending: oe, pendingRoles: j, markPending: le } = Fe(i);
803
803
  Ve(() => {
804
804
  c(document.getElementById("page-head"));
805
805
  }, []), me(() => {
@@ -832,7 +832,7 @@ function Bn({ scope: n }) {
832
832
  return !!(N && w.has(N));
833
833
  },
834
834
  [w]
835
- ), j = D ? P(D) : !1, R = n.scope === "ANCESTORS", F = b.trim().toLowerCase(), y = F.length > 0, K = _(() => Ae(n.domains, F), [n.domains, F]), H = K.reduce((u, N) => u + N.total, 0), T = P, G = (u) => {
835
+ ), W = D ? P(D) : !1, R = n.scope === "ANCESTORS", F = b.trim().toLowerCase(), y = F.length > 0, K = _(() => Ae(n.domains, F), [n.domains, F]), H = K.reduce((u, N) => u + N.total, 0), T = P, G = (u) => {
836
836
  d((N) => {
837
837
  const S = new Set(N);
838
838
  return S.has(u) ? S.delete(u) : S.add(u), S;
@@ -855,7 +855,7 @@ function Bn({ scope: n }) {
855
855
  $(!1);
856
856
  }
857
857
  }, z = ({ node: u, level: N, tail: S }) => {
858
- const { record: E, children: Z } = u, I = E.domainCode, q = te(I) === te(n.currentCode), V = E.canEnter === !1, Y = xe(E), se = ue.find((A) => A.key === Y) ?? ue[1], ee = !y && r.has(I), he = oe[I], ie = W[I], pe = T(E) && cn(I) === "ANCESTORS", be = N === 0 ? `根域 · ${I} · ${E.tagCount} 类 · ${E.edgeCount} 关系` : `${I} · ${E.tagCount} 类 · ${E.edgeCount} 关系 · ${E.scenarioCount} 场景`;
858
+ const { record: E, children: Z } = u, I = E.domainCode, q = te(I) === te(n.currentCode), V = E.canEnter === !1, Y = xe(E), se = ue.find((A) => A.key === Y) ?? ue[1], ee = !y && r.has(I), he = oe[I], ie = j[I], pe = T(E) && cn(I) === "ANCESTORS", be = N === 0 ? `根域 · ${I} · ${E.tagCount} 类 · ${E.edgeCount} 关系` : `${I} · ${E.tagCount} 类 · ${E.edgeCount} 关系 · ${E.scenarioCount} 场景`;
859
859
  return /* @__PURE__ */ o(
860
860
  "div",
861
861
  {
@@ -963,11 +963,11 @@ function Bn({ scope: n }) {
963
963
  ] })
964
964
  ] }),
965
965
  /* @__PURE__ */ e("div", { className: "od-dom-list", role: "listbox", "aria-label": "本体域", children: H ? K.map(
966
- (u) => je(u.branches, 0, r, y).map(z)
966
+ (u) => We(u.branches, 0, r, y).map(z)
967
967
  ) : /* @__PURE__ */ e("div", { className: "od-dom-empty", children: "无匹配的本体域" }) }),
968
968
  /* @__PURE__ */ e("div", { className: "od-dom-foot", children: "三根内置根域:经营过程、业务对象、专业知识;子域挂在业务对象与专业知识下, 缩进体现层级。带锁的域无权限,只能申请;可读域可申请更高权限。" })
969
969
  ] }) : null,
970
- j ? /* @__PURE__ */ o(
970
+ W ? /* @__PURE__ */ o(
971
971
  "button",
972
972
  {
973
973
  type: "button",
@@ -1048,11 +1048,11 @@ const Fn = [
1048
1048
  "data-prep": "dataprep.write",
1049
1049
  tasks: "task.operate",
1050
1050
  log: "structure.write"
1051
- }, Wn = [
1051
+ }, jn = [
1052
1052
  { key: "sources", label: "数据源" },
1053
1053
  { key: "datasets", label: "数据集" },
1054
1054
  { key: "collection", label: "采集任务" }
1055
- ], jn = Te(() => import("./ontology-BX6X1X2J.js")), Kn = Te(() => import("./ontology-scenarios-BaYN82pv.js")), Hn = Te(() => import("./ontology-modeling-C_6GvHBT.js"));
1055
+ ], Wn = Te(() => import("./ontology-Ct7a7W50.js")), Kn = Te(() => import("./ontology-scenarios-BC1UBvtT.js")), Hn = Te(() => import("./ontology-modeling-BkFq7sU1.js"));
1056
1056
  function Vn(n) {
1057
1057
  return Fn.find((t) => t === n) ?? "overview";
1058
1058
  }
@@ -1095,7 +1095,7 @@ function qn({ view: n, onChangeView: t, scope: c }) {
1095
1095
  onMenuChange: (f) => t(f)
1096
1096
  }
1097
1097
  ),
1098
- r === "data-prep" ? /* @__PURE__ */ e("div", { className: "od-work-bar", role: "toolbar", "aria-label": "数据准备子项", children: Wn.map((f) => /* @__PURE__ */ e(
1098
+ r === "data-prep" ? /* @__PURE__ */ e("div", { className: "od-work-bar", role: "toolbar", "aria-label": "数据准备子项", children: jn.map((f) => /* @__PURE__ */ e(
1099
1099
  "button",
1100
1100
  {
1101
1101
  type: "button",
@@ -1110,7 +1110,7 @@ function qn({ view: n, onChangeView: t, scope: c }) {
1110
1110
  qe,
1111
1111
  {
1112
1112
  fallback: /* @__PURE__ */ e("div", { className: "od-work-state", role: "status", children: "正在加载视图…" }),
1113
- children: r === "overview" ? /* @__PURE__ */ e(jn, { onGoModeling: () => t("workbench") }) : r === "scenario" ? /* @__PURE__ */ e(Kn, { embedded: !0 }) : /* @__PURE__ */ e(
1113
+ children: r === "overview" ? /* @__PURE__ */ e(Wn, { onGoModeling: () => t("workbench") }) : r === "scenario" ? /* @__PURE__ */ e(Kn, { embedded: !0 }) : /* @__PURE__ */ e(
1114
1114
  Hn,
1115
1115
  {
1116
1116
  embedded: {
@@ -1123,7 +1123,7 @@ function qn({ view: n, onChangeView: t, scope: c }) {
1123
1123
  ) })
1124
1124
  ] });
1125
1125
  }
1126
- const Jn = {
1126
+ const Un = {
1127
1127
  NONE: "gray",
1128
1128
  READ: "green",
1129
1129
  MANAGE: "blue"
@@ -1133,7 +1133,7 @@ function ke(n, t) {
1133
1133
  return n && c.set("domain", n), t && t !== "overview" && c.set("view", t), c;
1134
1134
  }
1135
1135
  function da() {
1136
- const n = un(), { can: t } = hn(), { modal: c } = Be.useApp(), [i, s] = pn(), b = t("ontology.schema.manage"), { pending: m, pendingRoles: r, markPending: d } = Fe(!0), [v, $] = g(""), [k, f] = g("ALL"), [x, Q] = g(/* @__PURE__ */ new Set()), [oe, W] = g(!1), [le, w] = g(null), [D, M] = g(null), [P, j] = g(null), [R, F] = g(null), y = (i.get("domain") ?? "").trim(), K = ye(y), H = Vn(i.get("view")), T = y ? n.domains.find((a) => ye(a.domainCode) === K) : void 0, G = !n.loading && !n.failed, L = !!y && G && !!T && (T == null ? void 0 : T.canEnter) !== !1, z = De({ param: "", code: "" });
1136
+ const n = un(), { can: t } = hn(), { modal: c } = Be.useApp(), [i, s] = pn(), b = t("ontology.schema.manage"), { pending: m, pendingRoles: r, markPending: d } = Fe(!0), [v, $] = g(""), [k, f] = g("ALL"), [x, Q] = g(/* @__PURE__ */ new Set()), [oe, j] = g(!1), [le, w] = g(null), [D, M] = g(null), [P, W] = g(null), [R, F] = g(null), y = (i.get("domain") ?? "").trim(), K = ye(y), H = Vn(i.get("view")), T = y ? n.domains.find((a) => ye(a.domainCode) === K) : void 0, G = !n.loading && !n.failed, L = !!y && G && !!T && (T == null ? void 0 : T.canEnter) !== !1, z = De({ param: "", code: "" });
1137
1137
  me(() => {
1138
1138
  if (!y) {
1139
1139
  z.current = { param: "", code: "" };
@@ -1171,14 +1171,14 @@ function da() {
1171
1171
  () => k === "ALL" ? S : S.filter((a) => a.key === k),
1172
1172
  [S, k]
1173
1173
  ), q = I.reduce((a, p) => a + p.total, 0), V = _(
1174
- () => N ? n.domains.filter((a) => We(a, u)).length : 0,
1174
+ () => N ? n.domains.filter((a) => je(a, u)).length : 0,
1175
1175
  [n.domains, u, N]
1176
1176
  ), Y = () => {
1177
- w(null), M(null), W(!0);
1177
+ w(null), M(null), j(!0);
1178
1178
  }, se = (a) => {
1179
- w(null), M(a), W(!0);
1179
+ w(null), M(a), j(!0);
1180
1180
  }, ee = (a) => {
1181
- w(a), M(null), W(!0);
1181
+ w(a), M(null), j(!0);
1182
1182
  }, he = (a) => {
1183
1183
  Q((p) => {
1184
1184
  const O = new Set(p);
@@ -1186,7 +1186,7 @@ function da() {
1186
1186
  });
1187
1187
  }, ie = (a) => {
1188
1188
  if (a.canEnter === !1) {
1189
- j(a);
1189
+ W(a);
1190
1190
  return;
1191
1191
  }
1192
1192
  n.select(a.domainCode), z.current = { param: a.domainCode, code: a.domainCode }, s(ke(a.domainCode));
@@ -1234,7 +1234,7 @@ function da() {
1234
1234
  {
1235
1235
  type: "button",
1236
1236
  className: `od-act-btn${O === "NONE" ? " primary" : " ghost"}`,
1237
- onClick: () => j(a),
1237
+ onClick: () => W(a),
1238
1238
  children: O === "NONE" ? "申请" : "申请更高权限"
1239
1239
  }
1240
1240
  ),
@@ -1278,8 +1278,8 @@ function da() {
1278
1278
  ] });
1279
1279
  }, A = (a, p, O) => {
1280
1280
  var Pe;
1281
- const { record: C, children: ne } = a, ae = C.myRole || "NONE", ge = ae === "NONE", re = xe(C), fe = !N && x.has(C.domainCode), Ee = !ye(C.parentCode) && ye(C.domainCode) === re, Ke = ((Pe = ue.find((J) => J.key === re)) == null ? void 0 : Pe.icon) ?? "package";
1282
- return /* @__PURE__ */ o(Je, { children: [
1281
+ const { record: C, children: ne } = a, ae = C.myRole || "NONE", ge = ae === "NONE", re = xe(C), fe = !N && x.has(C.domainCode), Ee = !ye(C.parentCode) && ye(C.domainCode) === re, Ke = ((Pe = ue.find((U) => U.key === re)) == null ? void 0 : Pe.icon) ?? "package";
1282
+ return /* @__PURE__ */ o(Ue, { children: [
1283
1283
  /* @__PURE__ */ o(
1284
1284
  "div",
1285
1285
  {
@@ -1288,8 +1288,8 @@ function da() {
1288
1288
  tabIndex: 0,
1289
1289
  "aria-label": ge ? `${C.name}:无权限,回车或点击发起权限申请` : void 0,
1290
1290
  onClick: () => ie(C),
1291
- onKeyDown: (J) => {
1292
- (J.key === "Enter" || J.key === " ") && (J.preventDefault(), ie(C));
1291
+ onKeyDown: (U) => {
1292
+ (U.key === "Enter" || U.key === " ") && (U.preventDefault(), ie(C));
1293
1293
  },
1294
1294
  children: [
1295
1295
  /* @__PURE__ */ o("div", { className: "od-name-cell", children: [
@@ -1300,8 +1300,8 @@ function da() {
1300
1300
  className: `od-caret${fe ? " folded" : ""}`,
1301
1301
  "aria-expanded": !fe,
1302
1302
  "aria-label": fe ? "展开子域" : "收起子域",
1303
- onClick: (J) => {
1304
- J.stopPropagation(), he(C.domainCode);
1303
+ onClick: (U) => {
1304
+ U.stopPropagation(), he(C.domainCode);
1305
1305
  },
1306
1306
  children: /* @__PURE__ */ e(h, { name: "chevron-down", size: 12 })
1307
1307
  }
@@ -1317,7 +1317,7 @@ function da() {
1317
1317
  /* @__PURE__ */ o("div", { className: "od-row-head", children: [
1318
1318
  ge ? /* @__PURE__ */ e("span", { className: "od-lock", children: /* @__PURE__ */ e(h, { name: "lock", size: 12 }) }) : null,
1319
1319
  /* @__PURE__ */ e("span", { className: "od-row-name", title: C.name, children: C.name }),
1320
- /* @__PURE__ */ e("span", { className: `tag ${Jn[ae]}`, children: B[ae] }),
1320
+ /* @__PURE__ */ e("span", { className: `tag ${Un[ae]}`, children: B[ae] }),
1321
1321
  Ee ? /* @__PURE__ */ o("span", { className: "tag blue", children: [
1322
1322
  Pn[re],
1323
1323
  "根域"
@@ -1343,7 +1343,7 @@ function da() {
1343
1343
  }
1344
1344
  ),
1345
1345
  fe ? null : ne.map(
1346
- (J, He) => A(J, p + 1, He === ne.length - 1)
1346
+ (U, He) => A(U, p + 1, He === ne.length - 1)
1347
1347
  )
1348
1348
  ] }, C.domainCode);
1349
1349
  };
@@ -1436,7 +1436,7 @@ function da() {
1436
1436
  parent: D,
1437
1437
  scope: n,
1438
1438
  onClose: () => {
1439
- W(!1), w(null), M(null);
1439
+ j(!1), w(null), M(null);
1440
1440
  }
1441
1441
  }
1442
1442
  ),
@@ -1445,9 +1445,9 @@ function da() {
1445
1445
  {
1446
1446
  domain: P,
1447
1447
  currentRole: P.myRole || "NONE",
1448
- onClose: () => j(null),
1448
+ onClose: () => W(null),
1449
1449
  onDone: (a) => {
1450
- d(P.domainCode, a.code, a.bizRole), j(null);
1450
+ d(P.domainCode, a.code, a.bizRole), W(null);
1451
1451
  }
1452
1452
  }
1453
1453
  ) : null,