@yuku123/z-cognition-component 2.0.4 → 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-rxw05EpT.js → BaseInput-BYGhTvYI.js} +16 -16
- package/dist-lib/{ClockCircleOutlined-DqK04lTb.js → ClockCircleOutlined-DACEazDR.js} +2 -2
- package/dist-lib/{Collapse-D9XOithE.js → Collapse-CZbXdmBX.js} +98 -98
- package/dist-lib/{DeleteOutlined-DnGmqa7C.js → DeleteOutlined-CtmAIIV3.js} +4 -4
- package/dist-lib/{EllipsisOutlined-VzQrhleP.js → EllipsisOutlined-pgnttbec.js} +73 -73
- package/dist-lib/{EyeOutlined-CIFgRd6d.js → EyeOutlined-WKo_SfEi.js} +4 -4
- package/dist-lib/{LeftOutlined-Be44-JWT.js → LeftOutlined-B79bB1ZG.js} +1 -1
- package/dist-lib/{Pagination-BuFXTevS.js → Pagination-CFhUxTf8.js} +32 -32
- package/dist-lib/{RotateRightOutlined-CYlCNRvD.js → RotateRightOutlined-TrlUrEUZ.js} +1 -1
- package/dist-lib/{Table-D1RvQXGM.js → Table-BF9fhMoT.js} +120 -120
- package/dist-lib/{accessAk-DlxcvD0O.js → accessAk-BKnWRdnG.js} +1 -1
- package/dist-lib/{agents-CabJdV6W.js → agents-B5wsLzS-.js} +6 -6
- package/dist-lib/{ai-DZ6fqUyK.js → ai-CccmxFWN.js} +1 -1
- package/dist-lib/{ai-chat-share-CYSU7UlK.js → ai-chat-share-BjZFvUph.js} +4 -4
- package/dist-lib/{ak-manage-MTp2UyyK.js → ak-manage-DD_F6560.js} +12 -12
- package/dist-lib/{approval-F9OYS1Ov.js → approval-a4d4zlUd.js} +3 -3
- package/dist-lib/{approvals-DDEl02-L.js → approvals-DnwdMEU5.js} +2 -2
- package/dist-lib/{assistant-CcC1rvys.js → assistant-BA6oeNSC.js} +5 -5
- package/dist-lib/{assistant-history-fmy8IsJL.js → assistant-history-Dfykk2a4.js} +5 -5
- package/dist-lib/{assistant-summary-kuK5-mku.js → assistant-summary-BkmSqskU.js} +1 -1
- package/dist-lib/{audit-C0GYByqU.js → audit-ZZhtw95x.js} +1 -1
- package/dist-lib/{bios-_axkM_DR.js → bios-CSjjJ5Bc.js} +11 -11
- package/dist-lib/{callSuper-CuPJalb0.js → callSuper-Bk-mj4By.js} +1 -1
- package/dist-lib/{category-BPLw60Ia.js → category-9CorlqP4.js} +1 -1
- package/dist-lib/{causal-CcWolsb5.js → causal-CYR-CTQK.js} +5 -5
- package/dist-lib/{changelog-BQdmpq5H.js → changelog-BcZ6KQ3C.js} +2 -2
- package/dist-lib/{changelog-DC6nlUDh.js → changelog-Bqm52V9T.js} +1 -1
- package/dist-lib/{chat-panel-CgpP4Xf5.js → chat-panel-Ctr_CdZu.js} +3 -3
- package/dist-lib/{code-space-CZ3CzVcA.js → code-space-DG83npvh.js} +9 -9
- package/dist-lib/{colors-BsFEfaVs.js → colors-DJzrNkCt.js} +1 -1
- package/dist-lib/{community-ESJc4qtl.js → community-CXEbdg7X.js} +1 -1
- package/dist-lib/{community-D9mD_Tq1.js → community-Cmx4qRHG.js} +3 -3
- package/dist-lib/{community-material-page-Ct5uMwhv.js → community-material-page-jguoD9kV.js} +7 -7
- package/dist-lib/{connections-DrxmCfe3.js → connections-DJAsz2Hb.js} +6 -6
- package/dist-lib/{createForOfIteratorHelper-3K1vcDqi.js → createForOfIteratorHelper-BArIG0W5.js} +1 -1
- package/dist-lib/{detail-kPAVlzm3.js → detail-BWBtDkWH.js} +4 -4
- package/dist-lib/{detail-DXOJf57e.js → detail-CLqCbf3i.js} +2 -2
- package/dist-lib/{detail-lGslEB8s.js → detail-DKLwIzyI.js} +14 -14
- package/dist-lib/{development-aLXXcLcF.js → development-DG37KZEV.js} +9 -9
- package/dist-lib/{downloads-DFOEFvX6.js → downloads-Cg8PCqDp.js} +1 -1
- package/dist-lib/{edit-BbtVK23D.js → edit-Cfv83zho.js} +77 -77
- package/dist-lib/{editor-DbLQFOUf.js → editor-BriqrlTB.js} +5 -5
- package/dist-lib/{editor-page-B_H0fRAI.js → editor-page-p2TQlJtq.js} +13 -13
- package/dist-lib/{embed-BUaR8PAn.js → embed-CoEyJMJx.js} +2235 -2219
- package/dist-lib/embed.css +1 -1
- package/dist-lib/{evaluation-8Tx-3UQh.js → evaluation-C6CAwoWp.js} +2 -2
- package/dist-lib/{execution-Dz5dBEFl.js → execution-BMkglxKG.js} +9 -9
- package/dist-lib/{graph-DacHEbKr.js → graph-DkaHV2AX.js} +5 -5
- package/dist-lib/{index-CS6H40rM.js → index-B21fkm-c.js} +21 -21
- package/dist-lib/{index-jHh-ITBK.js → index-B2Hx9Q2V.js} +40 -40
- package/dist-lib/{index-Ddx6XQu5.js → index-BMVRmc79.js} +2 -2
- package/dist-lib/{index-QkktEus5.js → index-BQnPPCKW.js} +9 -9
- package/dist-lib/{index-CjFA5T3K.js → index-BRyPjc2E.js} +1 -1
- package/dist-lib/{index-Bt9F-2Fl.js → index-BeejupFS.js} +64 -64
- package/dist-lib/{index-DTgboCiF.js → index-BelOhXK9.js} +10 -10
- package/dist-lib/{index-BWmgE7bB.js → index-Bqkx1OMz.js} +50 -50
- package/dist-lib/{index-CSoMwNHq.js → index-Bqpk0cSp.js} +54 -54
- package/dist-lib/{index-B6G8CZ1v.js → index-BqvwZwaa.js} +109 -109
- package/dist-lib/{index-keRQ37lH.js → index-BwkQzFNo.js} +4 -4
- package/dist-lib/{index-BU2GXuww.js → index-By7lJ7OM.js} +2 -2
- package/dist-lib/{index-IB3GOib9.js → index-C0bjp6yU.js} +23 -23
- package/dist-lib/{index-yPMzsLHL.js → index-C8VIE0cr.js} +4 -4
- package/dist-lib/{index-Di2bQwQn.js → index-CAk-RbBL.js} +2 -2
- package/dist-lib/{index-D23tZfhi.js → index-CFMm6EBU.js} +1 -1
- package/dist-lib/{index-DR9LGJpi.js → index-CkrD_v5E.js} +14 -14
- package/dist-lib/{index-DlqhOJnd.js → index-Ct0MiSE7.js} +79 -79
- package/dist-lib/{index-BDWjubAD.js → index-D1vltZIy.js} +58 -58
- package/dist-lib/{index-BMv3kGDG.js → index-DQ1YCU_6.js} +31 -31
- package/dist-lib/{index-GQGXGr9M.js → index-DQL0rlRD.js} +1 -1
- package/dist-lib/{index-BOB3j3H_.js → index-Dfpj76EP.js} +1 -1
- package/dist-lib/{index-BI-rknta.js → index-DljgNXFS.js} +29 -29
- package/dist-lib/{index-CdNxm2We.js → index-DrC19OH2.js} +14 -14
- package/dist-lib/{index-Be_iqVpx.js → index-DvdRKgvN.js} +68 -68
- package/dist-lib/{index-Bi7O9pQv.js → index-EoyTsMVR.js} +182 -182
- package/dist-lib/{index-fVCVIu8I.js → index-MN71_qSy.js} +2 -2
- package/dist-lib/{index-Bf8IQq4A.js → index-MrasjwT1.js} +18 -18
- package/dist-lib/{index-Pcxp_AYe.js → index-TVyOVj_f.js} +75 -75
- package/dist-lib/{index-BtW_nQBU.js → index-cWJDD_7e.js} +2 -2
- package/dist-lib/{index-BLGPH51v.js → index-fSzyAUm4.js} +10 -10
- package/dist-lib/{index-n6hK1r_G.js → index-gSQpnDVD.js} +3 -3
- package/dist-lib/{index-D7nLwQye.js → index-jfZsBNfr.js} +274 -274
- package/dist-lib/{index-qYfXuLnZ.js → index-lpiHPbbx.js} +2 -2
- package/dist-lib/{index-BuGHtvxH.js → index-ly9q05gX.js} +8 -8
- package/dist-lib/{index-CDxeB8C4.js → index-mANVYpNc.js} +16 -16
- package/dist-lib/{index-CNBwau86.js → index-o4EXX17N.js} +73 -73
- package/dist-lib/index.js +1 -1
- package/dist-lib/{json-field-Bu-gFb6c.js → json-field-BqyYVncd.js} +2 -2
- package/dist-lib/{kb-form-modal-DsXpXfNT.js → kb-form-modal-B9_s7HKJ.js} +2 -2
- package/dist-lib/{kbTeam-D8hsAHI5.js → kbTeam-D_xeQOnk.js} +1 -1
- package/dist-lib/{knowledge-base-D2XMD7iI.js → knowledge-base-BIlYHNX_.js} +6 -6
- package/dist-lib/{knowledge-hub-BoBR8-j-.js → knowledge-hub-DS9jz2ml.js} +4 -4
- package/dist-lib/{login-B4C374Y_.js → login-81vYOi7C.js} +6 -6
- package/dist-lib/{markdown-lite-ROKlyMXg.js → markdown-lite-C0TxiY46.js} +35 -35
- package/dist-lib/{material-CqtPqoZj.js → material-0d6ENLyU.js} +1 -1
- package/dist-lib/{material-draft-markdown-BKlKt3pc.js → material-draft-markdown-BqqPZtbw.js} +2 -2
- package/dist-lib/{material-original-preview-pzANkVK5.js → material-original-preview-BDeVDdfb.js} +5 -5
- package/dist-lib/{material-workspace-model-BUpogooV.js → material-workspace-model-DPaWrRpo.js} +1 -1
- package/dist-lib/{member-CCTFfLDC.js → member-Dc8Fi9Yt.js} +1 -1
- package/dist-lib/memory-reorganization-DN4oUE9r.js +1007 -0
- package/dist-lib/{memory-spaces-CZGIBlz2.js → memory-spaces-BJp4AIUb.js} +19 -19
- package/dist-lib/{message-Rz7LvGMk.js → message-C6yBkCNm.js} +1 -1
- package/dist-lib/{message-Chq3cAdy.js → message-DPeo_cTR.js} +3 -3
- package/dist-lib/{messages-DciGawgR.js → messages-DdfLmuQI.js} +2 -2
- package/dist-lib/{meta-BWgVxZgd.js → meta-CBLO5qXw.js} +2 -2
- package/dist-lib/{metrics-iWreq4IL.js → metrics-7ptCjiKn.js} +2 -2
- package/dist-lib/{mobile-CNrK04Ak.js → mobile-DC0hcQji.js} +2 -2
- package/dist-lib/{monitor-BpUJZCht.js → monitor-DX1u-yHi.js} +3 -3
- package/dist-lib/{monitor-CaTKbDI1.js → monitor-DoWMKmYn.js} +3 -3
- package/dist-lib/{my-access-ZH5CWVGF.js → my-access-64Rn1HXY.js} +3 -3
- package/dist-lib/{my-permissions-edhi0lav.js → my-permissions-DKjDBIjY.js} +4 -4
- package/dist-lib/{navigation-2WdPUP2T.js → navigation-B_vBrx_f.js} +1 -1
- package/dist-lib/{new-Dq6mvU2w.js → new-D3Q8_hzT.js} +5 -5
- package/dist-lib/{ontology-BX6X1X2J.js → ontology-Ct7a7W50.js} +5 -5
- package/dist-lib/{ontology-dataprep-BjMnFRBG.js → ontology-dataprep-DhZWKCnw.js} +1 -1
- package/dist-lib/{ontology-domains-B7AuwW8S.js → ontology-domains-BG6ZPWXm.js} +57 -57
- package/dist-lib/{ontology-extract-wbvBwGZO.js → ontology-extract-53pAcKaP.js} +22 -22
- package/dist-lib/{ontology-extract-FpJ6K8z6.js → ontology-extract-D9RViy3r.js} +1 -1
- package/dist-lib/{ontology-flow-Cgi8Fk-i.js → ontology-flow-Dx_5Dv1S.js} +3 -3
- package/dist-lib/{ontology-flow-CJsIvS35.js → ontology-flow-cbGY8kOV.js} +6 -6
- package/dist-lib/{ontology-modeling-CeDS1-FE.js → ontology-modeling-9beSFK8t.js} +2 -2
- package/dist-lib/{ontology-modeling-C_6GvHBT.js → ontology-modeling-BkFq7sU1.js} +33 -33
- package/dist-lib/{ontology-scenarios-4Ar7Y8Kt.js → ontology-scenarios-ANZMjyMB.js} +11 -11
- package/dist-lib/{ontology-scenarios-BaYN82pv.js → ontology-scenarios-BC1UBvtT.js} +85 -85
- package/dist-lib/{ontology-task-config-CDt7NdIq.js → ontology-task-config-dDFRrWtJ.js} +1 -1
- package/dist-lib/{ontology-terms-CxTp2Dcq.js → ontology-terms-B9H9VcuR.js} +18 -18
- package/dist-lib/{ontology-terms-CnFarWZX.js → ontology-terms-BcXCuUsy.js} +1 -1
- package/dist-lib/{permission-CNqwhyF3.js → permission-pETAJZl6.js} +2 -2
- package/dist-lib/{preset-CfByvcqu.js → preset-5F2VcdUE.js} +3 -3
- package/dist-lib/{progress-ImhDvynO.js → progress-COKT887h.js} +31 -31
- package/dist-lib/{quota-B38BWyPo.js → quota-BzWY9oeV.js} +2 -2
- package/dist-lib/{row-DeVE0t_N.js → row-BFBgIphS.js} +2 -2
- package/dist-lib/{runs-ILSUwEOv.js → runs-7LWS6iAN.js} +6 -6
- package/dist-lib/{save-blob-C5BbV45B.js → save-blob-D_q2LunT.js} +2 -2
- package/dist-lib/{scenario-mapping-preview-7v1SRE7V.js → scenario-mapping-preview-CDg3_f0U.js} +17 -17
- package/dist-lib/{scenario-simple-form-mFm6f2ho.js → scenario-simple-form--KSAzRS6.js} +9 -9
- package/dist-lib/{schedule-DzB9rZrm.js → schedule-BDrhhUsA.js} +2 -2
- package/dist-lib/{script-CKdVDsYh.js → script-CtLQ-RSy.js} +14 -14
- package/dist-lib/{settings-CaihqQtz.js → settings--NTE0Hux.js} +8 -8
- package/dist-lib/{shared-B51Q5536.js → shared-BJA7rkgy.js} +1 -1
- package/dist-lib/{shared-utils-Ck5sql2m.js → shared-utils-E5RBBDWx.js} +2 -2
- package/dist-lib/{skills-By3A0Dc1.js → skills-IziqBZOm.js} +5 -5
- package/dist-lib/{source-selection-sIKyG7xR.js → source-selection-WsUOEBKN.js} +1 -1
- package/dist-lib/{sources-DvIMColY.js → sources-D7ViKZtA.js} +12 -12
- package/dist-lib/{style-BHQZmWlH.js → style-B7phAB4-.js} +4 -4
- package/dist-lib/{task-config-CoPFj_FN.js → task-config-BhVD-uNg.js} +3 -3
- package/dist-lib/{tech-BJgEEFrT.js → tech-C2bOwBWk.js} +1 -1
- package/dist-lib/{templates-CODaf2QI.js → templates-Bh3ryZxt.js} +6 -6
- package/dist-lib/{tenant-login-DmN4qfah.js → tenant-login-D3193dIQ.js} +24 -24
- package/dist-lib/{tools-CyRz1Ofg.js → tools-DCLdtvbE.js} +56 -56
- package/dist-lib/{use-current-tenant-otPCQ3X8.js → use-current-tenant-KGbU5HpT.js} +1 -1
- package/dist-lib/{use-domain-access-BuD99GTw.js → use-domain-access-CcPd_gzX.js} +1 -1
- package/dist-lib/{use-g6-graph-C5h9frJM.js → use-g6-graph-CPKL_pXo.js} +1 -1
- package/dist-lib/{use-graph-layers-Cbd3Jggb.js → use-graph-layers-Bi90s60B.js} +9 -9
- package/dist-lib/{useBreakpoint-B8dF3ifo.js → useBreakpoint-SG_cMfLJ.js} +6 -6
- package/dist-lib/{useForm-BZkiMeaN.js → useForm-Cp45oXOc.js} +13 -13
- package/dist-lib/{version-control-panel-HdMlbpbO.js → version-control-panel-Db_RP6gX.js} +1 -1
- package/dist-lib/{version-management-BYoxw4GV.js → version-management-DuCdU_fJ.js} +2 -2
- package/dist-lib/{welcome-CMNXQf8J.js → welcome-DLcdZGtl.js} +1 -1
- package/package.json +1 -1
- package/dist-lib/memory-reorganization-CBTDCRhV.js +0 -8
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a6 as
|
|
1
|
+
import { a6 as Ke, aK as Fe, a7 as Ge, ad as _e, ac as ne, aL as be, aM as he, aN as Ee, as as H, az as Ue, a5 as G, aO as Ye, ah as ue, aP as Qe, aj as ke, ai as Ze, aQ as Je, aR as et, aS as tt, aT as nt, aU as je, aV as U, aW as rt, aX as ot, aY as at, aZ as ce, am as Se, a_ as lt, aA as st, a$ as it, b0 as Oe, b1 as ct, b2 as Pe, b3 as mt, b4 as ut, b5 as dt, b6 as ft, b7 as pt, aD as gt, aC as bt, aF as ht, b8 as yt, a9 as vt, b9 as Me, a8 as Ve, ba as Ct, bb as xt, bc as $t, bd as Et, be as St, an as Ot, bf as It, bg as wt, bh as Nt } from "./embed-CoEyJMJx.js";
|
|
2
2
|
import * as o from "react";
|
|
3
3
|
import { isValidElement as Ft } from "react";
|
|
4
4
|
import { g as _t } from "./collapse-Dtpt-6W_.js";
|
|
5
|
-
import { u as Re, g as De, t as pe, a as jt } from "./useForm-
|
|
6
|
-
import { C as Le, R as Pt } from "./row-
|
|
7
|
-
import { T as Mt } from "./index-
|
|
5
|
+
import { u as Re, g as De, t as pe, a as jt } from "./useForm-Cp45oXOc.js";
|
|
6
|
+
import { C as Le, R as Pt } from "./row-BFBgIphS.js";
|
|
7
|
+
import { T as Mt } from "./index-CkrD_v5E.js";
|
|
8
8
|
function Vt(e) {
|
|
9
9
|
return e == null ? null : typeof e == "object" && !/* @__PURE__ */ Ft(e) ? e : {
|
|
10
10
|
title: e
|
|
@@ -378,7 +378,7 @@ const Rt = (e) => {
|
|
|
378
378
|
${t}-col-xl-24${r}-label`]: te(e)
|
|
379
379
|
}
|
|
380
380
|
};
|
|
381
|
-
},
|
|
381
|
+
}, At = (e) => {
|
|
382
382
|
const {
|
|
383
383
|
componentCls: t,
|
|
384
384
|
formItemCls: r,
|
|
@@ -412,7 +412,7 @@ const Rt = (e) => {
|
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
414
|
};
|
|
415
|
-
},
|
|
415
|
+
}, qt = (e) => {
|
|
416
416
|
const {
|
|
417
417
|
componentCls: t,
|
|
418
418
|
formItemCls: r,
|
|
@@ -457,7 +457,7 @@ const Rt = (e) => {
|
|
|
457
457
|
${n}-col-24${r}-label,
|
|
458
458
|
${n}-col-xl-24${r}-label`]: te(e)
|
|
459
459
|
},
|
|
460
|
-
[`@media (max-width: ${ne(e.screenXSMax)})`]: [
|
|
460
|
+
[`@media (max-width: ${ne(e.screenXSMax)})`]: [qt(e), {
|
|
461
461
|
[t]: {
|
|
462
462
|
[`${r}:not(${r}-horizontal)`]: {
|
|
463
463
|
[`${n}-col-xs-24${r}-label`]: te(e)
|
|
@@ -497,14 +497,14 @@ const Rt = (e) => {
|
|
|
497
497
|
verticalLabelPadding: `0 0 ${e.paddingXS}px`,
|
|
498
498
|
verticalLabelMargin: 0,
|
|
499
499
|
inlineItemMarginBottom: 0
|
|
500
|
-
}), Te = (e, t) =>
|
|
500
|
+
}), Te = (e, t) => Ge(e, {
|
|
501
501
|
formItemCls: `${e.componentCls}-item`,
|
|
502
502
|
rootPrefixCls: t
|
|
503
|
-
}), ye =
|
|
503
|
+
}), ye = Ke("Form", (e, {
|
|
504
504
|
rootPrefixCls: t
|
|
505
505
|
}) => {
|
|
506
506
|
const r = Te(e, t);
|
|
507
|
-
return [Lt(r), Tt(r), Rt(r), zt(r),
|
|
507
|
+
return [Lt(r), Tt(r), Rt(r), zt(r), At(r), Ht(r), _t(r), Fe];
|
|
508
508
|
}, Wt, {
|
|
509
509
|
// Let From style before the Grid
|
|
510
510
|
// ref https://github.com/ant-design/ant-design/issues/44386
|
|
@@ -549,7 +549,7 @@ const ze = ({
|
|
|
549
549
|
style: $
|
|
550
550
|
} = i;
|
|
551
551
|
return /* @__PURE__ */ o.createElement("div", Object.assign({}, w, {
|
|
552
|
-
className:
|
|
552
|
+
className: G(f, l, F, m, a, d),
|
|
553
553
|
style: $
|
|
554
554
|
}), /* @__PURE__ */ o.createElement(Ye, Object.assign({
|
|
555
555
|
keys: P
|
|
@@ -566,7 +566,7 @@ const ze = ({
|
|
|
566
566
|
} = M;
|
|
567
567
|
return /* @__PURE__ */ o.createElement("div", {
|
|
568
568
|
key: C,
|
|
569
|
-
className:
|
|
569
|
+
className: G(O, {
|
|
570
570
|
[`${f}-${h}`]: h
|
|
571
571
|
}),
|
|
572
572
|
style: I
|
|
@@ -592,7 +592,7 @@ var Xt = function(e, t) {
|
|
|
592
592
|
t.indexOf(n[a]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[a]) && (r[n[a]] = e[n[a]]);
|
|
593
593
|
return r;
|
|
594
594
|
};
|
|
595
|
-
const
|
|
595
|
+
const Kt = (e, t) => {
|
|
596
596
|
const r = o.useContext(Qe), {
|
|
597
597
|
getPrefixCls: n,
|
|
598
598
|
direction: a,
|
|
@@ -620,11 +620,11 @@ const Gt = (e, t) => {
|
|
|
620
620
|
onFinishFailed: h,
|
|
621
621
|
name: O,
|
|
622
622
|
style: I,
|
|
623
|
-
feedbackIcons:
|
|
623
|
+
feedbackIcons: q,
|
|
624
624
|
variant: W
|
|
625
|
-
} = e, E = Xt(e, ["prefixCls", "className", "rootClassName", "size", "disabled", "form", "colon", "labelAlign", "labelWrap", "labelCol", "wrapperCol", "hideRequiredMark", "layout", "scrollToFirstError", "requiredMark", "onFinishFailed", "name", "style", "feedbackIcons", "variant"]), D =
|
|
625
|
+
} = e, E = Xt(e, ["prefixCls", "className", "rootClassName", "size", "disabled", "form", "colon", "labelAlign", "labelWrap", "labelCol", "wrapperCol", "hideRequiredMark", "layout", "scrollToFirstError", "requiredMark", "onFinishFailed", "name", "style", "feedbackIcons", "variant"]), D = Ze(R), L = o.useContext(Je);
|
|
626
626
|
process.env.NODE_ENV !== "production" && Bt(e);
|
|
627
|
-
const T = o.useMemo(() => S !== void 0 ? S : $ ? !1 : c !== void 0 ? c : !0, [$, S, c]), Y = b ?? u, p = n("form", g), B = he(p), [z, re, X] = ye(p, B), oe =
|
|
627
|
+
const T = o.useMemo(() => S !== void 0 ? S : $ ? !1 : c !== void 0 ? c : !0, [$, S, c]), Y = b ?? u, p = n("form", g), B = he(p), [z, re, X] = ye(p, B), oe = G(p, `${p}-${M}`, {
|
|
628
628
|
[`${p}-hide-required-mark`]: T === !1,
|
|
629
629
|
// todo: remove in next major version
|
|
630
630
|
[`${p}-rtl`]: a === "rtl",
|
|
@@ -633,7 +633,7 @@ const Gt = (e, t) => {
|
|
|
633
633
|
__INTERNAL__: ae
|
|
634
634
|
} = Q;
|
|
635
635
|
ae.name = O;
|
|
636
|
-
const
|
|
636
|
+
const Z = o.useMemo(() => ({
|
|
637
637
|
name: O,
|
|
638
638
|
labelAlign: P,
|
|
639
639
|
labelCol: i,
|
|
@@ -644,29 +644,29 @@ const Gt = (e, t) => {
|
|
|
644
644
|
requiredMark: T,
|
|
645
645
|
itemRef: ae.itemRef,
|
|
646
646
|
form: Q,
|
|
647
|
-
feedbackIcons:
|
|
648
|
-
}), [O, P, i, l, M, Y, T, Q,
|
|
647
|
+
feedbackIcons: q
|
|
648
|
+
}), [O, P, i, l, M, Y, T, Q, q]), y = o.useRef(null);
|
|
649
649
|
o.useImperativeHandle(t, () => {
|
|
650
650
|
var x;
|
|
651
651
|
return Object.assign(Object.assign({}, Q), {
|
|
652
652
|
nativeElement: (x = y.current) === null || x === void 0 ? void 0 : x.nativeElement
|
|
653
653
|
});
|
|
654
654
|
});
|
|
655
|
-
const V = (x,
|
|
655
|
+
const V = (x, A) => {
|
|
656
656
|
if (x) {
|
|
657
|
-
let
|
|
657
|
+
let K = {
|
|
658
658
|
block: "nearest"
|
|
659
659
|
};
|
|
660
|
-
typeof x == "object" && (
|
|
660
|
+
typeof x == "object" && (K = Object.assign(Object.assign({}, K), x)), Q.scrollToField(A, K);
|
|
661
661
|
}
|
|
662
662
|
}, j = (x) => {
|
|
663
663
|
if (h == null || h(x), x.errorFields.length) {
|
|
664
|
-
const
|
|
664
|
+
const A = x.errorFields[0].name;
|
|
665
665
|
if (C !== void 0) {
|
|
666
|
-
V(C,
|
|
666
|
+
V(C, A);
|
|
667
667
|
return;
|
|
668
668
|
}
|
|
669
|
-
s !== void 0 && V(s,
|
|
669
|
+
s !== void 0 && V(s, A);
|
|
670
670
|
}
|
|
671
671
|
};
|
|
672
672
|
return z(/* @__PURE__ */ o.createElement(et.Provider, {
|
|
@@ -679,7 +679,7 @@ const Gt = (e, t) => {
|
|
|
679
679
|
// This is not list in API, we pass with spread
|
|
680
680
|
validateMessages: L
|
|
681
681
|
}, /* @__PURE__ */ o.createElement(U.Provider, {
|
|
682
|
-
value:
|
|
682
|
+
value: Z
|
|
683
683
|
}, /* @__PURE__ */ o.createElement(rt, {
|
|
684
684
|
status: !0
|
|
685
685
|
}, /* @__PURE__ */ o.createElement(ot, Object.assign({
|
|
@@ -692,15 +692,15 @@ const Gt = (e, t) => {
|
|
|
692
692
|
style: Object.assign(Object.assign({}, m), I),
|
|
693
693
|
className: oe
|
|
694
694
|
})))))))));
|
|
695
|
-
},
|
|
696
|
-
process.env.NODE_ENV !== "production" && (
|
|
697
|
-
function
|
|
695
|
+
}, Ae = /* @__PURE__ */ o.forwardRef(Kt);
|
|
696
|
+
process.env.NODE_ENV !== "production" && (Ae.displayName = "Form");
|
|
697
|
+
function Gt(e) {
|
|
698
698
|
if (typeof e == "function")
|
|
699
699
|
return e;
|
|
700
700
|
const t = at(e);
|
|
701
701
|
return t.length <= 1 ? t[0] : t;
|
|
702
702
|
}
|
|
703
|
-
const
|
|
703
|
+
const qe = () => {
|
|
704
704
|
const {
|
|
705
705
|
status: e,
|
|
706
706
|
errors: t = [],
|
|
@@ -716,7 +716,7 @@ const Ae = () => {
|
|
|
716
716
|
warnings: r
|
|
717
717
|
};
|
|
718
718
|
};
|
|
719
|
-
|
|
719
|
+
qe.Context = ce;
|
|
720
720
|
function Ut(e) {
|
|
721
721
|
const [t, r] = o.useState(e), n = o.useRef(null), a = o.useRef([]), c = o.useRef(!1);
|
|
722
722
|
o.useEffect(() => (c.current = !1, () => {
|
|
@@ -762,14 +762,14 @@ const Qt = (e) => {
|
|
|
762
762
|
const r = Te(e, t);
|
|
763
763
|
return Qt(r);
|
|
764
764
|
});
|
|
765
|
-
var
|
|
765
|
+
var Zt = function(e, t) {
|
|
766
766
|
var r = {};
|
|
767
767
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
768
768
|
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var a = 0, n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
769
769
|
t.indexOf(n[a]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[a]) && (r[n[a]] = e[n[a]]);
|
|
770
770
|
return r;
|
|
771
771
|
};
|
|
772
|
-
const
|
|
772
|
+
const Jt = 24, en = (e) => {
|
|
773
773
|
const {
|
|
774
774
|
prefixCls: t,
|
|
775
775
|
status: r,
|
|
@@ -789,14 +789,14 @@ const Zt = 24, en = (e) => {
|
|
|
789
789
|
let E = Object.assign({}, a || b.wrapperCol || {});
|
|
790
790
|
return _ === null && !n && !a && b.labelCol && [void 0, "xs", "sm", "md", "lg", "xl", "xxl"].forEach((L) => {
|
|
791
791
|
const T = L ? [L] : [], Y = Oe(b.labelCol, T), p = typeof Y == "object" ? Y : {}, B = Oe(E, T), z = typeof B == "object" ? B : {};
|
|
792
|
-
"span" in p && !("offset" in z) && p.span <
|
|
792
|
+
"span" in p && !("offset" in z) && p.span < Jt && (E = ct(E, [].concat(T, ["offset"]), p.span));
|
|
793
793
|
}), E;
|
|
794
|
-
}, [a, b.wrapperCol, b.labelCol, _, n]), w =
|
|
794
|
+
}, [a, b.wrapperCol, b.labelCol, _, n]), w = G(`${v}-control`, P.className), i = o.useMemo(() => {
|
|
795
795
|
const {
|
|
796
796
|
labelCol: E,
|
|
797
797
|
wrapperCol: D
|
|
798
798
|
} = b;
|
|
799
|
-
return
|
|
799
|
+
return Zt(b, ["labelCol", "wrapperCol"]);
|
|
800
800
|
}, [b]), l = o.useRef(null), [$, M] = o.useState(0);
|
|
801
801
|
Pe(() => {
|
|
802
802
|
m && l.current ? M(l.current.clientHeight) : M(0);
|
|
@@ -823,7 +823,7 @@ const Zt = 24, en = (e) => {
|
|
|
823
823
|
const I = m ? /* @__PURE__ */ o.createElement("div", Object.assign({}, O, {
|
|
824
824
|
className: `${v}-extra`,
|
|
825
825
|
ref: l
|
|
826
|
-
}), m) : null,
|
|
826
|
+
}), m) : null, q = h || I ? /* @__PURE__ */ o.createElement("div", {
|
|
827
827
|
className: `${v}-additional`,
|
|
828
828
|
style: F ? {
|
|
829
829
|
minHeight: F + $
|
|
@@ -832,7 +832,7 @@ const Zt = 24, en = (e) => {
|
|
|
832
832
|
input: C,
|
|
833
833
|
errorList: h,
|
|
834
834
|
extra: I
|
|
835
|
-
}) : /* @__PURE__ */ o.createElement(o.Fragment, null, C,
|
|
835
|
+
}) : /* @__PURE__ */ o.createElement(o.Fragment, null, C, q);
|
|
836
836
|
return /* @__PURE__ */ o.createElement(U.Provider, {
|
|
837
837
|
value: i
|
|
838
838
|
}, /* @__PURE__ */ o.createElement(Le, Object.assign({}, P, {
|
|
@@ -876,7 +876,7 @@ const on = ({
|
|
|
876
876
|
} = o.useContext(U);
|
|
877
877
|
if (!t)
|
|
878
878
|
return null;
|
|
879
|
-
const b = n || R || {}, P = a || F, w = `${e}-item-label`, i =
|
|
879
|
+
const b = n || R || {}, P = a || F, w = `${e}-item-label`, i = G(w, P === "left" && `${w}-left`, b.className, {
|
|
880
880
|
[`${w}-wrap`]: !!_
|
|
881
881
|
});
|
|
882
882
|
let l = t;
|
|
@@ -905,7 +905,7 @@ const on = ({
|
|
|
905
905
|
}, (d == null ? void 0 : d.optional) || ((g = ft.Form) === null || g === void 0 ? void 0 : g.optional))));
|
|
906
906
|
let I;
|
|
907
907
|
O ? I = "hidden" : (S || h) && (I = "optional");
|
|
908
|
-
const
|
|
908
|
+
const q = G({
|
|
909
909
|
[`${e}-item-required`]: u,
|
|
910
910
|
[`${e}-item-required-mark-${I}`]: I,
|
|
911
911
|
[`${e}-item-no-colon`]: !$
|
|
@@ -914,7 +914,7 @@ const on = ({
|
|
|
914
914
|
className: i
|
|
915
915
|
}), /* @__PURE__ */ o.createElement("label", {
|
|
916
916
|
htmlFor: r,
|
|
917
|
-
className:
|
|
917
|
+
className: q,
|
|
918
918
|
title: typeof t == "string" ? t : ""
|
|
919
919
|
}, l));
|
|
920
920
|
}, an = {
|
|
@@ -952,7 +952,7 @@ function We({
|
|
|
952
952
|
warnings: r
|
|
953
953
|
})) === null || w === void 0 ? void 0 : w[d]), C = d ? an[d] : null;
|
|
954
954
|
i = M !== !1 && C ? /* @__PURE__ */ o.createElement("span", {
|
|
955
|
-
className:
|
|
955
|
+
className: G(`${m}-feedback-icon`, `${m}-feedback-icon-${d}`)
|
|
956
956
|
}, M || /* @__PURE__ */ o.createElement(C, null)) : null;
|
|
957
957
|
}
|
|
958
958
|
const l = {
|
|
@@ -1000,7 +1000,7 @@ function sn(e) {
|
|
|
1000
1000
|
} = e, i = ln(e, ["prefixCls", "className", "rootClassName", "style", "help", "errors", "warnings", "validateStatus", "meta", "hasFeedback", "hidden", "children", "fieldId", "required", "isRequired", "onSubItemMetaChange", "layout", "name"]), l = `${t}-item`, {
|
|
1001
1001
|
requiredMark: $,
|
|
1002
1002
|
layout: M
|
|
1003
|
-
} = o.useContext(U), C = P || M, S = C === "vertical", h = o.useRef(null), O = me(u), I = me(s),
|
|
1003
|
+
} = o.useContext(U), C = P || M, S = C === "vertical", h = o.useRef(null), O = me(u), I = me(s), q = c != null, W = !!(q || u.length || s.length), E = !!h.current && yt(h.current), [D, L] = o.useState(null);
|
|
1004
1004
|
Pe(() => {
|
|
1005
1005
|
if (W && h.current) {
|
|
1006
1006
|
const z = getComputedStyle(h.current);
|
|
@@ -1012,8 +1012,8 @@ function sn(e) {
|
|
|
1012
1012
|
}, p = ((z = !1) => {
|
|
1013
1013
|
const re = z ? O : m.errors, X = z ? I : m.warnings;
|
|
1014
1014
|
return De(re, X, m, "", !!g, f);
|
|
1015
|
-
})(), B =
|
|
1016
|
-
[`${l}-with-help`]:
|
|
1015
|
+
})(), B = G(l, r, n, {
|
|
1016
|
+
[`${l}-with-help`]: q || O.length || I.length,
|
|
1017
1017
|
// Status
|
|
1018
1018
|
[`${l}-has-feedback`]: p && g,
|
|
1019
1019
|
[`${l}-has-success`]: p === "success",
|
|
@@ -1138,9 +1138,9 @@ function dn(e) {
|
|
|
1138
1138
|
getPrefixCls: P
|
|
1139
1139
|
} = o.useContext(Ve), {
|
|
1140
1140
|
name: w
|
|
1141
|
-
} = o.useContext(U), i =
|
|
1141
|
+
} = o.useContext(U), i = Gt(f), l = typeof i == "function", $ = o.useContext(Me), {
|
|
1142
1142
|
validateTrigger: M
|
|
1143
|
-
} = o.useContext(Ct), C = R !== void 0 ? R : M, S = t != null, h = P("form", c), O = he(h), [I,
|
|
1143
|
+
} = o.useContext(Ct), C = R !== void 0 ? R : M, S = t != null, h = P("form", c), O = he(h), [I, q, W] = ye(h, O), E = ue("Form.Item");
|
|
1144
1144
|
process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "production" && E(t !== null, "usage", "`null` is passed as `name` property");
|
|
1145
1145
|
const D = o.useContext(xt), L = o.useRef(null), [T, Y] = Ut({}), [p, B] = $t(() => Ne()), z = (y) => {
|
|
1146
1146
|
const V = D == null ? void 0 : D.getKey(y.name);
|
|
@@ -1149,15 +1149,15 @@ function dn(e) {
|
|
|
1149
1149
|
if (y.destroy)
|
|
1150
1150
|
j = L.current || j;
|
|
1151
1151
|
else if (V !== void 0) {
|
|
1152
|
-
const [x,
|
|
1153
|
-
j = [x].concat(H(
|
|
1152
|
+
const [x, A] = V;
|
|
1153
|
+
j = [x].concat(H(A)), L.current = j;
|
|
1154
1154
|
}
|
|
1155
1155
|
$(y, j);
|
|
1156
1156
|
}
|
|
1157
1157
|
}, re = (y, V) => {
|
|
1158
1158
|
Y((j) => {
|
|
1159
|
-
const x = Object.assign({}, j),
|
|
1160
|
-
return y.destroy ? delete x[
|
|
1159
|
+
const x = Object.assign({}, j), K = [].concat(H(y.name.slice(0, -1)), H(V)).join(cn);
|
|
1160
|
+
return y.destroy ? delete x[K] : x[K] = y, x;
|
|
1161
1161
|
});
|
|
1162
1162
|
}, [X, oe] = o.useMemo(() => {
|
|
1163
1163
|
const y = H(p.errors), V = H(p.warnings);
|
|
@@ -1178,7 +1178,7 @@ function dn(e) {
|
|
|
1178
1178
|
}, y) : /* @__PURE__ */ o.createElement(sn, Object.assign({
|
|
1179
1179
|
key: "row"
|
|
1180
1180
|
}, e, {
|
|
1181
|
-
className:
|
|
1181
|
+
className: G(n, W, O, q),
|
|
1182
1182
|
prefixCls: h,
|
|
1183
1183
|
fieldId: V,
|
|
1184
1184
|
isRequired: j,
|
|
@@ -1192,19 +1192,19 @@ function dn(e) {
|
|
|
1192
1192
|
}
|
|
1193
1193
|
if (!S && !l && !a)
|
|
1194
1194
|
return I(ae(i));
|
|
1195
|
-
let
|
|
1196
|
-
return typeof g == "string" ?
|
|
1197
|
-
messageVariables:
|
|
1195
|
+
let Z = {};
|
|
1196
|
+
return typeof g == "string" ? Z.label = g : t && (Z.label = String(t)), d && (Z = Object.assign(Object.assign({}, Z), d)), I(/* @__PURE__ */ o.createElement(Et, Object.assign({}, e, {
|
|
1197
|
+
messageVariables: Z,
|
|
1198
1198
|
trigger: F,
|
|
1199
1199
|
validateTrigger: C,
|
|
1200
1200
|
onMetaChange: z
|
|
1201
1201
|
}), (y, V, j) => {
|
|
1202
|
-
const x = pe(t).length && V ? V.name : [],
|
|
1202
|
+
const x = pe(t).length && V ? V.name : [], A = jt(x, w), K = m !== void 0 ? m : !!(s != null && s.some((N) => {
|
|
1203
1203
|
if (N && typeof N == "object" && N.required && !N.warningOnly)
|
|
1204
1204
|
return !0;
|
|
1205
1205
|
if (typeof N == "function") {
|
|
1206
|
-
const
|
|
1207
|
-
return (
|
|
1206
|
+
const J = N(j);
|
|
1207
|
+
return (J == null ? void 0 : J.required) && !(J != null && J.warningOnly);
|
|
1208
1208
|
}
|
|
1209
1209
|
return !1;
|
|
1210
1210
|
})), se = Object.assign({}, y);
|
|
@@ -1218,11 +1218,11 @@ function dn(e) {
|
|
|
1218
1218
|
else if (/* @__PURE__ */ o.isValidElement(i)) {
|
|
1219
1219
|
process.env.NODE_ENV !== "production" && E(i.props.defaultValue === void 0, "usage", "`defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.");
|
|
1220
1220
|
const N = Object.assign(Object.assign({}, i.props), se);
|
|
1221
|
-
if (N.id || (N.id =
|
|
1221
|
+
if (N.id || (N.id = A), v || X.length > 0 || oe.length > 0 || e.extra) {
|
|
1222
1222
|
const ee = [];
|
|
1223
|
-
(v || X.length > 0) && ee.push(`${
|
|
1223
|
+
(v || X.length > 0) && ee.push(`${A}_help`), e.extra && ee.push(`${A}_extra`), N["aria-describedby"] = ee.join(" ");
|
|
1224
1224
|
}
|
|
1225
|
-
X.length > 0 && (N["aria-invalid"] = "true"),
|
|
1225
|
+
X.length > 0 && (N["aria-invalid"] = "true"), K && (N["aria-required"] = "true"), St(i) && (N.ref = Q(x, i)), new Set([].concat(H(pe(F)), H(pe(C)))).forEach((ee) => {
|
|
1226
1226
|
N[ee] = (...ve) => {
|
|
1227
1227
|
var Ce, xe, de, $e, fe;
|
|
1228
1228
|
(de = se[ee]) === null || de === void 0 || (Ce = de).call.apply(Ce, [se].concat(ve)), (fe = ($e = i.props)[ee]) === null || fe === void 0 || (xe = fe).call.apply(xe, [$e].concat(ve));
|
|
@@ -1235,11 +1235,11 @@ function dn(e) {
|
|
|
1235
1235
|
childProps: Xe
|
|
1236
1236
|
}, Ot(i, N));
|
|
1237
1237
|
} else l && (u || a) && !S ? le = i(j) : (process.env.NODE_ENV !== "production" && E(!x.length || !!r, "usage", "`name` is only used for validate React element. If you are using Form.Item as layout display, please remove `name` instead."), le = i);
|
|
1238
|
-
return ae(le,
|
|
1238
|
+
return ae(le, A, K);
|
|
1239
1239
|
}));
|
|
1240
1240
|
}
|
|
1241
1241
|
const Be = dn;
|
|
1242
|
-
Be.useStatus =
|
|
1242
|
+
Be.useStatus = qe;
|
|
1243
1243
|
var fn = function(e, t) {
|
|
1244
1244
|
var r = {};
|
|
1245
1245
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -1277,7 +1277,7 @@ function gn() {
|
|
|
1277
1277
|
} = o.useContext(U);
|
|
1278
1278
|
return e;
|
|
1279
1279
|
}
|
|
1280
|
-
const k =
|
|
1280
|
+
const k = Ae;
|
|
1281
1281
|
k.Item = Be;
|
|
1282
1282
|
k.List = pn;
|
|
1283
1283
|
k.ErrorList = ze;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a8 as F, a5 as M,
|
|
1
|
+
import { a8 as F, a5 as M, an as xe, a6 as be, a7 as Ce, ac as l, ad as Ee, aj as Pe, ai as ze, bJ as Ne, as as Q, bN as Oe, S as Be } from "./embed-CoEyJMJx.js";
|
|
2
2
|
import * as r from "react";
|
|
3
3
|
import u, { useContext as X, Children as U } from "react";
|
|
4
|
-
import { a as Ie, r as Z } from "./useBreakpoint-
|
|
5
|
-
import { C as Le, R as we } from "./row-
|
|
6
|
-
import { P as Me } from "./Pagination-
|
|
7
|
-
const
|
|
8
|
-
|
|
4
|
+
import { a as Ie, r as Z } from "./useBreakpoint-SG_cMfLJ.js";
|
|
5
|
+
import { C as Le, R as we } from "./row-BFBgIphS.js";
|
|
6
|
+
import { P as Me } from "./Pagination-CFhUxTf8.js";
|
|
7
|
+
const J = /* @__PURE__ */ u.createContext({});
|
|
8
|
+
J.Consumer;
|
|
9
9
|
var k = function(t, e) {
|
|
10
10
|
var i = {};
|
|
11
11
|
for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && e.indexOf(n) < 0 && (i[n] = t[n]);
|
|
@@ -48,7 +48,7 @@ const je = (t) => {
|
|
|
48
48
|
} = t, b = k(t, ["prefixCls", "children", "actions", "extra", "styles", "className", "classNames", "colStyle"]), {
|
|
49
49
|
grid: z,
|
|
50
50
|
itemLayout: d
|
|
51
|
-
} = X(
|
|
51
|
+
} = X(J), {
|
|
52
52
|
getPrefixCls: N,
|
|
53
53
|
list: $
|
|
54
54
|
} = X(F), C = (f) => {
|
|
@@ -455,10 +455,10 @@ function De(t, e) {
|
|
|
455
455
|
current: 1,
|
|
456
456
|
total: 0,
|
|
457
457
|
position: "bottom"
|
|
458
|
-
},
|
|
458
|
+
}, q = (o) => (S, P) => {
|
|
459
459
|
var V;
|
|
460
460
|
m(S), ie(P), i && ((V = i == null ? void 0 : i[o]) === null || V === void 0 || V.call(i, S, P));
|
|
461
|
-
}, se =
|
|
461
|
+
}, se = q("onChange"), ce = q("onShowSizeChange"), de = (o, S) => {
|
|
462
462
|
if (!y)
|
|
463
463
|
return null;
|
|
464
464
|
let P;
|
|
@@ -545,7 +545,7 @@ function De(t, e) {
|
|
|
545
545
|
grid: d,
|
|
546
546
|
itemLayout: b
|
|
547
547
|
}), [JSON.stringify(d), b]);
|
|
548
|
-
return ge(/* @__PURE__ */ r.createElement(
|
|
548
|
+
return ge(/* @__PURE__ */ r.createElement(J.Provider, {
|
|
549
549
|
value: ve
|
|
550
550
|
}, /* @__PURE__ */ r.createElement("div", Object.assign({
|
|
551
551
|
ref: e,
|