@yuku123/z-cognition-component 2.0.1 → 2.0.3
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 +1096 -0
- package/dist-lib/ClockCircleOutlined-DP6fSLgk.js +12 -0
- package/dist-lib/Collapse-B77SsmFh.js +523 -0
- package/dist-lib/{ConceptsPage-BOeKdDKI.js → ConceptsPage-DOf_CJlz.js} +13 -16
- package/dist-lib/DeleteOutlined-BAZSAooQ.js +12 -0
- package/dist-lib/{DocsPage-BZOBFp3c.js → DocsPage-CiC7TU96.js} +4 -4
- package/dist-lib/EllipsisOutlined-Dr4orLLw.js +1109 -0
- package/dist-lib/EvidenceFormList-CrE2FzHk.js +90 -0
- package/dist-lib/{EyeOutlined-DGSrX-0M.js → EyeOutlined-CudyDdjH.js} +1 -1
- package/dist-lib/ImpactPage-CYiuqy0S.js +68 -0
- package/dist-lib/{LeftOutlined-Cgo6Izj-.js → LeftOutlined-CJasZIyX.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-BJ8wnqAa.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-DqyspFCO.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-J_7eBbi7.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-CA30m5eX.js +64 -0
- package/dist-lib/{agents-mAJW3cEN.js → agents-eZDKzePP.js} +41 -41
- package/dist-lib/{ai-BcYmZiRo.js → ai-CNSn3-sd.js} +32 -32
- package/dist-lib/{ai-chat-share-DO7GXjG4.js → ai-chat-share-Yrqt_J6a.js} +13 -14
- package/dist-lib/ak-manage-DklVFT5I.js +805 -0
- package/dist-lib/{approval-RPDUKg9-.js → approval-B-bCSmfi.js} +25 -26
- package/dist-lib/{approvals-CNjxJUpR.js → approvals-B0ggYiyD.js} +42 -43
- package/dist-lib/{assistant-FIQQziCn.js → assistant-Of0mgMsM.js} +33 -34
- package/dist-lib/{assistant-history-DsEGBJnq.js → assistant-history-DcyDhUzJ.js} +5 -5
- package/dist-lib/{assistant-summary-B-f3k55y.js → assistant-summary-CjLaTyFz.js} +1 -1
- package/dist-lib/{audit-NwnH1hm5.js → audit-wDNCfmOy.js} +1 -1
- package/dist-lib/{bios-CRwKtcit.js → bios-CIwO1AUK.js} +128 -130
- package/dist-lib/callSuper-CpMOVGin.js +7 -0
- package/dist-lib/callSuper-CwIeyYoc.js +7 -0
- package/dist-lib/category-9gqNseEa.js +76 -0
- package/dist-lib/causal-CzAYukj9.js +789 -0
- package/dist-lib/{changelog-DlL5u9o4.js → changelog-CQfIMS51.js} +2 -2
- package/dist-lib/changelog-sKJMQrlV.js +103 -0
- package/dist-lib/chat-panel-BPbqKckR.js +1543 -0
- package/dist-lib/chunk-6KYCQHYJ-DcgZQlO5.js +1627 -0
- package/dist-lib/code-space-D_ZE966E.js +1070 -0
- package/dist-lib/{colors-sdAcAcU3.js → colors-DpKdb8L-.js} +3 -3
- package/dist-lib/community-9_7ExHcm.js +70 -0
- package/dist-lib/community-CfWXxujB.js +217 -0
- package/dist-lib/community-material-page-Z_EZuBPl.js +747 -0
- package/dist-lib/connections-Bcqsp11M.js +1065 -0
- package/dist-lib/context-T27uno74.js +54 -0
- package/dist-lib/{createForOfIteratorHelper-DEx_aTey.js → createForOfIteratorHelper-CasBzL_Q.js} +1 -1
- package/dist-lib/{dayjs.min-BauDENhn.js → dayjs.min-DoEf5yCX.js} +1 -1
- package/dist-lib/detail-CV6xp_Jp.js +84 -0
- package/dist-lib/{detail-Cfb-zdr9.js → detail-DioaWKWj.js} +5847 -7224
- package/dist-lib/{detail-Dcfg3W8B.js → detail-EyLdjGpX.js} +71 -72
- package/dist-lib/development-CFcOIUKc.js +167 -0
- package/dist-lib/{docx-preview-B5nQuTwk.js → docx-preview-D4v2g8Yg.js} +1 -1
- package/dist-lib/{downloads-MkyxiHxi.js → downloads-DtV5hOQv.js} +3 -4
- package/dist-lib/{edit-DLGAM-Vo.js → edit-NtXUNj5N.js} +262 -266
- package/dist-lib/{editor-BtiheUpe.js → editor-KZhj-rwT.js} +25 -26
- package/dist-lib/editor-page-BaxK_OYm.js +1169 -0
- package/dist-lib/embed-mf8t3QXh.js +51841 -0
- package/dist-lib/embed.css +2 -2
- package/dist-lib/{evaluation-Dz9bUuhS.js → evaluation-CZTpC9v3.js} +14 -15
- package/dist-lib/execution-B6HmOA2_.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-DHV-rdiK.js +640 -0
- package/dist-lib/{index-o65vKUwa.js → index--AI-htgA.js} +44 -45
- package/dist-lib/index-2SysmGHo.js +1166 -0
- package/dist-lib/{index-CJSTTgTM.js → index-3J47mTL1.js} +10 -10
- package/dist-lib/index-4tbtbcAt.js +550 -0
- package/dist-lib/index-B12ZggsE.js +77 -0
- package/dist-lib/{index-D3GHtSlM.js → index-B5Roo82U.js} +49 -50
- package/dist-lib/{index-nQSVLWfW.js → index-B7SfTpox.js} +79 -81
- package/dist-lib/index-BEO8itgt.js +566 -0
- package/dist-lib/index-BPbOPT2j.js +413 -0
- package/dist-lib/index-BVgdmf6r.js +2487 -0
- package/dist-lib/index-Bd7AGv4a.js +34 -0
- package/dist-lib/index-BkJjYgKD.js +5012 -0
- package/dist-lib/{index-DBlG9uXV.js → index-BkTegt8T.js} +513 -590
- package/dist-lib/{index-BGB6NawZ.js → index-Bln3mJfp.js} +2 -2
- package/dist-lib/index-BoCtPJD4.js +915 -0
- package/dist-lib/{index-DMTPsTna.js → index-BqTsLClH.js} +3 -4
- package/dist-lib/index-Bs4MevzC.js +16075 -0
- package/dist-lib/index-BsoHetYT.js +236 -0
- package/dist-lib/{index-9aQ4BzIK.js → index-BvJ35WL3.js} +13 -14
- package/dist-lib/{index-BEjXaDfk.js → index-Bw4M9KLv.js} +84 -85
- package/dist-lib/index-C2CV4bte.js +242 -0
- package/dist-lib/{index-D_Qey9G8.js → index-CF0ucN_K.js} +12 -12
- package/dist-lib/{index-B57Fj7Y0.js → index-CLhLA2ig.js} +92 -94
- package/dist-lib/{index-Vu6sPBci.js → index-CSJA8wvL.js} +301 -296
- package/dist-lib/index-CSnvcFg-.js +543 -0
- package/dist-lib/{index-C3AMwzIi.js → index-CZipVp1G.js} +1 -1
- package/dist-lib/{index-ounfql2z.js → index-CdJ5ggvp.js} +26 -28
- package/dist-lib/index-CgwK2maq.js +1987 -0
- package/dist-lib/{index-Bc-Vin3j.js → index-CtqUgNxs.js} +53 -55
- package/dist-lib/index-CvxfA0ZK.js +215 -0
- package/dist-lib/{index-y7jVGGI0.js → index-CwyFMPcr.js} +16 -18
- package/dist-lib/index-D35Ry0PG.js +1162 -0
- package/dist-lib/{index-c2HokEFp.js → index-D6ns_Xmf.js} +10 -11
- package/dist-lib/{index-DsuUGhTA.js → index-DGbjbjBY.js} +46 -48
- package/dist-lib/index-DKAGVWMX.js +390 -0
- package/dist-lib/index-DQ16Zb7x.js +546 -0
- package/dist-lib/index-DRcTwC17.js +418 -0
- package/dist-lib/index-DU6bO95v.js +2075 -0
- package/dist-lib/index-DaMLYomP.js +853 -0
- package/dist-lib/index-Dd9pPAT3.js +2192 -0
- package/dist-lib/{index-DuI4K5e1.js → index-DgfIEgir.js} +29 -29
- package/dist-lib/{index-Cy9i4Kx7.js → index-DhSCFLtV.js} +113 -117
- package/dist-lib/index-DxzorPvG.js +13960 -0
- package/dist-lib/index-If4xc1-H.js +559 -0
- package/dist-lib/index-QZ9JPfVR.js +251 -0
- package/dist-lib/index-VeAMz0iC.js +1719 -0
- package/dist-lib/index-mUlorJxp.js +3279 -0
- package/dist-lib/{index-g16g7A4k.js → index-xQmDaKK3.js} +6 -6
- package/dist-lib/{index-BwVZgt5s.js → index-zXwXfn-X.js} +48 -50
- package/dist-lib/index.js +3 -4
- package/dist-lib/json-field-COcz5F2R.js +196 -0
- package/dist-lib/{jszip.min-DcEHhn-b.js → jszip.min-dcaDnWUw.js} +1 -1
- package/dist-lib/{kb-form-modal-BNoIhw6B.js → kb-form-modal-D9gnvXbE.js} +67 -67
- package/dist-lib/{kbTeam-EgcbWseM.js → kbTeam-CorrPJFr.js} +3 -3
- package/dist-lib/{knowledge-base-C023dnJ-.js → knowledge-base-DJkjMFHW.js} +103 -104
- package/dist-lib/{knowledge-hub-B4fGCn8m.js → knowledge-hub-DKiDlaZz.js} +54 -55
- package/dist-lib/login-56zv4aLO.js +36 -0
- package/dist-lib/{markdown-lite-EvJ9Fw7X.js → markdown-lite-p1tiuSZM.js} +198 -202
- package/dist-lib/material-DtPASeqq.js +204 -0
- package/dist-lib/material-draft-markdown-281d5_GN.js +443 -0
- package/dist-lib/material-original-preview-CPGjdmbe.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-pdf-CKAovvpc.js → material-preview-pdf-CTSo215V.js} +7 -7
- package/dist-lib/{material-preview-pptx-D8XGDF-u.js → material-preview-pptx-6Byitp0J.js} +1 -1
- package/dist-lib/material-workspace-model-QLsU5qUO.js +328 -0
- package/dist-lib/{member-BUg2QYlE.js → member-Cz-OIdj9.js} +1 -1
- package/dist-lib/memory-reorganization-DgJnWIrW.js +8 -0
- package/dist-lib/memory-spaces-D-orVNR7.js +2340 -0
- package/dist-lib/{message-GF-w8HuR.js → message-C9gfvpGg.js} +1 -1
- package/dist-lib/{message-Cwj8dO78.js → message-D6FhzB7J.js} +24 -25
- package/dist-lib/{messages-JID13L8-.js → messages-cctmEVcG.js} +15 -16
- package/dist-lib/meta-DT_O4zM9.js +708 -0
- package/dist-lib/{metrics-CT4eLzrq.js → metrics-BNeVcI8-.js} +2 -2
- package/dist-lib/mobile-D8kZjfQU.js +2413 -0
- package/dist-lib/{monitor-Bs9BfJOj.js → monitor-DTUyqumg.js} +4 -4
- package/dist-lib/{monitor-CmS65YSu.js → monitor-DexMYjzF.js} +8 -8
- package/dist-lib/{my-access-1Yj7UloI.js → my-access-DWBV6ohp.js} +120 -132
- package/dist-lib/{my-permissions-yQDHPLYI.js → my-permissions-B-gJZQYM.js} +22 -23
- package/dist-lib/navigation-DVlyWnpD.js +102 -0
- package/dist-lib/{new-BgkoBnZV.js → new-JmARyD88.js} +14 -15
- package/dist-lib/{ontology-BPrbXPor.js → ontology-B4rkO33J.js} +50 -52
- package/dist-lib/ontology-dataprep-BwD5TKs2.js +322 -0
- package/dist-lib/{ontology-domains-Cbqnm-po.js → ontology-domains-zxFrjn0v.js} +89 -92
- package/dist-lib/ontology-extract-BHOxruRO.js +3199 -0
- package/dist-lib/ontology-extract-iR_rXxFe.js +295 -0
- package/dist-lib/ontology-flow-CW0SzeK7.js +456 -0
- package/dist-lib/ontology-flow-Dv5iQ20f.js +154 -0
- package/dist-lib/ontology-modeling-B9wswveh.js +510 -0
- package/dist-lib/ontology-modeling-hakCluBi.js +15136 -0
- package/dist-lib/{ontology-scenarios-D3xy6IZL.js → ontology-scenarios-C2kp7Rs-.js} +1466 -1482
- package/dist-lib/ontology-scenarios-DKnfydG6.js +675 -0
- package/dist-lib/ontology-task-config-DmnWyCCB.js +122 -0
- package/dist-lib/ontology-terms-BoNB-5ar.js +66 -0
- package/dist-lib/ontology-terms-C-NhpcIZ.js +1195 -0
- package/dist-lib/pages-CticGC6S.js +512 -0
- package/dist-lib/pages.js +3 -3
- package/dist-lib/{permission-fTfxpEhV.js → permission-Dq1-AOQw.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-DCNSE--Y.js} +8 -8
- package/dist-lib/progress-CZxOOnIs.js +778 -0
- package/dist-lib/{quota-BlHnhkAT.js → quota-oICQRHFU.js} +4 -4
- package/dist-lib/row-By17TCiW.js +154 -0
- package/dist-lib/runs-DQTDpPaN.js +565 -0
- package/dist-lib/{save-blob-B-pzX8eT.js → save-blob-CwCZE1Dn.js} +2 -2
- package/dist-lib/{scenario-mapping-preview-DByQXh0y.js → scenario-mapping-preview-sJtjgmry.js} +46 -48
- package/dist-lib/scenario-simple-form-BvKSPFzw.js +989 -0
- package/dist-lib/{schedule-H4_9KnRj.js → schedule-CwkPPSuT.js} +8 -8
- package/dist-lib/script-gYJAFobb.js +2709 -0
- package/dist-lib/{settings-C3PI8KYa.js → settings-CJd5Jj4y.js} +133 -134
- package/dist-lib/{shared-DqeN-Wbb.js → shared-DG5-VCDM.js} +1 -1
- package/dist-lib/{shared-utils-DN3zT9P-.js → shared-utils-CFHws1DA.js} +2 -2
- package/dist-lib/{skills-eGlCExr0.js → skills-lxpJ5Lzx.js} +39 -40
- package/dist-lib/{source-selection-BCvClzc-.js → source-selection-DJnQQckl.js} +16 -16
- package/dist-lib/sources-C83LpCcV.js +279 -0
- package/dist-lib/style-B5THvtDY.js +191 -0
- package/dist-lib/{task-config-DEJVJ7zK.js → task-config-BNYoOb79.js} +4 -4
- package/dist-lib/{tech-C-4uM9bS.js → tech-LuZvKDo6.js} +3 -4
- package/dist-lib/templates-a-kbCamr.js +58 -0
- package/dist-lib/tenant-login-COB-5h_2.js +338 -0
- package/dist-lib/{tools-le6miafZ.js → tools-CrA6GrY6.js} +14 -14
- package/dist-lib/{use-domain-access-B3pDp3s5.js → use-domain-access-ehGJBGvU.js} +15 -15
- package/dist-lib/{use-g6-graph-WLX0PweO.js → use-g6-graph-DfRnsBS6.js} +1 -1
- package/dist-lib/{use-graph-layers-Dmp7uMHO.js → use-graph-layers-CrhEeHfD.js} +48 -50
- package/dist-lib/use-resizable-columns-BpMCRKif.js +59 -0
- package/dist-lib/useBreakpoint-Cul9y9Cu.js +87 -0
- package/dist-lib/{useForm-Byp1LopG.js → useForm-B-dwOwJ8.js} +11 -11
- package/dist-lib/{version-control-panel-WT1PobuV.js → version-control-panel-mWXkC-uB.js} +26 -27
- package/dist-lib/{version-management-DC0k1DRg.js → version-management-nPlG7wQO.js} +6 -7
- package/dist-lib/{welcome-VyWLrbth.js → welcome-Cqv1-rXT.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-Dj_Pv2nc.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-DwLg9RDW.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-CyKWCYMK.js +0 -218
- 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-HieOUSwH.js +0 -340
- package/dist-lib/index-bOY1cBol.js +0 -4890
- package/dist-lib/meta-DPp5L3Uc.js +0 -540
- package/dist-lib/ontology-modeling-6k-m8fzr.js +0 -38946
- package/dist-lib/ontology-modeling-BT-EuDCs.js +0 -1039
- package/dist-lib/ontology-scenarios-DWYC2yxd.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-Bw-6n9Kh.js +0 -2396
- package/dist-lib/useClosable-BY7FgWKy.js +0 -59
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { a$ as r, b0 as a } from "./embed-mf8t3QXh.js";
|
|
2
|
+
import * as e from "react";
|
|
3
|
+
var l = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { tag: "path", attrs: { d: "M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z" } }] }, name: "clock-circle", theme: "outlined" }, o = function(c, t) {
|
|
4
|
+
return /* @__PURE__ */ e.createElement(r, a({}, c, {
|
|
5
|
+
ref: t,
|
|
6
|
+
icon: l
|
|
7
|
+
}));
|
|
8
|
+
}, i = /* @__PURE__ */ e.forwardRef(o);
|
|
9
|
+
process.env.NODE_ENV !== "production" && (i.displayName = "ClockCircleOutlined");
|
|
10
|
+
export {
|
|
11
|
+
i as R
|
|
12
|
+
};
|
|
@@ -0,0 +1,523 @@
|
|
|
1
|
+
import * as _ from "react";
|
|
2
|
+
import C from "react";
|
|
3
|
+
import { a as ne } from "./LeftOutlined-CJasZIyX.js";
|
|
4
|
+
import { bi as X, a6 as K, bk as R, bh as q, bH as L, b0 as B, bg as ae, at as te, aT as F, bj as oe, bz as re, as as le, bf as ie, ah as se, aq as U, a9 as ce, a7 as de, a8 as ue, ap as O, ao as me, ct as ve, cb as fe, ar as pe, aK as ge, bb as V, aH as be, aa as W } from "./embed-mf8t3QXh.js";
|
|
5
|
+
import { g as Ce } from "./collapse-Dtpt-6W_.js";
|
|
6
|
+
var J = /* @__PURE__ */ C.forwardRef(function(n, e) {
|
|
7
|
+
var a = n.prefixCls, t = n.forceRender, s = n.className, c = n.style, d = n.children, i = n.isActive, u = n.role, f = n.classNames, x = n.styles, m = C.useState(i || t), p = X(m, 2), r = p[0], l = p[1];
|
|
8
|
+
return C.useEffect(function() {
|
|
9
|
+
(t || i) && l(!0);
|
|
10
|
+
}, [t, i]), r ? /* @__PURE__ */ C.createElement("div", {
|
|
11
|
+
ref: e,
|
|
12
|
+
className: K("".concat(a, "-content"), R(R({}, "".concat(a, "-content-active"), i), "".concat(a, "-content-inactive"), !i), s),
|
|
13
|
+
style: c,
|
|
14
|
+
role: u
|
|
15
|
+
}, /* @__PURE__ */ C.createElement("div", {
|
|
16
|
+
className: K("".concat(a, "-content-box"), f == null ? void 0 : f.body),
|
|
17
|
+
style: x == null ? void 0 : x.body
|
|
18
|
+
}, d)) : null;
|
|
19
|
+
});
|
|
20
|
+
J.displayName = "PanelContent";
|
|
21
|
+
var ye = ["showArrow", "headerClass", "isActive", "onItemClick", "forceRender", "className", "classNames", "styles", "prefixCls", "collapsible", "accordion", "panelKey", "extra", "header", "expandIcon", "openMotion", "destroyInactivePanel", "children"], Q = /* @__PURE__ */ C.forwardRef(function(n, e) {
|
|
22
|
+
var a = n.showArrow, t = a === void 0 ? !0 : a, s = n.headerClass, c = n.isActive, d = n.onItemClick, i = n.forceRender, u = n.className, f = n.classNames, x = f === void 0 ? {} : f, m = n.styles, p = m === void 0 ? {} : m, r = n.prefixCls, l = n.collapsible, g = n.accordion, h = n.panelKey, v = n.extra, b = n.header, y = n.expandIcon, o = n.openMotion, N = n.destroyInactivePanel, $ = n.children, E = q(n, ye), I = l === "disabled", S = v != null && typeof v != "boolean", w = R(R(R({
|
|
23
|
+
onClick: function() {
|
|
24
|
+
d == null || d(h);
|
|
25
|
+
},
|
|
26
|
+
onKeyDown: function(M) {
|
|
27
|
+
(M.key === "Enter" || M.keyCode === L.ENTER || M.which === L.ENTER) && (d == null || d(h));
|
|
28
|
+
},
|
|
29
|
+
role: g ? "tab" : "button"
|
|
30
|
+
}, "aria-expanded", c), "aria-disabled", I), "tabIndex", I ? -1 : 0), k = typeof y == "function" ? y(n) : /* @__PURE__ */ C.createElement("i", {
|
|
31
|
+
className: "arrow"
|
|
32
|
+
}), H = k && /* @__PURE__ */ C.createElement("div", B({
|
|
33
|
+
className: "".concat(r, "-expand-icon")
|
|
34
|
+
}, ["header", "icon"].includes(l) ? w : {}), k), T = K("".concat(r, "-item"), R(R({}, "".concat(r, "-item-active"), c), "".concat(r, "-item-disabled"), I), u), D = K(s, "".concat(r, "-header"), R({}, "".concat(r, "-collapsible-").concat(l), !!l), x.header), P = ae({
|
|
35
|
+
className: D,
|
|
36
|
+
style: p.header
|
|
37
|
+
}, ["header", "icon"].includes(l) ? {} : w);
|
|
38
|
+
return /* @__PURE__ */ C.createElement("div", B({}, E, {
|
|
39
|
+
ref: e,
|
|
40
|
+
className: T
|
|
41
|
+
}), /* @__PURE__ */ C.createElement("div", P, t && H, /* @__PURE__ */ C.createElement("span", B({
|
|
42
|
+
className: "".concat(r, "-header-text")
|
|
43
|
+
}, l === "header" ? w : {}), b), S && /* @__PURE__ */ C.createElement("div", {
|
|
44
|
+
className: "".concat(r, "-extra")
|
|
45
|
+
}, v)), /* @__PURE__ */ C.createElement(te, B({
|
|
46
|
+
visible: c,
|
|
47
|
+
leavedClassName: "".concat(r, "-content-hidden")
|
|
48
|
+
}, o, {
|
|
49
|
+
forceRender: i,
|
|
50
|
+
removeOnLeave: N
|
|
51
|
+
}), function(A, M) {
|
|
52
|
+
var z = A.className, j = A.style;
|
|
53
|
+
return /* @__PURE__ */ C.createElement(J, {
|
|
54
|
+
ref: M,
|
|
55
|
+
prefixCls: r,
|
|
56
|
+
className: z,
|
|
57
|
+
classNames: x,
|
|
58
|
+
style: j,
|
|
59
|
+
styles: p,
|
|
60
|
+
isActive: c,
|
|
61
|
+
forceRender: i,
|
|
62
|
+
role: g ? "tabpanel" : void 0
|
|
63
|
+
}, $);
|
|
64
|
+
}));
|
|
65
|
+
}), xe = ["children", "label", "key", "collapsible", "onItemClick", "destroyInactivePanel"], he = function(e, a) {
|
|
66
|
+
var t = a.prefixCls, s = a.accordion, c = a.collapsible, d = a.destroyInactivePanel, i = a.onItemClick, u = a.activeKey, f = a.openMotion, x = a.expandIcon;
|
|
67
|
+
return e.map(function(m, p) {
|
|
68
|
+
var r = m.children, l = m.label, g = m.key, h = m.collapsible, v = m.onItemClick, b = m.destroyInactivePanel, y = q(m, xe), o = String(g ?? p), N = h ?? c, $ = b ?? d, E = function(w) {
|
|
69
|
+
N !== "disabled" && (i(w), v == null || v(w));
|
|
70
|
+
}, I = !1;
|
|
71
|
+
return s ? I = u[0] === o : I = u.indexOf(o) > -1, /* @__PURE__ */ C.createElement(Q, B({}, y, {
|
|
72
|
+
prefixCls: t,
|
|
73
|
+
key: o,
|
|
74
|
+
panelKey: o,
|
|
75
|
+
isActive: I,
|
|
76
|
+
accordion: s,
|
|
77
|
+
openMotion: f,
|
|
78
|
+
expandIcon: x,
|
|
79
|
+
header: l,
|
|
80
|
+
collapsible: N,
|
|
81
|
+
onItemClick: E,
|
|
82
|
+
destroyInactivePanel: $
|
|
83
|
+
}), r);
|
|
84
|
+
});
|
|
85
|
+
}, $e = function(e, a, t) {
|
|
86
|
+
if (!e) return null;
|
|
87
|
+
var s = t.prefixCls, c = t.accordion, d = t.collapsible, i = t.destroyInactivePanel, u = t.onItemClick, f = t.activeKey, x = t.openMotion, m = t.expandIcon, p = e.key || String(a), r = e.props, l = r.header, g = r.headerClass, h = r.destroyInactivePanel, v = r.collapsible, b = r.onItemClick, y = !1;
|
|
88
|
+
c ? y = f[0] === p : y = f.indexOf(p) > -1;
|
|
89
|
+
var o = v ?? d, N = function(I) {
|
|
90
|
+
o !== "disabled" && (u(I), b == null || b(I));
|
|
91
|
+
}, $ = {
|
|
92
|
+
key: p,
|
|
93
|
+
panelKey: p,
|
|
94
|
+
header: l,
|
|
95
|
+
headerClass: g,
|
|
96
|
+
isActive: y,
|
|
97
|
+
prefixCls: s,
|
|
98
|
+
destroyInactivePanel: h ?? i,
|
|
99
|
+
openMotion: x,
|
|
100
|
+
accordion: c,
|
|
101
|
+
children: e.props.children,
|
|
102
|
+
onItemClick: N,
|
|
103
|
+
expandIcon: m,
|
|
104
|
+
collapsible: o
|
|
105
|
+
};
|
|
106
|
+
return typeof e.type == "string" ? e : (Object.keys($).forEach(function(E) {
|
|
107
|
+
typeof $[E] > "u" && delete $[E];
|
|
108
|
+
}), /* @__PURE__ */ C.cloneElement(e, $));
|
|
109
|
+
};
|
|
110
|
+
function Ie(n, e, a) {
|
|
111
|
+
return Array.isArray(n) ? he(n, a) : F(e).map(function(t, s) {
|
|
112
|
+
return $e(t, s, a);
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
function Pe(n) {
|
|
116
|
+
var e = n;
|
|
117
|
+
if (!Array.isArray(e)) {
|
|
118
|
+
var a = ie(e);
|
|
119
|
+
e = a === "number" || a === "string" ? [e] : [];
|
|
120
|
+
}
|
|
121
|
+
return e.map(function(t) {
|
|
122
|
+
return String(t);
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
var Ne = /* @__PURE__ */ C.forwardRef(function(n, e) {
|
|
126
|
+
var a = n.prefixCls, t = a === void 0 ? "rc-collapse" : a, s = n.destroyInactivePanel, c = s === void 0 ? !1 : s, d = n.style, i = n.accordion, u = n.className, f = n.children, x = n.collapsible, m = n.openMotion, p = n.expandIcon, r = n.activeKey, l = n.defaultActiveKey, g = n.onChange, h = n.items, v = K(t, u), b = oe([], {
|
|
127
|
+
value: r,
|
|
128
|
+
onChange: function(S) {
|
|
129
|
+
return g == null ? void 0 : g(S);
|
|
130
|
+
},
|
|
131
|
+
defaultValue: l,
|
|
132
|
+
postState: Pe
|
|
133
|
+
}), y = X(b, 2), o = y[0], N = y[1], $ = function(S) {
|
|
134
|
+
return N(function() {
|
|
135
|
+
if (i)
|
|
136
|
+
return o[0] === S ? [] : [S];
|
|
137
|
+
var w = o.indexOf(S), k = w > -1;
|
|
138
|
+
return k ? o.filter(function(H) {
|
|
139
|
+
return H !== S;
|
|
140
|
+
}) : [].concat(se(o), [S]);
|
|
141
|
+
});
|
|
142
|
+
};
|
|
143
|
+
re(!f, "[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");
|
|
144
|
+
var E = Ie(h, f, {
|
|
145
|
+
prefixCls: t,
|
|
146
|
+
accordion: i,
|
|
147
|
+
openMotion: m,
|
|
148
|
+
expandIcon: p,
|
|
149
|
+
collapsible: x,
|
|
150
|
+
destroyInactivePanel: c,
|
|
151
|
+
onItemClick: $,
|
|
152
|
+
activeKey: o
|
|
153
|
+
});
|
|
154
|
+
return /* @__PURE__ */ C.createElement("div", B({
|
|
155
|
+
ref: e,
|
|
156
|
+
className: v,
|
|
157
|
+
style: d,
|
|
158
|
+
role: i ? "tablist" : void 0
|
|
159
|
+
}, le(n, {
|
|
160
|
+
aria: !0,
|
|
161
|
+
data: !0
|
|
162
|
+
})), E);
|
|
163
|
+
});
|
|
164
|
+
const G = Object.assign(Ne, {
|
|
165
|
+
/**
|
|
166
|
+
* @deprecated use `items` instead, will be removed in `v4.0.0`
|
|
167
|
+
*/
|
|
168
|
+
Panel: Q
|
|
169
|
+
});
|
|
170
|
+
G.Panel;
|
|
171
|
+
const Se = /* @__PURE__ */ _.forwardRef((n, e) => {
|
|
172
|
+
process.env.NODE_ENV !== "production" && U("Collapse.Panel").deprecated(!("disabled" in n), "disabled", 'collapsible="disabled"');
|
|
173
|
+
const {
|
|
174
|
+
getPrefixCls: a
|
|
175
|
+
} = _.useContext(ce), {
|
|
176
|
+
prefixCls: t,
|
|
177
|
+
className: s,
|
|
178
|
+
showArrow: c = !0
|
|
179
|
+
} = n, d = a("collapse", t), i = K({
|
|
180
|
+
[`${d}-no-arrow`]: !c
|
|
181
|
+
}, s);
|
|
182
|
+
return /* @__PURE__ */ _.createElement(G.Panel, Object.assign({
|
|
183
|
+
ref: e
|
|
184
|
+
}, n, {
|
|
185
|
+
prefixCls: d,
|
|
186
|
+
className: i
|
|
187
|
+
}));
|
|
188
|
+
}), we = (n) => {
|
|
189
|
+
const {
|
|
190
|
+
componentCls: e,
|
|
191
|
+
contentBg: a,
|
|
192
|
+
padding: t,
|
|
193
|
+
headerBg: s,
|
|
194
|
+
headerPadding: c,
|
|
195
|
+
collapseHeaderPaddingSM: d,
|
|
196
|
+
collapseHeaderPaddingLG: i,
|
|
197
|
+
collapsePanelBorderRadius: u,
|
|
198
|
+
lineWidth: f,
|
|
199
|
+
lineType: x,
|
|
200
|
+
colorBorder: m,
|
|
201
|
+
colorText: p,
|
|
202
|
+
colorTextHeading: r,
|
|
203
|
+
colorTextDisabled: l,
|
|
204
|
+
fontSizeLG: g,
|
|
205
|
+
lineHeight: h,
|
|
206
|
+
lineHeightLG: v,
|
|
207
|
+
marginSM: b,
|
|
208
|
+
paddingSM: y,
|
|
209
|
+
paddingLG: o,
|
|
210
|
+
paddingXS: N,
|
|
211
|
+
motionDurationSlow: $,
|
|
212
|
+
fontSizeIcon: E,
|
|
213
|
+
contentPadding: I,
|
|
214
|
+
fontHeight: S,
|
|
215
|
+
fontHeightLG: w
|
|
216
|
+
} = n, k = `${O(f)} ${x} ${m}`;
|
|
217
|
+
return {
|
|
218
|
+
[e]: Object.assign(Object.assign({}, me(n)), {
|
|
219
|
+
backgroundColor: s,
|
|
220
|
+
border: k,
|
|
221
|
+
borderRadius: u,
|
|
222
|
+
"&-rtl": {
|
|
223
|
+
direction: "rtl"
|
|
224
|
+
},
|
|
225
|
+
[`& > ${e}-item`]: {
|
|
226
|
+
borderBottom: k,
|
|
227
|
+
"&:first-child": {
|
|
228
|
+
[`
|
|
229
|
+
&,
|
|
230
|
+
& > ${e}-header`]: {
|
|
231
|
+
borderRadius: `${O(u)} ${O(u)} 0 0`
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
"&:last-child": {
|
|
235
|
+
[`
|
|
236
|
+
&,
|
|
237
|
+
& > ${e}-header`]: {
|
|
238
|
+
borderRadius: `0 0 ${O(u)} ${O(u)}`
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
[`> ${e}-header`]: Object.assign(Object.assign({
|
|
242
|
+
position: "relative",
|
|
243
|
+
display: "flex",
|
|
244
|
+
flexWrap: "nowrap",
|
|
245
|
+
alignItems: "flex-start",
|
|
246
|
+
padding: c,
|
|
247
|
+
color: r,
|
|
248
|
+
lineHeight: h,
|
|
249
|
+
cursor: "pointer",
|
|
250
|
+
transition: `all ${$}, visibility 0s`
|
|
251
|
+
}, ve(n)), {
|
|
252
|
+
[`> ${e}-header-text`]: {
|
|
253
|
+
flex: "auto"
|
|
254
|
+
},
|
|
255
|
+
// >>>>> Arrow
|
|
256
|
+
[`${e}-expand-icon`]: {
|
|
257
|
+
height: S,
|
|
258
|
+
display: "flex",
|
|
259
|
+
alignItems: "center",
|
|
260
|
+
paddingInlineEnd: b
|
|
261
|
+
},
|
|
262
|
+
[`${e}-arrow`]: Object.assign(Object.assign({}, fe()), {
|
|
263
|
+
fontSize: E,
|
|
264
|
+
// when `transform: rotate()` is applied to icon's root element
|
|
265
|
+
transition: `transform ${$}`,
|
|
266
|
+
// when `transform: rotate()` is applied to icon's child element
|
|
267
|
+
svg: {
|
|
268
|
+
transition: `transform ${$}`
|
|
269
|
+
}
|
|
270
|
+
}),
|
|
271
|
+
// >>>>> Text
|
|
272
|
+
[`${e}-header-text`]: {
|
|
273
|
+
marginInlineEnd: "auto"
|
|
274
|
+
}
|
|
275
|
+
}),
|
|
276
|
+
[`${e}-collapsible-header`]: {
|
|
277
|
+
cursor: "default",
|
|
278
|
+
[`${e}-header-text`]: {
|
|
279
|
+
flex: "none",
|
|
280
|
+
cursor: "pointer"
|
|
281
|
+
},
|
|
282
|
+
[`${e}-expand-icon`]: {
|
|
283
|
+
cursor: "pointer"
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
[`${e}-collapsible-icon`]: {
|
|
287
|
+
cursor: "unset",
|
|
288
|
+
[`${e}-expand-icon`]: {
|
|
289
|
+
cursor: "pointer"
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
[`${e}-content`]: {
|
|
294
|
+
color: p,
|
|
295
|
+
backgroundColor: a,
|
|
296
|
+
borderTop: k,
|
|
297
|
+
[`& > ${e}-content-box`]: {
|
|
298
|
+
padding: I
|
|
299
|
+
},
|
|
300
|
+
"&-hidden": {
|
|
301
|
+
display: "none"
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
"&-small": {
|
|
305
|
+
[`> ${e}-item`]: {
|
|
306
|
+
[`> ${e}-header`]: {
|
|
307
|
+
padding: d,
|
|
308
|
+
paddingInlineStart: N,
|
|
309
|
+
[`> ${e}-expand-icon`]: {
|
|
310
|
+
// Arrow offset
|
|
311
|
+
marginInlineStart: n.calc(y).sub(N).equal()
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
[`> ${e}-content > ${e}-content-box`]: {
|
|
315
|
+
padding: y
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
"&-large": {
|
|
320
|
+
[`> ${e}-item`]: {
|
|
321
|
+
fontSize: g,
|
|
322
|
+
lineHeight: v,
|
|
323
|
+
[`> ${e}-header`]: {
|
|
324
|
+
padding: i,
|
|
325
|
+
paddingInlineStart: t,
|
|
326
|
+
[`> ${e}-expand-icon`]: {
|
|
327
|
+
height: w,
|
|
328
|
+
// Arrow offset
|
|
329
|
+
marginInlineStart: n.calc(o).sub(t).equal()
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
[`> ${e}-content > ${e}-content-box`]: {
|
|
333
|
+
padding: o
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
[`${e}-item:last-child`]: {
|
|
338
|
+
borderBottom: 0,
|
|
339
|
+
[`> ${e}-content`]: {
|
|
340
|
+
borderRadius: `0 0 ${O(u)} ${O(u)}`
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
[`& ${e}-item-disabled > ${e}-header`]: {
|
|
344
|
+
"\n &,\n & > .arrow\n ": {
|
|
345
|
+
color: l,
|
|
346
|
+
cursor: "not-allowed"
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
// ========================== Icon Position ==========================
|
|
350
|
+
[`&${e}-icon-position-end`]: {
|
|
351
|
+
[`& > ${e}-item`]: {
|
|
352
|
+
[`> ${e}-header`]: {
|
|
353
|
+
[`${e}-expand-icon`]: {
|
|
354
|
+
order: 1,
|
|
355
|
+
paddingInlineEnd: 0,
|
|
356
|
+
paddingInlineStart: b
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
})
|
|
362
|
+
};
|
|
363
|
+
}, Ee = (n) => {
|
|
364
|
+
const {
|
|
365
|
+
componentCls: e
|
|
366
|
+
} = n, a = `> ${e}-item > ${e}-header ${e}-arrow`;
|
|
367
|
+
return {
|
|
368
|
+
[`${e}-rtl`]: {
|
|
369
|
+
[a]: {
|
|
370
|
+
transform: "rotate(180deg)"
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
};
|
|
374
|
+
}, Ae = (n) => {
|
|
375
|
+
const {
|
|
376
|
+
componentCls: e,
|
|
377
|
+
headerBg: a,
|
|
378
|
+
borderlessContentPadding: t,
|
|
379
|
+
borderlessContentBg: s,
|
|
380
|
+
colorBorder: c
|
|
381
|
+
} = n;
|
|
382
|
+
return {
|
|
383
|
+
[`${e}-borderless`]: {
|
|
384
|
+
backgroundColor: a,
|
|
385
|
+
border: 0,
|
|
386
|
+
[`> ${e}-item`]: {
|
|
387
|
+
borderBottom: `1px solid ${c}`
|
|
388
|
+
},
|
|
389
|
+
[`
|
|
390
|
+
> ${e}-item:last-child,
|
|
391
|
+
> ${e}-item:last-child ${e}-header
|
|
392
|
+
`]: {
|
|
393
|
+
borderRadius: 0
|
|
394
|
+
},
|
|
395
|
+
[`> ${e}-item:last-child`]: {
|
|
396
|
+
borderBottom: 0
|
|
397
|
+
},
|
|
398
|
+
[`> ${e}-item > ${e}-content`]: {
|
|
399
|
+
backgroundColor: s,
|
|
400
|
+
borderTop: 0
|
|
401
|
+
},
|
|
402
|
+
[`> ${e}-item > ${e}-content > ${e}-content-box`]: {
|
|
403
|
+
padding: t
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
};
|
|
407
|
+
}, Me = (n) => {
|
|
408
|
+
const {
|
|
409
|
+
componentCls: e,
|
|
410
|
+
paddingSM: a
|
|
411
|
+
} = n;
|
|
412
|
+
return {
|
|
413
|
+
[`${e}-ghost`]: {
|
|
414
|
+
backgroundColor: "transparent",
|
|
415
|
+
border: 0,
|
|
416
|
+
[`> ${e}-item`]: {
|
|
417
|
+
borderBottom: 0,
|
|
418
|
+
[`> ${e}-content`]: {
|
|
419
|
+
backgroundColor: "transparent",
|
|
420
|
+
border: 0,
|
|
421
|
+
[`> ${e}-content-box`]: {
|
|
422
|
+
paddingBlock: a
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
};
|
|
428
|
+
}, Oe = (n) => ({
|
|
429
|
+
headerPadding: `${n.paddingSM}px ${n.padding}px`,
|
|
430
|
+
headerBg: n.colorFillAlter,
|
|
431
|
+
contentPadding: `${n.padding}px 16px`,
|
|
432
|
+
// Fixed Value
|
|
433
|
+
contentBg: n.colorBgContainer,
|
|
434
|
+
borderlessContentPadding: `${n.paddingXXS}px 16px ${n.padding}px`,
|
|
435
|
+
borderlessContentBg: "transparent"
|
|
436
|
+
}), ke = de("Collapse", (n) => {
|
|
437
|
+
const e = ue(n, {
|
|
438
|
+
collapseHeaderPaddingSM: `${O(n.paddingXS)} ${O(n.paddingSM)}`,
|
|
439
|
+
collapseHeaderPaddingLG: `${O(n.padding)} ${O(n.paddingLG)}`,
|
|
440
|
+
collapsePanelBorderRadius: n.borderRadiusLG
|
|
441
|
+
});
|
|
442
|
+
return [we(e), Ae(e), Me(e), Ee(e), Ce(e)];
|
|
443
|
+
}, Oe), Y = /* @__PURE__ */ _.forwardRef((n, e) => {
|
|
444
|
+
const {
|
|
445
|
+
getPrefixCls: a,
|
|
446
|
+
direction: t,
|
|
447
|
+
expandIcon: s,
|
|
448
|
+
className: c,
|
|
449
|
+
style: d
|
|
450
|
+
} = pe("collapse"), {
|
|
451
|
+
prefixCls: i,
|
|
452
|
+
className: u,
|
|
453
|
+
rootClassName: f,
|
|
454
|
+
style: x,
|
|
455
|
+
bordered: m = !0,
|
|
456
|
+
ghost: p,
|
|
457
|
+
size: r,
|
|
458
|
+
expandIconPosition: l = "start",
|
|
459
|
+
children: g,
|
|
460
|
+
destroyInactivePanel: h,
|
|
461
|
+
destroyOnHidden: v,
|
|
462
|
+
expandIcon: b
|
|
463
|
+
} = n, y = ge((P) => {
|
|
464
|
+
var A;
|
|
465
|
+
return (A = r ?? P) !== null && A !== void 0 ? A : "middle";
|
|
466
|
+
}), o = a("collapse", i), N = a(), [$, E, I] = ke(o);
|
|
467
|
+
if (process.env.NODE_ENV !== "production") {
|
|
468
|
+
const P = U("Collapse");
|
|
469
|
+
process.env.NODE_ENV !== "production" && P(l !== "left" && l !== "right", "deprecated", "`expandIconPosition` with `left` or `right` is deprecated. Please use `start` or `end` instead."), P.deprecated(!("destroyInactivePanel" in n), "destroyInactivePanel", "destroyOnHidden");
|
|
470
|
+
}
|
|
471
|
+
const S = _.useMemo(() => l === "left" ? "start" : l === "right" ? "end" : l, [l]), w = b ?? s, k = _.useCallback((P = {}) => {
|
|
472
|
+
const A = typeof w == "function" ? w(P) : /* @__PURE__ */ _.createElement(ne, {
|
|
473
|
+
rotate: P.isActive ? t === "rtl" ? -90 : 90 : void 0,
|
|
474
|
+
"aria-label": P.isActive ? "expanded" : "collapsed"
|
|
475
|
+
});
|
|
476
|
+
return V(A, () => {
|
|
477
|
+
var M;
|
|
478
|
+
return {
|
|
479
|
+
className: K((M = A.props) === null || M === void 0 ? void 0 : M.className, `${o}-arrow`)
|
|
480
|
+
};
|
|
481
|
+
});
|
|
482
|
+
}, [w, o, t]), H = K(`${o}-icon-position-${S}`, {
|
|
483
|
+
[`${o}-borderless`]: !m,
|
|
484
|
+
[`${o}-rtl`]: t === "rtl",
|
|
485
|
+
[`${o}-ghost`]: !!p,
|
|
486
|
+
[`${o}-${y}`]: y !== "middle"
|
|
487
|
+
}, c, u, f, E, I), T = _.useMemo(() => Object.assign(Object.assign({}, be(N)), {
|
|
488
|
+
motionAppear: !1,
|
|
489
|
+
leavedClassName: `${o}-content-hidden`
|
|
490
|
+
}), [N, o]), D = _.useMemo(() => g ? F(g).map((P, A) => {
|
|
491
|
+
var M, z;
|
|
492
|
+
const j = P.props;
|
|
493
|
+
if (j != null && j.disabled) {
|
|
494
|
+
const Z = (M = P.key) !== null && M !== void 0 ? M : String(A), ee = Object.assign(Object.assign({}, W(P.props, ["disabled"])), {
|
|
495
|
+
key: Z,
|
|
496
|
+
collapsible: (z = j.collapsible) !== null && z !== void 0 ? z : "disabled"
|
|
497
|
+
});
|
|
498
|
+
return V(P, ee);
|
|
499
|
+
}
|
|
500
|
+
return P;
|
|
501
|
+
}) : null, [g]);
|
|
502
|
+
return $(
|
|
503
|
+
// @ts-ignore
|
|
504
|
+
/* @__PURE__ */ _.createElement(G, Object.assign({
|
|
505
|
+
ref: e,
|
|
506
|
+
openMotion: T
|
|
507
|
+
}, W(n, ["rootClassName"]), {
|
|
508
|
+
expandIcon: k,
|
|
509
|
+
prefixCls: o,
|
|
510
|
+
className: H,
|
|
511
|
+
style: Object.assign(Object.assign({}, d), x),
|
|
512
|
+
// TODO: In the future, destroyInactivePanel in rc-collapse needs to be upgrade to destroyOnHidden
|
|
513
|
+
destroyInactivePanel: v ?? h
|
|
514
|
+
}), D)
|
|
515
|
+
);
|
|
516
|
+
});
|
|
517
|
+
process.env.NODE_ENV !== "production" && (Y.displayName = "Collapse");
|
|
518
|
+
const Be = Object.assign(Y, {
|
|
519
|
+
Panel: Se
|
|
520
|
+
});
|
|
521
|
+
export {
|
|
522
|
+
Be as C
|
|
523
|
+
};
|
|
@@ -1,20 +1,17 @@
|
|
|
1
1
|
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as n, useEffect as v } from "react";
|
|
3
3
|
import { c as y } from "./api-CxSIf5HG.js";
|
|
4
|
-
import { K as x, C as S, E } from "./EvidenceFormList-
|
|
5
|
-
import { u as F } from "./chunk-
|
|
6
|
-
import { F as a, M as z } from "./index-
|
|
7
|
-
import { S as w } from "./index-
|
|
8
|
-
import { I as i } from "./index-
|
|
9
|
-
import {
|
|
10
|
-
import { R } from "./
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { T as q } from "./index-Bc-Vin3j.js";
|
|
14
|
-
import { S as N } from "./index-bOY1cBol.js";
|
|
15
|
-
import { s as m } from "./index-DBtGE89a.js";
|
|
4
|
+
import { K as x, C as S, E } from "./EvidenceFormList-CrE2FzHk.js";
|
|
5
|
+
import { u as F } from "./chunk-6KYCQHYJ-DcgZQlO5.js";
|
|
6
|
+
import { F as a, M as z } from "./index-mUlorJxp.js";
|
|
7
|
+
import { S as w, B as d } from "./index-DxzorPvG.js";
|
|
8
|
+
import { I as i, s as m } from "./index-BVgdmf6r.js";
|
|
9
|
+
import { R } from "./ReloadOutlined-B26pDoyV.js";
|
|
10
|
+
import { R as $ } from "./PlusOutlined-BSTPGLOH.js";
|
|
11
|
+
import { F as k, S as q } from "./Table-Civ838nE.js";
|
|
12
|
+
import { T as N } from "./index-4tbtbcAt.js";
|
|
16
13
|
const { TextArea: P } = i;
|
|
17
|
-
function
|
|
14
|
+
function J() {
|
|
18
15
|
const g = F(), [I, C] = n([]), [b, p] = n(!1), [u, h] = n(""), [K, l] = n(!1), [T, f] = n(!1), [c] = a.useForm(), o = async (t = u) => {
|
|
19
16
|
p(!0);
|
|
20
17
|
try {
|
|
@@ -56,7 +53,7 @@ function X() {
|
|
|
56
53
|
columns: [
|
|
57
54
|
{ title: "conceptKey", dataIndex: "conceptKey", width: 200 },
|
|
58
55
|
{ title: "名称", dataIndex: "name", width: 180 },
|
|
59
|
-
{ title: "类型", dataIndex: "conceptType", width: 120, render: (t) => /* @__PURE__ */ e(
|
|
56
|
+
{ title: "类型", dataIndex: "conceptType", width: 120, render: (t) => /* @__PURE__ */ e(N, { children: t }) },
|
|
60
57
|
{ title: "域", dataIndex: "domain", width: 120 },
|
|
61
58
|
{ title: "父概念", dataIndex: "parentKey", width: 180, render: (t) => t || "—" },
|
|
62
59
|
{ title: "版本", dataIndex: "revisionNo", width: 70, render: (t) => `r${t}` },
|
|
@@ -116,7 +113,7 @@ function X() {
|
|
|
116
113
|
}
|
|
117
114
|
),
|
|
118
115
|
/* @__PURE__ */ e(a.Item, { name: "name", label: "名称", rules: [{ required: !0, message: "必填" }], children: /* @__PURE__ */ e(i, { style: { width: 200 }, placeholder: "订单" }) }),
|
|
119
|
-
/* @__PURE__ */ e(a.Item, { name: "conceptType", label: "类型", rules: [{ required: !0, message: "必填" }], initialValue: "ENTITY", children: /* @__PURE__ */ e(
|
|
116
|
+
/* @__PURE__ */ e(a.Item, { name: "conceptType", label: "类型", rules: [{ required: !0, message: "必填" }], initialValue: "ENTITY", children: /* @__PURE__ */ e(q, { style: { width: 140 }, options: S.map((t) => ({ value: t, label: t })) }) }),
|
|
120
117
|
/* @__PURE__ */ e(a.Item, { name: "domain", label: "域", children: /* @__PURE__ */ e(i, { style: { width: 140 } }) }),
|
|
121
118
|
/* @__PURE__ */ e(a.Item, { name: "parentKey", label: "父概念", children: /* @__PURE__ */ e(i, { style: { width: 180 } }) })
|
|
122
119
|
] }),
|
|
@@ -128,5 +125,5 @@ function X() {
|
|
|
128
125
|
] });
|
|
129
126
|
}
|
|
130
127
|
export {
|
|
131
|
-
|
|
128
|
+
J as default
|
|
132
129
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { a$ as c, b0 as l } from "./embed-mf8t3QXh.js";
|
|
2
|
+
import * as e from "react";
|
|
3
|
+
var r = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" } }] }, name: "delete", theme: "outlined" }, n = function(t, a) {
|
|
4
|
+
return /* @__PURE__ */ e.createElement(c, l({}, t, {
|
|
5
|
+
ref: a,
|
|
6
|
+
icon: r
|
|
7
|
+
}));
|
|
8
|
+
}, o = /* @__PURE__ */ e.forwardRef(n);
|
|
9
|
+
process.env.NODE_ENV !== "production" && (o.displayName = "DeleteOutlined");
|
|
10
|
+
export {
|
|
11
|
+
o as R
|
|
12
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as i } from "./index-
|
|
3
|
-
import { F as o } from "./Table-
|
|
4
|
-
import { T as l } from "./index-
|
|
5
|
-
import { D as a } from "./index-
|
|
2
|
+
import { T as i } from "./index-D35Ry0PG.js";
|
|
3
|
+
import { F as o } from "./Table-Civ838nE.js";
|
|
4
|
+
import { T as l } from "./index-4tbtbcAt.js";
|
|
5
|
+
import { D as a } from "./index-DQ16Zb7x.js";
|
|
6
6
|
const n = [
|
|
7
7
|
["GET", "/api/terms", "术语列表(domain / status / q)"],
|
|
8
8
|
["GET", "/api/terms/{key}", "术语详情"],
|