epic-designer-gold 1.0.31 → 1.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{_vue_commonjs-external-BbihI59z.cjs → _vue_commonjs-external-CccDNqHl.cjs} +1 -1
- package/dist/{attributeView-CSiGWdPc.js → attributeView-BAtvUAhV.js} +22 -22
- package/dist/attributeView-BF8AFFq3.cjs +1 -0
- package/dist/{az-CJXcaytS.cjs → az-BHlmRKxT.cjs} +1 -1
- package/dist/be-Bix86zGn.cjs +1 -0
- package/dist/be-kPl6P6VI.js +37 -0
- package/dist/{bg-DCT06eJE.cjs → bg-DRyWA3-W.cjs} +1 -1
- package/dist/{bn-bd-DaKs5QkR.cjs → bn-bd-DsQtVph4.cjs} +1 -1
- package/dist/{button-BbHi0DmU.js → button-q-1FLMFj.js} +2 -2
- package/dist/{ca-DCcDFeSK.js → ca-B_2hM20M.js} +6 -6
- package/dist/core/components/asyncLoader/index.vue.d.ts +1 -1
- package/dist/core/components/builder/src/builder.vue.d.ts +6 -11
- package/dist/core/components/designer/src/designer.vue.d.ts +200 -9
- package/dist/core/components/designer/src/modules/actionBar/index.vue.d.ts +1 -1
- package/dist/core/components/designer/src/modules/attributeView/attributeView.vue.d.ts +1 -1
- package/dist/core/components/designer/src/modules/attributeView/eventView.vue.d.ts +1 -1
- package/dist/core/components/designer/src/modules/attributeView/styleView.vue.d.ts +1 -1
- package/dist/core/components/designer/src/modules/componentView/index.vue.d.ts +1 -1
- package/dist/core/components/designer/src/modules/editContainer/editNodeItem.vue.d.ts +4 -5
- package/dist/core/components/designer/src/modules/editContainer/editScreenContainer.vue.d.ts +7 -2
- package/dist/core/components/designer/src/modules/editContainer/index.vue.d.ts +19 -1
- package/dist/core/components/designer/src/modules/editContainer/nodeItem.vue.d.ts +3 -5
- package/dist/core/components/designer/src/modules/editContainer/previewJson.vue.d.ts +3 -1
- package/dist/core/components/designer/src/modules/editContainer/previewWidgets.vue.d.ts +5 -1
- package/dist/core/components/designer/src/modules/editContainer/toolbar.vue.d.ts +17 -1
- package/dist/core/components/designer/src/modules/header/index.vue.d.ts +6 -5
- package/dist/core/components/designer/src/modules/outline/outline.vue.d.ts +1 -1
- package/dist/core/components/designer/src/modules/preview/index.vue.d.ts +85 -1
- package/dist/core/components/designer/src/modules/rightSidebar/breadcrumb.vue.d.ts +1 -1
- package/dist/core/components/icon/src/icon.vue.d.ts +4 -6
- package/dist/core/components/node/src/dynamicFormItem.vue.d.ts +12 -11
- package/dist/core/components/node/src/node.vue.d.ts +19 -24
- package/dist/core/components/tree/src/tree.vue.d.ts +1 -1
- package/dist/core/components/tree/src/treeNodeItem.vue.d.ts +3 -4
- package/dist/core/components/tree/src/treeNodes.vue.d.ts +4 -6
- package/dist/core/extensions/EActionEditor/index.vue.d.ts +25 -1
- package/dist/core/extensions/EActionEditor/src/EArgsEditor.vue.d.ts +5 -7
- package/dist/core/extensions/EActionEditor/src/EScriptEdit.vue.d.ts +3 -1
- package/dist/core/extensions/EColEditor/index.vue.d.ts +1 -1
- package/dist/core/extensions/EColumnEditor/columnItem.vue.d.ts +4 -5
- package/dist/core/extensions/EColumnEditor/index.vue.d.ts +5 -9
- package/dist/core/extensions/EDataSource/index.vue.d.ts +3 -1
- package/dist/core/extensions/EDescribe/index.vue.d.ts +9 -0
- package/dist/core/extensions/EInputSize/index.vue.d.ts +4 -5
- package/dist/core/extensions/EOptionsEditor/index.vue.d.ts +9 -13
- package/dist/core/extensions/EOptionsEditor/optionItem.vue.d.ts +4 -5
- package/dist/core/extensions/ERuleEditor/ERuleItem.vue.d.ts +5 -6
- package/dist/core/extensions/ERuleEditor/index.vue.d.ts +1 -1
- package/dist/core/extensions/ESourceDataSelect/index.vue.d.ts +6 -18
- package/dist/core/extensions/EValidateParam/index.vue.d.ts +13 -0
- package/dist/core/extensions/MonacoEditor/index.vue.d.ts +15 -21
- package/dist/core/extensions/PaddingMarginControl/index.vue.d.ts +5 -6
- package/dist/core/extensions/Page/index.vue.d.ts +7 -7
- package/dist/{cs-D_hyDJBU.cjs → cs-fe0nQEUY.cjs} +1 -1
- package/dist/{de-CjumkRE8.js → de-DC7xuNPN.js} +3 -3
- package/dist/{el-DyUHskgW.js → el-C0J72FUl.js} +2 -2
- package/dist/{el-BCec0wpC.cjs → el-CUlPbKiq.cjs} +1 -1
- package/dist/{en-gb-C8f1Enek.js → en-gb-D42jaZg9.js} +5 -5
- package/dist/{es-DP04S73E.js → es-C058DgcQ.js} +4 -4
- package/dist/{es-BFLRglxD.cjs → es-CV4N9sQJ.cjs} +1 -1
- package/dist/{et-ipLqjCDG.js → et-hoTk9uxt.js} +5 -5
- package/dist/{eventView-5fa6mfSD.cjs → eventView-BExxE07B.cjs} +1 -1
- package/dist/{eventView-C2wKhfU_.js → eventView-eNaiVabA.js} +4 -4
- package/dist/{fade-in-scale-up.cssr-C_UMnGtI.cjs → fade-in-scale-up.cssr-D5DdSaTl.cjs} +1 -1
- package/dist/{fade-in-scale-up.cssr-BXjoIAAA.js → fade-in-scale-up.cssr-XJx96aae.js} +1 -1
- package/dist/{form-ChuxpD-f.cjs → form-BfnGWRf4.cjs} +1 -1
- package/dist/form-CUbklubB.cjs +1 -0
- package/dist/form-DGbjgAvD.js +208 -0
- package/dist/{form-Cr7tBgLQ.js → form-DkDGcNCH.js} +7 -7
- package/dist/{form-BPH0cDFl.js → form-r1D2WYPd.js} +3 -3
- package/dist/{formItem-D10Om12T.js → formItem-B6XaNgi9.js} +2 -2
- package/dist/{formItem-cj8JQT2r.js → formItem-BJ-M4LAL.js} +2 -2
- package/dist/{formItem-Do31LPIz.cjs → formItem-DS5AjuJ9.cjs} +1 -1
- package/dist/{formItem-DPnbV4m-.js → formItem-E3dd7dU1.js} +3 -3
- package/dist/{fr-D1kezmpm.cjs → fr-B_IotmK8.cjs} +1 -1
- package/dist/{fr-ca-EPfCD7sc.js → fr-ca-DfJb7eFN.js} +4 -4
- package/dist/ga-DP4_Ma79.js +22 -0
- package/dist/ga-Upa8swLh.cjs +1 -0
- package/dist/{gl-CBMDu4db.js → gl-L0SOKqrF.js} +1 -1
- package/dist/{gl-DI-aVaAh.cjs → gl-buZ-VDaz.cjs} +1 -1
- package/dist/{he-O14-JKYm.cjs → he-CwFEkyZP.cjs} +1 -1
- package/dist/{hi-nXeMgLvO.js → hi-CG6raJ8L.js} +2 -2
- package/dist/{hy-am-BLnv1pCz.cjs → hy-am-IbMCW8s4.cjs} +1 -1
- package/dist/{hy-am-CvHDFapi.js → hy-am-QWdQfrnZ.js} +2 -2
- package/dist/{icon.vue_vue_type_script_setup_true_lang-D3QdcReY.js → icon.vue_vue_type_script_setup_true_lang-DW206h_7.js} +2 -2
- package/dist/{id-CO78nlWo.js → id-CXRpiOjX.js} +4 -4
- package/dist/index-3k1IXN1T.js +1772 -0
- package/dist/{index-B0OgKtuT.js → index-9Mn4Y5ul.js} +30 -30
- package/dist/index-B7v1JNbf.cjs +351 -0
- package/dist/{index-DgcFxYFp.js → index-BMXnkqXx.js} +3 -3
- package/dist/{index-CCCx1tbF.cjs → index-BRAbfTxT.cjs} +1 -1
- package/dist/index-BRSms-yQ.cjs +10 -0
- package/dist/{index-WkZdU_zw.js → index-BTaKazMR.js} +3 -3
- package/dist/index-BU3ulVXO.cjs +51 -0
- package/dist/index-BVGB9juO.cjs +352 -0
- package/dist/index-BWTbnurN.cjs +102 -0
- package/dist/index-B_ZNp-FD.cjs +10 -0
- package/dist/index-BakH-Ay7.js +1513 -0
- package/dist/{index-tSmvj7CR.js → index-BdXFwT-C.js} +749 -721
- package/dist/{index-D1ZL6feZ.js → index-Bf7gu4Ub.js} +28210 -27533
- package/dist/index-BlIhb2K5.cjs +65 -0
- package/dist/{index-DYQi05p8.cjs → index-BozsQqds.cjs} +1 -1
- package/dist/index-BtKa0UKV.cjs +326 -0
- package/dist/index-BwHmwZ5G.cjs +1 -0
- package/dist/{index-D2GF87Tg.cjs → index-Bxdmlmwu.cjs} +1 -1
- package/dist/index-C3ri9kGU.cjs +110 -0
- package/dist/index-C4CkFEzv.cjs +1 -0
- package/dist/{index-COyKmK8p.js → index-C4laxGCk.js} +532 -529
- package/dist/{index-B2RMcVgD.js → index-C5yUsiJH.js} +3 -3
- package/dist/{index-CpTA2IRB.js → index-CAYHjLKP.js} +10 -10
- package/dist/index-CFChTrwc.cjs +1 -0
- package/dist/index-CFHEVgng.cjs +1 -0
- package/dist/index-CHYKgo9A.cjs +1 -0
- package/dist/{index-CNOUPCih.js → index-CLAopW_w.js} +143 -142
- package/dist/index-CLeSXOVj.js +122 -0
- package/dist/{index-CdnV7DS4.js → index-CQSYlqUB.js} +3 -3
- package/dist/{index-Hdc_C4Xg.js → index-CRaEQ5ns.js} +116 -115
- package/dist/{index-BbTWJKHb.js → index-CT056ccv.js} +23 -23
- package/dist/index-CcXd7BgN.js +451 -0
- package/dist/{index-RL7vrExY.js → index-Cecp9t8s.js} +17 -17
- package/dist/index-ClgIpXW0.cjs +1 -0
- package/dist/index-CnPBVx5Y.cjs +181 -0
- package/dist/index-CpTUkT9o.cjs +159 -0
- package/dist/index-CqIGF1hQ.cjs +86 -0
- package/dist/{index-DymbM-qI.js → index-CrVn9CfT.js} +79 -72
- package/dist/{index-Cmfhlo_3.js → index-D2n96wxz.js} +5 -5
- package/dist/{index-FgdbKgb5.cjs → index-DER3z6SG.cjs} +1 -1
- package/dist/{index-Dk0fyxAJ.cjs → index-DExGgrX9.cjs} +1 -1
- package/dist/{index-lCYWKDlK.js → index-DI-E5Cpq.js} +6 -6
- package/dist/{index-Cx7gKpkD.js → index-DMnyvgEN.js} +3 -3
- package/dist/{index-DaRhLTx9.js → index-DMuf-r1U.js} +489 -489
- package/dist/{index-gA02bxwJ.js → index-DUFhAGX3.js} +3443 -3361
- package/dist/{index-CjcjqKkB.js → index-DWSlxQBe.js} +87 -86
- package/dist/index-DYU07eGb.cjs +1 -0
- package/dist/{index-BENF2JDS.cjs → index-Di9sEDRc.cjs} +1 -1
- package/dist/{index-DQ9Vb0QH.js → index-Dkj_Zz4E.js} +309 -308
- package/dist/index-DlWUR7vt.cjs +6 -0
- package/dist/index-Dp0hJSh5.js +4 -0
- package/dist/{index-3fW_aWMH.js → index-Ds_DeGh-.js} +581 -567
- package/dist/index-FaOdtMdB.cjs +214 -0
- package/dist/index-K9w-efBB.cjs +1 -0
- package/dist/{index-DiDIFoTk.js → index-KXG0ExdR.js} +3 -3
- package/dist/index-UpNznhhe.js +19 -0
- package/dist/index-XEUPyaqB.js +655 -0
- package/dist/index-Xnqspbxj.js +59 -0
- package/dist/{index-v2u1WTMm.cjs → index-aIGMRk0a.cjs} +1 -1
- package/dist/{index-BEUYVwRA.cjs → index-eAXbC_rr.cjs} +1 -1
- package/dist/index-lf6yCev-.cjs +1 -0
- package/dist/{index-BhMVNODR.js → index-natF7VzY.js} +9 -12
- package/dist/index-o6azVcPr.js +11903 -0
- package/dist/{index-Cln9MN7u.js → index-ocw8DZly.js} +5 -5
- package/dist/index-r7I2iBup.cjs +9 -0
- package/dist/index-sFE9uQIP.js +1712 -0
- package/dist/{index-IGxCNti8.js → index-syyNmnFq.js} +5 -5
- package/dist/index-t1QZ07qC.cjs +864 -0
- package/dist/{index-R2r9Rw5O.cjs → index-uyQPLEww.cjs} +1 -1
- package/dist/{index-CpevxZqj.cjs → index-waYHs7SN.cjs} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +6 -6
- package/dist/{is-C40R_fdL.cjs → is-DKGME0z-.cjs} +1 -1
- package/dist/{it-BFF7WzRR.js → it-BtbhD8pq.js} +1 -1
- package/dist/{it-D7K-0U_k.cjs → it-ZWKZeGyD.cjs} +1 -1
- package/dist/{ja-4CWMghxy.js → ja--ZXRcv9f.js} +4 -4
- package/dist/{ja-CAXCMb11.cjs → ja-pfO_QIN1.cjs} +1 -1
- package/dist/{ka-DrA_EMLP.js → ka-2eqGlkEl.js} +2 -2
- package/dist/{kk-Bv8yYeRk.cjs → kk-8gl4nJDr.cjs} +1 -1
- package/dist/{kk-QVPqpI2b.js → kk-U2vwYR0_.js} +2 -2
- package/dist/{km-BmycjYfj.cjs → km-BhO_ypYk.cjs} +1 -1
- package/dist/{km-CBMnSWv_.js → km-CvriZlET.js} +2 -2
- package/dist/{kn-TECqDIit.js → kn-B3fo7baQ.js} +2 -2
- package/dist/{kn-CFiXt5hu.cjs → kn-DbnERw-L.cjs} +1 -1
- package/dist/{lt-D0cq_0yM.js → lt-LJQA5IUB.js} +8 -8
- package/dist/{lv-CoTNe47-.cjs → lv-BOhsxkyH.cjs} +1 -1
- package/dist/{lv-CVdYvxq8.js → lv-mhTNPcB7.js} +6 -6
- package/dist/{mk-DVN6iYK_.cjs → mk-Bjsw8OIP.cjs} +1 -1
- package/dist/{mk-DDuk7A3P.js → mk-CwQCoXyz.js} +2 -2
- package/dist/{ml-DnXJOqZ0.cjs → ml-B2Uwy4uy.cjs} +1 -1
- package/dist/{ml-CPI3tJe8.js → ml-Cb3T32D6.js} +2 -2
- package/dist/{mn-CNbMEx0y.js → mn-CNzb6fwh.js} +2 -2
- package/dist/{mn-DMIrWGkN.cjs → mn-CsItTiQc.cjs} +1 -1
- package/dist/{modal-3Iw7tqyx.js → modal-BRQmBRpE.js} +4 -4
- package/dist/{modal-DZRJyZfk.cjs → modal-BgQNXEZY.cjs} +1 -1
- package/dist/{ms-my-BoMZ8Hzl.cjs → ms-my-BgFBTdYR.cjs} +1 -1
- package/dist/{ms-my-BcgYEtml.js → ms-my-CQBECOnt.js} +6 -6
- package/dist/{nb-BL5QmNEa.js → nb-ChJHZ1i8.js} +2 -2
- package/dist/{ne-9klrwaIE.js → ne-KSsPp_--.js} +4 -4
- package/dist/{ne-VNPqdWFn.cjs → ne-wk64JT9v.cjs} +1 -1
- package/dist/{nl-DBFNL8wC.cjs → nl-B5Fclgi6.cjs} +1 -1
- package/dist/ocrUpload-CMskfGHX.cjs +1 -0
- package/dist/ocrUpload-Cxxs1GtD.js +521 -0
- package/dist/orcSelectPage-CXd59VaA.js +47 -0
- package/dist/orcSelectPage-DY_4W3lm.cjs +1 -0
- package/dist/{outline-BE98qFHQ.cjs → outline-BkNtj_2a.cjs} +1 -1
- package/dist/{outline-Ch5PHy3c.js → outline-S7RIV1S6.js} +4 -4
- package/dist/{pluginManager-BCnrHPYv.js → pluginManager-B0y107-1.js} +1 -1
- package/dist/{pluginManager-DWHAX8kP.cjs → pluginManager-C8aQylGX.cjs} +1 -1
- package/dist/{pt-BaTZB0XW.cjs → pt-BfCV6EE0.cjs} +1 -1
- package/dist/{pt-br-C1mqj5qX.js → pt-br-BC7LLaiM.js} +3 -3
- package/dist/{pt-br-B_N58uu_.cjs → pt-br-Cmqeku7l.cjs} +1 -1
- package/dist/{ro-Cnuhxb40.cjs → ro-BoP4bVrV.cjs} +1 -1
- package/dist/row-CAcx39Av.cjs +1 -0
- package/dist/row-DhORW-4_.js +34 -0
- package/dist/{ru-CCbLARi0.js → ru-CLqP_yvB.js} +5 -5
- package/dist/select-957IpcJa.js +38 -0
- package/dist/select-BgVmNynq.cjs +1 -0
- package/dist/{selectPage-CrdVWKGk.cjs → selectPage-H4G0pWhK.cjs} +1 -1
- package/dist/{selectPage-Bm45M31g.js → selectPage-oM1OpHbJ.js} +3 -3
- package/dist/{sign-BS-9u6is.cjs → sign-Cusu4oCD.cjs} +1 -1
- package/dist/{sign-l63EYvVo.js → sign-Cz5OCE1C.js} +12 -12
- package/dist/{sk-DRjgEzVO.cjs → sk-DvU2x_On.cjs} +1 -1
- package/dist/{sl-CL8MnX8D.js → sl-MH1u3xWj.js} +9 -9
- package/dist/style.css +1 -1
- package/dist/{styleView-CrBDikDV.cjs → styleView-DAskd_e3.cjs} +1 -1
- package/dist/{styleView-DONajUQ-.js → styleView-oSuNX97o.js} +8 -8
- package/dist/{ta-CsfYqZQU.js → ta-CeKe4tRh.js} +2 -2
- package/dist/{tabs-CYH9lAUk.cjs → tabs-5lcSnurM.cjs} +1 -1
- package/dist/{tabs-DCyifACM.js → tabs-Cu4PLnTU.js} +1 -1
- package/dist/{th-C-CGWPlT.cjs → th-B1vCpSkb.cjs} +1 -1
- package/dist/{th-CC5sx7mS.js → th-DuVrYobw.js} +2 -2
- package/dist/theme/var.less +6 -5
- package/dist/{tree.vue_vue_type_script_setup_true_lang-VGvT-OYl.cjs → tree.vue_vue_type_script_setup_true_lang-583kvI0Q.cjs} +1 -1
- package/dist/{tree.vue_vue_type_script_setup_true_lang-BsVyMb-n.js → tree.vue_vue_type_script_setup_true_lang-M13R0TPV.js} +4 -4
- package/dist/ui/antd/button/button.vue.d.ts +2 -1
- package/dist/ui/antd/index.cjs +2 -2
- package/dist/ui/antd/index.js +40 -40
- package/dist/ui/antd/modal/modal.vue.d.ts +3 -2
- package/dist/ui/antd/upload-image/uploadImage.vue.d.ts +1 -1
- package/dist/ui/elementPlus/form/form.vue.d.ts +372 -7
- package/dist/ui/elementPlus/formItem/formItem.vue.d.ts +346 -3
- package/dist/ui/elementPlus/index.cjs +1 -1
- package/dist/ui/elementPlus/index.js +556 -253
- package/dist/ui/elementPlus/modal/modal.d.ts +1 -1
- package/dist/ui/elementPlus/ocr-select-page/index.d.ts +3 -0
- package/dist/ui/elementPlus/ocr-select-page/orcSelectPage.d.ts +8 -0
- package/dist/ui/elementPlus/ocr-upload/index.d.ts +3 -0
- package/dist/ui/elementPlus/ocr-upload/ocrUpload.d.ts +21 -0
- package/dist/ui/naiveUi/form-item/formItem.vue.d.ts +772 -3
- package/dist/ui/naiveUi/index.cjs +1 -1
- package/dist/ui/naiveUi/index.js +11 -11
- package/dist/ui/naiveUi/modal/modal.d.ts +1 -1
- package/dist/{uk-Cc6k-QUE.cjs → uk-8RCZke0G.cjs} +1 -1
- package/dist/{uploadImage-Db_66X3C.js → uploadImage-DKgjQrSu.js} +4 -4
- package/dist/{uploadImage-nwjqcVFU.cjs → uploadImage-r7uyNOKB.cjs} +1 -1
- package/dist/{ur-C0tmW1hr.js → ur-Dj65NIKf.js} +3 -3
- package/dist/utils/manager/pluginManager.d.ts +16 -16
- package/dist/{vi-j1PGHz1o.js → vi-BEZaL78_.js} +4 -4
- package/dist/{vi-Dyfq5Qgz.cjs → vi-aBc6LsS_.cjs} +1 -1
- package/dist/{vuedraggable.umd-BqhSJIAi.cjs → vuedraggable.umd-CxOWsXm8.cjs} +6 -6
- package/dist/{vuedraggable.umd-D2S7Eo7p.js → vuedraggable.umd-D908YPOr.js} +396 -400
- package/dist/{zh-cn-BKQHxHe9.cjs → zh-cn-DTp5Vsak.cjs} +1 -1
- package/dist/{zh-hk-hNFRxlrX.cjs → zh-hk-DvIiOtyL.cjs} +1 -1
- package/dist/{zh-tw-BT16WIrT.js → zh-tw-BZt76cZl.js} +7 -7
- package/dist/{zh-tw-SGOlw9Wo.cjs → zh-tw-OGVt40m9.cjs} +1 -1
- package/package.json +1 -1
- package/dist/attributeView-UzP3tU2D.cjs +0 -1
- package/dist/axios-CXDYiOMX.js +0 -1704
- package/dist/axios-tuVKNgv9.cjs +0 -6
- package/dist/be--_CkdeMD.cjs +0 -1
- package/dist/be-DJzFjqtL.js +0 -22
- package/dist/form-Bofkrmkd.cjs +0 -1
- package/dist/form-VbfBmb63.js +0 -72
- package/dist/ga-B7Rd2JIZ.cjs +0 -1
- package/dist/ga-BcnAx7jm.js +0 -22
- package/dist/index-4PPmJYKt.cjs +0 -51
- package/dist/index-B72l3XQl.js +0 -453
- package/dist/index-B8exdhvc.cjs +0 -1
- package/dist/index-BB9rZNCd.cjs +0 -181
- package/dist/index-BCk0LJsg.cjs +0 -347
- package/dist/index-BHZbtFEF.cjs +0 -1
- package/dist/index-BVUz9lFN.cjs +0 -325
- package/dist/index-BhICtIH5.js +0 -1433
- package/dist/index-BsXm6fLD.js +0 -1493
- package/dist/index-BwLkOBWy.cjs +0 -10
- package/dist/index-C9PHR_YC.js +0 -4
- package/dist/index-CR_tJiJv.js +0 -653
- package/dist/index-CU1ZFiwn.cjs +0 -1
- package/dist/index-CZFPJ6vM.cjs +0 -1
- package/dist/index-Cap7FkuS.cjs +0 -1
- package/dist/index-Cphndmia.cjs +0 -214
- package/dist/index-CraRg8wh.js +0 -107
- package/dist/index-D5WpEOUO.cjs +0 -351
- package/dist/index-DEBQD_h0.cjs +0 -1
- package/dist/index-DMszow96.cjs +0 -110
- package/dist/index-DTzB2pWI.cjs +0 -159
- package/dist/index-DWCSzZfR.cjs +0 -80
- package/dist/index-DyWFUxn5.js +0 -11674
- package/dist/index-RdEhd65J.cjs +0 -65
- package/dist/index-XU85x6vz.cjs +0 -9
- package/dist/index-g5ZjtbqH.cjs +0 -102
- package/dist/index-jx5A2kt8.cjs +0 -850
- package/dist/index-n6H8b6fT.cjs +0 -1
- package/dist/index-zYoSB4fa.cjs +0 -9
- package/dist/row-CkyJ9pQh.js +0 -35
- package/dist/row-NNlPGZRG.cjs +0 -1
- package/dist/select-BvJWp4t6.cjs +0 -1
- package/dist/select-CjWTf5kk.js +0 -45
- package/dist/ui/antd/form/form.vue.d.ts +0 -64
- package/dist/ui/antd/form-item/formItem.vue.d.ts +0 -18
|
@@ -0,0 +1,655 @@
|
|
|
1
|
+
import { c as B } from "./_commonjsHelpers-BVfed4GL.js";
|
|
2
|
+
import { b as _e, c as ye, a as Oe, _ as nt, f as lt, e as it, r as at } from "./index-Bf7gu4Ub.js";
|
|
3
|
+
import { b as X, c as Y, d as rt, s as ot, _ as st, r as ut, e as ct } from "./index-DUFhAGX3.js";
|
|
4
|
+
import { r as dt } from "./_vue_commonjs-external-NwvjgbHK.js";
|
|
5
|
+
import { f as ft } from "./fade-in-scale-up.cssr-XJx96aae.js";
|
|
6
|
+
import { u as ht } from "./utils-BM69FtWE.js";
|
|
7
|
+
function vt(u, p) {
|
|
8
|
+
for (var v = 0; v < p.length; v++) {
|
|
9
|
+
const h = p[v];
|
|
10
|
+
if (typeof h != "string" && !Array.isArray(h)) {
|
|
11
|
+
for (const b in h)
|
|
12
|
+
if (b !== "default" && !(b in u)) {
|
|
13
|
+
const m = Object.getOwnPropertyDescriptor(h, b);
|
|
14
|
+
m && Object.defineProperty(u, b, m.get ? m : {
|
|
15
|
+
enumerable: !0,
|
|
16
|
+
get: () => h[b]
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
return Object.freeze(Object.defineProperty(u, Symbol.toStringTag, { value: "Module" }));
|
|
22
|
+
}
|
|
23
|
+
var Se = {}, Me = {}, we = {}, Z = {}, x = {};
|
|
24
|
+
Object.defineProperty(x, "__esModule", { value: !0 });
|
|
25
|
+
x.self = Fe;
|
|
26
|
+
const mt = X, gt = Y, pt = _e, bt = ye;
|
|
27
|
+
function Fe(u) {
|
|
28
|
+
const { boxShadow2: p } = u;
|
|
29
|
+
return {
|
|
30
|
+
menuBoxShadow: p
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
const _t = (0, pt.createTheme)({
|
|
34
|
+
name: "Select",
|
|
35
|
+
common: bt.commonLight,
|
|
36
|
+
peers: {
|
|
37
|
+
InternalSelection: gt.internalSelectionLight,
|
|
38
|
+
InternalSelectMenu: mt.internalSelectMenuLight
|
|
39
|
+
},
|
|
40
|
+
self: Fe
|
|
41
|
+
});
|
|
42
|
+
x.default = _t;
|
|
43
|
+
Object.defineProperty(Z, "__esModule", { value: !0 });
|
|
44
|
+
const yt = X, Ot = Y, St = ye, Mt = x, wt = {
|
|
45
|
+
name: "Select",
|
|
46
|
+
common: St.commonDark,
|
|
47
|
+
peers: {
|
|
48
|
+
InternalSelection: Ot.internalSelectionDark,
|
|
49
|
+
InternalSelectMenu: yt.internalSelectMenuDark
|
|
50
|
+
},
|
|
51
|
+
self: Mt.self
|
|
52
|
+
};
|
|
53
|
+
Z.default = wt;
|
|
54
|
+
var q = {};
|
|
55
|
+
Object.defineProperty(q, "__esModule", { value: !0 });
|
|
56
|
+
q.selectRtl = void 0;
|
|
57
|
+
const Ft = ot, Tt = X, Pt = Y, Rt = Oe, Ct = rt;
|
|
58
|
+
q.selectRtl = {
|
|
59
|
+
name: "Select",
|
|
60
|
+
style: (0, Rt.c)([]),
|
|
61
|
+
peers: [Pt.internalSelectionRtl, Tt.internalSelectMenuRtl, Ct.tagRtl, Ft.scrollbarRtl]
|
|
62
|
+
};
|
|
63
|
+
(function(u) {
|
|
64
|
+
var p = B && B.__importDefault || function(m) {
|
|
65
|
+
return m && m.__esModule ? m : { default: m };
|
|
66
|
+
};
|
|
67
|
+
Object.defineProperty(u, "__esModule", { value: !0 }), u.selectRtl = u.selectLight = u.selectDark = void 0;
|
|
68
|
+
var v = Z;
|
|
69
|
+
Object.defineProperty(u, "selectDark", { enumerable: !0, get: function() {
|
|
70
|
+
return p(v).default;
|
|
71
|
+
} });
|
|
72
|
+
var h = x;
|
|
73
|
+
Object.defineProperty(u, "selectLight", { enumerable: !0, get: function() {
|
|
74
|
+
return p(h).default;
|
|
75
|
+
} });
|
|
76
|
+
var b = q;
|
|
77
|
+
Object.defineProperty(u, "selectRtl", { enumerable: !0, get: function() {
|
|
78
|
+
return b.selectRtl;
|
|
79
|
+
} });
|
|
80
|
+
})(we);
|
|
81
|
+
var ee = {};
|
|
82
|
+
Object.defineProperty(ee, "__esModule", {
|
|
83
|
+
value: !0
|
|
84
|
+
});
|
|
85
|
+
const Bt = ft, Q = Oe;
|
|
86
|
+
ee.default = (0, Q.c)([(0, Q.cB)("select", `
|
|
87
|
+
z-index: auto;
|
|
88
|
+
outline: none;
|
|
89
|
+
width: 100%;
|
|
90
|
+
position: relative;
|
|
91
|
+
font-weight: var(--n-font-weight);
|
|
92
|
+
`), (0, Q.cB)("select-menu", `
|
|
93
|
+
margin: 4px 0;
|
|
94
|
+
box-shadow: var(--n-menu-box-shadow);
|
|
95
|
+
`, [(0, Bt.fadeInScaleUpTransition)({
|
|
96
|
+
originalTransition: "background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier)"
|
|
97
|
+
})])]);
|
|
98
|
+
(function(u) {
|
|
99
|
+
var p = B && B.__importDefault || function(t) {
|
|
100
|
+
return t && t.__esModule ? t : { default: t };
|
|
101
|
+
};
|
|
102
|
+
Object.defineProperty(u, "__esModule", { value: !0 }), u.selectProps = void 0;
|
|
103
|
+
const v = at, h = ct, b = ut, m = it, i = dt, K = lt, te = st, T = _e, d = nt, Te = we, Pe = p(ee), P = ht;
|
|
104
|
+
u.selectProps = Object.assign(Object.assign({}, T.useTheme.props), {
|
|
105
|
+
to: d.useAdjustedTo.propTo,
|
|
106
|
+
bordered: {
|
|
107
|
+
type: Boolean,
|
|
108
|
+
default: void 0
|
|
109
|
+
},
|
|
110
|
+
clearable: Boolean,
|
|
111
|
+
clearFilterAfterSelect: {
|
|
112
|
+
type: Boolean,
|
|
113
|
+
default: !0
|
|
114
|
+
},
|
|
115
|
+
options: {
|
|
116
|
+
type: Array,
|
|
117
|
+
default: () => []
|
|
118
|
+
},
|
|
119
|
+
defaultValue: {
|
|
120
|
+
type: [String, Number, Array],
|
|
121
|
+
default: null
|
|
122
|
+
},
|
|
123
|
+
keyboard: {
|
|
124
|
+
type: Boolean,
|
|
125
|
+
default: !0
|
|
126
|
+
},
|
|
127
|
+
value: [String, Number, Array],
|
|
128
|
+
placeholder: String,
|
|
129
|
+
menuProps: Object,
|
|
130
|
+
multiple: Boolean,
|
|
131
|
+
size: String,
|
|
132
|
+
menuSize: {
|
|
133
|
+
type: String
|
|
134
|
+
},
|
|
135
|
+
filterable: Boolean,
|
|
136
|
+
disabled: {
|
|
137
|
+
type: Boolean,
|
|
138
|
+
default: void 0
|
|
139
|
+
},
|
|
140
|
+
remote: Boolean,
|
|
141
|
+
loading: Boolean,
|
|
142
|
+
filter: Function,
|
|
143
|
+
placement: {
|
|
144
|
+
type: String,
|
|
145
|
+
default: "bottom-start"
|
|
146
|
+
},
|
|
147
|
+
widthMode: {
|
|
148
|
+
type: String,
|
|
149
|
+
default: "trigger"
|
|
150
|
+
},
|
|
151
|
+
tag: Boolean,
|
|
152
|
+
onCreate: Function,
|
|
153
|
+
fallbackOption: {
|
|
154
|
+
type: [Function, Boolean],
|
|
155
|
+
default: void 0
|
|
156
|
+
},
|
|
157
|
+
show: {
|
|
158
|
+
type: Boolean,
|
|
159
|
+
default: void 0
|
|
160
|
+
},
|
|
161
|
+
showArrow: {
|
|
162
|
+
type: Boolean,
|
|
163
|
+
default: !0
|
|
164
|
+
},
|
|
165
|
+
maxTagCount: [Number, String],
|
|
166
|
+
ellipsisTagPopoverProps: Object,
|
|
167
|
+
consistentMenuWidth: {
|
|
168
|
+
type: Boolean,
|
|
169
|
+
default: !0
|
|
170
|
+
},
|
|
171
|
+
virtualScroll: {
|
|
172
|
+
type: Boolean,
|
|
173
|
+
default: !0
|
|
174
|
+
},
|
|
175
|
+
labelField: {
|
|
176
|
+
type: String,
|
|
177
|
+
default: "label"
|
|
178
|
+
},
|
|
179
|
+
valueField: {
|
|
180
|
+
type: String,
|
|
181
|
+
default: "value"
|
|
182
|
+
},
|
|
183
|
+
childrenField: {
|
|
184
|
+
type: String,
|
|
185
|
+
default: "children"
|
|
186
|
+
},
|
|
187
|
+
renderLabel: Function,
|
|
188
|
+
renderOption: Function,
|
|
189
|
+
renderTag: Function,
|
|
190
|
+
"onUpdate:value": [Function, Array],
|
|
191
|
+
inputProps: Object,
|
|
192
|
+
nodeProps: Function,
|
|
193
|
+
ignoreComposition: { type: Boolean, default: !0 },
|
|
194
|
+
showOnFocus: Boolean,
|
|
195
|
+
// for jsx
|
|
196
|
+
onUpdateValue: [Function, Array],
|
|
197
|
+
onBlur: [Function, Array],
|
|
198
|
+
onClear: [Function, Array],
|
|
199
|
+
onFocus: [Function, Array],
|
|
200
|
+
onScroll: [Function, Array],
|
|
201
|
+
onSearch: [Function, Array],
|
|
202
|
+
onUpdateShow: [Function, Array],
|
|
203
|
+
"onUpdate:show": [Function, Array],
|
|
204
|
+
displayDirective: {
|
|
205
|
+
type: String,
|
|
206
|
+
default: "show"
|
|
207
|
+
},
|
|
208
|
+
resetMenuOnOptionsChange: {
|
|
209
|
+
type: Boolean,
|
|
210
|
+
default: !0
|
|
211
|
+
},
|
|
212
|
+
status: String,
|
|
213
|
+
showCheckmark: {
|
|
214
|
+
type: Boolean,
|
|
215
|
+
default: !0
|
|
216
|
+
},
|
|
217
|
+
/** deprecated */
|
|
218
|
+
onChange: [Function, Array],
|
|
219
|
+
items: Array
|
|
220
|
+
}), u.default = (0, i.defineComponent)({
|
|
221
|
+
name: "Select",
|
|
222
|
+
props: u.selectProps,
|
|
223
|
+
slots: Object,
|
|
224
|
+
setup(t) {
|
|
225
|
+
process.env.NODE_ENV !== "production" && (0, i.watchEffect)(() => {
|
|
226
|
+
t.items !== void 0 && (0, d.warnOnce)("select", "`items` is deprecated, please use `options` instead."), t.onChange !== void 0 && (0, d.warnOnce)("select", "`on-change` is deprecated, please use `on-update:value` instead.");
|
|
227
|
+
});
|
|
228
|
+
const { mergedClsPrefixRef: _, mergedBorderedRef: k, namespaceRef: y, inlineThemeDisabled: f } = (0, T.useConfig)(t), ne = (0, T.useTheme)("Select", "-select", Pe.default, Te.selectLight, t, _), G = (0, i.ref)(t.defaultValue), Re = (0, i.toRef)(t, "value"), A = (0, m.useMergedState)(Re, G), D = (0, i.ref)(!1), R = (0, i.ref)(""), H = (0, m.useCompitable)(t, ["items", "options"]), S = (0, i.ref)([]), w = (0, i.ref)([]), le = (0, i.computed)(() => w.value.concat(S.value).concat(H.value)), Ce = (0, i.computed)(() => {
|
|
229
|
+
const { filter: e } = t;
|
|
230
|
+
if (e)
|
|
231
|
+
return e;
|
|
232
|
+
const { labelField: n, valueField: l } = t;
|
|
233
|
+
return (s, r) => {
|
|
234
|
+
if (!r)
|
|
235
|
+
return !1;
|
|
236
|
+
const a = r[n];
|
|
237
|
+
if (typeof a == "string")
|
|
238
|
+
return (0, P.patternMatched)(s, a);
|
|
239
|
+
const o = r[l];
|
|
240
|
+
return typeof o == "string" ? (0, P.patternMatched)(s, o) : typeof o == "number" ? (0, P.patternMatched)(s, String(o)) : !1;
|
|
241
|
+
};
|
|
242
|
+
}), Be = (0, i.computed)(() => {
|
|
243
|
+
if (t.remote)
|
|
244
|
+
return H.value;
|
|
245
|
+
{
|
|
246
|
+
const { value: e } = le, { value: n } = R;
|
|
247
|
+
return !n.length || !t.filterable ? e : (0, P.filterOptions)(e, Ce.value, n, t.childrenField);
|
|
248
|
+
}
|
|
249
|
+
}), ke = (0, i.computed)(() => {
|
|
250
|
+
const { valueField: e, childrenField: n } = t, l = (0, P.createTmOptions)(e, n);
|
|
251
|
+
return (0, h.createTreeMate)(Be.value, l);
|
|
252
|
+
}), ie = (0, i.computed)(() => (0, P.createValOptMap)(le.value, t.valueField, t.childrenField)), z = (0, i.ref)(!1), O = (0, m.useMergedState)((0, i.toRef)(t, "show"), z), g = (0, i.ref)(null), ae = (0, i.ref)(null), I = (0, i.ref)(null), { localeRef: Ae } = (0, T.useLocale)("Select"), De = (0, i.computed)(() => {
|
|
253
|
+
var e;
|
|
254
|
+
return (e = t.placeholder) !== null && e !== void 0 ? e : Ae.value.placeholder;
|
|
255
|
+
}), j = [], $ = (0, i.ref)(/* @__PURE__ */ new Map()), re = (0, i.computed)(() => {
|
|
256
|
+
const { fallbackOption: e } = t;
|
|
257
|
+
if (e === void 0) {
|
|
258
|
+
const { labelField: n, valueField: l } = t;
|
|
259
|
+
return (s) => ({
|
|
260
|
+
[n]: String(s),
|
|
261
|
+
[l]: s
|
|
262
|
+
});
|
|
263
|
+
}
|
|
264
|
+
return e === !1 ? !1 : (n) => Object.assign(e(n), {
|
|
265
|
+
value: n
|
|
266
|
+
});
|
|
267
|
+
});
|
|
268
|
+
function J(e) {
|
|
269
|
+
const n = t.remote, { value: l } = $, { value: s } = ie, { value: r } = re, a = [];
|
|
270
|
+
return e.forEach((o) => {
|
|
271
|
+
if (s.has(o))
|
|
272
|
+
a.push(s.get(o));
|
|
273
|
+
else if (n && l.has(o))
|
|
274
|
+
a.push(l.get(o));
|
|
275
|
+
else if (r) {
|
|
276
|
+
const c = r(o);
|
|
277
|
+
c && a.push(c);
|
|
278
|
+
}
|
|
279
|
+
}), a;
|
|
280
|
+
}
|
|
281
|
+
const oe = (0, i.computed)(() => {
|
|
282
|
+
if (t.multiple) {
|
|
283
|
+
const { value: e } = A;
|
|
284
|
+
return Array.isArray(e) ? J(e) : [];
|
|
285
|
+
}
|
|
286
|
+
return null;
|
|
287
|
+
}), se = (0, i.computed)(() => {
|
|
288
|
+
const { value: e } = A;
|
|
289
|
+
return !t.multiple && !Array.isArray(e) ? e === null ? null : J([e])[0] || null : null;
|
|
290
|
+
}), L = (0, T.useFormItem)(t), { mergedSizeRef: Ie, mergedDisabledRef: U, mergedStatusRef: je } = L;
|
|
291
|
+
function N(e, n) {
|
|
292
|
+
const { onChange: l, "onUpdate:value": s, onUpdateValue: r } = t, { nTriggerFormChange: a, nTriggerFormInput: o } = L;
|
|
293
|
+
l && (0, d.call)(l, e, n), r && (0, d.call)(r, e, n), s && (0, d.call)(s, e, n), G.value = e, a(), o();
|
|
294
|
+
}
|
|
295
|
+
function ue(e) {
|
|
296
|
+
const { onBlur: n } = t, { nTriggerFormBlur: l } = L;
|
|
297
|
+
n && (0, d.call)(n, e), l();
|
|
298
|
+
}
|
|
299
|
+
function Ve() {
|
|
300
|
+
const { onClear: e } = t;
|
|
301
|
+
e && (0, d.call)(e);
|
|
302
|
+
}
|
|
303
|
+
function xe(e) {
|
|
304
|
+
const { onFocus: n, showOnFocus: l } = t, { nTriggerFormFocus: s } = L;
|
|
305
|
+
n && (0, d.call)(n, e), s(), l && V();
|
|
306
|
+
}
|
|
307
|
+
function ze(e) {
|
|
308
|
+
const { onSearch: n } = t;
|
|
309
|
+
n && (0, d.call)(n, e);
|
|
310
|
+
}
|
|
311
|
+
function $e(e) {
|
|
312
|
+
const { onScroll: n } = t;
|
|
313
|
+
n && (0, d.call)(n, e);
|
|
314
|
+
}
|
|
315
|
+
function ce() {
|
|
316
|
+
var e;
|
|
317
|
+
const { remote: n, multiple: l } = t;
|
|
318
|
+
if (n) {
|
|
319
|
+
const { value: s } = $;
|
|
320
|
+
if (l) {
|
|
321
|
+
const { valueField: r } = t;
|
|
322
|
+
(e = oe.value) === null || e === void 0 || e.forEach((a) => {
|
|
323
|
+
s.set(a[r], a);
|
|
324
|
+
});
|
|
325
|
+
} else {
|
|
326
|
+
const r = se.value;
|
|
327
|
+
r && s.set(r[t.valueField], r);
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
function de(e) {
|
|
332
|
+
const { onUpdateShow: n, "onUpdate:show": l } = t;
|
|
333
|
+
n && (0, d.call)(n, e), l && (0, d.call)(l, e), z.value = e;
|
|
334
|
+
}
|
|
335
|
+
function V() {
|
|
336
|
+
U.value || (de(!0), z.value = !0, t.filterable && pe());
|
|
337
|
+
}
|
|
338
|
+
function M() {
|
|
339
|
+
de(!1);
|
|
340
|
+
}
|
|
341
|
+
function fe() {
|
|
342
|
+
R.value = "", w.value = j;
|
|
343
|
+
}
|
|
344
|
+
const E = (0, i.ref)(!1);
|
|
345
|
+
function Le() {
|
|
346
|
+
t.filterable && (E.value = !0);
|
|
347
|
+
}
|
|
348
|
+
function Ue() {
|
|
349
|
+
t.filterable && (E.value = !1, O.value || fe());
|
|
350
|
+
}
|
|
351
|
+
function Ne() {
|
|
352
|
+
U.value || (O.value ? t.filterable ? pe() : M() : V());
|
|
353
|
+
}
|
|
354
|
+
function Ee(e) {
|
|
355
|
+
var n, l;
|
|
356
|
+
!((l = (n = I.value) === null || n === void 0 ? void 0 : n.selfRef) === null || l === void 0) && l.contains(e.relatedTarget) || (D.value = !1, ue(e), M());
|
|
357
|
+
}
|
|
358
|
+
function We(e) {
|
|
359
|
+
xe(e), D.value = !0;
|
|
360
|
+
}
|
|
361
|
+
function qe() {
|
|
362
|
+
D.value = !0;
|
|
363
|
+
}
|
|
364
|
+
function Ke(e) {
|
|
365
|
+
var n;
|
|
366
|
+
!((n = g.value) === null || n === void 0) && n.$el.contains(e.relatedTarget) || (D.value = !1, ue(e), M());
|
|
367
|
+
}
|
|
368
|
+
function Ge() {
|
|
369
|
+
var e;
|
|
370
|
+
(e = g.value) === null || e === void 0 || e.focus(), M();
|
|
371
|
+
}
|
|
372
|
+
function He(e) {
|
|
373
|
+
var n;
|
|
374
|
+
O.value && (!((n = g.value) === null || n === void 0) && n.$el.contains((0, v.getPreciseEventTarget)(e)) || M());
|
|
375
|
+
}
|
|
376
|
+
function Je(e) {
|
|
377
|
+
if (!Array.isArray(e))
|
|
378
|
+
return [];
|
|
379
|
+
if (re.value)
|
|
380
|
+
return Array.from(e);
|
|
381
|
+
{
|
|
382
|
+
const { remote: n } = t, { value: l } = ie;
|
|
383
|
+
if (n) {
|
|
384
|
+
const { value: s } = $;
|
|
385
|
+
return e.filter((r) => l.has(r) || s.has(r));
|
|
386
|
+
} else
|
|
387
|
+
return e.filter((s) => l.has(s));
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
function he(e) {
|
|
391
|
+
W(e.rawNode);
|
|
392
|
+
}
|
|
393
|
+
function W(e) {
|
|
394
|
+
if (U.value)
|
|
395
|
+
return;
|
|
396
|
+
const { tag: n, remote: l, clearFilterAfterSelect: s, valueField: r } = t;
|
|
397
|
+
if (n && !l) {
|
|
398
|
+
const { value: a } = w, o = a[0] || null;
|
|
399
|
+
if (o) {
|
|
400
|
+
const c = S.value;
|
|
401
|
+
c.length ? c.push(o) : S.value = [o], w.value = j;
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
if (l && $.value.set(e[r], e), t.multiple) {
|
|
405
|
+
const a = Je(A.value), o = a.findIndex((c) => c === e[r]);
|
|
406
|
+
if (~o) {
|
|
407
|
+
if (a.splice(o, 1), n && !l) {
|
|
408
|
+
const c = ve(e[r]);
|
|
409
|
+
~c && (S.value.splice(c, 1), s && (R.value = ""));
|
|
410
|
+
}
|
|
411
|
+
} else
|
|
412
|
+
a.push(e[r]), s && (R.value = "");
|
|
413
|
+
N(a, J(a));
|
|
414
|
+
} else {
|
|
415
|
+
if (n && !l) {
|
|
416
|
+
const a = ve(e[r]);
|
|
417
|
+
~a ? S.value = [
|
|
418
|
+
S.value[a]
|
|
419
|
+
] : S.value = j;
|
|
420
|
+
}
|
|
421
|
+
ge(), M(), N(e[r], e);
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
function ve(e) {
|
|
425
|
+
return S.value.findIndex((l) => l[t.valueField] === e);
|
|
426
|
+
}
|
|
427
|
+
function Qe(e) {
|
|
428
|
+
O.value || V();
|
|
429
|
+
const { value: n } = e.target;
|
|
430
|
+
R.value = n;
|
|
431
|
+
const { tag: l, remote: s } = t;
|
|
432
|
+
if (ze(n), l && !s) {
|
|
433
|
+
if (!n) {
|
|
434
|
+
w.value = j;
|
|
435
|
+
return;
|
|
436
|
+
}
|
|
437
|
+
const { onCreate: r } = t, a = r ? r(n) : { [t.labelField]: n, [t.valueField]: n }, { valueField: o, labelField: c } = t;
|
|
438
|
+
H.value.some((F) => F[o] === a[o] || F[c] === a[c]) || S.value.some((F) => F[o] === a[o] || F[c] === a[c]) ? w.value = j : w.value = [a];
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
function Xe(e) {
|
|
442
|
+
e.stopPropagation();
|
|
443
|
+
const { multiple: n } = t;
|
|
444
|
+
!n && t.filterable && M(), Ve(), n ? N([], []) : N(null, null);
|
|
445
|
+
}
|
|
446
|
+
function Ye(e) {
|
|
447
|
+
!(0, v.happensIn)(e, "action") && !(0, v.happensIn)(e, "empty") && !(0, v.happensIn)(e, "header") && e.preventDefault();
|
|
448
|
+
}
|
|
449
|
+
function Ze(e) {
|
|
450
|
+
$e(e);
|
|
451
|
+
}
|
|
452
|
+
function me(e) {
|
|
453
|
+
var n, l, s, r, a;
|
|
454
|
+
if (!t.keyboard) {
|
|
455
|
+
e.preventDefault();
|
|
456
|
+
return;
|
|
457
|
+
}
|
|
458
|
+
switch (e.key) {
|
|
459
|
+
case " ":
|
|
460
|
+
if (t.filterable)
|
|
461
|
+
break;
|
|
462
|
+
e.preventDefault();
|
|
463
|
+
case "Enter":
|
|
464
|
+
if (!(!((n = g.value) === null || n === void 0) && n.isComposing)) {
|
|
465
|
+
if (O.value) {
|
|
466
|
+
const o = (l = I.value) === null || l === void 0 ? void 0 : l.getPendingTmNode();
|
|
467
|
+
o ? he(o) : t.filterable || (M(), ge());
|
|
468
|
+
} else if (V(), t.tag && E.value) {
|
|
469
|
+
const o = w.value[0];
|
|
470
|
+
if (o) {
|
|
471
|
+
const c = o[t.valueField], { value: F } = A;
|
|
472
|
+
t.multiple && Array.isArray(F) && F.includes(c) || W(o);
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
e.preventDefault();
|
|
477
|
+
break;
|
|
478
|
+
case "ArrowUp":
|
|
479
|
+
if (e.preventDefault(), t.loading)
|
|
480
|
+
return;
|
|
481
|
+
O.value && ((s = I.value) === null || s === void 0 || s.prev());
|
|
482
|
+
break;
|
|
483
|
+
case "ArrowDown":
|
|
484
|
+
if (e.preventDefault(), t.loading)
|
|
485
|
+
return;
|
|
486
|
+
O.value ? (r = I.value) === null || r === void 0 || r.next() : V();
|
|
487
|
+
break;
|
|
488
|
+
case "Escape":
|
|
489
|
+
O.value && ((0, d.markEventEffectPerformed)(e), M()), (a = g.value) === null || a === void 0 || a.focus();
|
|
490
|
+
break;
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
function ge() {
|
|
494
|
+
var e;
|
|
495
|
+
(e = g.value) === null || e === void 0 || e.focus();
|
|
496
|
+
}
|
|
497
|
+
function pe() {
|
|
498
|
+
var e;
|
|
499
|
+
(e = g.value) === null || e === void 0 || e.focusInput();
|
|
500
|
+
}
|
|
501
|
+
function et() {
|
|
502
|
+
var e;
|
|
503
|
+
O.value && ((e = ae.value) === null || e === void 0 || e.syncPosition());
|
|
504
|
+
}
|
|
505
|
+
ce(), (0, i.watch)((0, i.toRef)(t, "options"), ce);
|
|
506
|
+
const tt = {
|
|
507
|
+
focus: () => {
|
|
508
|
+
var e;
|
|
509
|
+
(e = g.value) === null || e === void 0 || e.focus();
|
|
510
|
+
},
|
|
511
|
+
focusInput: () => {
|
|
512
|
+
var e;
|
|
513
|
+
(e = g.value) === null || e === void 0 || e.focusInput();
|
|
514
|
+
},
|
|
515
|
+
blur: () => {
|
|
516
|
+
var e;
|
|
517
|
+
(e = g.value) === null || e === void 0 || e.blur();
|
|
518
|
+
},
|
|
519
|
+
blurInput: () => {
|
|
520
|
+
var e;
|
|
521
|
+
(e = g.value) === null || e === void 0 || e.blurInput();
|
|
522
|
+
}
|
|
523
|
+
}, be = (0, i.computed)(() => {
|
|
524
|
+
const { self: { menuBoxShadow: e } } = ne.value;
|
|
525
|
+
return {
|
|
526
|
+
"--n-menu-box-shadow": e
|
|
527
|
+
};
|
|
528
|
+
}), C = f ? (0, T.useThemeClass)("select", void 0, be, t) : void 0;
|
|
529
|
+
return Object.assign(Object.assign({}, tt), {
|
|
530
|
+
mergedStatus: je,
|
|
531
|
+
mergedClsPrefix: _,
|
|
532
|
+
mergedBordered: k,
|
|
533
|
+
namespace: y,
|
|
534
|
+
treeMate: ke,
|
|
535
|
+
isMounted: (0, m.useIsMounted)(),
|
|
536
|
+
triggerRef: g,
|
|
537
|
+
menuRef: I,
|
|
538
|
+
pattern: R,
|
|
539
|
+
uncontrolledShow: z,
|
|
540
|
+
mergedShow: O,
|
|
541
|
+
adjustedTo: (0, d.useAdjustedTo)(t),
|
|
542
|
+
uncontrolledValue: G,
|
|
543
|
+
mergedValue: A,
|
|
544
|
+
followerRef: ae,
|
|
545
|
+
localizedPlaceholder: De,
|
|
546
|
+
selectedOption: se,
|
|
547
|
+
selectedOptions: oe,
|
|
548
|
+
mergedSize: Ie,
|
|
549
|
+
mergedDisabled: U,
|
|
550
|
+
focused: D,
|
|
551
|
+
activeWithoutMenuOpen: E,
|
|
552
|
+
inlineThemeDisabled: f,
|
|
553
|
+
onTriggerInputFocus: Le,
|
|
554
|
+
onTriggerInputBlur: Ue,
|
|
555
|
+
handleTriggerOrMenuResize: et,
|
|
556
|
+
handleMenuFocus: qe,
|
|
557
|
+
handleMenuBlur: Ke,
|
|
558
|
+
handleMenuTabOut: Ge,
|
|
559
|
+
handleTriggerClick: Ne,
|
|
560
|
+
handleToggle: he,
|
|
561
|
+
handleDeleteOption: W,
|
|
562
|
+
handlePatternInput: Qe,
|
|
563
|
+
handleClear: Xe,
|
|
564
|
+
handleTriggerBlur: Ee,
|
|
565
|
+
handleTriggerFocus: We,
|
|
566
|
+
handleKeydown: me,
|
|
567
|
+
handleMenuAfterLeave: fe,
|
|
568
|
+
handleMenuClickOutside: He,
|
|
569
|
+
handleMenuScroll: Ze,
|
|
570
|
+
handleMenuKeydown: me,
|
|
571
|
+
handleMenuMousedown: Ye,
|
|
572
|
+
mergedTheme: ne,
|
|
573
|
+
cssVars: f ? void 0 : be,
|
|
574
|
+
themeClass: C == null ? void 0 : C.themeClass,
|
|
575
|
+
onRender: C == null ? void 0 : C.onRender
|
|
576
|
+
});
|
|
577
|
+
},
|
|
578
|
+
render() {
|
|
579
|
+
return (0, i.h)(
|
|
580
|
+
"div",
|
|
581
|
+
{ class: `${this.mergedClsPrefix}-select` },
|
|
582
|
+
(0, i.h)(K.VBinder, null, {
|
|
583
|
+
default: () => [
|
|
584
|
+
(0, i.h)(K.VTarget, null, {
|
|
585
|
+
default: () => (0, i.h)(te.NInternalSelection, { ref: "triggerRef", inlineThemeDisabled: this.inlineThemeDisabled, status: this.mergedStatus, inputProps: this.inputProps, clsPrefix: this.mergedClsPrefix, showArrow: this.showArrow, maxTagCount: this.maxTagCount, ellipsisTagPopoverProps: this.ellipsisTagPopoverProps, bordered: this.mergedBordered, active: this.activeWithoutMenuOpen || this.mergedShow, pattern: this.pattern, placeholder: this.localizedPlaceholder, selectedOption: this.selectedOption, selectedOptions: this.selectedOptions, multiple: this.multiple, renderTag: this.renderTag, renderLabel: this.renderLabel, filterable: this.filterable, clearable: this.clearable, disabled: this.mergedDisabled, size: this.mergedSize, theme: this.mergedTheme.peers.InternalSelection, labelField: this.labelField, valueField: this.valueField, themeOverrides: this.mergedTheme.peerOverrides.InternalSelection, loading: this.loading, focused: this.focused, onClick: this.handleTriggerClick, onDeleteOption: this.handleDeleteOption, onPatternInput: this.handlePatternInput, onClear: this.handleClear, onBlur: this.handleTriggerBlur, onFocus: this.handleTriggerFocus, onKeydown: this.handleKeydown, onPatternBlur: this.onTriggerInputBlur, onPatternFocus: this.onTriggerInputFocus, onResize: this.handleTriggerOrMenuResize, ignoreComposition: this.ignoreComposition }, {
|
|
586
|
+
arrow: () => {
|
|
587
|
+
var t, _;
|
|
588
|
+
return [(_ = (t = this.$slots).arrow) === null || _ === void 0 ? void 0 : _.call(t)];
|
|
589
|
+
}
|
|
590
|
+
})
|
|
591
|
+
}),
|
|
592
|
+
(0, i.h)(K.VFollower, { ref: "followerRef", show: this.mergedShow, to: this.adjustedTo, teleportDisabled: this.adjustedTo === d.useAdjustedTo.tdkey, containerClass: this.namespace, width: this.consistentMenuWidth ? "target" : void 0, minWidth: "target", placement: this.placement }, {
|
|
593
|
+
default: () => (0, i.h)(i.Transition, { name: "fade-in-scale-up-transition", appear: this.isMounted, onAfterLeave: this.handleMenuAfterLeave }, {
|
|
594
|
+
default: () => {
|
|
595
|
+
var t, _, k;
|
|
596
|
+
return this.mergedShow || this.displayDirective === "show" ? ((t = this.onRender) === null || t === void 0 || t.call(this), (0, i.withDirectives)((0, i.h)(te.NInternalSelectMenu, Object.assign({}, this.menuProps, { ref: "menuRef", onResize: this.handleTriggerOrMenuResize, inlineThemeDisabled: this.inlineThemeDisabled, virtualScroll: this.consistentMenuWidth && this.virtualScroll, class: [
|
|
597
|
+
`${this.mergedClsPrefix}-select-menu`,
|
|
598
|
+
this.themeClass,
|
|
599
|
+
(_ = this.menuProps) === null || _ === void 0 ? void 0 : _.class
|
|
600
|
+
], clsPrefix: this.mergedClsPrefix, focusable: !0, labelField: this.labelField, valueField: this.valueField, autoPending: !0, nodeProps: this.nodeProps, theme: this.mergedTheme.peers.InternalSelectMenu, themeOverrides: this.mergedTheme.peerOverrides.InternalSelectMenu, treeMate: this.treeMate, multiple: this.multiple, size: this.menuSize, renderOption: this.renderOption, renderLabel: this.renderLabel, value: this.mergedValue, style: [(k = this.menuProps) === null || k === void 0 ? void 0 : k.style, this.cssVars], onToggle: this.handleToggle, onScroll: this.handleMenuScroll, onFocus: this.handleMenuFocus, onBlur: this.handleMenuBlur, onKeydown: this.handleMenuKeydown, onTabOut: this.handleMenuTabOut, onMousedown: this.handleMenuMousedown, show: this.mergedShow, showCheckmark: this.showCheckmark, resetMenuOnOptionsChange: this.resetMenuOnOptionsChange }), {
|
|
601
|
+
empty: () => {
|
|
602
|
+
var y, f;
|
|
603
|
+
return [(f = (y = this.$slots).empty) === null || f === void 0 ? void 0 : f.call(y)];
|
|
604
|
+
},
|
|
605
|
+
header: () => {
|
|
606
|
+
var y, f;
|
|
607
|
+
return [(f = (y = this.$slots).header) === null || f === void 0 ? void 0 : f.call(y)];
|
|
608
|
+
},
|
|
609
|
+
action: () => {
|
|
610
|
+
var y, f;
|
|
611
|
+
return [(f = (y = this.$slots).action) === null || f === void 0 ? void 0 : f.call(y)];
|
|
612
|
+
}
|
|
613
|
+
}), this.displayDirective === "show" ? [
|
|
614
|
+
[i.vShow, this.mergedShow],
|
|
615
|
+
[
|
|
616
|
+
b.clickoutside,
|
|
617
|
+
this.handleMenuClickOutside,
|
|
618
|
+
void 0,
|
|
619
|
+
{ capture: !0 }
|
|
620
|
+
]
|
|
621
|
+
] : [
|
|
622
|
+
[
|
|
623
|
+
b.clickoutside,
|
|
624
|
+
this.handleMenuClickOutside,
|
|
625
|
+
void 0,
|
|
626
|
+
{ capture: !0 }
|
|
627
|
+
]
|
|
628
|
+
])) : null;
|
|
629
|
+
}
|
|
630
|
+
})
|
|
631
|
+
})
|
|
632
|
+
]
|
|
633
|
+
})
|
|
634
|
+
);
|
|
635
|
+
}
|
|
636
|
+
});
|
|
637
|
+
})(Me);
|
|
638
|
+
(function(u) {
|
|
639
|
+
var p = B && B.__importDefault || function(h) {
|
|
640
|
+
return h && h.__esModule ? h : { default: h };
|
|
641
|
+
};
|
|
642
|
+
Object.defineProperty(u, "__esModule", { value: !0 }), u.selectProps = u.NSelect = void 0;
|
|
643
|
+
var v = Me;
|
|
644
|
+
Object.defineProperty(u, "NSelect", { enumerable: !0, get: function() {
|
|
645
|
+
return p(v).default;
|
|
646
|
+
} }), Object.defineProperty(u, "selectProps", { enumerable: !0, get: function() {
|
|
647
|
+
return v.selectProps;
|
|
648
|
+
} });
|
|
649
|
+
})(Se);
|
|
650
|
+
const xt = /* @__PURE__ */ vt({
|
|
651
|
+
__proto__: null
|
|
652
|
+
}, [Se]);
|
|
653
|
+
export {
|
|
654
|
+
xt as i
|
|
655
|
+
};
|