@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,5 +1,5 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { b3 as C, b4 as A, a6 as W, a7 as j, ac as h, a8 as z, a5 as F, ah as $, aC as S, aD as N, aF as x } from "./embed-CoEyJMJx.js";
|
|
3
3
|
var H = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" } }] }, name: "warning", theme: "filled" }, I = function(a, r) {
|
|
4
4
|
return /* @__PURE__ */ e.createElement(C, A({}, a, {
|
|
5
5
|
ref: r,
|
|
@@ -529,7 +529,7 @@ const R = () => /* @__PURE__ */ e.createElement("svg", {
|
|
|
529
529
|
}
|
|
530
530
|
}
|
|
531
531
|
};
|
|
532
|
-
},
|
|
532
|
+
}, b = (t) => {
|
|
533
533
|
const {
|
|
534
534
|
componentCls: a,
|
|
535
535
|
iconCls: r
|
|
@@ -548,7 +548,7 @@ const R = () => /* @__PURE__ */ e.createElement("svg", {
|
|
|
548
548
|
color: t.resultWarningIconColor
|
|
549
549
|
}
|
|
550
550
|
};
|
|
551
|
-
},
|
|
551
|
+
}, w = (t) => [V(t), b(t)], _ = (t) => w(t), O = (t) => ({
|
|
552
552
|
titleFontSize: t.fontSizeHeading3,
|
|
553
553
|
subtitleFontSize: t.fontSize,
|
|
554
554
|
iconFontSize: t.fontSizeHeading3 * 3,
|
|
@@ -562,7 +562,7 @@ const R = () => /* @__PURE__ */ e.createElement("svg", {
|
|
|
562
562
|
imageWidth: 250,
|
|
563
563
|
imageHeight: 295
|
|
564
564
|
});
|
|
565
|
-
return [
|
|
565
|
+
return [_(l)];
|
|
566
566
|
}, O), G = () => /* @__PURE__ */ e.createElement("svg", {
|
|
567
567
|
width: "251",
|
|
568
568
|
height: "294"
|
|
@@ -782,7 +782,7 @@ const R = () => /* @__PURE__ */ e.createElement("svg", {
|
|
|
782
782
|
404: R,
|
|
783
783
|
500: y,
|
|
784
784
|
403: G
|
|
785
|
-
},
|
|
785
|
+
}, U = Object.keys(d), X = ({
|
|
786
786
|
prefixCls: t,
|
|
787
787
|
icon: a,
|
|
788
788
|
status: r
|
|
@@ -792,7 +792,7 @@ const R = () => /* @__PURE__ */ e.createElement("svg", {
|
|
|
792
792
|
const l = $("Result");
|
|
793
793
|
process.env.NODE_ENV !== "production" && l(!(typeof a == "string" && a.length > 2), "breaking", `\`icon\` is using ReactNode instead of string naming in v4. Please check \`${a}\` at https://ant.design/components/icon`);
|
|
794
794
|
}
|
|
795
|
-
if (
|
|
795
|
+
if (U.includes(`${r}`)) {
|
|
796
796
|
const l = d[r];
|
|
797
797
|
return /* @__PURE__ */ e.createElement("div", {
|
|
798
798
|
className: `${n} ${t}-image`
|
|
@@ -802,7 +802,7 @@ const R = () => /* @__PURE__ */ e.createElement("svg", {
|
|
|
802
802
|
return a === null || a === !1 ? null : /* @__PURE__ */ e.createElement("div", {
|
|
803
803
|
className: n
|
|
804
804
|
}, a || s);
|
|
805
|
-
},
|
|
805
|
+
}, q = ({
|
|
806
806
|
prefixCls: t,
|
|
807
807
|
extra: a
|
|
808
808
|
}) => a ? /* @__PURE__ */ e.createElement("div", {
|
|
@@ -829,7 +829,7 @@ const R = () => /* @__PURE__ */ e.createElement("svg", {
|
|
|
829
829
|
return v(/* @__PURE__ */ e.createElement("div", {
|
|
830
830
|
className: g,
|
|
831
831
|
style: D
|
|
832
|
-
}, /* @__PURE__ */ e.createElement(
|
|
832
|
+
}, /* @__PURE__ */ e.createElement(X, {
|
|
833
833
|
prefixCls: c,
|
|
834
834
|
status: o,
|
|
835
835
|
icon: p
|
|
@@ -837,7 +837,7 @@ const R = () => /* @__PURE__ */ e.createElement("svg", {
|
|
|
837
837
|
className: `${c}-title`
|
|
838
838
|
}, s), n && /* @__PURE__ */ e.createElement("div", {
|
|
839
839
|
className: `${c}-subtitle`
|
|
840
|
-
}, n), /* @__PURE__ */ e.createElement(
|
|
840
|
+
}, n), /* @__PURE__ */ e.createElement(q, {
|
|
841
841
|
prefixCls: c,
|
|
842
842
|
extra: k
|
|
843
843
|
}), m && /* @__PURE__ */ e.createElement("div", {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as a, Fragment as x, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as g, useCallback as J, useEffect as O, useMemo as X } from "react";
|
|
3
3
|
import { createPortal as Q } from "react-dom";
|
|
4
|
-
import { t as z, r as d, K as R, I as f, j as W } from "./embed-
|
|
5
|
-
import { l as Z, n as B, S as ee, i as te, a as ne, g as ae, r as re } from "./ontology-task-config-
|
|
4
|
+
import { t as z, r as d, K as R, I as f, j as W } from "./embed-CoEyJMJx.js";
|
|
5
|
+
import { l as Z, n as B, S as ee, i as te, a as ne, g as ae, r as re } from "./ontology-task-config-dDFRrWtJ.js";
|
|
6
6
|
import { u as se } from "./use-escape-key-4SZ4l7av.js";
|
|
7
7
|
import { f as oe } from "./format-CWI99NCN.js";
|
|
8
8
|
const h = "/kb/v1/taskConfig", m = () => ({ "X-Tenant-Code": R() });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as s from "react";
|
|
2
|
-
import {
|
|
3
|
-
import { _ as ue } from "./callSuper-
|
|
2
|
+
import { a6 as K, ad as Q, ac as P, ah as Y, aj as Z, a5 as v, ak as ee, az as oe, aA as ne, aB as te, aC as re, aD as se, aE as ae, aF as ie, aG as ce, aH as le, aI as de, aJ as pe } from "./embed-CoEyJMJx.js";
|
|
3
|
+
import { _ as ue } from "./callSuper-Bk-mj4By.js";
|
|
4
4
|
const S = (e, o, t, n, r) => ({
|
|
5
5
|
background: e,
|
|
6
|
-
border: `${
|
|
6
|
+
border: `${P(n.lineWidth)} ${n.lineType} ${o}`,
|
|
7
7
|
[`${r}-icon`]: {
|
|
8
8
|
color: t
|
|
9
9
|
}
|
|
@@ -140,7 +140,7 @@ const S = (e, o, t, n, r) => ({
|
|
|
140
140
|
padding: 0,
|
|
141
141
|
overflow: "hidden",
|
|
142
142
|
fontSize: a,
|
|
143
|
-
lineHeight:
|
|
143
|
+
lineHeight: P(a),
|
|
144
144
|
backgroundColor: "transparent",
|
|
145
145
|
border: "none",
|
|
146
146
|
outline: "none",
|
|
@@ -167,7 +167,7 @@ const S = (e, o, t, n, r) => ({
|
|
|
167
167
|
defaultPadding: `${e.paddingContentVerticalSM}px 12px`,
|
|
168
168
|
withDescriptionPadding: `${e.paddingMD}px ${e.paddingContentHorizontalLG}px`
|
|
169
169
|
}), Ce = K("Alert", (e) => [me(e), fe(e), ge(e)], ye);
|
|
170
|
-
var
|
|
170
|
+
var H = function(e, o) {
|
|
171
171
|
var t = {};
|
|
172
172
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && o.indexOf(n) < 0 && (t[n] = e[n]);
|
|
173
173
|
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var r = 0, n = Object.getOwnPropertySymbols(e); r < n.length; r++)
|
|
@@ -224,8 +224,8 @@ const $e = {
|
|
|
224
224
|
closeText: I,
|
|
225
225
|
closeIcon: C,
|
|
226
226
|
action: x,
|
|
227
|
-
id:
|
|
228
|
-
} = e, _ =
|
|
227
|
+
id: z
|
|
228
|
+
} = e, _ = H(e, ["description", "prefixCls", "message", "banner", "className", "rootClassName", "style", "onMouseEnter", "onMouseLeave", "onClick", "afterClose", "showIcon", "closable", "closeText", "closeIcon", "action", "id"]), [w, D] = s.useState(!1);
|
|
229
229
|
process.env.NODE_ENV !== "production" && Y("Alert").deprecated(!I, "closeText", "closable.closeIcon");
|
|
230
230
|
const N = s.useRef(null);
|
|
231
231
|
s.useImperativeHandle(o, () => ({
|
|
@@ -237,29 +237,29 @@ const $e = {
|
|
|
237
237
|
closable: f,
|
|
238
238
|
closeIcon: O,
|
|
239
239
|
className: T,
|
|
240
|
-
style:
|
|
241
|
-
} = Z("alert"), c = R("alert", n), [
|
|
240
|
+
style: k
|
|
241
|
+
} = Z("alert"), c = R("alert", n), [L, W, V] = Ce(c), G = (u) => {
|
|
242
242
|
var h;
|
|
243
243
|
D(!0), (h = e.onClose) === null || h === void 0 || h.call(e, u);
|
|
244
|
-
}, j = s.useMemo(() => e.type !== void 0 ? e.type : a ? "warning" : "info", [e.type, a]), X = s.useMemo(() => typeof i == "object" && i.closeIcon || I ? !0 : typeof i == "boolean" ? i : C !== !1 && C !== null && C !== void 0 ? !0 : !!f, [I, C, i, f]), B = a && b === void 0 ? !0 : b,
|
|
244
|
+
}, j = s.useMemo(() => e.type !== void 0 ? e.type : a ? "warning" : "info", [e.type, a]), X = s.useMemo(() => typeof i == "object" && i.closeIcon || I ? !0 : typeof i == "boolean" ? i : C !== !1 && C !== null && C !== void 0 ? !0 : !!f, [I, C, i, f]), B = a && b === void 0 ? !0 : b, F = v(c, `${c}-${j}`, {
|
|
245
245
|
[`${c}-with-description`]: !!t,
|
|
246
246
|
[`${c}-no-icon`]: !B,
|
|
247
247
|
[`${c}-banner`]: !!a,
|
|
248
248
|
[`${c}-rtl`]: A === "rtl"
|
|
249
|
-
}, T, l, d, V, W),
|
|
249
|
+
}, T, l, d, V, W), J = ee(_, {
|
|
250
250
|
aria: !0,
|
|
251
251
|
data: !0
|
|
252
|
-
}), U = s.useMemo(() => typeof i == "object" && i.closeIcon ? i.closeIcon : I || (C !== void 0 ? C : typeof f == "object" && f.closeIcon ? f.closeIcon : O), [C, i, f, I, O]),
|
|
252
|
+
}), U = s.useMemo(() => typeof i == "object" && i.closeIcon ? i.closeIcon : I || (C !== void 0 ? C : typeof f == "object" && f.closeIcon ? f.closeIcon : O), [C, i, f, I, O]), q = s.useMemo(() => {
|
|
253
253
|
const u = i ?? f;
|
|
254
254
|
if (typeof u == "object") {
|
|
255
255
|
const {
|
|
256
256
|
closeIcon: h
|
|
257
257
|
} = u;
|
|
258
|
-
return
|
|
258
|
+
return H(u, ["closeIcon"]);
|
|
259
259
|
}
|
|
260
260
|
return {};
|
|
261
261
|
}, [i, f]);
|
|
262
|
-
return
|
|
262
|
+
return L(/* @__PURE__ */ s.createElement(oe, {
|
|
263
263
|
visible: !w,
|
|
264
264
|
motionName: `${c}-motion`,
|
|
265
265
|
motionAppear: !1,
|
|
@@ -272,16 +272,16 @@ const $e = {
|
|
|
272
272
|
className: u,
|
|
273
273
|
style: h
|
|
274
274
|
}, M) => /* @__PURE__ */ s.createElement("div", Object.assign({
|
|
275
|
-
id:
|
|
275
|
+
id: z,
|
|
276
276
|
ref: ne(N, M),
|
|
277
277
|
"data-show": !w,
|
|
278
|
-
className: v(
|
|
279
|
-
style: Object.assign(Object.assign(Object.assign({},
|
|
278
|
+
className: v(F, u),
|
|
279
|
+
style: Object.assign(Object.assign(Object.assign({}, k), m), h),
|
|
280
280
|
onMouseEnter: p,
|
|
281
281
|
onMouseLeave: g,
|
|
282
282
|
onClick: y,
|
|
283
283
|
role: "alert"
|
|
284
|
-
},
|
|
284
|
+
}, J), B ? /* @__PURE__ */ s.createElement(be, {
|
|
285
285
|
description: t,
|
|
286
286
|
icon: e.icon,
|
|
287
287
|
prefixCls: c,
|
|
@@ -299,7 +299,7 @@ const $e = {
|
|
|
299
299
|
prefixCls: c,
|
|
300
300
|
closeIcon: U,
|
|
301
301
|
handleClose: G,
|
|
302
|
-
ariaProps:
|
|
302
|
+
ariaProps: q
|
|
303
303
|
}))));
|
|
304
304
|
});
|
|
305
305
|
process.env.NODE_ENV !== "production" && (E.displayName = "Alert");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bT as F, a8 as I, aM as N, bU as S, bV as j, bW as v, bX as E, a5 as M, bY as _, bZ as $, b_ as V, b$ as a, c0 as W, c1 as A, c2 as D, c3 as R, c4 as p, c5 as T, c6 as U } from "./embed-CoEyJMJx.js";
|
|
2
2
|
import * as i from "react";
|
|
3
3
|
var Y = function(e, o) {
|
|
4
4
|
var l = {};
|
|
@@ -38,16 +38,16 @@ const z = (e) => {
|
|
|
38
38
|
children: d
|
|
39
39
|
}, O(/* @__PURE__ */ i.createElement(E, Object.assign({
|
|
40
40
|
prefixCls: s,
|
|
41
|
-
className:
|
|
41
|
+
className: M(w, `${s}-pure-panel`, c && f, c && `${f}-${c}`, l, g, C)
|
|
42
42
|
}, y, {
|
|
43
|
-
closeIcon:
|
|
43
|
+
closeIcon: _(s, r),
|
|
44
44
|
closable: n
|
|
45
45
|
}, u)));
|
|
46
46
|
}, B = F(z);
|
|
47
47
|
function P(e) {
|
|
48
48
|
return a(U(e));
|
|
49
49
|
}
|
|
50
|
-
const t =
|
|
50
|
+
const t = $;
|
|
51
51
|
t.useModal = V;
|
|
52
52
|
t.info = function(o) {
|
|
53
53
|
return a(W(o));
|
|
@@ -61,7 +61,7 @@ t.error = function(o) {
|
|
|
61
61
|
t.warning = P;
|
|
62
62
|
t.warn = P;
|
|
63
63
|
t.confirm = function(o) {
|
|
64
|
-
return a(
|
|
64
|
+
return a(R(o));
|
|
65
65
|
};
|
|
66
66
|
t.destroyAll = function() {
|
|
67
67
|
for (; p.length; ) {
|
|
@@ -69,7 +69,7 @@ t.destroyAll = function() {
|
|
|
69
69
|
o && o();
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
|
-
t.config =
|
|
72
|
+
t.config = T;
|
|
73
73
|
t._InternalPanelDoNotUseOrYouWillBeFired = B;
|
|
74
74
|
process.env.NODE_ENV !== "production" && (t.displayName = "Modal");
|
|
75
75
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n, jsxs as j } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as C, useEffect as I, useCallback as x, Fragment as V } from "react";
|
|
3
|
-
import { I as N } from "./embed-
|
|
4
|
-
import { T as R } from "./index-
|
|
3
|
+
import { I as N } from "./embed-CoEyJMJx.js";
|
|
4
|
+
import { T as R } from "./index-CkrD_v5E.js";
|
|
5
5
|
const S = [
|
|
6
6
|
"headings",
|
|
7
7
|
"bold",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as s, jsxs as a, Fragment as A } from "react/jsx-runtime";
|
|
2
2
|
import { useState as c, useEffect as R } from "react";
|
|
3
|
-
import { j as $, I as E, y as k, t, z } from "./embed-
|
|
3
|
+
import { j as $, I as E, y as k, t, z } from "./embed-CoEyJMJx.js";
|
|
4
4
|
function Y({
|
|
5
5
|
target: l,
|
|
6
6
|
onClose: r,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as p from "react";
|
|
2
2
|
import { forwardRef as Et, useRef as It, useImperativeHandle as Vt } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { g as te, i as ee } from "./colors-
|
|
3
|
+
import { cx as lt, a5 as S, bk as kt, bx as zt, bj as j, cy as Lt, b4 as Dt, ac as z, a6 as Bt, a7 as ft, cd as Mt, ad as Ht, a8 as Xt, bM as Wt, aj as Yt, ah as qt, bm as Ft, bq as Zt, cz as Ut, cn as Gt, ce as Jt, an as Kt, cu as Qt } from "./embed-CoEyJMJx.js";
|
|
4
|
+
import { g as te, i as ee } from "./colors-DJzrNkCt.js";
|
|
5
5
|
const oe = (e) => e instanceof lt ? e : new lt(e);
|
|
6
6
|
function pt(e) {
|
|
7
7
|
var o = e.children, a = e.prefixCls, t = e.id, r = e.overlayInnerStyle, s = e.bodyClassName, n = e.className, i = e.style;
|
|
@@ -97,11 +97,11 @@ var I = {
|
|
|
97
97
|
}, ae = ["overlayClassName", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "prefixCls", "children", "onVisibleChange", "afterVisibleChange", "transitionName", "animation", "motion", "placement", "align", "destroyTooltipOnHide", "defaultVisible", "getTooltipContainer", "overlayInnerStyle", "arrowContent", "overlay", "id", "showArrow", "classNames", "styles"], ne = function(o, a) {
|
|
98
98
|
var t = o.overlayClassName, r = o.trigger, s = r === void 0 ? ["hover"] : r, n = o.mouseEnterDelay, i = n === void 0 ? 0 : n, l = o.mouseLeaveDelay, d = l === void 0 ? 0.1 : l, f = o.overlayStyle, h = o.prefixCls, c = h === void 0 ? "rc-tooltip" : h, b = o.children, m = o.onVisibleChange, g = o.afterVisibleChange, O = o.transitionName, $ = o.animation, C = o.motion, T = o.placement, L = T === void 0 ? "right" : T, D = o.align, J = D === void 0 ? {} : D, B = o.destroyTooltipOnHide, K = B === void 0 ? !1 : B, Q = o.defaultVisible, tt = o.getTooltipContainer, et = o.overlayInnerStyle;
|
|
99
99
|
o.arrowContent;
|
|
100
|
-
var x = o.overlay, P = o.id, k = o.showArrow,
|
|
100
|
+
var x = o.overlay, P = o.id, k = o.showArrow, M = k === void 0 ? !0 : k, w = o.classNames, _ = o.styles, H = kt(o, ae), X = zt(P), W = It(null);
|
|
101
101
|
Vt(a, function() {
|
|
102
102
|
return W.current;
|
|
103
103
|
});
|
|
104
|
-
var Y = j({},
|
|
104
|
+
var Y = j({}, H);
|
|
105
105
|
"visible" in o && (Y.popupVisible = o.visible);
|
|
106
106
|
var q = function() {
|
|
107
107
|
return /* @__PURE__ */ p.createElement(pt, {
|
|
@@ -137,7 +137,7 @@ var I = {
|
|
|
137
137
|
mouseLeaveDelay: d,
|
|
138
138
|
popupStyle: j(j({}, f), _ == null ? void 0 : _.root),
|
|
139
139
|
mouseEnterDelay: i,
|
|
140
|
-
arrow:
|
|
140
|
+
arrow: M
|
|
141
141
|
}, Y), F());
|
|
142
142
|
};
|
|
143
143
|
const se = /* @__PURE__ */ Et(ne);
|
|
@@ -507,7 +507,7 @@ const me = (e) => {
|
|
|
507
507
|
} = e, m = o(n).add(b).add(c).equal(), g = o(n).mul(2).add(b).equal();
|
|
508
508
|
return [
|
|
509
509
|
{
|
|
510
|
-
[a]: Object.assign(Object.assign(Object.assign(Object.assign({},
|
|
510
|
+
[a]: Object.assign(Object.assign(Object.assign(Object.assign({}, Ht(e)), {
|
|
511
511
|
position: "absolute",
|
|
512
512
|
zIndex: i,
|
|
513
513
|
display: "block",
|
|
@@ -596,7 +596,7 @@ const me = (e) => {
|
|
|
596
596
|
tooltipBorderRadius: r,
|
|
597
597
|
tooltipBg: n
|
|
598
598
|
});
|
|
599
|
-
return [me(i),
|
|
599
|
+
return [me(i), Mt(t, "zoom-big-fast")];
|
|
600
600
|
}, ge, {
|
|
601
601
|
resetStyle: !1,
|
|
602
602
|
// Popover use Tooltip as internal component. We do not need to handle this.
|
|
@@ -670,9 +670,9 @@ const he = /* @__PURE__ */ p.forwardRef((e, o) => {
|
|
|
670
670
|
overlayClassName: et,
|
|
671
671
|
styles: x,
|
|
672
672
|
classNames: P
|
|
673
|
-
} = e, k = ve(e, ["prefixCls", "openClassName", "getTooltipContainer", "color", "overlayInnerStyle", "children", "afterOpenChange", "afterVisibleChange", "destroyTooltipOnHide", "destroyOnHidden", "arrow", "title", "overlay", "builtinPlacements", "arrowPointAtCenter", "autoAdjustOverflow", "motion", "getPopupContainer", "placement", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "rootClassName", "overlayClassName", "styles", "classNames"]),
|
|
673
|
+
} = e, k = ve(e, ["prefixCls", "openClassName", "getTooltipContainer", "color", "overlayInnerStyle", "children", "afterOpenChange", "afterVisibleChange", "destroyTooltipOnHide", "destroyOnHidden", "arrow", "title", "overlay", "builtinPlacements", "arrowPointAtCenter", "autoAdjustOverflow", "motion", "getPopupContainer", "placement", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "rootClassName", "overlayClassName", "styles", "classNames"]), M = !!m, [, w] = Wt(), {
|
|
674
674
|
getPopupContainer: _,
|
|
675
|
-
getPrefixCls:
|
|
675
|
+
getPrefixCls: H,
|
|
676
676
|
direction: X,
|
|
677
677
|
className: W,
|
|
678
678
|
style: Y,
|
|
@@ -707,21 +707,21 @@ const he = /* @__PURE__ */ p.forwardRef((e, o) => {
|
|
|
707
707
|
return typeof m == "object" && (E = (v = (u = m.pointAtCenter) !== null && u !== void 0 ? u : m.arrowPointAtCenter) !== null && v !== void 0 ? v : C), $ || ue({
|
|
708
708
|
arrowPointAtCenter: E,
|
|
709
709
|
autoAdjustOverflow: T,
|
|
710
|
-
arrowWidth:
|
|
710
|
+
arrowWidth: M ? w.sizePopupArrow : 0,
|
|
711
711
|
borderRadius: w.borderRadius,
|
|
712
712
|
offset: w.marginXXS,
|
|
713
713
|
visibleFirst: !0
|
|
714
714
|
});
|
|
715
715
|
}, [C, m, $, w]), at = p.useMemo(() => g === 0 ? g : O || g || "", [O, g]), wt = /* @__PURE__ */ p.createElement(Zt, {
|
|
716
716
|
space: !0
|
|
717
|
-
}, typeof at == "function" ? at() : at), R =
|
|
717
|
+
}, typeof at == "function" ? at() : at), R = H("tooltip", r), Ct = H(), Ot = e["data-popover-inject"];
|
|
718
718
|
let nt = ot;
|
|
719
719
|
!("open" in e) && !("visible" in e) && rt && (nt = !1);
|
|
720
720
|
const st = /* @__PURE__ */ p.isValidElement(d) && !Ut(d) ? d : /* @__PURE__ */ p.createElement("span", null, d), U = st.props, $t = !U.className || typeof U.className == "string" ? S(U.className, s || `${R}-open`) : U.className, [xt, Pt, _t] = mt(R, !Ot), it = gt(R, i), Nt = it.arrowStyle, St = S(et, {
|
|
721
721
|
[`${R}-rtl`]: X === "rtl"
|
|
722
722
|
}, it.className, tt, Pt, _t, W, q.root, P == null ? void 0 : P.root), jt = S(q.body, P == null ? void 0 : P.body), [Tt, At] = Gt("Tooltip", k.zIndex), Rt = /* @__PURE__ */ p.createElement(se, Object.assign({}, k, {
|
|
723
723
|
zIndex: Tt,
|
|
724
|
-
showArrow:
|
|
724
|
+
showArrow: M,
|
|
725
725
|
placement: J,
|
|
726
726
|
mouseEnterDelay: B,
|
|
727
727
|
mouseLeaveDelay: K,
|