@yuku123/z-cognition-component 2.0.0 → 2.0.2

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 (175) hide show
  1. package/dist-lib/ApartmentOutlined-M6qSurnE.js +12 -0
  2. package/dist-lib/ArrowLeftOutlined-DowsrSUj.js +12 -0
  3. package/dist-lib/{ConceptsPage-DOf_CJlz.js → ConceptsPage-BOeKdDKI.js} +16 -13
  4. package/dist-lib/{DocsPage-CiC7TU96.js → DocsPage-BZOBFp3c.js} +4 -4
  5. package/dist-lib/EvidenceFormList-DXqqSpPV.js +91 -0
  6. package/dist-lib/{EyeOutlined-CH-5UdnC.js → EyeOutlined-DGSrX-0M.js} +1 -1
  7. package/dist-lib/ImpactPage-DyhUR6fT.js +71 -0
  8. package/dist-lib/{LeftOutlined-DQTflZ6D.js → LeftOutlined-Cgo6Izj-.js} +1 -1
  9. package/dist-lib/{OntologyDetailPage-mgK_NQxP.js → OntologyDetailPage-B8DyU8WW.js} +93 -99
  10. package/dist-lib/{OntologyInferPage-NUaoaQpN.js → OntologyInferPage-CvcjxpBB.js} +40 -38
  11. package/dist-lib/{OntologyListPage-C9wH01y0.js → OntologyListPage-Cb0XfpWE.js} +49 -47
  12. package/dist-lib/OntologyMaterializePage-B0f9TnJa.js +136 -0
  13. package/dist-lib/OntologyNodesPage-D4MWlm6q.js +1268 -0
  14. package/dist-lib/{OntologyValidatePage-DtkYK_l4.js → OntologyValidatePage-abQVJwzV.js} +52 -49
  15. package/dist-lib/{Pagination-Ds8VKQIT.js → Pagination-Dxslodkq.js} +258 -260
  16. package/dist-lib/PlusOutlined-B_dXo_97.js +12 -0
  17. package/dist-lib/{ReloadOutlined-B26pDoyV.js → ReloadOutlined-CS-e-TmN.js} +10 -19
  18. package/dist-lib/{ResolvePage-Cz9HORZ3.js → ResolvePage-rbQ-8nNZ.js} +33 -31
  19. package/dist-lib/{RotateRightOutlined-B575hEBK.js → RotateRightOutlined-q7zp2e47.js} +1 -1
  20. package/dist-lib/SearchOutlined-puH6bCY6.js +979 -0
  21. package/dist-lib/Skeleton-DXcERb5r.js +557 -0
  22. package/dist-lib/{Table-D8pPXolZ.js → Table-CDagah-g.js} +452 -450
  23. package/dist-lib/TagsOutlined-B4_qkn6-.js +20 -0
  24. package/dist-lib/TermDetailPage-CP0D6OvA.js +242 -0
  25. package/dist-lib/{TermsPage-BuzCMYov.js → TermsPage-CuufAyuL.js} +31 -28
  26. package/dist-lib/TextArea-DTpTS5HL.js +1897 -0
  27. package/dist-lib/ThunderboltOutlined-Bf54AaFE.js +20 -0
  28. package/dist-lib/{agents-DS0rPJGV.js → agents-CvgRLQw2.js} +46 -46
  29. package/dist-lib/{ai-CQ67aRC4.js → ai-DYDhijtn.js} +30 -30
  30. package/dist-lib/{ai-chat-share-AOB7rEOb.js → ai-chat-share-DJnybJtS.js} +14 -13
  31. package/dist-lib/{approval-LLVR3fMa.js → approval-3IbhY8Lp.js} +26 -25
  32. package/dist-lib/{approvals-D1DSA-Mw.js → approvals-Cd6CVzz4.js} +43 -42
  33. package/dist-lib/{assistant-DpabpWKV.js → assistant-cIXgilaE.js} +50 -49
  34. package/dist-lib/{assistant-history-ChvhtZwX.js → assistant-history-BQzH4ChB.js} +5 -5
  35. package/dist-lib/{assistant-summary-B0ksF8CX.js → assistant-summary-LKTj_HKM.js} +1 -1
  36. package/dist-lib/{audit-DeU1XEgQ.js → audit-CxuJ5unU.js} +1 -1
  37. package/dist-lib/{bios-Bk36bVhw.js → bios-BplnCOF4.js} +130 -125
  38. package/dist-lib/callSuper-DZEfdkXG.js +7 -0
  39. package/dist-lib/{changelog-xEt2qnho.js → changelog-BoGqt_81.js} +2 -2
  40. package/dist-lib/{changelog-CCMDMI4R.js → changelog-Cn81Dvgk.js} +1 -1
  41. package/dist-lib/chunk-YDNE64FV-DGyyfCo0.js +2004 -0
  42. package/dist-lib/colors-sdAcAcU3.js +24 -0
  43. package/dist-lib/context-Buz0ggsK.js +710 -0
  44. package/dist-lib/context-DpmyNOn3.js +21 -0
  45. package/dist-lib/createForOfIteratorHelper-DEx_aTey.js +51 -0
  46. package/dist-lib/d3-force-CZK-Rgd6.js +598 -0
  47. package/dist-lib/{dayjs.min-DoEf5yCX.js → dayjs.min-BauDENhn.js} +1 -1
  48. package/dist-lib/{detail-Xtof0GoK.js → detail-BaX7WiWV.js} +51 -50
  49. package/dist-lib/{detail-BW6dD_YP.js → detail-Cx5c4KJH.js} +89 -88
  50. package/dist-lib/{docx-preview-D4v2g8Yg.js → docx-preview-B5nQuTwk.js} +1 -1
  51. package/dist-lib/{downloads-Dj4DgBSS.js → downloads-C3Oz04OW.js} +4 -3
  52. package/dist-lib/{edit-nZ7siGuW.js → edit-Cbn2eJaJ.js} +265 -259
  53. package/dist-lib/{editor-BuhZwEsv.js → editor-mtaJBQXz.js} +21 -20
  54. package/dist-lib/embed-CR8XVkMy.js +31148 -0
  55. package/dist-lib/{evaluation-B-igEqQ9.js → evaluation-BoHiY8yT.js} +15 -14
  56. package/dist-lib/{focus-set-DfRWcq91.js → focus-set-h0YtOUB2.js} +34 -33
  57. package/dist-lib/{format-CWI99NCN.js → format-UGmYKemG.js} +1 -1
  58. package/dist-lib/index-9aQ4BzIK.js +500 -0
  59. package/dist-lib/{index-BJ2Gpcbi.js → index-B22_2Dzh.js} +2 -2
  60. package/dist-lib/index-B57Fj7Y0.js +1169 -0
  61. package/dist-lib/{index-D_-8dmug.js → index-BEjXaDfk.js} +23 -22
  62. package/dist-lib/{index-rtSfQuYs.js → index-BSlCGnzo.js} +12 -12
  63. package/dist-lib/index-Bc-Vin3j.js +256 -0
  64. package/dist-lib/{index-SAPKyv8e.js → index-Bm1sK-VN.js} +10 -10
  65. package/dist-lib/{index-g9uC_rON.js → index-BwVZgt5s.js} +129 -146
  66. package/dist-lib/{index-CZipVp1G.js → index-C3AMwzIi.js} +1 -1
  67. package/dist-lib/{index-B5jr3A7f.js → index-CHBNrCMy.js} +19 -19
  68. package/dist-lib/{index-BFRg0cn3.js → index-CLTfICbf.js} +6 -6
  69. package/dist-lib/{index-CnLkqTRm.js → index-CaXylbQR.js} +175 -173
  70. package/dist-lib/index-Cfu1W1H6.js +535 -0
  71. package/dist-lib/{index-DzrH4RQ7.js → index-Cj4DDWyj.js} +11 -10
  72. package/dist-lib/index-CrMcNEAZ.js +9656 -0
  73. package/dist-lib/index-Cy9i4Kx7.js +699 -0
  74. package/dist-lib/index-CyKWCYMK.js +218 -0
  75. package/dist-lib/{index-CjwzwBTy.js → index-D3GHtSlM.js} +94 -93
  76. package/dist-lib/{index-B8l4PAGJ.js → index-DBlG9uXV.js} +112 -108
  77. package/dist-lib/index-DBtGE89a.js +168 -0
  78. package/dist-lib/{index-CS5YTpdI.js → index-DMTPsTna.js} +4 -3
  79. package/dist-lib/index-DjFPRXl5.js +1484 -0
  80. package/dist-lib/{index-Bu6udiyN.js → index-DsuUGhTA.js} +123 -121
  81. package/dist-lib/index-DvWHYX81.js +450 -0
  82. package/dist-lib/{index-D5V4bZ4e.js → index-PBT9GksC.js} +8 -8
  83. package/dist-lib/index-Vu6sPBci.js +1884 -0
  84. package/dist-lib/index-bOY1cBol.js +4890 -0
  85. package/dist-lib/index-nQSVLWfW.js +356 -0
  86. package/dist-lib/{index-pcUZcUIA.js → index-o65vKUwa.js} +48 -47
  87. package/dist-lib/{index-K7z38Ybg.js → index-ounfql2z.js} +33 -31
  88. package/dist-lib/{index-B1rpIXU7.js → index-y7jVGGI0.js} +23 -21
  89. package/dist-lib/index.js +3 -1
  90. package/dist-lib/{jszip.min-dcaDnWUw.js → jszip.min-DcEHhn-b.js} +1 -1
  91. package/dist-lib/{kb-form-modal-9L0AUHVG.js → kb-form-modal-B0rM1ZvV.js} +71 -71
  92. package/dist-lib/{kbTeam-BECePvJe.js → kbTeam-Bh_FQH28.js} +3 -3
  93. package/dist-lib/{knowledge-base-C8gHP0dj.js → knowledge-base-Cl1Ka1e6.js} +104 -103
  94. package/dist-lib/{knowledge-hub-C9KkDv1A.js → knowledge-hub-CPuzdRiq.js} +52 -51
  95. package/dist-lib/{markdown-lite-BABX4bcl.js → markdown-lite-Cu62Fl7J.js} +181 -177
  96. package/dist-lib/{material-preview-docx-lp_xPipj.js → material-preview-docx-CH-09KeC.js} +1 -1
  97. package/dist-lib/{material-preview-pdf-CKAovvpc.js → material-preview-pdf-CTSo215V.js} +7 -7
  98. package/dist-lib/{material-preview-pptx-6Byitp0J.js → material-preview-pptx-D8XGDF-u.js} +1 -1
  99. package/dist-lib/{member-B5WF3FCj.js → member-DKDx77PD.js} +1 -1
  100. package/dist-lib/{message-kHyjuooj.js → message-BrooQ3Q7.js} +25 -24
  101. package/dist-lib/{message-D2MSaOMq.js → message-Dievi8Jw.js} +1 -1
  102. package/dist-lib/{messages-D_VDuKK7.js → messages-xTNmTS9g.js} +16 -15
  103. package/dist-lib/{meta-CEf_DYcU.js → meta-BD_qYTZu.js} +1 -1
  104. package/dist-lib/{metrics-hONGW0KG.js → metrics-DiHYqBKB.js} +2 -2
  105. package/dist-lib/{monitor-DF3WVsVV.js → monitor-BBCu3zRe.js} +8 -8
  106. package/dist-lib/{monitor-DFmEu6rH.js → monitor-BXsdMJSV.js} +4 -4
  107. package/dist-lib/{my-access-j53lA6T6.js → my-access-CEGErUgv.js} +4 -4
  108. package/dist-lib/{my-permissions-C5L8ZN2d.js → my-permissions-wSr5zv7g.js} +23 -22
  109. package/dist-lib/{new-DfZ61nMQ.js → new-BevAuTe5.js} +14 -12
  110. package/dist-lib/{ontology-CUH5qslO.js → ontology-DXGSJC-y.js} +145 -142
  111. package/dist-lib/{ontology-domains-CRC1ZRit.js → ontology-domains-jTG7CZm8.js} +88 -84
  112. package/dist-lib/ontology-modeling-CjRsa-DR.js +1039 -0
  113. package/dist-lib/{ontology-modeling-DaSk5fsh.js → ontology-modeling-DOj68TuI.js} +2125 -2117
  114. package/dist-lib/ontology-scenarios-CcAagMiP.js +660 -0
  115. package/dist-lib/{ontology-scenarios-DAbyoKV6.js → ontology-scenarios-J5kw6xgi.js} +703 -712
  116. package/dist-lib/pages-CsexFuEz.js +73 -0
  117. package/dist-lib/pages.js +3 -3
  118. package/dist-lib/{permission-CklDU2kO.js → permission-BUXo69Ne.js} +31 -31
  119. package/dist-lib/{pptx-preview.es-D4ODiBv2.js → pptx-preview.es-AUrdYKu3.js} +2 -2
  120. package/dist-lib/{preset-Bp_mvsJm.js → preset-gh5SGoYT.js} +9810 -10199
  121. package/dist-lib/{quota-DLe9so2b.js → quota-D31cXjul.js} +4 -4
  122. package/dist-lib/{row-CE051ClO.js → row-B5MnGm9M.js} +63 -61
  123. package/dist-lib/{save-blob-qKrc8-z6.js → save-blob-CiWNK-cX.js} +2 -2
  124. package/dist-lib/{scenario-mapping-preview-CSDqIN3R.js → scenario-mapping-preview-DQ_OBV4Z.js} +48 -46
  125. package/dist-lib/{scenario-simple-form-CAkhVgeV.js → scenario-simple-form-DESMvU7A.js} +425 -423
  126. package/dist-lib/{schedule-B_ujtL3h.js → schedule-BktxwX3S.js} +8 -8
  127. package/dist-lib/{settings-BIkKTQjc.js → settings-dsB3H65I.js} +147 -146
  128. package/dist-lib/{shared-Dfz1X4Mq.js → shared-CTCzvhyE.js} +1 -1
  129. package/dist-lib/{shared-utils-BeRiAkbe.js → shared-utils-BstybhBG.js} +2 -2
  130. package/dist-lib/{skills-BzpcX5fN.js → skills-CHPlMsgO.js} +40 -39
  131. package/dist-lib/{source-selection-DOL5LBrV.js → source-selection-tXqc855k.js} +16 -16
  132. package/dist-lib/{task-config-D0a7TOYt.js → task-config-BiTOiZj0.js} +4 -4
  133. package/dist-lib/{tech-CH01ekZ5.js → tech-BKlGPkV0.js} +4 -3
  134. package/dist-lib/{tools-YnTN61uE.js → tools-CouQ4FWk.js} +14 -14
  135. package/dist-lib/{use-domain-access-CXx1YzE5.js → use-domain-access-BPlNfoiP.js} +13 -13
  136. package/dist-lib/use-g6-graph-WLX0PweO.js +1119 -0
  137. package/dist-lib/{use-graph-layers-CowyyYcb.js → use-graph-layers-ja-ZIC_R.js} +50 -48
  138. package/dist-lib/useClosable-BY7FgWKy.js +59 -0
  139. package/dist-lib/useForm-Byp1LopG.js +145 -0
  140. package/dist-lib/{version-control-panel-CLy2ZXI_.js → version-control-panel-CkBm36Yk.js} +27 -26
  141. package/dist-lib/{version-management-C_v8w1E4.js → version-management-B4kIbdVc.js} +7 -6
  142. package/dist-lib/{welcome-ChEcA4Ej.js → welcome-F5iZoFB1.js} +4 -3
  143. package/package.json +2 -3
  144. package/dist-lib/EvidenceFormList-CrE2FzHk.js +0 -90
  145. package/dist-lib/ImpactPage-CYiuqy0S.js +0 -68
  146. package/dist-lib/OntologyMaterializePage-D_fDqYHY.js +0 -134
  147. package/dist-lib/OntologyNodesPage-5kH7RHwE.js +0 -2844
  148. package/dist-lib/PlusOutlined-BSTPGLOH.js +0 -21
  149. package/dist-lib/Skeleton-CxFsInYI.js +0 -671
  150. package/dist-lib/Table-Civ838nE.js +0 -20514
  151. package/dist-lib/TermDetailPage-BtkOpbPT.js +0 -263
  152. package/dist-lib/_commonjsHelpers-DaMA6jEr.js +0 -8
  153. package/dist-lib/callSuper-CwIeyYoc.js +0 -7
  154. package/dist-lib/chunk-6KYCQHYJ-DcgZQlO5.js +0 -1627
  155. package/dist-lib/context-T27uno74.js +0 -54
  156. package/dist-lib/d3-force-Cr_oBTiR.js +0 -647
  157. package/dist-lib/embed-Bs3Hmsyy.js +0 -51377
  158. package/dist-lib/index-0TvzCTD7.js +0 -2336
  159. package/dist-lib/index-4tbtbcAt.js +0 -550
  160. package/dist-lib/index-B1wh6i1C.js +0 -1308
  161. package/dist-lib/index-BVgdmf6r.js +0 -2487
  162. package/dist-lib/index-CSnvcFg-.js +0 -543
  163. package/dist-lib/index-D35Ry0PG.js +0 -1162
  164. package/dist-lib/index-DC57_dnh.js +0 -604
  165. package/dist-lib/index-DQ16Zb7x.js +0 -546
  166. package/dist-lib/index-DRcTwC17.js +0 -418
  167. package/dist-lib/index-Dd9pPAT3.js +0 -2192
  168. package/dist-lib/index-DxzorPvG.js +0 -13960
  169. package/dist-lib/index-If4xc1-H.js +0 -559
  170. package/dist-lib/index-R71k3nB_.js +0 -710
  171. package/dist-lib/index-mUlorJxp.js +0 -3279
  172. package/dist-lib/ontology-modeling-CvJIImxt.js +0 -3612
  173. package/dist-lib/ontology-scenarios-BRDkk3uA.js +0 -675
  174. package/dist-lib/pages-CticGC6S.js +0 -512
  175. package/dist-lib/use-g6-graph-SwJtPLce.js +0 -57552
@@ -1,33 +1,35 @@
1
- import { aX as W, h as r, ak as $, aB as U, cj as G, aD as E, am as T, cC as X } from "./embed-Bs3Hmsyy.js";
1
+ import { a3 as k, d as B, c as U, y as G, a2 as E } from "./index-CrMcNEAZ.js";
2
+ import { S as l, j as T } from "./index-bOY1cBol.js";
2
3
  import * as t from "react";
4
+ import { c as Y } from "./SearchOutlined-puH6bCY6.js";
3
5
  const {
4
6
  Option: v
5
- } = r;
7
+ } = l;
6
8
  function N(e) {
7
9
  return (e == null ? void 0 : e.type) && (e.type.isSelectOption || e.type.isSelectOptGroup);
8
10
  }
9
- const Y = (e, h) => {
11
+ const F = (e, y) => {
10
12
  var i, d;
11
13
  const {
12
14
  prefixCls: w,
13
- className: y,
15
+ className: h,
14
16
  popupClassName: x,
15
17
  dropdownClassName: P,
16
- children: C,
17
- dataSource: O,
18
+ children: f,
19
+ dataSource: C,
18
20
  dropdownStyle: _,
19
21
  dropdownRender: R,
20
22
  popupRender: b,
21
- onDropdownVisibleChange: D,
22
- onOpenChange: A,
23
+ onDropdownVisibleChange: A,
24
+ onOpenChange: D,
23
25
  styles: n,
24
26
  classNames: s
25
- } = e, p = W(C), a = ((i = n == null ? void 0 : n.popup) === null || i === void 0 ? void 0 : i.root) || _, V = ((d = s == null ? void 0 : s.popup) === null || d === void 0 ? void 0 : d.root) || x || P, z = b || R, I = A || D;
26
- let l;
27
- p.length === 1 && /* @__PURE__ */ t.isValidElement(p[0]) && !N(p[0]) && ([l] = p);
28
- const j = l ? () => l : void 0;
27
+ } = e, p = k(f), r = ((i = n == null ? void 0 : n.popup) === null || i === void 0 ? void 0 : i.root) || _, V = ((d = s == null ? void 0 : s.popup) === null || d === void 0 ? void 0 : d.root) || x || P, z = b || R, I = D || A;
28
+ let a;
29
+ p.length === 1 && /* @__PURE__ */ t.isValidElement(p[0]) && !N(p[0]) && ([a] = p);
30
+ const j = a ? () => a : void 0;
29
31
  let c;
30
- if (p.length && N(p[0]) ? c = C : c = O ? O.map((o) => {
32
+ if (p.length && N(p[0]) ? c = f : c = C ? C.map((o) => {
31
33
  if (/* @__PURE__ */ t.isValidElement(o))
32
34
  return o;
33
35
  switch (typeof o) {
@@ -49,8 +51,8 @@ const Y = (e, h) => {
49
51
  return;
50
52
  }
51
53
  }) : [], process.env.NODE_ENV !== "production") {
52
- const o = $("AutoComplete");
53
- process.env.NODE_ENV !== "production" && o(!l || !("size" in e), "usage", "You need to control style self instead of setting `size` when using customize input."), Object.entries({
54
+ const o = B("AutoComplete");
55
+ process.env.NODE_ENV !== "production" && o(!a || !("size" in e), "usage", "You need to control style self instead of setting `size` when using customize input."), Object.entries({
54
56
  dropdownMatchSelectWidth: "popupMatchSelectWidth",
55
57
  dropdownStyle: "styles.popup.root",
56
58
  dropdownClassName: "classNames.popup.root",
@@ -58,18 +60,18 @@ const Y = (e, h) => {
58
60
  dropdownRender: "popupRender",
59
61
  onDropdownVisibleChange: "onOpenChange",
60
62
  dataSource: "options"
61
- }).forEach(([g, M]) => {
62
- o.deprecated(!(g in e), g, M);
63
+ }).forEach(([g, $]) => {
64
+ o.deprecated(!(g in e), g, $);
63
65
  });
64
66
  }
65
67
  const {
66
- getPrefixCls: k
67
- } = t.useContext(U), f = k("select", w), [B] = G("SelectLike", a == null ? void 0 : a.zIndex);
68
- return /* @__PURE__ */ t.createElement(r, Object.assign({
69
- ref: h,
68
+ getPrefixCls: M
69
+ } = t.useContext(U), O = M("select", w), [W] = G("SelectLike", r == null ? void 0 : r.zIndex);
70
+ return /* @__PURE__ */ t.createElement(l, Object.assign({
71
+ ref: y,
70
72
  suffixIcon: null
71
73
  }, E(e, ["dataSource", "dropdownClassName", "popupClassName"]), {
72
- prefixCls: f,
74
+ prefixCls: O,
73
75
  classNames: {
74
76
  popup: {
75
77
  root: V
@@ -78,26 +80,26 @@ const Y = (e, h) => {
78
80
  },
79
81
  styles: {
80
82
  popup: {
81
- root: Object.assign(Object.assign({}, a), {
82
- zIndex: B
83
+ root: Object.assign(Object.assign({}, r), {
84
+ zIndex: W
83
85
  })
84
86
  },
85
87
  root: n == null ? void 0 : n.root
86
88
  },
87
- className: T(`${f}-auto-complete`, y),
88
- mode: r.SECRET_COMBOBOX_MODE_DO_NOT_USE,
89
+ className: Y(`${O}-auto-complete`, h),
90
+ mode: l.SECRET_COMBOBOX_MODE_DO_NOT_USE,
89
91
  popupRender: z,
90
92
  onOpenChange: I,
91
93
  // Internal api
92
94
  getInputElement: j
93
95
  }), c);
94
- }, m = /* @__PURE__ */ t.forwardRef(Y);
96
+ }, m = /* @__PURE__ */ t.forwardRef(F);
95
97
  process.env.NODE_ENV !== "production" && (m.displayName = "AutoComplete");
96
98
  const {
97
- Option: F
98
- } = r, L = X(m, "dropdownAlign", (e) => E(e, ["visible"])), S = m;
99
- S.Option = F;
100
- S._InternalPanelDoNotUseOrYouWillBeFired = L;
99
+ Option: L
100
+ } = l, X = T(m, "dropdownAlign", (e) => E(e, ["visible"])), S = m;
101
+ S.Option = L;
102
+ S._InternalPanelDoNotUseOrYouWillBeFired = X;
101
103
  export {
102
104
  S as A
103
105
  };
@@ -1,7 +1,9 @@
1
1
  import * as s from "react";
2
- import { isValidElement as F } from "react";
3
- import { ah as U, aA as X, ch as Y, ai as Z, ce as q, aB as J, am as x, al as Q, bG as ee, ck as te, be as oe, c0 as ne } from "./embed-Bs3Hmsyy.js";
4
- import { b as re, c as ae, d as se, P as le, T as ie } from "./index-g9uC_rON.js";
2
+ import { isValidElement as G } from "react";
3
+ import { c as x } from "./SearchOutlined-puH6bCY6.js";
4
+ import { g as U, m as X, r as Y, aL as Z, c as q, a8 as J, N as Q, E as ee, ay as te, i as oe } from "./index-CrMcNEAZ.js";
5
+ import { g as ne, a as re, b as ae, P as se, T as le } from "./index-BwVZgt5s.js";
6
+ import { a as ie } from "./index-bOY1cBol.js";
5
7
  const h = (e) => e ? typeof e == "function" ? e() : e : null, ce = (e) => {
6
8
  const {
7
9
  componentCls: o,
@@ -22,7 +24,7 @@ const h = (e) => e ? typeof e == "function" ? e() : e : null, ce = (e) => {
22
24
  } = e;
23
25
  return [
24
26
  {
25
- [o]: Object.assign(Object.assign({}, Z(e)), {
27
+ [o]: Object.assign(Object.assign({}, Y(e)), {
26
28
  position: "absolute",
27
29
  top: 0,
28
30
  // use `left` to fix https://github.com/ant-design/ant-design/issues/39195
@@ -73,7 +75,7 @@ const h = (e) => e ? typeof e == "function" ? e() : e : null, ce = (e) => {
73
75
  })
74
76
  },
75
77
  // Arrow Style
76
- se(e, "var(--antd-arrow-background-color)"),
78
+ ae(e, "var(--antd-arrow-background-color)"),
77
79
  // Pure Render
78
80
  {
79
81
  [`${o}-pure`]: {
@@ -92,7 +94,7 @@ const h = (e) => e ? typeof e == "function" ? e() : e : null, ce = (e) => {
92
94
  componentCls: o
93
95
  } = e;
94
96
  return {
95
- [o]: q.map((n) => {
97
+ [o]: Z.map((n) => {
96
98
  const t = e[`${n}6`];
97
99
  return {
98
100
  [`&${o}-${n}`]: {
@@ -124,7 +126,7 @@ const h = (e) => e ? typeof e == "function" ? e() : e : null, ce = (e) => {
124
126
  return Object.assign(Object.assign(Object.assign({
125
127
  titleMinWidth: 177,
126
128
  zIndexPopup: d + 30
127
- }, re(e)), ae({
129
+ }, ne(e)), re({
128
130
  contentRadius: p,
129
131
  limitVerticalRadius: !0
130
132
  })), {
@@ -143,7 +145,7 @@ const h = (e) => e ? typeof e == "function" ? e() : e : null, ce = (e) => {
143
145
  popoverBg: o,
144
146
  popoverColor: n
145
147
  });
146
- return [ce(t), de(t), Y(t, "zoom-big")];
148
+ return [ce(t), de(t), ie(t, "zoom-big")];
147
149
  }, pe, {
148
150
  resetStyle: !1,
149
151
  deprecatedTokens: [["width", "titleMinWidth"], ["minWidth", "titleMinWidth"]]
@@ -179,7 +181,7 @@ const k = ({
179
181
  style: r
180
182
  }, /* @__PURE__ */ s.createElement("div", {
181
183
  className: `${n}-arrow`
182
- }), /* @__PURE__ */ s.createElement(le, Object.assign({}, e, {
184
+ }), /* @__PURE__ */ s.createElement(se, Object.assign({}, e, {
183
185
  className: o,
184
186
  prefixCls: n
185
187
  }), m || /* @__PURE__ */ s.createElement(k, {
@@ -193,7 +195,7 @@ const k = ({
193
195
  className: n
194
196
  } = e, t = me(e, ["prefixCls", "className"]), {
195
197
  getPrefixCls: r
196
- } = s.useContext(J), a = r("popover", o), [d, p, m] = _(a);
198
+ } = s.useContext(q), a = r("popover", o), [d, p, m] = _(a);
197
199
  return d(/* @__PURE__ */ s.createElement(ge, Object.assign({}, t, {
198
200
  prefixCls: a,
199
201
  hashId: p,
@@ -229,17 +231,17 @@ const ve = /* @__PURE__ */ s.forwardRef((e, o) => {
229
231
  style: W,
230
232
  classNames: S,
231
233
  styles: $
232
- } = Q("popover"), O = w("popover", r), [D, z, M] = _(O), R = w(), V = x(p, z, M, I, S.root, y == null ? void 0 : y.root), A = x(S.body, y == null ? void 0 : y.body), [H, L] = ee(!1, {
234
+ } = J("popover"), O = w("popover", r), [D, z, M] = _(O), R = w(), V = x(p, z, M, I, S.root, y == null ? void 0 : y.root), L = x(S.body, y == null ? void 0 : y.body), [A, H] = Q(!1, {
233
235
  value: (n = e.open) !== null && n !== void 0 ? n : e.visible,
234
236
  defaultValue: (t = e.defaultOpen) !== null && t !== void 0 ? t : e.defaultVisible
235
237
  }), j = (c, C) => {
236
- L(c, !0), f == null || f(c, C);
237
- }, G = (c) => {
238
- c.keyCode === ne.ESC && j(!1, c);
238
+ H(c, !0), f == null || f(c, C);
239
239
  }, K = (c) => {
240
+ c.keyCode === oe.ESC && j(!1, c);
241
+ }, F = (c) => {
240
242
  j(c);
241
243
  }, E = h(a), B = h(d);
242
- return D(/* @__PURE__ */ s.createElement(ie, Object.assign({
244
+ return D(/* @__PURE__ */ s.createElement(le, Object.assign({
243
245
  placement: m,
244
246
  trigger: g,
245
247
  mouseEnterDelay: u,
@@ -248,26 +250,26 @@ const ve = /* @__PURE__ */ s.forwardRef((e, o) => {
248
250
  prefixCls: O,
249
251
  classNames: {
250
252
  root: V,
251
- body: A
253
+ body: L
252
254
  },
253
255
  styles: {
254
256
  root: Object.assign(Object.assign(Object.assign(Object.assign({}, $.root), W), b), i == null ? void 0 : i.root),
255
257
  body: Object.assign(Object.assign({}, $.body), i == null ? void 0 : i.body)
256
258
  },
257
259
  ref: o,
258
- open: H,
259
- onOpenChange: K,
260
+ open: A,
261
+ onOpenChange: F,
260
262
  overlay: E || B ? /* @__PURE__ */ s.createElement(k, {
261
263
  prefixCls: O,
262
264
  title: E,
263
265
  content: B
264
266
  }) : null,
265
- transitionName: te(R, "zoom-big", N.transitionName),
267
+ transitionName: ee(R, "zoom-big", N.transitionName),
266
268
  "data-popover-inject": !0
267
- }), oe(l, {
269
+ }), te(l, {
268
270
  onKeyDown: (c) => {
269
271
  var C, P;
270
- /* @__PURE__ */ F(l) && ((P = l == null ? void 0 : (C = l.props).onKeyDown) === null || P === void 0 || P.call(C, c)), G(c);
272
+ /* @__PURE__ */ G(l) && ((P = l == null ? void 0 : (C = l.props).onKeyDown) === null || P === void 0 || P.call(C, c)), K(c);
271
273
  }
272
274
  })));
273
275
  }), T = ve;
package/dist-lib/index.js CHANGED
@@ -1,5 +1,7 @@
1
1
  import "react/jsx-runtime";
2
- import { dH as a } from "./embed-Bs3Hmsyy.js";
2
+ import { aO as a } from "./embed-CR8XVkMy.js";
3
+ import "./index-CrMcNEAZ.js";
4
+ import "./chunk-YDNE64FV-DGyyfCo0.js";
3
5
  export {
4
6
  a as default
5
7
  };
@@ -1,4 +1,4 @@
1
- import { c as bt, g as It } from "./_commonjsHelpers-DaMA6jEr.js";
1
+ import { A as bt, g as It } from "./SearchOutlined-puH6bCY6.js";
2
2
  function vt(yt) {
3
3
  throw new Error('Could not dynamically require "' + yt + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
4
4
  }
@@ -1,16 +1,16 @@
1
- import { jsx as a, jsxs as i, Fragment as _ } from "react/jsx-runtime";
2
- import { T as B, $ as O, j as K, I as m, a0 as H, U, a1 as j, a2 as q, a3 as F, t as G } from "./embed-Bs3Hmsyy.js";
1
+ import { jsx as t, jsxs as i, Fragment as _ } from "react/jsx-runtime";
2
+ import { K as B, T as K, e as O, I as m, U as H, L as U, V as q, W as F, X as j, t as G } from "./embed-CR8XVkMy.js";
3
3
  import { H as u } from "./index-mmwKYfDC.js";
4
- import { useState as s, useMemo as X, useEffect as Y } from "react";
5
- const Z = "z-cognition:kb-changed";
6
- function ae() {
7
- typeof window < "u" && window.dispatchEvent(new Event(Z));
4
+ import { useState as s, useMemo as X, useEffect as W } from "react";
5
+ const Y = "z-cognition:kb-changed";
6
+ function te() {
7
+ typeof window < "u" && window.dispatchEvent(new Event(Y));
8
8
  }
9
- function J() {
9
+ function Z() {
10
10
  const n = /* @__PURE__ */ new Date(), e = (h) => String(h).padStart(2, "0"), r = `${n.getFullYear()}${e(n.getMonth() + 1)}${e(n.getDate())}_${e(n.getHours())}${e(n.getMinutes())}`, d = Math.random().toString(36).slice(2, 6).replace(/[^a-z0-9]/g, "x");
11
11
  return `kb_${r}_${d}`;
12
12
  }
13
- function te({
13
+ function ae({
14
14
  mode: n,
15
15
  kb: e,
16
16
  teams: r = [],
@@ -18,30 +18,30 @@ function te({
18
18
  onClose: h,
19
19
  onSaved: C
20
20
  }) {
21
- const g = B(), [E, $] = s(e ? e.name : ""), [y] = s(() => e ? e.code : J()), [w, P] = s(""), [I, S] = s(
21
+ const g = B(), [E, $] = s(e ? e.name : ""), [y] = s(() => e ? e.code : Z()), [w, P] = s(""), [I, S] = s(
22
22
  e && e.embeddingModel || ""
23
- ), [p, R] = s(
23
+ ), [p, V] = s(
24
24
  e && e.description || ""
25
25
  ), [o, M] = s(
26
26
  (e == null ? void 0 : e.visibility) || "PUBLIC"
27
- ), [v, V] = s(() => (e == null ? void 0 : e.scopeType) === "TEAM" && e.teamId ? `TEAM:${e.teamId}` : d && r.some((t) => t.teamId === d) ? `TEAM:${d}` : "PERSONAL"), [T, f] = s(""), [x, A] = s(!1), N = X(() => {
28
- const t = /^TEAM:(.+)$/.exec(v);
29
- return t ? r.find((c) => c.teamId === t[1]) : void 0;
30
- }, [v, r]), l = !!N, z = l ? "TEAM" : "PERSONAL";
31
- Y(() => {
27
+ ), [v, L] = s(() => (e == null ? void 0 : e.scopeType) === "TEAM" && e.teamId ? `TEAM:${e.teamId}` : d && r.some((a) => a.teamId === d) ? `TEAM:${d}` : "PERSONAL"), [T, f] = s(""), [R, A] = s(!1), N = X(() => {
28
+ const a = /^TEAM:(.+)$/.exec(v);
29
+ return a ? r.find((c) => c.teamId === a[1]) : void 0;
30
+ }, [v, r]), l = !!N, x = l ? "TEAM" : "PERSONAL";
31
+ W(() => {
32
32
  if (n !== "create")
33
33
  return;
34
- let t = !0;
35
- return O().then((c) => {
36
- t && (c != null && c.name) && P(c.name);
34
+ let a = !0;
35
+ return K().then((c) => {
36
+ a && (c != null && c.name) && P(c.name);
37
37
  }).catch(() => {
38
38
  }), () => {
39
- t = !1;
39
+ a = !1;
40
40
  };
41
41
  }, [n]);
42
- const D = async () => {
43
- const t = E.trim(), c = y.trim();
44
- if (t.length < 2) {
42
+ const z = async () => {
43
+ const a = E.trim(), c = y.trim();
44
+ if (a.length < 2) {
45
45
  f("知识库名称至少 2 个字符");
46
46
  return;
47
47
  }
@@ -50,44 +50,44 @@ function te({
50
50
  return;
51
51
  }
52
52
  f(""), A(!0);
53
- const L = n === "create" ? await q({
54
- name: t,
53
+ const D = n === "create" ? await F({
54
+ name: a,
55
55
  code: c,
56
56
  type: "MIX",
57
57
  description: p.trim(),
58
58
  embeddingModel: I.trim() || void 0,
59
- scopeType: z,
59
+ scopeType: x,
60
60
  teamId: l ? N.teamId : void 0,
61
61
  ...l ? {} : { visibility: o }
62
- }) : await F({
62
+ }) : await j({
63
63
  kbId: e.kbId,
64
- name: t,
64
+ name: a,
65
65
  description: p.trim()
66
66
  });
67
- A(!1), L !== void 0 && (G(
67
+ A(!1), D !== void 0 && (G(
68
68
  n === "create" ? l ? "团队知识库已创建" : "知识库已创建" : "基本信息已保存",
69
- t,
69
+ a,
70
70
  "success"
71
71
  ), C());
72
72
  };
73
- return /* @__PURE__ */ a(
74
- K,
73
+ return /* @__PURE__ */ t(
74
+ O,
75
75
  {
76
76
  icon: n === "create" ? "plus" : "edit",
77
77
  title: n === "create" ? l ? "新建团队知识库" : "新建知识库" : `编辑知识库 · ${(e == null ? void 0 : e.name) || ""}`,
78
78
  width: 720,
79
79
  onClose: h,
80
80
  footRight: /* @__PURE__ */ i(_, { children: [
81
- /* @__PURE__ */ a("button", { className: "btn", type: "button", onClick: h, children: "取消" }),
81
+ /* @__PURE__ */ t("button", { className: "btn", type: "button", onClick: h, children: "取消" }),
82
82
  /* @__PURE__ */ i(
83
83
  "button",
84
84
  {
85
85
  className: "btn primary",
86
86
  type: "button",
87
- disabled: x,
88
- onClick: D,
87
+ disabled: R,
88
+ onClick: z,
89
89
  children: [
90
- /* @__PURE__ */ a(m, { name: "check", size: 13 }),
90
+ /* @__PURE__ */ t(m, { name: "check", size: 13 }),
91
91
  n === "create" ? l ? "创建团队知识库" : "创建知识库" : "保存修改"
92
92
  ]
93
93
  }
@@ -98,42 +98,42 @@ function te({
98
98
  /* @__PURE__ */ i("div", { className: "field", children: [
99
99
  /* @__PURE__ */ i("label", { children: [
100
100
  "知识库名称 ",
101
- /* @__PURE__ */ a("span", { className: "req", children: "*" })
101
+ /* @__PURE__ */ t("span", { className: "req", children: "*" })
102
102
  ] }),
103
- /* @__PURE__ */ a(
103
+ /* @__PURE__ */ t(
104
104
  "input",
105
105
  {
106
106
  className: "input",
107
107
  value: E,
108
108
  placeholder: "例如:心内科诊疗知识库",
109
- onChange: (t) => $(t.target.value)
109
+ onChange: (a) => $(a.target.value)
110
110
  }
111
111
  )
112
112
  ] }),
113
113
  /* @__PURE__ */ i("div", { className: "field", children: [
114
114
  /* @__PURE__ */ i("label", { children: [
115
115
  "编码",
116
- /* @__PURE__ */ a(
116
+ /* @__PURE__ */ t(
117
117
  u,
118
118
  {
119
119
  className: "field-hint field-hint-code",
120
120
  hint: "自动生成,创建后不可修改;MD 导入使用 kbCode。",
121
- children: /* @__PURE__ */ a(m, { name: "help-circle", size: 12 })
121
+ children: /* @__PURE__ */ t(m, { name: "help-circle", size: 12 })
122
122
  }
123
123
  )
124
124
  ] }),
125
- /* @__PURE__ */ a("div", { className: "readonly-value mono", children: y })
125
+ /* @__PURE__ */ t("div", { className: "readonly-value mono", children: y })
126
126
  ] }),
127
127
  /* @__PURE__ */ i("div", { className: "field", children: [
128
128
  /* @__PURE__ */ i("label", { children: [
129
129
  "归属 ",
130
- /* @__PURE__ */ a("span", { className: "req", children: "*" }),
131
- /* @__PURE__ */ a(
130
+ /* @__PURE__ */ t("span", { className: "req", children: "*" }),
131
+ /* @__PURE__ */ t(
132
132
  u,
133
133
  {
134
134
  className: "field-hint field-hint-scope",
135
135
  hint: r.length ? "个人库归自己;团队知识库归所选团队,创建后不可改。" : "当前没有可管理的团队,只能创建个人知识库。",
136
- children: /* @__PURE__ */ a(m, { name: "help-circle", size: 12 })
136
+ children: /* @__PURE__ */ t(m, { name: "help-circle", size: 12 })
137
137
  }
138
138
  )
139
139
  ] }),
@@ -142,61 +142,61 @@ function te({
142
142
  {
143
143
  className: "select",
144
144
  value: v,
145
- onChange: (t) => V(t.target.value),
145
+ onChange: (a) => L(a.target.value),
146
146
  children: [
147
- /* @__PURE__ */ a("option", { value: "PERSONAL", children: "个人 · 我的知识库" }),
148
- r.map((t) => /* @__PURE__ */ i("option", { value: `TEAM:${t.teamId}`, children: [
147
+ /* @__PURE__ */ t("option", { value: "PERSONAL", children: "个人 · 我的知识库" }),
148
+ r.map((a) => /* @__PURE__ */ i("option", { value: `TEAM:${a.teamId}`, children: [
149
149
  "团队 · ",
150
- t.name
151
- ] }, t.teamId))
150
+ a.name
151
+ ] }, a.teamId))
152
152
  ]
153
153
  }
154
- ) : /* @__PURE__ */ a("div", { className: "readonly-value", children: (e == null ? void 0 : e.scopeType) === "TEAM" ? `团队 · ${e.teamName || e.teamId || "未知团队"}` : "个人 · 我的" })
154
+ ) : /* @__PURE__ */ t("div", { className: "readonly-value", children: (e == null ? void 0 : e.scopeType) === "TEAM" ? `团队 · ${e.teamName || e.teamId || "未知团队"}` : "个人 · 我的" })
155
155
  ] }),
156
156
  /* @__PURE__ */ i("div", { className: "field span-2", children: [
157
157
  /* @__PURE__ */ i("label", { children: [
158
158
  "嵌入模型",
159
- /* @__PURE__ */ a(
159
+ /* @__PURE__ */ t(
160
160
  u,
161
161
  {
162
162
  className: "field-hint field-hint-model",
163
163
  hint: n === "create" ? "跟随服务端默认或指定模型;创建后不可修改。" : "创建后不可修改。",
164
- children: /* @__PURE__ */ a(m, { name: "help-circle", size: 12 })
164
+ children: /* @__PURE__ */ t(m, { name: "help-circle", size: 12 })
165
165
  }
166
166
  )
167
167
  ] }),
168
- n === "create" ? /* @__PURE__ */ a(
168
+ n === "create" ? /* @__PURE__ */ t(
169
169
  "select",
170
170
  {
171
171
  className: "select mono",
172
172
  value: I,
173
- onChange: (t) => S(t.target.value),
174
- children: H.map((t) => /* @__PURE__ */ a("option", { value: t.value, children: t.label }, t.value || "default"))
173
+ onChange: (a) => S(a.target.value),
174
+ children: H.map((a) => /* @__PURE__ */ t("option", { value: a.value, children: a.label }, a.value || "default"))
175
175
  }
176
- ) : /* @__PURE__ */ a("div", { className: "readonly-value", children: (e == null ? void 0 : e.embeddingModel) || "—" })
176
+ ) : /* @__PURE__ */ t("div", { className: "readonly-value", children: (e == null ? void 0 : e.embeddingModel) || "—" })
177
177
  ] }),
178
178
  /* @__PURE__ */ i("div", { className: "field", children: [
179
- /* @__PURE__ */ a("label", { children: "所属租户" }),
180
- /* @__PURE__ */ a("div", { className: "readonly-value", children: g ? U(g) : "—" })
179
+ /* @__PURE__ */ t("label", { children: "所属租户" }),
180
+ /* @__PURE__ */ t("div", { className: "readonly-value", children: g ? U(g) : "—" })
181
181
  ] }),
182
182
  /* @__PURE__ */ i("div", { className: "field", children: [
183
- /* @__PURE__ */ a("label", { children: "负责人" }),
184
- /* @__PURE__ */ a("div", { className: "readonly-value", children: n === "create" ? w || `本地账号 actorId ${j()}` : `actorId ${e == null ? void 0 : e.ownerId}` })
183
+ /* @__PURE__ */ t("label", { children: "负责人" }),
184
+ /* @__PURE__ */ t("div", { className: "readonly-value", children: n === "create" ? w || `本地账号 actorId ${q()}` : `actorId ${e == null ? void 0 : e.ownerId}` })
185
185
  ] }),
186
186
  /* @__PURE__ */ i("div", { className: "field span-2", children: [
187
187
  /* @__PURE__ */ i("label", { children: [
188
188
  "可见性",
189
- n === "create" && !l ? /* @__PURE__ */ a(
189
+ n === "create" && !l ? /* @__PURE__ */ t(
190
190
  u,
191
191
  {
192
192
  className: "field-hint field-hint-visibility",
193
193
  hint: o === "PRIVATE" ? "仅你和被授权成员可见,不出现在其他人的列表里。" : "租户内成员都能看到,进入和操作仍按权限控制。",
194
- children: /* @__PURE__ */ a(m, { name: "help-circle", size: 12 })
194
+ children: /* @__PURE__ */ t(m, { name: "help-circle", size: 12 })
195
195
  }
196
196
  ) : null
197
197
  ] }),
198
198
  n === "create" && !l ? /* @__PURE__ */ i("div", { className: "segmented sm", children: [
199
- /* @__PURE__ */ a(
199
+ /* @__PURE__ */ t(
200
200
  "button",
201
201
  {
202
202
  className: o === "PUBLIC" ? "active" : "",
@@ -205,7 +205,7 @@ function te({
205
205
  children: "公开"
206
206
  }
207
207
  ),
208
- /* @__PURE__ */ a(
208
+ /* @__PURE__ */ t(
209
209
  "button",
210
210
  {
211
211
  className: o === "PRIVATE" ? "active" : "",
@@ -214,22 +214,22 @@ function te({
214
214
  children: "私有"
215
215
  }
216
216
  )
217
- ] }) : /* @__PURE__ */ a("div", { className: "readonly-value", children: l ? N.visibility === "PRIVATE" ? "团队私密 · 仅成员可见(跟随团队)" : "团队公开 · 租户内可发现(跟随团队)" : (e == null ? void 0 : e.scopeType) === "TEAM" ? "跟随团队" : o === "PRIVATE" ? "私有" : "公开" })
217
+ ] }) : /* @__PURE__ */ t("div", { className: "readonly-value", children: l ? N.visibility === "PRIVATE" ? "团队私密 · 仅成员可见(跟随团队)" : "团队公开 · 租户内可发现(跟随团队)" : (e == null ? void 0 : e.scopeType) === "TEAM" ? "跟随团队" : o === "PRIVATE" ? "私有" : "公开" })
218
218
  ] }),
219
219
  /* @__PURE__ */ i("div", { className: "field span-2", children: [
220
- /* @__PURE__ */ a("label", { children: "描述" }),
221
- /* @__PURE__ */ a(
220
+ /* @__PURE__ */ t("label", { children: "描述" }),
221
+ /* @__PURE__ */ t(
222
222
  "textarea",
223
223
  {
224
224
  className: "textarea",
225
225
  value: p,
226
226
  placeholder: "说明这个库服务什么场景",
227
- onChange: (t) => R(t.target.value)
227
+ onChange: (a) => V(a.target.value)
228
228
  }
229
229
  )
230
230
  ] })
231
231
  ] }),
232
- T ? /* @__PURE__ */ a(
232
+ T ? /* @__PURE__ */ t(
233
233
  "div",
234
234
  {
235
235
  className: "note",
@@ -242,6 +242,6 @@ function te({
242
242
  );
243
243
  }
244
244
  export {
245
- te as K,
246
- ae as e
245
+ ae as K,
246
+ te as e
247
247
  };
@@ -1,4 +1,4 @@
1
- import { t as d, r as t, K as m } from "./embed-Bs3Hmsyy.js";
1
+ import { t as d, r as t, C as m } from "./embed-CR8XVkMy.js";
2
2
  const a = "/kb/v1/knowledgeBase/team", r = () => ({ "X-Tenant-Code": m() });
3
3
  async function s(e, o = {}) {
4
4
  try {
@@ -73,7 +73,7 @@ function T(e, o) {
73
73
  })
74
74
  );
75
75
  }
76
- function K(e, o = {}) {
76
+ function l(e, o = {}) {
77
77
  return s(
78
78
  () => t(`${a}/remove`, {
79
79
  method: "post",
@@ -86,7 +86,7 @@ function K(e, o = {}) {
86
86
  export {
87
87
  f as a,
88
88
  i as c,
89
- K as d,
89
+ l as d,
90
90
  h as l,
91
91
  c as q,
92
92
  T as r,