@yuku123/z-cognition-component 2.0.3 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/{BaseInput-DHrGPDB9.js → BaseInput-BYGhTvYI.js} +1 -1
- package/dist-lib/{ClockCircleOutlined-DP6fSLgk.js → ClockCircleOutlined-DACEazDR.js} +1 -1
- package/dist-lib/{Collapse-B77SsmFh.js → Collapse-CZbXdmBX.js} +85 -85
- package/dist-lib/{DeleteOutlined-BAZSAooQ.js → DeleteOutlined-CtmAIIV3.js} +4 -4
- package/dist-lib/{EllipsisOutlined-Dr4orLLw.js → EllipsisOutlined-pgnttbec.js} +94 -94
- package/dist-lib/{EyeOutlined-CudyDdjH.js → EyeOutlined-WKo_SfEi.js} +1 -1
- package/dist-lib/{LeftOutlined-CJasZIyX.js → LeftOutlined-B79bB1ZG.js} +1 -1
- package/dist-lib/{Pagination-BJ8wnqAa.js → Pagination-CFhUxTf8.js} +4 -4
- package/dist-lib/{RotateRightOutlined-DqyspFCO.js → RotateRightOutlined-TrlUrEUZ.js} +1 -1
- package/dist-lib/{Table-J_7eBbi7.js → Table-BF9fhMoT.js} +120 -120
- package/dist-lib/{accessAk-CA30m5eX.js → accessAk-BKnWRdnG.js} +1 -1
- package/dist-lib/{agents-eZDKzePP.js → agents-B5wsLzS-.js} +17 -17
- package/dist-lib/{ai-CNSn3-sd.js → ai-CccmxFWN.js} +1 -1
- package/dist-lib/{ai-chat-share-Yrqt_J6a.js → ai-chat-share-BjZFvUph.js} +4 -4
- package/dist-lib/{ak-manage-DklVFT5I.js → ak-manage-DD_F6560.js} +12 -12
- package/dist-lib/{approval-B-bCSmfi.js → approval-a4d4zlUd.js} +3 -3
- package/dist-lib/{approvals-B0ggYiyD.js → approvals-DnwdMEU5.js} +2 -2
- package/dist-lib/{assistant-Of0mgMsM.js → assistant-BA6oeNSC.js} +39 -39
- package/dist-lib/{assistant-history-DcyDhUzJ.js → assistant-history-Dfykk2a4.js} +5 -5
- package/dist-lib/{assistant-summary-CjLaTyFz.js → assistant-summary-BkmSqskU.js} +1 -1
- package/dist-lib/{audit-wDNCfmOy.js → audit-ZZhtw95x.js} +1 -1
- package/dist-lib/{bios-CIwO1AUK.js → bios-CSjjJ5Bc.js} +11 -11
- package/dist-lib/{callSuper-CpMOVGin.js → callSuper-Bk-mj4By.js} +1 -1
- package/dist-lib/{category-9gqNseEa.js → category-9CorlqP4.js} +1 -1
- package/dist-lib/{causal-CzAYukj9.js → causal-CYR-CTQK.js} +5 -5
- package/dist-lib/{changelog-CQfIMS51.js → changelog-BcZ6KQ3C.js} +2 -2
- package/dist-lib/{changelog-sKJMQrlV.js → changelog-Bqm52V9T.js} +1 -1
- package/dist-lib/{chat-panel-BPbqKckR.js → chat-panel-Ctr_CdZu.js} +28 -28
- package/dist-lib/{code-space-D_ZE966E.js → code-space-DG83npvh.js} +9 -9
- package/dist-lib/{colors-DpKdb8L-.js → colors-DJzrNkCt.js} +3 -3
- package/dist-lib/{community-9_7ExHcm.js → community-CXEbdg7X.js} +1 -1
- package/dist-lib/{community-CfWXxujB.js → community-Cmx4qRHG.js} +3 -3
- package/dist-lib/{community-material-page-Z_EZuBPl.js → community-material-page-jguoD9kV.js} +19 -19
- package/dist-lib/{connections-Bcqsp11M.js → connections-DJAsz2Hb.js} +6 -6
- package/dist-lib/{createForOfIteratorHelper-CasBzL_Q.js → createForOfIteratorHelper-BArIG0W5.js} +1 -1
- package/dist-lib/{detail-CV6xp_Jp.js → detail-BWBtDkWH.js} +4 -4
- package/dist-lib/{detail-EyLdjGpX.js → detail-CLqCbf3i.js} +37 -37
- package/dist-lib/{detail-DioaWKWj.js → detail-DKLwIzyI.js} +14 -14
- package/dist-lib/{development-CFcOIUKc.js → development-DG37KZEV.js} +17 -17
- package/dist-lib/{downloads-DtV5hOQv.js → downloads-Cg8PCqDp.js} +1 -1
- package/dist-lib/{edit-NtXUNj5N.js → edit-Cfv83zho.js} +24 -24
- package/dist-lib/{editor-KZhj-rwT.js → editor-BriqrlTB.js} +16 -16
- package/dist-lib/{editor-page-BaxK_OYm.js → editor-page-p2TQlJtq.js} +13 -13
- package/dist-lib/{embed-mf8t3QXh.js → embed-CoEyJMJx.js} +3236 -3245
- package/dist-lib/embed.css +2 -2
- package/dist-lib/{evaluation-CZTpC9v3.js → evaluation-C6CAwoWp.js} +2 -2
- package/dist-lib/{execution-B6HmOA2_.js → execution-BMkglxKG.js} +13 -13
- package/dist-lib/{graph-DHV-rdiK.js → graph-DkaHV2AX.js} +5 -5
- package/dist-lib/{index-BvJ35WL3.js → index-B21fkm-c.js} +9 -9
- package/dist-lib/{index-B5Roo82U.js → index-B2Hx9Q2V.js} +20 -20
- package/dist-lib/{index-CSJA8wvL.js → index-BMVRmc79.js} +36 -36
- package/dist-lib/{index-CdJ5ggvp.js → index-BQnPPCKW.js} +15 -15
- package/dist-lib/{index-BqTsLClH.js → index-BRyPjc2E.js} +1 -1
- package/dist-lib/{index-BkTegt8T.js → index-BeejupFS.js} +150 -150
- package/dist-lib/{index-BEO8itgt.js → index-BelOhXK9.js} +11 -11
- package/dist-lib/{index-DU6bO95v.js → index-Bqkx1OMz.js} +70 -70
- package/dist-lib/{index--AI-htgA.js → index-Bqpk0cSp.js} +11 -11
- package/dist-lib/{index-BoCtPJD4.js → index-BqvwZwaa.js} +181 -181
- package/dist-lib/{index-DaMLYomP.js → index-BwkQzFNo.js} +9 -9
- package/dist-lib/{index-BPbOPT2j.js → index-By7lJ7OM.js} +2 -2
- package/dist-lib/{index-B7SfTpox.js → index-C0bjp6yU.js} +19 -19
- package/dist-lib/{index-B12ZggsE.js → index-C8VIE0cr.js} +6 -6
- package/dist-lib/{index-C2CV4bte.js → index-CAk-RbBL.js} +2 -2
- package/dist-lib/{index-3J47mTL1.js → index-CFMm6EBU.js} +1 -1
- package/dist-lib/{index-zXwXfn-X.js → index-CkrD_v5E.js} +12 -12
- package/dist-lib/{index-DhSCFLtV.js → index-Ct0MiSE7.js} +81 -81
- package/dist-lib/{index-DKAGVWMX.js → index-D1vltZIy.js} +56 -56
- package/dist-lib/{index-BsoHetYT.js → index-DQ1YCU_6.js} +38 -38
- package/dist-lib/{index-xQmDaKK3.js → index-DQL0rlRD.js} +1 -1
- package/dist-lib/{index-DgfIEgir.js → index-Dfpj76EP.js} +1 -1
- package/dist-lib/{index-Bw4M9KLv.js → index-DljgNXFS.js} +73 -73
- package/dist-lib/{index-CgwK2maq.js → index-DrC19OH2.js} +38 -38
- package/dist-lib/{index-CLhLA2ig.js → index-DvdRKgvN.js} +64 -64
- package/dist-lib/{index-DGbjbjBY.js → index-EoyTsMVR.js} +2 -2
- package/dist-lib/{index-Bln3mJfp.js → index-MN71_qSy.js} +2 -2
- package/dist-lib/{index-CwyFMPcr.js → index-MrasjwT1.js} +10 -10
- package/dist-lib/{index-VeAMz0iC.js → index-TVyOVj_f.js} +39 -39
- package/dist-lib/{index-D6ns_Xmf.js → index-cWJDD_7e.js} +2 -2
- package/dist-lib/{index-QZ9JPfVR.js → index-fSzyAUm4.js} +10 -10
- package/dist-lib/{index-CF0ucN_K.js → index-gSQpnDVD.js} +3 -3
- package/dist-lib/{index-BkJjYgKD.js → index-jfZsBNfr.js} +262 -262
- package/dist-lib/{index-Bd7AGv4a.js → index-lpiHPbbx.js} +2 -2
- package/dist-lib/{index-CvxfA0ZK.js → index-ly9q05gX.js} +14 -14
- package/dist-lib/{index-CtqUgNxs.js → index-mANVYpNc.js} +14 -14
- package/dist-lib/{index-2SysmGHo.js → index-o4EXX17N.js} +73 -73
- package/dist-lib/index.js +1 -1
- package/dist-lib/{json-field-COcz5F2R.js → json-field-BqyYVncd.js} +2 -2
- package/dist-lib/{kb-form-modal-D9gnvXbE.js → kb-form-modal-B9_s7HKJ.js} +20 -19
- package/dist-lib/{kbTeam-CorrPJFr.js → kbTeam-D_xeQOnk.js} +1 -1
- package/dist-lib/{knowledge-base-DJkjMFHW.js → knowledge-base-BIlYHNX_.js} +21 -20
- package/dist-lib/{knowledge-hub-DKiDlaZz.js → knowledge-hub-DS9jz2ml.js} +12 -12
- package/dist-lib/{login-56zv4aLO.js → login-81vYOi7C.js} +6 -6
- package/dist-lib/{markdown-lite-p1tiuSZM.js → markdown-lite-C0TxiY46.js} +30 -30
- package/dist-lib/{material-DtPASeqq.js → material-0d6ENLyU.js} +1 -1
- package/dist-lib/{material-draft-markdown-281d5_GN.js → material-draft-markdown-BqqPZtbw.js} +2 -2
- package/dist-lib/{material-original-preview-CPGjdmbe.js → material-original-preview-BDeVDdfb.js} +5 -5
- package/dist-lib/{material-workspace-model-QLsU5qUO.js → material-workspace-model-DPaWrRpo.js} +1 -1
- package/dist-lib/{member-Cz-OIdj9.js → member-Dc8Fi9Yt.js} +1 -1
- package/dist-lib/memory-reorganization-DN4oUE9r.js +1007 -0
- package/dist-lib/{memory-spaces-D-orVNR7.js → memory-spaces-BJp4AIUb.js} +19 -19
- package/dist-lib/{message-C9gfvpGg.js → message-C6yBkCNm.js} +1 -1
- package/dist-lib/{message-D6FhzB7J.js → message-DPeo_cTR.js} +3 -3
- package/dist-lib/{messages-cctmEVcG.js → messages-DdfLmuQI.js} +2 -2
- package/dist-lib/{meta-DT_O4zM9.js → meta-CBLO5qXw.js} +2 -2
- package/dist-lib/{metrics-BNeVcI8-.js → metrics-7ptCjiKn.js} +2 -2
- package/dist-lib/{mobile-D8kZjfQU.js → mobile-DC0hcQji.js} +2 -2
- package/dist-lib/{monitor-DexMYjzF.js → monitor-DX1u-yHi.js} +3 -3
- package/dist-lib/{monitor-DTUyqumg.js → monitor-DoWMKmYn.js} +3 -3
- package/dist-lib/{my-access-DWBV6ohp.js → my-access-64Rn1HXY.js} +3 -3
- package/dist-lib/{my-permissions-B-gJZQYM.js → my-permissions-DKjDBIjY.js} +4 -4
- package/dist-lib/{navigation-DVlyWnpD.js → navigation-B_vBrx_f.js} +1 -1
- package/dist-lib/{new-JmARyD88.js → new-D3Q8_hzT.js} +5 -5
- package/dist-lib/{ontology-B4rkO33J.js → ontology-Ct7a7W50.js} +5 -5
- package/dist-lib/{ontology-dataprep-BwD5TKs2.js → ontology-dataprep-DhZWKCnw.js} +1 -1
- package/dist-lib/{ontology-domains-zxFrjn0v.js → ontology-domains-BG6ZPWXm.js} +35 -35
- package/dist-lib/{ontology-extract-BHOxruRO.js → ontology-extract-53pAcKaP.js} +22 -22
- package/dist-lib/{ontology-extract-iR_rXxFe.js → ontology-extract-D9RViy3r.js} +1 -1
- package/dist-lib/{ontology-flow-Dv5iQ20f.js → ontology-flow-Dx_5Dv1S.js} +3 -3
- package/dist-lib/{ontology-flow-CW0SzeK7.js → ontology-flow-cbGY8kOV.js} +6 -6
- package/dist-lib/{ontology-modeling-B9wswveh.js → ontology-modeling-9beSFK8t.js} +2 -2
- package/dist-lib/{ontology-modeling-hakCluBi.js → ontology-modeling-BkFq7sU1.js} +33 -33
- package/dist-lib/{ontology-scenarios-DKnfydG6.js → ontology-scenarios-ANZMjyMB.js} +1 -1
- package/dist-lib/{ontology-scenarios-C2kp7Rs-.js → ontology-scenarios-BC1UBvtT.js} +350 -350
- package/dist-lib/{ontology-task-config-DmnWyCCB.js → ontology-task-config-dDFRrWtJ.js} +1 -1
- package/dist-lib/{ontology-terms-C-NhpcIZ.js → ontology-terms-B9H9VcuR.js} +18 -18
- package/dist-lib/{ontology-terms-BoNB-5ar.js → ontology-terms-BcXCuUsy.js} +1 -1
- package/dist-lib/{permission-Dq1-AOQw.js → permission-pETAJZl6.js} +2 -2
- package/dist-lib/{preset-DCNSE--Y.js → preset-5F2VcdUE.js} +3 -3
- package/dist-lib/{progress-CZxOOnIs.js → progress-COKT887h.js} +31 -31
- package/dist-lib/{quota-oICQRHFU.js → quota-BzWY9oeV.js} +7 -6
- package/dist-lib/{row-By17TCiW.js → row-BFBgIphS.js} +2 -2
- package/dist-lib/{runs-DQTDpPaN.js → runs-7LWS6iAN.js} +6 -6
- package/dist-lib/{save-blob-CwCZE1Dn.js → save-blob-D_q2LunT.js} +2 -2
- package/dist-lib/{scenario-mapping-preview-sJtjgmry.js → scenario-mapping-preview-CDg3_f0U.js} +5 -5
- package/dist-lib/{scenario-simple-form-BvKSPFzw.js → scenario-simple-form--KSAzRS6.js} +9 -9
- package/dist-lib/{schedule-CwkPPSuT.js → schedule-BDrhhUsA.js} +2 -2
- package/dist-lib/{script-gYJAFobb.js → script-CtLQ-RSy.js} +14 -14
- package/dist-lib/{settings-CJd5Jj4y.js → settings--NTE0Hux.js} +71 -70
- package/dist-lib/{shared-DG5-VCDM.js → shared-BJA7rkgy.js} +1 -1
- package/dist-lib/{shared-utils-CFHws1DA.js → shared-utils-E5RBBDWx.js} +2 -2
- package/dist-lib/{skills-lxpJ5Lzx.js → skills-IziqBZOm.js} +5 -5
- package/dist-lib/{source-selection-DJnQQckl.js → source-selection-WsUOEBKN.js} +1 -1
- package/dist-lib/{sources-C83LpCcV.js → sources-D7ViKZtA.js} +12 -12
- package/dist-lib/{style-B5THvtDY.js → style-B7phAB4-.js} +8 -8
- package/dist-lib/{task-config-BNYoOb79.js → task-config-BhVD-uNg.js} +3 -3
- package/dist-lib/{tech-LuZvKDo6.js → tech-C2bOwBWk.js} +1 -1
- package/dist-lib/{templates-a-kbCamr.js → templates-Bh3ryZxt.js} +6 -6
- package/dist-lib/{tenant-login-COB-5h_2.js → tenant-login-D3193dIQ.js} +30 -30
- package/dist-lib/{tools-CrA6GrY6.js → tools-DCLdtvbE.js} +56 -56
- package/dist-lib/use-current-tenant-KGbU5HpT.js +22 -0
- package/dist-lib/{use-domain-access-ehGJBGvU.js → use-domain-access-CcPd_gzX.js} +1 -1
- package/dist-lib/{use-g6-graph-DfRnsBS6.js → use-g6-graph-CPKL_pXo.js} +1 -1
- package/dist-lib/{use-graph-layers-CrhEeHfD.js → use-graph-layers-Bi90s60B.js} +9 -9
- package/dist-lib/{useBreakpoint-Cul9y9Cu.js → useBreakpoint-SG_cMfLJ.js} +8 -8
- package/dist-lib/{useForm-B-dwOwJ8.js → useForm-Cp45oXOc.js} +14 -14
- package/dist-lib/{version-control-panel-mWXkC-uB.js → version-control-panel-Db_RP6gX.js} +1 -1
- package/dist-lib/{version-management-nPlG7wQO.js → version-management-DuCdU_fJ.js} +2 -2
- package/dist-lib/{welcome-Cqv1-rXT.js → welcome-DLcdZGtl.js} +1 -1
- package/package.json +1 -1
- package/dist-lib/memory-reorganization-DgJnWIrW.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 {
|
|
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-
|
|
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-
|
|
8
|
-
import { I as F } from "./index-
|
|
9
|
-
import { F as Be } from "./Table-
|
|
10
|
-
import { M as Fe } from "./index-
|
|
11
|
-
import { M as We } from "./index-
|
|
12
|
-
import { A as L } from "./index-
|
|
13
|
-
import { F as z } from "./index-
|
|
14
|
-
import { D as me } from "./index-
|
|
15
|
-
import { T as yt } from "./index-
|
|
16
|
-
import { S as bt } from "./index-
|
|
17
|
-
import { D as ft } from "./index-
|
|
18
|
-
import { T as Ge } from "./index-
|
|
19
|
-
import { i as Re, S as ne } from "./index-
|
|
20
|
-
import { M as gt } from "./material-draft-markdown-
|
|
21
|
-
import { T as Y } from "./index-
|
|
22
|
-
import { L as ge } from "./index-
|
|
23
|
-
import { S as vt } from "./index-
|
|
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,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-
|
|
4
|
-
import { T as j } from "./index-
|
|
5
|
-
import { g as H, p as X, m as x } from "./message-
|
|
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-
|
|
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-
|
|
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-
|
|
4
|
-
import { T as Ne } from "./index-
|
|
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-
|
|
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-
|
|
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-
|
|
4
|
-
import { M as ct } from "./markdown-lite-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
6
|
-
import { K as O, L as V, M as ee, N as z } from "./ai-
|
|
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-
|
|
4
|
-
import { r as z, I as u, t as C, R as te, j as ne } from "./embed-
|
|
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-
|
|
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-
|
|
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-
|
|
5
|
-
import { T as Y } from "./index-
|
|
6
|
-
import { R as ee, r as ae } from "./member-
|
|
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 {
|
|
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-
|
|
3
|
-
import { u as h } from "./use-domain-access-
|
|
4
|
-
import { S as p } from "./scenario-simple-form
|
|
5
|
-
import "./ontology-scenarios-
|
|
6
|
-
import { R as u } from "./index-
|
|
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,
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
11
|
+
import { b as et } from "./ai-CccmxFWN.js";
|
|
12
12
|
function nt({
|
|
13
13
|
keyword: t,
|
|
14
14
|
view: l,
|
|
@@ -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
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 {
|
|
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-
|
|
7
|
-
import { F as J } from "./index-
|
|
8
|
-
import { M as Nn } from "./index-
|
|
9
|
-
import { I as Ne } from "./index-
|
|
10
|
-
import { T as vn } from "./index-
|
|
11
|
-
import { S as yn } from "./index-
|
|
12
|
-
import { T as Cn } from "./index-
|
|
13
|
-
import { u as kn } from "./use-domain-access-
|
|
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) => {
|
|
@@ -212,19 +212,19 @@ const zn = {
|
|
|
212
212
|
variant: x = "solid",
|
|
213
213
|
plain: Q,
|
|
214
214
|
style: oe,
|
|
215
|
-
size:
|
|
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(
|
|
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,
|
|
220
220
|
[`${w}-${x}`]: x !== "solid",
|
|
221
221
|
[`${w}-plain`]: !!Q,
|
|
222
222
|
[`${w}-rtl`]: c === "rtl",
|
|
223
|
-
[`${w}-no-default-orientation-margin-start`]:
|
|
223
|
+
[`${w}-no-default-orientation-margin-start`]: K,
|
|
224
224
|
[`${w}-no-default-orientation-margin-end`]: H,
|
|
225
225
|
[`${w}-${R}`]: !!R
|
|
226
226
|
}, v, $), G = Ce.useMemo(() => typeof d == "number" ? d : /^\d+$/.test(d) ? Number(d) : d, [d]), L = {
|
|
227
|
-
marginInlineStart:
|
|
227
|
+
marginInlineStart: K ? G : void 0,
|
|
228
228
|
marginInlineEnd: H ? G : void 0
|
|
229
229
|
};
|
|
230
230
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -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), [
|
|
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,
|
|
265
|
+
}, [t, n.domainCode, j]);
|
|
266
266
|
const Z = async (l) => {
|
|
267
267
|
H(!0);
|
|
268
268
|
try {
|
|
@@ -430,7 +430,7 @@ function Rn({
|
|
|
430
430
|
{
|
|
431
431
|
className: "btn sm",
|
|
432
432
|
type: "button",
|
|
433
|
-
disabled:
|
|
433
|
+
disabled: K,
|
|
434
434
|
onClick: () => void Z(T),
|
|
435
435
|
children: [
|
|
436
436
|
/* @__PURE__ */ e(h, { name: "search", size: 12 }),
|
|
@@ -476,7 +476,7 @@ function Rn({
|
|
|
476
476
|
}
|
|
477
477
|
)
|
|
478
478
|
] }),
|
|
479
|
-
/* @__PURE__ */ e("div", { className: "candidate-list mt-8", children:
|
|
479
|
+
/* @__PURE__ */ e("div", { className: "candidate-list mt-8", children: K ? /* @__PURE__ */ e("span", { className: "note", children: "正在检索候选人员…" }) : Y.length ? Y.map((l) => /* @__PURE__ */ o(
|
|
480
480
|
"button",
|
|
481
481
|
{
|
|
482
482
|
type: "button",
|
|
@@ -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
|
|
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 !
|
|
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);
|
|
@@ -799,7 +799,7 @@ function We(n, t, 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:
|
|
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
|
-
), W = D ? P(D) : !1, R = n.scope === "ANCESTORS", F = b.trim().toLowerCase(), y = F.length > 0,
|
|
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 =
|
|
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
|
{
|
|
@@ -962,7 +962,7 @@ function Bn({ scope: n }) {
|
|
|
962
962
|
" 个"
|
|
963
963
|
] })
|
|
964
964
|
] }),
|
|
965
|
-
/* @__PURE__ */ e("div", { className: "od-dom-list", role: "listbox", "aria-label": "本体域", children: H ?
|
|
965
|
+
/* @__PURE__ */ e("div", { className: "od-dom-list", role: "listbox", "aria-label": "本体域", children: H ? K.map(
|
|
966
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: "三根内置根域:经营过程、业务对象、专业知识;子域挂在业务对象与专业知识下, 缩进体现层级。带锁的域无权限,只能申请;可读域可申请更高权限。" })
|
|
@@ -1048,11 +1048,11 @@ const Fn = [
|
|
|
1048
1048
|
"data-prep": "dataprep.write",
|
|
1049
1049
|
tasks: "task.operate",
|
|
1050
1050
|
log: "structure.write"
|
|
1051
|
-
},
|
|
1051
|
+
}, jn = [
|
|
1052
1052
|
{ key: "sources", label: "数据源" },
|
|
1053
1053
|
{ key: "datasets", label: "数据集" },
|
|
1054
1054
|
{ key: "collection", label: "采集任务" }
|
|
1055
|
-
], Wn = Te(() => import("./ontology-
|
|
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:
|
|
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(Wn, { onGoModeling: () => t("workbench") }) : r === "scenario" ? /* @__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: {
|
|
@@ -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,
|
|
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) =>
|
|
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),
|
|
1177
|
+
w(null), M(null), j(!0);
|
|
1178
1178
|
}, se = (a) => {
|
|
1179
|
-
w(null), M(a),
|
|
1179
|
+
w(null), M(a), j(!0);
|
|
1180
1180
|
}, ee = (a) => {
|
|
1181
|
-
w(a), M(null),
|
|
1181
|
+
w(a), M(null), j(!0);
|
|
1182
1182
|
}, he = (a) => {
|
|
1183
1183
|
Q((p) => {
|
|
1184
1184
|
const O = new Set(p);
|
|
@@ -1278,7 +1278,7 @@ 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,
|
|
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
1282
|
return /* @__PURE__ */ o(Ue, { children: [
|
|
1283
1283
|
/* @__PURE__ */ o(
|
|
1284
1284
|
"div",
|
|
@@ -1310,7 +1310,7 @@ function da() {
|
|
|
1310
1310
|
"span",
|
|
1311
1311
|
{
|
|
1312
1312
|
className: `od-row-ico${Ee ? ` kind-${re}` : ""}`,
|
|
1313
|
-
children: /* @__PURE__ */ e(h, { name: Ee ?
|
|
1313
|
+
children: /* @__PURE__ */ e(h, { name: Ee ? Ke : C.builtIn ? "database" : "package", size: 15 })
|
|
1314
1314
|
}
|
|
1315
1315
|
),
|
|
1316
1316
|
/* @__PURE__ */ o("div", { className: "od-row-main", children: [
|
|
@@ -1436,7 +1436,7 @@ function da() {
|
|
|
1436
1436
|
parent: D,
|
|
1437
1437
|
scope: n,
|
|
1438
1438
|
onClose: () => {
|
|
1439
|
-
|
|
1439
|
+
j(!1), w(null), M(null);
|
|
1440
1440
|
}
|
|
1441
1441
|
}
|
|
1442
1442
|
),
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { jsx as t, jsxs as l, Fragment as H } from "react/jsx-runtime";
|
|
2
2
|
import { useState as x, useCallback as z, useRef as _, useEffect as B, useMemo as Q } from "react";
|
|
3
|
-
import { A as re, B as O, S as pe, dd as it, h as te, I as J, d8 as ve, q as ct,
|
|
4
|
-
import { u as ut } from "./use-domain-access-
|
|
5
|
-
import { g as mt, a as ht, u as Re, r as $e, q as ft, i as pt, p as Nt, b as Fe, s as yt, c as xt, w as gt, e as Ne, d as be, f as ee, h as Le, j as Ct, k as wt, l as Me, B as vt, m as bt, n as Tt, o as kt, t as St } from "./ontology-extract-
|
|
6
|
-
import { r as Et, e as It, d as zt, p as At, a as Dt, g as Rt, c as $t, b as Ft, f as Lt, u as Mt, h as Ot } from "./ontology-dataprep-
|
|
3
|
+
import { A as re, B as O, S as pe, dd as it, h as te, I as J, d8 as ve, q as ct, aa as ke, de as dt } from "./embed-CoEyJMJx.js";
|
|
4
|
+
import { u as ut } from "./use-domain-access-CcPd_gzX.js";
|
|
5
|
+
import { g as mt, a as ht, u as Re, r as $e, q as ft, i as pt, p as Nt, b as Fe, s as yt, c as xt, w as gt, e as Ne, d as be, f as ee, h as Le, j as Ct, k as wt, l as Me, B as vt, m as bt, n as Tt, o as kt, t as St } from "./ontology-extract-D9RViy3r.js";
|
|
6
|
+
import { r as Et, e as It, d as zt, p as At, a as Dt, g as Rt, c as $t, b as Ft, f as Lt, u as Mt, h as Ot } from "./ontology-dataprep-DhZWKCnw.js";
|
|
7
7
|
import { u as oe } from "./use-resizable-columns-BpMCRKif.js";
|
|
8
|
-
import { T as j } from "./index-
|
|
9
|
-
import { M as ce } from "./index-
|
|
10
|
-
import { D as Oe } from "./index-
|
|
11
|
-
import { F as le, R as Pt } from "./Table-
|
|
12
|
-
import { P as ye } from "./Pagination-
|
|
8
|
+
import { T as j } from "./index-mANVYpNc.js";
|
|
9
|
+
import { M as ce } from "./index-C8VIE0cr.js";
|
|
10
|
+
import { D as Oe } from "./index-B21fkm-c.js";
|
|
11
|
+
import { F as le, R as Pt } from "./Table-BF9fhMoT.js";
|
|
12
|
+
import { P as ye } from "./Pagination-CFhUxTf8.js";
|
|
13
13
|
import { d as Bt } from "./dayjs.min-DoEf5yCX.js";
|
|
14
|
-
import { F as X } from "./index-
|
|
15
|
-
import { I as ne } from "./index-
|
|
16
|
-
import { S as qt } from "./index-
|
|
17
|
-
import { A as ae } from "./index-
|
|
18
|
-
import { D as Gt } from "./index-
|
|
19
|
-
import { d as Kt } from "./ontology-task-config-
|
|
20
|
-
import { T as fe } from "./index-
|
|
21
|
-
import { u as _t, C as Ut } from "./chat-panel-
|
|
22
|
-
import { g as Jt } from "./ontology-modeling-
|
|
14
|
+
import { F as X } from "./index-BeejupFS.js";
|
|
15
|
+
import { I as ne } from "./index-o4EXX17N.js";
|
|
16
|
+
import { S as qt } from "./index-D1vltZIy.js";
|
|
17
|
+
import { A as ae } from "./index-BQnPPCKW.js";
|
|
18
|
+
import { D as Gt } from "./index-jfZsBNfr.js";
|
|
19
|
+
import { d as Kt } from "./ontology-task-config-dDFRrWtJ.js";
|
|
20
|
+
import { T as fe } from "./index-CkrD_v5E.js";
|
|
21
|
+
import { u as _t, C as Ut } from "./chat-panel-Ctr_CdZu.js";
|
|
22
|
+
import { g as Jt } from "./ontology-modeling-9beSFK8t.js";
|
|
23
23
|
import { b as ie } from "./format-CWI99NCN.js";
|
|
24
|
-
import { U as Vt } from "./index-
|
|
25
|
-
import { P as Xt } from "./progress-
|
|
26
|
-
import { e as jt } from "./material-
|
|
27
|
-
import { a as Wt } from "./index-
|
|
24
|
+
import { U as Vt } from "./index-TVyOVj_f.js";
|
|
25
|
+
import { P as Xt } from "./progress-COKT887h.js";
|
|
26
|
+
import { e as jt } from "./material-0d6ENLyU.js";
|
|
27
|
+
import { a as Wt } from "./index-DQ1YCU_6.js";
|
|
28
28
|
function Yt(e) {
|
|
29
29
|
const { message: r, modal: n } = re.useApp(), [d, m] = x(), [o, s] = x(), a = z(async (p) => {
|
|
30
30
|
m(p.code);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as e, jsxs as n, Fragment as N } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as F, useState as v, useEffect as L } from "react";
|
|
3
|
-
import { A as z, I as h, B as b, L as P, d9 as C } from "./embed-
|
|
4
|
-
import { u as B, b as R, a as S, F as j } from "./ontology-flow-
|
|
5
|
-
import { P as A } from "./index-
|
|
3
|
+
import { A as z, I as h, B as b, L as P, d9 as C } from "./embed-CoEyJMJx.js";
|
|
4
|
+
import { u as B, b as R, a as S, F as j } from "./ontology-flow-cbGY8kOV.js";
|
|
5
|
+
import { P as A } from "./index-MrasjwT1.js";
|
|
6
6
|
function E(a, s = C()) {
|
|
7
7
|
const o = `/ontology/flow-instances/${a.taskKind}/${encodeURIComponent(a.task.code)}`;
|
|
8
8
|
return s ? `${o}?domain=${encodeURIComponent(s)}` : o;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { d as Y, h as q, m as X, t as J } from "./ontology-extract-
|
|
1
|
+
import { d as Y, h as q, m as X, t as J } from "./ontology-extract-D9RViy3r.js";
|
|
2
2
|
import { jsx as b, jsxs as L } from "react/jsx-runtime";
|
|
3
3
|
import { b as Z } from "./format-CWI99NCN.js";
|
|
4
4
|
import { useState as P, useEffect as W, useRef as ee, useCallback as te } from "react";
|
|
5
|
-
import { p as re, a as oe } from "./ontology-dataprep-
|
|
6
|
-
import { d as ne, e as M, g as se } from "./ontology-modeling-
|
|
7
|
-
import { q as ae } from "./ontology-task-config-
|
|
8
|
-
import { g as ce } from "./ontology-terms-
|
|
9
|
-
import { d9 as B } from "./embed-
|
|
5
|
+
import { p as re, a as oe } from "./ontology-dataprep-DhZWKCnw.js";
|
|
6
|
+
import { d as ne, e as M, g as se } from "./ontology-modeling-9beSFK8t.js";
|
|
7
|
+
import { q as ae } from "./ontology-task-config-dDFRrWtJ.js";
|
|
8
|
+
import { g as ce } from "./ontology-terms-BcXCuUsy.js";
|
|
9
|
+
import { d9 as B } from "./embed-CoEyJMJx.js";
|
|
10
10
|
const le = "导航与执行同为图谱化 → 向量化:先写图,再同步向量。状态来自执行结果,非工单生效状态;暂不开放独立入口。", ie = ["ONTOLOGY_VECTOR_SYNC", "ONTOLOGY_INSTANCE_VECTOR_SYNC"], de = ["ONTOLOGY_SCHEMA_ITEM", "ONTOLOGY_SYNC_FILE"];
|
|
11
11
|
function D(e, t, r) {
|
|
12
12
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as S, Q as T } from "./ai-
|
|
2
|
-
import { r as o, df as E, t as y, K as b, dg as v, d9 as P } from "./embed-
|
|
1
|
+
import { P as S, Q as T } from "./ai-CccmxFWN.js";
|
|
2
|
+
import { r as o, df as E, t as y, K as b, dg as v, d9 as P } from "./embed-CoEyJMJx.js";
|
|
3
3
|
const I = 1, L = "ontology_modeler", N = 51093, R = 51050;
|
|
4
4
|
function _(e) {
|
|
5
5
|
return s(
|