bp-aicc-editor 1.2.492 → 1.2.494
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/lib/{FormMessage.vue_vue_type_script_setup_true_lang-DmKVtJwY.js → FormMessage.vue_vue_type_script_setup_true_lang-Dmc1vQMD.js} +3 -3
- package/lib/{MenuSeparator-Ca75WozN.js → MenuSeparator-B764n23P.js} +7 -7
- package/lib/{PopperContent-DYTMAz9b.js → PopperContent-DzWGOLJG.js} +2 -2
- package/lib/{Primitive-Ctsg0j5H.js → Primitive--ehLdG6C.js} +2 -2
- package/lib/{RovingFocusGroup-BcyDrU68.js → RovingFocusGroup-DVhqd9-S.js} +3 -3
- package/lib/{SchemaRenderer-CVnJeA4N.js → SchemaRenderer-CrN_tjGU.js} +44 -43
- package/lib/{ScreenPlayer-CePxk-Oi.js → ScreenPlayer-CPwml1w0.js} +1 -1
- package/lib/{VisuallyHidden-DgK-mIyQ.js → VisuallyHidden-Bx4zDUKR.js} +1 -1
- package/lib/{_...all_-DJAyS0Pf.js → _...all_-DoIYwbob.js} +3 -3
- package/lib/{align-line-CBlunxav.js → align-line-DSX3kVXT.js} +1 -1
- package/lib/{basic-schema-D9J_gFOe.js → basic-schema-Bh7z8Inq.js} +2 -2
- package/lib/{button-base-CJ3oG-_g.js → button-base-fUtea5H_.js} +2 -7
- package/lib/{cache-DYGtXYRn.js → cache-CWEmoD9C.js} +1 -1
- package/lib/{canvas-area-rCMXHCpZ.js → canvas-area-CKkOS7hU.js} +1 -1
- package/lib/{children-manager-SUI99xON.js → children-manager-BIYhcm0Q.js} +57 -56
- package/lib/{close-TdhvKPVh.js → close-DLQo68_e.js} +1 -1
- package/lib/{config-title-Br0dQ5c6.js → config-title-D_kVvB2O.js} +17 -17
- package/lib/container-group-BNkAqXw8.js +23 -0
- package/lib/{copy-DsV2UTx8.js → copy-DfjMK1ic.js} +1 -1
- package/lib/datav-BVy8Dmus.js +66 -0
- package/lib/{delete-BI_-BK_A.js → delete-DmIwKrVz.js} +1 -1
- package/lib/display-api-status-BUvYpe7K.js +66 -0
- package/lib/divider-CzC1crog.js +25 -0
- package/lib/{document-C0VfNOO7.js → document-_7AAL1Ik.js} +1 -1
- package/lib/{drag-BwQO59t_.js → drag-BV1jVILV.js} +1 -1
- package/lib/{dropdown-8h_2p1Qh.js → dropdown-nf0-BoYi.js} +8 -9
- package/lib/{edit-Dr4xSLKC.js → edit-DtqW2gQD.js} +1 -1
- package/lib/{el-checkbox-DI2_lvUn.js → el-checkbox-df8CJcs_.js} +96 -99
- package/lib/{el-form-item-CyLnmE8C.js → el-form-item-CjF8blZ6.js} +52 -53
- package/lib/{el-link-D7WIBB8-.js → el-link-Dd6bZcIG.js} +9 -9
- package/lib/{el-loading-CKT0_k6-.js → el-loading-BJylx-BY.js} +28 -28
- package/lib/el-overlay-BsaLnfWx.js +708 -0
- package/lib/{index-UhedE9eb.js → el-popper-BUxpSs21.js} +283 -286
- package/lib/{el-radio-group-gd9f7C_V.js → el-radio-group-BkBMC91L.js} +58 -60
- package/lib/{el-tab-pane-CTsXeU1z.js → el-tab-pane-DmFAJBfD.js} +175 -180
- package/lib/{empty-panel-Da27qKhr.js → empty-panel-Bf1uuM7x.js} +7 -7
- package/lib/eventBus-BmSUp4Qv.js +5 -0
- package/lib/{field-grid-J8Bk2TU8.js → field-grid-oOrWZJnP.js} +3 -3
- package/lib/filter-collapse-item-Dp_9sLsJ.js +405 -0
- package/lib/filter-manager-drawer-DWVzBJhi.js +417 -0
- package/lib/filter-panel-4hG3Hd6w.js +177 -0
- package/lib/focus-trap-D5wwQfQ6.js +274 -0
- package/lib/{fullscreen-BCeYWdqs.js → fullscreen-D3PBlXuq.js} +1 -1
- package/lib/{group-BguqSfof.js → group-DUnft2ds.js} +1 -1
- package/lib/{head-loading-CyOe7G1A.js → head-loading-YcInuKka.js} +4 -3
- package/lib/{hide-CqHFAxzI.js → hide-CsfFpRaX.js} +1 -1
- package/lib/{image-BhWqq9Y9.js → image-DapLay9F.js} +6 -8
- package/lib/{index-nAYt4VjA.js → index-0FfNAC5n.js} +14 -14
- package/lib/{index-Cf9XQemV.js → index-3E5Gb86z.js} +1 -1
- package/lib/index-44p6Ai50.js +64 -0
- package/lib/{index-COWil71R.js → index-9b8r9oGf.js} +14 -14
- package/lib/{index-BdK2OvPM.js → index-B59rUki8.js} +1 -1
- package/lib/{index-B5rHDAfn.js → index-B9J6GQa3.js} +1 -1
- package/lib/{index-CQC5HtpH.js → index-BD5_gad1.js} +1 -1
- package/lib/{index-Cyi8zagA.js → index-BDtBwcX0.js} +15 -15
- package/lib/{index-DSha4OkP.js → index-BGXEwLiZ.js} +3 -3
- package/lib/index-BHA3khjc.js +1467 -0
- package/lib/{index-Ce-L-xwv.js → index-BKrJmHSX.js} +21 -21
- package/lib/index-BVFeqQj5.js +365 -0
- package/lib/{index-DbsxFU94.js → index-BWLqFSFU.js} +26 -25
- package/lib/{index-BgBzm56J.js → index-BX45ef8U.js} +27035 -26818
- package/lib/{index-sOpY21te.js → index-BXRoymI5.js} +79 -62
- package/lib/{index--GKSHTl7.js → index-BXWvL9F4.js} +93 -55
- package/lib/{index-C4z42CzU.js → index-BeHhrle7.js} +1 -1
- package/lib/index-Bit5O1C5.js +207 -0
- package/lib/{index-BAO5iSZv.js → index-Bo7MTnUp.js} +1 -1
- package/lib/{index-D_bgRhkv.js → index-Bro2255W.js} +1 -1
- package/lib/{index-hwlP1NBB.js → index-BxFuRj44.js} +6 -6
- package/lib/index-C9jaLaAz.js +4 -0
- package/lib/{index-DXTAWJy5.js → index-CGK0d0qc.js} +1 -1
- package/lib/{index-CUeB6mrz.js → index-CJWKULId.js} +3 -3
- package/lib/{index-BgQeYPY3.js → index-CKsW7fk6.js} +1 -1
- package/lib/{index-bWRQxjrV.js → index-CRaSIMtx.js} +1 -1
- package/lib/index-CScV6iZO.js +288 -0
- package/lib/{index-CiuEhLhk.js → index-CWVv2a6o.js} +7 -7
- package/lib/{InstructionConfig-CU6WAVgW.js → index-CcT6UteS.js} +37 -44
- package/lib/{index-CDCWei-R.js → index-Ce4oozpJ.js} +8 -8
- package/lib/{index-BY00MqHi.js → index-ChDEqBfB.js} +4 -4
- package/lib/{index-3cRWXUka.js → index-Ci5ynLM6.js} +1 -1
- package/lib/index-CkXyo3sE.js +61 -0
- package/lib/{index-CZQtSj9A.js → index-CniwM951.js} +76 -78
- package/lib/{index-BOsmi3bB.js → index-Cpp1OePt.js} +3 -3
- package/lib/{index-dqth7VIe.js → index-Curseihl.js} +232 -235
- package/lib/{index-B1MpcEnV.js → index-CxW_QDWp.js} +11 -11
- package/lib/{index-BGp92-Zq.js → index-Cz4IuUYE.js} +1 -1
- package/lib/{index-DI6ye4E8.js → index-D-37uNx8.js} +12 -12
- package/lib/{index-VGQxhGOg.js → index-D02bxEoA.js} +1 -1
- package/lib/{index-DnmxKqVE.js → index-D5ppPmWT.js} +11 -11
- package/lib/{index-DNeFTudY.js → index-D6i_jVIx.js} +4 -4
- package/lib/{index-BXwkycyf.js → index-DAPGZt9R.js} +1 -1
- package/lib/{index-B4zjk7Lw.js → index-DCYVUo-7.js} +1 -1
- package/lib/{index-F-9wT4Lh.js → index-DQivUFqU.js} +1 -1
- package/lib/{index-CTGlsh69.js → index-DboGh4uX.js} +5 -5
- package/lib/{index-BMbkiWZU.js → index-DdAmWon6.js} +7 -7
- package/lib/{index-CEq-P5_Z.js → index-DeyKyuDh.js} +2 -2
- package/lib/{index-CZyx_KjW.js → index-DfS1MldE.js} +188 -193
- package/lib/index-Dvmng3oI.js +4 -0
- package/lib/index-HKQtqxjJ.js +12896 -0
- package/lib/{index-C90JYI7r.js → index-TuYYX1ax.js} +3 -3
- package/lib/index-UtUMEebJ.js +171 -0
- package/lib/index-goxnkA4m.js +4 -0
- package/lib/{index-D_aQ-cDe.js → index-vmTzGF7U.js} +1 -1
- package/lib/{index-El4iP0j6.js → index-wbDr8yeM.js} +19 -19
- package/lib/index.es.js +3 -3
- package/lib/index.umd.js +70 -131
- package/lib/index.vue_vue_type_script_lang-CWICVuSx.js +60 -0
- package/lib/{index.vue_vue_type_script_setup_true_lang-CbhqCJXY.js → index.vue_vue_type_script_setup_true_lang-0tyywLU3.js} +3 -3
- package/lib/{index.vue_vue_type_script_setup_true_lang-DTPAw1nX.js → index.vue_vue_type_script_setup_true_lang-B4yms37x.js} +7 -7
- package/lib/{index.vue_vue_type_script_setup_true_lang-DgblCY7M.js → index.vue_vue_type_script_setup_true_lang-BJ_MuVuX.js} +3 -3
- package/lib/{index.vue_vue_type_script_setup_true_lang-CqnSm_tw.js → index.vue_vue_type_script_setup_true_lang-BJt_kw5K.js} +7 -7
- package/lib/{index.vue_vue_type_script_setup_true_lang-B7--93Yt.js → index.vue_vue_type_script_setup_true_lang-BoHK5SA5.js} +2 -2
- package/lib/{index.vue_vue_type_script_setup_true_lang-D9fqw4gW.js → index.vue_vue_type_script_setup_true_lang-C5z55SVE.js} +1 -1
- package/lib/{index.vue_vue_type_script_setup_true_lang-D2FjtbD5.js → index.vue_vue_type_script_setup_true_lang-C8uC_aV8.js} +4 -4
- package/lib/{index.vue_vue_type_script_setup_true_lang-DUKBSaF4.js → index.vue_vue_type_script_setup_true_lang-CGNF1FrR.js} +3 -3
- package/lib/{index.vue_vue_type_script_setup_true_lang-B08Rdtu5.js → index.vue_vue_type_script_setup_true_lang-CPQvEgIr.js} +11 -11
- package/lib/{index.vue_vue_type_script_setup_true_lang-kV8J750P.js → index.vue_vue_type_script_setup_true_lang-DD25XncC.js} +2 -2
- package/lib/{index.vue_vue_type_script_setup_true_lang-W0GIcUVc.js → index.vue_vue_type_script_setup_true_lang-DkgLbbut.js} +5 -5
- package/lib/{index.vue_vue_type_script_setup_true_lang-CT2uD36v.js → index.vue_vue_type_script_setup_true_lang-FDAfZLWZ.js} +3 -3
- package/lib/{index.vue_vue_type_script_setup_true_lang-Do7TrfXh.js → index.vue_vue_type_script_setup_true_lang-eMTX1izV.js} +4 -4
- package/lib/{index.vue_vue_type_script_setup_true_lang-cKzD6m9l.js → index.vue_vue_type_script_setup_true_lang-e_JXwN7X.js} +6 -6
- package/lib/{item-BGF-4zj6.js → item-CzQJ7c8Q.js} +1 -1
- package/lib/{item.vue_vue_type_script_setup_true_lang-DmYZ2hPr.js → item.vue_vue_type_script_setup_true_lang-DPAvTvQk.js} +3 -3
- package/lib/layer-manager-item-D7etvsS9.js +221 -0
- package/lib/{layer-manager-wrap-CJQihqQX.js → layer-manager-wrap-BkEaIBPC.js} +1 -1
- package/lib/layer-setting-panel-BGVVo3m6.js +82 -0
- package/lib/{leftSide-C6c4TsYQ.js → leftSide-CsXOO-M1.js} +1 -1
- package/lib/{leftSide.vue_vue_type_script_setup_true_lang-DZcKMRJI.js → leftSide.vue_vue_type_script_setup_true_lang-B0nzpy7d.js} +4 -4
- package/lib/{link-C6zZ9W7U.js → link-zO_2_y6h.js} +7 -7
- package/lib/{lock-gJtNeedr.js → lock-D0jyp8Lz.js} +1 -1
- package/lib/{login-BhqaAZCo.js → login-CLmIlNC8.js} +14 -14
- package/lib/{multi-layout-config-CtQiLpC_.js → multi-layout-config-BueFQNQ4.js} +10 -10
- package/lib/multiline-text-B-xhe-P_.js +32 -0
- package/lib/navigation-BZDFgpC5.js +37 -0
- package/lib/{page-2e24vN5V.js → page-C_GVNYcI.js} +3 -3
- package/lib/page-config-CTzEZIFm.js +252 -0
- package/lib/{page-DSGliTfP.js → page-l6uE_hX5.js} +3 -3
- package/lib/page-tabs-v2xKJ4Gg.js +182 -0
- package/lib/{page1-CFyWqLlN.js → page1-Dfic8atC.js} +3 -3
- package/lib/{page2-BhU-SBvQ.js → page2-CiUxeXxx.js} +3 -3
- package/lib/{plus-DE2CA-A6.js → plus-D1rqkZ8T.js} +1 -1
- package/lib/{refer-line-DwDml7x0.js → refer-line-DLOPJCxs.js} +1 -1
- package/lib/registry-BiRg4SfK.js +25 -0
- package/lib/{reload-Bn58dHdi.js → reload-6YusdiYe.js} +1 -1
- package/lib/{rightSide-yu0RpmJ7.js → rightSide-JfJJR7ih.js} +1 -1
- package/lib/{rightSide.vue_vue_type_script_setup_true_lang-B5IX9Q8z.js → rightSide.vue_vue_type_script_setup_true_lang-tKo9K8n9.js} +5 -5
- package/lib/schema-7C3lHuLa.js +443 -0
- package/lib/schema-B3TDxHJt.js +156 -0
- package/lib/schema-D2R9b4nD.js +279 -0
- package/lib/{schema-CFQdj4yu.js → schema-DG3uQhMr.js} +11 -11
- package/lib/schema-DQTrMPw5.js +430 -0
- package/lib/{schema-Bwrjd66q.js → schema-DUHUuzNF.js} +5 -5
- package/lib/schema-DZChNcjB.js +86 -0
- package/lib/schema-DvU8V-E7.js +91 -0
- package/lib/{search-C_LsaJuQ.js → search-Qqboxe6-.js} +1 -1
- package/lib/{search.vue_vue_type_script_setup_true_lang-BXFaIUz4.js → search.vue_vue_type_script_setup_true_lang-34f169wM.js} +6 -6
- package/lib/setting-panel-DXCm8SeA.js +53 -0
- package/lib/{show-9haDLGue.js → show-CDusPY6G.js} +1 -1
- package/lib/stepper-B8alZSOJ.js +43 -0
- package/lib/{strings-Bf-vfGQN.js → strings-ep_1Lo3r.js} +1 -1
- package/lib/style.css +1 -1
- package/lib/{sub-cDKvdlfO.js → sub-BdJWpaCt.js} +1 -1
- package/lib/{sub.vue_vue_type_script_setup_true_lang-xfQoD56r.js → sub.vue_vue_type_script_setup_true_lang-p3QizlrS.js} +4 -4
- package/lib/switch-YW7bNzWS.js +72 -0
- package/lib/transform-layer-BgSsbBvR.js +383 -0
- package/lib/types-C0uf3Fdi.js +4 -0
- package/lib/{use-env-url-DR9QVpdn.js → use-env-url-gfedKzey.js} +1 -1
- package/lib/{useDirection-D0hZncH9.js → useDirection-CAdV4Bhz.js} +1 -1
- package/lib/{useDragDrop-BdGZdskP.js → useDragDrop-Cl6p4J_Q.js} +4 -4
- package/lib/{useMainPage-mLq7L47v.js → useMainPage-CR8-JW7U.js} +1 -1
- package/lib/{useMenu-DZtXOz07.js → useMenu-CvA1bh9U.js} +1 -1
- package/lib/{useSelection-DUEgiY3f.js → useSelection-lZynmuji.js} +6 -6
- package/lib/{utils-DLxBTXaC.js → utils-BGbrDaqG.js} +2 -2
- package/lib/{vnode-ynevdEfZ.js → vnode-CZU1Gsz_.js} +1 -1
- package/lib/{x-B-cFRQw3.js → x-CCjrmfEJ.js} +3 -3
- package/package.json +1 -1
- package/lib/arrow-right-BfuWJPv1.js +0 -24
- package/lib/basic-setting-GfZK1crN.js +0 -1321
- package/lib/box-ChUFRUna.js +0 -24
- package/lib/btn-group-Bc2FsE3I.js +0 -138
- package/lib/btn-return-DL_KBpjX.js +0 -37
- package/lib/circle-Brqg-wNl.js +0 -10
- package/lib/cloud-Ds7cG_Gz.js +0 -24
- package/lib/config-5mGoGPWz.js +0 -210
- package/lib/config-BRXnf_-F.js +0 -75
- package/lib/config-BSWGU2I1.js +0 -39
- package/lib/config-COj7bXFG.js +0 -211
- package/lib/config-Cmr26_oL.js +0 -510
- package/lib/config-bdTBbwBN.js +0 -63
- package/lib/dashedLine-BAvmL4nR.js +0 -23
- package/lib/data-Der6gLKZ.js +0 -7
- package/lib/data-source-HlojS_Rf.js +0 -48
- package/lib/datav-BCftLXgG.js +0 -66
- package/lib/db-rnJHM_q3.js +0 -22
- package/lib/dialogBox-DbQMXVom.js +0 -21
- package/lib/dialogSquare-C4KW-cRk.js +0 -43
- package/lib/display-api-status-DCGq9M1D.js +0 -66
- package/lib/dottedLine-BbhT0Kzc.js +0 -23
- package/lib/doubleHeadedArrow-C3cyHDzR.js +0 -31
- package/lib/ds-api-editor-D533ju2w.js +0 -132
- package/lib/ds-global-editor-UzgHVPmo.js +0 -123
- package/lib/ds-sql-editor-BkhKMAau.js +0 -203
- package/lib/ds-static-editor-CwTSm736.js +0 -21567
- package/lib/eightPointedStar-BK2uVcWF.js +0 -12
- package/lib/el-dialog-DoSe4TXA.js +0 -308
- package/lib/el-drawer-CKmGuA5b.js +0 -276
- package/lib/el-input-CK2xDLr3.js +0 -679
- package/lib/el-overlay-_c_Mksh1.js +0 -359
- package/lib/el-popover-B4CC_JXM.js +0 -170
- package/lib/el-progress-yHxW166f.js +0 -1028
- package/lib/el-select-f27EQN8G.js +0 -2118
- package/lib/el-switch-CmLXQhCw.js +0 -323
- package/lib/el-table-column-Db9Z7aIS.js +0 -3858
- package/lib/event-DCwZWdmp.js +0 -52
- package/lib/event-Xd-jNBs0.js +0 -6
- package/lib/event-item-C2ifUO7-.js +0 -2787
- package/lib/eventBus-CzPPaHOa.js +0 -5
- package/lib/filter-collapse-item-CuwM_kgh.js +0 -362
- package/lib/filter-manager-drawer-CSGs-bD6.js +0 -163
- package/lib/filter-panel-Dg6DNbY3.js +0 -186
- package/lib/filter-toolbox-panel-Zq8G4f2U.js +0 -103
- package/lib/fivePointedStar-Dddg8MYz.js +0 -12
- package/lib/focus-trap-3uXCgT3o.js +0 -299
- package/lib/fourPointedStar-BjGb3d93.js +0 -12
- package/lib/full-screen-DCdodtjS.js +0 -34
- package/lib/heart-CCRoQ58d.js +0 -4
- package/lib/help-BFhjvf0P.js +0 -28
- package/lib/hexagon-DfRLz-J5.js +0 -12
- package/lib/hexagonalStar-D8whcZ7b.js +0 -12
- package/lib/index--MndcdMZ.js +0 -4
- package/lib/index-B2pwv8aq.js +0 -63
- package/lib/index-B5iPKr11.js +0 -171
- package/lib/index-BX8ANF19.js +0 -628
- package/lib/index-BY7i0XnT.js +0 -318
- package/lib/index-C2MdnhxF.js +0 -127
- package/lib/index-CIha9fhr.js +0 -10757
- package/lib/index-CQEDaoMS.js +0 -12
- package/lib/index-CaIHE9Q3.js +0 -101
- package/lib/index-CrOM2U51.js +0 -51
- package/lib/index-D0j9y9we.js +0 -128
- package/lib/index-DNFFxytn.js +0 -129
- package/lib/index-DcMu5XjE.js +0 -44
- package/lib/index-DmvsxSA_.js +0 -244
- package/lib/index-DzdPC7PW.js +0 -62
- package/lib/index-POXJt9Q6.js +0 -451
- package/lib/index-UqElNr4c.js +0 -49
- package/lib/index-lIegoXtP.js +0 -4
- package/lib/index-wct_gC8G.js +0 -4
- package/lib/index.vue_vue_type_script_lang-BcWN3vAh.js +0 -67
- package/lib/interact-CCiRhGcb.js +0 -24
- package/lib/layer-manager-item-DNxRIhKJ.js +0 -204
- package/lib/layer-setting-panel-BVN-0t-W.js +0 -485
- package/lib/main-graph-BtYxRh38.js +0 -43
- package/lib/page-config-W11Zd1sq.js +0 -5884
- package/lib/page-tabs-DQBYUXsX.js +0 -179
- package/lib/pentagon-CuIMJ1JC.js +0 -12
- package/lib/raf-CacwDcD1.js +0 -6
- package/lib/rectangle-D7-HQ_rv.js +0 -10
- package/lib/registry-DoQl7c2I.js +0 -13
- package/lib/roundedRectangle-C_z5OmNJ.js +0 -10
- package/lib/scroll-96nkZHe0.js +0 -58
- package/lib/search-DMYajfcp.js +0 -24
- package/lib/select-options-DKz_XlLo.js +0 -251
- package/lib/setting-panel-Bogu_V0l.js +0 -72
- package/lib/source-drawer-BmBeDcv_.js +0 -233
- package/lib/source-panel-Cr-AOfZ9.js +0 -240
- package/lib/straightLine-BFW8Elgu.js +0 -23
- package/lib/transform-layer-CsjjfgKI.js +0 -6
- package/lib/transform-layer.vue_vue_type_style_index_0_scoped_b4a79cce_lang-WpL7kZjn.js +0 -411
- package/lib/triangle-BnofH5Bk.js +0 -15
- package/lib/types-Czh5VYKx.js +0 -4
- package/lib/typescript-BpuhIBuJ.js +0 -4
- package/lib/upload-util-Cy_BPET9.js +0 -18
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as on, ref as me, reactive as pn, computed as Z, toValue as y, unref as j, onMounted as qt, isRef as vn, watch as Se, provide as mn, readonly as eo, toRef as Ge, resolveDynamicComponent as Gt, h as Ln, inject as xe, watchEffect as no, nextTick as ve, shallowRef as to, warn as Ht, getCurrentInstance as Te, onUnmounted as Yt, onBeforeUnmount as ro, createBlock as Xt, openBlock as Qn, withCtx as oo, renderSlot as Qt, createElementBlock as io, normalizeClass as ao } from "vue";
|
|
2
|
-
import { S as uo } from "./Primitive
|
|
3
|
-
import { f as so } from "./VisuallyHidden-
|
|
4
|
-
import { c as co } from "./index-
|
|
2
|
+
import { S as uo } from "./Primitive--ehLdG6C.js";
|
|
3
|
+
import { f as so } from "./VisuallyHidden-Bx4zDUKR.js";
|
|
4
|
+
import { c as co } from "./index-HKQtqxjJ.js";
|
|
5
5
|
function h(e, n, t) {
|
|
6
6
|
function r(u, l) {
|
|
7
7
|
if (u._zod || Object.defineProperty(u, "_zod", {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { b as pe, P as ce, a as ye, c as me } from "./PopperContent-
|
|
1
|
+
import { b as pe, P as ce, a as ye, c as me } from "./PopperContent-DzWGOLJG.js";
|
|
2
2
|
import { computed as Y, ref as _, watch as H, nextTick as M, watchEffect as ve, defineComponent as C, createBlock as q, openBlock as h, unref as s, normalizeProps as S, guardReactiveProps as L, withCtx as g, renderSlot as b, onMounted as ge, toRefs as J, mergeDefaults as _e, onUnmounted as qe, createVNode as O, mergeProps as w, withModifiers as he } from "vue";
|
|
3
|
-
import { x as Q, y as be, k as Ce, n as Z, z, j as N, r as we, a as Me, c as $, u as F, D as Be, b as x, P as Se, T as Pe } from "./VisuallyHidden-
|
|
4
|
-
import { F as Oe, g as Fe, i as Re, a as K, b as Ie, L as De, f as ke, S as Ee, I as Te, u as Ae } from "./utils-
|
|
5
|
-
import { P as R } from "./Primitive
|
|
6
|
-
import { R as Ne, a as Ke } from "./RovingFocusGroup-
|
|
7
|
-
import { u as Le } from "./useDirection-
|
|
3
|
+
import { x as Q, y as be, k as Ce, n as Z, z, j as N, r as we, a as Me, c as $, u as F, D as Be, b as x, P as Se, T as Pe } from "./VisuallyHidden-Bx4zDUKR.js";
|
|
4
|
+
import { F as Oe, g as Fe, i as Re, a as K, b as Ie, L as De, f as ke, S as Ee, I as Te, u as Ae } from "./utils-BGbrDaqG.js";
|
|
5
|
+
import { P as R } from "./Primitive--ehLdG6C.js";
|
|
6
|
+
import { R as Ne, a as Ke } from "./RovingFocusGroup-DVhqd9-S.js";
|
|
7
|
+
import { u as Le } from "./useDirection-CAdV4Bhz.js";
|
|
8
8
|
import { g as ee } from "./getActiveElement-BtjqRiQQ.js";
|
|
9
9
|
import { u as $e } from "./useArrowNavigation-kN9MfIAD.js";
|
|
10
|
-
import { j as xe } from "./index-
|
|
10
|
+
import { j as xe } from "./index-HKQtqxjJ.js";
|
|
11
11
|
const Ve = Q(() => {
|
|
12
12
|
const o = _(/* @__PURE__ */ new Map()), e = _(), r = Y(() => {
|
|
13
13
|
for (const p of o.value.values()) if (p) return !0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as ne, c as zt, u as Ht, l as oe } from "./VisuallyHidden-
|
|
2
|
-
import { P as Vt } from "./Primitive
|
|
1
|
+
import { e as ne, c as zt, u as Ht, l as oe } from "./VisuallyHidden-Bx4zDUKR.js";
|
|
2
|
+
import { P as Vt } from "./Primitive--ehLdG6C.js";
|
|
3
3
|
import { ref as H, computed as C, onMounted as ie, defineComponent as bt, renderSlot as At, watchPostEffect as Nt, createBlock as re, openBlock as qt, unref as $, withCtx as It, shallowRef as se, watch as mt, getCurrentScope as le, onScopeDispose as ce, shallowReadonly as Q, mergeDefaults as ae, watchEffect as fe, createElementBlock as ue, normalizeStyle as de, createVNode as pe, mergeProps as me } from "vue";
|
|
4
4
|
const he = ["top", "right", "bottom", "left"], K = Math.min, T = Math.max, ct = Math.round, lt = Math.floor, N = (t) => ({
|
|
5
5
|
x: t,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as O, ref as Q, shallowRef as he, onMounted as Fe, watch as ge, onUnmounted as je, h as C, nextTick as Ee, reactive as Le, computed as Oe, createElementBlock as $, openBlock as F, normalizeClass as Z, unref as k, createBlock as ee, createCommentVNode as Ae, createElementVNode as q, withCtx as te, Fragment as Me, Comment as Ne, mergeProps as ze, cloneVNode as De } from "vue";
|
|
2
|
-
import { b as Re, c as Ue } from "./index-
|
|
3
|
-
import { c as Ve } from "./index-
|
|
2
|
+
import { b as Re, c as Ue } from "./index-9b8r9oGf.js";
|
|
3
|
+
import { c as Ve } from "./index-HKQtqxjJ.js";
|
|
4
4
|
const me = /^[a-z0-9]+(-[a-z0-9]+)*$/, R = (e, t, n, i = "") => {
|
|
5
5
|
const o = e.split(":");
|
|
6
6
|
if (e.slice(0, 1) === "@") {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { e as B, a as D, c as U } from "./VisuallyHidden-
|
|
2
|
-
import { u as $ } from "./useDirection-
|
|
3
|
-
import { S as h, P as k } from "./Primitive
|
|
1
|
+
import { e as B, a as D, c as U } from "./VisuallyHidden-Bx4zDUKR.js";
|
|
2
|
+
import { u as $ } from "./useDirection-CAdV4Bhz.js";
|
|
3
|
+
import { S as h, P as k } from "./Primitive--ehLdG6C.js";
|
|
4
4
|
import { ref as v, computed as T, provide as G, inject as L, defineComponent as y, watch as V, h as C, watchEffect as K, markRaw as j, toRefs as z, createBlock as Y, openBlock as H, unref as b, withCtx as R, createVNode as J, renderSlot as Q } from "vue";
|
|
5
5
|
import { g as _ } from "./getActiveElement-BtjqRiQQ.js";
|
|
6
6
|
function M() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as F, computed as N, resolveComponent as
|
|
1
|
+
import { defineComponent as F, computed as N, resolveComponent as i, createElementBlock as p, openBlock as l, createElementVNode as k, Fragment as v, renderList as $, createCommentVNode as w, createBlock as d, unref as u, normalizeStyle as C, createVNode as B, normalizeClass as E, toDisplayString as K, withCtx as R, mergeProps as f, resolveDynamicComponent as b } from "vue";
|
|
2
2
|
import { storeToRefs as z } from "pinia";
|
|
3
|
-
import {
|
|
4
|
-
import { FieldType as
|
|
3
|
+
import { aG as D, a1 as L, _ as M } from "./index-BX45ef8U.js";
|
|
4
|
+
import { FieldType as a } from "./types-C0uf3Fdi.js";
|
|
5
5
|
const T = { class: "schema-renderer" }, O = { class: "schema-container" }, j = /* @__PURE__ */ F({
|
|
6
6
|
__name: "SchemaRenderer",
|
|
7
7
|
props: {
|
|
@@ -9,85 +9,86 @@ const T = { class: "schema-renderer" }, O = { class: "schema-container" }, j = /
|
|
|
9
9
|
data: {},
|
|
10
10
|
level: { default: 0 }
|
|
11
11
|
},
|
|
12
|
-
setup(
|
|
13
|
-
const
|
|
14
|
-
[
|
|
15
|
-
[
|
|
16
|
-
[
|
|
17
|
-
[
|
|
18
|
-
[
|
|
19
|
-
[
|
|
20
|
-
[
|
|
21
|
-
[
|
|
22
|
-
|
|
12
|
+
setup(n) {
|
|
13
|
+
const h = n, G = D(), { pageConfig: V } = z(G), S = {
|
|
14
|
+
[a.input]: "GInput",
|
|
15
|
+
[a.textarea]: "GInput",
|
|
16
|
+
[a.number]: "GInputNumber",
|
|
17
|
+
[a.color]: "GColorPicker",
|
|
18
|
+
[a.select]: "GSelect",
|
|
19
|
+
[a.switch]: "GSwitch",
|
|
20
|
+
[a.image]: "GUploadImage",
|
|
21
|
+
[a.iconList]: "GIconPicker",
|
|
22
|
+
[a.slider]: "GSlider"
|
|
23
|
+
}, x = (o) => S[o] || "GInput";
|
|
23
24
|
function g(o) {
|
|
24
25
|
if (o)
|
|
25
|
-
return L(
|
|
26
|
+
return L(h.data, o);
|
|
26
27
|
}
|
|
27
|
-
function m(o,
|
|
28
|
+
function m(o, y) {
|
|
28
29
|
if (!o)
|
|
29
30
|
return;
|
|
30
|
-
const
|
|
31
|
-
let r =
|
|
32
|
-
for (let s = 0; s <
|
|
33
|
-
r[
|
|
34
|
-
r[
|
|
31
|
+
const t = o.split(".");
|
|
32
|
+
let r = h.data;
|
|
33
|
+
for (let s = 0; s < t.length - 1; s++)
|
|
34
|
+
r[t[s]] === void 0 && (r[t[s]] = {}), r = r[t[s]];
|
|
35
|
+
r[t[t.length - 1]] = y;
|
|
35
36
|
}
|
|
36
37
|
const _ = N(() => ({
|
|
37
|
-
allPages: (
|
|
38
|
+
allPages: (V.value.allPages || []).map((o) => ({ id: o.id, value: o.name }))
|
|
38
39
|
}));
|
|
39
40
|
function I(o) {
|
|
40
41
|
return o.optionsKey && _.value[o.optionsKey] ? _.value[o.optionsKey] : o.props?.data || o.props?.options || [];
|
|
41
42
|
}
|
|
42
|
-
function q(o,
|
|
43
|
+
function q(o, y) {
|
|
43
44
|
}
|
|
44
|
-
return (o,
|
|
45
|
-
const
|
|
46
|
-
return
|
|
45
|
+
return (o, y) => {
|
|
46
|
+
const t = i("schema-renderer", !0), r = i("g-upload-image"), s = i("g-select"), U = i("g-field");
|
|
47
|
+
return l(), p("div", T, [
|
|
47
48
|
k("div", O, [
|
|
48
|
-
(
|
|
49
|
-
!e.visible || e.visible(
|
|
50
|
-
e.type ===
|
|
49
|
+
(l(!0), p(v, null, $(n.schema, (e, P) => (l(), p(v, { key: P }, [
|
|
50
|
+
!e.visible || e.visible(n.data) ? (l(), p(v, { key: 0 }, [
|
|
51
|
+
e.type === u(a).group ? (l(), p("div", {
|
|
51
52
|
key: 0,
|
|
52
53
|
class: "schema-group",
|
|
53
|
-
style:
|
|
54
|
+
style: C({ gridColumn: e.col ? `span ${e.col}` : "span 2" })
|
|
54
55
|
}, [
|
|
55
56
|
k("p", {
|
|
56
|
-
class: E(["group-title", { "sub-group-title":
|
|
57
|
+
class: E(["group-title", { "sub-group-title": n.level > 0 }])
|
|
57
58
|
}, K(e.label), 3),
|
|
58
|
-
B(
|
|
59
|
+
B(t, {
|
|
59
60
|
schema: e.children,
|
|
60
|
-
data:
|
|
61
|
-
level:
|
|
61
|
+
data: n.data,
|
|
62
|
+
level: n.level + 1
|
|
62
63
|
}, null, 8, ["schema", "data", "level"])
|
|
63
|
-
], 4)) : (
|
|
64
|
+
], 4)) : (l(), d(U, {
|
|
64
65
|
key: 1,
|
|
65
66
|
label: e.label || "",
|
|
66
67
|
tooltip: e.tooltip,
|
|
67
68
|
"is-flat": e.isFlat,
|
|
68
69
|
"label-span": e.label ? e.labelSpan ?? 7 : 0,
|
|
69
|
-
style:
|
|
70
|
+
style: C({ gridColumn: e.col ? `span ${e.col}` : "span 2" })
|
|
70
71
|
}, {
|
|
71
72
|
default: R(() => [
|
|
72
|
-
e.type ===
|
|
73
|
+
e.type === u(a).image ? (l(), d(r, f({
|
|
73
74
|
key: 0,
|
|
74
75
|
"model-value": g(e.key)
|
|
75
76
|
}, { ref_for: !0 }, e.props, {
|
|
76
77
|
"onUpdate:modelValue": (c) => m(e.key, c)
|
|
77
|
-
}), null, 16, ["model-value", "onUpdate:modelValue"])) : e.type ===
|
|
78
|
+
}), null, 16, ["model-value", "onUpdate:modelValue"])) : e.type === u(a).custom ? (l(), d(b(e.component), f({
|
|
78
79
|
key: 1,
|
|
79
|
-
com:
|
|
80
|
-
}, { ref_for: !0 }, e.props), null, 16, ["com"])) : e.type ===
|
|
80
|
+
com: n.data
|
|
81
|
+
}, { ref_for: !0 }, e.props), null, 16, ["com"])) : e.type === u(a).select ? (l(), d(s, f({
|
|
81
82
|
key: 2,
|
|
82
83
|
"model-value": g(e.key),
|
|
83
84
|
data: I(e)
|
|
84
85
|
}, { ref_for: !0 }, e.props, {
|
|
85
86
|
"onUpdate:modelValue": (c) => m(e.key, c),
|
|
86
87
|
onChange: (c) => void 0
|
|
87
|
-
}), null, 16, ["model-value", "data", "onUpdate:modelValue", "onChange"])) : (
|
|
88
|
+
}), null, 16, ["model-value", "data", "onUpdate:modelValue", "onChange"])) : (l(), d(b(x(e.type)), f({
|
|
88
89
|
key: 3,
|
|
89
90
|
"model-value": g(e.key)
|
|
90
|
-
}, { ref_for: !0 }, e.props, {
|
|
91
|
+
}, { ref_for: !0 }, e.type === u(a).textarea ? { type: "textarea", ...e.props } : e.props, {
|
|
91
92
|
"onUpdate:modelValue": (c) => m(e.key, c),
|
|
92
93
|
onChange: (c) => void 0
|
|
93
94
|
}), null, 16, ["model-value", "onUpdate:modelValue", "onChange"]))
|
|
@@ -100,7 +101,7 @@ const T = { class: "schema-renderer" }, O = { class: "schema-container" }, j = /
|
|
|
100
101
|
]);
|
|
101
102
|
};
|
|
102
103
|
}
|
|
103
|
-
}), W = /* @__PURE__ */ M(j, [["__scopeId", "data-v-
|
|
104
|
+
}), W = /* @__PURE__ */ M(j, [["__scopeId", "data-v-ab1b8f8e"]]);
|
|
104
105
|
export {
|
|
105
106
|
W as default
|
|
106
107
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as s, ref as i, onMounted as d, resolveComponent as l, createElementBlock as t, openBlock as r, createBlock as p } from "vue";
|
|
2
|
-
import { bC as u, _ as m } from "./index-
|
|
2
|
+
import { bC as u, _ as m } from "./index-BX45ef8U.js";
|
|
3
3
|
const C = s({
|
|
4
4
|
name: "ScreenPlayer",
|
|
5
5
|
components: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as q from "vue";
|
|
2
2
|
import { inject as Z, provide as ee, shallowRef as W, readonly as z, toValue as m, getCurrentScope as te, onScopeDispose as ne, watch as A, watchEffect as x, customRef as oe, nextTick as T, effectScope as H, onBeforeUnmount as re, getCurrentInstance as S, ref as P, computed as g, onMounted as ie, unref as D, toHandlerKey as se, camelize as K, toRef as ae, onUnmounted as ue, defineComponent as B, toRefs as le, h as ce, reactive as de, createBlock as R, openBlock as U, normalizeStyle as fe, withCtx as G, renderSlot as k, createCommentVNode as ve, Teleport as pe } from "vue";
|
|
3
|
-
import { r as me, P as J } from "./Primitive
|
|
3
|
+
import { r as me, P as J } from "./Primitive--ehLdG6C.js";
|
|
4
4
|
function ye(e, t) {
|
|
5
5
|
const o = typeof e == "string" && !t ? `${e}Context` : t, n = Symbol(o);
|
|
6
6
|
return [(i) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as u } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { _ as f } from "./Primitive
|
|
1
|
+
import { _ as u } from "./index.vue_vue_type_script_setup_true_lang-DD25XncC.js";
|
|
2
|
+
import { _ as f } from "./Primitive--ehLdG6C.js";
|
|
3
3
|
import { defineComponent as m, ref as d, onMounted as p, createElementBlock as x, openBlock as _, createVNode as a, createElementVNode as o, withCtx as v, createTextVNode as w, toDisplayString as g, unref as N } from "vue";
|
|
4
4
|
import { useRouter as b, onBeforeRouteLeave as k } from "vue-router";
|
|
5
|
-
import { a as y, b as l } from "./index-
|
|
5
|
+
import { a as y, b as l } from "./index-HKQtqxjJ.js";
|
|
6
6
|
const B = { class: "absolute left-[50%] top-[50%] flex flex-col items-center justify-between lg-flex-row -translate-x-50% -translate-y-50% lg-gap-12" }, h = { class: "flex flex-col gap-4" }, I = /* @__PURE__ */ m({
|
|
7
7
|
__name: "[...all]",
|
|
8
8
|
setup(S) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as t, computed as l, createElementBlock as a, createCommentVNode as s, openBlock as o, createElementVNode as n, normalizeStyle as i } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { aG as d, _ as p } from "./index-BX45ef8U.js";
|
|
3
3
|
const r = t({
|
|
4
4
|
name: "AlignLine",
|
|
5
5
|
setup() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FieldType as e } from "./types-
|
|
1
|
+
import { FieldType as e } from "./types-C0uf3Fdi.js";
|
|
2
2
|
const l = [
|
|
3
3
|
{
|
|
4
4
|
type: e.group,
|
|
@@ -6,7 +6,7 @@ const l = [
|
|
|
6
6
|
children: [
|
|
7
7
|
{
|
|
8
8
|
type: e.switch,
|
|
9
|
-
label: "
|
|
9
|
+
label: "是否隐藏",
|
|
10
10
|
key: "hided",
|
|
11
11
|
props: {
|
|
12
12
|
activeValue: !1,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bY as t } from "./index-BX45ef8U.js";
|
|
2
2
|
class i extends t {
|
|
3
3
|
config = {
|
|
4
4
|
contentText: "",
|
|
@@ -8,7 +8,6 @@ class i extends t {
|
|
|
8
8
|
color: "#fff",
|
|
9
9
|
fontWeight: "normal"
|
|
10
10
|
},
|
|
11
|
-
shortcutKeys: "",
|
|
12
11
|
url: "/icon/align-center.png",
|
|
13
12
|
iconPosition: "left",
|
|
14
13
|
iconGap: 5,
|
|
@@ -30,8 +29,6 @@ class i extends t {
|
|
|
30
29
|
borderWidth: void 0,
|
|
31
30
|
borderRadius: void 0
|
|
32
31
|
};
|
|
33
|
-
apis;
|
|
34
|
-
apiData;
|
|
35
32
|
events;
|
|
36
33
|
actions;
|
|
37
34
|
disActions;
|
|
@@ -39,9 +36,7 @@ class i extends t {
|
|
|
39
36
|
super("ButtonBase", { w: 300, h: 180 }), this.initData();
|
|
40
37
|
}
|
|
41
38
|
initData() {
|
|
42
|
-
return this.
|
|
43
|
-
}
|
|
44
|
-
async loadData() {
|
|
39
|
+
return this.events = {}, this.actions = {}, this;
|
|
45
40
|
}
|
|
46
41
|
}
|
|
47
42
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as e, createElementBlock as a, openBlock as r, createElementVNode as s } from "vue";
|
|
2
|
-
import { _ as n } from "./index-
|
|
2
|
+
import { _ as n } from "./index-BX45ef8U.js";
|
|
3
3
|
const c = { class: "canvas-selection" }, d = ["d"], l = /* @__PURE__ */ e({
|
|
4
4
|
__name: "canvas-area",
|
|
5
5
|
props: {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as J, inject as Q, ref as _, computed as x, resolveDirective as R, createElementBlock as i, createCommentVNode as W, openBlock as r, createElementVNode as n, createVNode as a, unref as c, withCtx as s, Fragment as b, renderList as k, normalizeClass as y, toDisplayString as I, createTextVNode as E, normalizeStyle as $, withDirectives as X, withKeys as Y, vModelText as Z, createBlock as
|
|
2
|
-
import { ElPopover as
|
|
3
|
-
import {
|
|
4
|
-
import { c as ie, a as de } from "./datav-
|
|
5
|
-
import { I as ue } from "./copy-
|
|
6
|
-
import { I as ge } from "./delete-
|
|
7
|
-
import { I as me } from "./drag-
|
|
8
|
-
import { I as ve } from "./edit-
|
|
9
|
-
import { I as pe } from "./hide-
|
|
10
|
-
import { I as
|
|
11
|
-
import { I as fe } from "./show-
|
|
1
|
+
import { defineComponent as J, inject as Q, ref as _, computed as x, resolveDirective as R, createElementBlock as i, createCommentVNode as W, openBlock as r, createElementVNode as n, createVNode as a, unref as c, withCtx as s, Fragment as b, renderList as k, normalizeClass as y, toDisplayString as I, createTextVNode as E, normalizeStyle as $, withDirectives as X, withKeys as Y, vModelText as Z, createBlock as M } from "vue";
|
|
2
|
+
import { ElPopover as V, ElButton as ee, ElIcon as g, ElMessage as P, ElMessageBox as te } from "element-plus";
|
|
3
|
+
import { aU as ne, aG as oe, bN as ae, bO as le, aT as se, a_ as re, _ as ce } from "./index-BX45ef8U.js";
|
|
4
|
+
import { c as ie, a as de } from "./datav-BVy8Dmus.js";
|
|
5
|
+
import { I as ue } from "./copy-DfjMK1ic.js";
|
|
6
|
+
import { I as ge } from "./delete-DmIwKrVz.js";
|
|
7
|
+
import { I as me } from "./drag-BV1jVILV.js";
|
|
8
|
+
import { I as ve } from "./edit-DtqW2gQD.js";
|
|
9
|
+
import { I as pe } from "./hide-CsfFpRaX.js";
|
|
10
|
+
import { I as U } from "./plus-D1rqkZ8T.js";
|
|
11
|
+
import { I as fe } from "./show-CDusPY6G.js";
|
|
12
12
|
import { comInjectionKey as he } from "./config-BGEHEzgf.js";
|
|
13
13
|
const _e = {
|
|
14
14
|
key: 0,
|
|
@@ -16,10 +16,10 @@ const _e = {
|
|
|
16
16
|
}, be = { class: "children-manager-title" }, Ce = {
|
|
17
17
|
class: "add-child-icon-wrapper",
|
|
18
18
|
title: "添加子组件"
|
|
19
|
-
}, ke = { class: "children-manager-selector" }, ye = { class: "children-manager-selector-component" }, Ie = ["onClick"], Se = ["src"], we = { class: "children-manager-selector-option-name" }, De = { class: "children-manager-selector-info" }, xe = { class: "children-manager-selector-count" }, Ee = { style: { color: "rgb(36 131 255)" } }, $e = { class: "add-child" },
|
|
19
|
+
}, ke = { class: "children-manager-selector" }, ye = { class: "children-manager-selector-component" }, Ie = ["onClick"], Se = ["src"], we = { class: "children-manager-selector-option-name" }, De = { class: "children-manager-selector-info" }, xe = { class: "children-manager-selector-count" }, Ee = { style: { color: "rgb(36 131 255)" } }, $e = { class: "add-child" }, Te = ["onClick"], Be = { class: "children-manager-list" }, Ne = { class: "children-list-container" }, Me = ["onDragenter"], Ve = { title: "更改标签" }, Pe = { class: "children-manager-color-tag-wrapper" }, Ue = { class: "children-manager-tag-panel" }, ze = ["onClick"], Ke = ["onUpdate:modelValue", "onBlur", "onKeydown"], je = ["onClick"], Oe = ["onClick"], Fe = ["onClick"], Ge = ["onClick"], He = ["onClick"], Le = ["onDragstart"], qe = {
|
|
20
20
|
key: 1,
|
|
21
21
|
class: "children-manager-child-not-exist"
|
|
22
|
-
},
|
|
22
|
+
}, Ae = /* @__PURE__ */ J({
|
|
23
23
|
__name: "children-manager",
|
|
24
24
|
setup(Je) {
|
|
25
25
|
const S = [
|
|
@@ -36,37 +36,38 @@ const _e = {
|
|
|
36
36
|
from: "",
|
|
37
37
|
to: "",
|
|
38
38
|
toIdx: -1
|
|
39
|
-
}),
|
|
39
|
+
}), z = x(() => ae.includes(C.value.name)), p = x(() => {
|
|
40
40
|
const e = h.subComs.filter((o) => o.parentId === C.value.id);
|
|
41
41
|
return m.value > -1 ? m.value === 0 ? e.filter((o) => !o.tag) : e.filter((o) => o.tag === m.value) : e;
|
|
42
|
-
}),
|
|
42
|
+
}), K = x(() => le(C.value.name));
|
|
43
43
|
function j(e) {
|
|
44
44
|
d.value.includes(e) ? d.value = d.value.filter((o) => o !== e) : d.value.push(e);
|
|
45
45
|
}
|
|
46
46
|
function O(e) {
|
|
47
47
|
m.value = m.value === e ? -1 : e;
|
|
48
48
|
}
|
|
49
|
-
async function
|
|
49
|
+
async function F() {
|
|
50
50
|
try {
|
|
51
51
|
D.value = !0;
|
|
52
52
|
const e = await Promise.all(d.value.map((o) => ie(o)));
|
|
53
53
|
await de(C.value, e), w.value = !1, d.value = [];
|
|
54
54
|
} catch (e) {
|
|
55
|
-
|
|
55
|
+
P.error(e.message);
|
|
56
56
|
} finally {
|
|
57
57
|
D.value = !1;
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function G(e) {
|
|
61
61
|
te.confirm(`删除后可能无法恢复,是否删除${e.alias}`, "提示", {
|
|
62
62
|
confirmButtonText: "确定",
|
|
63
63
|
cancelButtonText: "取消",
|
|
64
|
-
type: "warning"
|
|
64
|
+
type: "warning",
|
|
65
|
+
appendTo: ".screen-editor-root"
|
|
65
66
|
}).then(async () => {
|
|
66
67
|
try {
|
|
67
68
|
await h.delete(e);
|
|
68
69
|
} catch (o) {
|
|
69
|
-
|
|
70
|
+
P.error(o.message);
|
|
70
71
|
}
|
|
71
72
|
});
|
|
72
73
|
}
|
|
@@ -76,12 +77,12 @@ const _e = {
|
|
|
76
77
|
function L(e) {
|
|
77
78
|
h.selectSubCom(e.id);
|
|
78
79
|
}
|
|
79
|
-
function
|
|
80
|
+
function q(e, o) {
|
|
80
81
|
v.value.from = o;
|
|
81
82
|
const f = e.target.parentNode.parentNode;
|
|
82
83
|
e.dataTransfer.setDragImage(f, 308, 15);
|
|
83
84
|
}
|
|
84
|
-
function
|
|
85
|
+
function A() {
|
|
85
86
|
const { from: e, to: o, toIdx: f } = v.value, t = f === p.value.length, u = t ? p.value[f - 1].id : o;
|
|
86
87
|
h.sortSubCom(e, u, t), v.value = {
|
|
87
88
|
from: "",
|
|
@@ -89,18 +90,18 @@ const _e = {
|
|
|
89
90
|
toIdx: -1
|
|
90
91
|
};
|
|
91
92
|
}
|
|
92
|
-
function
|
|
93
|
+
function T(e, o) {
|
|
93
94
|
v.value.to = e, v.value.toIdx = o;
|
|
94
95
|
}
|
|
95
|
-
function
|
|
96
|
+
function B(e) {
|
|
96
97
|
e.preventDefault(), e.stopPropagation(), e.dataTransfer.dropEffect = "copy";
|
|
97
98
|
}
|
|
98
99
|
return (e, o) => {
|
|
99
100
|
const f = R("focus");
|
|
100
|
-
return
|
|
101
|
+
return z.value ? (r(), i("div", _e, [
|
|
101
102
|
n("div", be, [
|
|
102
103
|
n("div", null, [
|
|
103
|
-
a(c(
|
|
104
|
+
a(c(V), {
|
|
104
105
|
visible: w.value,
|
|
105
106
|
"onUpdate:visible": o[0] || (o[0] = (t) => w.value = t),
|
|
106
107
|
"show-arrow": !1,
|
|
@@ -112,7 +113,7 @@ const _e = {
|
|
|
112
113
|
n("div", Ce, [
|
|
113
114
|
a(c(g), { size: 13 }, {
|
|
114
115
|
default: s(() => [
|
|
115
|
-
a(
|
|
116
|
+
a(U)
|
|
116
117
|
]),
|
|
117
118
|
_: 1
|
|
118
119
|
})
|
|
@@ -121,7 +122,7 @@ const _e = {
|
|
|
121
122
|
default: s(() => [
|
|
122
123
|
n("div", ke, [
|
|
123
124
|
n("div", ye, [
|
|
124
|
-
(r(!0), i(b, null, k(
|
|
125
|
+
(r(!0), i(b, null, k(K.value, (t) => (r(), i("div", {
|
|
125
126
|
key: t.name,
|
|
126
127
|
class: y(["children-manager-selector-option", d.value.includes(t.name) ? "selected" : ""]),
|
|
127
128
|
onClick: (u) => j(t.name)
|
|
@@ -145,12 +146,12 @@ const _e = {
|
|
|
145
146
|
size: "small",
|
|
146
147
|
disabled: d.value.length === 0,
|
|
147
148
|
loading: D.value,
|
|
148
|
-
onClick:
|
|
149
|
+
onClick: F
|
|
149
150
|
}, {
|
|
150
151
|
icon: s(() => [
|
|
151
152
|
a(c(g), null, {
|
|
152
153
|
default: s(() => [
|
|
153
|
-
a(
|
|
154
|
+
a(U)
|
|
154
155
|
]),
|
|
155
156
|
_: 1
|
|
156
157
|
})
|
|
@@ -177,27 +178,27 @@ const _e = {
|
|
|
177
178
|
class: "children-manager-color-tag",
|
|
178
179
|
style: $(t)
|
|
179
180
|
}, null, 4)
|
|
180
|
-
], 10,
|
|
181
|
+
], 10, Te)), 64))
|
|
181
182
|
])
|
|
182
183
|
]),
|
|
183
|
-
n("div",
|
|
184
|
-
n("div",
|
|
184
|
+
n("div", Be, [
|
|
185
|
+
n("div", Ne, [
|
|
185
186
|
(r(!0), i(b, null, k(p.value, (t, u) => (r(), i("div", {
|
|
186
187
|
key: t.id,
|
|
187
188
|
class: y(["children-item", { entering: v.value.toIdx === u }]),
|
|
188
|
-
onDragenter: (l) =>
|
|
189
|
-
onDragover:
|
|
189
|
+
onDragenter: (l) => T(t.id, u),
|
|
190
|
+
onDragover: B
|
|
190
191
|
}, [
|
|
191
192
|
n("div", null, [
|
|
192
|
-
n("div",
|
|
193
|
-
a(c(
|
|
193
|
+
n("div", Ve, [
|
|
194
|
+
a(c(V), {
|
|
194
195
|
"show-arrow": !1,
|
|
195
196
|
trigger: "click",
|
|
196
197
|
placement: "bottom-start",
|
|
197
198
|
"popper-style": "padding: 0;"
|
|
198
199
|
}, {
|
|
199
200
|
reference: s(() => [
|
|
200
|
-
n("span",
|
|
201
|
+
n("span", Pe, [
|
|
201
202
|
n("i", {
|
|
202
203
|
class: "children-manager-color-tag",
|
|
203
204
|
style: $(S[t.tag])
|
|
@@ -205,17 +206,17 @@ const _e = {
|
|
|
205
206
|
])
|
|
206
207
|
]),
|
|
207
208
|
default: s(() => [
|
|
208
|
-
n("div",
|
|
209
|
-
(r(), i(b, null, k(S, (l,
|
|
210
|
-
key:
|
|
209
|
+
n("div", Ue, [
|
|
210
|
+
(r(), i(b, null, k(S, (l, N) => n("span", {
|
|
211
|
+
key: N,
|
|
211
212
|
class: "children-manager-color-tag-wrapper",
|
|
212
|
-
onClick: (Qe) => t.tag =
|
|
213
|
+
onClick: (Qe) => t.tag = N
|
|
213
214
|
}, [
|
|
214
215
|
n("i", {
|
|
215
216
|
class: "children-manager-color-tag",
|
|
216
217
|
style: $(l)
|
|
217
218
|
}, null, 4)
|
|
218
|
-
], 8,
|
|
219
|
+
], 8, ze)), 64))
|
|
219
220
|
])
|
|
220
221
|
]),
|
|
221
222
|
_: 2
|
|
@@ -227,7 +228,7 @@ const _e = {
|
|
|
227
228
|
class: "com-alias-ipt",
|
|
228
229
|
onBlur: (l) => t.renameing = !1,
|
|
229
230
|
onKeydown: Y((l) => t.renameing = !1, ["enter"])
|
|
230
|
-
}, null, 40,
|
|
231
|
+
}, null, 40, Ke)), [
|
|
231
232
|
[
|
|
232
233
|
Z,
|
|
233
234
|
t.alias,
|
|
@@ -246,7 +247,7 @@ const _e = {
|
|
|
246
247
|
title: "点击隐藏",
|
|
247
248
|
onClick: (l) => t.hided = !t.hided
|
|
248
249
|
}, [
|
|
249
|
-
t.hided ? (r(),
|
|
250
|
+
t.hided ? (r(), M(c(g), {
|
|
250
251
|
key: 0,
|
|
251
252
|
class: "child-status-btn"
|
|
252
253
|
}, {
|
|
@@ -254,7 +255,7 @@ const _e = {
|
|
|
254
255
|
a(pe)
|
|
255
256
|
]),
|
|
256
257
|
_: 1
|
|
257
|
-
})) : (r(),
|
|
258
|
+
})) : (r(), M(c(g), {
|
|
258
259
|
key: 1,
|
|
259
260
|
class: "child-status-btn"
|
|
260
261
|
}, {
|
|
@@ -278,7 +279,7 @@ const _e = {
|
|
|
278
279
|
]),
|
|
279
280
|
_: 1
|
|
280
281
|
})
|
|
281
|
-
], 8,
|
|
282
|
+
], 8, Fe),
|
|
282
283
|
n("span", {
|
|
283
284
|
title: "重命名",
|
|
284
285
|
class: "child-btn",
|
|
@@ -290,11 +291,11 @@ const _e = {
|
|
|
290
291
|
]),
|
|
291
292
|
_: 1
|
|
292
293
|
})
|
|
293
|
-
], 8,
|
|
294
|
+
], 8, Ge),
|
|
294
295
|
n("span", {
|
|
295
296
|
title: "删除",
|
|
296
297
|
class: "child-btn",
|
|
297
|
-
onClick: (l) =>
|
|
298
|
+
onClick: (l) => G(t)
|
|
298
299
|
}, [
|
|
299
300
|
a(c(g), null, {
|
|
300
301
|
default: s(() => [
|
|
@@ -307,8 +308,8 @@ const _e = {
|
|
|
307
308
|
title: "排序",
|
|
308
309
|
class: "child-btn",
|
|
309
310
|
draggable: "true",
|
|
310
|
-
onDragstart: (l) =>
|
|
311
|
-
onDragend:
|
|
311
|
+
onDragstart: (l) => q(l, t.id),
|
|
312
|
+
onDragend: A
|
|
312
313
|
}, [
|
|
313
314
|
a(c(g), null, {
|
|
314
315
|
default: s(() => [
|
|
@@ -318,19 +319,19 @@ const _e = {
|
|
|
318
319
|
})
|
|
319
320
|
], 40, Le)
|
|
320
321
|
])
|
|
321
|
-
], 42,
|
|
322
|
+
], 42, Me))), 128)),
|
|
322
323
|
p.value.length > 0 ? (r(), i("div", {
|
|
323
324
|
key: 0,
|
|
324
325
|
class: y(["children-item last-placeholder", { entering: v.value.toIdx === p.value.length }]),
|
|
325
|
-
onDragenter: o[1] || (o[1] = (t) =>
|
|
326
|
-
onDragover:
|
|
327
|
-
}, null, 34)) : (r(), i("div",
|
|
326
|
+
onDragenter: o[1] || (o[1] = (t) => T("", p.value.length)),
|
|
327
|
+
onDragover: B
|
|
328
|
+
}, null, 34)) : (r(), i("div", qe, I(m.value > -1 ? "过滤结果为空" : "子组件列表为空"), 1))
|
|
328
329
|
])
|
|
329
330
|
])
|
|
330
331
|
])) : W("", !0);
|
|
331
332
|
};
|
|
332
333
|
}
|
|
333
|
-
}), rt = /* @__PURE__ */ ce(
|
|
334
|
+
}), rt = /* @__PURE__ */ ce(Ae, [["__scopeId", "data-v-0d71c73a"]]);
|
|
334
335
|
export {
|
|
335
336
|
rt as default
|
|
336
337
|
};
|