@yuku123/z-cognition-component 2.0.3 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/{BaseInput-DHrGPDB9.js → BaseInput-rxw05EpT.js} +16 -16
- package/dist-lib/{ClockCircleOutlined-DP6fSLgk.js → ClockCircleOutlined-DqK04lTb.js} +2 -2
- package/dist-lib/{Collapse-B77SsmFh.js → Collapse-D9XOithE.js} +76 -76
- package/dist-lib/{DeleteOutlined-BAZSAooQ.js → DeleteOutlined-DnGmqa7C.js} +1 -1
- package/dist-lib/{EllipsisOutlined-Dr4orLLw.js → EllipsisOutlined-VzQrhleP.js} +144 -144
- package/dist-lib/{EyeOutlined-CudyDdjH.js → EyeOutlined-CIFgRd6d.js} +4 -4
- package/dist-lib/{LeftOutlined-CJasZIyX.js → LeftOutlined-Be44-JWT.js} +1 -1
- package/dist-lib/{Pagination-BJ8wnqAa.js → Pagination-BuFXTevS.js} +32 -32
- package/dist-lib/{RotateRightOutlined-DqyspFCO.js → RotateRightOutlined-CYlCNRvD.js} +1 -1
- package/dist-lib/{Table-J_7eBbi7.js → Table-D1RvQXGM.js} +9 -9
- package/dist-lib/{accessAk-CA30m5eX.js → accessAk-DlxcvD0O.js} +1 -1
- package/dist-lib/{agents-eZDKzePP.js → agents-CabJdV6W.js} +17 -17
- package/dist-lib/{ai-CNSn3-sd.js → ai-DZ6fqUyK.js} +1 -1
- package/dist-lib/{ai-chat-share-Yrqt_J6a.js → ai-chat-share-CYSU7UlK.js} +4 -4
- package/dist-lib/{ak-manage-DklVFT5I.js → ak-manage-MTp2UyyK.js} +12 -12
- package/dist-lib/{approval-B-bCSmfi.js → approval-F9OYS1Ov.js} +3 -3
- package/dist-lib/{approvals-B0ggYiyD.js → approvals-DDEl02-L.js} +2 -2
- package/dist-lib/{assistant-Of0mgMsM.js → assistant-CcC1rvys.js} +39 -39
- package/dist-lib/{assistant-history-DcyDhUzJ.js → assistant-history-fmy8IsJL.js} +5 -5
- package/dist-lib/{assistant-summary-CjLaTyFz.js → assistant-summary-kuK5-mku.js} +1 -1
- package/dist-lib/{audit-wDNCfmOy.js → audit-C0GYByqU.js} +1 -1
- package/dist-lib/{bios-CIwO1AUK.js → bios-_axkM_DR.js} +11 -11
- package/dist-lib/{callSuper-CpMOVGin.js → callSuper-CuPJalb0.js} +1 -1
- package/dist-lib/{category-9gqNseEa.js → category-BPLw60Ia.js} +1 -1
- package/dist-lib/{causal-CzAYukj9.js → causal-CcWolsb5.js} +5 -5
- package/dist-lib/{changelog-CQfIMS51.js → changelog-BQdmpq5H.js} +2 -2
- package/dist-lib/{changelog-sKJMQrlV.js → changelog-DC6nlUDh.js} +1 -1
- package/dist-lib/{chat-panel-BPbqKckR.js → chat-panel-CgpP4Xf5.js} +28 -28
- package/dist-lib/{code-space-D_ZE966E.js → code-space-CZ3CzVcA.js} +9 -9
- package/dist-lib/{colors-DpKdb8L-.js → colors-BsFEfaVs.js} +3 -3
- package/dist-lib/{community-CfWXxujB.js → community-D9mD_Tq1.js} +3 -3
- package/dist-lib/{community-9_7ExHcm.js → community-ESJc4qtl.js} +1 -1
- package/dist-lib/{community-material-page-Z_EZuBPl.js → community-material-page-Ct5uMwhv.js} +19 -19
- package/dist-lib/{connections-Bcqsp11M.js → connections-DrxmCfe3.js} +6 -6
- package/dist-lib/{createForOfIteratorHelper-CasBzL_Q.js → createForOfIteratorHelper-3K1vcDqi.js} +1 -1
- package/dist-lib/{detail-EyLdjGpX.js → detail-DXOJf57e.js} +37 -37
- package/dist-lib/{detail-CV6xp_Jp.js → detail-kPAVlzm3.js} +4 -4
- package/dist-lib/{detail-DioaWKWj.js → detail-lGslEB8s.js} +14 -14
- package/dist-lib/{development-CFcOIUKc.js → development-aLXXcLcF.js} +17 -17
- package/dist-lib/{downloads-DtV5hOQv.js → downloads-DFOEFvX6.js} +1 -1
- package/dist-lib/{edit-NtXUNj5N.js → edit-BbtVK23D.js} +88 -88
- package/dist-lib/{editor-KZhj-rwT.js → editor-DbLQFOUf.js} +16 -16
- package/dist-lib/{editor-page-BaxK_OYm.js → editor-page-B_H0fRAI.js} +13 -13
- package/dist-lib/{embed-mf8t3QXh.js → embed-BUaR8PAn.js} +3930 -3955
- package/dist-lib/embed.css +1 -1
- package/dist-lib/{evaluation-CZTpC9v3.js → evaluation-8Tx-3UQh.js} +2 -2
- package/dist-lib/{execution-B6HmOA2_.js → execution-Dz5dBEFl.js} +13 -13
- package/dist-lib/{graph-DHV-rdiK.js → graph-DacHEbKr.js} +5 -5
- package/dist-lib/{index-BoCtPJD4.js → index-B6G8CZ1v.js} +130 -130
- package/dist-lib/{index-DKAGVWMX.js → index-BDWjubAD.js} +6 -6
- package/dist-lib/{index-Bw4M9KLv.js → index-BI-rknta.js} +75 -75
- package/dist-lib/{index-QZ9JPfVR.js → index-BLGPH51v.js} +4 -4
- package/dist-lib/{index-BsoHetYT.js → index-BMv3kGDG.js} +20 -20
- package/dist-lib/{index-DgfIEgir.js → index-BOB3j3H_.js} +1 -1
- package/dist-lib/{index-BPbOPT2j.js → index-BU2GXuww.js} +2 -2
- package/dist-lib/{index-DU6bO95v.js → index-BWmgE7bB.js} +88 -88
- package/dist-lib/{index-CLhLA2ig.js → index-Be_iqVpx.js} +78 -78
- package/dist-lib/{index-CwyFMPcr.js → index-Bf8IQq4A.js} +15 -15
- package/dist-lib/{index-DGbjbjBY.js → index-Bi7O9pQv.js} +182 -182
- package/dist-lib/{index-BkTegt8T.js → index-Bt9F-2Fl.js} +100 -100
- package/dist-lib/{index-D6ns_Xmf.js → index-BtW_nQBU.js} +2 -2
- package/dist-lib/{index-CvxfA0ZK.js → index-BuGHtvxH.js} +16 -16
- package/dist-lib/{index-CtqUgNxs.js → index-CDxeB8C4.js} +24 -24
- package/dist-lib/{index-2SysmGHo.js → index-CNBwau86.js} +139 -139
- package/dist-lib/{index-BvJ35WL3.js → index-CS6H40rM.js} +15 -15
- package/dist-lib/{index--AI-htgA.js → index-CSoMwNHq.js} +45 -45
- package/dist-lib/{index-CgwK2maq.js → index-CdNxm2We.js} +38 -38
- package/dist-lib/{index-BqTsLClH.js → index-CjFA5T3K.js} +1 -1
- package/dist-lib/{index-3J47mTL1.js → index-D23tZfhi.js} +1 -1
- package/dist-lib/{index-BkJjYgKD.js → index-D7nLwQye.js} +486 -486
- package/dist-lib/{index-zXwXfn-X.js → index-DR9LGJpi.js} +23 -23
- package/dist-lib/{index-BEO8itgt.js → index-DTgboCiF.js} +13 -13
- package/dist-lib/{index-CSJA8wvL.js → index-Ddx6XQu5.js} +36 -36
- package/dist-lib/{index-C2CV4bte.js → index-Di2bQwQn.js} +2 -2
- package/dist-lib/{index-DhSCFLtV.js → index-DlqhOJnd.js} +98 -98
- package/dist-lib/{index-xQmDaKK3.js → index-GQGXGr9M.js} +1 -1
- package/dist-lib/{index-B7SfTpox.js → index-IB3GOib9.js} +8 -8
- package/dist-lib/{index-VeAMz0iC.js → index-Pcxp_AYe.js} +43 -43
- package/dist-lib/{index-CdJ5ggvp.js → index-QkktEus5.js} +17 -17
- package/dist-lib/{index-Bln3mJfp.js → index-fVCVIu8I.js} +2 -2
- package/dist-lib/{index-B5Roo82U.js → index-jHh-ITBK.js} +25 -25
- package/dist-lib/{index-DaMLYomP.js → index-keRQ37lH.js} +6 -6
- package/dist-lib/{index-CF0ucN_K.js → index-n6hK1r_G.js} +3 -3
- package/dist-lib/{index-Bd7AGv4a.js → index-qYfXuLnZ.js} +2 -2
- package/dist-lib/{index-B12ZggsE.js → index-yPMzsLHL.js} +3 -3
- package/dist-lib/index.js +1 -1
- package/dist-lib/{json-field-COcz5F2R.js → json-field-Bu-gFb6c.js} +2 -2
- package/dist-lib/{kb-form-modal-D9gnvXbE.js → kb-form-modal-DsXpXfNT.js} +20 -19
- package/dist-lib/{kbTeam-CorrPJFr.js → kbTeam-D8hsAHI5.js} +1 -1
- package/dist-lib/{knowledge-base-DJkjMFHW.js → knowledge-base-D2XMD7iI.js} +21 -20
- package/dist-lib/{knowledge-hub-DKiDlaZz.js → knowledge-hub-BoBR8-j-.js} +12 -12
- package/dist-lib/{login-56zv4aLO.js → login-B4C374Y_.js} +3 -3
- package/dist-lib/{markdown-lite-p1tiuSZM.js → markdown-lite-ROKlyMXg.js} +55 -55
- package/dist-lib/{material-DtPASeqq.js → material-CqtPqoZj.js} +1 -1
- package/dist-lib/{material-draft-markdown-281d5_GN.js → material-draft-markdown-BKlKt3pc.js} +2 -2
- package/dist-lib/{material-original-preview-CPGjdmbe.js → material-original-preview-pzANkVK5.js} +5 -5
- package/dist-lib/{material-workspace-model-QLsU5qUO.js → material-workspace-model-BUpogooV.js} +1 -1
- package/dist-lib/{member-Cz-OIdj9.js → member-CCTFfLDC.js} +1 -1
- package/dist-lib/{memory-reorganization-DgJnWIrW.js → memory-reorganization-CBTDCRhV.js} +1 -1
- package/dist-lib/{memory-spaces-D-orVNR7.js → memory-spaces-CZGIBlz2.js} +19 -19
- package/dist-lib/{message-D6FhzB7J.js → message-Chq3cAdy.js} +3 -3
- package/dist-lib/{message-C9gfvpGg.js → message-Rz7LvGMk.js} +1 -1
- package/dist-lib/{messages-cctmEVcG.js → messages-DciGawgR.js} +2 -2
- package/dist-lib/{meta-DT_O4zM9.js → meta-BWgVxZgd.js} +2 -2
- package/dist-lib/{metrics-BNeVcI8-.js → metrics-iWreq4IL.js} +2 -2
- package/dist-lib/{mobile-D8kZjfQU.js → mobile-CNrK04Ak.js} +2 -2
- package/dist-lib/{monitor-DexMYjzF.js → monitor-BpUJZCht.js} +3 -3
- package/dist-lib/{monitor-DTUyqumg.js → monitor-CaTKbDI1.js} +3 -3
- package/dist-lib/{my-access-DWBV6ohp.js → my-access-ZH5CWVGF.js} +3 -3
- package/dist-lib/{my-permissions-B-gJZQYM.js → my-permissions-edhi0lav.js} +4 -4
- package/dist-lib/{navigation-DVlyWnpD.js → navigation-2WdPUP2T.js} +1 -1
- package/dist-lib/{new-JmARyD88.js → new-Dq6mvU2w.js} +5 -5
- package/dist-lib/{ontology-B4rkO33J.js → ontology-BX6X1X2J.js} +5 -5
- package/dist-lib/{ontology-dataprep-BwD5TKs2.js → ontology-dataprep-BjMnFRBG.js} +1 -1
- package/dist-lib/{ontology-domains-zxFrjn0v.js → ontology-domains-B7AuwW8S.js} +63 -63
- package/dist-lib/{ontology-extract-iR_rXxFe.js → ontology-extract-FpJ6K8z6.js} +1 -1
- package/dist-lib/{ontology-extract-BHOxruRO.js → ontology-extract-wbvBwGZO.js} +22 -22
- package/dist-lib/{ontology-flow-CW0SzeK7.js → ontology-flow-CJsIvS35.js} +6 -6
- package/dist-lib/{ontology-flow-Dv5iQ20f.js → ontology-flow-Cgi8Fk-i.js} +3 -3
- package/dist-lib/{ontology-modeling-hakCluBi.js → ontology-modeling-C_6GvHBT.js} +33 -33
- package/dist-lib/{ontology-modeling-B9wswveh.js → ontology-modeling-CeDS1-FE.js} +2 -2
- package/dist-lib/{ontology-scenarios-DKnfydG6.js → ontology-scenarios-4Ar7Y8Kt.js} +11 -11
- package/dist-lib/{ontology-scenarios-C2kp7Rs-.js → ontology-scenarios-BaYN82pv.js} +392 -392
- package/dist-lib/{ontology-task-config-DmnWyCCB.js → ontology-task-config-CDt7NdIq.js} +1 -1
- package/dist-lib/{ontology-terms-BoNB-5ar.js → ontology-terms-CnFarWZX.js} +1 -1
- package/dist-lib/{ontology-terms-C-NhpcIZ.js → ontology-terms-CxTp2Dcq.js} +18 -18
- package/dist-lib/{permission-Dq1-AOQw.js → permission-CNqwhyF3.js} +2 -2
- package/dist-lib/{preset-DCNSE--Y.js → preset-CfByvcqu.js} +3 -3
- package/dist-lib/{progress-CZxOOnIs.js → progress-ImhDvynO.js} +2 -2
- package/dist-lib/{quota-oICQRHFU.js → quota-B38BWyPo.js} +7 -6
- package/dist-lib/{row-By17TCiW.js → row-DeVE0t_N.js} +2 -2
- package/dist-lib/{runs-DQTDpPaN.js → runs-ILSUwEOv.js} +6 -6
- package/dist-lib/{save-blob-CwCZE1Dn.js → save-blob-C5BbV45B.js} +2 -2
- package/dist-lib/{scenario-mapping-preview-sJtjgmry.js → scenario-mapping-preview-7v1SRE7V.js} +17 -17
- package/dist-lib/{scenario-simple-form-BvKSPFzw.js → scenario-simple-form-mFm6f2ho.js} +9 -9
- package/dist-lib/{schedule-CwkPPSuT.js → schedule-DzB9rZrm.js} +2 -2
- package/dist-lib/{script-gYJAFobb.js → script-CKdVDsYh.js} +14 -14
- package/dist-lib/{settings-CJd5Jj4y.js → settings-CaihqQtz.js} +71 -70
- package/dist-lib/{shared-DG5-VCDM.js → shared-B51Q5536.js} +1 -1
- package/dist-lib/{shared-utils-CFHws1DA.js → shared-utils-Ck5sql2m.js} +2 -2
- package/dist-lib/{skills-lxpJ5Lzx.js → skills-By3A0Dc1.js} +5 -5
- package/dist-lib/{source-selection-DJnQQckl.js → source-selection-sIKyG7xR.js} +1 -1
- package/dist-lib/{sources-C83LpCcV.js → sources-DvIMColY.js} +12 -12
- package/dist-lib/{style-B5THvtDY.js → style-BHQZmWlH.js} +8 -8
- package/dist-lib/{task-config-BNYoOb79.js → task-config-CoPFj_FN.js} +3 -3
- package/dist-lib/{tech-LuZvKDo6.js → tech-BJgEEFrT.js} +1 -1
- package/dist-lib/{templates-a-kbCamr.js → templates-CODaf2QI.js} +6 -6
- package/dist-lib/{tenant-login-COB-5h_2.js → tenant-login-DmN4qfah.js} +12 -12
- package/dist-lib/{tools-CrA6GrY6.js → tools-CyRz1Ofg.js} +4 -4
- package/dist-lib/use-current-tenant-otPCQ3X8.js +22 -0
- package/dist-lib/{use-domain-access-ehGJBGvU.js → use-domain-access-BuD99GTw.js} +1 -1
- package/dist-lib/{use-g6-graph-DfRnsBS6.js → use-g6-graph-C5h9frJM.js} +1 -1
- package/dist-lib/{use-graph-layers-CrhEeHfD.js → use-graph-layers-Cbd3Jggb.js} +9 -9
- package/dist-lib/{useBreakpoint-Cul9y9Cu.js → useBreakpoint-B8dF3ifo.js} +4 -4
- package/dist-lib/{useForm-B-dwOwJ8.js → useForm-BZkiMeaN.js} +6 -6
- package/dist-lib/{version-control-panel-mWXkC-uB.js → version-control-panel-HdMlbpbO.js} +1 -1
- package/dist-lib/{version-management-nPlG7wQO.js → version-management-BYoxw4GV.js} +2 -2
- package/dist-lib/{welcome-Cqv1-rXT.js → welcome-CMNXQf8J.js} +1 -1
- package/package.json +1 -1
|
@@ -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-BUaR8PAn.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-CDt7NdIq.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,15 +1,15 @@
|
|
|
1
1
|
import * as l from "react";
|
|
2
|
-
import { useContext as fe, useState as ve, useEffect as de, useRef as He, createContext as Ze, forwardRef as
|
|
3
|
-
import { R as ue, a as me } from "./LeftOutlined-
|
|
4
|
-
import {
|
|
5
|
-
import { D as vt, M as ht, u as Ct, S as It, E as St, R as Re, a as yt, b as xt } from "./EllipsisOutlined-
|
|
6
|
-
import { T as wt, a as Bt, g as Ot, b as Et, c as zt } from "./index-
|
|
7
|
-
import { a as Ht, r as
|
|
8
|
-
import { g as
|
|
9
|
-
import { S as Nt } from "./index-
|
|
2
|
+
import { useContext as fe, useState as ve, useEffect as de, useRef as He, createContext as Ze, forwardRef as Pe, useImperativeHandle as Ke } from "react";
|
|
3
|
+
import { R as ue, a as me } from "./LeftOutlined-Be44-JWT.js";
|
|
4
|
+
import { a_ as Qe, a$ as Je, a6 as le, ao as b, a8 as ee, a9 as te, a5 as D, aS as et, ba as ae, ck as tt, cl as ot, aV as nt, bn as rt, bs as it, bI as lt, a7 as pe, cm as ne, cd as Te, bK as he, bL as Ce, an as Ne, ca as at, cn as je, ap as Me, bp as ge, aF as De, aG as st, co as dt, cp as ct, cq as ut, cr as mt, cs as Ie, ct as Se, bM as pt, bi as gt, cu as bt, cv as $t, bk as ft, B as ye } from "./embed-BUaR8PAn.js";
|
|
5
|
+
import { D as vt, M as ht, u as Ct, S as It, E as St, R as Re, a as yt, b as xt } from "./EllipsisOutlined-VzQrhleP.js";
|
|
6
|
+
import { T as wt, a as Bt, g as Ot, b as Et, c as zt } from "./index-DR9LGJpi.js";
|
|
7
|
+
import { a as Ht, r as Pt } from "./mediaQueryUtil-8vWuS10Z.js";
|
|
8
|
+
import { g as Tt } from "./collapse-Dtpt-6W_.js";
|
|
9
|
+
import { S as Nt } from "./index-BLGPH51v.js";
|
|
10
10
|
const jt = (e) => typeof e != "object" && typeof e != "function" || e === null;
|
|
11
11
|
var Mt = { icon: { tag: "svg", attrs: { viewBox: "0 0 1024 1024", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z" } }] }, name: "bars", theme: "outlined" }, Dt = function(o, t) {
|
|
12
|
-
return /* @__PURE__ */ l.createElement(
|
|
12
|
+
return /* @__PURE__ */ l.createElement(Qe, Je({}, o, {
|
|
13
13
|
ref: t,
|
|
14
14
|
icon: Mt
|
|
15
15
|
}));
|
|
@@ -90,7 +90,7 @@ const Rt = /* @__PURE__ */ l.createContext({
|
|
|
90
90
|
minHeight: 0
|
|
91
91
|
}
|
|
92
92
|
};
|
|
93
|
-
},
|
|
93
|
+
}, _e = (e) => {
|
|
94
94
|
const {
|
|
95
95
|
colorBgLayout: o,
|
|
96
96
|
controlHeight: t,
|
|
@@ -123,11 +123,11 @@ const Rt = /* @__PURE__ */ l.createContext({
|
|
|
123
123
|
lightTriggerBg: s,
|
|
124
124
|
lightTriggerColor: n
|
|
125
125
|
};
|
|
126
|
-
},
|
|
127
|
-
le("Layout", At,
|
|
128
|
-
deprecatedTokens:
|
|
126
|
+
}, ke = [["colorBgBody", "bodyBg"], ["colorBgHeader", "headerBg"], ["colorBgTrigger", "triggerBg"]];
|
|
127
|
+
le("Layout", At, _e, {
|
|
128
|
+
deprecatedTokens: ke
|
|
129
129
|
});
|
|
130
|
-
const
|
|
130
|
+
const _t = (e) => {
|
|
131
131
|
const {
|
|
132
132
|
componentCls: o,
|
|
133
133
|
siderBg: t,
|
|
@@ -233,10 +233,10 @@ const Lt = (e) => {
|
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
235
|
};
|
|
236
|
-
},
|
|
237
|
-
deprecatedTokens:
|
|
236
|
+
}, kt = le(["Layout", "Sider"], _t, _e, {
|
|
237
|
+
deprecatedTokens: ke
|
|
238
238
|
});
|
|
239
|
-
var
|
|
239
|
+
var Lt = function(e, o) {
|
|
240
240
|
var t = {};
|
|
241
241
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && o.indexOf(r) < 0 && (t[r] = e[r]);
|
|
242
242
|
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var n = 0, r = Object.getOwnPropertySymbols(e); n < r.length; n++)
|
|
@@ -270,71 +270,71 @@ const xe = {
|
|
|
270
270
|
breakpoint: u,
|
|
271
271
|
onCollapse: c,
|
|
272
272
|
onBreakpoint: h
|
|
273
|
-
} = e, C =
|
|
273
|
+
} = e, C = Lt(e, ["prefixCls", "className", "trigger", "children", "defaultCollapsed", "theme", "style", "collapsible", "reverseArrow", "width", "collapsedWidth", "zeroWidthTriggerStyle", "breakpoint", "onCollapse", "onBreakpoint"]), {
|
|
274
274
|
siderHook: B
|
|
275
275
|
} = fe(Rt), [x, E] = ve("collapsed" in e ? e.collapsed : i), [v, N] = ve(!1);
|
|
276
276
|
de(() => {
|
|
277
277
|
"collapsed" in e && E(e.collapsed);
|
|
278
278
|
}, [e.collapsed]);
|
|
279
|
-
const M = (
|
|
280
|
-
"collapsed" in e || E(
|
|
279
|
+
const M = (P, X) => {
|
|
280
|
+
"collapsed" in e || E(P), c == null || c(P, X);
|
|
281
281
|
}, {
|
|
282
282
|
getPrefixCls: j,
|
|
283
283
|
direction: I
|
|
284
|
-
} = fe(ee), S = j("layout-sider", t), [R, z, H] =
|
|
285
|
-
y.current = (
|
|
286
|
-
N(
|
|
284
|
+
} = fe(ee), S = j("layout-sider", t), [R, z, H] = kt(S), y = He(null);
|
|
285
|
+
y.current = (P) => {
|
|
286
|
+
N(P.matches), h == null || h(P.matches), x !== P.matches && M(P.matches, "responsive");
|
|
287
287
|
}, de(() => {
|
|
288
|
-
function
|
|
288
|
+
function P(J) {
|
|
289
289
|
var G;
|
|
290
|
-
return (G = y.current) === null || G === void 0 ? void 0 : G.call(y,
|
|
290
|
+
return (G = y.current) === null || G === void 0 ? void 0 : G.call(y, J);
|
|
291
291
|
}
|
|
292
292
|
let X;
|
|
293
|
-
return typeof (window == null ? void 0 : window.matchMedia) < "u" && u && u in xe && (X = window.matchMedia(`screen and (max-width: ${xe[u]})`), Ht(X,
|
|
294
|
-
|
|
293
|
+
return typeof (window == null ? void 0 : window.matchMedia) < "u" && u && u in xe && (X = window.matchMedia(`screen and (max-width: ${xe[u]})`), Ht(X, P), P(X)), () => {
|
|
294
|
+
Pt(X, P);
|
|
295
295
|
};
|
|
296
296
|
}, [u]), de(() => {
|
|
297
|
-
const
|
|
298
|
-
return B.addSider(
|
|
297
|
+
const P = Xt("ant-sider-");
|
|
298
|
+
return B.addSider(P), () => B.removeSider(P);
|
|
299
299
|
}, []);
|
|
300
300
|
const A = () => {
|
|
301
301
|
M(!x, "clickTrigger");
|
|
302
|
-
}, V = te(C, ["collapsed"]),
|
|
302
|
+
}, V = te(C, ["collapsed"]), k = x ? p : f, w = Wt(k) ? `${k}px` : String(k), L = Number.parseFloat(String(p || 0)) === 0 ? /* @__PURE__ */ l.createElement("span", {
|
|
303
303
|
onClick: A,
|
|
304
304
|
className: D(`${S}-zero-width-trigger`, `${S}-zero-width-trigger-${g ? "right" : "left"}`),
|
|
305
305
|
style: $
|
|
306
306
|
}, n || /* @__PURE__ */ l.createElement(Ae, null)) : null, q = I === "rtl" == !g, O = {
|
|
307
307
|
expanded: q ? /* @__PURE__ */ l.createElement(me, null) : /* @__PURE__ */ l.createElement(ue, null),
|
|
308
308
|
collapsed: q ? /* @__PURE__ */ l.createElement(ue, null) : /* @__PURE__ */ l.createElement(me, null)
|
|
309
|
-
}[x ? "collapsed" : "expanded"], W = n !== null ?
|
|
309
|
+
}[x ? "collapsed" : "expanded"], W = n !== null ? L || /* @__PURE__ */ l.createElement("div", {
|
|
310
310
|
className: `${S}-trigger`,
|
|
311
311
|
onClick: A,
|
|
312
312
|
style: {
|
|
313
313
|
width: w
|
|
314
314
|
}
|
|
315
|
-
}, n || O) : null,
|
|
315
|
+
}, n || O) : null, K = Object.assign(Object.assign({}, s), {
|
|
316
316
|
flex: `0 0 ${w}`,
|
|
317
317
|
maxWidth: w,
|
|
318
318
|
minWidth: w,
|
|
319
319
|
width: w
|
|
320
320
|
}), F = D(S, `${S}-${d}`, {
|
|
321
321
|
[`${S}-collapsed`]: !!x,
|
|
322
|
-
[`${S}-has-trigger`]: m && n !== null && !
|
|
322
|
+
[`${S}-has-trigger`]: m && n !== null && !L,
|
|
323
323
|
[`${S}-below`]: !!v,
|
|
324
324
|
[`${S}-zero-width`]: Number.parseFloat(w) === 0
|
|
325
|
-
}, r, z, H),
|
|
325
|
+
}, r, z, H), Q = l.useMemo(() => ({
|
|
326
326
|
siderCollapsed: x
|
|
327
327
|
}), [x]);
|
|
328
328
|
return R(/* @__PURE__ */ l.createElement(be.Provider, {
|
|
329
|
-
value:
|
|
329
|
+
value: Q
|
|
330
330
|
}, /* @__PURE__ */ l.createElement("aside", Object.assign({
|
|
331
331
|
className: F
|
|
332
332
|
}, V, {
|
|
333
|
-
style:
|
|
333
|
+
style: K,
|
|
334
334
|
ref: o
|
|
335
335
|
}), /* @__PURE__ */ l.createElement("div", {
|
|
336
336
|
className: `${S}-children`
|
|
337
|
-
}, a), m || v &&
|
|
337
|
+
}, a), m || v && L ? W : null)));
|
|
338
338
|
});
|
|
339
339
|
process.env.NODE_ENV !== "production" && (Vt.displayName = "Sider");
|
|
340
340
|
const re = /* @__PURE__ */ Ze({
|
|
@@ -349,7 +349,7 @@ var qt = function(e, o) {
|
|
|
349
349
|
o.indexOf(r[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[n]) && (t[r[n]] = e[r[n]]);
|
|
350
350
|
return t;
|
|
351
351
|
};
|
|
352
|
-
const
|
|
352
|
+
const Le = (e) => {
|
|
353
353
|
const {
|
|
354
354
|
prefixCls: o,
|
|
355
355
|
className: t,
|
|
@@ -541,7 +541,7 @@ const ie = /* @__PURE__ */ l.createContext(null), Gt = /* @__PURE__ */ l.forward
|
|
|
541
541
|
// Horizontal
|
|
542
542
|
horizontalItemSelectedColor: A,
|
|
543
543
|
horizontalItemSelectedBg: V,
|
|
544
|
-
horizontalItemBorderRadius:
|
|
544
|
+
horizontalItemBorderRadius: k,
|
|
545
545
|
horizontalItemHoverBg: w
|
|
546
546
|
} = e;
|
|
547
547
|
return {
|
|
@@ -644,7 +644,7 @@ const ie = /* @__PURE__ */ l.createContext(null), Gt = /* @__PURE__ */ l.forward
|
|
|
644
644
|
top: p,
|
|
645
645
|
marginTop: e.calc(p).mul(-1).equal(),
|
|
646
646
|
marginBottom: 0,
|
|
647
|
-
borderRadius:
|
|
647
|
+
borderRadius: k,
|
|
648
648
|
"&::after": {
|
|
649
649
|
position: "absolute",
|
|
650
650
|
insetInline: h,
|
|
@@ -991,7 +991,7 @@ const ie = /* @__PURE__ */ l.createContext(null), Gt = /* @__PURE__ */ l.forward
|
|
|
991
991
|
}
|
|
992
992
|
}
|
|
993
993
|
};
|
|
994
|
-
},
|
|
994
|
+
}, Kt = (e) => {
|
|
995
995
|
const {
|
|
996
996
|
antCls: o,
|
|
997
997
|
componentCls: t,
|
|
@@ -1209,7 +1209,7 @@ const ie = /* @__PURE__ */ l.createContext(null), Gt = /* @__PURE__ */ l.forward
|
|
|
1209
1209
|
}
|
|
1210
1210
|
}
|
|
1211
1211
|
];
|
|
1212
|
-
},
|
|
1212
|
+
}, Qt = (e) => {
|
|
1213
1213
|
var o, t, r;
|
|
1214
1214
|
const {
|
|
1215
1215
|
colorPrimary: n,
|
|
@@ -1322,7 +1322,7 @@ const ie = /* @__PURE__ */ l.createContext(null), Gt = /* @__PURE__ */ l.forward
|
|
|
1322
1322
|
// internal
|
|
1323
1323
|
itemWidth: R ? `calc(100% + ${z}px)` : `calc(100% - ${H * 2}px)`
|
|
1324
1324
|
};
|
|
1325
|
-
},
|
|
1325
|
+
}, Jt = (e, o = e, t = !0) => le("Menu", (n) => {
|
|
1326
1326
|
const {
|
|
1327
1327
|
colorBgElevated: a,
|
|
1328
1328
|
controlHeightLG: i,
|
|
@@ -1379,7 +1379,7 @@ const ie = /* @__PURE__ */ l.createContext(null), Gt = /* @__PURE__ */ l.forward
|
|
|
1379
1379
|
});
|
|
1380
1380
|
return [
|
|
1381
1381
|
// Basic
|
|
1382
|
-
|
|
1382
|
+
Kt(I),
|
|
1383
1383
|
// Horizontal
|
|
1384
1384
|
Yt(I),
|
|
1385
1385
|
// Hard code for some light style
|
|
@@ -1392,12 +1392,12 @@ const ie = /* @__PURE__ */ l.createContext(null), Gt = /* @__PURE__ */ l.forward
|
|
|
1392
1392
|
// RTL
|
|
1393
1393
|
Ut(I),
|
|
1394
1394
|
// Motion
|
|
1395
|
-
|
|
1395
|
+
Tt(I),
|
|
1396
1396
|
ne(I, "slide-up"),
|
|
1397
1397
|
ne(I, "slide-down"),
|
|
1398
|
-
|
|
1398
|
+
Te(I, "zoom-big")
|
|
1399
1399
|
];
|
|
1400
|
-
},
|
|
1400
|
+
}, Qt, {
|
|
1401
1401
|
deprecatedTokens: [["colorGroupTitle", "groupTitleColor"], ["radiusItem", "itemBorderRadius"], ["radiusSubMenuItem", "subMenuItemBorderRadius"], ["colorItemText", "itemColor"], ["colorItemTextHover", "itemHoverColor"], ["colorItemTextHoverHorizontal", "horizontalItemHoverColor"], ["colorItemTextSelected", "itemSelectedColor"], ["colorItemTextSelectedHorizontal", "horizontalItemSelectedColor"], ["colorItemTextDisabled", "itemDisabledColor"], ["colorDangerItemText", "dangerItemColor"], ["colorDangerItemTextHover", "dangerItemHoverColor"], ["colorDangerItemTextSelected", "dangerItemSelectedColor"], ["colorDangerItemBgActive", "dangerItemActiveBg"], ["colorDangerItemBgSelected", "dangerItemSelectedBg"], ["colorItemBg", "itemBg"], ["colorItemBgHover", "itemHoverBg"], ["colorSubItemBg", "subMenuItemBg"], ["colorItemBgActive", "itemActiveBg"], ["colorItemBgSelectedHorizontal", "horizontalItemSelectedBg"], ["colorActiveBarWidth", "activeBarWidth"], ["colorActiveBarHeight", "activeBarHeight"], ["colorActiveBarBorderSize", "activeBarBorderWidth"], ["colorItemBgSelected", "itemSelectedBg"]],
|
|
1402
1402
|
// Dropdown will handle menu style self. We do not need to handle this.
|
|
1403
1403
|
injectStyle: t,
|
|
@@ -1457,8 +1457,8 @@ function ce(e) {
|
|
|
1457
1457
|
const to = {
|
|
1458
1458
|
item: We,
|
|
1459
1459
|
submenu: Xe,
|
|
1460
|
-
divider:
|
|
1461
|
-
}, oo = /* @__PURE__ */
|
|
1460
|
+
divider: Le
|
|
1461
|
+
}, oo = /* @__PURE__ */ Pe((e, o) => {
|
|
1462
1462
|
var t;
|
|
1463
1463
|
const r = l.useContext(ie), n = r || {}, {
|
|
1464
1464
|
getPrefixCls: a,
|
|
@@ -1481,15 +1481,15 @@ const to = {
|
|
|
1481
1481
|
overflowedIndicatorPopupClassName: N
|
|
1482
1482
|
} = e, M = eo(e, ["prefixCls", "className", "style", "theme", "expandIcon", "_internalDisableMenuItemTitleTooltip", "inlineCollapsed", "siderCollapsed", "rootClassName", "mode", "selectable", "onClick", "overflowedIndicatorPopupClassName"]), j = te(M, ["collapsedWidth"]);
|
|
1483
1483
|
if (process.env.NODE_ENV !== "production") {
|
|
1484
|
-
const
|
|
1485
|
-
process.env.NODE_ENV !== "production" &&
|
|
1484
|
+
const _ = Me("Menu");
|
|
1485
|
+
process.env.NODE_ENV !== "production" && _(!("inlineCollapsed" in e && x !== "inline"), "usage", "`inlineCollapsed` should only be used when `mode` is inline."), _.deprecated("items" in e && !e.children, "children", "items");
|
|
1486
1486
|
}
|
|
1487
1487
|
(t = n.validator) === null || t === void 0 || t.call(n, {
|
|
1488
1488
|
mode: x
|
|
1489
1489
|
});
|
|
1490
|
-
const I = ge((...
|
|
1490
|
+
const I = ge((..._) => {
|
|
1491
1491
|
var O;
|
|
1492
|
-
v == null || v.apply(void 0,
|
|
1492
|
+
v == null || v.apply(void 0, _), (O = n.onClick) === null || O === void 0 || O.call(n);
|
|
1493
1493
|
}), S = n.mode || x, R = E ?? n.selectable, z = h ?? C, H = {
|
|
1494
1494
|
horizontal: {
|
|
1495
1495
|
motionName: `${m}-slide-up`
|
|
@@ -1498,15 +1498,15 @@ const to = {
|
|
|
1498
1498
|
other: {
|
|
1499
1499
|
motionName: `${m}-zoom-big`
|
|
1500
1500
|
}
|
|
1501
|
-
}, y = a("menu", g || n.prefixCls), A = De(y), [V,
|
|
1502
|
-
var
|
|
1501
|
+
}, y = a("menu", g || n.prefixCls), A = De(y), [V, k, w] = Jt(y, A, !r), L = D(`${y}-${$}`, s == null ? void 0 : s.className, f), q = l.useMemo(() => {
|
|
1502
|
+
var _, O;
|
|
1503
1503
|
if (typeof u == "function" || ce(u))
|
|
1504
1504
|
return u || null;
|
|
1505
1505
|
if (typeof n.expandIcon == "function" || ce(n.expandIcon))
|
|
1506
1506
|
return n.expandIcon || null;
|
|
1507
1507
|
if (typeof (s == null ? void 0 : s.expandIcon) == "function" || ce(s == null ? void 0 : s.expandIcon))
|
|
1508
1508
|
return (s == null ? void 0 : s.expandIcon) || null;
|
|
1509
|
-
const W = (
|
|
1509
|
+
const W = (_ = u ?? (n == null ? void 0 : n.expandIcon)) !== null && _ !== void 0 ? _ : s == null ? void 0 : s.expandIcon;
|
|
1510
1510
|
return ae(W, {
|
|
1511
1511
|
className: D(`${y}-submenu-expand-icon`, /* @__PURE__ */ l.isValidElement(W) ? (O = W.props) === null || O === void 0 ? void 0 : O.className : void 0)
|
|
1512
1512
|
});
|
|
@@ -1533,18 +1533,18 @@ const to = {
|
|
|
1533
1533
|
}, j, {
|
|
1534
1534
|
inlineCollapsed: z,
|
|
1535
1535
|
style: Object.assign(Object.assign({}, s == null ? void 0 : s.style), p),
|
|
1536
|
-
className:
|
|
1536
|
+
className: L,
|
|
1537
1537
|
prefixCls: y,
|
|
1538
1538
|
direction: d,
|
|
1539
1539
|
defaultMotions: H,
|
|
1540
1540
|
expandIcon: q,
|
|
1541
1541
|
ref: o,
|
|
1542
|
-
rootClassName: D(B,
|
|
1542
|
+
rootClassName: D(B, k, n.rootClassName, w, A),
|
|
1543
1543
|
_internalComponents: to
|
|
1544
1544
|
})))));
|
|
1545
|
-
}), Z = /* @__PURE__ */
|
|
1545
|
+
}), Z = /* @__PURE__ */ Pe((e, o) => {
|
|
1546
1546
|
const t = He(null), r = l.useContext(be);
|
|
1547
|
-
return
|
|
1547
|
+
return Ke(o, () => ({
|
|
1548
1548
|
menu: t.current,
|
|
1549
1549
|
focus: (n) => {
|
|
1550
1550
|
var a;
|
|
@@ -1556,7 +1556,7 @@ const to = {
|
|
|
1556
1556
|
});
|
|
1557
1557
|
Z.Item = We;
|
|
1558
1558
|
Z.SubMenu = Xe;
|
|
1559
|
-
Z.Divider =
|
|
1559
|
+
Z.Divider = Le;
|
|
1560
1560
|
Z.ItemGroup = yt;
|
|
1561
1561
|
process.env.NODE_ENV !== "production" && (Z.displayName = "Menu");
|
|
1562
1562
|
const no = (e) => {
|
|
@@ -1841,7 +1841,7 @@ const no = (e) => {
|
|
|
1841
1841
|
})
|
|
1842
1842
|
},
|
|
1843
1843
|
// Follow code may reuse in other components
|
|
1844
|
-
[ne(e, "slide-up"), ne(e, "slide-down"), Se(e, "move-up"), Se(e, "move-down"),
|
|
1844
|
+
[ne(e, "slide-up"), ne(e, "slide-down"), Se(e, "move-up"), Se(e, "move-down"), Te(e, "zoom-big")]
|
|
1845
1845
|
];
|
|
1846
1846
|
}, io = (e) => Object.assign(Object.assign({
|
|
1847
1847
|
zIndexPopup: e.zIndexPopupBase + 50,
|
|
@@ -1907,20 +1907,20 @@ const no = (e) => {
|
|
|
1907
1907
|
A.deprecated(!(U in e), U, Ue);
|
|
1908
1908
|
}), v.includes("Center") && A.deprecated(!v.includes("Center"), `placement: ${v}`, `placement: ${v.slice(0, v.indexOf("Center"))}`));
|
|
1909
1909
|
const V = l.useMemo(() => {
|
|
1910
|
-
const
|
|
1911
|
-
return M !== void 0 ? M : v.includes("top") ? `${
|
|
1912
|
-
}, [R, v, M]),
|
|
1910
|
+
const T = R();
|
|
1911
|
+
return M !== void 0 ? M : v.includes("top") ? `${T}-slide-down` : `${T}-slide-up`;
|
|
1912
|
+
}, [R, v, M]), k = l.useMemo(() => v ? v.includes("Center") ? v.slice(0, v.indexOf("Center")) : v : z === "rtl" ? "bottomRight" : "bottomLeft", [v, z]), w = R("dropdown", n), L = De(w), [q, Y, _] = lo(w, L), [, O] = pt(), W = l.Children.only(jt(a) ? /* @__PURE__ */ l.createElement("span", null, a) : a), K = ae(W, {
|
|
1913
1913
|
className: D(`${w}-trigger`, {
|
|
1914
1914
|
[`${w}-rtl`]: z === "rtl"
|
|
1915
1915
|
}, W.props.className),
|
|
1916
1916
|
disabled: (o = W.props.disabled) !== null && o !== void 0 ? o : d
|
|
1917
|
-
}), F = d ? [] : i,
|
|
1917
|
+
}), F = d ? [] : i, Q = !!(F != null && F.includes("contextMenu")), [P, X] = gt(!1, {
|
|
1918
1918
|
value: u ?? h
|
|
1919
|
-
}),
|
|
1920
|
-
c == null || c(
|
|
1919
|
+
}), J = ge((T) => {
|
|
1920
|
+
c == null || c(T, {
|
|
1921
1921
|
source: "trigger"
|
|
1922
|
-
}), C == null || C(
|
|
1923
|
-
}), G = D(f, p, Y,
|
|
1922
|
+
}), C == null || C(T), X(T);
|
|
1923
|
+
}), G = D(f, p, Y, _, L, H == null ? void 0 : H.className, {
|
|
1924
1924
|
[`${w}-rtl`]: z === "rtl"
|
|
1925
1925
|
}), qe = zt({
|
|
1926
1926
|
arrowPointAtCenter: typeof r == "object" && r.pointAtCenter,
|
|
@@ -1933,10 +1933,10 @@ const no = (e) => {
|
|
|
1933
1933
|
source: "menu"
|
|
1934
1934
|
}), X(!1));
|
|
1935
1935
|
}), Ge = () => {
|
|
1936
|
-
let
|
|
1937
|
-
return t != null && t.items ?
|
|
1936
|
+
let T;
|
|
1937
|
+
return t != null && t.items ? T = /* @__PURE__ */ l.createElement(Z, Object.assign({}, t)) : typeof N == "function" ? T = N() : T = N, y && (T = y(T)), T = l.Children.only(typeof T == "string" ? /* @__PURE__ */ l.createElement("span", null, T) : T), /* @__PURE__ */ l.createElement(Gt, {
|
|
1938
1938
|
prefixCls: `${w}-menu`,
|
|
1939
|
-
rootClassName: D(
|
|
1939
|
+
rootClassName: D(_, L),
|
|
1940
1940
|
expandIcon: /* @__PURE__ */ l.createElement("span", {
|
|
1941
1941
|
className: `${w}-menu-submenu-arrow`
|
|
1942
1942
|
}, z === "rtl" ? /* @__PURE__ */ l.createElement(ue, {
|
|
@@ -1952,14 +1952,14 @@ const no = (e) => {
|
|
|
1952
1952
|
}) => {
|
|
1953
1953
|
process.env.NODE_ENV !== "production" && A(!U || U === "vertical", "usage", `mode="${U}" is not supported for Dropdown's Menu.`);
|
|
1954
1954
|
}
|
|
1955
|
-
},
|
|
1955
|
+
}, T);
|
|
1956
1956
|
}, [$e, Ye] = je("Dropdown", $ == null ? void 0 : $.zIndex);
|
|
1957
1957
|
let se = /* @__PURE__ */ l.createElement(xt, Object.assign({
|
|
1958
|
-
alignPoint:
|
|
1958
|
+
alignPoint: Q
|
|
1959
1959
|
}, te(e, ["rootClassName"]), {
|
|
1960
1960
|
mouseEnterDelay: B,
|
|
1961
1961
|
mouseLeaveDelay: x,
|
|
1962
|
-
visible:
|
|
1962
|
+
visible: P,
|
|
1963
1963
|
builtinPlacements: qe,
|
|
1964
1964
|
arrow: !!r,
|
|
1965
1965
|
overlayClassName: G,
|
|
@@ -1968,13 +1968,13 @@ const no = (e) => {
|
|
|
1968
1968
|
transitionName: V,
|
|
1969
1969
|
trigger: F,
|
|
1970
1970
|
overlay: Ge,
|
|
1971
|
-
placement:
|
|
1972
|
-
onVisibleChange:
|
|
1971
|
+
placement: k,
|
|
1972
|
+
onVisibleChange: J,
|
|
1973
1973
|
overlayStyle: Object.assign(Object.assign(Object.assign({}, H == null ? void 0 : H.style), $), {
|
|
1974
1974
|
zIndex: $e
|
|
1975
1975
|
}),
|
|
1976
1976
|
autoDestroy: j ?? I
|
|
1977
|
-
}),
|
|
1977
|
+
}), K);
|
|
1978
1978
|
return $e && (se = /* @__PURE__ */ l.createElement(bt.Provider, {
|
|
1979
1979
|
value: Ye
|
|
1980
1980
|
}, se)), q(se);
|
|
@@ -2023,9 +2023,9 @@ const Ve = (e) => {
|
|
|
2023
2023
|
overlayStyle: y,
|
|
2024
2024
|
destroyOnHidden: A,
|
|
2025
2025
|
destroyPopupOnHide: V,
|
|
2026
|
-
dropdownRender:
|
|
2026
|
+
dropdownRender: k,
|
|
2027
2027
|
popupRender: w
|
|
2028
|
-
} = e,
|
|
2028
|
+
} = e, L = co(e, ["prefixCls", "type", "danger", "disabled", "loading", "onClick", "htmlType", "children", "className", "menu", "arrow", "autoFocus", "overlay", "trigger", "align", "open", "onOpenChange", "placement", "getPopupContainer", "href", "icon", "title", "buttonsRender", "mouseEnterDelay", "mouseLeaveDelay", "overlayClassName", "overlayStyle", "destroyOnHidden", "destroyPopupOnHide", "dropdownRender", "popupRender"]), q = t("dropdown", n), Y = `${q}-button`, O = {
|
|
2029
2029
|
menu: $,
|
|
2030
2030
|
arrow: u,
|
|
2031
2031
|
autoFocus: c,
|
|
@@ -2039,13 +2039,13 @@ const Ve = (e) => {
|
|
|
2039
2039
|
overlayClassName: H,
|
|
2040
2040
|
overlayStyle: y,
|
|
2041
2041
|
destroyOnHidden: A,
|
|
2042
|
-
popupRender: w ||
|
|
2042
|
+
popupRender: w || k
|
|
2043
2043
|
}, {
|
|
2044
2044
|
compactSize: W,
|
|
2045
|
-
compactItemClassnames:
|
|
2046
|
-
} = ft(q, r), F = D(Y,
|
|
2045
|
+
compactItemClassnames: K
|
|
2046
|
+
} = ft(q, r), F = D(Y, K, p);
|
|
2047
2047
|
"destroyPopupOnHide" in e && (O.destroyPopupOnHide = V), "overlay" in e && (O.overlay = h), "open" in e && (O.open = x), "placement" in e ? O.placement = v : O.placement = r === "rtl" ? "bottomLeft" : "bottomRight";
|
|
2048
|
-
const
|
|
2048
|
+
const Q = /* @__PURE__ */ l.createElement(ye, {
|
|
2049
2049
|
type: a,
|
|
2050
2050
|
danger: i,
|
|
2051
2051
|
disabled: d,
|
|
@@ -2054,16 +2054,16 @@ const Ve = (e) => {
|
|
|
2054
2054
|
htmlType: g,
|
|
2055
2055
|
href: M,
|
|
2056
2056
|
title: I
|
|
2057
|
-
}, f),
|
|
2057
|
+
}, f), P = /* @__PURE__ */ l.createElement(ye, {
|
|
2058
2058
|
type: a,
|
|
2059
2059
|
danger: i,
|
|
2060
2060
|
icon: j
|
|
2061
|
-
}), [X,
|
|
2061
|
+
}), [X, J] = S([Q, P]);
|
|
2062
2062
|
return /* @__PURE__ */ l.createElement(Nt.Compact, Object.assign({
|
|
2063
2063
|
className: F,
|
|
2064
2064
|
size: W,
|
|
2065
2065
|
block: !0
|
|
2066
|
-
},
|
|
2066
|
+
}, L), X, /* @__PURE__ */ l.createElement(oe, Object.assign({}, O), J));
|
|
2067
2067
|
};
|
|
2068
2068
|
Ve.__ANT_BUTTON = !0;
|
|
2069
2069
|
const uo = oe;
|