epic-designer-gold 1.0.31 → 1.0.33
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/{_vue_commonjs-external-BbihI59z.cjs → _vue_commonjs-external-CccDNqHl.cjs} +1 -1
- package/dist/{attributeView-CSiGWdPc.js → attributeView-BAtvUAhV.js} +22 -22
- package/dist/attributeView-BF8AFFq3.cjs +1 -0
- package/dist/{az-CJXcaytS.cjs → az-BHlmRKxT.cjs} +1 -1
- package/dist/be-Bix86zGn.cjs +1 -0
- package/dist/be-kPl6P6VI.js +37 -0
- package/dist/{bg-DCT06eJE.cjs → bg-DRyWA3-W.cjs} +1 -1
- package/dist/{bn-bd-DaKs5QkR.cjs → bn-bd-DsQtVph4.cjs} +1 -1
- package/dist/{button-BbHi0DmU.js → button-q-1FLMFj.js} +2 -2
- package/dist/{ca-DCcDFeSK.js → ca-B_2hM20M.js} +6 -6
- package/dist/core/components/asyncLoader/index.vue.d.ts +1 -1
- package/dist/core/components/builder/src/builder.vue.d.ts +6 -11
- package/dist/core/components/designer/src/designer.vue.d.ts +200 -9
- package/dist/core/components/designer/src/modules/actionBar/index.vue.d.ts +1 -1
- package/dist/core/components/designer/src/modules/attributeView/attributeView.vue.d.ts +1 -1
- package/dist/core/components/designer/src/modules/attributeView/eventView.vue.d.ts +1 -1
- package/dist/core/components/designer/src/modules/attributeView/styleView.vue.d.ts +1 -1
- package/dist/core/components/designer/src/modules/componentView/index.vue.d.ts +1 -1
- package/dist/core/components/designer/src/modules/editContainer/editNodeItem.vue.d.ts +4 -5
- package/dist/core/components/designer/src/modules/editContainer/editScreenContainer.vue.d.ts +7 -2
- package/dist/core/components/designer/src/modules/editContainer/index.vue.d.ts +19 -1
- package/dist/core/components/designer/src/modules/editContainer/nodeItem.vue.d.ts +3 -5
- package/dist/core/components/designer/src/modules/editContainer/previewJson.vue.d.ts +3 -1
- package/dist/core/components/designer/src/modules/editContainer/previewWidgets.vue.d.ts +5 -1
- package/dist/core/components/designer/src/modules/editContainer/toolbar.vue.d.ts +17 -1
- package/dist/core/components/designer/src/modules/header/index.vue.d.ts +6 -5
- package/dist/core/components/designer/src/modules/outline/outline.vue.d.ts +1 -1
- package/dist/core/components/designer/src/modules/preview/index.vue.d.ts +85 -1
- package/dist/core/components/designer/src/modules/rightSidebar/breadcrumb.vue.d.ts +1 -1
- package/dist/core/components/icon/src/icon.vue.d.ts +4 -6
- package/dist/core/components/node/src/dynamicFormItem.vue.d.ts +12 -11
- package/dist/core/components/node/src/node.vue.d.ts +19 -24
- package/dist/core/components/tree/src/tree.vue.d.ts +1 -1
- package/dist/core/components/tree/src/treeNodeItem.vue.d.ts +3 -4
- package/dist/core/components/tree/src/treeNodes.vue.d.ts +4 -6
- package/dist/core/extensions/EActionEditor/index.vue.d.ts +25 -1
- package/dist/core/extensions/EActionEditor/src/EArgsEditor.vue.d.ts +5 -7
- package/dist/core/extensions/EActionEditor/src/EScriptEdit.vue.d.ts +3 -1
- package/dist/core/extensions/EColEditor/index.vue.d.ts +1 -1
- package/dist/core/extensions/EColumnEditor/columnItem.vue.d.ts +4 -5
- package/dist/core/extensions/EColumnEditor/index.vue.d.ts +5 -9
- package/dist/core/extensions/EDataSource/index.vue.d.ts +3 -1
- package/dist/core/extensions/EDescribe/index.vue.d.ts +9 -0
- package/dist/core/extensions/EInputSize/index.vue.d.ts +4 -5
- package/dist/core/extensions/EOptionsEditor/index.vue.d.ts +9 -13
- package/dist/core/extensions/EOptionsEditor/optionItem.vue.d.ts +4 -5
- package/dist/core/extensions/ERuleEditor/ERuleItem.vue.d.ts +5 -6
- package/dist/core/extensions/ERuleEditor/index.vue.d.ts +1 -1
- package/dist/core/extensions/ESourceDataSelect/index.vue.d.ts +6 -18
- package/dist/core/extensions/EValidateParam/index.vue.d.ts +13 -0
- package/dist/core/extensions/MonacoEditor/index.vue.d.ts +15 -21
- package/dist/core/extensions/PaddingMarginControl/index.vue.d.ts +5 -6
- package/dist/core/extensions/Page/index.vue.d.ts +7 -7
- package/dist/{cs-D_hyDJBU.cjs → cs-fe0nQEUY.cjs} +1 -1
- package/dist/{de-CjumkRE8.js → de-DC7xuNPN.js} +3 -3
- package/dist/{el-DyUHskgW.js → el-C0J72FUl.js} +2 -2
- package/dist/{el-BCec0wpC.cjs → el-CUlPbKiq.cjs} +1 -1
- package/dist/{en-gb-C8f1Enek.js → en-gb-D42jaZg9.js} +5 -5
- package/dist/{es-DP04S73E.js → es-C058DgcQ.js} +4 -4
- package/dist/{es-BFLRglxD.cjs → es-CV4N9sQJ.cjs} +1 -1
- package/dist/{et-ipLqjCDG.js → et-hoTk9uxt.js} +5 -5
- package/dist/{eventView-5fa6mfSD.cjs → eventView-BExxE07B.cjs} +1 -1
- package/dist/{eventView-C2wKhfU_.js → eventView-eNaiVabA.js} +4 -4
- package/dist/{fade-in-scale-up.cssr-C_UMnGtI.cjs → fade-in-scale-up.cssr-D5DdSaTl.cjs} +1 -1
- package/dist/{fade-in-scale-up.cssr-BXjoIAAA.js → fade-in-scale-up.cssr-XJx96aae.js} +1 -1
- package/dist/{form-ChuxpD-f.cjs → form-BfnGWRf4.cjs} +1 -1
- package/dist/form-CUbklubB.cjs +1 -0
- package/dist/form-DGbjgAvD.js +208 -0
- package/dist/{form-Cr7tBgLQ.js → form-DkDGcNCH.js} +7 -7
- package/dist/{form-BPH0cDFl.js → form-r1D2WYPd.js} +3 -3
- package/dist/{formItem-D10Om12T.js → formItem-B6XaNgi9.js} +2 -2
- package/dist/{formItem-cj8JQT2r.js → formItem-BJ-M4LAL.js} +2 -2
- package/dist/{formItem-Do31LPIz.cjs → formItem-DS5AjuJ9.cjs} +1 -1
- package/dist/{formItem-DPnbV4m-.js → formItem-E3dd7dU1.js} +3 -3
- package/dist/{fr-D1kezmpm.cjs → fr-B_IotmK8.cjs} +1 -1
- package/dist/{fr-ca-EPfCD7sc.js → fr-ca-DfJb7eFN.js} +4 -4
- package/dist/ga-DP4_Ma79.js +22 -0
- package/dist/ga-Upa8swLh.cjs +1 -0
- package/dist/{gl-CBMDu4db.js → gl-L0SOKqrF.js} +1 -1
- package/dist/{gl-DI-aVaAh.cjs → gl-buZ-VDaz.cjs} +1 -1
- package/dist/{he-O14-JKYm.cjs → he-CwFEkyZP.cjs} +1 -1
- package/dist/{hi-nXeMgLvO.js → hi-CG6raJ8L.js} +2 -2
- package/dist/{hy-am-BLnv1pCz.cjs → hy-am-IbMCW8s4.cjs} +1 -1
- package/dist/{hy-am-CvHDFapi.js → hy-am-QWdQfrnZ.js} +2 -2
- package/dist/{icon.vue_vue_type_script_setup_true_lang-D3QdcReY.js → icon.vue_vue_type_script_setup_true_lang-DW206h_7.js} +2 -2
- package/dist/{id-CO78nlWo.js → id-CXRpiOjX.js} +4 -4
- package/dist/index-3k1IXN1T.js +1772 -0
- package/dist/{index-B0OgKtuT.js → index-9Mn4Y5ul.js} +30 -30
- package/dist/index-B7v1JNbf.cjs +351 -0
- package/dist/{index-DgcFxYFp.js → index-BMXnkqXx.js} +3 -3
- package/dist/{index-CCCx1tbF.cjs → index-BRAbfTxT.cjs} +1 -1
- package/dist/index-BRSms-yQ.cjs +10 -0
- package/dist/{index-WkZdU_zw.js → index-BTaKazMR.js} +3 -3
- package/dist/index-BU3ulVXO.cjs +51 -0
- package/dist/index-BVGB9juO.cjs +352 -0
- package/dist/index-BWTbnurN.cjs +102 -0
- package/dist/index-B_ZNp-FD.cjs +10 -0
- package/dist/index-BakH-Ay7.js +1513 -0
- package/dist/{index-tSmvj7CR.js → index-BdXFwT-C.js} +749 -721
- package/dist/{index-D1ZL6feZ.js → index-Bf7gu4Ub.js} +28210 -27533
- package/dist/index-BlIhb2K5.cjs +65 -0
- package/dist/{index-DYQi05p8.cjs → index-BozsQqds.cjs} +1 -1
- package/dist/index-BtKa0UKV.cjs +326 -0
- package/dist/index-BwHmwZ5G.cjs +1 -0
- package/dist/{index-D2GF87Tg.cjs → index-Bxdmlmwu.cjs} +1 -1
- package/dist/index-C3ri9kGU.cjs +110 -0
- package/dist/index-C4CkFEzv.cjs +1 -0
- package/dist/{index-COyKmK8p.js → index-C4laxGCk.js} +532 -529
- package/dist/{index-B2RMcVgD.js → index-C5yUsiJH.js} +3 -3
- package/dist/{index-CpTA2IRB.js → index-CAYHjLKP.js} +10 -10
- package/dist/index-CFChTrwc.cjs +1 -0
- package/dist/index-CFHEVgng.cjs +1 -0
- package/dist/index-CHYKgo9A.cjs +1 -0
- package/dist/{index-CNOUPCih.js → index-CLAopW_w.js} +143 -142
- package/dist/index-CLeSXOVj.js +122 -0
- package/dist/{index-CdnV7DS4.js → index-CQSYlqUB.js} +3 -3
- package/dist/{index-Hdc_C4Xg.js → index-CRaEQ5ns.js} +116 -115
- package/dist/{index-BbTWJKHb.js → index-CT056ccv.js} +23 -23
- package/dist/index-CcXd7BgN.js +451 -0
- package/dist/{index-RL7vrExY.js → index-Cecp9t8s.js} +17 -17
- package/dist/index-ClgIpXW0.cjs +1 -0
- package/dist/index-CnPBVx5Y.cjs +181 -0
- package/dist/index-CpTUkT9o.cjs +159 -0
- package/dist/index-CqIGF1hQ.cjs +86 -0
- package/dist/{index-DymbM-qI.js → index-CrVn9CfT.js} +79 -72
- package/dist/{index-Cmfhlo_3.js → index-D2n96wxz.js} +5 -5
- package/dist/{index-FgdbKgb5.cjs → index-DER3z6SG.cjs} +1 -1
- package/dist/{index-Dk0fyxAJ.cjs → index-DExGgrX9.cjs} +1 -1
- package/dist/{index-lCYWKDlK.js → index-DI-E5Cpq.js} +6 -6
- package/dist/{index-Cx7gKpkD.js → index-DMnyvgEN.js} +3 -3
- package/dist/{index-DaRhLTx9.js → index-DMuf-r1U.js} +489 -489
- package/dist/{index-gA02bxwJ.js → index-DUFhAGX3.js} +3443 -3361
- package/dist/{index-CjcjqKkB.js → index-DWSlxQBe.js} +87 -86
- package/dist/index-DYU07eGb.cjs +1 -0
- package/dist/{index-BENF2JDS.cjs → index-Di9sEDRc.cjs} +1 -1
- package/dist/{index-DQ9Vb0QH.js → index-Dkj_Zz4E.js} +309 -308
- package/dist/index-DlWUR7vt.cjs +6 -0
- package/dist/index-Dp0hJSh5.js +4 -0
- package/dist/{index-3fW_aWMH.js → index-Ds_DeGh-.js} +581 -567
- package/dist/index-FaOdtMdB.cjs +214 -0
- package/dist/index-K9w-efBB.cjs +1 -0
- package/dist/{index-DiDIFoTk.js → index-KXG0ExdR.js} +3 -3
- package/dist/index-UpNznhhe.js +19 -0
- package/dist/index-XEUPyaqB.js +655 -0
- package/dist/index-Xnqspbxj.js +59 -0
- package/dist/{index-v2u1WTMm.cjs → index-aIGMRk0a.cjs} +1 -1
- package/dist/{index-BEUYVwRA.cjs → index-eAXbC_rr.cjs} +1 -1
- package/dist/index-lf6yCev-.cjs +1 -0
- package/dist/{index-BhMVNODR.js → index-natF7VzY.js} +9 -12
- package/dist/index-o6azVcPr.js +11903 -0
- package/dist/{index-Cln9MN7u.js → index-ocw8DZly.js} +5 -5
- package/dist/index-r7I2iBup.cjs +9 -0
- package/dist/index-sFE9uQIP.js +1712 -0
- package/dist/{index-IGxCNti8.js → index-syyNmnFq.js} +5 -5
- package/dist/index-t1QZ07qC.cjs +864 -0
- package/dist/{index-R2r9Rw5O.cjs → index-uyQPLEww.cjs} +1 -1
- package/dist/{index-CpevxZqj.cjs → index-waYHs7SN.cjs} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +6 -6
- package/dist/{is-C40R_fdL.cjs → is-DKGME0z-.cjs} +1 -1
- package/dist/{it-BFF7WzRR.js → it-BtbhD8pq.js} +1 -1
- package/dist/{it-D7K-0U_k.cjs → it-ZWKZeGyD.cjs} +1 -1
- package/dist/{ja-4CWMghxy.js → ja--ZXRcv9f.js} +4 -4
- package/dist/{ja-CAXCMb11.cjs → ja-pfO_QIN1.cjs} +1 -1
- package/dist/{ka-DrA_EMLP.js → ka-2eqGlkEl.js} +2 -2
- package/dist/{kk-Bv8yYeRk.cjs → kk-8gl4nJDr.cjs} +1 -1
- package/dist/{kk-QVPqpI2b.js → kk-U2vwYR0_.js} +2 -2
- package/dist/{km-BmycjYfj.cjs → km-BhO_ypYk.cjs} +1 -1
- package/dist/{km-CBMnSWv_.js → km-CvriZlET.js} +2 -2
- package/dist/{kn-TECqDIit.js → kn-B3fo7baQ.js} +2 -2
- package/dist/{kn-CFiXt5hu.cjs → kn-DbnERw-L.cjs} +1 -1
- package/dist/{lt-D0cq_0yM.js → lt-LJQA5IUB.js} +8 -8
- package/dist/{lv-CoTNe47-.cjs → lv-BOhsxkyH.cjs} +1 -1
- package/dist/{lv-CVdYvxq8.js → lv-mhTNPcB7.js} +6 -6
- package/dist/{mk-DVN6iYK_.cjs → mk-Bjsw8OIP.cjs} +1 -1
- package/dist/{mk-DDuk7A3P.js → mk-CwQCoXyz.js} +2 -2
- package/dist/{ml-DnXJOqZ0.cjs → ml-B2Uwy4uy.cjs} +1 -1
- package/dist/{ml-CPI3tJe8.js → ml-Cb3T32D6.js} +2 -2
- package/dist/{mn-CNbMEx0y.js → mn-CNzb6fwh.js} +2 -2
- package/dist/{mn-DMIrWGkN.cjs → mn-CsItTiQc.cjs} +1 -1
- package/dist/{modal-3Iw7tqyx.js → modal-BRQmBRpE.js} +4 -4
- package/dist/{modal-DZRJyZfk.cjs → modal-BgQNXEZY.cjs} +1 -1
- package/dist/{ms-my-BoMZ8Hzl.cjs → ms-my-BgFBTdYR.cjs} +1 -1
- package/dist/{ms-my-BcgYEtml.js → ms-my-CQBECOnt.js} +6 -6
- package/dist/{nb-BL5QmNEa.js → nb-ChJHZ1i8.js} +2 -2
- package/dist/{ne-9klrwaIE.js → ne-KSsPp_--.js} +4 -4
- package/dist/{ne-VNPqdWFn.cjs → ne-wk64JT9v.cjs} +1 -1
- package/dist/{nl-DBFNL8wC.cjs → nl-B5Fclgi6.cjs} +1 -1
- package/dist/ocrUpload-CMskfGHX.cjs +1 -0
- package/dist/ocrUpload-Cxxs1GtD.js +521 -0
- package/dist/orcSelectPage-CXd59VaA.js +47 -0
- package/dist/orcSelectPage-DY_4W3lm.cjs +1 -0
- package/dist/{outline-BE98qFHQ.cjs → outline-BkNtj_2a.cjs} +1 -1
- package/dist/{outline-Ch5PHy3c.js → outline-S7RIV1S6.js} +4 -4
- package/dist/{pluginManager-BCnrHPYv.js → pluginManager-B0y107-1.js} +1 -1
- package/dist/{pluginManager-DWHAX8kP.cjs → pluginManager-C8aQylGX.cjs} +1 -1
- package/dist/{pt-BaTZB0XW.cjs → pt-BfCV6EE0.cjs} +1 -1
- package/dist/{pt-br-C1mqj5qX.js → pt-br-BC7LLaiM.js} +3 -3
- package/dist/{pt-br-B_N58uu_.cjs → pt-br-Cmqeku7l.cjs} +1 -1
- package/dist/{ro-Cnuhxb40.cjs → ro-BoP4bVrV.cjs} +1 -1
- package/dist/row-CAcx39Av.cjs +1 -0
- package/dist/row-DhORW-4_.js +34 -0
- package/dist/{ru-CCbLARi0.js → ru-CLqP_yvB.js} +5 -5
- package/dist/select-957IpcJa.js +38 -0
- package/dist/select-BgVmNynq.cjs +1 -0
- package/dist/{selectPage-CrdVWKGk.cjs → selectPage-H4G0pWhK.cjs} +1 -1
- package/dist/{selectPage-Bm45M31g.js → selectPage-oM1OpHbJ.js} +3 -3
- package/dist/{sign-BS-9u6is.cjs → sign-Cusu4oCD.cjs} +1 -1
- package/dist/{sign-l63EYvVo.js → sign-Cz5OCE1C.js} +12 -12
- package/dist/{sk-DRjgEzVO.cjs → sk-DvU2x_On.cjs} +1 -1
- package/dist/{sl-CL8MnX8D.js → sl-MH1u3xWj.js} +9 -9
- package/dist/style.css +1 -1
- package/dist/{styleView-CrBDikDV.cjs → styleView-DAskd_e3.cjs} +1 -1
- package/dist/{styleView-DONajUQ-.js → styleView-oSuNX97o.js} +8 -8
- package/dist/{ta-CsfYqZQU.js → ta-CeKe4tRh.js} +2 -2
- package/dist/{tabs-CYH9lAUk.cjs → tabs-5lcSnurM.cjs} +1 -1
- package/dist/{tabs-DCyifACM.js → tabs-Cu4PLnTU.js} +1 -1
- package/dist/{th-C-CGWPlT.cjs → th-B1vCpSkb.cjs} +1 -1
- package/dist/{th-CC5sx7mS.js → th-DuVrYobw.js} +2 -2
- package/dist/theme/var.less +6 -5
- package/dist/{tree.vue_vue_type_script_setup_true_lang-VGvT-OYl.cjs → tree.vue_vue_type_script_setup_true_lang-583kvI0Q.cjs} +1 -1
- package/dist/{tree.vue_vue_type_script_setup_true_lang-BsVyMb-n.js → tree.vue_vue_type_script_setup_true_lang-M13R0TPV.js} +4 -4
- package/dist/ui/antd/button/button.vue.d.ts +2 -1
- package/dist/ui/antd/index.cjs +2 -2
- package/dist/ui/antd/index.js +40 -40
- package/dist/ui/antd/modal/modal.vue.d.ts +3 -2
- package/dist/ui/antd/upload-image/uploadImage.vue.d.ts +1 -1
- package/dist/ui/elementPlus/form/form.vue.d.ts +372 -7
- package/dist/ui/elementPlus/formItem/formItem.vue.d.ts +346 -3
- package/dist/ui/elementPlus/index.cjs +1 -1
- package/dist/ui/elementPlus/index.js +556 -253
- package/dist/ui/elementPlus/modal/modal.d.ts +1 -1
- package/dist/ui/elementPlus/ocr-select-page/index.d.ts +3 -0
- package/dist/ui/elementPlus/ocr-select-page/orcSelectPage.d.ts +8 -0
- package/dist/ui/elementPlus/ocr-upload/index.d.ts +3 -0
- package/dist/ui/elementPlus/ocr-upload/ocrUpload.d.ts +21 -0
- package/dist/ui/naiveUi/form-item/formItem.vue.d.ts +772 -3
- package/dist/ui/naiveUi/index.cjs +1 -1
- package/dist/ui/naiveUi/index.js +11 -11
- package/dist/ui/naiveUi/modal/modal.d.ts +1 -1
- package/dist/{uk-Cc6k-QUE.cjs → uk-8RCZke0G.cjs} +1 -1
- package/dist/{uploadImage-Db_66X3C.js → uploadImage-DKgjQrSu.js} +4 -4
- package/dist/{uploadImage-nwjqcVFU.cjs → uploadImage-r7uyNOKB.cjs} +1 -1
- package/dist/{ur-C0tmW1hr.js → ur-Dj65NIKf.js} +3 -3
- package/dist/utils/manager/pluginManager.d.ts +16 -16
- package/dist/{vi-j1PGHz1o.js → vi-BEZaL78_.js} +4 -4
- package/dist/{vi-Dyfq5Qgz.cjs → vi-aBc6LsS_.cjs} +1 -1
- package/dist/{vuedraggable.umd-BqhSJIAi.cjs → vuedraggable.umd-CxOWsXm8.cjs} +6 -6
- package/dist/{vuedraggable.umd-D2S7Eo7p.js → vuedraggable.umd-D908YPOr.js} +396 -400
- package/dist/{zh-cn-BKQHxHe9.cjs → zh-cn-DTp5Vsak.cjs} +1 -1
- package/dist/{zh-hk-hNFRxlrX.cjs → zh-hk-DvIiOtyL.cjs} +1 -1
- package/dist/{zh-tw-BT16WIrT.js → zh-tw-BZt76cZl.js} +7 -7
- package/dist/{zh-tw-SGOlw9Wo.cjs → zh-tw-OGVt40m9.cjs} +1 -1
- package/package.json +1 -1
- package/dist/attributeView-UzP3tU2D.cjs +0 -1
- package/dist/axios-CXDYiOMX.js +0 -1704
- package/dist/axios-tuVKNgv9.cjs +0 -6
- package/dist/be--_CkdeMD.cjs +0 -1
- package/dist/be-DJzFjqtL.js +0 -22
- package/dist/form-Bofkrmkd.cjs +0 -1
- package/dist/form-VbfBmb63.js +0 -72
- package/dist/ga-B7Rd2JIZ.cjs +0 -1
- package/dist/ga-BcnAx7jm.js +0 -22
- package/dist/index-4PPmJYKt.cjs +0 -51
- package/dist/index-B72l3XQl.js +0 -453
- package/dist/index-B8exdhvc.cjs +0 -1
- package/dist/index-BB9rZNCd.cjs +0 -181
- package/dist/index-BCk0LJsg.cjs +0 -347
- package/dist/index-BHZbtFEF.cjs +0 -1
- package/dist/index-BVUz9lFN.cjs +0 -325
- package/dist/index-BhICtIH5.js +0 -1433
- package/dist/index-BsXm6fLD.js +0 -1493
- package/dist/index-BwLkOBWy.cjs +0 -10
- package/dist/index-C9PHR_YC.js +0 -4
- package/dist/index-CR_tJiJv.js +0 -653
- package/dist/index-CU1ZFiwn.cjs +0 -1
- package/dist/index-CZFPJ6vM.cjs +0 -1
- package/dist/index-Cap7FkuS.cjs +0 -1
- package/dist/index-Cphndmia.cjs +0 -214
- package/dist/index-CraRg8wh.js +0 -107
- package/dist/index-D5WpEOUO.cjs +0 -351
- package/dist/index-DEBQD_h0.cjs +0 -1
- package/dist/index-DMszow96.cjs +0 -110
- package/dist/index-DTzB2pWI.cjs +0 -159
- package/dist/index-DWCSzZfR.cjs +0 -80
- package/dist/index-DyWFUxn5.js +0 -11674
- package/dist/index-RdEhd65J.cjs +0 -65
- package/dist/index-XU85x6vz.cjs +0 -9
- package/dist/index-g5ZjtbqH.cjs +0 -102
- package/dist/index-jx5A2kt8.cjs +0 -850
- package/dist/index-n6H8b6fT.cjs +0 -1
- package/dist/index-zYoSB4fa.cjs +0 -9
- package/dist/row-CkyJ9pQh.js +0 -35
- package/dist/row-NNlPGZRG.cjs +0 -1
- package/dist/select-BvJWp4t6.cjs +0 -1
- package/dist/select-CjWTf5kk.js +0 -45
- package/dist/ui/antd/form/form.vue.d.ts +0 -64
- package/dist/ui/antd/form-item/formItem.vue.d.ts +0 -18
|
@@ -1,166 +1,32 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { r as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
function
|
|
6
|
-
for (var
|
|
7
|
-
const
|
|
8
|
-
if (typeof
|
|
9
|
-
for (const
|
|
10
|
-
if (
|
|
11
|
-
const
|
|
12
|
-
|
|
1
|
+
import { c as U } from "./_commonjsHelpers-BVfed4GL.js";
|
|
2
|
+
import { r as fe } from "./_vue_commonjs-external-NwvjgbHK.js";
|
|
3
|
+
import { _ as vt, i as gt } from "./index-DUFhAGX3.js";
|
|
4
|
+
import { _ as se, c as Be, a as ht, l as mt, b as xt, f as yt, e as Ct, r as Pt } from "./index-Bf7gu4Ub.js";
|
|
5
|
+
function St(o, l) {
|
|
6
|
+
for (var c = 0; c < l.length; c++) {
|
|
7
|
+
const b = l[c];
|
|
8
|
+
if (typeof b != "string" && !Array.isArray(b)) {
|
|
9
|
+
for (const f in b)
|
|
10
|
+
if (f !== "default" && !(f in o)) {
|
|
11
|
+
const n = Object.getOwnPropertyDescriptor(b, f);
|
|
12
|
+
n && Object.defineProperty(o, f, n.get ? n : {
|
|
13
13
|
enumerable: !0,
|
|
14
|
-
get: () =>
|
|
14
|
+
get: () => b[f]
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
return Object.freeze(Object.defineProperty(o, Symbol.toStringTag, { value: "Module" }));
|
|
20
20
|
}
|
|
21
|
-
var
|
|
22
|
-
Object.defineProperty(
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
tabGapSmallLine: "36px",
|
|
28
|
-
tabGapMediumLine: "36px",
|
|
29
|
-
tabGapLargeLine: "36px",
|
|
30
|
-
tabGapSmallLineVertical: "8px",
|
|
31
|
-
tabGapMediumLineVertical: "8px",
|
|
32
|
-
tabGapLargeLineVertical: "8px",
|
|
33
|
-
tabPaddingSmallLine: "6px 0",
|
|
34
|
-
tabPaddingMediumLine: "10px 0",
|
|
35
|
-
tabPaddingLargeLine: "14px 0",
|
|
36
|
-
tabPaddingVerticalSmallLine: "6px 12px",
|
|
37
|
-
tabPaddingVerticalMediumLine: "8px 16px",
|
|
38
|
-
tabPaddingVerticalLargeLine: "10px 20px",
|
|
39
|
-
tabGapSmallBar: "36px",
|
|
40
|
-
tabGapMediumBar: "36px",
|
|
41
|
-
tabGapLargeBar: "36px",
|
|
42
|
-
tabGapSmallBarVertical: "8px",
|
|
43
|
-
tabGapMediumBarVertical: "8px",
|
|
44
|
-
tabGapLargeBarVertical: "8px",
|
|
45
|
-
tabPaddingSmallBar: "4px 0",
|
|
46
|
-
tabPaddingMediumBar: "6px 0",
|
|
47
|
-
tabPaddingLargeBar: "10px 0",
|
|
48
|
-
tabPaddingVerticalSmallBar: "6px 12px",
|
|
49
|
-
tabPaddingVerticalMediumBar: "8px 16px",
|
|
50
|
-
tabPaddingVerticalLargeBar: "10px 20px",
|
|
51
|
-
tabGapSmallCard: "4px",
|
|
52
|
-
tabGapMediumCard: "4px",
|
|
53
|
-
tabGapLargeCard: "4px",
|
|
54
|
-
tabGapSmallCardVertical: "4px",
|
|
55
|
-
tabGapMediumCardVertical: "4px",
|
|
56
|
-
tabGapLargeCardVertical: "4px",
|
|
57
|
-
tabPaddingSmallCard: "8px 16px",
|
|
58
|
-
tabPaddingMediumCard: "10px 20px",
|
|
59
|
-
tabPaddingLargeCard: "12px 24px",
|
|
60
|
-
tabPaddingSmallSegment: "4px 0",
|
|
61
|
-
tabPaddingMediumSegment: "6px 0",
|
|
62
|
-
tabPaddingLargeSegment: "8px 0",
|
|
63
|
-
tabPaddingVerticalLargeSegment: "0 8px",
|
|
64
|
-
tabPaddingVerticalSmallCard: "8px 12px",
|
|
65
|
-
tabPaddingVerticalMediumCard: "10px 16px",
|
|
66
|
-
tabPaddingVerticalLargeCard: "12px 20px",
|
|
67
|
-
tabPaddingVerticalSmallSegment: "0 4px",
|
|
68
|
-
tabPaddingVerticalMediumSegment: "0 6px",
|
|
69
|
-
tabGapSmallSegment: "0",
|
|
70
|
-
tabGapMediumSegment: "0",
|
|
71
|
-
tabGapLargeSegment: "0",
|
|
72
|
-
tabGapSmallSegmentVertical: "0",
|
|
73
|
-
tabGapMediumSegmentVertical: "0",
|
|
74
|
-
tabGapLargeSegmentVertical: "0",
|
|
75
|
-
panePaddingSmall: "8px 0 0 0",
|
|
76
|
-
panePaddingMedium: "12px 0 0 0",
|
|
77
|
-
panePaddingLarge: "16px 0 0 0",
|
|
78
|
-
closeSize: "18px",
|
|
79
|
-
closeIconSize: "14px"
|
|
80
|
-
};
|
|
81
|
-
var St = q && q.__importDefault || function(o) {
|
|
82
|
-
return o && o.__esModule ? o : { default: o };
|
|
83
|
-
};
|
|
84
|
-
Object.defineProperty(re, "__esModule", { value: !0 });
|
|
85
|
-
re.self = Re;
|
|
86
|
-
const _t = _e, Bt = St(pe);
|
|
87
|
-
function Re(o) {
|
|
88
|
-
const { textColor2: l, primaryColor: a, textColorDisabled: c, closeIconColor: b, closeIconColorHover: p, closeIconColorPressed: k, closeColorHover: u, closeColorPressed: s, tabColor: C, baseColor: D, dividerColor: z, fontWeight: G, textColor1: B, borderRadius: A, fontSize: H, fontWeightStrong: $ } = o;
|
|
89
|
-
return Object.assign(Object.assign({}, Bt.default), {
|
|
90
|
-
colorSegment: C,
|
|
91
|
-
tabFontSizeCard: H,
|
|
92
|
-
tabTextColorLine: B,
|
|
93
|
-
tabTextColorActiveLine: a,
|
|
94
|
-
tabTextColorHoverLine: a,
|
|
95
|
-
tabTextColorDisabledLine: c,
|
|
96
|
-
tabTextColorSegment: B,
|
|
97
|
-
tabTextColorActiveSegment: l,
|
|
98
|
-
tabTextColorHoverSegment: l,
|
|
99
|
-
tabTextColorDisabledSegment: c,
|
|
100
|
-
tabTextColorBar: B,
|
|
101
|
-
tabTextColorActiveBar: a,
|
|
102
|
-
tabTextColorHoverBar: a,
|
|
103
|
-
tabTextColorDisabledBar: c,
|
|
104
|
-
tabTextColorCard: B,
|
|
105
|
-
tabTextColorHoverCard: B,
|
|
106
|
-
tabTextColorActiveCard: a,
|
|
107
|
-
tabTextColorDisabledCard: c,
|
|
108
|
-
barColor: a,
|
|
109
|
-
closeIconColor: b,
|
|
110
|
-
closeIconColorHover: p,
|
|
111
|
-
closeIconColorPressed: k,
|
|
112
|
-
closeColorHover: u,
|
|
113
|
-
closeColorPressed: s,
|
|
114
|
-
closeBorderRadius: A,
|
|
115
|
-
tabColor: C,
|
|
116
|
-
tabColorSegment: D,
|
|
117
|
-
tabBorderColor: z,
|
|
118
|
-
tabFontWeightActive: G,
|
|
119
|
-
tabFontWeight: G,
|
|
120
|
-
tabBorderRadius: A,
|
|
121
|
-
paneTextColor: l,
|
|
122
|
-
fontWeightStrong: $
|
|
123
|
-
});
|
|
124
|
-
}
|
|
125
|
-
const wt = {
|
|
126
|
-
name: "Tabs",
|
|
127
|
-
common: _t.commonLight,
|
|
128
|
-
self: Re
|
|
129
|
-
};
|
|
130
|
-
re.default = wt;
|
|
131
|
-
Object.defineProperty(fe, "__esModule", { value: !0 });
|
|
132
|
-
const Tt = _e, Rt = re, zt = {
|
|
133
|
-
name: "Tabs",
|
|
134
|
-
common: Tt.commonDark,
|
|
135
|
-
self(o) {
|
|
136
|
-
const l = (0, Rt.self)(o), { inputColor: a } = o;
|
|
137
|
-
return l.colorSegment = a, l.tabColorSegment = a, l;
|
|
138
|
-
}
|
|
139
|
-
};
|
|
140
|
-
fe.default = zt;
|
|
141
|
-
(function(o) {
|
|
142
|
-
var l = q && q.__importDefault || function(b) {
|
|
143
|
-
return b && b.__esModule ? b : { default: b };
|
|
144
|
-
};
|
|
145
|
-
Object.defineProperty(o, "__esModule", { value: !0 }), o.tabsLight = o.tabsDark = void 0;
|
|
146
|
-
var a = fe;
|
|
147
|
-
Object.defineProperty(o, "tabsDark", { enumerable: !0, get: function() {
|
|
148
|
-
return l(a).default;
|
|
149
|
-
} });
|
|
150
|
-
var c = re;
|
|
151
|
-
Object.defineProperty(o, "tabsLight", { enumerable: !0, get: function() {
|
|
152
|
-
return l(c).default;
|
|
153
|
-
} });
|
|
154
|
-
})(Te);
|
|
155
|
-
var ee = {};
|
|
156
|
-
Object.defineProperty(ee, "__esModule", { value: !0 });
|
|
157
|
-
ee.tabsInjectionKey = void 0;
|
|
158
|
-
const $t = le;
|
|
159
|
-
ee.tabsInjectionKey = (0, $t.createInjectionKey)("n-tabs");
|
|
160
|
-
var ue = {}, ve = {};
|
|
21
|
+
var we = {}, pe = {}, te = {};
|
|
22
|
+
Object.defineProperty(te, "__esModule", { value: !0 });
|
|
23
|
+
te.tabsInjectionKey = void 0;
|
|
24
|
+
const _t = se;
|
|
25
|
+
te.tabsInjectionKey = (0, _t.createInjectionKey)("n-tabs");
|
|
26
|
+
var ue = {};
|
|
161
27
|
(function(o) {
|
|
162
28
|
Object.defineProperty(o, "__esModule", { value: !0 }), o.tabPaneProps = void 0;
|
|
163
|
-
const l =
|
|
29
|
+
const l = fe, c = se, b = te;
|
|
164
30
|
o.tabPaneProps = {
|
|
165
31
|
tab: [String, Number, Object, Function],
|
|
166
32
|
name: {
|
|
@@ -184,86 +50,87 @@ var ue = {}, ve = {};
|
|
|
184
50
|
name: "TabPane",
|
|
185
51
|
alias: ["TabPanel"],
|
|
186
52
|
props: o.tabPaneProps,
|
|
187
|
-
|
|
53
|
+
slots: Object,
|
|
54
|
+
setup(f) {
|
|
188
55
|
process.env.NODE_ENV !== "production" && (0, l.watchEffect)(() => {
|
|
189
|
-
|
|
56
|
+
f.label !== void 0 && (0, c.warnOnce)("tab-pane", "`label` is deprecated, please use `tab` instead.");
|
|
190
57
|
});
|
|
191
|
-
const
|
|
192
|
-
return
|
|
193
|
-
style:
|
|
194
|
-
class:
|
|
195
|
-
mergedClsPrefix:
|
|
58
|
+
const n = (0, l.inject)(b.tabsInjectionKey, null);
|
|
59
|
+
return n || (0, c.throwError)("tab-pane", "`n-tab-pane` must be placed inside `n-tabs`."), {
|
|
60
|
+
style: n.paneStyleRef,
|
|
61
|
+
class: n.paneClassRef,
|
|
62
|
+
mergedClsPrefix: n.mergedClsPrefixRef
|
|
196
63
|
};
|
|
197
64
|
},
|
|
198
65
|
render() {
|
|
199
66
|
return (0, l.h)("div", { class: [`${this.mergedClsPrefix}-tab-pane`, this.class], style: this.style }, this.$slots);
|
|
200
67
|
}
|
|
201
68
|
});
|
|
202
|
-
})(
|
|
69
|
+
})(ue);
|
|
203
70
|
(function(o) {
|
|
204
71
|
Object.defineProperty(o, "__esModule", { value: !0 }), o.tabProps = void 0;
|
|
205
|
-
const l =
|
|
206
|
-
o.tabProps = Object.assign({ internalLeftPadded: Boolean, internalAddable: Boolean, internalCreatedByPane: Boolean }, (0,
|
|
72
|
+
const l = fe, c = vt, b = gt, f = se, n = te, I = ue;
|
|
73
|
+
o.tabProps = Object.assign({ internalLeftPadded: Boolean, internalAddable: Boolean, internalCreatedByPane: Boolean }, (0, f.omit)(I.tabPaneProps, ["displayDirective"])), o.default = (0, l.defineComponent)({
|
|
207
74
|
__TAB__: !0,
|
|
208
75
|
inheritAttrs: !1,
|
|
209
76
|
name: "Tab",
|
|
210
77
|
props: o.tabProps,
|
|
211
78
|
setup(u) {
|
|
212
|
-
const { mergedClsPrefixRef: s, valueRef:
|
|
79
|
+
const { mergedClsPrefixRef: s, valueRef: P, typeRef: k, closableRef: V, tabStyleRef: E, addTabStyleRef: S, tabClassRef: $, addTabClassRef: D, tabChangeIdRef: O, onBeforeLeaveRef: R, triggerRef: a, handleAdd: h, activateTab: x, handleClose: W } = (0, l.inject)(n.tabsInjectionKey);
|
|
213
80
|
return {
|
|
214
|
-
trigger:
|
|
81
|
+
trigger: a,
|
|
215
82
|
mergedClosable: (0, l.computed)(() => {
|
|
216
83
|
if (u.internalAddable)
|
|
217
84
|
return !1;
|
|
218
|
-
const { closable:
|
|
219
|
-
return
|
|
85
|
+
const { closable: v } = u;
|
|
86
|
+
return v === void 0 ? V.value : v;
|
|
220
87
|
}),
|
|
221
|
-
style:
|
|
222
|
-
addStyle:
|
|
223
|
-
tabClass:
|
|
224
|
-
addTabClass:
|
|
88
|
+
style: E,
|
|
89
|
+
addStyle: S,
|
|
90
|
+
tabClass: $,
|
|
91
|
+
addTabClass: D,
|
|
225
92
|
clsPrefix: s,
|
|
226
|
-
value:
|
|
227
|
-
type:
|
|
228
|
-
handleClose(
|
|
229
|
-
|
|
93
|
+
value: P,
|
|
94
|
+
type: k,
|
|
95
|
+
handleClose(v) {
|
|
96
|
+
v.stopPropagation(), !u.disabled && W(u.name);
|
|
230
97
|
},
|
|
231
98
|
activateTab() {
|
|
232
99
|
if (u.disabled)
|
|
233
100
|
return;
|
|
234
101
|
if (u.internalAddable) {
|
|
235
|
-
|
|
102
|
+
h();
|
|
236
103
|
return;
|
|
237
104
|
}
|
|
238
|
-
const { name:
|
|
239
|
-
if (
|
|
240
|
-
const { value:
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
}) :
|
|
105
|
+
const { name: v } = u, H = ++O.id;
|
|
106
|
+
if (v !== P.value) {
|
|
107
|
+
const { value: m } = R;
|
|
108
|
+
m ? Promise.resolve(m(u.name, P.value)).then((_) => {
|
|
109
|
+
_ && O.id === H && x(v);
|
|
110
|
+
}) : x(v);
|
|
244
111
|
}
|
|
245
112
|
}
|
|
246
113
|
};
|
|
247
114
|
},
|
|
248
115
|
render() {
|
|
249
|
-
const { internalAddable: u, clsPrefix: s, name:
|
|
116
|
+
const { internalAddable: u, clsPrefix: s, name: P, disabled: k, label: V, tab: E, value: S, mergedClosable: $, trigger: D, $slots: { default: O } } = this, R = V ?? E;
|
|
250
117
|
return (0, l.h)(
|
|
251
118
|
"div",
|
|
252
119
|
{ class: `${s}-tabs-tab-wrapper` },
|
|
253
120
|
this.internalLeftPadded ? (0, l.h)("div", { class: `${s}-tabs-tab-pad` }) : null,
|
|
254
121
|
(0, l.h)(
|
|
255
122
|
"div",
|
|
256
|
-
Object.assign({ key:
|
|
123
|
+
Object.assign({ key: P, "data-name": P, "data-disabled": k ? !0 : void 0 }, (0, l.mergeProps)({
|
|
257
124
|
class: [
|
|
258
125
|
`${s}-tabs-tab`,
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
126
|
+
S === P && `${s}-tabs-tab--active`,
|
|
127
|
+
k && `${s}-tabs-tab--disabled`,
|
|
128
|
+
$ && `${s}-tabs-tab--closable`,
|
|
262
129
|
u && `${s}-tabs-tab--addable`,
|
|
263
130
|
u ? this.addTabClass : this.tabClass
|
|
264
131
|
],
|
|
265
|
-
onClick:
|
|
266
|
-
onMouseenter:
|
|
132
|
+
onClick: D === "click" ? this.activateTab : void 0,
|
|
133
|
+
onMouseenter: D === "hover" ? this.activateTab : void 0,
|
|
267
134
|
style: u ? this.addStyle : this.style
|
|
268
135
|
}, this.internalCreatedByPane ? this.tabProps || {} : this.$attrs)),
|
|
269
136
|
(0, l.h)("span", { class: `${s}-tabs-tab__label` }, u ? (0, l.h)(
|
|
@@ -271,21 +138,155 @@ var ue = {}, ve = {};
|
|
|
271
138
|
null,
|
|
272
139
|
(0, l.h)("div", { class: `${s}-tabs-tab__height-placeholder` }, " "),
|
|
273
140
|
(0, l.h)(c.NBaseIcon, { clsPrefix: s }, {
|
|
274
|
-
default: () => (0, l.h)(
|
|
141
|
+
default: () => (0, l.h)(b.AddIcon, null)
|
|
275
142
|
})
|
|
276
|
-
) :
|
|
277
|
-
|
|
143
|
+
) : O ? O() : typeof R == "object" ? R : (0, f.render)(R ?? P)),
|
|
144
|
+
$ && this.type === "card" ? (0, l.h)(c.NBaseClose, { clsPrefix: s, class: `${s}-tabs-tab__close`, onClick: this.handleClose, disabled: k }) : null
|
|
278
145
|
)
|
|
279
146
|
);
|
|
280
147
|
}
|
|
281
148
|
});
|
|
282
|
-
})(
|
|
283
|
-
var ge = {};
|
|
284
|
-
Object.defineProperty(ge, "__esModule", {
|
|
149
|
+
})(pe);
|
|
150
|
+
var Te = {}, Re = {}, ve = {}, ne = {}, ge = {};
|
|
151
|
+
Object.defineProperty(ge, "__esModule", { value: !0 });
|
|
152
|
+
ge.default = {
|
|
153
|
+
tabFontSizeSmall: "14px",
|
|
154
|
+
tabFontSizeMedium: "14px",
|
|
155
|
+
tabFontSizeLarge: "16px",
|
|
156
|
+
tabGapSmallLine: "36px",
|
|
157
|
+
tabGapMediumLine: "36px",
|
|
158
|
+
tabGapLargeLine: "36px",
|
|
159
|
+
tabGapSmallLineVertical: "8px",
|
|
160
|
+
tabGapMediumLineVertical: "8px",
|
|
161
|
+
tabGapLargeLineVertical: "8px",
|
|
162
|
+
tabPaddingSmallLine: "6px 0",
|
|
163
|
+
tabPaddingMediumLine: "10px 0",
|
|
164
|
+
tabPaddingLargeLine: "14px 0",
|
|
165
|
+
tabPaddingVerticalSmallLine: "6px 12px",
|
|
166
|
+
tabPaddingVerticalMediumLine: "8px 16px",
|
|
167
|
+
tabPaddingVerticalLargeLine: "10px 20px",
|
|
168
|
+
tabGapSmallBar: "36px",
|
|
169
|
+
tabGapMediumBar: "36px",
|
|
170
|
+
tabGapLargeBar: "36px",
|
|
171
|
+
tabGapSmallBarVertical: "8px",
|
|
172
|
+
tabGapMediumBarVertical: "8px",
|
|
173
|
+
tabGapLargeBarVertical: "8px",
|
|
174
|
+
tabPaddingSmallBar: "4px 0",
|
|
175
|
+
tabPaddingMediumBar: "6px 0",
|
|
176
|
+
tabPaddingLargeBar: "10px 0",
|
|
177
|
+
tabPaddingVerticalSmallBar: "6px 12px",
|
|
178
|
+
tabPaddingVerticalMediumBar: "8px 16px",
|
|
179
|
+
tabPaddingVerticalLargeBar: "10px 20px",
|
|
180
|
+
tabGapSmallCard: "4px",
|
|
181
|
+
tabGapMediumCard: "4px",
|
|
182
|
+
tabGapLargeCard: "4px",
|
|
183
|
+
tabGapSmallCardVertical: "4px",
|
|
184
|
+
tabGapMediumCardVertical: "4px",
|
|
185
|
+
tabGapLargeCardVertical: "4px",
|
|
186
|
+
tabPaddingSmallCard: "8px 16px",
|
|
187
|
+
tabPaddingMediumCard: "10px 20px",
|
|
188
|
+
tabPaddingLargeCard: "12px 24px",
|
|
189
|
+
tabPaddingSmallSegment: "4px 0",
|
|
190
|
+
tabPaddingMediumSegment: "6px 0",
|
|
191
|
+
tabPaddingLargeSegment: "8px 0",
|
|
192
|
+
tabPaddingVerticalLargeSegment: "0 8px",
|
|
193
|
+
tabPaddingVerticalSmallCard: "8px 12px",
|
|
194
|
+
tabPaddingVerticalMediumCard: "10px 16px",
|
|
195
|
+
tabPaddingVerticalLargeCard: "12px 20px",
|
|
196
|
+
tabPaddingVerticalSmallSegment: "0 4px",
|
|
197
|
+
tabPaddingVerticalMediumSegment: "0 6px",
|
|
198
|
+
tabGapSmallSegment: "0",
|
|
199
|
+
tabGapMediumSegment: "0",
|
|
200
|
+
tabGapLargeSegment: "0",
|
|
201
|
+
tabGapSmallSegmentVertical: "0",
|
|
202
|
+
tabGapMediumSegmentVertical: "0",
|
|
203
|
+
tabGapLargeSegmentVertical: "0",
|
|
204
|
+
panePaddingSmall: "8px 0 0 0",
|
|
205
|
+
panePaddingMedium: "12px 0 0 0",
|
|
206
|
+
panePaddingLarge: "16px 0 0 0",
|
|
207
|
+
closeSize: "18px",
|
|
208
|
+
closeIconSize: "14px"
|
|
209
|
+
};
|
|
210
|
+
var Bt = U && U.__importDefault || function(o) {
|
|
211
|
+
return o && o.__esModule ? o : { default: o };
|
|
212
|
+
};
|
|
213
|
+
Object.defineProperty(ne, "__esModule", { value: !0 });
|
|
214
|
+
ne.self = ze;
|
|
215
|
+
const wt = Be, Tt = Bt(ge);
|
|
216
|
+
function ze(o) {
|
|
217
|
+
const { textColor2: l, primaryColor: c, textColorDisabled: b, closeIconColor: f, closeIconColorHover: n, closeIconColorPressed: I, closeColorHover: u, closeColorPressed: s, tabColor: P, baseColor: k, dividerColor: V, fontWeight: E, textColor1: S, borderRadius: $, fontSize: D, fontWeightStrong: O } = o;
|
|
218
|
+
return Object.assign(Object.assign({}, Tt.default), {
|
|
219
|
+
colorSegment: P,
|
|
220
|
+
tabFontSizeCard: D,
|
|
221
|
+
tabTextColorLine: S,
|
|
222
|
+
tabTextColorActiveLine: c,
|
|
223
|
+
tabTextColorHoverLine: c,
|
|
224
|
+
tabTextColorDisabledLine: b,
|
|
225
|
+
tabTextColorSegment: S,
|
|
226
|
+
tabTextColorActiveSegment: l,
|
|
227
|
+
tabTextColorHoverSegment: l,
|
|
228
|
+
tabTextColorDisabledSegment: b,
|
|
229
|
+
tabTextColorBar: S,
|
|
230
|
+
tabTextColorActiveBar: c,
|
|
231
|
+
tabTextColorHoverBar: c,
|
|
232
|
+
tabTextColorDisabledBar: b,
|
|
233
|
+
tabTextColorCard: S,
|
|
234
|
+
tabTextColorHoverCard: S,
|
|
235
|
+
tabTextColorActiveCard: c,
|
|
236
|
+
tabTextColorDisabledCard: b,
|
|
237
|
+
barColor: c,
|
|
238
|
+
closeIconColor: f,
|
|
239
|
+
closeIconColorHover: n,
|
|
240
|
+
closeIconColorPressed: I,
|
|
241
|
+
closeColorHover: u,
|
|
242
|
+
closeColorPressed: s,
|
|
243
|
+
closeBorderRadius: $,
|
|
244
|
+
tabColor: P,
|
|
245
|
+
tabColorSegment: k,
|
|
246
|
+
tabBorderColor: V,
|
|
247
|
+
tabFontWeightActive: E,
|
|
248
|
+
tabFontWeight: E,
|
|
249
|
+
tabBorderRadius: $,
|
|
250
|
+
paneTextColor: l,
|
|
251
|
+
fontWeightStrong: O
|
|
252
|
+
});
|
|
253
|
+
}
|
|
254
|
+
const Rt = {
|
|
255
|
+
name: "Tabs",
|
|
256
|
+
common: wt.commonLight,
|
|
257
|
+
self: ze
|
|
258
|
+
};
|
|
259
|
+
ne.default = Rt;
|
|
260
|
+
Object.defineProperty(ve, "__esModule", { value: !0 });
|
|
261
|
+
const zt = Be, Mt = ne, Lt = {
|
|
262
|
+
name: "Tabs",
|
|
263
|
+
common: zt.commonDark,
|
|
264
|
+
self(o) {
|
|
265
|
+
const l = (0, Mt.self)(o), { inputColor: c } = o;
|
|
266
|
+
return l.colorSegment = c, l.tabColorSegment = c, l;
|
|
267
|
+
}
|
|
268
|
+
};
|
|
269
|
+
ve.default = Lt;
|
|
270
|
+
(function(o) {
|
|
271
|
+
var l = U && U.__importDefault || function(f) {
|
|
272
|
+
return f && f.__esModule ? f : { default: f };
|
|
273
|
+
};
|
|
274
|
+
Object.defineProperty(o, "__esModule", { value: !0 }), o.tabsLight = o.tabsDark = void 0;
|
|
275
|
+
var c = ve;
|
|
276
|
+
Object.defineProperty(o, "tabsDark", { enumerable: !0, get: function() {
|
|
277
|
+
return l(c).default;
|
|
278
|
+
} });
|
|
279
|
+
var b = ne;
|
|
280
|
+
Object.defineProperty(o, "tabsLight", { enumerable: !0, get: function() {
|
|
281
|
+
return l(b).default;
|
|
282
|
+
} });
|
|
283
|
+
})(Re);
|
|
284
|
+
var he = {};
|
|
285
|
+
Object.defineProperty(he, "__esModule", {
|
|
285
286
|
value: !0
|
|
286
287
|
});
|
|
287
|
-
const e =
|
|
288
|
-
|
|
288
|
+
const e = ht;
|
|
289
|
+
he.default = (0, e.cB)("tabs", `
|
|
289
290
|
box-sizing: border-box;
|
|
290
291
|
width: 100%;
|
|
291
292
|
display: flex;
|
|
@@ -372,7 +373,7 @@ ge.default = (0, e.cB)("tabs", `
|
|
|
372
373
|
`, [(0, e.cE)("prefix, suffix", `
|
|
373
374
|
display: flex;
|
|
374
375
|
align-items: center;
|
|
375
|
-
`), (0, e.cE)("prefix", "padding-right: 16px;"), (0, e.cE)("suffix", "padding-left: 16px;")]), (0, e.cM)("top, bottom", [(0, e.cB)("tabs-nav-scroll-wrapper", [(0, e.c)("&::before", `
|
|
376
|
+
`), (0, e.cE)("prefix", "padding-right: 16px;"), (0, e.cE)("suffix", "padding-left: 16px;")]), (0, e.cM)("top, bottom", [(0, e.c)(">", [(0, e.cB)("tabs-nav", [(0, e.cB)("tabs-nav-scroll-wrapper", [(0, e.c)("&::before", `
|
|
376
377
|
top: 0;
|
|
377
378
|
bottom: 0;
|
|
378
379
|
left: 0;
|
|
@@ -386,9 +387,9 @@ ge.default = (0, e.cB)("tabs", `
|
|
|
386
387
|
box-shadow: inset 10px 0 8px -8px rgba(0, 0, 0, .12);
|
|
387
388
|
`)]), (0, e.cM)("shadow-end", [(0, e.c)("&::after", `
|
|
388
389
|
box-shadow: inset -10px 0 8px -8px rgba(0, 0, 0, .12);
|
|
389
|
-
`)])])]), (0, e.cM)("left, right", [(0, e.cB)("tabs-nav-scroll-content", `
|
|
390
|
+
`)])])])])]), (0, e.cM)("left, right", [(0, e.cB)("tabs-nav-scroll-content", `
|
|
390
391
|
flex-direction: column;
|
|
391
|
-
`), (0, e.cB)("tabs-nav-scroll-wrapper", [(0, e.c)("&::before", `
|
|
392
|
+
`), (0, e.c)(">", [(0, e.cB)("tabs-nav", [(0, e.cB)("tabs-nav-scroll-wrapper", [(0, e.c)("&::before", `
|
|
392
393
|
top: 0;
|
|
393
394
|
left: 0;
|
|
394
395
|
right: 0;
|
|
@@ -402,7 +403,7 @@ ge.default = (0, e.cB)("tabs", `
|
|
|
402
403
|
box-shadow: inset 0 10px 8px -8px rgba(0, 0, 0, .12);
|
|
403
404
|
`)]), (0, e.cM)("shadow-end", [(0, e.c)("&::after", `
|
|
404
405
|
box-shadow: inset 0 -10px 8px -8px rgba(0, 0, 0, .12);
|
|
405
|
-
`)])])]), (0, e.cB)("tabs-nav-scroll-wrapper", `
|
|
406
|
+
`)])])])])]), (0, e.cB)("tabs-nav-scroll-wrapper", `
|
|
406
407
|
flex: 1;
|
|
407
408
|
position: relative;
|
|
408
409
|
overflow: hidden;
|
|
@@ -411,9 +412,10 @@ ge.default = (0, e.cB)("tabs", `
|
|
|
411
412
|
width: 100%;
|
|
412
413
|
overflow-y: auto;
|
|
413
414
|
scrollbar-width: none;
|
|
414
|
-
`, [(0, e.c)("&::-webkit-scrollbar", `
|
|
415
|
+
`, [(0, e.c)("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb", `
|
|
415
416
|
width: 0;
|
|
416
417
|
height: 0;
|
|
418
|
+
display: none;
|
|
417
419
|
`)]), (0, e.c)("&::before, &::after", `
|
|
418
420
|
transition: box-shadow .3s var(--n-bezier);
|
|
419
421
|
pointer-events: none;
|
|
@@ -643,11 +645,11 @@ ge.default = (0, e.cB)("tabs", `
|
|
|
643
645
|
border-top: 1px solid var(--n-tab-border-color);
|
|
644
646
|
`)])])])]);
|
|
645
647
|
(function(o) {
|
|
646
|
-
var l =
|
|
647
|
-
return
|
|
648
|
+
var l = U && U.__importDefault || function(a) {
|
|
649
|
+
return a && a.__esModule ? a : { default: a };
|
|
648
650
|
};
|
|
649
651
|
Object.defineProperty(o, "__esModule", { value: !0 }), o.tabsProps = void 0;
|
|
650
|
-
const
|
|
652
|
+
const c = mt, b = Pt, f = Ct, n = fe, I = yt, u = xt, s = se, P = Re, k = te, V = l(he), E = l(pe), S = c.throttle;
|
|
651
653
|
o.tabsProps = Object.assign(Object.assign({}, u.useTheme.props), {
|
|
652
654
|
value: [String, Number],
|
|
653
655
|
defaultValue: [String, Number],
|
|
@@ -693,468 +695,469 @@ ge.default = (0, e.cB)("tabs", `
|
|
|
693
695
|
labelSize: String,
|
|
694
696
|
activeName: [String, Number],
|
|
695
697
|
onActiveNameChange: [Function, Array]
|
|
696
|
-
}), o.default = (0,
|
|
698
|
+
}), o.default = (0, n.defineComponent)({
|
|
697
699
|
name: "Tabs",
|
|
698
700
|
props: o.tabsProps,
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
701
|
+
slots: Object,
|
|
702
|
+
setup(a, { slots: h }) {
|
|
703
|
+
var x, W, v, H;
|
|
704
|
+
process.env.NODE_ENV !== "production" && (0, n.watchEffect)(() => {
|
|
705
|
+
a.labelSize !== void 0 && (0, s.warnOnce)("tabs", "`label-size` is deprecated, please use `size` instead."), a.activeName !== void 0 && (0, s.warnOnce)("tabs", "`active-name` is deprecated, please use `value` instead."), a.onActiveNameChange !== void 0 && (0, s.warnOnce)("tabs", "`on-active-name-change` is deprecated, please use `on-update:value` instead.");
|
|
703
706
|
});
|
|
704
|
-
const { mergedClsPrefixRef: m, inlineThemeDisabled: _ } = (0, u.useConfig)(
|
|
705
|
-
if (!(!
|
|
707
|
+
const { mergedClsPrefixRef: m, inlineThemeDisabled: _ } = (0, u.useConfig)(a), G = (0, u.useTheme)("Tabs", "-tabs", V.default, P.tabsLight, a, m), z = (0, n.ref)(null), B = (0, n.ref)(null), J = (0, n.ref)(null), F = (0, n.ref)(null), y = (0, n.ref)(null), w = (0, n.ref)(null), N = (0, n.ref)(!0), A = (0, n.ref)(!0), X = (0, f.useCompitable)(a, ["labelSize", "size"]), M = (0, f.useCompitable)(a, ["activeName", "value"]), ae = (0, n.ref)((W = (x = M.value) !== null && x !== void 0 ? x : a.defaultValue) !== null && W !== void 0 ? W : h.default ? (H = (v = (0, s.flatten)(h.default())[0]) === null || v === void 0 ? void 0 : v.props) === null || H === void 0 ? void 0 : H.name : null), T = (0, f.useMergedState)(M, ae), p = { id: 0 }, C = (0, n.computed)(() => {
|
|
708
|
+
if (!(!a.justifyContent || a.type === "card"))
|
|
706
709
|
return {
|
|
707
710
|
display: "flex",
|
|
708
|
-
justifyContent:
|
|
711
|
+
justifyContent: a.justifyContent
|
|
709
712
|
};
|
|
710
713
|
});
|
|
711
|
-
(0,
|
|
712
|
-
|
|
714
|
+
(0, n.watch)(T, () => {
|
|
715
|
+
p.id = 0, oe(), xe();
|
|
713
716
|
});
|
|
714
|
-
function
|
|
715
|
-
var
|
|
716
|
-
const { value:
|
|
717
|
-
return
|
|
717
|
+
function K() {
|
|
718
|
+
var t;
|
|
719
|
+
const { value: r } = T;
|
|
720
|
+
return r === null ? null : (t = z.value) === null || t === void 0 ? void 0 : t.querySelector(`[data-name="${r}"]`);
|
|
718
721
|
}
|
|
719
|
-
function
|
|
720
|
-
if (
|
|
722
|
+
function Me(t) {
|
|
723
|
+
if (a.type === "card")
|
|
721
724
|
return;
|
|
722
|
-
const { value:
|
|
723
|
-
if (!
|
|
725
|
+
const { value: r } = B;
|
|
726
|
+
if (!r)
|
|
724
727
|
return;
|
|
725
|
-
const i =
|
|
726
|
-
if (
|
|
727
|
-
const d = `${m.value}-tabs-bar--disabled`, { barWidth:
|
|
728
|
-
if (
|
|
729
|
-
if (
|
|
730
|
-
const
|
|
731
|
-
|
|
728
|
+
const i = r.style.opacity === "0";
|
|
729
|
+
if (t) {
|
|
730
|
+
const d = `${m.value}-tabs-bar--disabled`, { barWidth: g, placement: L } = a;
|
|
731
|
+
if (t.dataset.disabled === "true" ? r.classList.add(d) : r.classList.remove(d), ["top", "bottom"].includes(L)) {
|
|
732
|
+
if (me(["top", "maxHeight", "height"]), typeof g == "number" && t.offsetWidth >= g) {
|
|
733
|
+
const j = Math.floor((t.offsetWidth - g) / 2) + t.offsetLeft;
|
|
734
|
+
r.style.left = `${j}px`, r.style.maxWidth = `${g}px`;
|
|
732
735
|
} else
|
|
733
|
-
|
|
734
|
-
|
|
736
|
+
r.style.left = `${t.offsetLeft}px`, r.style.maxWidth = `${t.offsetWidth}px`;
|
|
737
|
+
r.style.width = "8192px", i && (r.style.transition = "none"), r.offsetWidth, i && (r.style.transition = "", r.style.opacity = "1");
|
|
735
738
|
} else {
|
|
736
|
-
if (
|
|
737
|
-
const
|
|
738
|
-
|
|
739
|
+
if (me(["left", "maxWidth", "width"]), typeof g == "number" && t.offsetHeight >= g) {
|
|
740
|
+
const j = Math.floor((t.offsetHeight - g) / 2) + t.offsetTop;
|
|
741
|
+
r.style.top = `${j}px`, r.style.maxHeight = `${g}px`;
|
|
739
742
|
} else
|
|
740
|
-
|
|
741
|
-
|
|
743
|
+
r.style.top = `${t.offsetTop}px`, r.style.maxHeight = `${t.offsetHeight}px`;
|
|
744
|
+
r.style.height = "8192px", i && (r.style.transition = "none"), r.offsetHeight, i && (r.style.transition = "", r.style.opacity = "1");
|
|
742
745
|
}
|
|
743
746
|
}
|
|
744
747
|
}
|
|
745
|
-
function
|
|
746
|
-
if (
|
|
748
|
+
function Le() {
|
|
749
|
+
if (a.type === "card")
|
|
747
750
|
return;
|
|
748
|
-
const { value:
|
|
749
|
-
|
|
751
|
+
const { value: t } = B;
|
|
752
|
+
t && (t.style.opacity = "0");
|
|
750
753
|
}
|
|
751
|
-
function
|
|
752
|
-
const { value:
|
|
753
|
-
if (
|
|
754
|
-
for (const i of
|
|
755
|
-
|
|
754
|
+
function me(t) {
|
|
755
|
+
const { value: r } = B;
|
|
756
|
+
if (r)
|
|
757
|
+
for (const i of t)
|
|
758
|
+
r.style[i] = "";
|
|
756
759
|
}
|
|
757
|
-
function
|
|
758
|
-
if (
|
|
760
|
+
function oe() {
|
|
761
|
+
if (a.type === "card")
|
|
759
762
|
return;
|
|
760
|
-
const
|
|
761
|
-
|
|
763
|
+
const t = K();
|
|
764
|
+
t ? Me(t) : Le();
|
|
762
765
|
}
|
|
763
|
-
function
|
|
764
|
-
var
|
|
765
|
-
const
|
|
766
|
-
if (!
|
|
766
|
+
function xe() {
|
|
767
|
+
var t;
|
|
768
|
+
const r = (t = y.value) === null || t === void 0 ? void 0 : t.$el;
|
|
769
|
+
if (!r)
|
|
767
770
|
return;
|
|
768
|
-
const i =
|
|
771
|
+
const i = K();
|
|
769
772
|
if (!i)
|
|
770
773
|
return;
|
|
771
|
-
const { scrollLeft: d, offsetWidth:
|
|
772
|
-
d >
|
|
774
|
+
const { scrollLeft: d, offsetWidth: g } = r, { offsetLeft: L, offsetWidth: j } = i;
|
|
775
|
+
d > L ? r.scrollTo({
|
|
773
776
|
top: 0,
|
|
774
|
-
left:
|
|
777
|
+
left: L,
|
|
775
778
|
behavior: "smooth"
|
|
776
|
-
}) :
|
|
779
|
+
}) : L + j > d + g && r.scrollTo({
|
|
777
780
|
top: 0,
|
|
778
|
-
left:
|
|
781
|
+
left: L + j - g,
|
|
779
782
|
behavior: "smooth"
|
|
780
783
|
});
|
|
781
784
|
}
|
|
782
|
-
const
|
|
783
|
-
let
|
|
784
|
-
function
|
|
785
|
-
const
|
|
786
|
-
if (
|
|
787
|
-
|
|
788
|
-
const i = `${
|
|
789
|
-
|
|
785
|
+
const ie = (0, n.ref)(null);
|
|
786
|
+
let de = 0, q = null;
|
|
787
|
+
function je(t) {
|
|
788
|
+
const r = ie.value;
|
|
789
|
+
if (r) {
|
|
790
|
+
de = t.getBoundingClientRect().height;
|
|
791
|
+
const i = `${de}px`, d = () => {
|
|
792
|
+
r.style.height = i, r.style.maxHeight = i;
|
|
790
793
|
};
|
|
791
|
-
|
|
794
|
+
q ? (d(), q(), q = null) : q = d;
|
|
792
795
|
}
|
|
793
796
|
}
|
|
794
|
-
function
|
|
795
|
-
const
|
|
796
|
-
if (
|
|
797
|
-
const i =
|
|
798
|
-
document.body.offsetHeight,
|
|
797
|
+
function Ee(t) {
|
|
798
|
+
const r = ie.value;
|
|
799
|
+
if (r) {
|
|
800
|
+
const i = t.getBoundingClientRect().height, d = () => {
|
|
801
|
+
document.body.offsetHeight, r.style.maxHeight = `${i}px`, r.style.height = `${Math.max(de, i)}px`;
|
|
799
802
|
};
|
|
800
|
-
|
|
803
|
+
q ? (q(), q = null, d()) : q = d;
|
|
801
804
|
}
|
|
802
805
|
}
|
|
803
|
-
function
|
|
804
|
-
const
|
|
805
|
-
if (
|
|
806
|
-
|
|
807
|
-
const { paneWrapperStyle:
|
|
808
|
-
if (typeof
|
|
809
|
-
|
|
810
|
-
else if (
|
|
811
|
-
const { maxHeight: i, height: d } =
|
|
812
|
-
i !== void 0 && (
|
|
806
|
+
function $e() {
|
|
807
|
+
const t = ie.value;
|
|
808
|
+
if (t) {
|
|
809
|
+
t.style.maxHeight = "", t.style.height = "";
|
|
810
|
+
const { paneWrapperStyle: r } = a;
|
|
811
|
+
if (typeof r == "string")
|
|
812
|
+
t.style.cssText = r;
|
|
813
|
+
else if (r) {
|
|
814
|
+
const { maxHeight: i, height: d } = r;
|
|
815
|
+
i !== void 0 && (t.style.maxHeight = i), d !== void 0 && (t.style.height = d);
|
|
813
816
|
}
|
|
814
817
|
}
|
|
815
818
|
}
|
|
816
|
-
const
|
|
817
|
-
function
|
|
818
|
-
const
|
|
819
|
+
const ye = { value: [] }, Ce = (0, n.ref)("next");
|
|
820
|
+
function Oe(t) {
|
|
821
|
+
const r = T.value;
|
|
819
822
|
let i = "next";
|
|
820
|
-
for (const d of
|
|
821
|
-
if (d ===
|
|
823
|
+
for (const d of ye.value) {
|
|
824
|
+
if (d === r)
|
|
822
825
|
break;
|
|
823
|
-
if (d ===
|
|
826
|
+
if (d === t) {
|
|
824
827
|
i = "prev";
|
|
825
828
|
break;
|
|
826
829
|
}
|
|
827
830
|
}
|
|
828
|
-
|
|
831
|
+
Ce.value = i, We(t);
|
|
829
832
|
}
|
|
830
|
-
function
|
|
831
|
-
const { onActiveNameChange:
|
|
832
|
-
|
|
833
|
+
function We(t) {
|
|
834
|
+
const { onActiveNameChange: r, onUpdateValue: i, "onUpdate:value": d } = a;
|
|
835
|
+
r && (0, s.call)(r, t), i && (0, s.call)(i, t), d && (0, s.call)(d, t), ae.value = t;
|
|
833
836
|
}
|
|
834
|
-
function
|
|
835
|
-
const { onClose:
|
|
836
|
-
|
|
837
|
+
function Ae(t) {
|
|
838
|
+
const { onClose: r } = a;
|
|
839
|
+
r && (0, s.call)(r, t);
|
|
837
840
|
}
|
|
838
|
-
function
|
|
839
|
-
const { value:
|
|
840
|
-
if (!
|
|
841
|
+
function Pe() {
|
|
842
|
+
const { value: t } = B;
|
|
843
|
+
if (!t)
|
|
841
844
|
return;
|
|
842
|
-
const
|
|
843
|
-
|
|
845
|
+
const r = "transition-disabled";
|
|
846
|
+
t.classList.add(r), oe(), t.classList.remove(r);
|
|
844
847
|
}
|
|
845
|
-
const
|
|
846
|
-
function
|
|
847
|
-
const
|
|
848
|
-
if (!
|
|
848
|
+
const Q = (0, n.ref)(null);
|
|
849
|
+
function ce({ transitionDisabled: t }) {
|
|
850
|
+
const r = z.value;
|
|
851
|
+
if (!r)
|
|
849
852
|
return;
|
|
850
|
-
|
|
851
|
-
const i =
|
|
852
|
-
i &&
|
|
853
|
+
t && r.classList.add("transition-disabled");
|
|
854
|
+
const i = K();
|
|
855
|
+
i && Q.value && (Q.value.style.width = `${i.offsetWidth}px`, Q.value.style.height = `${i.offsetHeight}px`, Q.value.style.transform = `translateX(${i.offsetLeft - (0, b.depx)(getComputedStyle(r).paddingLeft)}px)`, t && Q.value.offsetWidth), t && r.classList.remove("transition-disabled");
|
|
853
856
|
}
|
|
854
|
-
(0,
|
|
855
|
-
|
|
856
|
-
|
|
857
|
+
(0, n.watch)([T], () => {
|
|
858
|
+
a.type === "segment" && (0, n.nextTick)(() => {
|
|
859
|
+
ce({
|
|
857
860
|
transitionDisabled: !1
|
|
858
861
|
});
|
|
859
862
|
});
|
|
860
|
-
}), (0,
|
|
861
|
-
|
|
863
|
+
}), (0, n.onMounted)(() => {
|
|
864
|
+
a.type === "segment" && ce({
|
|
862
865
|
transitionDisabled: !0
|
|
863
866
|
});
|
|
864
867
|
});
|
|
865
|
-
let
|
|
866
|
-
function
|
|
867
|
-
var
|
|
868
|
-
if (
|
|
868
|
+
let Se = 0;
|
|
869
|
+
function ke(t) {
|
|
870
|
+
var r;
|
|
871
|
+
if (t.contentRect.width === 0 && t.contentRect.height === 0 || Se === t.contentRect.width)
|
|
869
872
|
return;
|
|
870
|
-
|
|
871
|
-
const { type: i } =
|
|
872
|
-
if ((i === "line" || i === "bar") &&
|
|
873
|
-
const { placement: d } =
|
|
874
|
-
|
|
873
|
+
Se = t.contentRect.width;
|
|
874
|
+
const { type: i } = a;
|
|
875
|
+
if ((i === "line" || i === "bar") && Pe(), i !== "segment") {
|
|
876
|
+
const { placement: d } = a;
|
|
877
|
+
be((d === "top" || d === "bottom" ? (r = y.value) === null || r === void 0 ? void 0 : r.$el : w.value) || null);
|
|
875
878
|
}
|
|
876
879
|
}
|
|
877
|
-
const Ve = (
|
|
878
|
-
(0,
|
|
879
|
-
(0,
|
|
880
|
-
const { type:
|
|
881
|
-
(
|
|
880
|
+
const Ve = S(ke, 64);
|
|
881
|
+
(0, n.watch)([() => a.justifyContent, () => a.size], () => {
|
|
882
|
+
(0, n.nextTick)(() => {
|
|
883
|
+
const { type: t } = a;
|
|
884
|
+
(t === "line" || t === "bar") && Pe();
|
|
882
885
|
});
|
|
883
886
|
});
|
|
884
|
-
const
|
|
885
|
-
function
|
|
886
|
-
var
|
|
887
|
-
const { target: i, contentRect: { width: d, height:
|
|
888
|
-
if (!
|
|
889
|
-
|
|
887
|
+
const Y = (0, n.ref)(!1);
|
|
888
|
+
function De(t) {
|
|
889
|
+
var r;
|
|
890
|
+
const { target: i, contentRect: { width: d, height: g } } = t, L = i.parentElement.parentElement.offsetWidth, j = i.parentElement.parentElement.offsetHeight, { placement: ee } = a;
|
|
891
|
+
if (!Y.value)
|
|
892
|
+
ee === "top" || ee === "bottom" ? L < d && (Y.value = !0) : j < g && (Y.value = !0);
|
|
890
893
|
else {
|
|
891
|
-
const { value:
|
|
892
|
-
if (!
|
|
894
|
+
const { value: re } = F;
|
|
895
|
+
if (!re)
|
|
893
896
|
return;
|
|
894
|
-
|
|
897
|
+
ee === "top" || ee === "bottom" ? L - d > re.$el.offsetWidth && (Y.value = !1) : j - g > re.$el.offsetHeight && (Y.value = !1);
|
|
895
898
|
}
|
|
896
|
-
|
|
899
|
+
be(((r = y.value) === null || r === void 0 ? void 0 : r.$el) || null);
|
|
897
900
|
}
|
|
898
|
-
const
|
|
899
|
-
function
|
|
900
|
-
const { onAdd:
|
|
901
|
-
|
|
902
|
-
const
|
|
903
|
-
!
|
|
904
|
-
left:
|
|
901
|
+
const He = S(De, 64);
|
|
902
|
+
function Ge() {
|
|
903
|
+
const { onAdd: t } = a;
|
|
904
|
+
t && t(), (0, n.nextTick)(() => {
|
|
905
|
+
const r = K(), { value: i } = y;
|
|
906
|
+
!r || !i || i.scrollTo({
|
|
907
|
+
left: r.offsetLeft,
|
|
905
908
|
top: 0,
|
|
906
909
|
behavior: "smooth"
|
|
907
910
|
});
|
|
908
911
|
});
|
|
909
912
|
}
|
|
910
|
-
function
|
|
911
|
-
if (!
|
|
913
|
+
function be(t) {
|
|
914
|
+
if (!t)
|
|
912
915
|
return;
|
|
913
|
-
const { placement:
|
|
914
|
-
if (
|
|
915
|
-
const { scrollLeft: i, scrollWidth: d, offsetWidth:
|
|
916
|
-
|
|
916
|
+
const { placement: r } = a;
|
|
917
|
+
if (r === "top" || r === "bottom") {
|
|
918
|
+
const { scrollLeft: i, scrollWidth: d, offsetWidth: g } = t;
|
|
919
|
+
N.value = i <= 0, A.value = i + g >= d;
|
|
917
920
|
} else {
|
|
918
|
-
const { scrollTop: i, scrollHeight: d, offsetHeight:
|
|
919
|
-
|
|
921
|
+
const { scrollTop: i, scrollHeight: d, offsetHeight: g } = t;
|
|
922
|
+
N.value = i <= 0, A.value = i + g >= d;
|
|
920
923
|
}
|
|
921
924
|
}
|
|
922
|
-
const
|
|
923
|
-
|
|
925
|
+
const Ie = S((t) => {
|
|
926
|
+
be(t.target);
|
|
924
927
|
}, 64);
|
|
925
|
-
(0,
|
|
926
|
-
triggerRef: (0,
|
|
927
|
-
tabStyleRef: (0,
|
|
928
|
-
tabClassRef: (0,
|
|
929
|
-
addTabStyleRef: (0,
|
|
930
|
-
addTabClassRef: (0,
|
|
931
|
-
paneClassRef: (0,
|
|
932
|
-
paneStyleRef: (0,
|
|
928
|
+
(0, n.provide)(k.tabsInjectionKey, {
|
|
929
|
+
triggerRef: (0, n.toRef)(a, "trigger"),
|
|
930
|
+
tabStyleRef: (0, n.toRef)(a, "tabStyle"),
|
|
931
|
+
tabClassRef: (0, n.toRef)(a, "tabClass"),
|
|
932
|
+
addTabStyleRef: (0, n.toRef)(a, "addTabStyle"),
|
|
933
|
+
addTabClassRef: (0, n.toRef)(a, "addTabClass"),
|
|
934
|
+
paneClassRef: (0, n.toRef)(a, "paneClass"),
|
|
935
|
+
paneStyleRef: (0, n.toRef)(a, "paneStyle"),
|
|
933
936
|
mergedClsPrefixRef: m,
|
|
934
|
-
typeRef: (0,
|
|
935
|
-
closableRef: (0,
|
|
936
|
-
valueRef:
|
|
937
|
-
tabChangeIdRef:
|
|
938
|
-
onBeforeLeaveRef: (0,
|
|
939
|
-
activateTab:
|
|
940
|
-
handleClose:
|
|
941
|
-
handleAdd:
|
|
942
|
-
}), (0,
|
|
943
|
-
|
|
944
|
-
}), (0,
|
|
945
|
-
const { value:
|
|
946
|
-
if (!
|
|
937
|
+
typeRef: (0, n.toRef)(a, "type"),
|
|
938
|
+
closableRef: (0, n.toRef)(a, "closable"),
|
|
939
|
+
valueRef: T,
|
|
940
|
+
tabChangeIdRef: p,
|
|
941
|
+
onBeforeLeaveRef: (0, n.toRef)(a, "onBeforeLeave"),
|
|
942
|
+
activateTab: Oe,
|
|
943
|
+
handleClose: Ae,
|
|
944
|
+
handleAdd: Ge
|
|
945
|
+
}), (0, f.onFontsReady)(() => {
|
|
946
|
+
oe(), xe();
|
|
947
|
+
}), (0, n.watchEffect)(() => {
|
|
948
|
+
const { value: t } = J;
|
|
949
|
+
if (!t)
|
|
947
950
|
return;
|
|
948
|
-
const { value:
|
|
949
|
-
|
|
951
|
+
const { value: r } = m, i = `${r}-tabs-nav-scroll-wrapper--shadow-start`, d = `${r}-tabs-nav-scroll-wrapper--shadow-end`;
|
|
952
|
+
N.value ? t.classList.remove(i) : t.classList.add(i), A.value ? t.classList.remove(d) : t.classList.add(d);
|
|
950
953
|
});
|
|
951
|
-
const
|
|
954
|
+
const Fe = {
|
|
952
955
|
syncBarPosition: () => {
|
|
953
|
-
|
|
956
|
+
oe();
|
|
954
957
|
}
|
|
955
|
-
},
|
|
956
|
-
|
|
958
|
+
}, Ne = () => {
|
|
959
|
+
ce({
|
|
957
960
|
transitionDisabled: !0
|
|
958
961
|
});
|
|
959
|
-
},
|
|
960
|
-
const { value:
|
|
962
|
+
}, _e = (0, n.computed)(() => {
|
|
963
|
+
const { value: t } = X, { type: r } = a, i = {
|
|
961
964
|
card: "Card",
|
|
962
965
|
bar: "Bar",
|
|
963
966
|
line: "Line",
|
|
964
967
|
segment: "Segment"
|
|
965
|
-
}[
|
|
968
|
+
}[r], d = `${t}${i}`, { self: { barColor: g, closeIconColor: L, closeIconColorHover: j, closeIconColorPressed: ee, tabColor: re, tabBorderColor: Ke, paneTextColor: qe, tabFontWeight: Ue, tabBorderRadius: Xe, tabFontWeightActive: Je, colorSegment: Qe, fontWeightStrong: Ye, tabColorSegment: Ze, closeSize: et, closeIconSize: tt, closeColorHover: at, closeColorPressed: rt, closeBorderRadius: nt, [(0, s.createKey)("panePadding", t)]: le, [(0, s.createKey)("tabPadding", d)]: ot, [(0, s.createKey)("tabPaddingVertical", d)]: it, [(0, s.createKey)("tabGap", d)]: lt, [(0, s.createKey)("tabGap", `${d}Vertical`)]: st, [(0, s.createKey)("tabTextColor", r)]: dt, [(0, s.createKey)("tabTextColorActive", r)]: ct, [(0, s.createKey)("tabTextColorHover", r)]: bt, [(0, s.createKey)("tabTextColorDisabled", r)]: ft, [(0, s.createKey)("tabFontSize", t)]: pt }, common: { cubicBezierEaseInOut: ut } } = G.value;
|
|
966
969
|
return {
|
|
967
|
-
"--n-bezier":
|
|
968
|
-
"--n-color-segment":
|
|
969
|
-
"--n-bar-color":
|
|
970
|
-
"--n-tab-font-size":
|
|
971
|
-
"--n-tab-text-color":
|
|
972
|
-
"--n-tab-text-color-active":
|
|
973
|
-
"--n-tab-text-color-disabled":
|
|
974
|
-
"--n-tab-text-color-hover":
|
|
975
|
-
"--n-pane-text-color":
|
|
976
|
-
"--n-tab-border-color":
|
|
977
|
-
"--n-tab-border-radius":
|
|
978
|
-
"--n-close-size":
|
|
979
|
-
"--n-close-icon-size":
|
|
980
|
-
"--n-close-color-hover":
|
|
981
|
-
"--n-close-color-pressed":
|
|
982
|
-
"--n-close-border-radius":
|
|
983
|
-
"--n-close-icon-color":
|
|
984
|
-
"--n-close-icon-color-hover":
|
|
985
|
-
"--n-close-icon-color-pressed":
|
|
986
|
-
"--n-tab-color":
|
|
987
|
-
"--n-tab-font-weight":
|
|
988
|
-
"--n-tab-font-weight-active":
|
|
989
|
-
"--n-tab-padding":
|
|
990
|
-
"--n-tab-padding-vertical":
|
|
991
|
-
"--n-tab-gap":
|
|
992
|
-
"--n-tab-gap-vertical":
|
|
993
|
-
"--n-pane-padding-left": (0,
|
|
994
|
-
"--n-pane-padding-right": (0,
|
|
995
|
-
"--n-pane-padding-top": (0,
|
|
996
|
-
"--n-pane-padding-bottom": (0,
|
|
997
|
-
"--n-font-weight-strong":
|
|
998
|
-
"--n-tab-color-segment":
|
|
970
|
+
"--n-bezier": ut,
|
|
971
|
+
"--n-color-segment": Qe,
|
|
972
|
+
"--n-bar-color": g,
|
|
973
|
+
"--n-tab-font-size": pt,
|
|
974
|
+
"--n-tab-text-color": dt,
|
|
975
|
+
"--n-tab-text-color-active": ct,
|
|
976
|
+
"--n-tab-text-color-disabled": ft,
|
|
977
|
+
"--n-tab-text-color-hover": bt,
|
|
978
|
+
"--n-pane-text-color": qe,
|
|
979
|
+
"--n-tab-border-color": Ke,
|
|
980
|
+
"--n-tab-border-radius": Xe,
|
|
981
|
+
"--n-close-size": et,
|
|
982
|
+
"--n-close-icon-size": tt,
|
|
983
|
+
"--n-close-color-hover": at,
|
|
984
|
+
"--n-close-color-pressed": rt,
|
|
985
|
+
"--n-close-border-radius": nt,
|
|
986
|
+
"--n-close-icon-color": L,
|
|
987
|
+
"--n-close-icon-color-hover": j,
|
|
988
|
+
"--n-close-icon-color-pressed": ee,
|
|
989
|
+
"--n-tab-color": re,
|
|
990
|
+
"--n-tab-font-weight": Ue,
|
|
991
|
+
"--n-tab-font-weight-active": Je,
|
|
992
|
+
"--n-tab-padding": ot,
|
|
993
|
+
"--n-tab-padding-vertical": it,
|
|
994
|
+
"--n-tab-gap": lt,
|
|
995
|
+
"--n-tab-gap-vertical": st,
|
|
996
|
+
"--n-pane-padding-left": (0, b.getPadding)(le, "left"),
|
|
997
|
+
"--n-pane-padding-right": (0, b.getPadding)(le, "right"),
|
|
998
|
+
"--n-pane-padding-top": (0, b.getPadding)(le, "top"),
|
|
999
|
+
"--n-pane-padding-bottom": (0, b.getPadding)(le, "bottom"),
|
|
1000
|
+
"--n-font-weight-strong": Ye,
|
|
1001
|
+
"--n-tab-color-segment": Ze
|
|
999
1002
|
};
|
|
1000
|
-
}),
|
|
1003
|
+
}), Z = _ ? (0, u.useThemeClass)("tabs", (0, n.computed)(() => `${X.value[0]}${a.type[0]}`), _e, a) : void 0;
|
|
1001
1004
|
return Object.assign({
|
|
1002
1005
|
mergedClsPrefix: m,
|
|
1003
|
-
mergedValue:
|
|
1006
|
+
mergedValue: T,
|
|
1004
1007
|
renderedNames: /* @__PURE__ */ new Set(),
|
|
1005
|
-
segmentCapsuleElRef:
|
|
1006
|
-
tabsPaneWrapperRef:
|
|
1007
|
-
tabsElRef:
|
|
1008
|
-
barElRef:
|
|
1009
|
-
addTabInstRef:
|
|
1010
|
-
xScrollInstRef:
|
|
1011
|
-
scrollWrapperElRef:
|
|
1012
|
-
addTabFixed:
|
|
1013
|
-
tabWrapperStyle:
|
|
1008
|
+
segmentCapsuleElRef: Q,
|
|
1009
|
+
tabsPaneWrapperRef: ie,
|
|
1010
|
+
tabsElRef: z,
|
|
1011
|
+
barElRef: B,
|
|
1012
|
+
addTabInstRef: F,
|
|
1013
|
+
xScrollInstRef: y,
|
|
1014
|
+
scrollWrapperElRef: J,
|
|
1015
|
+
addTabFixed: Y,
|
|
1016
|
+
tabWrapperStyle: C,
|
|
1014
1017
|
handleNavResize: Ve,
|
|
1015
|
-
mergedSize:
|
|
1016
|
-
handleScroll:
|
|
1017
|
-
handleTabsResize:
|
|
1018
|
-
cssVars: _ ? void 0 :
|
|
1019
|
-
themeClass:
|
|
1020
|
-
animationDirection:
|
|
1021
|
-
renderNameListRef:
|
|
1022
|
-
yScrollElRef:
|
|
1023
|
-
handleSegmentResize:
|
|
1024
|
-
onAnimationBeforeLeave:
|
|
1025
|
-
onAnimationEnter:
|
|
1026
|
-
onAnimationAfterEnter:
|
|
1027
|
-
onRender:
|
|
1028
|
-
},
|
|
1018
|
+
mergedSize: X,
|
|
1019
|
+
handleScroll: Ie,
|
|
1020
|
+
handleTabsResize: He,
|
|
1021
|
+
cssVars: _ ? void 0 : _e,
|
|
1022
|
+
themeClass: Z == null ? void 0 : Z.themeClass,
|
|
1023
|
+
animationDirection: Ce,
|
|
1024
|
+
renderNameListRef: ye,
|
|
1025
|
+
yScrollElRef: w,
|
|
1026
|
+
handleSegmentResize: Ne,
|
|
1027
|
+
onAnimationBeforeLeave: je,
|
|
1028
|
+
onAnimationEnter: Ee,
|
|
1029
|
+
onAnimationAfterEnter: $e,
|
|
1030
|
+
onRender: Z == null ? void 0 : Z.onRender
|
|
1031
|
+
}, Fe);
|
|
1029
1032
|
},
|
|
1030
1033
|
render() {
|
|
1031
|
-
const { mergedClsPrefix:
|
|
1034
|
+
const { mergedClsPrefix: a, type: h, placement: x, addTabFixed: W, addable: v, mergedSize: H, renderNameListRef: m, onRender: _, paneWrapperClass: G, paneWrapperStyle: z, $slots: { default: B, prefix: J, suffix: F } } = this;
|
|
1032
1035
|
_ == null || _();
|
|
1033
|
-
const
|
|
1036
|
+
const y = B ? (0, s.flatten)(B()).filter((p) => p.type.__TAB_PANE__ === !0) : [], w = B ? (0, s.flatten)(B()).filter((p) => p.type.__TAB__ === !0) : [], N = !w.length, A = h === "card", X = h === "segment", M = !A && !X && this.justifyContent;
|
|
1034
1037
|
m.value = [];
|
|
1035
|
-
const
|
|
1036
|
-
const
|
|
1038
|
+
const ae = () => {
|
|
1039
|
+
const p = (0, n.h)(
|
|
1037
1040
|
"div",
|
|
1038
|
-
{ style: this.tabWrapperStyle, class: `${
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
default:
|
|
1042
|
-
} : void 0)))) :
|
|
1043
|
-
!
|
|
1044
|
-
|
|
1041
|
+
{ style: this.tabWrapperStyle, class: `${a}-tabs-wrapper` },
|
|
1042
|
+
M ? null : (0, n.h)("div", { class: `${a}-tabs-scroll-padding`, style: x === "top" || x === "bottom" ? { width: `${this.tabsPadding}px` } : { height: `${this.tabsPadding}px` } }),
|
|
1043
|
+
N ? y.map((C, K) => (m.value.push(C.props.name), R((0, n.h)(E.default, Object.assign({}, C.props, { internalCreatedByPane: !0, internalLeftPadded: K !== 0 && (!M || M === "center" || M === "start" || M === "end") }), C.children ? {
|
|
1044
|
+
default: C.children.tab
|
|
1045
|
+
} : void 0)))) : w.map((C, K) => (m.value.push(C.props.name), R(K !== 0 && !M ? O(C) : C))),
|
|
1046
|
+
!W && v && A ? D(v, (N ? y.length : w.length) !== 0) : null,
|
|
1047
|
+
M ? null : (0, n.h)("div", { class: `${a}-tabs-scroll-padding`, style: { width: `${this.tabsPadding}px` } })
|
|
1045
1048
|
);
|
|
1046
|
-
return (0,
|
|
1049
|
+
return (0, n.h)(
|
|
1047
1050
|
"div",
|
|
1048
|
-
{ ref: "tabsElRef", class: `${
|
|
1049
|
-
|
|
1050
|
-
default: () =>
|
|
1051
|
-
}) :
|
|
1052
|
-
|
|
1053
|
-
|
|
1051
|
+
{ ref: "tabsElRef", class: `${a}-tabs-nav-scroll-content` },
|
|
1052
|
+
A && v ? (0, n.h)(I.VResizeObserver, { onResize: this.handleTabsResize }, {
|
|
1053
|
+
default: () => p
|
|
1054
|
+
}) : p,
|
|
1055
|
+
A ? (0, n.h)("div", { class: `${a}-tabs-pad` }) : null,
|
|
1056
|
+
A ? null : (0, n.h)("div", { ref: "barElRef", class: `${a}-tabs-bar` })
|
|
1054
1057
|
);
|
|
1055
|
-
},
|
|
1056
|
-
return (0,
|
|
1058
|
+
}, T = X ? "top" : x;
|
|
1059
|
+
return (0, n.h)(
|
|
1057
1060
|
"div",
|
|
1058
1061
|
{ class: [
|
|
1059
|
-
`${
|
|
1062
|
+
`${a}-tabs`,
|
|
1060
1063
|
this.themeClass,
|
|
1061
|
-
`${
|
|
1062
|
-
`${
|
|
1063
|
-
|
|
1064
|
-
`${
|
|
1064
|
+
`${a}-tabs--${h}-type`,
|
|
1065
|
+
`${a}-tabs--${H}-size`,
|
|
1066
|
+
M && `${a}-tabs--flex`,
|
|
1067
|
+
`${a}-tabs--${T}`
|
|
1065
1068
|
], style: this.cssVars },
|
|
1066
|
-
(0,
|
|
1069
|
+
(0, n.h)(
|
|
1067
1070
|
"div",
|
|
1068
1071
|
{ class: [
|
|
1069
1072
|
// the class should be applied here since it's possible
|
|
1070
1073
|
// to make tabs nested in tabs, style may influence each
|
|
1071
1074
|
// other. adding a class will make it easy to write the
|
|
1072
1075
|
// style.
|
|
1073
|
-
`${
|
|
1074
|
-
`${
|
|
1075
|
-
`${
|
|
1076
|
+
`${a}-tabs-nav--${h}-type`,
|
|
1077
|
+
`${a}-tabs-nav--${T}`,
|
|
1078
|
+
`${a}-tabs-nav`
|
|
1076
1079
|
] },
|
|
1077
|
-
(0, s.resolveWrappedSlot)(
|
|
1078
|
-
|
|
1079
|
-
default: () => (0,
|
|
1080
|
+
(0, s.resolveWrappedSlot)(J, (p) => p && (0, n.h)("div", { class: `${a}-tabs-nav__prefix` }, p)),
|
|
1081
|
+
X ? (0, n.h)(I.VResizeObserver, { onResize: this.handleSegmentResize }, {
|
|
1082
|
+
default: () => (0, n.h)(
|
|
1080
1083
|
"div",
|
|
1081
|
-
{ class: `${
|
|
1082
|
-
(0,
|
|
1084
|
+
{ class: `${a}-tabs-rail`, ref: "tabsElRef" },
|
|
1085
|
+
(0, n.h)(
|
|
1083
1086
|
"div",
|
|
1084
|
-
{ class: `${
|
|
1085
|
-
(0,
|
|
1087
|
+
{ class: `${a}-tabs-capsule`, ref: "segmentCapsuleElRef" },
|
|
1088
|
+
(0, n.h)(
|
|
1086
1089
|
"div",
|
|
1087
|
-
{ class: `${
|
|
1088
|
-
(0,
|
|
1090
|
+
{ class: `${a}-tabs-wrapper` },
|
|
1091
|
+
(0, n.h)("div", { class: `${a}-tabs-tab` })
|
|
1089
1092
|
)
|
|
1090
1093
|
),
|
|
1091
|
-
|
|
1092
|
-
default:
|
|
1093
|
-
} : void 0))) :
|
|
1094
|
+
N ? y.map((p, C) => (m.value.push(p.props.name), (0, n.h)(E.default, Object.assign({}, p.props, { internalCreatedByPane: !0, internalLeftPadded: C !== 0 }), p.children ? {
|
|
1095
|
+
default: p.children.tab
|
|
1096
|
+
} : void 0))) : w.map((p, C) => (m.value.push(p.props.name), C === 0 ? p : O(p)))
|
|
1094
1097
|
)
|
|
1095
|
-
}) : (0,
|
|
1096
|
-
default: () => (0,
|
|
1097
|
-
default:
|
|
1098
|
-
}) : (0,
|
|
1098
|
+
}) : (0, n.h)(I.VResizeObserver, { onResize: this.handleNavResize }, {
|
|
1099
|
+
default: () => (0, n.h)("div", { class: `${a}-tabs-nav-scroll-wrapper`, ref: "scrollWrapperElRef" }, ["top", "bottom"].includes(T) ? (0, n.h)(I.VXScroll, { ref: "xScrollInstRef", onScroll: this.handleScroll }, {
|
|
1100
|
+
default: ae
|
|
1101
|
+
}) : (0, n.h)("div", { class: `${a}-tabs-nav-y-scroll`, onScroll: this.handleScroll, ref: "yScrollElRef" }, ae()))
|
|
1099
1102
|
}),
|
|
1100
|
-
|
|
1101
|
-
(0, s.resolveWrappedSlot)(
|
|
1103
|
+
W && v && A ? D(v, !0) : null,
|
|
1104
|
+
(0, s.resolveWrappedSlot)(F, (p) => p && (0, n.h)("div", { class: `${a}-tabs-nav__suffix` }, p))
|
|
1102
1105
|
),
|
|
1103
|
-
|
|
1106
|
+
N && (this.animated && (T === "top" || T === "bottom") ? (0, n.h)("div", { ref: "tabsPaneWrapperRef", style: z, class: [`${a}-tabs-pane-wrapper`, G] }, $(y, this.mergedValue, this.renderedNames, this.onAnimationBeforeLeave, this.onAnimationEnter, this.onAnimationAfterEnter, this.animationDirection)) : $(y, this.mergedValue, this.renderedNames))
|
|
1104
1107
|
);
|
|
1105
1108
|
}
|
|
1106
1109
|
});
|
|
1107
|
-
function
|
|
1110
|
+
function $(a, h, x, W, v, H, m) {
|
|
1108
1111
|
const _ = [];
|
|
1109
|
-
return
|
|
1110
|
-
const { name:
|
|
1111
|
-
if (
|
|
1112
|
-
|
|
1113
|
-
const
|
|
1114
|
-
_.push(
|
|
1112
|
+
return a.forEach((G) => {
|
|
1113
|
+
const { name: z, displayDirective: B, "display-directive": J } = G.props, F = (w) => B === w || J === w, y = h === z;
|
|
1114
|
+
if (G.key !== void 0 && (G.key = z), y || F("show") || F("show:lazy") && x.has(z)) {
|
|
1115
|
+
x.has(z) || x.add(z);
|
|
1116
|
+
const w = !F("if");
|
|
1117
|
+
_.push(w ? (0, n.withDirectives)(G, [[n.vShow, y]]) : G);
|
|
1115
1118
|
}
|
|
1116
|
-
}), m ? (0,
|
|
1119
|
+
}), m ? (0, n.h)(n.TransitionGroup, { name: `${m}-transition`, onBeforeLeave: W, onEnter: v, onAfterEnter: H }, { default: () => _ }) : _;
|
|
1117
1120
|
}
|
|
1118
|
-
function
|
|
1119
|
-
return (0,
|
|
1121
|
+
function D(a, h) {
|
|
1122
|
+
return (0, n.h)(E.default, { ref: "addTabInstRef", key: "__addable", name: "__addable", internalCreatedByPane: !0, internalAddable: !0, internalLeftPadded: h, disabled: typeof a == "object" && a.disabled });
|
|
1120
1123
|
}
|
|
1121
|
-
function
|
|
1122
|
-
const
|
|
1123
|
-
return
|
|
1124
|
+
function O(a) {
|
|
1125
|
+
const h = (0, n.cloneVNode)(a);
|
|
1126
|
+
return h.props ? h.props.internalLeftPadded = !0 : h.props = {
|
|
1124
1127
|
internalLeftPadded: !0
|
|
1125
|
-
},
|
|
1128
|
+
}, h;
|
|
1126
1129
|
}
|
|
1127
|
-
function
|
|
1128
|
-
return Array.isArray(
|
|
1130
|
+
function R(a) {
|
|
1131
|
+
return Array.isArray(a.dynamicProps) ? a.dynamicProps.includes("internalLeftPadded") || a.dynamicProps.push("internalLeftPadded") : a.dynamicProps = ["internalLeftPadded"], a;
|
|
1129
1132
|
}
|
|
1130
|
-
})(
|
|
1133
|
+
})(Te);
|
|
1131
1134
|
(function(o) {
|
|
1132
|
-
var l =
|
|
1133
|
-
return
|
|
1135
|
+
var l = U && U.__importDefault || function(n) {
|
|
1136
|
+
return n && n.__esModule ? n : { default: n };
|
|
1134
1137
|
};
|
|
1135
|
-
Object.defineProperty(o, "__esModule", { value: !0 }), o.
|
|
1136
|
-
var
|
|
1137
|
-
Object.defineProperty(o, "
|
|
1138
|
-
return l(a).default;
|
|
1139
|
-
} }), Object.defineProperty(o, "tabsProps", { enumerable: !0, get: function() {
|
|
1140
|
-
return a.tabsProps;
|
|
1141
|
-
} });
|
|
1142
|
-
var c = ve;
|
|
1143
|
-
Object.defineProperty(o, "NTabPane", { enumerable: !0, get: function() {
|
|
1138
|
+
Object.defineProperty(o, "__esModule", { value: !0 }), o.tabsProps = o.NTabs = o.tabPaneProps = o.NTabPane = o.tabProps = o.NTab = void 0;
|
|
1139
|
+
var c = pe;
|
|
1140
|
+
Object.defineProperty(o, "NTab", { enumerable: !0, get: function() {
|
|
1144
1141
|
return l(c).default;
|
|
1145
|
-
} }), Object.defineProperty(o, "
|
|
1146
|
-
return c.
|
|
1142
|
+
} }), Object.defineProperty(o, "tabProps", { enumerable: !0, get: function() {
|
|
1143
|
+
return c.tabProps;
|
|
1147
1144
|
} });
|
|
1148
1145
|
var b = ue;
|
|
1149
|
-
Object.defineProperty(o, "
|
|
1146
|
+
Object.defineProperty(o, "NTabPane", { enumerable: !0, get: function() {
|
|
1150
1147
|
return l(b).default;
|
|
1151
|
-
} }), Object.defineProperty(o, "
|
|
1152
|
-
return b.
|
|
1148
|
+
} }), Object.defineProperty(o, "tabPaneProps", { enumerable: !0, get: function() {
|
|
1149
|
+
return b.tabPaneProps;
|
|
1150
|
+
} });
|
|
1151
|
+
var f = Te;
|
|
1152
|
+
Object.defineProperty(o, "NTabs", { enumerable: !0, get: function() {
|
|
1153
|
+
return l(f).default;
|
|
1154
|
+
} }), Object.defineProperty(o, "tabsProps", { enumerable: !0, get: function() {
|
|
1155
|
+
return f.tabsProps;
|
|
1153
1156
|
} });
|
|
1154
|
-
})(
|
|
1155
|
-
const
|
|
1157
|
+
})(we);
|
|
1158
|
+
const Wt = /* @__PURE__ */ St({
|
|
1156
1159
|
__proto__: null
|
|
1157
|
-
}, [
|
|
1160
|
+
}, [we]);
|
|
1158
1161
|
export {
|
|
1159
|
-
|
|
1162
|
+
Wt as i
|
|
1160
1163
|
};
|