@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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { am as we, bI as ie, aA as Qt, a_ as en, be as tn, bk as re, bl as L, a5 as ve, cy as nn, b4 as T, bn as w, bz as Gn, by as rn, bj as A, as as ye, b8 as qn, bA as Pe, bm as Ze, cl as Yn, a9 as St, aH as Xn, ci as Jn, aJ as Zn, aI as Qn, cC as Ve, aY as er, az as tr, bi as nr, b3 as rr } from "./embed-CoEyJMJx.js";
|
|
2
2
|
import * as n from "react";
|
|
3
3
|
import Z, { forwardRef as ar, useMemo as ir, useRef as Je, useCallback as Se, useImperativeHandle as or } from "react";
|
|
4
4
|
import { flushSync as lr } from "react-dom";
|
|
@@ -84,7 +84,7 @@ var fr = /* @__PURE__ */ ar(function(e, r) {
|
|
|
84
84
|
}
|
|
85
85
|
}, vr = ["arrow", "prefixCls", "transitionName", "animation", "align", "placement", "placements", "getPopupContainer", "showAction", "hideAction", "overlayClassName", "overlayStyle", "visible", "trigger", "autoFocus", "overlay", "children", "onVisibleChange"];
|
|
86
86
|
function mr(e, r) {
|
|
87
|
-
var a, t = e.arrow, i = t === void 0 ? !1 : t, o = e.prefixCls, l = o === void 0 ? "rc-dropdown" : o, u = e.transitionName, d = e.animation, s = e.align, g = e.placement, c = g === void 0 ? "bottomLeft" : g, f = e.placements, C = f === void 0 ? dr : f, h = e.getPopupContainer, E = e.showAction, b = e.hideAction, I = e.overlayClassName, P = e.overlayStyle, v = e.visible, m = e.trigger, y = m === void 0 ? ["hover"] : m, p = e.autoFocus, R = e.overlay,
|
|
87
|
+
var a, t = e.arrow, i = t === void 0 ? !1 : t, o = e.prefixCls, l = o === void 0 ? "rc-dropdown" : o, u = e.transitionName, d = e.animation, s = e.align, g = e.placement, c = g === void 0 ? "bottomLeft" : g, f = e.placements, C = f === void 0 ? dr : f, h = e.getPopupContainer, E = e.showAction, b = e.hideAction, I = e.overlayClassName, P = e.overlayStyle, v = e.visible, m = e.trigger, y = m === void 0 ? ["hover"] : m, p = e.autoFocus, R = e.overlay, _ = e.children, S = e.onVisibleChange, j = re(e, vr), O = Z.useState(), K = L(O, 2), H = K[0], B = K[1], G = "visible" in e ? v : H, Y = Z.useRef(null), V = Z.useRef(null), q = Z.useRef(null);
|
|
88
88
|
Z.useImperativeHandle(r, function() {
|
|
89
89
|
return Y.current;
|
|
90
90
|
});
|
|
@@ -116,9 +116,9 @@ function mr(e, r) {
|
|
|
116
116
|
}, ce = function() {
|
|
117
117
|
var D = e.openClassName;
|
|
118
118
|
return D !== void 0 ? D : "".concat(l, "-open");
|
|
119
|
-
},
|
|
120
|
-
className: ve((a =
|
|
121
|
-
ref: tn(
|
|
119
|
+
}, k = /* @__PURE__ */ Z.cloneElement(_, {
|
|
120
|
+
className: ve((a = _.props) === null || a === void 0 ? void 0 : a.className, G && ce()),
|
|
121
|
+
ref: tn(_) ? Qt(q, en(_)) : void 0
|
|
122
122
|
}), z = b;
|
|
123
123
|
return !z && y.indexOf("contextMenu") !== -1 && (z = ["click"]), /* @__PURE__ */ Z.createElement(nn, T({
|
|
124
124
|
builtinPlacements: C
|
|
@@ -140,7 +140,7 @@ function mr(e, r) {
|
|
|
140
140
|
onPopupVisibleChange: F,
|
|
141
141
|
onPopupClick: Q,
|
|
142
142
|
getPopupContainer: h
|
|
143
|
-
}),
|
|
143
|
+
}), k);
|
|
144
144
|
}
|
|
145
145
|
const na = /* @__PURE__ */ Z.forwardRef(mr);
|
|
146
146
|
var an = /* @__PURE__ */ n.createContext(null);
|
|
@@ -153,7 +153,7 @@ function ln(e) {
|
|
|
153
153
|
}
|
|
154
154
|
var pr = ["children", "locked"], ae = /* @__PURE__ */ n.createContext(null);
|
|
155
155
|
function gr(e, r) {
|
|
156
|
-
var a =
|
|
156
|
+
var a = A({}, e);
|
|
157
157
|
return Object.keys(r).forEach(function(t) {
|
|
158
158
|
var i = r[t];
|
|
159
159
|
i !== void 0 && (a[t] = i);
|
|
@@ -295,8 +295,8 @@ function Ir(e, r, a, t, i, o, l, u, d, s) {
|
|
|
295
295
|
}, []), function(C) {
|
|
296
296
|
var h = C.which;
|
|
297
297
|
if ([].concat(qt, [et, fn, $e, Le]).includes(h)) {
|
|
298
|
-
var E = o(), b = Mt(E, t), I = b, P = I.elements, v = I.key2element, m = I.element2key, y = v.get(r), p = Mr(y, P), R = m.get(p),
|
|
299
|
-
if (!
|
|
298
|
+
var E = o(), b = Mt(E, t), I = b, P = I.elements, v = I.key2element, m = I.element2key, y = v.get(r), p = Mr(y, P), R = m.get(p), _ = Cr(e, l(R, !0).length === 1, a, h);
|
|
299
|
+
if (!_ && h !== $e && h !== Le)
|
|
300
300
|
return;
|
|
301
301
|
(qt.includes(h) || [$e, Le].includes(h)) && C.preventDefault();
|
|
302
302
|
var S = function(V) {
|
|
@@ -309,20 +309,20 @@ function Ir(e, r, a, t, i, o, l, u, d, s) {
|
|
|
309
309
|
});
|
|
310
310
|
}
|
|
311
311
|
};
|
|
312
|
-
if ([$e, Le].includes(h) ||
|
|
312
|
+
if ([$e, Le].includes(h) || _.sibling || !p) {
|
|
313
313
|
var j;
|
|
314
314
|
!p || e === "inline" ? j = i.current : j = yr(p);
|
|
315
|
-
var
|
|
316
|
-
h === $e ?
|
|
317
|
-
} else if (
|
|
315
|
+
var O, K = xt(j, P);
|
|
316
|
+
h === $e ? O = K[0] : h === Le ? O = K[K.length - 1] : O = Yt(j, P, p, _.offset), S(O);
|
|
317
|
+
} else if (_.inlineTrigger)
|
|
318
318
|
d(R);
|
|
319
|
-
else if (
|
|
319
|
+
else if (_.offset > 0)
|
|
320
320
|
d(R, !0), f(), g.current = we(function() {
|
|
321
321
|
b = Mt(E, t);
|
|
322
322
|
var Y = p.getAttribute("aria-controls"), V = document.getElementById(Y), q = Yt(V, b.elements);
|
|
323
323
|
S(q);
|
|
324
324
|
}, 5);
|
|
325
|
-
else if (
|
|
325
|
+
else if (_.offset < 0) {
|
|
326
326
|
var H = l(R, !0), B = H[H.length - 2], G = v.get(B);
|
|
327
327
|
d(B, !1), S(G);
|
|
328
328
|
}
|
|
@@ -439,7 +439,7 @@ function vn(e) {
|
|
|
439
439
|
}
|
|
440
440
|
function mn(e) {
|
|
441
441
|
var r = e.icon, a = e.props, t = e.children, i;
|
|
442
|
-
return r === null || r === !1 ? null : (typeof r == "function" ? i = /* @__PURE__ */ n.createElement(r,
|
|
442
|
+
return r === null || r === !1 ? null : (typeof r == "function" ? i = /* @__PURE__ */ n.createElement(r, A({}, a)) : typeof r != "boolean" && (i = r), i || t || null);
|
|
443
443
|
}
|
|
444
444
|
var Pr = ["item"];
|
|
445
445
|
function tt(e) {
|
|
@@ -450,7 +450,7 @@ function tt(e) {
|
|
|
450
450
|
}
|
|
451
451
|
}), a;
|
|
452
452
|
}
|
|
453
|
-
var Nr = ["title", "attribute", "elementRef"],
|
|
453
|
+
var Nr = ["title", "attribute", "elementRef"], _r = ["style", "className", "eventKey", "warnKey", "disabled", "itemIcon", "children", "role", "onMouseEnter", "onMouseLeave", "onClick", "onKeyDown", "onFocus"], Kr = ["active"], Or = /* @__PURE__ */ (function(e) {
|
|
454
454
|
Xn(a, e);
|
|
455
455
|
var r = Jn(a);
|
|
456
456
|
function a() {
|
|
@@ -467,33 +467,33 @@ var Nr = ["title", "attribute", "elementRef"], Kr = ["style", "className", "even
|
|
|
467
467
|
}));
|
|
468
468
|
}
|
|
469
469
|
}]), a;
|
|
470
|
-
})(n.Component),
|
|
471
|
-
var a = e.style, t = e.className, i = e.eventKey, o = e.warnKey, l = e.disabled, u = e.itemIcon, d = e.children, s = e.role, g = e.onMouseEnter, c = e.onMouseLeave, f = e.onClick, C = e.onKeyDown, h = e.onFocus, E = re(e,
|
|
470
|
+
})(n.Component), Ar = /* @__PURE__ */ n.forwardRef(function(e, r) {
|
|
471
|
+
var a = e.style, t = e.className, i = e.eventKey, o = e.warnKey, l = e.disabled, u = e.itemIcon, d = e.children, s = e.role, g = e.onMouseEnter, c = e.onMouseLeave, f = e.onClick, C = e.onKeyDown, h = e.onFocus, E = re(e, _r), b = ln(i), I = n.useContext(ae), P = I.prefixCls, v = I.onItemClick, m = I.disabled, y = I.overflowDisabled, p = I.itemIcon, R = I.selectedKeys, _ = I.onActive, S = n.useContext(Et), j = S._internalRenderMenuItem, O = "".concat(P, "-item"), K = n.useRef(), H = n.useRef(), B = m || l, G = Yn(r, H), Y = ze(i);
|
|
472
472
|
process.env.NODE_ENV !== "production" && o && Pe(!1, "MenuItem should not leave undefined `key`.");
|
|
473
473
|
var V = function(U) {
|
|
474
474
|
return {
|
|
475
475
|
key: i,
|
|
476
476
|
// Note: For legacy code is reversed which not like other antd component
|
|
477
477
|
keyPath: ye(Y).reverse(),
|
|
478
|
-
item:
|
|
478
|
+
item: K.current,
|
|
479
479
|
domEvent: U
|
|
480
480
|
};
|
|
481
|
-
}, q = u || p, F = dn(i, B, g, c), Q = F.active, oe = re(F,
|
|
481
|
+
}, q = u || p, F = dn(i, B, g, c), Q = F.active, oe = re(F, Kr), le = R.includes(i), se = vn(Y.length), ce = function(U) {
|
|
482
482
|
if (!B) {
|
|
483
483
|
var ue = V(U);
|
|
484
484
|
f == null || f(tt(ue)), v(ue);
|
|
485
485
|
}
|
|
486
|
-
},
|
|
486
|
+
}, k = function(U) {
|
|
487
487
|
if (C == null || C(U), U.which === ie.ENTER) {
|
|
488
488
|
var ue = V(U);
|
|
489
489
|
f == null || f(tt(ue)), v(ue);
|
|
490
490
|
}
|
|
491
491
|
}, z = function(U) {
|
|
492
|
-
|
|
492
|
+
_(i), h == null || h(U);
|
|
493
493
|
}, ee = {};
|
|
494
494
|
e.role === "option" && (ee["aria-selected"] = le);
|
|
495
|
-
var D = /* @__PURE__ */ n.createElement(
|
|
496
|
-
ref:
|
|
495
|
+
var D = /* @__PURE__ */ n.createElement(Or, T({
|
|
496
|
+
ref: K,
|
|
497
497
|
elementRef: G,
|
|
498
498
|
role: s === null ? "none" : s || "menuitem",
|
|
499
499
|
tabIndex: l ? null : -1,
|
|
@@ -501,13 +501,13 @@ var Nr = ["title", "attribute", "elementRef"], Kr = ["style", "className", "even
|
|
|
501
501
|
}, St(E, ["extra"]), oe, ee, {
|
|
502
502
|
component: "li",
|
|
503
503
|
"aria-disabled": l,
|
|
504
|
-
style:
|
|
505
|
-
className: ve(
|
|
504
|
+
style: A(A({}, se), a),
|
|
505
|
+
className: ve(O, w(w(w({}, "".concat(O, "-active"), Q), "".concat(O, "-selected"), le), "".concat(O, "-disabled"), B), t),
|
|
506
506
|
onClick: ce,
|
|
507
|
-
onKeyDown:
|
|
507
|
+
onKeyDown: k,
|
|
508
508
|
onFocus: z
|
|
509
509
|
}), d, /* @__PURE__ */ n.createElement(mn, {
|
|
510
|
-
props:
|
|
510
|
+
props: A(A({}, e), {}, {
|
|
511
511
|
isSelected: le
|
|
512
512
|
}),
|
|
513
513
|
icon: q
|
|
@@ -516,18 +516,18 @@ var Nr = ["title", "attribute", "elementRef"], Kr = ["style", "className", "even
|
|
|
516
516
|
selected: le
|
|
517
517
|
})), D;
|
|
518
518
|
});
|
|
519
|
-
function
|
|
519
|
+
function kr(e, r) {
|
|
520
520
|
var a = e.eventKey, t = nt(), i = ze(a);
|
|
521
521
|
return n.useEffect(function() {
|
|
522
522
|
if (t)
|
|
523
523
|
return t.registerPath(a, i), function() {
|
|
524
524
|
t.unregisterPath(a, i);
|
|
525
525
|
};
|
|
526
|
-
}, [i]), t ? null : /* @__PURE__ */ n.createElement(
|
|
526
|
+
}, [i]), t ? null : /* @__PURE__ */ n.createElement(Ar, T({}, e, {
|
|
527
527
|
ref: r
|
|
528
528
|
}));
|
|
529
529
|
}
|
|
530
|
-
const Pt = /* @__PURE__ */ n.forwardRef(
|
|
530
|
+
const Pt = /* @__PURE__ */ n.forwardRef(kr);
|
|
531
531
|
var Dr = ["className", "children"], $r = function(r, a) {
|
|
532
532
|
var t = r.className, i = r.children, o = re(r, Dr), l = n.useContext(ae), u = l.prefixCls, d = l.mode, s = l.rtl;
|
|
533
533
|
return /* @__PURE__ */ n.createElement("ul", T({
|
|
@@ -539,7 +539,7 @@ var Dr = ["className", "children"], $r = function(r, a) {
|
|
|
539
539
|
}), i);
|
|
540
540
|
}, Nt = /* @__PURE__ */ n.forwardRef($r);
|
|
541
541
|
Nt.displayName = "SubMenuList";
|
|
542
|
-
function
|
|
542
|
+
function _t(e, r) {
|
|
543
543
|
return er(e).map(function(a, t) {
|
|
544
544
|
if (/* @__PURE__ */ n.isValidElement(a)) {
|
|
545
545
|
var i, o, l = a.key, u = (i = (o = a.props) === null || o === void 0 ? void 0 : o.eventKey) !== null && i !== void 0 ? i : l, d = u == null;
|
|
@@ -636,9 +636,9 @@ var Vr = {
|
|
|
636
636
|
"vertical-right": "leftTop"
|
|
637
637
|
};
|
|
638
638
|
function Fr(e) {
|
|
639
|
-
var r = e.prefixCls, a = e.visible, t = e.children, i = e.popup, o = e.popupStyle, l = e.popupClassName, u = e.popupOffset, d = e.disabled, s = e.mode, g = e.onVisibleChange, c = n.useContext(ae), f = c.getPopupContainer, C = c.rtl, h = c.subMenuOpenDelay, E = c.subMenuCloseDelay, b = c.builtinPlacements, I = c.triggerSubMenuAction, P = c.forceSubMenuRender, v = c.rootClassName, m = c.motion, y = c.defaultMotions, p = n.useState(!1), R = L(p, 2),
|
|
640
|
-
s !== "inline" && (H.current =
|
|
641
|
-
var B =
|
|
639
|
+
var r = e.prefixCls, a = e.visible, t = e.children, i = e.popup, o = e.popupStyle, l = e.popupClassName, u = e.popupOffset, d = e.disabled, s = e.mode, g = e.onVisibleChange, c = n.useContext(ae), f = c.getPopupContainer, C = c.rtl, h = c.subMenuOpenDelay, E = c.subMenuCloseDelay, b = c.builtinPlacements, I = c.triggerSubMenuAction, P = c.forceSubMenuRender, v = c.rootClassName, m = c.motion, y = c.defaultMotions, p = n.useState(!1), R = L(p, 2), _ = R[0], S = R[1], j = C ? A(A({}, Tr), b) : A(A({}, Lr), b), O = Vr[s], K = pn(s, m, y), H = n.useRef(K);
|
|
640
|
+
s !== "inline" && (H.current = K);
|
|
641
|
+
var B = A(A({}, H.current), {}, {
|
|
642
642
|
leavedClassName: "".concat(r, "-hidden"),
|
|
643
643
|
removeOnLeave: !1,
|
|
644
644
|
motionAppear: !0
|
|
@@ -655,8 +655,8 @@ function Fr(e) {
|
|
|
655
655
|
stretch: s === "horizontal" ? "minWidth" : null,
|
|
656
656
|
getPopupContainer: f,
|
|
657
657
|
builtinPlacements: j,
|
|
658
|
-
popupPlacement:
|
|
659
|
-
popupVisible:
|
|
658
|
+
popupPlacement: O,
|
|
659
|
+
popupVisible: _,
|
|
660
660
|
popup: i,
|
|
661
661
|
popupStyle: o,
|
|
662
662
|
popupAlign: u && {
|
|
@@ -678,7 +678,7 @@ function zr(e) {
|
|
|
678
678
|
n.useEffect(function() {
|
|
679
679
|
f.current && b(!1);
|
|
680
680
|
}, [c]);
|
|
681
|
-
var P =
|
|
681
|
+
var P = A({}, pn(o, s, g));
|
|
682
682
|
t.length > 1 && (P.motionAppear = !1);
|
|
683
683
|
var v = P.onVisibleChanged;
|
|
684
684
|
return P.onVisibleChanged = function(m) {
|
|
@@ -702,21 +702,21 @@ function zr(e) {
|
|
|
702
702
|
}));
|
|
703
703
|
}
|
|
704
704
|
var Ur = ["style", "className", "title", "eventKey", "warnKey", "disabled", "internalPopupClose", "children", "itemIcon", "expandIcon", "popupClassName", "popupOffset", "popupStyle", "onClick", "onMouseEnter", "onMouseLeave", "onTitleClick", "onTitleMouseEnter", "onTitleMouseLeave"], Wr = ["active"], jr = /* @__PURE__ */ n.forwardRef(function(e, r) {
|
|
705
|
-
var a = e.style, t = e.className, i = e.title, o = e.eventKey, l = e.warnKey, u = e.disabled, d = e.internalPopupClose, s = e.children, g = e.itemIcon, c = e.expandIcon, f = e.popupClassName, C = e.popupOffset, h = e.popupStyle, E = e.onClick, b = e.onMouseEnter, I = e.onMouseLeave, P = e.onTitleClick, v = e.onTitleMouseEnter, m = e.onTitleMouseLeave, y = re(e, Ur), p = ln(o), R = n.useContext(ae),
|
|
705
|
+
var a = e.style, t = e.className, i = e.title, o = e.eventKey, l = e.warnKey, u = e.disabled, d = e.internalPopupClose, s = e.children, g = e.itemIcon, c = e.expandIcon, f = e.popupClassName, C = e.popupOffset, h = e.popupStyle, E = e.onClick, b = e.onMouseEnter, I = e.onMouseLeave, P = e.onTitleClick, v = e.onTitleMouseEnter, m = e.onTitleMouseLeave, y = re(e, Ur), p = ln(o), R = n.useContext(ae), _ = R.prefixCls, S = R.mode, j = R.openKeys, O = R.disabled, K = R.overflowDisabled, H = R.activeKey, B = R.selectedKeys, G = R.itemIcon, Y = R.expandIcon, V = R.onItemClick, q = R.onOpenChange, F = R.onActive, Q = n.useContext(Et), oe = Q._internalRenderSubMenuItem, le = n.useContext(cn), se = le.isSubPathKey, ce = ze(), k = "".concat(_, "-submenu"), z = O || u, ee = n.useRef(), D = n.useRef();
|
|
706
706
|
process.env.NODE_ENV !== "production" && l && Pe(!1, "SubMenu should not leave undefined `key`.");
|
|
707
|
-
var te = g ?? G, U = c ?? Y, ue = j.includes(o), fe = !
|
|
707
|
+
var te = g ?? G, U = c ?? Y, ue = j.includes(o), fe = !K && ue, Ue = se(B, o), Me = dn(o, z, v, m), pe = Me.active, it = re(Me, Wr), ot = n.useState(!1), We = L(ot, 2), Ne = We[0], je = We[1], _e = function(ne) {
|
|
708
708
|
z || je(ne);
|
|
709
709
|
}, lt = function(ne) {
|
|
710
|
-
|
|
710
|
+
_e(!0), b == null || b({
|
|
711
711
|
key: o,
|
|
712
712
|
domEvent: ne
|
|
713
713
|
});
|
|
714
714
|
}, ut = function(ne) {
|
|
715
|
-
|
|
715
|
+
_e(!1), I == null || I({
|
|
716
716
|
key: o,
|
|
717
717
|
domEvent: ne
|
|
718
718
|
});
|
|
719
|
-
},
|
|
719
|
+
}, Ke = n.useMemo(function() {
|
|
720
720
|
return pe || (S !== "inline" ? Ne || se([H], o) : !1);
|
|
721
721
|
}, [S, pe, H, Ne, o, se]), de = vn(ce.length), st = function(ne) {
|
|
722
722
|
z || (P == null || P({
|
|
@@ -729,37 +729,37 @@ var Ur = ["style", "className", "title", "eventKey", "warnKey", "disabled", "int
|
|
|
729
729
|
S !== "inline" && q(o, ne);
|
|
730
730
|
}, Be = function() {
|
|
731
731
|
F(o);
|
|
732
|
-
},
|
|
732
|
+
}, Oe = p && "".concat(p, "-popup"), Ie = n.useMemo(function() {
|
|
733
733
|
return /* @__PURE__ */ n.createElement(mn, {
|
|
734
734
|
icon: S !== "horizontal" ? U : void 0,
|
|
735
|
-
props:
|
|
735
|
+
props: A(A({}, e), {}, {
|
|
736
736
|
isOpen: fe,
|
|
737
737
|
// [Legacy] Not sure why need this mark
|
|
738
738
|
isSubMenu: !0
|
|
739
739
|
})
|
|
740
740
|
}, /* @__PURE__ */ n.createElement("i", {
|
|
741
|
-
className: "".concat(
|
|
741
|
+
className: "".concat(k, "-arrow")
|
|
742
742
|
}));
|
|
743
|
-
}, [S, U, e, fe,
|
|
743
|
+
}, [S, U, e, fe, k]), ge = /* @__PURE__ */ n.createElement("div", T({
|
|
744
744
|
role: "menuitem",
|
|
745
745
|
style: de,
|
|
746
|
-
className: "".concat(
|
|
746
|
+
className: "".concat(k, "-title"),
|
|
747
747
|
tabIndex: z ? null : -1,
|
|
748
748
|
ref: ee,
|
|
749
749
|
title: typeof i == "string" ? i : null,
|
|
750
|
-
"data-menu-id":
|
|
750
|
+
"data-menu-id": K && p ? null : p,
|
|
751
751
|
"aria-expanded": fe,
|
|
752
752
|
"aria-haspopup": !0,
|
|
753
|
-
"aria-controls":
|
|
753
|
+
"aria-controls": Oe,
|
|
754
754
|
"aria-disabled": z,
|
|
755
755
|
onClick: st,
|
|
756
756
|
onFocus: Be
|
|
757
757
|
}, it), i, Ie), he = n.useRef(S);
|
|
758
|
-
if (S !== "inline" && ce.length > 1 ? he.current = "vertical" : he.current = S, !
|
|
759
|
-
var
|
|
758
|
+
if (S !== "inline" && ce.length > 1 ? he.current = "vertical" : he.current = S, !K) {
|
|
759
|
+
var Ae = he.current;
|
|
760
760
|
ge = /* @__PURE__ */ n.createElement(Fr, {
|
|
761
|
-
mode:
|
|
762
|
-
prefixCls:
|
|
761
|
+
mode: Ae,
|
|
762
|
+
prefixCls: k,
|
|
763
763
|
visible: !d && fe && S !== "inline",
|
|
764
764
|
popupClassName: f,
|
|
765
765
|
popupOffset: C,
|
|
@@ -767,10 +767,10 @@ var Ur = ["style", "className", "title", "eventKey", "warnKey", "disabled", "int
|
|
|
767
767
|
popup: /* @__PURE__ */ n.createElement(
|
|
768
768
|
Fe,
|
|
769
769
|
{
|
|
770
|
-
mode:
|
|
770
|
+
mode: Ae === "horizontal" ? "vertical" : Ae
|
|
771
771
|
},
|
|
772
772
|
/* @__PURE__ */ n.createElement(Nt, {
|
|
773
|
-
id:
|
|
773
|
+
id: Oe,
|
|
774
774
|
ref: D
|
|
775
775
|
}, s)
|
|
776
776
|
),
|
|
@@ -784,17 +784,17 @@ var Ur = ["style", "className", "title", "eventKey", "warnKey", "disabled", "int
|
|
|
784
784
|
}, y, {
|
|
785
785
|
component: "li",
|
|
786
786
|
style: a,
|
|
787
|
-
className: ve(
|
|
787
|
+
className: ve(k, "".concat(k, "-").concat(S), t, w(w(w(w({}, "".concat(k, "-open"), fe), "".concat(k, "-active"), Ke), "".concat(k, "-selected"), Ue), "".concat(k, "-disabled"), z)),
|
|
788
788
|
onMouseEnter: lt,
|
|
789
789
|
onMouseLeave: ut
|
|
790
|
-
}), ge, !
|
|
791
|
-
id:
|
|
790
|
+
}), ge, !K && /* @__PURE__ */ n.createElement(zr, {
|
|
791
|
+
id: Oe,
|
|
792
792
|
open: fe,
|
|
793
793
|
keyPath: ce
|
|
794
794
|
}, s));
|
|
795
795
|
return oe && (Re = oe(Re, e, {
|
|
796
796
|
selected: Ue,
|
|
797
|
-
active:
|
|
797
|
+
active: Ke,
|
|
798
798
|
open: fe,
|
|
799
799
|
disabled: z
|
|
800
800
|
})), /* @__PURE__ */ n.createElement(Fe, {
|
|
@@ -804,7 +804,7 @@ var Ur = ["style", "className", "title", "eventKey", "warnKey", "disabled", "int
|
|
|
804
804
|
expandIcon: U
|
|
805
805
|
}, Re);
|
|
806
806
|
}), rt = /* @__PURE__ */ n.forwardRef(function(e, r) {
|
|
807
|
-
var a = e.eventKey, t = e.children, i = ze(a), o =
|
|
807
|
+
var a = e.eventKey, t = e.children, i = ze(a), o = _t(t, i), l = nt();
|
|
808
808
|
n.useEffect(function() {
|
|
809
809
|
if (l)
|
|
810
810
|
return l.registerPath(a, i), function() {
|
|
@@ -847,13 +847,13 @@ var Hr = ["className", "title", "eventKey", "children"], Br = /* @__PURE__ */ n.
|
|
|
847
847
|
role: "group",
|
|
848
848
|
className: "".concat(d, "-list")
|
|
849
849
|
}, i));
|
|
850
|
-
}),
|
|
851
|
-
var a = e.eventKey, t = e.children, i = ze(a), o =
|
|
850
|
+
}), Kt = /* @__PURE__ */ n.forwardRef(function(e, r) {
|
|
851
|
+
var a = e.eventKey, t = e.children, i = ze(a), o = _t(t, i), l = nt();
|
|
852
852
|
return l ? o : /* @__PURE__ */ n.createElement(Br, T({
|
|
853
853
|
ref: r
|
|
854
854
|
}, St(e, ["warnKey"])), o);
|
|
855
855
|
});
|
|
856
|
-
process.env.NODE_ENV !== "production" && (
|
|
856
|
+
process.env.NODE_ENV !== "production" && (Kt.displayName = "MenuItemGroup");
|
|
857
857
|
var Gr = ["label", "children", "key", "type", "extra"];
|
|
858
858
|
function Rt(e, r, a) {
|
|
859
859
|
var t = r.item, i = r.group, o = r.submenu, l = r.divider;
|
|
@@ -884,50 +884,50 @@ function Rt(e, r, a) {
|
|
|
884
884
|
});
|
|
885
885
|
}
|
|
886
886
|
function Zt(e, r, a, t, i) {
|
|
887
|
-
var o = e, l =
|
|
887
|
+
var o = e, l = A({
|
|
888
888
|
divider: gn,
|
|
889
889
|
item: Pt,
|
|
890
|
-
group:
|
|
890
|
+
group: Kt,
|
|
891
891
|
submenu: rt
|
|
892
892
|
}, t);
|
|
893
|
-
return r && (o = Rt(r, l, i)),
|
|
893
|
+
return r && (o = Rt(r, l, i)), _t(o, a);
|
|
894
894
|
}
|
|
895
895
|
var qr = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items", "children", "direction", "id", "mode", "inlineCollapsed", "disabled", "disabledOverflow", "subMenuOpenDelay", "subMenuCloseDelay", "forceSubMenuRender", "defaultOpenKeys", "openKeys", "activeKey", "defaultActiveFirst", "selectable", "multiple", "defaultSelectedKeys", "selectedKeys", "onSelect", "onDeselect", "inlineIndent", "motion", "defaultMotions", "triggerSubMenuAction", "builtinPlacements", "itemIcon", "expandIcon", "overflowedIndicator", "overflowedIndicatorPopupClassName", "getPopupContainer", "onClick", "onOpenChange", "onKeyDown", "openAnimation", "openTransitionName", "_internalRenderMenuItem", "_internalRenderSubMenuItem", "_internalComponents"], Ce = [], Yr = /* @__PURE__ */ n.forwardRef(function(e, r) {
|
|
896
|
-
var a, t = e, i = t.prefixCls, o = i === void 0 ? "rc-menu" : i, l = t.rootClassName, u = t.style, d = t.className, s = t.tabIndex, g = s === void 0 ? 0 : s, c = t.items, f = t.children, C = t.direction, h = t.id, E = t.mode, b = E === void 0 ? "vertical" : E, I = t.inlineCollapsed, P = t.disabled, v = t.disabledOverflow, m = t.subMenuOpenDelay, y = m === void 0 ? 0.1 : m, p = t.subMenuCloseDelay, R = p === void 0 ? 0.1 : p,
|
|
897
|
-
return [Zt(f, c, Ce,
|
|
898
|
-
}, [f, c,
|
|
896
|
+
var a, t = e, i = t.prefixCls, o = i === void 0 ? "rc-menu" : i, l = t.rootClassName, u = t.style, d = t.className, s = t.tabIndex, g = s === void 0 ? 0 : s, c = t.items, f = t.children, C = t.direction, h = t.id, E = t.mode, b = E === void 0 ? "vertical" : E, I = t.inlineCollapsed, P = t.disabled, v = t.disabledOverflow, m = t.subMenuOpenDelay, y = m === void 0 ? 0.1 : m, p = t.subMenuCloseDelay, R = p === void 0 ? 0.1 : p, _ = t.forceSubMenuRender, S = t.defaultOpenKeys, j = t.openKeys, O = t.activeKey, K = t.defaultActiveFirst, H = t.selectable, B = H === void 0 ? !0 : H, G = t.multiple, Y = G === void 0 ? !1 : G, V = t.defaultSelectedKeys, q = t.selectedKeys, F = t.onSelect, Q = t.onDeselect, oe = t.inlineIndent, le = oe === void 0 ? 24 : oe, se = t.motion, ce = t.defaultMotions, k = t.triggerSubMenuAction, z = k === void 0 ? "hover" : k, ee = t.builtinPlacements, D = t.itemIcon, te = t.expandIcon, U = t.overflowedIndicator, ue = U === void 0 ? "..." : U, fe = t.overflowedIndicatorPopupClassName, Ue = t.getPopupContainer, Me = t.onClick, pe = t.onOpenChange, it = t.onKeyDown, ot = t.openAnimation, We = t.openTransitionName, Ne = t._internalRenderMenuItem, je = t._internalRenderSubMenuItem, _e = t._internalComponents, lt = re(t, qr), ut = n.useMemo(function() {
|
|
897
|
+
return [Zt(f, c, Ce, _e, o), Zt(f, c, Ce, {}, o)];
|
|
898
|
+
}, [f, c, _e]), Ke = L(ut, 2), de = Ke[0], st = Ke[1], ct = n.useState(!1), He = L(ct, 2), Be = He[0], Oe = He[1], Ie = n.useRef(), ge = wr(h), he = C === "rtl";
|
|
899
899
|
process.env.NODE_ENV !== "production" && Pe(!ot && !We, "`openAnimation` and `openTransitionName` is removed. Please use `motion` or `defaultMotion` instead.");
|
|
900
|
-
var
|
|
900
|
+
var Ae = Ze(S, {
|
|
901
901
|
value: j,
|
|
902
902
|
postState: function(M) {
|
|
903
903
|
return M || Ce;
|
|
904
904
|
}
|
|
905
|
-
}), Re = L(
|
|
905
|
+
}), Re = L(Ae, 2), $ = Re[0], ne = Re[1], ft = function(M) {
|
|
906
906
|
var x = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
907
907
|
function X() {
|
|
908
908
|
ne(M), pe == null || pe(M);
|
|
909
909
|
}
|
|
910
910
|
x ? lr(X) : X();
|
|
911
|
-
}, hn = n.useState($),
|
|
911
|
+
}, hn = n.useState($), Ot = L(hn, 2), bn = Ot[0], Cn = Ot[1], dt = n.useRef(!1), yn = n.useMemo(function() {
|
|
912
912
|
return (b === "inline" || b === "vertical") && I ? ["vertical", I] : [b, !1];
|
|
913
|
-
}, [b, I]),
|
|
913
|
+
}, [b, I]), At = L(yn, 2), Ge = At[0], vt = At[1], kt = Ge === "inline", Mn = n.useState(Ge), Dt = L(Mn, 2), me = Dt[0], In = Dt[1], Rn = n.useState(vt), $t = L(Rn, 2), Sn = $t[0], En = $t[1];
|
|
914
914
|
n.useEffect(function() {
|
|
915
|
-
In(Ge), En(vt), dt.current && (
|
|
915
|
+
In(Ge), En(vt), dt.current && (kt ? ne(bn) : ft(Ce));
|
|
916
916
|
}, [Ge, vt]);
|
|
917
917
|
var xn = n.useState(0), Lt = L(xn, 2), qe = Lt[0], wn = Lt[1], mt = qe >= de.length - 1 || me !== "horizontal" || v;
|
|
918
918
|
n.useEffect(function() {
|
|
919
|
-
|
|
919
|
+
kt && Cn($);
|
|
920
920
|
}, [$]), n.useEffect(function() {
|
|
921
921
|
return dt.current = !0, function() {
|
|
922
922
|
dt.current = !1;
|
|
923
923
|
};
|
|
924
924
|
}, []);
|
|
925
|
-
var be = Er(), Tt = be.registerPath, Vt = be.unregisterPath, Pn = be.refreshOverflowKeys, Ft = be.isSubPathKey, Nn = be.getKeyPath, zt = be.getKeys,
|
|
925
|
+
var be = Er(), Tt = be.registerPath, Vt = be.unregisterPath, Pn = be.refreshOverflowKeys, Ft = be.isSubPathKey, Nn = be.getKeyPath, zt = be.getKeys, _n = be.getSubPathKeys, Kn = n.useMemo(function() {
|
|
926
926
|
return {
|
|
927
927
|
registerPath: Tt,
|
|
928
928
|
unregisterPath: Vt
|
|
929
929
|
};
|
|
930
|
-
}, [Tt, Vt]),
|
|
930
|
+
}, [Tt, Vt]), On = n.useMemo(function() {
|
|
931
931
|
return {
|
|
932
932
|
isSubPathKey: Ft
|
|
933
933
|
};
|
|
@@ -937,9 +937,9 @@ var qr = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
|
|
|
937
937
|
return N.key;
|
|
938
938
|
}));
|
|
939
939
|
}, [qe, mt]);
|
|
940
|
-
var
|
|
941
|
-
value:
|
|
942
|
-
}), Ut = L(
|
|
940
|
+
var An = Ze(O || K && ((a = de[0]) === null || a === void 0 ? void 0 : a.key), {
|
|
941
|
+
value: O
|
|
942
|
+
}), Ut = L(An, 2), ke = Ut[0], pt = Ut[1], kn = Te(function(N) {
|
|
943
943
|
pt(N);
|
|
944
944
|
}), Dn = Te(function() {
|
|
945
945
|
pt(void 0);
|
|
@@ -948,7 +948,7 @@ var qr = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
|
|
|
948
948
|
return {
|
|
949
949
|
list: Ie.current,
|
|
950
950
|
focus: function(M) {
|
|
951
|
-
var x, X = zt(), J = Mt(X, ge), Xe = J.elements, gt = J.key2element, Hn = J.element2key, Ht = xt(Ie.current, Xe), Bt =
|
|
951
|
+
var x, X = zt(), J = Mt(X, ge), Xe = J.elements, gt = J.key2element, Hn = J.element2key, Ht = xt(Ie.current, Xe), Bt = ke ?? (Ht[0] ? Hn.get(Ht[0]) : (x = de.find(function(Bn) {
|
|
952
952
|
return !Bn.props.disabled;
|
|
953
953
|
})) === null || x === void 0 ? void 0 : x.key), De = gt.get(Bt);
|
|
954
954
|
if (Bt && De) {
|
|
@@ -970,7 +970,7 @@ var qr = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
|
|
|
970
970
|
Y ? X ? J = Ye.filter(function(gt) {
|
|
971
971
|
return gt !== x;
|
|
972
972
|
}) : J = [].concat(ye(Ye), [x]) : J = [x], Ln(J);
|
|
973
|
-
var Xe =
|
|
973
|
+
var Xe = A(A({}, M), {}, {
|
|
974
974
|
selectedKeys: J
|
|
975
975
|
});
|
|
976
976
|
X ? Q == null || Q(Xe) : F == null || F(Xe);
|
|
@@ -985,7 +985,7 @@ var qr = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
|
|
|
985
985
|
if (M)
|
|
986
986
|
x.push(N);
|
|
987
987
|
else if (me !== "inline") {
|
|
988
|
-
var X =
|
|
988
|
+
var X = _n(N);
|
|
989
989
|
x = x.filter(function(J) {
|
|
990
990
|
return !X.has(J);
|
|
991
991
|
});
|
|
@@ -994,9 +994,9 @@ var qr = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
|
|
|
994
994
|
}), Fn = function(M, x) {
|
|
995
995
|
var X = x ?? !$.includes(M);
|
|
996
996
|
jt(M, X);
|
|
997
|
-
}, zn = Ir(me,
|
|
997
|
+
}, zn = Ir(me, ke, he, ge, Ie, zt, Nn, pt, Fn, it);
|
|
998
998
|
n.useEffect(function() {
|
|
999
|
-
|
|
999
|
+
Oe(!0);
|
|
1000
1000
|
}, []);
|
|
1001
1001
|
var Un = n.useMemo(function() {
|
|
1002
1002
|
return {
|
|
@@ -1060,14 +1060,14 @@ var qr = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
|
|
|
1060
1060
|
disabled: P,
|
|
1061
1061
|
motion: Be ? se : null,
|
|
1062
1062
|
defaultMotions: Be ? ce : null,
|
|
1063
|
-
activeKey:
|
|
1064
|
-
onActive:
|
|
1063
|
+
activeKey: ke,
|
|
1064
|
+
onActive: kn,
|
|
1065
1065
|
onInactive: Dn,
|
|
1066
1066
|
selectedKeys: Ye,
|
|
1067
1067
|
inlineIndent: le,
|
|
1068
1068
|
subMenuOpenDelay: y,
|
|
1069
1069
|
subMenuCloseDelay: R,
|
|
1070
|
-
forceSubMenuRender:
|
|
1070
|
+
forceSubMenuRender: _,
|
|
1071
1071
|
builtinPlacements: ee,
|
|
1072
1072
|
triggerSubMenuAction: z,
|
|
1073
1073
|
getPopupContainer: Ue,
|
|
@@ -1076,19 +1076,19 @@ var qr = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
|
|
|
1076
1076
|
onItemClick: Vn,
|
|
1077
1077
|
onOpenChange: jt
|
|
1078
1078
|
}, /* @__PURE__ */ n.createElement(cn.Provider, {
|
|
1079
|
-
value:
|
|
1079
|
+
value: On
|
|
1080
1080
|
}, jn), /* @__PURE__ */ n.createElement("div", {
|
|
1081
1081
|
style: {
|
|
1082
1082
|
display: "none"
|
|
1083
1083
|
},
|
|
1084
1084
|
"aria-hidden": !0
|
|
1085
1085
|
}, /* @__PURE__ */ n.createElement(un.Provider, {
|
|
1086
|
-
value:
|
|
1086
|
+
value: Kn
|
|
1087
1087
|
}, st)))));
|
|
1088
1088
|
}), at = Yr;
|
|
1089
1089
|
at.Item = Pt;
|
|
1090
1090
|
at.SubMenu = rt;
|
|
1091
|
-
at.ItemGroup =
|
|
1091
|
+
at.ItemGroup = Kt;
|
|
1092
1092
|
at.Divider = gn;
|
|
1093
1093
|
var Xr = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" } }] }, name: "ellipsis", theme: "outlined" }, Jr = function(r, a) {
|
|
1094
1094
|
return /* @__PURE__ */ n.createElement(rr, T({}, r, {
|
|
@@ -1103,7 +1103,7 @@ export {
|
|
|
1103
1103
|
Pt as M,
|
|
1104
1104
|
Zr as R,
|
|
1105
1105
|
rt as S,
|
|
1106
|
-
|
|
1106
|
+
Kt as a,
|
|
1107
1107
|
na as b,
|
|
1108
1108
|
ze as u
|
|
1109
1109
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b3 as r, b4 as n } from "./embed-CoEyJMJx.js";
|
|
2
2
|
import * as e from "react";
|
|
3
3
|
var c = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, name: "eye", theme: "outlined" }, o = function(t, a) {
|
|
4
4
|
return /* @__PURE__ */ e.createElement(r, n({}, t, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b3 as n, b4 as r } from "./embed-CoEyJMJx.js";
|
|
2
2
|
import * as e from "react";
|
|
3
3
|
var o = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" } }] }, name: "right", theme: "outlined" }, c = function(t, a) {
|
|
4
4
|
return /* @__PURE__ */ e.createElement(n, r({}, t, {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as l from "react";
|
|
2
2
|
import a, { useEffect as Ti, useMemo as Di } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { R as ri, a as oi } from "./LeftOutlined-
|
|
5
|
-
import { a as ki } from "./useBreakpoint-
|
|
6
|
-
import { i as et, b as it, g as tt, m as nt, n as at, o as rt } from "./BaseInput-
|
|
3
|
+
import { b3 as si, b4 as U, bl as Ie, bI as V, a5 as B, bn as O, bm as ni, bA as Ri, ak as Hi, bi as Ai, bj as Li, a6 as Vi, a7 as Wi, ad as Ki, ac as d, bu as ai, cs as qi, a$ as Ji, bM as Xi, aj as Ui, ai as Fi, b5 as Gi, ah as Qi, cw as Yi, h as Zi } from "./embed-CoEyJMJx.js";
|
|
4
|
+
import { R as ri, a as oi } from "./LeftOutlined-B79bB1ZG.js";
|
|
5
|
+
import { a as ki } from "./useBreakpoint-SG_cMfLJ.js";
|
|
6
|
+
import { i as et, b as it, g as tt, m as nt, n as at, o as rt } from "./BaseInput-BYGhTvYI.js";
|
|
7
7
|
var ot = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z" } }] }, name: "double-left", theme: "outlined" }, lt = function(i, p) {
|
|
8
8
|
return /* @__PURE__ */ l.createElement(si, U({}, i, {
|
|
9
9
|
ref: p,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b3 as o, b4 as r } from "./embed-CoEyJMJx.js";
|
|
2
2
|
import * as t from "react";
|
|
3
3
|
var c = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z" } }, { tag: "path", attrs: { d: "M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z" } }] }, name: "rotate-right", theme: "outlined" }, i = function(e, a) {
|
|
4
4
|
return /* @__PURE__ */ t.createElement(o, r({}, e, {
|