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,17 +1,17 @@
1
1
  import { c as K } from "./_commonjsHelpers-BVfed4GL.js";
2
+ import { r as Ne, c as Ke, a as Qe, b as $e, _ as Ce, e as Ae, i as io, p as so, f as Rt } from "./index-Bf7gu4Ub.js";
3
+ import { g as Mt, s as St, c as Pt, b as Tt, a as uo, _ as we, i as fo, h as ho, j as vo, r as Ot, e as Nt } from "./index-DUFhAGX3.js";
2
4
  import { r as fe } from "./_vue_commonjs-external-NwvjgbHK.js";
3
- import { s as Rt, b as Mt, c as St, g as Pt, a as io, _ as Ce, i as so, h as uo, e as Tt, j as fo, r as Ot } from "./index-gA02bxwJ.js";
4
- import { r as Ne, c as Ie, a as Qe, b as Ke, e as Ae, _ as we, i as ho, p as vo, f as Nt } from "./index-D1ZL6feZ.js";
5
5
  import { u as bo } from "./utils-BM69FtWE.js";
6
- import { f as mo } from "./fade-in-scale-up.cssr-BXjoIAAA.js";
7
- function go(e, l) {
8
- for (var o = 0; o < l.length; o++) {
9
- const c = l[o];
6
+ import { f as mo } from "./fade-in-scale-up.cssr-XJx96aae.js";
7
+ function go(e, i) {
8
+ for (var l = 0; l < i.length; l++) {
9
+ const c = i[l];
10
10
  if (typeof c != "string" && !Array.isArray(c)) {
11
11
  for (const a in c)
12
12
  if (a !== "default" && !(a in e)) {
13
- const i = Object.getOwnPropertyDescriptor(c, a);
14
- i && Object.defineProperty(e, a, i.get ? i : {
13
+ const o = Object.getOwnPropertyDescriptor(c, a);
14
+ o && Object.defineProperty(e, a, o.get ? o : {
15
15
  enumerable: !0,
16
16
  get: () => c[a]
17
17
  });
@@ -20,7 +20,7 @@ function go(e, l) {
20
20
  }
21
21
  return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
22
22
  }
23
- var $t = {}, jt = {}, Dt = {}, Xe = {}, Ee = {}, Ze = {}, $e = {}, et = {};
23
+ var jt = {}, Dt = {}, Ft = {}, Xe = {}, Ee = {}, Ze = {}, je = {}, et = {};
24
24
  Object.defineProperty(et, "__esModule", { value: !0 });
25
25
  et.default = {
26
26
  sizeSmall: "14px",
@@ -32,50 +32,50 @@ et.default = {
32
32
  var po = K && K.__importDefault || function(e) {
33
33
  return e && e.__esModule ? e : { default: e };
34
34
  };
35
- Object.defineProperty($e, "__esModule", { value: !0 });
36
- $e.self = Ft;
37
- const ko = Ne, yo = Ie, _o = po(et);
38
- function Ft(e) {
39
- const { baseColor: l, inputColorDisabled: o, cardColor: c, modalColor: a, popoverColor: i, textColorDisabled: k, borderColor: p, primaryColor: h, textColor2: y, fontSizeSmall: O, fontSizeMedium: z, fontSizeLarge: V, borderRadiusSmall: U, lineHeight: q } = e;
35
+ Object.defineProperty(je, "__esModule", { value: !0 });
36
+ je.self = Bt;
37
+ const ko = Ne, yo = Ke, _o = po(et);
38
+ function Bt(e) {
39
+ const { baseColor: i, inputColorDisabled: l, cardColor: c, modalColor: a, popoverColor: o, textColorDisabled: _, borderColor: b, primaryColor: y, textColor2: m, fontSizeSmall: O, fontSizeMedium: E, fontSizeLarge: V, borderRadiusSmall: U, lineHeight: q } = e;
40
40
  return Object.assign(Object.assign({}, _o.default), {
41
41
  labelLineHeight: q,
42
42
  fontSizeSmall: O,
43
- fontSizeMedium: z,
43
+ fontSizeMedium: E,
44
44
  fontSizeLarge: V,
45
45
  borderRadius: U,
46
- color: l,
47
- colorChecked: h,
48
- colorDisabled: o,
49
- colorDisabledChecked: o,
46
+ color: i,
47
+ colorChecked: y,
48
+ colorDisabled: l,
49
+ colorDisabledChecked: l,
50
50
  colorTableHeader: c,
51
51
  colorTableHeaderModal: a,
52
- colorTableHeaderPopover: i,
53
- checkMarkColor: l,
54
- checkMarkColorDisabled: k,
55
- checkMarkColorDisabledChecked: k,
56
- border: `1px solid ${p}`,
57
- borderDisabled: `1px solid ${p}`,
58
- borderDisabledChecked: `1px solid ${p}`,
59
- borderChecked: `1px solid ${h}`,
60
- borderFocus: `1px solid ${h}`,
61
- boxShadowFocus: `0 0 0 2px ${(0, ko.changeColor)(h, { alpha: 0.3 })}`,
62
- textColor: y,
63
- textColorDisabled: k
52
+ colorTableHeaderPopover: o,
53
+ checkMarkColor: i,
54
+ checkMarkColorDisabled: _,
55
+ checkMarkColorDisabledChecked: _,
56
+ border: `1px solid ${b}`,
57
+ borderDisabled: `1px solid ${b}`,
58
+ borderDisabledChecked: `1px solid ${b}`,
59
+ borderChecked: `1px solid ${y}`,
60
+ borderFocus: `1px solid ${y}`,
61
+ boxShadowFocus: `0 0 0 2px ${(0, ko.changeColor)(y, { alpha: 0.3 })}`,
62
+ textColor: m,
63
+ textColorDisabled: _
64
64
  });
65
65
  }
66
66
  const xo = {
67
67
  name: "Checkbox",
68
68
  common: yo.commonLight,
69
- self: Ft
69
+ self: Bt
70
70
  };
71
- $e.default = xo;
71
+ je.default = xo;
72
72
  Object.defineProperty(Ze, "__esModule", { value: !0 });
73
- const Co = Ie, wo = $e, Ro = {
73
+ const Co = Ke, wo = je, Ro = {
74
74
  name: "Checkbox",
75
75
  common: Co.commonDark,
76
76
  self(e) {
77
- const { cardColor: l } = e, o = (0, wo.self)(e);
78
- return o.color = "#0000", o.checkMarkColor = l, o;
77
+ const { cardColor: i } = e, l = (0, wo.self)(e);
78
+ return l.color = "#0000", l.checkMarkColor = i, l;
79
79
  }
80
80
  };
81
81
  Ze.default = Ro;
@@ -98,139 +98,92 @@ Ve.checkboxRtl = {
98
98
  style: So.default
99
99
  };
100
100
  (function(e) {
101
- var l = K && K.__importDefault || function(i) {
102
- return i && i.__esModule ? i : { default: i };
101
+ var i = K && K.__importDefault || function(o) {
102
+ return o && o.__esModule ? o : { default: o };
103
103
  };
104
104
  Object.defineProperty(e, "__esModule", { value: !0 }), e.checkboxRtl = e.checkboxLight = e.checkboxDark = void 0;
105
- var o = Ze;
105
+ var l = Ze;
106
106
  Object.defineProperty(e, "checkboxDark", { enumerable: !0, get: function() {
107
- return l(o).default;
107
+ return i(l).default;
108
108
  } });
109
- var c = $e;
109
+ var c = je;
110
110
  Object.defineProperty(e, "checkboxLight", { enumerable: !0, get: function() {
111
- return l(c).default;
111
+ return i(c).default;
112
112
  } });
113
113
  var a = Ve;
114
114
  Object.defineProperty(e, "checkboxRtl", { enumerable: !0, get: function() {
115
115
  return a.checkboxRtl;
116
116
  } });
117
117
  })(Ee);
118
- var je = {};
119
- Object.defineProperty(je, "__esModule", { value: !0 });
120
- je.self = Bt;
121
- const Po = Rt, To = Mt, Oo = St, No = Ee, $o = Ie, jo = Ke, Do = Pt;
122
- function Bt(e) {
123
- const { borderRadius: l, boxShadow2: o, popoverColor: c, textColor2: a, textColor3: i, primaryColor: k, textColorDisabled: p, dividerColor: h, hoverColor: y, fontSizeMedium: O, heightMedium: z } = e;
118
+ var De = {};
119
+ Object.defineProperty(De, "__esModule", { value: !0 });
120
+ De.self = zt;
121
+ const Po = St, To = Tt, Oo = Pt, No = $e, jo = Ke, Do = Ee, Fo = Mt;
122
+ function zt(e) {
123
+ const { borderRadius: i, boxShadow2: l, popoverColor: c, textColor2: a, textColor3: o, primaryColor: _, textColorDisabled: b, dividerColor: y, hoverColor: m, fontSizeMedium: O, heightMedium: E } = e;
124
124
  return {
125
- menuBorderRadius: l,
125
+ menuBorderRadius: i,
126
126
  menuColor: c,
127
- menuBoxShadow: o,
128
- menuDividerColor: h,
127
+ menuBoxShadow: l,
128
+ menuDividerColor: y,
129
129
  menuHeight: "calc(var(--n-option-height) * 6.6)",
130
- optionArrowColor: i,
131
- optionHeight: z,
130
+ optionArrowColor: o,
131
+ optionHeight: E,
132
132
  optionFontSize: O,
133
- optionColorHover: y,
133
+ optionColorHover: m,
134
134
  optionTextColor: a,
135
- optionTextColorActive: k,
136
- optionTextColorDisabled: p,
137
- optionCheckMarkColor: k,
138
- loadingColor: k,
135
+ optionTextColorActive: _,
136
+ optionTextColorDisabled: b,
137
+ optionCheckMarkColor: _,
138
+ loadingColor: _,
139
139
  columnWidth: "180px"
140
140
  };
141
141
  }
142
- const Fo = (0, jo.createTheme)({
142
+ const Bo = (0, No.createTheme)({
143
143
  name: "Cascader",
144
- common: $o.commonLight,
144
+ common: jo.commonLight,
145
145
  peers: {
146
146
  InternalSelectMenu: To.internalSelectMenuLight,
147
- InternalSelection: Po.internalSelectionLight,
148
- Scrollbar: Oo.scrollbarLight,
149
- Checkbox: No.checkboxLight,
150
- Empty: Do.emptyLight
147
+ InternalSelection: Oo.internalSelectionLight,
148
+ Scrollbar: Po.scrollbarLight,
149
+ Checkbox: Do.checkboxLight,
150
+ Empty: Fo.emptyLight
151
151
  },
152
- self: Bt
152
+ self: zt
153
153
  });
154
- je.default = Fo;
154
+ De.default = Bo;
155
155
  Object.defineProperty(Xe, "__esModule", { value: !0 });
156
- const Bo = Rt, zo = Mt, Lo = St, Io = Ee, Ko = Ie, Ao = Pt, Eo = je, Vo = {
156
+ const zo = St, Lo = Tt, Io = Pt, Ko = Ke, $o = Ee, Ao = Mt, Eo = De, Vo = {
157
157
  name: "Cascader",
158
158
  common: Ko.commonDark,
159
159
  peers: {
160
- InternalSelectMenu: zo.internalSelectMenuDark,
161
- InternalSelection: Bo.internalSelectionDark,
162
- Scrollbar: Lo.scrollbarDark,
163
- Checkbox: Io.checkboxDark,
160
+ InternalSelectMenu: Lo.internalSelectMenuDark,
161
+ InternalSelection: Io.internalSelectionDark,
162
+ Scrollbar: zo.scrollbarDark,
163
+ Checkbox: $o.checkboxDark,
164
164
  Empty: Ao.emptyLight
165
165
  },
166
166
  self: Eo.self
167
167
  };
168
168
  Xe.default = Vo;
169
169
  (function(e) {
170
- var l = K && K.__importDefault || function(a) {
170
+ var i = K && K.__importDefault || function(a) {
171
171
  return a && a.__esModule ? a : { default: a };
172
172
  };
173
173
  Object.defineProperty(e, "__esModule", { value: !0 }), e.cascaderLight = e.cascaderDark = void 0;
174
- var o = Xe;
174
+ var l = Xe;
175
175
  Object.defineProperty(e, "cascaderDark", { enumerable: !0, get: function() {
176
- return l(o).default;
176
+ return i(l).default;
177
177
  } });
178
- var c = je;
178
+ var c = De;
179
179
  Object.defineProperty(e, "cascaderLight", { enumerable: !0, get: function() {
180
- return l(c).default;
180
+ return i(c).default;
181
181
  } });
182
- })(Dt);
183
- var Re = {};
184
- Object.defineProperty(Re, "__esModule", { value: !0 });
185
- Re.getRawNodePath = Uo;
186
- Re.createSelectOptions = Ho;
187
- Re.getPathLabel = zt;
188
- function Uo(e) {
189
- return e ? e.map((l) => l.rawNode) : null;
190
- }
191
- function Ho(e, l, o, c) {
192
- const a = [], i = [];
193
- function k(p) {
194
- for (const h of p) {
195
- if (h.disabled)
196
- continue;
197
- const { rawNode: y } = h;
198
- i.push(y), (h.isLeaf || !l) && a.push({
199
- label: zt(h, c, o),
200
- value: h.key,
201
- rawNode: h.rawNode,
202
- path: Array.from(i)
203
- }), !h.isLeaf && h.children && k(h.children), i.pop();
204
- }
205
- }
206
- return k(e), a;
207
- }
208
- function zt(e, l, o) {
209
- const c = [];
210
- for (; e; )
211
- c.push(e.rawNode[o]), e = e.parent;
212
- return c.reverse().join(l);
213
- }
182
+ })(Ft);
214
183
  var ot = {}, nt = {}, rt = {}, Lt = {}, It = {}, lt = {};
215
- Object.defineProperty(lt, "__esModule", { value: !0 });
216
- const yt = fe;
217
- lt.default = (0, yt.h)(
218
- "svg",
219
- { viewBox: "0 0 64 64", class: "check-icon" },
220
- (0, yt.h)("path", { d: "M50.42,16.76L22.34,39.45l-8.1-11.46c-1.12-1.58-3.3-1.96-4.88-0.84c-1.58,1.12-1.95,3.3-0.84,4.88l10.26,14.51 c0.56,0.79,1.42,1.31,2.38,1.45c0.16,0.02,0.32,0.03,0.48,0.03c0.8,0,1.57-0.27,2.2-0.78l30.99-25.03c1.5-1.21,1.74-3.42,0.52-4.92 C54.13,15.78,51.93,15.55,50.42,16.76z" })
221
- );
222
- var at = {};
223
- Object.defineProperty(at, "__esModule", { value: !0 });
224
- const _t = fe;
225
- at.default = (0, _t.h)(
226
- "svg",
227
- { viewBox: "0 0 100 100", class: "line-icon" },
228
- (0, _t.h)("path", { d: "M80.2,55.5H21.4c-2.8,0-5.1-2.5-5.1-5.5l0,0c0-3,2.3-5.5,5.1-5.5h58.7c2.8,0,5.1,2.5,5.1,5.5l0,0C85.2,53.1,82.9,55.5,80.2,55.5z" })
229
- );
230
- var ct = {};
231
184
  (function(e) {
232
185
  Object.defineProperty(e, "__esModule", { value: !0 }), e.checkboxGroupProps = e.checkboxGroupInjectionKey = void 0;
233
- const l = fe, o = Ae, c = Ke, a = we;
186
+ const i = Ae, l = fe, c = $e, a = Ce;
234
187
  e.checkboxGroupInjectionKey = (0, a.createInjectionKey)("n-checkbox-group"), e.checkboxGroupProps = {
235
188
  min: Number,
236
189
  max: Number,
@@ -251,39 +204,39 @@ var ct = {};
251
204
  }, e.default = (0, l.defineComponent)({
252
205
  name: "CheckboxGroup",
253
206
  props: e.checkboxGroupProps,
254
- setup(i) {
207
+ setup(o) {
255
208
  process.env.NODE_ENV !== "production" && (0, l.watchEffect)(() => {
256
- i.onChange !== void 0 && (0, a.warnOnce)("checkbox-group", "`on-change` is deprecated, please use `on-update:value` instead.");
209
+ o.onChange !== void 0 && (0, a.warnOnce)("checkbox-group", "`on-change` is deprecated, please use `on-update:value` instead.");
257
210
  });
258
- const { mergedClsPrefixRef: k } = (0, c.useConfig)(i), p = (0, c.useFormItem)(i), { mergedSizeRef: h, mergedDisabledRef: y } = p, O = (0, l.ref)(i.defaultValue), z = (0, l.computed)(() => i.value), V = (0, o.useMergedState)(z, O), U = (0, l.computed)(() => {
211
+ const { mergedClsPrefixRef: _ } = (0, c.useConfig)(o), b = (0, c.useFormItem)(o), { mergedSizeRef: y, mergedDisabledRef: m } = b, O = (0, l.ref)(o.defaultValue), E = (0, l.computed)(() => o.value), V = (0, i.useMergedState)(E, O), U = (0, l.computed)(() => {
259
212
  var n;
260
213
  return ((n = V.value) === null || n === void 0 ? void 0 : n.length) || 0;
261
214
  }), q = (0, l.computed)(() => Array.isArray(V.value) ? new Set(V.value) : /* @__PURE__ */ new Set());
262
- function _(n, s) {
263
- const { nTriggerFormInput: d, nTriggerFormChange: T } = p, { onChange: R, "onUpdate:value": L, onUpdateValue: $ } = i;
215
+ function p(n, s) {
216
+ const { nTriggerFormInput: d, nTriggerFormChange: T } = b, { onChange: R, "onUpdate:value": L, onUpdateValue: j } = o;
264
217
  if (Array.isArray(V.value)) {
265
- const j = Array.from(V.value), M = j.findIndex((X) => X === s);
266
- n ? ~M || (j.push(s), $ && (0, a.call)($, j, {
218
+ const D = Array.from(V.value), M = D.findIndex((X) => X === s);
219
+ n ? ~M || (D.push(s), j && (0, a.call)(j, D, {
267
220
  actionType: "check",
268
221
  value: s
269
- }), L && (0, a.call)(L, j, {
222
+ }), L && (0, a.call)(L, D, {
270
223
  actionType: "check",
271
224
  value: s
272
- }), d(), T(), O.value = j, R && (0, a.call)(R, j)) : ~M && (j.splice(M, 1), $ && (0, a.call)($, j, {
225
+ }), d(), T(), O.value = D, R && (0, a.call)(R, D)) : ~M && (D.splice(M, 1), j && (0, a.call)(j, D, {
273
226
  actionType: "uncheck",
274
227
  value: s
275
- }), L && (0, a.call)(L, j, {
228
+ }), L && (0, a.call)(L, D, {
276
229
  actionType: "uncheck",
277
230
  value: s
278
- }), R && (0, a.call)(R, j), O.value = j, d(), T());
231
+ }), R && (0, a.call)(R, D), O.value = D, d(), T());
279
232
  } else
280
- n ? ($ && (0, a.call)($, [s], {
233
+ n ? (j && (0, a.call)(j, [s], {
281
234
  actionType: "check",
282
235
  value: s
283
236
  }), L && (0, a.call)(L, [s], {
284
237
  actionType: "check",
285
238
  value: s
286
- }), R && (0, a.call)(R, [s]), O.value = [s], d(), T()) : ($ && (0, a.call)($, [], {
239
+ }), R && (0, a.call)(R, [s]), O.value = [s], d(), T()) : (j && (0, a.call)(j, [], {
287
240
  actionType: "uncheck",
288
241
  value: s
289
242
  }), L && (0, a.call)(L, [], {
@@ -293,26 +246,42 @@ var ct = {};
293
246
  }
294
247
  return (0, l.provide)(e.checkboxGroupInjectionKey, {
295
248
  checkedCountRef: U,
296
- maxRef: (0, l.toRef)(i, "max"),
297
- minRef: (0, l.toRef)(i, "min"),
249
+ maxRef: (0, l.toRef)(o, "max"),
250
+ minRef: (0, l.toRef)(o, "min"),
298
251
  valueSetRef: q,
299
- disabledRef: y,
300
- mergedSizeRef: h,
301
- toggleCheckbox: _
252
+ disabledRef: m,
253
+ mergedSizeRef: y,
254
+ toggleCheckbox: p
302
255
  }), {
303
- mergedClsPrefix: k
256
+ mergedClsPrefix: _
304
257
  };
305
258
  },
306
259
  render() {
307
260
  return (0, l.h)("div", { class: `${this.mergedClsPrefix}-checkbox-group`, role: "group" }, this.$slots);
308
261
  }
309
262
  });
310
- })(ct);
263
+ })(lt);
264
+ var at = {};
265
+ Object.defineProperty(at, "__esModule", { value: !0 });
266
+ const yt = fe;
267
+ at.default = () => (0, yt.h)(
268
+ "svg",
269
+ { viewBox: "0 0 64 64", class: "check-icon" },
270
+ (0, yt.h)("path", { d: "M50.42,16.76L22.34,39.45l-8.1-11.46c-1.12-1.58-3.3-1.96-4.88-0.84c-1.58,1.12-1.95,3.3-0.84,4.88l10.26,14.51 c0.56,0.79,1.42,1.31,2.38,1.45c0.16,0.02,0.32,0.03,0.48,0.03c0.8,0,1.57-0.27,2.2-0.78l30.99-25.03c1.5-1.21,1.74-3.42,0.52-4.92 C54.13,15.78,51.93,15.55,50.42,16.76z" })
271
+ );
272
+ var ct = {};
273
+ Object.defineProperty(ct, "__esModule", { value: !0 });
274
+ const _t = fe;
275
+ ct.default = () => (0, _t.h)(
276
+ "svg",
277
+ { viewBox: "0 0 100 100", class: "line-icon" },
278
+ (0, _t.h)("path", { d: "M80.2,55.5H21.4c-2.8,0-5.1-2.5-5.1-5.5l0,0c0-3,2.3-5.5,5.1-5.5h58.7c2.8,0,5.1,2.5,5.1,5.5l0,0C85.2,53.1,82.9,55.5,80.2,55.5z" })
279
+ );
311
280
  var it = {};
312
281
  Object.defineProperty(it, "__esModule", {
313
282
  value: !0
314
283
  });
315
- const u = Qe, qo = io;
284
+ const Uo = uo, u = Qe;
316
285
  it.default = (0, u.c)([
317
286
  (0, u.cB)("checkbox", `
318
287
  font-size: var(--n-font-size);
@@ -418,7 +387,7 @@ it.default = (0, u.c)([
418
387
  transform 0.3s var(--n-bezier),
419
388
  opacity 0.3s var(--n-bezier),
420
389
  border-color 0.3s var(--n-bezier);
421
- `), (0, qo.iconSwitchTransition)({
390
+ `), (0, Uo.iconSwitchTransition)({
422
391
  left: "1px",
423
392
  top: "1px"
424
393
  })])]), (0, u.cE)("label", `
@@ -441,12 +410,12 @@ it.default = (0, u.c)([
441
410
  `))
442
411
  ]);
443
412
  (function(e) {
444
- var l = K && K.__importDefault || function(_) {
445
- return _ && _.__esModule ? _ : { default: _ };
413
+ var i = K && K.__importDefault || function(p) {
414
+ return p && p.__esModule ? p : { default: p };
446
415
  };
447
416
  Object.defineProperty(e, "__esModule", { value: !0 }), e.checkboxProps = void 0;
448
- const o = fe, c = Ae, a = Ne, i = ho, k = Ke, p = Ce, h = we, y = Ee, O = vo, z = l(lt), V = l(at), U = ct, q = l(it);
449
- e.checkboxProps = Object.assign(Object.assign({}, k.useTheme.props), {
417
+ const l = io, c = Ne, a = Ae, o = fe, _ = we, b = $e, y = so, m = Ce, O = Ee, E = lt, V = i(at), U = i(ct), q = i(it);
418
+ e.checkboxProps = Object.assign(Object.assign({}, b.useTheme.props), {
450
419
  size: String,
451
420
  checked: {
452
421
  type: [Boolean, String, Number],
@@ -484,42 +453,42 @@ it.default = (0, u.c)([
484
453
  }), e.default = (0, o.defineComponent)({
485
454
  name: "Checkbox",
486
455
  props: e.checkboxProps,
487
- setup(_) {
456
+ setup(p) {
488
457
  process.env.NODE_ENV !== "production" && (0, o.watchEffect)(() => {
489
- _.onChange && (0, h.warnOnce)("checkbox", "`on-change` is deprecated, please use `on-update:checked` instead.");
458
+ p.onChange && (0, m.warnOnce)("checkbox", "`on-change` is deprecated, please use `on-update:checked` instead.");
490
459
  });
491
- const n = (0, o.inject)(U.checkboxGroupInjectionKey, null), s = (0, o.ref)(null), { mergedClsPrefixRef: d, inlineThemeDisabled: T, mergedRtlRef: R } = (0, k.useConfig)(_), L = (0, o.ref)(_.defaultChecked), $ = (0, o.toRef)(_, "checked"), j = (0, c.useMergedState)($, L), M = (0, c.useMemo)(() => {
460
+ const n = (0, o.inject)(E.checkboxGroupInjectionKey, null), s = (0, o.ref)(null), { mergedClsPrefixRef: d, inlineThemeDisabled: T, mergedRtlRef: R } = (0, b.useConfig)(p), L = (0, o.ref)(p.defaultChecked), j = (0, o.toRef)(p, "checked"), D = (0, a.useMergedState)(j, L), M = (0, a.useMemo)(() => {
492
461
  if (n) {
493
462
  const f = n.valueSetRef.value;
494
- return f && _.value !== void 0 ? f.has(_.value) : !1;
463
+ return f && p.value !== void 0 ? f.has(p.value) : !1;
495
464
  } else
496
- return j.value === _.checkedValue;
497
- }), X = (0, k.useFormItem)(_, {
465
+ return D.value === p.checkedValue;
466
+ }), X = (0, b.useFormItem)(p, {
498
467
  mergedSize(f) {
499
- const { size: A } = _;
500
- if (A !== void 0)
501
- return A;
468
+ const { size: $ } = p;
469
+ if ($ !== void 0)
470
+ return $;
502
471
  if (n) {
503
- const { value: E } = n.mergedSizeRef;
504
- if (E !== void 0)
505
- return E;
472
+ const { value: A } = n.mergedSizeRef;
473
+ if (A !== void 0)
474
+ return A;
506
475
  }
507
476
  if (f) {
508
- const { mergedSize: E } = f;
509
- if (E !== void 0)
510
- return E.value;
477
+ const { mergedSize: A } = f;
478
+ if (A !== void 0)
479
+ return A.value;
511
480
  }
512
481
  return "medium";
513
482
  },
514
483
  mergedDisabled(f) {
515
- const { disabled: A } = _;
516
- if (A !== void 0)
517
- return A;
484
+ const { disabled: $ } = p;
485
+ if ($ !== void 0)
486
+ return $;
518
487
  if (n) {
519
488
  if (n.disabledRef.value)
520
489
  return !0;
521
- const { maxRef: { value: E }, checkedCountRef: ee } = n;
522
- if (E !== void 0 && ee.value >= E && !M.value)
490
+ const { maxRef: { value: A }, checkedCountRef: ee } = n;
491
+ if (A !== void 0 && ee.value >= A && !M.value)
523
492
  return !0;
524
493
  const { minRef: { value: te } } = n;
525
494
  if (te !== void 0 && ee.value <= te && M.value)
@@ -527,20 +496,20 @@ it.default = (0, u.c)([
527
496
  }
528
497
  return f ? f.disabled.value : !1;
529
498
  }
530
- }), { mergedDisabledRef: v, mergedSizeRef: x } = X, N = (0, k.useTheme)("Checkbox", "-checkbox", q.default, y.checkboxLight, _, d);
499
+ }), { mergedDisabledRef: h, mergedSizeRef: x } = X, N = (0, b.useTheme)("Checkbox", "-checkbox", q.default, O.checkboxLight, p, d);
531
500
  function W(f) {
532
- if (n && _.value !== void 0)
533
- n.toggleCheckbox(!M.value, _.value);
501
+ if (n && p.value !== void 0)
502
+ n.toggleCheckbox(!M.value, p.value);
534
503
  else {
535
- const { onChange: A, "onUpdate:checked": E, onUpdateChecked: ee } = _, { nTriggerFormInput: te, nTriggerFormChange: oe } = X, ne = M.value ? _.uncheckedValue : _.checkedValue;
536
- E && (0, h.call)(E, ne, f), ee && (0, h.call)(ee, ne, f), A && (0, h.call)(A, ne, f), te(), oe(), L.value = ne;
504
+ const { onChange: $, "onUpdate:checked": A, onUpdateChecked: ee } = p, { nTriggerFormInput: te, nTriggerFormChange: oe } = X, ne = M.value ? p.uncheckedValue : p.checkedValue;
505
+ A && (0, m.call)(A, ne, f), ee && (0, m.call)(ee, ne, f), $ && (0, m.call)($, ne, f), te(), oe(), L.value = ne;
537
506
  }
538
507
  }
539
508
  function Z(f) {
540
- v.value || W(f);
509
+ h.value || W(f);
541
510
  }
542
511
  function le(f) {
543
- if (!v.value)
512
+ if (!h.value)
544
513
  switch (f.key) {
545
514
  case " ":
546
515
  case "Enter":
@@ -562,20 +531,20 @@ it.default = (0, u.c)([
562
531
  var f;
563
532
  (f = s.value) === null || f === void 0 || f.blur();
564
533
  }
565
- }, se = (0, O.useRtl)("Checkbox", R, d), J = (0, o.computed)(() => {
566
- const { value: f } = x, { common: { cubicBezierEaseInOut: A }, self: { borderRadius: E, color: ee, colorChecked: te, colorDisabled: oe, colorTableHeader: ne, colorTableHeaderModal: he, colorTableHeaderPopover: P, checkMarkColor: G, checkMarkColorDisabled: ve, border: be, borderFocus: ae, borderDisabled: Me, borderChecked: ce, boxShadowFocus: De, textColor: Fe, textColorDisabled: de, checkMarkColorDisabledChecked: me, colorDisabledChecked: pe, borderDisabledChecked: Se, labelPadding: Be, labelLineHeight: Pe, labelFontWeight: Ue, [(0, h.createKey)("fontSize", f)]: He, [(0, h.createKey)("size", f)]: qe } } = N.value;
534
+ }, se = (0, y.useRtl)("Checkbox", R, d), J = (0, o.computed)(() => {
535
+ const { value: f } = x, { common: { cubicBezierEaseInOut: $ }, self: { borderRadius: A, color: ee, colorChecked: te, colorDisabled: oe, colorTableHeader: ne, colorTableHeaderModal: he, colorTableHeaderPopover: P, checkMarkColor: G, checkMarkColorDisabled: ve, border: be, borderFocus: ae, borderDisabled: Me, borderChecked: ce, boxShadowFocus: Fe, textColor: Be, textColorDisabled: de, checkMarkColorDisabledChecked: me, colorDisabledChecked: pe, borderDisabledChecked: Se, labelPadding: ze, labelLineHeight: Pe, labelFontWeight: Ue, [(0, m.createKey)("fontSize", f)]: He, [(0, m.createKey)("size", f)]: qe } } = N.value;
567
536
  return {
568
537
  "--n-label-line-height": Pe,
569
538
  "--n-label-font-weight": Ue,
570
539
  "--n-size": qe,
571
- "--n-bezier": A,
572
- "--n-border-radius": E,
540
+ "--n-bezier": $,
541
+ "--n-border-radius": A,
573
542
  "--n-border": be,
574
543
  "--n-border-checked": ce,
575
544
  "--n-border-focus": ae,
576
545
  "--n-border-disabled": Me,
577
546
  "--n-border-disabled-checked": Se,
578
- "--n-box-shadow-focus": De,
547
+ "--n-box-shadow-focus": Fe,
579
548
  "--n-color": ee,
580
549
  "--n-color-checked": te,
581
550
  "--n-color-table": ne,
@@ -583,23 +552,23 @@ it.default = (0, u.c)([
583
552
  "--n-color-table-popover": P,
584
553
  "--n-color-disabled": oe,
585
554
  "--n-color-disabled-checked": pe,
586
- "--n-text-color": Fe,
555
+ "--n-text-color": Be,
587
556
  "--n-text-color-disabled": de,
588
557
  "--n-check-mark-color": G,
589
558
  "--n-check-mark-color-disabled": ve,
590
559
  "--n-check-mark-color-disabled-checked": me,
591
560
  "--n-font-size": He,
592
- "--n-label-padding": Be
561
+ "--n-label-padding": ze
593
562
  };
594
- }), I = T ? (0, k.useThemeClass)("checkbox", (0, o.computed)(() => x.value[0]), J, _) : void 0;
563
+ }), I = T ? (0, b.useThemeClass)("checkbox", (0, o.computed)(() => x.value[0]), J, p) : void 0;
595
564
  return Object.assign(X, Y, {
596
565
  rtlEnabled: se,
597
566
  selfRef: s,
598
567
  mergedClsPrefix: d,
599
- mergedDisabled: v,
568
+ mergedDisabled: h,
600
569
  renderedChecked: M,
601
570
  mergedTheme: N,
602
- labelId: (0, a.createId)(),
571
+ labelId: (0, c.createId)(),
603
572
  handleClick: Z,
604
573
  handleKeyUp: le,
605
574
  handleKeyDown: ye,
@@ -609,10 +578,10 @@ it.default = (0, u.c)([
609
578
  });
610
579
  },
611
580
  render() {
612
- var _;
613
- const { $slots: n, renderedChecked: s, mergedDisabled: d, indeterminate: T, privateInsideTable: R, cssVars: L, labelId: $, label: j, mergedClsPrefix: M, focusable: X, handleKeyUp: v, handleKeyDown: x, handleClick: N } = this;
614
- (_ = this.onRender) === null || _ === void 0 || _.call(this);
615
- const W = (0, h.resolveWrappedSlot)(n.default, (Z) => j || Z ? (0, o.h)("span", { class: `${M}-checkbox__label`, id: $ }, j || Z) : null);
581
+ var p;
582
+ const { $slots: n, renderedChecked: s, mergedDisabled: d, indeterminate: T, privateInsideTable: R, cssVars: L, labelId: j, label: D, mergedClsPrefix: M, focusable: X, handleKeyUp: h, handleKeyDown: x, handleClick: N } = this;
583
+ (p = this.onRender) === null || p === void 0 || p.call(this);
584
+ const W = (0, m.resolveWrappedSlot)(n.default, (Z) => D || Z ? (0, o.h)("span", { class: `${M}-checkbox__label`, id: j }, D || Z) : null);
616
585
  return (0, o.h)(
617
586
  "div",
618
587
  { ref: "selfRef", class: [
@@ -624,8 +593,8 @@ it.default = (0, u.c)([
624
593
  T && `${M}-checkbox--indeterminate`,
625
594
  R && `${M}-checkbox--inside-table`,
626
595
  W && `${M}-checkbox--show-label`
627
- ], tabindex: d || !X ? void 0 : 0, role: "checkbox", "aria-checked": T ? "mixed" : s, "aria-labelledby": $, style: L, onKeyup: v, onKeydown: x, onClick: N, onMousedown: () => {
628
- (0, i.on)("selectstart", window, (Z) => {
596
+ ], tabindex: d || !X ? void 0 : 0, role: "checkbox", "aria-checked": T ? "mixed" : s, "aria-labelledby": j, style: L, onKeyup: h, onKeydown: x, onClick: N, onMousedown: () => {
597
+ (0, l.on)("selectstart", window, (Z) => {
629
598
  Z.preventDefault();
630
599
  }, {
631
600
  once: !0
@@ -638,8 +607,8 @@ it.default = (0, u.c)([
638
607
  (0, o.h)(
639
608
  "div",
640
609
  { class: `${M}-checkbox-box` },
641
- (0, o.h)(p.NIconSwitchTransition, null, {
642
- default: () => this.indeterminate ? (0, o.h)("div", { key: "indeterminate", class: `${M}-checkbox-icon` }, V.default) : (0, o.h)("div", { key: "check", class: `${M}-checkbox-icon` }, z.default)
610
+ (0, o.h)(_.NIconSwitchTransition, null, {
611
+ default: () => this.indeterminate ? (0, o.h)("div", { key: "indeterminate", class: `${M}-checkbox-icon` }, (0, U.default)()) : (0, o.h)("div", { key: "check", class: `${M}-checkbox-icon` }, (0, V.default)())
643
612
  }),
644
613
  (0, o.h)("div", { class: `${M}-checkbox-box__border` })
645
614
  )
@@ -650,31 +619,31 @@ it.default = (0, u.c)([
650
619
  });
651
620
  })(It);
652
621
  (function(e) {
653
- var l = K && K.__importDefault || function(a) {
622
+ var i = K && K.__importDefault || function(a) {
654
623
  return a && a.__esModule ? a : { default: a };
655
624
  };
656
- Object.defineProperty(e, "__esModule", { value: !0 }), e.checkboxGroupProps = e.NCheckboxGroup = e.checkboxProps = e.NCheckbox = void 0;
657
- var o = It;
658
- Object.defineProperty(e, "NCheckbox", { enumerable: !0, get: function() {
659
- return l(o).default;
660
- } }), Object.defineProperty(e, "checkboxProps", { enumerable: !0, get: function() {
661
- return o.checkboxProps;
625
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.NCheckboxGroup = e.checkboxGroupProps = e.NCheckbox = e.checkboxProps = void 0;
626
+ var l = It;
627
+ Object.defineProperty(e, "checkboxProps", { enumerable: !0, get: function() {
628
+ return l.checkboxProps;
629
+ } }), Object.defineProperty(e, "NCheckbox", { enumerable: !0, get: function() {
630
+ return i(l).default;
662
631
  } });
663
- var c = ct;
664
- Object.defineProperty(e, "NCheckboxGroup", { enumerable: !0, get: function() {
665
- return l(c).default;
666
- } }), Object.defineProperty(e, "checkboxGroupProps", { enumerable: !0, get: function() {
632
+ var c = lt;
633
+ Object.defineProperty(e, "checkboxGroupProps", { enumerable: !0, get: function() {
667
634
  return c.checkboxGroupProps;
635
+ } }), Object.defineProperty(e, "NCheckboxGroup", { enumerable: !0, get: function() {
636
+ return i(c).default;
668
637
  } });
669
638
  })(Lt);
670
639
  var ge = {};
671
640
  Object.defineProperty(ge, "__esModule", { value: !0 });
672
641
  ge.cascaderInjectionKey = void 0;
673
- const Go = we;
674
- ge.cascaderInjectionKey = (0, Go.createInjectionKey)("n-cascader");
642
+ const Ho = Ce;
643
+ ge.cascaderInjectionKey = (0, Ho.createInjectionKey)("n-cascader");
675
644
  Object.defineProperty(rt, "__esModule", { value: !0 });
676
- const B = fe, Oe = Ae, Wo = Ne, Yo = Lt, Ye = Ce, xt = so, Jo = ge;
677
- rt.default = (0, B.defineComponent)({
645
+ const qo = Ne, Oe = Ae, z = fe, Ye = we, xt = fo, Go = Lt, Wo = ge;
646
+ rt.default = (0, z.defineComponent)({
678
647
  name: "NCascaderOption",
679
648
  props: {
680
649
  tmNode: {
@@ -683,30 +652,30 @@ rt.default = (0, B.defineComponent)({
683
652
  }
684
653
  },
685
654
  setup(e) {
686
- const { expandTriggerRef: l, remoteRef: o, multipleRef: c, mergedValueRef: a, checkedKeysRef: i, indeterminateKeysRef: k, hoverKeyPathRef: p, keyboardKeyRef: h, loadingKeySetRef: y, cascadeRef: O, mergedCheckStrategyRef: z, onLoadRef: V, mergedClsPrefixRef: U, mergedThemeRef: q, labelFieldRef: _, showCheckboxRef: n, renderPrefixRef: s, renderSuffixRef: d, updateHoverKey: T, updateKeyboardKey: R, addLoadingKey: L, deleteLoadingKey: $, closeMenu: j, doCheck: M, doUncheck: X, renderLabelRef: v } = (0, B.inject)(Jo.cascaderInjectionKey), x = (0, B.computed)(() => e.tmNode.key), N = (0, B.computed)(() => {
687
- const { value: P } = l, { value: G } = o;
655
+ const { expandTriggerRef: i, remoteRef: l, multipleRef: c, mergedValueRef: a, checkedKeysRef: o, indeterminateKeysRef: _, hoverKeyPathRef: b, keyboardKeyRef: y, loadingKeySetRef: m, cascadeRef: O, mergedCheckStrategyRef: E, onLoadRef: V, mergedClsPrefixRef: U, mergedThemeRef: q, labelFieldRef: p, showCheckboxRef: n, renderPrefixRef: s, renderSuffixRef: d, updateHoverKey: T, updateKeyboardKey: R, addLoadingKey: L, deleteLoadingKey: j, closeMenu: D, doCheck: M, doUncheck: X, renderLabelRef: h } = (0, z.inject)(Wo.cascaderInjectionKey), x = (0, z.computed)(() => e.tmNode.key), N = (0, z.computed)(() => {
656
+ const { value: P } = i, { value: G } = l;
688
657
  return !G && P === "hover";
689
- }), W = (0, B.computed)(() => {
658
+ }), W = (0, z.computed)(() => {
690
659
  if (N.value)
691
660
  return te;
692
- }), Z = (0, B.computed)(() => {
661
+ }), Z = (0, z.computed)(() => {
693
662
  if (N.value)
694
663
  return oe;
695
664
  }), le = (0, Oe.useMemo)(() => {
696
665
  const { value: P } = c;
697
- return P ? i.value.includes(x.value) : a.value === x.value;
698
- }), ye = (0, Oe.useMemo)(() => c.value ? k.value.includes(x.value) : !1), Y = (0, Oe.useMemo)(() => p.value.includes(x.value)), se = (0, Oe.useMemo)(() => {
699
- const { value: P } = h;
666
+ return P ? o.value.includes(x.value) : a.value === x.value;
667
+ }), ye = (0, Oe.useMemo)(() => c.value ? _.value.includes(x.value) : !1), Y = (0, Oe.useMemo)(() => b.value.includes(x.value)), se = (0, Oe.useMemo)(() => {
668
+ const { value: P } = y;
700
669
  return P === null ? !1 : P === x.value;
701
- }), J = (0, Oe.useMemo)(() => o.value ? y.value.has(x.value) : !1), I = (0, B.computed)(() => e.tmNode.isLeaf), f = (0, B.computed)(() => e.tmNode.disabled), A = (0, B.computed)(() => e.tmNode.rawNode[_.value]), E = (0, B.computed)(() => e.tmNode.shallowLoaded);
670
+ }), J = (0, Oe.useMemo)(() => l.value ? m.value.has(x.value) : !1), I = (0, z.computed)(() => e.tmNode.isLeaf), f = (0, z.computed)(() => e.tmNode.disabled), $ = (0, z.computed)(() => e.tmNode.rawNode[p.value]), A = (0, z.computed)(() => e.tmNode.shallowLoaded);
702
671
  function ee(P) {
703
672
  if (f.value)
704
673
  return;
705
- const { value: G } = o, { value: ve } = y, { value: be } = V, { value: ae } = x, { value: Me } = I, { value: ce } = E;
706
- (0, Wo.happensIn)(P, "checkbox") || (G && !ce && !ve.has(ae) && be && (L(ae), be(e.tmNode.rawNode).then(() => {
707
- $(ae);
674
+ const { value: G } = l, { value: ve } = m, { value: be } = V, { value: ae } = x, { value: Me } = I, { value: ce } = A;
675
+ (0, qo.happensIn)(P, "checkbox") || (G && !ce && !ve.has(ae) && be && (L(ae), be(e.tmNode.rawNode).then(() => {
676
+ j(ae);
708
677
  }).catch(() => {
709
- $(ae);
678
+ j(ae);
710
679
  })), T(ae), R(ae)), Me && he();
711
680
  }
712
681
  function te() {
@@ -724,10 +693,10 @@ rt.default = (0, B.defineComponent)({
724
693
  }
725
694
  function he() {
726
695
  const { value: P } = c, { value: G } = x;
727
- P ? ye.value || le.value ? X(G) : M(G) : (M(G), j(!0));
696
+ P ? ye.value || le.value ? X(G) : M(G) : (M(G), D(!0));
728
697
  }
729
698
  return {
730
- checkStrategy: z,
699
+ checkStrategy: E,
731
700
  multiple: c,
732
701
  cascade: O,
733
702
  checked: le,
@@ -738,42 +707,42 @@ rt.default = (0, B.defineComponent)({
738
707
  showCheckbox: n,
739
708
  isLeaf: I,
740
709
  disabled: f,
741
- label: A,
710
+ label: $,
742
711
  mergedClsPrefix: U,
743
712
  mergedTheme: q,
744
713
  handleClick: ee,
745
714
  handleCheckboxUpdateValue: ne,
746
715
  mergedHandleMouseEnter: W,
747
716
  mergedHandleMouseMove: Z,
748
- renderLabel: v,
717
+ renderLabel: h,
749
718
  renderPrefix: s,
750
719
  renderSuffix: d
751
720
  };
752
721
  },
753
722
  render() {
754
- const { mergedClsPrefix: e, showCheckbox: l, renderLabel: o, renderPrefix: c, renderSuffix: a } = this;
755
- let i = null;
756
- if (l || c) {
757
- const h = this.showCheckbox ? (0, B.h)(Yo.NCheckbox, { focusable: !1, "data-checkbox": !0, disabled: this.disabled, checked: this.checked, indeterminate: this.indeterminate, theme: this.mergedTheme.peers.Checkbox, themeOverrides: this.mergedTheme.peerOverrides.Checkbox, onUpdateChecked: this.handleCheckboxUpdateValue }) : null;
758
- i = (0, B.h)("div", { class: `${e}-cascader-option__prefix` }, c ? c({
723
+ const { mergedClsPrefix: e, showCheckbox: i, renderLabel: l, renderPrefix: c, renderSuffix: a } = this;
724
+ let o = null;
725
+ if (i || c) {
726
+ const y = this.showCheckbox ? (0, z.h)(Go.NCheckbox, { focusable: !1, "data-checkbox": !0, disabled: this.disabled, checked: this.checked, indeterminate: this.indeterminate, theme: this.mergedTheme.peers.Checkbox, themeOverrides: this.mergedTheme.peerOverrides.Checkbox, onUpdateChecked: this.handleCheckboxUpdateValue }) : null;
727
+ o = (0, z.h)("div", { class: `${e}-cascader-option__prefix` }, c ? c({
759
728
  option: this.tmNode.rawNode,
760
729
  checked: this.checked,
761
- node: h
762
- }) : h);
730
+ node: y
731
+ }) : y);
763
732
  }
764
- let k = null;
765
- const p = (0, B.h)("div", { class: `${e}-cascader-option-icon-placeholder` }, this.isLeaf ? this.checkStrategy === "child" && !(this.multiple && this.cascade) ? (0, B.h)(B.Transition, { name: "fade-in-scale-up-transition" }, {
766
- default: () => this.checked ? (0, B.h)(Ye.NBaseIcon, { clsPrefix: e, class: `${e}-cascader-option-icon ${e}-cascader-option-icon--checkmark` }, { default: () => (0, B.h)(xt.CheckmarkIcon, null) }) : null
767
- }) : null : (0, B.h)(Ye.NBaseLoading, { clsPrefix: e, scale: 0.85, strokeWidth: 24, show: this.isLoading, class: `${e}-cascader-option-icon` }, {
768
- default: () => (0, B.h)(Ye.NBaseIcon, { clsPrefix: e, key: "arrow", class: `${e}-cascader-option-icon ${e}-cascader-option-icon--arrow` }, {
769
- default: () => (0, B.h)(xt.ChevronRightIcon, null)
733
+ let _ = null;
734
+ const b = (0, z.h)("div", { class: `${e}-cascader-option-icon-placeholder` }, this.isLeaf ? this.checkStrategy === "child" && !(this.multiple && this.cascade) ? (0, z.h)(z.Transition, { name: "fade-in-scale-up-transition" }, {
735
+ default: () => this.checked ? (0, z.h)(Ye.NBaseIcon, { clsPrefix: e, class: `${e}-cascader-option-icon ${e}-cascader-option-icon--checkmark` }, { default: () => (0, z.h)(xt.CheckmarkIcon, null) }) : null
736
+ }) : null : (0, z.h)(Ye.NBaseLoading, { clsPrefix: e, scale: 0.85, strokeWidth: 24, show: this.isLoading, class: `${e}-cascader-option-icon` }, {
737
+ default: () => (0, z.h)(Ye.NBaseIcon, { clsPrefix: e, key: "arrow", class: `${e}-cascader-option-icon ${e}-cascader-option-icon--arrow` }, {
738
+ default: () => (0, z.h)(xt.ChevronRightIcon, null)
770
739
  })
771
740
  }));
772
- return k = (0, B.h)("div", { class: `${e}-cascader-option__suffix` }, a ? a({
741
+ return _ = (0, z.h)("div", { class: `${e}-cascader-option__suffix` }, a ? a({
773
742
  option: this.tmNode.rawNode,
774
743
  checked: this.checked,
775
- node: p
776
- }) : p), (0, B.h)(
744
+ node: b
745
+ }) : b), (0, z.h)(
777
746
  "div",
778
747
  { class: [
779
748
  `${e}-cascader-option`,
@@ -781,17 +750,17 @@ rt.default = (0, B.defineComponent)({
781
750
  this.disabled && `${e}-cascader-option--disabled`,
782
751
  this.showCheckbox && `${e}-cascader-option--show-prefix`
783
752
  ], onMouseenter: this.mergedHandleMouseEnter, onMousemove: this.mergedHandleMouseMove, onClick: this.handleClick },
784
- i,
785
- (0, B.h)("span", { class: `${e}-cascader-option__label` }, o ? o(this.tmNode.rawNode, this.checked) : this.label),
786
- k
753
+ o,
754
+ (0, z.h)("span", { class: `${e}-cascader-option__label` }, l ? l(this.tmNode.rawNode, this.checked) : this.label),
755
+ _
787
756
  );
788
757
  }
789
758
  });
790
- var Qo = K && K.__importDefault || function(e) {
759
+ var Yo = K && K.__importDefault || function(e) {
791
760
  return e && e.__esModule ? e : { default: e };
792
761
  };
793
762
  Object.defineProperty(nt, "__esModule", { value: !0 });
794
- const ie = fe, Xo = Nt, Zo = Ne, en = Ce, Ct = Qo(rt), tn = ge;
763
+ const Jo = Ne, ie = fe, Qo = Rt, Xo = we, Ct = Yo(rt), Zo = ge;
795
764
  nt.default = (0, ie.defineComponent)({
796
765
  name: "CascaderSubmenu",
797
766
  props: {
@@ -805,48 +774,48 @@ nt.default = (0, ie.defineComponent)({
805
774
  }
806
775
  },
807
776
  setup() {
808
- const { virtualScrollRef: e, mergedClsPrefixRef: l, mergedThemeRef: o, optionHeightRef: c } = (0, ie.inject)(tn.cascaderInjectionKey), a = (0, ie.ref)(null), i = (0, ie.ref)(null), k = {
809
- scroll(p, h) {
810
- var y, O;
811
- e.value ? (y = i.value) === null || y === void 0 || y.scrollTo({
812
- index: p
777
+ const { virtualScrollRef: e, mergedClsPrefixRef: i, mergedThemeRef: l, optionHeightRef: c } = (0, ie.inject)(Zo.cascaderInjectionKey), a = (0, ie.ref)(null), o = (0, ie.ref)(null), _ = {
778
+ scroll(b, y) {
779
+ var m, O;
780
+ e.value ? (m = o.value) === null || m === void 0 || m.scrollTo({
781
+ index: b
813
782
  }) : (O = a.value) === null || O === void 0 || O.scrollTo({
814
- index: p,
815
- elSize: h
783
+ index: b,
784
+ elSize: y
816
785
  });
817
786
  }
818
787
  };
819
788
  return Object.assign({
820
- mergedClsPrefix: l,
821
- mergedTheme: o,
789
+ mergedClsPrefix: i,
790
+ mergedTheme: l,
822
791
  scrollbarInstRef: a,
823
- vlInstRef: i,
792
+ vlInstRef: o,
824
793
  virtualScroll: e,
825
- itemSize: (0, ie.computed)(() => (0, Zo.depx)(c.value)),
794
+ itemSize: (0, ie.computed)(() => (0, Jo.depx)(c.value)),
826
795
  handleVlScroll: () => {
827
- var p;
828
- (p = a.value) === null || p === void 0 || p.sync();
796
+ var b;
797
+ (b = a.value) === null || b === void 0 || b.sync();
829
798
  },
830
799
  getVlContainer: () => {
831
- var p;
832
- return (p = i.value) === null || p === void 0 ? void 0 : p.listElRef;
800
+ var b;
801
+ return (b = o.value) === null || b === void 0 ? void 0 : b.listElRef;
833
802
  },
834
803
  getVlContent: () => {
835
- var p;
836
- return (p = i.value) === null || p === void 0 ? void 0 : p.itemsElRef;
804
+ var b;
805
+ return (b = o.value) === null || b === void 0 ? void 0 : b.itemsElRef;
837
806
  }
838
- }, k);
807
+ }, _);
839
808
  },
840
809
  render() {
841
- const { mergedClsPrefix: e, mergedTheme: l, virtualScroll: o } = this;
810
+ const { mergedClsPrefix: e, mergedTheme: i, virtualScroll: l } = this;
842
811
  return (0, ie.h)(
843
812
  "div",
844
813
  { class: [
845
- o && `${e}-cascader-submenu--virtual`,
814
+ l && `${e}-cascader-submenu--virtual`,
846
815
  `${e}-cascader-submenu`
847
816
  ] },
848
- (0, ie.h)(en.NScrollbar, { ref: "scrollbarInstRef", theme: l.peers.Scrollbar, themeOverrides: l.peerOverrides.Scrollbar, container: o ? this.getVlContainer : void 0, content: o ? this.getVlContent : void 0 }, {
849
- default: () => o ? (0, ie.h)(Xo.VirtualList, { items: this.tmNodes, itemSize: this.itemSize, onScroll: this.handleVlScroll, showScrollbar: !1, ref: "vlInstRef" }, {
817
+ (0, ie.h)(Xo.NScrollbar, { ref: "scrollbarInstRef", theme: i.peers.Scrollbar, themeOverrides: i.peerOverrides.Scrollbar, container: l ? this.getVlContainer : void 0, content: l ? this.getVlContent : void 0 }, {
818
+ default: () => l ? (0, ie.h)(Qo.VirtualList, { items: this.tmNodes, itemSize: this.itemSize, onScroll: this.handleVlScroll, showScrollbar: !1, ref: "vlInstRef" }, {
850
819
  default: ({ item: c }) => (0, ie.h)(Ct.default, { key: c.key, tmNode: c })
851
820
  }) : this.tmNodes.map((c) => (0, ie.h)(Ct.default, { key: c.key, tmNode: c }))
852
821
  })
@@ -857,7 +826,7 @@ var Kt = K && K.__importDefault || function(e) {
857
826
  return e && e.__esModule ? e : { default: e };
858
827
  };
859
828
  Object.defineProperty(ot, "__esModule", { value: !0 });
860
- const H = fe, on = Tt, nn = Kt(uo), Je = we, rn = fo, ln = Ce, an = Kt(nt), cn = ge;
829
+ const en = Ot, H = fe, tn = we, on = Kt(ho), Je = Ce, nn = vo, rn = Kt(nt), ln = ge;
861
830
  ot.default = (0, H.defineComponent)({
862
831
  name: "NCascaderMenu",
863
832
  props: {
@@ -894,70 +863,70 @@ ot.default = (0, H.defineComponent)({
894
863
  }
895
864
  },
896
865
  setup(e) {
897
- const { localeRef: l, isMountedRef: o, mergedClsPrefixRef: c, syncCascaderMenuPosition: a, handleCascaderMenuClickOutside: i, mergedThemeRef: k, getColumnStyleRef: p } = (0, H.inject)(cn.cascaderInjectionKey), h = [], y = (0, H.ref)(null), O = (0, H.ref)(null);
898
- function z() {
866
+ const { localeRef: i, isMountedRef: l, mergedClsPrefixRef: c, syncCascaderMenuPosition: a, handleCascaderMenuClickOutside: o, mergedThemeRef: _, getColumnStyleRef: b } = (0, H.inject)(ln.cascaderInjectionKey), y = [], m = (0, H.ref)(null), O = (0, H.ref)(null);
867
+ function E() {
899
868
  a();
900
869
  }
901
- (0, Je.useOnResize)(O, z);
870
+ (0, Je.useOnResize)(O, E);
902
871
  function V(s) {
903
872
  var d;
904
- const { value: { loadingRequiredMessage: T } } = l;
905
- (d = y.value) === null || d === void 0 || d.showOnce(T(s));
873
+ const { value: { loadingRequiredMessage: T } } = i;
874
+ (d = m.value) === null || d === void 0 || d.showOnce(T(s));
906
875
  }
907
876
  function U(s) {
908
- i(s);
877
+ o(s);
909
878
  }
910
879
  function q(s) {
911
880
  const { value: d } = O;
912
881
  d && (d.contains(s.relatedTarget) || e.onFocus(s));
913
882
  }
914
- function _(s) {
883
+ function p(s) {
915
884
  const { value: d } = O;
916
885
  d && (d.contains(s.relatedTarget) || e.onBlur(s));
917
886
  }
918
887
  return Object.assign({
919
- isMounted: o,
888
+ isMounted: l,
920
889
  mergedClsPrefix: c,
921
890
  selfElRef: O,
922
- submenuInstRefs: h,
923
- maskInstRef: y,
924
- mergedTheme: k,
925
- getColumnStyle: p,
891
+ submenuInstRefs: y,
892
+ maskInstRef: m,
893
+ mergedTheme: _,
894
+ getColumnStyle: b,
926
895
  handleFocusin: q,
927
- handleFocusout: _,
896
+ handleFocusout: p,
928
897
  handleClickOutside: U
929
898
  }, {
930
899
  scroll(s, d, T) {
931
- const R = h[s];
900
+ const R = y[s];
932
901
  R && R.scroll(d, T);
933
902
  },
934
903
  showErrorMessage: V
935
904
  });
936
905
  },
937
906
  render() {
938
- const { submenuInstRefs: e, mergedClsPrefix: l, mergedTheme: o } = this;
907
+ const { submenuInstRefs: e, mergedClsPrefix: i, mergedTheme: l } = this;
939
908
  return (0, H.h)(H.Transition, { name: "fade-in-scale-up-transition", appear: this.isMounted }, {
940
909
  default: () => this.show ? (0, H.withDirectives)((0, H.h)(
941
910
  "div",
942
- { tabindex: "0", ref: "selfElRef", class: `${l}-cascader-menu`, onMousedown: this.onMousedown, onFocusin: this.handleFocusin, onFocusout: this.handleFocusout, onKeydown: this.onKeydown },
911
+ { tabindex: "0", ref: "selfElRef", class: `${i}-cascader-menu`, onMousedown: this.onMousedown, onFocusin: this.handleFocusin, onFocusout: this.handleFocusout, onKeydown: this.onKeydown },
943
912
  this.menuModel[0].length ? (0, H.h)(
944
913
  "div",
945
- { class: `${l}-cascader-submenu-wrapper` },
914
+ { class: `${i}-cascader-submenu-wrapper` },
946
915
  this.menuModel.map((c, a) => {
947
- var i;
948
- return (0, H.h)(an.default, { style: (i = this.getColumnStyle) === null || i === void 0 ? void 0 : i.call(this, { level: a }), ref: (k) => {
949
- k && (e[a] = k);
916
+ var o;
917
+ return (0, H.h)(rn.default, { style: (o = this.getColumnStyle) === null || o === void 0 ? void 0 : o.call(this, { level: a }), ref: (_) => {
918
+ _ && (e[a] = _);
950
919
  }, key: a, tmNodes: c, depth: a + 1 });
951
920
  }),
952
- (0, H.h)(ln.NBaseMenuMask, { clsPrefix: l, ref: "maskInstRef" })
953
- ) : (0, H.h)("div", { class: `${l}-cascader-menu__empty` }, (0, Je.resolveSlot)(this.$slots.empty, () => [
954
- (0, H.h)(rn.NEmpty, { theme: o.peers.Empty, themeOverrides: o.peerOverrides.Empty })
921
+ (0, H.h)(tn.NBaseMenuMask, { clsPrefix: i, ref: "maskInstRef" })
922
+ ) : (0, H.h)("div", { class: `${i}-cascader-menu__empty` }, (0, Je.resolveSlot)(this.$slots.empty, () => [
923
+ (0, H.h)(nn.NEmpty, { theme: l.peers.Empty, themeOverrides: l.peerOverrides.Empty })
955
924
  ])),
956
- (0, Je.resolveWrappedSlot)(this.$slots.action, (c) => c && (0, H.h)("div", { class: `${l}-cascader-menu-action`, "data-action": !0 }, c)),
957
- (0, H.h)(nn.default, { onFocus: this.onTabout })
925
+ (0, Je.resolveWrappedSlot)(this.$slots.action, (c) => c && (0, H.h)("div", { class: `${i}-cascader-menu-action`, "data-action": !0 }, c)),
926
+ (0, H.h)(on.default, { onFocus: this.onTabout })
958
927
  ), [
959
928
  [
960
- on.clickoutside,
929
+ en.clickoutside,
961
930
  this.handleClickOutside,
962
931
  void 0,
963
932
  { capture: !0 }
@@ -966,9 +935,39 @@ ot.default = (0, H.defineComponent)({
966
935
  });
967
936
  }
968
937
  });
969
- var st = {};
938
+ var st = {}, Re = {};
939
+ Object.defineProperty(Re, "__esModule", { value: !0 });
940
+ Re.getRawNodePath = an;
941
+ Re.createSelectOptions = cn;
942
+ Re.getPathLabel = $t;
943
+ function an(e) {
944
+ return e ? e.map((i) => i.rawNode) : null;
945
+ }
946
+ function cn(e, i, l, c) {
947
+ const a = [], o = [];
948
+ function _(b) {
949
+ for (const y of b) {
950
+ if (y.disabled)
951
+ continue;
952
+ const { rawNode: m } = y;
953
+ o.push(m), (y.isLeaf || !i) && a.push({
954
+ label: $t(y, c, l),
955
+ value: y.key,
956
+ rawNode: y.rawNode,
957
+ path: Array.from(o)
958
+ }), !y.isLeaf && y.children && _(y.children), o.pop();
959
+ }
960
+ }
961
+ return _(e), a;
962
+ }
963
+ function $t(e, i, l) {
964
+ const c = [];
965
+ for (; e; )
966
+ c.push(e.rawNode[l]), e = e.parent;
967
+ return c.reverse().join(i);
968
+ }
970
969
  Object.defineProperty(st, "__esModule", { value: !0 });
971
- const re = fe, sn = Tt, dn = Ot, un = bo, fn = Ce, hn = we, vn = Re, bn = ge;
970
+ const sn = Nt, dn = Ot, re = fe, un = we, fn = Ce, hn = bo, vn = ge, bn = Re;
972
971
  st.default = (0, re.defineComponent)({
973
972
  name: "NCascaderSelectMenu",
974
973
  props: {
@@ -997,53 +996,53 @@ st.default = (0, re.defineComponent)({
997
996
  }
998
997
  },
999
998
  setup(e) {
1000
- const { isMountedRef: l, mergedValueRef: o, mergedClsPrefixRef: c, mergedThemeRef: a, mergedCheckStrategyRef: i, slots: k, syncSelectMenuPosition: p, closeMenu: h, handleSelectMenuClickOutside: y, doUncheck: O, doCheck: z, clearPattern: V } = (0, re.inject)(bn.cascaderInjectionKey), U = (0, re.ref)(null), q = (0, re.computed)(() => (0, vn.createSelectOptions)(e.tmNodes, i.value === "child", e.labelField, e.separator)), _ = (0, re.computed)(() => {
1001
- const { filter: v } = e;
1002
- if (v)
1003
- return v;
999
+ const { isMountedRef: i, mergedValueRef: l, mergedClsPrefixRef: c, mergedThemeRef: a, mergedCheckStrategyRef: o, slots: _, syncSelectMenuPosition: b, closeMenu: y, handleSelectMenuClickOutside: m, doUncheck: O, doCheck: E, clearPattern: V } = (0, re.inject)(vn.cascaderInjectionKey), U = (0, re.ref)(null), q = (0, re.computed)(() => (0, bn.createSelectOptions)(e.tmNodes, o.value === "child", e.labelField, e.separator)), p = (0, re.computed)(() => {
1000
+ const { filter: h } = e;
1001
+ if (h)
1002
+ return h;
1004
1003
  const { labelField: x } = e;
1005
1004
  return (N, W, Z) => Z.some((le) => le[x] && ~le[x].toLowerCase().indexOf(N.toLowerCase()));
1006
1005
  }), n = (0, re.computed)(() => {
1007
- const { pattern: v } = e, { value: x } = _;
1008
- return (v ? q.value.filter((N) => x(v, N.rawNode, N.path)) : q.value).map((N) => ({
1006
+ const { pattern: h } = e, { value: x } = p;
1007
+ return (h ? q.value.filter((N) => x(h, N.rawNode, N.path)) : q.value).map((N) => ({
1009
1008
  value: N.value,
1010
1009
  label: N.label
1011
1010
  }));
1012
- }), s = (0, re.computed)(() => (0, dn.createTreeMate)(n.value, (0, un.createTmOptions)("value", "children")));
1011
+ }), s = (0, re.computed)(() => (0, sn.createTreeMate)(n.value, (0, hn.createTmOptions)("value", "children")));
1013
1012
  function d() {
1014
- p();
1013
+ b();
1015
1014
  }
1016
- function T(v) {
1017
- R(v);
1015
+ function T(h) {
1016
+ R(h);
1018
1017
  }
1019
- function R(v) {
1018
+ function R(h) {
1020
1019
  if (e.multiple) {
1021
- const { value: x } = o;
1022
- Array.isArray(x) ? x.includes(v.key) ? O(v.key) : z(v.key) : x === null && z(v.key), V();
1020
+ const { value: x } = l;
1021
+ Array.isArray(x) ? x.includes(h.key) ? O(h.key) : E(h.key) : x === null && E(h.key), V();
1023
1022
  } else
1024
- z(v.key), h(!0);
1023
+ E(h.key), y(!0);
1025
1024
  }
1026
1025
  function L() {
1027
- var v;
1028
- (v = U.value) === null || v === void 0 || v.prev();
1029
- }
1030
- function $() {
1031
- var v;
1032
- (v = U.value) === null || v === void 0 || v.next();
1026
+ var h;
1027
+ (h = U.value) === null || h === void 0 || h.prev();
1033
1028
  }
1034
1029
  function j() {
1035
- var v;
1030
+ var h;
1031
+ (h = U.value) === null || h === void 0 || h.next();
1032
+ }
1033
+ function D() {
1034
+ var h;
1036
1035
  if (U) {
1037
- const x = (v = U.value) === null || v === void 0 ? void 0 : v.getPendingTmNode();
1036
+ const x = (h = U.value) === null || h === void 0 ? void 0 : h.getPendingTmNode();
1038
1037
  return x && R(x), !0;
1039
1038
  }
1040
1039
  return !1;
1041
1040
  }
1042
- function M(v) {
1043
- y(v);
1041
+ function M(h) {
1042
+ m(h);
1044
1043
  }
1045
1044
  return Object.assign({
1046
- isMounted: l,
1045
+ isMounted: i,
1047
1046
  mergedTheme: a,
1048
1047
  mergedClsPrefix: c,
1049
1048
  menuInstRef: U,
@@ -1051,21 +1050,21 @@ st.default = (0, re.defineComponent)({
1051
1050
  handleResize: d,
1052
1051
  handleToggle: T,
1053
1052
  handleClickOutside: M,
1054
- cascaderSlots: k
1053
+ cascaderSlots: _
1055
1054
  }, {
1056
1055
  prev: L,
1057
- next: $,
1058
- enter: j
1056
+ next: j,
1057
+ enter: D
1059
1058
  });
1060
1059
  },
1061
1060
  render() {
1062
- const { mergedClsPrefix: e, isMounted: l, mergedTheme: o, cascaderSlots: c } = this;
1063
- return (0, re.h)(re.Transition, { name: "fade-in-scale-up-transition", appear: l }, {
1064
- default: () => this.show ? (0, re.withDirectives)((0, re.h)(fn.NInternalSelectMenu, { ref: "menuInstRef", onResize: this.handleResize, clsPrefix: e, class: `${e}-cascader-menu`, autoPending: !0, themeOverrides: o.peerOverrides.InternalSelectMenu, theme: o.peers.InternalSelectMenu, treeMate: this.selectTreeMate, multiple: this.multiple, value: this.value, onToggle: this.handleToggle }, {
1065
- empty: () => (0, hn.resolveSlot)(c["not-found"], () => [])
1061
+ const { mergedClsPrefix: e, isMounted: i, mergedTheme: l, cascaderSlots: c } = this;
1062
+ return (0, re.h)(re.Transition, { name: "fade-in-scale-up-transition", appear: i }, {
1063
+ default: () => this.show ? (0, re.withDirectives)((0, re.h)(un.NInternalSelectMenu, { ref: "menuInstRef", onResize: this.handleResize, clsPrefix: e, class: `${e}-cascader-menu`, autoPending: !0, themeOverrides: l.peerOverrides.InternalSelectMenu, theme: l.peers.InternalSelectMenu, treeMate: this.selectTreeMate, multiple: this.multiple, value: this.value, onToggle: this.handleToggle }, {
1064
+ empty: () => (0, fn.resolveSlot)(c["not-found"], () => [])
1066
1065
  }), [
1067
1066
  [
1068
- sn.clickoutside,
1067
+ dn.clickoutside,
1069
1068
  this.handleClickOutside,
1070
1069
  void 0,
1071
1070
  { capture: !0 }
@@ -1078,7 +1077,7 @@ var dt = {};
1078
1077
  Object.defineProperty(dt, "__esModule", {
1079
1078
  value: !0
1080
1079
  });
1081
- const S = Qe, wt = mo;
1080
+ const wt = mo, S = Qe;
1082
1081
  dt.default = (0, S.c)([(0, S.cB)("cascader-menu", `
1083
1082
  outline: none;
1084
1083
  position: relative;
@@ -1205,14 +1204,14 @@ dt.default = (0, S.c)([(0, S.cB)("cascader-menu", `
1205
1204
  width: 100%;
1206
1205
  `)]);
1207
1206
  (function(e) {
1208
- var l = K && K.__importDefault || function(n) {
1207
+ var i = K && K.__importDefault || function(n) {
1209
1208
  return n && n.__esModule ? n : { default: n };
1210
1209
  };
1211
1210
  Object.defineProperty(e, "__esModule", { value: !0 }), e.cascaderProps = void 0;
1212
- const o = fe, c = Ot, a = Nt, i = Ne, k = Ae, p = Ce, h = Ke, y = we, O = Dt, z = Re, V = l(ot), U = l(st), q = ge, _ = l(dt);
1213
- e.cascaderProps = Object.assign(Object.assign({}, h.useTheme.props), {
1211
+ const l = Ne, c = Nt, a = Ae, o = fe, _ = Rt, b = we, y = $e, m = Ce, O = Ft, E = i(ot), V = i(st), U = ge, q = i(dt), p = Re;
1212
+ e.cascaderProps = Object.assign(Object.assign({}, y.useTheme.props), {
1214
1213
  allowCheckingNotLoaded: Boolean,
1215
- to: y.useAdjustedTo.propTo,
1214
+ to: m.useAdjustedTo.propTo,
1216
1215
  bordered: {
1217
1216
  type: Boolean,
1218
1217
  default: void 0
@@ -1311,19 +1310,20 @@ dt.default = (0, S.c)([(0, S.cB)("cascader-menu", `
1311
1310
  }), e.default = (0, o.defineComponent)({
1312
1311
  name: "Cascader",
1313
1312
  props: e.cascaderProps,
1313
+ slots: Object,
1314
1314
  setup(n, { slots: s }) {
1315
1315
  process.env.NODE_ENV !== "production" && (0, o.watchEffect)(() => {
1316
- n.leafOnly && (0, y.warnOnce)("cascader", '`leaf-only` is deprecated, please use `check-strategy="child"` instead'), n.onChange !== void 0 && (0, y.warnOnce)("cascader", "`on-change` is deprecated, please use `on-update:value` instead.");
1316
+ n.leafOnly && (0, m.warnOnce)("cascader", '`leaf-only` is deprecated, please use `check-strategy="child"` instead'), n.onChange !== void 0 && (0, m.warnOnce)("cascader", "`on-change` is deprecated, please use `on-update:value` instead.");
1317
1317
  });
1318
- const { mergedBorderedRef: d, mergedClsPrefixRef: T, namespaceRef: R, inlineThemeDisabled: L } = (0, h.useConfig)(n), $ = (0, h.useTheme)("Cascader", "-cascader", _.default, O.cascaderLight, n, T), { localeRef: j } = (0, h.useLocale)("Cascader"), M = (0, o.ref)(n.defaultValue), X = (0, o.computed)(() => n.value), v = (0, k.useMergedState)(X, M), x = (0, o.computed)(() => n.leafOnly ? "child" : n.checkStrategy), N = (0, o.ref)(""), W = (0, h.useFormItem)(n), { mergedSizeRef: Z, mergedDisabledRef: le, mergedStatusRef: ye } = W, Y = (0, o.ref)(null), se = (0, o.ref)(null), J = (0, o.ref)(null), I = (0, o.ref)(null), f = (0, o.ref)(null), A = (0, o.ref)(/* @__PURE__ */ new Set()), E = (0, o.ref)(null), ee = (0, o.ref)(null), te = (0, y.useAdjustedTo)(n), oe = (0, o.ref)(!1), ne = (t) => {
1319
- A.value.add(t);
1318
+ const { mergedBorderedRef: d, mergedClsPrefixRef: T, namespaceRef: R, inlineThemeDisabled: L } = (0, y.useConfig)(n), j = (0, y.useTheme)("Cascader", "-cascader", q.default, O.cascaderLight, n, T), { localeRef: D } = (0, y.useLocale)("Cascader"), M = (0, o.ref)(n.defaultValue), X = (0, o.computed)(() => n.value), h = (0, a.useMergedState)(X, M), x = (0, o.computed)(() => n.leafOnly ? "child" : n.checkStrategy), N = (0, o.ref)(""), W = (0, y.useFormItem)(n), { mergedSizeRef: Z, mergedDisabledRef: le, mergedStatusRef: ye } = W, Y = (0, o.ref)(null), se = (0, o.ref)(null), J = (0, o.ref)(null), I = (0, o.ref)(null), f = (0, o.ref)(null), $ = (0, o.ref)(/* @__PURE__ */ new Set()), A = (0, o.ref)(null), ee = (0, o.ref)(null), te = (0, m.useAdjustedTo)(n), oe = (0, o.ref)(!1), ne = (t) => {
1319
+ $.value.add(t);
1320
1320
  }, he = (t) => {
1321
- A.value.delete(t);
1321
+ $.value.delete(t);
1322
1322
  }, P = (0, o.computed)(() => {
1323
- const { valueField: t, childrenField: r, disabledField: b } = n;
1323
+ const { valueField: t, childrenField: r, disabledField: v } = n;
1324
1324
  return (0, c.createTreeMate)(n.options, {
1325
1325
  getDisabled(C) {
1326
- return C[b];
1326
+ return C[v];
1327
1327
  },
1328
1328
  getKey(C) {
1329
1329
  return C[t];
@@ -1334,7 +1334,7 @@ dt.default = (0, S.c)([(0, S.cB)("cascader-menu", `
1334
1334
  });
1335
1335
  }), G = (0, o.computed)(() => {
1336
1336
  const { cascade: t, multiple: r } = n;
1337
- return r && Array.isArray(v.value) ? P.value.getCheckedKeys(v.value, {
1337
+ return r && Array.isArray(h.value) ? P.value.getCheckedKeys(h.value, {
1338
1338
  cascade: t,
1339
1339
  allowNotLoaded: n.allowCheckingNotLoaded
1340
1340
  }) : {
@@ -1343,23 +1343,23 @@ dt.default = (0, S.c)([(0, S.cB)("cascader-menu", `
1343
1343
  };
1344
1344
  }), ve = (0, o.computed)(() => G.value.checkedKeys), be = (0, o.computed)(() => G.value.indeterminateKeys), ae = (0, o.computed)(() => {
1345
1345
  const { treeNodePath: t, treeNode: r } = P.value.getPath(f.value);
1346
- let b;
1347
- return r === null ? b = [P.value.treeNodes] : (b = t.map((C) => C.siblings), !r.isLeaf && !A.value.has(r.key) && r.children && b.push(r.children)), b;
1346
+ let v;
1347
+ return r === null ? v = [P.value.treeNodes] : (v = t.map((C) => C.siblings), !r.isLeaf && !$.value.has(r.key) && r.children && v.push(r.children)), v;
1348
1348
  }), Me = (0, o.computed)(() => {
1349
1349
  const { keyPath: t } = P.value.getPath(f.value);
1350
1350
  return t;
1351
- }), ce = (0, o.computed)(() => $.value.self.optionHeight);
1351
+ }), ce = (0, o.computed)(() => j.value.self.optionHeight);
1352
1352
  (0, o.isReactive)(n.options) && (0, o.watch)(n.options, (t, r) => {
1353
1353
  t !== r && (f.value = null, I.value = null);
1354
1354
  });
1355
- const De = (0, o.ref)(!1);
1356
- function Fe(t) {
1357
- const { onUpdateShow: r, "onUpdate:show": b } = n;
1358
- r && (0, y.call)(r, t), b && (0, y.call)(b, t), De.value = t;
1355
+ const Fe = (0, o.ref)(!1);
1356
+ function Be(t) {
1357
+ const { onUpdateShow: r, "onUpdate:show": v } = n;
1358
+ r && (0, m.call)(r, t), v && (0, m.call)(v, t), Fe.value = t;
1359
1359
  }
1360
- function de(t, r, b) {
1361
- const { onUpdateValue: C, "onUpdate:value": m, onChange: D } = n, { nTriggerFormInput: g, nTriggerFormChange: F } = W;
1362
- C && (0, y.call)(C, t, r, b), m && (0, y.call)(m, t, r, b), D && (0, y.call)(D, t, r, b), M.value = t, g(), F();
1360
+ function de(t, r, v) {
1361
+ const { onUpdateValue: C, "onUpdate:value": g, onChange: F } = n, { nTriggerFormInput: k, nTriggerFormChange: B } = W;
1362
+ C && (0, m.call)(C, t, r, v), g && (0, m.call)(g, t, r, v), F && (0, m.call)(F, t, r, v), M.value = t, k(), B();
1363
1363
  }
1364
1364
  function me(t) {
1365
1365
  I.value = t;
@@ -1369,126 +1369,126 @@ dt.default = (0, S.c)([(0, S.cB)("cascader-menu", `
1369
1369
  }
1370
1370
  function Se(t) {
1371
1371
  const { value: { getNode: r } } = P;
1372
- return t.map((b) => {
1372
+ return t.map((v) => {
1373
1373
  var C;
1374
- return ((C = r(b)) === null || C === void 0 ? void 0 : C.rawNode) || null;
1374
+ return ((C = r(v)) === null || C === void 0 ? void 0 : C.rawNode) || null;
1375
1375
  });
1376
1376
  }
1377
- function Be(t) {
1377
+ function ze(t) {
1378
1378
  var r;
1379
- const { cascade: b, multiple: C, filterable: m } = n, { value: { check: D, getNode: g, getPath: F } } = P;
1379
+ const { cascade: v, multiple: C, filterable: g } = n, { value: { check: F, getNode: k, getPath: B } } = P;
1380
1380
  if (C)
1381
1381
  try {
1382
- const { checkedKeys: w } = D(t, G.value.checkedKeys, {
1383
- cascade: b,
1382
+ const { checkedKeys: w } = F(t, G.value.checkedKeys, {
1383
+ cascade: v,
1384
1384
  checkStrategy: x.value,
1385
1385
  allowNotLoaded: n.allowCheckingNotLoaded
1386
1386
  });
1387
1387
  de(w, Se(w), w.map((xe) => {
1388
1388
  var Te;
1389
- return (0, z.getRawNodePath)((Te = F(xe)) === null || Te === void 0 ? void 0 : Te.treeNodePath);
1390
- })), m && Ge(), I.value = t, f.value = t;
1389
+ return (0, p.getRawNodePath)((Te = B(xe)) === null || Te === void 0 ? void 0 : Te.treeNodePath);
1390
+ })), g && Ge(), I.value = t, f.value = t;
1391
1391
  } catch (w) {
1392
1392
  if (w instanceof c.SubtreeNotLoadedError) {
1393
1393
  if (Y.value) {
1394
- const xe = g(t);
1394
+ const xe = k(t);
1395
1395
  xe !== null && Y.value.showErrorMessage(xe.rawNode[n.labelField]);
1396
1396
  }
1397
1397
  } else
1398
1398
  throw w;
1399
1399
  }
1400
1400
  else if (x.value === "child") {
1401
- const w = g(t);
1401
+ const w = k(t);
1402
1402
  if (w != null && w.isLeaf)
1403
- de(t, w.rawNode, (0, z.getRawNodePath)(F(t).treeNodePath));
1403
+ de(t, w.rawNode, (0, p.getRawNodePath)(B(t).treeNodePath));
1404
1404
  else
1405
1405
  return !1;
1406
1406
  } else {
1407
- const w = g(t);
1408
- de(t, (w == null ? void 0 : w.rawNode) || null, (0, z.getRawNodePath)((r = F(t)) === null || r === void 0 ? void 0 : r.treeNodePath));
1407
+ const w = k(t);
1408
+ de(t, (w == null ? void 0 : w.rawNode) || null, (0, p.getRawNodePath)((r = B(t)) === null || r === void 0 ? void 0 : r.treeNodePath));
1409
1409
  }
1410
1410
  return !0;
1411
1411
  }
1412
1412
  function Pe(t) {
1413
- const { cascade: r, multiple: b } = n;
1414
- if (b) {
1415
- const { value: { uncheck: C, getNode: m, getPath: D } } = P, { checkedKeys: g } = C(t, G.value.checkedKeys, {
1413
+ const { cascade: r, multiple: v } = n;
1414
+ if (v) {
1415
+ const { value: { uncheck: C, getNode: g, getPath: F } } = P, { checkedKeys: k } = C(t, G.value.checkedKeys, {
1416
1416
  cascade: r,
1417
1417
  checkStrategy: x.value,
1418
1418
  allowNotLoaded: n.allowCheckingNotLoaded
1419
1419
  });
1420
- de(g, g.map((F) => {
1420
+ de(k, k.map((B) => {
1421
1421
  var w;
1422
- return ((w = m(F)) === null || w === void 0 ? void 0 : w.rawNode) || null;
1423
- }), g.map((F) => {
1422
+ return ((w = g(B)) === null || w === void 0 ? void 0 : w.rawNode) || null;
1423
+ }), k.map((B) => {
1424
1424
  var w;
1425
- return (0, z.getRawNodePath)((w = D(F)) === null || w === void 0 ? void 0 : w.treeNodePath);
1425
+ return (0, p.getRawNodePath)((w = F(B)) === null || w === void 0 ? void 0 : w.treeNodePath);
1426
1426
  })), I.value = t, f.value = t;
1427
1427
  }
1428
1428
  }
1429
1429
  const Ue = (0, o.computed)(() => {
1430
1430
  if (n.multiple) {
1431
- const { showPath: t, separator: r, labelField: b, cascade: C } = n, { getCheckedKeys: m, getNode: D } = P.value;
1432
- return m(ve.value, {
1431
+ const { showPath: t, separator: r, labelField: v, cascade: C } = n, { getCheckedKeys: g, getNode: F } = P.value;
1432
+ return g(ve.value, {
1433
1433
  cascade: C,
1434
1434
  checkStrategy: x.value,
1435
1435
  allowNotLoaded: n.allowCheckingNotLoaded
1436
- }).checkedKeys.map((F) => {
1437
- const w = D(F);
1436
+ }).checkedKeys.map((B) => {
1437
+ const w = F(B);
1438
1438
  return w === null ? {
1439
- label: String(F),
1440
- value: F
1439
+ label: String(B),
1440
+ value: B
1441
1441
  } : {
1442
- label: t ? (0, z.getPathLabel)(w, r, b) : w.rawNode[b],
1442
+ label: t ? (0, p.getPathLabel)(w, r, v) : w.rawNode[v],
1443
1443
  value: w.key
1444
1444
  };
1445
1445
  });
1446
1446
  } else
1447
1447
  return [];
1448
1448
  }), He = (0, o.computed)(() => {
1449
- const { multiple: t, showPath: r, separator: b, labelField: C } = n, { value: m } = v;
1450
- if (!t && !Array.isArray(m)) {
1451
- const { getNode: D } = P.value;
1452
- if (m === null)
1449
+ const { multiple: t, showPath: r, separator: v, labelField: C } = n, { value: g } = h;
1450
+ if (!t && !Array.isArray(g)) {
1451
+ const { getNode: F } = P.value;
1452
+ if (g === null)
1453
1453
  return null;
1454
- const g = D(m);
1455
- return g === null ? {
1456
- label: String(m),
1457
- value: m
1454
+ const k = F(g);
1455
+ return k === null ? {
1456
+ label: String(g),
1457
+ value: g
1458
1458
  } : {
1459
- label: r ? (0, z.getPathLabel)(g, b, C) : g.rawNode[C],
1460
- value: g.key
1459
+ label: r ? (0, p.getPathLabel)(k, v, C) : k.rawNode[C],
1460
+ value: k.key
1461
1461
  };
1462
1462
  } else
1463
1463
  return null;
1464
- }), qe = (0, o.toRef)(n, "show"), Q = (0, k.useMergedState)(qe, De), At = (0, o.computed)(() => {
1464
+ }), qe = (0, o.toRef)(n, "show"), Q = (0, a.useMergedState)(qe, Fe), At = (0, o.computed)(() => {
1465
1465
  const { placeholder: t } = n;
1466
- return t !== void 0 ? t : j.value.placeholder;
1466
+ return t !== void 0 ? t : D.value.placeholder;
1467
1467
  }), ue = (0, o.computed)(() => !!(n.filterable && N.value));
1468
1468
  (0, o.watch)(Q, (t) => {
1469
1469
  if (!t || n.multiple)
1470
1470
  return;
1471
- const { value: r } = v;
1471
+ const { value: r } = h;
1472
1472
  !Array.isArray(r) && r !== null ? (I.value = r, f.value = r, (0, o.nextTick)(() => {
1473
- var b;
1473
+ var v;
1474
1474
  if (!Q.value)
1475
1475
  return;
1476
1476
  const { value: C } = f;
1477
- if (v.value !== null) {
1478
- const m = P.value.getNode(C);
1479
- m && ((b = Y.value) === null || b === void 0 || b.scroll(m.level, m.index, (0, i.depx)(ce.value)));
1477
+ if (h.value !== null) {
1478
+ const g = P.value.getNode(C);
1479
+ g && ((v = Y.value) === null || v === void 0 || v.scroll(g.level, g.index, (0, l.depx)(ce.value)));
1480
1480
  }
1481
1481
  })) : (I.value = null, f.value = null);
1482
1482
  }, {
1483
1483
  immediate: !0
1484
1484
  });
1485
1485
  function ut(t) {
1486
- const { onBlur: r } = n, { nTriggerFormBlur: b } = W;
1487
- r && (0, y.call)(r, t), b();
1486
+ const { onBlur: r } = n, { nTriggerFormBlur: v } = W;
1487
+ r && (0, m.call)(r, t), v();
1488
1488
  }
1489
1489
  function ft(t) {
1490
- const { onFocus: r } = n, { nTriggerFormFocus: b } = W;
1491
- r && (0, y.call)(r, t), b();
1490
+ const { onFocus: r } = n, { nTriggerFormFocus: v } = W;
1491
+ r && (0, m.call)(r, t), v();
1492
1492
  }
1493
1493
  function Ge() {
1494
1494
  var t;
@@ -1498,15 +1498,15 @@ dt.default = (0, S.c)([(0, S.cB)("cascader-menu", `
1498
1498
  var t;
1499
1499
  (t = J.value) === null || t === void 0 || t.focus();
1500
1500
  }
1501
- function ze() {
1502
- le.value || (N.value = "", Fe(!0), n.filterable && Ge());
1501
+ function Le() {
1502
+ le.value || (N.value = "", Be(!0), n.filterable && Ge());
1503
1503
  }
1504
1504
  function ke(t = !1) {
1505
- t && Et(), Fe(!1), N.value = "";
1505
+ t && Et(), Be(!1), N.value = "";
1506
1506
  }
1507
1507
  function ht(t) {
1508
1508
  var r;
1509
- ue.value || Q.value && (!((r = J.value) === null || r === void 0) && r.$el.contains((0, i.getPreciseEventTarget)(t)) || ke());
1509
+ ue.value || Q.value && (!((r = J.value) === null || r === void 0) && r.$el.contains((0, l.getPreciseEventTarget)(t)) || ke());
1510
1510
  }
1511
1511
  function Vt(t) {
1512
1512
  ue.value && ht(t);
@@ -1514,60 +1514,60 @@ dt.default = (0, S.c)([(0, S.cB)("cascader-menu", `
1514
1514
  function vt() {
1515
1515
  n.clearFilterAfterSelect && (N.value = "");
1516
1516
  }
1517
- function Le(t) {
1518
- var r, b, C;
1519
- const { value: m } = I, { value: D } = P;
1517
+ function Ie(t) {
1518
+ var r, v, C;
1519
+ const { value: g } = I, { value: F } = P;
1520
1520
  switch (t) {
1521
1521
  case "prev":
1522
- if (m !== null) {
1523
- const g = D.getPrev(m, { loop: !0 });
1524
- g !== null && (me(g.key), (r = Y.value) === null || r === void 0 || r.scroll(g.level, g.index, (0, i.depx)(ce.value)));
1522
+ if (g !== null) {
1523
+ const k = F.getPrev(g, { loop: !0 });
1524
+ k !== null && (me(k.key), (r = Y.value) === null || r === void 0 || r.scroll(k.level, k.index, (0, l.depx)(ce.value)));
1525
1525
  }
1526
1526
  break;
1527
1527
  case "next":
1528
- if (m === null) {
1529
- const g = D.getFirstAvailableNode();
1530
- g !== null && (me(g.key), (b = Y.value) === null || b === void 0 || b.scroll(g.level, g.index, (0, i.depx)(ce.value)));
1528
+ if (g === null) {
1529
+ const k = F.getFirstAvailableNode();
1530
+ k !== null && (me(k.key), (v = Y.value) === null || v === void 0 || v.scroll(k.level, k.index, (0, l.depx)(ce.value)));
1531
1531
  } else {
1532
- const g = D.getNext(m, { loop: !0 });
1533
- g !== null && (me(g.key), (C = Y.value) === null || C === void 0 || C.scroll(g.level, g.index, (0, i.depx)(ce.value)));
1532
+ const k = F.getNext(g, { loop: !0 });
1533
+ k !== null && (me(k.key), (C = Y.value) === null || C === void 0 || C.scroll(k.level, k.index, (0, l.depx)(ce.value)));
1534
1534
  }
1535
1535
  break;
1536
1536
  case "child":
1537
- if (m !== null) {
1538
- const g = D.getNode(m);
1539
- if (g !== null)
1540
- if (g.shallowLoaded) {
1541
- const F = D.getChild(m);
1542
- F !== null && (pe(m), me(F.key));
1537
+ if (g !== null) {
1538
+ const k = F.getNode(g);
1539
+ if (k !== null)
1540
+ if (k.shallowLoaded) {
1541
+ const B = F.getChild(g);
1542
+ B !== null && (pe(g), me(B.key));
1543
1543
  } else {
1544
- const { value: F } = A;
1545
- if (!F.has(m)) {
1546
- ne(m), pe(m);
1544
+ const { value: B } = $;
1545
+ if (!B.has(g)) {
1546
+ ne(g), pe(g);
1547
1547
  const { onLoad: w } = n;
1548
- w && w(g.rawNode).then(() => {
1549
- he(m);
1548
+ w && w(k.rawNode).then(() => {
1549
+ he(g);
1550
1550
  }).catch(() => {
1551
- he(m);
1551
+ he(g);
1552
1552
  });
1553
1553
  }
1554
1554
  }
1555
1555
  }
1556
1556
  break;
1557
1557
  case "parent":
1558
- if (m !== null) {
1559
- const g = D.getParent(m);
1560
- if (g !== null) {
1561
- me(g.key);
1562
- const F = g.getParent();
1563
- pe(F === null ? null : F.key);
1558
+ if (g !== null) {
1559
+ const k = F.getParent(g);
1560
+ if (k !== null) {
1561
+ me(k.key);
1562
+ const B = k.getParent();
1563
+ pe(B === null ? null : B.key);
1564
1564
  }
1565
1565
  }
1566
1566
  break;
1567
1567
  }
1568
1568
  }
1569
1569
  function bt(t) {
1570
- var r, b;
1570
+ var r, v;
1571
1571
  switch (t.key) {
1572
1572
  case " ":
1573
1573
  case "ArrowDown":
@@ -1577,41 +1577,41 @@ dt.default = (0, S.c)([(0, S.cB)("cascader-menu", `
1577
1577
  t.preventDefault();
1578
1578
  break;
1579
1579
  }
1580
- if (!(0, i.happensIn)(t, "action"))
1580
+ if (!(0, l.happensIn)(t, "action"))
1581
1581
  switch (t.key) {
1582
1582
  case " ":
1583
1583
  if (n.filterable)
1584
1584
  return;
1585
1585
  case "Enter":
1586
1586
  if (!Q.value)
1587
- ze();
1587
+ Le();
1588
1588
  else {
1589
- const { value: C } = ue, { value: m } = I;
1589
+ const { value: C } = ue, { value: g } = I;
1590
1590
  if (C)
1591
1591
  se.value && se.value.enter() && vt();
1592
- else if (m !== null)
1593
- if (ve.value.includes(m) || be.value.includes(m))
1594
- Pe(m);
1592
+ else if (g !== null)
1593
+ if (ve.value.includes(g) || be.value.includes(g))
1594
+ Pe(g);
1595
1595
  else {
1596
- const D = Be(m);
1597
- !n.multiple && D && ke(!0);
1596
+ const F = ze(g);
1597
+ !n.multiple && F && ke(!0);
1598
1598
  }
1599
1599
  }
1600
1600
  break;
1601
1601
  case "ArrowUp":
1602
- t.preventDefault(), Q.value && (ue.value ? (r = se.value) === null || r === void 0 || r.prev() : Le("prev"));
1602
+ t.preventDefault(), Q.value && (ue.value ? (r = se.value) === null || r === void 0 || r.prev() : Ie("prev"));
1603
1603
  break;
1604
1604
  case "ArrowDown":
1605
- t.preventDefault(), Q.value ? ue.value ? (b = se.value) === null || b === void 0 || b.next() : Le("next") : ze();
1605
+ t.preventDefault(), Q.value ? ue.value ? (v = se.value) === null || v === void 0 || v.next() : Ie("next") : Le();
1606
1606
  break;
1607
1607
  case "ArrowLeft":
1608
- t.preventDefault(), Q.value && !ue.value && Le("parent");
1608
+ t.preventDefault(), Q.value && !ue.value && Ie("parent");
1609
1609
  break;
1610
1610
  case "ArrowRight":
1611
- t.preventDefault(), Q.value && !ue.value && Le("child");
1611
+ t.preventDefault(), Q.value && !ue.value && Ie("child");
1612
1612
  break;
1613
1613
  case "Escape":
1614
- Q.value && ((0, y.markEventEffectPerformed)(t), ke(!0));
1614
+ Q.value && ((0, m.markEventEffectPerformed)(t), ke(!0));
1615
1615
  }
1616
1616
  }
1617
1617
  function Ut(t) {
@@ -1637,24 +1637,24 @@ dt.default = (0, S.c)([(0, S.cB)("cascader-menu", `
1637
1637
  !((r = J.value) === null || r === void 0) && r.$el.contains(t.relatedTarget) || (oe.value = !1, ut(t));
1638
1638
  }
1639
1639
  function Jt(t) {
1640
- (0, i.happensIn)(t, "action") || n.multiple && n.filter && (t.preventDefault(), Ge());
1640
+ (0, l.happensIn)(t, "action") || n.multiple && n.filter && (t.preventDefault(), Ge());
1641
1641
  }
1642
1642
  function Qt() {
1643
1643
  ke(!0);
1644
1644
  }
1645
1645
  function Xt() {
1646
- n.filterable ? ze() : Q.value ? ke(!0) : ze();
1646
+ n.filterable ? Le() : Q.value ? ke(!0) : Le();
1647
1647
  }
1648
1648
  function Zt(t) {
1649
1649
  N.value = t.target.value;
1650
1650
  }
1651
1651
  function eo(t) {
1652
- const { multiple: r } = n, { value: b } = v;
1653
- r && Array.isArray(b) && t.value !== void 0 ? Pe(t.value) : de(null, null, null);
1652
+ const { multiple: r } = n, { value: v } = h;
1653
+ r && Array.isArray(v) && t.value !== void 0 ? Pe(t.value) : de(null, null, null);
1654
1654
  }
1655
1655
  function mt() {
1656
1656
  var t;
1657
- (t = E.value) === null || t === void 0 || t.syncPosition();
1657
+ (t = A.value) === null || t === void 0 || t.syncPosition();
1658
1658
  }
1659
1659
  function gt() {
1660
1660
  var t;
@@ -1664,11 +1664,11 @@ dt.default = (0, S.c)([(0, S.cB)("cascader-menu", `
1664
1664
  Q.value && (ue.value ? mt() : gt());
1665
1665
  }
1666
1666
  const We = (0, o.computed)(() => !!(n.multiple && n.cascade || x.value !== "child"));
1667
- (0, o.provide)(q.cascaderInjectionKey, {
1667
+ (0, o.provide)(U.cascaderInjectionKey, {
1668
1668
  slots: s,
1669
1669
  mergedClsPrefixRef: T,
1670
- mergedThemeRef: $,
1671
- mergedValueRef: v,
1670
+ mergedThemeRef: j,
1671
+ mergedValueRef: h,
1672
1672
  checkedKeysRef: ve,
1673
1673
  indeterminateKeysRef: be,
1674
1674
  hoverKeyPathRef: Me,
@@ -1679,13 +1679,13 @@ dt.default = (0, S.c)([(0, S.cB)("cascader-menu", `
1679
1679
  keyboardKeyRef: I,
1680
1680
  hoverKeyRef: f,
1681
1681
  remoteRef: (0, o.toRef)(n, "remote"),
1682
- loadingKeySetRef: A,
1682
+ loadingKeySetRef: $,
1683
1683
  expandTriggerRef: (0, o.toRef)(n, "expandTrigger"),
1684
- isMountedRef: (0, k.useIsMounted)(),
1684
+ isMountedRef: (0, a.useIsMounted)(),
1685
1685
  onLoadRef: (0, o.toRef)(n, "onLoad"),
1686
1686
  virtualScrollRef: (0, o.toRef)(n, "virtualScroll"),
1687
1687
  optionHeightRef: ce,
1688
- localeRef: j,
1688
+ localeRef: D,
1689
1689
  labelFieldRef: (0, o.toRef)(n, "labelField"),
1690
1690
  renderLabelRef: (0, o.toRef)(n, "renderLabel"),
1691
1691
  getColumnStyleRef: (0, o.toRef)(n, "getColumnStyle"),
@@ -1697,7 +1697,7 @@ dt.default = (0, S.c)([(0, S.cB)("cascader-menu", `
1697
1697
  updateHoverKey: pe,
1698
1698
  addLoadingKey: ne,
1699
1699
  deleteLoadingKey: he,
1700
- doCheck: Be,
1700
+ doCheck: ze,
1701
1701
  doUncheck: Pe,
1702
1702
  closeMenu: ke,
1703
1703
  handleSelectMenuClickOutside: Vt,
@@ -1740,31 +1740,31 @@ dt.default = (0, S.c)([(0, S.cB)("cascader-menu", `
1740
1740
  };
1741
1741
  }
1742
1742
  }, pt = (0, o.computed)(() => {
1743
- const { self: { optionArrowColor: t, optionTextColor: r, optionTextColorActive: b, optionTextColorDisabled: C, optionCheckMarkColor: m, menuColor: D, menuBoxShadow: g, menuDividerColor: F, menuBorderRadius: w, menuHeight: xe, optionColorHover: Te, optionHeight: no, optionFontSize: ro, loadingColor: lo, columnWidth: ao }, common: { cubicBezierEaseInOut: co } } = $.value;
1743
+ const { self: { optionArrowColor: t, optionTextColor: r, optionTextColorActive: v, optionTextColorDisabled: C, optionCheckMarkColor: g, menuColor: F, menuBoxShadow: k, menuDividerColor: B, menuBorderRadius: w, menuHeight: xe, optionColorHover: Te, optionHeight: no, optionFontSize: ro, loadingColor: lo, columnWidth: ao }, common: { cubicBezierEaseInOut: co } } = j.value;
1744
1744
  return {
1745
1745
  "--n-bezier": co,
1746
1746
  "--n-menu-border-radius": w,
1747
- "--n-menu-box-shadow": g,
1747
+ "--n-menu-box-shadow": k,
1748
1748
  "--n-menu-height": xe,
1749
1749
  "--n-column-width": ao,
1750
- "--n-menu-color": D,
1751
- "--n-menu-divider-color": F,
1750
+ "--n-menu-color": F,
1751
+ "--n-menu-divider-color": B,
1752
1752
  "--n-option-height": no,
1753
1753
  "--n-option-font-size": ro,
1754
1754
  "--n-option-text-color": r,
1755
1755
  "--n-option-text-color-disabled": C,
1756
- "--n-option-text-color-active": b,
1756
+ "--n-option-text-color-active": v,
1757
1757
  "--n-option-color-hover": Te,
1758
- "--n-option-check-mark-color": m,
1758
+ "--n-option-check-mark-color": g,
1759
1759
  "--n-option-arrow-color": t,
1760
- "--n-menu-mask-color": (0, i.changeColor)(D, { alpha: 0.75 }),
1760
+ "--n-menu-mask-color": (0, l.changeColor)(F, { alpha: 0.75 }),
1761
1761
  "--n-loading-color": lo
1762
1762
  };
1763
- }), _e = L ? (0, h.useThemeClass)("cascader", void 0, pt, n) : void 0;
1763
+ }), _e = L ? (0, y.useThemeClass)("cascader", void 0, pt, n) : void 0;
1764
1764
  return Object.assign(Object.assign({}, oo), {
1765
1765
  handleTriggerResize: to,
1766
1766
  mergedStatus: ye,
1767
- selectMenuFollowerRef: E,
1767
+ selectMenuFollowerRef: A,
1768
1768
  cascaderMenuFollowerRef: ee,
1769
1769
  triggerInstRef: J,
1770
1770
  selectMenuInstRef: se,
@@ -1772,7 +1772,7 @@ dt.default = (0, S.c)([(0, S.cB)("cascader-menu", `
1772
1772
  mergedBordered: d,
1773
1773
  mergedClsPrefix: T,
1774
1774
  namespace: R,
1775
- mergedValue: v,
1775
+ mergedValue: h,
1776
1776
  mergedShow: Q,
1777
1777
  showSelectMenu: ue,
1778
1778
  pattern: N,
@@ -1798,7 +1798,7 @@ dt.default = (0, S.c)([(0, S.cB)("cascader-menu", `
1798
1798
  handleKeydown: bt,
1799
1799
  focused: oe,
1800
1800
  optionHeight: ce,
1801
- mergedTheme: $,
1801
+ mergedTheme: j,
1802
1802
  cssVars: L ? void 0 : pt,
1803
1803
  themeClass: _e == null ? void 0 : _e.themeClass,
1804
1804
  onRender: _e == null ? void 0 : _e.onRender
@@ -1809,22 +1809,22 @@ dt.default = (0, S.c)([(0, S.cB)("cascader-menu", `
1809
1809
  return (0, o.h)(
1810
1810
  "div",
1811
1811
  { class: `${n}-cascader` },
1812
- (0, o.h)(a.VBinder, null, {
1812
+ (0, o.h)(_.VBinder, null, {
1813
1813
  default: () => [
1814
- (0, o.h)(a.VTarget, null, {
1815
- default: () => (0, o.h)(p.NInternalSelection, { onResize: this.handleTriggerResize, ref: "triggerInstRef", status: this.mergedStatus, clsPrefix: n, maxTagCount: this.maxTagCount, ellipsisTagPopoverProps: this.ellipsisTagPopoverProps, bordered: this.mergedBordered, size: this.mergedSize, theme: this.mergedTheme.peers.InternalSelection, themeOverrides: this.mergedTheme.peerOverrides.InternalSelection, active: this.mergedShow, pattern: this.pattern, placeholder: this.localizedPlaceholder, selectedOption: this.selectedOption, selectedOptions: this.selectedOptions, multiple: this.multiple, filterable: this.filterable, clearable: this.clearable, disabled: this.mergedDisabled, focused: this.focused, onFocus: this.handleTriggerFocus, onBlur: this.handleTriggerBlur, onClick: this.handleTriggerClick, onClear: this.handleClear, onDeleteOption: this.handleDeleteOption, onPatternInput: this.handlePatternInput, onKeydown: this.handleKeydown }, {
1814
+ (0, o.h)(_.VTarget, null, {
1815
+ default: () => (0, o.h)(b.NInternalSelection, { onResize: this.handleTriggerResize, ref: "triggerInstRef", status: this.mergedStatus, clsPrefix: n, maxTagCount: this.maxTagCount, ellipsisTagPopoverProps: this.ellipsisTagPopoverProps, bordered: this.mergedBordered, size: this.mergedSize, theme: this.mergedTheme.peers.InternalSelection, themeOverrides: this.mergedTheme.peerOverrides.InternalSelection, active: this.mergedShow, pattern: this.pattern, placeholder: this.localizedPlaceholder, selectedOption: this.selectedOption, selectedOptions: this.selectedOptions, multiple: this.multiple, filterable: this.filterable, clearable: this.clearable, disabled: this.mergedDisabled, focused: this.focused, onFocus: this.handleTriggerFocus, onBlur: this.handleTriggerBlur, onClick: this.handleTriggerClick, onClear: this.handleClear, onDeleteOption: this.handleDeleteOption, onPatternInput: this.handlePatternInput, onKeydown: this.handleKeydown }, {
1816
1816
  arrow: () => {
1817
1817
  var s, d;
1818
1818
  return (d = (s = this.$slots).arrow) === null || d === void 0 ? void 0 : d.call(s);
1819
1819
  }
1820
1820
  })
1821
1821
  }),
1822
- (0, o.h)(a.VFollower, { key: "cascaderMenu", ref: "cascaderMenuFollowerRef", show: this.mergedShow && !this.showSelectMenu, containerClass: this.namespace, placement: this.placement, width: this.options.length ? void 0 : "target", teleportDisabled: this.adjustedTo === y.useAdjustedTo.tdkey, to: this.adjustedTo }, {
1822
+ (0, o.h)(_.VFollower, { key: "cascaderMenu", ref: "cascaderMenuFollowerRef", show: this.mergedShow && !this.showSelectMenu, containerClass: this.namespace, placement: this.placement, width: this.options.length ? void 0 : "target", teleportDisabled: this.adjustedTo === m.useAdjustedTo.tdkey, to: this.adjustedTo }, {
1823
1823
  default: () => {
1824
1824
  var s;
1825
1825
  (s = this.onRender) === null || s === void 0 || s.call(this);
1826
1826
  const { menuProps: d } = this;
1827
- return (0, o.h)(V.default, Object.assign({}, d, { ref: "cascaderMenuInstRef", class: [this.themeClass, d == null ? void 0 : d.class], value: this.mergedValue, show: this.mergedShow && !this.showSelectMenu, menuModel: this.menuModel, style: [
1827
+ return (0, o.h)(E.default, Object.assign({}, d, { ref: "cascaderMenuInstRef", class: [this.themeClass, d == null ? void 0 : d.class], value: this.mergedValue, show: this.mergedShow && !this.showSelectMenu, menuModel: this.menuModel, style: [
1828
1828
  this.cssVars,
1829
1829
  d == null ? void 0 : d.style
1830
1830
  ], onFocus: this.handleMenuFocus, onBlur: this.handleMenuBlur, onKeydown: this.handleMenuKeydown, onMousedown: this.handleMenuMousedown, onTabout: this.handleMenuTabout }), {
@@ -1839,12 +1839,12 @@ dt.default = (0, S.c)([(0, S.cB)("cascader-menu", `
1839
1839
  });
1840
1840
  }
1841
1841
  }),
1842
- (0, o.h)(a.VFollower, { key: "selectMenu", ref: "selectMenuFollowerRef", show: this.mergedShow && this.showSelectMenu, containerClass: this.namespace, width: "target", placement: this.placement, to: this.adjustedTo, teleportDisabled: this.adjustedTo === y.useAdjustedTo.tdkey }, {
1842
+ (0, o.h)(_.VFollower, { key: "selectMenu", ref: "selectMenuFollowerRef", show: this.mergedShow && this.showSelectMenu, containerClass: this.namespace, width: "target", placement: this.placement, to: this.adjustedTo, teleportDisabled: this.adjustedTo === m.useAdjustedTo.tdkey }, {
1843
1843
  default: () => {
1844
1844
  var s;
1845
1845
  (s = this.onRender) === null || s === void 0 || s.call(this);
1846
1846
  const { filterMenuProps: d } = this;
1847
- return (0, o.h)(U.default, Object.assign({}, d, { ref: "selectMenuInstRef", class: [this.themeClass, d == null ? void 0 : d.class], value: this.mergedValue, show: this.mergedShow && this.showSelectMenu, pattern: this.pattern, multiple: this.multiple, tmNodes: this.treeMate.treeNodes, filter: this.filter, labelField: this.labelField, separator: this.separator, style: [
1847
+ return (0, o.h)(V.default, Object.assign({}, d, { ref: "selectMenuInstRef", class: [this.themeClass, d == null ? void 0 : d.class], value: this.mergedValue, show: this.mergedShow && this.showSelectMenu, pattern: this.pattern, multiple: this.multiple, tmNodes: this.treeMate.treeNodes, filter: this.filter, labelField: this.labelField, separator: this.separator, style: [
1848
1848
  this.cssVars,
1849
1849
  d == null ? void 0 : d.style
1850
1850
  ] }));
@@ -1855,22 +1855,22 @@ dt.default = (0, S.c)([(0, S.cB)("cascader-menu", `
1855
1855
  );
1856
1856
  }
1857
1857
  });
1858
- })(jt);
1858
+ })(Dt);
1859
1859
  (function(e) {
1860
- var l = K && K.__importDefault || function(c) {
1860
+ var i = K && K.__importDefault || function(c) {
1861
1861
  return c && c.__esModule ? c : { default: c };
1862
1862
  };
1863
- Object.defineProperty(e, "__esModule", { value: !0 }), e.cascaderProps = e.NCascader = void 0;
1864
- var o = jt;
1865
- Object.defineProperty(e, "NCascader", { enumerable: !0, get: function() {
1866
- return l(o).default;
1867
- } }), Object.defineProperty(e, "cascaderProps", { enumerable: !0, get: function() {
1868
- return o.cascaderProps;
1863
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.NCascader = e.cascaderProps = void 0;
1864
+ var l = Dt;
1865
+ Object.defineProperty(e, "cascaderProps", { enumerable: !0, get: function() {
1866
+ return l.cascaderProps;
1867
+ } }), Object.defineProperty(e, "NCascader", { enumerable: !0, get: function() {
1868
+ return i(l).default;
1869
1869
  } });
1870
- })($t);
1870
+ })(jt);
1871
1871
  const xn = /* @__PURE__ */ go({
1872
1872
  __proto__: null
1873
- }, [$t]);
1873
+ }, [jt]);
1874
1874
  export {
1875
1875
  xn as i
1876
1876
  };