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