@yuku123/z-cognition-component 2.0.2 → 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-rxw05EpT.js +1096 -0
- package/dist-lib/ClockCircleOutlined-DqK04lTb.js +12 -0
- package/dist-lib/Collapse-D9XOithE.js +523 -0
- package/dist-lib/{ConceptsPage-BOeKdDKI.js → ConceptsPage-DOf_CJlz.js} +13 -16
- package/dist-lib/DeleteOutlined-DnGmqa7C.js +12 -0
- package/dist-lib/{DocsPage-BZOBFp3c.js → DocsPage-CiC7TU96.js} +4 -4
- package/dist-lib/EllipsisOutlined-VzQrhleP.js +1109 -0
- package/dist-lib/EvidenceFormList-CrE2FzHk.js +90 -0
- package/dist-lib/{EyeOutlined-DGSrX-0M.js → EyeOutlined-CIFgRd6d.js} +4 -4
- package/dist-lib/ImpactPage-CYiuqy0S.js +68 -0
- package/dist-lib/{LeftOutlined-Cgo6Izj-.js → LeftOutlined-Be44-JWT.js} +1 -1
- package/dist-lib/{OntologyDetailPage-B8DyU8WW.js → OntologyDetailPage-mgK_NQxP.js} +99 -93
- package/dist-lib/{OntologyInferPage-CvcjxpBB.js → OntologyInferPage-NUaoaQpN.js} +38 -40
- package/dist-lib/{OntologyListPage-Cb0XfpWE.js → OntologyListPage-C9wH01y0.js} +47 -49
- package/dist-lib/OntologyMaterializePage-D_fDqYHY.js +134 -0
- package/dist-lib/OntologyNodesPage-5kH7RHwE.js +2844 -0
- package/dist-lib/{OntologyValidatePage-abQVJwzV.js → OntologyValidatePage-DtkYK_l4.js} +49 -52
- package/dist-lib/Pagination-BuFXTevS.js +1112 -0
- package/dist-lib/PlusOutlined-BSTPGLOH.js +21 -0
- package/dist-lib/{ReloadOutlined-CS-e-TmN.js → ReloadOutlined-B26pDoyV.js} +19 -10
- package/dist-lib/{ResolvePage-rbQ-8nNZ.js → ResolvePage-Cz9HORZ3.js} +31 -33
- package/dist-lib/{RotateRightOutlined-q7zp2e47.js → RotateRightOutlined-CYlCNRvD.js} +1 -1
- package/dist-lib/Skeleton-CxFsInYI.js +671 -0
- package/dist-lib/Table-Civ838nE.js +20514 -0
- package/dist-lib/{Table-CDagah-g.js → Table-D1RvQXGM.js} +414 -414
- package/dist-lib/TermDetailPage-BtkOpbPT.js +263 -0
- package/dist-lib/{TermsPage-CuufAyuL.js → TermsPage-BuzCMYov.js} +28 -31
- package/dist-lib/_commonjsHelpers-DaMA6jEr.js +8 -0
- package/dist-lib/accessAk-DlxcvD0O.js +64 -0
- package/dist-lib/{agents-CvgRLQw2.js → agents-CabJdV6W.js} +46 -46
- package/dist-lib/{ai-DYDhijtn.js → ai-DZ6fqUyK.js} +32 -32
- package/dist-lib/{ai-chat-share-DJnybJtS.js → ai-chat-share-CYSU7UlK.js} +13 -14
- package/dist-lib/ak-manage-MTp2UyyK.js +805 -0
- package/dist-lib/{approval-3IbhY8Lp.js → approval-F9OYS1Ov.js} +25 -26
- package/dist-lib/{approvals-Cd6CVzz4.js → approvals-DDEl02-L.js} +42 -43
- package/dist-lib/{assistant-cIXgilaE.js → assistant-CcC1rvys.js} +48 -49
- package/dist-lib/{assistant-history-BQzH4ChB.js → assistant-history-fmy8IsJL.js} +5 -5
- package/dist-lib/{assistant-summary-LKTj_HKM.js → assistant-summary-kuK5-mku.js} +1 -1
- package/dist-lib/{audit-CxuJ5unU.js → audit-C0GYByqU.js} +1 -1
- package/dist-lib/{bios-BplnCOF4.js → bios-_axkM_DR.js} +128 -130
- package/dist-lib/callSuper-CuPJalb0.js +7 -0
- package/dist-lib/callSuper-CwIeyYoc.js +7 -0
- package/dist-lib/category-BPLw60Ia.js +76 -0
- package/dist-lib/causal-CcWolsb5.js +789 -0
- package/dist-lib/{changelog-BoGqt_81.js → changelog-BQdmpq5H.js} +2 -2
- package/dist-lib/changelog-DC6nlUDh.js +103 -0
- package/dist-lib/chat-panel-CgpP4Xf5.js +1543 -0
- package/dist-lib/chunk-6KYCQHYJ-DcgZQlO5.js +1627 -0
- package/dist-lib/code-space-CZ3CzVcA.js +1070 -0
- package/dist-lib/{colors-sdAcAcU3.js → colors-BsFEfaVs.js} +1 -1
- package/dist-lib/community-D9mD_Tq1.js +217 -0
- package/dist-lib/community-ESJc4qtl.js +70 -0
- package/dist-lib/community-material-page-Ct5uMwhv.js +747 -0
- package/dist-lib/connections-DrxmCfe3.js +1065 -0
- package/dist-lib/context-T27uno74.js +54 -0
- package/dist-lib/{createForOfIteratorHelper-DEx_aTey.js → createForOfIteratorHelper-3K1vcDqi.js} +1 -1
- package/dist-lib/{dayjs.min-BauDENhn.js → dayjs.min-DoEf5yCX.js} +1 -1
- package/dist-lib/{detail-Cx5c4KJH.js → detail-DXOJf57e.js} +39 -40
- package/dist-lib/detail-kPAVlzm3.js +84 -0
- package/dist-lib/{detail-BaX7WiWV.js → detail-lGslEB8s.js} +5847 -7224
- package/dist-lib/development-aLXXcLcF.js +167 -0
- package/dist-lib/{docx-preview-B5nQuTwk.js → docx-preview-D4v2g8Yg.js} +1 -1
- package/dist-lib/{downloads-C3Oz04OW.js → downloads-DFOEFvX6.js} +3 -4
- package/dist-lib/{edit-Cbn2eJaJ.js → edit-BbtVK23D.js} +200 -204
- package/dist-lib/{editor-mtaJBQXz.js → editor-DbLQFOUf.js} +25 -26
- package/dist-lib/editor-page-B_H0fRAI.js +1169 -0
- package/dist-lib/embed-BUaR8PAn.js +51816 -0
- package/dist-lib/embed.css +2 -2
- package/dist-lib/{evaluation-BoHiY8yT.js → evaluation-8Tx-3UQh.js} +14 -15
- package/dist-lib/execution-Dz5dBEFl.js +159 -0
- package/dist-lib/focus-set-lt52maBX.js +38 -0
- package/dist-lib/{format-UGmYKemG.js → format-CWI99NCN.js} +1 -1
- package/dist-lib/graph-BllA9bmL.js +44 -0
- package/dist-lib/graph-DacHEbKr.js +640 -0
- package/dist-lib/index-4tbtbcAt.js +550 -0
- package/dist-lib/index-B6G8CZ1v.js +915 -0
- package/dist-lib/index-BDWjubAD.js +390 -0
- package/dist-lib/{index-BEjXaDfk.js → index-BI-rknta.js} +53 -54
- package/dist-lib/index-BLGPH51v.js +251 -0
- package/dist-lib/index-BMv3kGDG.js +236 -0
- package/dist-lib/{index-CHBNrCMy.js → index-BOB3j3H_.js} +29 -29
- package/dist-lib/index-BU2GXuww.js +413 -0
- package/dist-lib/index-BVgdmf6r.js +2487 -0
- package/dist-lib/index-BWmgE7bB.js +2075 -0
- package/dist-lib/{index-B57Fj7Y0.js → index-Be_iqVpx.js} +50 -52
- package/dist-lib/{index-y7jVGGI0.js → index-Bf8IQq4A.js} +21 -23
- package/dist-lib/{index-DsuUGhTA.js → index-Bi7O9pQv.js} +177 -179
- package/dist-lib/index-Bs4MevzC.js +16075 -0
- package/dist-lib/{index-DBlG9uXV.js → index-Bt9F-2Fl.js} +520 -597
- package/dist-lib/{index-Cj4DDWyj.js → index-BtW_nQBU.js} +10 -11
- package/dist-lib/{index-CyKWCYMK.js → index-BuGHtvxH.js} +81 -84
- package/dist-lib/{index-Bc-Vin3j.js → index-CDxeB8C4.js} +47 -49
- package/dist-lib/index-CNBwau86.js +1166 -0
- package/dist-lib/{index-9aQ4BzIK.js → index-CS6H40rM.js} +24 -25
- package/dist-lib/index-CSnvcFg-.js +543 -0
- package/dist-lib/{index-o65vKUwa.js → index-CSoMwNHq.js} +82 -83
- package/dist-lib/{index-C3AMwzIi.js → index-CZipVp1G.js} +1 -1
- package/dist-lib/index-CdNxm2We.js +1987 -0
- package/dist-lib/{index-DMTPsTna.js → index-CjFA5T3K.js} +3 -4
- package/dist-lib/{index-Bm1sK-VN.js → index-D23tZfhi.js} +10 -10
- package/dist-lib/index-D35Ry0PG.js +1162 -0
- package/dist-lib/index-D7nLwQye.js +5012 -0
- package/dist-lib/index-DQ16Zb7x.js +546 -0
- package/dist-lib/{index-BwVZgt5s.js → index-DR9LGJpi.js} +46 -48
- package/dist-lib/index-DRcTwC17.js +418 -0
- package/dist-lib/index-DTgboCiF.js +566 -0
- package/dist-lib/index-Dd9pPAT3.js +2192 -0
- package/dist-lib/{index-Vu6sPBci.js → index-Ddx6XQu5.js} +285 -280
- package/dist-lib/index-Di2bQwQn.js +242 -0
- package/dist-lib/{index-Cy9i4Kx7.js → index-DlqhOJnd.js} +101 -105
- package/dist-lib/index-DxzorPvG.js +13960 -0
- package/dist-lib/{index-CLTfICbf.js → index-GQGXGr9M.js} +6 -6
- package/dist-lib/{index-nQSVLWfW.js → index-IB3GOib9.js} +81 -83
- package/dist-lib/index-If4xc1-H.js +559 -0
- package/dist-lib/index-Pcxp_AYe.js +1719 -0
- package/dist-lib/{index-ounfql2z.js → index-QkktEus5.js} +25 -27
- package/dist-lib/{index-B22_2Dzh.js → index-fVCVIu8I.js} +2 -2
- package/dist-lib/{index-D3GHtSlM.js → index-jHh-ITBK.js} +28 -29
- package/dist-lib/index-keRQ37lH.js +853 -0
- package/dist-lib/index-mUlorJxp.js +3279 -0
- package/dist-lib/{index-BSlCGnzo.js → index-n6hK1r_G.js} +12 -12
- package/dist-lib/index-qYfXuLnZ.js +34 -0
- package/dist-lib/index-yPMzsLHL.js +77 -0
- package/dist-lib/index.js +3 -4
- package/dist-lib/json-field-Bu-gFb6c.js +196 -0
- package/dist-lib/{jszip.min-DcEHhn-b.js → jszip.min-dcaDnWUw.js} +1 -1
- package/dist-lib/{kb-form-modal-B0rM1ZvV.js → kb-form-modal-DsXpXfNT.js} +64 -63
- package/dist-lib/{kbTeam-Bh_FQH28.js → kbTeam-D8hsAHI5.js} +3 -3
- package/dist-lib/{knowledge-base-Cl1Ka1e6.js → knowledge-base-D2XMD7iI.js} +111 -111
- package/dist-lib/{knowledge-hub-CPuzdRiq.js → knowledge-hub-BoBR8-j-.js} +52 -53
- package/dist-lib/login-B4C374Y_.js +36 -0
- package/dist-lib/{markdown-lite-Cu62Fl7J.js → markdown-lite-ROKlyMXg.js} +156 -160
- package/dist-lib/material-CqtPqoZj.js +204 -0
- package/dist-lib/material-draft-markdown-BKlKt3pc.js +443 -0
- package/dist-lib/material-original-preview-pzANkVK5.js +214 -0
- package/dist-lib/{material-preview-docx-CH-09KeC.js → material-preview-docx-lp_xPipj.js} +1 -1
- package/dist-lib/{material-preview-pptx-D8XGDF-u.js → material-preview-pptx-6Byitp0J.js} +1 -1
- package/dist-lib/material-workspace-model-BUpogooV.js +328 -0
- package/dist-lib/{member-DKDx77PD.js → member-CCTFfLDC.js} +1 -1
- package/dist-lib/memory-reorganization-CBTDCRhV.js +8 -0
- package/dist-lib/memory-spaces-CZGIBlz2.js +2340 -0
- package/dist-lib/{message-BrooQ3Q7.js → message-Chq3cAdy.js} +24 -25
- package/dist-lib/{message-Dievi8Jw.js → message-Rz7LvGMk.js} +1 -1
- package/dist-lib/{messages-xTNmTS9g.js → messages-DciGawgR.js} +15 -16
- package/dist-lib/meta-BWgVxZgd.js +708 -0
- package/dist-lib/{metrics-DiHYqBKB.js → metrics-iWreq4IL.js} +2 -2
- package/dist-lib/mobile-CNrK04Ak.js +2413 -0
- package/dist-lib/{monitor-BBCu3zRe.js → monitor-BpUJZCht.js} +8 -8
- package/dist-lib/{monitor-BXsdMJSV.js → monitor-CaTKbDI1.js} +4 -4
- package/dist-lib/{my-access-CEGErUgv.js → my-access-ZH5CWVGF.js} +120 -132
- package/dist-lib/{my-permissions-wSr5zv7g.js → my-permissions-edhi0lav.js} +22 -23
- package/dist-lib/navigation-2WdPUP2T.js +102 -0
- package/dist-lib/{new-BevAuTe5.js → new-Dq6mvU2w.js} +14 -15
- package/dist-lib/{ontology-DXGSJC-y.js → ontology-BX6X1X2J.js} +50 -52
- package/dist-lib/ontology-dataprep-BjMnFRBG.js +322 -0
- package/dist-lib/{ontology-domains-jTG7CZm8.js → ontology-domains-B7AuwW8S.js} +100 -103
- package/dist-lib/ontology-extract-FpJ6K8z6.js +295 -0
- package/dist-lib/ontology-extract-wbvBwGZO.js +3199 -0
- package/dist-lib/ontology-flow-CJsIvS35.js +456 -0
- package/dist-lib/ontology-flow-Cgi8Fk-i.js +154 -0
- package/dist-lib/ontology-modeling-C_6GvHBT.js +15136 -0
- package/dist-lib/ontology-modeling-CeDS1-FE.js +510 -0
- package/dist-lib/ontology-scenarios-4Ar7Y8Kt.js +675 -0
- package/dist-lib/{ontology-scenarios-J5kw6xgi.js → ontology-scenarios-BaYN82pv.js} +1289 -1305
- package/dist-lib/ontology-task-config-CDt7NdIq.js +122 -0
- package/dist-lib/ontology-terms-CnFarWZX.js +66 -0
- package/dist-lib/ontology-terms-CxTp2Dcq.js +1195 -0
- package/dist-lib/pages-CticGC6S.js +512 -0
- package/dist-lib/pages.js +3 -3
- package/dist-lib/{permission-BUXo69Ne.js → permission-CNqwhyF3.js} +41 -41
- package/dist-lib/pipeline-layout-CJlOMXJF.js +70 -0
- package/dist-lib/{pptx-preview.es-AUrdYKu3.js → pptx-preview.es-D4ODiBv2.js} +2 -2
- package/dist-lib/preset-Bp_mvsJm.js +56827 -0
- package/dist-lib/{preset-gh5SGoYT.js → preset-CfByvcqu.js} +8 -8
- package/dist-lib/progress-ImhDvynO.js +778 -0
- package/dist-lib/{quota-D31cXjul.js → quota-B38BWyPo.js} +4 -3
- package/dist-lib/row-DeVE0t_N.js +154 -0
- package/dist-lib/runs-ILSUwEOv.js +565 -0
- package/dist-lib/{save-blob-CiWNK-cX.js → save-blob-C5BbV45B.js} +2 -2
- package/dist-lib/{scenario-mapping-preview-DQ_OBV4Z.js → scenario-mapping-preview-7v1SRE7V.js} +43 -45
- package/dist-lib/scenario-simple-form-mFm6f2ho.js +989 -0
- package/dist-lib/{schedule-BktxwX3S.js → schedule-DzB9rZrm.js} +8 -8
- package/dist-lib/script-CKdVDsYh.js +2709 -0
- package/dist-lib/{settings-dsB3H65I.js → settings-CaihqQtz.js} +121 -121
- package/dist-lib/{shared-CTCzvhyE.js → shared-B51Q5536.js} +1 -1
- package/dist-lib/{shared-utils-BstybhBG.js → shared-utils-Ck5sql2m.js} +2 -2
- package/dist-lib/{skills-CHPlMsgO.js → skills-By3A0Dc1.js} +39 -40
- package/dist-lib/{source-selection-tXqc855k.js → source-selection-sIKyG7xR.js} +16 -16
- package/dist-lib/sources-DvIMColY.js +279 -0
- package/dist-lib/style-BHQZmWlH.js +191 -0
- package/dist-lib/{task-config-BiTOiZj0.js → task-config-CoPFj_FN.js} +4 -4
- package/dist-lib/{tech-BKlGPkV0.js → tech-BJgEEFrT.js} +3 -4
- package/dist-lib/templates-CODaf2QI.js +58 -0
- package/dist-lib/tenant-login-DmN4qfah.js +338 -0
- package/dist-lib/{tools-CouQ4FWk.js → tools-CyRz1Ofg.js} +14 -14
- package/dist-lib/use-current-tenant-otPCQ3X8.js +22 -0
- package/dist-lib/{use-domain-access-BPlNfoiP.js → use-domain-access-BuD99GTw.js} +15 -15
- package/dist-lib/{use-g6-graph-WLX0PweO.js → use-g6-graph-C5h9frJM.js} +1 -1
- package/dist-lib/{use-graph-layers-ja-ZIC_R.js → use-graph-layers-Cbd3Jggb.js} +48 -50
- package/dist-lib/use-resizable-columns-BpMCRKif.js +59 -0
- package/dist-lib/useBreakpoint-B8dF3ifo.js +87 -0
- package/dist-lib/{useForm-Byp1LopG.js → useForm-BZkiMeaN.js} +9 -9
- package/dist-lib/{version-control-panel-CkBm36Yk.js → version-control-panel-HdMlbpbO.js} +26 -27
- package/dist-lib/{version-management-B4kIbdVc.js → version-management-BYoxw4GV.js} +6 -7
- package/dist-lib/{welcome-F5iZoFB1.js → welcome-CMNXQf8J.js} +3 -4
- package/package.json +1 -1
- package/dist-lib/ApartmentOutlined-M6qSurnE.js +0 -12
- package/dist-lib/ArrowLeftOutlined-DowsrSUj.js +0 -12
- package/dist-lib/EvidenceFormList-DXqqSpPV.js +0 -91
- package/dist-lib/ImpactPage-DyhUR6fT.js +0 -71
- package/dist-lib/OntologyMaterializePage-B0f9TnJa.js +0 -136
- package/dist-lib/OntologyNodesPage-D4MWlm6q.js +0 -1268
- package/dist-lib/Pagination-Dxslodkq.js +0 -1344
- package/dist-lib/PlusOutlined-B_dXo_97.js +0 -12
- package/dist-lib/SearchOutlined-puH6bCY6.js +0 -979
- package/dist-lib/Skeleton-DXcERb5r.js +0 -557
- package/dist-lib/TagsOutlined-B4_qkn6-.js +0 -20
- package/dist-lib/TermDetailPage-CP0D6OvA.js +0 -242
- package/dist-lib/TextArea-DTpTS5HL.js +0 -1897
- package/dist-lib/ThunderboltOutlined-Bf54AaFE.js +0 -20
- package/dist-lib/callSuper-DZEfdkXG.js +0 -7
- package/dist-lib/changelog-Cn81Dvgk.js +0 -69
- package/dist-lib/chunk-YDNE64FV-DGyyfCo0.js +0 -2004
- package/dist-lib/context-Buz0ggsK.js +0 -710
- package/dist-lib/context-DpmyNOn3.js +0 -21
- package/dist-lib/embed-CR8XVkMy.js +0 -31148
- package/dist-lib/focus-set-h0YtOUB2.js +0 -427
- package/dist-lib/index-CaXylbQR.js +0 -3419
- package/dist-lib/index-Cfu1W1H6.js +0 -535
- package/dist-lib/index-CrMcNEAZ.js +0 -9656
- package/dist-lib/index-DBtGE89a.js +0 -168
- package/dist-lib/index-DjFPRXl5.js +0 -1484
- package/dist-lib/index-DvWHYX81.js +0 -450
- package/dist-lib/index-PBT9GksC.js +0 -340
- package/dist-lib/index-bOY1cBol.js +0 -4890
- package/dist-lib/meta-BD_qYTZu.js +0 -540
- package/dist-lib/ontology-modeling-CjRsa-DR.js +0 -1039
- package/dist-lib/ontology-modeling-DOj68TuI.js +0 -38946
- package/dist-lib/ontology-scenarios-CcAagMiP.js +0 -660
- package/dist-lib/pages-CsexFuEz.js +0 -73
- package/dist-lib/row-B5MnGm9M.js +0 -156
- package/dist-lib/scenario-simple-form-DESMvU7A.js +0 -2396
- package/dist-lib/useClosable-BY7FgWKy.js +0 -59
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as a from "react";
|
|
2
2
|
import J, { useMemo as K } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { m as
|
|
5
|
-
import { a3 as Y, d as R, g as Z, m as k, r as ee, u as f, a5 as te, a8 as ne, ac as le } from "./index-CrMcNEAZ.js";
|
|
3
|
+
import { aS as Q, ap as L, a5 as y, a6 as Y, a7 as Z, an as k, ao as f, bI as ee, aq as te, aJ as ne } from "./embed-BUaR8PAn.js";
|
|
4
|
+
import { m as R, a as le } from "./useBreakpoint-B8dF3ifo.js";
|
|
6
5
|
const ie = {
|
|
7
6
|
xxl: 3,
|
|
8
7
|
xl: 3,
|
|
@@ -18,7 +17,7 @@ var oe = function(e, t) {
|
|
|
18
17
|
t.indexOf(n[l]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[l]) && (o[n[l]] = e[n[l]]);
|
|
19
18
|
return o;
|
|
20
19
|
};
|
|
21
|
-
const ae = (e) =>
|
|
20
|
+
const ae = (e) => Q(e).map((t) => Object.assign(Object.assign({}, t == null ? void 0 : t.props), {
|
|
22
21
|
key: t.key
|
|
23
22
|
}));
|
|
24
23
|
function se(e, t, o) {
|
|
@@ -33,7 +32,7 @@ function se(e, t, o) {
|
|
|
33
32
|
return s === "filled" ? Object.assign(Object.assign({}, b), {
|
|
34
33
|
filled: !0
|
|
35
34
|
}) : Object.assign(Object.assign({}, b), {
|
|
36
|
-
span: typeof s == "number" ? s :
|
|
35
|
+
span: typeof s == "number" ? s : R(e, s)
|
|
37
36
|
});
|
|
38
37
|
}), [n, e]);
|
|
39
38
|
}
|
|
@@ -70,7 +69,7 @@ function ce(e, t) {
|
|
|
70
69
|
const de = (e, t) => {
|
|
71
70
|
const [o, n] = K(() => ce(t, e), [t, e]);
|
|
72
71
|
if (process.env.NODE_ENV !== "production") {
|
|
73
|
-
const l =
|
|
72
|
+
const l = L("Descriptions");
|
|
74
73
|
process.env.NODE_ENV !== "production" && l(!n, "usage", "Sum of column `span` in a line not match `column` of Descriptions.");
|
|
75
74
|
}
|
|
76
75
|
return o;
|
|
@@ -88,7 +87,7 @@ const de = (e, t) => {
|
|
|
88
87
|
bordered: m,
|
|
89
88
|
label: u,
|
|
90
89
|
content: d,
|
|
91
|
-
colon:
|
|
90
|
+
colon: E,
|
|
92
91
|
type: v,
|
|
93
92
|
styles: g
|
|
94
93
|
} = e, $ = o, {
|
|
@@ -115,7 +114,7 @@ const de = (e, t) => {
|
|
|
115
114
|
}, P(u) && /* @__PURE__ */ a.createElement("span", {
|
|
116
115
|
style: h,
|
|
117
116
|
className: y(`${t}-item-label`, i == null ? void 0 : i.label, {
|
|
118
|
-
[`${t}-item-no-colon`]: !
|
|
117
|
+
[`${t}-item-no-colon`]: !E
|
|
119
118
|
})
|
|
120
119
|
}, u), P(d) && /* @__PURE__ */ a.createElement("span", {
|
|
121
120
|
style: r,
|
|
@@ -136,7 +135,7 @@ function z(e, {
|
|
|
136
135
|
styles: d
|
|
137
136
|
}) {
|
|
138
137
|
return e.map(({
|
|
139
|
-
label:
|
|
138
|
+
label: E,
|
|
140
139
|
children: v,
|
|
141
140
|
prefixCls: g = o,
|
|
142
141
|
className: $,
|
|
@@ -159,7 +158,7 @@ function z(e, {
|
|
|
159
158
|
component: l,
|
|
160
159
|
itemPrefixCls: g,
|
|
161
160
|
bordered: n,
|
|
162
|
-
label: s ?
|
|
161
|
+
label: s ? E : null,
|
|
163
162
|
content: b ? v : null,
|
|
164
163
|
type: c
|
|
165
164
|
}) : [/* @__PURE__ */ a.createElement(M, {
|
|
@@ -171,7 +170,7 @@ function z(e, {
|
|
|
171
170
|
component: l[0],
|
|
172
171
|
itemPrefixCls: g,
|
|
173
172
|
bordered: n,
|
|
174
|
-
label:
|
|
173
|
+
label: E,
|
|
175
174
|
type: "label"
|
|
176
175
|
}), /* @__PURE__ */ a.createElement(M, {
|
|
177
176
|
key: `content-${C || N}`,
|
|
@@ -284,7 +283,7 @@ const be = (e) => {
|
|
|
284
283
|
titleMarginBottom: b
|
|
285
284
|
} = e;
|
|
286
285
|
return {
|
|
287
|
-
[t]: Object.assign(Object.assign(Object.assign({},
|
|
286
|
+
[t]: Object.assign(Object.assign(Object.assign({}, k(e)), pe(e)), {
|
|
288
287
|
"&-rtl": {
|
|
289
288
|
direction: "rtl"
|
|
290
289
|
},
|
|
@@ -293,7 +292,7 @@ const be = (e) => {
|
|
|
293
292
|
alignItems: "center",
|
|
294
293
|
marginBottom: b
|
|
295
294
|
},
|
|
296
|
-
[`${t}-title`]: Object.assign(Object.assign({},
|
|
295
|
+
[`${t}-title`]: Object.assign(Object.assign({}, ee), {
|
|
297
296
|
flex: "auto",
|
|
298
297
|
color: e.titleColor,
|
|
299
298
|
fontWeight: e.fontWeightStrong,
|
|
@@ -404,8 +403,8 @@ const be = (e) => {
|
|
|
404
403
|
colonMarginLeft: e.marginXXS / 2,
|
|
405
404
|
contentColor: e.colorText,
|
|
406
405
|
extraColor: e.colorText
|
|
407
|
-
}), fe =
|
|
408
|
-
const t =
|
|
406
|
+
}), fe = Y("Descriptions", (e) => {
|
|
407
|
+
const t = Z(e, {});
|
|
409
408
|
return ue(t);
|
|
410
409
|
}, ge);
|
|
411
410
|
var ve = function(e, t) {
|
|
@@ -427,7 +426,7 @@ const T = (e) => {
|
|
|
427
426
|
children: m,
|
|
428
427
|
className: u,
|
|
429
428
|
rootClassName: d,
|
|
430
|
-
style:
|
|
429
|
+
style: E,
|
|
431
430
|
size: v,
|
|
432
431
|
labelStyle: g,
|
|
433
432
|
contentStyle: $,
|
|
@@ -441,17 +440,17 @@ const T = (e) => {
|
|
|
441
440
|
style: W,
|
|
442
441
|
classNames: j,
|
|
443
442
|
styles: x
|
|
444
|
-
} =
|
|
443
|
+
} = te("descriptions"), O = C("descriptions", t), _ = le();
|
|
445
444
|
if (process.env.NODE_ENV !== "production") {
|
|
446
|
-
const
|
|
445
|
+
const S = L("Descriptions");
|
|
447
446
|
[["labelStyle", "styles={{ label: {} }}"], ["contentStyle", "styles={{ content: {} }}"]].forEach(([w, q]) => {
|
|
448
|
-
|
|
447
|
+
S.deprecated(!(w in e), w, q);
|
|
449
448
|
});
|
|
450
449
|
}
|
|
451
450
|
const H = a.useMemo(() => {
|
|
452
|
-
var
|
|
453
|
-
return typeof l == "number" ? l : (
|
|
454
|
-
}, [_, l]), G = se(_, h, m), B =
|
|
451
|
+
var S;
|
|
452
|
+
return typeof l == "number" ? l : (S = R(_, Object.assign(Object.assign({}, ie), l))) !== null && S !== void 0 ? S : 3;
|
|
453
|
+
}, [_, l]), G = se(_, h, m), B = ne(v), V = de(H, G), [A, X, F] = fe(O), U = a.useMemo(() => ({
|
|
455
454
|
labelStyle: g,
|
|
456
455
|
contentStyle: $,
|
|
457
456
|
styles: {
|
|
@@ -471,7 +470,7 @@ const T = (e) => {
|
|
|
471
470
|
[`${O}-bordered`]: !!s,
|
|
472
471
|
[`${O}-rtl`]: p === "rtl"
|
|
473
472
|
}, u, d, X, F),
|
|
474
|
-
style: Object.assign(Object.assign(Object.assign(Object.assign({}, W), x.root), i == null ? void 0 : i.root),
|
|
473
|
+
style: Object.assign(Object.assign(Object.assign(Object.assign({}, W), x.root), i == null ? void 0 : i.root), E)
|
|
475
474
|
}, I), (o || n) && /* @__PURE__ */ a.createElement("div", {
|
|
476
475
|
className: y(`${O}-header`, j.header, r == null ? void 0 : r.header),
|
|
477
476
|
style: Object.assign(Object.assign({}, x.header), i == null ? void 0 : i.header)
|
|
@@ -483,14 +482,14 @@ const T = (e) => {
|
|
|
483
482
|
style: Object.assign(Object.assign({}, x.extra), i == null ? void 0 : i.extra)
|
|
484
483
|
}, n)), /* @__PURE__ */ a.createElement("div", {
|
|
485
484
|
className: `${O}-view`
|
|
486
|
-
}, /* @__PURE__ */ a.createElement("table", null, /* @__PURE__ */ a.createElement("tbody", null, V.map((
|
|
485
|
+
}, /* @__PURE__ */ a.createElement("table", null, /* @__PURE__ */ a.createElement("tbody", null, V.map((S, w) => /* @__PURE__ */ a.createElement(be, {
|
|
487
486
|
key: w,
|
|
488
487
|
index: w,
|
|
489
488
|
colon: c,
|
|
490
489
|
prefixCls: O,
|
|
491
490
|
vertical: b === "vertical",
|
|
492
491
|
bordered: s,
|
|
493
|
-
row:
|
|
492
|
+
row: S
|
|
494
493
|
}))))))));
|
|
495
494
|
};
|
|
496
495
|
process.env.NODE_ENV !== "production" && (T.displayName = "Descriptions");
|
|
@@ -0,0 +1,543 @@
|
|
|
1
|
+
import * as r from "react";
|
|
2
|
+
import { R as oe } from "./index-BVgdmf6r.js";
|
|
3
|
+
import { l as E, j as fe, m as ne, n as Ce, q as re, t as xe, bE as ye, x as J, E as Q, v as se, y as ae, ad as H, aT as le, K as ve, g as Ne, B as Pe, c as Ee, a0 as he, F as we } from "./index-DxzorPvG.js";
|
|
4
|
+
import "react-dom/client";
|
|
5
|
+
import "react-dom";
|
|
6
|
+
import { c as P } from "./pages-CticGC6S.js";
|
|
7
|
+
import { i as $e, d as Se, e as De, f as Te, P as ke, h as ie, T as Be } from "./Table-Civ838nE.js";
|
|
8
|
+
import { A as be } from "./index-mUlorJxp.js";
|
|
9
|
+
const I = (t) => E(t) ? fe(t) ? t() : t : null, te = "50%", Ie = (t) => {
|
|
10
|
+
const {
|
|
11
|
+
componentCls: e,
|
|
12
|
+
popoverColor: s,
|
|
13
|
+
titleMinWidth: n,
|
|
14
|
+
fontWeightStrong: a,
|
|
15
|
+
innerPadding: o,
|
|
16
|
+
dropShadowPopover: m,
|
|
17
|
+
colorTextHeading: i,
|
|
18
|
+
borderRadiusLG: g,
|
|
19
|
+
zIndexPopup: c,
|
|
20
|
+
titleMarginBottom: C,
|
|
21
|
+
colorBgElevated: p,
|
|
22
|
+
popoverBg: x,
|
|
23
|
+
titleBorderBottom: u,
|
|
24
|
+
innerContentPadding: y,
|
|
25
|
+
titlePadding: l,
|
|
26
|
+
antCls: d
|
|
27
|
+
} = t, [h, f] = re(d, "tooltip");
|
|
28
|
+
return [
|
|
29
|
+
{
|
|
30
|
+
[e]: {
|
|
31
|
+
...xe(t),
|
|
32
|
+
position: "absolute",
|
|
33
|
+
top: 0,
|
|
34
|
+
// use `left` to fix https://github.com/ant-design/ant-design/issues/39195
|
|
35
|
+
left: {
|
|
36
|
+
_skip_check_: !0,
|
|
37
|
+
value: 0
|
|
38
|
+
},
|
|
39
|
+
zIndex: c,
|
|
40
|
+
fontWeight: 400,
|
|
41
|
+
whiteSpace: "normal",
|
|
42
|
+
textAlign: "start",
|
|
43
|
+
cursor: "auto",
|
|
44
|
+
userSelect: "text",
|
|
45
|
+
filter: m,
|
|
46
|
+
// When use `autoArrow`, origin will follow the arrow position
|
|
47
|
+
[h("valid-offset-x")]: f("arrow-offset-x", "var(--arrow-x)"),
|
|
48
|
+
transformOrigin: [f("valid-offset-x", te), `var(--arrow-y, ${te})`].join(" "),
|
|
49
|
+
[h("arrow-background-color")]: p,
|
|
50
|
+
width: "max-content",
|
|
51
|
+
maxWidth: "100vw",
|
|
52
|
+
"&-rtl": {
|
|
53
|
+
direction: "rtl"
|
|
54
|
+
},
|
|
55
|
+
"&-hidden": {
|
|
56
|
+
display: "none"
|
|
57
|
+
},
|
|
58
|
+
[`${e}-content`]: {
|
|
59
|
+
position: "relative"
|
|
60
|
+
},
|
|
61
|
+
[`${e}-container`]: {
|
|
62
|
+
backgroundColor: x,
|
|
63
|
+
backgroundClip: "padding-box",
|
|
64
|
+
borderRadius: g,
|
|
65
|
+
padding: o
|
|
66
|
+
},
|
|
67
|
+
[`${e}-title`]: {
|
|
68
|
+
minWidth: n,
|
|
69
|
+
marginBottom: C,
|
|
70
|
+
color: i,
|
|
71
|
+
fontWeight: a,
|
|
72
|
+
borderBottom: u,
|
|
73
|
+
padding: l
|
|
74
|
+
},
|
|
75
|
+
[`${e}-content`]: {
|
|
76
|
+
color: s,
|
|
77
|
+
padding: y
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
// Arrow Style
|
|
82
|
+
Te(t, f("arrow-background-color"), {
|
|
83
|
+
arrowShadow: !1
|
|
84
|
+
}),
|
|
85
|
+
// Pure Render
|
|
86
|
+
{
|
|
87
|
+
[`${e}-pure`]: {
|
|
88
|
+
position: "relative",
|
|
89
|
+
maxWidth: "none",
|
|
90
|
+
margin: t.sizePopupArrow,
|
|
91
|
+
display: "inline-block"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
];
|
|
95
|
+
}, Re = (t) => {
|
|
96
|
+
const {
|
|
97
|
+
componentCls: e,
|
|
98
|
+
antCls: s
|
|
99
|
+
} = t, [n] = re(s, "tooltip");
|
|
100
|
+
return {
|
|
101
|
+
[e]: ye.map((a) => {
|
|
102
|
+
const o = t[`${a}6`];
|
|
103
|
+
return {
|
|
104
|
+
[`&${e}-${a}`]: {
|
|
105
|
+
[n("arrow-background-color")]: o,
|
|
106
|
+
[`${e}-container`]: {
|
|
107
|
+
backgroundColor: o
|
|
108
|
+
},
|
|
109
|
+
[`${e}-arrow`]: {
|
|
110
|
+
background: "transparent"
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
})
|
|
115
|
+
};
|
|
116
|
+
}, Oe = (t) => {
|
|
117
|
+
const {
|
|
118
|
+
lineWidth: e,
|
|
119
|
+
controlHeight: s,
|
|
120
|
+
fontHeight: n,
|
|
121
|
+
padding: a,
|
|
122
|
+
wireframe: o,
|
|
123
|
+
zIndexPopupBase: m,
|
|
124
|
+
borderRadiusLG: i,
|
|
125
|
+
marginXS: g,
|
|
126
|
+
lineType: c,
|
|
127
|
+
colorSplit: C,
|
|
128
|
+
paddingSM: p
|
|
129
|
+
} = t, x = s - n, u = x / 2, y = x / 2 - e, l = a;
|
|
130
|
+
return {
|
|
131
|
+
titleMinWidth: 177,
|
|
132
|
+
zIndexPopup: m + 30,
|
|
133
|
+
...De(t),
|
|
134
|
+
...Se({
|
|
135
|
+
contentRadius: i,
|
|
136
|
+
limitVerticalRadius: !0
|
|
137
|
+
}),
|
|
138
|
+
// internal
|
|
139
|
+
innerPadding: o ? 0 : 12,
|
|
140
|
+
titleMarginBottom: o ? 0 : g,
|
|
141
|
+
titlePadding: o ? `${u}px ${l}px ${y}px` : 0,
|
|
142
|
+
titleBorderBottom: o ? `${e}px ${c} ${C}` : "none",
|
|
143
|
+
innerContentPadding: o ? `${p}px ${l}px` : 0
|
|
144
|
+
};
|
|
145
|
+
}, ce = ne("Popover", (t) => {
|
|
146
|
+
const {
|
|
147
|
+
colorBgElevated: e,
|
|
148
|
+
colorText: s
|
|
149
|
+
} = t, n = Ce(t, {
|
|
150
|
+
popoverBg: e,
|
|
151
|
+
popoverColor: s
|
|
152
|
+
});
|
|
153
|
+
return [Ie(n), Re(n), $e(n, "zoom-big")];
|
|
154
|
+
}, Oe, {
|
|
155
|
+
resetStyle: !1,
|
|
156
|
+
deprecatedTokens: [["width", "titleMinWidth"], ["minWidth", "titleMinWidth"]]
|
|
157
|
+
}), me = (t) => {
|
|
158
|
+
const {
|
|
159
|
+
title: e,
|
|
160
|
+
content: s,
|
|
161
|
+
prefixCls: n,
|
|
162
|
+
classNames: a,
|
|
163
|
+
styles: o
|
|
164
|
+
} = t;
|
|
165
|
+
return !E(e) && !E(s) ? null : /* @__PURE__ */ r.createElement(r.Fragment, null, E(e) && /* @__PURE__ */ r.createElement("div", {
|
|
166
|
+
className: P(`${n}-title`, a == null ? void 0 : a.title),
|
|
167
|
+
style: o == null ? void 0 : o.title
|
|
168
|
+
}, e), E(s) && /* @__PURE__ */ r.createElement("div", {
|
|
169
|
+
className: P(`${n}-content`, a == null ? void 0 : a.content),
|
|
170
|
+
style: o == null ? void 0 : o.content
|
|
171
|
+
}, s));
|
|
172
|
+
}, We = (t) => {
|
|
173
|
+
const {
|
|
174
|
+
hashId: e,
|
|
175
|
+
prefixCls: s,
|
|
176
|
+
className: n,
|
|
177
|
+
style: a,
|
|
178
|
+
placement: o = "top",
|
|
179
|
+
title: m,
|
|
180
|
+
content: i,
|
|
181
|
+
children: g,
|
|
182
|
+
classNames: c,
|
|
183
|
+
styles: C
|
|
184
|
+
} = t, p = I(m), x = I(i), u = {
|
|
185
|
+
...t,
|
|
186
|
+
placement: o
|
|
187
|
+
}, [y, l] = Q([c], [C], {
|
|
188
|
+
props: u
|
|
189
|
+
}), d = P(e, s, `${s}-pure`, `${s}-placement-${o}`, n);
|
|
190
|
+
return /* @__PURE__ */ r.createElement("div", {
|
|
191
|
+
className: d,
|
|
192
|
+
style: a
|
|
193
|
+
}, /* @__PURE__ */ r.createElement("div", {
|
|
194
|
+
className: `${s}-arrow`
|
|
195
|
+
}), /* @__PURE__ */ r.createElement(ke, {
|
|
196
|
+
...t,
|
|
197
|
+
className: e,
|
|
198
|
+
prefixCls: s,
|
|
199
|
+
classNames: y,
|
|
200
|
+
styles: l
|
|
201
|
+
}, g || /* @__PURE__ */ r.createElement(me, {
|
|
202
|
+
prefixCls: s,
|
|
203
|
+
title: p,
|
|
204
|
+
content: x,
|
|
205
|
+
classNames: y,
|
|
206
|
+
styles: l
|
|
207
|
+
})));
|
|
208
|
+
}, pe = (t) => {
|
|
209
|
+
const {
|
|
210
|
+
prefixCls: e,
|
|
211
|
+
className: s,
|
|
212
|
+
...n
|
|
213
|
+
} = t, {
|
|
214
|
+
getPrefixCls: a
|
|
215
|
+
} = r.useContext(J), o = a("popover", e), [m, i] = ce(o);
|
|
216
|
+
return /* @__PURE__ */ r.createElement(We, {
|
|
217
|
+
...n,
|
|
218
|
+
prefixCls: o,
|
|
219
|
+
hashId: m,
|
|
220
|
+
className: P(s, i)
|
|
221
|
+
});
|
|
222
|
+
}, ze = /* @__PURE__ */ r.forwardRef((t, e) => {
|
|
223
|
+
const {
|
|
224
|
+
prefixCls: s,
|
|
225
|
+
title: n,
|
|
226
|
+
content: a,
|
|
227
|
+
overlayClassName: o,
|
|
228
|
+
placement: m = "top",
|
|
229
|
+
trigger: i,
|
|
230
|
+
children: g,
|
|
231
|
+
mouseEnterDelay: c,
|
|
232
|
+
mouseLeaveDelay: C,
|
|
233
|
+
onOpenChange: p,
|
|
234
|
+
overlayStyle: x = {},
|
|
235
|
+
styles: u,
|
|
236
|
+
classNames: y,
|
|
237
|
+
motion: l,
|
|
238
|
+
arrow: d,
|
|
239
|
+
...h
|
|
240
|
+
} = t, {
|
|
241
|
+
getPrefixCls: f,
|
|
242
|
+
className: $,
|
|
243
|
+
style: S,
|
|
244
|
+
classNames: R,
|
|
245
|
+
styles: D,
|
|
246
|
+
arrow: T,
|
|
247
|
+
trigger: j,
|
|
248
|
+
mouseEnterDelay: X,
|
|
249
|
+
mouseLeaveDelay: q
|
|
250
|
+
} = se("popover"), z = c ?? X ?? 0.1, M = C ?? q ?? 0.1, O = f("popover", s), [A, L] = ce(O), _ = f(), W = ie(d, T), V = i || j || "hover";
|
|
251
|
+
if (process.env.NODE_ENV !== "production") {
|
|
252
|
+
const N = ae("Popover");
|
|
253
|
+
process.env.NODE_ENV !== "production" && N(!p || p.length <= 1, "usage", "The second `onOpenChange` parameter is internal and unsupported. Please lock to a previous version if needed.");
|
|
254
|
+
}
|
|
255
|
+
const G = {
|
|
256
|
+
...t,
|
|
257
|
+
placement: m,
|
|
258
|
+
trigger: V,
|
|
259
|
+
mouseEnterDelay: z,
|
|
260
|
+
mouseLeaveDelay: M,
|
|
261
|
+
overlayStyle: x,
|
|
262
|
+
styles: u,
|
|
263
|
+
classNames: y
|
|
264
|
+
}, U = H(S), Y = H(x), [w, k] = Q([R, y], [D, U, u, Y], {
|
|
265
|
+
props: G
|
|
266
|
+
}), K = P(o, A, L, $, w.root), [Z, B] = le(t.defaultOpen ?? !1, t.open), b = (N) => {
|
|
267
|
+
B(N), p == null || p(N);
|
|
268
|
+
}, F = I(n), v = I(a);
|
|
269
|
+
return /* @__PURE__ */ r.createElement(Be, {
|
|
270
|
+
unique: !1,
|
|
271
|
+
arrow: W,
|
|
272
|
+
placement: m,
|
|
273
|
+
trigger: V,
|
|
274
|
+
mouseEnterDelay: z,
|
|
275
|
+
mouseLeaveDelay: M,
|
|
276
|
+
...h,
|
|
277
|
+
prefixCls: O,
|
|
278
|
+
classNames: {
|
|
279
|
+
root: K,
|
|
280
|
+
container: w.container,
|
|
281
|
+
arrow: w.arrow
|
|
282
|
+
},
|
|
283
|
+
styles: {
|
|
284
|
+
root: k.root,
|
|
285
|
+
container: k.container,
|
|
286
|
+
arrow: k.arrow
|
|
287
|
+
},
|
|
288
|
+
ref: e,
|
|
289
|
+
open: Z,
|
|
290
|
+
onOpenChange: b,
|
|
291
|
+
overlay: E(F) || E(v) ? /* @__PURE__ */ r.createElement(me, {
|
|
292
|
+
prefixCls: O,
|
|
293
|
+
title: F,
|
|
294
|
+
content: v,
|
|
295
|
+
classNames: w,
|
|
296
|
+
styles: k
|
|
297
|
+
}) : null,
|
|
298
|
+
motion: {
|
|
299
|
+
motionName: ve(_, "zoom-big", typeof (l == null ? void 0 : l.motionName) == "string" ? l == null ? void 0 : l.motionName : void 0)
|
|
300
|
+
},
|
|
301
|
+
"data-popover-inject": !0
|
|
302
|
+
}, g);
|
|
303
|
+
}), ee = ze;
|
|
304
|
+
ee._InternalPanelDoNotUseOrYouWillBeFired = pe;
|
|
305
|
+
process.env.NODE_ENV !== "production" && (ee.displayName = "Popover");
|
|
306
|
+
const Me = (t) => {
|
|
307
|
+
const {
|
|
308
|
+
componentCls: e,
|
|
309
|
+
iconCls: s,
|
|
310
|
+
antCls: n,
|
|
311
|
+
zIndexPopup: a,
|
|
312
|
+
colorText: o,
|
|
313
|
+
colorWarning: m,
|
|
314
|
+
marginXXS: i,
|
|
315
|
+
marginXS: g,
|
|
316
|
+
fontSize: c,
|
|
317
|
+
fontWeightStrong: C,
|
|
318
|
+
colorTextHeading: p
|
|
319
|
+
} = t;
|
|
320
|
+
return {
|
|
321
|
+
[e]: {
|
|
322
|
+
zIndex: a,
|
|
323
|
+
[`&${n}-popover`]: {
|
|
324
|
+
fontSize: c
|
|
325
|
+
},
|
|
326
|
+
[`${e}-message`]: {
|
|
327
|
+
marginBottom: g,
|
|
328
|
+
display: "flex",
|
|
329
|
+
flexWrap: "nowrap",
|
|
330
|
+
alignItems: "start",
|
|
331
|
+
[`> ${e}-message-icon`]: {
|
|
332
|
+
color: m
|
|
333
|
+
},
|
|
334
|
+
[`> ${e}-message-icon ${s}`]: {
|
|
335
|
+
fontSize: c,
|
|
336
|
+
lineHeight: 1,
|
|
337
|
+
marginInlineEnd: g
|
|
338
|
+
},
|
|
339
|
+
[`${e}-title`]: {
|
|
340
|
+
fontWeight: C,
|
|
341
|
+
color: p,
|
|
342
|
+
"&:only-child": {
|
|
343
|
+
fontWeight: 400
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
[`${e}-description`]: {
|
|
347
|
+
marginTop: i,
|
|
348
|
+
color: o
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
[`${e}-buttons`]: {
|
|
352
|
+
textAlign: "end",
|
|
353
|
+
whiteSpace: "nowrap",
|
|
354
|
+
button: {
|
|
355
|
+
marginInlineStart: g
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
};
|
|
360
|
+
}, Ae = (t) => {
|
|
361
|
+
const {
|
|
362
|
+
zIndexPopupBase: e
|
|
363
|
+
} = t;
|
|
364
|
+
return {
|
|
365
|
+
zIndexPopup: e + 60
|
|
366
|
+
};
|
|
367
|
+
}, de = ne("Popconfirm", Me, Ae, {
|
|
368
|
+
resetStyle: !1
|
|
369
|
+
}), ge = (t) => {
|
|
370
|
+
const {
|
|
371
|
+
prefixCls: e,
|
|
372
|
+
okButtonProps: s,
|
|
373
|
+
cancelButtonProps: n,
|
|
374
|
+
title: a,
|
|
375
|
+
description: o,
|
|
376
|
+
cancelText: m,
|
|
377
|
+
okText: i,
|
|
378
|
+
okType: g = "primary",
|
|
379
|
+
icon: c = /* @__PURE__ */ r.createElement(oe, null),
|
|
380
|
+
showCancel: C = !0,
|
|
381
|
+
close: p,
|
|
382
|
+
onConfirm: x,
|
|
383
|
+
onCancel: u,
|
|
384
|
+
onPopupClick: y,
|
|
385
|
+
classNames: l,
|
|
386
|
+
styles: d
|
|
387
|
+
} = t, {
|
|
388
|
+
getPrefixCls: h
|
|
389
|
+
} = r.useContext(J), [f] = Ne("Popconfirm", he.Popconfirm), $ = I(a), S = I(o), R = (D) => {
|
|
390
|
+
var T;
|
|
391
|
+
u == null || u(D), (T = n == null ? void 0 : n.onClick) == null || T.call(n, D);
|
|
392
|
+
};
|
|
393
|
+
return /* @__PURE__ */ r.createElement("div", {
|
|
394
|
+
className: `${e}-inner-content`,
|
|
395
|
+
onClick: y
|
|
396
|
+
}, /* @__PURE__ */ r.createElement("div", {
|
|
397
|
+
className: `${e}-message`
|
|
398
|
+
}, c && /* @__PURE__ */ r.createElement("span", {
|
|
399
|
+
className: P(`${e}-message-icon`, l == null ? void 0 : l.icon),
|
|
400
|
+
style: d == null ? void 0 : d.icon
|
|
401
|
+
}, c), /* @__PURE__ */ r.createElement("div", {
|
|
402
|
+
className: `${e}-message-text`
|
|
403
|
+
}, E($) && /* @__PURE__ */ r.createElement("div", {
|
|
404
|
+
className: P(`${e}-title`, l == null ? void 0 : l.title),
|
|
405
|
+
style: d == null ? void 0 : d.title
|
|
406
|
+
}, $), E(S) && /* @__PURE__ */ r.createElement("div", {
|
|
407
|
+
className: P(`${e}-description`, l == null ? void 0 : l.content),
|
|
408
|
+
style: d == null ? void 0 : d.content
|
|
409
|
+
}, S))), /* @__PURE__ */ r.createElement("div", {
|
|
410
|
+
className: `${e}-buttons`
|
|
411
|
+
}, C && /* @__PURE__ */ r.createElement(Pe, {
|
|
412
|
+
size: "small",
|
|
413
|
+
...n,
|
|
414
|
+
onClick: R
|
|
415
|
+
}, m || (f == null ? void 0 : f.cancelText)), /* @__PURE__ */ r.createElement(be, {
|
|
416
|
+
buttonProps: {
|
|
417
|
+
size: "small",
|
|
418
|
+
...Ee(g),
|
|
419
|
+
...s
|
|
420
|
+
},
|
|
421
|
+
actionFn: x,
|
|
422
|
+
close: p,
|
|
423
|
+
prefixCls: h("btn"),
|
|
424
|
+
quitOnNullishReturnValue: !0,
|
|
425
|
+
emitEvent: !0
|
|
426
|
+
}, i || (f == null ? void 0 : f.okText))));
|
|
427
|
+
}, Le = (t) => {
|
|
428
|
+
const {
|
|
429
|
+
prefixCls: e,
|
|
430
|
+
placement: s,
|
|
431
|
+
className: n,
|
|
432
|
+
style: a,
|
|
433
|
+
...o
|
|
434
|
+
} = t, {
|
|
435
|
+
getPrefixCls: m
|
|
436
|
+
} = r.useContext(J), i = m("popconfirm", e);
|
|
437
|
+
return de(i), /* @__PURE__ */ r.createElement(pe, {
|
|
438
|
+
placement: s,
|
|
439
|
+
className: P(i, n),
|
|
440
|
+
style: a,
|
|
441
|
+
content: /* @__PURE__ */ r.createElement(ge, {
|
|
442
|
+
prefixCls: i,
|
|
443
|
+
...o
|
|
444
|
+
})
|
|
445
|
+
});
|
|
446
|
+
}, _e = /* @__PURE__ */ r.forwardRef((t, e) => {
|
|
447
|
+
const {
|
|
448
|
+
prefixCls: s,
|
|
449
|
+
placement: n = "top",
|
|
450
|
+
trigger: a,
|
|
451
|
+
okType: o = "primary",
|
|
452
|
+
icon: m = /* @__PURE__ */ r.createElement(oe, null),
|
|
453
|
+
children: i,
|
|
454
|
+
overlayClassName: g,
|
|
455
|
+
onOpenChange: c,
|
|
456
|
+
overlayStyle: C,
|
|
457
|
+
styles: p,
|
|
458
|
+
arrow: x,
|
|
459
|
+
classNames: u,
|
|
460
|
+
disabled: y = !1,
|
|
461
|
+
mouseEnterDelay: l,
|
|
462
|
+
mouseLeaveDelay: d,
|
|
463
|
+
...h
|
|
464
|
+
} = t, {
|
|
465
|
+
getPrefixCls: f,
|
|
466
|
+
className: $,
|
|
467
|
+
style: S,
|
|
468
|
+
classNames: R,
|
|
469
|
+
styles: D,
|
|
470
|
+
arrow: T,
|
|
471
|
+
trigger: j,
|
|
472
|
+
mouseEnterDelay: X,
|
|
473
|
+
mouseLeaveDelay: q
|
|
474
|
+
} = se("popconfirm"), [z, M] = le(t.defaultOpen ?? !1, t.open), O = ie(x, T), A = a || j || "click", L = l ?? X ?? 0.1, _ = d ?? q ?? 0.1;
|
|
475
|
+
if (process.env.NODE_ENV !== "production") {
|
|
476
|
+
const v = ae("Popconfirm");
|
|
477
|
+
process.env.NODE_ENV !== "production" && v(!c || c.length <= 1, "usage", "The second `onOpenChange` parameter is internal and unsupported. Please lock to a previous version if needed.");
|
|
478
|
+
}
|
|
479
|
+
const W = (v) => {
|
|
480
|
+
M(v), c == null || c(v);
|
|
481
|
+
}, V = () => {
|
|
482
|
+
W(!1);
|
|
483
|
+
}, G = (v) => {
|
|
484
|
+
var N;
|
|
485
|
+
return (N = t.onConfirm) == null ? void 0 : N.call(void 0, v);
|
|
486
|
+
}, U = (v) => {
|
|
487
|
+
var N;
|
|
488
|
+
W(!1), (N = t.onCancel) == null || N.call(void 0, v);
|
|
489
|
+
}, Y = (v) => {
|
|
490
|
+
y || W(v);
|
|
491
|
+
}, w = f("popconfirm", s), k = {
|
|
492
|
+
...t,
|
|
493
|
+
placement: n,
|
|
494
|
+
trigger: A,
|
|
495
|
+
okType: o,
|
|
496
|
+
overlayStyle: C,
|
|
497
|
+
styles: p,
|
|
498
|
+
classNames: u,
|
|
499
|
+
mouseEnterDelay: L,
|
|
500
|
+
mouseLeaveDelay: _
|
|
501
|
+
}, K = H(S), Z = H(C), [B, b] = Q([R, u], [D, K, p, Z], {
|
|
502
|
+
props: k
|
|
503
|
+
}), F = P(w, $, g, B.root);
|
|
504
|
+
return de(w), /* @__PURE__ */ r.createElement(ee, {
|
|
505
|
+
arrow: O,
|
|
506
|
+
...we(h, ["title"]),
|
|
507
|
+
trigger: A,
|
|
508
|
+
placement: n,
|
|
509
|
+
onOpenChange: Y,
|
|
510
|
+
open: z,
|
|
511
|
+
ref: e,
|
|
512
|
+
mouseEnterDelay: L,
|
|
513
|
+
mouseLeaveDelay: _,
|
|
514
|
+
classNames: {
|
|
515
|
+
root: F,
|
|
516
|
+
container: B.container,
|
|
517
|
+
arrow: B.arrow
|
|
518
|
+
},
|
|
519
|
+
styles: {
|
|
520
|
+
root: b.root,
|
|
521
|
+
container: b.container,
|
|
522
|
+
arrow: b.arrow
|
|
523
|
+
},
|
|
524
|
+
content: /* @__PURE__ */ r.createElement(ge, {
|
|
525
|
+
okType: o,
|
|
526
|
+
icon: m,
|
|
527
|
+
...t,
|
|
528
|
+
onPopupClick: void 0,
|
|
529
|
+
prefixCls: w,
|
|
530
|
+
close: V,
|
|
531
|
+
onConfirm: G,
|
|
532
|
+
onCancel: U,
|
|
533
|
+
classNames: B,
|
|
534
|
+
styles: b
|
|
535
|
+
}),
|
|
536
|
+
"data-popover-inject": !0
|
|
537
|
+
}, i);
|
|
538
|
+
}), ue = _e;
|
|
539
|
+
ue._InternalPanelDoNotUseOrYouWillBeFired = Le;
|
|
540
|
+
process.env.NODE_ENV !== "production" && (ue.displayName = "Popconfirm");
|
|
541
|
+
export {
|
|
542
|
+
ue as P
|
|
543
|
+
};
|