@yuku123/z-cognition-component 2.0.2 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (243) hide show
  1. package/dist-lib/BaseInput-rxw05EpT.js +1096 -0
  2. package/dist-lib/ClockCircleOutlined-DqK04lTb.js +12 -0
  3. package/dist-lib/Collapse-D9XOithE.js +523 -0
  4. package/dist-lib/{ConceptsPage-BOeKdDKI.js → ConceptsPage-DOf_CJlz.js} +13 -16
  5. package/dist-lib/DeleteOutlined-DnGmqa7C.js +12 -0
  6. package/dist-lib/{DocsPage-BZOBFp3c.js → DocsPage-CiC7TU96.js} +4 -4
  7. package/dist-lib/EllipsisOutlined-VzQrhleP.js +1109 -0
  8. package/dist-lib/EvidenceFormList-CrE2FzHk.js +90 -0
  9. package/dist-lib/{EyeOutlined-DGSrX-0M.js → EyeOutlined-CIFgRd6d.js} +4 -4
  10. package/dist-lib/ImpactPage-CYiuqy0S.js +68 -0
  11. package/dist-lib/{LeftOutlined-Cgo6Izj-.js → LeftOutlined-Be44-JWT.js} +1 -1
  12. package/dist-lib/{OntologyDetailPage-B8DyU8WW.js → OntologyDetailPage-mgK_NQxP.js} +99 -93
  13. package/dist-lib/{OntologyInferPage-CvcjxpBB.js → OntologyInferPage-NUaoaQpN.js} +38 -40
  14. package/dist-lib/{OntologyListPage-Cb0XfpWE.js → OntologyListPage-C9wH01y0.js} +47 -49
  15. package/dist-lib/OntologyMaterializePage-D_fDqYHY.js +134 -0
  16. package/dist-lib/OntologyNodesPage-5kH7RHwE.js +2844 -0
  17. package/dist-lib/{OntologyValidatePage-abQVJwzV.js → OntologyValidatePage-DtkYK_l4.js} +49 -52
  18. package/dist-lib/Pagination-BuFXTevS.js +1112 -0
  19. package/dist-lib/PlusOutlined-BSTPGLOH.js +21 -0
  20. package/dist-lib/{ReloadOutlined-CS-e-TmN.js → ReloadOutlined-B26pDoyV.js} +19 -10
  21. package/dist-lib/{ResolvePage-rbQ-8nNZ.js → ResolvePage-Cz9HORZ3.js} +31 -33
  22. package/dist-lib/{RotateRightOutlined-q7zp2e47.js → RotateRightOutlined-CYlCNRvD.js} +1 -1
  23. package/dist-lib/Skeleton-CxFsInYI.js +671 -0
  24. package/dist-lib/Table-Civ838nE.js +20514 -0
  25. package/dist-lib/{Table-CDagah-g.js → Table-D1RvQXGM.js} +414 -414
  26. package/dist-lib/TermDetailPage-BtkOpbPT.js +263 -0
  27. package/dist-lib/{TermsPage-CuufAyuL.js → TermsPage-BuzCMYov.js} +28 -31
  28. package/dist-lib/_commonjsHelpers-DaMA6jEr.js +8 -0
  29. package/dist-lib/accessAk-DlxcvD0O.js +64 -0
  30. package/dist-lib/{agents-CvgRLQw2.js → agents-CabJdV6W.js} +46 -46
  31. package/dist-lib/{ai-DYDhijtn.js → ai-DZ6fqUyK.js} +32 -32
  32. package/dist-lib/{ai-chat-share-DJnybJtS.js → ai-chat-share-CYSU7UlK.js} +13 -14
  33. package/dist-lib/ak-manage-MTp2UyyK.js +805 -0
  34. package/dist-lib/{approval-3IbhY8Lp.js → approval-F9OYS1Ov.js} +25 -26
  35. package/dist-lib/{approvals-Cd6CVzz4.js → approvals-DDEl02-L.js} +42 -43
  36. package/dist-lib/{assistant-cIXgilaE.js → assistant-CcC1rvys.js} +48 -49
  37. package/dist-lib/{assistant-history-BQzH4ChB.js → assistant-history-fmy8IsJL.js} +5 -5
  38. package/dist-lib/{assistant-summary-LKTj_HKM.js → assistant-summary-kuK5-mku.js} +1 -1
  39. package/dist-lib/{audit-CxuJ5unU.js → audit-C0GYByqU.js} +1 -1
  40. package/dist-lib/{bios-BplnCOF4.js → bios-_axkM_DR.js} +128 -130
  41. package/dist-lib/callSuper-CuPJalb0.js +7 -0
  42. package/dist-lib/callSuper-CwIeyYoc.js +7 -0
  43. package/dist-lib/category-BPLw60Ia.js +76 -0
  44. package/dist-lib/causal-CcWolsb5.js +789 -0
  45. package/dist-lib/{changelog-BoGqt_81.js → changelog-BQdmpq5H.js} +2 -2
  46. package/dist-lib/changelog-DC6nlUDh.js +103 -0
  47. package/dist-lib/chat-panel-CgpP4Xf5.js +1543 -0
  48. package/dist-lib/chunk-6KYCQHYJ-DcgZQlO5.js +1627 -0
  49. package/dist-lib/code-space-CZ3CzVcA.js +1070 -0
  50. package/dist-lib/{colors-sdAcAcU3.js → colors-BsFEfaVs.js} +1 -1
  51. package/dist-lib/community-D9mD_Tq1.js +217 -0
  52. package/dist-lib/community-ESJc4qtl.js +70 -0
  53. package/dist-lib/community-material-page-Ct5uMwhv.js +747 -0
  54. package/dist-lib/connections-DrxmCfe3.js +1065 -0
  55. package/dist-lib/context-T27uno74.js +54 -0
  56. package/dist-lib/{createForOfIteratorHelper-DEx_aTey.js → createForOfIteratorHelper-3K1vcDqi.js} +1 -1
  57. package/dist-lib/{dayjs.min-BauDENhn.js → dayjs.min-DoEf5yCX.js} +1 -1
  58. package/dist-lib/{detail-Cx5c4KJH.js → detail-DXOJf57e.js} +39 -40
  59. package/dist-lib/detail-kPAVlzm3.js +84 -0
  60. package/dist-lib/{detail-BaX7WiWV.js → detail-lGslEB8s.js} +5847 -7224
  61. package/dist-lib/development-aLXXcLcF.js +167 -0
  62. package/dist-lib/{docx-preview-B5nQuTwk.js → docx-preview-D4v2g8Yg.js} +1 -1
  63. package/dist-lib/{downloads-C3Oz04OW.js → downloads-DFOEFvX6.js} +3 -4
  64. package/dist-lib/{edit-Cbn2eJaJ.js → edit-BbtVK23D.js} +200 -204
  65. package/dist-lib/{editor-mtaJBQXz.js → editor-DbLQFOUf.js} +25 -26
  66. package/dist-lib/editor-page-B_H0fRAI.js +1169 -0
  67. package/dist-lib/embed-BUaR8PAn.js +51816 -0
  68. package/dist-lib/embed.css +2 -2
  69. package/dist-lib/{evaluation-BoHiY8yT.js → evaluation-8Tx-3UQh.js} +14 -15
  70. package/dist-lib/execution-Dz5dBEFl.js +159 -0
  71. package/dist-lib/focus-set-lt52maBX.js +38 -0
  72. package/dist-lib/{format-UGmYKemG.js → format-CWI99NCN.js} +1 -1
  73. package/dist-lib/graph-BllA9bmL.js +44 -0
  74. package/dist-lib/graph-DacHEbKr.js +640 -0
  75. package/dist-lib/index-4tbtbcAt.js +550 -0
  76. package/dist-lib/index-B6G8CZ1v.js +915 -0
  77. package/dist-lib/index-BDWjubAD.js +390 -0
  78. package/dist-lib/{index-BEjXaDfk.js → index-BI-rknta.js} +53 -54
  79. package/dist-lib/index-BLGPH51v.js +251 -0
  80. package/dist-lib/index-BMv3kGDG.js +236 -0
  81. package/dist-lib/{index-CHBNrCMy.js → index-BOB3j3H_.js} +29 -29
  82. package/dist-lib/index-BU2GXuww.js +413 -0
  83. package/dist-lib/index-BVgdmf6r.js +2487 -0
  84. package/dist-lib/index-BWmgE7bB.js +2075 -0
  85. package/dist-lib/{index-B57Fj7Y0.js → index-Be_iqVpx.js} +50 -52
  86. package/dist-lib/{index-y7jVGGI0.js → index-Bf8IQq4A.js} +21 -23
  87. package/dist-lib/{index-DsuUGhTA.js → index-Bi7O9pQv.js} +177 -179
  88. package/dist-lib/index-Bs4MevzC.js +16075 -0
  89. package/dist-lib/{index-DBlG9uXV.js → index-Bt9F-2Fl.js} +520 -597
  90. package/dist-lib/{index-Cj4DDWyj.js → index-BtW_nQBU.js} +10 -11
  91. package/dist-lib/{index-CyKWCYMK.js → index-BuGHtvxH.js} +81 -84
  92. package/dist-lib/{index-Bc-Vin3j.js → index-CDxeB8C4.js} +47 -49
  93. package/dist-lib/index-CNBwau86.js +1166 -0
  94. package/dist-lib/{index-9aQ4BzIK.js → index-CS6H40rM.js} +24 -25
  95. package/dist-lib/index-CSnvcFg-.js +543 -0
  96. package/dist-lib/{index-o65vKUwa.js → index-CSoMwNHq.js} +82 -83
  97. package/dist-lib/{index-C3AMwzIi.js → index-CZipVp1G.js} +1 -1
  98. package/dist-lib/index-CdNxm2We.js +1987 -0
  99. package/dist-lib/{index-DMTPsTna.js → index-CjFA5T3K.js} +3 -4
  100. package/dist-lib/{index-Bm1sK-VN.js → index-D23tZfhi.js} +10 -10
  101. package/dist-lib/index-D35Ry0PG.js +1162 -0
  102. package/dist-lib/index-D7nLwQye.js +5012 -0
  103. package/dist-lib/index-DQ16Zb7x.js +546 -0
  104. package/dist-lib/{index-BwVZgt5s.js → index-DR9LGJpi.js} +46 -48
  105. package/dist-lib/index-DRcTwC17.js +418 -0
  106. package/dist-lib/index-DTgboCiF.js +566 -0
  107. package/dist-lib/index-Dd9pPAT3.js +2192 -0
  108. package/dist-lib/{index-Vu6sPBci.js → index-Ddx6XQu5.js} +285 -280
  109. package/dist-lib/index-Di2bQwQn.js +242 -0
  110. package/dist-lib/{index-Cy9i4Kx7.js → index-DlqhOJnd.js} +101 -105
  111. package/dist-lib/index-DxzorPvG.js +13960 -0
  112. package/dist-lib/{index-CLTfICbf.js → index-GQGXGr9M.js} +6 -6
  113. package/dist-lib/{index-nQSVLWfW.js → index-IB3GOib9.js} +81 -83
  114. package/dist-lib/index-If4xc1-H.js +559 -0
  115. package/dist-lib/index-Pcxp_AYe.js +1719 -0
  116. package/dist-lib/{index-ounfql2z.js → index-QkktEus5.js} +25 -27
  117. package/dist-lib/{index-B22_2Dzh.js → index-fVCVIu8I.js} +2 -2
  118. package/dist-lib/{index-D3GHtSlM.js → index-jHh-ITBK.js} +28 -29
  119. package/dist-lib/index-keRQ37lH.js +853 -0
  120. package/dist-lib/index-mUlorJxp.js +3279 -0
  121. package/dist-lib/{index-BSlCGnzo.js → index-n6hK1r_G.js} +12 -12
  122. package/dist-lib/index-qYfXuLnZ.js +34 -0
  123. package/dist-lib/index-yPMzsLHL.js +77 -0
  124. package/dist-lib/index.js +3 -4
  125. package/dist-lib/json-field-Bu-gFb6c.js +196 -0
  126. package/dist-lib/{jszip.min-DcEHhn-b.js → jszip.min-dcaDnWUw.js} +1 -1
  127. package/dist-lib/{kb-form-modal-B0rM1ZvV.js → kb-form-modal-DsXpXfNT.js} +64 -63
  128. package/dist-lib/{kbTeam-Bh_FQH28.js → kbTeam-D8hsAHI5.js} +3 -3
  129. package/dist-lib/{knowledge-base-Cl1Ka1e6.js → knowledge-base-D2XMD7iI.js} +111 -111
  130. package/dist-lib/{knowledge-hub-CPuzdRiq.js → knowledge-hub-BoBR8-j-.js} +52 -53
  131. package/dist-lib/login-B4C374Y_.js +36 -0
  132. package/dist-lib/{markdown-lite-Cu62Fl7J.js → markdown-lite-ROKlyMXg.js} +156 -160
  133. package/dist-lib/material-CqtPqoZj.js +204 -0
  134. package/dist-lib/material-draft-markdown-BKlKt3pc.js +443 -0
  135. package/dist-lib/material-original-preview-pzANkVK5.js +214 -0
  136. package/dist-lib/{material-preview-docx-CH-09KeC.js → material-preview-docx-lp_xPipj.js} +1 -1
  137. package/dist-lib/{material-preview-pptx-D8XGDF-u.js → material-preview-pptx-6Byitp0J.js} +1 -1
  138. package/dist-lib/material-workspace-model-BUpogooV.js +328 -0
  139. package/dist-lib/{member-DKDx77PD.js → member-CCTFfLDC.js} +1 -1
  140. package/dist-lib/memory-reorganization-CBTDCRhV.js +8 -0
  141. package/dist-lib/memory-spaces-CZGIBlz2.js +2340 -0
  142. package/dist-lib/{message-BrooQ3Q7.js → message-Chq3cAdy.js} +24 -25
  143. package/dist-lib/{message-Dievi8Jw.js → message-Rz7LvGMk.js} +1 -1
  144. package/dist-lib/{messages-xTNmTS9g.js → messages-DciGawgR.js} +15 -16
  145. package/dist-lib/meta-BWgVxZgd.js +708 -0
  146. package/dist-lib/{metrics-DiHYqBKB.js → metrics-iWreq4IL.js} +2 -2
  147. package/dist-lib/mobile-CNrK04Ak.js +2413 -0
  148. package/dist-lib/{monitor-BBCu3zRe.js → monitor-BpUJZCht.js} +8 -8
  149. package/dist-lib/{monitor-BXsdMJSV.js → monitor-CaTKbDI1.js} +4 -4
  150. package/dist-lib/{my-access-CEGErUgv.js → my-access-ZH5CWVGF.js} +120 -132
  151. package/dist-lib/{my-permissions-wSr5zv7g.js → my-permissions-edhi0lav.js} +22 -23
  152. package/dist-lib/navigation-2WdPUP2T.js +102 -0
  153. package/dist-lib/{new-BevAuTe5.js → new-Dq6mvU2w.js} +14 -15
  154. package/dist-lib/{ontology-DXGSJC-y.js → ontology-BX6X1X2J.js} +50 -52
  155. package/dist-lib/ontology-dataprep-BjMnFRBG.js +322 -0
  156. package/dist-lib/{ontology-domains-jTG7CZm8.js → ontology-domains-B7AuwW8S.js} +100 -103
  157. package/dist-lib/ontology-extract-FpJ6K8z6.js +295 -0
  158. package/dist-lib/ontology-extract-wbvBwGZO.js +3199 -0
  159. package/dist-lib/ontology-flow-CJsIvS35.js +456 -0
  160. package/dist-lib/ontology-flow-Cgi8Fk-i.js +154 -0
  161. package/dist-lib/ontology-modeling-C_6GvHBT.js +15136 -0
  162. package/dist-lib/ontology-modeling-CeDS1-FE.js +510 -0
  163. package/dist-lib/ontology-scenarios-4Ar7Y8Kt.js +675 -0
  164. package/dist-lib/{ontology-scenarios-J5kw6xgi.js → ontology-scenarios-BaYN82pv.js} +1289 -1305
  165. package/dist-lib/ontology-task-config-CDt7NdIq.js +122 -0
  166. package/dist-lib/ontology-terms-CnFarWZX.js +66 -0
  167. package/dist-lib/ontology-terms-CxTp2Dcq.js +1195 -0
  168. package/dist-lib/pages-CticGC6S.js +512 -0
  169. package/dist-lib/pages.js +3 -3
  170. package/dist-lib/{permission-BUXo69Ne.js → permission-CNqwhyF3.js} +41 -41
  171. package/dist-lib/pipeline-layout-CJlOMXJF.js +70 -0
  172. package/dist-lib/{pptx-preview.es-AUrdYKu3.js → pptx-preview.es-D4ODiBv2.js} +2 -2
  173. package/dist-lib/preset-Bp_mvsJm.js +56827 -0
  174. package/dist-lib/{preset-gh5SGoYT.js → preset-CfByvcqu.js} +8 -8
  175. package/dist-lib/progress-ImhDvynO.js +778 -0
  176. package/dist-lib/{quota-D31cXjul.js → quota-B38BWyPo.js} +4 -3
  177. package/dist-lib/row-DeVE0t_N.js +154 -0
  178. package/dist-lib/runs-ILSUwEOv.js +565 -0
  179. package/dist-lib/{save-blob-CiWNK-cX.js → save-blob-C5BbV45B.js} +2 -2
  180. package/dist-lib/{scenario-mapping-preview-DQ_OBV4Z.js → scenario-mapping-preview-7v1SRE7V.js} +43 -45
  181. package/dist-lib/scenario-simple-form-mFm6f2ho.js +989 -0
  182. package/dist-lib/{schedule-BktxwX3S.js → schedule-DzB9rZrm.js} +8 -8
  183. package/dist-lib/script-CKdVDsYh.js +2709 -0
  184. package/dist-lib/{settings-dsB3H65I.js → settings-CaihqQtz.js} +121 -121
  185. package/dist-lib/{shared-CTCzvhyE.js → shared-B51Q5536.js} +1 -1
  186. package/dist-lib/{shared-utils-BstybhBG.js → shared-utils-Ck5sql2m.js} +2 -2
  187. package/dist-lib/{skills-CHPlMsgO.js → skills-By3A0Dc1.js} +39 -40
  188. package/dist-lib/{source-selection-tXqc855k.js → source-selection-sIKyG7xR.js} +16 -16
  189. package/dist-lib/sources-DvIMColY.js +279 -0
  190. package/dist-lib/style-BHQZmWlH.js +191 -0
  191. package/dist-lib/{task-config-BiTOiZj0.js → task-config-CoPFj_FN.js} +4 -4
  192. package/dist-lib/{tech-BKlGPkV0.js → tech-BJgEEFrT.js} +3 -4
  193. package/dist-lib/templates-CODaf2QI.js +58 -0
  194. package/dist-lib/tenant-login-DmN4qfah.js +338 -0
  195. package/dist-lib/{tools-CouQ4FWk.js → tools-CyRz1Ofg.js} +14 -14
  196. package/dist-lib/use-current-tenant-otPCQ3X8.js +22 -0
  197. package/dist-lib/{use-domain-access-BPlNfoiP.js → use-domain-access-BuD99GTw.js} +15 -15
  198. package/dist-lib/{use-g6-graph-WLX0PweO.js → use-g6-graph-C5h9frJM.js} +1 -1
  199. package/dist-lib/{use-graph-layers-ja-ZIC_R.js → use-graph-layers-Cbd3Jggb.js} +48 -50
  200. package/dist-lib/use-resizable-columns-BpMCRKif.js +59 -0
  201. package/dist-lib/useBreakpoint-B8dF3ifo.js +87 -0
  202. package/dist-lib/{useForm-Byp1LopG.js → useForm-BZkiMeaN.js} +9 -9
  203. package/dist-lib/{version-control-panel-CkBm36Yk.js → version-control-panel-HdMlbpbO.js} +26 -27
  204. package/dist-lib/{version-management-B4kIbdVc.js → version-management-BYoxw4GV.js} +6 -7
  205. package/dist-lib/{welcome-F5iZoFB1.js → welcome-CMNXQf8J.js} +3 -4
  206. package/package.json +1 -1
  207. package/dist-lib/ApartmentOutlined-M6qSurnE.js +0 -12
  208. package/dist-lib/ArrowLeftOutlined-DowsrSUj.js +0 -12
  209. package/dist-lib/EvidenceFormList-DXqqSpPV.js +0 -91
  210. package/dist-lib/ImpactPage-DyhUR6fT.js +0 -71
  211. package/dist-lib/OntologyMaterializePage-B0f9TnJa.js +0 -136
  212. package/dist-lib/OntologyNodesPage-D4MWlm6q.js +0 -1268
  213. package/dist-lib/Pagination-Dxslodkq.js +0 -1344
  214. package/dist-lib/PlusOutlined-B_dXo_97.js +0 -12
  215. package/dist-lib/SearchOutlined-puH6bCY6.js +0 -979
  216. package/dist-lib/Skeleton-DXcERb5r.js +0 -557
  217. package/dist-lib/TagsOutlined-B4_qkn6-.js +0 -20
  218. package/dist-lib/TermDetailPage-CP0D6OvA.js +0 -242
  219. package/dist-lib/TextArea-DTpTS5HL.js +0 -1897
  220. package/dist-lib/ThunderboltOutlined-Bf54AaFE.js +0 -20
  221. package/dist-lib/callSuper-DZEfdkXG.js +0 -7
  222. package/dist-lib/changelog-Cn81Dvgk.js +0 -69
  223. package/dist-lib/chunk-YDNE64FV-DGyyfCo0.js +0 -2004
  224. package/dist-lib/context-Buz0ggsK.js +0 -710
  225. package/dist-lib/context-DpmyNOn3.js +0 -21
  226. package/dist-lib/embed-CR8XVkMy.js +0 -31148
  227. package/dist-lib/focus-set-h0YtOUB2.js +0 -427
  228. package/dist-lib/index-CaXylbQR.js +0 -3419
  229. package/dist-lib/index-Cfu1W1H6.js +0 -535
  230. package/dist-lib/index-CrMcNEAZ.js +0 -9656
  231. package/dist-lib/index-DBtGE89a.js +0 -168
  232. package/dist-lib/index-DjFPRXl5.js +0 -1484
  233. package/dist-lib/index-DvWHYX81.js +0 -450
  234. package/dist-lib/index-PBT9GksC.js +0 -340
  235. package/dist-lib/index-bOY1cBol.js +0 -4890
  236. package/dist-lib/meta-BD_qYTZu.js +0 -540
  237. package/dist-lib/ontology-modeling-CjRsa-DR.js +0 -1039
  238. package/dist-lib/ontology-modeling-DOj68TuI.js +0 -38946
  239. package/dist-lib/ontology-scenarios-CcAagMiP.js +0 -660
  240. package/dist-lib/pages-CsexFuEz.js +0 -73
  241. package/dist-lib/row-B5MnGm9M.js +0 -156
  242. package/dist-lib/scenario-simple-form-DESMvU7A.js +0 -2396
  243. package/dist-lib/useClosable-BY7FgWKy.js +0 -59
@@ -1,8 +1,8 @@
1
1
  import { jsxs as a, jsx as e, Fragment as D } from "react/jsx-runtime";
2
- import { d as ue, I as b, t as R, g as he, e as te } from "./embed-CR8XVkMy.js";
3
- import { D as oe, E as pe, F as be, G as Ne, H as ve, I as ge, J as fe } from "./ai-DYDhijtn.js";
4
- import { A as re, a as ye, b as ke, c as Ce, d as ce, K as Te } from "./shared-CTCzvhyE.js";
5
- import { u as we, i as xe, A as Se, f as Ae, c as ne, d as ze, a as se, t as J, e as Me } from "./shared-utils-BstybhBG.js";
2
+ import { g as ue, I as b, t as R, k as he, j as te } from "./embed-BUaR8PAn.js";
3
+ import { D as oe, E as pe, F as be, G as Ne, H as ve, I as ge, J as fe } from "./ai-DZ6fqUyK.js";
4
+ import { A as re, a as ye, b as ke, c as Ce, d as ce, K as Te } from "./shared-B51Q5536.js";
5
+ import { u as we, i as xe, A as Se, f as Ae, c as ne, d as ze, a as se, t as J, e as Me } from "./shared-utils-Ck5sql2m.js";
6
6
  /* empty css */
7
7
  import { u as Ee } from "./use-escape-key-4SZ4l7av.js";
8
8
  import { useState as r, useEffect as de, useMemo as le } from "react";
@@ -23,14 +23,14 @@ function Pe({
23
23
  (n == null ? void 0 : n.timeoutMs) != null ? String(n.timeoutMs) : ""
24
24
  ), [c, z] = r(
25
25
  (n == null ? void 0 : n.retryCount) != null ? String(n.retryCount) : ""
26
- ), [k, K] = r((n == null ? void 0 : n.bizSource) || ""), [_, s] = r(
26
+ ), [k, K] = r((n == null ? void 0 : n.bizSource) || ""), [j, s] = r(
27
27
  ((n == null ? void 0 : n.headerNames) || []).map((i) => ({
28
28
  name: i,
29
29
  value: ""
30
30
  }))
31
31
  ), [p, q] = r(
32
32
  n != null && n.parameters.length ? n.parameters.map((i) => ({ ...i })) : [{ ...ie }]
33
- ), [B, L] = r(!1), [V, O] = r(""), j = (i, g) => {
33
+ ), [B, L] = r(!1), [V, O] = r(""), _ = (i, g) => {
34
34
  q(
35
35
  (m) => m.map((C, S) => S === i ? { ...C, ...g } : C)
36
36
  );
@@ -66,7 +66,7 @@ function Pe({
66
66
  return;
67
67
  }
68
68
  H = {};
69
- for (const ee of _) {
69
+ for (const ee of j) {
70
70
  const ae = ee.name.trim();
71
71
  ae && (H[ae] = ee.value.trim());
72
72
  }
@@ -234,7 +234,7 @@ function Pe({
234
234
  /* @__PURE__ */ a("div", { className: "field span-2", children: [
235
235
  /* @__PURE__ */ e("label", { children: "请求头" }),
236
236
  /* @__PURE__ */ a("div", { className: "ai-param-editor", children: [
237
- _.map((i, g) => {
237
+ j.map((i, g) => {
238
238
  var m, C;
239
239
  return /* @__PURE__ */ a("div", { className: "ai-param-row", children: [
240
240
  /* @__PURE__ */ e(
@@ -298,7 +298,7 @@ function Pe({
298
298
  className: "input",
299
299
  value: i.name,
300
300
  placeholder: "参数名,如 query",
301
- onChange: (m) => j(g, { name: m.target.value })
301
+ onChange: (m) => _(g, { name: m.target.value })
302
302
  }
303
303
  ),
304
304
  /* @__PURE__ */ e(
@@ -306,7 +306,7 @@ function Pe({
306
306
  {
307
307
  className: "select",
308
308
  value: i.type,
309
- onChange: (m) => j(g, { type: m.target.value }),
309
+ onChange: (m) => _(g, { type: m.target.value }),
310
310
  children: qe.map((m) => /* @__PURE__ */ e("option", { value: m, children: m }, m))
311
311
  }
312
312
  ),
@@ -316,7 +316,7 @@ function Pe({
316
316
  className: "input",
317
317
  value: i.description || "",
318
318
  placeholder: "参数说明",
319
- onChange: (m) => j(g, { description: m.target.value })
319
+ onChange: (m) => _(g, { description: m.target.value })
320
320
  }
321
321
  ),
322
322
  /* @__PURE__ */ a("label", { className: "req", children: [
@@ -325,7 +325,7 @@ function Pe({
325
325
  {
326
326
  type: "checkbox",
327
327
  checked: !!i.required,
328
- onChange: (m) => j(g, { required: m.target.checked })
328
+ onChange: (m) => _(g, { required: m.target.checked })
329
329
  }
330
330
  ),
331
331
  "必填"
@@ -717,7 +717,7 @@ function Be() {
717
717
  }
718
718
  const q = await pe(s.code, p);
719
719
  q && (R(p ? "已启用工具" : "已停用工具", q.name, "success"), k());
720
- }, _ = async (s) => {
720
+ }, j = async (s) => {
721
721
  if (h) {
722
722
  R(
723
723
  "galaxy 不支持删除",
@@ -888,7 +888,7 @@ function Be() {
888
888
  type: "button",
889
889
  disabled: h,
890
890
  title: h ? "galaxy 侧不支持删除" : "删除",
891
- onClick: () => void _(s),
891
+ onClick: () => void j(s),
892
892
  children: /* @__PURE__ */ e(b, { name: h ? "lock" : "trash", size: 13 })
893
893
  }
894
894
  )
@@ -0,0 +1,22 @@
1
+ import { useState as l, useEffect as s } from "react";
2
+ import { a as f, Z as u, cE as C } from "./embed-BUaR8PAn.js";
3
+ function m() {
4
+ var o;
5
+ const e = (o = f().context) == null ? void 0 : o.tenantCode, [n, c] = l(null);
6
+ s(() => {
7
+ if (e || n)
8
+ return;
9
+ let r = !0;
10
+ return u().then((t) => {
11
+ r && (t != null && t.tenantCode) && c(t.tenantCode);
12
+ }).catch(() => {
13
+ }), () => {
14
+ r = !1;
15
+ };
16
+ }, [e, n]);
17
+ const a = e || n;
18
+ return a ? C(a) : null;
19
+ }
20
+ export {
21
+ m as u
22
+ };
@@ -1,34 +1,34 @@
1
- import { useState as t, useEffect as n, useCallback as l } from "react";
2
- import { aB as C, aC as D, aD as b, aE as g } from "./embed-CR8XVkMy.js";
1
+ import { useState as n, useEffect as a, useCallback as c } from "react";
2
+ import { d9 as d, da as b, db as C, dc as D } from "./embed-BUaR8PAn.js";
3
3
  function p() {
4
- const [a, c] = t(C()), [e, o] = t(null), [u, i] = t(0);
5
- n(
6
- () => D((s) => {
7
- c(s);
4
+ const [t, l] = n(d()), [e, o] = n(null), [u, i] = n(0);
5
+ a(
6
+ () => b((s) => {
7
+ l(s);
8
8
  }),
9
9
  []
10
- ), n(
11
- () => b(() => {
10
+ ), a(
11
+ () => C(() => {
12
12
  i((s) => s + 1);
13
13
  }),
14
14
  []
15
- ), n(() => {
15
+ ), a(() => {
16
16
  let s = !0;
17
- return o(null), a ? ((async () => {
18
- const f = await g(a);
17
+ return o(null), t ? ((async () => {
18
+ const f = await D(t);
19
19
  s && o(f ?? null);
20
20
  })(), () => {
21
21
  s = !1;
22
22
  }) : () => {
23
23
  s = !1;
24
24
  };
25
- }, [a, u]);
26
- const r = l(
25
+ }, [t, u]);
26
+ const r = c(
27
27
  (s) => e ? e.actions.includes(s) : !0,
28
28
  [e]
29
- ), m = l(() => i((s) => s + 1), []);
29
+ ), m = c(() => i((s) => s + 1), []);
30
30
  return {
31
- domainCode: a,
31
+ domainCode: t,
32
32
  role: e == null ? void 0 : e.role,
33
33
  roleName: e == null ? void 0 : e.roleName,
34
34
  actions: e == null ? void 0 : e.actions,
@@ -1,4 +1,4 @@
1
- import { G as ot } from "./preset-gh5SGoYT.js";
1
+ import { G as ot } from "./preset-CfByvcqu.js";
2
2
  import { useRef as w, useState as ke, useEffect as J, useCallback as C } from "react";
3
3
  import { s as Ce, l as Ae, m as Pe, x as He, y as Fe, c as We } from "./d3-force-CZK-Rgd6.js";
4
4
  const xe = "#3d7dd4", st = "#89b4e8", Oe = "#1e4f8f", ct = "#94a3b8", at = "#64748b", it = "#94a3b8", Ie = "#64748b", ze = "#0052d9", Ge = "#003cab", lt = "rgba(0, 82, 217, 0.25)", he = 52, dt = "#fff", ut = 11, ce = "__uncategorized__", we = [
@@ -1,19 +1,17 @@
1
1
  import { jsxs as D, jsx as b, Fragment as Hi } from "react/jsx-runtime";
2
- import { I as Fe, ao as yv, ap as hn, e as Sv, aq as kp, ar as Rv, d as Fv, as as Ev, ab as Ud } from "./embed-CR8XVkMy.js";
3
- import H, { useState as A, useMemo as le, useCallback as ne, Component as Pv, useContext as Ye, useRef as L, useEffect as De, memo as dt, forwardRef as ac, useImperativeHandle as lc, useLayoutEffect as at, createElement as xv, createContext as Tv, Suspense as Dv } from "react";
4
- import Iv, { createPortal as Lp } from "react-dom";
5
- import { T as Ds } from "./index-BwVZgt5s.js";
6
- import { B as si } from "./index-CrMcNEAZ.js";
7
- import { a as nl } from "./Pagination-Dxslodkq.js";
8
- import { I as cc } from "./index-DvWHYX81.js";
9
- import { P as yr } from "./index-y7jVGGI0.js";
10
- import { T as Av } from "./index-B57Fj7Y0.js";
11
- import { R as Mv } from "./SearchOutlined-puH6bCY6.js";
12
- import { c as Xe } from "./format-UGmYKemG.js";
13
- import { U as Si, b as $d, t as kv, a as Lv, u as Nv } from "./use-g6-graph-WLX0PweO.js";
14
- import { e as Vv } from "./focus-set-h0YtOUB2.js";
15
- import { D as Kd } from "./index-CaXylbQR.js";
16
- import { F as Hv } from "./Table-CDagah-g.js";
2
+ import { I as Fe, B as si, dI as yv, dJ as hn, bq as Sv, j as Rv, d4 as kp, d5 as Fv, g as Ev, dK as Pv, dx as Ud } from "./embed-BUaR8PAn.js";
3
+ import H, { useState as A, useMemo as le, useCallback as ne, Component as xv, useContext as Ye, useRef as L, useEffect as De, memo as dt, forwardRef as ac, useImperativeHandle as lc, useLayoutEffect as at, createElement as Tv, createContext as Dv, Suspense as Iv } from "react";
4
+ import Av, { createPortal as Lp } from "react-dom";
5
+ import { T as Ds } from "./index-DR9LGJpi.js";
6
+ import { a as nl } from "./index-BMv3kGDG.js";
7
+ import { I as cc } from "./index-CNBwau86.js";
8
+ import { P as yr } from "./index-Bf8IQq4A.js";
9
+ import { T as Mv } from "./index-Be_iqVpx.js";
10
+ import { c as Xe } from "./format-CWI99NCN.js";
11
+ import { U as Si, b as $d, t as kv, a as Lv, u as Nv } from "./use-g6-graph-C5h9frJM.js";
12
+ import { e as Vv } from "./focus-set-lt52maBX.js";
13
+ import { D as Kd } from "./index-BWmgE7bB.js";
14
+ import { F as Hv } from "./Table-D1RvQXGM.js";
17
15
  const Ov = 8, eo = (e) => (e ?? "").trim().toUpperCase();
18
16
  function Gv(e, t) {
19
17
  const s = new Map(e.map((r) => [eo(r.domainCode), r])), i = [], n = /* @__PURE__ */ new Set([eo(t)]);
@@ -29,10 +27,10 @@ function Gv(e, t) {
29
27
  }
30
28
  return i;
31
29
  }
32
- function _2(e, t, s) {
30
+ function B2(e, t, s) {
33
31
  return s === "ANCESTORS" ? Gv(e, t) : [];
34
32
  }
35
- function z2({ metas: e, activeIndex: t, onPick: s }) {
33
+ function W2({ metas: e, activeIndex: t, onPick: s }) {
36
34
  return e.length <= 1 ? null : /* @__PURE__ */ D("div", { className: "ont-candidates", children: [
37
35
  /* @__PURE__ */ D("div", { className: "ont-candidates-head", children: [
38
36
  /* @__PURE__ */ b(Fe, { name: "git-merge", size: 12 }),
@@ -112,7 +110,7 @@ function _v(e) {
112
110
  return { nodeCount: t, edgeCount: s, startName: o, endName: r, summary: a };
113
111
  }
114
112
  const qd = 4, ol = 2, Np = 12, zv = 8, Uv = 1, Vp = 50, $v = 10;
115
- function U2(e) {
113
+ function _2(e) {
116
114
  const [t, s] = A([]), [i, n] = A(null), [o, r] = A(0), [a, l] = A(zv), [c, d] = A($v), [u, h] = A([]), g = le(
117
115
  () => e ? Kv(e) : null,
118
116
  [e]
@@ -326,7 +324,7 @@ const jv = Array.from(
326
324
  { length: Np - ol + 1 },
327
325
  (e, t) => ol + t
328
326
  ), qv = [1, 2, 3, 5, 10, 20, 50].filter((e) => e <= Vp);
329
- function $2({
327
+ function z2({
330
328
  nodeChips: e,
331
329
  edgeChips: t,
332
330
  candidateCount: s,
@@ -446,7 +444,7 @@ function $2({
446
444
  function Yv(e) {
447
445
  return e == null ? "-" : typeof e == "object" ? JSON.stringify(e) : String(e);
448
446
  }
449
- function K2({ target: e, onClose: t }) {
447
+ function U2({ target: e, onClose: t }) {
450
448
  const s = e.kind === "structure", i = e.kind === "structure" && e.edge.displayName || e.edge.edgeName, n = e.kind === "structure" ? `${e.edge.srcTag ?? "?"}${e.edge.srcTag === e.edge.dstTag ? "(自环)" : ` → ${e.edge.dstTag ?? "?"}`}` : `${e.nameOf(e.edge.srcVid)}${e.edge.srcVid === e.edge.dstVid ? "(自环)" : ` → ${e.nameOf(e.edge.dstVid)}`}`, o = Object.entries(
451
449
  e.kind === "instance" ? e.edge.properties ?? {} : {}
452
450
  );
@@ -44111,7 +44109,7 @@ function yG(e) {
44111
44109
  return ko || setTimeout(() => ko = !1, 0), ko = !0, e();
44112
44110
  }
44113
44111
  var Gn = (e, t) => {
44114
- !nv && e && !ko ? Iv.flushSync(t) : t();
44112
+ !nv && e && !ko ? Av.flushSync(t) : t();
44115
44113
  }, SG = (e) => {
44116
44114
  nv ? e() : H.startTransition(e);
44117
44115
  };
@@ -44221,7 +44219,7 @@ var np = (e, t, s) => {
44221
44219
  /* @__PURE__ */ H.createElement("span", { className: "ag-group-value", ref: o }, U ? G : Y ? /* @__PURE__ */ H.createElement(N, { ...d.params }) : null),
44222
44220
  /* @__PURE__ */ H.createElement("span", { className: "ag-group-child-count" }, h)
44223
44221
  );
44224
- }), op = ov, Gd = Tv({
44222
+ }), op = ov, Gd = Dv({
44225
44223
  setMethods: () => {
44226
44224
  }
44227
44225
  }), FG = (e) => {
@@ -44306,7 +44304,7 @@ var rv = class {
44306
44304
  );
44307
44305
  }
44308
44306
  createElement(e, t) {
44309
- return xv(e, t);
44307
+ return Tv(e, t);
44310
44308
  }
44311
44309
  createReactComponent(e) {
44312
44310
  this.portalManager.mountReactPortal(this.portal, this, e);
@@ -45382,7 +45380,7 @@ var WG = 1e3, _G = class {
45382
45380
  return ((ke = ye == null ? void 0 : ye.toString) == null ? void 0 : ke.call(ye)) ?? ye;
45383
45381
  if (we.componentFromFramework) {
45384
45382
  const xe = we.componentClass;
45385
- return /* @__PURE__ */ H.createElement(Dv, { fallback: /* @__PURE__ */ H.createElement(gB, { cellCtrl: e, parent: R }) }, ht ? /* @__PURE__ */ H.createElement(xe, { ...we.params, key: h }) : /* @__PURE__ */ H.createElement(xe, { ...we.params, key: h, ref: z }));
45383
+ return /* @__PURE__ */ H.createElement(Iv, { fallback: /* @__PURE__ */ H.createElement(gB, { cellCtrl: e, parent: R }) }, ht ? /* @__PURE__ */ H.createElement(xe, { ...we.params, key: h }) : /* @__PURE__ */ H.createElement(xe, { ...we.params, key: h, ref: z }));
45386
45384
  }
45387
45385
  }, ot = () => {
45388
45386
  const we = () => l == null ? null : k ? /* @__PURE__ */ H.createElement("span", { role: "presentation", id: `cell-${r}`, className: W, ref: G }, Ie()) : Ie(), ye = (ke) => uB(ke, se, R.current, e, P);
@@ -46340,7 +46338,7 @@ var NB = class extends eG {
46340
46338
  runWhenReadyAsync() {
46341
46339
  return bG();
46342
46340
  }
46343
- }, OB = class extends Pv {
46341
+ }, OB = class extends xv {
46344
46342
  constructor() {
46345
46343
  super(...arguments), this.apiListeners = [], this.setGridApi = (e) => {
46346
46344
  this.api = e;
@@ -46782,7 +46780,7 @@ function i2(e) {
46782
46780
  function mp(e, t) {
46783
46781
  return [.../* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])].every((i) => (e[i] ?? "") === (t[i] ?? ""));
46784
46782
  }
46785
- function Q2({
46783
+ function q2({
46786
46784
  source: e,
46787
46785
  scope: t,
46788
46786
  scenarioCode: s,
@@ -46984,7 +46982,7 @@ function Q2({
46984
46982
  /* @__PURE__ */ D("span", { className: "ont-inst-limit", children: [
46985
46983
  /* @__PURE__ */ b("span", { children: "限制" }),
46986
46984
  /* @__PURE__ */ b(
46987
- Av,
46985
+ Mv,
46988
46986
  {
46989
46987
  size: "small",
46990
46988
  min: pp,
@@ -47004,7 +47002,7 @@ function Q2({
47004
47002
  className: "ont-inst-search",
47005
47003
  size: "small",
47006
47004
  allowClear: !0,
47007
- prefix: /* @__PURE__ */ b(Mv, {}),
47005
+ prefix: /* @__PURE__ */ b(Sv, {}),
47008
47006
  placeholder: "全局搜索(跨列)",
47009
47007
  "aria-label": "全局搜索",
47010
47008
  value: m,
@@ -47080,7 +47078,7 @@ function o2({
47080
47078
  let d = !0;
47081
47079
  return (async () => {
47082
47080
  a(!0), c(!1), i(null), o(null);
47083
- const h = e.kind === "tag" ? await kp(e.code) : await Rv(e.code);
47081
+ const h = e.kind === "tag" ? await kp(e.code) : await Fv(e.code);
47084
47082
  if (d) {
47085
47083
  if (a(!1), !h) {
47086
47084
  c(!0);
@@ -47092,7 +47090,7 @@ function o2({
47092
47090
  d = !1;
47093
47091
  };
47094
47092
  }, [e]), /* @__PURE__ */ b(
47095
- Sv,
47093
+ Rv,
47096
47094
  {
47097
47095
  icon: e.kind === "tag" ? "tag" : "link",
47098
47096
  title: `${e.kind === "tag" ? "对象类型详情" : "关系类型详情"} · ${e.title}`,
@@ -47224,7 +47222,7 @@ function yp(e, t) {
47224
47222
  }
47225
47223
  return i.items.length ? [...s, i] : s;
47226
47224
  }
47227
- function X2({
47225
+ function Y2({
47228
47226
  tags: e,
47229
47227
  edges: t,
47230
47228
  tagTotal: s,
@@ -47256,7 +47254,7 @@ function X2({
47256
47254
  const [R, $] = A("tags"), [z, X] = A(null), [q, T] = A(null), [O, B] = A([]), [Y, N] = A([]), [U, G] = A({
47257
47255
  tags: "",
47258
47256
  edges: ""
47259
- }), I = U[R], k = (Q) => G((me) => ({ ...me, [R]: Q })), W = I.trim(), se = (Q) => Fv(W, Q), K = e.filter(
47257
+ }), I = U[R], k = (Q) => G((me) => ({ ...me, [R]: Q })), W = I.trim(), se = (Q) => Ev(W, Q), K = e.filter(
47260
47258
  (Q) => (d || Q.status === "ACTIVE") && (se(Q.tagName) || se(Q.displayName))
47261
47259
  ), Z = t.filter(
47262
47260
  (Q) => se(Q.edgeName) || se(Q.displayName)
@@ -47974,7 +47972,7 @@ function y2(e) {
47974
47972
  hint: "实例子图查询链路已就绪,图库配置下发后此处自动展示。"
47975
47973
  };
47976
47974
  }
47977
- function Z2({
47975
+ function Q2({
47978
47976
  view: e,
47979
47977
  loading: t,
47980
47978
  failed: s,
@@ -48606,7 +48604,7 @@ const Fp = 50, S2 = {
48606
48604
  function R2(e) {
48607
48605
  return e ? Object.entries(e).filter(([, s]) => s !== void 0).map(([s, i]) => `${s}: ${String(i)}`).join("、") : "";
48608
48606
  }
48609
- function J2({
48607
+ function X2({
48610
48608
  edgeName: e,
48611
48609
  label: t,
48612
48610
  scope: s,
@@ -48619,7 +48617,7 @@ function J2({
48619
48617
  }, [e]), De(() => {
48620
48618
  const f = ++u.current;
48621
48619
  d((m) => ({ ...m, loading: !0, failed: !1 })), (async () => {
48622
- const m = await Ev({
48620
+ const m = await Pv({
48623
48621
  edgeName: e,
48624
48622
  ...s ? { scope: s } : {},
48625
48623
  ...i ? { scenarioCode: i } : {},
@@ -48733,7 +48731,7 @@ function J2({
48733
48731
  ] }) })
48734
48732
  ] });
48735
48733
  }
48736
- function eW({
48734
+ function Z2({
48737
48735
  code: e,
48738
48736
  tagName: t,
48739
48737
  edges: s,
@@ -48811,7 +48809,7 @@ function eW({
48811
48809
  ] }) : null
48812
48810
  ] });
48813
48811
  }
48814
- function tW() {
48812
+ function J2() {
48815
48813
  const [e, t] = A(null), [s, i] = A(null), [n, o] = A(/* @__PURE__ */ new Set()), r = ne((u, h) => {
48816
48814
  const g = /* @__PURE__ */ new Set([u]);
48817
48815
  h.forEach((p) => {
@@ -48865,7 +48863,7 @@ function bo(e, t) {
48865
48863
  graphBound: (e == null ? void 0 : e.graphBound) ?? t.graphBound
48866
48864
  };
48867
48865
  }
48868
- function sW(e = {}) {
48866
+ function eW(e = {}) {
48869
48867
  const { scope: t, scenarioCode: s } = e, i = le(
48870
48868
  () => t ? { scope: t, scenarioCode: s } : {},
48871
48869
  [t, s]
@@ -49026,17 +49024,17 @@ function sW(e = {}) {
49026
49024
  }
49027
49025
  export {
49028
49026
  qd as C,
49029
- K2 as E,
49030
- Q2 as I,
49031
- J2 as R,
49032
- Z2 as S,
49033
- X2 as T,
49034
- tW as a,
49035
- U2 as b,
49036
- eW as c,
49037
- z2 as d,
49038
- $2 as e,
49027
+ U2 as E,
49028
+ q2 as I,
49029
+ X2 as R,
49030
+ Q2 as S,
49031
+ Y2 as T,
49032
+ J2 as a,
49033
+ _2 as b,
49034
+ Z2 as c,
49035
+ W2 as d,
49036
+ z2 as e,
49039
49037
  Pp as f,
49040
- _2 as s,
49041
- sW as u
49038
+ B2 as s,
49039
+ eW as u
49042
49040
  };
@@ -0,0 +1,59 @@
1
+ import { useState as f, useRef as b, useMemo as g } from "react";
2
+ import { jsx as h, jsxs as y } from "react/jsx-runtime";
3
+ const v = ({
4
+ onResize: n,
5
+ width: d,
6
+ className: s,
7
+ children: r,
8
+ ...c
9
+ }) => {
10
+ const [m, e] = f(!1), o = b({ x: 0, width: 0 });
11
+ if (d == null || !n)
12
+ return /* @__PURE__ */ h("th", { ...c, className: s, children: r });
13
+ const u = (t) => {
14
+ if (t.button !== 0) return;
15
+ t.preventDefault(), t.stopPropagation(), o.current = { x: t.clientX, width: Number(d) || 0 }, e(!0);
16
+ const a = (l) => {
17
+ const p = o.current.width + (l.clientX - o.current.x);
18
+ n(Math.max(40, Math.round(p)));
19
+ }, i = () => {
20
+ e(!1), document.removeEventListener("mousemove", a), document.removeEventListener("mouseup", i), document.body.style.cursor = "", document.body.style.userSelect = "";
21
+ };
22
+ document.body.style.cursor = "col-resize", document.body.style.userSelect = "none", document.addEventListener("mousemove", a), document.addEventListener("mouseup", i);
23
+ };
24
+ return /* @__PURE__ */ y("th", { ...c, className: `resizable-th ${s ?? ""}`, children: [
25
+ r,
26
+ /* @__PURE__ */ h(
27
+ "span",
28
+ {
29
+ className: m ? "col-resizer dragging" : "col-resizer",
30
+ onMouseDown: u
31
+ }
32
+ )
33
+ ] });
34
+ }, x = { header: { cell: v } }, w = [];
35
+ function C(n, d) {
36
+ const { excludeKeys: s = w } = d ?? {}, [r, c] = f({});
37
+ return { columns: g(
38
+ () => n.map((e, o) => {
39
+ if (!e || "children" in e) return e;
40
+ const u = String(e.key ?? e.dataIndex ?? o);
41
+ if (e.width == null || s.includes(u)) return e;
42
+ const t = r[u] ?? Number(e.width);
43
+ return {
44
+ ...e,
45
+ width: t,
46
+ onHeaderCell: () => ({
47
+ width: t,
48
+ onResize: (i) => {
49
+ c((l) => ({ ...l, [u]: i }));
50
+ }
51
+ })
52
+ };
53
+ }),
54
+ [n, r, s]
55
+ ), components: x };
56
+ }
57
+ export {
58
+ C as u
59
+ };
@@ -0,0 +1,87 @@
1
+ import d, { useRef as f } from "react";
2
+ import { bM as h, aZ as m } from "./embed-BUaR8PAn.js";
3
+ import { r as x, a as $ } from "./mediaQueryUtil-8vWuS10Z.js";
4
+ const b = () => d.useReducer((s) => s + 1, 0), l = ["xxl", "xl", "lg", "md", "sm", "xs"], M = (s) => ({
5
+ xs: `(max-width: ${s.screenXSMax}px)`,
6
+ sm: `(min-width: ${s.screenSM}px)`,
7
+ md: `(min-width: ${s.screenMD}px)`,
8
+ lg: `(min-width: ${s.screenLG}px)`,
9
+ xl: `(min-width: ${s.screenXL}px)`,
10
+ xxl: `(min-width: ${s.screenXXL}px)`
11
+ }), v = (s) => {
12
+ const e = s, r = [].concat(l).reverse();
13
+ return r.forEach((a, i) => {
14
+ const t = a.toUpperCase(), n = `screen${t}Min`, o = `screen${t}`;
15
+ if (!(e[n] <= e[o]))
16
+ throw new Error(`${n}<=${o} fails : !(${e[n]}<=${e[o]})`);
17
+ if (i < r.length - 1) {
18
+ const c = `screen${t}Max`;
19
+ if (!(e[o] <= e[c]))
20
+ throw new Error(`${o}<=${c} fails : !(${e[o]}<=${e[c]})`);
21
+ const u = `screen${r[i + 1].toUpperCase()}Min`;
22
+ if (!(e[c] <= e[u]))
23
+ throw new Error(`${c}<=${u} fails : !(${e[c]}<=${e[u]})`);
24
+ }
25
+ }), s;
26
+ }, L = (s, e) => {
27
+ if (e) {
28
+ for (const r of l)
29
+ if (s[r] && (e == null ? void 0 : e[r]) !== void 0)
30
+ return e[r];
31
+ }
32
+ }, w = () => {
33
+ const [, s] = h(), e = M(v(s));
34
+ return d.useMemo(() => {
35
+ const r = /* @__PURE__ */ new Map();
36
+ let a = -1, i = {};
37
+ return {
38
+ responsiveMap: e,
39
+ matchHandlers: {},
40
+ dispatch(t) {
41
+ return i = t, r.forEach((n) => n(i)), r.size >= 1;
42
+ },
43
+ subscribe(t) {
44
+ return r.size || this.register(), a += 1, r.set(a, t), t(i), a;
45
+ },
46
+ unsubscribe(t) {
47
+ r.delete(t), r.size || this.unregister();
48
+ },
49
+ register() {
50
+ Object.entries(e).forEach(([t, n]) => {
51
+ const o = ({
52
+ matches: p
53
+ }) => {
54
+ this.dispatch(Object.assign(Object.assign({}, i), {
55
+ [t]: p
56
+ }));
57
+ }, c = window.matchMedia(n);
58
+ $(c, o), this.matchHandlers[n] = {
59
+ mql: c,
60
+ listener: o
61
+ }, o(c);
62
+ });
63
+ },
64
+ unregister() {
65
+ Object.values(e).forEach((t) => {
66
+ const n = this.matchHandlers[t];
67
+ x(n == null ? void 0 : n.mql, n == null ? void 0 : n.listener);
68
+ }), r.clear();
69
+ }
70
+ };
71
+ }, [e]);
72
+ };
73
+ function O(s = !0, e = {}) {
74
+ const r = f(e), [, a] = b(), i = w();
75
+ return m(() => {
76
+ const t = i.subscribe((n) => {
77
+ r.current = n, s && a();
78
+ });
79
+ return () => i.unsubscribe(t);
80
+ }, []), r.current;
81
+ }
82
+ export {
83
+ O as a,
84
+ L as m,
85
+ l as r,
86
+ b as u
87
+ };
@@ -1,6 +1,6 @@
1
1
  import * as Z from "react";
2
- import { aK as ce, aF as fe } from "./index-CrMcNEAZ.js";
3
- const ee = (e) => typeof e == "object" && e != null && e.nodeType === 1, te = (e, o) => (!o || e !== "hidden") && e !== "visible" && e !== "clip", B = (e, o) => {
2
+ import { cb as ce, bB as fe } from "./embed-BUaR8PAn.js";
3
+ const ee = (e) => typeof e == "object" && e != null && e.nodeType === 1, te = (e, o) => (!o || e !== "hidden") && e !== "visible" && e !== "clip", x = (e, o) => {
4
4
  if (e.clientHeight < e.scrollHeight || e.clientWidth < e.scrollWidth) {
5
5
  const r = getComputedStyle(e, null);
6
6
  return te(r.overflowY, o) || te(r.overflowX, o) || ((l) => {
@@ -31,25 +31,25 @@ const ee = (e) => typeof e == "object" && e != null && e.nodeType === 1, te = (e
31
31
  I.push(a);
32
32
  break;
33
33
  }
34
- a != null && a === document.body && B(a) && !B(document.documentElement) || a != null && B(a, ie) && I.push(a);
34
+ a != null && a === document.body && x(a) && !x(document.documentElement) || a != null && x(a, ie) && I.push(a);
35
35
  }
36
- const m = (l = (r = window.visualViewport) == null ? void 0 : r.width) != null ? l : innerWidth, b = (t = (n = window.visualViewport) == null ? void 0 : n.height) != null ? t : innerHeight, { scrollX: w, scrollY: y } = window, { height: v, width: F, top: M, right: D, bottom: V, left: _ } = e.getBoundingClientRect(), { top: q, right: z, bottom: G, left: J } = ((p) => {
36
+ const m = (l = (r = window.visualViewport) == null ? void 0 : r.width) != null ? l : innerWidth, b = (t = (n = window.visualViewport) == null ? void 0 : n.height) != null ? t : innerHeight, { scrollX: w, scrollY: y } = window, { height: v, width: F, top: M, right: D, bottom: V, left: _ } = e.getBoundingClientRect(), { top: z, right: G, bottom: J, left: K } = ((p) => {
37
37
  const s = window.getComputedStyle(p);
38
38
  return { top: parseFloat(s.scrollMarginTop) || 0, right: parseFloat(s.scrollMarginRight) || 0, bottom: parseFloat(s.scrollMarginBottom) || 0, left: parseFloat(s.scrollMarginLeft) || 0 };
39
39
  })(e);
40
- let d = c === "start" || c === "nearest" ? M - q : c === "end" ? V + G : M + v / 2 - q + G, u = f === "center" ? _ + F / 2 - J + z : f === "end" ? D + z : _ - J;
40
+ let d = c === "start" || c === "nearest" ? M - z : c === "end" ? V + J : M + v / 2 - z + J, u = f === "center" ? _ + F / 2 - K + G : f === "end" ? D + G : _ - K;
41
41
  const A = [];
42
42
  for (let p = 0; p < I.length; p++) {
43
43
  const s = I[p], { height: O, width: W, top: N, right: X, bottom: Y, left: R } = s.getBoundingClientRect();
44
- if (i === "if-needed" && M >= 0 && _ >= 0 && V <= b && D <= m && (s === P && !B(s) || M >= N && V <= Y && _ >= R && D <= X)) return A;
44
+ if (i === "if-needed" && M >= 0 && _ >= 0 && V <= b && D <= m && (s === P && !x(s) || M >= N && V <= Y && _ >= R && D <= X)) return A;
45
45
  const H = getComputedStyle(s), j = parseInt(H.borderLeftWidth, 10), E = parseInt(H.borderTopWidth, 10), S = parseInt(H.borderRightWidth, 10), T = parseInt(H.borderBottomWidth, 10);
46
46
  let h = 0, g = 0;
47
- const k = "offsetWidth" in s ? s.offsetWidth - s.clientWidth - j - S : 0, x = "offsetHeight" in s ? s.offsetHeight - s.clientHeight - E - T : 0, K = "offsetWidth" in s ? s.offsetWidth === 0 ? 0 : W / s.offsetWidth : 0, $ = "offsetHeight" in s ? s.offsetHeight === 0 ? 0 : O / s.offsetHeight : 0;
47
+ const B = "offsetWidth" in s ? s.offsetWidth - s.clientWidth - j - S : 0, k = "offsetHeight" in s ? s.offsetHeight - s.clientHeight - E - T : 0, $ = "offsetWidth" in s ? s.offsetWidth === 0 ? 0 : W / s.offsetWidth : 0, q = "offsetHeight" in s ? s.offsetHeight === 0 ? 0 : O / s.offsetHeight : 0;
48
48
  if (P === s) h = c === "start" ? d : c === "end" ? d - b : c === "nearest" ? C(y, y + b, b, E, T, y + d, y + d + v, v) : d - b / 2, g = f === "start" ? u : f === "center" ? u - m / 2 : f === "end" ? u - m : C(w, w + m, m, j, S, w + u, w + u + F, F), h = Math.max(0, h + y), g = Math.max(0, g + w);
49
49
  else {
50
- h = c === "start" ? d - N - E : c === "end" ? d - Y + T + x : c === "nearest" ? C(N, Y, O, E, T + x, d, d + v, v) : d - (N + O / 2) + x / 2, g = f === "start" ? u - R - j : f === "center" ? u - (R + W / 2) + k / 2 : f === "end" ? u - X + S + k : C(R, X, W, j, S + k, u, u + F, F);
50
+ h = c === "start" ? d - N - E : c === "end" ? d - Y + T + k : c === "nearest" ? C(N, Y, O, E, T + k, d, d + v, v) : d - (N + O / 2) + k / 2, g = f === "start" ? u - R - j : f === "center" ? u - (R + W / 2) + B / 2 : f === "end" ? u - X + S + B : C(R, X, W, j, S + B, u, u + F, F);
51
51
  const { scrollLeft: Q, scrollTop: U } = s;
52
- h = $ === 0 ? 0 : Math.max(0, Math.min(U + h / $, s.scrollHeight - O / $ + x)), g = K === 0 ? 0 : Math.max(0, Math.min(Q + g / K, s.scrollWidth - W / K + k)), d += U - h, u += Q - g;
52
+ h = q === 0 ? 0 : Math.max(0, Math.min(U + h / q, s.scrollHeight - O / q + k)), g = $ === 0 ? 0 : Math.max(0, Math.min(Q + g / $, s.scrollWidth - W / $ + B)), d += U - h, u += Q - g;
53
53
  }
54
54
  A.push({ el: s, top: h, left: g });
55
55
  }