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
package/dist/index-CR_tJiJv.js
DELETED
|
@@ -1,653 +0,0 @@
|
|
|
1
|
-
import { c as C } from "./_commonjsHelpers-BVfed4GL.js";
|
|
2
|
-
import { r as nt } from "./_vue_commonjs-external-NwvjgbHK.js";
|
|
3
|
-
import { c as _e, b as ye, a as Oe, f as lt, e as at, _ as it, r as rt } from "./index-D1ZL6feZ.js";
|
|
4
|
-
import { s as Q, b as X, c as ot, d as ut, r as st, e as ct, _ as dt } from "./index-gA02bxwJ.js";
|
|
5
|
-
import { u as ft } from "./utils-BM69FtWE.js";
|
|
6
|
-
import { f as ht } from "./fade-in-scale-up.cssr-BXjoIAAA.js";
|
|
7
|
-
function vt(s, g) {
|
|
8
|
-
for (var l = 0; l < g.length; l++) {
|
|
9
|
-
const c = g[l];
|
|
10
|
-
if (typeof c != "string" && !Array.isArray(c)) {
|
|
11
|
-
for (const y in c)
|
|
12
|
-
if (y !== "default" && !(y in s)) {
|
|
13
|
-
const v = Object.getOwnPropertyDescriptor(c, y);
|
|
14
|
-
v && Object.defineProperty(s, y, v.get ? v : {
|
|
15
|
-
enumerable: !0,
|
|
16
|
-
get: () => c[y]
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
return Object.freeze(Object.defineProperty(s, Symbol.toStringTag, { value: "Module" }));
|
|
22
|
-
}
|
|
23
|
-
var Se = {}, Me = {}, we = {}, Y = {}, j = {};
|
|
24
|
-
Object.defineProperty(j, "__esModule", { value: !0 });
|
|
25
|
-
j.self = Fe;
|
|
26
|
-
const mt = Q, gt = X, pt = _e, bt = ye;
|
|
27
|
-
function Fe(s) {
|
|
28
|
-
const { boxShadow2: g } = s;
|
|
29
|
-
return {
|
|
30
|
-
menuBoxShadow: g
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
const _t = (0, bt.createTheme)({
|
|
34
|
-
name: "Select",
|
|
35
|
-
common: pt.commonLight,
|
|
36
|
-
peers: {
|
|
37
|
-
InternalSelection: mt.internalSelectionLight,
|
|
38
|
-
InternalSelectMenu: gt.internalSelectMenuLight
|
|
39
|
-
},
|
|
40
|
-
self: Fe
|
|
41
|
-
});
|
|
42
|
-
j.default = _t;
|
|
43
|
-
Object.defineProperty(Y, "__esModule", { value: !0 });
|
|
44
|
-
const yt = Q, Ot = X, St = _e, Mt = j, wt = {
|
|
45
|
-
name: "Select",
|
|
46
|
-
common: St.commonDark,
|
|
47
|
-
peers: {
|
|
48
|
-
InternalSelection: yt.internalSelectionDark,
|
|
49
|
-
InternalSelectMenu: Ot.internalSelectMenuDark
|
|
50
|
-
},
|
|
51
|
-
self: Mt.self
|
|
52
|
-
};
|
|
53
|
-
Y.default = wt;
|
|
54
|
-
var q = {};
|
|
55
|
-
Object.defineProperty(q, "__esModule", { value: !0 });
|
|
56
|
-
q.selectRtl = void 0;
|
|
57
|
-
const Ft = X, Tt = Q, Pt = ot, Rt = ut, Ct = Oe;
|
|
58
|
-
q.selectRtl = {
|
|
59
|
-
name: "Select",
|
|
60
|
-
style: (0, Ct.c)([]),
|
|
61
|
-
peers: [Tt.internalSelectionRtl, Ft.internalSelectMenuRtl, Rt.tagRtl, Pt.scrollbarRtl]
|
|
62
|
-
};
|
|
63
|
-
(function(s) {
|
|
64
|
-
var g = C && C.__importDefault || function(v) {
|
|
65
|
-
return v && v.__esModule ? v : { default: v };
|
|
66
|
-
};
|
|
67
|
-
Object.defineProperty(s, "__esModule", { value: !0 }), s.selectRtl = s.selectLight = s.selectDark = void 0;
|
|
68
|
-
var l = Y;
|
|
69
|
-
Object.defineProperty(s, "selectDark", { enumerable: !0, get: function() {
|
|
70
|
-
return g(l).default;
|
|
71
|
-
} });
|
|
72
|
-
var c = j;
|
|
73
|
-
Object.defineProperty(s, "selectLight", { enumerable: !0, get: function() {
|
|
74
|
-
return g(c).default;
|
|
75
|
-
} });
|
|
76
|
-
var y = q;
|
|
77
|
-
Object.defineProperty(s, "selectRtl", { enumerable: !0, get: function() {
|
|
78
|
-
return y.selectRtl;
|
|
79
|
-
} });
|
|
80
|
-
})(we);
|
|
81
|
-
var Z = {};
|
|
82
|
-
Object.defineProperty(Z, "__esModule", {
|
|
83
|
-
value: !0
|
|
84
|
-
});
|
|
85
|
-
const J = Oe, Bt = ht;
|
|
86
|
-
Z.default = (0, J.c)([(0, J.cB)("select", `
|
|
87
|
-
z-index: auto;
|
|
88
|
-
outline: none;
|
|
89
|
-
width: 100%;
|
|
90
|
-
position: relative;
|
|
91
|
-
`), (0, J.cB)("select-menu", `
|
|
92
|
-
margin: 4px 0;
|
|
93
|
-
box-shadow: var(--n-menu-box-shadow);
|
|
94
|
-
`, [(0, Bt.fadeInScaleUpTransition)({
|
|
95
|
-
originalTransition: "background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier)"
|
|
96
|
-
})])]);
|
|
97
|
-
(function(s) {
|
|
98
|
-
var g = C && C.__importDefault || function(t) {
|
|
99
|
-
return t && t.__esModule ? t : { default: t };
|
|
100
|
-
};
|
|
101
|
-
Object.defineProperty(s, "__esModule", { value: !0 }), s.selectProps = void 0;
|
|
102
|
-
const l = nt, c = rt, y = st, v = lt, V = at, ee = ct, F = ye, f = it, te = dt, Te = we, T = ft, Pe = g(Z);
|
|
103
|
-
s.selectProps = Object.assign(Object.assign({}, F.useTheme.props), {
|
|
104
|
-
to: f.useAdjustedTo.propTo,
|
|
105
|
-
bordered: {
|
|
106
|
-
type: Boolean,
|
|
107
|
-
default: void 0
|
|
108
|
-
},
|
|
109
|
-
clearable: Boolean,
|
|
110
|
-
clearFilterAfterSelect: {
|
|
111
|
-
type: Boolean,
|
|
112
|
-
default: !0
|
|
113
|
-
},
|
|
114
|
-
options: {
|
|
115
|
-
type: Array,
|
|
116
|
-
default: () => []
|
|
117
|
-
},
|
|
118
|
-
defaultValue: {
|
|
119
|
-
type: [String, Number, Array],
|
|
120
|
-
default: null
|
|
121
|
-
},
|
|
122
|
-
keyboard: {
|
|
123
|
-
type: Boolean,
|
|
124
|
-
default: !0
|
|
125
|
-
},
|
|
126
|
-
value: [String, Number, Array],
|
|
127
|
-
placeholder: String,
|
|
128
|
-
menuProps: Object,
|
|
129
|
-
multiple: Boolean,
|
|
130
|
-
size: String,
|
|
131
|
-
menuSize: {
|
|
132
|
-
type: String
|
|
133
|
-
},
|
|
134
|
-
filterable: Boolean,
|
|
135
|
-
disabled: {
|
|
136
|
-
type: Boolean,
|
|
137
|
-
default: void 0
|
|
138
|
-
},
|
|
139
|
-
remote: Boolean,
|
|
140
|
-
loading: Boolean,
|
|
141
|
-
filter: Function,
|
|
142
|
-
placement: {
|
|
143
|
-
type: String,
|
|
144
|
-
default: "bottom-start"
|
|
145
|
-
},
|
|
146
|
-
widthMode: {
|
|
147
|
-
type: String,
|
|
148
|
-
default: "trigger"
|
|
149
|
-
},
|
|
150
|
-
tag: Boolean,
|
|
151
|
-
onCreate: Function,
|
|
152
|
-
fallbackOption: {
|
|
153
|
-
type: [Function, Boolean],
|
|
154
|
-
default: void 0
|
|
155
|
-
},
|
|
156
|
-
show: {
|
|
157
|
-
type: Boolean,
|
|
158
|
-
default: void 0
|
|
159
|
-
},
|
|
160
|
-
showArrow: {
|
|
161
|
-
type: Boolean,
|
|
162
|
-
default: !0
|
|
163
|
-
},
|
|
164
|
-
maxTagCount: [Number, String],
|
|
165
|
-
ellipsisTagPopoverProps: Object,
|
|
166
|
-
consistentMenuWidth: {
|
|
167
|
-
type: Boolean,
|
|
168
|
-
default: !0
|
|
169
|
-
},
|
|
170
|
-
virtualScroll: {
|
|
171
|
-
type: Boolean,
|
|
172
|
-
default: !0
|
|
173
|
-
},
|
|
174
|
-
labelField: {
|
|
175
|
-
type: String,
|
|
176
|
-
default: "label"
|
|
177
|
-
},
|
|
178
|
-
valueField: {
|
|
179
|
-
type: String,
|
|
180
|
-
default: "value"
|
|
181
|
-
},
|
|
182
|
-
childrenField: {
|
|
183
|
-
type: String,
|
|
184
|
-
default: "children"
|
|
185
|
-
},
|
|
186
|
-
renderLabel: Function,
|
|
187
|
-
renderOption: Function,
|
|
188
|
-
renderTag: Function,
|
|
189
|
-
"onUpdate:value": [Function, Array],
|
|
190
|
-
inputProps: Object,
|
|
191
|
-
nodeProps: Function,
|
|
192
|
-
ignoreComposition: { type: Boolean, default: !0 },
|
|
193
|
-
showOnFocus: Boolean,
|
|
194
|
-
// for jsx
|
|
195
|
-
onUpdateValue: [Function, Array],
|
|
196
|
-
onBlur: [Function, Array],
|
|
197
|
-
onClear: [Function, Array],
|
|
198
|
-
onFocus: [Function, Array],
|
|
199
|
-
onScroll: [Function, Array],
|
|
200
|
-
onSearch: [Function, Array],
|
|
201
|
-
onUpdateShow: [Function, Array],
|
|
202
|
-
"onUpdate:show": [Function, Array],
|
|
203
|
-
displayDirective: {
|
|
204
|
-
type: String,
|
|
205
|
-
default: "show"
|
|
206
|
-
},
|
|
207
|
-
resetMenuOnOptionsChange: {
|
|
208
|
-
type: Boolean,
|
|
209
|
-
default: !0
|
|
210
|
-
},
|
|
211
|
-
status: String,
|
|
212
|
-
showCheckmark: {
|
|
213
|
-
type: Boolean,
|
|
214
|
-
default: !0
|
|
215
|
-
},
|
|
216
|
-
/** deprecated */
|
|
217
|
-
onChange: [Function, Array],
|
|
218
|
-
items: Array
|
|
219
|
-
}), s.default = (0, l.defineComponent)({
|
|
220
|
-
name: "Select",
|
|
221
|
-
props: s.selectProps,
|
|
222
|
-
setup(t) {
|
|
223
|
-
process.env.NODE_ENV !== "production" && (0, l.watchEffect)(() => {
|
|
224
|
-
t.items !== void 0 && (0, f.warnOnce)("select", "`items` is deprecated, please use `options` instead."), t.onChange !== void 0 && (0, f.warnOnce)("select", "`on-change` is deprecated, please use `on-update:value` instead.");
|
|
225
|
-
});
|
|
226
|
-
const { mergedClsPrefixRef: p, mergedBorderedRef: B, namespaceRef: b, inlineThemeDisabled: h } = (0, F.useConfig)(t), ne = (0, F.useTheme)("Select", "-select", Pe.default, Te.selectLight, t, p), K = (0, l.ref)(t.defaultValue), Re = (0, l.toRef)(t, "value"), k = (0, V.useMergedState)(Re, K), A = (0, l.ref)(!1), P = (0, l.ref)(""), G = (0, V.useCompitable)(t, ["items", "options"]), O = (0, l.ref)([]), M = (0, l.ref)([]), le = (0, l.computed)(() => M.value.concat(O.value).concat(G.value)), Ce = (0, l.computed)(() => {
|
|
227
|
-
const { filter: e } = t;
|
|
228
|
-
if (e)
|
|
229
|
-
return e;
|
|
230
|
-
const { labelField: n, valueField: a } = t;
|
|
231
|
-
return (u, r) => {
|
|
232
|
-
if (!r)
|
|
233
|
-
return !1;
|
|
234
|
-
const i = r[n];
|
|
235
|
-
if (typeof i == "string")
|
|
236
|
-
return (0, T.patternMatched)(u, i);
|
|
237
|
-
const o = r[a];
|
|
238
|
-
return typeof o == "string" ? (0, T.patternMatched)(u, o) : typeof o == "number" ? (0, T.patternMatched)(u, String(o)) : !1;
|
|
239
|
-
};
|
|
240
|
-
}), Be = (0, l.computed)(() => {
|
|
241
|
-
if (t.remote)
|
|
242
|
-
return G.value;
|
|
243
|
-
{
|
|
244
|
-
const { value: e } = le, { value: n } = P;
|
|
245
|
-
return !n.length || !t.filterable ? e : (0, T.filterOptions)(e, Ce.value, n, t.childrenField);
|
|
246
|
-
}
|
|
247
|
-
}), ke = (0, l.computed)(() => {
|
|
248
|
-
const { valueField: e, childrenField: n } = t, a = (0, T.createTmOptions)(e, n);
|
|
249
|
-
return (0, y.createTreeMate)(Be.value, a);
|
|
250
|
-
}), ae = (0, l.computed)(() => (0, T.createValOptMap)(le.value, t.valueField, t.childrenField)), x = (0, l.ref)(!1), _ = (0, V.useMergedState)((0, l.toRef)(t, "show"), x), m = (0, l.ref)(null), ie = (0, l.ref)(null), D = (0, l.ref)(null), { localeRef: Ae } = (0, F.useLocale)("Select"), De = (0, l.computed)(() => {
|
|
251
|
-
var e;
|
|
252
|
-
return (e = t.placeholder) !== null && e !== void 0 ? e : Ae.value.placeholder;
|
|
253
|
-
}), I = [], z = (0, l.ref)(/* @__PURE__ */ new Map()), re = (0, l.computed)(() => {
|
|
254
|
-
const { fallbackOption: e } = t;
|
|
255
|
-
if (e === void 0) {
|
|
256
|
-
const { labelField: n, valueField: a } = t;
|
|
257
|
-
return (u) => ({
|
|
258
|
-
[n]: String(u),
|
|
259
|
-
[a]: u
|
|
260
|
-
});
|
|
261
|
-
}
|
|
262
|
-
return e === !1 ? !1 : (n) => Object.assign(e(n), {
|
|
263
|
-
value: n
|
|
264
|
-
});
|
|
265
|
-
});
|
|
266
|
-
function H(e) {
|
|
267
|
-
const n = t.remote, { value: a } = z, { value: u } = ae, { value: r } = re, i = [];
|
|
268
|
-
return e.forEach((o) => {
|
|
269
|
-
if (u.has(o))
|
|
270
|
-
i.push(u.get(o));
|
|
271
|
-
else if (n && a.has(o))
|
|
272
|
-
i.push(a.get(o));
|
|
273
|
-
else if (r) {
|
|
274
|
-
const d = r(o);
|
|
275
|
-
d && i.push(d);
|
|
276
|
-
}
|
|
277
|
-
}), i;
|
|
278
|
-
}
|
|
279
|
-
const oe = (0, l.computed)(() => {
|
|
280
|
-
if (t.multiple) {
|
|
281
|
-
const { value: e } = k;
|
|
282
|
-
return Array.isArray(e) ? H(e) : [];
|
|
283
|
-
}
|
|
284
|
-
return null;
|
|
285
|
-
}), ue = (0, l.computed)(() => {
|
|
286
|
-
const { value: e } = k;
|
|
287
|
-
return !t.multiple && !Array.isArray(e) ? e === null ? null : H([e])[0] || null : null;
|
|
288
|
-
}), L = (0, F.useFormItem)(t), { mergedSizeRef: Ie, mergedDisabledRef: U, mergedStatusRef: $e } = L;
|
|
289
|
-
function N(e, n) {
|
|
290
|
-
const { onChange: a, "onUpdate:value": u, onUpdateValue: r } = t, { nTriggerFormChange: i, nTriggerFormInput: o } = L;
|
|
291
|
-
a && (0, f.call)(a, e, n), r && (0, f.call)(r, e, n), u && (0, f.call)(u, e, n), K.value = e, i(), o();
|
|
292
|
-
}
|
|
293
|
-
function se(e) {
|
|
294
|
-
const { onBlur: n } = t, { nTriggerFormBlur: a } = L;
|
|
295
|
-
n && (0, f.call)(n, e), a();
|
|
296
|
-
}
|
|
297
|
-
function je() {
|
|
298
|
-
const { onClear: e } = t;
|
|
299
|
-
e && (0, f.call)(e);
|
|
300
|
-
}
|
|
301
|
-
function Ve(e) {
|
|
302
|
-
const { onFocus: n, showOnFocus: a } = t, { nTriggerFormFocus: u } = L;
|
|
303
|
-
n && (0, f.call)(n, e), u(), a && $();
|
|
304
|
-
}
|
|
305
|
-
function xe(e) {
|
|
306
|
-
const { onSearch: n } = t;
|
|
307
|
-
n && (0, f.call)(n, e);
|
|
308
|
-
}
|
|
309
|
-
function ze(e) {
|
|
310
|
-
const { onScroll: n } = t;
|
|
311
|
-
n && (0, f.call)(n, e);
|
|
312
|
-
}
|
|
313
|
-
function ce() {
|
|
314
|
-
var e;
|
|
315
|
-
const { remote: n, multiple: a } = t;
|
|
316
|
-
if (n) {
|
|
317
|
-
const { value: u } = z;
|
|
318
|
-
if (a) {
|
|
319
|
-
const { valueField: r } = t;
|
|
320
|
-
(e = oe.value) === null || e === void 0 || e.forEach((i) => {
|
|
321
|
-
u.set(i[r], i);
|
|
322
|
-
});
|
|
323
|
-
} else {
|
|
324
|
-
const r = ue.value;
|
|
325
|
-
r && u.set(r[t.valueField], r);
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
function de(e) {
|
|
330
|
-
const { onUpdateShow: n, "onUpdate:show": a } = t;
|
|
331
|
-
n && (0, f.call)(n, e), a && (0, f.call)(a, e), x.value = e;
|
|
332
|
-
}
|
|
333
|
-
function $() {
|
|
334
|
-
U.value || (de(!0), x.value = !0, t.filterable && pe());
|
|
335
|
-
}
|
|
336
|
-
function S() {
|
|
337
|
-
de(!1);
|
|
338
|
-
}
|
|
339
|
-
function fe() {
|
|
340
|
-
P.value = "", M.value = I;
|
|
341
|
-
}
|
|
342
|
-
const E = (0, l.ref)(!1);
|
|
343
|
-
function Le() {
|
|
344
|
-
t.filterable && (E.value = !0);
|
|
345
|
-
}
|
|
346
|
-
function Ue() {
|
|
347
|
-
t.filterable && (E.value = !1, _.value || fe());
|
|
348
|
-
}
|
|
349
|
-
function Ne() {
|
|
350
|
-
U.value || (_.value ? t.filterable ? pe() : S() : $());
|
|
351
|
-
}
|
|
352
|
-
function Ee(e) {
|
|
353
|
-
var n, a;
|
|
354
|
-
!((a = (n = D.value) === null || n === void 0 ? void 0 : n.selfRef) === null || a === void 0) && a.contains(e.relatedTarget) || (A.value = !1, se(e), S());
|
|
355
|
-
}
|
|
356
|
-
function We(e) {
|
|
357
|
-
Ve(e), A.value = !0;
|
|
358
|
-
}
|
|
359
|
-
function qe() {
|
|
360
|
-
A.value = !0;
|
|
361
|
-
}
|
|
362
|
-
function Ke(e) {
|
|
363
|
-
var n;
|
|
364
|
-
!((n = m.value) === null || n === void 0) && n.$el.contains(e.relatedTarget) || (A.value = !1, se(e), S());
|
|
365
|
-
}
|
|
366
|
-
function Ge() {
|
|
367
|
-
var e;
|
|
368
|
-
(e = m.value) === null || e === void 0 || e.focus(), S();
|
|
369
|
-
}
|
|
370
|
-
function He(e) {
|
|
371
|
-
var n;
|
|
372
|
-
_.value && (!((n = m.value) === null || n === void 0) && n.$el.contains((0, c.getPreciseEventTarget)(e)) || S());
|
|
373
|
-
}
|
|
374
|
-
function Je(e) {
|
|
375
|
-
if (!Array.isArray(e))
|
|
376
|
-
return [];
|
|
377
|
-
if (re.value)
|
|
378
|
-
return Array.from(e);
|
|
379
|
-
{
|
|
380
|
-
const { remote: n } = t, { value: a } = ae;
|
|
381
|
-
if (n) {
|
|
382
|
-
const { value: u } = z;
|
|
383
|
-
return e.filter((r) => a.has(r) || u.has(r));
|
|
384
|
-
} else
|
|
385
|
-
return e.filter((u) => a.has(u));
|
|
386
|
-
}
|
|
387
|
-
}
|
|
388
|
-
function he(e) {
|
|
389
|
-
W(e.rawNode);
|
|
390
|
-
}
|
|
391
|
-
function W(e) {
|
|
392
|
-
if (U.value)
|
|
393
|
-
return;
|
|
394
|
-
const { tag: n, remote: a, clearFilterAfterSelect: u, valueField: r } = t;
|
|
395
|
-
if (n && !a) {
|
|
396
|
-
const { value: i } = M, o = i[0] || null;
|
|
397
|
-
if (o) {
|
|
398
|
-
const d = O.value;
|
|
399
|
-
d.length ? d.push(o) : O.value = [o], M.value = I;
|
|
400
|
-
}
|
|
401
|
-
}
|
|
402
|
-
if (a && z.value.set(e[r], e), t.multiple) {
|
|
403
|
-
const i = Je(k.value), o = i.findIndex((d) => d === e[r]);
|
|
404
|
-
if (~o) {
|
|
405
|
-
if (i.splice(o, 1), n && !a) {
|
|
406
|
-
const d = ve(e[r]);
|
|
407
|
-
~d && (O.value.splice(d, 1), u && (P.value = ""));
|
|
408
|
-
}
|
|
409
|
-
} else
|
|
410
|
-
i.push(e[r]), u && (P.value = "");
|
|
411
|
-
N(i, H(i));
|
|
412
|
-
} else {
|
|
413
|
-
if (n && !a) {
|
|
414
|
-
const i = ve(e[r]);
|
|
415
|
-
~i ? O.value = [
|
|
416
|
-
O.value[i]
|
|
417
|
-
] : O.value = I;
|
|
418
|
-
}
|
|
419
|
-
ge(), S(), N(e[r], e);
|
|
420
|
-
}
|
|
421
|
-
}
|
|
422
|
-
function ve(e) {
|
|
423
|
-
return O.value.findIndex((a) => a[t.valueField] === e);
|
|
424
|
-
}
|
|
425
|
-
function Qe(e) {
|
|
426
|
-
_.value || $();
|
|
427
|
-
const { value: n } = e.target;
|
|
428
|
-
P.value = n;
|
|
429
|
-
const { tag: a, remote: u } = t;
|
|
430
|
-
if (xe(n), a && !u) {
|
|
431
|
-
if (!n) {
|
|
432
|
-
M.value = I;
|
|
433
|
-
return;
|
|
434
|
-
}
|
|
435
|
-
const { onCreate: r } = t, i = r ? r(n) : { [t.labelField]: n, [t.valueField]: n }, { valueField: o, labelField: d } = t;
|
|
436
|
-
G.value.some((w) => w[o] === i[o] || w[d] === i[d]) || O.value.some((w) => w[o] === i[o] || w[d] === i[d]) ? M.value = I : M.value = [i];
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
|
-
function Xe(e) {
|
|
440
|
-
e.stopPropagation();
|
|
441
|
-
const { multiple: n } = t;
|
|
442
|
-
!n && t.filterable && S(), je(), n ? N([], []) : N(null, null);
|
|
443
|
-
}
|
|
444
|
-
function Ye(e) {
|
|
445
|
-
!(0, c.happensIn)(e, "action") && !(0, c.happensIn)(e, "empty") && !(0, c.happensIn)(e, "header") && e.preventDefault();
|
|
446
|
-
}
|
|
447
|
-
function Ze(e) {
|
|
448
|
-
ze(e);
|
|
449
|
-
}
|
|
450
|
-
function me(e) {
|
|
451
|
-
var n, a, u, r, i;
|
|
452
|
-
if (!t.keyboard) {
|
|
453
|
-
e.preventDefault();
|
|
454
|
-
return;
|
|
455
|
-
}
|
|
456
|
-
switch (e.key) {
|
|
457
|
-
case " ":
|
|
458
|
-
if (t.filterable)
|
|
459
|
-
break;
|
|
460
|
-
e.preventDefault();
|
|
461
|
-
case "Enter":
|
|
462
|
-
if (!(!((n = m.value) === null || n === void 0) && n.isComposing)) {
|
|
463
|
-
if (_.value) {
|
|
464
|
-
const o = (a = D.value) === null || a === void 0 ? void 0 : a.getPendingTmNode();
|
|
465
|
-
o ? he(o) : t.filterable || (S(), ge());
|
|
466
|
-
} else if ($(), t.tag && E.value) {
|
|
467
|
-
const o = M.value[0];
|
|
468
|
-
if (o) {
|
|
469
|
-
const d = o[t.valueField], { value: w } = k;
|
|
470
|
-
t.multiple && Array.isArray(w) && w.includes(d) || W(o);
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
e.preventDefault();
|
|
475
|
-
break;
|
|
476
|
-
case "ArrowUp":
|
|
477
|
-
if (e.preventDefault(), t.loading)
|
|
478
|
-
return;
|
|
479
|
-
_.value && ((u = D.value) === null || u === void 0 || u.prev());
|
|
480
|
-
break;
|
|
481
|
-
case "ArrowDown":
|
|
482
|
-
if (e.preventDefault(), t.loading)
|
|
483
|
-
return;
|
|
484
|
-
_.value ? (r = D.value) === null || r === void 0 || r.next() : $();
|
|
485
|
-
break;
|
|
486
|
-
case "Escape":
|
|
487
|
-
_.value && ((0, f.markEventEffectPerformed)(e), S()), (i = m.value) === null || i === void 0 || i.focus();
|
|
488
|
-
break;
|
|
489
|
-
}
|
|
490
|
-
}
|
|
491
|
-
function ge() {
|
|
492
|
-
var e;
|
|
493
|
-
(e = m.value) === null || e === void 0 || e.focus();
|
|
494
|
-
}
|
|
495
|
-
function pe() {
|
|
496
|
-
var e;
|
|
497
|
-
(e = m.value) === null || e === void 0 || e.focusInput();
|
|
498
|
-
}
|
|
499
|
-
function et() {
|
|
500
|
-
var e;
|
|
501
|
-
_.value && ((e = ie.value) === null || e === void 0 || e.syncPosition());
|
|
502
|
-
}
|
|
503
|
-
ce(), (0, l.watch)((0, l.toRef)(t, "options"), ce);
|
|
504
|
-
const tt = {
|
|
505
|
-
focus: () => {
|
|
506
|
-
var e;
|
|
507
|
-
(e = m.value) === null || e === void 0 || e.focus();
|
|
508
|
-
},
|
|
509
|
-
focusInput: () => {
|
|
510
|
-
var e;
|
|
511
|
-
(e = m.value) === null || e === void 0 || e.focusInput();
|
|
512
|
-
},
|
|
513
|
-
blur: () => {
|
|
514
|
-
var e;
|
|
515
|
-
(e = m.value) === null || e === void 0 || e.blur();
|
|
516
|
-
},
|
|
517
|
-
blurInput: () => {
|
|
518
|
-
var e;
|
|
519
|
-
(e = m.value) === null || e === void 0 || e.blurInput();
|
|
520
|
-
}
|
|
521
|
-
}, be = (0, l.computed)(() => {
|
|
522
|
-
const { self: { menuBoxShadow: e } } = ne.value;
|
|
523
|
-
return {
|
|
524
|
-
"--n-menu-box-shadow": e
|
|
525
|
-
};
|
|
526
|
-
}), R = h ? (0, F.useThemeClass)("select", void 0, be, t) : void 0;
|
|
527
|
-
return Object.assign(Object.assign({}, tt), {
|
|
528
|
-
mergedStatus: $e,
|
|
529
|
-
mergedClsPrefix: p,
|
|
530
|
-
mergedBordered: B,
|
|
531
|
-
namespace: b,
|
|
532
|
-
treeMate: ke,
|
|
533
|
-
isMounted: (0, V.useIsMounted)(),
|
|
534
|
-
triggerRef: m,
|
|
535
|
-
menuRef: D,
|
|
536
|
-
pattern: P,
|
|
537
|
-
uncontrolledShow: x,
|
|
538
|
-
mergedShow: _,
|
|
539
|
-
adjustedTo: (0, f.useAdjustedTo)(t),
|
|
540
|
-
uncontrolledValue: K,
|
|
541
|
-
mergedValue: k,
|
|
542
|
-
followerRef: ie,
|
|
543
|
-
localizedPlaceholder: De,
|
|
544
|
-
selectedOption: ue,
|
|
545
|
-
selectedOptions: oe,
|
|
546
|
-
mergedSize: Ie,
|
|
547
|
-
mergedDisabled: U,
|
|
548
|
-
focused: A,
|
|
549
|
-
activeWithoutMenuOpen: E,
|
|
550
|
-
inlineThemeDisabled: h,
|
|
551
|
-
onTriggerInputFocus: Le,
|
|
552
|
-
onTriggerInputBlur: Ue,
|
|
553
|
-
handleTriggerOrMenuResize: et,
|
|
554
|
-
handleMenuFocus: qe,
|
|
555
|
-
handleMenuBlur: Ke,
|
|
556
|
-
handleMenuTabOut: Ge,
|
|
557
|
-
handleTriggerClick: Ne,
|
|
558
|
-
handleToggle: he,
|
|
559
|
-
handleDeleteOption: W,
|
|
560
|
-
handlePatternInput: Qe,
|
|
561
|
-
handleClear: Xe,
|
|
562
|
-
handleTriggerBlur: Ee,
|
|
563
|
-
handleTriggerFocus: We,
|
|
564
|
-
handleKeydown: me,
|
|
565
|
-
handleMenuAfterLeave: fe,
|
|
566
|
-
handleMenuClickOutside: He,
|
|
567
|
-
handleMenuScroll: Ze,
|
|
568
|
-
handleMenuKeydown: me,
|
|
569
|
-
handleMenuMousedown: Ye,
|
|
570
|
-
mergedTheme: ne,
|
|
571
|
-
cssVars: h ? void 0 : be,
|
|
572
|
-
themeClass: R == null ? void 0 : R.themeClass,
|
|
573
|
-
onRender: R == null ? void 0 : R.onRender
|
|
574
|
-
});
|
|
575
|
-
},
|
|
576
|
-
render() {
|
|
577
|
-
return (0, l.h)(
|
|
578
|
-
"div",
|
|
579
|
-
{ class: `${this.mergedClsPrefix}-select` },
|
|
580
|
-
(0, l.h)(v.VBinder, null, {
|
|
581
|
-
default: () => [
|
|
582
|
-
(0, l.h)(v.VTarget, null, {
|
|
583
|
-
default: () => (0, l.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 }, {
|
|
584
|
-
arrow: () => {
|
|
585
|
-
var t, p;
|
|
586
|
-
return [(p = (t = this.$slots).arrow) === null || p === void 0 ? void 0 : p.call(t)];
|
|
587
|
-
}
|
|
588
|
-
})
|
|
589
|
-
}),
|
|
590
|
-
(0, l.h)(v.VFollower, { ref: "followerRef", show: this.mergedShow, to: this.adjustedTo, teleportDisabled: this.adjustedTo === f.useAdjustedTo.tdkey, containerClass: this.namespace, width: this.consistentMenuWidth ? "target" : void 0, minWidth: "target", placement: this.placement }, {
|
|
591
|
-
default: () => (0, l.h)(l.Transition, { name: "fade-in-scale-up-transition", appear: this.isMounted, onAfterLeave: this.handleMenuAfterLeave }, {
|
|
592
|
-
default: () => {
|
|
593
|
-
var t, p, B;
|
|
594
|
-
return this.mergedShow || this.displayDirective === "show" ? ((t = this.onRender) === null || t === void 0 || t.call(this), (0, l.withDirectives)((0, l.h)(te.NInternalSelectMenu, Object.assign({}, this.menuProps, { ref: "menuRef", onResize: this.handleTriggerOrMenuResize, inlineThemeDisabled: this.inlineThemeDisabled, virtualScroll: this.consistentMenuWidth && this.virtualScroll, class: [
|
|
595
|
-
`${this.mergedClsPrefix}-select-menu`,
|
|
596
|
-
this.themeClass,
|
|
597
|
-
(p = this.menuProps) === null || p === void 0 ? void 0 : p.class
|
|
598
|
-
], 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: [(B = this.menuProps) === null || B === void 0 ? void 0 : B.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 }), {
|
|
599
|
-
empty: () => {
|
|
600
|
-
var b, h;
|
|
601
|
-
return [(h = (b = this.$slots).empty) === null || h === void 0 ? void 0 : h.call(b)];
|
|
602
|
-
},
|
|
603
|
-
header: () => {
|
|
604
|
-
var b, h;
|
|
605
|
-
return [(h = (b = this.$slots).header) === null || h === void 0 ? void 0 : h.call(b)];
|
|
606
|
-
},
|
|
607
|
-
action: () => {
|
|
608
|
-
var b, h;
|
|
609
|
-
return [(h = (b = this.$slots).action) === null || h === void 0 ? void 0 : h.call(b)];
|
|
610
|
-
}
|
|
611
|
-
}), this.displayDirective === "show" ? [
|
|
612
|
-
[l.vShow, this.mergedShow],
|
|
613
|
-
[
|
|
614
|
-
ee.clickoutside,
|
|
615
|
-
this.handleMenuClickOutside,
|
|
616
|
-
void 0,
|
|
617
|
-
{ capture: !0 }
|
|
618
|
-
]
|
|
619
|
-
] : [
|
|
620
|
-
[
|
|
621
|
-
ee.clickoutside,
|
|
622
|
-
this.handleMenuClickOutside,
|
|
623
|
-
void 0,
|
|
624
|
-
{ capture: !0 }
|
|
625
|
-
]
|
|
626
|
-
])) : null;
|
|
627
|
-
}
|
|
628
|
-
})
|
|
629
|
-
})
|
|
630
|
-
]
|
|
631
|
-
})
|
|
632
|
-
);
|
|
633
|
-
}
|
|
634
|
-
});
|
|
635
|
-
})(Me);
|
|
636
|
-
(function(s) {
|
|
637
|
-
var g = C && C.__importDefault || function(c) {
|
|
638
|
-
return c && c.__esModule ? c : { default: c };
|
|
639
|
-
};
|
|
640
|
-
Object.defineProperty(s, "__esModule", { value: !0 }), s.selectProps = s.NSelect = void 0;
|
|
641
|
-
var l = Me;
|
|
642
|
-
Object.defineProperty(s, "NSelect", { enumerable: !0, get: function() {
|
|
643
|
-
return g(l).default;
|
|
644
|
-
} }), Object.defineProperty(s, "selectProps", { enumerable: !0, get: function() {
|
|
645
|
-
return l.selectProps;
|
|
646
|
-
} });
|
|
647
|
-
})(Se);
|
|
648
|
-
const Vt = /* @__PURE__ */ vt({
|
|
649
|
-
__proto__: null
|
|
650
|
-
}, [Se]);
|
|
651
|
-
export {
|
|
652
|
-
Vt as i
|
|
653
|
-
};
|
package/dist/index-CU1ZFiwn.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("./pluginManager-DWHAX8kP.cjs"),m=require("./index-BwLkOBWy.cjs"),v=require("./index-BoL2PSBk.cjs"),f={class:""},g=e.defineComponent({__name:"index",props:{tree:{type:Boolean},modelValue:{},dynamicId:{},type:{}},emits:["update:modelValue","update:EOptionsEditor"],setup(u,{emit:r}){const s=o.pluginManager.getComponent("select"),{t:c}=v.useLocale(),i=u,l=e.ref([]),d=r,n=m.useVModel(i,"dynamicId",d);return o.EventBus.on("deleteSourceData",a=>{n.value===a&&(n.value="")}),o.EventBus.on("updateSource",a=>{l.value=o.pluginManager.sourceData.map(t=>({...t,label:t.apiName,value:t.id}))}),e.onMounted(()=>{l.value=o.pluginManager.sourceData.map(a=>({...a,label:a.apiName,value:a.id}))}),(a,t)=>(e.openBlock(),e.createElementBlock("div",f,[e.createVNode(e.unref(s),{modelValue:e.unref(n),"onUpdate:modelValue":t[0]||(t[0]=p=>e.isRef(n)?n.value=p:null),placeholder:e.unref(c)("pleaseSelectDataSource"),clearable:"",options:l.value},null,8,["modelValue","placeholder","options"])]))}});exports.default=g;
|
package/dist/index-CZFPJ6vM.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-BwLkOBWy.cjs");exports.default=e._sfc_main;
|
package/dist/index-Cap7FkuS.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),t={},r={class:"e-loading"};function o(u,n){return e.openBlock(),e.createElementBlock("div",r,n[0]||(n[0]=[e.createElementVNode("div",null,null,-1),e.createElementVNode("div",null,null,-1),e.createElementVNode("div",null,null,-1)]))}const c=l._export_sfc(t,[["render",o]]);exports.default=c;
|